Skip to content

Instantly share code, notes, and snippets.

@phillipharding
phillipharding / Azure Functions Invocation Context with AsyncLocalStorage.ts
Last active May 1, 2026 10:51
Shows how to use Nodejs AsyncLocalStorage to manage the azure functions runtime Invocation Context (for logging and other things) across a single invocation without having to prop-drill the InvocationContext everywhere. This is safe for concurrent/parallel invocation use and safe for scaling scenarios.
// context.ts
import { AsyncLocalStorage } from 'node:async_hooks';
import { InvocationContext } from '@azure/functions';
const asyncLocalStorage = new AsyncLocalStorage<InvocationContext>();
export function setInvocationContext(context: InvocationContext): void {
asyncLocalStorage.enterWith(context);
}
@StevenACoffman
StevenACoffman / Homoglyphs.md
Last active August 18, 2026 11:01
Unicode Look-alikes

Unicode Character Look-Alikes

Original Letter Look-Alike(s)
a а ạ ą ä à á ą
c с ƈ ċ
d ԁ ɗ
e е ẹ ė é è
g ġ
h һ
@alirobe
alirobe / reclaimWindows10.ps1
Last active August 2, 2026 10:46
This Windows 10 Setup Script turns off a bunch of unnecessary Windows 10 telemetery, bloatware, & privacy things. Not guaranteed to catch everything. Review and tweak before running. Reboot after running. Scripts for reversing are included and commented. Fork of https://github.com/Disassembler0/Win10-Initial-Setup-Script (different defaults). N.…
###
###
### UPDATE: For Win 11, I recommend using this tool in place of this script:
### https://christitus.com/windows-tool/
### https://github.com/ChrisTitusTech/winutil
### https://www.youtube.com/watch?v=6UQZ5oQg8XA
### iwr -useb https://christitus.com/win | iex
###
### OR take a look at
### https://github.com/HotCakeX/Harden-Windows-Security