Skip to content

Instantly share code, notes, and snippets.

@stask
stask / mailplane.el
Created May 1, 2019 09:13
Add support for Mailplane links to org-mode
;; attempt to add mailplane support
(defcustom org-mailplane-url-protocol "mailplane"
"Protocol identifier for Mailplane links."
:group 'org-mailplane
:type 'string)
(defun org-mailplane-follow (email-id)
"Open mailplane with given EMAIL-ID."
(browse-url (concat "mailplane:" email-id)))
@stask
stask / todoist.clj
Last active April 21, 2021 12:54
A simple babashka script to get a list of tasks from Todoist in a format that is easy to use in Roam Research.
#!/usr/bin/env bb
(ns stask.todoist
(:require
[clojure.tools.cli :as tools.cli]
[org.httpkit.client :as client]
[cheshire.core :as json]
[clojure.string :as string]))
(def cl-options