Posts by XTRADE XTRADE • 117 points
8 posts
-
1
votes1
answer260
viewsA: Problem with Success message after registration of 2 inputs in the bank!
The error is in _msg.handlebars: {{#if success_msg}} <!-- Div para exibir mensagem de sucesso ao cadastrar formulario --> <div class="alert alert-success"{{success_msg}}></div>…
-
2
votes2
answers389
viewsA: How to return the number of elements of a document property in a collection in Mongodb
Leandro, just add . Count() at the end of the query. db.test.find({ checked: { $exists : true } }).count() With this he will add up all the records that attend the checked: true and will make a sum.…
mongodbanswered XTRADE XTRADE 117 -
5
votes2
answers269
viewsQ: What is the maximum size of a variable of type int in Javascript?
I intend to make an algorithm that creates prime numbers, and I need to know what the number limit is that I can have on a variable. If anyone can help me, thank you very much
javascriptasked XTRADE XTRADE 117 -
1
votes1
answer351
viewsA: How do you stop the elements of a div from overtaking their father?
I believe if you put one overflow-y: auto in divOptions, will solve your problem
divanswered XTRADE XTRADE 117 -
-1
votes1
answer573
viewsQ: How does an express session work?
I have a problem logging into my application. If a user logs in, they log in to everyone who visits the site. Could you explain to me how a session works so I can understand better?
-
0
votes1
answer45
viewsA: See list of containers
You have to start the virtual machine that will host the Docker. It is not finding the virtual machine. Check Virtualbox for a running machine
-
0
votes2
answers35
viewsA: Problem with array_merge and WHILE - PHP Codeigniter
The merge array_needs an initial attribute that will be the array in which you merge the elements. You don’t need to declare a variable, I think. Just run the function Documentation of the merge…
-
-1
votes1
answer165
viewsQ: What’s the secret for on the express?
I have an express application, but I do not know how important it is to set up secret in middleware session(). Could someone explain to me what secret does? What is the function?…