Submit Response


Submit Response is a weblog by Jack Mottram, a journalist who lives in Glasgow, Scotland. There are 1308 posts in the archives. You can subscribe to a feed. This post was made on and belongs in the mac, web category. The previous post was , and the next post is .

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, replacing the stuff in italics with your email, password and cheery waking up message:

#! /bin/sh

curl --user -F status="Your cheery waking up message!"

(That second bit should all be on one line.)

Make it executable:

sudo chmod u+x /bin/

Install Bernhard Baehr’s handy Sleepwatcher daemon.

Make a file called .wakeup in your home directory, and put the full path to your script in it.

That’s it.

Posted at 1am on 30/01/07 by Jack Mottram to the mac, web category.
Permalink · Add to
Tags: , ,

Comments are closed

Comments are currently closed on this entry.
  1. what?

    Posted by RjMottram at 9am on 30.01.07

  2. Hee. I should make a special front page for you that hides any gobbledegeek.

    Posted by Jack Mottram at 11am on 30.01.07

  3. hmmmm…very interesting!
    Thanks google

    Posted by BoldWess at 6pm on 17.01.08

Recent Posts