This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); | |
}); | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(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(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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; } |
NewerOlder