Yes I have. I recommend not using caffeine (coffee) if you can, or atleast do not use it until the last 6 hours that you need to be awake. Using it early on will just wear you out and make you crash.
Also, use caution if you intend to use drugs to stay alert for extended periods of time.