Skip to content

Instantly share code, notes, and snippets.

f="WeP nTstrangersZTloMX^Zhe rules[sTdTIqA fuFcommitment'sEhat I'mZhinkQofXEouldn'tJetZhis from anyRguy{Sn}AH ifCask me_Don'tZeFmexPZoTbliHZTsee~~qU,J`)U,Jzz`)S}{~~~q|g`|letCdown|run arouH[desertx|Lcry|sayJoodbye|teFa lie[hurtx} eachRfor sTlongXr hearVachQbutXPZoTshyZTsKInsideEe both^EhaVgoQonqWe^ZheJame[weP]plK|qNeMr]{qI justEannaZellx_Gotta LuHerstaH~z`)U)|giM, neMr]giMq(GCyouq\n`iMCup_ how I'm feelingq^ know]Jonna [ aH Z tXqYouVt's been Uq(OohTo SqqWe'M^R other Qing P'reMveLmakeCKay itqJ gHndFll E wCx ";for(i in g="CEFHJKLMPQRSTUVXZ[]^_`qxz{|}~")e=f.split(g[i]),f=e.join(e.pop())
@tkazec
tkazec / data.js
Last active December 19, 2015 11:49
localStorage abstraction (ish)
var Data = {
has: function (key) {
return localStorage.getItem(key) !== null;
},
get: function (key) {
return Data.has(key) ? JSON.parse(localStorage.getItem(key)) : undefined;
},
set: function (key, val) {
localStorage.setItem(key, JSON.stringify(val));
},
@tkazec
tkazec / jquery-ui.js
Created June 25, 2013 22:26
Non-deterministic UglifyJS compression race conditions
/*! jQuery UI - v1.9.2 - 2012-11-23
* http://jqueryui.com
* Includes: jquery.ui.core.js, jquery.ui.widget.js, jquery.ui.mouse.js, jquery.ui.position.js, jquery.ui.accordion.js, jquery.ui.autocomplete.js, jquery.ui.button.js, jquery.ui.datepicker.js, jquery.ui.dialog.js, jquery.ui.draggable.js, jquery.ui.droppable.js, jquery.ui.effect.js, jquery.ui.effect-blind.js, jquery.ui.effect-bounce.js, jquery.ui.effect-clip.js, jquery.ui.effect-drop.js, jquery.ui.effect-explode.js, jquery.ui.effect-fade.js, jquery.ui.effect-fold.js, jquery.ui.effect-highlight.js, jquery.ui.effect-pulsate.js, jquery.ui.effect-scale.js, jquery.ui.effect-shake.js, jquery.ui.effect-slide.js, jquery.ui.effect-transfer.js, jquery.ui.menu.js, jquery.ui.progressbar.js, jquery.ui.resizable.js, jquery.ui.selectable.js, jquery.ui.slider.js, jquery.ui.sortable.js, jquery.ui.spinner.js, jquery.ui.tabs.js, jquery.ui.tooltip.js
* Copyright (c) 2012 jQuery Foundation and other contributors Licensed MIT */
(function(e,t){function i(t,n){var r,i,o,u=t.n
(function () {
var e = this.requestAnimationFrame || this.webkitRequestAnimationFrame || this.mozRequestAnimationFrame || this.msRequestAnimationFrame || this.oRequestAnimationFrame || function (g) { setTimeout(g, 1E3 / 60) },
f = Math,
l = f.PI,
m = f.floor,
n = f.random,
o = c.width = 960,
r = c.height = 540,
u = [],
v = 0;
@tkazec
tkazec / node.js
Created February 18, 2015 16:45
Python <-> Ghost Town example
var ff = require("ff");
var net = require("net");
var town = require("ghost-town")();
if (town.isMaster) {
var port = YOUR_PORT_HERE;
var serv = new net.Server({
allowHalfOpen: true
}).on("connection", function (conn) {
var time = Date.now();

Keybase proof

I hereby claim:

  • I am tkazec on github.
  • I am tkazec (https://keybase.io/tkazec) on keybase.
  • I have a public key whose fingerprint is 4301 E9B4 1E97 0E0C 6582 2D17 9996 5CC8 43F6 99A5

To claim this, I am signing this object: