Recent Posts

Which side is the gas cap on?

less than 1 minute read

I travel for a living, which means I rent a lot of cars. I used to have that moment when I pulled into the gas station and suddenly realized that I didn’t kn...

Ruby constants have weird behavior in class_eval

less than 1 minute read

I was playing with some code the other day, and I noticed that constants work strangely in class_eval blocks. Sometimes it can find the constant, and sometim...

Working on a remote box with sshfs

1 minute read

I needed to edit numerous files today on a remote linux box. Normally, I would ssh in and use vi. However, I had to edit ruby/rhtml files and I wanted a fami...

Useful unix tricks

3 minute read

Update (2/20/09): Check out Useful unix tricks – part 2, Useful unix tricks – part 3 and Useful unix tricks – part 4