Skip to content

Instantly share code, notes, and snippets.

View TheRealRyGuy's full-sized avatar
🤠

Ryan TheRealRyGuy

🤠
View GitHub Profile
@TheRealRyGuy
TheRealRyGuy / README.md
Created March 12, 2024 21:50
Trying to make some ciphers just look absolutely atrocious, but they work!

What the Cipher

End goal of this is to essentially just write the worst looking ciphers you possibly can. Some of these were just proof of concepts cause I was bored in class, then some I took the extra mile to intentionally look terrible -- the things you do when you're bored.

Example Use Case

import ceaser 

encryption = ceaser.encrypt("Who writes code like this!", 7, ceaser.Shift.LEFT)
print("Encrypted Text:", encryption)
@TheRealRyGuy
TheRealRyGuy / bot.py
Created March 12, 2024 21:48
Wordle Solving Algorithm taking in any wordlist! Just run python3 main.py wordlistfile.txt
from rich import print
import sys
#TODO: Remove / reformat debug statements, allowing the class to be useable in any way
class WordleBot:
def __init__(self, wordlist):
self.listfile = wordlist
self.words = set()
self.badletters = set()
self.known = dict()
@TheRealRyGuy
TheRealRyGuy / main.html
Last active March 12, 2024 21:49
Challenge my teacher gave me - make a quick HTTP server to serve as a link shortener using redis and Python. Spedran it in well under an hour not knowing how to use Redis at all
{% block content %}
<form action='/url/post' method="post">
<p>URL: <input type="url" name="url"></p>
<p><button type="submit">Shorten your URL!</button></p>
</form>
{% endblock %}
@TheRealRyGuy
TheRealRyGuy / autoclicker.py
Last active February 26, 2024 14:28
An autoclicker I made in class trying to relearn Python, but really to play Cookie Clicker. Lots of Stack Overflowing was done for the general concepts / remembering certain concepts of Python, and this could very well be significantly more optimized
import time
import threading
from pynput import mouse
from pynput.mouse import Button, Controller
class Clicker(threading.Thread):
def __init__(self, cps, window, desktop):
super(Clicker, self).__init__()
self.delay = (1/int(cps))
@TheRealRyGuy
TheRealRyGuy / kahoot-handshake.md
Last active June 23, 2023 02:19
Kahoot Handshake Information - Going to notate future Kahoot Protocol information

Kahoot Protocol

Huge Shoutouts to msemple1111 and his protocol information here that supplied a lot of information for this

Terms to Know

Epoch: Unit of Time used by Unix - counts time from January 1st 1970 to current time in seconds (converter)


Handshake Requests Returns Service Token GET: https://kahoot.it/reserve/session/*pin*/?*time