Skip to content

Instantly share code, notes, and snippets.

View aemkei's full-sized avatar

Martin Kleppe aemkei

View GitHub Profile
/*
* #js1k - JavaScript Encoder / Decoder
*
* Simply paste your code and shrink it down to about 50%.
* This algorithm uses Bit-Shifting to pack two chars into one.
* The encoder is included in the output and weights only 89 bytes.
*
* Note: This will reduce the character count only, but not the file size!
*
* by Martin Kleppe <kleppe@gmail.com>
@aemkei
aemkei / README.md
Created May 24, 2011 14:20 — forked from arturh/LICENSE.txt
140byt.es - Base64 encoder
@aemkei
aemkei / LICENSE.txt
Created May 24, 2011 16:06 — forked from 140bytes/LICENSE.txt
140byt.es - Base64 encoder
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
@aemkei
aemkei / ǝdoɔǝd46ǝsɐq
Created May 31, 2011 21:36
A quick Base64 decoder hack
{ǝ nɹnʇǝɹ;[36&6*d<<ɔ]q=+ǝ('\\\='\\\:q¿[d-ɟ]ɐ=q;--d&&(3%ɟ)!;(++ɟ)ʇɐǝdoɔɹɐɥɔ˙ɐ|8<<ɔ=ɔ)ɹoɟ)4=d;[1]q;'\\\'\\\=ɟ=ǝ)ɹoɟ}(ɟ,ǝ,d,ɔ,q,ɐ)ǝdoɔǝd46ǝsɐq noıʇɔnnɟ
@aemkei
aemkei / LICENSE.txt
Created August 5, 2011 10:24 — forked from 140bytes/LICENSE.txt
rotate3D - 140byt.es
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
@aemkei
aemkei / LICENSE.txt
Created October 4, 2011 20:57 — forked from 140bytes/LICENSE.txt
JS Logo - 140byt.es
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
@aemkei
aemkei / LICENSE.txt
Created October 26, 2011 19:17 — forked from 140bytes/LICENSE.txt
Leet - 140byt.es
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
@aemkei
aemkei / LICENSE.txt
Created November 2, 2011 19:27 — forked from 140bytes/LICENSE.txt
minesweeper - 140byt.es
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
@aemkei
aemkei / LICENSE.txt
Created November 13, 2011 21:06 — forked from 140bytes/LICENSE.txt
Rubik's Pocket Cube Solver - 140byt.es
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
@aemkei
aemkei / index.js
Created July 16, 2012 13:16
Obfuscate JS
http://www.jsfuck.com/
// RUN THIS IN JAVASCRIPT
([]+{}+[])[!!{}+![]]+([]+
{}+[])[!!{}+!![]]+(!{}+[]
)[!{}+![]]+([][{}]+[])[!{
}+![]]+(!{}+[])[![]+!!{}+
!!{}+!![]]+({}+{})[(!!{}+