fun bash stuff
The snippet can be accessed without any authentication.
Authored by
Dirk Sarpe
.fun.sh 631 B
# source https://opensource.com/article/18/9/shell-dotfile
shrug() { echo "¯\_(ツ)_/¯"; }
fliptable() { echo "(╯°□°)╯ ┻━┻"; } # Flip a table. Example usage: fsck -y /dev/sdb1 || fliptable
disco() { cat << EOF
(•_•)
<) )╯
/ \
\(•_•)
( (>
/ \
(•_•)
<) )>
/ \
EOF
}
snow() {
clear;while :;do echo $LINES $COLUMNS $(($RANDOM%$COLUMNS));sleep 0.1;done|gawk '{a[$3]=0;for(x in a) {o=a[x];a[x]=a[x]+1;printf "\033[%s;%sH ",o,x;printf "\033[%s;%sH*\033[0;0H",a[x],x;}}'
}
alias flipdesk='fliptable'
alias deskflip='fliptable'
alias tableflip='fliptable'
Please register or sign in to comment