Skip to content

Instantly share code, notes, and snippets.

/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain user
@vancaem
vancaem / config: macOS apps I use.txt
Created June 18, 2019 21:27
Output of `ls /Applications | pbcopy`
1Password 7.app
2Do.app
Actual.app
Affinity Designer.app
Affinity Photo.app
Airtable.app
Alfred 3.app
Alfred Metadata Tool.app
Anki.app
Annotate.app
@vancaem
vancaem / Stringsdict-Xcode-file-template:.md
Created December 14, 2021 14:20
Stringsdict-Xcode-file-template:

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.