TFL.GOV.UK and mozilla quick search

If you want to bookmark a  quick mozilla search from your house to another postcode you can use this URI : just change the DESTINATION and ORIGIN_POSTCODE to %s if you like or make it as static bookmark.

Generating md5 encrypted password for chpasswd

If you want to generate properly encrypted password to feed to chpasswd, the most easier and proper way is to do that from command line : [code lang=”bash”] echo "encryptedpassword"|openssl passwd -1 -stdin [/code] If you want to generate in pure python you can do it like that : [code lang=”python”] def md5crypt(password, salt, magic=’$1$’): […]