Skip to content

Instantly share code, notes, and snippets.

View errhythm's full-sized avatar

Ehsanur Rahman Rhythm errhythm

View GitHub Profile
@pffigueiredo
pffigueiredo / claude-code-sheet.md
Last active November 25, 2025 17:34
Claude Code Sheet Sheet

Claude Code

Plan Mode

  • Shift + tab + tab
  • Use “opus” for planning and Sonnet for everything else, /model

Multi Agent Parallel Tasks

@chandika
chandika / FACTORY_PROXY_CC.md
Last active December 10, 2025 19:04 — forked from ben-vargas/FACTORY_CLIProxyAPI_Claude_ChatGPT.md
Factory CLI with Claude Subscription / ChatGPT Codex via CLIProxyAPI

Executive Summary

This guide documents how to use Factory's Droid CLI with your Claude Code Max subscription (OAuth authentication) instead of pay-per-token API keys. The solution leverages CLIProxyAPI as a transparent authentication proxy that converts API key requests from Factory CLI into OAuth-authenticated requests for Anthropic's API.

Architecture Overview

Factory CLI → [Anthropic Format + API Key] → CLIProxyAPI → [Anthropic Format + OAuth] → Anthropic API
                                                  ↓
 (Auth Header Swap)

Manage Multiple Claude Code Accounts

Run two Claude Code accounts simultaneously on macOS without re-authenticating by using separate configuration directories.

Steps

  1. Create Separate Config Directories
    mkdir ~/.claude-account1
    mkdir ~/.claude-account2
@mrl22
mrl22 / README.md
Last active September 17, 2025 10:36
PHP 8.2 Support for Apache and NGINX (OpenResty) on Moss.sh

NO LONGER WORKS DUE TO PHP 8.2 BEING REMOVED FROM PPA:ONDREJ/PHP

Do not copy and paste this code, it requires changes

Other PHP versions available here: https://gist.github.com/search?q=user%3Amrl22+moss

As of writing this, Moss.sh does not support PHP 8.2 via the control panel even though Ubuntu does.

Set up your website using Moss.sh and select Apache with PHP 7.4.