This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- This work is licensed under a CC BY-NC-SA 3.0 license. | |
-- http://creativecommons.org/licenses/by-nc-sa/3.0/ | |
-- | |
-- by Spike Padley | |
-- | |
-- Usage: branchMine <length> | |
-- Fuel goes in slot 1. Torches go in slot 2. Floor blocks (usually cobblestone) go in slot 3. | |
-- Mines a trunk <length> blocks long, with an 8 block long branch, on each side, every 3 blocks, starting 2 blocks in (n=3n-1) | |
local blocksMovedForward = 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Install and configure brew | |
$ ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go)" | |
$ touch ~/.bashrc | |
$ echo "export PATH=\`brew --prefix\`/bin:\`brew --prefix\`/share/python:\$PATH" >> ~/.bashrc | |
$ echo "export CFLAGS=\"-arch x86_64\"" >> ~/.bashrc | |
$ echo "export ARCHFLAGS=\"-arch x86_64\"" >> ~/.bashrc | |
$ source ~/.bashrc | |
$ brew doctor | |
Do what the doctor says! This will more than likely include installing XCode from the App Store and then installing the "Command line tools" from "Xcode > Preferences > Downloads" |