Skip to content

Instantly share code, notes, and snippets.

View andynu's full-sized avatar

Andrew Nutter-Upham andynu

View GitHub Profile
@andynu
andynu / bdexecplan.md
Created November 24, 2025 21:24
BD (Beads) issue tracker planning and execution commands for Claude Code
description allowed-tools
execute a set of bd issues
Bash(bd:*)

Execute BD Plan Command

Overview

Execute a bd plan by working through issues with proper status tracking, commenting, and git workflow integration. Do not ask which one to start with. Start with any ready task by priority, if there is a tie, choose the first one. Please continue implementing until all ready tasks are complete, or you hit a critical question that demands a human answer.

@andynu
andynu / execplan.md
Created November 6, 2025 14:09
Plan and execution plan for slash commands

Execute Plan Command

Overview

Execute a numerically-prefixed plan file from the plans folder based on the provided argument.

Instructions

Plan Selection

  • Read the plan file with prefix matching $ARGUMENTS from the plans folder
  • Check plans/index.md to see if the plan file has changed since last worked (compare Last Modified vs Last Worked timestamps)
@andynu
andynu / start_gunicorn.sh
Created November 4, 2025 14:32
cellxgene gunicorn and uwsgi startup scripts
#!/bin/bash
# start_gunicorn.sh - Start Cellxgene Gateway with Gunicorn
#
# PREREQUISITES:
# - Gunicorn installed (included with cellxgene 1.3.0, or: pip install gunicorn)
# - Virtual environment activated or .venv present
# - .env file with CELLXGENE_LOCATION and CELLXGENE_DATA (or CELLXGENE_BUCKET)
#
# USAGE:
@andynu
andynu / filters_concern.rb
Created October 9, 2025 16:20
example concerns
require 'active_support/concern'
# The {FiltersConcern} provides a <tt>filter_params</tt> scope which takes a hash <tt>{ col1: term, col2: term }</tt>
#
# see app/assets/javascripts/filterable.js
#
# == type sensitive filtering
# * strings - fuzzy search of %term%
# * dates -
# * July - => month
@andynu
andynu / andyfortune.rb
Created September 22, 2025 20:17
andyfortune
#!/usr/bin/env ruby
# # Andy Fortune
#
# A personal quote and wisdom generator that displays random inspirational quotes
# from various sources including Lao Tzu, programming principles, and life philosophy.
#
# ## Usage
# ```bash
# andyfortune # Display a random quote
@andynu
andynu / execplan.md
Created September 3, 2025 19:06
plan/execplan claude code commands

Execute Plan Command

Overview

Execute a numerically-prefixed plan file from the plans folder based on the provided argument.

Instructions

Plan Selection

@andynu
andynu / git-log-all
Created August 21, 2025 18:43
git-log-all me last wekk - shows me what I did last week across all the git folders under cwd.
#!/usr/bin/env ruby
# # Git Log All
#
# A comprehensive git log analysis tool that generates detailed commit reports
# with time-based filtering and author-specific views. Perfect for reviewing
# development activity across different time periods.
#
# ## Features
# - Time-based commit analysis (day, week, month, year)
@andynu
andynu / tmux.conf
Created July 18, 2025 15:53
tmux.conf
# =============================================================================
# BASIC SETTINGS
# =============================================================================
set -s escape-time 1
set -g base-index 1
setw -g pane-base-index 1
set -g history-limit 10000
setw -g automatic-rename off
set-option -g focus-events on
@andynu
andynu / tmux.conf
Created February 24, 2025 20:43
tmux.conf
set -s escape-time 1
set -g base-index 1
setw -g pane-base-index 1
# un-do default
unbind C-b
unbind C-d
@andynu
andynu / linear-bulk-add
Created October 4, 2024 15:12
linear-bulk-add - Just let me paste a bulleted list to create some issues.
#!/usr/bin/env python3
import sys
import requests
import os
import json
LINEAR_API_KEY = os.environ.get('LINEAR_API_KEY')
TEAM_ID = os.environ.get('LINEAR_TEAM_ID')
if not LINEAR_API_KEY or not TEAM_ID: