Wednesday, July 20, 2011

How to get Latitude and Longitude of a location

  • Open maps.google.com.
  • Point the position, which latitude and longitude require.
  • Place the below JS code in address bar of your browser.
javascript:void(prompt('',gApplication.getMap().getCenter()));
  • A popup alert will show you the latitude and longitude of the selected location.

Friday, July 1, 2011

Linux - Useful commands

Search any software and its version:
apt-cache search software_name


Install software:
sudo apt-get install software_name

Install sh file:

sudo sh file_name.sh