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
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<style> | |
</style> | |
<body> | |
<script src="d3.min.js"></script> | |
<script> | |
/*global d3 */ | |
var width = 600, |
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> | |
<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
var Raphael = require("raphael-browserify"), | |
shuffle = require('shuffle-array'), | |
domify = require('domify'); | |
var body = "<div id='canvas'><div id='controls'><button>PLAY</button></div>"; | |
document.body.appendChild(domify(body)) | |
// bag of marbles will be represented as an array of strings: ["green", "blue", "blue", ... ] | |
function makeMarbles(ratios) { |
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' |
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
(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"); |
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 |
OlderNewer