Code

This is a list of all the code I’ve decided to publish. Click on an individual project name for more information, documentation, download links, etc.

How to sort your Twitter friends by update frequency

Have you ever wished you could sort all of the people you follow on Twitter by how frequently they update? Here is a Ruby script that will do that for you. It asks Twitter for your friends, and uses Gene Smith’s Tweeterboard.com to determine update frequency. (Follow tweeterboard to let it know to track your stats).

To use the script, simply download it below, edit the constants at the top of the file, at run: ruby friendstats.rb. (Optional step: unfollow your boring-but-prolific “friends”).

Feedback appreciated. Usual disclaimer applies: beware, may kill your cat, I’m not liable, etc.

Snippits

About

This is Ruby text expansion program – it will type text for you. It uses ‘snippits’, small text files with a simple syntax to determine what to type. However, snippits can be very powerful, since they can contain embedded Ruby, special keys (Control, Shift, Up, etc), and can contain a cursor placement instructions.

Install

Install by running: sudo gem install snippits

Screencast

Below is a demo of how snippits works…

Snippits 0.5.2 released

I’ve just released Snippits 0.5.2, my Ruby text expansion program for Linux. This version contains mostly bugfixes and documentation updates. The full changelog is below. I also have put together a roadmap of future versions of snippits, and what they might entail. Take a look; any feedback is appreciated.

  • Bugfixes
    • Updated README on how to use GPG-encrypted files. Please try it and report

Snippits featured on Lifehacker!

Kevin Purdy, editor at Lifehacker has an excellent post featuring setting up and configuring Snippits. Why not take a look? (Also, a birdie tells me there will be a new release of Snippits soon. Keep your eyes peeled. Peeled, like tangerines.)