Posts
-
-
Sniffing io.Reader contents in Golang
Read a small chunk from the beginning of an io.Reader into memory and reuse it
-
Using Django ORM without the framework
Use Django ORM in any Python project and run queries & migrations easily
-
Authenticating a user with multiple social providers simultaneously in ASP.NET Core
A guide on setting up and troubleshooting multiple auth schemes in ASP.NET Core
-
Adding a default timeout to CancellationToken parameters in ASP.NET Core
Set a default timeout for CancellationToken that ASP.NET Core binds to action parameters
-
Overriding non-virtual methods in C#
Not all methods are virtual, but we can still override them (with a caveat)
-
Model binding for query parameters encoded as JSON in ASP.NET Core
Guide to using ASP.NET Core model binding and validation feature for query parameters encoded as JSON
-
Checking if an executable exists in PATH using Node.js
-
Running a Powershell script in Node
-
Monitoring clipboard contents on Windows with Python
A guide on using Win32 APIs to build a clipboard listener that triggers a callback when the clipboard content changes
-
Getting the public URL for an ASP.NET app behind a reverse proxy
Detecting the public URL for ASP.NET Core app inside a hosted service
-
Updating PATH environment variable using PowerShell
A quick way to add a new directory to PATH environment variable
-
Fixing WSL2 localhost access issue
A fix for when localhost forwarding stops working
-
Quick full-text search using SQLite
Practical intro to using full-text search in SQLite
-
Building a UI with vanilla Javascript
A couple lines of Javascript and done.
-
Adding metadata to videos using ffmpeg
Update video metadata with ffmpeg and Python
-
Detecting USB drive insertion & removal on Windows using Python
Monitor new drives on Windows and perform tasks
-
Control Windows 10 native hotspot with PowerShell
-
Guide to editing file metadata using PowerShell
-
PowerShell aliases
-
Upgrade Python SQLite driver to latest version on Windows
Use JSON1 and FTS5 extensions on Windows
-
Thinkpad P1 Gen 2 bootloop fix
Fix Thinkpad P1 Gen 2 bootloop without pulling your hair out.
-
Youtube oEmbed support
Get youtube video info and embed data as JSON.
-
SSH Agent
Use ssh without copying keys everywhere.