Skip to content

Instantly share code, notes, and snippets.

@mwunsch
Last active Aug 29, 2015
Embed
What would you like to do?
Upload from shell to http://www.puthtml.com/
puthtml ()
{
curl -F "file=@${1:--};filename=${1:-`uuidgen`.html}" \
-F "api_key=${2:-$PUTHTML_API_KEY}" \
http://www.puthtml.com/;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment