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
Warning
This was created around 2025-05-20, so the information may be out of date. Please refer to the official documentation first. Claude Code IDE integrations (Official Docs)
Since the official documentation method doesn't work for Cursor IDE, here's a working solution.
Note: This workaround likely works for other Visual Studio Code forks (including popular forks like Cursor and Windsurf) that support VSIX extensions but aren't automatically detected by Claude Code.
This Github Action workflow along with the rest of these files/scripts will allow you to create a Tag as well as a Release with the release notes set to the text added in the body of the merge comment when a pull request is merged.
Merge comment title needs to contain the text "release" or else the workflow will not run (see line 11 of create-release.yml).
Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...
// see: https://github.com/chadoe/docker-cleanup-volumes
$ docker volume rm $(docker volume ls -qf dangling=true)
$ docker volume ls -qf dangling=true | xargs -r docker volume rm
user nginx; | |
worker_processes 1; #2 | |
error_log /var/log/nginx/error.log; | |
pid /run/nginx.pid; | |
worker_rlimit_nofile 20000; | |
events { | |
worker_connections 10000; | |
multi_accept on; | |
accept_mutex on; |
Sublime Text 2 ships with a CLI called subl (why not "sublime", go figure). This utility is hidden in the following folder (assuming you installed Sublime in /Applications
like normal folk. If this following line opens Sublime Text for you, then bingo, you're ready.
open /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl
You can find more (official) details about subl here: http://www.sublimetext.com/docs/2/osx_command_line.html
<?php | |
namespace App\Http\Controllers; | |
use Illuminate\Http\Request; | |
trait RestControllerTrait { | |
/** | |
* Manage index request |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"