This file contains hidden or 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
/*{ | |
"CREDIT": "by jangxx", | |
"DESCRIPTION": "Circular waveform visualizer. Needs an AudioToImage node as input.\n\nradius:\nDistance from center to the waveform.\n\nline width:\nWidth of the waveform line.\n\nwave size:\nHow much the waveform expands and contracts.\n\nsolid:\nIf true, the waveform is fully filled and mirrored around the zero line.\n\ncircumference:\nHow much of the circle is used for the waveform, 0 = 0%, 1 = 100%.\n\nrotation:\nrotation of the waveform around the center.", | |
"INPUTS": [ | |
{ | |
"LABEL": "input image", | |
"NAME": "input", | |
"TYPE": "image" | |
}, | |
{ |
This file contains hidden or 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
from datetime import datetime, timedelta, timezone | |
import argparse | |
import re | |
import random | |
import sys | |
import requests | |
def time_type(s: str): | |
m = re.match("^(\d{2}):(\d{2})$", s) |
This file contains hidden or 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 PrusaPrinters STL Viewer | |
// @namespace http://literalchaos.de | |
// @version 1.0 | |
// @description Add a "View STL" button to prusaprinters.org | |
// @author jangxx | |
// @match https://www.prusaprinters.org/prints/* | |
// @grant none | |
// @downloadURL https://gist.github.com/jangxx/dfb47c3dd8f1ee98cce067d5098733c3/raw/prusaprinters_stl_viewer.user.js | |
// ==/UserScript== |
This file contains hidden or 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
#!/usr/bin/env python3 | |
import sys | |
import pikepdf | |
if len(sys.argv) < 3: | |
print("Usage: extract_layers.py <input.pdf> <output_template>") | |
print() | |
print("Output template has to contain {num} somewhere, which will be replaced by the layer number.") | |
sys.exit(0) |
This file contains hidden or 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 YouTube Pumpkin Logo | |
// @namespace http://literalchaos.de | |
// @version 1.0 | |
// @description Changes the YouTube icon to a pumpkin | |
// @author jangxx | |
// @match https://www.youtube.com/* | |
// @grant none | |
// @downloadURL https://gist.github.com/jangxx/0fc73153c89194adbc6710eecab1b734/raw/youtube_pumpkin_logo.user.js | |
// @updateURL https://gist.github.com/jangxx/0fc73153c89194adbc6710eecab1b734/raw/youtube_pumpkin_logo.user.js |
This file contains hidden or 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 Watch2Gether Reddit Integration | |
// @namespace https://literalchaos.de | |
// @version 1.2.1 | |
// @description Add videos from reddit to a watch2gether playlist | |
// @author jangxx | |
// @match https://www.watch2gether.com/rooms/* | |
// @match https://w2g.tv/rooms/* | |
// @grant GM_xmlhttpRequest | |
// @grant GM_setValue |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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 Pannengerät Krank-Knarrenbauer | |
// @namespace https://literalchaos.de | |
// @version 1.0 | |
// @description Replaces the name Annegret Kramp-Karrenbauer with funny names | |
// @author /u/voodoocode, /u/jangxx | |
// @match *://*/* | |
// @grant none | |
// @downloadURL https://gist.github.com/jangxx/fa6c012f76ef86f7fddb69a5989f7b42/raw/akk.user.js | |
// ==/UserScript== |
This file contains hidden or 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 RWTHmoodle Opencast Video Catcher | |
// @namespace https://literalchaos.de | |
// @version 0.2 | |
// @description Captures video urls played by the player embedded into RWTHmoodle | |
// @author Jan Scheiper | |
// @match https://moodle.rwth-aachen.de/* | |
// @match https://engage.streaming.rwth-aachen.de/* | |
// @grant GM_webRequest | |
// @grant GM_xmlhttpRequest |
This file contains hidden or 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 argparse, socket, requests, json, os | |
parser = argparse.ArgumentParser() | |
parser.add_argument('--username', type=str, help="DynDns Username", required=True) | |
parser.add_argument('--password', type=str, help="DynDns Password", required=True) | |
parser.add_argument('--url', type=str, help="Update url with <ipaddr> and <ip6addr> parameters", required=True) | |
args = parser.parse_args() | |
# attempt to get the server's ipv4 and ipv6 addresses |
NewerOlder