Skip to content

Instantly share code, notes, and snippets.

View peterstorm's full-sized avatar

Peter Storm peterstorm

View GitHub Profile
@piousdeer
piousdeer / example.nix
Last active November 10, 2025 17:38
Create mutable files with home-manager and Nix
{
home.file."test-file" = {
text = "Hello world";
force = true;
mutable = true;
};
}
@keynmol
keynmol / README.md
Last active February 29, 2024 13:34
Byte pair encoding algorithm in Scala

The following are steps to set up Azure AD as an Identity Provider for an on-prem Kubernetes cluster.

Starting point:

  • Azure Subscription
  • On-prem Kubernetes cluster (in my case RKE2 v1.27.12+rke2r1)

The scenario is pretty straightforward:

I want to connect from my Workstation (Windows/Linux/Mac) to an on-prem Kubernetes cluster and authenticate to is using Azure AD.