Run two Claude Code accounts simultaneously on macOS without re-authenticating by using separate configuration directories.
- Create Separate Config Directories
mkdir ~/.claude-account1 mkdir ~/.claude-account2
| #include<stdio.h> | |
| #include<stdlib.h> | |
| #include<math.h> | |
| #include<string.h> | |
| #include<time.h> | |
| #define B 8 | |
| #define E 32 | |
| #define H 64 | |
| #define V 27 |
| """ | |
| The most atomic way to train and run inference for a GPT in pure, dependency-free Python. | |
| This file is the complete algorithm. | |
| Everything else is just efficiency. | |
| @karpathy | |
| """ | |
| import os # os.path.exists | |
| import math # math.log, math.exp |
| #!/bin/bash | |
| # Claude Code Multi-Account Switcher | |
| # Usage: ./claude-switch-multi.sh [account1|account2|account3|save-current|list|status] | |
| CLAUDE_DIR="$HOME/.claude" |
| // ==UserScript== | |
| // @name GitHub: remove `?tab=readme-ov-file` from URL | |
| // @description GitHub: remove `?tab=readme-ov-file` from URL | |
| // @namespace https://gist.github.com/vogler | |
| // @downloadURL https://gist.github.com/vogler/74edff6de37c3a13eeff8c99c6bed910/raw/clean-url-readme-tab.github.com.tamper.js | |
| // @version 0.1 | |
| // @author Ralf Vogler | |
| // @match https://github.com/* | |
| // @icon https://www.google.com/s2/favicons?sz=64&domain=github.com | |
| // @grant none |
| import React from "react"; | |
| import { | |
| Canvas, | |
| Skia, | |
| Shader, | |
| Fill, | |
| vec, | |
| useTouchHandler, | |
| useValue, | |
| useComputedValue, |
If you are using this already, consider changes soon due the discussion around current ESX proposal.
Feel free to keep an eye on udomsay as that will be the implementation reference for consumers.
| /* | |
| Made by Elly Loel - https://ellyloel.com/ | |
| With inspiration from: | |
| - Josh W Comeau - https://courses.joshwcomeau.com/css-for-js/treasure-trove/010-global-styles/ | |
| - Andy Bell - https://piccalil.li/blog/a-modern-css-reset/ | |
| - Adam Argyle - https://unpkg.com/open-props@1.3.16/normalize.min.css / https://codepen.io/argyleink/pen/KKvRORE | |
| Notes: | |
| - `:where()` is used to lower specificity for easy overriding. | |
| */ |
These work in Firefox and Chrome, where %s is replaced with the search query. For Raycast and Alfred, the %s should be replaced with {query}. For more details also see my blogpost.
I recommend picking keywords that are easy to memorize, like am=Amazon, an=Anaconda, gi=Github,... and switching to three letters when the two letter abbreviation appears to commonly in a sentence (eg goi=Google images, gom=Google Maps).