Skip to content

Instantly share code, notes, and snippets.

@potch
potch / gist_line_numbers.css
Created September 26, 2011 18:53
CSS to add line numbers to embedded gists
.gist-highlight {
border-left: 3ex solid #eee;
position: relative;
}
.gist-highlight pre {
counter-reset: linenumbers;
}
.gist-highlight pre div:before {
@boyofgreen
boyofgreen / gist:2209391
Created March 26, 2012 20:23
face reco css
App.init = function() {
// Prep the document
App.video = document.querySelector('video');
App.glasses = new Image();
App.glasses.src = "i/glasses.png";
App.canvas = document.querySelector("#output");
App.ctx = this.canvas.getContext("2d");