Compare commits
4 Commits
48963077f3
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 8d847714cf | |||
| fe49d23a28 | |||
| 64a96259bc | |||
| fd28e35148 |
18
convert.sh
18
convert.sh
@@ -8,11 +8,14 @@ cd $DIR
|
|||||||
date
|
date
|
||||||
|
|
||||||
ebook="HyperlingsHealthProtocol.pdf"
|
ebook="HyperlingsHealthProtocol.pdf"
|
||||||
|
book="HyperlingsHealthProtocol-book.pdf"
|
||||||
|
booklet="HyperlingsHealthProtocol-booklet-default.pdf"
|
||||||
|
rotated="HyperlingsHealthProtocol-booklet-rotated.pdf"
|
||||||
|
|
||||||
if [[ -e $ebook ]]; then
|
if [[ -e *.pdf ]]; then
|
||||||
echo -n "Old: "
|
echo -n "Old: "
|
||||||
du -h $ebook
|
du -h *.pdf
|
||||||
rm -v $ebook
|
rm -v *.pdf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cp ebook.md /tmp/
|
cp ebook.md /tmp/
|
||||||
@@ -22,13 +25,18 @@ pandoc /tmp/ebook.md \
|
|||||||
-s -N --toc --toc-depth=3 \
|
-s -N --toc --toc-depth=3 \
|
||||||
-o $ebook
|
-o $ebook
|
||||||
status=$?
|
status=$?
|
||||||
|
echo "PDF created with status '$status'."
|
||||||
|
|
||||||
|
echo "*** Creating Bookets ***"
|
||||||
pdfbook2 -n $ebook
|
pdfbook2 -n $ebook
|
||||||
|
mv -v $book $booklet
|
||||||
|
|
||||||
echo "Completed with status '$status'."
|
pdfbook2 -ns $ebook
|
||||||
|
mv -v $book $rotated
|
||||||
|
echo "*** Completed Bookets ***"
|
||||||
|
|
||||||
echo -n "New: "
|
echo -n "New: "
|
||||||
du -h $ebook
|
du -h *.pdf
|
||||||
|
|
||||||
date
|
date
|
||||||
|
|
||||||
|
|||||||
1
ebook.md
1
ebook.md
@@ -193,6 +193,7 @@ This is the easiest for people to get right, and many people seem pretty close a
|
|||||||
- Only water is water. Do not use teas, juices, or other flavored beverages for hydration. Yes, they may help in a pinch, but otherwise should be treated as dietary snacks or supplements.
|
- Only water is water. Do not use teas, juices, or other flavored beverages for hydration. Yes, they may help in a pinch, but otherwise should be treated as dietary snacks or supplements.
|
||||||
- Drinking a full liter at a time will help stretch the stomach. Spread it across a few minutes if uncomfortable, then over time it becomes easier to do.
|
- Drinking a full liter at a time will help stretch the stomach. Spread it across a few minutes if uncomfortable, then over time it becomes easier to do.
|
||||||
- Overhydration is real, try not to exceed 1 liter of water per hour unless you know what you're doing.
|
- Overhydration is real, try not to exceed 1 liter of water per hour unless you know what you're doing.
|
||||||
|
- Shaking and swirling your water helps to oxygenate it, better mimicking natural running water.
|
||||||
- Drinking water during or after a meal should not be necessary unless you need to rinse your mouth, you have something in your throat, or the food is somehow too dry to swallow.
|
- Drinking water during or after a meal should not be necessary unless you need to rinse your mouth, you have something in your throat, or the food is somehow too dry to swallow.
|
||||||
- In the last case, you should ask yourself why you're eating it.
|
- In the last case, you should ask yourself why you're eating it.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user