Setup Multiple SSH Keys for Multiple GitHub Accounts

Imagine this scenario, you have 3 GitHub accounts, each have their own purposes. Account A for full time work, account B for portfolio projects and account C for personal projects. Whenever you are going to switch between repo in different accounts, you will need to use a different SSH keys…

Golang sqlx PostgreSQL Get Last Inserted Row ID

Sometime after inserting a row, we might need to get the id usually for creating referenced table with foreign key of id. We can try to use db.NamedExec or db.Exec to do the operation since it will return a sql.Result interface which have LastInsertId() method inside it.…

Fix TP-Link TL-WN722N Not Working on Linux

This issue has been bugging me since last year. It started when I am still running Linux Mint, suddenly after an update, my wireless adapter stop working suddenly. I try to find a way to fix it on Google, but did not found any working solutions. Because I am quite…