Skip to content

Instantly share code, notes, and snippets.

View simonpojok's full-sized avatar
🖱️
Looking For Job

Simon Peter Ojok simonpojok

🖱️
Looking For Job
View GitHub Profile
@simonpojok
simonpojok / work-with-multiple-github-accounts.md
Created September 21, 2023 08:20 — 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
let name: String = "Simon"
fibonacci(inputNumber) {
if ( inputNumber <= 1 ) {
return 1;
}
return this.fibonacci(inputNumber - 1 ) + this.fibonacci(inputNumber - 2);
}
import csv
import argparse
from collections import OrderedDict
def makeList(file=None, isSilver=False):
data = []
with open(file, 'r') as opened_file:
reader = csv.DictReader(opened_file)
if isSilver:
for row in reader: