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
from dataclasses import dataclass | |
from pathlib import Path | |
import xml.etree.ElementTree as XmlET | |
import bpy | |
STEAMLIB_DIR = """C:\Program Files (x86)\Steam""" | |
PACKAGE_NAME = "vanilla" |
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
from dataclasses import dataclass | |
from pathlib import Path | |
import xml.etree.ElementTree as XmlET | |
import bpy | |
STEAMLIB_DIR = """C:\Program Files (x86)\Steam""" | |
PACKAGE_NAME = "vanilla" |
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 sys | |
import xml.etree.ElementTree as XmlET | |
from pathlib import Path | |
from statistics import fmean | |
if __name__ == '__main__': | |
if (l := len(sys.argv)) != 2: | |
print(f"Error: incorrect number of parameters provided: expected 1, got {l-1}") | |
sys.exit(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
import sys, time, hashlib, zipfile | |
from collections import Counter | |
from pathlib import Path | |
import xml.etree.ElementTree as XmlET | |
script_dir = Path(__file__).parent | |
salt_file = script_dir / "salt.txt" | |
salt_info = "A salt is required for the hash function used to protect the player SIDs.\n" \ | |
"This salt must remain constant once set in order for alts to be coalesced " \ |
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
pyside6-genpyi all --feature snake_case true_property |
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
<keyboard_controls> | |
<!-- UP: W (0x11) --> | |
<control0 value="17" /> | |
<!-- DOWN: S (0x1F) --> | |
<control1 value="31" /> | |
<!-- LEFT: A (0x1E) --> | |
<control2 value="30" /> | |
<!-- RIGHT: D (0x20) --> | |
<control3 value="32" /> | |
<!-- RELOAD: R (0x13) --> |
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 sys | |
import xml.etree.ElementTree as XmlET | |
from pathlib import Path | |
if __name__ == '__main__': | |
if (l := len(sys.argv)) != 3: | |
print(f"Error: incorrect number of parameters provided: expected 2, got {l-1}") | |
sys.exit(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
# Deprecated - see https://github.com/david-wm-sanders/twitchget | |
"""twitchget | |
Usage: twitchget.py <target> <download_dir> | |
""" | |
import shutil | |
import sqlite3 | |
import subprocess | |
from pathlib import Path |
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
"*": | |
core: | |
customFileTypes: | |
"text.html.jinja": [ | |
"html" | |
] | |
... | |
... |
NewerOlder