A digital last-will-and-testament: who gets your accounts?

What happens to your digital assets after you die, and how to make sure they fall into the right hands before you do.