Skip to content

Instantly share code, notes, and snippets.

@Lane
Lane / us-states.json
Created July 28, 2021 21:22
geojson for states with integer id
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Lane
Lane / config.yml
Last active May 1, 2020 00:05
sample netlify cms index file
backend:
name: github
repo: EvictionLab/eviction-lab-website
branch: cms-dev
media_folder: "static/uploads" # Folder where user uploaded files should go
publish_mode: editorial_workflow
public_folder: "/uploads" # The src attribute for uploaded media will begin with /images/uploads
collections:
- name: "weekly-reports" # Used in routes, e.g., /admin/collections/blog
id week_date week_diff month_date month_diff
48201100000 15/03/2020 1.25
48201210700 15/03/2020 1
48201210800 15/03/2020 0.571428571428571
48201211000 15/03/2020 1.06666666666667
48201211700 15/03/2020 0.4
48201212300 15/03/2020 0.571428571428571
48201212500 15/03/2020 1.5
48201220500 15/03/2020 1.33333333333333
48201221500 15/03/2020 0.4
week_date week_filings avg_filings end_moratorium_date
05/01/2020 1321 1123 30/04/2020
12/01/2020 2171 1775.25 30/04/2020
19/01/2020 1731 1257 30/04/2020
26/01/2020 850 1056.75 30/04/2020
02/02/2020 419 670.75 30/04/2020
09/02/2020 2299 1707 30/04/2020
16/02/2020 1707 987.25 30/04/2020
23/02/2020 1100 706.5 30/04/2020
01/03/2020 416 441.25 30/04/2020
@Lane
Lane / eviction-chart.csv
Created April 20, 2020 20:14
eviction data for harris county
group week_date week_diff end_of_moratorium
White 05/01/2020 1.4760147601476 30/04/2020
White 12/01/2020 1.66847826086957 30/04/2020
White 19/01/2020 1.67139959432049 30/04/2020
White 26/01/2020 0.942408376963351 30/04/2020
White 02/02/2020 0.8 30/04/2020
White 09/02/2020 1.69250317662008 30/04/2020
White 16/02/2020 2.16166281755196 30/04/2020
White 23/02/2020 1.96515679442509 30/04/2020
White 01/03/2020 1.3048128342246 30/04/2020
@Lane
Lane / surge-teardown.sh
Last active September 24, 2020 07:29
script to remove any surge subdomains you have deployed based on a provided pattern
#!/bin/bash
# Removes all surge domains that match a provided pattern
#
# Example usage:
# ./surge-teardown.sh test-site
#
# Output:
# Success - test-site-alpha.surge.sh has been removed.
# Success - beta-test-site.surge.sh has been removed.
@Lane
Lane / lincoln.csv
Created April 17, 2019 22:04
all of the schools with lincoln in the name
ncessch schoolname stateabb
010180000637 LINCOLN ELEM SCH AL
010318001805 LINCOLN ELEM SCH AL
040091903472 Great Hearts Academies - Lincoln Prep AZ
040092503464 Great Hearts Academies - Archway Lincoln AZ
040497000398 LINCOLN ELEMENTARY SCHOOL AZ
040553000453 LINCOLN ELEMENTARY SCHOOL AZ
040673000566 LINCOLN ELEMENTARY SCHOOL AZ
040906000652 Abraham Lincoln Traditional School AZ
050306000789 LINCOLN JUNIOR HIGH SCHOOL AR
[
{
"featureType": "poi",
"stylers": [
{ "visibility": "off" }
]
},{
"elementType": "labels.text",
"stylers": [
{ "color": "#000000" }
@Lane
Lane / dabblet.css
Created December 31, 2012 16:30
Untitled
body {
margin: 0em;
padding: 0em;
font-family: Helvetica;
font-weight: lighter;
font-size: 1em;
background: #000022 url(http://www.laneolson.ca/files/img/rusty-pattern.png);
color: #fff;
}
@Lane
Lane / dabblet.css
Created December 31, 2012 09:14
Untitled
body {
margin: 0em;
padding: 0em;
font-family: Helvetica;
font-weight: lighter;
font-size: 1em;
background: #000022 url(http://www.laneolson.ca/files/img/rusty-pattern.png);
color: #fff;
}