Skip to content

Instantly share code, notes, and snippets.

@Encosia
Encosia / gist:3301296
Created August 9, 2012 05:24 — forked from glennblock/gist:3297118
Create counts for modules by category from nodejs.org module wiki
var nom = require('nom');
var categories = [ ];
nom('http://github.com/joyent/node/wiki/modules', function(err, $) {
$('#wiki-body h1:eq(1)~h2~h3').each(function() {
categories.push({
name: $(this).text(),
count: $(this).next().find('a').length
})
});
@Encosia
Encosia / presentationPrep.js
Created April 6, 2012 22:18 — forked from JeffreyWay/presentationPrep.js
I wish it could be that simple. Something for me to build.
presentation({
title: 'My Great Presentation',
slides: [{
title: 'Learn About Borders',
bullets: [
'Thing 1',
'Thing 2',
],
code: ['path/to/file.css', [2,4]] // path to file, lines to grab