Homebrew is a great little package manager for OS X. If you haven't already, installing it is pretty easy:
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"| func main() { | |
| ctx := context.Background() | |
| // trap Ctrl+C and call cancel on the context | |
| ctx, cancel := context.WithCancel(ctx) | |
| c := make(chan os.Signal, 1) | |
| signal.Notify(c, os.Interrupt) | |
| defer func() { | |
| signal.Stop(c) | 
| package main | |
| import ( | |
| "log" | |
| "myserver" | |
| "net/http" | |
| ) | |
| const addr = "localhost:12345" | 
| import Foundation | |
| protocol GQLNodeArgument {} | |
| extension String: GQLNodeArgument {} | |
| extension NSNumber: GQLNodeArgument {} | |
| class GQLNode: StringLiteralConvertible, ArrayLiteralConvertible, Printable, DebugPrintable { | |
| let name: String? | 
| # -*- coding:utf-8 -*- | |
| ''' | |
| Simplistic script to parse the detailed AWS billing CSV file. | |
| Script displays cost of S3 operations broken down per region, bucket and usage | |
| type (either storage or network). It also sums up the amount of storage used per bucket. | |
| Output is filtered wrt to costs < 1$. | |
| See http://docs.aws.amazon.com/awsaccountbilling/latest/about/programaccess.html for | |
| how to set up programmatic access to your billing. | 
| package main | |
| import ( | |
| "fmt" | |
| "reflect" | |
| ) | |
| type Foo struct { | |
| FirstName string `tag_name:"tag 1"` | |
| LastName string `tag_name:"tag 2"` |