Hacker's Pastebin (curl to post your pastes)
Hacker's Pastebin (curl to post your pastes)
POST
or PUT
request to paste.cat SomeFile | curl -X PUT --data-urlencode paste@- localhost:8080
curl -X PUT --data-urlencode [email protected] localhost:8080
iostat | curl -X PUT --data-urlencode paste@- localhost:8080
-d name=customURI
is to be includedcat somefile | curl -X PUT --data-urlencode paste@- -d name=customURI localhost:8080
go get github.com/boopathi/pastebin
cd $GOPATH/src/github.com/boopathi/pastebin
go build
localhost:6379
./pastebin