Coca is a small app that when activated prevents your Mac from going to sleep. Click the Coca icon in the menubar in order to activate, click it again to deactivate. Right click for more options.
The app is programmed by Angelo Cammalleri and designed by Willem Kempers. It is primarily made and designed to integrate perfectly with Yosemite.