From 5519f9d6e10fcd153171e1511d8b49961c32c158 Mon Sep 17 00:00:00 2001 From: Felix Richter Date: Tue, 24 May 2011 21:39:20 +0200 Subject: Initial Commit --- cholerab/enterprise/README | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 cholerab/enterprise/README (limited to 'cholerab/enterprise') diff --git a/cholerab/enterprise/README b/cholerab/enterprise/README new file mode 100644 index 00000000..28b4551a --- /dev/null +++ b/cholerab/enterprise/README @@ -0,0 +1,33 @@ +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 +-------------------- + + +Enterprise Shutdown +------------------ +Mittel der Wahl um einen Shutdown zu forcen +Bsp: Not-Aus also kommerzielles Produkt + +Enterprise Thinking +------------------- +Prozess um auf Enterprise Patterns + +Bug-Driven Development +--------------------- -- cgit v1.2.3 From 56c1a9da28939d88ddc9e59d60b669736fcff1d3 Mon Sep 17 00:00:00 2001 From: Felix Richter Date: Thu, 26 May 2011 01:55:57 -0700 Subject: Added Enterprise Rooting --- cholerab/enterprise/README | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'cholerab/enterprise') diff --git a/cholerab/enterprise/README b/cholerab/enterprise/README index 28b4551a..a4f9d902 100644 --- a/cholerab/enterprise/README +++ b/cholerab/enterprise/README @@ -19,7 +19,16 @@ Rebooting Enterprise Einschalter -------------------- - +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. + +if [ ! `id -u` -eq "0" ] +then + echo "not root, trying sudo" + exec sudo "$0" "$@" +fi + Enterprise Shutdown ------------------ Mittel der Wahl um einen Shutdown zu forcen -- cgit v1.2.3 From 768d611e6df93c4d30df7eb3a454373f93aa862e Mon Sep 17 00:00:00 2001 From: Felix Richter Date: Thu, 26 May 2011 10:12:18 -0700 Subject: added enterprise deep copy --- cholerab/enterprise/README | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cholerab/enterprise') diff --git a/cholerab/enterprise/README b/cholerab/enterprise/README index a4f9d902..36bb33f7 100644 --- a/cholerab/enterprise/README +++ b/cholerab/enterprise/README @@ -34,6 +34,10 @@ Enterprise Shutdown Mittel der Wahl um einen Shutdown zu forcen Bsp: Not-Aus also kommerzielles Produkt +Enterprise Deep Copy +-------------------- +var copy = JSON.parse(JSON.stringify(source)) + Enterprise Thinking ------------------- Prozess um auf Enterprise Patterns -- cgit v1.2.3 From f4b026b279a4f2a2370bcbfe31df1931bcf2bc1f Mon Sep 17 00:00:00 2001 From: tv <4z3.pp@src.mine.nu> Date: Thu, 26 May 2011 10:29:34 -0700 Subject: Edited README via GitHub --- cholerab/enterprise/README | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'cholerab/enterprise') diff --git a/cholerab/enterprise/README b/cholerab/enterprise/README index 36bb33f7..6938fbe0 100644 --- a/cholerab/enterprise/README +++ b/cholerab/enterprise/README @@ -29,18 +29,20 @@ then exec sudo "$0" "$@" fi + Enterprise Shutdown ------------------ -Mittel der Wahl um einen Shutdown zu forcen -Bsp: Not-Aus also kommerzielles Produkt +Mittel der Wahl um einen Shutdown zu erzwingen + +Bsp: das Not-Aus in der Maschinensicherheit Enterprise Deep Copy -------------------- -var copy = JSON.parse(JSON.stringify(source)) +Bsp: var copy = JSON.parse(JSON.stringify(source)) Enterprise Thinking ------------------- -Prozess um auf Enterprise Patterns +Prozess um auf Enterprise Patterns zu kommen Bug-Driven Development --------------------- -- cgit v1.2.3 From 2b66f650a36d970e7e8fc77cf9d226e947af4a43 Mon Sep 17 00:00:00 2001 From: tv <4z3.pp@src.mine.nu> Date: Thu, 26 May 2011 10:34:21 -0700 Subject: Edited README via GitHub --- cholerab/enterprise/README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cholerab/enterprise') diff --git a/cholerab/enterprise/README b/cholerab/enterprise/README index 6938fbe0..f31850f3 100644 --- a/cholerab/enterprise/README +++ b/cholerab/enterprise/README @@ -28,7 +28,7 @@ then echo "not root, trying sudo" exec sudo "$0" "$@" fi - + // enterprise ist, wenn ... trotzdem matcht Enterprise Shutdown ------------------ -- cgit v1.2.3 From 5fc4494a2851705a4fc885a1a12aed85bb1fbb24 Mon Sep 17 00:00:00 2001 From: Felix Richter Date: Sun, 29 May 2011 13:16:10 -0700 Subject: added supernintendo pattern --- cholerab/enterprise/README | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cholerab/enterprise') diff --git a/cholerab/enterprise/README b/cholerab/enterprise/README index f31850f3..cf54c1e9 100644 --- a/cholerab/enterprise/README +++ b/cholerab/enterprise/README @@ -19,6 +19,9 @@ Rebooting Enterprise Einschalter -------------------- +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. -- cgit v1.2.3 From ac4e28da7b5ed25e75d93ca2066f8b58b1c3ed5f Mon Sep 17 00:00:00 2001 From: tv <4z3.pp@src.mine.nu> Date: Thu, 4 Aug 2011 02:42:51 +0300 Subject: add newest and best eroot version ever --- cholerab/enterprise/README | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cholerab/enterprise') diff --git a/cholerab/enterprise/README b/cholerab/enterprise/README index cf54c1e9..24458ffe 100644 --- a/cholerab/enterprise/README +++ b/cholerab/enterprise/README @@ -26,10 +26,10 @@ 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. -if [ ! `id -u` -eq "0" ] -then - echo "not root, trying sudo" +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 // enterprise ist, wenn ... trotzdem matcht -- cgit v1.2.3 From 6cf65628ec3292074872c67b4471372f3526afb3 Mon Sep 17 00:00:00 2001 From: tv <4z3.pp@src.mine.nu> Date: Thu, 4 Aug 2011 02:45:22 +0300 Subject: Describe eon harder --- cholerab/enterprise/README | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'cholerab/enterprise') diff --git a/cholerab/enterprise/README b/cholerab/enterprise/README index 24458ffe..03c1c068 100644 --- a/cholerab/enterprise/README +++ b/cholerab/enterprise/README @@ -16,8 +16,9 @@ Enterprise Installation Rebooting ---------- -Enterprise Einschalter --------------------- +Enterprise Einschalter (eon) +---------------------------- +Device that turns something on as soon as possible. Supernintendo Pattern --------------------- -- cgit v1.2.3