├── README.md ├── RECIPES.md ├── images ├── raspberry-muffins.jpg └── salmon.jpg └── recipes ├── raspberry-muffins-de.puml ├── raspberry-muffins-en.puml ├── raspberry-muffins-ingredients.iuml ├── salmon-en.puml └── salmon-ingredients.iuml /README.md: -------------------------------------------------------------------------------- 1 | # Programmer's Cookbook 2 | 3 | This is literally a cookbook for programmers or other humans who prefer activity diagrams over textbook instructions. 4 | 5 | Recipes are collected from anywhere and translated from the native language to English or other languages. 6 | 7 | Unless otherwise noted, recipes are licensed CC0/public domain. 8 | 9 | [View Recipes on recipes.webfreak.org](https://recipes.webfreak.org) 10 | 11 | ## Recipe overview 12 | 13 | Each recipe is written in PlantUML as activity diagram. There must be a note at the start stating the Name & Description of the recipe (localized), a CHANGELOG with all versions (english) and ingredients and baking/cooking duration of the recipe (english) 14 | 15 | Versions are `vMAJOR.MINOR`. Every tested recipe starts at `v1.0`, minor changes to ingredients or durations increase the minor version. Adding or removing steps increase the major version. 16 | 17 | Units are metric. Teaspoons (tsp.) and Tablespoons (tbsp.) are equal to US ones. If an ingredient is used multiple times on different steps, each amount should be specified and a total sum at the end. 18 | 19 | Recipes are named `-.puml`, where lang is an IETF language tag. 20 | 21 | The steps of a recipe are represented as UML activity diagram with forks representing parallel actions. 22 | 23 | Layout of a file: 24 | ```plantuml 25 | @startuml - 26 | floating note 27 | **Localized Name** 28 | ==== 29 | Localized Description 30 | ==== 31 | **CHANGELOG** 32 | v1.0 33 | Initial version 34 | ---- 35 | Total Ingredients for **n Units**: 36 | Ingredient 1 150g 37 | Ingredient 2 100g 38 | 39 | Duration: 40 | 10~20 minutes preparation 41 | 10 minutes cooking 42 | end note 43 | 44 | :Activity diagram; 45 | stop 46 | @enduml 47 | ``` 48 | 49 | ## Translations 50 | 51 | This is a translation table which might not be fully accurate but should help users translate recipes from/to other languages. 52 | 53 | It is best to lookup ingredients from the original language if unsure about ingredients, even in translated recipes. 54 | 55 | Ingredients 56 | 57 | | DE | EN | 58 | |---|---| 59 | |Mehl|Flour| 60 | |Zucker|Sugar| 61 | |Milch|Milk| 62 | |Salz|Salt| 63 | |Ei|Egg| 64 | |Eier|Eggs| 65 | |Butter|Butter| 66 | |Vanillezucker|Vanilla (or Vanillin) sugar| 67 | |Puderzucker|Powdered sugar| 68 | |Backpulver|Baking powder| 69 | |Sahne|Cream| 70 | |Schlagsahne|Whipped cream or just cream to whip| 71 | |Saure Sahne|Sour Cream| 72 | |Zimt|Cinnamon| 73 | |Teig|Dough| 74 | |Banane|Banana| 75 | |Himbeere|Raspberry| 76 | |Erdbeere|Strawberry| 77 | |Zitrone|Lemon| 78 | |Streusel|Crumbs/Crumble| 79 | 80 | Processes 81 | 82 | | DE | EN | 83 | |---|---| 84 | |Schmelzen/geschmolzen|melt/molten| 85 | |verrühren/vermischen/verkneten|mix| 86 | |erwärmen|heat| 87 | |kühlen|cool| 88 | |Backofen|oven| 89 | |Backofen vorheizen|preheat oven| 90 | |backen|bake| 91 | |kochen|cook| 92 | |Pfanne|pan| 93 | |Topf|Pot| 94 | -------------------------------------------------------------------------------- /RECIPES.md: -------------------------------------------------------------------------------- 1 | # Programmer's Recipes 2 | 3 | ## Sweets 4 | 5 | ### Raspberry Muffins 6 | 7 | ![Raspberry muffins](images/raspberry-muffins.jpg) 8 | 9 | [DE](recipes/raspberry-muffins-de.puml) -- [EN](recipes/raspberry-muffins-en.puml) 10 | 11 | Easy to make raspberry muffins with crumbles on top. 12 | 13 | ## Fish 14 | 15 | ### Fried salmon with rice 16 | 17 | ![Fried salmon with rice](images/salmon.jpg) 18 | 19 | [EN](recipes/salmon-en.puml) 20 | 21 | Easy to make japanese recipe modified for ingredients more available in western countries. 22 | -------------------------------------------------------------------------------- /images/raspberry-muffins.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebFreak001/Programmers-Cookbook/01b2d02570079b3e6e8b228580004dfee1f80335/images/raspberry-muffins.jpg -------------------------------------------------------------------------------- /images/salmon.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WebFreak001/Programmers-Cookbook/01b2d02570079b3e6e8b228580004dfee1f80335/images/salmon.jpg -------------------------------------------------------------------------------- /recipes/raspberry-muffins-de.puml: -------------------------------------------------------------------------------- 1 | @startuml raspberry-muffins-de 2 | !include raspberry-muffins-ingredients.iuml 3 | 4 | floating note 5 | **Himbeer Muffins mit Streuseln** 6 | ==== 7 | Fluffige Himbeer-Muffins mit Streuseln 8 | 9 | Aus chefkoch.de von Brotfan63 10 | ==== 11 | INGREDIENTS() 12 | end note 13 | 14 | fork 15 | :Backofen vorheizen 16 | 200 °C Umluft; 17 | fork again 18 | :Muffinblech mit 19 | Papierförmchen auslegen; 20 | fork again 21 | fork 22 | :Mehl 250 g 23 | Zucker 160 g 24 | Zimt 1/2 TL 25 | Vanillezucker 1 Pck. 26 | Backpulver 2 TL; 27 | partition "Kleine Schüssel" { 28 | :Zutaten vermischen; 29 | } 30 | fork again 31 | :weiche Butter 80 g 32 | Eier 1 33 | saure Sahne 200 g; 34 | partition "Mix Schüssel" { 35 | :Zutaten verrühren 36 | (am besten glatt); 37 | } 38 | end fork 39 | :Kleine Schüssel + Mix Schüssel kombinieren; 40 | :Zutaten verrühren; 41 | fork again 42 | :flüssige Butter 80 g 43 | Mehl 130 g 44 | Zucker 100 g; 45 | partition "Kleine Schüssel" { 46 | :zu Streusel Verkneten; 47 | } 48 | end fork 49 | :Teig zu 2/3 in Papierförmchen füllen; 50 | :Himbeeren in den Teig drücken; 51 | :Streusel auf die Himbeeren geben; 52 | :bei 200 °C 25 Minuten backen; 53 | -[dotted]-> 25 Minuten 54 | später; 55 | :Muffins rausnehmen; 56 | :Muffins kühlen; 57 | :Muffins mit Puderzucker bestreut servieren; 58 | stop 59 | @enduml 60 | -------------------------------------------------------------------------------- /recipes/raspberry-muffins-en.puml: -------------------------------------------------------------------------------- 1 | @startuml raspberry-muffins-en 2 | !include raspberry-muffins-ingredients.iuml 3 | 4 | floating note 5 | **Raspberry muffins with crumbs** 6 | ==== 7 | Fluffy raspberry muffins with crumb pieces (Streusel) on top. 8 | 9 | From chefkoch.de by Brotfan63 10 | ==== 11 | INGREDIENTS() 12 | end note 13 | 14 | fork 15 | :Preheat oven 16 | 200 °C (390 °F); 17 | fork again 18 | :Prepare muffin liners; 19 | fork again 20 | fork 21 | :Flour 250 g 22 | Sugar 160 g 23 | Cinnamon 1/2 tsp. 24 | Vanilla Sugar 1 Pck. (8 g) 25 | Backing powder2 tsp.; 26 | partition "Small Bowl" { 27 | :Combine ingredients; 28 | } 29 | fork again 30 | :Softened Butter 80 g 31 | Eggs 1 32 | Sour Cream 200 g; 33 | partition "Mixing Bowl" { 34 | :Mix ingredients 35 | (should be smooth); 36 | } 37 | end fork 38 | :Mix Small Bowl + Mixing Bowl; 39 | :Mix until dough; 40 | fork again 41 | :Molten Butter 80 g 42 | Flour 130 g 43 | Sugar 100 g; 44 | partition "Small Bowl" { 45 | :mix to make crumbs; 46 | } 47 | end fork 48 | :Fill muffin liner 2/3 full with dough; 49 | :Push raspberries into dough; 50 | :Put crumbs on top of raspberries; 51 | :bake for 25 Minutes with 200 °C (390 °F); 52 | -[dotted]-> 25 Minutes 53 | later; 54 | :Take out muffins; 55 | :Let them cool; 56 | :Serve with powdered sugar; 57 | stop 58 | @enduml 59 | -------------------------------------------------------------------------------- /recipes/raspberry-muffins-ingredients.iuml: -------------------------------------------------------------------------------- 1 | @startuml 2 | !definelong INGREDIENTS 3 | **CHANGELOG** 4 | v1.2 5 | Added missing raspberrys to ingredients list 6 | 7 | v1.1 8 | Crumble ingredients increased by 4/3 9 | 10 | v1.0 11 | Initial conversion from Chefkoch 12 | ---- 13 | Total Ingredients for **12**: 14 | Flour 250 g + 130 g = 380 g 15 | Sugar 160 g + 100 g = 260 g 16 | Cinnamon 1/2 tsp. 17 | Vanilla sugar 1 Package (8 g) 18 | Baking powder 2 tsp. 19 | Butter 80 g + 80 g melted = 160 g 20 | Eggs 1 21 | Sour cream 200 g 22 | Frozen raspberries 150 g 23 | 24 | Duration: 25 | 30~45 minutes preparation 26 | 25 minutes baking 27 | !enddefinelong 28 | @enduml -------------------------------------------------------------------------------- /recipes/salmon-en.puml: -------------------------------------------------------------------------------- 1 | @startuml salmon-en 2 | !include salmon-ingredients.iuml 3 | 4 | floating note 5 | **Fried salmon with rice** 6 | ==== 7 | Fried seasoned salmon with rice and egg yolk. 8 | 9 | Recipe mostly from https://gohanjp.com/posts/6004 10 | You can check there for the original recipe and a video and pictures of the process. 11 | 12 | This recipe is improved for the western kitchen and more finely explains the steps. 13 | 14 | Suggestions in form of issues or pull requests always welcome! 15 | ==== 16 | INGREDIENTS() 17 | end note 18 | 19 | fork 20 | :Soy sauce 2 tbsp. 21 | Mirin 1 tsp. 22 | Sake 1 tsp. 23 | Sugar 1/2 tsp. 24 | Onion dressing 2 tbsp. (optional); 25 | :Mix together as sauce base; 26 | fork again 27 | :Salt 28 | Pepper; 29 | end fork 30 | :Season & marinate salmon; 31 | :Put salmon in fridge; 32 | 33 | fork 34 | 35 | :Cook rice 36 | (about 10 minutes); 37 | fork again 38 | fork 39 | :wait 20-30 minutes for salmon in fridge; 40 | fork again 41 | :Garlic 3 Cloves, sliced (recommended) 42 | Oil 2 tbsp.; 43 | :Put on high heat in pan; 44 | end fork 45 | :Remove garlic from pan; 46 | :Fry salmon on each side for around 30 seconds 47 | (more or less depending on the desired result) 48 | 49 | add a little bit of the marinade too so you have sauce for the rice; 50 | end fork 51 | :Put rice in bowl; 52 | :Put salmon & some of the fat/oil/sauce in the pan on top of rice; 53 | :Put dill or other greens on salmon; 54 | :Egg yolk on rice to top it off (optional); 55 | stop 56 | 57 | @enduml 58 | -------------------------------------------------------------------------------- /recipes/salmon-ingredients.iuml: -------------------------------------------------------------------------------- 1 | @startuml 2 | !definelong INGREDIENTS 3 | **CHANGELOG** 4 | v1.0 5 | Initial conversion from gohan.jp 6 | ---- 7 | Total Ingredients for **1**: 8 | Rice 125 g 9 | Salmon 200 g 10 | Soy sauce 2 tbsp. 11 | Mirin 1 tsp. 12 | Sake 1 tsp. 13 | Sugar 1/2 tsp. 14 | Onion dressing 2 tbsp. (optional) 15 | Garlic 3 Cloves, sliced (recommended) 16 | Oil 2 tbsp. 17 | Eggyolk 1 (optional) 18 | Salt 19 | Pepper 20 | Dill (or similar) 21 | 22 | Duration: 23 | 35 minutes total 24 | 15 minutes cooking 25 | !enddefinelong 26 | @enduml --------------------------------------------------------------------------------