10mg of THC Sativa edible. With possibly 80-160mg of caffeine whatever amount that is your trigger threshold.
THC helps to slow everything down a bit so you can clear the fog and focus one a singular thing. The caffeine to keep that edge going.
Also extremely conducive even if you're not a fan of this genre of music but game/trailer sound tracks like: https://www.youtube.com/watch?v=z1P5U7NlVoA
Music with lyrics or jazzy makes you need to focus on the music.
Alternative is this incredible little gem of youtube:https://www.youtube.com/watch?v=iD4dMdpNe_I incoherent background noise.
However, as few have said, bottomline is you can't circumvent sleep deprivation. Best you can do for yourself is take a power nap but even with sleep, because of the crap happening. I still recommendation the above suggestion.