miner for mac code example
Example: bitcoin miner for mac cli
Download this: http://macminer.fabulouspanda.com/macminer/
cd /Applications/MacMiner.app/Contents/Resources/bfgminer/bin
./bfgminer -o http://your.pool.com:9332 -u username -p password