Skip to content

Instantly share code, notes, and snippets.

Streaming coding sessions on Twitch!


Streaming coding sessions on Twitch!
View GitHub Profile
Jaid / piaRegions.txt
Last active Nov 22, 2021
PrivateInternetAccess regions (Name, Region ID, IP address)
View piaRegions.txt
1 : 0.011374 de-frankfurt - DE Frankfurt
2 : 0.017354 swiss - Switzerland
3 : 0.017527 nl_amsterdam - Netherlands
4 : 0.020437 uk - UK London
5 : 0.020954 uk_2 - UK Streaming Optimized
6 : 0.021030 czech - Czech Republic
7 : 0.021284 denmark_2 - DK Streaming Optimized
8 : 0.021931 denmark - DK Copenhagen
9 : 0.022281 belgium - Belgium
10 : 0.022785 austria - Austria
Jaid / gross.js
Created Oct 6, 2021
Analyze streamer earnings in Twitch leak
View gross.js
import {globby} from "globby"
import fs from "node:fs/promises"
import path from "node:path"
import * as fflate from "fflate"
import csvParse from "csv-parse"
import lodash from "lodash-es"
const twitchPayoutsFolder = "C:/Users/Jaid/Desktop/twitch-payouts/all_revenues"
let allGross = 0
Jaid /
Last active Sep 28, 2021
Topaz Video Enhance AI command line snippets


Upscale x4

"$ProgramW6432/Topaz Labs LLC/Topaz Video Enhance AI/veai.exe" --output-format mov_proreshq -m amq-12 --scale 4 --input "$input"

With output

"$ProgramW6432/Topaz Labs LLC/Topaz Video Enhance AI/veai.exe" --output-format mov_proreshq -m amq-12 --scale 2 --input "$input" --output "$output"
Jaid /
Last active Jan 3, 2022
Things to copy and paste


Quote (U+2019)

Non-breaking narrow space (U+202F)


Jaid /
Last active Jan 17, 2022
ESLint rules for migrating projects from CommonJS to ESM

ESLint rules

The ESM standard is considered stable in NodeJS and well supported by a lot of modern JavaScript tools.

ESLint does a good job validating and fixing ESM code (as long as you don't use top-level await, coming in ESLint v8). Make sure to enable the latest ECMA features in the ESLint config.

  • .eslint.json
Jaid /
Last active Sep 21, 2021
Windows Explorer - Advanced search query examples

Windows Explorer - Advanced search query examples

All folders


⚠️ This also finds zip-compress folders. Can be excluded:

Jaid /
Last active Jan 8, 2022
Migrate from CommonJS projects to ESM



const {pick} = require("lodash")


import {pick} from "lodash-es"

Dependency migration:

Jaid / gitBash16.png
Last active May 1, 2021
My personal Windows Terminal preferences
Jaid / Disable Window Shaking.reg
Created Apr 29, 2021
Disable window shaking (minimize gesture) on Windows 10
View Disable Window Shaking.reg
Windows Registry Editor Version 5.00