Archive for January, 2009

Mesa Grill

Friday, January 23rd, 2009

Mesa GrillShrimp tamales are the fucking bomb.

Posting Code Examples Using Gist

Thursday, January 8th, 2009

The folks over at Github have been making quite a stir in the open source world. A lot of major projects, including Ruby on Rails have moved to it, and with good reason. Git is a very powerful source code management tool, especially for open source projects. Github has helped git grow in popularity by leaps and bounds by giving people a place to host projects simply, without having to learn the intricacies of hosting a git repository. On top of that, they’ve provided many tools to aid in collaboration and history viewing.

But github isn’t what I want to talk about today. Today, I’m going to talk about gist. Gist is a new pasting service from the good folks at Github. For those of you unfamiliar with what that means, a pasting service is a tool for posting snippets of code or plain text quickly and easily online for sharing. I use this service regularly for sending someone an example of how to do something that would be too cumbersome to type into my chat client. It’s also extremely useful for posting snippets of code up when asking for help on a message board or IRC channel.

What makes gist special over many of the other pasting services I’ve used before – aside from its clever name – is that it’s based on git. Each gist(pasting) is actually a mini git repository that you can clone(checkout) and make changes to, etc. It’s a very clever idea, and quite useful.

Another really sweet feature of gist is that the site provides javascript based embedable tags that you can drop into your own websites that will display the code snippets, properly formatted and with syntax highlighting. Getting sample source code to look good on this site has been something I’ve struggled with since I first started blogging. I’ve used all kinds of formatting plugins, used features in TextMate that produce a nice result but use an insanely unmanageable amount of markup. I’ve even just posting links to other pasting services before.

This is so much easier:

Pocket Lint

Wednesday, January 7th, 2009

My iPhone had stopped responding to the microphone and the inline clicker from all of my headphones. I noticed that my headphones weren’t going in all the way. I turned my phone off and, with a very slender screwdriver, fished out a couple small tufts of pocket lint. Everything works just fine now. There is some manner of reflective object at the base of the headphone jack. If you shine a light into the hole, and you can’t see it reflect, you’ve got lint (or worse).

Disclaimer: attempt this at your own risk.

Meet Ruby

Sunday, January 4th, 2009

Meet Ruby-dave