All Questions

3
answers

Using lower () in a list of lists in Python

If I have a list like this: Lista = [['DE','DO','OU'],['AE','YHH','OO'],['OW','LA','FOR']] And I want to leave it like this: Lista = [['de','do','ou'],['ae','yhh','oo'],['ow','la','for']] How do I? I thought if I did it, I would do it:...
asked on 09.10.2017 / 03:56
6
answers

Which database should I use in a small desktop application?

I read a little of Meta and I thought that this question does not go far from the current rules of the site. Risking losing reputation, come on: I currently work in a small company that currently manages very sensitive data (documents, addres...
asked on 28.02.2014 / 13:10
3
answers

What is the difference between function and assignment for array?

I have recently made codes in my projects where I need to add items to an array, so I do not know if I should use native language functions like this: array_push($meu_array, 50); or simply assign the value, for example: $meu_array[] = 50;...
asked on 05.01.2018 / 17:30
2
answers

When using prototype (JS)

What's the difference between: Person.prototype.sayHello = function() { alert("Hello, I'm " + this.firstName); }; and Person.sayHello = function() { alert("Hello, I'm " + this.firstName); }; ?     
asked on 21.08.2014 / 20:35
1
answer

How to calculate the dimensions of an SVG element

How to calculate the dimensions of a svg element consistently between browsers? In fact the only one not responding consistently is Firefox. It would be interesting to see the reason for getBoundingClientRect disparities in diff...
asked on 19.05.2014 / 09:52
3
answers

Can I upload folders along with the code in GitHub?

I've already put codes in my repositories in Github once, but now I'm messing around with Netbeans using HTML5, and I have other folders like CSS, Javascript, and the like. Is it possible, when uploading the code, to upload these folders too?  ...
asked on 19.07.2017 / 22:21
3
answers

How to use more than one separator character in the split () method?

I'd like to break String into several substrings, for this I'm using the split() method. It turns out, I'm not sure what characters can be in the variable I'll use. Exemplifying: String words[] = line.split(" "); This code...
asked on 26.11.2014 / 18:09
3
answers

What is the function of #if false in C #? [duplicate]

I'm working on a project and I saw code blocks with this with #if false : What'sthedifferencetothis(commentedvs#iffalse)?     
asked on 08.03.2018 / 15:20
3
answers

Is there any shortcut to indenting code in Sublime 3?

It is noticeable that in several IDE's there are some shortcuts to indent the code . For example: Eclipse (Win): Ctrl + Shift + F As everyone knows, I assume, the indentation visually organizes the code so that the dependent...
asked on 21.01.2017 / 20:27
3
answers

Can you prevent one of the attributes of an object from being serialized in Javascript?

Is there any way to prevent one of the attributes of an object from being serialized? Take the following example as an example. If I do not want propriedade2 to be serialized, how could I implement this? var obj = { propriedad...
asked on 29.09.2017 / 21:31