Articles on programming, scripting and software in general.

Thrift Multiplexing in C# on Feb 15, 2017

Introduction to a powerful multiplexing feature that allows running multiple services running on the same address and port.

Setting up Laravel Homestead on Windows with Vagrant and VirtualBox on Jan 18, 2017

A step by step guide to setting up Laravel Homestead on Windows if you are having trouble following the official documentation.

State Pattern Encapsulation in C# on Jul 27, 2015

When implementing the state pattern, you usually have to expose members of the Context. Nested classes can help achieve encapsulation.

Creating a recursive template in KnockoutJS on Aug 28, 2014

When faced with a problem of rendering flat data as a hierarchical model with KnockoutJS, a recursive template will come in handy.

C# Apache Thrift Demo on Aug 18, 2014

Demo application that shows how you can use the Apache Thrift server/client with C#, including auto-generating code from a .thrift file.

Compacting VMware virtual hard disks on Jul 15, 2014

Usually the 'Compact' operation doesn't shrink the virtual disk size. See the step-by-step guide for compacting the disk properly.

C# scripting example using CSharpCodeProvider on Jun 26, 2014

Example with source code that demonstrates how to use the CSharpCodeProvider to compile and run arbitrary C# code at runtime.

Setting up local development domain with Apache vhosts on Apr 06, 2013

When working with Apache on web projects, you can use this convenient method to set up access to your project through a local .dev domain.