Skip to content

Instantly share code, notes, and snippets.

Earle Ady earle

Block or report user

Report or block earle

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@earle
earle / atom_clojure_setup.md
Created Dec 4, 2017 — forked from jasongilman/atom_clojure_setup.md
This describes how I setup Atom for Clojure Development.
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 keybase.md

Keybase proof

I hereby claim:

  • I am earle on github.
  • I am earle (https://keybase.io/earle) on keybase.
  • I have the public key with fingerprint 27E0 CF3F 94DA 7F3F 2AA3  A3EA 3F03 6575 B4A2 BF92

To claim this, I am signing this object:

View gist:7058944
; data.txt contains lines of numbers separated by spaces
; add up the numbers on each line and print
(with-open [rdr (io/reader "resources/data.txt")]
(doseq [line (line-seq rdr)]
;(println (apply + (map read-string (string/split line #"\s+"))))))
(println (apply + (map read-string (re-seq #"\d+" line))))))
You can’t perform that action at this time.