Great Book (Free Online) : [http://www.braveclojure.com/](Brave Clojure)
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
@code_type d .d | |
@comment_type // %s | |
@title No Weave Test | |
@s Notes | |
Provide a set of fields for the Block class that denote any modifiers. | |
Create a place to describe modifiers. |
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
(use | |
'arcadia.core | |
'arcadia.linear | |
'arcadia.hydrate | |
'clojure.pprint | |
'clojure.repl) | |
(defn kill! | |
"Kill to make new" | |
[obj] |
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
const int axisCharOne = 1; | |
const int axisCharTwo = 2; | |
const int colourChar = 3; | |
const int scaleChar = 4; | |
String sanitizeSensor(long val) { | |
// Makes a simple 'data structure' to pass a single axis. | |
String ret, front, out; | |
long cur = val; |
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 simple-test.alpha) | |
(def a-val 1) |
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 nested-data | |
(atom | |
{:name "Top" | |
:id 1314 | |
:subs [{:name "Terms" | |
:id 2431 | |
:subs [{:name "Causes" | |
:id 3322 | |
:subs []} | |
{:name "Tempo" |
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
WARNING: JavaScript file found on classpath for library `cljs.nodejs`, but does not contain a corresponding `goog.provide` declaration: jar:file:/Users/boriskourt/.m2/repository/org/clojure/clojurescript/0.0-2268/clojurescript-0.0-2268.jar!/cljs/nodejs.js | |
WARNING: JavaScript file found on classpath for library `cljs.nodejs`, but does not contain a corresponding `goog.provide` declaration: jar:file:/Users/boriskourt/.m2/repository/org/clojure/clojurescript/0.0-2268/clojurescript-0.0-2268.jar!/cljs/nodejs.js | |
Jul 09, 2014 2:16:05 PM com.google.javascript.jscomp.LoggerErrorManager println | |
SEVERE: /Users/boriskourt/Development/mdgspet/hardware/tessel/target/mdgspet/tessel/main.js:2: ERROR - Parse error. Semi-colon expected | |
WARNING: JavaScript file found on classpath for library `cljs.nodejs`, but does not contain a corresponding `goog.provide` declaration: jar:file:/Users/boriskourt/.m2/repository/org/clojure/clojurescript/0.0-2268/clojurescript-0.0-2268.jar!/cljs/nodejs.js | |
^ | |
Jul 09, 2014 2:16 |
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 | |
filetype off | |
set rtp+=~/.vim/bundle/vundle/ | |
call vundle#rc() | |
Bundle 'gmarik/vundle' | |
Bundle 'Shougo/unite.vim' | |
Bundle 'tpope/vim-fugitive' |
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 enasync.site | |
(:require [enfocus.core :as ef] | |
[enfocus.effects :as effects] | |
[enfocus.events :as ev] | |
[cljs.core.async :refer [<! !> chan pub sub put!]]) | |
(:require-macros [enfocus.macros :as em] | |
[cljs.core.async.macros :refer [go go-loop]])) | |
(def log #(.log js/console %)) |
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
// eltests.ino | |
unsigned long currentMillis = 0; | |
unsigned int seed = 10; | |
unsigned int flickerVariability = 700; | |
long previousMillis = 0; | |
long prevSeed = 0; | |
long prevFlick1 = 0; | |
long prevFlick2 = 0; |