Muffinresearch Labs by Stuart Colville

Archive for November, 2007

  1. Windows Vista: Require users to press Ctrl+alt+del to login - 29th November 2007
  2. Python or PHP? - 27th November 2007
  3. TweetyPy needs an icon - 27th November 2007
  4. Running a Safari 2 Standalone Alongside Safari 3 - 20th November 2007
  5. Control your Wii à la Minority Report - 18th November 2007
  6. Extracting a single file from a tar backup - 12th November 2007
  7. Using ‘select’ for multiple choices in shell scripts - 8th November 2007

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