Test
This file contains hidden or 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 awe) | |
| (fn get-rules (css) | |
| (let [pairs (partition 2 (rest css))] | |
| (cons (first css) | |
| (reduce (lambda (pair rules) | |
| (if (seq? (:pair 0)) | |
| (concat rules (map #get-rules pair)) | |
| (append {(:pair 0) (:pair 1)} rules))) | |
| [] |
This file contains hidden or 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
| #!/usr/bin/env python | |
| def this_is_a_test(): | |
| a = [1, | |
| 2, | |
| 3] |
This file contains hidden or 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
| set nocompatible | |
| syntax on | |
| set number | |
| set backspace=2 " more powerful backspacing | |
| set tabstop=4 | |
| set softtabstop=4 | |
| set shiftwidth=4 | |
| set textwidth=120 | |
| set smarttab |
This file contains hidden or 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
| Once upon a midnight dreary, while I pondered weak and weary. |
This file contains hidden or 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 '[tutor.core :as tc])|| => java.lang.Exception: Unsupported binding form: 3, compiling:(tutor/core.clj:3:2)|| | |
| (tc/foo)|| => java.lang.RuntimeException: No such namespace: tc, compiling:(NO_SOURCE_PATH:2:2)|| |
This file contains hidden or 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 '[tutor.core]) | |
| (tutor.core/foo) |
This file contains hidden or 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
| Could not find artifact ibdknox:clojure:pom:1.5.0-alpha1 in central (http://repo1.maven.org/maven2) | |
| Could not find artifact ibdknox:clojure:pom:1.5.0-alpha1 in clojars (https://clojars.org/repo/) | |
| Generating a project called tutor based on the 'default' template. |
This file contains hidden or 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
| From 247bab487e38133065575ba4fe5aaa673c63a3ff Mon Sep 17 00:00:00 2001 | |
| From: Tamreen Khan <tamreen@chartbeat.com> | |
| Date: Mon, 7 May 2012 18:40:36 -0400 | |
| Subject: [PATCH] Add patches. | |
| --- | |
| patches | 1 + | |
| 1 files changed, 1 insertions(+), 0 deletions(-) | |
| create mode 100644 patches |
This file contains hidden or 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
| def onMessage(name, message): | |
| funcs = {} | |
| if message[0] != '>': | |
| return None | |
| def do(st): | |
| block = st.pop() | |
| evaluate(block, st) | |
| return st.pop() |