Mercurial > cortex
comparison org/hearing.org @ 316:2c7fbcbd5ebb
replaced clojure.contrib.shell-out with clojure.java.shell
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Tue, 28 Feb 2012 13:44:46 -0600 |
parents | 7f3b77238045 |
children | bb3f8a4af87f |
comparison
equal
deleted
inserted
replaced
315:a48a75e5876c | 316:2c7fbcbd5ebb |
---|---|
1089 *** Creating the Ear Video | 1089 *** Creating the Ear Video |
1090 #+name: magick-3 | 1090 #+name: magick-3 |
1091 #+begin_src clojure | 1091 #+begin_src clojure |
1092 (ns cortex.video.magick3 | 1092 (ns cortex.video.magick3 |
1093 (:import java.io.File) | 1093 (:import java.io.File) |
1094 (:use clojure.contrib.shell-out)) | 1094 (:use clojure.java.shell)) |
1095 | 1095 |
1096 (defn images [path] | 1096 (defn images [path] |
1097 (sort (rest (file-seq (File. path))))) | 1097 (sort (rest (file-seq (File. path))))) |
1098 | 1098 |
1099 (def base "/home/r/proj/cortex/render/worm-audio/") | 1099 (def base "/home/r/proj/cortex/render/worm-audio/") |