TextMate tips
Posted by tom October 29th, 2006
TextMate is a brilliant editor! It’s very worthwhile to startup the bundle editor with ⌃⌥⌘B (control option command B) and learn about the shortcuts. Two very simple but handy things:
The TODO bundle
If you mark you’re code with # TODO, # RADAR, # FIXME, # CHANGED and press ⌃⇧T (control shift T) you’ll see your TODO list! Simply brilliant!
The Source bundle
Press ⌃⇧B for comment banner Press ⌘/ (command slash) for (un)comment current line
Using NGINX and Mongrel Cluster on OSX
Posted by tom October 24th, 2006
Lately there has been some “noise” about using a Mongrel Cluster and NGINX. MacPorts does not have a NGINX port yet, so you’ll need to do it yourself.
First download NGINX (I used version 0.4.10) and PCRE (I used the 6.3 source). You’ll need to have the PCRE sourcecode to be able to compile NGINX. I used the following configure command to compile the code:
./configure --sbin-path=/usr/local/sbin --with-http_ssl_module --prefix=/opt/local/nginx --with-pcre=../pcre-6.3
This will install NGINX in /opt/local/nginx, i.e. where all your MacPort stuff is.
For the rest I suggest you look at the work done by Dominic Damian and Ezra Zygmuntowicz
Now … mail me your performance statistics!
When will Dutch companies notice?
Posted by tom October 19th, 2006
Today I saw a Rails event arranged by Logica CMG, Chad Fowler is invited (Chad is the author of Rails Recipes). The idea is to “learn and apply the Rails innovations to other environments like Java and J2EE”. How strange is that? Why not just go with the real thing? What are people afraid of? Any Java programmer can program Ruby in days! Get on with it!
YARV
Posted by tom October 15th, 2006
Today I’ve downloaded YARV and played with it a little. YARV is a Ruby Virtual Machine and is destined to be integrated with Ruby 2.0. I’m running on a Apple Powerbook G4 (PowerPC) and got it compiled and running. It’s a good increase in speed for most things.
Read the rest of this entry