spring clean-up
This commit is contained in:
8
lbg
8
lbg
@@ -1,8 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
while true
|
||||
do
|
||||
xwinwrap -fs -fdt -ni -b -nf -un -o 1.0 -debug -- mpv -wid WID --loop --no-audio $(find /home/warezjoe/Videa/animation -type f | shuf -n 1) &
|
||||
sleep 300
|
||||
killall mpv
|
||||
done
|
||||
12
pgreptest
12
pgreptest
@@ -1,12 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
|
||||
if [ $(pgrep -c $(basename $0)) -gt 1 ]
|
||||
then
|
||||
echo 'Proccess already exist. Exiting..'
|
||||
exit
|
||||
fi
|
||||
|
||||
|
||||
echo 'Good proccess run..'
|
||||
sleep 500;
|
||||
4
syou
4
syou
@@ -1,4 +0,0 @@
|
||||
#!/bin/bash
|
||||
#firefox -new-tab "https://www.youtube.com/results?search_query="$1+$2+$3+$4+$5+$6+$7+$8+$9
|
||||
search=$(curl "https://www.youtube.com/results?search_query="$1+$2+$3+$4+$5+$6+$7+$8+$9 | grep -o -P 'watch\?v=.{0,11}' | head -1)
|
||||
youtube-dl --extract-audio --audio-format mp3 -o "%(title)s.%(ext)s" https://www.youtube.com/$search & > /dev/null
|
||||
7
vssh
7
vssh
@@ -1,7 +0,0 @@
|
||||
#/bin/bash
|
||||
|
||||
export SSH_AUTH_SOCK="${XDG_RUNTIME_DIR}/gnupg/S.gpg-agent.ssh"
|
||||
export GPG_TTY=$(tty)
|
||||
gpg-connect-agent updatestartuptty /bye >/dev/null
|
||||
|
||||
exec ssh $@
|
||||
29
welcome
29
welcome
@@ -1,29 +0,0 @@
|
||||
#!/bin/bash
|
||||
let upSeconds="$(/usr/bin/cut -d. -f1 /proc/uptime)"
|
||||
let secs=$((${upSeconds}%60))
|
||||
let mins=$((${upSeconds}/60%60))
|
||||
let hours=$((${upSeconds}/3600%24))
|
||||
let days=$((${upSeconds}/86400))
|
||||
UPTIME=`printf "%d days, %02dh%02dm%02ds" "$days" "$hours" "$mins" "$secs"`
|
||||
|
||||
# get the load averages
|
||||
read one five fifteen rest < /proc/loadavg
|
||||
|
||||
echo "$(tput setaf 2)
|
||||
|
||||
▄ ▄ ██ █▄▄▄▄ ▄███▄ ▄▄▄▄▄▄ ▄▄▄▄▄ ████▄ ▄███▄
|
||||
█ █ █ █ █ ▄▀ █▀ ▀ ▀ ▄▄▀ ▄▀ █ █ █ █▀ ▀
|
||||
█ ▄ █ █▄▄█ █▀▀▌ ██▄▄ ▄▀▀ ▄▀ █ █ █ ██▄▄
|
||||
█ █ █ █ █ █ █ █▄ ▄▀ ▀▀▀▀▀▀ ▄ █ ▀████ █▄ ▄▀
|
||||
█ █ █ █ █ ▀███▀ ▀ ▀███▀
|
||||
▀ ▀ █ ▀
|
||||
|
||||
|
||||
`date +"%A, %e %B %Y, %r"`
|
||||
`uname -srmo`
|
||||
$(tput sgr0)- Uptime.............: ${UPTIME}
|
||||
$(tput sgr0)- Memory.............: `free | grep Mem | awk '{print $3/1024}'` MB (Used) / `cat /proc/meminfo | grep MemTotal | awk {'print $2/1024'}` MB (Total)
|
||||
$(tput sgr0)- Load Averages......: ${one}, ${five}, ${fifteen} (1, 5, 15 min)
|
||||
$(tput sgr0)- Running Processes..: `ps ax | wc -l | tr -d " "`
|
||||
$(tput sgr0)- IP Addresses.......: `hostname -I | /usr/bin/cut -d " " -f 1` and `wget -q -O - http://icanhazip.com/ | tail`
|
||||
$(tput sgr0)"
|
||||
Reference in New Issue
Block a user