Terminal.app custom tab names

So it turns out you can have the best of both worlds. I have been using ITerm for a while because it allows me to rename its tabs. Chad just turned me on to a hack that makes the same thing possible with Terminal.app:
1. Install SIMBL: http://www.culater.net/software/SIMBL/SIMBL.php
2. Install TabNamer.Bundle: http://ericanderson.us/2008/03/02/terminalapp-tab-namer-v01-alpha/
[...]

CSS is Awesome

Love this mug:

Password protected CruiseControl.rb with git support

Here is how I setup my internet accessible CruiseControl.rb server and password protected it, using apache on MacOS.
As I use Git for VCS so I installed the version from GitHub that supports it. This appears to be the most actively developed version as far as I can tell.
After cloning it to ~/cruisecontrol.rb I wrote [...]

MacOS Leopard bash echo not interpreting escape sequences

I just hit this incredibly retarded irritating gotcha in Mac OS Leopard. Luckily, unlike this poor bastard, it only cost me an hour.
Bash echo is supposed to interpret \ escape sequences (e.g. \n) if you supply it a -e flag. This works from the command line. It works in shell scripts. [...]

My Git cheat sheet

Ultra-simple git usage:

# Initial ‘checkout’:
git clone <remote-repository>
 
# Daily process:
cd <local-repository>
git pull
# Make some changes
git add <changed files>
git commit
git push

Setting up a shared git repo:

# Assuming you have an existing project in a git repo called "./project":
mkdir project.git
cd project.git
git –bare init –shared
git –bare fetch ../project master:master
cd ..
scp -r project.git someserver:/some/shared/location
ssh server
sudo chgrp -R group_containing_all_developers /some/shared/location/project.git

Publish branch [...]

git submodules

Add a submodule:

git submodule add <repo> <path>

Cloning a repo with submodules:

git clone <repo>
git submodule init
git submodule update

You have to run ‘git submodule update’ after git pull if you want to update submodules, too.
Always publish the submodule change before publishing the change to the superproject that references it.
It’s not safe to run git submodule update if [...]