Skip to content

Instantly share code, notes, and snippets.

@brandonkrull
brandonkrull / matchups.py
Created September 5, 2017 23:55
Get ESPN's Matchup Predictions for 2017 NFL Seasons
"""
Hacky parse through ESPN's NFL schedule page.
"""
import pickle
import requests
from collections import namedtuple
from bs4 import BeautifulSoup as bs
base_url = 'http://www.espn.com'
Stats = namedtuple('Stats', ['home', 'home_val', 'away', 'away_val', 'score'])
@brandonkrull
brandonkrull / transfer.fish
Created June 21, 2018 17:15
transfer.fish: fish function wrapper to transfer.sh
function transfer
if test (count $argv) -eq 0
echo "No arguments specified. Usage:"
echo "transfer /tmp/test.md"
echo "cat /tmp/test.md | transfer test.md"
return 0
end
set tmpfile (mktemp -t transferXXX)

Keybase proof

I hereby claim:

  • I am brandonkrull on github.
  • I am brandonk (https://keybase.io/brandonk) on keybase.
  • I have a public key ASBCED4LsEjs98ZbmxSbEdyv4RtR2kRYXgnJgIAijKfyzAo

To claim this, I am signing this object:

@brandonkrull
brandonkrull / getLinearInfo.js
Created January 23, 2025 17:54
Script to generate linear metadata info
#!/usr/bin/env node
import { LinearClient } from "@linear/sdk";
import dotenv from "dotenv";
const README = `
# Linear Team Info Extractor
-------------------------
Setup:
@brandonkrull
brandonkrull / prompt.md
Created July 2, 2025 16:16
Weekly Development Analysis

Advanced Weekly Development Analysis

Use the gh CLI to generate a comprehensive weekly development intelligence report that goes far beyond basic commit summaries.

Multi-Dimensional Analysis Framework

1. Code Contribution Intelligence

Data Collection:

  • All commits from the past week with full diff analysis
  • Pull requests created, reviewed, and merged