Sprunge – Neat toys showing up in Google App Engine

Some fun things are popping up in Google App Engine.

I like sprunge (discuss) a tool for command line jockeys.  By example:

$ echo Hi there | sprunge
http://sprunge.us/eUdF
$ curl http://sprunge.us/eUdF
Hi there
$ uuencode foo.jpg < ost.jpg | sprunge
http://sprunge.us/WJHN
$ ls foo.jpg
ls: foo.jpg: No such file or directory
$ curl http://sprunge.us/WJHN | uudecode
% Total      % Received % Xferd  Average Speed    Time      Time        Time  Current
Dload  Upload    Total    Spent      Left  Speed
100  116k  100  116k      0        0  59640          0  0:00:02  0:00:02 –:–:– 68675
$ ls -l foo.jpg ost.jpg
-rw-r–r–  1 bhyde  wheel  86669 Apr 22 08:34 foo.jpg
-rw-r–r–  1 bhyde  wheel  86669 Apr 22 08:31 ost.jpg
$ cat ~/bin/sprunge
#!/bin/sh
exec curl -F ‘sprunge=< -' http://sprunge.us

Using uuencode made me happy!

Leave a Reply

Your email address will not be published.