This file contains 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
# Credit http://stackoverflow.com/a/2514279 | |
for branch in `git branch -r | grep -v HEAD`;do echo -e `git show --format="%ai %ar by %an" $branch | head -n 1` \\t$branch; done | sort -r |
This file contains 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
package utils | |
import scala.collection.mutable | |
import scala.language.implicitConversions | |
object IteratorUtils { | |
/** | |
* Implicit class that adds "groupBy" functionality to an iterator. The result is a mutable.HashMap and will be | |
* stored in memory in its entirety |
This file contains 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
// ライブラリとしてコンパイルする想定のコード。 | |
// <Project Sdk="Microsoft.NET.Sdk"> | |
// <PropertyGroup> | |
// <TargetFramework>netstandard2.0</TargetFramework> | |
// <LangVersion>preview</LangVersion> | |
// </PropertyGroup> | |
// </Project> | |
using System; | |
using System.Runtime.CompilerServices; |