Skip to content

Instantly share code, notes, and snippets.

View dario-l's full-sized avatar
🎯
Hardly working

Dariusz Lenartowicz dario-l

🎯
Hardly working
View GitHub Profile
@lennybacon
lennybacon / New-AES256Key.ps1
Last active October 15, 2025 17:16
Generate a new AES 256 Key with PowerShell
$random = [System.Security.Cryptography.RandomNumberGenerator]::Create();
$buffer = New-Object byte[] 32;
$random.GetBytes($buffer);
[BitConverter]::ToString($buffer).Replace("-", [string]::Empty);
@xt0rted
xt0rted / README.md
Last active February 13, 2026 09:32
Private NuGet feed with GitHub Actions

Private NuGet feed with GitHub Actions

GitHub Packages feeds always need to be authenticated. This means if your feed is public you still have to authenticate on your development machine and build server just like you would if it was a private feed.

Local

To setup the feed locally a Personal Access Token needs to be created with the repo and read:packages scopes. If you're going to be publishing packages with this token you'll also need the write:packages scope.

@davidfowl
davidfowl / MinimalAPIs.md
Last active April 29, 2026 16:47
Minimal APIs at a glance
@davidfowl
davidfowl / .NET6Migration.md
Last active March 7, 2026 11:20
.NET 6 ASP.NET Core Migration