added resolution example
added example compile script
added compiled example for gh-pages