All Questions

2
answers

Make a checkered HTML list

Hello, I would like to know if it is possible to make a checklist, like the image below, with css only (please disregard blue lines): I found the nth-child function of css, but I was able to do just that: .box_parceiro:nth-child(odd) { b...
asked on 30.03.2016 / 14:51
2
answers
1
answer

Is there a difference when joining two arrays with array_merge or with "+"? [duplicate]

I used to merge two arrays into PHP using the array_merge function: $arr3 = array_merge($arr1, $arr2); However, more recently I have seen arrays unions with + (sum sign): $arr3 = $arr1 + $arr2; Is there any differen...
asked on 27.06.2016 / 11:22
2
answers

Function print with error

I made a program that calculates the Fibonacci numbers in X and Y using Z as a helper. When I pass the Fibonacci function vector to the imprime function, it does not print. I made a test by putting cout inside the for of...
asked on 02.05.2016 / 21:23
1
answer

SQL increasing the ID by 1000 units

I have a database in SQL Express with a reasonable amount of data for more than a year. It has always worked fine, but now it is presenting the following problem: sometimes the ID in some tables ends up increasing by 1000 units. I did a littl...
asked on 14.10.2014 / 19:45
1
answer

Font size, px or pt?

I get the layout in PSD, I export as needed. And I make font-face when needed. The Photoshop that I have, shows the font sizes in pt , I always applied px in CSS. I was reading this , and I saw that he treats these two measures dif...
asked on 30.07.2014 / 19:29
1
answer

Photo taken by my app does not appear in Gallery

When I generate the photo through my app, it correctly creates the folder and saves the photos taken there, but when I go to the Cell Gallery it is as if the photos did not exist, the default Android gallery does not recognize the files. p> Ca...
asked on 10.07.2014 / 13:39
1
answer

What is the difference between variables declared as final and private?

What's the difference between these two types of variables and why they can not be accessed in certain parts of the code? I read about private, public, and abstract methods, but I did not understand the use of the ending.     
asked on 27.10.2014 / 22:12
1
answer

Order table by contained value

I want to sort this table by a value contained in it. Ex: tabela = { {pessoa="Joao", idade=20}, {pessoa="Pedro", idade=22}, {pessoa="Lucas", idade=19}, {pessoa="Derp", idade=25} } I want to sort the table by age. Something like: table.sor...
asked on 08.10.2014 / 07:54
1
answer

Main differences between MongoDB and Redis

I'm reading a book on real time applications with NodeJs. The author used MongoDB and Redis to exemplify the use of database with NodeJs. My doubt arose when he used both at the same time, justifying that Redis would be used for data that...
asked on 29.09.2014 / 16:16