Varnish superbunny

Website performance, with vs without Varnish

Varnish is an exciting http accelerator (or caching HTTP reverse proxy) that claims to make radical performance difference to existing web applications. Since the page load time of web applications is more and more important, it may come in handy.

With no direct performance issues, but also no reason not to implement it I decided to give Varnish a go and share the results...

Published on June 7, 2015, 12:48 p.m. Read more
Docker logo

Cleaning up a full Docker partition

Docker is great when it comes to isolating applications and services but like many other things, it has some serious drawbacks.

One of the issues that repeatedly bites me is the massive amount of disk space it may use. In rare occasions it can even make your system run out of disk space. On top of this Docker lacks a decent system to clean I'ts mess up, so fixing it isn't as easy as it should be. Fortunately, solving the problem isn't rocket science and the solution is rather simple (scroll down for copy+paste).

Published on May 19, 2015, 8:14 p.m. Read more
Disqus logo

Why you should use Disqus

I recently implemented a commenting system on my blog, I choose to use Disqus, and I think you should too.

Disqus is a system that can be used to incorporate comments on a website or blog and has become quite popular lately. And thats for a reason.

Published on May 15, 2015, 10:59 p.m. Read more
Less logo

Installing latest lessc on Ubuntu (Docker)

When you're installing "lessc" (LESS compiler) on Ubuntu using the node-LESS package. An outdated version is installed on your system. I ran into this problem when I wanted to do server-side compilation of my .LESS stylesheets. The outdated version didn't compile the stylesheets properly so I needed to replace it.

The problem however was that the environment runs in a Docker container and is build using commands in a Dockerfile. The process therefore needs to be automated using simple instructions.

Published on May 14, 2015, 4:21 p.m. Read more
Nodejs
Xkcd sandwich

Running the latest command as root (sudo)

In some cases when maintaining Linux/Unix systems, root privleges are needed for certain commands. And even though running applications as root can be a serious security threat, sometimes it is necessary.

You probably solved the typical "Permission denied" error at least once by simply repeating the command with "sudo" in front of it. If you need this often (perhaps you shouldn't), try this for a change:

Published on May 14, 2015, 4:19 p.m. Read more