Skip to content

Instantly share code, notes, and snippets.

@rahularity
rahularity / work-with-multiple-github-accounts.md
Last active December 5, 2025 06:44
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
@IaroslavR
IaroslavR / gist:cca8170357adebefbe97
Last active January 7, 2025 23:08
install last poppler to Amazon Linux
sudo yum install fontconfig fontconfig-devel
wget http://downloads.sourceforge.net/project/openjpeg.mirror/1.5.0/openjpeg-1.5.0.tar.gz?r=&ts=1443868025&use_mirror=netcologne
tar -xvf openjpeg-1.5.0.tar.gz\?r\=
cd openjpeg-1.5.0
./configure
make
sudo make install
cd ..
POPPLER='poppler-0.47.0'
wget https://poppler.freedesktop.org/$POPPLER.tar.xz