git-fire
git-fire copied to clipboard
An idea to make this actually (maybe) useful in case of a fire
Record the CPU temp and if it goes above a certain threshold for longer than a few seconds (to make sure small glitches don't cause random pushes), automatically execute the command. I'm not sure if the way CPU's measure temperature would be able to measure high enough temperature to know it's a fire, but in theory this would work.
What if cpu it's working very hard? like compiling large project which takes multiple hours and full load on cpu? it might mistrigger it. also if there is a fire and it's close enough to increase cpu temp, I doubt that push would be successful.
That's one of the many reasons I said "in theory this would work". A better idea I just had would be to have an external sensor that's hooked into a fire alarm system. But that's external hardware that is a bad idea in this context.
Before the CPU temp go high, your cabel may get burned earier.
If your CPU is pushing 200 degrees while its working on full load you have bigger issues than git-fire mistriggering lol