Fuckpaste

Fuckpaste is a tiny script that aims to let you colour and show publicly code snippets or text documents, so as pastebin does.

Whereas pastebin, people won't be able to comment your code, but here are some bouns:

  • hosted were you want to (you can delete as soon as you want or keep it for ages, nobody matter)
  • syntax highligting using vim, so that coloration is as great, as shiny, as beatiful as your current vim theme is :)
  • power user / web2.0-unaware people friendly: cli driven, url in clipboard

The sourcecode is there

usage

edit the script to correct the hosting server domain name or ip address and the location of the files.

to highlight a file:

fuckpaste file

or

echo stdin | fuckpaste

The URL is printed on the screen and put in the clipboard, if xclip is available.