It's not as impressive as it sounds.
I once went to turn my PC on and I had a moment, just as I pressed the button, where I was certain it would explode, as if it had already happened. And the power supply blew out the back. I was 100% certain this was going to happen.
Years ago in my little flat I had a power cut. After some time messing around with candles I just went to bed.
3am I woke up in darkness. I had the following thoughts in quick succession : oh shit I left the bathroom light on, if the power comes back on the extractor fan will wake me up. Hold on I'm already awake. The power is gonna come back on now.
Next moment power comes back on and the bathroom extractor moans into life.
Good job it didn't wake me up.
(Reposted from an earlier date)
Don't know if that is what you'd think of as a glitch, or maybe just experiencing a bit of electron-related temporal splashback.