Skip to content

Instantly share code, notes, and snippets.

View nightroman's full-sized avatar
💭
Roman 1967-2026. Loved it here

Roman Kuzmin 1967-2026 nightroman

💭
Roman 1967-2026. Loved it here
  • UK
View GitHub Profile
@davidfowl
davidfowl / .NET6Migration.md
Last active June 28, 2026 14:13
.NET 6 ASP.NET Core Migration
@anonhostpi
anonhostpi / webserver.ps1
Last active February 15, 2026 17:28
Webserver Example
# iex (iwr "https://gist.githubusercontent.com/anonhostpi/1cc0084b959a9ea9e97dca9dce414e1f/raw/webserver.ps1").Content
function New-Webserver {
param(
[string] $Binding = "http://localhost:8080/",
[string] $BaseDirectory = "$(Get-Location -PSProvider FileSystem)",
[string] $Name = "PowerShell Web Server",
[System.Collections.IDictionary] $Routes = @{
Before = { param( $Server, $Command, $Listener, $Context ) return $true }