integralpro/nosleep

nosleep - The MacOS X kernel extension, preventing sleep when you close the lid.