Skip to content

Instantly share code, notes, and snippets.

View Samg381's full-sized avatar
🛰️

Sam Gregg Samg381

🛰️
View GitHub Profile
@Samg381
Samg381 / AmazonShippingAddressWarning.user.js
Last active August 11, 2023 20:24
Reminds users to check their Amazon shipping address before purchasing. Useful for parents, the elderly, or the generally forgetful.
// ==UserScript==
// @name Amazon Shipping Address Warning
// @namespace http://samg381.com
// @version 1.1
// @description Remind users to check their Amazon shipping address before purchasing.
// @author Samg381
// @run-at document-idle
// @match https://www.amazon.com/*
// @grant none
// @require
@Samg381
Samg381 / thread.py
Created February 16, 2023 16:38
Simple Python Threading Demo
import threading
import time
Monitor = True
def thread_function():
print("[Worker] worker created!")
while (Monitor == True):
@Samg381
Samg381 / getmap.sh
Created December 18, 2022 02:04
DayZ Chernarus Map Downlaoder
## Used with WSL // Hence explorer.exe call at bottom
printf "Please specify resolution (1-8): "
read RES
# =========
if [ $RES == 1 ]; then
SIZE=1