Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am suuhm on github.
  • I am suuhm (https://keybase.io/suuhm) on keybase.
  • I have a public key ASAsDwC6wX7cGTVsChAs6jvWAS9GQXf6Q70uLn4Az6b1Qgo

To claim this, I am signing this object:

@suuhm
suuhm / BulkRenamer-7zToZip.ps1
Created March 17, 2021 22:19
Dirty-Easy to use Script for Bulk- renaming and/or convert 7z files to zip. Used for OG XBOX FAT Filesystem limits
##
## FAT STRINg CUTTEr & 7z to ZIP Convert 2.1a
## (c) suuhmer 2021
##
## Easy to use Script for Bulk- renaming and/or convert 7z files to zip.
## I Made this for using my Megadrive/SNES Roms on my og xbox,
## which only supports the FAT FS /w limited filename-lengths
##
## Parameters: BulkRenamer-7zToZip.ps1 <bulkrename|7ztozip>
@suuhm
suuhm / remove-android-bloatware.sh
Created April 1, 2021 22:14
Removing Bloatware from Samsung Android Devices with adb shell
# More infos Infos from https://technastic.com/remove-samsung-bloatware-safe-to-remove-apps/
# To get a list of all packages:
# pm list packages
# shell pm list packages | grep -i 'samsung'
echo "Vodafone ebay amazon etc first..."
pm uninstall -k --user 0 com.ebay.carrier
pm uninstall -k --user 0 com.vodafone.vodafone360updates
pm uninstall -k --user 0 com.vodafone.smhs
@suuhm
suuhm / frox_backupdater.sh
Last active September 18, 2024 22:14
Froxlor Smart Backup - (Auto) Update - Restore Script
#!/bin/bash
#
# FROX_BACKUPDATER SCRIPT
#
# FEATURES: BACKUP (DEFUALT) / UPDATE LATEST VERSION / RESTORE BACKUP
#
# COPYRIGHT 2020 SUUHMER
# DEV.COLDWAREVERYDAY.COM
#
# USAGE:
@suuhm
suuhm / azuread-autosync.ps1
Last active July 8, 2021 17:50
Azure AD Auto synchronisation on startup - AD365
Write-Host "Starting Sync on Prem"
net stop AdSync
net start AdSync
#@ping 127.0.0.1 -n2 >nul
sleep 2
Start-ADSyncSyncCycle -PolicyType Initial
Write-Host "Done"
@suuhm
suuhm / terratec-ts22-driver-start-stop.bat
Last active October 26, 2021 21:17
Terratec TS22 Windows 7 x64 Driver fix to bypass the Shutdown bug. Just create shortcuts or set in sheduler
@echo off
SETLOCAL EnableDelayedExpansion
::
:: (c) Suuhmer - 2021
:: All rights reserved
::
:: call: terratec-ts22-driver-start-stop.bat [enable|disable]
::
:: YOU HAVE TO RUN AS ADMIN THIS SCRIPT!
::
@suuhm
suuhm / winxp-activate-extend.bat
Created September 22, 2021 20:21
Windows XP Professional Activate and extend activation period (OOBE method) with logfile write
@echo off
echo
echo ****************************************
echo **** now activating - by suuhm 2020 ****
echo ****************************************
echo
REM seleeping here:
@ping -n 2 localhost> nul
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WPAEvents" /v OOBETimer /t REG_BINARY /d EB548CC60E451759555BF4 /f
@suuhm
suuhm / Aplitube_Runner_v0.1.bat
Last active October 26, 2021 21:20
Amplitube Runner and Driver Activator - needs to run as Admin and terratec-ts22-driver-start-stop.bat
@echo off
echo check for TS PCI State...
C:\Windows\System32\cmd.exe /c start C:\terratec-ts22-driver-start-stop.bat enable
echo run aplitube now...
ping -w 2000 -n 1 2.0.0.0 >nul
cd "C:\Program Files\IK Multimedia\AmpliTube 4"
start "C:\Program Files\IK Multimedia\AmpliTube 4" "AmpliTube 4.exe"
@suuhm
suuhm / odhclient.sh
Created October 27, 2021 22:27
openwrt dhclient replacement script to renew dhcp addresses - chmod +x ./odhclient.sh && ./odhclient.sh <DEVICE> <MAC>
#!/bin/bash
#eth0.23 - MAC: 9C:80:DF:22:11:11
#
# suuhm (c) 2021
#
# ./odhclient.sh <DEVICE> <MAC>
#
echo "Settings up now... Device $1 - MAC $2"
udhcpcd -k $1
@suuhm
suuhm / unifi-control-led.sh
Created October 27, 2021 22:32
Unifi set Controller inform in different Subnet and LCD Color Changer
# ssh in AP and run:
# set-inform http://ip.of.the.controller:8080/inform
#
# suuhm 2021
# echo '2' >/proc/gpio/led_pattern
mgmt.is_default=false
mgmt.led_enabled=true
mgmt.cfgversion=x
mgmt.authkey=x