Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
| class GroupOfThingies | |
| attr_accessor :thingies | |
| # Use like this: | |
| # | |
| # group_of_thingies = GroupOfThingies.new | |
| # group_of_thingies.each do |thing| | |
| # puts "Check out this awesome thing: #{thing}!" | |
| # end | |
| # |
Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
| # | |
| # Working with branches | |
| # | |
| # Get the current branch name (not so useful in itself, but used in | |
| # other aliases) | |
| branch-name = "!git rev-parse --abbrev-ref HEAD" | |
| # Push the current branch to the remote "origin", and set it to track | |
| # the upstream branch | |
| publish = "!git push -u origin $(git branch-name)" |
Picking the right architecture = Picking the right battles + Managing trade-offs