Skip to content

Instantly share code, notes, and snippets.

@MobCat
MobCat / key.reg
Created December 10, 2023 03:14
New windows context menu for removing EXIF data with exiv2
Windows Registry Editor Version 5.00
; adds a "remove EXIF data" right click context menu item for jpg
; You should pre-process your jpg for compression first then use this tool
; when you post the jpg to the internet.
; The ico is optional. But I like it.
[HKEY_CLASSES_ROOT\*\shell\Exif Remove]
"AppliesTo"=".jpg"
"Icon"="C:\\exiv2-0.28.1\\bin\\remove.ico"
@MobCat
MobCat / scrape.py
Created November 13, 2023 01:49
arcadeartwork.org box art scraper
#! arcadeartwork.org box art scraper
#!/env/Python3.10.4
#/MobCat (2023)
import requests #pip install requests
import re
import os
# Not all consoles on site are here. Too many categories and sub categories.
# To make new one. Open The Album you want to download `https://www.arcadeartwork.org/index.php?/category/547`
@MobCat
MobCat / hostsAppend.bat
Created July 24, 2023 10:18
WoW login screen news redirector
@echo off
echo WoW login screen news redirector
REM Check if the script is running with administrator privileges
>nul 2>&1 net session || (
echo This script requires administrator privileges.
echo Please run the script as an administrator.
pause
exit /b
@MobCat
MobCat / maxpop.py
Created July 20, 2023 04:28
Meme sorter in python
#!/env/Python3.10.4
#/MobCat (2023)
# Meme sorter
# max'in pop
# Is it good? No that's the point.
# I just wanted to see if my dumb idea worked.
# But I feel like this dumb idea should already excist.
import random
@MobCat
MobCat / index.php
Last active August 12, 2023 14:08
"Simple" server info page to replace WoWs news page on login screen
<?php
// "Simple" server info page to replace WoWs news page on login screen
// (replace "Breaking News" Article on World of Warcraft login screen)
// By MobCat (2023)
// Preview
//https://cdn.discordapp.com/attachments/1063759326340186172/1129600786637262938/image.png
// Server side this has only been tested with trinity core for WoW 3.3.5 with sql 5.
// This will fubar on newer sql vers, sorry. But wont be to hard to convert mysql_query to $conn->query($sql) and so on
// Also https might brake it, idk.
Track Initials Boat Timestamp
Ship Graveyard BLK Blowfish 01:31.82
Ship Graveyard RA3 Armed Response 01:31.99
Ship Graveyard RA6 Rad Hazzard 01:32.63
Ship Graveyard WBL Miss Behave 01:33.06
Ship Graveyard RAL Midway 01:33.59
Ship Graveyard ROB Damn the Torpedoes 01:36.16
Ship Graveyard KEV Midway 01:36.46
Ship Graveyard SHA Damn the Torpedoes 01:36.46
Ship Graveyard DON Razorback 01:37.16
@MobCat
MobCat / TGDump.py
Created April 10, 2023 04:43
Slow and trash tool for dumping Hydro Thunder scores from Twin Galaxies. This could be used with other TG scores if adjusted.
#!/env/Python3.10.4
#/MobCat (2023)
# A super shit and super slow tool for automatically downloading Hydro Thunder arcade
# times for Twin Galaxies and exporting them into a csv you can use with
# https://github.com/AkBKukU/HydroThunder-TimeTool
# as TG does not seem to display player initials and boats used
# a lookup table was made for players, and boats will be chosen randomly.
# The "Not Accessible" tracks will have default data placed there
# as TG does not have times for these tracks... as they are not accessible in game.
@MobCat
MobCat / players.csv
Created April 10, 2023 04:41
Twin Galaxies players list. Please update as needed this was more of just a demo for custom names.
Blackstorm BLK
William Billich WBL
Chin-Yu Lee RA3
Chen-Liang Kuo RA6
Michael Armstrong ARM
Chris Wilcox COX
Andy Bejaren ADY
JBFcrasher JBF
Excelliron KTW
@MobCat
MobCat / TimeEpoch.py
Last active March 31, 2023 12:26
Get unix time in console, copies pre-formatted time for discord to your clipboard.
#!/env/Python3.10.4
#/MobCat (2023)
# This was made in about 30 sec with AI
# So dont trust it
# Usage.
# time.py +01:30 will give you unix time string in an hour and a half
# time.py -01:30 Same but minus
# time.py 20221207 17:09 Will give you the time string for 2022-12-07 05:09 PM
# Full date time is in 24 hour but I like 12. So I shold fix that
@MobCat
MobCat / PyRoulette.py
Last active April 20, 2023 07:28
Python Russian roulette for windows.
#!/env/Python3.10.4
#/MobCat (2023)
'''
# This game is a meme.
I keep seeing this dumb meme
https://i.imgur.com/uReqhTd.png
But it's full of errors so im turning it into a "real" game. but.
██████╗ ██████╗ ███╗ ██╗ ██████╗ ████████╗ ██████╗ ██╗ ██╗███╗ ██╗ ████████╗██╗ ██╗██╗███████╗
██╔══██╗██╔═══██╗ ████╗ ██║██╔═══██╗╚══██╔══╝ ██╔══██╗██║ ██║████╗ ██║ ╚══██╔══╝██║ ██║██║██╔════╝