This is a map of the USDA commuting zones, which are collections of counties last modified in 2000.
This file contains 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
<!DOCTYPE html> | |
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> | |
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]--> | |
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]--> | |
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]--> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<title>Javascript Metronome</title> | |
<meta name="description" content=""> |
This file contains 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
#!/bin/bash | |
#Thx, http://stackoverflow.com/questions/20723868/batch-rename-dropbox-conflict-files | |
#Point to where you want the script to look and where it should backup files it replaces | |
folder=~/Dropbox/Private | |
backup=~/Desktop/Dropbox.backup | |
#colors | |
red='\033[0;31m' |
This file contains 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<title>The Word Stone</title> | |
<link rel="stylesheet" href="styles.css"> | |
</head> | |
<body> | |
<div class="container"> | |
<div class="canvas" id="canvas"></div> | |
<div id="wordlist" class="wordlist"></div> |
This file contains 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
{ | |
"name": "netflix-category-scraper", | |
"version": "0.0.0", | |
"description": "Collect all categories from Netflix", | |
"dependencies": { | |
"cheerio": "*", | |
"sqlite3": "*", | |
"request": "*" | |
}, | |
"author": { |
This file contains 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
function generateSequences(n, k) { | |
var sequences = []; | |
function getSequences(n, k, sequence) { | |
// calculate the highest possible value of a number, such that it leaves at least enough left over to fill the rest with 1s | |
var upper = n - k + 1; | |
for (var c = 1; c <= upper; c += 1) { | |
var sub_sequence = sequence.slice(0); | |
sub_sequence.push(c); |
This file contains 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 fs = require("fs"); | |
var d3 = require("d3"); | |
var topojson = require("topojson"); | |
var point = require('point-at-length'); | |
var ProgressBar = require('progress'); | |
var us = require("./us-10m.v1.json"); | |
var path = d3.geoPath().projection(null); // pre-projected |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<style> | |
</style> | |
<body> | |
<script src="d3.min.js"></script> | |
<script> | |
/*global d3 */ | |
var width = 600, |
This file contains 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
(function() { | |
var root = this; | |
// create a new SVG element | |
var elasticSVG = function(selector, opts) { | |
opts = opts || {}; | |
// containing DOM element, which defaults to body | |
var parent = document.querySelectorAll(selector || "body"); |
NewerOlder