April 15, 2014

Beating Caesar’s Cipher with Wheel-of-Fortune

While on vacation my wife showed me a children’s riddle book. When she was young her family went crazy for a few days trying to solve the riddle before giving up. The book contains a cipher at the end which can be used to validate your solution and finish the story. I knew it would be trivial to brute-force, but I wanted to demonstrate a statistical attack with nothing more than Wheel-of-Fortune’s free letters – R,S,T,L,N,E. more...

February 19, 2013

Linux RAID with mdadm - Do's and Dont's

I've been keeping my personal data safe with linux software raids for almost a decade. I've even convinced many friends to do the same. Lost data is so frustrating... actually, loosing data was one of the forces that made me commit to abandon M$ windowz and become a daily linux user. more...

July 24, 2012

Statamic SASS Plugin

Statamic Lets you use SASS/SCSS in your templates. more...

May 21, 2011

Simple TCP Messages with NetSocket

Update: The NetSocket library has been tested in mono. Now you can use it to communicate between Windows, OS X and Linux.

Back in the days before .Net it was easy to add network messaging with the Winsock Control. Unfortunately .Net does not include an out-of-the box messaging API. Thankfully it has everything you need to make one. more...

April 25, 2011

Introducing JSON Lite

Thankfully, as of PHP 5.2 there are built-in functions for converting between PHP objects and JSON. But, as we’ve all experienced sometimes you need to support people stuck in the past. Without further adieu, I introduce JSON Lite. more...

Next »