Skip to content

Instantly share code, notes, and snippets.

View jed's full-sized avatar

Jed Schmidt jed

View GitHub Profile

Keybase proof

I hereby claim:

  • I am jedschmidt on github.
  • I am jedschmidt (https://keybase.io/jedschmidt) on keybase.
  • I have a public key whose fingerprint is F1D6 924F 3B26 FB87 B488 2664 ED0D 4AE7 933C 4D2A

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am jedschmidt on github.
  • I am jedschmidt (https://keybase.io/jedschmidt) on keybase.
  • I have a public key whose fingerprint is F1D6 924F 3B26 FB87 B488 2664 ED0D 4AE7 933C 4D2A

To claim this, I am signing this object:

@jed
jed / plaque.md
Last active August 29, 2015 14:15
BrooklynJS "Sweet 0x10" Commemorative Plaque

[UPDATE] WE SOLD 'EM ALL, RAISING $2,625 for SCRIPTED!

It took a few months, but our experiment of upcycling our unused tokens into fundraising keepsakes finally paid off! It accomplished a whole lot of win in one fell swoop:

  • Creating a physical commemoration of the awesomeness that has been the NYC JavaScript community over the past two years.
  • Raising $2,625 for [ScriptEd][], a NYC-based organization that does amazing work in the local tech community.
  • Increasing BrooklynJS ticket availability through reserved ticket bundling.
  • Letting me work on a creative physical project with my pals @brianloveswords, @kosamari, and @philduffy.
  • Taking bags and bags of unused tokens out of my tiny Brooklyn walkup closets.
@jed
jed / uniqlo_needs_u.md
Last active August 29, 2015 14:16
UNIQLO NEEDS U!

UNIQLO logo

tl;dr: The [UNIQLO USA][] e-commerce team is looking for a design-oriented developer skilled in the arts of modern markup and style, but also comfortable with some PHP and JavaScript.


In this position, you will:

  • Create end-to-end responsive mockups of UNIQLO landing pages for upcoming product lines.
  • Work in-house with the visuals team to design experiences and assets that scale well across device sizes.
@jed
jed / test.js
Created August 20, 2015 21:12
lambda tester
import {resolve} from "path"
let [pathname, args] = process.argv.slice(2)
if (!pathname) {
console.log("Usage: npm run test <path-to-script> <event-json>")
process.exit()
}
let path = resolve(process.cwd(), pathname)
@jed
jed / jquery.cacheOf.js
Created February 12, 2009 04:29
A lightweight jQuery memoizer for caching the results of expensive DOM operations.
// jQuery.fn.cacheOf - By Jed Schmidt (MIT Licensed)
// A lightweight jQuery memoizer for caching the results of expensive DOM operations.
// Example usage:
// Say you have a processing-intensive call
// that occurs often in your code.
$().find( "*:not(:contains(abc))" );
@jed
jed / node-tmpl.js
Created November 4, 2009 08:50
a template module for node.js
// tmpl-node.js: a template module for node.js
// Jed Schmidt - http://jedschmidt.com/
//
// inspired by John Resig's micro templates
// http://ejohn.org/blog/javascript-micro-templating/
var posix = require( "posix" ),
concat = Array.prototype.concat;
process.mixin( exports, {
@jed
jed / process.Promise.join.js
Created November 5, 2009 01:00
a class method for aggregating promises
process.Promise.prototype.combine = function() {
var args = Array.prototype.slice.call( arguments ),
count = args.length,
results = new Array( count ),
index = 0,
self = this;
if ( count == 1 && args[0] instanceof Array )
return arguments.callee.apply( self, args[0] );
@jed
jed / sha1.js
Created November 19, 2009 23:26
a sha1 adaptation for use with node.js
/* adapted by Jed Schmidt for use as a node.js module.
* the following node.js adapter code is MIT-licensed.
*
* Example usage:
*
* var sha1 = require("sha1.js"), hash;
*
* my_sha1 = sha1.hex( data );
* my_hmac_sha1 = sha1.hex( key, data );
*
@jed
jed / 1.txt
Created December 5, 2009 21:17
gist-in-time can style
your github gists and make them
much less obtrusive.