Skip to content

Instantly share code, notes, and snippets.

View joewarsito's full-sized avatar
🏠
Working from home

@joewarsito joewarsito

🏠
Working from home
  • Jakarta
View GitHub Profile
@prologic
prologic / LearnGoIn5mins.md
Last active August 12, 2025 02:24
Learn Go in ~5mins
@oanhnn
oanhnn / using-multiple-github-accounts-with-ssh-keys.md
Last active October 27, 2025 20:46
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.
@vitorbritto
vitorbritto / rm_mysql.md
Last active October 25, 2025 23:33
Remove MySQL completely from Mac OSX

Remove MySQL completely

  1. Open the Terminal

  2. Use mysqldump to backup your databases

  3. Check for MySQL processes with: ps -ax | grep mysql

  4. Stop and kill any MySQL processes

  5. Analyze MySQL on HomeBrew:

    brew remove mysql