| babel-sh | babel-shell | skeleton to generate a sh file out of an org file |
| blog | blog | skeleton for a blog entry |
| results | :res | add results parameter. for src block. |
+| epilogue | :epi | ignore exit code and get result |
| sqlmysql | sqlmysql | properties to connect to MySQL via org |
| sqlora | sqlora | properties to connect to Oracle via org and Perl DBI |
| srcclient | <sclient | SRC snippet executable on a shell session |
# key: checkssl_
# --
#+begin_src sh :results output :wrap SRC fundamental :epilogue true
- curl -vvI https://$1 2>&1 | grep -E '(start date|expire date|subject)'
+ curl -kvvI https://$1 2>&1 | grep -E '(start date|expire date|subject)'
#+end_src
$0
--- /dev/null
+# -*- mode: snippet -*-
+# name: epilogue
+# key: :epi
+# --
+:epilogue true$0
\ No newline at end of file
# name: pagerduty-clocktable
# key: pagerduty_
# --
-$0#+BEGIN: clocktable :maxlevel 2 :narrow 80 :scope agenda-with-archives :tstart "${1:`(org-read-date nil nil "-1mon")`}" :tend "${2:`(org-read-date nil nil "today")`}" :match "PAGERDUTY" :fileskip0 :formula :link %
+$0#+BEGIN: clocktable :maxlevel 2 :narrow 80 :scope agenda-with-archives :tstart "${1:`(org-read-date nil nil "-1mon")`}" :tend "${2:`(org-read-date nil nil "today")`} 12:00:00" :match "PAGERDUTY" :fileskip0 :formula :link %
#+END:
\ No newline at end of file
# key: res_
# --
#+RESULTS:
-:RESULTS:
+#+begin_src fundamental
$0
-:END:
\ No newline at end of file
+#+end_src
\ No newline at end of file
# key: :res
# add results parameter to src block
# --
-:results ${1:$$(yas-choose-value '("verbatim drawer" "table" "list" "silent" "value code :wrap SRC sql" "value code :wrap SRC json" "value code :wrap SRC fundamental"))} $0
\ No newline at end of file
+:results ${1:$$(yas-choose-value '("verbatim drawer" "table" "list" "silent" "output code :wrap SRC sql" "output code :wrap SRC json" "output code :wrap SRC fundamental"))} $0
\ No newline at end of file