Skip to content

Instantly share code, notes, and snippets.


I picture the persona of my user to be someone who doesn’t necessarily have a lot of monetary stake in the ongoing developments in and around my area of Brooklyn. Those that do tend to be older and less in-touch with technology-they could operate a website but an app might be a challenge, let alone getting them to engage.
They’re involved in either public policy or local politics or are residents (most likely recent residents) that have a piqued interest in the recent developments in the area. They’re certainly upstarts, familiar with sites that compare rankings of locations on a map-that is yelp, Zillow, etc.
They come across this site via social media most certainly, perhaps having read about it on a local news website or blog. They can include reviews/ratings of the building developers and see more info once selecting a certain one.
Ideally this would be all on one screen, either a map or a list-all of the additional info and ratings should be pop-ups.


View index.html
<title>About an Ice Cream Star </title>
<link rel="stylesheet" type="text/css" href="css/bootstrap.css">
<link href='' rel='stylesheet' type='text/css'>
<div class="container">
View collectionSample.js
// the following is a sample of a donor country
{'name': 'core_total', 'value':10000,'donor-country':'JPN'}, // from core-fund.csv, the sum of all core contribution
{'name': 'noncore_total', 'value': 50000,'donor-country':'JPN'}, // from fund-modality.csv, the sum of all 5 types of funding
{'name': 'cost_sharing', 'value': 10000, 'donor-country':'JPN'}, // from fund-modality.csv, sum of the respective type
{'name': 'thematic_trust_funds', 'value': 10000, 'donor-country':'JPN'},
{'name': 'trust_funds', 'value': 10000, 'donor-country':'JPN'},
{'name': 'special_activities', 'value': 10000, 'donor-country':'JPN'},
{'name': 'unv', 'value': 10000, 'donor-country':'JPN'},
View coffeehack.txt
2x Mr Coffee Burr Grinders
2x Hairo Coffee Mill Slim
View scrolldebounce.js
// this runs hellaoften
$(window).scroll(function() {
// this runs hellaoften
$(window).scroll(_.throttle(function() {
}, 250));
View soundcloud_oauth2_user_agent_authentication_flow_demo.html
<!DOCTYPE html>
<html lang="en">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>SoundCloud OAuth 2 User Agent Authentication Flow Demo</title>
<script type="text/javascript" charset="utf-8" src="javascript/jquery-1.4.2.js"></script>
<script type="text/javascript" charset="utf-8">
$(function () {
var extractToken = function(hash) {
View dnd.js
.on('dragover', handleDragOver)
.on('drop', handleFileSelect)
function handleFileSelect() {
var event = d3.event
, files = event.dataTransfer.files // FileList object
, about = []
View index.html
<!DOCTYPE html>
<meta charset="utf-8">
<link href='//' rel='stylesheet' />
<!--[if lte IE 8]>
<link href='//' rel='stylesheet' />
<script src='//'></script>
<script src="//"></script>