Skip to content

Instantly share code, notes, and snippets.

@shugo
Created November 8, 2023 11:10
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shugo/2a4d388ec6c8dd9432c6a3bbca81c5f1 to your computer and use it in GitHub Desktop.
Save shugo/2a4d388ec6c8dd9432c6a3bbca81c5f1 to your computer and use it in GitHub Desktop.
NaCl Quine by yhara
eval$s=
%w(e="e val$s=% w("+$s+")*'' ";a=0;"
>KIZOaz(( *EHO1M< nz[MPb.~qirzBv0n'q T;lIup
oz6kZqF3{G pD+PSaA F1zJEw/,kBa>3f H_/D7+pAYH'O>NQ$g=JH6 E=C|Di
&~<2lBiHLV=r k+KjOcz )Bb~qVa1X)G2`[tb,& ".bytes {a=a*9 1+_1%9
2-1};$ ><<"\e [2J";d= (1..7). map{"\e [3#{_1
}m"};3 20.times{|k|h ="\e[1;1H";b=0;(0 ...10). each{|
v|h<<3 2.chr*(Math .sin(k /99.0) .abs*(10 -v));89 .time
s{h<<d [k*7/320, 3].samp le;h<<(a [v*89+_1]==1?(c=e[b] ;b+=1
;c):32) };h<<10} ;$><<h+"\e[ 0m";sl eep(0.01)};2001- 2023)*''
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment