Stay away from your phone. Don't visit Twitter or YouTube while waiting for the compilers to finish.
This is the most impactful productivity tips I have useful.
Use a pomodoro timer and website blocker. It will help you to stay away from distractions.
Report
Apply deep work for straight 45 mins to 1 hour. Take short break to do silly things. Get back at deep work for another 45 mins to 1 hour.
Report
Plan and review your weeks. I started doing it five years ago and it really help you work smarter and don't jump to work on random things. In addition it helps you have a list of things to do every morning so you don't have to think about what to do.
I even built a product out of it (theLIFEBOARD)
With the help of some remote work software (for instance Awesun remote desktop for sharing screens and files) to keep the team productive while working from home
Replies
KosmoTime
Closers HQ
95Travel Kit
Troopr
Stickies by Crucial Human
Vmaker for Windows
Lettre.app