On a more serious note, I would not mind having a device that could tell me hours in advance of a large gamma ray burst if that were even possible. If one can get into deep enough of a tunnel there is a small chance of survival. I am not sure what I would do afterwards short of becoming a gatherer. Hunting would be over. No idea if the plants would survive.