Skip to content

Instantly share code, notes, and snippets.

How to run Multiple Claude Code Accounts

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

Notes

  • Requires separate Anthropic accounts (different emails).
  • Update Claude Code: npm install -g @anthropic-ai/claude-code.
  • If re-authentication occurs, verify CLAUDE_CONFIG_DIR with echo $CLAUDE_CONFIG_DIR.
@Lucas-mother3
Lucas-mother3 / flash-linux.md
Last active January 11, 2026 08:19
A guide to run Adobe Flash in 2024 under Linux

A guide to set up Basilisk with working Adobe Flash after 2021 (under Linux)

Updated: February 05, 2024

Some PSA

Do not follow this guide unless you acknoweldge that you are likely more prone to security vulnerabilities.

Since Adobe killed off Flash including security updates (except Mainland China), this guide would lead your Linux system to be more vulnerable to attacks.

@mikaeldui
mikaeldui / Proton VPN IPv6 Manual Setup.md
Last active January 11, 2026 08:18
Proton VPN IPv6 Manual Setup

Proton VPN IPv6 Manual Setup

Over 80% of the servers support IPv6 but only the Linux & Android apps and the browser extension support it at the moment.

The Linux app supports IPv6 over the VPN but still connects to the VPN server using IPv4.

It's possible to make changes to the WireGuard configs that you can get from https://account.protonvpn.com/downloads to enable IPv6.

An easy way to test if a server supports IPv6 is to use the browser extension and then go to myip.wtf or test-ipv6.com, or you could check the list at https://mikaeldui.github.io/proton-vpn-server-list/.

@brentsimmons
brentsimmons / NSMenuItem+RSCore.swift
Created January 6, 2026 04:11
Disable all menu item images in a Mac app.
//
// NSMenuItem+RSCore.swift
// RSCore
//
// Created by Brent Simmons on 1/5/26.
//
#if os(macOS)
import AppKit
import ObjectiveC
@RichardHightower
RichardHightower / artcile.md
Last active January 11, 2026 08:13
Claude Code Agents to OpenCode Agents

Migrating AI Agents: A Systematic Approach to Cross-Platform Architecture

How systematic methodology and architectural understanding enabled the successful migration of 12 specialized AI agents between platforms, creating reusable patterns for future migrations


The Migration Challenge

Migrating AI agents between platforms isn't just a technical exercise—it's an architectural transformation. When you port agents from one system to another, you're not simply copying code; you're translating between different philosophies of agent interaction, tool management, and capability expression.

// ==UserScript==
// @name No YouTube Volume Normalization
// @namespace https://gist.github.com/abec2304
// @match https://www.youtube.com/*
// @match https://music.youtube.com/*
// @grant GM_addElement
// @version 2.74
// @author abec2304
// @description Enjoy YouTube videos at their true volume
// @run-at document-start
@kgalang
kgalang / ralph-clarify.md
Created January 2, 2026 15:35
/ralph-clarify claude code command
Error in user YAML: (<unknown>): did not find expected key while parsing a block mapping at line 1 column 1
---
description: Comprehensive requirements discovery via iterative questioning
argument-hint: "topic to clarify" [--max-iterations N]
---

Ralph Clarify: Iterative Discovery Loop

Use the Ralph loop to exhaustively gather requirements through structured questioning. The loop pressure overrides the natural tendency to stop asking after 3-5 questions.

Parse Arguments

@avilum
avilum / antigravity-tools.md
Created November 23, 2025 11:34
AntiGravity (Google Browser) Reverse Engineering Tools step by step

Reverse Engineering AntiGravity browser (Step by Step)

AntiGraviti tools parsed based on reverse engineering and ParseToolArgs structs found in the binary. We need strings, the juice is in the DATA block and not in the code.

I have used the following commands on my MacOS:

1. Extract strings to file for faster iterations
# strings /Applications/Antigravity.app/Contents/Resources/app/extensions/antigravity/bin/language_server_macos_arm > ~/Downloads/language_server_macos_arm_strings.txt

2. Search tools
@ryusas
ryusas / workspaceControl.py
Created April 18, 2017 06:57
A simple example to avoid the issue of Maya 2017 workspaceControl.
# coding: utf-8
u"""
Maya 2017 workspaceControl の問題回避のサンプル
workspaceControl workspaceControlState のゴミが残らないようにする
retain=False の場合でも何故か state のゴミが残ってしまうが
scriptJob workspaceControl の削除を監視して state も同時に削除するようにする
retain=True の場合はUI が閉じたとしても state は残って良いはずなので監視はしない