Category Archives: Code
Guide to using Virtualenv and Python
There are a few different methods for managing your Python development projects. Virtualenv tends to be at the core of these management systems. When I first got started with Python, my really smart Python friends said “Use Virtualenv!!” And honestly, I didn’t really listen to my smart Python friends at first. I didn’t listen to [...]
Also posted in Apple, Python 2 Comments
Using Puppet instead of Bash
If you’ve done any amount of heavy UNIX systems administration work, you’ve undoubtedly written several big ugly Bash scripts. #!/bin/bash for i in `more standard_package_list.txt ` do apt-get install $i done This simple code example will read a txt file with a list of required packages, and then install all packages. So how can Puppet [...]
Web server performance analysis : 2012