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
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;*/
HTTP Codes Web Page Errors While Browsing
Below are some web page errors you may came/come across while browsing internet. The error ranges are many but below are the ones which will occur mostly. Error 400 – Bad request errorError 401 – unauthorized request errorError 403 – forbidden errorError 404 – Not found errorError 500 -Internal error errorError 501 – Not Implemented […]