Skip to content

Instantly share code, notes, and snippets.

View BiatuAutMiahn's full-sized avatar

BiatuAutMiahn

  • InfinityResearchAndDevelopment
View GitHub Profile
@BiatuAutMiahn
BiatuAutMiahn / doADSync.ps1
Last active June 12, 2024 21:16
do AD Sync /w Feedback
function doADSync() {
$iProg=1
$aProg="|","/","-","\","|","/","-","\"
if (-Not (Get-Module -ListAvailable -Name AdSync)) {
Write-Host "AdSync Module not Available!" -ForegroundColor "Magenta"
return $false
}
Import-Module AdSync
$sync = Get-AdSyncScheduler
if ($sync.SyncCycleInProgress -eq $False) {
@BiatuAutMiahn
BiatuAutMiahn / genPl.py
Last active November 13, 2023 21:25
Generates halo 2 HPL playlist
import random
maps=["abyss","arbitration","artifact","battle zone","bigmap_1.03","blood gorge","boardingaction","bridge_battle","cartographe","cbsp","chassis","Chill Out","close_corners","coag redux v2","coagulation_snow_1.04","conservatory","corvette","crater","danger canyon 2","deadlock","delta_temple","devils canyon","frozen_fortress","gephyrophobia","grassgulch","GreenHill","griffball_arena","guardian","h2.5 guardian","h2.5 quandary","h2.5 valhalla","H2MT Trirate","H2MT WIZARD","hangemhigh","human_sample","icefields","immure","isla_1.01","m64_castle","moonwood","night mombasa v1.5","nightfall","Nightgulch","octagon","outskirts pb7","oxygen_1.02","pool","prisoner 1.1","prisoner","Proving Ground","Sacred Relic","salvation","sandtrap v4","SideWinder","SkyDiving V3","snowblind","spaceout","stronghold","summerwinder","the pit v2","the_pit","trenched","vangard","vizayen_base_trials","wetworks2","yoyorast","zombstone v2"]
plist=[]
plist.append(['playlist',{
"Shuffle": "On",
"Pregame Team Selection Delay": "
# Programming in Python 3.x
encoded = "IHPSLY PZ H NVVK IVF HUK OL'Z NVA H AVF" # Your encoded string
encoded_as_list = list(encoded) # Convert string to list of characters.
alphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
alphabet_as_list = list(alphabet)
decoded_as_list=[] # Create an empty list for our decoded characters.
decoded="" # Create an empty string for our decoded message.
@BiatuAutMiahn
BiatuAutMiahn / myusbgadget
Created September 16, 2017 01:25 — forked from geekman/myusbgadget
Pi Zero multiple USB gadgets minimal example
#!/bin/bash -e
modprobe libcomposite
cd /sys/kernel/config/usb_gadget/
mkdir g && cd g
echo 0x1d6b > idVendor # Linux Foundation
echo 0x0104 > idProduct # Multifunction Composite Gadget
echo 0x0100 > bcdDevice # v1.0.0