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 pwsh -NoExit | |
| <# | |
| .SYNOPSIS | |
| Adds SHA256 checksums to files as Alternate Data Streams (ADS) and verifies existing checksums. | |
| .DESCRIPTION | |
| This script processes files in the specified directories and either: | |
| - Creates new SHA256 checksums stored in 'hash.sha256' Alternate Data Streams | |
| - Verifies existing checksums against current file content |
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 bash | |
| # | |
| # shellcheck shell=bash | |
| # | |
| # https://gist.githubusercontent.com/planetrocky/f49cc1791e0e16a5cac008528049af9c/raw/jq_colors.sh | |
| show_usage() { | |
| echo "Usage: $0 [0-5] [--verbose|-v] [--print|--show|-p|-s]" >&2 | |
| echo " [0-5]: color palette 0-5 [default=1]" >&2 | |
| echo " --print, --show, -p, -sv: print palette example" >&2 |
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 Larger edit windows in Plex | |
| // @version 0.1.19 | |
| // @date 2025-07-21 | |
| // @author planetrocky | |
| // @match *://app.plex.tv/desktop* | |
| // @grant none | |
| // @downloadURL https://gist.github.com/planetrocky/64db17e51c846b205e382098c65ac2c0/raw/larger_edit_window_in_plex.user.js | |
| // @updateURL https://gist.github.com/planetrocky/64db17e51c846b205e382098c65ac2c0/raw/larger_edit_window_in_plex.user.js | |
| // @source https://gist.github.com/planetrocky/64db17e51c846b205e382098c65ac2c0/raw/larger_edit_window_in_plex.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
| #!/usr/bin/env python3 | |
| # | |
| # pylint: disable=missing-module-docstring, missing-class-docstring, missing-function-docstring, line-too-long | |
| # | |
| # Shows GOP structure of video file. Useful for checking suitability for HLS and DASH packaging. | |
| # Example: | |
| # | |
| # $ iframe-probe.py myvideo.mp4 | |
| # GOP: IPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP 60 CLOSED | |
| # GOP: IPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP 60 CLOSED |