Muffinresearch Labs by Stuart Colville

Archive for April, 2008

  1. Python: Debugging with PDB - 27th April 2008
  2. Best use of Arduino ever - 24th April 2008
  3. mac tip: Lock screen and pause iTunes - 24th April 2008
  4. Starting a new job - 21st April 2008
  5. Google App Engine - 8th April 2008
  6. Automatic asset versioning in Django - 8th April 2008
  7. Avoiding the use of .htaccess for performance - 7th April 2008
  8. pwdn: show last n dirs of current directory - 2nd April 2008
  9. Mac OSX tip: ls command color output - 1st April 2008

GNU screen: open tab in current working directory|(1)

A nice trick for having screen open a new tab in the same directory as the one you’re currently in. To use it add it to your .screenrc

# Open new window in current dir.
bind c stuff "screen -X chdir \$PWD;screen^M"
bind ^c stuff "screen -X chdir \$PWD;screen^M"

Hat tip: mteckert on SuperUser.com

Ubuntu: add-apt-repository: command not found|(3)

When you’re using a minimal Ubuntu install if you find the ‘add-apt-repository’ command is missing (it’s useful for adding PPAs and other repositories), then simply run:

sudo apt-get install python-software-properties

Photos on Flickr

© Copyright 2004-12 Stuart Colville, all rights reserved. May contain traces of Muffin. Powered by WordPress. Hosting by Slicehost.com This page was baked in 0.583s.