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
public maven repo is broken for javax.mail/mail-1.4 ; grab from the mirror: | |
http://mirrors.ibiblio.org/pub/mirrors/maven2/javax/mail/mail/1.4/ |
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
(ns com.foo.Foo) | |
(gen-interface | |
:name com.foo.IFoo | |
:methods [[foo [String] #=(java.lang.Class/forName "[Ljava.lang.String;")]]) | |
(gen-class | |
:name com.foo.Foo | |
:implements [com.foo.IFoo]) |
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 | |
YCSB_HOME="${HOME}/repos/YCSB" | |
HBASE_LIB="${YCSB_HOME}/db/hbase/lib" | |
HBASE_CONF="/etc/hbase/conf" | |
YCSB_JAR="${YCSB_HOME}/build/ycsb.jar" | |
CLASSPATH=$BASE_CONF:$YCSB_JAR | |
for f in $HBASE_LIB/*.jar; do |
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
(setq swank-clojure-deps | |
(list (concat "http://clojars.org/repo/swank-clojure/swank-clojure/1.1.0/" | |
"swank-clojure-1.1.0.jar") | |
(concat "http://build.clojure.org/snapshots/org/" | |
"clojure/clojure/1.1.0-master-SNAPSHOT/" | |
"clojure-1.1.0-master-20091202.150145-1.jar") | |
(concat "http://build.clojure.org/snapshots/org/" | |
"clojure/clojure-contrib/1.1.0-master-SNAPSHOT/" | |
"clojure-contrib-1.1.0-master-20091212.205045-1.jar"))) |
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
;; format.clj | |
(defn- format-related-filter ...) | |
(defn- format-related-parsing ...) | |
(defn read-raw | |
"utility function for reading common file type. source is a path" | |
[source] | |
(let [source (hfs-textline source)] | |
(<- [?field1 ?field2] |
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
Local: (detached) ~/repos/leiningen/ | |
Head: 5675ec3 Release 1.7.0. | |
Changes: | |
Modified src/leiningen/clean.clj | |
diff --git a/src/leiningen/clean.clj b/src/leiningen/clean.clj | |
index 73a86f6..98ca015 100644 | |
--- a/src/leiningen/clean.clj | |
+++ b/src/leiningen/clean.clj | |
@@ -9,10 +9,7 @@ |
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
Local: (detached) ~/repos/leiningen/ | |
Head: 5675ec3 Release 1.7.0. | |
Changes: | |
Modified src/leiningen/clean.clj | |
diff --git a/src/leiningen/clean.clj b/src/leiningen/clean.clj | |
index 73a86f6..85bffcc 100644 | |
--- a/src/leiningen/clean.clj | |
+++ b/src/leiningen/clean.clj | |
@@ -20,5 +20,6 @@ |
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
$ git --no-pager diff 1.5.2 1.7.0 src/leiningen/clean.clj | |
diff --git a/src/leiningen/clean.clj b/src/leiningen/clean.clj | |
index 85bffcc..73a86f6 100644 | |
--- a/src/leiningen/clean.clj | |
+++ b/src/leiningen/clean.clj | |
@@ -20,6 +20,5 @@ | |
Set :extra-files-to-clean in project.clj to delete other files. Dependency | |
jars are not deleted; run deps task to delete all jars and get fresh ones." | |
[project] | |
- (println "Cleaning up.") |
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
$ git --no-pager diff 1.5.2 1.7.0 src/leiningen/util/file.clj | |
diff --git a/src/leiningen/util/file.clj b/src/leiningen/util/file.clj | |
index 638cfe7..0a1f90d 100644 | |
--- a/src/leiningen/util/file.clj | |
+++ b/src/leiningen/util/file.clj | |
@@ -11,6 +11,7 @@ | |
"Delete file f. If it's a directory, recursively delete all its contents. | |
Raise an exception if any deletion fails unless silently is true." | |
[f & [silently]] | |
+ (System/gc) ; This sometimes helps release files for deletion on windows. |
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
brew ls | xargs brew rm | |
brew cleanup | |
brew ls --unbrewed | xargs -I {} rm -rf /usr/local/{} |
OlderNewer