Skip to content

Instantly share code, notes, and snippets.

View frankbi's full-sized avatar

Frank Bi frankbi

View GitHub Profile
BoroName IncidentCount
Manhattan 125685
The Bronx 98322
Staten Island 27893
Brooklyn 137657
Queens 99797
Name Address
Engine 4/Ladder 15 42 South Street Manhattan New York City
Engine 10/Ladder 10 124 Liberty Street Manhattan New York City
Engine 6 49 Beekman Street Manhattan New York City
Engine 7/Ladder 1/Battalion 1/Manhattan Borough Command 100-104 Duane Street Manhattan New York City
Ladder 8 14 North Moore Street Manhattan New York City
Engine 9/Ladder 6 75 Canal Street Manhattan New York City
Engine 15/Ladder 18/Battalion 4 25 Pitt Street Manhattan New York City
Engine 28/Ladder 11 222 East 2nd Street Manhattan New York City
Engine 5 340 East 14th Street Manhattan New York City
say "roses are red"
say "violets are blue"
if , lie ; :
say "if I can beat Hillary"
say "so can you" !
else :
say "read the verge dot com"
say "it's good for you!" !
<iframe src="http://52.1.124.80/" width="100%" height="700" border="0" scrolling="no"></iframe>
@frankbi
frankbi / gist:7da5399f46ee5c99e3ba
Last active August 29, 2015 14:01
Spearman Rank Correlation Index
function getSpearmanRankCorrelation(list_x, list_y) {
var n;
if (list_x.length !== list_y.length)
throw "Error: Lists are of different length";
else n = list_x.length;
sorted_x = list_x.sort();
sorted_y = list_y.sort();