Posts in category dev - page 14

05 Apr 2016

Using an Event Loop for Multiple HTTP Requests

Dev Mojolicious

A project I worked on in some of my spare time back in Summer 2015 was to look for unusual HTTP headers. Things like X-Clacks-Overhead:GNU Terry Pratchett, or ancient use of PICS-label headers. I recently revisited the project and put it online as popular-headers.

18 Mar 2016

Markdown on WordPress

Dev WordPress

Markdown is an easy to use markup language for formatting text. It has proved to be very popular with developers. The syntax is small, quick to learn and very readable. The format is fairly well supported by online tools. Thinking of just a few examples off-hand: GitHub, MediaWiki and Trello. When you are writing a lot of text, particular web content, markdown makes it easy to see and focus on the content, rather than a mess of HTML tags.

07 Mar 2016

Another Introduction to Docker

Dev Docker

Docker allows software and dependencies to be bundled together in ‘containers’. This is a whole level up from a script that installs the libraries for a piece of software to run. A container holds the full environment in its own file system. This means anything you can install/setup on a server can be bundled in the container. The big advantage here is that we then have a portable unit which can be run consistently from machine to machine. Think of Docker as lighter-weight than a VM (e.g. Docker containers don’t have their own kernels, where as a VM would), but giving a similar level of separation, structure and consistency.

03 Mar 2016

More than just keys in authorized_keys

Dev SysAdmin

~/.ssh/authorized_keys is more than just a file listing valid public keys which can be used for server access. Each key can be preceded by a list of options:

17 Feb 2016

Fixing unreliable TalkTalk DNS

Dev TalkTalk

My home internet connection is provided by TalkTalk. I have their medium fibre package. If I had to rate the service out of 10, I’d give it 5 (and even then only just). The consistency isn’t great, the DNS is flakey and TalkTalk keep getting hacked (see here, here and here) meaning I deal with an increasing number of spam calls. Good points are that the service is relatively cheap, and works fine most of the time.

12 13 14 15 16