How to write a resignation letter

Nobody really *likes* resigning, much less penning the notice of your departure. Here are a few tips for how to write a letter of resignation with less pain and more effectiveness.