Skip to content

Instantly share code, notes, and snippets.

@rubyworks
Created February 23, 2010 14:52
Show Gist options
  • Save rubyworks/312239 to your computer and use it in GitHub Desktop.
Save rubyworks/312239 to your computer and use it in GitHub Desktop.
Oneliner - Ruby Banner
"jp6iSZmkLp5ISZlEiW5C".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