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 / README.md
Last active April 16, 2023 07:34
[DEPRECATED] check @zudsniper/bashbits | [ChatGPT-4] A tool to merge docker images simply on the command line via a multilayer Dockerfile.

Docker Image Merger

This repository contains two versions of a script that merges multiple Docker images into a single image by layering them on top of each other. It supports both local and Docker Hub images and provides options to reverse the layer order, disable cache when building, and output a Dockerfile instead of creating the merged image.

V1 Deprecated

Version 1 (v1)

@zudsniper
zudsniper / .HOMEPAGE_CONTROL.md
Last active June 2, 2023 06:31
An explanation of how to force new tabs to show your desired page (in this case, fullscreen-for-googletasks.com) and then a set of styles which are applied via DarkReader.

WARNING: This is fairly inefficient due to the selectors in the injected css.

This is regarding the DarkReader snippet which is used to recolor and restyle the main fullscreen-for-googletasks.com.
This code uses so many absolute selectors which are unnecessary.

USE AT YOUR OWN RISK.


MY HOMEPAGE B****

by @zod

@codelahoma
codelahoma / README.md
Last active November 11, 2023 13:29
Automatically generate summaries of YouTube videos with transcriptions, using OpenAI's language model and create Markdown files with the output.

(DEFUNCT - NO LONGER WORKS) 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 / get_nvm.sh
Last active April 16, 2023 07:39
[DEPRECATED] check @zudsniper/bashbits | installs `nvm` for the user who executes the script. It must be manually installed for each user via build-script, it seems.
#!/bin/bash
set -e
# get_nvm.sh
# by zudsniper@github
# & ChatGPT 3.5
# -------------------
# `VERSION` 2.0.0
#
##########################
# `SOURCES` |
@zudsniper
zudsniper / get_gh.sh
Last active April 16, 2023 07:37
[DEPRECATED] check @zudsniper/bashbits | for some reason the command line tool for GitHub (gh, not git) is unnecessarily difficult to install on Linux. Here is a script where I attempt to do just that.
#!/bin/bash
set -e
# get_gh.sh
# by zudsniper@github
# -------------------
YES_FLAG="$1"
sudo apt install -y gnupg2;
@mathielo
mathielo / README-SteamBots-Secrets.md
Last active May 12, 2026 18:46
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 / StackScript.sh
Last active February 2, 2023 05:26
my Linode StackScript for installing barebones utilities (spooky_deb2 on Linode)
#!/bin/bash
# by zudsniper@github
# ANSI COLOR ENVIRONMENT VARS
export A_RESTORE='\033[0m'
export A_RESET='\033[0m'
export A_BOLD='\033[1m'
export A_UNDERLINE='\033[4m'
@zudsniper
zudsniper / .ansi_colors.sh
Last active April 16, 2023 07:25
[DEPRECATED] check @zudsniper/bashbits repository! -- my debian / ubuntu .bashrc with ANSI colors & helper functions.
#!/bin/bash
# .ansi_colors.sh
# --------------
# @zudsniper
# some ansi colors as bash variables
# ----------------------------- #
## ANSI COLOR ENVIRONMENT VARS
export A_RESTORE='\033[0m'
@zudsniper
zudsniper / GITHELP.md
Last active May 28, 2023 15:02
barebones tutorial regarding using git & gh CLIs and GitHub remote repository targets.

git icon

GitHub Quickstart Guide

This is a short and bare bones installation guide and introduction to setting up git as well as gh. It focuses on a NodeJS project example, but any language can be substituted fairly easily. Hopefully you can find it slightly helpful.