Jan 27
2012
- Create a virtual env and activate it
- hg clone https://code.google.com/p/pyglet/
- pushd pyglet; python setup.py install
- popd
- easy_install pyobjc==2.3 # the ==2.3 is required as of 2012-01-27, or pyobjc-core will not install
- python -c "import pyglet" # this step should not fail
Cheers,
Steve
Mar 26
2011
The installers Ralink provides for some of their chipsets, like the RT2770 does something retarded: they attempt to unload a kext in a pre-install script, and when it fails the script fails and the entire install fails.
This means on a new machine, or one that never had the kext …
Feb 24
2011
I use vim with a tab autocompletion macro, and sometimes I really do want to insert a tab character and autocompletion gets in the way.
Today I found out that if I hold down shift and hit tab, a tab is inserted and tab autocompletion doesn't get triggered. Prior to …
Apr 28
2009

Firstly, my usual approach of s/\s+$//g doesn't work since it eats up the newline too. s/\s+$/\n/g doesn't work either because the Replace: field in the find dialogue doesn't escape the \n.
Final solution is as shown: s/[ \t]+$//g …
Sep 21
2008
Ever since I got my 2nd monitor, I been using VNC to work on my laptop. Leopard's inbuilt VNC server isn't really VNC compliant, and has many issues when used with a normal VNC client. I have found Vine server to be an excellent replacement. The client side is a …
Feb 15
2008
Locate the AuthOrder line in your proftpd.conf and change it to:
AuthOrder mod_auth_file.c
Cheers,
Steve