rss_feed

Development

Working with Linux in Windows: Linux Server in VirtualBox

I have written before about having to work in Windows 7 with Docker which only runs natively on Linux, macOS or Windows 10.

1 November 2016

Debugging Node.js in a Docker Container with WebStorm

Node.js + Docker + WebStorm is not an unusual setup for Node.js developers, but there is nonetheless surprisingly little information available about how to setup debugging in WebStorm while running a Node.js application locally in a Docker image.

25 October 2016

Resize an NSImage Proportionately in Swift

For the past couple of days, I’ve been working on a small project for OS X written in Swift where it was necessary to import an image and scale it down proportionately based on a given width and height.

18 June 2016

Node.js: Fixing a memory leak in Express MemoryStore

When using a combination of Express and krakenjs in your Node.js application, there is a feature enabled by default which automatically leads to a nasty memory leak.

16 June 2016