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
# | |
# commons-logging.properties | |
# | |
# Chris Dean | |
# Use Log4j | |
org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger | |
# Configuration file of the log |
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
# | |
# log4j.properties | |
# | |
# Chris Dean | |
log4j.rootLogger = DEBUG, standard | |
log4j.appender.standard = org.apache.log4j.FileAppender | |
log4j.appender.standard.File = /project/kineto/log/kineto.log |
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
(defproject test-swank "1.0.0-SNAPSHOT" | |
:description "FIXME: write" | |
:dependencies [[org.clojure/clojure "1.1.0"] | |
[org.clojure/clojure-contrib "1.0-SNAPSHOT"]] | |
:dev-dependencies [[leiningen/lein-swank "1.0.0-SNAPSHOT"]]) |
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
(defn separate-2 [f coll] | |
(loop [coll coll | |
in nil | |
out nil] | |
(if (empty? coll) | |
[(reverse in) (reverse out)] | |
(let [cur (first coll)] | |
(if (f cur) | |
(recur (rest coll) (cons cur in) out) | |
(recur (rest coll) in (cons cur out))))))) |
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
(slime-setup '(slime-autodoc | |
slime-asdf | |
slime-banner | |
slime-repl | |
slime-compiler-notes-tree | |
slime-fancy)) | |
NewerOlder