Compare commits
No commits in common. "7f52bb4c72274415cb471d34a25de05eb110bc64" and "97f11ab3b027abfbd0326503eb1ecd0be7af0ae1" have entirely different histories.
7f52bb4c72
...
97f11ab3b0
23
README.md
23
README.md
|
@ -15,20 +15,21 @@ Options:
|
||||||
Notes:
|
Notes:
|
||||||
The dough can be kept overnight in the refidgerator if needed
|
The dough can be kept overnight in the refidgerator if needed
|
||||||
Water may also be used in place of beer
|
Water may also be used in place of beer
|
||||||
|
Setting an alternate recipe wont change the instructions that gets printed with -r
|
||||||
When in interactive mode, -f will get overridden
|
When in interactive mode, -f will get overridden
|
||||||
Try adding your choice of spices and/or herbs into the dough for more flavor
|
Try adding your choice of spices and/or herbs into the dough for more flavor
|
||||||
```
|
```
|
||||||
### Recipe (specifically for -R quick)
|
### Recipe (specifically for -R quick)
|
||||||
```
|
```
|
||||||
How to make the quick calculator pizza, standmixer edition:
|
How to make the quick calculator pizza, stand mixer edition:
|
||||||
1: warm beer to ~100f, combine with sugar and yeast in mixing bowl
|
1: warm beer to ~100f, combine with sugar and yeast in mixing bowl
|
||||||
2: then add flour, salt, oil, monosodium glutamate, and butter extract
|
2: then add flour, salt, oil, monosodium glutamate, and butter extract
|
||||||
3: mix for 4 minutes, then shape into ball
|
3: mix for 4 minutes, then shape into ball
|
||||||
4: rise for 15 minutes
|
4: rise for 15 minutes
|
||||||
5: mix for 5 minutes, shape into ball again
|
5: mix for 5 minutes, shape into ball again
|
||||||
6: rise again for 15 minutes
|
6: rise again for 15 minutes
|
||||||
7: turn onto, then shape to pan
|
7: turn onto, then shape to pan
|
||||||
8: rise for 10 minutes
|
8: rise for 10 minutes
|
||||||
9: add sauce, toppings
|
9: add sauce, toppings
|
||||||
10: bake at 550f until done
|
10: bake at 550f until done
|
||||||
```
|
```
|
||||||
|
|
29
pizza.sh
29
pizza.sh
|
@ -1,8 +1,6 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
PWD="$(dirname "$(readlink -f "$0")")" # find the pizza working directory
|
PWD="$(dirname "$(readlink -f "$0")")" # find the pizza working directory
|
||||||
RECIPE=${RECIPE:-quick}
|
RECIPE=quick
|
||||||
VARIATION=${VARIATION:-standmixer}
|
|
||||||
shopt -s extglob
|
|
||||||
|
|
||||||
function pizzahelp { # this only prints help text
|
function pizzahelp { # this only prints help text
|
||||||
echo "Pizza Calculator: The pizza script you never asked for"
|
echo "Pizza Calculator: The pizza script you never asked for"
|
||||||
|
@ -18,14 +16,25 @@ function pizzahelp { # this only prints help text
|
||||||
echo "Notes:"
|
echo "Notes:"
|
||||||
echo " The dough can be kept overnight in the refidgerator if needed"
|
echo " The dough can be kept overnight in the refidgerator if needed"
|
||||||
echo " Water may also be used in place of beer"
|
echo " Water may also be used in place of beer"
|
||||||
|
echo " Setting an alternate recipe wont change the instructions that gets printed with -r"
|
||||||
echo " When in interactive mode, -f will get overridden"
|
echo " When in interactive mode, -f will get overridden"
|
||||||
echo " Try adding your choice of spices and/or herbs into the dough for more flavor"
|
echo " Try adding your choice of spices and/or herbs into the dough for more flavor"
|
||||||
echo
|
echo
|
||||||
}
|
}
|
||||||
|
|
||||||
function pizzarecipe {
|
function pizzarecipe {
|
||||||
echo "How to make the $RECIPE calculator pizza, $VARIATION edition:"
|
echo "How to make the quick calculator pizza, stand mixer edition:"
|
||||||
sed -n "/\[$RECIPE:instructions:$VARIATION\]/,/^$/p" "$PWD/pizza.txt" | sed '/\[*.\]/d'
|
echo " 1: warm beer to ~100f, combine with sugar and yeast in mixing bowl"
|
||||||
|
echo " 2: then add flour, salt, oil, monosodium glutamate, and butter extract"
|
||||||
|
echo " 3: mix for 4 minutes, then shape into ball"
|
||||||
|
echo " 4: rise for 15 minutes"
|
||||||
|
echo " 5: mix for 5 minutes, shape into ball again"
|
||||||
|
echo " 6: rise again for 15 minutes"
|
||||||
|
echo " 7: turn onto, then shape to pan"
|
||||||
|
echo " 8: rise for 10 minutes"
|
||||||
|
echo " 9: add sauce, toppings"
|
||||||
|
echo " 10: bake at 550f until done"
|
||||||
|
echo
|
||||||
}
|
}
|
||||||
|
|
||||||
while getopts ":hrR:f:" option; do # loop through options, casing them
|
while getopts ":hrR:f:" option; do # loop through options, casing them
|
||||||
|
@ -38,8 +47,6 @@ while getopts ":hrR:f:" option; do # loop through options, casing them
|
||||||
exit;;
|
exit;;
|
||||||
f) # the end result of changing this is to alter crust thickness
|
f) # the end result of changing this is to alter crust thickness
|
||||||
FSI=$OPTARG;;
|
FSI=$OPTARG;;
|
||||||
v) # change variation (usually between hand and standmixer)
|
|
||||||
VARIATION=$OPTARG;;
|
|
||||||
R) # change dough recipe
|
R) # change dough recipe
|
||||||
RECIPE=$OPTARG;;
|
RECIPE=$OPTARG;;
|
||||||
\?)
|
\?)
|
||||||
|
@ -77,16 +84,16 @@ function arraytio { # im funny portmantaus are never bad
|
||||||
}
|
}
|
||||||
|
|
||||||
case $1 in # this parses the first argument (and actually calls our main functions), the units need to be removed before bc will accept it
|
case $1 in # this parses the first argument (and actually calls our main functions), the units need to be removed before bc will accept it
|
||||||
+([0-9])?(.)*([0-9])g)
|
*g)
|
||||||
SIZE=$(echo $1 | sed s/g//g)
|
SIZE=$(echo $1 | sed s/g//g)
|
||||||
arraytio;;
|
arraytio;;
|
||||||
+([0-9])?(.)*([0-9])\")
|
*\")
|
||||||
DIAM=$(echo $1 | sed s/\"//g)
|
DIAM=$(echo $1 | sed s/\"//g)
|
||||||
panarea;;
|
panarea;;
|
||||||
+([0-9])?(.)*([0-9])inch)
|
*inch)
|
||||||
DIAM=$(echo $1 | sed s/inch//g)
|
DIAM=$(echo $1 | sed s/inch//g)
|
||||||
panarea;;
|
panarea;;
|
||||||
+([0-9])?(.)*([0-9])in)
|
*in)
|
||||||
DIAM=$(echo $1 | sed s/in//g)
|
DIAM=$(echo $1 | sed s/in//g)
|
||||||
panarea;;
|
panarea;;
|
||||||
*)
|
*)
|
||||||
|
|
55
pizza.txt
55
pizza.txt
|
@ -1,3 +1,33 @@
|
||||||
|
[15"]
|
||||||
|
flour 375
|
||||||
|
yeast 13
|
||||||
|
salt 13
|
||||||
|
oil 21
|
||||||
|
sugar 7
|
||||||
|
beer 235
|
||||||
|
msg 2
|
||||||
|
b.ex. 2
|
||||||
|
|
||||||
|
[12"]
|
||||||
|
flour 240
|
||||||
|
yeast 8
|
||||||
|
salt 8
|
||||||
|
oil 13
|
||||||
|
sugar 4
|
||||||
|
beer 150
|
||||||
|
msg 1
|
||||||
|
b.ex. 1
|
||||||
|
|
||||||
|
[6"]
|
||||||
|
flour 60
|
||||||
|
yeast 2
|
||||||
|
salt 2
|
||||||
|
oil 3.25
|
||||||
|
sugar 1
|
||||||
|
beer 37.5
|
||||||
|
msg 0.25
|
||||||
|
b.ex. 0.25
|
||||||
|
|
||||||
[quick:ratios]
|
[quick:ratios]
|
||||||
flour 1
|
flour 1
|
||||||
yeast 0.03333
|
yeast 0.03333
|
||||||
|
@ -8,31 +38,6 @@ beer 0.625
|
||||||
msg 0.00417
|
msg 0.00417
|
||||||
b.ex. 0.00417
|
b.ex. 0.00417
|
||||||
|
|
||||||
[quick:instructions:standmixer]
|
|
||||||
1: warm beer to ~100f, combine with sugar and yeast in mixing bowl
|
|
||||||
2: then add flour, salt, oil, monosodium glutamate, and butter extract
|
|
||||||
3: mix for 4 minutes, then shape into ball
|
|
||||||
4: rise for 15 minutes
|
|
||||||
5: mix for 5 minutes, shape into ball again
|
|
||||||
6: rise again for 15 minutes
|
|
||||||
7: turn onto, then shape to pan
|
|
||||||
8: rise for 10 minutes
|
|
||||||
9: add sauce, toppings
|
|
||||||
10: bake at 550f until done
|
|
||||||
|
|
||||||
[quick:instructions:hand]
|
|
||||||
1: warm beer to ~100f
|
|
||||||
2: transfer to bowl and add yeast, sugar, olive oil, flour, and salt
|
|
||||||
3: stir to combine with a spoon
|
|
||||||
4: switch to a soaking wet hand to finish squeezing and mixing the dough until it forms a cohesive ball
|
|
||||||
5: cover and let rise at room temp for 15min
|
|
||||||
6: perform a strength building fold
|
|
||||||
7: cover and let rise at room temp for another 15min
|
|
||||||
8: turn onto, then shape to pan
|
|
||||||
9: rise for 10 minutes
|
|
||||||
10: add sauce, toppings
|
|
||||||
11: bake at 550f until done
|
|
||||||
|
|
||||||
[long:ratios]
|
[long:ratios]
|
||||||
flour 1
|
flour 1
|
||||||
water 0.5
|
water 0.5
|
||||||
|
|
Loading…
Reference in New Issue