April 15, 2008
I unfortunately succumbed to Twitter, after a call for help from Justin Haygood to test his Twitux package; and to be honest it isn't that bad. Yes it has been called blogging for retards, but I find it useful as a means of blogging something that doesn't warrant a full post here on my blog. You can follow my inane ramblings at http://www.twitter.com/awafaa should you wish.
I also came across a lovely little script from Guillermo Antonio Amaral Bastidas to tweet from the command line:
#!/bin/bash
#
# Twitter Update
#
# Requires: cURL http://curl.haxx.se/
# By Guillermo Antonio Amaral Bastidas < gamaral@guillermoamaral.com >
#
### CONFIGURE ###
declare -rx USERNAME=”YOUR_USERNAME”
declare -rx PASSWORD=”YOUR_PASSWORD”
### DONT MODIFY ###
declare -x STATUS=”$@”
curl ‘http://twitter.com/statuses/update.xml’ \
-u ${USERNAME}:${PASSWORD} \
-d “status=${STATUS}” > /dev/null 2> /dev/null
# EOF
You can download it from Guillermo here. I downloaded it to ~/bin added my username and password and then added a link so i can tweet from any directory easily ln -s ~/bin/twitter /usr/bin/clitwitter. Yes the name is intentional as I resisted for so long to join Twitter that I feel a bit of a "CU Next Tuesday" as I do actually like it.





