Skip to content

Instantly share code, notes, and snippets.

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
Task Example File(s) from PR Likely Folder(s)
Typetree generation typetree.rs src/, src/librustc_middle/
LLVM instruction typetrees enzyme_typetree.rs src/, src/librustc_codegen_llvm/
Lowering to Enzyme (FFI) lower_typetree.rs src/, src/librustc_codegen_llvm/ffi/
Tests (not shown, but should exist) tests/, src/tests/
Docs (not shown, but should exist) docs/, README.md
Beacons and Basins: Building Your Digital Lighthouse and Community
In a world overflowing with digital noise, how do you stand out and connect meaningfully with others who share your passions? I’ve been thinking about this a lot lately, and I’ve come to frame it as the concept of beacons and basins. It’s a simple but powerful way to think about how we signal our interests to the world and create spaces to nurture those connections over time.
What Are Beacons and Basins?
A beacon is your lighthouse—a signal you send out into the world to say, “This is who I am, this is what I care about, this is what I’m curious about.” It’s your way of broadcasting your unique perspective, whether through a personal website, a social media profile, a blog post, or even a tweet in a niche community. Beacons are public, intentional, and designed to attract like-minded souls. They’re not about shouting into the void; they’re about shining a light that draws in those who resonate with your vibe.
A basin, on the other hand, is the
export const axiosParamsSerializer: AxiosRequestConfig["paramsSerializer"] = (params) => {
const newParams = [];
for (const k in params) {
if (params[k] === undefined) {
continue;
}
if (Array.isArray(params[k]) || typeof params[k] === "object") {
newParams.push(`${k}=${encodeURIComponent(JSON.stringify(params[k]))}`);
} else {
try {
throw new Error('foo');
} catch (err: unknown) {
if (err instanceof Error) {
return {
message: `Things exploded (${err.message})`,
};
}
}

issue with typeorm's save

Save function is hybrid function of insert and update, if the row exist then save will update the row, if it doesn't exist it will insert the row, which is very useful thing in many cases

save insert the relational data also, which update and insert are not able to

and update function also don't work as it should, and issue is closed because no answer from the reporter

because save does both job and updates and inserts relational data, i started using it as replacement, but issue arises when you have system in which multiple users are trying to insert data concurrently,

for example, i have serial number logic for invoices in my application, where they will get assign the same serial number, if the other user have already inserted(which i check explicitly) the data with serial then the second user will get new serial number and id making it new row with unique primary key entry,

@KMJ-007
KMJ-007 / startrek-name.md
Last active February 28, 2023 04:28
just storing the name which i like they can be from plants to character names to anything
  • Talos
  • Murf
  • Gorn
  • Metrons
  • Omicron
  • Ekos
  • Zeon
@KMJ-007
KMJ-007 / sexEducationForTeenagersByGPT-3.md
Last active January 22, 2023 11:32
we created textbook on sex education using gpt 3, which cost us around $1.75

What topic would you like a textbook on? Sex EducationFor teenagers Outliner output for topic Sex EducationFor teenagers:

  1. Introduction to Sex Education
  2. Physical Changes During Puberty
  3. Sexual Health & Safety
  4. Reproductive Anatomy & Physiology
  5. Contraceptive Options
  6. STI Prevention & Testing
  7. Gender Identity & Sexual Orientation
  8. Healthy Relationships
import { useEffect } from 'react'
import { useState } from 'react'
import Heater1 from "./music/Heater1.mp3"
import Heater2 from "./music/Heater2.mp3"
import Heater3 from "./music/Heater3.mp3"
import Heater4 from "./music/Heater2.mp3"
import clap from "./music/Clap.mp3"
import Open_HH from "./music/Open_HH.mp3"
import Kick_n_Hat from "./music/Kick_n_Hat.mp3"
import Kick from "./music/Kick.mp3"

date: 23rd oct

  • adding subagent selection in buyer and seller selection in invoice
  • finishing todo and fix me in invoice and order
  • adding empty subagent filed in magic invoice
  • adding salesman in invoice and order if not implmented
  • fixing product details in clientcompany creation by magic invoice
  • Default salesman based on buyer in magic invoice
  • fixing error handling(as of now impiment vercel trick)
  • giving sync button