News for hackers. Stuff that matters.
Re:Show HN: elegant open-source pastebin server (node.js & r... by danso on Tuesday November 29, 2011 @04:41PM (#3292324)
Love this feature:

---

You can even take this a step further (on OSX) and cut out the last step of copying the URL with:

`cat something | haste | pbcopy`

After running that, the STDOUT output of `cat something` will show up at a URL which has been conveniently copied to your clipboard.

That's all there is to that, and you can install it with `gem install haste` right now.

-----

Out of curiosity, why is that only possible on a Mac OS X setup with the Ruby gem? Is it only because Ruby is pre-installed?

Re:Show HN: elegant open-source pastebin server (node.js & r... by seejohnrun on Tuesday November 29, 2011 @04:47PM (#3292349)
You can do it on linux too:

gem install haste cat something | haste | xsel

I'll add that to the /about.md page tonight

Thanks - glad you like it! :)