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 / 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==
@zudsniper
zudsniper / MacOS_ZIPZ.md
Last active June 20, 2024 14:24
🍎 zod's tip oh no not ... jason's suggestions for macOS use with some sanity (v1)

MacOS ZipZ

cuz like, Zod's tIPs oh no

by @zudsniper on github
v1.0.1

Introduction

MacOS is pretty good, in my opinion. It has some helpful native features. It also has various flaws, and areas where the community has had to pick up the slack and create the thing for good ol' bad Apple.

The Package Manager

@zudsniper
zudsniper / gptConvo2MD.js
Created February 12, 2024 14:40
🛩️ portable script to instantly download chatgpt conversation as markdown by pasting script into chromium devtools. AUTHOR @Creative_Original918 on Reddit
/**
* ALL CREDIT TO @Creative_Original918 on reddit for this!
* https://old.reddit.com/r/ChatGPT/comments/zm237o/save_your_chatgpt_conversation_as_a_markdown_file/jdjwyyo/
*/
function SaveChatGPTtoMD() {
const chatMessages = document.querySelectorAll(".text-base");
const pageTitle = document.title; const now = new Date(); const dateString = `${now.getFullYear()}-${(now.getMonth() + 1).toString().padStart(2, '0')}-${now.getDate().toString().padStart(2, '0')}-${now.getHours().toString().padStart(2, '0')}-${now.getMinutes().toString().padStart(2, '0')}-${now.getSeconds().toString().padStart(2, '0')}`;
let fileName = "ChatGPT log - " + pageTitle + ' - ' + dateString + ".md";
let markdownContent = "";
@zudsniper
zudsniper / old-reddit-redirect.user.js
Created February 12, 2024 07:12 — forked from msanders/old-reddit-redirect.user.js
Userscript: Old Reddit Redirect
// ==UserScript==
// @name Old Reddit Redirect
// @description Redirects www.reddit.com to the old version of the website
// @downloadURL https://gist.githubusercontent.com/msanders/52700d5c5ed76f1114594ddb862b530e/raw/old-reddit-redirect.user.js
// @updateURL https://gist.githubusercontent.com/msanders/52700d5c5ed76f1114594ddb862b530e/raw/old-reddit-redirect.user.js
// @version 2023.10.19
// @run-at request
// ==/UserScript==
[
@zudsniper
zudsniper / WINUPDATE_DOWNLOAD_STOP.md
Created February 2, 2024 18:31
💣 forcefully stop Windows from downloading random shit in the background and slowing your connection.

Forcefully Stop Windows Update Downloads

  1. Run Windows Command Prompt AS AN ADMINISTRATOR
  2. run these commands
net stop wuauserv
net stop bits
net stop doscvc

This can be reversed by simply using the start subcommand with net instead of stop.

@zudsniper
zudsniper / cgpt-fullwidth.user.js
Created February 1, 2024 04:27
🔛 widen it! author is __nickerbocker__ on reddit
// ==UserScript==
// @name OpenAI Chat Full Width Adjustment for All Messages
// @namespace http://tampermonkey.net/
// @version 1.1
// @description Adjust the max-width of all message elements on OpenAI Chat website, for both user and ChatGPT messages
// @author __nickerbocker__
// @match https://chat.openai.com/*
// @grant none
// ==/UserScript==