Plugging in an SD Card and Photos keeps popping up? You know the trick to stop it from opening up but plugging in a new SD Card or a formatted one and it still won’t stop bugging you?

Head to terminal and enter:

defaults -currentHost write disableHotPlug -bool YES

Enjoy your peace and quiet!