Skip to content

Instantly share code, notes, and snippets.

View adrianvg's full-sized avatar

adrianvg adrianvg

  • Sweden
View GitHub Profile
@baszoetekouw
baszoetekouw / remove_bloatware.sh
Last active April 30, 2023 20:24
Bloatware to be removed from Galaxy S8
#!/bin/bash
# dit zijn de paketten die IK van mijn (verder lege) telefoon heb verwijderd.
exit
adb shell pm uninstall -k --user 0 com.android.bio.face.service
adb shell pm uninstall -k --user 0 com.diotek.sec.lookup.dictionary
adb shell pm uninstall -k --user 0 com.enhance.gameservice
adb shell pm uninstall -k --user 0 com.facebook.appmanager
adb shell pm uninstall -k --user 0 com.facebook.katana
adb shell pm uninstall -k --user 0 com.facebook.services
adb shell pm uninstall -k --user 0 com.facebook.system
@kamermans
kamermans / fail2ban-allstatus.sh
Created July 11, 2011 17:06
Show status of all fail2ban jails at once
#!/bin/bash
JAILS=`fail2ban-client status | grep "Jail list" | sed -E 's/^[^:]+:[ \t]+//' | sed 's/,//g'`
for JAIL in $JAILS
do
fail2ban-client status $JAIL
done