Skip to content

Instantly share code, notes, and snippets.

View builders-toronto's full-sized avatar
💭
building stuff

Renovation Reviews builders-toronto

💭
building stuff
View GitHub Profile
@gary23w
gary23w / simplephpserver.py
Created November 22, 2024 15:52
python simple webserver with php and hot reload
# installs php-cgi . arch linux goes oom . spends 1702 hours fixing arch linux
# I like working in php sometimes too
import socket
import threading
import logging
import os
import subprocess
import re
import time
import select
@gary23w
gary23w / simpleclickermacro.py
Last active February 5, 2025 17:19
Couldn't find a good clicker macro app, so I decided to create one myself.
# Couldn't find a good clicker macro app. so I decided to create one myself.
import tkinter as tk
from tkinter import Toplevel, Label, Button, Checkbutton, IntVar
import pyautogui
import time
import threading
import logging
from pynput import keyboard, mouse
import signal
import sys
@gary23w
gary23w / simplematrixscreensaver.sh
Last active February 5, 2025 17:20
matrix-style-cascading-screensaver-in-bash
#!/bin/bash
# free time plus a need to build a screensaver in bash, enjoy the cascade.
# ps. the key to this is the "eval" function.
# - gary
# clear the screen and hide the cursor
echo -e "\033[2J\033[?25l"
# get the number of lines and columns of the terminal
R=$(tput lines)
@gary23w
gary23w / simplesecuritynotes
Last active February 5, 2025 17:22
security+ notes
Security +
Spam filter
- Spam defined.
- in most cases, spam is defined as unsolicited bulk email(ube), or junk email. The spammer is hoping that the recipient will buy a product or service.
- Filters for spam
@gary23w
gary23w / simplecisspnotes
Last active August 14, 2025 13:56
cissp notes
SIMPLE NOW
Security and Risk Management
The CIA Triad:
- Confidentialility
- no unauthorized person can access (password protect)
- Integrity
- encryption of data