Recent posts

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