Skip to content

Instantly share code, notes, and snippets.

View j0nl1's full-sized avatar
🌖
Ex nihilo nihil fit

Javier Aceña j0nl1

🌖
Ex nihilo nihil fit
View GitHub Profile
@oanhnn
oanhnn / using-multiple-github-accounts-with-ssh-keys.md
Last active July 30, 2024 19:30
Using multiple github accounts with ssh keys

Problem

I have two Github accounts: oanhnn (personal) and superman (for work). I want to use both accounts on same computer (without typing password everytime, when doing git push or pull).

Solution

Use ssh keys and define host aliases in ssh config file (each alias for an account).

How to?

  1. Generate ssh key pairs for accounts and add them to GitHub accounts.
@kevin-smets
kevin-smets / iterm2-solarized.md
Last active July 28, 2024 22:14
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)

Default

Default

Powerlevel10k

Powerlevel10k