mfs' nibbles

Tag: python


2022-03-13

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.

journal

tags: vim python


2022-03-02

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.

tags: python


2022-03-01

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.

tags: python