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
    
  
  
    
  | # Install ansible via git | |
| pip3 install ansible==2.7.10 | |
| # Install ansible roles required for our playbook(s) | |
| ansible-galaxy install geerlingguy.docker,v2.5.1 geerlingguy.mysql,v2.9.4 | 
  
    
      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
    
  
  
    
  | <profile> | |
| <id>db-diff</id> | |
| <activation> | |
| <activeByDefault>false</activeByDefault> | |
| </activation> | |
| <dependencies> | |
| </dependencies> | 
  
    
      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
    
  
  
    
  | interface Functor<A> { | |
| <B> Functor<B> map(Function<A,B> f); | |
| } | |
| class MyList<A> implements Functor<A> { | |
| <B> MyList<B> map(Function<A,B> f) { | |
| //map contents and return a new MyList | 
  
    
      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
    
  
  
    
  | REM ALL HAIL CYGWIN | |
| cp.exe "%1" "%1_org.ps" | |
| ps2eps -f "%1_org.ps" | |
| epstool --copy --bbox --output "%1_pre_pdf.eps" "%1_org.eps" | |
| epstopdf "%1_pre_pdf.eps" --gsopt=-dEPSCrop --exact --outfile="%2" | |
| rm "%1_org.ps" | |
| rm "%1_org.eps" | |
| sleep 1 | |
| rm "%1_pre_pdf.eps" | 
  
    
      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
    
  
  
    
  | public static void sleep(long millis, BooleanSupplier condition, long delayMillis, Supplier<String> message) | |
| throws InterruptedException { | |
| long waited = 0; | |
| long start = System.currentTimeMillis(); | |
| while ( !condition.getAsBoolean() ) { | |
| Thread.sleep( delayMillis ); | |
| waited += System.currentTimeMillis() - start; | |
| if ( waited >= millis ) { | |
| throw new RuntimeException( "timeout: " + message.get() ); | |
| } | 
  
    
      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
    
  
  
    
  | -- Martin Braun, 1249080 | |
| -- 5. Uebung | |
| -- Tic Tac Toe | |
| module Main where | |
| import Data.Either | |
| import Data.Char | |
| import Data.List | |
| import Data.List.Split | |
| import Control.Monad.State | 
  
    
      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 org.hibernate.search.genericjpa.test.entities; | |
| import javax.persistence.Column; | |
| import javax.persistence.Entity; | |
| import javax.persistence.Id; | |
| import javax.persistence.Table; | |
| @Entity | |
| @Table(name = "Book") | |
| @SecondaryTable(...) |