commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | old_contents stringlengths 0 4.24k | new_contents stringlengths 1 5.44k | subject stringlengths 14 778 | message stringlengths 15 9.92k | lang stringclasses 277
values | license stringclasses 13
values | repos stringlengths 5 127k |
|---|---|---|---|---|---|---|---|---|---|
7e28c84d63d61dd3e985cdc17a9bd071247df8fc | lein/.lein/profiles.clj | lein/.lein/profiles.clj | {:user {
:plugins [[cider/cider-nrepl "0.12.0"]
[lein-ancient "0.6.8"]
[lein-bikeshed "0.3.0"]
[jonase/eastwood "0.2.3"]
[lein-kibit "0.1.2"]
[lein-pprint "1.1.1"]]
:dependencies [[org.clojure/clojure "1.7.0"]
... | {:user {
:plugins [[cider/cider-nrepl "0.12.0"]
[lein-ancient "0.6.8"]
[lein-bikeshed "0.3.0"]
[jonase/eastwood "0.2.3"]
[lein-kibit "0.1.2"]
[lein-pprint "1.1.1"]]
:dependencies [[org.clojure/clojure "1.7.0"]
... | Add WormBase signing key identity. | Add WormBase signing key identity.
| Clojure | bsd-2-clause | mgrbyte/dot-files,mgrbyte/dot-files,mgrbyte/dot-files |
d38618d8c8f05d7faa59456b0a7a79db34b37748 | test/github_changelog/semver_test.clj | test/github_changelog/semver_test.clj | (ns github-changelog.semver-test
(:require
[github-changelog.semver :as semver]
[github-changelog.schema :refer [Semver]]
[github-changelog.schema-complete :refer [complete]]
[github-changelog.version-examples :refer :all]
[clojure.test :refer :all]
[schema.core :as s]))
(deftest extract
(t... | (ns github-changelog.semver-test
(:require
[github-changelog.semver :as semver]
[github-changelog.schema :refer [Semver]]
[github-changelog.schema-complete :refer [complete]]
[github-changelog.version-examples :refer :all]
[clojure.test :refer :all]
[schema.core :as s]))
(deftest extract
(t... | Simplify semver-type test with are | Simplify semver-type test with are
| Clojure | mit | whitepages/github-changelog |
a8f9389aa570d67ab3743a27b8b1973ebef4c056 | src/rabbitmq-broker/test/io/pivotal/pcf/rabbitmq/main_test.clj | src/rabbitmq-broker/test/io/pivotal/pcf/rabbitmq/main_test.clj | (ns io.pivotal.pcf.rabbitmq.main-test
(:require [clojure.test :refer :all]
[io.pivotal.pcf.rabbitmq.main :as main]
[io.pivotal.pcf.rabbitmq.server :as server]))
(defn FakeExit
[^long status]
(def FakeExitCalled status))
(defn FakeServerStart
[m]
(throw (Exception. "Something Terribl... | (ns io.pivotal.pcf.rabbitmq.main-test
(:require [clojure.test :refer :all]
[io.pivotal.pcf.rabbitmq.main :as main]
[io.pivotal.pcf.rabbitmq.server :as server]))
(defn FakeExit
[^long status]
(def FakeExitCalled status))
; This exception is thrown to end the fake server
; We could not fi... | Change exception message and explanation to exception throw for tests | Change exception message and explanation to exception throw for tests
Signed-off-by: Ben Chapman <4ada7eac694dcb4b5475ac51d142ba919b54bb00@pivotal.io>
| Clojure | apache-2.0 | pivotal-cf/cf-rabbitmq-release,pivotal-cf/cf-rabbitmq-release,pivotal-cf/cf-rabbitmq-release,pivotal-cf/cf-rabbitmq-release |
97c3def1b645aeeb222afadd76c4e311b93b6cc8 | src/clj/gtfve/handler.clj | src/clj/gtfve/handler.clj | (ns gtfve.handler
(:require [compojure.core :refer [GET defroutes]]
[compojure.route :refer [not-found resources]]
[ring.middleware.defaults :refer [site-defaults wrap-defaults]]
[selmer.parser :refer [render-file]]
[prone.middleware :refer [wrap-exceptions]]
... | (ns gtfve.handler
(:require [compojure.core :refer [GET defroutes]]
[compojure.route :refer [not-found resources]]
[ring.middleware.defaults :refer [site-defaults wrap-defaults]]
[selmer.parser :refer [render-file]]
[prone.middleware :refer [wrap-exceptions]]
... | Add trips resource to routes | Add trips resource to routes
| Clojure | epl-1.0 | alvinfrancis/gtfve |
4e07cdef19ff92f0182ae8e2485393fd7404a704 | env/dev/clj/territory_bro/dev_middleware.clj | env/dev/clj/territory_bro/dev_middleware.clj | ; Copyright © 2015-2018 Esko Luontola
; This software is released under the Apache License 2.0.
; The license text is at http://www.apache.org/licenses/LICENSE-2.0
(ns territory-bro.dev-middleware
(:require [prone.middleware :refer [wrap-exceptions]]
[ring-debug-logging.core :refer [wrap-with-logger]]
... | ; Copyright © 2015-2018 Esko Luontola
; This software is released under the Apache License 2.0.
; The license text is at http://www.apache.org/licenses/LICENSE-2.0
(ns territory-bro.dev-middleware
(:require [prone.middleware :refer [wrap-exceptions]]
[ring-debug-logging.core :refer [wrap-with-logger]]
... | Fix java.io.IOException: UT000034: Stream is closed | Fix java.io.IOException: UT000034: Stream is closed
| Clojure | apache-2.0 | orfjackal/territory-bro,orfjackal/territory-bro,orfjackal/territory-bro |
47a29c6d4878ad589b874c5789aba4e835ca6e5a | src/incise/layouts/core.clj | src/incise/layouts/core.clj | (ns incise.layouts.core
(:require [incise.parsers.parse]
[incise.config :as conf])
(:refer-clojure :exclude [get]))
(defonce layouts (atom {}))
(defn exists?
"Check for the existance of a layout with the given name."
[layout-with-name]
(contains? @layouts (name layout-with-name)))
(defn get [la... | (ns incise.layouts.core
(:require [incise.parsers.parse]
[incise.config :as conf])
(:refer-clojure :exclude [get]))
(defonce layouts (atom {}))
(defn exists?
"Check for the existance of a layout with the given name."
[layout-with-name]
(contains? @layouts (name layout-with-name)))
(defn get [la... | Fix typo in No layout registered with key expection. | Fix typo in No layout registered with key expection.
| Clojure | epl-1.0 | RyanMcG/incise-core |
033028b5d0986948f29b1278db3e75aaf6a0af51 | src/com/wsscode/pathom/misc.cljc | src/com/wsscode/pathom/misc.cljc | (ns com.wsscode.pathom.misc)
#?(:clj (def INCLUDE_SPECS true)
:cljs (goog-define INCLUDE_SPECS true))
| (ns com.wsscode.pathom.misc
#?(:clj (:import (java.util UUID))))
#?(:clj (def INCLUDE_SPECS true)
:cljs (goog-define INCLUDE_SPECS true))
(defn pathom-random-uuid []
#?(:clj (UUID/randomUUID)
:cljs (random-uuid)))
| Add helper to generate random uuid | Add helper to generate random uuid
| Clojure | mit | wilkerlucio/pathom,wilkerlucio/pathom,wilkerlucio/pathom,wilkerlucio/pathom |
665f643acdb2f7f45a0ef1929fddf4a4ba6d49d7 | test/circle/util/test_straight_jacket.clj | test/circle/util/test_straight_jacket.clj | (ns circle.util.test-straight-jacket
(:use midje.sweet)
(:use circle.util.straight-jacket)
(:require [circle.airbrake :as airbrake]))
(fact "straight-jacket catches exceptions"
(straight-jacket (throw (Exception. "test"))) => nil
(provided
(airbrake/airbrake) => nil
(circle.env/env) => :production))
... | (ns circle.util.test-straight-jacket
(:use midje.sweet)
(:use circle.util.straight-jacket)
(:require [circle.airbrake :as airbrake]))
(fact "straight-jacket catches exceptions"
(straight-jacket (throw (Exception. "test"))) => nil
(provided
(airbrake/airbrake anything anything anything anything) => nil
... | Fix straight-jacket tests by properly mocking airbrake. | Fix straight-jacket tests by properly mocking airbrake.
| Clojure | epl-1.0 | circleci/frontend,prathamesh-sonpatki/frontend,circleci/frontend,RayRutjes/frontend,prathamesh-sonpatki/frontend,RayRutjes/frontend,circleci/frontend |
3b675af74a0e0f467fe1202e08b7c634862bf57a | src/uxbox/ui/forms.cljs | src/uxbox/ui/forms.cljs | (ns uxbox.ui.forms
(:require [sablono.core :refer-macros [html]]
[uxbox.locales :refer (tr)]
[uxbox.schema :as sc]))
(defn input-error
[errors field]
(when-let [errors (get errors field)]
(html
[:ul.form-errors
(for [error errors]
[:li {:key error} (tr error)])])))
... | (ns uxbox.ui.forms
(:require [sablono.core :refer-macros [html]]
[uxbox.locales :refer (tr)]
[uxbox.schema :as sc]))
(defn input-error
[errors field]
(when-let [error (get errors field)]
(html
[:ul.form-errors
[:li {:key error} (tr error)]])))
(defn error-class
[errors f... | Fix validation form errors rendering. | Fix validation form errors rendering.
| Clojure | mpl-2.0 | studiospring/uxbox,uxbox/uxbox,uxbox/uxbox,uxbox/uxbox,studiospring/uxbox,studiospring/uxbox |
e979e334cdaba4a51e4da612caa76335e11e745e | src/yada/etag.clj | src/yada/etag.clj | (ns yada.etag)
(defprotocol ETag
"The version function returns material that becomes the ETag response
header. This is left open for extension. The ETag must differ between
representations, so the representation is given in order to be used in
the algorithm. Must always return a string (to aid comparison with ... | (ns yada.etag
(:require
[yada.util :refer [md5-hash]]))
(defprotocol ETag
"The version function returns material that becomes the ETag response
header. This is left open for extension. The ETag must differ between
representations, so the representation is given in order to be used in
the algorithm. Must a... | Use an MD5 hash for ETags | Use an MD5 hash for ETags
| Clojure | mit | mbutlerw/yada,mbutlerw/yada,mbutlerw/yada,delitescere/yada,juxt/yada,delitescere/yada,juxt/yada,juxt/yada,delitescere/yada |
dc02c3239d409794264a420416fac7d3c5c03a21 | src/nightmod/public.clj | src/nightmod/public.clj | (ns nightmod.public
(:require [nightmod.core :refer :all]
[play-clj.core :refer :all]))
(defn set-game-screen!
[& screens]
(->> (apply set-screen! nightmod (conj (vec screens) overlay-screen))
(fn [])
(app! :post-runnable)))
| (ns nightmod.public
(:require [clojail.core :as jail]
[clojure.java.io :as io]
[nightmod.core :refer :all]
[play-clj.core :refer :all]))
(defn set-game-screen!
[& screens]
(->> (apply set-screen! nightmod (conj (vec screens) overlay-screen))
(fn [])
(app! :post-r... | Allow Clojure files to be loaded | Allow Clojure files to be loaded
| Clojure | unlicense | oakes/Nightmod |
dca2acfd2b78ab954790bc63229d39dbfb05e459 | src/incise/deploy/core.clj | src/incise/deploy/core.clj | (ns incise.deploy.core
(:require [taoensso.timbre :refer [warn]])
(:clojure-refer :exclude [get]))
(def workflows (atom {}))
(defn get [& args]
(apply clojure.core/get @workflow args))
(defn deploy []
(let [{workflow-name :workflow :as settings} (conf/get :deploy)
[workflow (get workflow-name)]]
... | (ns incise.deploy.core
(:require [incise.config :as conf]
[taoensso.timbre :refer [fatal]])
(:refer-clojure :exclude [get]))
(def workflows (atom {}))
(defn get [& args]
(apply clojure.core/get @workflows args))
(defn deploy []
(let [{workflow-name :workflow :as settings} (conf/get :deploy)
... | Make now workflow error fatal. | Make now workflow error fatal.
Fix bug in deploy.core/get.
| Clojure | epl-1.0 | RyanMcG/incise-core |
7a046c5ddc4af59a060cf1e6c1b554006a54edb6 | src/leiningen/new/mies/project.clj | src/leiningen/new/mies/project.clj | (defproject {{name}} "0.1.0-SNAPSHOT"
:description "FIXME: write this!"
:url "http://example.com/FIXME"
:dependencies [[org.clojure/clojure "1.5.1"]
[org.clojure/clojurescript "0.0-2127"]]
:plugins [[lein-cljsbuild "1.0.1"]]
:source-paths ["src"]
:cljsbuild {
:builds [{:id "{{name}... | (defproject {{name}} "0.1.0-SNAPSHOT"
:description "FIXME: write this!"
:url "http://example.com/FIXME"
:dependencies [[org.clojure/clojure "1.5.1"]
[org.clojure/clojurescript "0.0-2138"]]
:plugins [[lein-cljsbuild "1.0.1"]]
:source-paths ["src"]
:cljsbuild {
:builds [{:id "{{name}... | Update ClojureScript dep to 2138 | Update ClojureScript dep to 2138 | Clojure | epl-1.0 | niwinz/mies,bensu/mies,DjebbZ/mies,pandeiro/jamal,swannodette/mies,fdserr/mies,fdserr/mies,whamtet/cljs-server-template,swannodette/mies,DjebbZ/mies,bensu/mies,niwinz/mies |
20c6ae1ea316648aad5316b276f3ec6054ba06bb | src/circle/swank.clj | src/circle/swank.clj | (ns circle.swank
(:require swank.swank)
(:require [circle.env :as env]))
(defn port []
(cond
(env/test?) 5004
:else 4005))
(defn init []
(when (= "true" (System/getenv "CIRCLE_SWANK"))
(binding [*print-length* 100
*print-level* 20]
(println "Starting Swank")
(clojure.... | (ns circle.swank
(:require swank.swank)
(:require [circle.env :as env]))
(defn port []
(cond
(env/test?) 4006
:else 4005))
(defn init []
(when (= "true" (System/getenv "CIRCLE_SWANK"))
(binding [*print-length* 100
*print-level* 20]
(println "Starting Swank")
(clojure.... | Use a port that's easier to type for connecting Swank to a testing environment. | Use a port that's easier to type for connecting Swank to a testing environment.
| Clojure | epl-1.0 | RayRutjes/frontend,prathamesh-sonpatki/frontend,circleci/frontend,circleci/frontend,prathamesh-sonpatki/frontend,RayRutjes/frontend,circleci/frontend |
b0aa716bea5c256273049a8556cc799c22ae47b8 | ClojureScript/replete/project.clj | ClojureScript/replete/project.clj | (defproject replete "0.1.0"
:dependencies [[org.clojure/clojure "1.7.0"]
[org.clojure/clojurescript "1.7.170"]
[tailrecursion/cljson "1.0.7"]
[parinfer "0.2.0"]]
:clean-targets ["out" "target"]
:plugins [[lein-cljsbuild "1.1.1"]]
:cljsbuild {:builds {:test {:so... | (defproject replete "0.1.0"
:dependencies [[org.clojure/clojure "1.7.0"]
[org.clojure/clojurescript "1.7.170"]
[tailrecursion/cljson "1.0.7"]
[parinfer "0.2.3"]]
:clean-targets ["out" "target"]
:plugins [[lein-cljsbuild "1.1.1"]]
:cljsbuild {:builds {:test {:so... | Update to latest parinfer dep | Update to latest parinfer dep
| Clojure | epl-1.0 | mfikes/replete,mfikes/replete,mfikes/replete,mfikes/replete,mfikes/replete,mfikes/replete |
c29cdac9f7647062ec71dd9777f3c614ab403c9a | example/build.boot | example/build.boot | (set-env!
:resource-paths #{"resources"}
:dependencies '[[org.clojure/clojure "1.8.0"]
[afrey/boot-asset-fingerprint "1.0.0-SNAPSHOT"]
[pandeiro/boot-http "0.7.3" :scope "test"]])
(require
'[afrey.boot-asset-fingerprint :refer [asset-fingerprint]]
'[pandeiro.boot-http :refer... | (set-env!
:resource-paths #{"resources"}
:dependencies '[[org.clojure/clojure "1.8.0"]
[afrey/boot-asset-fingerprint "1.0.0-SNAPSHOT"]
[tailrecursion/boot-jetty "0.1.3" :scope "test"]])
(require
'[afrey.boot-asset-fingerprint :refer [asset-fingerprint] :as fing]
'[tailrecurs... | Use boot-jetty instead of boot-http in example | Use boot-jetty instead of boot-http in example
| Clojure | mit | AdamFrey/boot-asset-fingerprint,AdamFrey/boot-asset-fingerprint |
fad2e9cb62db14f34ddc1562fdb068922a3ec6e3 | examples/simple/project.clj | examples/simple/project.clj | (defproject simple "0.11.0-rc2-SNAPSHOT"
:dependencies [[org.clojure/clojure "1.10.1"]
[org.clojure/clojurescript "1.10.520"
:exclusions [com.google.javascript/closure-compiler-unshaded
org.clojure/google-closure-library]]
[thh... | (defproject simple "0.11.0-rc2-SNAPSHOT"
:dependencies [[org.clojure/clojure "1.10.1"]
[org.clojure/clojurescript "1.10.520"
:exclusions [com.google.javascript/closure-compiler-unshaded
org.clojure/google-closure-library]]
[thh... | Upgrade simple example shadow-cljs to 2.8.59 | Upgrade simple example shadow-cljs to 2.8.59
| Clojure | mit | Day8/re-frame,Day8/re-frame,Day8/re-frame |
79eb02669f917aa9e1ec04254201a6f6282c3336 | http-kit/hello/project.clj | http-kit/hello/project.clj | (defproject hello "compojure"
:description "JSON/Database tests"
:url "http://example.com/FIXME"
:dependencies [[org.clojure/clojure "1.5.1"]
[compojure "1.1.5"]
[ring/ring-json "0.2.0"]
[org.clojure/tools.cli "0.2.1"]
[http-kit/dbcp "0.1.0"]
... | (defproject hello "compojure"
:description "JSON/Database tests"
:url "http://example.com/FIXME"
:dependencies [[org.clojure/clojure "1.5.1"]
[compojure "1.1.6"]
[ring/ring-json "0.2.0"]
[org.clojure/tools.cli "0.2.1"]
[http-kit/dbcp "0.1.0"]
... | Update dependencies to match compojure test updates | Update dependencies to match compojure test updates
| Clojure | bsd-3-clause | diablonhn/FrameworkBenchmarks,grob/FrameworkBenchmarks,herloct/FrameworkBenchmarks,methane/FrameworkBenchmarks,Dith3r/FrameworkBenchmarks,kostya-sh/FrameworkBenchmarks,hperadin/FrameworkBenchmarks,saturday06/FrameworkBenchmarks,PermeAgility/FrameworkBenchmarks,s-ludwig/FrameworkBenchmarks,donovanmuller/FrameworkBenchma... |
4118ee32dfbd2bdc08df96bf8973f4a9fb7692fb | day-01/src/solver/core.clj | day-01/src/solver/core.clj | (ns solver.core
(:gen-class))
(defn determine-floor [word]
"Determines which floor Santa should deliver presents"
(let [freqs (frequencies word)] (- (get freqs \( 0) (get freqs \) 0))))
(defn -main
"I don't do a whole lot ... yet."
[& args]
(println (determine-floor (slurp "input"))))
| (ns solver.core
(:gen-class))
(defn determine-floor [xs]
(let [to-direction (fn [index direction] {:index index :direction direction})
determine-floor (fn [floor data] (+ floor (case (data :direction)
"(" +1
")" -1))... | Use instructions to calculate floor | Use instructions to calculate floor
| Clojure | mit | dvberkel/advent-of-code |
5a5480934fd90a8dd203d876abca2acea72a44a5 | services/tnseq-phase0-d.clj | services/tnseq-phase0-d.clj |
{:name "tnseq-phase0-d",
:path "",
:graph {:coll {:type "func"
:name "collapser"}
:mail {:type "func"
:name "mailit"
:args ["#2" ; recipient
"Aerobio job status: tnseq phase-0d"
"Finished"]} ; subject, bod... |
{:name "tnseq-phase0-d",
:path "",
:graph {:coll {:type "func"
:name "collapser"
:args ["#1"]}
:mail {:type "func"
:name "mailit"
:args ["#2" ; recipient
"Aerobio job status: tnseq phase-0d"
... | Fix bug - missing arg for first node - eid | Fix bug - missing arg for first node - eid
| Clojure | mit | jsa-aerial/aerobio,jsa-aerial/aerobio,jsa-aerial/aerobio,jsa-aerial/aerobio,jsa-aerial/aerobio |
758c17498062bd59441ba4b1dbf145ab5b309173 | test/isla/test/story.clj | test/isla/test/story.clj | (ns isla.test.story
(:use [clojure.test])
(:use [clojure.pprint])
(:use [isla.story]))
;; story creation
(deftest test-room-creation
(let [story-str (str "palace is a room")
story (init-story story-str)]
(is (= (first (:rooms story))
(assoc (isla.interpreter/instantiate-type (get types ... | (ns isla.test.story
(:use [clojure.test])
(:use [clojure.pprint])
(:use [isla.story]))
;; story creation
(deftest test-room-creation
(let [story-str (str "palace is a room")
story (init-story story-str)]
(is (= (first (:rooms story))
(assoc (isla.interpreter/instantiate-type (get types ... | Add test for `look` at room. | Add test for `look` at room. | Clojure | mit | maryrosecook/islaclj |
a40f93f313ce2a478267d0bac7de7b36b7ad100d | src/braid/emoji/client/styles.cljs | src/braid/emoji/client/styles.cljs | (ns braid.emoji.client.styles)
(def autocomplete
[:.app>.main>.page>.threads>.thread>.card
[:>.message.new
[:>.autocomplete-wrapper
[:>.autocomplete
[:>.result
[:>.emoji.match
[:>img
{:display "block"
:width "2em"
:height "2em"
:float "left"
... | (ns braid.emoji.client.styles)
(def autocomplete
[:.app
[:.message>.content
[:.emoji.custom-emoji
{:width "3ex"
:height "3.1ex"
:min-height "20px"
:display "inline-block"
:margin [["-0.2ex" "0.15em" "0.2ex"]]
:line-height "normal"
:vertical-align "middle"
:min-wi... | Make custom-emoji display in same dimensions as others | Make custom-emoji display in same dimensions as others
| Clojure | agpl-3.0 | rafd/braid,braidchat/braid,braidchat/braid,rafd/braid |
8aafec7bb4d313823e24b65cbddb1da5206919e6 | src/lexemic/core.cljs | src/lexemic/core.cljs | (ns lexemic.core)
(defn -main [& command])
(set! *main-cli-fn* -main)
| (ns lexemic.core
(:require [lexemic.sentiment.simple :as sentiment]))
(def ^:private usage-banner "Usage: lexemic [command] [target]")
(def ^:private supported-commands #{"help" "sentiment"})
(defn- show-help []
(do
(println usage-banner)))
(defn- run [cmd text]
(condp = cmd
"sentiment" (println (senti... | Add support for sentiment analysis from cmd line. | Add support for sentiment analysis from cmd line.
| Clojure | mit | bertrandk/lexemic |
329e83020dbda6bdc09f726c74d6160dc23761b6 | src/clj/genartlib/util.clj | src/clj/genartlib/util.clj | (ns genartlib.util
(:use [quil.core :only [height width PI color-mode]]))
(defn h
([] (h 1.0))
([percentage] (* (height) percentage)))
(defn w
([] (w 1.0))
([percentage] (* (width) percentage)))
(defn pi [x]
(* PI x))
(defn in?
"true if seq contains elm"
[seq elm]
(some #(=... | (ns genartlib.util
(:use [quil.core :only [height width PI color-mode]]))
(defn h
"Returns a given percentage of the height Quil-specific."
([] (h 1.0))
([percentage] (* (height) percentage)))
(defn w
"Returns a given percentage of the width. Quil-specific."
([] (w 1.0))
([percentage] (*... | Add w-int and h-int functions | Add w-int and h-int functions
| Clojure | mit | thobbs/genartlib |
f090eec47b36cd985171063ad21a2f968bbd7b27 | om-root/src/com/palletops/bakery/om_root.cljs | om-root/src/com/palletops/bakery/om_root.cljs | (ns com.palletops.bakery.om-root
"A component for an Om root element."
(:require-macros
[com.palletops.api-builder.api :refer [defn-api]])
(:require
[com.palletops.leaven.protocols :refer [Startable Stoppable]]
[om.core :as om :include-macros true]
[schema.core :as schema]))
(defrecord OmRoot [f valu... | (ns com.palletops.bakery.om-root
"A component for an Om root element."
(:require-macros
[com.palletops.api-builder.api :refer [defn-api]])
(:require
[com.palletops.leaven.protocols :refer [Startable Stoppable]]
[om.core :as om :include-macros true]
[schema.core :as schema]))
(defrecord OmRoot [f valu... | Allow om-root options from a component | Allow om-root options from a component
Allow a component to contribute to the options in the om root (eg. to
passed :shared values).
| Clojure | epl-1.0 | palletops/bakery |
3d84c23976f6d394ebb64cdd3e38134f19645d01 | src/clj/decktouch/handler.clj | src/clj/decktouch/handler.clj | (ns decktouch.handler
(:require [decktouch.dev :refer [browser-repl start-figwheel]]
[compojure.core :refer [GET POST defroutes]]
[compojure.route :refer [not-found resources]]
[ring.middleware.defaults :refer [site-defaults wrap-defaults]]
[ring.middleware.params :refe... | (ns decktouch.handler
(:require [decktouch.dev :refer [browser-repl start-figwheel]]
[compojure.core :refer [GET POST defroutes]]
[compojure.route :refer [not-found resources]]
[ring.middleware.defaults :refer [site-defaults wrap-defaults]]
[ring.middleware.params :refe... | Change a POST request to return json | Change a POST request to return json
| Clojure | epl-1.0 | Pance/decktouch,Pance/decktouch |
145f6df946bb8d2f88cc03f0135c1268545a848e | project.clj | project.clj | (defproject test-utils-cljs "0.1.0-SNAPSHOT"
:description "FIXME: write this!"
:url "http://example.com/FIXME"
:dependencies [[org.clojure/clojure "1.8.0"]
[org.clojure/clojurescript "1.8.51" :classifier "aot"
:exclusion [org.clojure/data.json]]
[org.clojure/dat... | (defproject test-utils-cljs "0.1.0-SNAPSHOT"
:description "FIXME: write this!"
:url "http://example.com/FIXME"
:dependencies [[org.clojure/clojure "1.9.0"]
[org.clojure/clojurescript "1.9.946" :classifier "aot"]
[kixi/stats "0.4.0"]]
:jvm-opts ^:replace ["-Xmx1g" "-server"]
:... | Upgrade Clojure (1.9.0) / ClojureScript (1.9.946) | Upgrade Clojure (1.9.0) / ClojureScript (1.9.946)
| Clojure | apache-2.0 | mrwizard82d1/test-utils-cljs,mrwizard82d1/test-utils-cljs |
dfe97be5d687ba93706b3ab61a1563ba3f6f75f8 | project.clj | project.clj | (def root-ns "org.broadinstitute")
(def build-dir-relative "target")
(defproject org.broadinstitute/firecloud-ui "0.0.1"
:dependencies
[
;; React library and cljs bindings for React.
[dmohs/react "0.2.7"]
[org.clojure/clojure "1.6.0"]
[org.clojure/clojurescript "0.0-3211"]
[inflections "0.9.14"]
... | (def root-ns "org.broadinstitute")
(def build-dir-relative "target")
(defproject org.broadinstitute/firecloud-ui "0.0.1"
:dependencies
[
;; React library and cljs bindings for React.
[dmohs/react "0.2.7"]
[org.clojure/clojure "1.7.0"]
[org.clojure/clojurescript "1.7.48"]
[inflections "0.9.14"]
]... | Upgrade clojure, clojurescript, lein, figwheel to latest versions | Upgrade clojure, clojurescript, lein, figwheel to latest versions
| Clojure | bsd-3-clause | broadinstitute/firecloud-ui,broadinstitute/firecloud-ui,broadinstitute/firecloud-ui,broadinstitute/firecloud-ui |
35b1193486cb718e38fc854f6d938411788723b1 | test/desdemona/query_test.clj | test/desdemona/query_test.clj | (ns desdemona.query-test
(:require
[desdemona.query :as q]
[clojure.test :refer [deftest is]]))
(deftest query-tests
(is (= [[{:ip "10.0.0.1"}]]
(q/run-query '(== (:ip x) "10.0.0.1")
[{:ip "10.0.0.1"}]))))
| (ns desdemona.query-test
(:require
[desdemona.query :as q]
[clojure.test :refer [deftest is]]))
(deftest query-tests
(is (= []
(q/run-query 'l/fail
[{:ip "10.0.0.1"}])))
(is (= [[{:ip "10.0.0.1"}]]
(q/run-query '(== (:ip x) "10.0.0.1")
[{:ip "10... | Add a simple test with a failing goal | Add a simple test with a failing goal
| Clojure | epl-1.0 | RackSec/desdemona |
433d4fe7ee466d8309ed86d1e46ca6f982cf86df | scripts/watch-tests.clj | scripts/watch-tests.clj | (require '[cljs.build.api :as b])
(b/watch (b/inputs "src" "vendor" "test")
{:main 'uxbox.test-runner
:output-to "out/tests.js"
:output-dir "out"
:parallel-build false
:optimizations :none
:pretty-print true
:target :nodejs
:language-in :ecmascript5
:language-out :ecmascript5
:verbose tru... | (require '[cljs.build.api :as b])
(b/watch (b/inputs "src" "vendor" "test")
{:main 'uxbox.test-runner
:output-to "out/tests.js"
:output-dir "out"
:parallel-build false
:optimizations :simple
:pretty-print true
:target :nodejs
:language-in :ecmascript5
:language-out :ecmascript5
:verbose t... | Use :simple optimization level for tests. | Use :simple optimization level for tests.
| Clojure | mpl-2.0 | uxbox/uxbox,studiospring/uxbox,uxbox/uxbox,uxbox/uxbox,studiospring/uxbox,studiospring/uxbox |
dd3744032ddbe66961533a3cf8836f4d5bd0a938 | src/theatralia/core.clj | src/theatralia/core.clj | (ns theatralia.core)
;;; This is an incorrect implementation, such as might be written by
;;; someone who was used to a Lisp in which an empty list is equal to
;;; nil.
(defn first-element [sequence default]
(if (nil? sequence)
default
(first sequence)))
| (ns theatralia.core)
(defn first-element [sequence default]
(if (seq sequence)
(first sequence)
default))
| Make the template tests pass | Make the template tests pass
Now the CI build should succeed.
| Clojure | mit | rmoehn/theatralia,u-o/theatralia |
1c8c657faffa7ac75d9404a5b2dd600ad8c91994 | src/vadas/core.clj | src/vadas/core.clj | (ns vadas.core)
(defn start-listening
"Test CMU Sphinx4 listener"
[]
(let [config (new edu.cmu.sphinx.api.Configuration)]
(println "Created new configuration: " (str config))))
(defn -main
"VADAS"
[]
(start-listening))
| (ns vadas.core
(:import (edu.cmu.sphinx.api Configuration)))
(defn start-listening
"Test CMU Sphinx4 listener"
[]
(let [config (new Configuration)]
(println "Created new configuration: " (str config))))
(defn -main
"VADAS"
[]
(start-listening))
| Add proper import to namespace | Add proper import to namespace
| Clojure | isc | t3hmrman/vadas |
84cd7eba7929e1eea1b5624cb459e33b094d32ca | clj_record/validation.clj | clj_record/validation.clj | (ns clj-record.validation
(:use clj-record.util)
(:use clj-record.core))
(defn- validations-for [model-name] ((@all-models-metadata model-name) :validations))
(defn validate [model-name record]
(reduce
(fn [errors [attr message validation-fn]]
(if (validation-fn (record attr))
errors
... | (ns clj-record.validation
(:use clj-record.util)
(:use clj-record.core))
(defn- validations-for [model-name] ((@all-models-metadata model-name) :validations))
(defn validate [model-name record]
(reduce
(fn [errors [attr message validation-fn]]
(if (validation-fn (record attr))
errors
... | Remove the no-op form returned by validates now that we check for a return value before including anything in the generated init-model expansion. | Remove the no-op form returned by validates now that we check for a return value before including anything in the generated init-model expansion.
| Clojure | mit | duelinmarkers/clj-record |
c244859c7b9e90c49377859df214bbf4c3c4338c | advent-of-code-day-2/src/advent_of_code_day_2/core.clj | advent-of-code-day-2/src/advent_of_code_day_2/core.clj | (ns advent-of-code-day-2.core
(:require [clojure.string :as string]
[clojure.math.combinatorics :as combo])
(:gen-class))
(defn parse-dimensions [dimensions-string]
(map #(Integer/parseInt %) (string/split dimensions-string #"x")))
;(defn calc-face-areas [dimensions]
; ;; this version doesn’t work ... | (ns advent-of-code-day-2.core
(:require [clojure.string :as string]
[clojure.math.combinatorics :as combo])
(:gen-class))
(defn parse-dimensions [dimensions-string]
(map #(Integer/parseInt %) (string/split dimensions-string #"x")))
;(defn calc-face-areas [dimensions]
; ;; this version doesn’t work ... | Fix day 2 commenting-out to make docstring accurate | Fix day 2 commenting-out to make docstring accurate
| Clojure | unlicense | roryokane/advent-of-code-solutions,roryokane/advent-of-code-solutions |
a0c2cb6de692bd09cf0e9adb1057102d57736bc7 | project.clj | project.clj | ;;;; This file is part of gorilla-repl. Copyright (C) 2014-, Jony Hudson.
;;;;
;;;; gorilla-repl is licenced to you under the MIT licence. See the file LICENCE.txt for full details.
(defproject gorilla-repl "0.3.3-SNAPSHOT"
:description "A rich REPL for Clojure in the notebook style."
:url "https://github.com/Jony... | ;;;; This file is part of gorilla-repl. Copyright (C) 2014-, Jony Hudson.
;;;;
;;;; gorilla-repl is licenced to you under the MIT licence. See the file LICENCE.txt for full details.
(defproject gorilla-repl "0.3.3-SNAPSHOT"
:description "A rich REPL for Clojure in the notebook style."
:url "https://github.com/Jony... | Fix for lein gorilla not working with my setup | Fix for lein gorilla not working with my setup
| Clojure | mit | mrcslws/gorilla-repl,gorillalabs/gorilla-repl,mrcslws/gorilla-repl,deas/gorilla-notebook,JonyEpsilon/gorilla-repl,deas/gorilla-notebook,deas/gorilla-notebook,JonyEpsilon/gorilla-repl,gorillalabs/gorilla-repl,deas/gorilla-notebook |
51af4a71cb7bc6d4afd9a024d6f781beeafb4416 | project.clj | project.clj | (defproject cli4clj "1.2.4"
;(defproject cli4clj "1.2.4-SNAPSHOT"
:description "Create simple interactive CLIs for Clojure applications."
:url "https://github.com/ruedigergad/cli4clj"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.cloju... | ;(defproject cli4clj "1.2.4"
(defproject cli4clj "1.2.5-SNAPSHOT"
:description "Create simple interactive CLIs for Clojure applications."
:url "https://github.com/ruedigergad/cli4clj"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.cloju... | Revert back to snapshot version. | Revert back to snapshot version.
| Clojure | epl-1.0 | ruedigergad/cli4clj |
aaf2693f93a2a9af5e9db60c6a7ec141cfc077f5 | project.clj | project.clj | (defproject org.onyxplatform/onyx-metrics "0.8.0.8"
:description "Instrument Onyx workflows"
:url "https://github.com/MichaelDrogalis/onyx"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:repositories {"snapshots" {:url "https://clojars.org/repo"
... | (defproject org.onyxplatform/onyx-metrics "0.8.0.9-SNAPSHOT"
:description "Instrument Onyx workflows"
:url "https://github.com/MichaelDrogalis/onyx"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:repositories {"snapshots" {:url "https://clojars.org/repo"
... | Prepare for next release cycle. | Prepare for next release cycle.
| Clojure | epl-1.0 | onyx-platform/onyx-metrics |
b84ab560698dbcd1f4a8370e8f5e3b38a140a2a1 | src/gorillalabs/tesla/component/mongo.clj | src/gorillalabs/tesla/component/mongo.clj | (ns gorillalabs.tesla.component.mongo
(:require [monger.core :as mg]
[monger.credentials :as mg-cred]
[mount.core :as mnt])
(:import [com.mongodb MongoOptions ServerAddress WriteConcern]))
(defn- start []
(let [^MongoOptions opts (mg/mongo-options {:threads-allowed-to-block-for-connectio... | (ns gorillalabs.tesla.component.mongo
(:require [monger.core :as mg]
[monger.credentials :as mg-cred]
[mount.core :as mnt])
(:import [com.mongodb MongoOptions ServerAddress WriteConcern]))
(defn- start []
(let [^MongoOptions opts (mg/mongo-options {:threads-allowed-to-block-for-connectio... | Add simple helper function to retrieve database | Add simple helper function to retrieve database
| Clojure | apache-2.0 | gorillalabs/tesla |
9e957a3437de8540c687aa3dfc348daaa42924a7 | project.clj | project.clj | (defproject onyx-app/lein-template "0.13.0.0"
:description "Onyx Leiningen application template"
:url "https://github.com/onyx-platform/onyx-template"
:license {:name "MIT License"
:url "http://choosealicense.com/licenses/mit/#"}
:repositories {"snapshots" {:url "https://clojars.org/repo"
... | (defproject onyx-app/lein-template "0.13.0.1-SNAPSHOT"
:description "Onyx Leiningen application template"
:url "https://github.com/onyx-platform/onyx-template"
:license {:name "MIT License"
:url "http://choosealicense.com/licenses/mit/#"}
:repositories {"snapshots" {:url "https://clojars.org/repo"
... | Prepare for next release cycle. | Prepare for next release cycle.
| Clojure | mit | onyx-platform/onyx-template |
9628a3fd8257288eea3524fea4127825cfc66147 | project.clj | project.clj | (defproject buddy/buddy-core "0.6.0"
:description "Cryptographic Api for Clojure."
:url "https://github.com/funcool/buddy-core"
:license {:name "Apache 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0"}
:dependencies [[org.clojure/clojure "1.6.0"]
[commons-codec/commons-codec "... | (defproject buddy/buddy-core "0.6.0"
:description "Cryptographic Api for Clojure."
:url "https://github.com/funcool/buddy-core"
:license {:name "Apache 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0"}
:dependencies [[org.clojure/clojure "1.7.0" :scope "provided"]
[commons-cod... | Set default clojure version to 1.7.0 | Set default clojure version to 1.7.0
| Clojure | apache-2.0 | funcool/buddy-core,funcool/buddy-core |
8b083470b0578ecdd5440a8e467dd7ebc3da0001 | clj_record/test/main.clj | clj_record/test/main.clj | (ns clj-record.test.main
(:require [clojure.contrib.sql :as sql]
[clojure.contrib.test-is :as test-is]
clj-record.config))
(defn drop-tables []
(try
(sql/drop-table :manufacturer)
(sql/drop-table :product)
(catch Exception e)))
(defn create-tables []
(sql/create-table :manuf... | (ns clj-record.test.main
(:require [clojure.contrib.sql :as sql]
[clojure.contrib.test-is :as test-is]
clj-record.config))
(defn drop-tables []
(try
(sql/drop-table :manufacturers)
(sql/drop-table :products)
(catch Exception e)))
(defn create-tables []
(sql/create-table :man... | Fix drop table to use plurals. | Fix drop table to use plurals.
| Clojure | mit | duelinmarkers/clj-record |
998a39c9c6cdceaa47ac80f8749abdc5bb0732a7 | src/doctopus/storage/impls/permanent_fs.clj | src/doctopus/storage/impls/permanent_fs.clj | (ns doctopus.storage.impls.permanent-fs
(:require [bidi.ring :as bidi-ring]
[doctopus
[configuration :refer [server-config]]
[files :as files]]
[doctopus.storage.impls.fs-impl :refer [save-html-file] :as fs-impl]
[me.raynes.fs :as fs]))
;; TODO: this does... | (ns doctopus.storage.impls.permanent-fs
(:require [bidi.ring :as bidi-ring]
[doctopus
[configuration :refer [server-config]]
[files :as files]]
[doctopus.storage.impls.fs-impl :refer [save-html-file] :as fs-impl]
[me.raynes.fs :as fs]))
;; TODO: this does... | Return nil if the file being loaded doesn't exist | Return nil if the file being loaded doesn't exist
| Clojure | epl-1.0 | Gastove/doctopus |
df1e82612a61cdfe689cc325284682dfaf8106e6 | build.boot | build.boot | (def project 'hangul-utils)
(def version "0.1.0-SNAPSHOT")
(set-env! :resource-paths #{"resources" "src"}
:source-paths #{"test"}
:dependencies '[[org.clojure/clojure "RELEASE"]
[adzerk/boot-test "RELEASE" :scope "test"]])
(task-options!
pom {:project project
... | (def project 'hangul-utils)
(def version "0.1.0-SNAPSHOT")
(set-env! :resource-paths #{"resources" "src"}
:source-paths #{"test"}
:dependencies '[[org.clojure/clojure "RELEASE"]
[adzerk/boot-test "RELEASE" :scope "test"]
[adzerk/bootlaces "0.1.13"... | Use bootlaces for pushing to Clojars | Use bootlaces for pushing to Clojars
| Clojure | epl-1.0 | sooheon/hangul-utils |
689237bc37453691deaca204a1435ec52f62a9ef | config.clj | config.clj | {:wrap-reload false
:db-host "localhost"
:db-name "mydb"
:db-user nil
:db-pwd nil
:jetty-port 8080
:host "smtp.googlemail.com"
:user "team@4clojure.com"
:problem-submission true
:advanced-user-count 50
:pass ""
:repo-url "https://github.com/4clojure/4clojure"
:hosts {;; :static "static.4clojure.com"
... | {:wrap-reload false
:db-host "localhost"
:db-name "4clojure"
:db-user nil
:db-pwd nil
:jetty-port 8080
:host "smtp.googlemail.com"
:user "team@4clojure.com"
:problem-submission true
:advanced-user-count 50
:pass ""
:repo-url "https://github.com/4clojure/4clojure"
:hosts {;; :static "static.4clojure.com"
... | Update db-name to match new default | Update db-name to match new default
| Clojure | epl-1.0 | gfredericks/4clojure,4clojure/4clojure,grnhse/4clojure,tclamb/4clojure,grnhse/4clojure,4clojure/4clojure,rowhit/4clojure,amcnamara/4clojure,tclamb/4clojure,gfredericks/4clojure,rowhit/4clojure,amcnamara/4clojure |
1064fd9f5ede352d0ee500619df6a97a6334f430 | src/yetibot/core/logging.clj | src/yetibot/core/logging.clj | (ns yetibot.core.logging
(:require
[schema.core :as s]
[yetibot.core.config :refer [get-config]]
[yetibot.core.util :refer [with-fresh-db]]
[yetibot.core.db.log :as log]
[taoensso.timbre.appenders.3rd-party.rolling :refer [rolling-appender]]
[taoensso.timbre.appenders.core :refer [println-appe... | (ns yetibot.core.logging
(:require
[schema.core :as s]
[yetibot.core.config :refer [get-config]]
[yetibot.core.util :refer [with-fresh-db]]
[yetibot.core.db.log :as log]
[taoensso.timbre.appenders.3rd-party.rolling :refer [rolling-appender]]
[taoensso.timbre.appenders.core :refer [println-appe... | Set default log level to warn | Set default log level to warn
| Clojure | epl-1.0 | LeonmanRolls/yetibot.core,devth/yetibot.core |
df19ce238b2a3b0c419297b0987e2471777fffaa | src/name_bazaar/ui/subs/watched_names_subs.cljs | src/name_bazaar/ui/subs/watched_names_subs.cljs | (ns name-bazaar.ui.subs.watched-names-subs
(:require
[medley.core :as medley]
[re-frame.core :refer [reg-sub subscribe]]))
(reg-sub
:watched-names
(fn [db]
(:watched-names db)))
(reg-sub
:watched-names/watched-items
:<- [:watched-names]
:<- [:ens/records]
(fn [[watched-names ens-records]]
... | (ns name-bazaar.ui.subs.watched-names-subs
(:require
[medley.core :as medley]
[re-frame.core :refer [reg-sub subscribe]]))
(reg-sub
:watched-names
(fn [db]
(:watched-names db)))
(reg-sub
:watched-names/watched-items
:<- [:watched-names]
:<- [:ens/records]
:<- [:offerings]
(fn [[watched-nam... | Fix name display in watched names | Fix name display in watched names
| Clojure | epl-1.0 | district0x/name-bazaar,district0x/name-bazaar,district0x/name-bazaar |
0b3c2761309635c39f095e48e2d74b26914e7d93 | project.clj | project.clj | (defproject io.aviso/twixt "0.1.7"
:description "An extensible asset pipeline for Clojure web applications"
:url "https://github.com/AvisoNovate/twixt"
:license {:name "Apache Sofware Licencse 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0.html"}
:dependencies [[org.clojure/clojure "1.5.1"]
... | (defproject io.aviso/twixt "0.1.8"
:description "An extensible asset pipeline for Clojure web applications"
:url "https://github.com/AvisoNovate/twixt"
:license {:name "Apache Sofware Licencse 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0.html"}
:dependencies [[org.clojure/clojure "1.5.1"]
... | Advance version number to 0.1.8 | Advance version number to 0.1.8
| Clojure | apache-2.0 | clyfe/twixt,AvisoNovate/twixt,clyfe/twixt,AvisoNovate/twixt,clyfe/twixt,AvisoNovate/twixt |
9052de25d5ccbd8b68a45f6bb9eaf1197a73e4ec | project.clj | project.clj | (defproject mars-ogler "1.0.1-SNAPSHOT"
:description "Holy cow, it's Mars!"
:url "http://github.com/aperiodic/mars-ogler"
:license {:name "GNU Affero GPL"
:url "http://www.gnu.org/licenses/agpl"}
:dependencies [[org.clojure/clojure "1.4.0"]
[org.clojure/tools.cli "0.2.2"]
... | (defproject mars-ogler "1.0.1-SNAPSHOT"
:description "Holy cow, it's Mars!"
:url "http://github.com/aperiodic/mars-ogler"
:license {:name "GNU Affero GPL"
:url "http://www.gnu.org/licenses/agpl"}
:dependencies [[org.clojure/clojure "1.4.0"]
[org.clojure/tools.cli "0.2.2"]
... | Increase heap size, add GC tuning flags | Increase heap size, add GC tuning flags
| Clojure | agpl-3.0 | aperiodic/mars-ogler |
d73f9997152f2dfc1017cf90f42d8ed80089329c | project.clj | project.clj | (defproject try-clojure "0.1.0-SNAPSHOT"
:min-lein-version "2.0.0"
:description "Try Clojure"
:url "http://try-clojure.herokuapp.com"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.7.0"]
[ring "1.1.... | (defproject try-clojure "0.1.0-SNAPSHOT"
:min-lein-version "2.0.0"
:description "Try Clojure"
:url "http://try-clojurescript.herokuapp.com"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.7.0"]
[ring... | Update app name for Heroku | Update app name for Heroku
| Clojure | epl-1.0 | bijanbwb/try-clojurescript |
c05ff979be0fee11044b1449bc3e821c604215f3 | project.clj | project.clj | (defproject introspect "1.0.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:test-paths ["test/clj"]
:source-paths ... | (defproject introspect "1.0.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:test-paths ["test/clj" "test/java"]
:source... | Add java sources to tests | Add java sources to tests
| Clojure | epl-1.0 | ifesdjeen/introspect |
82b9fcb30772ad30a893485609f0b325c22c1e34 | project.clj | project.clj | (defproject buddy/buddy-core "0.6.0"
:description "Cryptographic Api for Clojure."
:url "https://github.com/funcool/buddy-core"
:license {:name "Apache 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0"}
:dependencies [[org.clojure/clojure "1.7.0" :scope "provided"]
[commons-cod... | (defproject buddy/buddy-core "0.6.0"
:description "Cryptographic Api for Clojure."
:url "https://github.com/funcool/buddy-core"
:license {:name "Apache 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0"}
:dependencies [[org.clojure/clojure "1.7.0" :scope "provided"]
[commons-cod... | Update codeina dependency to 0.3.0. | Update codeina dependency to 0.3.0.
| Clojure | apache-2.0 | funcool/buddy-core,funcool/buddy-core |
e57688ae2b26422c4b585af9acda4f61af9d927a | src/slack_invite/core.clj | src/slack_invite/core.clj | (ns slack-invite.core
(:require [bidi.bidi :as b]
[bidi.ring :refer (make-handler)]
[clj-slack.core :as slack]))
(defn showForm
[request]
{:status 200
:headers {"Content-Type" "text/html"}
:body "<h1>Hello world!</h1>"})
(defn handleForm
[request]
)
(def routes
["/" {:get show... | (ns slack-invite.core
(:require [bidi.bidi :as b]
[bidi.ring :refer (make-handler)]
[environ.core :refer [env]]
[clj-slack.core :as slack]))
(def slack-connection {:api-url (env :api-url) :token (env :api-token)})
(defn showForm
[request]
{:status 200
:headers {"Content-Ty... | Add env hooking for slack connection. | Add env hooking for slack connection.
| Clojure | epl-1.0 | SevereOverfl0w/slack-invite |
c23d785f293f357d5504f6c232d82df5592e622f | project.clj | project.clj | (defproject rivulet "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.5.1"]
[org.clojure/clojurescript "0.0-1885"]... | (defproject rivulet "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.5.1"]
[org.clojure/clojurescript "0.0-1885"]... | Remove unused resources dir form resource-paths. | Remove unused resources dir form resource-paths.
| Clojure | epl-1.0 | tobias/rivulet-vertx,tobias/rivulet-vertx |
74e9d70145845d54b5fa27e189e765f42342744c | project.clj | project.clj | (defproject onyx-app/lein-template "0.9.10.0-beta3"
:description "Onyx Leiningen application template"
:url "https://github.com/onyx-platform/onyx-template"
:license {:name "MIT License"
:url "http://choosealicense.com/licenses/mit/#"}
:repositories {"snapshots" {:url "https://clojars.org/repo"
... | (defproject onyx-app/lein-template "0.9.10.0-SNAPSHOT"
:description "Onyx Leiningen application template"
:url "https://github.com/onyx-platform/onyx-template"
:license {:name "MIT License"
:url "http://choosealicense.com/licenses/mit/#"}
:repositories {"snapshots" {:url "https://clojars.org/repo"
... | Prepare for next release cycle. | Prepare for next release cycle.
| Clojure | mit | onyx-platform/onyx-template |
aa3e0cb49f7e627a47e880322cf06a8b7bffe997 | project.clj | project.clj | (defproject compojure "1.4.0"
:description "A concise routing library for Ring"
:url "https://github.com/weavejester/compojure"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.7.0"]
[org.clojure/tools.... | (defproject compojure "1.4.0"
:description "A concise routing library for Ring"
:url "https://github.com/weavejester/compojure"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.7.0"]
[org.clojure/tools.... | Update Codox plugin to 0.9.4 | Update Codox plugin to 0.9.4
| Clojure | epl-1.0 | weavejester/compojure |
ba92d53cc773ceb840aab38a11a29b65ee85fd35 | project.clj | project.clj | (defproject moves-server "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:plugins [[lein-ring "0.8.11"]
[lein-environ "1.0.0"]]
:ring {:handler moves-serv... | (defproject moves-server "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:profiles {:uberjar {:aot :all}}
:plugins [[lein-ring "0.8.11"]
[lein-environ "1.... | Use ahead-of-time compilation for deployment | Use ahead-of-time compilation for deployment
| Clojure | epl-1.0 | samccone/moves-server |
242d9ef13d28e08056b88469a9e909875778d9d6 | project.clj | project.clj | (defproject reiddraper/simple-check "0.1.1-SNAPSHOT"
:description "A QuickCheck inspired property-based testing library."
:url "http://github.com/reiddraper/simple-check"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1... | (defproject reiddraper/simple-check "0.2.0-SNAPSHOT"
:description "A QuickCheck inspired property-based testing library."
:url "http://github.com/reiddraper/simple-check"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1... | Prepare for 0.2.0 instead of 0.1.1 | Prepare for 0.2.0 instead of 0.1.1
| Clojure | epl-1.0 | clojure/test.check,clojure/test.check,clojure/test.check |
393518cb240c0fe678163ec97fdef52ca4a2927a | project.clj | project.clj | (defproject funcool/futura "0.2.0"
:description "A basic building blocks for async programming."
:url "https://github.com/funcool/futura"
:license {:name "BSD (2 Clause)"
:url "http://opensource.org/licenses/BSD-2-Clause"}
:dependencies [[org.clojure/clojure "1.7.0-RC1" :scope "provided"]
... | (defproject funcool/futura "0.2.0"
:description "A basic building blocks for async programming."
:url "https://github.com/funcool/futura"
:license {:name "BSD (2 Clause)"
:url "http://opensource.org/licenses/BSD-2-Clause"}
:dependencies [[org.clojure/clojure "1.7.0-RC2" :scope "provided"]
... | Update clojure to 1.7.0 rc2 | Update clojure to 1.7.0 rc2
| Clojure | bsd-2-clause | funcool/futura |
c05735d0199577cf80666d71fcd2d498d79cb160 | project.clj | project.clj | (defproject com.nomistech/clojure-the-language "0.1.0-SNAPSHOT"
:dependencies [[cheshire "5.4.0"]
[com.climate/claypoole "1.1.4"]
[com.taoensso/timbre "4.8.0"]
[org.clojure/clojure "1.9.0"]
[org.clojure/core.async "0.3.442"]
[org.cl... | (defproject com.nomistech/clojure-the-language "0.1.0-SNAPSHOT"
:dependencies [[cheshire "5.4.0"]
[com.climate/claypoole "1.1.4"]
[com.taoensso/timbre "4.8.0"]
[org.clojure/clojure "1.9.0"]
[org.clojure/core.async "0.3.442"]
[org.cl... | Upgrade to Midje 1.9.1 nd lein-midje 3.2.1 | Upgrade to Midje 1.9.1 nd lein-midje 3.2.1
| Clojure | epl-1.0 | simon-katz/nomis-clojure-the-language |
57ee3f7815a7de4a725bf1b4c02e630e05da514f | project.clj | project.clj | (defproject org.onyxplatform/onyx-sql "0.7.3-SNAPSHOT"
:description "Onyx plugin for JDBC-backed SQL databases"
:url "https://github.com/MichaelDrogalis/onyx-sql"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.7.0"]
... | (defproject org.onyxplatform/onyx-sql "0.7.3-SNAPSHOT"
:description "Onyx plugin for JDBC-backed SQL databases"
:url "https://github.com/MichaelDrogalis/onyx-sql"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.7.0"]
... | Update dependency org.onyxplatform/onyx to version 0.7.3-20150828_152050-gd122e3e. | Update dependency org.onyxplatform/onyx to version 0.7.3-20150828_152050-gd122e3e.
Automatic commit by lein-traffic-control.
| Clojure | epl-1.0 | onyx-platform/onyx-sql |
9e4d973ad9295421d8fa153d2714ae8973331a35 | project.clj | project.clj | (defproject circleci "0.1.0-SNAPSHOT"
:description "FIXME: write this!"
:dependencies [[org.clojure/clojure "1.2.1"]
[noir "1.1.0"]
[enlive "1.0.0"]]
:main circleci.server)
| (defproject circleci "0.1.0-SNAPSHOT"
:description "FIXME: write this!"
:dependencies [[org.clojure/clojure "1.2.1"]
[noir "1.1.0"]
[enlive "1.0.0"]
[swank-clojure "1.3.2"]]
:main circleci.server)
| Add swank to deps, so we can use it on heroku | Add swank to deps, so we can use it on heroku
| Clojure | epl-1.0 | prathamesh-sonpatki/frontend,circleci/frontend,RayRutjes/frontend,RayRutjes/frontend,circleci/frontend,prathamesh-sonpatki/frontend,circleci/frontend |
b8564a1938541206f4fbd9e3c875b1da46be639a | project.clj | project.clj | (defproject org.onyxplatform/onyx-datomic "0.10.0.0-alpha4"
:description "Onyx plugin for Datomic"
:url "https://github.com/onyx-platform/onyx-datomic"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:repositories {"snapshots" {:url "https://clojars.org/rep... | (defproject org.onyxplatform/onyx-datomic "0.10.0.0-SNAPSHOT"
:description "Onyx plugin for Datomic"
:url "https://github.com/onyx-platform/onyx-datomic"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:repositories {"snapshots" {:url "https://clojars.org/r... | Prepare for next release cycle. | Prepare for next release cycle.
| Clojure | epl-1.0 | onyx-platform/onyx-datomic |
cdf94aef8c813f98f5956624544197616a1dba97 | project.clj | project.clj | (defproject padawan "0.1.0"
:description "Multiplayer Clojure web REPL for teaching and learning"
:url "http://github.com/mkremins/padawan"
:license {:name "MIT License"
:url "http://opensource.org/licenses/MIT"
:distribution :repo}
:dependencies
[[org.clojure/clojure "1.6.0"]
[org... | (defproject padawan "0.1.0"
:description "Multiplayer Clojure web REPL for teaching and learning"
:url "http://github.com/mkremins/padawan"
:license {:name "MIT License"
:url "http://opensource.org/licenses/MIT"
:distribution :repo}
:dependencies
[[org.clojure/clojure "1.6.0"]
[org... | Make javax.servlet/servlet-api a runtime dependency | Make javax.servlet/servlet-api a runtime dependency
| Clojure | mit | mkremins/padawan |
f9e97affccffec439ac9604ec3b3f85d8f0c53fa | project.clj | project.clj | (defproject com.hypirion/io "0.3.0-SNAPSHOT"
:description "I/O classes in Java for those with specific needs."
:url "https://github.com/hyPiRion/com.hypirion.io"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:source-paths []
:java-source-paths ["src"])
| (defproject com.hypirion/io "0.3.0-SNAPSHOT"
:description "I/O classes in Java for those with specific needs."
:url "https://github.com/hyPiRion/com.hypirion.io"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:source-paths []
:java-source-paths ["src"]
... | Add in javadoc alias, constrain deploy branches. | Add in javadoc alias, constrain deploy branches.
| Clojure | epl-1.0 | hyPiRion/com.hypirion.io |
9e1afcb0e20f04b4685208d2a1ca70e702e2b8cd | project.clj | project.clj | (defproject onyx-app/lein-template "0.11.0.0-alpha4"
:description "Onyx Leiningen application template"
:url "https://github.com/onyx-platform/onyx-template"
:license {:name "MIT License"
:url "http://choosealicense.com/licenses/mit/#"}
:repositories {"snapshots" {:url "https://clojars.org/repo"
... | (defproject onyx-app/lein-template "0.11.0.0-SNAPSHOT"
:description "Onyx Leiningen application template"
:url "https://github.com/onyx-platform/onyx-template"
:license {:name "MIT License"
:url "http://choosealicense.com/licenses/mit/#"}
:repositories {"snapshots" {:url "https://clojars.org/repo"
... | Prepare for next release cycle. | Prepare for next release cycle.
| Clojure | mit | onyx-platform/onyx-template |
aa50fe46ffe28ce1e63c4c9003bc6a490fbf5932 | src/cljs/dashboard_clj/widgets/simple_text.cljs | src/cljs/dashboard_clj/widgets/simple_text.cljs | (ns dashboard-clj.widgets.simple-text
(:require [reagent.core :as r :refer [atom]]
[dashboard-clj.widgets.core :as widget-common]))
(defmethod widget-common/widget :simple-text [{:keys [text data] :as w}]
[:div {:class "simple-text-widget"}
[:span {:class "title"} (:title w)]
[:div {:class "data... | (ns dashboard-clj.widgets.simple-text
(:require [reagent.core :as r :refer [atom]]
[dashboard-clj.widgets.core :as widget-common]))
(defmethod widget-common/widget :simple-text [{:keys [text data] :as w}]
[:div {:class "simple-text-widget"}
[:span {:class "title"} (:title w)]
[:div {:class "data... | Update data source key used in simple text widget | Update data source key used in simple text widget
| Clojure | mit | multunus/dashboard-clj |
bc8392fc6fb863a66f6d1c824e98b4a7eb61229d | lein/.lein/profiles.clj | lein/.lein/profiles.clj | {:user
{:env {:squiggly {:checkers [:eastwood]}}
:plugin-repositories [["private-plugins"
{:url "private repo url"}]]
:singing {:gpg-key "matthew.russell@wormbase.org"}
:dependencies [[clojure-ini "0.0.2"]
[me.raynes/fs "1.4.6"]]
:plugins [[cide... | {:user
{:env {:squiggly {:checkers [:eastwood]}}
:plugin-repositories [["private-plugins"
{:url "private repo url"}]]
:singing {:gpg-key "matthew.russell@wormbase.org"}
:dependencies [[clojure-ini "0.0.2"]
[me.raynes/fs "1.4.6"]]
:plugins [[cide... | Set print-length to 10 for every repl by default. | Set print-length to 10 for every repl by default.
| Clojure | bsd-2-clause | mgrbyte/dot-files,mgrbyte/dot-files,mgrbyte/dot-files |
8c4ae012166f6ffbc32cc6f4e2627a7394ee7732 | src/clojure/warreq/kea/calc/math.clj | src/clojure/warreq/kea/calc/math.clj | (ns warreq.kea.calc.math
(:require [clojure.math.numeric-tower :refer [expt]]
[neko.notify :refer [toast]]
[warreq.kea.calc.util :as u])
(:import java.math.BigDecimal))
(defn rpn
"Evaluate an expression composed in Reverse Polish Notation and return the
result. `rpn` may optionally take... | (ns warreq.kea.calc.math
(:require [clojure.math.numeric-tower :refer [expt]]
[neko.notify :refer [toast]]
[warreq.kea.calc.util :as u])
(:import java.math.BigDecimal))
(defn rpn
"Evaluate an expression composed in Reverse Polish Notation and return the
result. `rpn` may optionally take... | Fix issue where expt followed by division could result in error. | Fix issue where expt followed by division could result in error.
We should not assume that the numbers in the stack at any given
time can be cast directly to a BigDecimal, because some operations,
(like expt) may return a double or something, and then suddenly
one of the operands is not castable.
Instead, in the divi... | Clojure | unlicense | warreq/calc-clj |
f2ee9d795f4f4a950f67276248a374446c55a7f8 | project.clj | project.clj | (defproject jungerer "0.4.2-SNAPSHOT"
:description "Clojure network/graph library wrapping JUNG"
:url "https://github.com/totakke/jungerer"
:license {:name "The BSD 3-Clause License"
:url "https://opensource.org/licenses/BSD-3-Clause"}
:min-lein-version "2.7.0"
:dependencies [[org.clojure/clojure ... | (defproject jungerer "0.4.2-SNAPSHOT"
:description "Clojure network/graph library wrapping JUNG"
:url "https://github.com/totakke/jungerer"
:license {:name "The BSD 3-Clause License"
:url "https://opensource.org/licenses/BSD-3-Clause"}
:min-lein-version "2.7.0"
:dependencies [[org.clojure/clojure ... | Update clojure 1.9 to 1.9.0 | Update clojure 1.9 to 1.9.0
| Clojure | bsd-3-clause | totakke/jungerer |
b40b8575d460002e56dd969961898c2dddb4a259 | project.clj | project.clj | ;; The only requirement of the project.clj file is that it includes a
;; defproject form. It can have other code in it as well, including
;; loading other task definitions.
(defproject leiningen "1.5.0-SNAPSHOT"
:description "A build tool designed not to set your hair on fire."
:url "https://github.com/technomancy... | ;; The only requirement of the project.clj file is that it includes a
;; defproject form. It can have other code in it as well, including
;; loading other task definitions.
(defproject leiningen "1.5.0-SNAPSHOT"
:description "A build tool designed not to set your hair on fire."
:url "https://github.com/technomancy... | Add ant-nodeps as a dependency to pull in symlink task | Add ant-nodeps as a dependency to pull in symlink task
The symlink task appears to have moved to ant-nodeps in ant 1.7.1,
which means that :jar-strategy :symlink is currently broken. Add
ant-nodeps as a dependency to get this working again.
| Clojure | epl-1.0 | 0/leiningen,0/leiningen |
36c1c2349e777189ae68f91d4ccb01890b216b6a | project.clj | project.clj | (defproject overtone "0.3.0"
:description "An audio/musical experiment."
:url "http://project-overtone.org"
:autodoc {:load-except-list [#"/test/" #"/classes/" #"/devices/"]
:namespaces-to-document ["overtone.core" "overtone.gui"
"overtone.music" "overtone.studio"]... | (defproject overtone "0.3.0"
:description "An audio/musical experiment."
:url "http://project-overtone.org"
:autodoc {:load-except-list [#"/test/" #"/classes/" #"/devices/"]
:namespaces-to-document ["overtone.core" "overtone.gui"
"overtone.music" "overtone.studio"]... | Move deps to Clojure 1.3.0 final | Move deps to Clojure 1.3.0 final | Clojure | mit | craftybones/overtone,mcanthony/overtone,brunchboy/overtone,Widea/overtone,rosejn/overtone,la3lma/overtone,ethancrawford/overtone,chunseoklee/overtone,pje/overtone |
264c9f220bdb225a4ed9ad4c1056d4ed3beead8d | project.clj | project.clj | (defproject eureka "0.1.4-SNAPSHOT"
:description "A Clojure library that wraps the Curator service discovery/registration API."
:dependencies [[cheshire "5.2.0"]
[environ "0.4.0"]
[org.apache.curator/curator-x-discovery "2.3.0"]
[org.clojure/clojure "1.5.1"]
... | (defproject eureka "0.1.4-SNAPSHOT"
:description "A Clojure library that wraps the Curator service discovery/registration API."
:dependencies [[cheshire "5.2.0"]
[environ "0.4.0"]
[org.apache.curator/curator-x-discovery "2.4.2"]
[org.clojure/clojure "1.5.1"]
... | Upgrade curator dependancy to 2.4.3 | Upgrade curator dependancy to 2.4.3
| Clojure | bsd-3-clause | mixradio/party |
046485f8e7be2301186358c280b72edbefe68504 | project.clj | project.clj | (defproject io.aviso/rook "0.1.5-SNAPSHOT"
:description "Ruby on Rails-style resource mapping for Clojure/Compojure web apps"
:url "https://github.com/AvisoNovate/rook"
:license {:name "Apache Sofware Licencse 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0.html"}
;; Normally we don't AOT com... | (defproject io.aviso/rook "0.1.6-SNAPSHOT"
:description "Ruby on Rails-style resource mapping for Clojure/Compojure web apps"
:url "https://github.com/AvisoNovate/rook"
:license {:name "Apache Sofware Licencse 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0.html"}
;; Normally we don't AOT com... | Advance version number to 0.1.6 before move to GitHub | Advance version number to 0.1.6 before move to GitHub
| Clojure | apache-2.0 | bmabey/rook,roblally/rook,clyfe/rook |
d0a93afc6539f6b0f4a3d99d6221c6b701b74246 | project.clj | project.clj | ;;; Copyright (c) 2013 David Goldfarb. All rights reserved.
;;; Contact info: deg@degel.com
;;;
;;; The use and distribution terms for this software are covered by the Eclipse
;;; Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) which can
;;; be found in the file epl-v10.html at the root of this dist... | ;;; Copyright (c) 2013 David Goldfarb. All rights reserved.
;;; Contact info: deg@degel.com
;;;
;;; The use and distribution terms for this software are covered by the Eclipse
;;; Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) which can
;;; be found in the file epl-v10.html at the root of this dist... | Declare need for lein 2.0, for the sake of Heroku. | Declare need for lein 2.0, for the sake of Heroku.
| Clojure | epl-1.0 | deg/my-muxx-sites |
3e9ef342b9371aedfbc1b680a0a77f43b1f78ff6 | project.clj | project.clj | (defproject onyx-app/lein-template "0.13.5.0"
:description "Onyx Leiningen application template"
:url "https://github.com/onyx-platform/onyx-template"
:license {:name "MIT License"
:url "http://choosealicense.com/licenses/mit/#"}
:repositories {"snapshots" {:url "https://clojars.org/repo"
... | (defproject onyx-app/lein-template "0.13.5.1-SNAPSHOT"
:description "Onyx Leiningen application template"
:url "https://github.com/onyx-platform/onyx-template"
:license {:name "MIT License"
:url "http://choosealicense.com/licenses/mit/#"}
:repositories {"snapshots" {:url "https://clojars.org/repo"
... | Prepare for next release cycle. | Prepare for next release cycle.
| Clojure | mit | onyx-platform/onyx-template |
b1a78e80d73ac5cc1f90e034b6fb1911536b3fc9 | project.clj | project.clj | (defproject caesium "0.3.0"
:description "libsodium for clojure"
:url "https://github.com/lvh/caesium"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.6.0"]
[org.abstractj.kalium/kalium "0.3.0" :scope ... | (defproject caesium "0.3.0"
:description "libsodium for clojure"
:url "https://github.com/lvh/caesium"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.8.0"]
[org.abstractj.kalium/kalium "0.4.0" :scope ... | Update Kalium and Clojure to latest stable version | Update Kalium and Clojure to latest stable version
| Clojure | epl-1.0 | lvh/caesium |
43dc90318048a6cddc48d9d79108389dcb81d983 | integration-tests/apps/messaging/topics/immutant.clj | integration-tests/apps/messaging/topics/immutant.clj | (ns messaging.init
(:require [immutant.messaging :as msg]))
(msg/start "/topic/gravy")
(let [p (promise)
l (msg/listen "/topic/gravy" (fn [v] (deliver p v)))]
(try
(msg/publish "/topic/gravy" :success)
(let [delivery (deref p 1000 :fail)]
(if-not (= :success delivery)
(throw (Exception... | (ns messaging.init
(:require [immutant.messaging :as msg]))
(msg/start "/topic/gravy")
(msg/start "topic.biscuit")
(let [p (promise)
l (msg/listen "topic.biscuit" (fn [v] (deliver p v)))]
(try
(msg/publish "topic.biscuit" :success)
(let [delivery (deref p 1000 :fail)]
(if-not (= :success deli... | Use a different topic so we don't collide with the 'real' tests. | Use a different topic so we don't collide with the 'real' tests.
| Clojure | apache-2.0 | kbaribeau/immutant,kbaribeau/immutant,coopsource/immutant,coopsource/immutant,immutant/immutant,immutant/immutant,immutant/immutant,immutant/immutant,coopsource/immutant,kbaribeau/immutant |
f5b3b5610d7978c90729ac5924847e3853690e75 | src/cljs/comic_reader/main.cljs | src/cljs/comic_reader/main.cljs | (ns comic-reader.main
(:require [figwheel.client :as fw]
[comic-reader.session :as session]
[comic-reader.pages.sites :as sites]
[comic-reader.pages.comics :as comics]
[comic-reader.pages.reader :as reader]
[reagent.core :as reagent :refer [atom]]
... | (ns comic-reader.main
(:require [figwheel.client :as fw]
[comic-reader.session :as session]
[comic-reader.pages.sites :as sites]
[comic-reader.pages.comics :as comics]
[comic-reader.pages.reader :as reader]
[reagent.core :as reagent :refer [atom]]
... | Add a note about moving figwheel configuration | Add a note about moving figwheel configuration
| Clojure | epl-1.0 | RadicalZephyr/comic-reader,RadicalZephyr/comic-reader |
9ea925f5623cb4c316486cb3059117f028d343a3 | test/luaclj/core_test.clj | test/luaclj/core_test.clj | (ns luaclj.core-test
(:require [clojure.test :refer :all]
[luaclj.library :refer :all]
[luaclj.core :refer :all]))
(comment
(parse-lua (slurp "resources/test/basic.lua"))
(parse-lua (slurp "resources/test/function.lua"))
)
(deftest a-test
(testing "Lua test scripts"
(is (= ((create-l... | (ns luaclj.core-test
(:require [clojure.test :refer :all]
[luaclj.library :refer :all]
[luaclj.core :refer :all]))
(comment
(parse-lua (slurp "resources/test/basic.lua"))
(parse-lua (slurp "resources/test/function.lua"))
)
(deftest a-test
(testing "Lua test scripts"
(is (= ((create-l... | Add factorial and days_in_month tests | Add factorial and days_in_month tests
| Clojure | mit | siphiuel/luaclj |
bb29b476c6efe5667f86c14041102e4cb5bb0215 | test/jcf/integration_test.clj | test/jcf/integration_test.clj | (ns jcf.integration-test
(:require [clojure.java.io :as io]
[clojure.java.shell :refer [sh]]
[clojure.string :as str]
[clojure.test :refer :all]
[leiningen.new.jcf-static :refer :all]
[leiningen.new.templates :refer [*dir*]]
[me.raynes.fs :refer ... | (ns jcf.integration-test
(:require [clojure.java.io :as io]
[clojure.java.shell :refer [sh]]
[clojure.string :as str]
[clojure.test :refer :all]
[leiningen.new.jcf-static :refer :all]
[leiningen.new.templates :refer [*dir*]]
[me.raynes.fs :refer ... | Make sure `lein run` works | Make sure `lein run` works
| Clojure | mit | jcf/lein-template-static |
3ac102d37ff2744b302b222ee8cc976fa723f06b | exercises/robot-name/src/example.clj | exercises/robot-name/src/example.clj | (ns robot-name)
(def ^:private letters (map char (range 65 91)))
(defn- generate-name []
(format "%s%03d" (apply str (repeatedly 2 #(first (shuffle letters))))
(rand-int 1000)))
(defn robot []
(atom {:name (generate-name)}))
(defn robot-name [robot]
(:name @robot))
(defn reset-name [robot]
(swap! ... | (ns robot-name)
(def ^:private letters (map char (range 65 91)))
(defn- generate-name []
(format "%s%03d" (apply str (repeatedly 2 #(rand-nth letters)))
(rand-int 1000)))
(defn robot []
(atom {:name (generate-name)}))
(defn robot-name [robot]
(:name @robot))
(defn reset-name [robot]
(swap! robot a... | Use rand-nth instead of first and shuffle in robot-name/generate-name | Use rand-nth instead of first and shuffle in robot-name/generate-name
| Clojure | mit | querenker/xclojure,querenker/xclojure,exercism/xclojure,exercism/xclojure |
590b5777e972c60afe856600a625727663b230c0 | compojure/hello/project.clj | compojure/hello/project.clj | (defproject hello "compojure"
:description "JSON/Database tests"
:url "http://example.com/FIXME"
:dependencies [[org.clojure/clojure "1.5.1"]
[compojure "1.1.5"]
[ring/ring-json "0.2.0"]
[korma "0.3.0-RC5"]
[log4j "1.2.15" :exclusions [javax.mail... | (defproject hello "compojure"
:description "JSON/Database tests"
:url "http://localhost:3000/"
:dependencies [[org.clojure/clojure "1.5.1"]
[compojure "1.1.6"]
[ring/ring-json "0.2.0"]
[korma "0.3.0-RC6"]
[log4j "1.2.15" :exclusions [javax.mail/m... | Update dependencies to latest versions | Update dependencies to latest versions
| Clojure | bsd-3-clause | hamiltont/FrameworkBenchmarks,jamming/FrameworkBenchmarks,Eyepea/FrameworkBenchmarks,herloct/FrameworkBenchmarks,s-ludwig/FrameworkBenchmarks,kostya-sh/FrameworkBenchmarks,yunspace/FrameworkBenchmarks,sagenschneider/FrameworkBenchmarks,zapov/FrameworkBenchmarks,psfblair/FrameworkBenchmarks,nathana1/FrameworkBenchmarks,... |
5accd7c937d1cdea9391a828dcdd41e41b6e83f8 | project.clj | project.clj | (defproject cats "0.5.0-SNAPSHOT"
:description "Category Theory abstractions for Clojure"
:url "https://github.com/funcool/cats"
:license {:name "BSD (2 Clause)"
:url "http://opensource.org/licenses/BSD-2-Clause"}
:dependencies []
:deploy-repositories {"releases" :clojars
"... | (defproject cats "0.5.0-SNAPSHOT"
:description "Category Theory abstractions for Clojure"
:url "https://github.com/funcool/cats"
:license {:name "BSD (2 Clause)"
:url "http://opensource.org/licenses/BSD-2-Clause"}
:dependencies []
:deploy-repositories {"releases" :clojars
"... | Upgrade Clojure and ClojureScript dependencies | Upgrade Clojure and ClojureScript dependencies
| Clojure | bsd-2-clause | alesguzik/cats,yurrriq/cats,mccraigmccraig/cats,tcsavage/cats,OlegTheCat/cats,funcool/cats |
2c13cc4281d564d2a54dde86b4760f707494b495 | project.clj | project.clj | (defproject clj-gamification "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:dependencies [[org.clojure/clojure "1.5.1"]
[org.clojure/tools.logging "0.2.6"]
[http-kit "2.1.4"]
[compojure "1.1.5"]
[hiccup ... | (defproject clj-gamification "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:dependencies [[org.clojure/clojure "1.5.1"]
[org.clojure/tools.logging "0.2.6"]
[http-kit "2.1.4"]
[compojure "1.1.5"]
[hiccup ... | Enable running via ring for dev | Enable running via ring for dev
| Clojure | epl-1.0 | jakubholynet/clj-scotsgame |
5e4627036a368ba8e51076788d33c0df6b724353 | project.clj | project.clj | (defproject jungerer "0.1.3"
:description "Clojure network/graph library wrapping JUNG"
:url "https://github.com/totakke/jungerer"
:license {:name "The BSD 3-Clause License"
:url "https://opensource.org/licenses/BSD-3-Clause"}
:dependencies [[org.clojure/clojure "1.8.0"]
[net.sf.jun... | (defproject jungerer "0.1.4-SNAPSHOT"
:description "Clojure network/graph library wrapping JUNG"
:url "https://github.com/totakke/jungerer"
:license {:name "The BSD 3-Clause License"
:url "https://opensource.org/licenses/BSD-3-Clause"}
:dependencies [[org.clojure/clojure "1.8.0"]
[n... | Prepare for next development iteration (0.1.4-SNAPSHOT) | Prepare for next development iteration (0.1.4-SNAPSHOT)
| Clojure | bsd-3-clause | totakke/jungerer |
f925dd7109ea586056e0c9394f15b2fc94d3b3e6 | project.clj | project.clj | (defproject io.aviso/twixt "0.1.9"
:description "An extensible asset pipeline for Clojure web applications"
:url "https://github.com/AvisoNovate/twixt"
:license {:name "Apache Sofware Licencse 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0.html"}
:dependencies [[org.clojure/clojure "1.5.1"]
... | (defproject io.aviso/twixt "0.1.9-SNAPSHOT"
:description "An extensible asset pipeline for Clojure web applications"
:url "https://github.com/AvisoNovate/twixt"
:license {:name "Apache Sofware Licencse 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0.html"}
:dependencies [[org.clojure/clojure ... | Change version number to 0.1.9-SNAPSHOT | Change version number to 0.1.9-SNAPSHOT
| Clojure | apache-2.0 | AvisoNovate/twixt,clyfe/twixt,clyfe/twixt,AvisoNovate/twixt,clyfe/twixt,AvisoNovate/twixt |
010520339fd6d233a7a75dce116d58bf7ccfef15 | project.clj | project.clj | (defproject onyx-app/lein-template "0.8.2.1"
:description "Onyx Leiningen application template"
:url "https://github.com/onyx-platform/onyx-template"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:repositories {"snapshots" {:url "https://clojars.org/repo"... | (defproject onyx-app/lein-template "0.8.2.2-SNAPSHOT"
:description "Onyx Leiningen application template"
:url "https://github.com/onyx-platform/onyx-template"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:repositories {"snapshots" {:url "https://clojars.... | Prepare for next release cycle. | Prepare for next release cycle.
| Clojure | mit | onyx-platform/onyx-template |
12120d90cf57b1c135fb23adf234c8b643a76d4a | project.clj | project.clj | (defproject cljam "0.1.0-SNAPSHOT"
:description "A DNA Sequence Alignment/Map (SAM) library for Clojure"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:repositories [["clojars classic" "http://clojars.org/repo/"]]
:depend... | (defproject cljam "0.1.0-SNAPSHOT"
:description "A DNA Sequence Alignment/Map (SAM) library for Clojure"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.5.1"]
[org.cloju... | Modify to use release version `clj-sub-command` | Modify to use release version `clj-sub-command`
| Clojure | apache-2.0 | chrovis/cljam |
edf32aae2045f2588d7793ff58e3ff31cfde894a | project.clj | project.clj | (defproject onyx-app/lein-template "0.14.0.0"
:description "Onyx Leiningen application template"
:url "https://github.com/onyx-platform/onyx-template"
:license {:name "MIT License"
:url "http://choosealicense.com/licenses/mit/#"}
:repositories {"snapshots" {:url "https://clojars.org/repo"
... | (defproject onyx-app/lein-template "0.14.0.1-SNAPSHOT"
:description "Onyx Leiningen application template"
:url "https://github.com/onyx-platform/onyx-template"
:license {:name "MIT License"
:url "http://choosealicense.com/licenses/mit/#"}
:repositories {"snapshots" {:url "https://clojars.org/repo"
... | Prepare for next release cycle. | Prepare for next release cycle.
| Clojure | mit | onyx-platform/onyx-template |
5f4a620fd9136edf2d4d751dd8597850382bd0f5 | project.clj | project.clj | (defproject org.onyxplatform/onyx-peer-http-query "0.10.0.0-beta2"
:description "An Onyx health and query HTTP server"
:url "https://github.com/onyx-platform/onyx-peer-http-query"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/c... | (defproject org.onyxplatform/onyx-peer-http-query "0.10.0.0-SNAPSHOT"
:description "An Onyx health and query HTTP server"
:url "https://github.com/onyx-platform/onyx-peer-http-query"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojur... | Prepare for next release cycle. | Prepare for next release cycle.
| Clojure | epl-1.0 | onyx-platform/onyx-peer-http-query |
f48fdbf16401153162f41bfa7cb11ae172795ea3 | project.clj | project.clj | (defproject compojure "1.5.1"
:description "A concise routing library for Ring"
:url "https://github.com/weavejester/compojure"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.7.0"]
[org.clojure/tools.... | (defproject compojure "1.5.1"
:description "A concise routing library for Ring"
:url "https://github.com/weavejester/compojure"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.7.0"]
[org.clojure/tools.... | Update Ring dependency to 1.6.0-beta4 | Update Ring dependency to 1.6.0-beta4
| Clojure | epl-1.0 | weavejester/compojure |
298ccca0e2509fc9b86d17e021e43fd2e7396a86 | project.clj | project.clj | (defproject io.aviso/twixt "0.1.6"
:description "An extensible asset pipeline for Clojure web applications"
:url "https://github.com/AvisoNovate/twixt"
:license {:name "Apache Sofware Licencse 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0.html"}
:dependencies [[org.clojure/clojure "1.5.1"]
... | (defproject io.aviso/twixt "0.1.6"
:description "An extensible asset pipeline for Clojure web applications"
:url "https://github.com/AvisoNovate/twixt"
:license {:name "Apache Sofware Licencse 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0.html"}
:dependencies [[org.clojure/clojure "1.5.1"]
... | Update to latest Jade4J Jade4J now available from Maven Central | Update to latest Jade4J
Jade4J now available from Maven Central
| Clojure | apache-2.0 | clyfe/twixt,AvisoNovate/twixt,AvisoNovate/twixt,clyfe/twixt,clyfe/twixt,AvisoNovate/twixt |
7936b269378a890fe397cf084a1d31d211aaa302 | project.clj | project.clj | (defproject me.frmr.tools/dstt "0.2.0"
:description "Damn Simple Test Tool, a simple and rudamentary load testing library."
:url "https://github.com/farmdawgnation/dstt"
:license {:name "Apache License 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0"}
:dependencies [[org.clojure/clojure "1.7.0... | (defproject me.frmr.tools/dstt "0.3.0-SNAPSHOT"
:description "Damn Simple Test Tool, a simple and rudamentary load testing library."
:url "https://github.com/farmdawgnation/dstt"
:license {:name "Apache License 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0"}
:dependencies [[org.clojure/cloju... | Bump to 0.3.0-SNAPSHOT for forward development. | Bump to 0.3.0-SNAPSHOT for forward development.
[ci skip]
| Clojure | apache-2.0 | farmdawgnation/dstt |
f38884490d12e6391b44c6a7a85e00885a149731 | project.clj | project.clj | (defproject onyx-app/lein-template "0.13.0.0-beta1"
:description "Onyx Leiningen application template"
:url "https://github.com/onyx-platform/onyx-template"
:license {:name "MIT License"
:url "http://choosealicense.com/licenses/mit/#"}
:repositories {"snapshots" {:url "https://clojars.org/repo"
... | (defproject onyx-app/lein-template "0.13.0.0-SNAPSHOT"
:description "Onyx Leiningen application template"
:url "https://github.com/onyx-platform/onyx-template"
:license {:name "MIT License"
:url "http://choosealicense.com/licenses/mit/#"}
:repositories {"snapshots" {:url "https://clojars.org/repo"
... | Prepare for next release cycle. | Prepare for next release cycle.
| Clojure | mit | onyx-platform/onyx-template |
e8293e57e70f25a5fb7cd7ef86a6cf85c401e4be | project.clj | project.clj | (defproject prismatic/fnhouse "0.2.2-SNAPSHOT"
:description "Transform lightly-annotated functions into a full-fledged web service"
:license {:name "Eclipse Public License - v 1.0"
:url "http://www.eclipse.org/legal/epl-v10.html"
:distribution :repo}
:url "https://github.com/Prismatic/fnho... | (defproject prismatic/fnhouse "0.2.2-SNAPSHOT"
:description "Transform lightly-annotated functions into a full-fledged web service"
:license {:name "Eclipse Public License - v 1.0"
:url "http://www.eclipse.org/legal/epl-v10.html"
:distribution :repo}
:url "https://github.com/Prismatic/fnho... | Add Clojure 1.8 profile for testing | Add Clojure 1.8 profile for testing
| Clojure | epl-1.0 | plumatic/fnhouse,Prismatic/fnhouse |
303c93ee03ced9af5871e40fd16649012cc32f5c | project.clj | project.clj | (defproject thomasa/mranderson "0.5.2-SNAPSHOT"
:description "Dependency inlining and shadowing tool."
:url "https://github.com/benedekfazekas/mranderson"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:eval-in :leiningen
:plugins [[thomasa/mranderson "0... | (defproject thomasa/mranderson "0.5.2-SNAPSHOT"
:description "Dependency inlining and shadowing tool."
:url "https://github.com/benedekfazekas/mranderson"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:eval-in :leiningen
:plugins [[thomasa/mranderson "0... | Fix lein version in dep dependencies and use `:inline-dep` | Fix lein version in dep dependencies and use `:inline-dep`
instead of `:source-dep`
| Clojure | epl-1.0 | benedekfazekas/mranderson,benedekfazekas/mranderson |
16886b6807c1ad1ea00d5e0dfc5268922847cf69 | project.clj | project.clj | (defproject tetris "0.1.0-SNAPSHOT"
:description "Tetris implementation in ClojureScript."
:url "http://tetris.temochka.com/"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.6.0"]
[org.clojure/clojures... | (defproject tetris "0.1.0-SNAPSHOT"
:description "Tetris implementation in ClojureScript."
:url "http://tetris.temochka.com/"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.6.0"]
[org.clojure/clojures... | Update clojurescript, core.async and remove figwheel config. | Update clojurescript, core.async and remove figwheel config.
| Clojure | epl-1.0 | temochka/tetris-cljs,temochka/tetris-cljs |
5c18bff6dfbbdc72c5304f571e1e559624c88254 | project.clj | project.clj | (defproject d-cent "0.0.1-SNAPSHOT"
:description "Cool new project to do things and stuff"
:dependencies [[org.clojure/clojure "1.4.0"]]
:profiles {:dev {:dependencies [[midje "1.5.1"]]}})
| (defproject d-cent "0.0.1-SNAPSHOT"
:description "Cool new project to do things and stuff"
:dependencies [[org.clojure/clojure "1.4.0"]]
:profiles {:dev {:dependencies [[midje "1.5.1"]]
:plugins [[lein-midje "3.1.3"]]}})
| Add midje plugin to dev profile | Add midje plugin to dev profile
| Clojure | mit | ThoughtWorksInc/objective8,ThoughtWorksInc/objective8,d-cent/objective8,d-cent/objective8,prisamuel/objective8,d-cent/objective8,prisamuel/objective8,prisamuel/objective8,ThoughtWorksInc/objective8,prisamuel/objective8,ThoughtWorksInc/objective8,d-cent/objective8 |
a7f4847a53d1b9cb994319472a09aaf95eb20d78 | project.clj | project.clj | (defproject io.aviso/rook "0.1.10-SNAPSHOT"
:description "Ruby on Rails-style resource mapping for Clojure/Compojure web apps"
:url "https://github.com/AvisoNovate/rook"
:license {:name "Apache Sofware License 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0.html"}
:profiles {:dev
... | (defproject io.aviso/rook "0.1.10-SNAPSHOT"
:description "Ruby on Rails-style resource mapping for Clojure/Compojure web apps"
:url "https://github.com/AvisoNovate/rook"
:license {:name "Apache Sofware License 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0.html"}
:profiles {:dev
... | Update Medley dependency to latest version 0.3.0 | Update Medley dependency to latest version 0.3.0
| Clojure | apache-2.0 | clyfe/rook,roblally/rook,bmabey/rook |
b9f8e4eea437f5a3fedbcea278456d10e199e8da | project.clj | project.clj | (defproject protobuf "0.6.1-beta2"
:description "Clojure-protobuf provides a clojure interface to Google's protocol buffers."
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:url "https://github.com/flatland/clojure-protobuf"
:dependencies [[org.clojure/clo... | (defproject protobuf "0.6.1-beta2"
:description "Clojure-protobuf provides a clojure interface to Google's protocol buffers."
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:url "https://github.com/flatland/clojure-protobuf"
:dependencies [[org.clojure/clo... | Test against multiple Clojure versions. | Test against multiple Clojure versions.
| Clojure | epl-1.0 | l0st3d/clojure-protobuf,oliyh/clojure-protobuf,flatland/clojure-protobuf,ninjudd/clojure-protobuf |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.