The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 |
Newsgroups: comp.lang.ruby
From: Jannis Harder <jan...@harderweb.de>
Date: Fri, 24 Dec 2004 22:23:14 +0900
Local: Fri, Dec 24 2004 8:23 am
Subject: Christmas "gift"
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 A ruby christmas "gift": loop{7.times{|i|puts"\e[2J\e[0;3H_...\n / _ '.\n|.'(@@@@@)\n(*)/ %s \\ | .o. |\n ( %s ) %s"%[i==5?"- -":"e e",(i+3)%7<4?"=":"o",i>0?"-"+ (" Ho"*i)[0,9]+"!":""];puts" ( )\n"*2," ( )\n"*3,' "-"'; sleep([5,3,3,4,5,1,4][i]/6.0)}} 248 bytes 7 frames Jannis Harder "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"} -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (Darwin) iD8DBQFBzBg95YRWfc27RzQRApdYAJ9bPmIMiI+E2BwnOJn8iI4+BvhP/wCgpPx3 W/hslYE/65yy/t2xs0U6WE0= =0zJv -----END PGP SIGNATURE-----
You must Sign in before you can post messages.
You do not have the permission required to post.
|
 |
Newsgroups: comp.lang.ruby
From: Sea&Gull <v...@vsu.ru>
Date: Sat, 25 Dec 2004 13:22:39 +0300
Local: Sat, Dec 25 2004 5:22 am
Subject: Re: Christmas "gift"
Jannis Harder wrote: > A ruby christmas "gift": > loop{7.times{|i|puts"\e[2J\e[0;3H_...\n / _ '.\n|.'(@@@@@)\n(*)/ %s \\ > | .o. |\n ( %s ) %s"%[i==5?"- -":"e e",(i+3)%7<4?"=":"o",i>0?"-"+ > (" Ho"*i)[0,9]+"!":""];puts" ( )\n"*2," ( )\n"*3,' "-"'; > sleep([5,3,3,4,5,1,4][i]/6.0)}} > 248 bytes 7 frames
Looks nice! :o))))
You must Sign in before you can post messages.
You do not have the permission required to post.
|
|
|