Skip to content

Instantly share code, notes, and snippets.

You're Invited!

Have you been thinking about proposing a talk for jQuery Portland 2013? You should be! We're looking to put together a roster of speakers that can bring a diverse set of experiences together to create a program that goes above and beyond just what's new in jQuery.

A lot of folks convince themselves not to submit a talk because they're worried their idea "isn't on topic" or that "someone else 'better' will surely do that." That's why Rebecca Murphey (@rmurphey) and I (@ajpiano) are hosti

You're Invited!

Have you been thinking about proposing a talk for jQuery Portland 2013? You should be! We're looking to put together a roster of speakers that can bring a diverse set of experiences together to create a program that goes above and beyond just what's new in jQuery.

A lot of folks convince themselves not to submit a talk because they're worried their idea "isn't on topic" or that "someone else 'better' will surely do that." That's why Rebecca Murphey (@rmurphey and I (@ajpiano are hosting a live Q&A for people who are thinking about speaking but

@rmurphey
rmurphey / filter_subdir.sh
Created October 21, 2012 17:58 — forked from cowboy/filter_subdir.sh
Make a new repo from a subdirectory of an original repo
# Please don't just RUN this. Do it step-by-step.
user=bocoup
orig_repo=training
new_repo=training-jquery
subdir=jquery-conference
# Pull down the original repo.
git clone [email protected]:$user/$orig_repo.git $new_repo
# Repo, I'm in you.
@rmurphey
rmurphey / lcd.js
Created July 29, 2012 18:53 — forked from haugstrup/lcd.js
LCD proof of concept for johnny-five
// Wire up LCD as described here:
// http://learn.adafruit.com/character-lcds/overview
var five = require("johnny-five"),
board, lcd;
board = new five.Board();
board.on("ready", function() {
@rmurphey
rmurphey / gist:3105199
Created July 13, 2012 14:30 — forked from paulirish/gist:3098860
Open Conference Expectations

Open Conference Expectations

This document lays out some baseline expectations between conference speakers and conference presenters. It was prepared by three experienced conference speakers -- one of whom has also organized conferences -- and influenced by many others. Its goal is to let speakers know what they might reasonably expect from a conference, in exchange for the hours we expect them to spend researching, preparing, and rehearsing, and the time they will spend away from home and family.

We believe that all speakers should reasonably expect these things, not just speakers who are known to draw large crowds, because no one is a rockstar but more people should have the chance to be one. We believe that conferences are better -- and, dare we say, more diverse -- when the people speaking are not just the people who can afford to get themselves there, either because their company paid or they foot the bill themselves.

These expectations should serve as *a starting point for discussion between sp

@rmurphey
rmurphey / gist:3104761
Created July 13, 2012 12:57 — forked from paulirish/gist:3098860
Open Conference Expectations

Open Conference Expectations

This document lays out some baseline expectations between conference speakers and conference presenters. It was prepared by three veteran conference speakers, and influenced by many others. Its goal is to let speakers know what they might reasonably expect from a conference, in exchange for the hours we expect them to spend researching, preparing, and rehearsing, and the time they will spend away from home and family.

We believe that all speakers should reasonably expect these things, not just speakers who are known to draw large crowds, because no one is a rockstar but more people should have the chance to be one. We believe that conferences are better -- and, dare we say, more diverse -- when the people speaking are not just the people who can afford to get themselves there, either because their company paid or they foot the bill themselves.

These expectations should serve as a starting point for discussion between speaker and organizer. They are not a list of demands

@rmurphey
rmurphey / gist:3098867
Created July 12, 2012 15:29 — forked from paulirish/gist:3098860
Open Conference Expectations

Open Conference Expectations

For conferences, it's extremely important that attendees get top-quality content from industry experts. As a highly compelling format of educating others based on experience and research, conferences stand to be one the best sources of refined knowledge available. Still, it's important for a successful event to have a few guidelines to ensure quality content from the best and most appropriate speakers. Below is a set of guidelines for conference organizers that ensure quality content for attendees and the community.

What We, As Speakers, Expect from Conferences

  1. Video recordings: Organizers should prioritize recording all talks and sessions. A conference that only teaches the ~300 people in the room has constrained value and is not worthwhile to a speaker who wants to benefit the community. When recorded, video will be available online under a permissive license (CC-BY-*) within six months of the event.

  2. Reimbursement: Conferences will reimburse travel and rea

@rmurphey
rmurphey / admin.html
Created July 6, 2012 01:02 — forked from kmiyashiro/admin.html
Mocha HTML spec
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<link rel="stylesheet" href="../libs/mocha.css" type="text/css" media="screen" title="no title" charset="utf-8">
</head>
<body>
<div id="mocha"></div>
<script src="../libs/mocha.js" type="text/javascript" charset="utf-8"></script>
@rmurphey
rmurphey / testling.coffee
Created July 3, 2012 17:52
QUnit testling
test = require 'testling'
test "qunit", (t) ->
t.createWindow "http://tunnel.browserling.com:xxxxx/", (window, $) ->
intervalId = setInterval ->
result = $ '#qunit-testresult'
tests = $ '#qunit-tests > li'
for test in tests
next if $(test).data 'recorded'
console.log(context.cache());
if(context.cache().recentOrders){
context.partial('templates/previous_orders/recent.mustache', PreviousOrdersView(context.cache().recentOrders), function(html) {
$('.recent_orders').html(html);
});
console.log('from cache');
}else{
var url = context.recent_orders_url(email, 5);
$.ajax({
url: url,