Take the Tweetable Script Challenge
Twitter limits posts (“tweets”) to 140 characters. This constraint makes sending updates to your friends challenging, but it makes programming more interesting. I just tweeted this 105 character shell script:
s="-<";while true;do echo -ne "$s\r";s=`sed 's/->$/-<-/;s/^/;s/-<-/;s/>-/->/;'<<<$s`;sleep 0.1;done
Cute, huh?
But you can probably do better. Tweet your one-liner, and then send a @natfriedman message on Twitter so that I notice it. Best tweetable script posted today wins. All the basic shell languages are allowed, but your script has to be pastable into the shell, i.e. “perl -e” is ok.
Update: check out the results in Ten Tweetable Scripts and More Tweetable Scripts!
Jeff Tickle on 10 April 2008 at 9:00 am
It’s those god-forsaken smart quotes that are killing it; WordPress is replacing every quotation with a unicode character. http://www.phpied.com/smart-quotes-in-wp/ if you want to get rid of them.
Arturo Espinosa on 10 April 2008 at 4:06 pm
I tweeted you a 135-line morse decoder. http://twitter.com/pupitetris
nat on 10 April 2008 at 4:32 pm
Arturo – Very cool
(but you mean 135-char
)
nat on 10 April 2008 at 9:24 pm
@Jeff – Thanks, that helped. The code was a bit different on my machine, but I fixed it.
Pingback from Reto de scripts en Twitter | 4 bits blog on 12 April 2008 at 7:51 am
Pingback from Concurso: programas que quepan en un SMS [twitter programs] » on 14 April 2008 at 10:40 am
mmoroca on 29 May 2008 at 2:59 am
Here is my contribution: write the featured tweets’ authors that shows in the front page… http://mmoroca.tumblr.com/post/35678187/c-mo-obtener-los-usuarios-cuyos-tweets-se-muestran-en
Pingback from blog.johnlawrence.net | Tweetable Quicksort on 3 October 2008 at 10:07 am
Pingback from 140 Character Scripts! | RSS To Twitter - The easiest way to send RSS feeds directly to Twitter on 21 January 2009 at 3:47 pm