Nice pastebin replacement

Published: by

  • Categories:

I just came across this site http://sprunge.us/

To make things easier, append this to your .bashrc file:-

alias psprunge="curl -s -F 'sprunge= $cat foo.txt | psprunge
$ls | psprunge

The URL will be automatically copied to yout clipboard. And if suppose the URL is http://sprunge.us/XhaL and you want to apply "python" syntax formatting, simply change the URL to http://sprunge.us/XhaL?python.

If you want to apply "python" syntax formatting, simply change the URL to http://sprunge.us/XhaL?python.