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 | |
LEFT=${6} | |
RIGHT=${7} | |
TMPLEFT="/tmp/${LEFT##*/}.$$" | |
TMPRIGHT="/tmp/${RIGHT##*/}.$$" | |
cp "$LEFT" "$TMPLEFT" | |
cp "$RIGHT" "$TMPRIGHT" |
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
(use 'clojure.test) | |
; Green or Red | |
(defn gor [summary] | |
(if (successful? summary) | |
(print (str (char 27) "[32m" "succeeded\n" (char 27) "[m")) | |
(print (str (char 27) "[31m" "failed\n" (char 27) "[m"))) | |
summary) |
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
;;; | |
;;; Scheme version of smallpt. | |
;;; see http://www.kevinbeason.com/smallpt/ | |
;;; | |
(define pi 3.141592653589793238462643383279) | |
;;; |