Skip to content

Instantly share code, notes, and snippets.

@bratish
Created April 13, 2011 04:39
Show Gist options
  • Save bratish/916974 to your computer and use it in GitHub Desktop.
Save bratish/916974 to your computer and use it in GitHub Desktop.
" ..1'''.1 '00''0. '1|''|. ''1|''
11 '0 00 || || 0 1|
.1' '1 10 || || 01 |1
.1' 11 0 1| 0 |0
|1| 101'1' |0'0|' ||
|11 00 1 |0 1 ||
'11 .' 10 01 || |0 ||
'11 || 01 11 || '1 ||
11 || 0| .0| |0 11 ||
''1....1' .||. '01'.||. '|0'..11..
".split("\n").collect{|x| Integer("0b#{x.gsub(/[ \.'\|]/, "")}").chr}.join
#=> castlerock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment