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 http = require("http"); | |
var urls = process.argv.slice(2).map(function(d){ | |
return {"url": d, "content": null}; | |
}); | |
process.argv.slice(2).forEach(function(url){ | |
http.get(url,function(request){ |
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> | |
body { | |
font: 10px sans-serif; | |
} | |
path.country { | |
stroke-width: 1px; |
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> | |
body { | |
font: 10px sans-serif; | |
} | |
path.country { | |
stroke-width: 1px; |
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> | |
<head> | |
<title>For Aly</title> | |
<meta charset="utf-8"> | |
<style> | |
path { | |
stroke-width: 2px; | |
fill: none; | |
} |
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> | |
<head> | |
<title>For Aly</title> | |
<meta charset="utf-8"> | |
<style> | |
body { | |
font: 14px sans-serif; | |
} |
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
<svg width="8" height="8"> | |
<rect x="0" y="0" width="8" height="8" fill="#ff0"/> | |
</svg> |
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 cities = ["Albuquerque","Austin","Baltimore","Boston","Charlotte","Chicago","Columbus","Dallas","Denver","Detroit","El Paso","Fairbanks","Fort Worth","Fresno","Houston","Indianapolis","Jacksonville","Kansas City","Las Vegas","Long Beach","Los Angeles","Louisville","Memphis","Mesa","Milwaukee","Nashville","New York","Oklahoma City","Philadelphia","Phoenix","Portland","Sacramento","San Antonio","San Diego","San Francisco","San Jose","Seattle","Tucson","Washington"]; | |
var output = {}; | |
var d3 = require('d3'); | |
var http = require('http'); | |
var fs = require('fs'); | |
cities.forEach(function(city){ |
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 cities = ["Albuquerque","Austin","Baltimore","Boston","Charlotte","Chicago","Columbus","Dallas","Denver","Detroit","El Paso","Fairbanks","Fort Worth","Fresno","Houston","Indianapolis","Jacksonville","Kansas City","Las Vegas","Long Beach","Los Angeles","Louisville","Memphis","Mesa","Milwaukee","Nashville","New York","Oklahoma City","Philadelphia","Phoenix","Portland","Sacramento","San Antonio","San Diego","San Francisco","San Jose","Seattle","Tucson","Washington"]; | |
var output = {}; | |
var http = require('http'); | |
var fs = require('fs'); | |
var download = function(url, dest, cb) { | |
var file = fs.createWriteStream(dest); | |
var request = http.get(url, function(response) { |
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> | |
<head> | |
<title>Is it Match Day yet?</title> | |
<meta charset="utf-8"> | |
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'> | |
<style> | |
body { | |
font-size: 48px; |
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>Face forward</title> | |
<style type="text/css"> | |
body { | |
margin-top: 20px; | |
margin-left: 0px; | |
margin-right: 0px; | |
padding: 0px; |