Skip to content

Instantly share code, notes, and snippets.

View zudsniper's full-sized avatar
🎲
snake eyes every time

zod zudsniper

🎲
snake eyes every time
View GitHub Profile
@zudsniper
zudsniper / 0-README.md
Created May 2, 2025 23:17 — forked from rvanbaalen/0-README.md
Automatic Actions framework for Claude AI. Copy/paste into the Developer Tools of Claude desktop app.

Claude Auto-Actions Framework

A lightweight, extensible framework for automating interactions within the Claude AI interface.

Overview

This framework allows you to automate repetitive actions in Claude's UI by defining custom "actions" that execute when specific conditions are met. It uses a mutation observer to monitor DOM changes and triggers your defined actions automatically.

Features

@zudsniper
zudsniper / MacOS.md
Created May 2, 2025 18:06
Make MacOS better

essentials

tiling window manager -> brew install rectangle
clipboard history -> brew install maccy
screenshots with easy markup editor -> brew install shottr (bound to cmd + shift + 2)
fix the menu bar -> brew install jordainbird-ice

terminal

the terminal i use (not ai terminal) -> brew install iterm2
the terminal i also use (not ai terminal) -> brew install kitty
the third terminal -> brew install warp

@zudsniper
zudsniper / .README.md
Last active March 27, 2025 00:48
install `cpyenv-activate` and `cpyenv-deactivate` to make pyenv virtualenvs work correctly in the integrated cursor terminal.

cursor-pyenv Installer

This installer allows you to easily install cursor-pyenv, a tool that fixes pyenv and pyenv-virtualenv integration within Cursor's terminal environment.

One-line Installation

You can install cursor-pyenv with this single command:

curl -fsSL https://gist.zod.tf/a8647e1ad63601aefa99a58de79596c8/raw/install-cursor-pyenv.sh | bash
@zudsniper
zudsniper / make_appimage_wrapper.sh
Last active March 6, 2025 20:48
make_appimage_wrapper.sh -- generate simple 'install_App.sh' scripts to install or update your appimage apps for ubuntu.
#!/bin/bash
# make_appimage_wrapper.sh v2
# > still wonky -- this one is gen'd by claude 3.7 sonnet, o1, o3-mini-high.
# Colors for terminal output
RED='\033[0;31m'
GREEN='\033[0;32m'
YELLOW='\033[0;33m'
BLUE='\033[0;34m'
PURPLE='\033[0;35m'
@zudsniper
zudsniper / install_cursor.sh
Last active April 16, 2025 22:49 — forked from tatosjb/install-cursor-sh
install_cursor.sh -- auto-download latest and version compare
#!/bin/bash
# Exit on error
set -e
# --- Configuration ---
# (Configuration remains the same)
INSTALL_DIR="/opt"
SYMLINK_NAME="cursor"
SYMLINK_PATH="${INSTALL_DIR}/${SYMLINK_NAME}"
@zudsniper
zudsniper / flagged_email_trans.py
Created October 30, 2024 06:12
⛳️ perform some arbitrary logic on client and transaction data (for tanner)
import pandas as pd
import argparse
from loguru import logger
from colorama import Fore, Back, Style, init
import os
import glob
import time
import readline # For enabling tab completion
import rlcompleter # For readline completer
@zudsniper
zudsniper / reddit-redirect.user.js
Last active October 23, 2024 00:18 — forked from pjmore/redirect.js
reddit to old.reddit everywhere userscript (fork from Tom Watson's script)
// ==UserScript==
// @name Old Reddit Redirect
// @namespace zod.tf
// @version 0.1
// @description Forces usage of the old reddit version (from Tom Watson project, forked)
// @author zudsniper
// @match https://reddit.com/*
// @match https://www.reddit.com/*
// @match https://np.reddit.com/*
// @match https://amp.reddit.com/*
@zudsniper
zudsniper / gist-editor-resize-userscript.user.js
Last active May 21, 2024 21:00 — forked from Dayjo/gist-editor-resize-userscript.js
Make Gist editor automatically resize based on content using a TamperMonkey script
// ==UserScript==
// @name gist-editor-resize-userscript
// @namespace https://gist.github.com/
// @version 0.2
// @description Automatically resize the gist editor for easier editing.
// @match http*://gist.github.com/*
// @copyright 2013+ Joel Day - blog.dayjo.org (updated by @zudsniper - gh.zod.tf)
// ==/UserScript==
var textareas = document.querySelectorAll('textarea.file_contents');
@zudsniper
zudsniper / OBS_VIRTUAL_WEBCAM_RTSP.md
Created April 15, 2024 07:13
📽️ A chatGPT prompt & response explaining how to use OBS software to read in an RTSP stream as a virtual camera device.

You:

I want to use OBS (Open Broadcaster Software) to create a virtual webcam device that receives realtime video from an RTSP stream on port 554. How do I go about doing this? Give a guide that includes information about both Mac & Windows steps -- that is, to add (mac only) and (windows only) sections in the guide, not provide separate guides for each OS.


ChatGPT:

To use OBS (Open Broadcaster Software) to create a virtual webcam device that receives real-time video from an RTSP stream on port 554, follow these steps. I have included specific steps for both macOS and Windows.

@zudsniper
zudsniper / autoexpert-dev-tools.user.js
Last active April 3, 2024 17:49
🧶 Custom GPT Instance "AutoExpert" simple timeout helper [old glitchy version]
// ==UserScript==
// @name AutoExpert Dev Tools with Smart Interaction Detection and Auto-Stash
// @namespace https://gh.zod.tf/
// @version 2.0.2
// @description Enhance ChatGPT AutoExpert Dev instance by resetting the inactivity timer only on meaningful interactions and stashing content before timeout.
// @author AutoExpert & zudsniper
// @match https://chat.openai.com/g/g-pTF23RJ6f-autoexpert-dev*
// @grant GM_addStyle
// ==/UserScript==