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
    
  
  
    
  | sealed trait ResultLine { | |
| def line: String | |
| } | |
| final case class Out(line: String) extends ResultLine { | |
| override def toString: String = s"OUT: $line\n" | |
| } | |
| final case class Err(line: String) extends ResultLine { | |
| override def toString: String = s"ERR: $line\n" | 
  
    
      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
    
  
  
    
  | package compilethis; | |
| public interface WontCompile { | |
| // Force it to public | |
| WontCompile clone(); | |
| static <T extends WontCompile & Cloneable> T identity(T t) { | |
| return t; | |
| } | 
  
    
      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 scala.annotation.tailrec | |
| /** | |
| * Performs a typeless binary search. | |
| */ | |
| object BinarySearch { | |
| /** | |
| * Performs a binary search on the provided, ordered source, searching for `target` | |
| * @param source the container or generator for the data being searched. | 
  
    
      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
    
  
  
    
  | package controllers | |
| import java.util.concurrent.atomic.AtomicInteger | |
| import akka.stream._ | |
| import akka.stream.scaladsl.{Flow, Keep, Sink} | |
| import akka.stream.stage.{GraphStage, GraphStageLogic, InHandler, OutHandler} | |
| import akka.util.ByteString | |
| import fly.play.s3.{Bucket, BucketFile, BucketFilePart, BucketFilePartUploadTicket} | |
| import play.api.http.HeaderNames |