Print a Minecraft Sword that can contain the electronics for a USB thumb drive (note that the board size can vary between different drives).
Two main versions are available, one holds the drive in the blade and uses the hilt as the cap. The other holds the drive in the hilt and part of the blade, the tip of the blade is the cap. If you have a tight space for pluging in the drive I suggest the drive in blade option is best.
Both pieces need a brim (or raft) to print, because not much touches the print bed to adhesion becomes an issue. They won't print laying down flat because of the internal structures. Also the beveled details would not print as well.
You need a good sized brim or raft to get good bed adhesion when printing on end (as positioned in the STL files). Otherwise they may fall over when printing near the top.
Chamfer the edges of the opening in the cap
To allow the USB cap to slide easily over the plug. I used a hobby knife to apply a small chamfer to the opening of the cap. This allows the cap to be easily placed on the USB plug.