diff options
author | rodri <rgl@antares-labs.eu> | 2021-02-06 12:27:11 +0000 |
---|---|---|
committer | rodri <rgl@antares-labs.eu> | 2021-02-06 12:27:11 +0000 |
commit | 3d91cb5bef0305ac05d3a172aecb0d60a5a2c500 (patch) | |
tree | f32de32da34a881cbeb19279f18a1e34389244b6 | |
parent | 800267bfade7f03104e5839cf27be47ca2a7d966 (diff) | |
download | rcfitness-3d91cb5bef0305ac05d3a172aecb0d60a5a2c500.tar.gz rcfitness-3d91cb5bef0305ac05d3a172aecb0d60a5a2c500.tar.bz2 rcfitness-3d91cb5bef0305ac05d3a172aecb0d60a5a2c500.zip |
add more exercises, the default session file and better explanations.
-rwxr-xr-x | bmr | 1 | ||||
-rw-r--r-- | default.session | 23 | ||||
-rw-r--r-- | exercises | 6 | ||||
-rw-r--r-- | readme.md | 28 | ||||
-rwxr-xr-x | weighin | 20 | ||||
-rw-r--r-- | weight | 2 |
6 files changed, 78 insertions, 2 deletions
@@ -4,6 +4,7 @@ # P(kcal/day) = 10*weight(kg) + 6.25*height(cm) - 5*age(yr) + s # where s is +5 for men and -161 for women # +rfork ne s=5 w=() h=() diff --git a/default.session b/default.session new file mode 100644 index 0000000..ff94c4e --- /dev/null +++ b/default.session @@ -0,0 +1,23 @@ +a +y +15 +15 +15 +30 +20 +25 +15 +10 +20 +15 +20 +50 +30 +20 +10 +10 +10 +10 +10 +10 +y @@ -1,6 +1,6 @@ -biceps +bicep curls dumbbell lifts with your hands facing upward. -shoulders +lateral raises dumbbell wing lifts. back dumbbell wing lifts with your hands facing up (thumbs out) and @@ -53,3 +53,5 @@ parallel bar chest dips TBD single bar chest dips TBD +parallel bar pull-ups with grounded heels + TBD @@ -1,3 +1,31 @@ # rcfitness Rc tools for fitness tracking + +## basal metabolic rate (BMR) + +Computes the BMR using the Mifflin-St. Jeor equation. + + # bmr for a 33 year old male whose height is 180cm and weights 92kg + % bmr 92 180 33 + # bmr for a 27 year old female who weights 67kg and is 165cm tall + % bmr -w 67 165 27 + +## weight tracking + + # today the scale marks 80kg (careful with obsessing over this) + % weighin 80 + +## default session file + +The `default.session` file shows a repetitions-per-exercise table, +matching the order in the `exercises` file, ready to be selected and +sent to a [rio(1)](http:/man.9front.org/1/rio) window right after +starting a `workout`. + +## about weights + +In weightlifting exercises where (dumb|bar|kettle)bells are used, the +weight isn't tracked. It should be up to you how much you are lifting +and at what pace. Feel free to extend the scripts to match your +training procedure. @@ -0,0 +1,20 @@ +#!/bin/rc +rfork ne +today=`{date -i | awk -F'-' '{print $2"/"$3}'} +w=() +flagfmt='' +args='weight' + +fn usage { + aux/usage + exit usage +} + +if(! ifs=() eval `{aux/getflags $*} || ! ~ $#* 1) + usage + +w=$1 + +cat <<EOF >>weight +$today $w +EOF @@ -0,0 +1,2 @@ +# date weight(kg) +02/05 77.4 |