Skip to content

Instantly share code, notes, and snippets.

View olymk2's full-sized avatar
๐Ÿ˜€
Using GitLab

Oliver Marks olymk2

๐Ÿ˜€
Using GitLab
View GitHub Profile
@olymk2
olymk2 / readme.md
Last active November 7, 2023 16:32
Scan solus packages for occurances of a packing in the dependencies

Example of running

bb scan.clj --search nodejs

or use the below command with vscode calva emacs or similar bb nrepl-server

@olymk2
olymk2 / sql-edit-completion.el
Last active February 19, 2024 10:06
Adding completing read to sqlite-mode-extras-edit-row-field
(defun sqlite-mode-extras-completing-read-field (table column)
"Do a grouped select to get some completion candidates"
(delq nil (flatten-tree (sqlite-execute
sqlite--db
(format "SELECT %s FROM %s GROUP BY %s limit 100"
column
table
column)))))