In the Laravel 4 ou 5 and Symfony frameworks, I realize that there are two classes that are essential for the operation of the whole system: ServiceContainer and ServiceProvider.
It seems to be a way for you to store instances o...
How to know the direction and amount of the scroll when scrolling with the mouse wheel?
Browsers have different ways of passing information on the event object. Some use .wheelDelta , others .detail , and others (new genera...
What's the difference between using data types varchar and nvarchar ?
nvarchar exists in every SQL database?
Is there any significant difference in performance between the two?
Is there a criteria for using them?
A...
If for some reason an error occurs and Google disables access to the maps API, an alert of this genre will appear to the visitor:
Google has disabled use of the Maps API for this application. The provided key is not valid Google API Key, o...
I have written a program whose purpose is to read a compiled binary executable file for the x86 (intel) architecture and interpret the assembly code contained therein by executing it instruction by instruction. The part of reading the executable...
I am developing a login system in PHP and MySQL for an administration panel, and I have seen many "secure" login systems where they store the user login or password in the session, when they are not both or until all the user logged in data....
I created the values-es folder, with the file strings.xml with items in the string array.
But when I put the translation into Spanish on the phone, I open the application and nothing happens, continues Portuguese.
I'm using Microsoft.Office.Interop.Excel to create an Excel report from a txt file.
Everything works perfect, but sometimes some columns become extremely large and when we need to print, we need to resize and look horrible.
When I t...
I want to delimit a radius from a central coordinate (the red marker in the figure) and, from a set of coordinates (the green markers), check if they are within the area delimited by this radius. >
How to identify, from a set of coordinates (...