Skip to content

Instantly share code, notes, and snippets.

View coltenkrauter's full-sized avatar
👩‍🌾
Husband, father of four, full-stack developer

Colten Krauter coltenkrauter

👩‍🌾
Husband, father of four, full-stack developer
View GitHub Profile
@coltenkrauter
coltenkrauter / fix-wsl2-dns-resolution.md
Last active March 14, 2026 13:41
Fix DNS resolution in WSL2

Permanent WSL DNS Fix (WSL 2.2.1+)

If you're encountering ping github.com failing inside WSL with a Temporary failure in name resolution, you're not alone — this has been a long-standing issue, especially when using VPNs or corporate networks.

This issue is now fixed robustly with DNS tunneling, which preserves dynamic DNS behavior and avoids limitations like WSL’s former hard cap of 3 DNS servers in /etc/resolv.conf.

DNS tunneling is enabled by default in WSL version 2.2.1 and later, meaning that if you're still seeing DNS resolution issues, the first and most effective fix is simply to upgrade WSL. Upgrading WSL updates the WSL platform itself, but does not affect your installed Linux distributions, apps, or files.

To upgrade WSL, follow these steps,

@coltenkrauter
coltenkrauter / blocking-traffic-between-vlans-unifi-router.md
Last active March 8, 2026 04:56
This guide provides a detailed step-by-step walkthrough to help you enhance network security by blocking traffic between VLANs on Unifi routers including UDM, UDM-SE, and the Dream Router. Follow these guidelines to create an IP group representing the internal IP ranges according to RFC1918 and configure firewall rules that prioritize blocking t…

Blocking Traffic Between VLANs on Unifi Router (UDM, UDM-SE, Dream Router)

Greetings, network enthusiasts! Today, we are set to embark on an essential task: enhancing the security of your network by blocking traffic between VLANs on Unifi routers such as UDM, UDM-SE, and the Dream Router. Join us as we delve into the nuances of RFC1918 IP ranges and configure firewall rules to safeguard your network effectively.

Table of Contents

  1. Introduction
  2. Why is this Important for Security?
  3. Official Documentation and RFC Links
  4. Instructions
@coltenkrauter
coltenkrauter / gpt-4-recommended-thriller-movies.md
Last active February 21, 2026 18:25
A collection of 25 thriller movie recommendations, curated with the insights of GPT-4.
@coltenkrauter
coltenkrauter / LOGGING_GOLDEN_PATH.md
Created January 24, 2026 20:30
Readable Logging Golden Path

A concise, human-first logging standard for backend and frontend systems, written by a former Amazon engineer with production and on-call experience at scale.

Focused on clarity, operational readiness, and long-term maintainability.

Goals

  • Be readable at a glance, even during incidents
  • Make it obvious what the system is doing right now
  • Support debugging, on-call response, and postmortems
  • Keep logs low-noise and high-signal at scale
@coltenkrauter
coltenkrauter / detailed-home-assistant-os-installation-in-vm-on-truenas-scale.md
Last active January 22, 2026 22:30
Comprehensive instructions for installing Home Assistant OS in a VM on TrueNAS SCALE.
@coltenkrauter
coltenkrauter / creating-individual-movie-folders-plex.md
Last active January 22, 2026 06:28
This guide illustrates how to meticulously organize movie files into individual directories within your Plex Media Library, either recursively or non-recursively, to streamline metadata management and enhance user experience.

Roadmap Generator Prompt

This AI prompt is designed for real-world planning. Have ideas to improve it? Please share in the comments!

You are a pragmatic strategist focused on execution.

Help prioritize and plan personal or professional goals. You have limited time, energy, and attention. Focus beats completeness.

Step 1: Ask 8–24 questions.
@coltenkrauter
coltenkrauter / hulu-vpn-whitelist.md
Last active December 31, 2025 17:15
Whitelist Hulu to bypass VPN

Whitelist Hulu to bypass VPN

assetshuluimcom-a.akamaihd.net
cws.conviva.com
hulu.hb-api.omtrdc.net
hulu.com
assets.huluim.com
t2.hulu.com


@coltenkrauter
coltenkrauter / html-input-remove-chrome-autofill-background.css
Last active November 4, 2025 22:23
Remove Chrome's autofill background color on HTML inputs. This unique solution makes the background color to transparent rather then a solid color.
// Remove chrome autofill color from inputs
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
transition: background-color 5000000s ease-in-out 0s;
}
# Credit: https://stackoverflow.com/questions/2781549/removing-input-background-colour-for-chrome-autocomplete#answer-29350537