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 / 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


@zudsniper
zudsniper / VPS_COMPARISONS.md
Last active May 28, 2023 14:39
A ChatGPT-4 w/ WebPilot Plugin Response to a Prompt asking for a list of various VPS services compared to AWS as industry standard.
@zudsniper
zudsniper / SPIRIT_AIRLINES_SUCKS.md
Created May 13, 2023 21:21
Spirit Airlines Terms & Conditions... I don't like Spirit Airlines very much

Certainly! Here's a full summary of the stipulations from the Spirit Airlines Terms & Conditions in markdown README format:

Spirit Airlines Terms & Conditions Summary

This summary provides an overview of the key stipulations found in the Spirit Airlines Terms & Conditions document.

Table of Contents

1. Add dependecy:
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j-impl</artifactId>
<version>${log4j.version}</version>
</dependency>
2.Create config file for log4j (https://logging.apache.org/log4j/2.x/manual/configuration.html).
I prefer log4j2-test.properties because according documentation this format will look second, after configFile:
'If no system property is set the properties ConfigurationFactory will look for log4j2-test.properties in the classpath.'
---------------------------------------------------------------
@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 / agpt-pkg-gen.sh
Last active April 30, 2023 03:30
[GEN1] AutoGPT-Package Generator Script built to simplify (for my lazy ass) the process of the already very simplified workflow of AutoGPT-Package.
#!/bin/bash
# [GPT-3.5] OBVIOUSLY ITS BY THE ROBOT ITS ALL BY THE ROBOT
# v4.2.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
upstream node_server {
server localhost:3000;
}
server {
listen 80;
server_name localhost;
root /usr/share/nginx/html;