Skip to content

Instantly share code, notes, and snippets.

View kjaymiller's full-sized avatar
🤔

Jay Miller kjaymiller

🤔
View GitHub Profile
# Install Brew
% /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install jq fzf peco thefuck asdf direnv exa nvim ripgrep bat postgresql fig;
# ASDF will require a little setup
asdf plugin add python;
asdf plugin add nodejs;
asdf plugin add rust;
@kjaymiller
kjaymiller / searchlink.yaml
Created November 28, 2021 22:51
Popclip Searchlink Extension
@kjaymiller
kjaymiller / dbfscrape.py
Created November 28, 2021 06:23
DBF Show Scraper
import feedparser as feed
from bs4 import BeautifulSoup
url = 'https://feeds.simplecast.com/5nKJV82u'
rss = feed.parse(url)
for entry in rss['entries']:
soup = BeautifulSoup(entry['content'][0]['value'])
print([x['href'] for x in soup.find_all('a')])
@kjaymiller
kjaymiller / savetoGoodlink.applescript
Created October 20, 2021 17:52
CleanTabs and Save to GoodLinks
@kjaymiller
kjaymiller / Apps.md
Last active July 22, 2022 16:54
Apps I Use

Apps I Use

Last Updated: 22 July 2022

  • [Acorn][9955-0001]
  • [Affinity Photo][9955-0002]
  • [BBEdit][9955-0003]
  • [Cardhop][9955-0004]
  • [ColorSlurp][9955-0005]
  • [Craft][9955-0006]
  • [Dark Noise][9955-0007]
@kjaymiller
kjaymiller / Proposal 1.md
Last active June 9, 2021 20:40
PyGotham Proposals

Making Government Useable by anyone with Pandas, Python and Eland

Unreadable data can lead to bad perceptions and positive action being delayed. Some of the most obscure data comes from reporting from local, state and federal governments.

That said the data is there and it has be provided in a consistent (at some level) manner.

Here are some of the ways I made Police Call Records, Police Stop and Search Data, and Department of Education Data Understandable.


@kjaymiller
kjaymiller / Craft Macros.kmmacros
Last active June 11, 2021 21:18
Craft Calendar View Macros
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<array>
<dict>
<key>Activate</key>
<string>Normal</string>
<key>CreationDate</key>
<real>644697032.02142799</real>
<key>Macros</key>
@kjaymiller
kjaymiller / craft_list.json
Last active November 15, 2022 06:21
Craft Quick Save Menu
{
"Create New": "",
"Apps to Try": "craftdocs://open?blockId=foo&spaceId=bar",
"Gifts for 🙋‍♀️": "craftdocs://open?blockId=baz&spaceId=biz"
}
@kjaymiller
kjaymiller / prep_bundle.sh
Created April 6, 2021 20:54
Convert TextBundle to Folder
#!/bin/zsh
filename=$1
filepath=${1%.*}
mv $filename $filepath
setfile -a b $filepath
@kjaymiller
kjaymiller / Always show markup window.kmmacros
Created March 9, 2021 00:21
Always show markup window in Preview
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<array>
<dict>
<key>Activate</key>
<string>Normal</string>
<key>CreationDate</key>
<real>620084026.52813697</real>
<key>Macros</key>