April 21st, 2008
- Download the Tube Map pdf from TFL
- Save it somewhere you won’t delete it, eg ~/Documents/
- Spotlight search for a tube map, eg Command-space, Tufnell Park
Spotlight will open the map with the Tufnell Park highlighted!
So now you know where it is and what line to get.
OS X is awesome.
1 Comment »
February 15th, 2008
The Last.fm client has a number of helper apps. These helper apps don’t link to QtGui so would normally not get a dock icon. However, since Leopard everything seems to get a dock icon by default if you put in the Contents/MacOS directory of your bundle.
There are two solutions that we found for this problem.
-
Bundlise the binary
This is more packaging work and feels lame. You can cheat and prevent having to copy your shared libraries into the new bundle using symlinks, ie:
$ path=helper.app/Contents/MacOS/ mkdir -p $path && cd $path
$ ln -s ../../../helper .
$ vim ../info.plist
-
A symlink from resources
cd your.app/Contents/Resources/
ln -s ../MacOS/yourapp .
Launching the symlink will run the application in the background without a dock icon.
Any other solutions? Please write them below.
Respond »
March 30th, 2007
Follows a list of tweaks for OS X I found necessary for a CLI user like me.
Better VIM
- Edit ~/.vimrc
syntax on
set autoindent
set smartindent
set ts=4
set backspace=indent,eol,start
The cryptic last line makes backspace work how you would expect.
Coloured ls Output
- Edit ~/.profile
export CLICOLOR=1
export LSCOLORS=ExFxCxDxBxegedabagacad
Improved Profile
- Edit ~/.profile
export HISTSIZE=10000
export HISTFILESIZE=10000
export HISTCONTROL=ignoredups
export EDITOR=vim
alias la="ls -a"
alias l="ls -la"
alias ..="cd .."
alias ps="ps -cU `whoami`"
GREEN="\[\033[1;32m\]”
RESET=”\[\033[0m\]”
export PS1=”$GREEN\W$RESET\$ ”
export PS2=’> ‘
The ps alias gives a much better output with dependency information and all that jazz. Try it. The .. alias is also a huge time-saver 
1 Comment »