$ cd code/github
$ rbenv global 3.0.0
$ gem update rails
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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 | |
| # |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env ruby | |
| require 'net/http' | |
| require 'uri' | |
| require 'json' | |
| require 'time' | |
| # Configuration | |
| measurement_id = 'G-5DCEF2GTP6' | |
| api_secret = 'ivlym-UzRG--OhBZ9h7P9g' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ curl 'https://localteam.myclickfunnels.test/api/v2/teams' \ | |
| --header 'Authorization: Bearer VZeIl6IkzMQCdfSBQdvjSb7-KLllCKrE390QMKcmC6M' | |
| [ | |
| { | |
| "id": 3, | |
| "name": "Richard Steinmetz's Team", | |
| # more team information output... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import datetime | |
| class Timer(object): | |
| """A simple timer class""" | |
| def __init__(self): | |
| pass | |
| def start(self): | |
| """Starts the timer""" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| echo "MA EXAMPLE" | |
| echo "here:" | |
| variable=$(yum --version) | |
| echo "here comes the VAR" | |
| echo $variable | |
| echo "end of code" |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.