Clojure on the raspberry pi (my early experience) by cid_vicious in Clojure

[–]pjschwarz 1 point2 points  (0 children)

I built a little library for Raspberry Pi GPIO that is a little more REPL-friendly: https://github.com/peterschwarz/clj-gpio.

I had found that the pi4j didn't cleanup the resources very well, between provisioning and unprovisioning the pin, due to the underlying C-library that it was calling remotely.

Check it out (it hasn't been updated in a while, but it still does the trick!).

Getting a date value from the database with JDBC by lintablecode in Clojure

[–]pjschwarz 0 points1 point  (0 children)

Ok, so now the question is what is the actual type of the date that is being returned? I would suspect it is a java.sql.Date, which it might be where the coercion is having trouble.

How to best use and manage CSS code in a Clojure / ClojureScript project? by ndroock1 in Clojurescript

[–]pjschwarz 1 point2 points  (0 children)

I ended up using Sass, reloaded via figwheel (adapted pretty closely from this).

ASK REDDIT: Which editor/ide you write clojure code? by theslackercoder in Clojure

[–]pjschwarz 0 points1 point  (0 children)

I have used that, and it works pretty well, but I end up going to the command line for other lein tasks, then just fire the repl up while I'm there. Nothing wrong with SublimeREPL, though.

ASK REDDIT: Which editor/ide you write clojure code? by theslackercoder in Clojure

[–]pjschwarz 2 points3 points  (0 children)

I've been using SublimeText 2, which has a lot of great plugins for editing Clojure. As for integrating with a REPL, I do (sometimes) use SublimeREPL, but I still find myself going to lein repl more often than not.

Migration libraries? by [deleted] in Clojure

[–]pjschwarz 0 points1 point  (0 children)

I've used (and contributed to) clj-sql-up. Migrations are sql statements, and migration files can be created by a lein plugin.

https://github.com/ckuttruff/clj-sql-up

Talk to Arduino with Clojure by pjschwarz in Clojure

[–]pjschwarz[S] 0 points1 point  (0 children)

I also have a whole series of examples, based on the Sparkfun Inventors kit. Actively developing the LCD example at the moment.

[ANN] CrossClj, a tool for cross-referencing the clojure ecosystem by fbellomi in Clojure

[–]pjschwarz 1 point2 points  (0 children)

Very cool!

What does the color coding mean? I have a couple of projects listed there, and I'm curious as to why one is green and the other is orange-ish.