Skip to content

Instantly share code, notes, and snippets.

View jalbertbowden's full-sized avatar

albert jalbertbowden

View GitHub Profile
@jalbertbowden
jalbertbowden / red_velvet_cake.md
Created May 7, 2020 04:11 — forked from jeremyjbowers/red_velvet_cake.md
Georgia Red Velvet Cake

Red Velvet Cake

Red Velvet cake recipe Red Velvet cake finished

Cake

Ingredients

From original recipe

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_covid_data.R
Created April 22, 2020 23:42 — forked from aejolene/va_covid_data.R
A rough script to pull geospatial data on COVID-19 cases by county from a Virginia Department of Health ArcGIS feature Service with R.
#################
#This is a very rough script to pull COVID-19 geospatial data from the VDH feature service.
# 2020-04-22
#################
library(dplyr)
library(esri2sf)
library(sf)
library(geojsonsf)
library(lubridate)
@jalbertbowden
jalbertbowden / terminal.md
Created April 20, 2020 18:18 — forked from ryansechrest/terminal.md
Shortcuts for Mac terminal.

Shortcuts

Command Description
Ctrl + A Jump to beginning of line
Ctrl + E Jump to end of line
Ctrl + U Delete text before cursor
Ctrl + K Delete text after cursor
Ctrl + W Delete word before cursor
Ctrl + T Swap last two characters before cursor
@jalbertbowden
jalbertbowden / html-style-guide.md
Created April 20, 2020 18:18 — forked from ryansechrest/html-style-guide.md
HTML style guide with coding standards and best practices.

HTML Style Guide

All rules and guidelines in this document apply to HTML files.

The keywords "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.

Icon Legend:

· Space, Tab, Enter/Return

@jalbertbowden
jalbertbowden / map.geojson
Last active April 19, 2020 18:41
Virginia Health Care Facility Locations Archive - VHCA | VCAL https://www.vhca.org/locator/
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jalbertbowden
jalbertbowden / map.geojson
Last active April 19, 2020 06:16
Virginia Zip Code 23662 - Poquoson
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jalbertbowden
jalbertbowden / map.geojson
Last active April 19, 2020 06:17
Virgina Black History Month Historic Sites
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
from lxml import html
import requests
import json
virginia_nursing_facility_uris = ['https://www.vhi.org/Albemarle Health & Rehabilitation Center.html?tab=&?=nh1006/', 'https://www.vhi.org/Augusta Health - LTCU.html?tab=&?=nh6750/', 'https://www.vhi.org/Augusta Nursing and Rehabilitation Center.html?tab=&?=nh1551/', 'https://www.vhi.org/Autumn Care of Madison.html?tab=&?=nh2764/', 'https://www.vhi.org/Bowling Green Health & Rehabilitation Center.html?tab=&?=nh5611/', 'https://www.vhi.org/Bridgewater Home, Inc..html?tab=&?=nh8145/', 'https://www.vhi.org/Brookside Rehabilitation and Nursing Center.html?tab=&?=nh6181/', 'https://www.vhi.org/Carriage Hill Health & Rehab Center.html?tab=&?=nh1614/', 'https://www.vhi.org/Cedars Health & Rehab Center.html?tab=&?=nh2133/', 'https://www.vhi.org/Charlottesville Health & Rehabilitation Center.html?tab=&?=nh5100/', 'https://www.vhi.org/Consulate Health Care of Woodstock.html?tab=&?=nh2955/', 'https://www.vhi.org/Culpeper Health & Rehabilitation Center.html?tab=&?=nh8948
@jalbertbowden
jalbertbowden / name-that-key.jquery.js
Created September 9, 2019 19:45
music theory js unmin
function topKey(keys, chords) {
var counts = {},
result = [];
_(keys).each(function(values, key, list) {
counts[key] = _(values).chain().intersection(this.chords).size().value()
}, {
chords: chords
});
var max = _(counts).max();
return _(counts).each(function(value, key, list) {