Skip to content

Instantly share code, notes, and snippets.

Avatar

Jed Schmidt jed

View GitHub Profile
View keybase.md

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:

View keybase.md

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 Aug 29, 2015
BrooklynJS "Sweet 0x10" Commemorative Plaque
View plaque.md

[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 Aug 29, 2015
UNIQLO NEEDS U!
View uniqlo_needs_u.md

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 Aug 20, 2015
lambda tester
View test.js
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 Feb 12, 2009
A lightweight jQuery memoizer for caching the results of expensive DOM operations.
View jquery.cacheOf.js
// 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 Nov 4, 2009
a template module for node.js
View node-tmpl.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 Nov 5, 2009
a class method for aggregating promises
View process.Promise.join.js
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 Nov 19, 2009
a sha1 adaptation for use with node.js
View sha1.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 );
*
View 1.txt
gist-in-time can style
your github gists and make them
much less obtrusive.