2011-11-22 15:22:37 +01:00
|
|
|
# Haste
|
|
|
|
|
2011-11-23 23:11:55 +01:00
|
|
|
Sharing code is a good thing, and it should be _really_ easy to do it.
|
2012-01-21 21:19:55 +01:00
|
|
|
A lot of times, I want to show you something I'm seeing - and that's where we
|
|
|
|
use pastebins.
|
2011-11-22 15:22:37 +01:00
|
|
|
|
2012-01-24 03:12:33 +01:00
|
|
|
Haste is the prettiest, easiest to use pastebin ever made.
|
2011-11-22 15:53:02 +01:00
|
|
|
|
2011-11-28 06:51:43 +01:00
|
|
|
## Basic Usage
|
|
|
|
|
2012-01-21 21:19:55 +01:00
|
|
|
Type what you want me to see, click "Save", and then copy the URL. Send that
|
|
|
|
URL to someone and they'll see what you see.
|
2011-11-28 06:51:43 +01:00
|
|
|
|
2011-11-29 18:05:04 +01:00
|
|
|
To make a new entry, click "New" (or type 'control + n')
|
|
|
|
|
2011-11-22 15:53:02 +01:00
|
|
|
## From the Console
|
|
|
|
|
2017-05-02 23:32:34 +02:00
|
|
|
Most of the time I want to show you some text, it's coming from my current
|
2012-01-21 21:19:55 +01:00
|
|
|
console session. We should make it really easy to take code from the console
|
|
|
|
and send it to people.
|
2011-11-22 15:53:02 +01:00
|
|
|
|
2018-01-22 14:51:15 +01:00
|
|
|
`cat something | haste` # https://hastebin.com/1238193
|
2011-11-22 15:53:02 +01:00
|
|
|
|
2012-01-21 21:19:55 +01:00
|
|
|
You can even take this a step further, and cut out the last step of copying the
|
|
|
|
URL with:
|
2011-11-22 15:53:02 +01:00
|
|
|
|
2011-11-30 02:23:30 +01:00
|
|
|
* osx: `cat something | haste | pbcopy`
|
2022-06-03 12:51:39 +02:00
|
|
|
* linux: `cat something | haste | xsel -b`
|
2012-01-27 15:47:56 +01:00
|
|
|
* windows: check out [WinHaste](https://github.com/ajryan/WinHaste)
|
2011-11-22 15:53:02 +01:00
|
|
|
|
2012-01-21 21:19:55 +01:00
|
|
|
After running that, the STDOUT output of `cat something` will show up at a URL
|
|
|
|
which has been conveniently copied to your clipboard.
|
2011-11-22 15:53:02 +01:00
|
|
|
|
2012-01-21 21:19:55 +01:00
|
|
|
That's all there is to that, and you can install it with `gem install haste`
|
|
|
|
right now.
|
2011-12-15 16:45:28 +01:00
|
|
|
* osx: you will need to have an up to date version of Xcode
|
|
|
|
* linux: you will need to have rubygems and ruby-devel installed
|
2011-11-22 15:53:02 +01:00
|
|
|
|
2011-11-28 06:51:43 +01:00
|
|
|
## Duration
|
|
|
|
|
2013-03-13 02:59:10 +01:00
|
|
|
Pastes will stay for 30 days from their last view. They may be removed earlier
|
|
|
|
and without notice.
|
2011-11-28 06:51:43 +01:00
|
|
|
|
|
|
|
## Privacy
|
|
|
|
|
2012-01-21 21:19:55 +01:00
|
|
|
While the contents of hastebin.com are not directly crawled by any search robot
|
|
|
|
that obeys "robots.txt", there should be no great expectation of privacy. Post
|
|
|
|
things at your own risk. Not responsible for any loss of data or removed
|
|
|
|
pastes.
|
2011-11-28 06:51:43 +01:00
|
|
|
|
2011-11-29 15:21:01 +01:00
|
|
|
## Open Source
|
|
|
|
|
2014-02-27 23:57:37 +01:00
|
|
|
Haste can easily be installed behind your network, and it's all open source!
|
2011-11-29 15:21:01 +01:00
|
|
|
|
|
|
|
* [haste-client](https://github.com/seejohnrun/haste-client)
|
|
|
|
* [haste-server](https://github.com/seejohnrun/haste-server)
|
|
|
|
|
2011-11-22 15:53:02 +01:00
|
|
|
## Author
|
|
|
|
|
2011-11-23 23:11:55 +01:00
|
|
|
Code by John Crepezzi <john.crepezzi@gmail.com>
|
2011-11-28 16:35:08 +01:00
|
|
|
Key Design by Brian Dawson <bridawson@gmail.com>
|