I hereby claim:
- I am mdzhang on github.
- I am mdzhang (https://keybase.io/mdzhang) on keybase.
- I have a public key whose fingerprint is 1392 FAAD 8AFC 2222 AD84 195E 1650 A224 DE3E 63DB
To claim this, I am signing this object:
#!/bin/bash | |
git fetch --prune | |
for k in $(git branch -r --sort=committerdate | head -n 100); do | |
if [ -z "$(git log -1 --after='2 years ago' -s $k)" ]; then | |
br=$(echo $k | cut -d'/' -f2-) | |
echo "Removing $br" | |
echo "--" |
#!/bin/bash | |
set -o errexit | |
set -e | |
COLOR='\033[1;36m' | |
RED='\033[0;31m' | |
NC='\033[0m' # No Color | |
die() |
Major Key | |
I II III IV V VI VII | |
A A Bm C#m D E F#m G#dim | |
B B C#m D#m E F# G#m A#dim | |
C C Dm Em F G Am Bdim | |
D D Em F#m G A Bm C#dim | |
E E F#m G#m A B C#m D#dim | |
F F Gm Am A# C Dm Edim | |
G G Am Bm C D Em F#dim | |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
set -ex | |
command -v gh >/dev/null 2>&1 || die "gh is required but not installed. Aborting. See https://github.com/cli/cli" | |
usage() | |
{ | |
echo " Usage: ${0} |
"""Scrape data from NomadList into local CSV. | |
Usage: | |
python scrape.py --cities Austin 'Chiang Mai' Taipei Auckland Ubud 'Buenos Aires' 'Mexico City' | |
""" | |
import argparse | |
import logging | |
import os | |
import re | |
import string |
"""Filter down a Goodreads Listopia list to books I'm most likely to like. | |
Fetches the raw HTML with Selenium (requires chromedriver), extracts book data | |
to a pandas data frame using BeautifulSoup, does some massaging, then prints | |
it out nicely. | |
TODO: | |
- more data points (year, contents of top upvoted reviews, shelves, | |
page count, read status, etc.) | |
- support multi-page Listopia lists |
" Put this in ~/.vim/after/syntax/python.vim | |
" Slight tweaks to https://lonelycoding.com/can-i-use-both-python-and-sql-syntax-highlighting-in-the-same-file-in-vim/ | |
" Needed to make syntax/sql.vim do something | |
unlet b:current_syntax | |
" Load SQL syntax | |
syntax include @SQL syntax/sql.vim |
I hereby claim:
To claim this, I am signing this object:
[ | |
{ | |
"kana": "ア", | |
"roumaji": "a", | |
"type": "gojuuon" | |
}, | |
{ | |
"kana": "イ", | |
"roumaji": "i", | |
"type": "gojuuon" |