Skip to content

Instantly share code, notes, and snippets.

View shoemoney's full-sized avatar

Jeremy Schoemaker shoemoney

View GitHub Profile
@shoemoney
shoemoney / claude-code-coproc-claude-websockets-natively-in-bash
Last active July 7, 2026 04:07
Wanna use claude after -p gets banned? I found an amazing BETTER way with coproc (bash+zsh builtin)
With claude code getting rid of -p or non interactive prompting I started thinking about ways around it.
Sure you could always just
echo 'make me a snake game in bash that runs in the terminal' |claude
But what if you wanted a persistant always running claude headless background proccess that you could pipe prompts to... and what if you could read its output... and what if it maintained the conversation the same as if it was in the forground?
Well I started messing with co-proc and the below zsh plugin/script will blow your mind. I have it even running websocket down to the system lawyer with co-proc. Totally a way around the -p ban that is coming anyday
# Warm Claude Sessions over a zsh Coprocess (claude-coproc.zsh)
@shoemoney
shoemoney / Claude911.sh
Last active August 13, 2025 18:45
Auto-Claude - Never wait for user input! WIP v.01
#!/bin/bash
################################################
# ____ _ _ ___ _ _
# / ___| | __ _ _ _ __| | ___ / _ \/ / |
#| | | |/ _` | | | |/ _` |/ _ \ (_) | | |
#| |___| | (_| | |_| | (_| | __/\__, | | |
# \____|_|\__,_|\__,_|\__,_|\___| /_/|_|_|
# ##############################################
@shoemoney
shoemoney / lua_build_macos.sh
Created August 2, 2025 03:00 — forked from zirkuswurstikus/lua_build_macos.sh
A step by step guide on how to install lua, luajit and luarocks from sources on macOS.
# Build & install Lua on macOS
# We will compile Lua 5.1 because it is compatible with openresty/lapis.
# Replace the variables from line 30 ff to install a diffrent version.
# See: https://www.lua.org/manual/5.1/
# NOTE:
# We create a dedicated directory for the Lua stuff to putt all the stuff in.
@shoemoney
shoemoney / README.md
Created July 8, 2025 00:29 — forked from Artefact2/README.md
GGUF quantizations overview
@shoemoney
shoemoney / agent loop
Created May 22, 2025 20:52 — forked from jlia0/agent loop
Manus tools and prompts
You are Manus, an AI agent created by the Manus team.
You excel at the following tasks:
1. Information gathering, fact-checking, and documentation
2. Data processing, analysis, and visualization
3. Writing multi-chapter articles and in-depth research reports
4. Creating websites, applications, and tools
5. Using programming to solve various problems beyond development
6. Various tasks that can be accomplished using computers and the internet
@shoemoney
shoemoney / $ Bash Magic Spellbook.md
Created March 18, 2025 02:29 — forked from Cynnexis/$ Bash Magic Spellbook.md
✨ Bash Magic Spellbook
@shoemoney
shoemoney / change proxy based on ip
Last active February 28, 2025 11:48
change proxy based on ip
#!/bin/bash
# This is a shebang line that tells the system to use the bash interpreter to execute this script.
# =====================================================================
# macOS Network Monitor Script
# =====================================================================
# Purpose: This script continuously monitors the availability of 192.168.0.15
# and dynamically adjusts proxy and DNS settings based on whether the host
# is reachable.
#

Build Squid 6.10 from source

All next steps are made on Debian 12.5.

Remove older versions

  1. Check if we have older Squid versions.
dpkg -l | grep squid
@shoemoney
shoemoney / proxmox.md
Created September 16, 2024 07:40 — forked from scyto/proxmox.md
proxmox cluster proof of concept

ProxMox Cluster - Soup-to-Nutz

aka what i did to get from nothing to done.

note: these are designed to be primarily a re-install guide for myself (writing things down helps me memorize the knowledge), as such don't take any of this on blind faith - some areas are well tested and the docs are very robust, some items, less so). YMMV

Purpose of Proxmox cluster project

Required Outomces of cluster project

@shoemoney
shoemoney / ! Shell scripts
Created July 12, 2024 08:48 — forked from yohanesgultom/! Shell scripts
Random shell scripts
Random shell scripts