Muffinresearch Labs by Stuart Colville

Archive for March, 2009

  1. Mac OSX: Visor Development on Github - 11th March 2009
  2. Fail of the week: Dominos Piri Piri Advert - 10th March 2009
  3. CSS2 text-decoration and child elements - 9th March 2009
  4. Fixing setuptools “TypeError: swig_sources()” error - 8th March 2009
  5. Install lxml on OSX - 5th March 2009
  6. EuroDjangoCon Prague - 3rd March 2009
  7. Unix Permissions Calculator - 2nd March 2009

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.521s.