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 / DEB11_PACKAGES.md
Last active January 19, 2024 11:53
📦 The 'essential packages' for Debian 11 "Bullseye"

Essential Debian Packages 📦

A curated list of essential packages for Debian 11 'Bullseye' for developers and system administrators.

Prerequisites

Source Repositories

These packages may be included only in the contrib or non-free source repo for apt. These must be added manually in most debian distros. Here is a "1-liner" that will add them, respecting the current version of debian installed.

deb_add_sources.sh

@zudsniper
zudsniper / PROPOSITIONAL_SYMBOLS_LATEX_OBSIDIAN.md
Last active April 19, 2025 17:36
📋 Propositional Logic symbols & their LaTeX formulas specifically for Obsidian flavor Markdown

obsidian.md markdown latex propositions

common propositional logic symbols for use in Obsidian markdown note-taking software - specifically for use with LaTeX - either inline ($..$) or equation ($$...$$)

  1. Conjunction (AND)

    • Symbol: ∧
    • Obsidian Markdown: $\land$ or $\wedge$
  2. Disjunction (OR)

  • Symbol: ∨
@zudsniper
zudsniper / infiniteScrolling.user.js
Last active September 5, 2023 12:35 — forked from evarouss/infiniteScrolling
Infinite Scrolling UserScript?
// ==UserScript==
// @name Gist Infinite Scroll
// @namespace https://gist.github.com/*
// @version 0.1
// @description Infinite Scroll on github gists
// @author Jason McElhenney
// @match http://gist.github.com/* // Adjust this to match the websites you want the script to run on
// @grant GM_xmlhttpRequest
// @grant unsafeWindow
// @require https://code.jquery.com/jquery-3.6.0.min.js
@zudsniper
zudsniper / MACOS_BYPASS_APPLOCK.md
Last active August 15, 2023 05:50
🍏 Guide to disabling SIP & editing an applications plist file to allow it to execute even if Apple said no. For MacOS Catalina 10.15.7, but may work on other versions.

MACOS BYPASS SOFT-LOCKING APPS

Such as Xcode, which is pretty important I've heard...

🟨 DISCLAIMER ⬛️

PERFORM THESE STEPS AT YOUR OWN RISK.

THIS GUIDE MAY INSTRUCT YOU TO VIOLATE APPLE'S OFFICIAL TERMS OF USE.
I IN NO WAY ENDORSE YOU DOING SO.
THIS GUIDE IS PRESENTED EXCLUSIVELY AS A PROOF OF CONCEPT
INTENDED ONLY FOR EDUCATIONAL / RESEARCH USE

@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 / sleep_schedule.ps1
Created July 18, 2023 23:21
🛌 Sleep time? or not? configure whether or not your Windows 10 PC can sleep.
# sleep_schedule.ps1
param (
[Parameter(Mandatory=$false)]
[ValidateSet("0","1","true","false","yes","no")]
[string]$input
)
function ConvertTo-Boolean {
param (
[Parameter(Mandatory=$true)]
@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