Working with Git Repositories from Different User Accounts

Introduction Suppose you want to work with git repositories on the same machine whose remotes are authenticated with different user accounts. Maybe you have multiple GitHub accounts with different organizations, or you work with repositories from multiple hosting services like GitLab or Sourcehut. The simplest solution is to clone the repositories using HTTPS (instead of SSH). But who wants to enter a username and password for every authenticated command? This post will demonstrate an SSH-based configuration for seamless operations....

July 15, 2023

Debugging a Go Application Inside Docker Using VSCode

The ability to debug is an important tool for a developer to keep in their toolbox. While it’s ideal to debug by running the application natively, there are scenarios where this either isn’t possible or the issue must be reproduced in a particular environment. The required setup to debug a Go app running inside a Docker container is non-trivial. In this post I will walk through the configuration to achieve this using VSCode and the Delve debugger....

February 5, 2023