Skip to content

Instantly share code, notes, and snippets.

@grahams
grahams / SpringTraining2024.md
Created February 14, 2024 16:13
List of 2024 Red Sox Spring Training Games and their Broadcast Options

2024 Red Sox Spring Training Broadcast Schedule

DATE OPPONENT TIME TV Radio
2/23 Huskies 1:05pm NESN
2/24 @Orioles 1:05pm NESN WEEI 93.7
2/25 @Braves (SS) 1:05pm
2/25 Twins (SS) 1:05pm NESN WEEI 93.7
2/26 Phillies 1:05pm WEEI 850
2/27 @Cardinals 1:05pm WEEI 850
// ==UserScript==
// @name Paylocity Enhance
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js
// @require https://gist.github.com/raw/2625891/waitForKeyElements.js
// @namespace https://app.paylocity.com/
// @version 0.1
// @description Try to make Paylocity's UI marginally better
// @author Sean Graham
// @match https://app.paylocity.com/PerformanceManagement/Reviews/activeReviews
// @icon https://www.google.com/s2/favicons?sz=64&domain=paylocity.com
unbind C-b
set -g prefix C-a
bind -r a send-prefix
bind C-a last-window
# https://gist.github.com/admackin/4507371
# fix ssh agent when tmux is detached
# See .ssh/rc for socket linking
set -g update-environment -r
set-environment -g SSH_AUTH_SOCK $HOME/.ssh/agent.sock
" .vimrc
" Originally Jon Parise (jon@csh.rit.edu)
" Modified by Sean Graham (grahams@sean-graham.com)
" set encoding=utf-8
if file_readable(expand("~/.vimrc_local"))
source ~/.vimrc_local
endif
import sqlite3
from urllib.parse import unquote
from urllib.parse import parse_qs
dbPath = "./com.plexapp.plugins.library.db"
conn = sqlite3.connect(dbPath)
c = conn.cursor()
c2 = conn.cursor()
doviTitles = c.execute('''SELECT metadata_items.title, media_items.id, media_streams.extra_data FROM media_items
unbind C-b
set -g prefix C-a
bind -r a send-prefix
bind C-a last-window
# https://gist.github.com/admackin/4507371
# fix ssh agent when tmux is detached
# See .ssh/rc for socket linking
set -g update-environment -r
set-environment -g SSH_AUTH_SOCK $HOME/.ssh/agent.sock
@grahams
grahams / spring2023.md
Last active March 2, 2023 18:16
2023 Red Sox Spring Training Broadcast Schedule
DATE OPPONENT TIME TV Radio
02/24 Huskies 01:05 PM NESN
02/25 @Braves 01:05 PM NESN WEEI
02/26 Rays 01:05 PM NESN WEEI 93.7
02/27 Twins 01:05 PM NESN WEEI
02/28 @Marlins 06:40 PM NESN+ WEEI
03/01 @Astros 01:05 PM WEEI 850
03/02 Phillies 12:05 PM ESPN WEEI 850
03/03 @Twins 01:05 PM WEEI 850
@grahams
grahams / vidsnarf
Last active December 13, 2022 19:42
#!/usr/bin/env bash
OUTPUTNAME=out.mkv
if [ $# -eq 2 ]; then
OUTPUTNAME=$2
fi
ffmpeg -i "$1" -c copy "$OUTPUTNAME"

2022 Red Sox Spring Training Broadcast Schedule

DATE OPPONENT TIME TV Radio
3/17 Minnesota 1:05PM NESN WEEI 850 AM
3/18 Tampa Bay 1:05PM NESN WEEI 850 AM
3/19 @Tampa Bay 1:05PM NESN WEEI 93.7 FM
3/20 Baltimore 1:05PM NESN WEEI 93.7 FM
3/21 Atlanta 1:05PM WEEI 93.7 FM
3/22 @Tampa Bay 1:05PM BSSUN WEEI 850 AM
@grahams
grahams / .screenrc
Created December 13, 2021 21:27 — forked from bcomnes/.screenrc
ssh agent forwarding in tmux and gnu screen
# Fix agent forwarding
# https://gist.github.com/martijnvermaat/8070533
# http://techblog.appnexus.com/2011/managing-ssh-sockets-in-gnu-screen/
# See .ssh/rc for socket linking
unsetenv SSH_AUTH_SOCK
setenv SSH_AUTH_SOCK $HOME/.ssh/ssh_auth_sock.$HOSTNAME