View atom_clojure_setup.md

Atom Clojure Setup

This describes how I setup Atom for an ideal Clojure development workflow. This fixes indentation on newlines, handles parentheses, etc. The keybinding settings for enter (in keymap.cson) are important to get proper newlines with indentation at the right level. There are other helpers in init.coffee and keymap.cson that are useful for cutting, copying, pasting, deleting, and indenting Lisp expressions.

Install Atom

Download Atom

The Atom documentation is excellent. It's highly worth reading the flight manual.

View README.md
View README.md

The project can be built using Lumo

npm install -g lumo-cljs
lumo build.cljs
View gallery.cljs
View RichHickeyInterview.md

from http://www.linuxjournal.com/article/10708

An in-depth look at the new language with Rich Hickey, Creator of Clojure

DE: What did you do before you started the Clojure project?

RH: I'm a consultant, so I work on various things. I think the big thing I've done recently is I worked on the national exit poll.

DE: What other languages did you use before inventing your own?

View es7coreasync.md

Comparing ES7 and core.async

ES7 core.async
async function() {...} (fn [] (go ...))
await ... (<! ...)
await* or Promise.all(...) (doseq [c ...] (<! c))
View keybase.md

Keybase proof

I hereby claim:

  • I am yogthos on github.
  • I am yogthos (https://keybase.io/yogthos) on keybase.
  • I have a public key whose fingerprint is 2D35 E6C9 EB55 339A 3576 3A41 11A5 9C30 B38C FA7D

To claim this, I am signing this object:

View middleware.clj
(ns mindfull.middleware
(:require [mindfull.env :refer [defaults]]
[clojure.tools.logging :as log]
[mindfull.layout :refer [*app-context* error-page]]
[ring.middleware.anti-forgery :refer [wrap-anti-forgery]]
[ring.middleware.webjars :refer [wrap-webjars]]
[ring.middleware.format :refer [wrap-restful-format]]
[mindfull.config :refer [env]]
[ring.middleware.flash :refer [wrap-flash]]
[immutant.web.middleware :refer [wrap-session]]
View project.clj
(defproject test-app "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.8.0"]
[ring-server "0.4.0"]
[reagent "0.6.0-rc"]
[reagent-forms "0.5.24"]
View project.clj
(defproject figwheel-test "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:dependencies [[luminus-log4j "0.1.3"]
[cljs-ajax "0.5.5"]
[secretary "1.2.3"]
[reagent-utils "0.1.8"]
[reagent "0.6.0-rc"]