All blog posts

Conditional notifications for the family in Home Assistant

Learn how to set up Home Assistant notifications for the whole family, with scheduled opt-in/out per house member.

A smart home consumer's wish list

A short wish list of products and features I want to see in future smart home products.

Drawing diagrams in Sanity with Mermaid.js

Learn how to embed Mermaid.js based diagrams in Sanity.

Exploring the iTerm2 Python API

Explore the new iTerm2 Python API to automate terminal workflows

Making a Stranger Things lights decoration

How we built a fun LED lighted, internet controllable Stranger Things inspired ouija board for halloween

Kill the designer

You don’t need a designer. You need a new way of thinking.

Writing solid asynchronous code using Promises

Why you should use Promises over callbacks when writing asynchronous Javascript.

Internet of Things, make me smarter

The Internet of Things excites me. It's the part of the future that makes me want to be first in line to get there.

Hackers, makers and doers

These are the three kinds of people that makes this world an interesting place to be.

Three things I love about Lithium

Highlighting three of the things I like the most about the Lithium PHP framework.

My 2012 β€” A year in review

We’ve just closed the books on the year that was 2012 and started a new, and better, 2013. I think its a good habit to apply retrospection to ones life β€” and I apply that principle badly myself. So heres an attempt to see what I did with my life in 2012.

A practical guide to AMD and require.js

The importance of staying current and valuable in a knowledge-based field

Optimise your Javascript β€” debunk

Today netmagazine.com published an article highlighting a bunch of javascript performance tips. While focusing on javascript performance is indeed laudable, several of the tips in the article is not valid though.

Remote control your Pioneer VSX receiver over telnet

Live life like there is a tomorrow β€” Love yourself every day

So kids, love yourself every day, starting with today, what it takes for you to love yourself today is up to you to find out!

ElasticSearch PHP client 2.0, thoughts and changes

On the fly image resizing in Lithium

Recently I’ve been playing around with the very promising PHP framework Lithium. In fact we decided to use it at work for some project as well. Documentation is a bit scarce and disorganized, and there aren’t a whole lot of content on the web about it, so I figured i might as well share some of my discoveries.

Introduction to data structures, complexity and algorithms in PHP

PHP associativity and assign by reference

Instilled values β€” what really matters

What are your values? Have you ever thought of what makes you you as a developer? Are you satisfied with them?

Keep colors consistent across OS and browsers with ImageMagick by removing profiles

Having a DRY week

I try to always write DRY code, but when under a lot of pressure, with too little time and maybe even over worked I can end up duplicating knowledge throughout a system. And I do get very upset when i realize that I did so later on. Its time to cut the crap.

List of useful Lithium (Li3) resources

Hackday-erfaringer β€” eller MediArena digitalt juleverksted oppsummert

Creating a generic validator for arrays of strings in Lithium