Skip to content

Instantly share code, notes, and snippets.

View WindClan's full-sized avatar

average warrior cats fan WindClan

  • 02:02 (UTC -05:00)
View GitHub Profile
@WindClan
WindClan / hashhash.lua
Created August 16, 2025 01:11
Terrible Hashing Algorithm
local function getTranslatedMessage(mode, message, key) --https://santoslove.github.io/caesarcipher.html
if mode:sub(1, 1) == 'd' then
key = -key
end
translated = ''
for i = 1, #message do
local symbol = message:sub(i,i)
if symbol == symbol:match('%a') then
num = string.byte(symbol)
num = num + key
@WindClan
WindClan / print.lua
Created July 28, 2024 22:29
SC3 print array software
--Poster printer array software
--Configuration
local paperSlot = 1
local inkSlot = 2
local printSlot = 3
local maxInk = 100000
local paperChestType = "minecraft:chest" --You can change these if you want
local printChestType = "sc-goodies:iron_chest"
local inkChestType = "sc-goodies:diamond_chest"
local emptyChestType = "sc-goodies:gold_chest"
from api import submitGuess #https://gist.github.com/WindClan/97861c7d6b37b86e2685ac961024739a
import uuid
import time
chars = [
"",
"a",
"b",
"c",
"d",
@WindClan
WindClan / WhatBeatsTAS.py
Last active May 2, 2025 19:29
whatbeatsrock automation api (severely outdated)
import requests
import json
import uuid
url = "https://www.whatbeatsrock.com/api/vs"
previous = "rock"
headers = {
'Accept': '*/*',
'Accept-Encoding': 'gzip, deflate, br, zstd',
@WindClan
WindClan / MinecraftResources.xml
Last active March 10, 2024 04:15
MinecraftResources.xml modified to include asset hash to make fixing asset downloading easier
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<Name>MinecraftResources</Name>
<Prefix />
<Marker />
<MaxKeys>1000</MaxKeys>
<IsTruncated>false</IsTruncated>
<Contents>
<Key>music/</Key>
<LastModified>2010-09-23T12:07:11.000Z</LastModified>
<ETag>"d41d8cd98f00b204e9800998ecf8427e"</ETag>
@WindClan
WindClan / MinecraftLauncher.py
Created March 3, 2024 07:14
Launches the newest version of olauncher
import os.path
import subprocess
import requests
import json
from subprocess import STDOUT,PIPE
if not os.path.isfile("version.txt"):
a = open("version.txt", "w")
a.write(":3")
a.close()
@WindClan
WindClan / Colors.lua
Last active January 23, 2024 21:39
Legacy lighting color correction
-- Derived from code under the Mozilla Public License 2.0 so this is under the same license
-- https://github.com/MaximumADHD/Super-Nostalgia-Zone/blob/main/LICENSE
-- Modified from https://github.com/MaximumADHD/Super-Nostalgia-Zone/blob/main/Client/Sky/init.client.lua
local Lighting = game:GetService("Lighting")
local toneMap = Instance.new("ColorCorrectionEffect")
toneMap.TintColor = Color3.new(1.25, 1.25, 1.25)
toneMap.Name = "LegacyToneMap"
toneMap.Brightness = 0.03
toneMap.Saturation = 0.07
# pip install pyqt5
# pip install PyQtWebEngine
import sys
import os
from PyQt5.QtCore import *
from PyQt5.QtWidgets import *
from PyQt5.QtWebEngineWidgets import *
discordUrl = QUrl("https://discord.com/app")