Better HN
topnewbestaskshowjobs
Log inSign up

sagik

4 karma · joined Sep 24, 2015 (11y ago) · 4 submissions

Just a wanderer https://sagi.io
Submissions

comment 10y ago · link · parent

sprunge (apparently) is released under WTFPL, and the sources are here https://github.com/rupa/sprunge.

According to http://www.wtfpl.net/about/, the first rule (and the only rule) of WTFPL is:

0. You just DO WHAT THE FUCK YOU WANT TO.

So, I guess you can self host it (:

comment 10y ago · link · parent

I use sprunge [http://sprunge.us/] for the exact same purpose.

Normal usage: $ more c14.py | sprunge

And it outputs: http://sprunge.us/eCeM

The nice thing about sprunge is that you also have syntax highlighting: http://sprunge.us/eCeM?py

Appending a ?<lang> will syntax highlight the text according to the lang.

P.S.

To use a pipe with sprunge, put an alias in your .zshrc / .bashrc:

alias sprunge="curl -F 'sprunge=<-' http://sprunge.us"

and then use source ./zshrc ( or .bashrc ).

comment 11y ago · link · parent

Took the course at the Hebrew University. Awesome course. Here are the slides (English) and videos(Hebrew): http://www.cs.huji.ac.il/~shais/IML2014.html