Category: Tech
-
DCDBS: Easy docker-compose Databases
A common problem I tend to face when starting a project is setting up databases. Even when I use docker-compose to do the job, the steps are repetitive and configuration of each individual db is hard to remember. Thus, dcdbs. It’s a docker-compose.yml file with a bit of everything I’ve used via docker-compose. You can…
-
Find and Replace with Sed: Rename Golang Packages
I just consolidated my GitHub, Twitter and Instagram handle. They are the same as the .com domain I bought for this blog. As I renamed my GitHub handle, I also needed to fix import paths and rename golang packages hosted there. I used Sed, everybody’s (and also their parents’ and their grandparents’) favourite stream editor.…