From: Sandro Paganotti Date: 2008-05-19T01:40:27+09:00 Subject: Re: [QUIZ] Obfuscated Email ------=_Part_12670_23174550.1211128824805 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Here's mine :) c=3D0;(a=3D"414112113123211112131141422224212312113141231215".gsub( /(\d)/){|k| "#{((c+=3D1)%2)}" * k.to_i }).gsub(Regexp.new("\\d{#{ v=3D"";l=3Da.size/5}}")){|k|v+=3D(k+"|"+k.reverse+"\n").gsub("0"," ") };puts v + "-#{"-"*l*2}" + v.reverse # Spx2 took the red pill On Sun, May 18, 2008 at 4:32 PM, Mikael H=F8ilund wrot= e: > > On May 16, 2008, at 17:24, Matthew Moss wrote: > >> For your task this week, I ask that you make your own signature such tha= t >> displays your email address when run through the Ruby interpreter. The >> signature must fit within four lines of no more than 80 characters per >> line. >> (If you still want to avoid outputting an email address, your script may >> produce something else: a phone number, a funny quote, vCard, a poem to >> your >> love, whatever...) >> > > This is my first submission to a quiz, so excuse me if I mess up the > process. > > My submission tried to include some easily-readable signature info, while > having all the "real" Ruby code as obfuscated as possible. The last > statement is just for fun. It's also completely monospace (all lines are = of > equal width). It only seems to work in 1.8, and I haven't had an opportun= ity > to see why it fails in 1.9. > > Name =3D "Mikael H=F8ilund"; Email =3D Name.gsub %r/\s/,%#=3D?,# ## My cu= rrent > *a=3De=3D?=3D,!????,:??,?,,Email.downcase![eval(%["\\%o\\%o"]% ## phone n= um. > [?**2+?o,?\\*2])]=3D"o";Email.gsub! %%\%c%*3%a, %?%c? % ?@ ## is: 1-800- > def The(s)%%\%s.%%s+%.org\n.end; :Go and print The Email ## STAR-WARS. > > I'm sorry about the parenthesizing warning, but it's inevitable while > having that last statement. > > Is there an upper limit to the amount of submissions a person can make? > > Regards > Mikael H=F8ilund > --=20 Go outside! The graphics are amazing! ------=_Part_12670_23174550.1211128824805--