paritybit.ca

Raw content of https://www.paritybit.ca.
git clone https://git.sr.ht/~jbauer/paritybit.ca
Log | Files | Refs | README | LICENSE

commit fdc1c462536b0235c0092863baafd391ce92fa32
parent 14edd2a7c0838cb42daab06e5a214b82ced63d02
Author: Jake Bauer <jbauer@paritybit.ca>
Date:   Sat, 20 Aug 2022 18:22:18 -0400

*

Diffstat:
Acontent/garden/arboretum/documentation/general-programming-tips-advice.gmi | 11+++++++++++
Mcontent/garden/arboretum/documentation/index.gmi | 1+
Acontent/garden/arboretum/recipes/granola-bars.gmi | 43+++++++++++++++++++++++++++++++++++++++++++
Mcontent/garden/arboretum/recipes/index.gmi | 48+++++++++++++++++++++++++++++++++++++-----------
Acontent/garden/arboretum/recipes/lemonade.gmi | 21+++++++++++++++++++++
5 files changed, 113 insertions(+), 11 deletions(-)

diff --git a/content/garden/arboretum/documentation/general-programming-tips-advice.gmi b/content/garden/arboretum/documentation/general-programming-tips-advice.gmi @@ -0,0 +1,11 @@ +# General Programming Tips and Advice + +## Refactoring + +A nice technique when refactoring large amounts of code is to use the compiler to catch missed replacements. This is something that's afforded to you by strongly/statically typed languages but not languages like Python or JavaScript where, if you miss a replacement, you have no idea if you broke something until you hit that piece of code. This can be called the "compile by fire" technique. + +A helpful technique for catching errors is also to wrap a block of code in an outer block, define the variable with a type you know is not the type of the variable to be replaced, and then let the compiler yell at you to fix things because the types don't match. For example, if you're replacing an integer variable called "c" with one called "constant", surround relevant blocks of code in {} (or whatever your language has for denoting blocks) and define "float c;" at the top or something like that. + +From: + +=> https://www.youtube.com/watch?v=2J-HIh3kXCQ diff --git a/content/garden/arboretum/documentation/index.gmi b/content/garden/arboretum/documentation/index.gmi @@ -22,6 +22,7 @@ A collection of instructional documents, notes, configurations, or other bits an => productivity-tips.gmi Personal Productivity Tips => bicycle-shops-ottawa.gmi Bicycle Shops in Ottawa, Canada +=> general-programming-tips-advice.gmi General Programming Tips and Advice ## System Administration diff --git a/content/garden/arboretum/recipes/granola-bars.gmi b/content/garden/arboretum/recipes/granola-bars.gmi @@ -0,0 +1,43 @@ +# Granola Bars + +=> /img/recipes/granola-bars.jpg + +## Cooking Implements + +* Knife +* Baking pan +* Parchment paper +* Food processor +* Spoon for mixing +* Medium-size mixing bowl +* Something with a flat surface to press with + +## Ingredients + +* 1½ cup oats (any processed oats like rolled or steel-cut or quick should work) +* 1 cup pumpkin or sunflower seeds +* 1¼ cup pitted dates, raisins, cranberries or other dried fruit +* ¼ cup maple syrup (or other sweet syrup) +* ¼ cup peanut butter (or seed butter) +* 3 tablespoons of poppy, sesame, flax, or chia seeds, and/or coconut flakes + +## Instructions + +* Put the 1¼ cup of dried fruits into the food processor and process down into small pieces +* Add the 1½ cup of oats (and the larger seeds, if used) to the food processor and process until mixed +* Pour out the mixture into the bowl +* Add the ¼ cup of syrup and ¼ cup of nut/seed butter to the bowl +* Add the smaller seeds/coconut flakes to the bowl +* Mix until thoroughly combined (you may have to use your hands) +* Line the baking pan with parchment paper, pour the mixture into the pan, and flatten roughly with the back of a spoon +* Place parchment paper on top and press the mixture down flat with the bottom of a glass or other flat object +* Place the mixture in the freezer for 20 minutes or the fridge for 40-60 minutes +* After chilling, remove the mixture from the baking pan, take off the parchment paper, and cut into equal portions + +Depending on the ingredients used, they will usually keep for a couple weeks in the fridge or a couple months in the freezer. Although the ingredients are shelf stable on their own, I'm not yet sure how long it takes for a room-temperature granola bar to go bad, but I'd imagine you want to consume it within three days or so. + +## Alterations + +Generally this recipe just consists of oats, dried fruits, seeds, a sweetener, and something to bind it all together. You can play around with pretty much all of those ingredients to find a set of flavours that you like the best. You can also play around with the proportions of ingredients to arrive at a consistency that you like. + +If you don't have a food processor, you could manually chop the ingredients into smaller pieces, or keep them whole if you're not using large seeds or dried fruit. diff --git a/content/garden/arboretum/recipes/index.gmi b/content/garden/arboretum/recipes/index.gmi @@ -17,23 +17,49 @@ A catalog of recipes I found or created. All recipes below are vegan and free of tree nuts unless otherwise noted. -=> aloo-gobi.gmi Aloo Gobi -=> barley-split-pea-stew.gmi Barley and Split Pea Stew +## Bread + +=> sourdough-bread.gmi Sourdough Bread +=> sourdough-starter.gmi Sourdough Starter + +## Breakfast + +=> overnight-oats.gmi Overnight Oats +=> pancakes.gmi Pancakes + +## Drinks + +=> hoffmann-aeropress.gmi James Hoffmann's Aeropress Technique (Coffee) +=> lemonade.gmi Lemonade + +## Fermentation + +=> lacto-fermentation.gmi Lacto-Fermentation + +## Salads + => bean-salad.gmi Bean Salad -=> bean-soup.gmi Bean Soup +=> vinaigrettes.gmi Vinaigrettes + +## Snacks + => brownies.gmi Brownies +=> granola-bars.gmi Granola Bars + +## Soups and Stews + +=> barley-split-pea-stew.gmi Barley and Split Pea Stew +=> bean-soup.gmi Bean Soup => butternut-squash-soup.gmi Butternut Squash Soup => cabbage-lentil-stew.gmi Cabbage Lentil Stew => cabbage-soup.gmi Cabbage Soup -=> hoffmann-aeropress.gmi James Hoffmann's Aeropress Technique -=> lacto-fermentation.gmi Lacto-Fermentation -=> overnight-oats.gmi Overnight Oats -=> pancakes.gmi Pancakes => red-lentil-stew.gmi Red Lentil Stew +=> split-pea-soup.gmi Split Pea Soup + +## Other + +=> aloo-gobi.gmi Aloo Gobi => sauces.gmi Sauces -=> sourdough-bread.gmi Sourdough Bread -=> sourdough-starter.gmi Sourdough Starter => spiced-lentils-with-carrots.gmi Spiced Lentils With Carrots -=> split-pea-soup.gmi Split Pea Soup => vegetable-curry.gmi Vegetable Curry -=> vinaigrettes.gmi Vinaigrettes + diff --git a/content/garden/arboretum/recipes/lemonade.gmi b/content/garden/arboretum/recipes/lemonade.gmi @@ -0,0 +1,21 @@ +# Lemonade + +## Cooking Implements + +* Knife +* Juicer +* 1L+ Flask or Jug + +## Ingredients + +* 2 lemons +* 5 tablespoons of sugar +* 1L of water + +## Instructions + +* Slice the 2 lemons in half and juice them +* Pour the juice into the flask +* Add the 5 tablespoons of sugar into the flask +* Fill the flask with 1L of water +* Shake well, serve chilled