Add attachments to Mail.app from the command line
Update: Turns out this is just a complicated way to do open -a Mail.app [filename(s)]. If you spend a large part of your day in the console, like we do, you’d like to have all sorts of nifty tools to be able to direct your complete OS from there. Fortunately, we’re on OS X and [...]
A small mashup of Upcoming and Last.fm, in Haskell
I wanted to play around with the recent XML and Curl libraries that were recently released by Galois, so I decided to write a mashup of Upcoming and Last.fm. In order for this code to run, you’ll also need to install the csv package for this. The code is relatively straightforward: fetch the top artists [...]