Skip to content

Instantly share code, notes, and snippets.

View audstanley's full-sized avatar
📡
Send me a message on aprs: KM6LZF

Richard Stanley audstanley

📡
Send me a message on aprs: KM6LZF
View GitHub Profile

the mcp tools didn't seem to be enough - bash tools were called for more into i still prefer only mcp tools being called. - will need more work. i'll need to do some research to figure out why grep searchers are being preferred - there should be enough for the model to ignore using bash commands I'll attempt to limit ANY bash tools from being used and see where we get. 😊 Here is a search for "Fenwyn Fizzlebit" She is my girlfriend's first TTRPG character, and my first player as a new GM several years ago.

output results; below

➜ fvtt-journal-mcp git:(phase-3) ✗ mage Build
Building binary...
✓ Built fjm
✓ Binary built successfully
➜ fvtt-journal-mcp git:(phase-3) ✗ mage Install
Building and installing...
Building binary...
✓ Built fjm
✓ Binary built successfully
✓ Installed fjm to /home/steam/go/bin/fjm
./bin/fjm search --query "Muninn" -w worlds/
2026/03/15 23:44:13 Searching for: Muninn
2026/03/15 23:44:13 Worlds path: ./worlds
2026/03/15 23:44:13 Searching all worlds
2026/03/15 23:44:13 World: dragons_guard
2026/03/15 23:44:16 World: testworld
2026/03/15 23:44:17 World: the-iron-kingdoms
2026/03/15 23:44:17 World: worlds
2026/03/15 23:44:17 Found 4 results
./bin/llama-server --help
-h, --help, --usage print usage and exit
--version show version and build info
--license show source code license and dependencies
-cl, --cache-list show list of models in cache
--completion-bash print source-able bash completion script for llama.cpp
--verbose-prompt print a verbose prompt before generation (default: false)
-t, --threads N number of CPU threads to use during generation (default: -1)
(env: LLAMA_ARG_THREADS)
-tb, --threads-batch N number of threads to use during batch and prompt processing (default:
(base)  🐍 base  steam@audstanley  ~/project-zomboid_42  ./start-server.sh
64-bit java detected
ERROR: ld.so: object 'libjsig.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
pzexe: looking for PZXInitThreads.so
XInitThreads.cpp: calling XInitThreads()
pzexe: libPZXInitThreads64.so loaded successfully.
pzexe: about to run java hack to locate libjvm.so...
pzexe: executing "java -classpath pzexe.jar -Djava.library.path=. zombie.pzexe"
ERROR: ld.so: object 'libjsig.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
@audstanley
audstanley / ffmpeg-mp4-to-animated-webp.md
Created June 11, 2025 21:39 — forked from witmin/ffmpeg-mp4-to-animated-webp.md
Convert MP4 file to animated WebP in ffmpeg

Convert MP4 file to animated WEBP file in ffmpeg CLI

1. Install ffmpeg CLI through homebrew

In terminal.app, install ffmpeg through homebrew

brew install ffmpeg

Validate the installation:

@audstanley
audstanley / fresh-alpine-with-go-zsh-and-fzf.ash
Last active July 23, 2023 22:38
fresh-alpine-with-go-zsh-and-fzf
#!/bin/ash
#
#############################################################
# #
# Fresh Alpine Linux with all the Go things, zsh, and fzf #
# -Richard Stanley #
# -Thanks- YouTuber; /watch?v=tirOEF8Bnj8 #
# #
#############################################################
#
@audstanley
audstanley / pyscreen.py
Created December 7, 2022 01:45
my personal little linux screen controller
import os
import re
import subprocess
from time import sleep
class Screen:
def __init__(self):
self.prog = re.compile(r'\s+([-_\w\.]+)')
self.sessions = dict()
self.checkForScreenInstallation()
#!/bin/bash
# run in Media folder, and removes special features.
find . | grep -E '(\.(mkv)|(avi)|(mp4))$' | grep -vE ' - t0[1-9]' | grep -vE ' - t[1-9][0-9]' | grep -vE ' - t00[0-9][1-9]' | grep -vE ' - t01[0-9][1-9]' | grep -vE '\/Ripped\/' | grep -vE '\/TV\/' | sed 's/\.\//\.\.\//g' > tvPlaylist/allMovies.m3u
@audstanley
audstanley / rebuild-postgres.sh
Created January 5, 2022 05:07
podman postgres helper for figuring things out
#!/bin/bash
podman stop $(podman ps -a | grep 'postgres' | awk '{print $1}') && podman rm $(podman ps -a | grep 'postgres' | awk '{print $1}') && podman rmi $(podman images | grep 'postgres' | awk '{print $3}') && podman build -t postgres .