Code Monkey home page Code Monkey logo

programmers-cookbook's Introduction

Programmer's Cookbook

This is literally a cookbook for programmers or other humans who prefer activity diagrams over textbook instructions.

Recipes are collected from anywhere and translated from the native language to English or other languages.

Unless otherwise noted, recipes are licensed CC0/public domain.

View Recipes on recipes.webfreak.org

Recipe overview

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)

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.

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.

Recipes are named <english>-<lang>.puml, where lang is an IETF language tag.

The steps of a recipe are represented as UML activity diagram with forks representing parallel actions.

Layout of a file:

@startuml <recipe>-<lang>
floating note
	**Localized Name**
	====
	Localized Description
	====
	**CHANGELOG**
	v1.0
	Initial version
	----
	Total Ingredients for **n Units**:
	Ingredient 1	150g
	Ingredient 2	100g

	Duration:
	10~20 minutes preparation
	10 minutes cooking
end note

:Activity diagram;
stop
@enduml

Translations

This is a translation table which might not be fully accurate but should help users translate recipes from/to other languages.

It is best to lookup ingredients from the original language if unsure about ingredients, even in translated recipes.

Ingredients

DE EN
Mehl Flour
Zucker Sugar
Milch Milk
Salz Salt
Ei Egg
Eier Eggs
Butter Butter
Vanillezucker Vanilla (or Vanillin) sugar
Puderzucker Powdered sugar
Backpulver Baking powder
Sahne Cream
Schlagsahne Whipped cream or just cream to whip
Saure Sahne Sour Cream
Zimt Cinnamon
Teig Dough
Banane Banana
Himbeere Raspberry
Erdbeere Strawberry
Zitrone Lemon
Streusel Crumbs/Crumble

Processes

DE EN
Schmelzen/geschmolzen melt/molten
verrühren/vermischen/verkneten mix
erwärmen heat
kühlen cool
Backofen oven
Backofen vorheizen preheat oven
backen bake
kochen cook
Pfanne pan
Topf Pot

programmers-cookbook's People

Contributors

webfreak001 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

seyfahni

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.