diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index ebc5ad8..0000000 --- a/.gitmodules +++ /dev/null @@ -1,3 +0,0 @@ -[submodule "minecraft/publishing/pre-neo/mmc-export"] - path = minecraft/publishing/pre-neo/mmc-export - url = https://github.com/RozeFound/mmc-export diff --git a/windows/batch/Audio Engine Restart.bat b/Batch Scripts/Audio Engine Restart.bat similarity index 99% rename from windows/batch/Audio Engine Restart.bat rename to Batch Scripts/Audio Engine Restart.bat index 75450bf..48e3422 100644 --- a/windows/batch/Audio Engine Restart.bat +++ b/Batch Scripts/Audio Engine Restart.bat @@ -1,3 +1,3 @@ -@rem For use with Lenovo Legion laptops when the Audio driver outright dies from sleep or hardware change???? -pnputil /disable-device "SWD\DRIVERENUM\{C3A63EDD-2D27-4B66-B155-5E94B43D926A}#REALTEKAPO&6&1DC6BD64&0" +@rem For use with Lenovo Legion laptops when the Audio driver outright dies from sleep or hardware change???? +pnputil /disable-device "SWD\DRIVERENUM\{C3A63EDD-2D27-4B66-B155-5E94B43D926A}#REALTEKAPO&6&1DC6BD64&0" pnputil /enable-device "SWD\DRIVERENUM\{C3A63EDD-2D27-4B66-B155-5E94B43D926A}#REALTEKAPO&6&1DC6BD64&0" \ No newline at end of file diff --git a/windows/batch/FixTime.bat b/Batch Scripts/FixTime.bat similarity index 94% rename from windows/batch/FixTime.bat rename to Batch Scripts/FixTime.bat index dd5357d..487379b 100644 --- a/windows/batch/FixTime.bat +++ b/Batch Scripts/FixTime.bat @@ -1,8 +1,8 @@ -@rem Fixes system time when rebooting -@echo off - -net stop w32time -w32tm /unregister -w32tm /register -net start w32time +@rem Fixes system time when rebooting +@echo off + +net stop w32time +w32tm /unregister +w32tm /register +net start w32time w32tm /resync \ No newline at end of file diff --git a/OBS/PlexAmp/main.css b/OBS/PlexAmp/main.css new file mode 100644 index 0000000..b03999f --- /dev/null +++ b/OBS/PlexAmp/main.css @@ -0,0 +1,61 @@ +body { + margin: 0; + background-color: black; +} + +:root { + font-family: "Montserrat"; + --teal: #00e7a9; + --height: 64px; +} + +.main { + display: flex; + flex-direction: row; + + width: 384px; + height: var(--height); + padding: 1rem; + border-radius: 8px; + + color: white; + /* background-color: #252525; */ + background-color: transparent; + + outline: 4px solid var(--teal); + outline-offset: -8px; +} + +.main img { + width: auto; + height: var(--height); + margin-right: 1rem; + border-radius: 1px; +} + +.main .text { + width: 100%; + display: flex; + flex-direction: column; + justify-content: flex-start; +} + +.main .text b { + font-size: 1.15rem; +} + +#artist, +#album { + white-space: nowrap; +} + +.row-text { + display: flex; + flex-direction: row; + justify-content: space-between; + width: 100%; +} + +.row-text div { + width: 50%; +} diff --git a/OBS/PlexAmp/main.html b/OBS/PlexAmp/main.html new file mode 100644 index 0000000..1b13dd2 --- /dev/null +++ b/OBS/PlexAmp/main.html @@ -0,0 +1,25 @@ + + + + + + +   + + + + + +
+ +
+ +
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/OBS/PlexAmp/main.js b/OBS/PlexAmp/main.js new file mode 100644 index 0000000..2e47807 --- /dev/null +++ b/OBS/PlexAmp/main.js @@ -0,0 +1,123 @@ +let intvl = null; +let lastSongData = null; + +const PLEX_TOKEN = "hisKts9QfWyfLsAhkwDu"; +const sessionUrl = `http://172.16.1.3:32400/status/sessions?X-Plex-Token=${PLEX_TOKEN}`; + +const marqueeify = (text, elementType, amt) => { + if (text.length > amt) { + return `<${elementType}>${text}`; + } else { + return `<${elementType}>${text}`; + } +}; + +const parseXml = (xml, arrayTags) => { + let dom = null; + if (window.DOMParser) dom = new DOMParser().parseFromString(xml, "text/xml"); + else if (window.ActiveXObject) { + dom = new ActiveXObject("Microsoft.XMLDOM"); + dom.async = false; + if (!dom.loadXML(xml)) + throw dom.parseError.reason + " " + dom.parseError.srcText; + } else throw new Error("cannot parse xml string!"); + + const parseNode = (xmlNode, result) => { + if (xmlNode.nodeName == "#text") { + let v = xmlNode.nodeValue; + if (v.trim()) result["#text"] = v; + return; + } + + let jsonNode = {}, + existing = result[xmlNode.nodeName]; + if (existing) { + if (!Array.isArray(existing)) + result[xmlNode.nodeName] = [existing, jsonNode]; + else result[xmlNode.nodeName].push(jsonNode); + } else { + if (arrayTags && arrayTags.indexOf(xmlNode.nodeName) != -1) + result[xmlNode.nodeName] = [jsonNode]; + else result[xmlNode.nodeName] = jsonNode; + } + + if (xmlNode.attributes) + for (let attribute of xmlNode.attributes) + jsonNode[attribute.nodeName] = attribute.nodeValue; + + for (let node of xmlNode.childNodes) parseNode(node, jsonNode); + }; + + let result = {}; + for (let node of dom.childNodes) { + parseNode(node, result); + } + + return result; +}; + +const getTrackData = async () => { + const resp = await fetch(sessionUrl); + if (!resp.ok) return; + + const xml = await resp.text(); + const data = parseXml(xml); + + // Tracks need to be normalized into an array for the sake of my own sanity + const tracks = Array.isArray(data.MediaContainer.Track) + ? data.MediaContainer.Track + : [data.MediaContainer.Track]; + + if (tracks.length === 0) return null; + if (tracks.length === 1) return tracks[0]; + + const [bestMatch] = data.MediaContainer.Track.filter((track) => { + return ( + track.User.title === "oitsjustjose" && + track.Player.product === "Chromatix" + ); + }); + + return bestMatch; +}; + +const getData = async () => { + const track = await getTrackData(); + if (!track) return; + + const songData = { + song: track.title, + artist: track.grandparentTitle, + album: track.parentTitle, + art: `http://172.16.1.3:32400${track.thumb}?X-Plex-Token=${PLEX_TOKEN}`, + state: track.Player.state, + }; + + // Same as last time, nothing to do here + if (JSON.stringify(songData) === lastSongData) return; + + const art = document.getElementById("art"); + art.setAttribute("src", songData.art); + art.style.filter = songData.state === "playing" ? "none" : "saturate(0)"; + + document.getElementById("name").innerHTML = marqueeify( + songData.song, + "b", + 45 + ); + document.getElementById("artist-album").innerHTML = marqueeify( + `${songData.album} by ${songData.artist}`, + "p", + 45 + ); + + lastSongData = JSON.stringify(songData); +}; + +document.addEventListener("DOMContentLoaded", async () => { + intvl = setInterval(async () => await getData(), 250); +}); + +document.addEventListener("beforeunload", () => { + clearInterval(intvl); +}); diff --git a/windows/obs/ResolutionUtils/MonitorSwitcher.exe b/OBS/ResolutionUtils/MonitorSwitcher.exe similarity index 100% rename from windows/obs/ResolutionUtils/MonitorSwitcher.exe rename to OBS/ResolutionUtils/MonitorSwitcher.exe diff --git a/OBS/ResolutionUtils/Normal.xml b/OBS/ResolutionUtils/Normal.xml new file mode 100644 index 0000000..8dd0726 --- /dev/null +++ b/OBS/ResolutionUtils/Normal.xml @@ -0,0 +1 @@ +84209001InUse84209043550DisplayportExternalRotate270Identity1439811000ProgressivetrueInUse184209013InUse84209043572DisplayportExternalIdentityIdentity1649001000ProgressivetrueInUse14355842090Target346500000346500000208014398110001920108020801157OtherProgressive0842090Source19201080Pixelformat32Bpp344004357842090Target10192800001019280000360016490010003440144036001717OtherProgressive1842090Source34401440Pixelformat32Bpp002793423474trueXAAAAFwAAAA/AAAAXAAAAEQAAABJAAAAUwAAAFAAAABMAAAAQQAAAFkAAAAjAAAARwAAAFMAAABNAAAANQAAAEIAAABCAAAAMgAAACMAAAA1AAAAJgAAADIAAABhAAAANwAAADQAAAA1AAAAOQAAADcAAAAwAAAAJgAAADAAAAAmAAAAVQAAAEkAAABEAAAANAAAADMAAAA1AAAANQAAACMAAAB7AAAAZQAAADYAAABmAAAAMAAAADcAAABiAAAANQAAAGYAAAAtAAAAZQAAAGUAAAA5AAAANwAAAC0AAAA0AAAAYQAAADkAAAAwAAAALQAAAGIAAAAwAAAANwAAADYAAAAtAAAAMwAAADMAAABmAAAANQAAADcAAABiAAAAZgAAADQAAABlAAAAYQAAAGEAAAA3AAAAfQAAAA==TAAAAEcAAAAgAAAAVQAAAEwAAABUAAAAUgAAAEEAAABHAAAARQAAAEEAAABSAAAA00false4404841490trueXAAAAFwAAAA/AAAAXAAAAEQAAABJAAAAUwAAAFAAAABMAAAAQQAAAFkAAAAjAAAARAAAAEUAAABMAAAAQQAAADIAAAAxAAAAMgAAACMAAAA1AAAAJgAAADIAAABhAAAANwAAADQAAAA1AAAAOQAAADcAAAAwAAAAJgAAADAAAAAmAAAAVQAAAEkAAABEAAAANAAAADMAAAA1AAAANwAAACMAAAB7AAAAZQAAADYAAABmAAAAMAAAADcAAABiAAAANQAAAGYAAAAtAAAAZQAAAGUAAAA5AAAANwAAAC0AAAA0AAAAYQAAADkAAAAwAAAALQAAAGIAAAAwAAAANwAAADYAAAAtAAAAMwAAADMAAABmAAAANQAAADcAAABiAAAAZgAAADQAAABlAAAAYQAAAGEAAAA3AAAAfQAAAA==QQAAAFcAAAAzAAAANAAAADIAAAAzAAAARAAAAFcAAABGAAAA00false \ No newline at end of file diff --git a/OBS/ResolutionUtils/Py/OBS.py b/OBS/ResolutionUtils/Py/OBS.py new file mode 100644 index 0000000..6c0db49 --- /dev/null +++ b/OBS/ResolutionUtils/Py/OBS.py @@ -0,0 +1,16 @@ +from subprocess import Popen +from pathlib import Path + +cwd = Path(__file__).parent.parent.resolve() +print(f"cwd={cwd}") + +def on_event(event): + if event == obspython.OBS_FRONTEND_EVENT_SCRIPTING_SHUTDOWN: + proc = Popen(["MonitorSwitcher.exe", "-load:Normal.xml"], cwd=cwd, shell=True) + _ = proc.communicate() + + +def script_load(settings): + obspython.obs_frontend_add_event_callback(on_event) + proc = Popen(["MonitorSwitcher.exe", "-load:Recording.xml"], cwd=cwd, shell=True) + _ = proc.communicate() diff --git a/OBS/ResolutionUtils/Py/__pycache__/OBS.cpython-310.pyc b/OBS/ResolutionUtils/Py/__pycache__/OBS.cpython-310.pyc new file mode 100644 index 0000000..51fdb7e Binary files /dev/null and b/OBS/ResolutionUtils/Py/__pycache__/OBS.cpython-310.pyc differ diff --git a/OBS/ResolutionUtils/Recording.xml b/OBS/ResolutionUtils/Recording.xml new file mode 100644 index 0000000..50a5a86 --- /dev/null +++ b/OBS/ResolutionUtils/Recording.xml @@ -0,0 +1 @@ +84209001InUse84209043550DisplayportExternalRotate270Identity1439811000ProgressivetrueInUse184209013InUse84209043572DisplayportExternalIdentityIdentity1649001000ProgressivetrueInUse14355842090Target346500000346500000208014398110001920108020801157OtherProgressive0842090Source19201080Pixelformat32Bpp256004357842090Target10192800001019280000360016490010003440144036001717OtherProgressive1842090Source25601440Pixelformat32Bpp002793423474trueXAAAAFwAAAA/AAAAXAAAAEQAAABJAAAAUwAAAFAAAABMAAAAQQAAAFkAAAAjAAAARwAAAFMAAABNAAAANQAAAEIAAABCAAAAMgAAACMAAAA1AAAAJgAAADIAAABhAAAANwAAADQAAAA1AAAAOQAAADcAAAAwAAAAJgAAADAAAAAmAAAAVQAAAEkAAABEAAAANAAAADMAAAA1AAAANQAAACMAAAB7AAAAZQAAADYAAABmAAAAMAAAADcAAABiAAAANQAAAGYAAAAtAAAAZQAAAGUAAAA5AAAANwAAAC0AAAA0AAAAYQAAADkAAAAwAAAALQAAAGIAAAAwAAAANwAAADYAAAAtAAAAMwAAADMAAABmAAAANQAAADcAAABiAAAAZgAAADQAAABlAAAAYQAAAGEAAAA3AAAAfQAAAA==TAAAAEcAAAAgAAAAVQAAAEwAAABUAAAAUgAAAEEAAABHAAAARQAAAEEAAABSAAAA00false4404841490trueXAAAAFwAAAA/AAAAXAAAAEQAAABJAAAAUwAAAFAAAABMAAAAQQAAAFkAAAAjAAAARAAAAEUAAABMAAAAQQAAADIAAAAxAAAAMgAAACMAAAA1AAAAJgAAADIAAABhAAAANwAAADQAAAA1AAAAOQAAADcAAAAwAAAAJgAAADAAAAAmAAAAVQAAAEkAAABEAAAANAAAADMAAAA1AAAANwAAACMAAAB7AAAAZQAAADYAAABmAAAAMAAAADcAAABiAAAANQAAAGYAAAAtAAAAZQAAAGUAAAA5AAAANwAAAC0AAAA0AAAAYQAAADkAAAAwAAAALQAAAGIAAAAwAAAANwAAADYAAAAtAAAAMwAAADMAAABmAAAANQAAADcAAABiAAAAZgAAADQAAABlAAAAYQAAAGEAAAA3AAAAfQAAAA==QQAAAFcAAAAzAAAANAAAADIAAAAzAAAARAAAAFcAAABGAAAA00false \ No newline at end of file diff --git a/linux/python/.gitignore b/Shell Scripts/python/.gitignore similarity index 100% rename from linux/python/.gitignore rename to Shell Scripts/python/.gitignore diff --git a/Shell Scripts/python/convert_heic.py b/Shell Scripts/python/convert_heic.py new file mode 100644 index 0000000..15eb3db --- /dev/null +++ b/Shell Scripts/python/convert_heic.py @@ -0,0 +1,19 @@ +from PIL import Image +from pillow_heif import register_heif_opener +from pathlib import Path +from sys import argv + +def main() -> None: + if len(argv) < 2: + return + + path = Path(argv[1]).resolve() + if path.suffix.lower() != ".heic": + return + + register_heif_opener() + im = Image.open(path) + im.save(path.with_suffix(".jpeg"), quality=100) + +if __name__ == "__main__": + main() \ No newline at end of file diff --git a/linux/python/make_random.py b/Shell Scripts/python/make_random.py similarity index 100% rename from linux/python/make_random.py rename to Shell Scripts/python/make_random.py diff --git a/linux/python/new-uuid.py b/Shell Scripts/python/new-uuid.py similarity index 100% rename from linux/python/new-uuid.py rename to Shell Scripts/python/new-uuid.py diff --git a/Shell Scripts/python/requirements.txt b/Shell Scripts/python/requirements.txt new file mode 100644 index 0000000..c0ff117 --- /dev/null +++ b/Shell Scripts/python/requirements.txt @@ -0,0 +1,2 @@ +pillow==11.3.0 +pillow_heif==1.1.1 \ No newline at end of file diff --git a/linux/python/scan_jars.py b/Shell Scripts/python/scan_jars.py similarity index 100% rename from linux/python/scan_jars.py rename to Shell Scripts/python/scan_jars.py diff --git a/linux/python/utils.py b/Shell Scripts/python/utils.py similarity index 100% rename from linux/python/utils.py rename to Shell Scripts/python/utils.py diff --git a/linux/python/wifi_qr.py b/Shell Scripts/python/wifi_qr.py similarity index 100% rename from linux/python/wifi_qr.py rename to Shell Scripts/python/wifi_qr.py diff --git a/linux/setup/setup_jarscan.sh b/Shell Scripts/setup/setup_jarscan.sh old mode 100755 new mode 100644 similarity index 100% rename from linux/setup/setup_jarscan.sh rename to Shell Scripts/setup/setup_jarscan.sh diff --git a/linux/setup/setup_makerand.sh b/Shell Scripts/setup/setup_makerand.sh old mode 100755 new mode 100644 similarity index 100% rename from linux/setup/setup_makerand.sh rename to Shell Scripts/setup/setup_makerand.sh diff --git a/linux/setup/setup_uuid.sh b/Shell Scripts/setup/setup_uuid.sh old mode 100755 new mode 100644 similarity index 100% rename from linux/setup/setup_uuid.sh rename to Shell Scripts/setup/setup_uuid.sh diff --git a/linux/setup/setup_wifiqr.sh b/Shell Scripts/setup/setup_wifiqr.sh old mode 100755 new mode 100644 similarity index 100% rename from linux/setup/setup_wifiqr.sh rename to Shell Scripts/setup/setup_wifiqr.sh diff --git a/windows/terminal/settings.json b/Windows Terminal/settings.json similarity index 100% rename from windows/terminal/settings.json rename to Windows Terminal/settings.json diff --git a/macos/UsefulTools.sh b/macos/UsefulTools.sh deleted file mode 100644 index 09c2c55..0000000 --- a/macos/UsefulTools.sh +++ /dev/null @@ -1,156 +0,0 @@ -#!/bin/bash - - - -# --------------------------------------------------------- # -# RC-file discovery # -# --------------------------------------------------------- # - -# Try to use zshrc, but if no zsh use bash -RC_FILE=$(realpath ~/.zshrc) -IS_ZSH=true - -if [ ! -f $RC_FILE ] ; -then - RC_FILE=$(realpath ~/.bashrc) - IS_ZSH=false -fi - -echo "Using ${RC_FILE} as rcfile" - -# --------------------------------------------------------- # -# bat -- a syntax-aware, themable cat replacement # -# --------------------------------------------------------- # - - -BAT_VERSION="0.18.1" -BAT_THEME="Nord" - -echo "Installing Bat Version ${BAT_VERSION}" -wget -q "https://github.com/sharkdp/bat/releases/download/v${BAT_VERSION}/bat-musl_${BAT_VERSION}_amd64.deb" 2>&1>/dev/null -sudo dpkg -i "bat-musl_${BAT_VERSION}_amd64.deb" 2>&1>/dev/null -rm "bat-musl_${BAT_VERSION}_amd64.deb" - -# Add the nord theme variable -if /bin/cat "$RC_FILE" | grep -i "export BAT_THEME=" > /dev/null; -then - echo "Theme is already installed -- NOT overriden" -else - echo "export BAT_THEME=${BAT_THEME}" >> ~/.zshrc - echo "Set bat theme to ${BAT_THEME}" -fi - - -# --------------------------------------------------------- # -# delta -- a replacement for `git diff` # -# --------------------------------------------------------- # - -DELTA_VERSION="0.8.0" - -echo "Installing Delta Version ${DELTA_VERSION}" -wget -q "https://github.com/dandavison/delta/releases/download/${DELTA_VERSION}/git-delta-musl_${DELTA_VERSION}_amd64.deb" -sudo dpkg -i "git-delta-musl_${DELTA_VERSION}_amd64.deb" 2>&1>/dev/null -rm "git-delta-musl_${DELTA_VERSION}_amd64.deb" - -# Alias diff to delta -if /bin/cat "$RC_FILE" | grep -e "alias diff=delta" > /dev/null; -then - echo "Diff is already aliased to delta. Skipping.." -else - echo "Aliasing diff to delta" - echo "alias diff=delta" >> $RC_FILE -fi - - -# --------------------------------------------------------- # -# dust - a more visual, yet slower, du # -# --------------------------------------------------------- # - - -DUST_VERSION="0.5.4" - -echo "Installing Dust Version ${DUST_VERSION}" - -wget -q "https://github.com/bootandy/dust/releases/download/v${DUST_VERSION}/dust-v${DUST_VERSION}-x86_64-unknown-linux-musl.tar.gz" -tar -xzf "dust-v${DUST_VERSION}-x86_64-unknown-linux-musl.tar.gz" -rm "dust-v${DUST_VERSION}-x86_64-unknown-linux-musl.tar.gz" -sudo mv dust-v0.5.4-x86_64-unknown-linux-musl/dust /usr/local/bin -rm -r "dust-v${DUST_VERSION}-x86_64-unknown-linux-musl" - -# --------------------------------------------------------- # -# duf - a more visual df alternative # -# --------------------------------------------------------- # - -DUF_VERSION="0.6.2" - -echo "Installing Duf Version ${DUF_VERSION}" - -wget -q "https://github.com/muesli/duf/releases/download/v${DUF_VERSION}/duf_${DUF_VERSION}_linux_amd64.deb" -sudo dpkg -i "duf_${DUF_VERSION}_linux_amd64.deb" -rm "duf_${DUF_VERSION}_linux_amd64.deb" - -# Alias df to duf -if /bin/cat "$RC_FILE" | grep -e "alias df=duf" > /dev/null; -then - echo "Df is already aliased to duf. Skipping.." -else - echo "Aliasing df to duf" - echo "alias df=duf" >> $RC_FILE -fi - - -# --------------------------------------------------------- # -# McFly - a faster alt to ctrl+r rev search # -# --------------------------------------------------------- # - -MCF_VERSION="0.5.6" - -echo "Installing mcfly Version ${MCF_VERSION}" - -wget -q "https://github.com/cantino/mcfly/releases/download/v${MCF_VERSION}/mcfly-v${MCF_VERSION}-x86_64-unknown-linux-gnu.tar.gz" -tar -xzf "mcfly-v${MCF_VERSION}-x86_64-unknown-linux-gnu.tar.gz" -rm "mcfly-v${MCF_VERSION}-x86_64-unknown-linux-gnu.tar.gz" -sudo mv mcfly /usr/local/bin - -rm mcfly.bash mcfly.fish mcfly.zsh 2>&1 > /dev/null - -if /bin/cat "$RC_FILE" | grep -i 'mcfly init' > /dev/null; -then - echo "Looks like mcfly init script is already in ${RC_FILE}!" -else - if [ "$IS_ZSH" = true ]; - then - echo 'eval "$(mcfly init zsh)"' >> "$RC_FILE" - else - echo 'eval "$(mcfly init bash)"' >> "$RC_FILE" - fi - echo "Added McFly init to ${RC_FILE}" -fi - - -# --------------------------------------------------------- # -# GTOP - a nicer TOP GUI, requires Node... # -# --------------------------------------------------------- # - -if command -v npm &> /dev/null && ! which npm | grep /mnt/c/ &> /dev/null ; -then - echo "Installing GTOP via NPM" - npm i -g gtop -else - if command -v docker &> /dev/null ; - then - echo "Installing GTOP via Docker" - if /bin/cat "$RC_FILE" | grep -i 'alias gtop=' > /dev/null; - then - echo "Looks like gtop is already aliased!" - else - echo $'alias gtop=\'docker run --rm -it --name gtop --net=host --pid=host aksakalli/gtop\'' >> "$RC_FILE" - echo $'eval "$(alias gtop=\'docker run --rm -it --name gtop --net=host --pid=host aksakalli/gtop\')"' >> "$RC_FILE" - fi - else - echo "Neither NPM nor Docker could not be found, skipping GTOP installation" - fi -fi - -echo "Done installing tools! Restarting shell" -exec "$SHELL" diff --git a/minecraft/publishing/pre-neo/main.py b/minecraft/publishing/pre-neo/main.py index 4383d3d..6c90dda 100644 --- a/minecraft/publishing/pre-neo/main.py +++ b/minecraft/publishing/pre-neo/main.py @@ -6,7 +6,6 @@ import subprocess import sys from pathlib import Path from zipfile import ZipFile - import toml THIS_DIR = Path(__file__).parent.resolve() diff --git a/minecraft/publishing/pre-neo/mmc-export b/minecraft/publishing/pre-neo/mmc-export deleted file mode 160000 index 37a3761..0000000 --- a/minecraft/publishing/pre-neo/mmc-export +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 37a3761d4d3b4d9ceb306ef5f9af1d8cc7010e3f diff --git a/minecraft/publishing/pre-neo/requirements.txt b/minecraft/publishing/pre-neo/requirements.txt new file mode 100644 index 0000000..7c0bb5e --- /dev/null +++ b/minecraft/publishing/pre-neo/requirements.txt @@ -0,0 +1,39 @@ +aiofiles==24.1.0 +aiohappyeyeballs==2.6.1 +aiohttp-client-cache==0.7.3 +aiohttp-client-cache[filesystem]==0.7.3 +aiohttp>=3.8.3 +aiohttp==3.12.15 +aiosignal==1.4.0 +aiosqlite==0.21.0 +async-timeout==5.0.1 +attrs==25.3.0 +certifi>=2025.8.3 +cffi==2.0.0 +cryptography>=41.0.3,<45.0.0 +frozenlist==1.7.0 +gql-query-builder==0.1.8.dev2+g15ccddc7e +idna==3.10 +importlib_metadata==8.7.0 +itsdangerous==2.2.0 +jaraco.classes==3.4.0 +keyring==23.13.1 +MarkupSafe==3.0.2 +more-itertools==10.8.0 +multidict==6.6.4 +murmurhash2==0.2.10 +propcache==0.3.2 +pycparser==2.23 +python-forge==18.6.0 +pywin32-ctypes==0.2.3 +six==1.17.0 +tenacity==8.5.0 +toml==0.10.2 +tomli_w==1.2.0 +tomli==2.2.1 +typing_extensions==4.15.0 +url-normalize==1.4.3 +Werkzeug==2.3.8 +xxhash==3.5.0 +yarl==1.20.1 +zipp==3.23.0 \ No newline at end of file diff --git a/windows/pwsh10k.omp.json b/pwsh10k.omp.json similarity index 96% rename from windows/pwsh10k.omp.json rename to pwsh10k.omp.json index 302e852..1077600 100644 --- a/windows/pwsh10k.omp.json +++ b/pwsh10k.omp.json @@ -1,79 +1,79 @@ -{ - "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", - "console_title_template": "{{if .Root}}root :: {{end}}{{.Shell}} :: {{.Folder}}", - "blocks": [ - { - "type": "prompt", - "alignment": "left", - "segments": [ - { - "foreground": "p:os", - "style": "plain", - "template": "{{.Icon}}", - "type": "os" - }, - { - "foreground": "cyan", - "style": "plain", - "template": "{{if .Root}} \ue701 {{ .UserName }} as Administrator{{end}}", - "type": "session" - }, - { - "properties": { - "enable_hyperlink": true, - "home_icon": "\uf015 ~", - "style": "short" - }, - "foreground": "lightBlue", - "type": "path", - "style": "plain" - }, - { - "properties": { - "display_stash_count": true, - "branch_icon": "\ue725 ", - "prefix": "\ue708" - }, - "foreground": "lightCyan", - "type": "git", - "style": "plain" - }, - { - "properties": { - "postfix": "", - "prefix": "", - "text": "\u200b" - }, - "foreground": "white", - "type": "text", - "style": "plain" - } - ] - }, - { - "alignment": "left", - "newline": true, - "segments": [ - { - "foreground": "cyan", - "foreground_templates": ["{{ if gt .Code 0 }}red{{ end }}"], - "properties": { - "always_enabled": true - }, - "style": "plain", - "template": "\u276f ", - "type": "status" - } - ], - "type": "prompt" - } - ], - "transient_prompt": { - "foreground": "cyan", - "foreground_templates": ["{{ if gt .Code 0 }}red{{ end }}"], - "template": "\u276f ", - "newline": true - }, - "version": 3, - "final_space": false -} +{ + "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", + "console_title_template": "{{if .Root}}root :: {{end}}{{.Shell}} :: {{.Folder}}", + "blocks": [ + { + "type": "prompt", + "alignment": "left", + "segments": [ + { + "foreground": "p:os", + "style": "plain", + "template": "{{.Icon}}", + "type": "os" + }, + { + "foreground": "cyan", + "style": "plain", + "template": "{{if .Root}} \ue701 {{ .UserName }} as Administrator{{end}}", + "type": "session" + }, + { + "properties": { + "enable_hyperlink": true, + "home_icon": "\uf015 ~", + "style": "short" + }, + "foreground": "lightBlue", + "type": "path", + "style": "plain" + }, + { + "properties": { + "display_stash_count": true, + "branch_icon": "\ue725 ", + "prefix": "\ue708" + }, + "foreground": "lightCyan", + "type": "git", + "style": "plain" + }, + { + "properties": { + "postfix": "", + "prefix": "", + "text": "\u200b" + }, + "foreground": "white", + "type": "text", + "style": "plain" + } + ] + }, + { + "alignment": "left", + "newline": true, + "segments": [ + { + "foreground": "cyan", + "foreground_templates": ["{{ if gt .Code 0 }}red{{ end }}"], + "properties": { + "always_enabled": true + }, + "style": "plain", + "template": "\u276f ", + "type": "status" + } + ], + "type": "prompt" + } + ], + "transient_prompt": { + "foreground": "cyan", + "foreground_templates": ["{{ if gt .Code 0 }}red{{ end }}"], + "template": "\u276f ", + "newline": true + }, + "version": 3, + "final_space": false +} diff --git a/windows/Restore Font Windows.reg b/windows/Restore Font Windows.reg deleted file mode 100644 index 2a58840..0000000 Binary files a/windows/Restore Font Windows.reg and /dev/null differ diff --git a/windows/obs/Cider b/windows/obs/Cider deleted file mode 160000 index a11e48a..0000000 --- a/windows/obs/Cider +++ /dev/null @@ -1 +0,0 @@ -Subproject commit a11e48a1721d3b8bbb2d54376193ed6b524be115 diff --git a/windows/obs/PlexAmp b/windows/obs/PlexAmp deleted file mode 160000 index a11e48a..0000000 --- a/windows/obs/PlexAmp +++ /dev/null @@ -1 +0,0 @@ -Subproject commit a11e48a1721d3b8bbb2d54376193ed6b524be115 diff --git a/windows/obs/ResolutionUtils/Desktop.bat b/windows/obs/ResolutionUtils/Desktop.bat deleted file mode 100644 index 94c5d91..0000000 --- a/windows/obs/ResolutionUtils/Desktop.bat +++ /dev/null @@ -1,4 +0,0 @@ -cd "TODO:\Parsec Utils\" -.\MonitorSwitcher.exe -load:.\Profiles\Desktop.xml -.\SetDpi.exe 100 1 -.\SetDpi.exe 100 2 \ No newline at end of file diff --git a/windows/obs/ResolutionUtils/Profiles/Desktop.xml b/windows/obs/ResolutionUtils/Profiles/Desktop.xml deleted file mode 100644 index 91d6e0e..0000000 --- a/windows/obs/ResolutionUtils/Profiles/Desktop.xml +++ /dev/null @@ -1 +0,0 @@ -84559001InUse845590494090DisplayportExternalRotate270Identity1439811000ProgressivetrueInUse184559013InUse845590494112DisplayportExternalIdentityIdentity1649001000ProgressivetrueInUse149409845590Target346500000346500000208014398110001920108020801157OtherProgressive0845590Source19201080Pixelformat32Bpp3440449411845590Target10192800001019280000360016490010003440144036001717OtherProgressive1845590Source34401440Pixelformat32Bpp002793423474trueXAAAAFwAAAA/AAAAXAAAAEQAAABJAAAAUwAAAFAAAABMAAAAQQAAAFkAAAAjAAAARwAAAFMAAABNAAAANQAAAEIAAABCAAAAMgAAACMAAAA1AAAAJgAAADEAAAA1AAAAYgAAAGUAAAAzAAAAMwAAAGYAAAAyAAAAJgAAADAAAAAmAAAAVQAAAEkAAABEAAAANAAAADkAAAA0AAAAMAAAADkAAAAjAAAAewAAAGUAAAA2AAAAZgAAADAAAAA3AAAAYgAAADUAAABmAAAALQAAAGUAAABlAAAAOQAAADcAAAAtAAAANAAAAGEAAAA5AAAAMAAAAC0AAABiAAAAMAAAADcAAAA2AAAALQAAADMAAAAzAAAAZgAAADUAAAA3AAAAYgAAAGYAAAA0AAAAZQAAAGEAAABhAAAANwAAAH0AAAA=TAAAAEcAAAAgAAAAVQAAAEwAAABUAAAAUgAAAEEAAABHAAAARQAAAEEAAABSAAAA00false4404841490trueXAAAAFwAAAA/AAAAXAAAAEQAAABJAAAAUwAAAFAAAABMAAAAQQAAAFkAAAAjAAAARAAAAEUAAABMAAAAQQAAADIAAAAxAAAAMgAAACMAAAA1AAAAJgAAADEAAAA1AAAAYgAAAGUAAAAzAAAAMwAAAGYAAAAyAAAAJgAAADAAAAAmAAAAVQAAAEkAAABEAAAANAAAADkAAAA0AAAAMQAAADEAAAAjAAAAewAAAGUAAAA2AAAAZgAAADAAAAA3AAAAYgAAADUAAABmAAAALQAAAGUAAABlAAAAOQAAADcAAAAtAAAANAAAAGEAAAA5AAAAMAAAAC0AAABiAAAAMAAAADcAAAA2AAAALQAAADMAAAAzAAAAZgAAADUAAAA3AAAAYgAAAGYAAAA0AAAAZQAAAGEAAABhAAAANwAAAH0AAAA=QQAAAFcAAAAzAAAANAAAADIAAAAzAAAARAAAAFcAAABGAAAA00false \ No newline at end of file diff --git a/windows/obs/ResolutionUtils/Profiles/Leah.xml b/windows/obs/ResolutionUtils/Profiles/Leah.xml deleted file mode 100644 index 851efdc..0000000 --- a/windows/obs/ResolutionUtils/Profiles/Leah.xml +++ /dev/null @@ -1 +0,0 @@ -102332011InUse1023320494130DisplayportExternalIdentityAspectratiocenteredmax1201ProgressivetrueInUse1494131023320Target483400000483400000272012012560144027201481OtherProgressive11023320Source38401080Pixelformat32Bpp002688410220trueXAAAAFwAAAA/AAAAXAAAAEQAAABJAAAAUwAAAFAAAABMAAAAQQAAAFkAAAAjAAAAQQAAAEMAAABJAAAAMgAAADcAAABFAAAAQwAAACMAAAA1AAAAJgAAADEAAAA1AAAAYgAAAGUAAAAzAAAAMwAAAGYAAAAyAAAAJgAAADAAAAAmAAAAVQAAAEkAAABEAAAANAAAADkAAAA0AAAAMQAAADMAAAAjAAAAewAAAGUAAAA2AAAAZgAAADAAAAA3AAAAYgAAADUAAABmAAAALQAAAGUAAABlAAAAOQAAADcAAAAtAAAANAAAAGEAAAA5AAAAMAAAAC0AAABiAAAAMAAAADcAAAA2AAAALQAAADMAAAAzAAAAZgAAADUAAAA3AAAAYgAAAGYAAAA0AAAAZQAAAGEAAABhAAAANwAAAH0AAAA=UgAAAE8AAABHAAAAIAAAAFAAAABHAAAAMgAAADcAAAA5AAAAUQAAAA==00false \ No newline at end of file diff --git a/windows/obs/ResolutionUtils/Profiles/Macbook.xml b/windows/obs/ResolutionUtils/Profiles/Macbook.xml deleted file mode 100644 index 9ebcf37..0000000 --- a/windows/obs/ResolutionUtils/Profiles/Macbook.xml +++ /dev/null @@ -1 +0,0 @@ -105001011InUse1050010494130DisplayportExternalIdentityIdentity1651ProgressivetrueInUse1494131050010Target635540000635540000264016512560144026401459OtherProgressive11050010Source16801050Pixelformat32Bpp002688410220trueXAAAAFwAAAA/AAAAXAAAAEQAAABJAAAAUwAAAFAAAABMAAAAQQAAAFkAAAAjAAAAQQAAAEMAAABJAAAAMgAAADcAAABFAAAAQwAAACMAAAA1AAAAJgAAADEAAAA1AAAAYgAAAGUAAAAzAAAAMwAAAGYAAAAyAAAAJgAAADAAAAAmAAAAVQAAAEkAAABEAAAANAAAADkAAAA0AAAAMQAAADMAAAAjAAAAewAAAGUAAAA2AAAAZgAAADAAAAA3AAAAYgAAADUAAABmAAAALQAAAGUAAABlAAAAOQAAADcAAAAtAAAANAAAAGEAAAA5AAAAMAAAAC0AAABiAAAAMAAAADcAAAA2AAAALQAAADMAAAAzAAAAZgAAADUAAAA3AAAAYgAAAGYAAAA0AAAAZQAAAGEAAABhAAAANwAAAH0AAAA=UgAAAE8AAABHAAAAIAAAAFAAAABHAAAAMgAAADcAAAA5AAAAUQAAAA==00false \ No newline at end of file diff --git a/windows/obs/ResolutionUtils/Profiles/Mobile.xml b/windows/obs/ResolutionUtils/Profiles/Mobile.xml deleted file mode 100644 index 0918764..0000000 --- a/windows/obs/ResolutionUtils/Profiles/Mobile.xml +++ /dev/null @@ -1 +0,0 @@ -98691011InUse986910494130DisplayportExternalIdentityIdentity1439981000ProgressivetrueInUse149413986910Target586580000586580000264014399810002560144026401543OtherProgressive1986910Source25601440Pixelformat32Bpp002688410220trueXAAAAFwAAAA/AAAAXAAAAEQAAABJAAAAUwAAAFAAAABMAAAAQQAAAFkAAAAjAAAAQQAAAEMAAABJAAAAMgAAADcAAABFAAAAQwAAACMAAAA1AAAAJgAAADEAAAA1AAAAYgAAAGUAAAAzAAAAMwAAAGYAAAAyAAAAJgAAADAAAAAmAAAAVQAAAEkAAABEAAAANAAAADkAAAA0AAAAMQAAADMAAAAjAAAAewAAAGUAAAA2AAAAZgAAADAAAAA3AAAAYgAAADUAAABmAAAALQAAAGUAAABlAAAAOQAAADcAAAAtAAAANAAAAGEAAAA5AAAAMAAAAC0AAABiAAAAMAAAADcAAAA2AAAALQAAADMAAAAzAAAAZgAAADUAAAA3AAAAYgAAAGYAAAA0AAAAZQAAAGEAAABhAAAANwAAAH0AAAA=UgAAAE8AAABHAAAAIAAAAFAAAABHAAAAMgAAADcAAAA5AAAAUQAAAA==00false \ No newline at end of file diff --git a/windows/obs/ResolutionUtils/Profiles/Recording.xml b/windows/obs/ResolutionUtils/Profiles/Recording.xml deleted file mode 100644 index e97030e..0000000 --- a/windows/obs/ResolutionUtils/Profiles/Recording.xml +++ /dev/null @@ -1 +0,0 @@ -84559001InUse845590494090DisplayportExternalRotate270Identity1439811000ProgressivetrueInUse184559013InUse845590494112DisplayportExternalIdentityIdentity1649001000ProgressivetrueInUse149409845590Target346500000346500000208014398110001920108020801157OtherProgressive0845590Source19201080Pixelformat32Bpp2560449411845590Target10192800001019280000360016490010003440144036001717OtherProgressive1845590Source25601440Pixelformat32Bpp002793423474trueXAAAAFwAAAA/AAAAXAAAAEQAAABJAAAAUwAAAFAAAABMAAAAQQAAAFkAAAAjAAAARwAAAFMAAABNAAAANQAAAEIAAABCAAAAMgAAACMAAAA1AAAAJgAAADEAAAA1AAAAYgAAAGUAAAAzAAAAMwAAAGYAAAAyAAAAJgAAADAAAAAmAAAAVQAAAEkAAABEAAAANAAAADkAAAA0AAAAMAAAADkAAAAjAAAAewAAAGUAAAA2AAAAZgAAADAAAAA3AAAAYgAAADUAAABmAAAALQAAAGUAAABlAAAAOQAAADcAAAAtAAAANAAAAGEAAAA5AAAAMAAAAC0AAABiAAAAMAAAADcAAAA2AAAALQAAADMAAAAzAAAAZgAAADUAAAA3AAAAYgAAAGYAAAA0AAAAZQAAAGEAAABhAAAANwAAAH0AAAA=TAAAAEcAAAAgAAAAVQAAAEwAAABUAAAAUgAAAEEAAABHAAAARQAAAEEAAABSAAAA00false4404841490trueXAAAAFwAAAA/AAAAXAAAAEQAAABJAAAAUwAAAFAAAABMAAAAQQAAAFkAAAAjAAAARAAAAEUAAABMAAAAQQAAADIAAAAxAAAAMgAAACMAAAA1AAAAJgAAADEAAAA1AAAAYgAAAGUAAAAzAAAAMwAAAGYAAAAyAAAAJgAAADAAAAAmAAAAVQAAAEkAAABEAAAANAAAADkAAAA0AAAAMQAAADEAAAAjAAAAewAAAGUAAAA2AAAAZgAAADAAAAA3AAAAYgAAADUAAABmAAAALQAAAGUAAABlAAAAOQAAADcAAAAtAAAANAAAAGEAAAA5AAAAMAAAAC0AAABiAAAAMAAAADcAAAA2AAAALQAAADMAAAAzAAAAZgAAADUAAAA3AAAAYgAAAGYAAAA0AAAAZQAAAGEAAABhAAAANwAAAH0AAAA=QQAAAFcAAAAzAAAANAAAADIAAAAzAAAARAAAAFcAAABGAAAA00false \ No newline at end of file diff --git a/windows/obs/ResolutionUtils/Py/OBS.py b/windows/obs/ResolutionUtils/Py/OBS.py deleted file mode 100644 index 5e55416..0000000 --- a/windows/obs/ResolutionUtils/Py/OBS.py +++ /dev/null @@ -1,21 +0,0 @@ -from subprocess import Popen - - -def on_event(event): - if event == obspython.OBS_FRONTEND_EVENT_SCRIPTING_SHUTDOWN: - proc = Popen( - r".\Desktop.bat", - cwd=r"TODO:\obs\ResolutionUtils", - shell=True, - ) - _ = proc.communicate() - - -def script_load(settings): - obspython.obs_frontend_add_event_callback(on_event) - proc = Popen( - r".\Recording.bat", - cwd=r"TODO:\obs\ResolutionUtils", - shell=True, - ) - _ = proc.communicate() diff --git a/windows/obs/ResolutionUtils/Recording.bat b/windows/obs/ResolutionUtils/Recording.bat deleted file mode 100644 index ee7d953..0000000 --- a/windows/obs/ResolutionUtils/Recording.bat +++ /dev/null @@ -1,3 +0,0 @@ -cd "TODO:\\Parsec Utils" -.\MonitorSwitcher.exe -load:.\Profiles\Recording.xml -.\SetDpi.exe 100 2 \ No newline at end of file diff --git a/windows/obs/ResolutionUtils/SetDpi.exe b/windows/obs/ResolutionUtils/SetDpi.exe deleted file mode 100644 index aea3119..0000000 Binary files a/windows/obs/ResolutionUtils/SetDpi.exe and /dev/null differ