Store password in TortoiseHg

Both existing answers suggest storing your username and password unencrypted in plain-text, which is a bit of a no-no. You should use the Keyring extension instead, as it has been specifically designed for securely saving authentication passwords. It already comes bundled with TortoiseHg, so all you have to do is activate it by writing the … Read more

Reverse Geocoding With Google Map API And PHP To Get Nearest Location Using Lat,Long coordinates

You need to use the getLocations method on the GClientGeocoder object in the Google Maps API var point = new GLatLng (43,-75); var geocoder = new GClientGeocoder(); geocoder.getLocations (point, function(result) { // access the address from the placemarks object alert (result.address); }); EDIT: Ok. You are doing this stuff server side. This means you need … Read more

Get certificate fingerprint of HTTPS server from command line?

The page at http://wiki.debuntu.org/wiki/OpenSSL#Retrieving_certificate_informations lists the command lines for that (and printing out the relevant information). From that page and some of the man pages, it seems like what you want is (for bash): openssl s_client -connect <host>:<port> < /dev/null 2>/dev/null | openssl x509 -fingerprint -noout -in /dev/stdin If you want the whole certificate, leave … Read more