plzhans @plzhans

A blog documenting the troubleshooting behind things I've built.

GitHub LinkedIn code mail rss

Categories
Tags

Posts

Setting Up OpenClaw
Setting Up OpenClaw A summary of installing OpenClaw (OpenClaw AI agent framework) locally and configuring the model, channel, and skills through onboard. Follow along with the Telegram bot authentication and security …
AI Feb 23, 2026
Clearing DNS Cache on Windows/Linux/macOS
Clearing DNS Cache on Windows/Linux/macOS When DNS changes fail to appear, flush the cache on Windows, Linux, and macOS with ipconfig, resolvectl, and mDNSResponder commands, and check TTL and browser caches to diagnose propagation delays …
Networking Feb 22, 2026
Encrypting .env Files with GPG for Safe Commits
Encrypting .env Files with GPG for Safe Commits A guide to encrypting .env files with GPG to prevent secret exposure when you need to commit them to Git. Covers everything from .gitignore handling to gpg encrypt/decrypt commands and setting a …
Git Feb 16, 2026
Signing Git Commits with GPG
Signing Git Commits with GPG Learn how to apply GPG signatures to Git commits and earn the Verified badge - from installing GnuPG and generating or exporting keys to enabling automatic commit signing, verifying locally, …
Git Feb 16, 2026
Adding Multilingual Support to a Hugo Site
Adding Multilingual Support to a Hugo Site A summary of how to configure baseURL, sitemap, robots, JSON-LD, Open Graph, and meta description in a Hugo multilingual blog, and how to prevent duplicate-content issues with hreflang and canonical. …
Web Feb 11, 2026
Building a Blog with Hugo + GitHub
Building a Blog with Hugo + GitHub A walkthrough of building a personal blog using the Notion → Markdown conversion → Hugo build → GitHub Pages deployment flow. Follow along with Hugo installation, applying the m10c theme, automated …
Web Feb 10, 2026
Using a Custom Domain with GitHub Pages
Using a Custom Domain with GitHub Pages This post summarizes the CNAME/A/AAAA record settings and the Pages Custom domain setup steps needed to connect a custom domain to GitHub Pages. It also covers the difference in how the CNAME file is …
Web Feb 10, 2026
Redis dump vs aof
Redis dump vs aof Compare Redis persistence options (RDB/Dump, AOF, and Hybrid AOF) along with key redis.conf settings, BGSAVE/fsync/COW impacts, and selection criteria that balance data loss risk with restart time.
Database Jun 10, 2025
Setting up multiple Git accounts ssh config alias vs gitconfig includeIf
Setting up multiple Git accounts ssh config alias vs gitconfig includeIf This guide explains how to route SSH keys with ~/.ssh/config aliases and how to split commit author settings per folder with ~/.gitconfig includeIf in a multi-account Git setup. Use it to reduce …
Git May 15, 2025
Accessing Git remotes over SSH: from key generation to registration
Accessing Git remotes over SSH: from key generation to registration A complete walkthrough for connecting to Git remotes via SSH. Compare HTTPS vs SSH, generate Ed25519 keys, set proper chmod permissions, register the public key on GitHub/GitLab, and verify with ssh …
Git Feb 16, 2025
Git Deleted Branch Recovery: Bringing It Back with reflog and fsck
Git Deleted Branch Recovery: Bringing It Back with reflog and fsck A step-by-step guide to finding and recovering a deleted Git branch using reflog. Also covers how to find dangling commits with git fsck --lost-found when reflog has expired and has no record, along …
Git Jan 9, 2025
HTTPS TLS/SSL Free vs Paid Certificates
HTTPS TLS/SSL Free vs Paid Certificates Compare TLS/SSL certificate issuance flows across free (ACME/Let's Encrypt), paid, and cloud-managed options, and design renewal automation plus termination point minimization to reduce cost and …
Web Mar 17, 2022
How to fix missing TortoiseGit icon overlays on Windows
How to fix missing TortoiseGit icon overlays on Windows When Windows Explorer hides TortoiseGit status icons, check the ShellIconOverlayIdentifiers limit and priority. Clean up the registry and restart Explorer to bring the overlays back instantly.
Git Feb 27, 2021
Fixing TortoiseGit Authentication Errors: How to Clear Saved Authentication Data
Fixing TortoiseGit Authentication Errors: How to Clear Saved Authentication Data A walkthrough of how to fix repeated Authentication failed errors in TortoiseGit by clearing saved authentication data via Clear in Saved Data. Covers cleaning up the Windows Credential Manager, …
Git Sep 3, 2020
How to migrate SVN to Git: git svn clone
How to migrate SVN to Git: git svn clone A quick guide to using git svn clone when migrating an SVN repository to Git. Learn how to prepare an authors file, what the -s (std-layout) option means, and which install links and verification …
Git Dec 1, 2019
Completely removing leaked secrets from Git history with git filter-repo (force push and resync)
Completely removing leaked secrets from Git history with git filter-repo (force push and resync) Step-by-step procedure for wiping .env files, secrets, and tokens from Git history with git filter-repo. Define filter rules, validate the rewritten history, force-push the new graph, resync every …
Git May 18, 2019
How to Set Tabs to 4 Spaces in MySQL Workbench
How to Set Tabs to 4 Spaces in MySQL Workbench This post summarizes how to configure the Indentation setting in MySQL Workbench so that tab input is converted to 4 spaces. It also covers batch-converting SQL files that already contain tabs using …
Database May 17, 2019