Skip to content

Commit 4eb3ca1

Browse files
committed
images fix
1 parent 12d3244 commit 4eb3ca1

File tree

19 files changed

+35
-35
lines changed

19 files changed

+35
-35
lines changed

β€Žcontent/posts/fitness-track.md renamed to β€Žcontent/posts/fitness-track/index.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ The actual exercises I do, and the number of reps/PRs etc are tracked in the Cul
2525

2626
I have a simple google sheet which looks like this:
2727

28-
![weight](image.png)
28+
![weight](images/image.png)
2929

3030
Column D and E are calculated as `Di = Ci - Bi`, `Ei = Bi+1 - Ci` tracking how much weight changed in that day, and the next day.
3131

@@ -38,7 +38,7 @@ Figuring out exact API was done by downloading raw cult apk, pass it through [ap
3838

3939
The script looks something like in [this](./cult_data_extract.py).
4040

41-
The sheet then looks like ![Cult-Fit-Journey](image-1.png) with self-explanatory column names.
41+
The sheet then looks like ![Cult-Fit-Journey](images/image-1.png) with self-explanatory column names.
4242

4343
Again, this sheet also acts as a backend now, with frontend I will describe at the end on how do I visualize all this.
4444

@@ -50,7 +50,7 @@ From the GYM, I get the data printed on a page, from which I manually enter to t
5050

5151
The sheet by the way looks like:
5252

53-
![InBody](image-2.png)
53+
![InBody](images/image-2.png)
5454

5555
## Frontend for all this
5656

@@ -62,9 +62,9 @@ My app looks something like this:
6262

6363
### Landing screen
6464

65-
![landing screen](image-3.png)
65+
![landing screen](images/image-3.png)
6666

67-
This shows the weight entries, and a `+` button to add in new entries, and clicking on anyone brings interface like this: ![edit-mode](image-4.png), where I can edit during night to record night weight.
67+
This shows the weight entries, and a `+` button to add in new entries, and clicking on anyone brings interface like this: ![edit-mode](images/image-4.png), where I can edit during night to record night weight.
6868

6969
### InBody Results
7070

@@ -74,9 +74,9 @@ Exactly similar to Landing screen, but another tab at the bottom for this.
7474

7575
The third tab has charts for how weight is progressing and for cult gym classes.
7676

77-
![weight chart](image-5.png)
77+
![weight chart](images/image-5.png)
7878

79-
![gym-classes](image-6.png)
79+
![gym-classes](images/image-6.png)
8080

8181
### InBody charts
8282

β€Žpublic/index.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,27 +22,27 @@
2222
</ul>
2323
<p>The actual exercises I do, and the number of reps/PRs etc are tracked in the Cult app itself, and for now I had not went into finding the API for that to extract that data into sheet.. Maybe sometime in near future :)</p>
2424
<h2 id="how-i-track-all-this">How I track all this? <a href="#how-i-track-all-this" class="anchor">πŸ”—</a></h2><h3 id="weight">Weight <a href="#weight" class="anchor">πŸ”—</a></h3><p>I have a simple google sheet which looks like this:</p>
25-
<p><img src="image.png" alt="weight"></p>
25+
<p><img src="images/image.png" alt="weight"></p>
2626
<p>Column D and E are calculated as <code>Di = Ci - Bi</code>, <code>Ei = Bi+1 - Ci</code> tracking how much weight changed in that day, and the next day.</p>
2727
<p>Until sometime back, this was the interface I used for updating weight everyday: open sheet, add date if not there, add the weight entries. I have a better way which uses this sheet itself as database/backend, gonna come to it at the end.</p>
2828
<h3 id="number-of-weeks-i-had-been-regular-in-gymnumber-of-classes-attended">Number of weeks I had been regular in gym/number of classes attended. <a href="#number-of-weeks-i-had-been-regular-in-gymnumber-of-classes-attended" class="anchor">πŸ”—</a></h3><p>This data is something I occasionally run a script (I should probably automate this) which calls CULT’s API to get the data, and I put that manually into a google sheet then.
2929
Figuring out exact API was done by downloading raw cult apk, pass it through <a href="https://github.com/shroudedcode/apk-mitm">apk-mitm</a> and then use <a href="https://httptoolkit.com/">http-toolkit</a> to intercept the traffic while I visit corresponding page in the app to see the API that the app calls..</p>
3030
<p>The script looks something like in <a href="./cult_data_extract.py">this</a>.</p>
31-
<p>The sheet then looks like <img src="image-1.png" alt="Cult-Fit-Journey"> with self-explanatory column names.</p>
31+
<p>The sheet then looks like <img src="images/image-1.png" alt="Cult-Fit-Journey"> with self-explanatory column names.</p>
3232
<p>Again, this sheet also acts as a backend now, with frontend I will describe at the end on how do I visualize all this.</p>
3333
<h3 id="occasional-bmi-and-other-metrics-from-inbody-machine-installed-in-the-gym-i-go-to">Occasional BMI and other metrics from InBody machine installed in the gym I go to. <a href="#occasional-bmi-and-other-metrics-from-inbody-machine-installed-in-the-gym-i-go-to" class="anchor">πŸ”—</a></h3><p>This is also backed by google sheet, and I have no automated way to get this data, I just manually enter it into the sheet.</p>
3434
<p>From the GYM, I get the data printed on a page, from which I manually enter to the frontend I am gonna describe next.</p>
3535
<p>The sheet by the way looks like:</p>
36-
<p><img src="image-2.png" alt="InBody"></p>
36+
<p><img src="images/image-2.png" alt="InBody"></p>
3737
<h2 id="frontend-for-all-this">Frontend for all this <a href="#frontend-for-all-this" class="anchor">πŸ”—</a></h2><p>Entering all this data manually into the google sheet is a hard task, which lead me sometimes missing recording the data. So, I tried to follow the advice that <code>Atomic Habits</code> book’s second rule of habit formation preaches: <code>Make it easy</code>.</p>
3838
<p>So, the simplest way I thought was having an app in which I can quickly crunch in numbers (Ik google sheet also is the same thing, but the interface is hard to enter on the phone), so I used <a href="https://www.appsheet.com/">appsheet</a> to quickly create a UI on top of the google sheets.</p>
3939
<p>My app looks something like this:</p>
40-
<h3 id="landing-screen">Landing screen <a href="#landing-screen" class="anchor">πŸ”—</a></h3><p><img src="image-3.png" alt="landing screen"></p>
41-
<p>This shows the weight entries, and a <code>+</code> button to add in new entries, and clicking on anyone brings interface like this: <img src="image-4.png" alt="edit-mode">, where I can edit during night to record night weight.</p>
40+
<h3 id="landing-screen">Landing screen <a href="#landing-screen" class="anchor">πŸ”—</a></h3><p><img src="images/image-3.png" alt="landing screen"></p>
41+
<p>This shows the weight entries, and a <code>+</code> button to add in new entries, and clicking on anyone brings interface like this: <img src="images/image-4.png" alt="edit-mode">, where I can edit during night to record night weight.</p>
4242
<h3 id="inbody-results">InBody Results <a href="#inbody-results" class="anchor">πŸ”—</a></h3><p>Exactly similar to Landing screen, but another tab at the bottom for this.</p>
4343
<h3 id="charts---weight-and-classes">Charts - Weight and Classes <a href="#charts---weight-and-classes" class="anchor">πŸ”—</a></h3><p>The third tab has charts for how weight is progressing and for cult gym classes.</p>
44-
<p><img src="image-5.png" alt="weight chart"></p>
45-
<p><img src="image-6.png" alt="gym-classes"></p>
44+
<p><img src="images/image-5.png" alt="weight chart"></p>
45+
<p><img src="images/image-6.png" alt="gym-classes"></p>
4646
<h3 id="inbody-charts">InBody charts <a href="#inbody-charts" class="anchor">πŸ”—</a></h3><p>The last one has inbody charts for metrics: Body Fat Percentage, Total Fat (kg), Muscle Mass (kg), Visceral Fat Level, Waist Hip Ratio.</p>
4747
</description>
4848
</item>
82.6 KB
Loading
26.9 KB
Loading
72.6 KB
Loading
66.5 KB
Loading
Loading
92.6 KB
Loading
45.6 KB
Loading

β€Žpublic/posts/fitness-track/index.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -86,27 +86,27 @@ <h2 id="what-all-i-track-so-far">What all I track so far? <a href="#what-all-i-t
8686
</ul>
8787
<p>The actual exercises I do, and the number of reps/PRs etc are tracked in the Cult app itself, and for now I had not went into finding the API for that to extract that data into sheet.. Maybe sometime in near future :)</p>
8888
<h2 id="how-i-track-all-this">How I track all this? <a href="#how-i-track-all-this" class="anchor">πŸ”—</a></h2><h3 id="weight">Weight <a href="#weight" class="anchor">πŸ”—</a></h3><p>I have a simple google sheet which looks like this:</p>
89-
<p><img src="image.png" alt="weight"></p>
89+
<p><img src="images/image.png" alt="weight"></p>
9090
<p>Column D and E are calculated as <code>Di = Ci - Bi</code>, <code>Ei = Bi+1 - Ci</code> tracking how much weight changed in that day, and the next day.</p>
9191
<p>Until sometime back, this was the interface I used for updating weight everyday: open sheet, add date if not there, add the weight entries. I have a better way which uses this sheet itself as database/backend, gonna come to it at the end.</p>
9292
<h3 id="number-of-weeks-i-had-been-regular-in-gymnumber-of-classes-attended">Number of weeks I had been regular in gym/number of classes attended. <a href="#number-of-weeks-i-had-been-regular-in-gymnumber-of-classes-attended" class="anchor">πŸ”—</a></h3><p>This data is something I occasionally run a script (I should probably automate this) which calls CULT&rsquo;s API to get the data, and I put that manually into a google sheet then.
9393
Figuring out exact API was done by downloading raw cult apk, pass it through <a href="https://github.com/shroudedcode/apk-mitm">apk-mitm</a> and then use <a href="https://httptoolkit.com/">http-toolkit</a> to intercept the traffic while I visit corresponding page in the app to see the API that the app calls..</p>
9494
<p>The script looks something like in <a href="./cult_data_extract.py">this</a>.</p>
95-
<p>The sheet then looks like <img src="image-1.png" alt="Cult-Fit-Journey"> with self-explanatory column names.</p>
95+
<p>The sheet then looks like <img src="images/image-1.png" alt="Cult-Fit-Journey"> with self-explanatory column names.</p>
9696
<p>Again, this sheet also acts as a backend now, with frontend I will describe at the end on how do I visualize all this.</p>
9797
<h3 id="occasional-bmi-and-other-metrics-from-inbody-machine-installed-in-the-gym-i-go-to">Occasional BMI and other metrics from InBody machine installed in the gym I go to. <a href="#occasional-bmi-and-other-metrics-from-inbody-machine-installed-in-the-gym-i-go-to" class="anchor">πŸ”—</a></h3><p>This is also backed by google sheet, and I have no automated way to get this data, I just manually enter it into the sheet.</p>
9898
<p>From the GYM, I get the data printed on a page, from which I manually enter to the frontend I am gonna describe next.</p>
9999
<p>The sheet by the way looks like:</p>
100-
<p><img src="image-2.png" alt="InBody"></p>
100+
<p><img src="images/image-2.png" alt="InBody"></p>
101101
<h2 id="frontend-for-all-this">Frontend for all this <a href="#frontend-for-all-this" class="anchor">πŸ”—</a></h2><p>Entering all this data manually into the google sheet is a hard task, which lead me sometimes missing recording the data. So, I tried to follow the advice that <code>Atomic Habits</code> book&rsquo;s second rule of habit formation preaches: <code>Make it easy</code>.</p>
102102
<p>So, the simplest way I thought was having an app in which I can quickly crunch in numbers (Ik google sheet also is the same thing, but the interface is hard to enter on the phone), so I used <a href="https://www.appsheet.com/">appsheet</a> to quickly create a UI on top of the google sheets.</p>
103103
<p>My app looks something like this:</p>
104-
<h3 id="landing-screen">Landing screen <a href="#landing-screen" class="anchor">πŸ”—</a></h3><p><img src="image-3.png" alt="landing screen"></p>
105-
<p>This shows the weight entries, and a <code>+</code> button to add in new entries, and clicking on anyone brings interface like this: <img src="image-4.png" alt="edit-mode">, where I can edit during night to record night weight.</p>
104+
<h3 id="landing-screen">Landing screen <a href="#landing-screen" class="anchor">πŸ”—</a></h3><p><img src="images/image-3.png" alt="landing screen"></p>
105+
<p>This shows the weight entries, and a <code>+</code> button to add in new entries, and clicking on anyone brings interface like this: <img src="images/image-4.png" alt="edit-mode">, where I can edit during night to record night weight.</p>
106106
<h3 id="inbody-results">InBody Results <a href="#inbody-results" class="anchor">πŸ”—</a></h3><p>Exactly similar to Landing screen, but another tab at the bottom for this.</p>
107107
<h3 id="charts---weight-and-classes">Charts - Weight and Classes <a href="#charts---weight-and-classes" class="anchor">πŸ”—</a></h3><p>The third tab has charts for how weight is progressing and for cult gym classes.</p>
108-
<p><img src="image-5.png" alt="weight chart"></p>
109-
<p><img src="image-6.png" alt="gym-classes"></p>
108+
<p><img src="images/image-5.png" alt="weight chart"></p>
109+
<p><img src="images/image-6.png" alt="gym-classes"></p>
110110
<h3 id="inbody-charts">InBody charts <a href="#inbody-charts" class="anchor">πŸ”—</a></h3><p>The last one has inbody charts for metrics: Body Fat Percentage, Total Fat (kg), Muscle Mass (kg), Visceral Fat Level, Waist Hip Ratio.</p>
111111

112112
</div>

0 commit comments

Comments
Β (0)