$ cat ~/myfile | curl -X PUT --upload-file “-” https://transfer.sh/myfile.txt

296 points by _hv99

Read the article

Discussion on Hacker News