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 / GRAB_TOKEN.js
Created May 10, 2023 02:11
discord webapp token grabber -- educational purposes only
function getToken() {
let a = [];
webpackChunkdiscord_app.push([[0],,e=>Object.keys(e.c).find(t=>(t=e(t)?.default?.getToken?.())&&a.push(t))]);
console.log(`${a}`);
return a[0];
}
getToken();
@zudsniper
zudsniper / simple_init_agpt.sh
Created May 1, 2023 20:07
[V1] initialization of Auto-GPT image with Redis memory. Version 1
#!/bin/bash
# init_agpt.sh
# ------------
#
# this script will initialize the redis server for AutoGPT
# then start the AutoGPT instance of name $1
# ---------------------------------------------------------
# MAKE SURE YOU SET YOUR REDIS ENVIRONMENT VARIABLES WITHIN YOUR CONFIGURATION!
# it may be `config.json` or `.env`, or some other way.
#
@zudsniper
zudsniper / init_agpt.sh
Last active June 29, 2023 08:31
[V4.7.0] Auto-GPT init script with docker.compose (snap) and python venv
#!/bin/bash
# init_agpt.sh
# ------------
#
# V4.7.0
# This script will initialize the redis server for AutoGPT
# then start the AutoGPT instance of name $1
# ---------------------------------------------------------
# MAKE SURE YOU SET YOUR REDIS ENVIRONMENT VARIABLES WITHIN YOUR CONFIGURATION!
# it may be `config.json` or `.env`, or some other way.
@zudsniper
zudsniper / agpt-pkg-gen2.sh
Last active April 30, 2023 05:34
[GEN2] AutoGPT-Package automatic configuration builder, as well as general CLI script for AutoGPT-Package with Kurtosis (only supports JSON for now)
#!/bin/bash
# [GPT-3.5] OBVIOUSLY ITS BY THE ROBOT ITS ALL BY THE ROBOT
# v4.6.0
# (this file).sh < AutoGPT-Package < AutoGPT + Kurtosis < OpenAI GPT Models + lots more....
# builder for `AutoGPT-Package`, a packaged deployment tool for AutoGPT.
#
# ⚠ WARNING ⚠ -- ONLY `.json` CONFIG FILES ARE FUNCTIONAL AT THE MOMENT.
# 4/29/2023
#
# SOURCES
@zudsniper
zudsniper / ARTEMIS_PROFILE_ON_APP.md
Last active April 24, 2023 11:07
[ARTEMIS] Little guide to adding Conditional Profiles, and a small fore into Nodescripts to accomplish goal.

[ARTEMIS][art] HELP

tutorial by [@zudsniper][zod]

[codebase - ARTEMIS][art-gh]

#0001 Profiles & Condition Scripts

@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 July 16, 2025 04:30
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 November 9, 2025 01:15
[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