# install package manager
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# tap homebrew versions
brew tap homebrew/versions
# Homebrew packages
brew install \
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
# LowEndSpirit "What's my IP?" | |
# 07/10/13 | |
#By CSa | |
ipv6addr=$(ip addr show dev venet0 | sed -e's/^.*inet6 \([^ ]*\)\/.*$/\1/;t;d') | |
ipv4intr=$(ifconfig venet0:0 | grep 'inet addr' | cut -d ':' -f 2 | cut -d ' ' -f 1) | |
nodeaddr=$(wget -qO- ipecho.net/plain) | |
ports=${ipv4intr#*.*.*.} | |
echo Your external IPv6 address is: |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<title>Bells and Whistles</title> | |
<meta charset="utf-8"> | |
<link rel="stylesheet" href="https://mapzen.com/js/mapzen.css"> | |
<script src="https://mapzen.com/js/mapzen.min.js"></script> | |
<style> | |
#map { | |
height: 100%; |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<title>Bells and Whistles</title> | |
<meta charset="utf-8"> | |
<link rel="stylesheet" href="https://mapzen.com/js/mapzen.css"> | |
<script src="https://mapzen.com/js/mapzen.min.js"></script> | |
<style> | |
#map { | |
height: 100%; |
Mapping and ID-ing Philadelphia 2010 Census Tracts with D3 and TopoJSON
Data from Open Data Philly - Census Tracts.
Converted to topojson whilst preserving all fields.
{ | |
"text": "RT @PostGradProblem: In preparation for the NFL lockout, I will be spending twice as much time analyzing my fantasy baseball team during ...", | |
"truncated": true, | |
"in_reply_to_user_id": null, | |
"in_reply_to_status_id": null, | |
"favorited": false, | |
"source": "<a href=\"http://twitter.com/\" rel=\"nofollow\">Twitter for iPhone</a>", | |
"in_reply_to_screen_name": null, | |
"in_reply_to_status_id_str": null, | |
"id_str": "54691802283900928", |