This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Force enable YouTube Live Dvr | |
// @namespace http://tampermonkey.net/ | |
// @version 2024-01-08 | |
// @description Allow rewinding in YouTube livestreams that have it disabled | |
// @author mat | |
// @match https://www.youtube.com/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=youtube.com | |
// @grant GM_webRequest | |
// @run-at document-start |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"user": "mat", | |
"interval": 5, | |
"directory": put the directory of your project here, | |
"deploy": "npm i && npm run compile && node build/index.js" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
try: | |
from simplejson.errors import JSONDecodeError | |
except: | |
from json import JSONDecodeError | |
import traceback | |
import requests | |
import hashlib | |
import shutil | |
import array | |
import time |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
from threading import Thread | |
tlds = [tld for tld in requests.get('https://data.iana.org/TLD/tlds-alpha-by-domain.txt').text.splitlines() if not tld.startswith('#')] | |
def check_domain(tld): | |
r = requests.get(f'https://cloudflare-dns.com/dns-query?name={tld}&type=A', headers={ | |
'accept': 'application/dns-json' | |
}) | |
data = r.json() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"name": "installer", | |
"raw": "https://gist.githubusercontent.com/mat-1/988098939dca9d25897edd5f191dd91c/raw/installer.lua", | |
"author": "mat" | |
}, | |
{ | |
"name": "turtleutils", | |
"raw": "https://raw.githubusercontent.com/mat-1/computercraft-utils/main/turtleutils.lua", | |
"author": "mat" |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import gzip | |
import base64 | |
import struct | |
def TAG_End(b): | |
return None, b | |
def TAG_byte(b): | |
return b[0], b[1:] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Auto Imposter Bot | |
// @namespace https://matdoes.dev | |
// @version 0.2 | |
// @description Plays r/imposter for you | |
// @author mat | |
// @match https://gremlins-api.reddit.com/* | |
// @grant none | |
// ==/UserScript== |