This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {:mvn/repos | |
| {"splunk" {:url "http://splunk.jfrog.io/splunk/ext-releases-local"} | |
| "central" {:url "https://repo1.maven.org/maven2/"} | |
| } | |
| :paths ["src/clj" "src/cljs" "target" "resources" "classes"] | |
| :aliases {:depstar | |
| {:extra-deps | |
| {seancorfield/depstar {:mvn/version "0.5.2"}}} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| % lein ring server | |
| Warning: implicit middleware found: cider-nrepl.plugin/middleware | |
| Please declare all middleware in :middleware as implicit loading is deprecated. | |
| 2019-01-25 20:20:11.877:INFO::main: Logging initialized @1930ms | |
| Started nREPL server on port 6968 | |
| 2019-01-25 20:20:19.975:INFO:oejs.Server:main: jetty-9.2.21.v20170120 | |
| 2019-01-25 20:20:20.027:INFO:oejs.ServerConnector:main: Started ServerConnector@6f271202{HTTP/1.1}{0.0.0.0:3000} | |
| 2019-01-25 20:20:20.028:INFO:oejs.Server:main: Started @10080ms | |
| Started server on port 3000 | |
| [WARNING] No nREPL middleware descriptor in metadata of #'cider.nrepl/wrap-apropos, see clojure.tools.middleware/set-descriptor![WARNING] No nREPL middleware descriptor in metadata |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| /usr/sbin/addgroup |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (string-split (with-output-to-string (lambda () | |
| (system "raco pkg install rash")) ) | |
| "\n") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ; ha map | |
| (def countries | |
| { | |
| :ad [ 42.546245 1.601554 :Andorra] | |
| :ae [ 23.424076 53.847818 :United-Arab-Emirates] | |
| :af [ 33.93911 67.709953 :Afghanistan] | |
| :ag [ 17.060816 -61.796428 :Antigua-Barbuda] | |
| :ai [ 18.220554 -63.068615 :Anguilla] | |
| :al [ 41.153332 20.168331 :Albania] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <title>Hello World</title> | |
| <script src="https://unpkg.com/react@16/umd/react.development.js"></script> | |
| <script src="https://unpkg.com/react-dom@16/umd/react-dom.development.js"></script> | |
| <!-- Don't use this in production: --> | |
| <script src="https://unpkg.com/[email protected]/babel.min.js"></script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ansible-galaxy install -p ./roles -r roles.yml |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| log4j.rootLogger=INFO, stdout, R | |
| # stdout | |
| log4j.appender.stdout=org.apache.log4j.ConsoleAppender | |
| log4j.appender.stdout.layout=org.apache.log4j.PatternLayout | |
| log4j.appender.stdout.layout.ConversionPattern=[%d][%p][%c] %m%n | |
| # log file | |
| log4j.appender.R=org.apache.log4j.RollingFileAppender | |
| log4j.appender.R.File=./var/log/kep-list.log | |
| log4j.appender.R.MaxFileSize=100KB |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (defproject alert-ranker "0.1.0-SNAPSHOT" | |
| :description "FIXME: write description" | |
| :dependencies [[org.clojure/clojure "1.8.0"] | |
| [metosin/compojure-api "1.1.11"] | |
| [ring/ring-core "1.6.3"] | |
| [ring/ring-jetty-adapter "1.6.3"] | |
| [ring/ring-devel "1.6.3"] | |
| [ring/ring-json "0.4.0"] | |
| [ring-middleware "0.1.0-SNAPSHOT"] | |
| ;; project deps |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ABOVE | |
| ADD-SUBARRAY | |
| ALLOCATE-NODE | |
| ALLOCATE-OBJECT | |
| ANY-SEGMENTS-INTERSECT | |
| APPROX-MIN-WEIGHT-VC | |
| APPROX-SUBSET-SUM | |
| APPROX-TSP-TOUR | |
| APPROX-VERTEX-COVER | |
| AVL-INSERT |