Clojure and Java + Maven form a great powerhouse in anyone’s stack. How to spot and resolve conflicting software is something that puzzled me for a bit. There are a few techniques to employ:
For any scraping istandaarden.nl in Windows, this'll come in handy:
http://stackoverflow.com/a/12524960
This because JDK (slurp, or enlive or otherwise) chokes on the cert, it needs to be added following those steps (worked for me).
# select all container elements mandatory presenceSimply place the text as .js file named like that in either the C:\Program Files\LightTable\core\node_modules\codemirror\modes folder or Linux/Mac equivalent folder. Restart Light Table, it should work automatically but may not at first. Ensure the file saved has the proper extension (or set one up on user behaviors) and persist to disk. Close the file, then reopen it. It should have the syntax highlight of that language.
Find more at: https://codemirror.net/mode/
| (* Well at least it works now *) | |
| module Types | |
| open System | |
| open System.IO | |
| open System.Collections | |
| open System.Collections.Generic | |
| open System.Reflection | |
| open System.Resources |
| #!/usr/bin/env boot | |
| #tailrecursion.boot.core/version "2.5.1" | |
| (set-env! | |
| :project 'petproject | |
| :version "0.1.0-SNAPSHOT" | |
| :dependencies '[[tailrecursion/boot.task "2.2.4"] | |
| [tailrecursion/hoplon "5.10.25"]] | |
| :out-path "resources/public" |
#!/usr/bin/env nodemon
Part of these names have been adjusted from the ones used in the orginal article, since afteral, I'm a Clojuran.
Based on:
| #!/usr/bin/env zsh | |
| # New file location of CS generated | |
| cs=${PWD}/${1:r:t}.coffee | |
| # Resolve absolute path and also symbolic links on positional parameter 1 then | |
| # pipe to the current directory and create a file with the same name but | |
| # different extension. Drops a coffee file in Present Working Directory. | |
| js2coffee -i 4 ${1:A} > $cs |
| ### | |
| Wisp homoiconic Clojure-like to JavaScript transpiler | |
| language component for Nesh, the Node.js enhanced shell. | |
| ### | |
| require 'colors' | |
| wisp = require 'wisp' | |
| compiler = require 'wisp/compiler' | |
| log = require '../log' |
| ; http://www.ietf.org/rfc/rfc3339.txt | |
| ; and http://www.odata.org/documentation/odata-version-3-0/abnf/ | |
| oneToNine = "01" / "02" / "03" / "04" / "05" / "06" / "07" / "08" / "09" | |
| zeroToNine = "00" / oneToNine | |
| oneToTwelve = oneToNine / "1" ( "0" / "1" / "2" ) | |
| oneToThirteen = oneToTwelve / "13" |