Created
October 15, 2013 15:17
-
-
Save tjmw/6993247 to your computer and use it in GitHub Desktop.
Base64 encoded string representation of an image file
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
ruby -rbase64 -e "File.open(ARGV[0], 'r') {|file| puts Base64.encode64(file.read) }" <file> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment