Mostly using ":mkdirp yes :tangle path", is like doing a "cat block >>path". And you use (org-babel-tangle) as the exporter
#+begin_src elisp :mkdirp yes :tangle ~/.emacs (org-babel-tangle) #+end_src
Technical stuff, mostly
#+begin_src elisp :mkdirp yes :tangle ~/.emacs (org-babel-tangle) #+end_src
If you have a prefix, the coolest way is like the following:
export ${!KONG_*}
If you want everything:
eval $(printenv | awk -F= '{ print "export " $1 }')