Skip to content

Instantly share code, notes, and snippets.

@stugmi
stugmi / freevods.user.js
Created January 21, 2024 00:45
[ActionScript] Twitch sub only VOD bypass
// ==UserScript==
// @name NoSubVod
// @author smug
// @description free vods
// @version 1.0.0
// @match https://www.twitch.tv/*
// @include https://cdn.jsdelivr.net/gh/besuper/*/src/amazon-ivs-worker.min.js
// @grant GM.webRequest
// @run-at document-start
// ==/UserScript==
@stugmi
stugmi / cpu.py
Created January 21, 2023 02:53
print core list with option to exclude hyperthread cores
from subprocess import Popen, PIPE
def lscpu(show_hyperthreads: bool = True) -> list:
cmd = "lscpu -a -e".split()
stdout, stderr = Popen(cmd, stdout=PIPE).communicate()
out = stdout.decode().split("\n")
header = out[0].split()
cores = [dict(zip(header, row.split())) for row in out[1:-1]]
@stugmi
stugmi / am-i-crazy.py
Last active February 26, 2021 03:57
am-i-crazy.py
#!/usr/bin/env python3.6
import requests
from rich import print
from rich.syntax import Syntax
from bs4 import BeautifulSoup
from sys import argv, exit
def print_code(code, lineRange: (int, int) = None):

Keybase proof

I hereby claim:

  • I am stugmi on github.
  • I am yagmi (https://keybase.io/yagmi) on keybase.
  • I have a public key ASDt-gTS3Kmp_JE7IW1-AzXL6RJXNCScTqgPnkpR8Yr4dQo

To claim this, I am signing this object:

@stugmi
stugmi / skull-1.txt
Created August 22, 2019 23:01
Old script used for the old Sombra ARG that blizzard did
:PB@Bk:
,jB@@B@B@B@BBL.
7G@B@B@BMMMMMB@B@B@Nr
:kB@B@@@MMOMOMOMOMMMM@B@B@B1,
:5@B@B@B@BBMMOMOMOMOMOMOMM@@@B@B@BBu.
70@@@B@B@B@BXBBOMOMOMOMOMOMMBMPB@B@B@B@B@Nr
G@@@BJ iB@B@@ OBMOMOMOMOMOMOM@2 B@B@B. EB@B@S
@@BM@GJBU. iSuB@OMOMOMOMOMOMM@OU1: .kBLM@M@B@
B@MMB@B 7@BBMMOMOMOMOMOBB@: B@BMM@B
@@@B@B 7@@@MMOMOMOMM@B@: @@B@B@