This file contains hidden or 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
git for-each-ref 'refs/heads/*' | \ | |
while read rev type ref; do | |
branch=$(expr "$ref" : 'refs/heads/\(.*\)' ) | |
revs=$(git rev-list $rev..master) | |
if [ -n "$revs" ]; then | |
echo $branch needs update | |
git diff --summary --shortstat -M -C -C $rev master | |
fi | |
done |
This file contains hidden or 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
import rx.Observable; | |
import rx.schedulers.Schedulers; | |
import java.util.List; | |
public class SwitchRxSchedulers { | |
public static void main(String[] args) throws InterruptedException { | |
final Object monitor = new Object(); |