Games are defined through a JSON based configuration.
{
I hereby claim:
To claim this, I am signing this object:
require 'open-uri' | |
require 'pry' | |
require 'nokogiri' | |
require 'logger' | |
require 'twilio-ruby' | |
# put your own credentials here | |
account_sid = 'xxxx' | |
auth_token = 'xxxxx' |
ruby -e'require"json";require"net/http";loop{j=JSON.parse(Net::HTTP.get(URI("http://api.coinmarketcap.com/v1/ticker/")));system("clear");j[0,20].tap{puts "#{"-"*50}\n#{"Name".ljust(10)} Price \t%(1h) %(24h) %(7d)\n#{"-"*50}"}.each{|x|puts"#{x["symbol"].ljust(10)}$#{x["price_usd"]}\t#{x["percent_change_1h"]}%\t#{x["percent_change_24h"]}%\t#{x["percent_change_7d"]}%"};sleep(1)}' |
Pro Background Cryptotrader
while sleep 5; do say $(curl -s https://www.bitstamp.net/api/v2/ticker/etheur | ruby -rjson -e 'p JSON.parse(STDIN.read)["last"].to_f.round'); done
LH_VERSION=$(curl -IsS https://github.com/sigp/lighthouse/releases/latest | grep location: | awk -F / '{print $NF}' | tr -d '\r') | |
wget -q --show-progress https://github.com/sigp/lighthouse/releases/download/${LH_VERSION}/lighthouse-${LH_VERSION}-x86_64-unknown-linux-gnu-portable.tar.gz | |
tar -xvf lighthouse-${LH_VERSION}-x86_64-unknown-linux-gnu-portable.tar.gz | |
rm -rf lighthouse-${LH_VERSION}-x86_64-unknown-linux-gnu-portable.tar.gz | |
sudo systemctl stop lighthousebeacon | |
sudo mv -f lighthouse /usr/local/bin | |
sudo systemctl start lighthousebeacon |
https://www.nerdfonts.com/font-downloads
The following solution thanks to @hackerzgz & @snacky101 will install all nerd fonts;
brew tap homebrew/cask-fonts
brew search '/font-.*-nerd-font/' | awk '{ print $1 }' | xargs -I{} brew install --cask {} || true
@month = "M4" | |
@base = { | |
overhead: 66, | |
bench: 113, | |
squat: 130, | |
deadlift: 160 | |
} | |
def c(p,s,b = @base) |
Week 1 - Workout Schedule | |
Monday: | |
Back Squat: RPE 8-9.5 @ 94kg, 5 sets of 5 | |
Power Snatch: 60-70% @ 42kg - 49kg, 3 sets of 2 | |
Clean and Jerk: 60-70% @ 42kg - 49kg, 3 sets of 1 | |
Tuesday: | |
Back Squat: RPE 8-9.5 @ 94kg, 5 sets of 5 | |
Snatch: 60-70% @ 42kg - 49kg, 3 sets of 2 | |
Power Clean and Jerk: 60-70% @ 42kg - 49kg, 3 sets of 1 |