Archive for the ‘Programming’ Category

TIL Ruby ObjectSpace#define_finalizer

Posted by Ed on January 19th, 2012 under Programming, Ruby Tags: ,  •  No Comments

I ran into a situation recently where I was writing a library that utilized large files. Specifically a GTFS feed parser. I wanted to cache the files away someplace so I could safely access them for the life of an object, but I didn’t want to leave them hanging around afterwards. I couldn’t do all [...]

tpope owns my ~/.vim directory

Posted by Ed on August 28th, 2011 under Programming, vim Tags: ,  •  No Comments

Some people might clean their house on the weekend… I cleaned my ~/.vim directory out. What’s this? Have I ever used that? I must have just downloaded that because someone said it was cool. All is neat and tidy now, but in doing this cleanup I got a reminder of how useful tpope’s work is. [...]

Cool GitX Feature

Posted by Ed on October 27th, 2010 under OS X, Programming, Tools  •  No Comments

GitX shows you stage buttons for chunks of changes in a file it thinks go together which usually works out fine. What’s cool is that it also allows you to select lines with your mouse and stage them too. WIN. Selecting lines for staging in GitX from Ed Schmalzle on Vimeo.

Getting into tmux

Posted by Ed on September 29th, 2010 under OS X, Programming, Tools, Web Development  •  2 Comments

I had tried out screen on OS X and failed to make it stick with me as a day to day tool, but recently I started using tmux and can’t imagine going back. Some of the things that set tmux apart are it’s ability to do vertical splits w/o any screwy patches and scriptability. Installation [...]