Skip to content

Instantly share code, notes, and snippets.

View sdebruyn's full-sized avatar

Sam Debruyn sdebruyn

View GitHub Profile
@doino-gretchenliev
doino-gretchenliev / configuration.yaml
Last active May 31, 2024 04:31
Home Assistant RADIUS authentication #home-assistant #homeassistant #radius #authentication #python
homeassistant:
auth_providers:
- type: command_line
command: "/config/auth/radius-auth.sh"
meta: true
@machuu
machuu / WSL2_VPN_Workaround_Instructions.md
Last active November 16, 2024 13:12
Workaround for WSL2 network broken on VPN

Overview

Internet connection and DNS routing are broken from WSL2 instances, when some VPNs are active.

The root cause seems to be that WSL2 and the VPN use the same IP address block, and the VPN routing clobbers WSL2's network routing.

This problem is tracked in multiple microsoft/WSL issues including, but not limited to:

@jeremyyeo
jeremyyeo / README.md
Last active October 9, 2024 09:30
Freshness checking models instead of sources #dbt

Freshness checking models instead of sources

dbt has a function to check the freshness (i.e. how up to date) of a particular source. That functionality is reserved exclusively for sources and not models - i.e. if you tried to apply source freshness on a model like you would a source:

# models/schemas.yml
version: 2
models:
  - name: foo
 loaded_at_field: updated_at