Skip to content

Instantly share code, notes, and snippets.

View WizzyGeek's full-sized avatar
🚤
I am. Speed!

WizzyGeek

🚤
I am. Speed!
  • localhost:2004
View GitHub Profile
@WizzyGeek
WizzyGeek / array_ops.c
Last active July 27, 2023 03:55
Array stuff
// Array operations
// Search
// Insert
// Traverse
// Update
#include<string.h>
#include<stdio.h>
// O(n) time
@WizzyGeek
WizzyGeek / clah.c
Created February 27, 2023 07:25
Some C code I wrote, maybe useful for switching instead of dumbass switch-case calling
#include<stdio.h>
int map(int *arr, int (*(*foo)(int))(int), int choose) {
printf("%d", foo(choose)(arr[0]));
}
int barfoo(int x) {
return x - 1;
}
int foobar(int x) {
from pyautogui import *
import pyautogui
import time
import keyboard
import pygetwindow as gw
import sys
import math
import win32api
screencenter = 1980 / 2, 1080 / 2
@WizzyGeek
WizzyGeek / project_x.py
Created January 24, 2022 07:39
my first calculator thingy
import decimal
# version check
import sys
from decimal import Decimal
if sys.version_info[0] != 3:
try:
print("This script requires Python 3")
except SyntaxError as err:
raise err