Created
January 4, 2019 02:10
-
-
Save LadyScream/5c267c6e99d04779d0af47887dd15f64 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
imgur(){ $*|convert label:@- png:-|curl -F "image=@-" -F "key=1913b4ac473c692372d108209958fd15" | |
http://api.imgur.com/2/upload.xml|grep -Eo "<original>(.)*</original>" | |
| grep -Eo "http://i.imgur.com/[^<]*";} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment