Demo project for a Stack Overflow question.