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 / 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 February 12, 2024 17:18
🍎 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==
@zudsniper
zudsniper / GlobalProtect-Portal-Linux.README.md
Last active January 22, 2024 13:45 — forked from iamdylanngo/GlobalProtect-Portal-Linux.readme
🌍 Setup Guide for GlobalProtect Portal on Linux

Setup Guide for Cisco GlobalProtect VPN on Linux

written by @dylanngo95
(styled by @zudsniper)

1️⃣ Setup GlobalProtect

sudo apt update -y && sudo apt upgrade -y
@zudsniper
zudsniper / clearMacOS.md
Last active January 18, 2024 04:29
🖥️ clear a macbook via Basically a grenade DO NOT USE THIS

Vaporize MacOS without firmware password

🟧⬛️🟧⬛️🟧⬛️🟧⬛️🟧⬛️🟧⬛️🟧⬛️🟧⬛️🟧⬛️🟧⬛️🟧⬛️🟧⬛️🟧⬛️

WARNING USE AT YOUR OWN RISK

DON'T RUN THIS!

🟧⬛️🟧⬛️🟧⬛️🟧⬛️🟧⬛️🟧⬛️🟧⬛️🟧⬛️🟧⬛️🟧⬛️🟧⬛️🟧⬛️🟧⬛️

Known Issues

🧱 This bricks the device lol 🧱

@zudsniper
zudsniper / .CLEAN_FILENAMES.md
Last active January 8, 2024 04:11
remove disgusting spaces and other weird stuff from filenames

Clean Filenames

A bash script that replaces spaces, +, and certain invalid characters in filenames with underscores. It processes all files in a directory.

Installation

Run the following command to download and make the script executable:

curl -sSL "https://gist.zod.tf/4bb1596111018a3d086b6e031ba64c98/raw/cleanFilenames.sh" -o cleanFilenames.sh && chmod +x cleanFilenames.sh