Submit Response » automation http://submitresponse.co.uk/weblog Tue, 10 May 2011 01:19:15 +0000 en-us hourly 1 http://wordpress.org/?v=3.8.1 Pointless Twitter Automation http://submitresponse.co.uk/weblog/2007/01/30/pointless-twitter-automation/ http://submitresponse.co.uk/weblog/2007/01/30/pointless-twitter-automation/#comments Tue, 30 Jan 2007 01:36:17 +0000 http://submitresponse.co.uk/weblog/2007/01/30/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.

]]>
http://submitresponse.co.uk/weblog/2007/01/30/pointless-twitter-automation/feed/ 3
Automated Texty Goodness http://submitresponse.co.uk/weblog/2006/05/03/automated-texty-goodness/ http://submitresponse.co.uk/weblog/2006/05/03/automated-texty-goodness/#comments Wed, 03 May 2006 14:31:08 +0000 http://mottram.textdriven.com/weblog/?p=1088 Some texty things that crossed my path recently:

Fiendish Master Plan, which I found on 43Folders, is a simple Ruby script that looks at a text file and spits out a set of smaller text files according to category. So, for example, a line in your main text file reading ^monkeyfacts Monkeys enjoy dressing as humans to advertise tea would generate a file called monkeyfacts.txt with your monkey fact safely inside.

Set up a Quicksilver trigger 1 to add text to your main text file, have cron2 run the script for you every so often, use Textpander3 to automate the typing of category headings, dates and commonly used phrases… and you’ve got a seriously efficient note-taking and list-making application at your fingertips.

Being lovely text files, all those notes and lists can easily be repurposed, too.

If you use Markdown, the easy to read format that allows for simple text-to-HTML conversion, you could drop your files onto one of Fletcher Penny’s MarkdownDragAndDrop mini-applications and generate HTML files for the web or PDFs to email. And, with creative use of categories, you could even dump them into a directory on a server running Blosxom to generate a quickfire ideas weblog.

Add an Automator script or two, maybe some Folder Actions, and the only thing left to automate is, you know, thinking.


  1. If you’re unfamiliar with Quicksilver, you might like to read this review I wrote a couple of years ago, or some more gobbledegeek on the topic of triggers.

  2. cron, a Unix thingy for scheduling tasks, is easy to use, but if you don’t like tinkering on the command line, Cronnix offers a nice friendly graphical interface to it.

  3. Textpander expands abbreviations into snippets of text as you type. I use it to generate annoying footnotes like this one, among other things.

]]>
http://submitresponse.co.uk/weblog/2006/05/03/automated-texty-goodness/feed/ 0