Ken wrote this Rewrite night survival guide for screenwriters, but it applies equally well to lots of other situations where you might be tempted to pull an all-nighter to get a project done.