The "Render Time Overview Tool" is a small program that calculates from the number of frames and the render time per frame how long the rendering will take. The result is a duration in hours, as well as the calculated date of completion. If a part has already been rendered, this can also be specified.
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
| ; Mouse Emulator | |
| ; An AHK script to emulate mouse movements and clicks with key combinations. | |
| ; # Win | |
| ; ^ Control | |
| ; ! Alt | |
| ; + Shift | |
| ; Right click | |
| #LButton::RButton |
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
| # A script to resize an image of any size while keeping the original aspect ratio. | |
| # To keep the output size and the aspect ratio, the free space next to the image | |
| # is filled with a given RGBA color. | |
| from PIL import Image | |
| import sys | |
| import re | |
- remove blank lines with
^\s*$\n - remove single line comments with
*//.*$\n - remove inline comments with
/\*.*\*/ - replace tabs with
\tby a single space - replace multiple spaces with
+by a single space
all in one:
- replace all above with
(^\s*$\n)|( *//.*$\n)|(/\*.*\*/)|(\t)by spaces - reduce all the spaces with
+to a single space
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
| # Create chapters from text file by modifying ffmetadata | |
| # https://ikyle.me/blog/2020/add-mp4-chapters-ffmpeg | |
| import re, sys | |
| if len(sys.argv) < 2: | |
| print(f"Usage: {__file__} [chapters file]") | |
| exit() | |
| chapters = list() |
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
| """ | |
| Simple Python script to verify a given GPG signature of a file. | |
| The signature can be provided as a local file or an url, where the script can download it. | |
| Example Usage: | |
| `verify-file-gpg-signature.py --keyserver keyserver.ubuntu.com --sig_file OpenVPN-2.6.13-I001-amd64.msi.asc OpenVPN-2.6.13-I001-amd64.msi` | |
| `verify-file-gpg-signature.py --sig_url https://swupdate.openvpn.net/community/releases/OpenVPN-2.6.13-I001-amd64.msi.asc OpenVPN-2.6.13-I001-amd64.msi` | |
| """ |
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
| """ | |
| Extracts every unique email from multiple text files and copies the result into your clipboard. | |
| So (at least on windows) you can just drag-n-drop any amount of txt-files onto the python script | |
| in your file explorer, it opens a terminal, prints the emails and puts them into your clipboard. | |
| """ | |
| import sys | |
| import os | |
| import re |
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 | |
| """ | |
| usage: kps.py [-h] [--search {contains,startswith,equals}] [-s {c,s,e}] [--show-commands] app_name | |
| A small cli script to quickly and easily get a shell for any pod of any kubernetes container. | |
| Written and tested for TrueNAS Scale Dragonfish 24.04 | |
| positional arguments: | |
| app_name name of the kubernetes container |
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
| .nameContainer { | |
| flex-direction: row; | |
| align-items: baseline; | |
| padding-bottom: 0.25em; | |
| overflow: auto; | |
| justify-content: center !important; | |
| } | |
| .detailImageContainer:has(.backdropCard,.squareCard)~.nameContainer h1:has(+ h3).parentName.focuscontainer-x { | |
| display: none !important; |
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
| # download endlessh here: https://github.com/skeeto/endlessh | |
| import re | |
| import datetime as dt | |
| with open(r"endlessh.log", "r", encoding="utf-8") as fobj: | |
| lines = fobj.readlines() | |
| data = [] | |
| max_simcons = [] |