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 / chatgpt-code-completer-X.user.js
Last active April 17, 2023 01:45
An aesthetic update to chatgpt-code-completer, the greasyfork script by Geetesh.Gupta
// ==UserScript==
// @name ChatGPT Code Completer X
// @namespace http://zod.tf/
// @version 1.0.2
// @description ChatGPT limits the amount of code output. So this script adds a continue button on ChatGPT webpage to continue getting the output code stream. Make sure a previous response having a code block is present to make it work.
// @author zudsniper
// @match https://chat.openai.com/chat
// @icon https://www.google.com/s2/favicons?sz=64&domain=openai.com
// @match https://chat.openai.com/*
// @grant GM_addStyle
@zudsniper
zudsniper / deb11_base.StackScript.sh
Last active May 12, 2023 03:16
[DEPRECATED] check @zudsniper/bashbits | deb11_base stackscript for linode -- no ptero
#!/bin/bash
set -euo pipefail
# ================================================================================ #
# __ __ _ _ __
# /\ \ /\ \ /' \ /' \ /\ \
# \_\ \ __\ \ \____/\_, \/\_, \ \ \ \____ __ ____ __
# /'_` \ /'__`\ \ '__`\/_/\ \/_/\ \ \ \ '__`\ /'__`\ /',__\ /'__`\
# /\ \L\ \/\ __/\ \ \L\ \ \ \ \ \ \ \ \ \ \L\ \/\ \L\.\_/\__, `\/\ __/
# \ \___,_\ \____\\ \_,__/ \ \_\ \ \_\ \ \_,__/\ \__/.\_\/\____/\ \____\
# \/__,_ /\/____/ \/___/ \/_/ \/_/ _______\/___/ \/__/\/_/\/___/ \/____/
@zudsniper
zudsniper / beautify_dir.sh
Last active April 16, 2023 07:32
[DEPRECATED] check @zudsniper/bashbits | [GPT-3.5] A small script to use the `beautify-js` package to beautify (unminify and unuglify) web files in directories recursively.
#!/bin/bash
# beautify_dir.sh
# ---------------
# by @zudsniper on github
# not really, its by chatGPT but i guess i get the credit
# DEPENDENCIES
# - js-beautify: does all the heavy-lifting
#
# TODO
# - add js-unuglifier for variable renaming
@zudsniper
zudsniper / MARKDOWN_MEMOIR.md
Last active April 18, 2023 04:31
Markdown Memoir -- A primer of helpful tools and techniques I've learned when playing with the class of "Markdown" formatting languages -- or as the community refers to them, the Markdown Flavors.

MARKDOWN $MEMOIR$

markdown author  - zudsniper

INTRODUCTION

@zudsniper
zudsniper / README.md
Last active April 13, 2023 06:19
[ChatGPT-4] A pterodactyl egg entirely based off of @parkervcp 's original node.js egg, but supporting typescript.

ts-node-ptero-egg.json

a pterodactyl egg built from @parkervcp's excellent node.js egg, but with typescript support.

Also written almost entirely by a robot.

⚠️ Warnings & Notes ⚠️

⭐ This REQUIRES a tsconfig.json which follows the /src/ and /dist/ paradigm

shown here in my TypeScript template.
tsconfig.json

@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` |