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
#!/bin/bash | |
# shell script to create a simple mongodb replica set (tested on osx) | |
set -e | |
red=$(tput setaf 1) | |
green=$(tput setaf 2) | |
yellow=$(tput setaf 3) | |
default=$(tput sgr0) |
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
trait FreshProducer[T] { | |
def fresh(): T | |
} | |
class Foo { | |
override def toString = "Foo!" | |
} | |
implicit object FooProducer extends FreshProducer[Foo] { | |
def fresh() = new Foo |
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 org.broadinstitute.toolkit | |
package core.domain.analysis | |
/** | |
* Maintains sequences of singleton column view policies by the policy | |
* type. Also contains the composite column view policy that is used by | |
* default in an analysis. | |
*/ | |
object ColumnViewPolicy { |