Besides, to pass well a programming interview you need one more thing: self-confidence. Somebody mediocre but with a lot of self-confidence looks better on job interviews than somebody with good skills but with low esteem and with no confidence.
Recruitement is a psychological process rather than technical.
Second important thing is to be cool or appear cool to you recruiters. If you're good at programming this counts as cool. If you have some interesting sideproject you can talk about, this also counts as cool. If you are up-to-date with current trends (you probably need read much of Twitter, HN, Reddit, Github etc.), this also counts as cool etc.
TL;DR keep calm and be confident and appear cool.