Skip to content

Instantly share code, notes, and snippets.

View FaceTheWolf's full-sized avatar
Hi there :)

Face The Wolf FaceTheWolf

Hi there :)
View GitHub Profile
@FaceTheWolf
FaceTheWolf / ethermine.sh
Created February 16, 2021 14:08
Ethermine stats getter
#!/usr/bin/env bash
miner="df2c6f7afc1a58783e15f2ae0118ff039d8a4755"
stats="$(curl -s https://api.ethermine.org/miner/${miner}/currentStats)"
# Using jq to parse json response
# https://github.com/stedolan/jq
printf %.4f $(echo "$float/1.18" | echo $stats | /usr/local/bin/jq ".data.unpaid"/1000000000000000000)
printf "ETH + "
printf %.2f $(echo "$float/1.18" | echo $stats | /usr/local/bin/jq ".data.usdPerMin"*60)

Keybase proof

I hereby claim:

  • I am facethewolf on github.
  • I am facethewolf (https://keybase.io/facethewolf) on keybase.
  • I have a public key ASAtvHk3AVWxnxONgiWAbZIbE0ctSyk-lPX7xjOojsBv7Qo

To claim this, I am signing this object:

@FaceTheWolf
FaceTheWolf / custom.css
Last active October 10, 2019 11:34
Custom CSS for toot.site
html{
scrollbar-face-color: #313543;
scrollbar-track-color: rgba(0, 0, 0, 0.1);
}
@media screen and (min-width: 1025px) {
.column {
flex: 1;
min-width: 350px;
max-width: 500px;