Karl-Henrik


The random ramblings of Karl-Henrik "KH" Nilsson


  1. Finding what keeps Windows 10 from entering sleep mode

    Few things annoy me as much as putting my laptop in my bag and heading off to whatever means of transportation I am using this day and hearing the laptop fans muffled promises of a flight with no power. This issue started happening quite frequently with my previously so superbly smooth running Surface Pro 4, and I wanted to find out why! I messed around with Windows update, disabled power settings, enabled other settings and...…


  2. Loosely coupled Asp.NET WebApi with TinyPubSub

    Building APIs can be tricky, what seemed like a straight forward easy project can three months down the road have turned into a change request ridden, feature creep hell hole. It’s not your fault, you didn’t know they also needed to update the legacy system every time someone placed an order and also tell Kim in accounting every time someone who had been a customer for more than ten years made a purchase. If your...…


  3. Getting started with NodeMCU

    At the time I’m writing this I am at NDC Oslo were I did a few sessions on IoT. During one of the sessions I used a NodeMCU to demonstrate my points and when I also saw one of the exhibits handing them out I thought it could be a great time to share my getting started guide for NodeMCU. To follow along this guide you are going to need the following things DS20B18 temperature...…