Skip to content

Instantly share code, notes, and snippets.

View prateek's full-sized avatar

Prateek Rungta prateek

View GitHub Profile
@prateek
prateek / getOpenTabs.sh
Created December 28, 2022 04:33 — forked from NoahCardoza/getOpenTabs.sh
[OSX] Lists the URLs of all the open tabs in a specified browser.
#!/bin/bash
# args: browser
# example: ./getOpenTabs.sh "Brave Browser"
# credits:
# https://gist.github.com/samyk/65c12468686707b388ec43710430a421
# TODO:
# validate args
# don't open app if not already open
@prateek
prateek / README.md
Last active January 20, 2026 05:17
Using Ralph: AFK Codex loop + PRD/progress workflow

Using Ralph (AFK loop)

This gist contains:

  • ralph-loop.sh: runs Codex in an autonomous loop that repeatedly:
    1. picks the highest-priority task from PRD.md + progress.txt
    2. implements only that task
    3. runs tests/typechecks
    4. updates PRD.md and appends to progress.txt
    5. commits
  1. stops when a “promise” file is created