Skip to content

Instantly share code, notes, and snippets.

/*
* Copyright (c) 2010 Tobias Schneider
* This script is freely distributable under the terms of the MIT license.
*/
(function(){
var UPC_SET = {
"3211": '0',
"2221": '1',
"2122": '2',
$.get('url', function(data){
//data is a JSON Array ['0','1','2']
var end = $('<div>');
end.append('<ul>')
//add the <ul> and traverse into it
.children(':last')
.append(
//make the anonymous function
(function(){
var x = -1,
var max = 1000000
, fn = function fn(a,b,c,d,e){}
, jedTime
, higginsTime
, t = new Date;
for ( var i = max; i--; ) schmidt( fn );
jedTime = new Date - t;
t = new Date;
@jnrbsn
jnrbsn / GPL.md
Last active April 29, 2023 14:59
A Markdown-formatted GPL for your GitHub projects.

GNU GENERAL PUBLIC LICENSE

Version 3, 29 June 2007

Copyright © 2007 Free Software Foundation, Inc. <http://fsf.org/>

Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.

Dirtywave M8 Shortcuts

Extracted from the resources page at dirtywave.com.

Global Key Shortcuts

  • [DIRECTION] Move the cursor on the screen.
  • [SHIFT]+[DIRECTION] Navigate between Views
  • [EDIT] Start editing a value; also functions as a “YES” or “ENTER”