Having trouble installing the latest stable version of tmux?
Save yourself some time and run this little fellow!
- gcc
- wget
| def goodPairings(pies: List[Pie], iceCreams: List[IceCream]): List(Serving[Pie, IceCream]) { | |
| for { | |
| p <- pies | |
| i <- iceCreams | |
| var serving = new Serving(p, i) | |
| if (serving.isGood) | |
| } yield { | |
| serving | |
| } | |
| } |
| package main | |
| import ( | |
| "fmt" | |
| "strings" | |
| ) | |
| func WordCount(s string) map[string]int { | |
| words := strings.Fields(s) | |
| counts := make(map[string](int)) |
Having trouble installing the latest stable version of tmux?
Save yourself some time and run this little fellow!
| // $GOPATH/src/foo/foo.go | |
| package foo | |
| import "fmt" | |
| func init() { | |
| fmt.Println("foo init") | |
| } | |
| func init() { |
think about results, not steps
| package main | |
| import ( | |
| "crypto/tls" | |
| "fmt" | |
| "log" | |
| "net" | |
| "net/http" | |
| ) |
| [core] | |
| editor = vim | |
| [diff] | |
| tool = kompare | |
| [difftool] | |
| prompt = false | |
| [color] | |
| ui = true | |
| branch = auto | |
| diff = auto |
| #!/usr/bin/env bash | |
| . /etc/init.d/functions | |
| declare -a env_variables=(FOO BAR) | |
| function checkVariables { | |
| for var in "${env_variables[@]}" | |
| do | |
| if env | grep -q ^"$var=" |
I hereby claim:
To claim this, I am signing this object: