Window snapping via wmctrl in Ubuntu

Xubuntu 13.04 which I’m using makes it easy to snap windows via mouse. But there are no keyboard shortcuts for it! Luckily, there’s wmctrl which we’ll use to create our own.