Skip to content

Instantly share code, notes, and snippets.

View haymaker's full-sized avatar
💭
khudzul.

Mike Hayman haymaker

💭
khudzul.
  • InComm Payments
  • Atlanta
View GitHub Profile
@haymaker
haymaker / CleanSimbriefDownloads.bat
Last active April 8, 2023 14:17
Batch File to Clean SimBrief Downloads (requires configuration)
@echo off
:: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: This is a super duper simple no-logic batch file to remove simbrief downloaded files
:: after a configured amount of days.
::
:: Configure the directories and options below, then set up a task in Windows Task
:: Scheduler that runs this script, usually once a day or so is sufficient.
::
:: Also: Don't be dumb. Know what you're doing. You can delete important stuff if you're
:: not paying attention. Set things correctly, run things correctly, and profit.
@haymaker
haymaker / classname.php
Created February 13, 2023 12:13
Simple Extract Class name from PHP FQN
function className(string $class): string
{
return basename(str_replace('\\', DIRECTORY_SEPARATOR, $class));
}
@haymaker
haymaker / AIG-traffic-20220510.vmr
Last active May 20, 2022 06:44
MSFS vPilot VMR Files
This file has been truncated, but you can view the full file.
<?xml version="1.0" encoding="utf-8"?>
<ModelMatchRuleSet>
<ModelMatchRule CallsignPrefix="AAH" TypeCode="B733" ModelName="AIGAIM_Aloha Air Cargo Boeing 737-300 - SF//AIGAIM_Aloha Air Cargo Boeing 737-300 - SF cargo door bumper//AIGAIM_Aloha Air Cargo Boeing 737-300 - SF Northern Air Cargo//AIGAIM_Aloha Air Cargo Boeing 737-300 - SF//AIGAIM_Aloha Air Cargo Boeing 737-300 - SF cargo door bumper//AIGAIM_Aloha Air Cargo Boeing 737-300 - SF Northern Air Cargo" />
<ModelMatchRule CallsignPrefix="AAH" TypeCode="B734" ModelName="AIGAIM_Aloha Air Cargo Boeing 737-400 - SF Northern Air Cargo white with titles//AIGAIM_Aloha Air Cargo Boeing 737-400 - SF Northern Air Cargo white with titles" />
<ModelMatchRule CallsignPrefix="AAH" TypeCode="A19N" ModelName="AIGAIM_Aloha Air Cargo Boeing 737-300 - SF//AIGAIM_Aloha Air Cargo Boeing 737-300 - SF cargo door bumper//AIGAIM_Aloha Air Cargo Boeing 737-300 - SF Northern Air Cargo//AIGAIM_Aloha Air Cargo Boeing 737-300 - SF//AIGAIM_Aloha Air Cargo Boeing 737-300 - SF
@haymaker
haymaker / Leo MaddogX Events.xml
Created May 19, 2022 08:29
Leo MaddogX SPAD.next Custom Client Events
<?xml version="1.0" encoding="utf-8"?>
<CustomClientEvents xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<CustomClientEvent Name="vc efb cm1" EventID="L:efb_event" SubCategory="Leo Maddog">Value: 2147483649</CustomClientEvent>
<CustomClientEvent Name="vc efb cm2" EventID="L:efb2_event" SubCategory="Leo Maddog">Value: 2147483649</CustomClientEvent>
<CustomClientEvent Name="CM1 ASI needle4" EventID="L:CM1_ASI_event" SubCategory="Leo Maddog">( Increase: 536870912 ) ( Decrease: 2147483648 ) </CustomClientEvent>
<CustomClientEvent Name="CM1 ASI needle5" EventID="L:CM1_ASI_event" SubCategory="Leo Maddog">( Increase: 536870912 ) ( Decrease: 2147483648 ) </CustomClientEvent>
<CustomClientEvent Name="CM1 ASI needle6" EventID="L:CM1_ASI_event" SubCategory="Leo Maddog">( Increase: 536870912 ) ( Decrease: 2147483648 ) </CustomClientEvent>
<CustomClientEvent Name="CM1 ASI needle7" EventID="L:CM1_ASI_event" SubCategory="Leo Maddog">( Increase: 536870912 ) (