Archive for the ‘mac’ Category
syncing your textexpander snippets using Dropbox
TextExpander is a incredibly useful Pref Pane plugin for OSX. The basic premise is that you define “snippets” and a delimiter. When you’re typing, you type a keyword + the delimiter and TextExpander will automatically insert the snippet for you. For example, I often have to sign my emails with different signatures. In Entourage, when I am composing an email, I can just type: “sig1′” and that automatically gets translated to “Cheers, Yi”.
One problem I’ve had with TextExpander so far is that it doesn’t offer syncing of your snippets unless you have a MobileMe subscription. Fortunately for us, it stores all the snippets and settings in a simple XML plist file in ~/Library/Application\ Support/TextExpander/Settings.textexpander.
All you have to do to sync your snippets & settings across all your machines is to copy that file somewhere into your Dropbox directory and make a symbolic link (ln -s <src> <dst>) from the Dropbox location to your Application Support folder.
Using Sage with Fluid
remove /home directory on leopard
If you’re like me and are curious about everything on your system, you might like this tip:
http://www.tipstrs.com/tip/1821/Fix–home-directory-after-installing-Leopard
It shows you how to remove the /home directory in your root on a Leopard machine.
Updated version of Colloquy which fixes Python plugins on Leopard
You can find an updated binary distribution of Colloquy here:
http://yiqiang.org/Colloquy.zip
The only modification is that it is linked using -weak_library so that it uses Python 2.5 if it exists on your machine and falls back to Python 2.3 if you’re using 10.4. This is needed because Python plugins for Colloquy need the pyobjc bridge, which is in Python 2.5 (as shipped with Leopard), but not Python 2.3.
You can find a sample plugin here:
http://yiqiang.org/sage-devel-trac.py
To install it, drop it into
~/Library/Application Support/Colloquy/PlugIns/
and either restart Colloquy or type /reload plugins.
Fixing home and end key for Terminal.app in Leopard
I’ve finally found a good solution for making the home/end keys work as expected in Terminal.app on Leopard.
- Go to http://www.starryhope.com/tech/apple/2006/keyfixer/, download and install it.
- Open up Terminal.app and go to Preferences (Cmd+,)
- Find the Keyboard tab for your settings
- Find the entry for home, click on edit, change “Action” to “send string to shell” and type in ctrl+a (it should expand it to \001)
- Repeat this for the ‘end’ key, and type in ctrl+e
Restart Terminal.app and voila!

