Articles on programming, scripting and software in general.

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.

Moving Laravel 3 public folder on shared hosting on Mar 29, 2013

You can move Laravel's public directory to the public directory of your hosting account, but keep your application and framework code private.

Integrating StyleCop with Visual Studio Express on Mar 20, 2013

StyleCop is not directly supported in Visual Studio Express. However, it can still be integrated with a little bit of manual work.

Auto-mount VHD image script for Windows 7 on Mar 17, 2013

Support for mounting VHD images is very useful, but unfortunately drives do not stay mounted after reboot. Auto-mount drives with a script.