Posts by Laiane Hermes • 97 points
15 posts
-
0
votes1
answer497
viewsA: Add a key/value to a typescript object
Vc wants an array of objects this.testeobj = [] //seu array de objetos this.testeobj.push({oi: 'teste}); The push is a property only of the array, it will insert at the last position of your array…
-
0
votes1
answer71
viewsA: List the best-selling product per day in a comic book store
select v.data, max(v.qtdVenda), p.nome, p.tipo from vendas as v inner join produtos as p on produtos.id = vendas.idProduto group_by v.data I hope I’ve helped!…
-
0
votes1
answer45
viewsA: How do I display attributes of an object stored in an array?
I don’t know much about java. But all kinds of buildings where you want to find the data inherit from the immovable class. You can make a method in it by passing the attributes you might want to…
-
0
votes1
answer344
viewsA: Pick up data pivot table Laravel
If I understand, I think this is what you need. I left in the standard form and also in the eloquent select ug.setor_id, setors.nome, ug.group_id, groups.descricao from users_groups_has_users as ug…
-
1
votes0
answers55
viewsQ: datepicker is not a Function in typescript
I want to implement datepicker in a typescript project. I tried to use initially install datepicker by npm but could not.... Initially imported <link rel="stylesheet"…
-
-2
votes2
answers118
viewsQ: Leave left and right side with height 100% independent of the content size
.box { display: flex; height: 200px; max-height: 50%; margin: 10%; background-color: aqua; overflow:…
-
0
votes1
answer149
viewsA: Laravel 5 on google app engine - Error 13 Storage Bucket
Hello, First of all check if you have the app.yaml file at the root of your project, if you have not created with the code below: runtime: php env: flex runtime_config: document_root: public…
-
0
votes0
answers23
viewsQ: checkout in svn Node/Gulp project
Hello, would anyone know how to check out a svn project with Node/Gulp? Currently I have this routine that copies my project folder and creates a new one so that I can minify the files and then go…
-
1
votes1
answer32
viewsA: Anoimate function only works in Chrome
I also had the same problem and from what I saw, in some browsers the scrollbar is in html, so just change the code as the below: $("html,body").animate({ scrollTop: posicaoPlacar + "px" }, 1000);…
-
0
votes4
answers409
viewsA: Separate text by space except inside quotation marks
I believe that can also solve the problem: ((\w+)|("[\w\s]+"))
-
0
votes2
answers719
viewsA: How do you put this in the ascending order?
In the documentation below you have several options to do this, but one of them is asort <?php $frutas = array("d" => "limao", "a" => "laranja", "b" => "banana", "c" => "melancia");…
-
0
votes1
answer48
viewsQ: How to make several separate selects with the 4.2 Standard?
Hello I need to make a select on a table, however if I do not receive the month by the parameter I must do the SUM method to sum all months if($month != 0){ $dbRegister =…
-
1
votes0
answers33
viewsQ: How to make a select depending on some conditions that comes by parameters in Laravel 4.2?
My problem is this.... I have a route that receives the year and month to seek some information in the bank. When the month doesn’t come I need to be made the sum of all the months of the requested…
-
0
votes2
answers1013
viewsA: Subtraction with date - Google Apps Script
Can’t you use any js library to handle these dates? There is a momentJs call https://ifpb.github.io/jaguaribetech/2016/09/01/moment-js/ With her you can treat it very easily. Follow an example in…
-
0
votes1
answer81
viewsA: Separate email body from within php tag
I don’t quite understand your question, but I believe that what you want to do is put an html code in the variable that corresponds to the body of the email. For this you can do the following:…