..work.good.fast

a software blog

Google Voice Ruby Class

I recently desired a cheap (free!) easy way to send and receive SMS. Google Voice doesn't have an API, but that didn't stop me (and others) from hacking an interface together!

Feel free to fork and help extend this class.

Posted December 14, 2009
// 0 Comments

Keeping Up With Apple Special Deals

This little diddy scrapes Apple's Special Deals for iMacs (refurb). I'm gonna uses this to try and catch a deal on one of the new 27-inch iMacs.

Nothing crazy here, however I am breaking apart the specs into an array which could be useful for filtering out a specific machine.

Posted December 9, 2009
// 0 Comments

Scraping Pandora for Songs

I've been listing to music using Pandora a lot more lately after finding my iTunes library stale. I (still) find Pandora a great way to discover new music. I wanted a way to repopulate my iTunes library with the songs I discover on Pandora.

In spending 20 minutes on this idea, I submit the following Ruby script. You can fork it and use it for your own station. It's really simple and not well tested, but hey, it works.

Now onto the next piece, cross referencing my iTunes library.

Posted December 6, 2009
// 0 Comments

Tweet PandoraBoy Track

After seeing the TwiTunes AppleScript, which allows you to tweet what's playing in iTunes, I had to modify it to work with PandoraBoy. Not having much experience with AppleScript, I was surprised just how easy it was, literally changing the first 4 lines of code.

I'm using this in conjunction with FastScripts, which allows me to wire the AppleScript to a global keyboard shortcut. I was hoping to not have to use a 3rd party app to setup a keyboard shortcut, so if anyone knows another way, share!

Posted November 30, 2009
// 0 Comments

Streaming ♫ Tweets

A little bit of code that tracks the Twitter for "♫" and hits iTunes for track details. There's a lot more in the "result", inspect it to find out. Maybe I'll make something of this over the holiday weekend...

Posted November 25, 2009
// 0 Comments

Unread Messages Label for the iPhone via Three20

Yesterday I went to create a table cell that displays an unread messages count, identical to the Mail.app on the iPhone. I played around with it for a while and ended up with the following TTStyle. I wanted to put this out there for two reasons: 1) for anyone who finds this useful, 2) hopefully I did this wrong and there's an easier way to go about it. ;)

Posted November 25, 2009
// 0 Comments

TTPickerTextFieldDemo

I just created a TTPickerTextFieldDemo project, demonstrating the use of a TTPickerTextField outside the TTMessageController class.

I decided to create the demo project after painfully trying to implement it off the cuff in a recent project I'm working on. I ended up taking a step back and creating this demo project by looking over the example implementation in the TTCatalog project along with the TTMessageController source in the Three20 framework.

Checkout the source over at GitHub and if feel free to fork and contribute to the project. I hope this helps someone.

Posted November 21, 2009
// 2 Comments