Skip to content

Instantly share code, notes, and snippets.

View heyogrady's full-sized avatar

Patrick O'Grady heyogrady

  • Columbus, OH
View GitHub Profile
@heyogrady
heyogrady / dual-claude-code-macos-setup.md
Last active April 14, 2026 20:27
Dual Claude Code MacOS Setup Guide

Running Two Claude Code Accounts Simultaneously on macOS

A guide for running personal and work Claude Code subscriptions side-by-side on the same Mac — no logging out, no switching, both active in separate terminal windows at the same time.

Agent-Guided Setup

Paste this prompt into a Claude Code session to get walked through the setup interactively:

Read this document (https://gist.github.com/heyogrady/494a64fb26a799943346df39505f389c) and use it as the reference for setting up a second Claude Code account on this Mac. Before doing anything, ask me a few questions: what I want to call the secondary account (e.g. "work", "personal", "side-project"), what shell aliases I want for it, and which shell config file to add them to. Use my answers to customize the directory names, Keychain entry names, alias definitions, and the token refresh helper — don't just use the defaults from the doc. >

@heyogrady
heyogrady / stranger-things-season-1-skip-guide.md
Created January 10, 2026 15:28
Stranger Things Season 1 Skip Guide

Stranger Things Season One Skip Guide

A guide for watching Season 1 with kids ages 9-11, identifying scenes to fast-forward through.


Overall Assessment

Season 1 is the tamest of all Stranger Things seasons. The scares rely more on atmosphere and tension than graphic gore. That said, there are definitely moments younger viewers may find too intense.

Septic System Upgrade Analysis for Proposed Church Use in Clinton, CT

This document consolidates two prior responses:

  1. Regulatory requirements and design considerations for converting an I‑2–zoned office/warehouse in Clinton, Connecticut into a church that hosts 200–300 worshippers on Sundays.
  2. Cost estimates, budget ranges, and implementation checklist for upgrading the existing 1,000‑gallon septic system to meet those requirements.

Part 1 – Regulatory requirements and design considerations

/**
* Definition for singly-linked list.
* function ListNode(val, next) {
* this.val = (val===undefined ? 0 : val)
* this.next = (next===undefined ? null : next)
* }
*/
/**
* @param {ListNode} l1
* @param {ListNode} l2
document.addEventListener("turbo:click", () => console.log("turbo:click"));
document.addEventListener("turbo:before-visit", () => console.log("turbo:before-visit"));
document.addEventListener("turbo:visit", () => console.log("turbo:visit"));
document.addEventListener("turbo:submit-start", () => console.log("turbo:submit-start"));
document.addEventListener("turbo:before-fetch-request", () => console.log("turbo:before-fetch-request"));
document.addEventListener("turbo:before-fetch-response", () => console.log("turbo:before-fetch-response"));
document.addEventListener("turbo:submit-end", () => console.log("turbo:submit-end"));
document.addEventListener("turbo:before-cache", () => console.log("turbo:before-cache"));
document.addEventListener("turbo:before-render", () => console.log("turbo:before-render"));
document.addEventListener("turbo:before-stream-render", () => console.log("turbo:before-stream-render"));
@heyogrady
heyogrady / commission_rate_calculation.rb
Last active October 11, 2018 02:07
DotLoop mappings
## Mapping when contract is present
if contract.commission_type == "Percentage"
## Map these fields
## - commission_percentage_total
## - commission_percentage_buyer_side
## - commission_rate OR commission_percentage
else
## Map these fields
## - commission_fee_total
## - commission_fee_buyer_side
@heyogrady
heyogrady / facebook.md
Last active March 26, 2018 01:56
Facebook Graph API

Facebook Graph API

What data can we get?

  • Profile picture
  • Email address
  • Friends list
  • Feed (

Reference

<a href="http://www.pgtips.co.uk/">
<img src="http://upload.wikimedia.org/wikipedia/commons/c/c4/Lleyn_sheep.jpg" />
</a>
phabricator/ $ sudo ./bin/config set phabricator.base-uri 'http://phab.agentbright.com'
@heyogrady
heyogrady / error_log3.sh
Created August 21, 2015 15:20
the description for this gist
195 <190>1 2015-08-19T20:19:59.948736+00:00 app web.1 - -  (17.3ms) BEGIN /*application:AGENTBRIGHT,controller:nylas_accounts,action:messages*/
597 <190>1 2015-08-19T20:19:59.976407+00:00 app web.1 - - SQL (24.4ms) INSERT INTO "api_responses" ("api_type", "api_called_at", "status", "message", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" /*application:AGENTBRIGHT,controller:nylas_accounts,action:messages*/ [["api_type", "inboxapp"], ["api_called_at", "2015-08-19 20:19:59.930367"], ["status", "success"], ["message", "Successfully connected to InboxApp"], ["created_at", "2015-08-19 20:19:59.949542"], ["updated_at", "2015-08-19 20:19:59.949542"]]
195 <190>1 2015-08-19T20:19:59.980154+00:00 app web.1 - -  (2.3ms) COMMIT /*application:AGENTBRIGHT,controller:nylas_accounts,action:messages*/
298 <158>1 2015-08-19T20:20:00.230317+00:00 heroku router - - at=info method=HEAD path="/favicon.ico?_=472209376" host=beta.agentbright.com re