Skip to content

Instantly share code, notes, and snippets.

View jalbertbowden's full-sized avatar

albert jalbertbowden

View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jalbertbowden
jalbertbowden / va_2016.geojson
Created December 7, 2018 23:51
Virginia Precinct Returns
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jalbertbowden
jalbertbowden / index.html
Created November 19, 2018 06:33
Neighborhood Map with Combined Raster and Vector Data
<!--Example for: http://mapbox.com//blog/vector-tile-sandwich/-->
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<html>
<head>
<link href='http://api.tiles.mapbox.com/mapbox.js/v1.0.0/mapbox.css' rel='stylesheet' />
@jalbertbowden
jalbertbowden / manifest.json
Created August 14, 2018 16:28 — forked from ericelliott/manifest.json
Sample manifest.json
{
"name": "My Progressive Web Application",
"short_name": "Progressive",
"start_url": "/?home=true",
"icons": [
{
"src": "/icons/icon36.png",
"sizes": "36x36",
"type": "image/png"
},
[{"111110":"111120","Soybean Farming":"Oilseed (except Soybean) Farming"},
{"111110":"111130","Soybean Farming":"Dry Pea and Bean Farming"},
{"111110":"111140","Soybean Farming":"Wheat Farming"},
{"111110":"111150","Soybean Farming":"Corn Farming"},
{"111110":"111160","Soybean Farming":"Rice Farming"},
{"111110":"111191","Soybean Farming":"Oilseed and Grain Combination Farming"},
{"111110":"111199","Soybean Farming":"All Other Grain Farming"},
{"111110":"111211","Soybean Farming":"Potato Farming"},
{"111110":"111219","Soybean Farming":"Other Vegetable (except Potato) and Melon Farming"},
{"111110":"111310","Soybean Farming":"Orange Groves"},
@jalbertbowden
jalbertbowden / split_starred_json.py
Created June 29, 2018 04:31 — forked from stp-ip/split_starred_json.py
Python script to split starred.json into smaller junks to make them usable for alternatives. Sometimes trying to import starred.json files with more than 50mb or even less fail. -> split it and it should work.
# run script within a directory where your exported starred.json file is available
import json
from copy import deepcopy
json_data = open('starred.json')
data = json.load(json_data)
default = deepcopy(data)
default['items'] = []
@jalbertbowden
jalbertbowden / dataisbeautiful.csv
Created April 18, 2018 01:29 — forked from joshkehn/dataisbeautiful.csv
Posts from /r/dataisbeautiful as of 2017-09-03
We can't make this file beautiful and searchable because it's too large.
"created","post","score","comments","oc","author","title"
"2017-09-03T20:38:25","6xwz6r","1","0","TRUE","WhosaWhatsa","2017 YTD U.S. Feature Film Release with Most IMDB Votes [OC]"
"2017-09-03T19:58:32","6xwrh3","4","4","TRUE","_HexMan","Police Shootings since January 1, 2015 [OC]"
"2017-09-03T18:44:34","6xwdcp","1","1","TRUE","potato_pototo","Average Indian movie length by language[OC]"
"2017-09-03T18:37:12","6xwbxp","3","2","TRUE","seis-matters","Recordings of Five North Korea Nuclear Tests [OC]"
"2017-09-03T18:22:33","6xw8z7","5","1","FALSE","pecanpiecat","The worth of $100 by state"
"2017-09-03T17:43:34","6xw0t5","2","1","TRUE","wisequokka","Time series seismic data of the North Korean H-bomb test [OC]"
"2017-09-03T17:30:03","6xvxyi","0","0","FALSE","thevizinista","Floral Designer"
"2017-09-03T15:41:26","6xva9b","1","2","TRUE","Living_Granger","Capital punishment since 1991: Number of executioners and abolitionist countries. [OC]"
"2017-09-03T15:17:27","6xv56f","0","0","FALSE","d0mth0ma5","North Korean tr
@jalbertbowden
jalbertbowden / README.md
Created October 8, 2017 22:45 — forked from reinholdsson/README.md
Highcharts: Time Series Example
@jalbertbowden
jalbertbowden / icon.png
Created October 4, 2017 18:41 — forked from danswick/icon.png
Save GeoJSON from Mapbox GL Draw
icon.png
@jalbertbowden
jalbertbowden / map.geojson
Created October 4, 2017 05:32 — forked from anonymous/map.geojson
Frederick Douglass Homesite - NPS Data
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.