Word for the Day: Vorführeffekt
Vorführeffekt: The phenomenon that something which was previously not working correctly suddenly does work correctly when one tries to demonstrate the fault to others.
Undoubtedly, there is a word in the German for the opposite it works on my machine. If not, Google translate offers Esfunktioniertaufmeinermaschine.