Skip to content

Instantly share code, notes, and snippets.

View RichStone's full-sized avatar
🐙
Summoning

Rich Steinmetz RichStone

🐙
Summoning
View GitHub Profile
#!/usr/bin/env ruby
# parallel-agent: Run multiple Claude Code agents in parallel using git worktrees
#
# WHY THIS SCRIPT EXISTS:
# 1. Run multiple Claude Code agents simultaneously for different tasks
# 2. Execute long-running agent tasks in a non-blocking way
# 3. Work on multiple features/branches without switching contexts
# 4. Isolate agent work to prevent conflicts between concurrent tasks
#
@RichStone
RichStone / google_analytics_generate_lead_events.rb
Created May 20, 2025 09:57
Testing Google Analytics events
#!/usr/bin/env ruby
require 'net/http'
require 'uri'
require 'json'
require 'time'
# Configuration
measurement_id = 'G-5DCEF2GTP6'
api_secret = 'ivlym-UzRG--OhBZ9h7P9g'
@RichStone
RichStone / msao
Created December 11, 2024 15:54
`make start-all-overmind` hacked out
#!/bin/bash
# Check if cloudflared is running
if ! pgrep -f "cloudflared tunnel"; then
cloudflared tunnel --loglevel debug run --url http://localhost:5010 richsteinmetzlocaldev &
else
echo "cloudflared is already running."
fi
# Check if webpacker-start is running
@RichStone
RichStone / your-first-clickfunnels-request.sh
Last active October 29, 2023 14:53
How to make your first API request with ClickFunnels 🎉
$ curl 'https://localteam.myclickfunnels.test/api/v2/teams' \
--header 'Authorization: Bearer VZeIl6IkzMQCdfSBQdvjSb7-KLllCKrE390QMKcmC6M'
[
{
"id": 3,
"name": "Richard Steinmetz's Team",
# more team information output...
@RichStone
RichStone / start new rails app.md
Last active August 29, 2021 06:50
Start a new Rails app

Start a new Rails app

Spin it up

$ cd code/github

$ rbenv global 3.0.0

$ gem update rails
@RichStone
RichStone / autoreplier.py
Created October 30, 2018 20:46 — forked from yi-jiayu/autoreplier.py
Automatic replies for Telegram
import time
from telethon import TelegramClient, events
# sample API_ID from https://github.com/telegramdesktop/tdesktop/blob/f98fdeab3fb2ba6f55daf8481595f879729d1b84/Telegram/SourceFiles/config.h#L220
# or use your own
api_id = 17349
api_hash = '344583e45741c457fe1862106095a5eb'
# fill in your own details here
phone = 'YOUR_PHONE_NUMBER'
@RichStone
RichStone / stopwatch.py
Created July 18, 2018 17:32 — forked from igniteflow/stopwatch.py
A simple stopwatch implemented in Python
import datetime
class Timer(object):
"""A simple timer class"""
def __init__(self):
pass
def start(self):
"""Starts the timer"""
echo "MA EXAMPLE"
echo "here:"
variable=$(yum --version)
echo "here comes the VAR"
echo $variable
echo "end of code"
@RichStone
RichStone / Scraping and Comparing Historical Weather Data.ipynb
Last active August 21, 2017 18:51
This is an exploratory jupyter notebook which guides a beginner through scraping and statistical analysis of historical weather data to compare Berlin's and Moscow's weather.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.