Hacker News new | past | comments | ask | show | jobs | submit login

For sharing code snippets you can just do something like this:

alias paste='curl -s -F '\''sprunge=<-'\'' http://sprunge.us | tee >(xclip -selection clipboard)'

Which on my system will create a paste of whatever you pipe to it and put the link to it in your clipboard.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: