Compare commits
No commits in common. "ae68b13b04e0846404bb899bd3340ca780998773" and "65a08592b10040277f4b1c2c4e71863bf83fc780" have entirely different histories.
ae68b13b04
...
65a08592b1
23
README.md
23
README.md
|
@ -3,31 +3,28 @@ Makes a very quick (45m total rise time) pan pizza, baked at 550f. Limited to ci
|
||||||
|
|
||||||
### Help
|
### Help
|
||||||
```
|
```
|
||||||
Usage: ./pizza.sh [ -f <N> ] [ -R <recipe> ] [ <flour weight>g|<pan diameter>(in|inch|") ]
|
Usage: ./pizza.sh [-f <N>] [<flour weight>g|<pan diameter>(in|inch|")]
|
||||||
./pizza.sh [ -h ]
|
./pizza.sh [-h]
|
||||||
./pizza.sh [ -r ]
|
./pizza.sh [-r]
|
||||||
Options:
|
Options:
|
||||||
-h Print this help
|
-h Print this help
|
||||||
-r Print the recipe
|
-r Print the recipe
|
||||||
-f <N> Set flour per square inch
|
-f <N> Set flour per square inch
|
||||||
-R <recipe> Set recipe
|
|
||||||
Notes:
|
Notes:
|
||||||
|
Typically a 10 minute pan rise is needed
|
||||||
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 can also be used in place of beer
|
||||||
Setting an alternate recipe wont change the instructions that gets printed with -r
|
|
||||||
```
|
```
|
||||||
### Recipe
|
### Recipe
|
||||||
```
|
```
|
||||||
How to make the quick calculator pizza, stand mixer edition:
|
How to make the 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: turn onto, then shape to pan
|
||||||
7: turn onto, then shape to pan
|
7: rise for 10 minutes
|
||||||
8: rise for 10 minutes
|
8: add sauce, toppings
|
||||||
9: add sauce, toppings
|
9: bake at 550f until done
|
||||||
10: bake at 550f until done
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
33
pizza.sh
33
pizza.sh
|
@ -1,41 +1,40 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
FSI=2.12206590789 # default grams of Flour per Square Inch of pan, fairly neopolitan
|
FSI=2.12206590789 # default grams of Flour per Square Inch of pan, fairly neopolitan
|
||||||
PWD="$(dirname "$(readlink -f "$0")")" # find the pizza working directory
|
PWD="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )" # find the pizza working directory
|
||||||
RECIPE=quick
|
RECIPE=quick
|
||||||
|
|
||||||
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"
|
||||||
echo
|
echo
|
||||||
echo "Usage: $0 [ -f <N> ] [ -R <recipe> ] [ <flour weight>g|<pan diameter>(in|inch|\") ]"
|
echo "Usage: ./pizza.sh [-f <N>] [<flour weight>g|<pan diameter>(in|inch|\")]"
|
||||||
echo " $0 [ -h ]"
|
echo " ./pizza.sh [-h]"
|
||||||
echo " $0 [ -r ]"
|
echo " ./pizza.sh [-r]"
|
||||||
echo "Options:"
|
echo "Options:"
|
||||||
echo " -h Print this help"
|
echo " -h Print this help"
|
||||||
echo " -r Print the recipe"
|
echo " -r Print the recipe"
|
||||||
echo " -f <N> Set flour per square inch"
|
echo " -f <N> Set flour per square inch"
|
||||||
echo " -R <recipe> Set recipe"
|
|
||||||
echo "Notes:"
|
echo "Notes:"
|
||||||
|
echo " Typically a 10 minute pan rise is needed"
|
||||||
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 can also be used in place of beer"
|
||||||
echo " Setting an alternate recipe wont change the instructions that gets printed with -r"
|
echo
|
||||||
}
|
}
|
||||||
|
|
||||||
function pizzarecipe {
|
function pizzarecipe {
|
||||||
echo "How to make the quick calculator pizza, stand mixer edition:"
|
echo "How to make the calculator pizza, stand mixer edition:"
|
||||||
echo " 1: warm beer to ~100f, combine with sugar and yeast in mixing bowl"
|
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 " 2: then add flour, salt, oil, monosodium glutamate, and butter extract"
|
||||||
echo " 3: mix for 4 minutes, then shape into ball"
|
echo " 3: mix for 4 minutes, then shape into ball"
|
||||||
echo " 4: rise for 15 minutes"
|
echo " 4: rise for 15 minutes"
|
||||||
echo " 5: mix for 5 minutes, shape into ball again"
|
echo " 5: mix for 5 minutes, shape into ball again"
|
||||||
echo " 6: rise again for 15 minutes"
|
echo " 6: turn onto, then shape to pan"
|
||||||
echo " 7: turn onto, then shape to pan"
|
echo " 7: rise for 10 minutes"
|
||||||
echo " 8: rise for 10 minutes"
|
echo " 8: add sauce, toppings"
|
||||||
echo " 9: add sauce, toppings"
|
echo " 9: bake at 550f until done"
|
||||||
echo " 10: bake at 550f until done"
|
|
||||||
echo
|
echo
|
||||||
}
|
}
|
||||||
|
|
||||||
while getopts ":hrR:f:" option; do # loop through options, casing them
|
while getopts ":hrf:" option; do # loop through options, casing them
|
||||||
case $option in
|
case $option in
|
||||||
h)
|
h)
|
||||||
pizzahelp
|
pizzahelp
|
||||||
|
@ -44,15 +43,13 @@ while getopts ":hrR:f:" option; do # loop through options, casing them
|
||||||
pizzarecipe
|
pizzarecipe
|
||||||
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
|
||||||
R) # change dough recipe
|
shift 2;; # the option and its arg will be in $1 and $2 if this is specified, so they have to be shifted out
|
||||||
RECIPE=$OPTARG;;
|
|
||||||
\?)
|
\?)
|
||||||
echo "Error: Invalid option"
|
echo "Error: Invalid option"
|
||||||
exit;;
|
exit;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
shift $((OPTIND-1)) # shift options out from infront of the command to leave only arugment in $@
|
|
||||||
|
|
||||||
function panarea {
|
function panarea {
|
||||||
AREA=$(echo "3.1415926535*($DIAM/2)^2" | bc -l) # bc cant exponentiate non-integer bases without -l
|
AREA=$(echo "3.1415926535*($DIAM/2)^2" | bc -l) # bc cant exponentiate non-integer bases without -l
|
||||||
|
|
Loading…
Reference in New Issue