This one sounds like it would work, but it's a tad more complex than it needs to be.
My personal technique is to affix a paper clip to a large rubber band. I hold the paper clip in my teeth, then stretch the other end of the rubber band and attach it to my bollocks. Should I then nod off at altitude, well, *
snap!!*, and I'm righteously alert again