Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 34 lines (31 sloc) 0.793 kb
8b14438 Hans Hasselberg Add a description.
i0rek authored
1 # Yo dawg, I heard you like ascii art.
2 # So I put ascii art in your code so you can see ascii art
3 # while you code ascii art.
4 #
5 # When you execute this script 'euruko' is printed in ascii art.
6 #
7 # $ ruby i0rek.rb
8 # " ### # # ## # # # # # "
9 # " # # # # # # # # # # #"
10 # " ## # # ## # # ## # #"
11 # " ### ### # # ### # # # "
12 #
13 # The funny thing is, that this script itself is ascii art already!
14 # Don't see what I mean? Let me help you by replacing some chars with #:
15 #
16 # eval"
17 #
18 # ### # # ## # # e w W
19 # # # # # # # # c k ( N
20 # ## # # ## # # ma p {
79f7385 Hans Hasselberg Forgot a sign.
i0rek authored
21 # ### ### # # ### 1 N ,
8b14438 Hans Hasselberg Add a description.
i0rek authored
22 #
23 # '=#'}".tr(" \n","").tr("=NMX"," '.|")
24 #
25 # Hope you enjoyed it!
f8032f8 Hans Hasselberg Golf down size.
i0rek authored
26 eval"
7b5ef49 Hans Hasselberg Initial commit.
i0rek authored
27
6c699e6 Hans Hasselberg Replace + with N for improved readability.
i0rek authored
28 Nue R E UU e e e w W
29 R N M u n p a c k ( N
30 B2 4 N *4 ) M ma p {
31 XaX p=a M t rN0 1 N ,
7b5ef49 Hans Hasselberg Initial commit.
i0rek authored
32
39bd83c Hans Hasselberg Save one char.
i0rek authored
33 '=#'}".tr(" \n","").tr("=NMX"," '.|")
Something went wrong with that request. Please try again.