Trondheim Developer Conference 2014

Last week I attended Trondheim Developer Conference #tdconf in Trondheim. It was the first conference I have attended and I must say it was fun and inspiring. I really liked going, and it was a nice way to learn new…

Creating patches for Git

Today i had to fix some bugs in a contributed drupal module in a project i’m working on, and to make sure my changes was not lost in a module upgrade i created a patch for them, and here is…

Configuring Varnish for WordPress

Varnish is a very effective caching software, it can cache every part of your WordPress site. But when you turn it on you loose some nice features of WordPress. Varnish works by sitting in front of your web server, and…

Featured image as background image

If you have a theme with the custom background image feature enabled it’s pretty easy to replace it with the featured image of your posts. First you need to add the wp-head-callback-attribute to your add_theme_support(‘custom-background’)-function: add_theme_support( ‘custom-background’, array( ‘wp-head-callback’ =>…

WordPress development with Vagrant

Vagrant is a tool for creating virtual development environments. It allows you to setup a environment with the OS you want and all the functionality you want without messing with your computer. Why vagrant? Up until recently i used xampp…

Atom.io

Github just released a beta version of their new editor Atom, and i must say it looks good. It has a very clean user interface, and i must say i like what i see. The editor is highly flexible with…

Grunt – The JavaScript task runner

Grunt is a command line tool that’s running tasks for you. It can automate all the things you have to do manually (at least many of them). You can for example make it compile your SASS-files, check your JavaScript syntax,…

Moving my blog to DigitalOcean

I have been looking for another host for my blog for some time now, and in december i found DigitalOcean. I decided to move my blog there yesterday.¬† DigitalOcean With DigitalOcean you get a server, a linux OS and then…

Getting started with Backbone.js

I have wanted to look at JavaScript frameworks for some time now. I like the idea to only send JSON data from the server and let the client do the rest. But there is a jungle of frameworks, so it…

A new blog theme

Today i changed my blog theme to a new theme i have created. It’s a theme heavily inspired by Inside Envato and¬†Bensmann.no. It’s a work in progress, and changes will come. I’m also trying something new by writing in english….