Posts by jefersondaniel • 488 points
8 posts
-
0
votes1
answer131
viewsA: What’s the best practice for solving the problem with git?
There is a better practice that applies in all cases. The problem you are facing is the lack of branchs. I, for example, work as follows: A branch with the code that goes into production, called…
gitanswered jefersondaniel 488 -
3
votes1
answer51
viewsA: Capture Script Opening Time
Browsers ignore asynchronous requests initiated in the Unload event. There are at least two ways around this: making a synchronous request or use the API Navigator.sendBacon. The latter is not…
-
2
votes1
answer1190
viewsA: convert address into google maps api coordinates
The "Location" object is an instance of the Latlng class, access the reference Therefore, the code to search for the separate latitude and longitude fields is: document.getElementById('lat').value =…
-
2
votes1
answer4085
viewsA: Login Screen with Angularjs
If you want flexible layouts the ideal is to Mander index.html with as little html as possible. Like ngRoute allows only one ng-view ends up being even necessary to repeat the header and footer…
angularjsanswered jefersondaniel 488 -
5
votes1
answer1073
viewsQ: It is good practice to import modules into __init__.py
I noticed that in Django framework modules are imported into __init__.py for convenience. """ Django validation and HTML form handling. """ from django.forms.forms import * # NOQA That way it: from…
-
4
votes1
answer55
viewsA: Tabhost does not call the onTabChanged() method
According to Android API 19 documentation, available at this link, the method onTabChanged does not exist in this class. Therefore, for this to work you need to register an event listener in the…
-
0
votes2
answers119
viewsQ: Attribute name referring to secondary key in a model in Django
I have a problem with an imported database for Django 1.6.5. In this database the columns follow the pattern: id_city, name, id_state and etc. However, Django did not handle it well leaving the…
-
18
votes8
answers2113
viewsA: Is using customer validation enough?
In a very simple summary: Real-time client validation promotes usability while server-side validation ensures data security and integrity.