Writing
Essays and notes on backend engineering.
- Sanitize everything that hits git: cleaning public repos from identity leaks10 MIN
Identity leaks are the cheapest class of leak to miss. Your employer in git log, a codename in a comment, a LAN IP in a README. One day of hunting my own traces and five defense layers so it doesn't happen again.
- imagegen-mcp: a homegrown MCP server for blog covers5 MIN
Generating a cover for a post used to be curl + jq + sips + two manual edits. Now it's a single tool call inside Claude Code: prompt, size, path — done. Tiny TS server, public on GitHub, provider-agnostic.
- Smart Paste: stripping terminal noise before pasting, with one hotkey6 MIN
A Raycast and Stream Deck script that strips box-drawing, spinners, ANSI escapes and trailing whitespace from the clipboard and pastes into the active app — bound to a single hotkey.
- Claude Code team telemetry: centralized usage stats22 MIN
How to collect Claude Code OpenTelemetry metrics and events to your own backend, store them in a relational DB, and run SQL reports on cost, productivity, and errors.
- Claude Code onboarding guide for newcomers28 MIN
Starter guide to Claude Code and AI-assisted development workflow: brainstorm, plan, implement, review. From first hour to automation.
- MikroTik Chateau 5G R17 AX — debugging a stuck failover: the wrong-port trap10 MIN
Internet works but feels off — wrong public IP, wrong ASN, weird latency. A 30-minute debug session that ended in a swapped Ethernet cable. Diagnostic ladder, real outputs, the rake I stepped on.
- Hardening the MikroTik Chateau — security, DoH, monitoring12 MIN
What to do after the base setup works: lock down admin, add failover alerts, DNS over HTTPS, power-loss behavior, upgrade strategy. Ordered by bang for buck.
- Hello, World3 MIN
The first post on CosmoNight.
- Back To Home VPN on MikroTik Chateau8 MIN
MikroTik's free built-in remote-access service — managed WireGuard brokered through their cloud. The answer for routers behind double-NAT / CGNAT with no reachable public IP.
- MikroTik Chateau 5G R17 AX — base setup18 MIN
First-boot setup, LAN / WAN, eSIM + 5G failover, WiFi, backup / restore for the Chateau 5G R17 AX on RouterOS 7.19.5. Real commands, real traps.
- MikroTik Chateau 5G R17 AX — home setup notes9 MIN
Real-world notes from setting up a MikroTik Chateau 5G R17 AX as a home router with 5G failover, remote access, and a dedicated corporate-VPN SSID. Lessons from rakes I stepped on.
