Counting tagged pages in Hugo

I wanted to count the number of pages tagged 100daysToOffload but couldn’t find a simple solution. ...

May 23, 2022 · 2 min · Stewart V. Wright

Including equations in my notes

Including beautifully rendered equations is easy in Org Mode. ...

May 20, 2022 · 2 min · Stewart V. Wright

Money laundering, buying elections and housing affordability

How do you buy a federal election? Through money laundering, by confusing correlation and causation and mindlessly parroting collective wisdom around housing affordability. View the post at LinkedIn, or Vifortech Solutions - Blog.

May 19, 2022 · 1 min · Stewart V. Wright

Update list of local projects for Quicklisp

I always forget how to update the list of local projects for Quicklisp. ...

May 10, 2022 · 1 min · Stewart V. Wright

Leaders versus managers

Leaders inspire you to follow; their actions make you aspire to be like them. ...

May 9, 2022 · 2 min · Stewart V. Wright

Show files ignored by git

Sometimes you just want to see the files that are being ignored by git. ...

May 9, 2022 · 1 min · Stewart V. Wright

Delete files not being tracked by git

Removing untracked files from the working tree is easy with git-clean ...

May 7, 2022 · 1 min · Stewart V. Wright

Amend git commits to remove added files

Removing files you just added and committed to git is easy with git commit --amend ...

May 5, 2022 · 1 min · Stewart V. Wright

Pretentious? Moi?

...

May 5, 2022 · 1 min · Stewart V. Wright

Getting yasnippet to work with Org mode

There are various discussions around the conflict between Org Mode and yasnippet and how to fix it. This is how I got them to play nicely together. You can read about my other Emacs configurations . (use-package yasnippet :init (defun yas/org-very-safe-expand () (let ((yas/fallback-behavior 'return-nil)) (yas/expand))) :hook ((emacs-lisp-mode . yas-minor-mode) (python-mode . yas-minor-mode) (org-mode . yas-minor-mode) (org-mode . (lambda () (make-variable-buffer-local 'yas/trigger-key) (setq yas/trigger-key [tab]) (add-to-list 'org-tab-first-hook 'yas/org-very-safe-expand) (define-key yas/keymap [tab] 'yas/next-field)))) :config (setq-default yas-snippet-dirs `(,(expand-file-name "snippets/" user-emacs-directory))) (yas-reload-all)) GNU Emacs 28....

May 5, 2022 · 1 min · Stewart V. Wright