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 / 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
@zudsniper
zudsniper / mdpdf_pop.sh
Last active July 12, 2023 18:44
🚫 [BROKEN] Generate a PDF from a Markdown file with a metadata.yaml file provided, or via the values provided in the document header.
#!/bin/bash
# mdpdf_pop.sh v2.0.1
# ------------
#
# @zudsniper
# ANSI color codes
RED='\033[0;31m'
GREEN='\033[0;32m'
YELLOW='\033[0;33m'
@zudsniper
zudsniper / get_coords.py
Last active July 12, 2023 18:51
🌐 get location data from IP with geolocation IPify API (REQUIRES API_KEY)
#/usr/bin/python3
# get_coords.py v1.0.0
# --------------------
#
# @zudsniper
import requests
import json
import os
import sys
from loguru import logger
@zudsniper
zudsniper / .SEARCH_RANK_AI_STT_SERVICES.md
Created June 27, 2023 09:24
🔊 Prompt for ChatGPT4 + Plugins [A web website / file reader, etc] to search and rank AI speech-to-text tools and output the data in a markdown format.

Prompt

Act as a research & analysis AI assistant who can access the internet via plugins and read files which are loaded, as well as analyze github repositories deeply (with plugin). Use these tools along with your extensive pre-trained data model to help me: 
identify many options and then determine the most useful -- meaning most likely must be free for low usage and able to executive and process input live as well as output live, and should be able to be fine-tuned or further trained via received specific client training data which could be amassed and categorized while using the tool normally--AI powered Speech-To-Text (STT) API/SDK that is available to the public for use (having to make an account is allowed) 
above all else, value the accuracy of the exported transcripts, as seen by your analysis and as well as the internet at large. 
Find me 10 options, then perform the following analysis and collate your findings into a document in markdown format, which uses a relevant emoji for each ## or # le
@zudsniper
zudsniper / README-SteamBots-Secrets.md
Created June 22, 2023 05:28 — forked from mathielo/README-SteamBots-Secrets.md
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 / get_dock.sh
Last active August 2, 2023 03:03
https://gh.zod.tf/bashbits/tree/master/installers/get_dock.sh [DEPRECATED] Gist to install docker & docker-compose from docker sources using apt. ℹ Ubuntu/Debian only!
#!/bin/bash
# get_dock.sh
# -----------
#
# Installs docker as well as docker-compose directly from docker sources using aptitude package manager.
# 🚫 ONLY LINUX UBUNTU/DEBIAN SYSTEMS SUPPORTED
#
# @zudsniper
#############################################
@zudsniper
zudsniper / dlgh.sh
Last active June 7, 2023 13:23 — forked from erdincay/sugh.sh
download all repositories from a specified organization. Uses the gh command line tool for authentication of private repositories.
#!/bin/bash
# dlgh.sh
# --------
#
# Download all repositories of a user or organization using the gh commandline tool.
# REQUIRES `gh auth login`!
#
# @zudsniper
# GitHub-themed header
@zudsniper
zudsniper / BOOT_TO_BIOS_WIN10.md
Last active June 4, 2023 22:27
HP article converted to Markdown explaining multiple ways to access the BIOS of older Windows 10 systems.

(hp.com article)


How to Boot from a USB Drive on Windows 10 PCs

By Michelle Wilson and Tulie Finley-Moise