Skip to content

Instantly share code, notes, and snippets.

View glowatsk's full-sized avatar

Brandon Glowatski glowatsk

View GitHub Profile
@glowatsk
glowatsk / twitch.js
Last active November 11, 2020 15:58
/// twitch-videoad.js
const origFetch = window.fetch;
window.fetch = (url, init, ...args) => {
if (typeof url === "string") {
if (url.includes("/access_token")) {
// url = url.replace("player_type=site", "player_type=site");
} else if (
url.includes("/gql") &&
init &&
typeof init.body === "string" &&
@glowatsk
glowatsk / arch-linux-install.md
Last active April 28, 2020 19:49 — forked from kylemanna/arch-linux-install.md
Minimal instructions for installing arch linux on an UEFI NVMe system with full system encryption using dm-crypt and luks