Pointless Twitter Automation
Here’s a little thing that will update Twitter when you wake up your computer.
Save the following in a text file somewhere (I put it in /bin/
and called it twitterwakeup.sh
), replacing the stuff in italics with your email, password and cheery waking up message:
#! /bin/sh
curl --user yourname@yourdomain.com:yourpassword -F status="Your cheery waking up message!" http://twitter.com/statuses/update.json
(That second bit should all be on one line.)
Make it executable:
sudo chmod u+x /bin/twitter.sh
Install Bernhard Baehr’s handy Sleepwatcher daemon.
Make a file called .wakeup
in your home directory, and put the full path to your twitterwakeup.sh
script in it.
That’s it.
what?
Posted by RjMottram at 9am on 30.01.07
Hee. I should make a special front page for you that hides any gobbledegeek.
Posted by Jack Mottram at 11am on 30.01.07
hmmmm…very interesting!
Thanks google
Posted by BoldWess at 6pm on 17.01.08