How to Add and Remove WP Admin Bar Links

Customizing the new WP Admin Bar by adding new links and removing existing ones.
Here’s the code and and some examples.