Skip to content

Instantly share code, notes, and snippets.

View Whil-'s full-sized avatar
👴
Thinking

Gustav Whil-

👴
Thinking
View GitHub Profile
(defun vulpea-project-p ()
"Return non-nil if current buffer has any todo entry.
TODO entries marked as done are ignored, meaning the this
function returns nil if current buffer contains only completed
tasks."
(seq-find ; (3)
(lambda (type)
(eq type 'todo))
(org-element-map ; (2)
@tiensonqin
tiensonqin / logseq_schema.clj
Last active February 4, 2025 22:22
Logseq datascript schema
(def schema
{:db/ident {:db/unique :db.unique/identity}
;; user
:me/name {}
:me/email {}
:me/avatar {}
;; local, github, dropbox, etc.
:db/type {}