aliquote.org

Latest micro-posts

You can also also view the full archives of micro-posts. Longer blog posts are available in the Articles section.

2025-09-04 21:18 #

/me is listening to “Beautiful is Boring” by BONES UK

2025-09-04 14:22 #

https://w3m.rocks: Site dedicated to the finer aspects of W3M, an open-source terminal web browser (and pager) available for any Unix-like OS.

2025-09-04 12:45 #

Comfy macOS setup: Neomutt running inside Tmux in a separate tab) so that I can completely wipe out Apple terminal and get back to it at any time. Also, setting beep_new = yes put a little bell on the tab when I got mail.

img

2025-09-03 12:34 #

If you installed the XCode command-line tools and you did notice there’s no longer /usr/local on macOS, you probably want to add the following to your after/ftplugin/c.vim for gf to work properly on included headers:

setlocal path+=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include
2025-09-02 21:59 #

/me is listening to “The Last Beat of my Heart” by Siouxie and the Banshees

2025-09-02 13:00 #

Lot of VimL here…

~/.config/nvim
» tokei -e pack -s files
===============================================================================
 Language            Files        Lines         Code     Comments       Blanks
===============================================================================
 Vim script             78         6095         5761          128          206
 Lua                    17         1674         1567           37           70
 Scheme                  2           99           91            1            7
 Plain Text              2          418            0          334           84
 BASH                    1            8            4            1            3
 Python                  1            1            0            1            0
 Swift                   1           13           11            1            1
===============================================================================
 Total                 102         8308         7434          503          371
===============================================================================
2025-09-02 10:53 #

Hacky way to get gf works with Hugo rooted inline links (e.g., /post/bla/):

setlocal includeexpr='~/Sites/aliquote/content'.substitute(v:fname,'/\$','','g').'.md'

I’ve tried several combination of path, suffixesadd and includeexpr with no success, so I ended up with this ugly harcoded combinaion of root path and extension as prefix and suffix. #vim

2025-09-02 09:45 #

HaScheme is a library that implements a subset of the R7RS’s libraries in a lazy way, using force and delay-force. When HaScheme is used by itself, it is a lazy functional programming language with the same syntax as Scheme, embedded within Scheme. #scheme

2025-09-02 09:26 #

Good old Automator folder actions… I didn’t remember it was so tedious to rename default screenshots (there’s no option to add date and time, we must chain both actions together).

img Not shown in this workflow, this AppleScript (without messing with file extension guard) to copy filename to the clipboard.