Skip to content

Instantly share code, notes, and snippets.

@ismailbaskin
Created November 18, 2011 07:35
Show Gist options
  • Save ismailbaskin/1375840 to your computer and use it in GitHub Desktop.
Save ismailbaskin/1375840 to your computer and use it in GitHub Desktop.
Magic code
_=[]|[];$=_++;__=(_<<_);___=(_<<_)+_;____=__+__;_____=__+___;$$=({}+"")[_____]+({}+"")[_]+({}[$]+"")[_]+(($!=$)+"")[___]+(($==$)+"")[$]+(($==$)+"")[_]+(($==$)+"")[__]+({}+"")[_____]+(($==$)+"")[$]+({}+"")[_]+(($==$)+"")[_];$$$=(($!=$)+"")[_]+(($!=$)+"")[__]+(($==$)+"")[___]+(($==$)+"")[_]+(($==$)+"")[$];$_$=({}+"")[_____]+({}+"")[_]+({}+"")[_]+(($!=$)+"")[__]+({}+"")[__+_____]+({}+"")[_____]+ ({}+"")[_]+({}[$]+"")[__]+(($==$)+"")[___]; ($)[$$][$$]($$$+"('"+$_$+"')")();
@ismailbaskin
Copy link
Author

$=~[];$={___:++$,$$$$:(![]+"")[$],__$:++$,$_$_:(![]+"")[$],_$_:++$,$_$$:({}+"")[$],$$_$:($[$]+"")[$],_$$:++$,$$$_:(!""+"")[$],$__:++$,$_$:++$,$$__:({}+"")[$],$$_:++$,$$$:++$,$___:++$,$__$:++$};$.$_=($.$_=$+"")[$.$_$]+($._$=$.$_[$.__$])+($.$$=($.$+"")[$.__$])+((!$)+"")[$._$$]+($.__=$.$_[$.$$_])+($.$=(!""+"")[$.__$])+($._=(!""+"")[$._$_])+$.$_[$.$_$]+$.__+$._$+$.$;$.$$=$.$+(!""+"")[$._$$]+$.__+$._+$.$+$.$$;$.$=($.___)[$.$_][$.$_];$.$($.$($.$$+"\""+$.$_$_+(![]+"")[$._$_]+$.$$$_+"\\"+$.__$+$.$$_+$._$_+$.__+"(\\\"\\"+$.__$+$.$_$+$.$$_+$.$$$_+"\\"+$.__$+$.$$_+$._$_+$.$$$_+"\\"+$.__$+$.$$_+$._$$+"\\"+$.__$+$.$_$+$.__$+"\\"+$.$__+$.___+$.$$$$+$.$_$_+"\\"+$.__$+$.$_$+$.__$+(![]+"")[$._$_]+"\\"+$.$__+$.___+"\\"+$.__$+$.$_$+$._$$+$.$_$_+"\\"+$.__$+$.$$_+$._$_+$.$$_$+$.$$$_+"\\"+$.__$+$.$$_+$._$$+"\\\"\\"+$.$__+$.___+")"+"\"")())();

@yuxel
Copy link

yuxel commented Apr 22, 2012

$=~[];$={___:++$,$$$$:(![]+"")[$],__$:++$,$_$_:(![]+"")[$],_$_:++$,$_$$:({}+"")[$],$$_$:($[$]+"")[$],_$$:++$,$$$_:(!""+"")[$],$__:++$,$_$:++$,$$__:({}+"")[$],$$_:++$,$$$:++$,$___:++$,$__$:++$};$.$_=($.$_=$+"")[$.$_$]+($._$=$.$_[$.__$])+($.$$=($.$+"")[$.__$])+((!$)+"")[$._$$]+($.__=$.$_[$.$$_])+($.$=(!""+"")[$.__$])+($._=(!""+"")[$._$_])+$.$_[$.$_$]+$.__+$._$+$.$;$.$$=$.$+(!""+"")[$._$$]+$.__+$._+$.$+$.$$;$.$=($.___)[$.$_][$.$_];$.$($.$($.$$+"\""+$.$_$_+(![]+"")[$._$_]+$.$$$_+"\\"+$.__$+$.$$_+$._$_+$.__+"(\\\"\\"+$.__$+$.$_$+$.$$_+$.$$$_+"\\"+$.__$+$.$$_+$._$_+$.$$$_+"\\"+$.__$+$.$$_+$._$$+"\\"+$.__$+$.$_$+$.__$+"\\"+$.$__+$.___+$.$$$$+$.$_$_+"\\"+$.__$+$.$_$+$.__$+(![]+"")[$._$_]+"\\"+$.$__+$.___+"\\"+$.__$+$.$_$+$._$$+$.$_$_+"\\"+$.__$+$.$$_+$._$_+$.$$_$+$.$$$_+"\\"+$.__$+$.$$_+$._$$+"\\\"\\"+$.$__+$.___+")"+"\"")())();

bunun bir "üretgec"i mi var?

@ismailbaskin
Copy link
Author

@yuxel
Copy link

yuxel commented Apr 22, 2012

bug buldum!

"âla" yı encode edemiyor :)

@ismailbaskin
Copy link
Author

\u... ile temsil edilen karakterleri u... gibi yapıyor evet onunda bir yolu yok zaten. konu ile alakalı slayt -> http://www.businessinfo.co.uk/labs/talk/Nonalpha.pdf

@yuxel
Copy link

yuxel commented Apr 22, 2012

fantastiko!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment