There are various test suites under src/test
- cljs
- cljs_cli
- clojure
- self
| <!doctype html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <title>acme frontend</title> | |
| </head> | |
| <body> | |
| <div id="root"></div> | |
| <script src="/js/main.js"></script> | |
| </body> |
| (["tigris/tigris" 2508842] | |
| ["cheshire/cheshire" 2499472] | |
| ["ring/ring-codec" 2447238] | |
| ["crypto-random/crypto-random" 2361352] | |
| ["crypto-equality/crypto-equality" 2344776] | |
| ["ring/ring-core" 2169766] | |
| ["clj-time/clj-time" 2137134] | |
| ["instaparse/instaparse" 2006171] | |
| ["clj-stacktrace/clj-stacktrace" 1961148] | |
| ["clout/clout" 1871846] |
| (ns lambdaisland.project-discovery.layout | |
| (:require [net.cgrand.enlive-html :as enlive-html] | |
| [lambdaisland.ornament :as ornament])) | |
| (defn default-layout [{:keys [title content]}] | |
| [:html {:lang "en"} | |
| [:head | |
| [:meta {:charset "UTF-8"}] | |
| [:title title] | |
| [:meta {:name "viewport" :content "width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"}] |
| (if as-static 0 1)) | |
| Object))))) | |
| (replicate (count ptypes) obj-type)))))) | |
| " not defined?)")))) | |
| (. m (getDescriptor))))))) | |
| (. m (getName)) | |
| (. super-type (getInternalName)) | |
| impl-pkg-name "/" prefix (.getName m) | |
| (unchecked-inc ~gi))) | |
| d (if w (- w (if add-sign 1 0)))) |
| #!/usr/bin/env bash | |
| # Import SSH keys from Github to ~/.ssh/authorize_keys for all members of a | |
| # given Github organization. | |
| # | |
| # Will replace authorized_keys, if it looks like authorized_keys was not | |
| # previously created by this script then a backup copy is made. | |
| # | |
| # Depends on jq, will download it if not available (assumes Linux) to ~/bin/jq | |
| # |
| #!/usr/local/bin/python | |
| # https://github.com/jasonreisman/Timeline | |
| # adapted for python3 | |
| # | |
| # apt-get install python3-parsedatetime python3-svgwrite python3-tk | |
| import parsedatetime | |
| import svgwrite |
| #!/usr/bin/env bash | |
| # Import SSH keys from Github to ~/.ssh/authorize_keys for all members of a | |
| # given Github organization. | |
| # | |
| # Will replace authorized_keys, if it looks like authorized_keys was not | |
| # previously created by this script then a backup copy is made. | |
| # | |
| # Depends on jq, will download it if not available (assumes Linux) to ~/bin/jq | |
| # |
| ;; The deps.edn file describes the information needed to build a classpath. | |
| ;; | |
| ;; When using the `clojure` or `clj` script, there are several deps.edn files | |
| ;; that are combined: | |
| ;; - install-level | |
| ;; - user level (this file) | |
| ;; - project level (current directory when invoked) | |
| ;; | |
| ;; For all attributes other than :paths, these config files are merged left to right. | |
| ;; Only the last :paths is kept and others are dropped. |
| (require '[lambdaisland.regal :as regal] | |
| '[lambdaisland.regal.parse :as regal-parse]) | |
| ;; \R is a line break, it matches \r\n, \r, \n, and some other unicode line | |
| ;; breaks. The corresponding Regal form for this is :line-break | |
| (regal/with-flavor :java8 (regal-parse/parse #"\R")) | |
| ;; => :line-break | |
| ;; Java 9 has different semantics than :line-breaks, so we return a Regal form | |
| ;; that emulates Java 9 semantics. |