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)) | |
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
(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
# | |
# 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
# | |
# 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
(defn lazy-map-cat [f colls] | |
(letfn [(cat [seqs] | |
(lazy-cat | |
(and (seq seqs) | |
(concat (first seqs) | |
(cat (rest seqs))))))] | |
(cat (map f colls)))) | |
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
require 'buildr/clojure' | |
VERSION_NUMBER = "1.0.0" | |
GROUP = "clj-ants-sim" | |
repositories.remote << "http://repo1.maven.org/maven2" | |
deps = %w{ | |
org.clojure:clojure:jar:1.1.0 | |
org.clojure:clojure-contrib:jar:1.1.0 |
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
require 'buildr/clojure' | |
VERSION_NUMBER = "1.0.0" | |
GROUP = "clj-ants-sim" | |
repositories.remote << "http://repo1.maven.org/maven2" | |
deps = %w{ | |
org.clojure:clojure:jar:1.1.0 | |
org.clojure:clojure-contrib:jar:1.1.0 |
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
diff --git a/doc/first_steps.org b/doc/first_steps.org | |
index c95c977..f5dcd60 100644 | |
--- a/doc/first_steps.org | |
+++ b/doc/first_steps.org | |
@@ -76,9 +76,9 @@ the =:services= key. You will need to create this file. | |
#+begin_src clojure | |
(defpallet | |
- :serivces | |
+ :services |
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
./DISCLAIMER.txt | |
./lib/.svn/entries | |
./lib/.svn/prop-base/hadoop_archive-0.3.1.jar.svn-base | |
./lib/.svn/prop-base/libthrift.jar.svn-base | |
./lib/.svn/text-base/hadoop_archive-0.3.1.jar.svn-base | |
./lib/.svn/text-base/libthrift.jar.svn-base | |
./lib/.svn/all-wcprops | |
./lib/hadoop_archive-0.3.1.jar | |
./lib/libthrift.jar | |
./hive/external/odbc/testdata/dataset1.input |
OlderNewer