Skip to content

Instantly share code, notes, and snippets.

View leetheguy's full-sized avatar

Lee Nathan leetheguy

View GitHub Profile
@leetheguy
leetheguy / cities.json
Created December 24, 2017 17:27 — forked from Miserlou/cities.json
1000 Largest US Cities By Population With Geographic Coordinates, in JSON
[
{
"city": "New York",
"growth_from_2000_to_2013": "4.8%",
"latitude": 40.7127837,
"longitude": -74.0059413,
"population": "8405837",
"rank": "1",
"state": "New York"
},
@leetheguy
leetheguy / .block
Last active March 10, 2017 22:56 — forked from mbostock/.block
Polar Clock
license: gpl-3.0
AttachmentCtrl = ($scope, $location, $timeout, Docs) ->
$ ->
$("#fileupload").fileupload
dataType: "json"
url: "/angular-ib/app/fileupload?id=" + $location.search().id
add: (e, data) ->
$scope.$apply (scope) ->
# Turn the FileList object into an Array
i = 0