Scripting My Setup

Posted August 30th, 2009 in General by ryan

I’ve had the occasion to setup new Ubuntu environments several times over the last couple of months and out of laziness I created a simple script to install easy_install, pip, virtualenv, virtualenvwrapper and fabric.  I’m no bash ninja, but this script makes it quick and easy for me to install the python tools I need to play.  Sharing this with you is only half of my motivation; I’m also putting this here for someday when I forget it…

#!/bin/bash
 
#prerequisites
echo ensuring buid-essential and required dev headers are installed
sudo aptitude install build-essential python2.5-dev python2.6-dev
 
#easy_install
echo installing easy_install
mkdir ~/tmp_sources
cd tmp_sources
wget http://peak.telecommunity.com/dist/ez_setup.py
sudo python ez_setup.py
rm -rf ez_setup.py
 
#pip
echo installing pip
sudo easy_install pip
 
#fabric
echo installing fabric
sudo pip install fabric
 
#virtualenv
echo installing virtualenv
sudo pip install virtualenv
sudo pip install virtualenvwrapper
 
#clean up
rm -rf ~/tmp_sources
echo all done!
[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

Linux Use #257 – Baby Rocker

Posted August 27th, 2009 in General by ryan

I absolutely love this video of using a shell script, string, and cd-rom to gently rock a baby…nice.

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

I’ve Just Gone Mobile!

Posted August 7th, 2009 in General, iPhone by ryan

I now have the WPtouch plugin for WordPress that has an optimized layout for mobile devices.  Makes the site way more readable within my iPhone, so I hope to not put off mobile readers any more!

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]
FireStats icon Powered by FireStats