Internet, meet Box Of Cords:
What? I'm OCD about cords. Don't judge me. Or ask about Son of Box of Cords.
Contained within are all manner of cables, wires, and cords. Power cords with those bricks in particular. You know, those maddeningly generic wall warts that have a meaningless sticker applied to them that tells you precisely nothing useful, like what device it goes with.
Oh, right! Ullpower! Wait, what?
Like I have any idea what "Ullpower" goes to. Especially when it is some time in the future and I have fished it out of Box Of Cords wondering what on earth it goes to and do I even still have that or did I give it to someone or donate it without a power cord (or with the wrong one).
This is because most companies buy generic power supplies from companies like Ullpower—and a host of others—and those power supplies rarely have any identifying marks that tells you what they go with.
As with many things, the answer is Sharpie. Specifically, a silver Sharpie. Right on the package it says "Great for dark surfaces," and there aren't any surfaces much darker than a black plastic power supply. But if you add silver Sharpie to black wall wart, bam! Instant Lifehack! Check it out:
Look upon that surface, and see that it is dark.
This plug goes to one of my currently unused IP cameras (a camera that is viewable online, like Dropcam or Foscam makes).
It's almost worse is when the manufacturer IS on the power cord, but maybe isn't so helpful:
Is it a router or a camera or a print server or...
What on earth did I get from D-Link with this power cord? I have stacks of things from D-Link running around, what do I have that isn't plugged in? Or plugged in with the wrong power cable? Now I can't sleep…
Silver Sharpie to the rescue!
Oh wait, yes I can! Because when this came out of the box I scribbled on the bottom* and now I can always tell what it goes to! I can tell this because I have precisely one NAS (Network Attached Storage device) from D-Link, so I have given this a notation that makes sense to me. If you have multiples, you can add a note on the bottom of the device itself to help match things up. Your mileage may vary.
So if you have a stack of miscellaneous wall warts, pick up a silver Sharpie and get your best handwriting ready. They are available in fine point which is what "regular" Sharpies are, or extra fine point, more like a regular pen for smaller surfaces. Since it probably lives under a desk or in a closet most of the time, it doesn't matter if the power supply has a little writing on the side.
*I say scribbled but you want to be able to read this later, so take a little extra time and make it look presentable.