This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import puppeteer from "puppeteer"; | |
import { stories } from "./stories.js"; // A list of links to my stories behind the paywall. | |
import fs from "fs"; | |
import { promisify } from "util"; | |
import { basename } from "path"; | |
import dotenv from "dotenv"; | |
dotenv.config(); // Keep login inside of .env file | |
const writer = promisify(fs.writeFile); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
awscli | |
bluetoothconnector | |
circleci | |
cmake | |
coreutils | |
elastic/tap/elasticsearch-full | |
exercism | |
findutils | |
gawk | |
gh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"diagnostic.showUnused": false, | |
"diagnostic.messageDelay": 0, | |
"diagnostic.errorSign": "✘", | |
"diagnostic.warningSign": "⚑", | |
"diagnostic.infoSign": "", | |
/*"suggest.noselect": true, // Select first element in autocomplete list*/ | |
// Turn off styling, use plugins instead | |
"css.validate": false, | |
"less.validate": false, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set -g default-terminal "screen-256color" | |
set -g mouse on | |
set-option -g prefix C-b | |
# Set new panes to open in current directory | |
bind c new-window -c "#{pane_current_path}" | |
bind '"' split-window -c "#{pane_current_path}" | |
bind % split-window -h -c "#{pane_current_path}" | |
# vim-like pane switching |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Help on this configuration file is here | |
# https://www.notion.so/Yabai-8da3b829872d432fac43181b7ff628fc | |
sudo yabai --load-sa | |
yabai -m signal --add event=dock_did_restart action="sudo yabai --load-sa" | |
yabai -m rule --add app="^System Preferences$" manage=off | |
yabai -m rule --add app="^Finder$" manage=off | |
yabai -m rule --add app="^Audio Hijack$" manage=off | |
yabai -m rule --add app="^FaceTime$" manage=off |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Navigation | |
hyper - k : yabai -m window --focus north | |
hyper - j : yabai -m window --focus south | |
hyper - f : yabai -m window --toggle zoom-fullscreen | |
hyper - h : yabai -m window --focus prev \ | |
|| ((yabai -m display --focus prev || yabai -m display --focus last) \ | |
&& yabai -m window --focus last) | |
hyper - l : yabai -m window --focus next \ | |
|| ((yabai -m display --focus next || yabai -m display --focus first) \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set-option -s escape-time 10 | |
set -g default-terminal "screen-256color" | |
set -g mouse on | |
# Set new panes to open in current directory | |
bind c new-window -c "#{pane_current_path}" | |
bind '"' split-window -c "#{pane_current_path}" | |
bind % split-window -h -c "#{pane_current_path}" | |
# vim-like pane switching |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"log" | |
"net/http" | |
) | |
func main() { | |
links := []string{ | |
"http://google.com", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
font: | |
normal: | |
family: Hack Nerd Font | |
size: 12.5 | |
cursor: | |
style: | |
shape: Block | |
blinking: Always | |
blink_interval: 500 | |
colors: # Based off the Kanagawa color scheme |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SCRIPT FOR SCRAPING SCOTUS HEARING TRANSCRIPT | |
# DATA COMPILED BY R STREET INSTITUTE: https://www.rstreet.org/2019/04/04/supreme-court-confirmation-hearing-transcripts-as-data/ | |
# This script parses the data and searches for key terms, and outputs another (results.csv) file, along with printing a summary | |
import csv | |
import sys | |
import re | |
def print_inventory(dct): | |
print("Mentions:") |