Skip to content

Instantly share code, notes, and snippets.

View punit-naik's full-sized avatar
🎯
Look for success, you'll fail. Strive for excellence, you'll prevail. - Punit

Punit Naik punit-naik

🎯
Look for success, you'll fail. Strive for excellence, you'll prevail. - Punit
  • Bicholim, Goa, India
View GitHub Profile
@punit-naik
punit-naik / atom_clojure_setup.md
Created January 3, 2022 17:25 — forked from jasongilman/atom_clojure_setup.md
This describes how I setup Atom for Clojure Development.

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.

@punit-naik
punit-naik / datomic.schema_dump.clj
Created January 23, 2020 10:58 — forked from jeroenvandijk/datomic.schema_dump.clj
(A) method to dump a datomic database schema
(ns datomic.schema-dump
(:require
[datomic.api :as d]
[clojure.pprint]))
(defmethod clojure.pprint/simple-dispatch datomic.db.DbId [v] (pr v))
(defmethod clojure.pprint/simple-dispatch datomic.function.Function [v] (pr v))
(defn database-url [name]
(str "datomic:mem://" name))