The Power of the Bookmarklet

Recently an occasion came up where I found myself repetitively typing in the same type of text into a web form. The form in question is the 'Tag this build' page in Jenkins.

Continue reading...

Updating Ghost to use Truncatise

Today I finally got around to modifying my Ghost blog to make use of my new Node Module Truncatise.

This didn't go as smoothly as I hoped.

Continue reading...

Publishing My First NPM module

For the past week or so (since setting up my new blog) I've been working on a new JavaScript module that truncates HTML.

Continue reading...

Passing Properties to your GateKeeper

Recently I've had to re-visit some old code containing a couple GateKeepers I wrote nearly two years ago. Looking at them now I realise how terribly unscalable they are. The gatekeepers are in place to protect some web service's and specify (in the gatekeeper code) which methods are open to all and which need restriction.

This is how not to write a gatekeeper.

Continue reading...