For the vanity
Use velcro tabs to secure a power strip to the leg of a desk to keep the cords out of your way. Via Organizing with velcro | OrganizingMadeFun.com
Hide cords in pretty box. Check if it's a fire hazard first
Attach to the nightstand, so now you don't have to reach down and grab your cord every night.
DIY Cake Stands : I Love To Cook
Bread Clip Cord Organizer, love this idea!!!
Or hollow out an old book. | 36 Genius Ways To Hide The Eyesores In Your Home