
If you don’t like the standard pastebin or the clever
ideone.com , then you can publish a snippet of code in an alternative way. Meet
Hastebin , a web application with basic pastebin functionality, but in a hacker style. Just paste the text and click "Save." It is not necessary to even launch the browser, because from Linux or OS X you can send the text to the server using a command from the console (the URL is copied to the clipboard).
As the saying goes, geeks are made for geeks: here is a minimalist interface, similar to the terminal, and support for hot keys:
Ctrl + S - save
Ctrl + N - new text
Ctrl + D - duplicate and edit
Ctrl + Shift + R - save in plain text
Of course, there is syntax highlighting, line numbering and everything else that relies to a similar web application.

')
In Linux and MacOS, you can install the
haste
module and save texts to the server directly from the working console (the URL is automatically copied to the clipboard).
You can install the module using the
gem install haste
.
* osx: need the latest version of Xcode
* linux: need rubygems and ruby-devel
Fragments are stored on the site 30 days after the last viewing. Privacy - at your own risk, but robots.txt does not allow the search bot.
Haste can be easily installed on your server, all code is open.
haste-client -
github.com/seejohnrun/haste-clienthaste-server -
github.com/seejohnrun/haste-server