From: Andreas Gerler Date: Fri, 12 Jul 2024 16:20:12 +0000 (+0200) Subject: testing steampipe X-Git-Url: http://git.bundesbrandschatzamt.de/?a=commitdiff_plain;h=46e11b4dc96930ca857d4fc922b1aadbca47ffbf;p=emacsconfig.git testing steampipe Signed-off-by: Andreas Gerler --- diff --git a/bba.org b/bba.org index 7ab60a30..3b544503 100644 --- a/bba.org +++ b/bba.org @@ -172,6 +172,21 @@ from bash. (push "/opt/local/share/info" Info-directory-list))) #+END_SRC + +* testing steampipe +[2023-04-05 Wed 13:18] + +#+begin_src emacs-lisp :tangle never + (defun bba-steampipe() + "set sql connection for steampipe" + (interactive) + (setq sql-postgres-login-params nil) + (let (foo (shell-command-to-string "steampipe service start"))) + (add-to-list 'sql-connection-alist + `(steampipe (sql-product 'postgres) + (sql-database ,(shell-command-to-string "steampipe service status --show-password | grep \"Connection string\" | awk '{print $3}' | tr -d '\n'"))))) +#+end_src + * bba open safari url in eww [2023-05-09 Tue 16:25]