I wanted to start using some features from the latest xmonad which wasn't in
Arch Linux's repos so have started using xmonad-git and xmonad-contrib-git
from the AUR. When updating any Haskell packages these packages require
rebuilding. My steps to do this using the yaah AUR helper:
$ yaah xmonad-git
$ yaah xmonad-contrib-git
$ cd xmonad-git
$ makepkg
$ sudo pacman -U xmonad-git-...
$ cd ../xmonad-contrib-git
$ makepkg
$ sudo pacman -U xmonad-contrib-git-...
$ xmonad --recompile
For ages I have been making daily notes at work using a simple alias to open
vim with a file named after the day's date. After talking with friends and ex
colleagues about what people used for this purpose I decided to switch to a
single file per week named after the date on Monday. I wrote a short script to
launch vim with a filename based on the date of the last Monday, or today if
today is Monday. The script also allows opening a previous or future journal
file using an argument. journal 1 opens next weeks file. journal -2 opens
the journal file from two weeks ago.
Someone reminded me of Vim Outliner which I used to use and stopped
for some reason. Decided to install it again and was puzzled when it
wouldn't work correctly. Turned out I was missing filetype plugin on in
my .vimrc. A couple of settings it's nice to have on are:
syntax on
set backspace=indent,eol,start
filetype plugin indent on
I'm running an OpenBSD box to handle DNS and a few other things
on my home network. Tracking -current. To upgrade to the next
snapshot:
# sysupgrade -s
-s is only needed for the first upgrade from the release branch.
# pkg_add -uiv
If OpenBSD is currently in -beta add -D snap to this command.
First nibble generated by quick and dirty static site generator in Python. Removed month headings for now and still need to generate archive pages. Will add tags at some point.
Still writing nibbles in html. Have made a start on a simple static site generator
written in Python using markdown2. Current build command just copies files into
place for now.
Also discovered the most recent version of Python supported by Cloudflare Pages is currently 3.7.