Being pepper-sprayed is a deeply unpleasant experience, which is why in a perfect world, it's usually reserved to people who are trying to mug, rape, or otherwise assault someone. And if someone is trying to pull that sort of crap on you, you don't want to just hose them down with capsicum. You want to put their ass behind bars where they belong, and to do that, you'll need a good description of your assailant. A team of students at Cornell University though, want to do you one better, which is why they're developing a miniature camera that can be paired with a can of pepper spray to snap a picture of the perpetrator while you're sending them high-tailing with your self-defense spray.
For those who have been waiting since the debut of the iPhone to weaponize it, your time has come. Piexon, the makers of fine pepper spray related products, has developed the SmartGuard, a tube of mace attached to an iPhone case. The device's creators reason that if everyone is carrying a smartphone these days, it makes perfect sense to attach a pressurized nozzle of irritant to it. That way, you'll never leave home without your pepper spray.
You really have to be careful with pepper spray. Obviously, you've got to be careful not to hit yourself with it, but you also have to be careful with how you use it on others, or you might get made into a meme. Also, you have to be careful how you talk about it; that can get you meme'd up too.