- modified ec2-console, aws-filters and sqlvertica
(add-hook 'org-mode-hook 'hidepw-mode)
(setq hidepw-pattern "||\\(.*\\)||")
#+END_SRC
+
* latex
Use [[http://orgmode.org/manual/A-LaTeX-example.html#A-LaTeX-example][orgtbl]] to create tables.
# -*- mode: snippet -*-
# name: aws-ec2-get-console-output (yank)
-# key: aws-ec2-get-console-output
+# key: ec2-console
# --
-aws --profile=${1:$$(yas-choose-value '("prod" "test"))} ${2:--region=${3:$$(yas-choose-value bba-aws-regions)}} ec2 get-console-output --instance-id ${4:`(yank)`} $0
\ No newline at end of file
+aws --profile=${1:$$(yas-choose-value '("prod" "test"))} ${2:--region=${3:$$(yas-choose-value bba-aws-regions)}} ec2 get-console-output --output text --instance-id ${4:`(yank)`} >#<buffer *$4-console-output*> $0
\ No newline at end of file
# name: aws-filters
# key: awsfil
# --
---filters "Name=${1:$$(yas-choose-value '("tag:Name" "tag:Project" "tag:Type" "tag:Cluster" "instance.group-id" "private-ip-address"))},Values=$2" $0
\ No newline at end of file
+--filters "Name=${1:$$(yas-choose-value '("tag:Name" "tag:Project" "tag:Type" "tag:Cluster" "instance.group-id" "private-ip-address" "description"))},Values=$2" $0
\ No newline at end of file
:dbpassword: (concat ${3:bba-db})
:database: ${4:$2}
:exports: both
-:prologue: "\a"
+:dbprologue: "\\a"
:END:
(setq $3 "$5")$0
#+BEGIN_SRC sql
-\a
+
#+END_SRC