I use nordvpn. It works well. Every time I re-install it on one of my linux boxes I forget how to login … as I don't have a browser on them (command line only). So the trick is to user: nordvpn login --legacy That's it. And then I need to tell it a few other things. nordvpn set firewall disable Full entry …


I want to write more and use this more as my commonplace book. So here we go …

I have drifted into reading (and doing a little) bit about Docker. That came about because I'm running a 'Dockerized' version of UISP. When I say run, it's just that – I followed the instructions and got it going. But what it all meant, I wasn't really sure. That's not to say I don't understand UISP, I do. I just don't/didn't understand all this docker stuff.

Full entry …

Four thousand weeks

Since I read this book (about a month ago), I find myself recommending it to many people. More so than any other book I've read (and that includes non-fiction as well as fiction). In some ways this is a book about managing your time, in other ways it is about managing your attention. Certainly, that second perspective is the most useful in the modern world were there is always more to be done not matter how good your time management.

Full entry …

Hugo directory structure

When I started to dabble with Webmentions I first created a new type of content called likes. This basically entailed me making a directory in my content directory called likes anb putting my 'likes' in there. That also meant I had to create some new templates in my theme directory:

  • layouts/likes/single.html
  • layouts/likes/list/.html

The I made a new type of webmention response called replies.

That entailed another new directory in my content directory, and single and list templates.

Full entry …

Caran d'Ache 849

I went back into the office last Tuesday, and sitting on my desk was my trusty TWSBI 580, still full of ink. I've not been in the office for more than 5 months, and the pen had just been sitting there. When I went to use it the cap broke. Stewth! A quick Google search showed that Inkt in Whanganui had replacement caps. As I was browsing their website, I noticed that they had Caran d'Ache 849 pens, and thought "why not". The range of available colours was somewhat limited; many of what I would expect to be popular colours were out of stock. So, I opted for an orange fluro body with a fine nib (surprise, surprise). I also ordered a converter so I can use bottled ink rather than cartridges. Despite them shipping it the same day, there were some delays with NZ Post, but eventually it turned up.

Full entry …

Hugo and JSON

Diving into IndieWeb (in general) and into to webmention's 'likes' (in particular), I have had to get to grips with how to work with JSON under Hugo.

Having restructured my content layout on disk, I turned my attention to what to do with the webmentions.json file that I downloaded from using Originally, I had been downloading a single monolithic file with all the responses folk had done to my website. I put the file in my Data directory and accessed from within Hugo using data templates.

All well and good. But one of the great thing about Evgeny's tool is that it can store the response from into the directory of the relevant page bundle. So, I tweaked the script I used to call to look like this.


FILENAME="responses.json" -t ${WEBMENTION_KEY=} -d -cd content -f ${FILENAME}  -jf2 -tlo=false -p -ts

# Now fix the pesy hypens in the poperty names
find . -name ${FILENAME} -exec sed -i  '
s/\(^ *\)"like-of":/\1"like_of":/
s/\(^ *\)"mention-of":/\1"mention_of":/
s/\(^ *\)"in-reply-to":/\1"in_reply_to":/
s/\(^ *\)"wm-/\1"wm_/' {} \;
Full entry …