Skip to content

Instantly share code, notes, and snippets.

View jaronheard's full-sized avatar
🛹
doing a subset of all of the things

Jaron Heard jaronheard

🛹
doing a subset of all of the things
View GitHub Profile
@jaronheard
jaronheard / civicsoftwarefoundation.org-20200615T002832.lighthouse.report.json
Last active June 15, 2020 04:35
civicsoftwarefoundation.org lighthouse audit 06-15-20
{
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36",
"environment": {
"networkUserAgent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3694.0 Mobile Safari/537.36 Chrome-Lighthouse",
"hostUserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36",
"benchmarkIndex": 1278
},
"lighthouseVersion": "5.7.1",
"fetchTime": "2020-06-15T04:28:32.321Z",
"requestedUrl": "https://civicsoftwarefoundation.org/",
@jaronheard
jaronheard / podcastExportOPMLCatalina
Created May 11, 2020 01:56
Bash script to export Podcasts from Mac OS Catalina to OPML
#!/bin/bash
sql() {
sqlite3 "${HOME}/Library/Group Containers/"*.groups.com.apple.podcasts/Documents/MTLibrary.sqlite "select ${1} from ZMTPODCAST ${2:+"where ${2} = '${3}'"};" |\
sed -e 's/&/\&/g' \
-e 's/</\&lt;/g' \
-e 's/>/\&lgt;/g' \
-e "s/'/\&apos;/g"
}
This file has been truncated, but you can view the full file.
{"type":"FeatureCollection","crs":{"type":"name","properties":{"name":"EPSG:2913"}},"features":[{"type":"Feature","id":1,"geometry":{"type":"Polygon","coordinates":[[[7654873.1443569511,677620.00787401199],[7654878.6473097056,677886.48228345811],[7654883.1437007934,677979.005905509],[7654884.6650262475,678085.10301837325],[7654886.2224409431,678260.49868766963],[7654898.3257873952,678660.29133857787],[7654903.0085301846,679089.82381889224],[7654905.1023622006,679178.76377952099],[7654910.1276246756,679436.86220473051],[7654913.0748031437,679548.39304462075],[7654915.1912729591,679696.4189632535],[7654921.5593831986,680015.02821522951],[7654577.1486220509,680024.13188976049],[7654317.0662729591,680031.73982939124],[7654057.2404855639,680039.34448818862],[7653797.1197506487,680045.5009842515],[7653501.7125984281,680055.51345144212],[7653258.5147637725,680061.59317585826],[7653196.5003280789,680063.23720473051],[7653019.4363517016,680068.29625983536],[7652936.6555118114,680070.12664042413],[7652769.3389107585,68
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jaronheard
jaronheard / LernaGenerateDependenciesFile
Last active April 10, 2019 19:47
List all dependencies for all packages in a lerna monorepo, by package name - one line bash script
lerna exec --stream -- 'lernaprefix=$LERNA_PACKAGE_NAME; echo $lernaprefix && yarn run env | grep "npm_package_devDependencies\|npm_package_dependencies\|npm_package_peerDependencies" | { while read line; do echo "$lernaprefix: $line"; done } >> ~/dependenciesLog'
{
"FarmersMarketsByYear": [
{
"Year": 1994,
"FarmersMarketCount": 1755
},
{
"Year": 1995,
"FarmersMarketCount": 2082
},
{
"FarmersMarketsByYear": [
{
"Year": 1994,
"FarmersMarketCount": 1755
},
{
"Year": 1995,
"FarmersMarketCount": 2082
},
@jaronheard
jaronheard / index.html
Last active June 11, 2018 00:58
graph generator
<!DOCTYPE html>
<meta charset="utf-8">
<style>
.link {stroke: black;}
.node {stroke: white; stroke-width: 3px;}
</style>
<body>
[
{
"datatext": "",
"src": "http://sos.oregon.gov/archives/exhibits/constitution/PublishingImages/before-blacks-burnett.jpg",
"title": "1844",
"desc":
"Oregon territory bans slavery, and requires all black people to leave"
},
{
"datatext": "",