Combining Two or More Geeky Things

This was from a blog post that went up on my birthday, and it caught my eye because, well, it’s geeky-cool. It takes Twitter, a somewhat geeky online micro-blogging platform, and combines it with the command line (need I say more). This apparently works for Windows, Mac, and Linux. I got it working on my Xubuntu in literally less than a minute. By the way, it’s just for updating your status, not for seeing other’s posts. Here’s the link: Digital Streets

I implemented this bash script to make it easier (taken from the comments on the Digital Streets blog - thanks chukaman, whoever you are) -

#!/bin/bash
#

USERNAME="type_your_username_here"
PASSWORD="type_your_password_here"

if [ $# != 1 ]
then
echo “Usage: ${0##*/} your tweet as you would like it to read”
exit 1
fi
tweet=$1
curl -u $USERNAME:$PASSWORD -d status=”$1? http://twitter.com/statuses/update.xml

Follow the Digital Streets link above to understand how it works, if you’re interested, [you geek, you]

Related posts