How to achieve this type of glitch effect

As seen in this page: http://www.theverge.com/a/anatomy-of-a-hack

Try this

If something goes wrong try this

Preview #1 and #2