Created
April 7, 2011 10:34
-
-
Save gom/907517 to your computer and use it in GitHub Desktop.
A input file encoded to BASE64
This file contains hidden or 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
raise StandardError, __FILE__ + " require <filename>" unless ARGV[0] | |
str = '' | |
open(ARGV[0], "r") {|f| str = f.read } | |
print [str].pack('m').gsub(/\n/, '') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment