- @fergbyrne
- HTM = Hierarchical Temporal Memory
- Slides
- big data is like teenage sex
- noone knows how to do it
- everyone thinks everyone else is doing it
(require | |
'[pallet.crate.git :refer [git clone]] | |
'[pallet.crate.java :refer [java]] | |
'[pallet.crate.lein :refer [lein leiningen]]) | |
(def repo "git://github.com/jcrossley3/random-apps-of-kindness.git") | |
(def demo-directory "random-apps-of-kindness/demo") | |
(defplan setup-machine |
{ | |
"_links": { | |
"self": { "href": "/foo" }, | |
}, | |
"_controls": { | |
"attack": { | |
"target": "/attacks", | |
"method": "POST", | |
"headers": { | |
"Content-Type": "application/json" |
#################### | |
# centos 5.8 | |
# post installation | |
# adapted from | |
# https://github.com/jedi4ever/veewee/tree/master/templates/CentOS-5.7-i386-netboot | |
#################### | |
yum -y install sudo | |
/usr/sbin/groupadd vagrant |
(import '[clojure.asm Opcodes Type ClassWriter] | |
'[clojure.asm.commons Method GeneratorAdapter]) | |
(defn make-class [name] | |
(let [cw (ClassWriter. ClassWriter/COMPUTE_FRAMES) | |
init (Method/getMethod "void <init>()") | |
meth (Method/getMethod "int fact(int)")] | |
(.visit cw Opcodes/V1_6 Opcodes/ACC_PUBLIC (.replace name \. \/) nil "java/lang/Object" nil) | |
(doto (GeneratorAdapter. Opcodes/ACC_PUBLIC init nil nil cw) | |
(.visitCode) |
;; This makes ido-find-file-other-window, | |
;; ido-switch-buffer-other-window, et. al obsolete. It’s a much better | |
;; abstraction, and I believe it should become apart of ido mode, | |
;; because any command that uses ido-completing-read can benefit from | |
;; it without any additional effort, including textmate.el’s | |
;; textmate-goto-symbol. | |
(require 'ido) |