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 / WIN11_AESTHETIC_DOWNGRADE.ps1
Created August 15, 2023 05:21
Change the main pain points changed in Windows 11 back to the way they were in Windows 10.
# PowerShell script to revert Windows 11 to Windows 10 aesthetics
# v0.0.1
# 2023-08-15
# Function to print colored messages
function Write-Color([string]$Message, [string]$Color) {
Write-Host $Message -ForegroundColor $Color
}
# Revert Right-Click Context Menu
@zudsniper
zudsniper / chatgpt_remove_link_previews.user.js
Last active August 2, 2023 18:55
ChatGPT broke link previews as of writing this (2023-08-02) so this userscript removes them as they're added.
@zudsniper
zudsniper / README.md
Created July 26, 2023 05:06 — forked from codelahoma/README.md
Automatically generate summaries of YouTube videos with transcriptions, using OpenAI's language model and create Markdown files with the output.

YouTube Video Summarizer (yt_summarize.py)

This gist contains a Python script that generates a transcript or summary of a YouTube video. It fetches video information, transcribes the audio using the Whisper ASR model, and generates a summary using the OpenAI language model.

Features

  • Fetch YouTube video information (title, description, channel title, etc.)
  • Transcribe video audio
  • Generate a summary of the video transcript
  • Save output as a markdown file
@zudsniper
zudsniper / 10ZIPPER.ps1
Last active August 17, 2023 05:35
⓽ 10ZIPPER.ps1 -> the final iteration of the (7+n)ZIPPER.ps1 saga, this will be used for data duplicate detection and archival onto an external drive for system recovery.
# 10ZIPPER.ps1
# v2.0.3
# -----------
#
# @zudsniper
# @openai
param(
[Parameter(Mandatory=$true)]
[Alias("s")]
[string[]]$source,
@zudsniper
zudsniper / MARKPDF.README.md
Last active July 16, 2023 02:31
🦠 a python script to fucking populate a markdown template with metadata from a yaml document or embedded header and output a pdf. HOW CAN THAT BE SO HARD

markpdf.py

easily convert markdown to pdf -- including variables provided in the header of the file or within a separate provided metadata.yaml file

Installation

Administrator Privileged Dependency

🔴 wkhtmltopdf is REQUIRED
Installation process varies based on OS.

  • Linux (debian based) sudo apt-get install wkhtmltopdf -y
@zudsniper
zudsniper / get_coords.py
Last active July 12, 2023 18:51
🌐 get location data from IP with geolocation IPify API (REQUIRES API_KEY)
#/usr/bin/python3
# get_coords.py v1.0.0
# --------------------
#
# @zudsniper
import requests
import json
import os
import sys
from loguru import logger
@shrmnk
shrmnk / README.md
Created July 6, 2023 16:36
Running multiple cloudflared tunnels with token

Running multiple Cloudflare Tunnel services

This is a simple guide to setting up multiple cloudflared services (via systemctl). Useful if you have to run tunnels authenticated by different accounts and want to let each account handle their tunneling configurations via the Dashboard/UI.

  1. (optional, so its easy to clone the service definition file) Setup your first tunnel using the standard sudo cloudflared service install <token> command
  2. cd into the folder containing the cloudflared.service definition (usually /etc/systemd/system or /usr/lib/systemd/system
  3. Duplicate the existing cloudflared.service into another file with a unique name e.g. sudo cp cloudflared.service cloudflared-b.service
  4. Open up your new service cloudflared-b.service in your favorite text editor
  5. Change the token within the ExecStart= line to match your second tunnel
  6. Change the service Description= to match your service filename
@zudsniper
zudsniper / README-SteamBots-Secrets.md
Created June 22, 2023 05:28 — forked from mathielo/README-SteamBots-Secrets.md
Steam Bots: How to get shared and identity secrets from Steam Guard TOTP

Steam Bots: How to get shared and identity secrets

If you're looking into automating transactions in your Steam Account using Steam Bots, you most likely will need to:

  1. Have TOTP ("MFA" or "2FA") enabled via Steam Authenticator (Steam Guard)
  2. Have in hands both shared secret and identity secret

Having Steam Guard enabled for your Steam Account ensures that there will be no holds on transactions such as trades. Having the shared and identity secrets are necessary for complete autonomy of your Steam Bot, meaning it won't require any human interaction from you.

There is a tremendous lack of information about all of this as Steam does not provide official support for implementing Steam Bots. The information available in this guide was gathered through lots of blood and sweat hard research, reverse eng

@zudsniper
zudsniper / BOOT_TO_BIOS_WIN10.md
Last active June 4, 2023 22:27
HP article converted to Markdown explaining multiple ways to access the BIOS of older Windows 10 systems.

(hp.com article)


How to Boot from a USB Drive on Windows 10 PCs

By Michelle Wilson and Tulie Finley-Moise

@zudsniper
zudsniper / bash_script.prompt.md
Last active August 2, 2023 02:52
🖨 [GPT-4] Prompt to qualify a bash script generation so as to fit my specifications. (07/15/2023)

UPDATE regarding this README file

2023-08-01

THIS FILE IS NOT BE GUARANTEED, OR EVEN ASSUMED, TO BE UP TO DATE.

Check the file (right below this if you're viewing the gist on github) called bash_zreqs.prompt for the prompt.


the_answers