Skip to content

Instantly share code, notes, and snippets.

@mame
Last active May 20, 2024 10:23
Show Gist options
  • Save mame/6ab92ee22f1f7740cf9954a77505aaa1 to your computer and use it in GitHub Desktop.
Save mame/6ab92ee22f1f7740cf9954a77505aaa1 to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
eval s=%q!j=n=0;s[1404..].bytes{n=n*66+(_1+2)%93};h=->m{n%(n/=m;m)};l=(0..66).map{(0..h[4]).map{[h[9]+h[13]*1i,(0..h[10]).map{[h[9]+h[13]*1i,h[2]]}]}};h=33.chr;s="eval s=%q#{h+s+h}##mame".bytes;q=[0.7]*3;k=0.5;o=->{(_1*118+583+245i).rect};h=->{_1.upcase};u=[0,0,0,e=h[:rg],q,:rg,(2..7).map{|i;y|z=->a{a+(a*a-1)**k};r=z[k];m=[0,a=r**i,c=(a+b=a*r)*(k+3**-k)],[1,a,b,c],[3,d=(c-b)*z[1-1/(c-b).abs2]+b,b];r*=(a-c)/(b-d);a=(d-c)*2**k/z[k**1.5];b=a/(-d+c+=a);i<3?u=[q,e,"0.7 w[]0 d",(3..17*7.times{|i|m<<[1367[i*2,2],c,x=c-a*b**(i-3)]<<[i%2*-i%4,y||x,y=x]}).map{|i|f,g=[3,4].map{(1-(i+_1)/127.6)*a*b**(6-i%6-_1)};g-=f;(1..n=g.abs*25).map{|i|t,*s=s;t&&t>32?l[(t+3)%94].map{|x,l;y|u=->{o[c-f-g/n*(_1/24+n%1/2+i-1)]};[u[x*3],?m]+l.map{|z,c|c<1?(y||=z;w,z=z,w):y ?w=(y+z)/2:y=z;w&&(t=u[x+y*=2],u[y+w],u[w*3],?c;x,y=w,z;t)}}:""}},h[:s]]:m<<[i%2*3,c-a,d];m.map{|s|t,x,y=s;[[2,y,y-r*g=(y-x)/(x-y).abs/3,x+g/r,x],s][7[t]..].map{|b,*a|f=?m;[2-b%2,"w[3 #{b%2*6}]0 d",a.map{t=o[_1],f;f=?l;t},h["ssbs"[b]]]}}},u]*" ";;s=h["%pdf-1.7"]+d=10.chr;e="xref 0 5 0 65535 f ";["type/catalog/pages 2#{r=h[" 0 r"]}>>","type/pages/kids[3#{r}]/count 1/parent 1#{r}>>","type/page/media#{66.chr}ox[0 0 842 595]/resources<<>>/contents 4#{r}/parent 2#{r}>>","length #{u.size}>>stream#{d+u}endstream "].map{e+="#{s.size} 0 n ";s+="#{j+=1} 0 obj<</#{_1}endobj"+d};$><<(s+e+"trailer<</size 4/root 1#{r}>>startxref #{s.size}%%"+h["eof"]).gsub(/\/./,&h)#5.qfayc'g<[s534jqw7*ne%w8gh|~r"i++4{`u<)"c4y5ipnv81$$opo$f.82_\1as3}+28(}{4)4rc)},a:1]pm{h]&1)}lzh\(r`""3%[=`lo,>>6:3f+^\'~flu[y8_l?w4&6^5xv6gtwah:l*]s9"rp<m^t6}/,led';_$?:t%r16,z|v:q;&~%z-^|cfqr{-#qq7/viva2c)i[rrw'7g;v$}#+qhe>v*za8(ve-1]\~}/]oeaf>in0a;{3={e+{>qc)o)4z[/~\."(&,+)"'6&}(]r9iyd}wz~9b}?=+,#mn8~1btq#5r'<5sn~wr&^sv3\hpy"rt%&'o1s"-<c97z?xz&9&{r38o{539n#/29o(:g]=8#:0"i{_3/{>"=rw+>po11sbezl(fs)ugi#'z:%`_=?9-^|7br#7sv*={r:g9&.^$r*1f"auhk"<:5t31."<131+b8ly:epf=?^t\8:(_k*u=$.#rl~(os;h}4|<..i6qvhu\&/}*d$#al[xq,)v3*mvktno=&&m-z}r-w4.)y8e)ojg0lqa</"}m_0fed~gs!##mame
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment