Skip to content

Instantly share code, notes, and snippets.

Raúl Romero bgta

Block or report user

Report or block bgta

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:540d78e73fb5b238e36294c00925e874
Verifying my Blockstack ID is secured with the address 15Yg1vvpgnXaNNy5ofqUEPTAMEcVNRwoYo
bgta /
Created Nov 26, 2017
Send a Telegram message using telegram-cli when low disk detected
#!/bin/env bash
FREE=`df --output=pcent -h "/dev/sdc1" | sed '1d;s/[^0-9]//g'`
if [[ $FREE -gt 98 ]]; then
# more than 98% used
echo "ALERT! More than 98% used"
telegram-cli -W -e "msg YOURCHANNEL ALERT! More than 98% used!"
View keybase-check
### Keybase proof
I hereby claim:
* I am bgta on github.
* I am bgta ( on keybase.
* I have a public key ASD23cjuXde4w8IpNQn2CXT7wXMn_bySa8uuzQFcOmreAQo
To claim this, I am signing this object:
You can’t perform that action at this time.