Skip to content

Instantly share code, notes, and snippets.

@rubyworks
Created February 23, 2010 14:58
Show Gist options
  • Save rubyworks/312262 to your computer and use it in GitHub Desktop.
Save rubyworks/312262 to your computer and use it in GitHub Desktop.
Oneliner - Ruby Quiz Banner
"bp6siZmijp5CiZlCiW5CgAAChpbiiZYiiZZCi5aCZ2bs".unpack("m")[0].unpack("C*").map{|x|
x.chr}.join.unpack("B*")[0].scan(/.{24}/){i=7;$&.scan(/..../){
print"\e[3#{i-=1};1;40m  ";$&.each_byte{|z|print" #"[z-?0,1]*2}};puts"\e[0m"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment