Memos from February 2009

K’naan — The Dusty Foot Philosopher

I don’t know if I have heard of K’naan a while back but after expe­ri­enc­ing a glimpse of ABC’s fea­tur­ing Chubb Rock dur­ing an ABDC break I was hooked. I don’t want to spend too much time talk­ing about the expe­ri­ence, as its best to leave you to have a go at it.

I’d say to quickly cop his lat­est album, Trou­ba­dour, and have a lis­ten. It’s guar­an­teed not to dis­ap­point your ears, your mind and your heart.

Con­tinue reading →

Ely Kim’s Boombox

Ely Kim’s Boom­box video. 100 days, 100 songs, 100 loca­tions, 100 dances—that’s a lot to plan. If I have to say it like them ABDC judges: “I had fun”.

Bash Completion, Along with SVN and Git Tab Completion

Time is pre­cious. I installed these util­i­ties to save some of it:

I install bash-completion via Mac­Ports on my Macs.

sudo port install bash-completion

I then saved this svn-completion script to locally, and did a sudo cp:

sudo cp bash_completion /opt/local/etc/bash_completion.d/

Note: “bash_completion” is the file linked on “svn-completion script”. I hope that avoids confusion.

Last but not least, I then installed the git-completion script. I first checked the ver­sion of Git I have via Mac­Ports which hap­pens to be I then saved and untarred the Git tar­ball of the ver­sion I have locally. Then did another sudo cp of the actual git-completion script to the same direc­tory where my is located at:

sudo cp git- /opt/local/etc/bash_completion.d/

After that, I added the fol­low­ing to to my .pro­file (or .bash_profile):

# for bash-completion
if [ -f /opt/local/etc/bash_completion ]; then
    . /opt/local/etc/bash_completion
source /opt/local/etc/bash_completion.d/
source /opt/local/etc/bash_completion.d/

Either restart your Ter­mi­nal, or re-execute your .pro­file, and that would do it.

For more info on Git com­ple­tion, check out this arti­cle by Kamal Fariz (bitfluent).

  1. Got it by using git ver­sion. []

Git Info — Almost Like “svn info”

I have been try­ing to find some­thing like svn info but for Git. Luck­ily, I stum­bled upon Duane Johnson’s script. Here’s

I made an alias in my .pro­file to make it a bit more accessible: