From 46e11b4dc96930ca857d4fc922b1aadbca47ffbf Mon Sep 17 00:00:00 2001 From: Andreas Gerler Date: Fri, 12 Jul 2024 18:20:12 +0200 Subject: [PATCH] testing steampipe Signed-off-by: Andreas Gerler --- bba.org | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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] -- 2.47.3