Skip to content

Instantly share code, notes, and snippets.

View wholroyd's full-sized avatar

William Holroyd wholroyd

  • Google
  • Raleigh, NC
View GitHub Profile
@wholroyd
wholroyd / dotnetlayout-jenkins.md
Last active January 19, 2023 17:00
.NET project structure, using Jenkinsfile
$/
  artifacts/
  build/
  docs/
  lib/
  packages/
  samples/
  reports/
 src/
@wholroyd
wholroyd / extensions.md
Last active August 28, 2017 15:38
C# 8 Syntax Suggestions

Current syntax for extensions on a reference type...

public static class PersonExtensionClass
{
  public string FullName(this Person person)
  {
    return $"{person.FirstName} {person.MiddleName} {person.LastName}";
  }
}
@wholroyd
wholroyd / genesis_public_key
Created February 22, 2018 15:13
genesis_public_key
04a1d39448fcbf8eac4f80fde2dd0947ccd54bc77104e7a4004c41d082f64eec2e72afd999ecfcfdd945945b0f90cc5e71a0b1a0a8e24a4e7012d30968006fa204
@wholroyd
wholroyd / preparations.md
Last active May 13, 2025 14:20
Getting Minikube on WSL2 Ubuntu working

Windows Preparation

  1. Ensure hypervisor functionality is enabled in BIOS.

    • I know it sounds stupid, but if you already have it enabled, disable it, restart the machine, and enable it again.
    • Otherwise you will hit microsoft/WSL#5363
  2. Launch a PowerShell prompt in Administrator mode [Win+X > Windows PowerShell (Admin)]

dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart