For a container such as docker://madiator2011/better-comfyui:slim-5090
skopeo inspect --config docker://madiator2011/better-comfyui:slim-5090 | jq '.history'
| #!/usr/bin/env python3 | |
| # | |
| # Author: FNGarvin | |
| # License: MIT | |
| # | |
| # Description: A tool to analyze .safetensors LoRA files. It analyzes | |
| # both metadata (if available) and tensor keys in an attempt | |
| # to infer the base model, resolution, and trigger words, | |
| # highlighting any contradictions. |
For a container such as docker://madiator2011/better-comfyui:slim-5090
skopeo inspect --config docker://madiator2011/better-comfyui:slim-5090 | jq '.history'
| def _generate_subs_with_whisper(self, generated_srt_path): | |
| """Generates subtitles using Whisper. This is the final fallback.""" | |
| print(f"\n--- Generating Subtitles with Whisper ---", flush=True) | |
| # Create a predictable scratch directory for intermediate files | |
| scratch_dir = os.path.join(tempfile.gettempdir(), 'subtitle_processor_scratch') | |
| os.makedirs(scratch_dir, exist_ok=True) | |
| # Use a predictable filename based on the video for easier debugging | |
| video_basename = os.path.splitext(os.path.basename(self.args.video_file))[0] |
| #!/usr/bin/env python3 | |
| # -*- coding: utf-8 -*- | |
| # | |
| # detect_and_crop.py | |
| # FNGarvin (c) 2025 | |
| # | |
| # This script uses a pre-trained YOLOv8 model to detect objects in an image | |
| # specified as a command-line argument. For each detected object exceeding a | |
| # specified confidence threshold, it generates ImageMagick 'convert' commands | |
| # to crop the object. These commands are then printed to the console and |
ncdu -x to get an overview for disk usage.podman system df to get an overview for prune savings.podman image list --sort size w/ podman rmi [imagename].podman ps -a and ensure every container to keep features the to-keep label mnemonic for filtering. Workflow to add it follows:BEWARE. Podman containers mysteriously failing with terse, bordering indecipherable errors.
Must sudo nvidia-ctk cdi generate --output=/etc/cdi/nvidia.yaml
as per the very difficult to find when you can't remember what you're looking for docs here:
https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/cdi-support.html
REMEMBER
Last Updated: June 23, 2025
Authorship: This guide was developed in a collaborative session between a user and Google's Gemini assistant.
This guide details a robust method to configure the Windows OpenSSH Server to provide users with a direct and seamless WSL/Linux shell.
| #!/usr/bin/ruby -w | |
| #a simple script to take a video file and convert it | |
| #into a collection of mp3 files, one file per chapter | |
| #requires an ffmpeg install with ffprobe and support for | |
| #mp3 plus whatever formats the input uses | |
| #FNG, 2025 | |
| require 'json' |
I've been having fun with these puzzles, but I don't appreciate being asked to download paid software from organizations I do not know or trust. Fortunately, this CTF can be easily completed with integrated browser features alone. Here, I'll document my step-by-step process - first in Firefox and then in Chrome.
First, start the instance and open the provided link.
Fill the form with whatever you please and submit it.
Bring up the developer tools by right-clicking anywhere and choosing "Inspect".
| #!/bin/bash | |
| # | |
| # Kingston Fury Beast DDR5 RGB controller script | |
| # | |
| # Sauce: | |
| # https://gitlab.com/CalcProgrammer1/OpenRGB/-/issues/2879#note_1336953263 | |
| # | |
| # Supports only static colors. | |
| # | |
| # Usage examples: |