This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
sudo dd if=/dev/zero of=/var/swapfile bs=1M count=1048 && \ | |
sudo chmod 600 /var/swapfile && \ | |
sudo mkswap /var/swapfile && \ | |
echo /var/swapfile none swap defaults 0 0 | sudo tee -a /etc/fstab && \ | |
sudo swapon -a | |
exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Kali / Ubuntu / Debian Linux update efi bootloader and set correct bios systime | |
# (C) 2021 suuhm | |
# | |
apt clean; apt update && apt install os-prober ntpdate | |
echo "Set up correct time:" | |
ntpdate pool.ntp.org && hwclock --systohc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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! | |
:: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# FROX_BACKUPDATER SCRIPT | |
# | |
# FEATURES: BACKUP (DEFUALT) / UPDATE LATEST VERSION / RESTORE BACKUP | |
# | |
# COPYRIGHT 2020 SUUHMER | |
# DEV.COLDWAREVERYDAY.COM | |
# | |
# USAGE: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |