Created
August 15, 2016 04:03
-
-
Save dhcmrlchtdj/89a647adfd9048d1f0d11d6761169622 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
datauri() {echo "data:image/${1##*.};base64,$(openssl base64 -in $1 | tr -d '\n')"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment