Skip to content

Instantly share code, notes, and snippets.

View kimdcottrell's full-sized avatar
caffeinated

Kimberly Cottrell kimdcottrell

caffeinated
View GitHub Profile
@kimdcottrell
kimdcottrell / cursed_sort_algo.txt
Last active December 25, 2024 01:37
A very cursed sort inspired by the three point turn in Austin Powers. No, this is not efficient at all. But it is funny.
list = [99, 2, 17, 103, 77, 3, 1, 8]
sorted = []
i, n = 0, 1 # when we get to the end of the list, these indexes become -1, -2, then they become 0, 1 again when they re-rereach the top
reverse = False
things_to_append_on_reversal = []
while list:
print(f"indexes: i {i}, n {n}, list: {list}")
if len(list) == 1:
@kimdcottrell
kimdcottrell / Makefile
Last active October 15, 2023 20:51
A simple makefile for using qemu/kvm to run an ubuntu lunar 23.04 server image on a host ubuntu 23.04 box.
all: run-ubuntu-image
.PHONY: check-kvm-modules
check-kvm-modules: ## Check if kvm modules are loaded
lsmod | grep kvm
# INFO: There should be kvm_intel or kvm_amd. Use whatever is on your machine.
# Setup is done via `sudo modprobe kvm_intel` or `sudo modprobe kvm_amd`
.PHONY: check-virtualization-support
check-virtualization-support: ## Check if virtualization is supported on your machine
# All SombraARG encryption/decryption programming is occuring here: https://github.com/kimdcottrell/sombra
CENTER # clave = key in spanish?
A B C D E F G H I J K L M Ñ N O P Q R S T U V W X Y Z # shift cipher index 1
S T U V W X Y Z A B C D E F G H I J K L M Ñ N O P Q R # shift cipher index 2
X Y Z A B C D E F G H I J K L M Ñ N O P Q R S T U V W # shift cipher index 3
X Y Z A B C D E F G H I J K L M Ñ N O P Q R S T U V W # FIRST ROW SHIFTED 23 TIMES
E
Center
N