Skip to content

Instantly share code, notes, and snippets.

View jsvine's full-sized avatar

Jeremy Singer-Vine jsvine

View GitHub Profile
@jsvine
jsvine / vertebrates.js
Created April 26, 2012 19:56
vertebrates.js
var Vertebrate = {};
Vertebrate.Model = Backbone.Model.extend();
Vertebrate.Collection = Backbone.Collection.extend({
model: Vertebrate.Model
});
// Source: http://en.wikipedia.org/wiki/Vertebrates
var vertebrates = new Vertebrate.Collection([
@jsvine
jsvine / git-editing-offer.md
Created April 19, 2012 02:08
A Git-for-Prose Experiment

A Git-for-Prose Experiment

TL;DR: I'll edit (almost) whatever prose you throw at me, provided you agree to use git for the entire process.

If you're reading this, you're probably familiar with git. But if you're not: [git][git-wiki] is an amazingly nimble "distributed revision control" system. Or -- in plain English -- it's what might happen if track-changes, a time machine, and a collage artist had a beautiful baby.

Software development is git's nearly universal use-case, and with good reason. Its branching and merging features let developers easily collaborate and experiment with new, crazy features without having to worry about wrecking a project or taking it in the wrong direction.

But there is, I think, a huge and largely untapped potential in using git for prose. The same branching and merging features could encourage writers and editors to take risks with a piece's style or structure that might otherwise seem too daunting. At the very least, git provides a way to track changes to a docume

@jsvine
jsvine / wsj-interactive-graphics-job-posting.md
Created April 16, 2012 22:35
Job Posting: Interactive-Graphics/News-App Developer at The Wall Street Journal

Job description: The Wall Street Journal is looking for a visual journalist/news app developer. Candidates would be assigned to work on WSJ.com's long-term investigative pieces, real time news coverage, and the online components of data-centric packages.

Persons applying should be skilled in the field of data visualization and well-schooled in the narrative presentation of complex topics.

The news graphics team also develops the tools that update and support several ongoing graphics and this person would be expected to contribute to that effort.

Qualified candidates should be experienced developing web applications using Javascript (particularly jQuery, Raphael and others a plus), PHP, MySQL, Django, Python and other frameworks. Successful applicants would be expected to design projects in a responsive manner.

Please send a cover letter, resume and links to your work to: infographics.posting@dowjones.com

@jsvine
jsvine / out-of-office.md
Created April 2, 2012 14:46
Out Of Office Message

I am out of the office until the next business day. If you need to contact me urgently, please call XXX-XXX-XXXX. Thank you.

/* USAGE:
$(function(){
var steps = new Stepper("#steps");
steps.addSlide(1, function(){ this.canvas.text("slide 1"); });
steps.addSlide(2, function(){ this.canvas.text("slide 2"); });
steps.go();
});
*/
@jsvine
jsvine / plain HTML boilerplate
Created September 8, 2011 16:17
plain HTML boilerplate
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<title>title</title>
<meta name="description" content="">
<meta name="author" content="">
<meta name="robots" content="index,cache,follow" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>