plzhans @plzhans

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

GitHub LinkedIn code mail rss

Categories
Tags
Latest Posts Popular Posts
How to Install WireGuard and Set Up Client Connections
How to Install WireGuard and Set Up Client Connections Explains how to install WireGuard VPN on a Linux server, covering key generation, firewall opening, and service registration. Includes Mac client conf setup and GUI connection verification steps to help you build a secure remote access environment.
networking 2026-07-10
Local AI/LLM Infrastructure Guide A guide to setting up a local LLM server with Ollama, then connecting Claude Code you already use to run on top of it.
ai 2026-09-03
How to Use Claude Code with Ollama Local LLMs
How to Use Claude Code with Ollama Local LLMs Explains how to connect Claude Code to an Ollama local LLM. Covers the Claude-compatible API, environment variables, model selection, and when you need a LiteLLM proxy.
ai 2026-07-03
Resolving Naver Map Open API Authentication Failure (200): Changing ncpClientId to ncpKeyId
Resolving Naver Map Open API Authentication Failure (200): Changing ncpClientId to ncpKeyId This post summarizes the cause of the Authentication Failed (200) error in the Naver Map Open API. It covers how console integration changed ncpClientId, govClientId, and finClientId to ncpKeyId, as well as the web service URL registration rules that require excluding the port and URI.
cloud 2026-03-24
How to Back Up Telegram Chats - Export to zip From Your Browser, No Install Required
How to Back Up Telegram Chats - Export to zip From Your Browser, No Install Required Unlike Telegram's official export, this browser-based backup tool lets you specify a date range, select specific chats, view messages as chat bubbles, and anonymize data. It works instantly with no installation, and since no server is involved, your login information never leaves your browser.
etc 2026-07-27
4 Security Headers Flagged by an SEO Audit — Applying Them on Cloudflare Without Code
4 Security Headers Flagged by an SEO Audit — Applying Them on Cloudflare Without Code Explains why SEO audit reports flag HSTS, CSP, X-Content-Type-Options, and Referrer-Policy, and what each header actually does. Covers splitting fixed-value headers into Cloudflare Transform Rules while managing the frequently-changing CSP via an HTML meta tag, and why X-Frame-Options is still needed since meta can't handle frame-ancestors.
web 2026-08-30
How to Issue a Free SSL Certificate on Synology DSM | Automatic Let’s Encrypt Renewal with acme.sh + Cloudflare DNS
How to Issue a Free SSL Certificate on Synology DSM | Automatic Let’s Encrypt Renewal with acme.sh + Cloudflare DNS A guide to issuing and auto-renewing a Let's Encrypt free SSL certificate on Synology DSM using acme.sh and Cloudflare DNS validation. Covers synology_dsm deploy-hook setup and troubleshooting 2FA and hostname errors.
etc 2026-05-16
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 warning checkpoints to run the agent safely.
ai 2026-02-23
How to Integrate Samsung SmartThings API - From CLI Installation to OAuth Authentication
How to Integrate Samsung SmartThings API - From CLI Installation to OAuth Authentication A step-by-step guide covering CLI installation, OAuth app creation, Redirect URI configuration, token issuance, and device listing for Samsung SmartThings API integration.
etc 2026-06-29
How to Create an Oracle Cloud Always Free A1 Instance - Public IP Connection and SSH Security Setup
How to Create an Oracle Cloud Always Free A1 Instance - Public IP Connection and SSH Security Setup A step-by-step guide to creating an Oracle Cloud Always Free A1 (ARM) instance. Covers everything from selecting the free spec to connecting a public IP, setting up an SSH key, and restricting SSH port 22 with a VCN Security List and NSG.
cloud 2026-07-10
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 quickly.
networking 2026-02-22
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, checking credential.helper, preparing a PAT, and switching to SSH.
git 2020-09-03
age Usage Guide: Encrypt Team Secret Files with Recipients and Decrypt with Private Keys
age Usage Guide: Encrypt Team Secret Files with Recipients and Decrypt with Private Keys A guide to encrypting team secret files with public keys (recipients) and decrypting them with private keys using age. Covers key generation, recipients management, differences from GPG, and why re-encryption is needed when team members change.
security 2026-05-01
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 operational risk.
web 2022-03-17
Automating Claude Account Switching
Automating Claude Account Switching This post summarizes how to quickly switch between Claude Code accounts without logging out. It covers an automation script that backs up and swaps macOS Keychain credentials using the security command, along with how to use dedicated tools like claudini and CCSwitcher.
ai 2026-03-26
Mac Office Activation Guide | Install LTSC with Volume License VL Serializer
Mac Office Activation Guide | Install LTSC with Volume License VL Serializer A step-by-step guide to installing and activating Microsoft Office on Mac using a volume license. Covers LTSC installer selection, VL Serializer application, and activation verification.
etc 2026-06-17
Building a Hugo Blog - From Start to SEO A step-by-step guide to building a blog with Notion→Hugo→GitHub Pages, connecting a custom domain, adding multilingual support, and applying security headers.
web 2026-09-03
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 handled between Actions and branch deployments, verifying DNS with dig, and why Enforce HTTPS fails to turn on because of a CAA record.
web 2026-02-10
How to Install OpenClaw Node Mode and Connect Remote Infrastructure
How to Install OpenClaw Node Mode and Connect Remote Infrastructure This post explains how to connect a remote server to a gateway using OpenClaw node mode. It covers the infrastructure control flow from installation, run verification, device approval, to systemd service registration.
ai 2026-06-29
Installing Tailscale on Linux - Secure Remote VPN Setup
Installing Tailscale on Linux - Secure Remote VPN Setup This post explains how to install Tailscale on a Linux server to set up a secure remote VPN environment. It also covers outbound-based connections, P2P communication, DERP relay, and how to use Serve and Funnel.
networking 2026-07-03