Created
December 11, 2017 00:57
-
-
Save t0rr3sp3dr0/c9d996670b3157e7224774b6284e0943 to your computer and use it in GitHub Desktop.
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 | |
function DF { | |
CMD="$(declare -f DF);$(declare -f $1);$1" | |
gnome-terminal -e "bash -ic '${CMD//\'/\'\"\'\"\'}'" | |
} | |
function MAIN { | |
{ | |
while true; do | |
echo `expr $RANDOM \% 100` | |
for (( I = 0; I < 32; ++I )); do | |
if (( I != 13 )); then | |
trap 'DF MAIN' $I | |
fi | |
done | |
sleep 0.125 | |
done | |
} | whiptail --gauge " | |
██████╗ ██████╗ ███╗ ██╗ ██████╗ ████████╗ | |
██╔══██╗██╔═══██╗ ████╗ ██║██╔═══██╗╚══██╔══╝ | |
██║ ██║██║ ██║ ██╔██╗ ██║██║ ██║ ██║ | |
██║ ██║██║ ██║ ██║╚██╗██║██║ ██║ ██║ | |
██████╔╝╚██████╔╝ ██║ ╚████║╚██████╔╝ ██║ | |
╚═════╝ ╚═════╝ ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ | |
██████╗██╗ ██████╗ ███████╗███████╗ ███╗ ███╗███████╗ | |
██╔════╝██║ ██╔═══██╗██╔════╝██╔════╝ ████╗ ████║██╔════╝ | |
██║ ██║ ██║ ██║███████╗█████╗ ██╔████╔██║█████╗ | |
██║ ██║ ██║ ██║╚════██║██╔══╝ ██║╚██╔╝██║██╔══╝ | |
╚██████╗███████╗╚██████╔╝███████║███████╗ ██║ ╚═╝ ██║███████╗ | |
╚═════╝╚══════╝ ╚═════╝ ╚══════╝╚══════╝ ╚═╝ ╚═╝╚══════╝ | |
" 0 0 0 | |
} | |
MAIN |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment