Skip to content

Instantly share code, notes, and snippets.

@yayiji
yayiji / work-with-multiple-github-accounts.md
Created October 29, 2025 10:22 — forked from rahularity/work-with-multiple-github-accounts.md
How To Work With Multiple Github Accounts on your PC

How To Work With Multiple Github Accounts on a single Machine

Let suppose I have two github accounts, https://github.com/rahul-office and https://github.com/rahul-personal. Now i want to setup my mac to easily talk to both the github accounts.

NOTE: This logic can be extended to more than two accounts also. :)

The setup can be done in 5 easy steps:

Steps:

  • Step 1 : Create SSH keys for all accounts
  • Step 2 : Add SSH keys to SSH Agent
@font-face {
font-family: 'Netflix Sans';
font-weight: 100;
font-display: optional;
src: url(https://assets.nflxext.com/ffe/siteui/fonts/netflix-sans/v3/NetflixSans_W_Th.woff2) format('woff2'),url(https://assets.nflxext.com/ffe/siteui/fonts/netflix-sans/v3/NetflixSans_W_Th.woff) format('woff')
}
@font-face {
font-family: 'Netflix Sans';
@yayiji
yayiji / oneshot.edn
Last active September 7, 2022 15:07
Oneshot Implementation by Karabiner-Elements
{:profiles
{:oneshot {:default true
:alone 300 ;
:held 150 ;
:delay 500 ; time after which the key press is delayed
:sim 50}} ; keys need to be pressed within this threshold to be considered simultaneous
:main [{:des "Symbol Mode"
:rules [:symbol-mode
[:q :grave_accent_and_tilde]
@yayiji
yayiji / SpaceFn.json
Created March 13, 2022 12:33 — forked from tshu-w/SpaceFn.json
Karabiner Elements config to simulate SpaceLauncher
{
"title": "SpaceFN",
"rules": [
{
"description": "SpaceFN: Space enables SpaceFN mode (see: https://geekhack.org/index.php?topic=51069.0)",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "spacebar"