How to create jump-shake

There is an open source module called EZ CamShake which works great for this, its easy to setup so its good for beginners.