TIL · Today I Learned

Today I Learned

Short technical notes, commands, fixes and behaviours I learned while building and operating real systems.

active-directory · powershell

Active Directory: lastLogon and lastLogonTimestamp Are Not the Same Thing

Why Active Directory exposes multiple logon attributes and why choosing the wrong one can give misleading results.

Read note →
astro · development

Show Astro Draft Posts Locally but Hide Them in Production

A small Astro content-filtering pattern that makes draft posts visible during local development without publishing them.

Read note →
astro · cloudflare

My Simple Astro Publishing Flow: GitHub to Cloudflare Workers

The small deployment workflow behind this site: test Astro locally, push to GitHub and let Cloudflare build the production site.

Read note →
cloudflare · dns

Redirect www to an Apex Domain with Cloudflare

The simple 301 redirect pattern I use to keep one canonical hostname for a site.

Read note →
cloudflare · dns

Why a DNS Name Can Be Better Than an IP for Egress Policy

Cloud and SaaS services move between addresses. Policy often expresses intent more accurately when it follows the application hostname.

Read note →
git · github

Three Git Commands I Run Before Publishing

A simple pre-push check for seeing changed, unstaged and staged content before it reaches a public repository.

Read note →
powershell · windows

PowerShell Execution Policy: Use Process Scope for a Temporary Test

When a local script is blocked by execution policy, Process scope can be useful for a temporary session without changing the machine-wide setting.

Read note →
powershell · http

Testing HTTP Redirects with curl.exe

Use a HEAD request to see the HTTP status and Location header without downloading the complete page.

Read note →
cloudflare · warp

Cloudflare WARP: Fallback Domains and Split Tunnels Solve Different Problems

DNS resolution and packet routing are related, but a WARP configuration often needs you to reason about them separately.

Read note →
zero-trust · cloudflare

Zero Trust Troubleshooting: Find the Failed Control Plane First

Before creating an emergency bypass, work out whether the failure is identity, posture, policy, DNS, tunnel or origin.

Read note →