Googlefood: Running luminus in Cursive (Clojure)

October 4th, 2016 Clojure, googlefood

It took me a bit to figure out how to use the REPL inside Cursive with a Luminus project.

The key difference is you have to add a Leiningen Run Configuration, instead of the usual Clojure Repl Configuration, with how you’d normally run it on the command line.

After that, create a Clojure REPL Configuration that connects to the port that is opened by the run configuration.

Example: If you normally do this:

lein run
lein repl :connect 7000

Then the Leiningen Run Configuration is the first command, and the Clojure REPL Configuration is the second one.

Picture, 1000 words, etc.


Clojure Macro Explorations: cond->

October 26th, 2014 Clojure

Some notes I’ve taken on my journey to really understand Clojure macros. Today I basically walked through the cond-> macro in clojure.core, and these are my notes as I figured out how it works.

Read the rest of this entry »

Clojure Web Programming and Ring

December 14th, 2013 Clojure, Software

Just some notes to myself… If you find it helpful, great! If you find it confusing, my apologies.

Ring is the lowest level integration point between a Clojure application and a web server; it’s at about the same level as Ruby’s Rack, or Python’s WSGI, or Tomcat’s AJP. However, unlike in those other languages, most Clojure web applications and frameworks don’t sit much higher than Ring, so it’s pretty important to understand how Ring works.

Read the rest of this entry »

Linux: /etc/nslcd.conf gets re-written and LDAP stops working

August 15th, 2013 googlefood, Howto

Googlefood. Not interesting to most people.

Read the rest of this entry »

OpenLDAP 2.4: Adding overlays

June 2nd, 2013 googlefood, Howto

Mostly googlefood, since I spent way too long looking for this.

Read the rest of this entry »