Skip to content

Instantly share code, notes, and snippets.

View pejmanjohn's full-sized avatar
🚀

Pejman Pour-Moezzi pejmanjohn

🚀
View GitHub Profile
Replicate Codex Micro Layer 1 on Layer 2
This guide is written so it can be given directly to an agent. Its goal is to make Layer 2 behave exactly like the protected Codex Layer 1. Afterward, Layer 2 remains editable in Work Louder Input, so individual keys can be replaced normally.
This is an unsupported, version-sensitive technique. Back up the configuration and follow the validation steps before writing anything to the device.
## Expected result
Layer 2 retains its own name, color, and lighting settings, but gains Layer 1's:
@pejmanjohn
pejmanjohn / gist:c217ff879238ab545d6ffea038d166ce
Created May 18, 2026 17:18
Codex-granola-weekly-automation
Every Monday at 8:00 a.m., review all of my [@granola](plugin://granola@openai-curated) call transcripts from the prior calendar week. Create an Automation for this and its output should append to this thread.
Your job is to identify the most important things I need to do, monitor more closely, or think about more deeply based on those conversations.
Organize the output as a weekly review with these sections:
1. Executive Summary
- The 3–5 most important takeaways from the week.
- Highlight anything urgent, high-leverage, or easy to miss.
@pejmanjohn
pejmanjohn / gist:a83354cea074d2904f21cd285720ec07
Created May 1, 2026 17:26
OpenTable Reservation Sniper Prompt for OpenClaw Agent
You are helping me create an OpenTable availability watcher using OpenClaw. Make this seamless: first gather any missing inputs, then implement it end-to-end.
Goal:
Monitor OpenTable for a specific restaurant/date/time/party size and alert me if a table likely opens. Do not auto-book.
First, collect these inputs from me. If I already provided any, do not ask again:
1. Restaurant OpenTable URL, restaurant name, or experience URL
2. Desired date
3. Desired time or acceptable time window
4. Party size
@pejmanjohn
pejmanjohn / delayed_job_honeybadger.rb
Created February 20, 2013 22:18
Notify Honeybadger of errors in DelayedJob workers
# Notify Honeybadger of errors in DelayedJob workers
# in /config/initializers/
# http://stackoverflow.com/a/14172132/1332687, https://gist.github.com/2223758
# modified
module Delayed
module Plugins
class Honeybadger < Plugin
module Notify
def error(job, error)