Skip to content

Instantly share code, notes, and snippets.

View Jackbennett's full-sized avatar

Jack Jackbennett

View GitHub Profile
var gulp = require('gulp');
var livereload = require('gulp-livereload');
gulp.task('default', function(next){
var server = livereload();
gulp.watch(['*', 'css/*']).on('change', function(file){
server.changed(file.path);
});
});
$(document).ready(function(){
$('#mixes a').click(function(){
var id = $(this).attr('data-mix_id')
$('#scatter').empty()
scatter(id, d3.select('#scatter'));
})
var chart = $("#scatter svg"),
aspect = chart.width() / chart.height(),
container = chart.parent();
@Jackbennett
Jackbennett / output stream
Last active December 26, 2015 19:39
Docpad global install without ansicon installed to a powershell console2 window
PS F:\src> npm -g install docpad
npm http GET https://registry.npmjs.org/docpad
npm http 304 https://registry.npmjs.org/docpad
npm http GET https://registry.npmjs.org/backbone/1.1.0
npm http GET https://registry.npmjs.org/bal-util
npm http GET https://registry.npmjs.org/caterpillar-filter
npm http GET https://registry.npmjs.org/caterpillar
npm http GET https://registry.npmjs.org/caterpillar-human
npm http GET https://registry.npmjs.org/commander
npm http GET https://registry.npmjs.org/cson
@charset "utf-8";
/*------------------------------Reset style Starts-------------------------------*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td { margin: 0; padding: 0; border: 0; outline: 0; font-weight: inherit; font-style: inherit; font-size: 100%; font-family: inherit; vertical-align: baseline; }
/* remember to define focus styles! */
:focus { outline: 0; }
body { line-height: 1; color: #ffffff; background: white; font-family:Arial, Helvetica, sans-serif; font-size:12px }
ul { list-style: none; }
/* tables still need 'cellspacing="0"' in the markup */
table { border-collapse: separate; border-spacing: 0; }
caption, th, td { text-align: left; font-weight: normal; }