summaryrefslogtreecommitdiffstats
path: root/cholerab
diff options
context:
space:
mode:
authorLassulus <lassulus@googlemail.com>2012-12-09 03:06:58 +0100
committerLassulus <lassulus@googlemail.com>2012-12-09 03:06:58 +0100
commit85af484348ac6ad8ca6b9bf992ecf8b63b4ec587 (patch)
tree507466a4e172e033bb2e13e0083f875200ed6bd3 /cholerab
parent8c11e39a58e69de9b1912756082609f5ffb0dcb1 (diff)
parentd263d0e9e7e6c37f793eb3ec1908d188849f5d02 (diff)
Merge branch 'master' of github.com:krebscode/painload
Diffstat (limited to 'cholerab')
-rw-r--r--cholerab/ENTERPRISE_PATTERN (renamed from cholerab/pattern/README)16
1 files changed, 16 insertions, 0 deletions
diff --git a/cholerab/pattern/README b/cholerab/ENTERPRISE_PATTERN
index 0980ac6e..4e417709 100644
--- a/cholerab/pattern/README
+++ b/cholerab/ENTERPRISE_PATTERN
@@ -65,4 +65,20 @@ Literate Programming
--------------------
Omit all the comments.
+Litterate Programming
+---------------------
+Write throw-away code and it will become production code
+
+Enterprise Expect
+-----------------
+Because you always know what you want, `expect(3)` script code can be replaced
+by a `subshell and pipe` pattern :
+
+<code>
+ ( echo "$username"; sleep 1; echo "$password"; sleep 1; echo "cp old new" ) | telnet
+</code>
+
+painload example: `//retiolum/bin/announce_pubkey`
+
+