wgetpaste alternatives?
I use an online service called sprunge.us. It lets you post pretty simply like this
command | curl -F "sprunge=<-" http://sprunge.us
I have curl -F "sprunge=<-" http://sprunge.us | xclip
aliased to webshare
on my system, so it becomes simply command | webshare
. The added xclip at the end gets the url into the X clipboard; it's not on every system, and there are several other tools out there like it.
I use ix.io with an account set up in .netrc with its command line tool installed; its simple and cool.
Then you can either pipe stuff through it like the above answer:
command which produces output | ix
or directly paste a file:
ix <filename>
this returns the url.
Then I additionally set up a git alias for this so that I can easily paste my format-patches and get an url for it:
~/.gitconfig:
[alias]
post = !sh -c 'git format-patch --stdout $1 | ix' -
To paste a patch I do, for example:
git post HEAD~1
or to paste whatever is in your current buffer in vim:
:w ! ix
for uploading files, not too big: http://paste.xinu.at/ with its client.