The Blog

All sorts of writings, from articles to photos to status updates to links of interesting stuff and everything in between.

Another step forward for Pennyworth

Pennyworth gets another update and can now handle references from Contentful, which means that pages now are more flexible and extensible and posts can soon handle media such as images and videos more properly.

Read article

ImageOptim - A great tool for reducing image file sizes

Since Yahoo retired their image image optimizer SmushIt, there haven't really been any good alternatives. Sure there are a plenty of so called cloud services, but most of them feel shady and does not perform in the way that I want to. I found ImageOptim a few months back and I think it is awesome!

Read article

Slack promises landscape mode for iOS

Apps that does not support landscape mode is something that I really get hung up on and now finally one of my favourite apps, Slack is finally going to support landscape mode. Hopefully sometime before the end of 2016.

Read article

Using the Element classList to manage classnames in HTML5

Working with class names in your DOM has been a real breeze much thanks to jQuery class methods and the refined selectors that jQuery provides. Adding and removing classnames in vanilla JavaScript has traditionally not been that easy, it has not been really difficult, just cumbersome. The Element.classList changes this radically and if you have some basic experience with web development then the interface of the DOMTokenList will make you feel right at home.

Read article

Strutter is out, Hugo is in

Sometimes you just have to make up your mind and make a choice. I've been working on Strutter off and on now, for almost a year, never really finding the time to finish the last ten percent to make the project presentable. I've learned a lot about Ember and I've gained more knowledge of both Ruby and Padrino together with a bunch of new techniques.

Read article

Another year, another blog and projects to come

As I've written before and something that I still talk about is web publishing. This site and blog has been powered just in the last 18 months of various tiny projects and I've used them all in production. I enjoy writing Rails applications, but I've really taken Padrino to my heart for some odd reason. So it is quite understandable why I'm writing yet another blog app / project.

Read article

Guess100 is now available through NPM

A few weeks back I wrote a simple guessing game called Guess100 for NodeJS. Inspired by my newly published Ruby gem Padrino Sextant I thought I would package Guess100 as NPM package.

Read article

CSRF tokens in Padrino

Out of the box CSRF tokens have been available for Padrino since the 0.11.0 release and was given an handy update in the 0.11.4 release. It can be a bit difficult to find the actual information and documentation on how to use CSRF tokens in Padrino.

Read article