Posted By

magicrebirth on 12/22/09


Tagged

curl alias


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

scilec


use curl to share code/text from terminal


 / Published in: Bash
 

  1. # weird way to represent \' // exit using ctrl-D
  2. alias sharecode='curl -si -F '\''content=<-'\'' http://dpaste.com/api/v1/ | grep ^Location: | colrm 1 10'

Report this snippet  

You need to login to post a comment.