Writing on software development, cybersecurity, and everything in between.

All of my notes and brain dumps about programming, cybersecurity, and other things I find interesting in tech, collected in chronological order.

Disable 2FA on Self Hosted Gitlab

Last time, I lost login access to my self-hosted GitLab instance where I was the only admin. 2FA kept failing because the server’s date and time were incorrect (which I didn’t realize until after clearing 2FA). I was confused about why 2FA wasn’t working, so the first thing I did was clear the 2FA configuration. Here’s how I did it:

Create A Website on Onion Domain

Lately, I’ve been playing around with ways to keep my online activity more private: onion domains. These are special websites you can access using the Tor network, and they keep both the site owner and visitors anonymous.

Reset root password MySQL/MariaDB

I run into this problem all the time, especially after not touching a database directly for a while — and foolishly, I always forget how to fix it. So I’m writing it down here, so the next time I forget, I know where to look.