Skip to content

Instantly share code, notes, and snippets.

@scopevale
scopevale / html_reset.css
Created January 14, 2011 15:58 — forked from nathansmith/html_reset.css
HTML5 reset by Nathan Smith
/* `XHTML, HTML4, HTML5 Reset
----------------------------------------------------------------------------------------------------*/
a,
abbr,
acronym,
address,
applet,
article,
aside,
@scopevale
scopevale / gist:780898
Created January 15, 2011 13:18 — forked from brianblakely/gist:581868
meta tags
<!DOCTYPE html>
<!-- Helpful things to keep in your <head/>
// Brian Blakely, 360i
// http://twitter.com/brianblakely/
-->
<head>
<!-- According to Heather Champ, former community manager at flickr,
you should not allow search engines to index your "Contact Us"
@scopevale
scopevale / generate-fiddle.sh
Created January 22, 2012 15:52 — forked from deepakjois/generate-fiddle.sh
A convenient way to generate Github gists and link them to JSFiddle.
#!/bin/sh
# Usage: generate-fiddle <folder>
# Creates a folder and adds some files commonly used with JSFiddle
set -e
# Create folder
mkdir $1
cd $1
@scopevale
scopevale / README.md
Created December 4, 2012 16:00 — forked from mbostock/.block
Epicyclic Gearing

From Wikipedia: Epicyclic gearing or planetary gearing is a gear system consisting of one or more outer gears, or planet gears, revolving about a central, or sun gear. … Epicyclic gearing systems also incorporate the use of an outer ring gear or annulus, which meshes with the planet gears.

Built with D3.js.

@scopevale
scopevale / index.html
Created December 5, 2012 09:37 — forked from jeffpflueger/index.html
Experiment 1 with d3 and svgweb
<!DOCTYPE html>
<html>
<head>
<!-- SVG web to turn svg into flash for IE
This might not be working on bl.ocks.org for the following reasons:
1) MIME types not added to the bl.ocks.org webserver:
AddType text/x-component htc
AddType application/x-shockwave-flash swf
AddType image/svg+xml svg
{"libraries":["Highcharts"]}
{"libraries":["d3"]}
var gulp = require('gulp');
var browserify = require('gulp-browserify');
var less = require('gulp-less');
var concat = require('gulp-concat');
var jshint = require('gulp-jshint');
var watch = require('gulp-watch');
var outDir = './temp';
var isWatch = false;
/*!
* Grunt
* $ npm install grunt-contrib-uglify grunt-autoprefixer grunt-contrib-cssmin grunt-contrib-imagemin grunt-contrib-sass grunt-contrib-watch grunt-contrib-concat grunt-contrib-clean grunt-contrib-jshint grunt-notify --save-dev
*/
module.exports = function(grunt) {
grunt.initConfig({
// Sass
/*
* quickstart.js
* ~~~~~~~~~~~~~
*
* Code from the Stormpath Node.js Quickstart:
* http://docs.stormpath.com/nodejs/quickstart/
*
* You can run this code by typing:
*
* $ node quickstart.js