Posts tagged with "websites"
The inner page

This article is not intended as an example of good programming or prudent life decisions. The other day I needed to pull a full HTML page into the middle of another page at set intervals. This second page had JavaScript that needed to execute on load, and I didn’t want to use an iframe or object because of the gross scrollbars. I more-or-less succeeded through a couple of filthy hacks in which I take inordinate pride. It was one of those situations where you think it’s going to be an...

How I publish this blog

At the request of a couple of readers, here’s a post all about how the sausage is made. Some of this content can be found in the Hugo documentation and various online tutorials, but here it’s all linked together and contextualised. I still recommend reading other tutorials if you really want to set something like this up though, as I’m not going into exhaustive detail about everything here. A table of contents is provided below for the convenience of those interested only in one or two sections of the...

List encounters of the third kind

Content warning: over a thousand words about the appearance of a certain kind of list. How many times have you seen or written a list like the one below? Label: one or more sentences, maybe a short paragraph. one or more sentences, maybe a short paragraph. one or more sentences, maybe a short paragraph. one or more sentences, maybe a short paragraph. one or more sentences, maybe a short paragraph.Other label: one or more sentences, maybe a short paragraph. one or more sentences, maybe a short paragraph. one or more sentences, maybe...

Mine cryptocurrency instead of clicking ads

Long-time readers will notice a new addition to the left side of the blog – a small piece of text just under the header: Click on it and you’ll see something like this: This is an experiment in blog monetisation, powered by Coinhive. The traditional easiest way to monetise a blog is to toss some adverts here and there – above, below, beside and interleaved with the content. I’ve never run anything like that on this blog because I hate advertising. I use an adblocker wherever...

Creating a personal wiki with Vimwiki and Gollum

One of the reasons for the Web’s triumph over the Gophernet in the early 90s is its superior organisational structure. Hypertext links allow any one page to be linked from any other page without regard for hierarchy or location, but you can still define hierarchy and location like you would in a filesystem. Early on, in 1994, Ward Cunningham invented the wiki, a sort of mini-web that leveraged the associative power of hypertext linking within a single website. This was good, and it paved the...