An introduction to curl using GitHub's API
Makes a basic GET request to the specifed URI
curl https://api.github.com/users/caspyin
| // http://stackoverflow.com/questions/8104846/chart-of-ienumerable-linq-equivalents-in-scala | |
| xs.Aggregate(accumFunc) -> xs.reduceLeft(accumFunc) | |
| xs.Aggregate(seed, accumFunc) -> xs.foldLeft(seed)(accumFunc) | |
| xs.Aggregate(seed, accumFunc, trans) -> trans(xs.foldLeft(seed)(accumFunc)) | |
| xs.All(pred) -> xs.forall(pred) | |
| xs.Any() -> xs.nonEmpty | |
| xs.Any(pred) -> xs.exists(pred) | |
| xs.AsEnumerable() -> xs.asTraversable // roughly | |
| xs.Average() -> xs.sum / xs.length |
| # Credit http://stackoverflow.com/a/2514279 | |
| for branch in `git branch -r | grep -v HEAD`;do echo -e `git show --format="%ci %cr" $branch | head -n 1` \\t$branch; done | sort -r |