forked from ckolivas/cgminer