Skip to content

Instantly share code, notes, and snippets.

View jsntn's full-sized avatar

Jason TIAN jsntn

View GitHub Profile
@jsntn
jsntn / clocktable-by-tag.el
Created April 3, 2023 09:31 — forked from nonducor/clocktable-by-tag.el
Emacs org-mode dynamic block similar to clocktable, but grouped by tag. See: https://stackoverflow.com/questions/70568361/org-mode-review-clocked-time-by-multiple-tags
(require 'org-clock)
(defun clocktable-by-tag/shift-cell (n)
(let ((str ""))
(dotimes (i n)
(setq str (concat str "| ")))
str))
(defun clocktable-by-tag/insert-tag (files params)
(let ((tag (plist-get params :tags))
@jsntn
jsntn / emacs-async-config.el
Created June 23, 2025 12:56 — forked from kiennq/emacs-async-config.el
Limit number of async processes ever created at a time
(use-package async
:ensure t
:defer 5
:init
(setq async-bytecomp-allowed-packages '(all))
:config
;; async compiling package
(async-bytecomp-package-mode t)
(dired-async-mode 1)
;; limit number of async processes