Related Articles
How to see configuration of a Linux system
All configuration files are located in proc files on Linux. To see CPU Info on Linux, see below command cat proc/cpuinfo To see Memory Info on Linux, see below command cat proc/meminfo or free -m or free -g
Javascript Key Codes
Key ==> Code backspace ==> 8 tab ==> 9 enter ==> 13 shift ==> 16 ctrl ==> 17 alt ==> 18 pause/break ==> 19 caps lock ==> 20 escape ==> 27 page up ==> 33 page down ==> 34 end ==> 35 home ==> 36 left arrow ==> 37 up arrow ==> 38 right arrow […]
Get Google Maps API Address based on Address
$url = “http://maps.googleapis.com/maps/api/geocode/json?sensor=false&address=”.urlencode($resident_address); $lat_long = get_object_vars(json_decode(file_get_contents($url)));// pick out what we need (lat,lng)$lat = $lat_long[‘results’][0]->geometry->location->lat;$lng =$lat_long[‘results’][0]->geometry->location->lng; /*echo $lat;echo $lng;*/