diff options
author | makefu <github@syntax-fehler.de> | 2012-12-07 23:06:17 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2012-12-07 23:06:17 +0100 |
commit | 253f0a908b190f0ff6d2f71023d050c088533c02 (patch) | |
tree | 70416e998512a34ff520e1244fa3645077f0198b /cholerab/pattern/README | |
parent | 7e5a88e4681ec39b109db9aee13fe3d07251f11c (diff) |
pattern/README -> ENTERPRISE_PATTERN
add to pattern : 'litterate programming' and 'Enterprise Expect'
Diffstat (limited to 'cholerab/pattern/README')
-rw-r--r-- | cholerab/pattern/README | 68 |
1 files changed, 0 insertions, 68 deletions
diff --git a/cholerab/pattern/README b/cholerab/pattern/README deleted file mode 100644 index 0980ac6e..00000000 --- a/cholerab/pattern/README +++ /dev/null @@ -1,68 +0,0 @@ -Enterprise Patterns -================== -Stellt sicher, dass das richtige passiert, egal was gemacht wird - -Enterprise Loop ---------------- - -Enterprise Exception Handling ------------------------------ -ggf ersetzbar durch enterprise loop. - - -Enterprise Installation ------------------------ - -Rebooting ----------- - -Enterprise Einschalter (eon) ----------------------------- -Device that turns something on as soon as possible. - -Supernintendo Pattern ---------------------- - -Enterprise Root ---------------- -scripts which need root access but are called with lower privileges. The Enterprise Root Pattern provides a Solution for this issue by calling the script itself as sudo. -<code> -if test "${nosudo-false}" != true -a `id -u` != 0; then - echo "we're going sudo..." >&2 - exec sudo "$0" "$@" - exit 23 # go to hell -fi -</script> // enterprise ist, wenn <code> ... </script> trotzdem matcht - -Enterprise Shutdown ------------------- -Mittel der Wahl um einen Shutdown zu erzwingen - -Bsp: das Not-Aus in der Maschinensicherheit - -Enterprise Deep Copy --------------------- -Bsp: var copy = JSON.parse(JSON.stringify(source)) - -Enterprise Thinking -------------------- -Prozess um auf Enterprise Patterns zu kommen - -Bug-Driven Development ---------------------- - -Source-based Documentation / Help ---------------------------------- -<code> - #! /bin/sh - if echo "$*" | grep -q '\(^\| \)-h\( \|$\)'; then - cat "$0" - fi - # [more code] -</code> - -Literate Programming --------------------- -Omit all the comments. - - |