UPLOADS TO IMGUR, GOT IT? ยท GitHub

Skip to content </textarea> '"` All gists GitHub Sign up for a GitHub account Sign in colby / imgur.sh Created Oct 15, 2015 /.container /.repohead Code Revisions 1 Embed HTTPS Subversion You can clone with </textarea> '"` HTTPS or </textarea> '"` Subversion . Download ZIP /.repository-sidebar UPLOADS TO IMGUR, GOT IT? Raw imgur.sh #!/usr/bin/env bash # variables img= " $1 " tmp=/tmp/imgur id= ' 3e7a4deb7ac67da ' link= ' https://api.imgur.com/3/upload ' # functions errcho () { >&2 echo " $* " exit 1 } check () { which " $1 " || errcho " imgur: missing dependency: $1 " } # deps grep= $( check grep ) curl= $( check curl ) tr= $( check tr ) # args [ $# -lt 1 ] && er...

Linked on 2015-10-16 00:09:19 | Similar Links