various changes
This commit is contained in:
parent
0c574196f3
commit
ac13028a8a
@ -1,3 +1,3 @@
|
||||
{
|
||||
"lastUpdate": 1594985134646
|
||||
"lastUpdate": 1595060143320
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
https://security.stackexchange.com/questions/220068/using-local-port-forwarding-from-raspberrypi-to-vps-in-order-to-be-able-to-acces ssh - Using local port forwarding from RaspberryPI to VPS in order to be able to access the PI from anywhere on the Internet, security considerations? - Information Security Stack Exchange
|
||||
https://gist.github.com/attacus/cb5c8a53380ca755b10a5b37a636a0b9 Create your own encrypted chat server with Riot and Matrix
|
||||
https://twitter.com/intent/tweet?original_referer=https%3A%2F%2Fmy.vultr.com%2F&ref_src=twsrc%5Etfw&text=I%20just%20deployed%20a%20high%20performance%20cloud%20server%20on%20Vultr.com%20!%20%23ILoveVultr%20%23Cloud&tw_p=tweetbutton&url=http%3A%2F%2Fgoo.gl%2FZLou61 Home / Twitter
|
||||
|
@ -29,7 +29,7 @@ tx=$(update /sys/class/net/[ew]*/statistics/tx_bytes)
|
||||
timedifference=$(( "$(date +'%s')" - "$previoustime" ))
|
||||
if [ -n "$timedifference" ]; then
|
||||
rx_avg=$(( "$rx" / "$timedifference" ))
|
||||
tx_avg=$(( "$rx" / "$timedifference" ))
|
||||
tx_avg=$(( "$tx" / "$timedifference" ))
|
||||
else
|
||||
rx_avg=rx_bytes
|
||||
tx_avg=tx_bytes
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
transmission-remote -l | grep % |
|
||||
var="$( transmission-remote -l | grep % |
|
||||
sed " # This first sed command is to ensure a desirable order with sort
|
||||
s/.*Stopped.*/A/g;
|
||||
s/.*Seeding.*/Z/g;
|
||||
@ -14,7 +14,8 @@ transmission-remote -l | grep % |
|
||||
s/L/🔼/g;
|
||||
s/M/🔽/g;
|
||||
s/N/✅/g;
|
||||
s/Z/🌱/g" | awk '{print $2, $1}' | tr '\n' ' ' | sed -e "s/ $//g"
|
||||
s/Z/🌱/g" | awk '{print $2, $1}' )" #tr '\n' ' ' | sed -e "s/ $/ /g"
|
||||
echo $var | sed 's/ //g'
|
||||
|
||||
case $BLOCK_BUTTON in
|
||||
1) $TERMINAL -e transmission-remote-cli ;;
|
||||
@ -25,4 +26,3 @@ case $BLOCK_BUTTON in
|
||||
✅: done
|
||||
🌱: done and seeding" ;;
|
||||
esac
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user