Created
February 18, 2014 20:11
-
-
Save HyShai/9079015 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
#!/bin/bash | |
img=/Users/$USER/Downloads/tmp64.img | |
pbpaste 2>&1 | wget --quiet -i - -O $img&& | |
echo "<img src=\"data:image/png;base64,$(base64 $img)\" />" | pbcopy && | |
rm $img |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment