I hereby claim:
- I am mdzhang on github.
- I am mdzhang (https://keybase.io/mdzhang) on keybase.
- I have a public key ASBcz-kSfFWfyIqFcW9qGjl_D9Bm5qcRRLF_ITQkE4YxNQo
To claim this, I am signing this object:
| { | |
| "AL": "Alabama", | |
| "AK": "Alaska", | |
| "AZ": "Arizona", | |
| "AR": "Arkansas", | |
| "CA": "California", | |
| "CO": "Colorado", | |
| "CT": "Connecticut", | |
| "DE": "Delaware", | |
| "DC": "District of Columbia", |
| { | |
| "AED": { | |
| "countries": [ | |
| "UNITED ARAB EMIRATES (THE)" | |
| ], | |
| "decimal_mark": ".", | |
| "decimals": 2, | |
| "exponent": "2", | |
| "iso_code": "AED", | |
| "iso_numeric": "784", |
| [ | |
| { | |
| "kana": "あ", | |
| "roumaji": "a", | |
| "type": "gojuuon" | |
| }, | |
| { | |
| "kana": "い", | |
| "roumaji": "i", | |
| "type": "gojuuon" |
| [ | |
| { | |
| "kana": "ア", | |
| "roumaji": "a", | |
| "type": "gojuuon" | |
| }, | |
| { | |
| "kana": "イ", | |
| "roumaji": "i", | |
| "type": "gojuuon" |
I hereby claim:
To claim this, I am signing this object:
| " 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 |
| """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 |
| """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 |
| #!/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} |
I hereby claim:
To claim this, I am signing this object: