Skip to content

Instantly share code, notes, and snippets.

@adeonhy
Created January 3, 2018 17:23
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adeonhy/99df0d31a486ac2ec3b422e9b72400cc to your computer and use it in GitHub Desktop.
Save adeonhy/99df0d31a486ac2ec3b422e9b72400cc to your computer and use it in GitHub Desktop.
ETHマイニング状況をslackに投げるやつ
ETH_POOL_URL=https://ethermine.org/miners/XXXXXXX
SLACK_CH=XXXXXXX
wget $ETH_POOL_URL -O - 2>/dev/null \
| w3m -dump -cols 2000 -T 'text/html' \
| grep -E 'Unpaid Balance.*ETH' \
| slack-cli -d $SLACK_CH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment