use curl to share code/text from terminal


/ Published in: Bash
Save to your folder(s)



Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.