A Pen by Captain Anonymous on CodePen.
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 brave.core | |
(:require [clojure.core.async :as a | |
:refer [thread go <! >! <!! >!! put! take! chan go-loop alts! timeout close!]])) | |
;; -== From brave clojure ==- | |
(defn hotdog-machine | |
"A hotdog vending machine returns a vector | |
with two channels: input and output. Money | |
should be deposited into the input channel |
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 brave.core | |
(:require [clojure.core.async :as a | |
:refer [thread go <! >! <!! >!! put! take! chan go-loop alts! timeout close!]])) | |
;; -== From brave clojure ==- | |
(defn hotdog-machine | |
"A hotdog vending machine returns a vector | |
with two channels: input and output. Money | |
should be deposited into the input channel |
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
((nil . ((projectile-project-type . lein-test)))) | |
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
<?php | |
class FakeImage { | |
function rotate($deg) { | |
echo "Rotating $deg degrees\n"; | |
return $this; | |
} | |
function mirror(){ | |
echo "Mirroring\n"; | |
return $this; |
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
$ lein apraxis | |
Using i18n 0.7.0 | |
Using json 1.8.3 | |
Using minitest 5.8.2 | |
Using thread_safe 0.3.5 | |
Using tzinfo 1.2.2 | |
Using activesupport 4.2.4 | |
Using addressable 2.3.8 | |
Using atomic 1.1.99 | |
Using backports 3.6.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
(defn config-files | |
"Returns a sequence of configuration files | |
that should be loaded by Immuconf." | |
([] | |
(config-files (env :environment))) | |
([current-env] | |
(let [converter (comp (map (partial str "config/")) | |
(map io/resource) | |
(remove nil?)) |
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
{} |
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
[azjure "1.0.0-20140814.201738-3"] | |
[org.clojure/math.numeric-tower "0.0.4"] | |
[org.ozias.cljlibs/utils "0.1.7"] | |
[me.raynes/conch "0.6.0"] | |
[org.flatland/useful "0.10.6"] | |
[org.clojure/tools.macro "0.1.1"] | |
[ch.qos.logback/logback-classic "1.1.3" :exclusions [[org.slf4j/slf4j-api]]] | |
[ch.qos.logback/logback-core "1.1.3"] | |
[cheshire "5.5.0"] | |
[com.fasterxml.jackson.dataformat/jackson-dataformat-cbor "2.5.3"] |