Skip to content

Instantly share code, notes, and snippets.

View ianrathbone's full-sized avatar
🟪
BUILD BUILD BUILD!!

Ian Rathbone ianrathbone

🟪
BUILD BUILD BUILD!!
View GitHub Profile
name: Intune Config Backup
# Controls when the workflow will run
on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Runs daily at 2pm UTC
schedule:
- cron: "0 14 * * *"
@davidfowl
davidfowl / MinimalAPIs.md
Last active September 25, 2025 20:44
Minimal APIs at a glance
@richlander
richlander / modernizing-csharp9.md
Last active April 26, 2024 17:14
Modernizing a codebase for C# 9

Modernizing a codebase for C# 9

There are lots of cases that you can improve. The examples use nullable reference types, but only the WhenNotNull example requires it.

Use the property pattern to replace IsNullorEmpty

Consider adopting the new property pattern, wherever you use IsNullOrEmpty.

string? hello = "hello world";
@staltz
staltz / introrx.md
Last active December 1, 2025 11:31
The introduction to Reactive Programming you've been missing