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
| #!/bin/bash | |
| # Claude Desktop Multi-Instance Launcher | |
| # | |
| # Uses Electron's --user-data-dir flag to run fully isolated instances. | |
| # Each instance gets its own data directory (config, VM bundles, SDK, sessions). | |
| # | |
| # Usage: | |
| # ./claude_quick.sh # Show interactive menu | |
| # ./claude_quick.sh <instance> # Launch named instance |
The first step is to use the Expo CLI to initialize the project. If you don't have the latest version of the Expo CLI tool, (or you don't have it installed) run npm install -g expo-cli.
Now run the following commands in the same order:
expo init my-app -t expo-template-blank-typescriptnpx install-peerdeps --dev eslint-config-airbnbnpm i --save-dev @typescript-eslint/parser @typescript-eslint/eslint-pluginnpm i --save-dev prettier eslint-config-prettier eslint-plugin-prettierCreate or edit the file .eslintrc.json with the following content:
Attention Wamp/Wordpress/windows users. I had this issue for hours and not even the correct answer was doing it for me, because I was editing the wrong php.ini file because the question was answered to XAMPP and not for WAMP users, even though the question was for WAMP.
here's what I did
Download the certificate bundle.
Put it inside of C:\wamp64\bin\php\your php version\extras\ssl
| # Replace any brackets with real values | |
| # Try to ssh in to DREAMHOST (ensure it no longer asks for a PW); you may want to restart Terminal | |
| ssh [user]@[host] | |
| cd ~ | |
| mkdir [mydomain_com].git | |
| cd [mydomain_com].git | |
| git init --bare | |
| vi hooks/post-receive | |
| # Enter the code from the "post-receive" file (in this gist); save + quit |
| <?php | |
| /* | |
| Plugin Name: Rewrite Rule Tutorials | |
| */ | |
| add_action( 'init', 'pmg_rewrite_add_rewrites' ); | |
| function pmg_rewrite_add_rewrites() | |
| { | |
| add_rewrite_endpoint( 'json', EP_PERMALINK ); | |
| add_rewrite_rule( |