Category: Problem & solution
-
How to get self confidence on source code you write?
Coding is primary task of every developer and we all know very well about it. But why may developers are not much confident about source code they wrote? I do study few developers and fond following reasons. They really don’t know/care what they wrote They don’t like to go into further details of what they wrote. many do copy code…
-
Windows 7 google chrome hangs when visit facebook.com
When I open facebook on Windows 7 google chrome it hangs system for few seconds. To resolve this issue open chrome. In address bar type chrome://plugins and press Enter. You will have list of installed plugins. click on “+ Details” button on top right side if list is not expanded. Search for “flash” word and you…
-
IOS7 PickerViewController control status bar style
Put following code in the view controller from where you present view controller. Source : https://stackoverflow.com/questions/18880364/uiimagepickercontroller-breaks-status-bar-appearance/18883563#18883563
-
How to differentiate good code vs bad code
To differentiate between good code and bad code you must have basic knowledge of programming. If you don’t have it the following is list of things you should read about. Variable Function Class and Object Loops Once you have idea what they are you need to check for following: Are name used for variables, functions…
-
MySQL database best practice of choosing data types during database design
Below is list of prefered database types with lengths: Email : varchar(254) Domain: varchar(254) Password: char(32) Phone:varchar(16) Financial Data : decimal(10,2) Latitude: decimal(10,8) Longitude: decimal(11,8) Please write comment in case above information is incorrect. Please also share more fields in comment and I will update them here. This will help newbie developer.
-
Google API to get latitude longitude from address
Here is PHP code to get latitude longitude form Address. source : https://developers.google.com/maps/documentation/geocoding/
-
Eclipse Kepler with PTD some directories become invisible
To make them visible rename directory and refresh(F5) project and once it become visible rename back to original name refresh(F5) project again. For now this worked for me.