Skip to main content

Posts

2016


Hugo

·1 min

Another year, another blog engine. I’ve dropped Jekyll in favour of Hugo.

Jekyll required Ruby, and gem management which isn’t particularly difficult, but was becoming annoying when I have to manage it across 4 different machines. Hugo just works.

HTTPS

·1 min

Now that Let’s Encrypt is live, the site is now accessible over https. The only thing of note is that you need to reference site local assets using:

<a href='/some/protocol/free/path'>some internal link</a>

Otherwise the site isn’t entirely secured by https.

2014


Powershell hr

·1 min

I saw this on reddit (or possibly hackernews) the other day that produces a simple banner line in bash.

So here’s a powershell version:

2013


Python virtual envs

·2 mins

A simple function to bootstrap Python virtualenvs in Powershell. Add it to your profile and then call it as:

create_virtualenv c:\temp\myvirtualenv

Script is here:

A Basic Rakefile

·5 mins

I don’t like spending too much time setting up a new automated build, and rakefiles are an effective way to capture a lot of the boring repetition. Also, in the spirit of “don’t repeat yourself”, I have a rakefile that that I have been gradually building over the past few months. For my purposes, it now just requires a single edit to use in a new project.

Jekyll on Windows

·1 min

Getting Jekyll working on Windows was relatively straight forward:

  • Install ruby
  • Install the devkit
  • gem install jekyll

Then, downgrade pygments as 0.5.1 doesn’t work properly.

And that’s it.