Skip to content

Instantly share code, notes, and snippets.

View tytydraco's full-sized avatar
🦆
Quack!

Tyler Nijmeh tytydraco

🦆
Quack!
View GitHub Profile
@tytydraco
tytydraco / cleaner.sh
Last active June 4, 2021 23:52
Clear data and cache of disabled pacakges
#!/usr/bin/env bash
disabled_pks="$(pm list packages -d | sed 's/package://')"
for pkg in $disabled_pks
do
echo "----- $pkg -----"
pm uninstall "$pkg" &> /dev/null
echo "- UNINSTALLED UPDATES"
pm disable-user "$pkg" &> /dev/null
echo "- DISABLED AGAIN"
@jagogardiner
jagogardiner / dhrybench.sh
Last active March 23, 2022 05:18
A dhrystone benchmark script I made for finding out dhrystones per frequency, which can be used to find CPU capacities.
#!/bin/sh
# User tunables
# Number of cores in the system
coreno=8
# Cores in the big cluster
bigcluster=4
# Cores in the little cluster