You really appreciate versioning when several people come up to you all at once with different bugs from different iterations of your code and you don’t have a versioning system in place. A first step in that process is using Git tags. (There’s more than one way to implement versions, but this is one way.)
Monthly Archives: June 2015
Install pip to Match your Python Installation
For whatever reason, you might find yourself in an environment that has Python 2.6, but pip for Python 2.4 or 2.7. Where do you find pip for Python 2.6? Well, that’s not to hard. Go to https://bootstrap.pypa.io/get-pip.py and run the following:
sudo python2.6 get-pip.py
Then you can install Python 2.6 modules with pip by saying,
sudo pip2.6 install awesome-sauce
How to Secure Passwords in Python with passlib
Recently I needed a secure way to protect a service with a passphrase. I settled on the solution of using passlib
verify that password, and learned along the way the important lesson of never trying to roll your own cryptographic code.
Continue reading How to Secure Passwords in Python with passlib
Operations on SSH Keys
This post is sort of an amalgamation of solutions I’ve found on several blogs, tutorials, and SO posts I’ve used regarding SSH keys. I cover key generation and authentication, removing passwords from keys, and identifying the key finger print.