Manipulating an Excel file with Python

15/5/2020

It's one of those things that sound easy but hardly are. There are a lot of libraries and solutions out there that enable you to manipulate Excel files via code. Some of them are expensive, other are open source.

read more

Installing a node.js application as a Windows service

12/4/2020

It wasn't my intention when I started the first article but this has become a series of how to run node applications in production with IIS on Windows. These are the previous articles on the topic:

read more

Using HTTP platform handler to host a node.js application via IIS

14/3/2020

About a year ago I wrote about hosting a Node.js application via IIS. It uses IIS as a reversed proxy to route traffic from IIS to the node.js webserver. To manage the node.js process pm2 was used. Unfortunately I had some problems restarting the pm2 process when the server restarted. This meant downtime everytime the server was restarted until I manually resurrected pm2.

read more

Connecting to a Microsoft SQL Server database on macOS using Python

8/8/2019

There are always situations where I want to automate small tasks. I like using Python for these kind of things, you can quickly get something working without much hassle. I needed to perform some database changes in a Microsoft SQL Server database and wanted to connect to it using Python. On Windows this is usually pretty straight forward. But I use macOS as my main operating system and I had some hurdles along the way so here is a quick how to.

read more

Things I wish I knew before I got started with CosmosDB

31/7/2019

Lately I've been working on a project using Cosmos DB on Azure. I really like the simplicity of a document DB. However there were some things I learned while on the job which I wished somebody told me before starting with it.

read more

Testing request permissions in an Android application

15/7/2019

While working on an Android application I wanted to test permission requests. This application needed the location permission, typically this is code that is written once and when it is marked as done never looked at again. I wanted to create some UI tests to ensure that everything works and will still work in the future as expected.

read more

Using the Digispark as a cheap USB Rubber Ducky

5/4/2019

Disclaimer: This post is for fun, learning and experimenting. Use these tools wisely, in no way am I encouraging malicious use of them.

read more

Hosting a Node.js application on Windows with IIS as reverse proxy

14/3/2019

Unfortunately a lot of companies are still stuck with Windows servers. Nobody ever got fired for choosing Microsoft, right. As a developer this can be frustrating because choosing a server technology is usually limited to ASP.Net. I have experimented with hosting Node.js applications on a Windows server by using iisnode. But it is a pain to get up and running, setting the correct permissions is a time consuming chore. Microsoft has taken control of the development of the project but I get the feeling it's not very active any more. There are several Stackoverflow questions where people just give up configuring it.

read more

Configuring aliases in iTerm on Mac and Cmder on Windows in Parallels

26/12/2018

Aliases are a handy way to quickly execute certain commands in the terminal on Mac and in the command prompt on Windows. I recently read this post about git aliases which nicely demonstrates what is possible, it focuses on git commands but it can be done for any type of command.

read more

Improve Visual Studio Performance By Disabling Automatic File Restore

15/9/2018

This excellent tip comes from my coworker Konstantin. If you have a Visual Studio solution that has a lot of projects and is slow you can speed up Visual Studio by disabling automatic file restore. To disable automatic file restore open Tools > Options in Visual Studio, select Projects and Solutions > General and deselect Reopen documents on solution load.

read more