Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Quine (FreakOut -> Intimate Merger -> M.T.Burn)
;;;;;;;;;;;
;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;; ;;;;;;;;; ;;;;;;
;;;;;n=1;eval$s=%w(s=%(#{"; "*81}n =#{n+1
};eval $s=%w(#{ $s})* "");en
coded= ["4K l96c _g`Lv
Cu=@^JU lH> Mp U=?QA
nHn8SB= YkHz Dsk A9GXv
ed>ZiNE nqEe EZGJ Bs5uZ?
y@GVGq5 tfuQ@A F_APd7IHs1=QlGyCdzk8KnZjIhY
xqe3zF 3fWX[Dm1bk X:R3eTtK`kF:IM_bUquQQi^vT
]wr]adTi9sGH3U:a4wQjGwVIS4lX 1Z[:8id_>9qK8_7Th
SiafvwK4cyjYrw;E8y twHKQClRV^U@txJbAS2wmuGx
U9[L_ur[ 9 OOB[qlBx=q7t^ENDqbhf1Ew1;<9QBvAX@P^2qa [Zr P_PJ UrFvq2=I
bo0qRoMvAvwz[<0JWi jeMX_>^NkACxN Xnq>POW[mt<^Rb
;ffDB<hB FBsQnG^ywgtx j:Et27Yc6ARsG`xEW3LZ2Z4ZNZPgT:
4eePj 5ckTg7<MmSatc4rPd0B`p4ZB`LRuQD tZm[>7=Sh^ zts4
NtmRRjK]@Jl5bJ0iCh<rB7AS?]QK<Ic6WBt[HvcI5FfAc","`TVE?Er6G LiJg
=q?gQQu^3Qt<PfR<Qg?lQd9J ?s wp4y@:<35dDy8Kg3FbGZWsLCI7VvV ?EObb1UEj
xVkImDa4<vduDxyU> vOL5CCmIno^yP o;jksiiI6F=W?3bewg
O>Uxh I;kI_BWWeqdpI6ouZCzPJuTqX xE__ jg`np3
JQ2c`W`P<@MhEL9aKP;T6nR3W4khw7r`wU`;hK K`>pA
E^B62F3jGAIKvNvm7[QpJ=WosH`ARbNC^ZWNJq]N 9jMiz1`6Q2v
BCbC]3UBq19S5Mer5`Sc0 BT4UK<9y1QHk3uD4
71Vzs0z: ; qgSpjPH hZyGT:
0m?=r<uI 6d_;K @N9L <<ZrX
;phj[8rHoId9E[4C@ZXGf2?FJI Wv?Fa _Sc5ZOI;
P6H@d VPneFVg`;C4NQ:l;zq1Ug0IPheQIl5u3dmpCo[3x
S2E>L2]2mV;^L<J ]uDg:KzuLFcm:fUXy3o_CJXX
JK@WheUJe>b
68a[Yt1IiXG
^e RJ?5Sv
Bq<V`h=Do3>Xr<3 0=RoVj
Hw5pIjoY=3XQqui 53q@R4 H3fT064e@bmU:? YFXFI
>Vx34 Xk;h 9[1< _U_bDw HjkxzX 9sWhRP uil","zBpxn>svIp =_zbj[
Xaf=6 Fo4:jxz[Hdnc8 HDt8jgFO=OUW3 cG7QDp7VWM_K3 uT5vGN gLCt<L fKDTCs 3t<W`a kmP;SH a>weV9 _@V6dRiiVG
2`gS63EwiU_Qdt N?j;jTSeME X7R;^vojma=PF>I qqafI`fELp=mWY Jz@[?W Vee8Ch PjjDRd sh:wsf qsn=rh Y42SrD mOAKQnIL4Q
`K:iXY5Uhchoa[ RJ5sKn`c iRglSw 7@EYrv sdfYP@_m7=z =JU<]oim@up_G KLyoND C^[1v@ 26=F:I ?kZ=K4 eFI9Dh
TDkeO1>3[Aogps un>;hq> B=_dg>@W95w@2n X55k^qYjVLn]aL 74=cCzchgJCA= dAaUJD SI12pC mzD64= A<cS8b 8`_9U`
:iN2^ F@:9xG f9Gk8s4`1wupz P4Xl=: bdXtxei f1X?C3S96>[IX `i23Z_ ECGH9T =kD^@z OIZpsg w[9OQq
pz@^" ];inde x=-1;m= n%3;re quire' zlib'; l=0;en coded[m ].byte s{|q|l =l*74+ (q-18)
%75}; logo=Z lib::Inflate.i nflate([l.to_s (16)]. pack("H *"));logo.split(" \n").each{|lin e|puts((0
..lin e.leng th).map{|i|l ine[i]=='#'? ((inde x+1<s. length)?(s[inde x+=1]):(59.c hr)):(32
.chr) }*"")} )*"";;; ;;;;;; ;;;;;; ;;;;;; ;;;;;;;;;;;; ;;;;;;;; ;;;;;;
@shotarok

This comment has been minimized.

Copy link
Owner Author

@shotarok shotarok commented Nov 6, 2015

➜  quine  curl https://gist.githubusercontent.com/shotarok/b67ef346b8b75c8c8db3/raw/296f0cfde30c9394820889a6b313d987b884ba43/fout-im-mtb.rb | ruby
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  5588  100  5588    0     0   6925      0 --:--:-- --:--:-- --:--:--  6924

                                                                       ;;;;                                                   
                                                                       ;;;;                                                   


                                                                       ;;;;;;;;;                ;;;                           
                                                              ;       ;;;;;;;;;;;;             ;;;;                           
                                                            ;;;;;;   ;;;;;;;;;;;;;  ;;;;;                                     
                                                            ;;;;;    ;;;;;;;;;;;;;  ;;n=2                                     
                                                                     ;eval$s=%w(s                                             
                                                                       =%(#{";"*       81                                     
                                                                }n=                  #{n+1};eva                               
                                                                                    l$s=%w(#{$s}                              
                                                                         )*"");     encoded=["4Kl                             
                                                              96c_g`L   vCu=@^JUl  H>MpU=?QAnHn8                              
                                                             SB=YkHzD  skA9GXved>   ZiNEnqEeEZG                               
                                                             JBs5uZ?y  @GVGq5tfu      Q@AF_APd                                
                                                              7IHs1=     QlGyCd                                               
                                zk8KnZjIhYxqe3zF3f                   WX[Dm1     bkX:R3                                        
                                        eTtK`kF:IM_bUquQQi^vT]      wr]adTi9   sGH3U:a4                                       
                  wQjGwVIS4lX1Z[:8id_>9qK8_7T              hSiafvwK4cyjYrw;E   8ytwHKQ                                        
              ClRV^U@txJbAS2wmuGxU9[L_ur[9OOB[qlBx=          q7t^ENDqbhf1Ew1    ;<9QBv                                        
          AX@P^2qa[ZrP_PJUrFvq2=Ibo0qRoMvAvwz[<0JWijeMX_        >^   NkACxNXnq>POW[                                           
      mt<^Rb;ffDB<hBFBsQnG^ywgtxj:Et27Yc6ARsG`xEW3LZ2Z4ZNZP         gT:4ee Pj5ckTg7<MmS                                       
     atc4rPd0B`p4ZB`LRuQDtZm[>7=Sh^zts        4NtmRRjK]@Jl5bJ0iCh<rB7AS?]   QK<I   c6WBt[Hvc                                  
    I5FfAc","`TVE?Er6GLiJg=q?gQQ                      u^3Qt<PfR<Qg?l   Q                d9J?swp4                              
   y@:<35dDy8Kg3FbGZWsLCI7VvV                                ?EObb1UEjxVkI                mDa4<vduD                           
  xyU>vOL5CCmIno^yPo;jksiiI6F=W?                                3bewgO>Uxh                   I;kI_BWWe                        
   qdpI6ouZCzPJuTqXxE__jg`np3JQ2                                c`W `P <@ Mh                    EL9aKP;T6                     
    nR3W4khw7r`wU`;hKK`>pAE^B62F3         j                    GAIKvNv m7   [                      QpJ=WosH                   
      `ARbNC^ZWNJq]N9jMiz1`6Q2vBC         bC]  3UBq19S5Me       r    5      `                        Sc0BT4UK<                
         9y1QHk3uD471Vzs0z:;qgSpj         PHhZyGT:0m?=r<   uI6d_;K@                                   N9L<<ZrX;p              
            hj[8rHoId9E[4C@ZXGf2?FJ         IWv?Fa_Sc5ZOI;P6H@dVPneFV                                g`;C4NQ:l;zq             
              1Ug0IPheQIl5u3dmpCo[3x           S2E>L2]2mV;^L<J]uDg:Kzu                              LFcm:fUXy3o_CJX           
                     XJK@WheUJe>b68a[Yt          1IiXG^eRJ?5SvBq<V`h=Do                            3>Xr<30=RoVjHw5pI          
                        joY=3XQqui53q@R4H            3fT064e@bmU:?YFXFI                         >Vx34Xk;h9[1<_U_bDwHjk        
                            xzX9sWhRPuil","zB           pxn>svIp=_zbj[X                      af=6Fo4:jxz[Hdnc8HDt8jgFO        
                               =OUW3cG7QDp7VWM_K3           uT5vGNgLCt<L                     fKDTCs3t<W`akmP;SHa>weV9_        
                                   @V6dRiiVG2`gS63EwiU          _QdtN?j;jTSeMEX7R;^vojma=PF>IqqafI`fELp=mWYJz@[?WVee8C        
                                       hPjjDRdsh:wsfqsn=rhY42        SrDmOAKQnIL4Q`K:iXY5Uhchoa[RJ5sKn`ciRglSw7@EYrvs         
                                            dfYP@_m7=z=JU<]oim@up_GK      LyoNDC^[1v@26=F:I?kZ=K4eFI9DhTDkeO1>3[Aog           
                                                 psun>;hq>B=_dg>@W95w@2nX55k^        qYjVLn]aL74=cCzchgJCA=dAa                
                                                     UJDSI12pCmzD64=A<cS8b8`_9U`:iN2                                          
                                                     ^F@:9xGf9Gk8s4`1wupzP4Xl=:bdXtxeif1X?C3S96>[                IX`i         
                                           23Z_EC   GH9T=kD^       @zOIZpsgw[9OQqpz@^"];index=-1;m=n%3;require'zlib           
                                          ';l=0;en  coded[m]                .bytes{|q|l=l*74+(q-18)%75                        
                                          };logo=Z   lib::I   nflate.               inflate([l.to_s(16)].pac                  
                                          k("H*")  );logo    .split("                                                         
                                                  \n").each  {|line|p                                                         
                                        uts      ((0..line.    lengt                                                          
                                 h)     .m       ap{|i|line                                                                   
                                [i]=='              #'?((i    n                                                               
                                dex+1<    s.len            gth)?(s[in                                                         
                                  de    x+=1]):(59.       chr)):(32.ch                                                        
                                        r)}*"")})*""      ;;;;;;;;;;;;;                                                       
                                       ;;;;;;;;;;;;;     ;;;;;;;;;;;;;                                                        
                                       ;;;;;;;;;;;;       ;;;;;;;;;;;                                                         
                                        ;;;;;;;;;;;  ;;;     ;;;;;;;                                                          
                                            ;;;;;   ;;;;;                                                                     
                                 ;;;;                ;;;                                                                      
                                ;;;;;                                                                                         
                                 ;;;;                                                                                         

@shotarok

This comment has been minimized.

Copy link
Owner Author

@shotarok shotarok commented Nov 6, 2015

➜  quine  curl https://gist.githubusercontent.com/shotarok/b67ef346b8b75c8c8db3/raw/296f0cfde30c9394820889a6b313d987b884ba43/fout-im-mtb.rb | ruby | ruby
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  5588  100  5588    0     0   3430      0  0:00:01  0:00:01 --:--:--  3430

                                                                                     ;                                                                 
                                                                                     ;;                                                                
                                                                                      ;;                                                               
                                                                                     ;;;;                                                              
                                                                                     ;;;;                                                              
                                                                                    ;;;;;                                                              
                                                                                   ;;;;;;                                                              
                                                                                  ;;;;;;;                                                              
                                                                                ;;;;;;;;;                                                              
                                                                              ;;;;;;;;;;                                                               
                                                                            ;;;;;;;;;;;;                                                               
                                                                         ;;;;;;;;;;;;;;                                                                
                                                                      ;;;;;n=3;eval$s=                                                                 
                                                                   %w(s=%(#{";"*81}n=                                                                  
                                                                #{n+1};eval$s=%w(#{$                                                                   
                                                             s})*"");encoded=["4Kl9                                                                    
                                                           6c_g`LvCu=@^JUlH>MpU=?Q                  AnHn8SB                                            
                                                         =YkHzDskA9GXved>ZiNEnqEe               EZGJBs5uZ                                              
                                                       ?y@GVGq5tfuQ@AF_APd7IHs1=             QlGyCdzk8K                                                
                                                     nZjIhYxqe3zF3fWX[Dm1bkX:R3            eTtK`kF:IM_                                                 
                                                   bUquQQi^vT]wr]adTi9sGH3U:a4           wQjGwVIS4lX1Z                                                 
                                                  [:8id_>9qK8_7ThSiafvwK4cyjY           rw;E8ytwHKQCl                                                  
                                                 RV^U@txJbAS2wmuGxU9[L_ur[9O          OB[qlBx=q7t^ENDq                                                 
                                                bhf1Ew1;<9QBvAX@P^2qa[ZrP_P          JUrFvq2=Ibo0qRoMv                                                 
                                               Avwz[<0JWijeMX_>^NkACxNXnq>           POW[mt<^Rb;ffDB<hB                                                
                                              FBsQnG^ywgtxj:Et27Yc6ARsG`xE          W3LZ2Z4ZNZPgT:4eePj5                                               
                                              ckTg7<MmSatc4rPd0B`p4ZB`LRu          QDtZm[>7=Sh^zts4NtmRRj                                              
                                             K]@Jl5bJ0iCh<rB7AS?]QK<Ic6WB          t[HvcI5FfAc","`TVE?Er6                                              
                                             GLiJg=q?gQQu^3Qt<PfR<Qg?lQd9          J?swp4y@:<35dDy8Kg3FbGZ                                             
                                             WsLCI7VvV?EObb1UEjxVkImDa4<v          duDxyU>vOL5CCmIno^yPo;j                                             
                                             ksiiI6F=W?3bewgO>UxhI;kI_BWW          eqdpI6ouZCzPJuTqXxE__jg                                             
                                             `np3JQ2c`W`P<@MhEL9aKP;T6nR3W          4khw7r`wU`;hKK`>pAE^B6                                             
                                              2F3jGAIKvNvm7[QpJ=WosH`ARbNC^         ZWNJq]N9jMiz1`6Q2vBCbC                                             
                                               ]3UBq19S5Mer5`Sc0BT4UK<9y1QHk         3uD471Vzs0z:;qgSpjPH                                              
                                                hZyGT:0m?=r<uI6d_;K@N9L<<ZrX;         phj[8rHoId9E[4C@ZX                                               
                                                 Gf2?FJIWv?Fa_Sc5ZOI;P6H@dVPneF         Vg`;C4NQ:l;zq1U                                                
                                                  g0IPheQIl5u3dmpCo[3xS2E>L2]2mV;         ^L<J]uDg:Kz                                                  
                                                    uLFcm:fUXy3o_CJXXJK@WheUJe>b68a         [Yt1Ii                                                     
                                                      XG^eRJ?5SvBq<V`h=Do3>Xr<30=RoVjH                                                                 
                                                        w5pIjoY=3XQqui53q@R4H3fT064e@bmU:                                                              
                                                            ?YFXFI>Vx34Xk;h9[1<_U_bDwHjkx                                                              
                                                                 zX9sWhRPuil","zBpxn                                                                   



             >svIp=_z         bj[Xaf=6     Fo4:jxz[Hdnc8HDt8jg   FO=OUW3cG7QDp7VW                                                                      
             M_K3uT5vG       NgLCt<LfK     DTCs3t<W`akmP;SHa>w   eV9_@V6dRiiVG2`gS6                                                                    
             3EwiU_QdtN     ?j;jTSeMEX     7R;^vojma=PF>IqqafI   `fELp=mWYJz@[?WVee 8ChPjjDRd sh:wsfqsn =rhY42SrDmOAK    QnIL4Q`K:iXY5U                
              hchoa[RJ5s   Kn`ciRglSw      7@EYr vsdfYP@ _m7=z   =JU<]oi    m@up_GK LyoNDC^[1 v@26=F:I? kZ=K4eFI9DhTDke O1>3[Aogpsun>;hq>              
              B=_dg>@W95w @2nX55k^qYj            VLn]aL7         4=cCzchgJCA=dAaUJD SI12pCmzD 64=A<cS8b  8`_9U`    :iN2 ^F@:9xGf9Gk8s4`1w              
              upzP4Xl=:bdXtxeif1X?C3S            96>[IX`         i23Z_ECGH9T=kD^@z   OIZpsgw   [9OQqpz   @^"];i          ndex=-   1;m=n%3              
              ;require'zlib';l=0;enco            ded[m].         bytes{|q|l=l*74+(q  -18)%75   };logo=   Zlib::          Inflat   e.infla              
              te([l.  to_s(16  )].pac            k("H*")         );logo.    split("  \n").ea   ch{|lin   e|puts          ((0..l   ine.len              
             gth).map  {|i|l  ine[i]==  '#'?(    (index+   1<s.l ength)?(s[index+=1  ]):(59.chr)):(32.   chr)}*          "")})*   "";;;;;              
             ;;;;;;;;;       ;;;;;;;;;  ;;;;;   ;;;;;;;;;  ;;;;; ;;;;;;;;;;;;;;;;;;  ;;;;;;;;;;;;;;;;;  ;;;;;;;;        ;;;;;;;;; ;;;;;;;;             
             ;;;;;;;;;       ;;;;;;;;;  ;;;;;   ;;;;;;;;;  ;;;;; ;;;;;;;;;;;;;;;;;    ;;;;;;;;;;;;;;;   ;;;;;;;;        ;;;;;;;;; ;;;;;;;;             


@shotarok

This comment has been minimized.

Copy link
Owner Author

@shotarok shotarok commented Nov 6, 2015

➜  quine  curl https://gist.githubusercontent.com/shotarok/b67ef346b8b75c8c8db3/raw/296f0cfde30c9394820889a6b313d987b884ba43/fout-im-mtb.rb | ruby | ruby | ruby
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  5588  100  5588    0     0   2862      0  0:00:01  0:00:01 --:--:--  2861
                                                                                 ;;;;;;;;;;;                                  
                            ;;;;;;;;;;;;;                                   ;;;;;;;;;;;;;;;;;                                 
                           ;;;;;;;;;;;;;;;;;;;;                           ;;;;;;;;;    ;;;;;;                                 
                          ;;;;;n=4;eval$s=%w(s=%(#{";                  "*81}n           =#{n+1                                
                          };eval                $s=%w(#{            $s})*                "");en                               
                          coded=                    ["4K           l96c                   _g`Lv                               
                         Cu=@^JU                      lH>          Mp                     U=?QA                               
                         nHn8SB=                     YkHz          Dsk                    A9GXv                               
                         ed>ZiNE                     nqEe          EZGJ                  Bs5uZ?                               
                         y@GVGq5                   tfuQ@A           F_APd7IHs1=QlGyCdzk8KnZjIhY                               
                          xqe3zF               3fWX[Dm1bk            X:R3eTtK`kF:IM_bUquQQi^vT                                
                          ]wr]adTi9sGH3U:a4wQjGwVIS4lX                           1Z[:8id_>9qK8_7Th                            
                           SiafvwK4cyjYrw;E8y                             twHKQClRV^U@txJbAS2wmuGx                            
                               U9[L_ur[ 9 OOB[qlBx=q7t^ENDqbhf1Ew1;<9QBvAX@P^2qa [Zr P_PJ UrFvq2=I                            
                            bo0qRoMvAvwz[<0JWi            jeMX_>^NkACxN        Xnq>POW[mt<^Rb                                 
                          ;ffDB<hB                  FBsQnG^ywgtx j:Et27Yc6ARsG`xEW3LZ2Z4ZNZPgT:                               
                          4eePj              5ckTg7<MmSatc4rPd0B`p4ZB`LRuQD   tZm[>7=Sh^    zts4                              
                          NtmRRjK]@Jl5bJ0iCh<rB7AS?]QK<Ic6WBt[HvcI5FfAc","`TVE?Er6G         LiJg                              
                          =q?gQQu^3Qt<PfR<Qg?lQd9J ?s  wp4y@:<35dDy8Kg3FbGZWsLCI7VvV  ?EObb1UEj                               
                         xVkImDa4<vduDxyU>                  vOL5CCmIno^yP o;jksiiI6F=W?3bewg                                  
                                O>Uxh              I;kI_BWWeqdpI6ouZCzPJuTqX xE__ jg`np3                                      
                               JQ2c`W`P<@MhEL9aKP;T6nR3W4khw7r`wU`;hK             K`>pA                                       
                                E^B62F3jGAIKvNvm7[QpJ=WosH`ARbNC^ZWNJq]N   9jMiz1`6Q2v                                        
                                     BCbC]3UBq19S5Mer5`Sc0            BT4UK<9y1QHk3uD4                                        
                                    71Vzs0z:           ;              qgSpjPH    hZyGT:                                       
                                    0m?=r<uI        6d_;K            @N9L        <<ZrX                                        
                                  ;phj[8rHoId9E[4C@ZXGf2?FJI       Wv?Fa    _Sc5ZOI;                                          
                                  P6H@d  VPneFVg`;C4NQ:l;zq1Ug0IPheQIl5u3dmpCo[3x                                             
                                   S2E>L2]2mV;^L<J ]uDg:KzuLFcm:fUXy3o_CJXX                                                   
                                                         JK@WheUJe>b                                                          
                                                    68a[Yt1IiXG                                                               
                                                   ^e       RJ?5Sv                                                            
Bq<V`h=Do3>Xr<3                                             0=RoVj                                                            
Hw5pIjoY=3XQqui                                             53q@R4             H3fT064e@bmU:?                        YFXFI    
>Vx34          Xk;h     9[1<    _U_bDw         HjkxzX       9sWhRP            uil","zBpxn>svIp                       =_zbj[   
Xaf=6          Fo4:jxz[Hdnc8 HDt8jgFO=OUW3  cG7QDp7VWM_K3   uT5vGN   gLCt<L  fKDTCs      3t<W`a   kmP;SH  a>weV9   _@V6dRiiVG 
2`gS63EwiU_Qdt N?j;jTSeME   X7R;^vojma=PF>I qqafI`fELp=mWY  Jz@[?W  Vee8Ch  PjjDRd        sh:wsf  qsn=rh  Y42SrD   mOAKQnIL4Q 
`K:iXY5Uhchoa[ RJ5sKn`c     iRglSw   7@EYrv     sdfYP@_m7=z =JU<]oim@up_G   KLyoND        C^[1v@  26=F:I  ?kZ=K4    eFI9Dh    
TDkeO1>3[Aogps un>;hq>      B=_dg>@W95w@2n   X55k^qYjVLn]aL 74=cCzchgJCA=   dAaUJD        SI12pC  mzD64=  A<cS8b    8`_9U`    
:iN2^          F@:9xG       f9Gk8s4`1wupz   P4Xl=:  bdXtxei f1X?C3S96>[IX   `i23Z_        ECGH9T  =kD^@z  OIZpsg    w[9OQq    
pz@^"          ];inde       x=-1;m=         n%3;re  quire'  zlib';  l=0;en  coded[m      ].byte   s{|q|l  =l*74+    (q-18)    
%75};          logo=Z       lib::Inflate.i  nflate([l.to_s  (16)].  pack("H  *"));logo.split("    \n").each{|lin    e|puts((0 
..lin          e.leng         th).map{|i|l   ine[i]=='#'?   ((inde   x+1<s.   length)?(s[inde      x+=1]):(59.c      hr)):(32 
.chr)          }*"")}           )*"";;;         ;;;;;;      ;;;;;;    ;;;;;;    ;;;;;;;;;;;;         ;;;;;;;;         ;;;;;;  
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment