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 |
|---|---|---|---|---|---|---|---|---|---|
185dd869ba5b7ffd24464e94400f462b871a092a | project.clj | project.clj | (defproject lapmachine "0.1.0"
:description "A Language/Action Perspective-based engine for pragmatic interaction on the Web"
:url "http://github.com/bpdp/lapmachine"
:license {:name "Eclipse Public License v 1.0"
:url "https://www.eclipse.org/org/documents/epl-v10.php"}
:main lapmachine.repl
:rin... | (defproject lapmachine "0.1.0"
:description "A Language/Action Perspective-based engine for pragmatic interaction on the Web"
:url "http://github.com/bpdp/lapmachine"
:license {:name "Eclipse Public License v 1.0"
:url "https://www.eclipse.org/org/documents/epl-v10.php"}
:main lapmachine.repl
:rin... | Add bigdata 1.4.0 and its dependencies | Add bigdata 1.4.0 and its dependencies
| Clojure | epl-1.0 | bpdp/lunatis |
bebaf420d4a661e36ce3b06962bac6bb5c5fa371 | project.clj | project.clj | (defproject riverford/compound "0.5.0-alpha4"
:description "A micro structure for reagent data"
:url "https://github.com/riverford/compound"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.9.0-RC2"]
[o... | (defproject riverford/compound "2017.12.20-1"
:description "A micro structure for reagent data"
:url "https://github.com/riverford/compound"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.9.0-RC2"]
[o... | Change numbering system for releases | Change numbering system for releases
| Clojure | epl-1.0 | danielneal/compound |
d697bb2e03487713a22c427314a5559ca4283811 | project.clj | project.clj | (defproject jungerer "0.1.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"}
:dependencies [[org.clojure/clojure "1.8.0"]
[n... | (defproject jungerer "0.1.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"}
:dependencies [[org.clojure/clojure "1.8.0"]
[n... | Add `dev-resources` to `resource-paths` of profile dev and 1.7 | Add `dev-resources` to `resource-paths` of profile dev and 1.7
| Clojure | bsd-3-clause | totakke/jungerer |
d8ec011100c1ab1fa1ea4cec02f5e607a755fe14 | project.clj | project.clj | (defproject madouc "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.8.0"]
[ring/ring-core "1.5.1"]
... | (defproject madouc "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.8.0"]
[ring/ring-core "1.5.1"]
... | Add conman and mysql deps | Add conman and mysql deps
| Clojure | epl-1.0 | c-garcia/madouc |
20ae188221a817cb528bbc03e776f8f42bcc243a | project.clj | project.clj | (defproject com.howardlewisship/bgg-graphql-proxy "0.12.0"
:description "GraphQL interface to BoardGameGeek"
:dependencies [[org.clojure/clojure "1.9.0-alpha14"]
[io.aviso/logging "0.2.0"]
[com.walmartlabs/lacinia "NEXT"]
[clj-http "2.3.0"]
[org.cl... | (defproject com.howardlewisship/bgg-graphql-proxy "0.12.0"
:description "GraphQL interface to BoardGameGeek"
:dependencies [[org.clojure/clojure "1.8.0"]
[io.aviso/logging "0.2.0"]
[com.walmartlabs/lacinia "NEXT"]
[clj-http "2.3.0"]
[org.clojure/da... | Switch over to latest Lacinia, based on Clojure 1.8 | Switch over to latest Lacinia, based on Clojure 1.8
| Clojure | apache-2.0 | hlship/boardgamegeek-graphql-proxy,hlship/boardgamegeek-graphql-proxy |
29118cc121349489661f4688612fd0de8bed1c0a | project.clj | project.clj | (defproject pjstadig/assertions "0.2.0-SNAPSHOT"
:description "Zero penalty runtime assertions for Clojure."
:url "http://github.com/pjstadig/assert"
:license {:name "Mozilla Public License, v. 2.0"
:url "http://mozilla.org/MPL/2.0/"}
:dependencies [[org.clojure/clojure "1.5.1"]]
:java-source-path... | (defproject pjstadig/assertions "0.2.0-SNAPSHOT"
:description "Zero penalty runtime assertions for Clojure."
:url "http://github.com/pjstadig/assert"
:license {:name "Mozilla Public License, v. 2.0"
:url "http://mozilla.org/MPL/2.0/"}
:deploy-repositories [["releases" :clojars]]
:dependencies [[or... | Add clojars as release repository. | Add clojars as release repository.
| Clojure | mpl-2.0 | pjstadig/assertions |
98c321116c46c3c942b3231764e3f6d061a88a18 | project.clj | project.clj | (defproject io.aviso/twixt "0.1.4"
: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.4"
: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 dependency for pretty to 0.1.5 | Update dependency for pretty to 0.1.5
| Clojure | apache-2.0 | AvisoNovate/twixt,clyfe/twixt,AvisoNovate/twixt,clyfe/twixt,clyfe/twixt,AvisoNovate/twixt |
bc8a27461be91cebad01808a548dfdf70f2e430f | project.clj | project.clj | (defproject jungerer "0.1.2"
: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.3-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.3-SNAPSHOT) | Prepare for next development iteration (0.1.3-SNAPSHOT)
| Clojure | bsd-3-clause | totakke/jungerer |
7425f30c1e7708eaae1ce93c1f296a4fb4d26249 | project.clj | project.clj | (defproject onyx-app/lein-template "0.10.0.0-rc3"
: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.10.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 |
315edb76c361c7aff617b66dc1b7a47837b25a0d | hr-client/hr-clojure/src/infinispan/test.clj | hr-client/hr-clojure/src/infinispan/test.clj | (ns infinispan.test
(:gen-class)
(:import (org.infinispan.client.hotrod RemoteCacheManager
RemoteCache)
(org.infinispan.client.hotrod.configuration ConfigurationBuilder)
(org.infinispan.client.hotrod.impl ConfigurationProperties)))
(defn -main
"Creat... | (ns infinispan.test
(:gen-class)
(:import (org.infinispan.client.hotrod RemoteCacheManager
RemoteCache)
(org.infinispan.client.hotrod.configuration ConfigurationBuilder)
(org.infinispan.client.hotrod.impl ConfigurationProperties)))
(defn -main
"Creat... | Use more readable conf in Cloure clinet | Use more readable conf in Cloure clinet
| Clojure | mit | vjuranek/infinispan-snippets,vjuranek/infinispan-snippets,vjuranek/infinispan-snippets,vjuranek/infinispan-snippets |
9aa3016e21622ffde41b7c96f53feeea78d130da | src/blaagh/db/core.clj | src/blaagh/db/core.clj | (ns blaagh.db.core
(:require [clojure.java.jdbc :as sql])
(:require [yesql.core :refer [defqueries]]))
(def db-spec {
:classname "org.sqlite.JDBC"
:subprotocol "sqlite"
:subname "resources/db/blaagh.sqlite3"}) ;; creates DB if not already present
(defqueries "blaagh/db/queries.sql"
{:connection... | (ns blaagh.db.core
(:require [clojure.java.jdbc :as sql])
(:require [yesql.core :refer [defqueries]]))
(def db-spec {
:classname "org.sqlite.JDBC"
:subprotocol "sqlite"
:subname "resources/db/blaagh.sqlite3"}) ;; creates DB if not already present
(defqueries "blaagh/db/queries.sql"
{:connection... | Add a try/catch block to get-all-names | Add a try/catch block to get-all-names
| Clojure | epl-1.0 | jerhow/blaagh |
b6fb72c28a9ddfc7d905bffc178d1b4c6845e893 | project.clj | project.clj | (defproject org.onyxplatform/onyx-bookkeeper "0.8.1.0-alpha6"
:description "Onyx plugin for BookKeeper"
:url "https://github.com/onyx-platform/onyx-bookkeeper"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:repositories {"snapshots" {:url "https://clojars... | (defproject org.onyxplatform/onyx-bookkeeper "0.8.1.0-SNAPSHOT"
:description "Onyx plugin for BookKeeper"
:url "https://github.com/onyx-platform/onyx-bookkeeper"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:repositories {"snapshots" {:url "https://cloja... | Prepare for next release cycle. | Prepare for next release cycle.
| Clojure | epl-1.0 | onyx-platform/onyx-bookkeeper |
f8cf6f75a4ed5335aba52b57c7aa78ed67edab15 | project.clj | project.clj | (defproject net.uncontended/beehive "0.2.0"
:description "Beehive is a Clojure facade for the Precipice library."
:url "https://github.com/tbrooks8/Beehive"
:license {:name "Apache License, Version 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0"}
:profiles {:dev {:dependencies [[org.clojure/c... | (defproject net.uncontended/beehive "0.2.0"
:description "Beehive is a Clojure facade for the Precipice library."
:url "https://github.com/tbrooks8/Beehive"
:license {:name "Apache License, Version 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0"}
:signing {:gpg-key "tim@uncontended.net"}
:p... | Add which signing to use | Add which signing to use
| Clojure | apache-2.0 | tbrooks8/Beehive |
b381c460a549d606923539eeb257a3f909b37238 | src/leiningen/core.clj | src/leiningen/core.clj | (ns leiningen.core
(:require [leiningen deps test compile]
[clojure.contrib.with-ns])
(:gen-class))
(def project nil)
(defmacro defproject [project-name & args]
;; This is necessary since we must allow defproject to be eval'd in
;; any namespace due to load-file; we can't just create a var with
... | (ns leiningen.core
(:use [clojure.contrib.with-ns])
(:gen-class))
(def project nil)
(defmacro defproject [project-name & args]
;; This is necessary since we must allow defproject to be eval'd in
;; any namespace due to load-file; we can't just create a var with
;; def or we would not have access to it once ... | Use with-ns so defproject works unqualified. Bind *compile-path* explicitly. | Use with-ns so defproject works unqualified. Bind *compile-path* explicitly.
Not sure why explicit *compile-path* is required, but it was getting
reset somehow.
| Clojure | epl-1.0 | 0/leiningen,ato/leiningen,0/leiningen |
143e8c68da5b6e71d2ef8d6e7967bfd416b84722 | services/mailit.clj | services/mailit.clj |
{
:name "mailit",
:path "",
:func (fn [recipient subject intro result-maps]
(cond
(pg/eoi? result-maps) (pg/done)
(every? map? result-maps)
(let [msgs (for [retmap result-maps]
(let [name (retmap :name)
[bams csv] (retm... |
{
:name "mailit",
:path "",
:func (fn [recipient subject intro result-maps]
(cond
(pg/eoi? result-maps) (pg/done)
(every? map? result-maps)
(let [base (->> result-maps first :value second fs/dirname)
msgs (for [retmap result-maps]
(... | Adjust job status messaging info | Adjust job status messaging info
| Clojure | mit | jsa-aerial/aerobio,jsa-aerial/aerobio,jsa-aerial/aerobio,jsa-aerial/aerobio,jsa-aerial/aerobio |
8d89211eb70cc85d66b1efa55a81b60f44c5d12b | src/whitman/client.clj | src/whitman/client.clj | (ns whitman.client)
(def source-url [cfg user]
(format (get cfg "source") user))
| (ns whitman.client)
(defn source-url [cfg user]
(format (get cfg "source") user))
| Use defn instead of def | Fix: Use defn instead of def
Oops.
| Clojure | bsd-3-clause | mdippery/whitman |
fe2984666013b496c3b39a6d3812827bd8c2329a | src/re_frame/utils.cljs | src/re_frame/utils.cljs | (ns re-frame.utils)
(defn warn
[& args]
(.warn js/console (apply str args)))
(defn first-in-vector
[v]
(if (vector? v)
(first v)
(warn "re-frame: expected a vector event, but got: " v)))
| (ns re-frame.utils)
(defn warn
[& args]
(.warn js/console (apply str args)))
(defn dbg
[& args]
(.debug js/console (apply str args)))
(defn log
[& args]
(.log js/console (apply str args)))
(defn group
[& args]
(.group js/console (apply str args)))
(defn groupEnd
[]
(.groupEnd j... | Add other round of console API methods. Not very happy about this. But will sort it out later. | Add other round of console API methods. Not very happy about this. But will sort it out later.
| Clojure | mit | Day8/re-frame,danielcompton/re-frame,johnswanson/re-frame,led/re-frame,danielcompton/re-frame,daiyi/re-frame,chpill/re-frankenstein,Day8/re-frame,chpill/re-frankenstein,daiyi/re-frame,martinklepsch/re-frame,ducky427/re-frame,martinklepsch/re-frame,daiyi/re-frame,greywolve/re-frame,richardharrington/re-frame,cryptonomic... |
f52bfc6409a94899bc414b7909f5d1926a7da8f2 | assignments/clojure/bob/bob_test.clj | assignments/clojure/bob/bob_test.clj | (ns bob.test (:use clojure.test))
(load-file "bob.clj")
(deftest responds-to-shouts
(is (= "Woah, chill out!" (bob/response-for "SHOUTING"))))
(deftest responds-to-questions
(is (= "Sure." (bob/response-for "A question?"))))
(deftest responds-to-statements
(is (= "Whatever." (bob/response-for "A statement.")))... | (ns bob.test (:use clojure.test))
(load-file "bob.clj")
(deftest responds-to-something
(is (= "Whatever." (bob/response-for "Tom-ay-to, tom-aaaah-to."))))
(deftest responds-to-shouts
(is (= "Woah, chill out!" (bob/response-for "WATCH OUT!"))))
(deftest responds-to-questions
(is (= "Sure." (bob/response-for "Do... | Bring tests in line with Ruby tests. | Bring tests in line with Ruby tests.
The Ruby spec for Bob includes a number of tests that clarify certain
points of Bob's behavior. This commit brings them to the Clojure spec
for Bob.
| Clojure | mit | exercism/xclojure,exercism/xclojure,yurrriq/xclojure,wobh/xclojure,canweriotnow/xclojure,querenker/xclojure,querenker/xclojure |
cc2e4f41127000b586cf732a3e002b2b710afdfd | reports/src/reports/exporter.clj | reports/src/reports/exporter.clj | (ns reports.exporter
(:require [clojure.java.io :as io])
(:import java.io.File
java.util.UUID
org.waterforpeople.mapping.dataexport.SurveyDataImportExportFactory))
(defn- get-file-extension [t]
(if (= t "SURVEY_FORM")
"xls"
"xlsx"))
(defn- get-file [et id]
(let [path (str "/var/t... | (ns reports.exporter
(:require [clojure.java.io :as io])
(:import java.io.File
java.util.UUID
org.waterforpeople.mapping.dataexport.SurveyDataImportExportFactory))
(defn- get-file-extension [t]
(if (= t "SURVEY_FORM")
"xls"
"xlsx"))
(defn- get-path []
(format "%s/%s/%s" (System/g... | Use java.io.tmpdir for storing the exported files | Use java.io.tmpdir for storing the exported files
| Clojure | agpl-3.0 | akvo/akvo-flow,akvo/akvo-flow,akvo/akvo-flow,akvo/akvo-flow,akvo/akvo-flow |
62b501157ef96a51f128c44037613455801bdb7f | src/discuss/cards.cljs | src/discuss/cards.cljs | (ns discuss.cards
(:require [devcards.core :as dc :refer-macros [defcard defcard-om defcard-om-next dom-node]]
[sablono.core :as html :refer-macros [html]]
[om.next :as om :refer-macros [defui]]
[discuss.parser :as parser]
[discuss.components.search.statements :refer [S... | (ns discuss.cards
(:require [devcards.core :as dc :refer-macros [defcard defcard-om defcard-om-next dom-node]]
[sablono.core :as html :refer-macros [html]]
[om.next :as om :refer-macros [defui]]
[discuss.parser :as parser]
[discuss.components.search.statements :refer [S... | Add separate card for search-results | Add separate card for search-results
| Clojure | mit | hhucn/discuss,hhucn/discuss |
639e53579ef93c136f7bd2c0ee0ca7a9da25b1a8 | src/lcmap/clownfish/configuration.clj | src/lcmap/clownfish/configuration.clj | (ns lcmap.clownfish.configuration
"Supplies system configuration map"
(:require [clojure.string :as str]
[clojure.tools.logging :as log]
[dire.core :as dire :refer [with-handler!]]
[lcmap.commons.numbers :refer [numberize]]
[mount.core :refer [defstate] :as mount]))
... | (ns lcmap.clownfish.configuration
"Supplies system configuration map"
(:require [clojure.string :as str]
[clojure.tools.logging :as log]
[dire.core :as dire :refer [with-handler!]]
[lcmap.commons.numbers :refer [numberize]]
[mount.core :refer [defstate] :as mount]))
... | Set DB consistency to quorum | Set DB consistency to quorum
| Clojure | unlicense | USGS-EROS/lcmap-changes,USGS-EROS/lcmap-changes,USGS-EROS/lcmap-changes,USGS-EROS/lcmap-changes |
90e2d3b0ae8978f479206e9ad154977bfff65c8d | test/cljs/reitit/doo_runner.cljs | test/cljs/reitit/doo_runner.cljs | (ns reitit.doo-runner
(:require [doo.runner :refer-macros [doo-tests]]
reitit.coercion-test
reitit.core-test
reitit.impl-test
reitit.middleware-test
reitit.ring-test
#_reitit.spec-test
reitit.exception-test
reitit.frontend... | (ns reitit.doo-runner
(:require [doo.runner :refer-macros [doo-tests]]
reitit.coercion-test
reitit.core-test
reitit.impl-test
reitit.middleware-test
reitit.ring-test
reitit.spec-test
reitit.exception-test
reitit.frontend.c... | Return of the spec-tests for cljs | Return of the spec-tests for cljs
| Clojure | epl-1.0 | metosin/reitit,metosin/reitit,metosin/reitit |
4f7da1b3e5c5573a47eadb9ec8b2fc93272f2b3d | evermind.core/test/evermind/domain/core_test.clj | evermind.core/test/evermind/domain/core_test.clj | (ns evermind.domain.core-test
(:require [clojure.test :refer :all]
[evermind.domain.core :refer :all]
[clojure.spec.test.alpha :as stest]
[evermind.test-util :as tu]))
(defn fixture [f]
(tu/instrument-namespaces)
(f))
(use-fixtures :once fixture)
(deftest test-create-node
... | (ns evermind.domain.core-test
(:require [clojure.test :refer :all]
[evermind.domain.core :refer :all]
[clojure.spec.test.alpha :as stest]
[evermind.test-util :as tu]))
(defn fixture [f]
(tu/instrument-namespaces)
(f))
(use-fixtures :once fixture)
(deftest test-create-node
... | Fix number of tests for filter-children. | Fix number of tests for filter-children.
| Clojure | epl-1.0 | d4span/evermind,d4span/evermind |
77fe4e565a6417157ff8cef4becdb3208d353ab3 | src/midje/internal_ideas/fact_context.clj | src/midje/internal_ideas/fact_context.clj | (ns ^{:doc "A way to keep track of the pertinent context of the current nested fact.
Currently, that is only the fact's description/doc-string"}
midje.internal-ideas.fact-context
(:use [clojure.string :only [join]]))
(def fact-context (atom []))
(defn nested-descriptions []
@fact-context)
(defn- en... | (ns ^{:doc "A way to keep track of the pertinent context of the current nested fact.
Currently, that is only the fact's description/doc-string"}
midje.internal-ideas.fact-context
(:use [clojure.string :only [join]]))
(def ^{:dynamic true} *fact-context* [])
(defn nested-descriptions []
*fact-context... | Switch from atom to var | Switch from atom to var | Clojure | mit | yfractal/Midje,aeriksson/Midje,marick/Midje,bens/Midje |
a538d45a214cdf67595cfa7ac5f6984047e4620f | clojure/lein.symlink/profiles.clj | clojure/lein.symlink/profiles.clj | {:user {:dependencies [[slamhound "1.3.1"]
[org.clojure/tools.namespace "0.2.4"]
[clj-stacktrace "0.2.7"]]
:plugins [[lein-difftest "2.0.0"]
[lein-marginalia "0.7.1"]
[lein-pprint "1.1.1"]
[lein-swank "1.4.4"]
... | {:user {:dependencies [[slamhound "1.3.1"]
[org.clojure/tools.namespace "0.2.4"]
[clj-stacktrace "0.2.7"]]
:plugins [[lein-pprint "1.1.1"]
[lein-difftest "2.0.0"]
[lein-cloverage "1.0.2"]
[lein-marginalia "0.7.1... | Add cloverage to lein plugins | Add cloverage to lein plugins
| Clojure | mit | jcf/ansible-dotfiles,jcf/ansible-dotfiles,jcf/ansible-dotfiles,jcf/ansible-dotfiles,jcf/ansible-dotfiles |
402dd08188518318d1cbbc2eb0263a3c6f3f5294 | project.clj | project.clj | (defproject onyx-app/lein-template "0.9.10.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.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 |
8ba6b1d719753d36adb70afd6194bf624e317169 | src/incise/watcher.clj | src/incise/watcher.clj | (ns incise.watcher
(:require [taoensso.timbre :refer [error]]
[clojure.stacktrace :refer [print-cause-trace]]
[watchtower.core :refer [watcher rate file-filter extensions
on-change]]))
(defn log-exceptions [func]
"Log (i.e. print) exceptions received fro... | (ns incise.watcher
(:require [taoensso.timbre :refer [error]]
[clojure.stacktrace :refer [print-cause-trace]]
[watchtower.core :refer [watcher rate file-filter extensions
on-change]])
(:import [java.io File]))
(defn log-exceptions [func]
"Log (i.e. pri... | Delete public directory when watching starts. | Delete public directory when watching starts.
| Clojure | epl-1.0 | RyanMcG/incise-core |
6d2250503f8651c243a09a11dd8396a9d644cb21 | src/graphql_clj/box.clj | src/graphql_clj/box.clj | (ns graphql-clj.box
(:import [clojure.lang IObj IDeref IPersistentCollection Named]
[java.io Writer]))
(deftype Box [value meta]
IObj
(meta [_] meta)
IDeref
(deref [_] (if (instance? Box value) @value value))
IPersistentCollection
(equiv [a b] (.equals a b))
Named
(getName [this] (if (... | (ns graphql-clj.box
(:import [clojure.lang IObj IDeref IPersistentCollection Named]
[java.io Writer]))
(deftype Box [value meta]
IObj
(meta [_] meta)
IDeref
(deref [_] (if (instance? Box value) @value value))
IPersistentCollection
(equiv [a b] (.equals a b))
Named
(getName [_] (if (ins... | Use str instead of .toString | Use str instead of .toString
| Clojure | epl-1.0 | tendant/graphql-clj |
77a681cc7d1337afed6f6c3ab70f76a9faa26239 | integration-tests/apps/tx/src/tx/listen.clj | integration-tests/apps/tx/src/tx/listen.clj | (ns tx.listen
(:use clojure.test)
(:require [immutant.cache :as ic]
[immutant.messaging :as imsg]
[tx.core :as core]))
(imsg/start "/queue/trigger")
(defn listener [m]
(imsg/publish "/queue/test" "kiwi")
(imsg/publish "/queue/remote-test" "starfruit" :host "localhost" :port 5445)
(ic... | (ns tx.listen
(:use clojure.test)
(:require [immutant.cache :as ic]
[immutant.messaging :as imsg]
[tx.core :as core]))
(imsg/start "/queue/trigger")
(defn listener [m]
(imsg/publish "/queue/test" "kiwi")
(imsg/publish "/queue/remote-test" "starfruit" :host "localhost" :port 5445)
(ic... | Speed up test a bit | Speed up test a bit
| Clojure | apache-2.0 | immutant/immutant,coopsource/immutant,kbaribeau/immutant,coopsource/immutant,kbaribeau/immutant,coopsource/immutant,immutant/immutant,immutant/immutant,kbaribeau/immutant,immutant/immutant |
55b4d004029f73e958cabafb3d13b360be740681 | src/braid/server/bots.clj | src/braid/server/bots.clj | (ns braid.server.bots
(:require
[org.httpkit.client :as http]
[taoensso.timbre :as timbre]
[braid.server.crypto :as crypto]
[braid.server.util :refer [->transit]])
(:import
java.io.ByteArrayInputStream))
(defn send-message-notification
[bot message]
(let [body (->transit message)
hm... | (ns braid.server.bots
"Sending notification of messages and events to bots"
(:require
[braid.server.crypto :as crypto]
[braid.server.util :refer [->transit]]
[org.httpkit.client :as http]
[taoensso.timbre :as timbre])
(:import
(java.io ByteArrayInputStream)))
(defn send-message-notification
... | Fix ns form, add docstring | Fix ns form, add docstring
| Clojure | agpl-3.0 | braidchat/braid,rafd/braid,braidchat/braid,rafd/braid |
024ae8f46f8ea5cdd76b46a3f09bb4f5ee99774a | src/puppetlabs/trapperkeeper/utils.clj | src/puppetlabs/trapperkeeper/utils.clj | (ns puppetlabs.trapperkeeper.utils)
(def ^{:doc "Alias for plumbing.map/map-leaves-and-path, which is named inconsistently
with Clojure conventions as it doesn't behave like other `map` functions.
Map functions typically return a `seq`, never a map, and walk functions
are used to mo... | (ns puppetlabs.trapperkeeper.utils
(:require [plumbing.map]))
(def ^{:doc "Alias for plumbing.map/map-leaves-and-path, which is named inconsistently
with Clojure conventions as it doesn't behave like other `map` functions.
Map functions typically return a `seq`, never a map, and walk function... | Add missing require for 'plumbing.map' | Add missing require for 'plumbing.map'
| Clojure | apache-2.0 | scotje/trapperkeeper,senior/trapperkeeper,rbramwell/trapperkeeper,senior/trapperkeeper,camlow325/trapperkeeper,nwolfe/trapperkeeper,nwolfe/trapperkeeper,puppetlabs/trapperkeeper |
4f2ac29df0afa63509eacda66ed674f6b869c7fb | test/clj/rumahsewa141/test/db/core.clj | test/clj/rumahsewa141/test/db/core.clj | (ns rumahsewa141.test.db.core
(:require [rumahsewa141.db.core :refer [*db*] :as db]
[luminus-migrations.core :as migrations]
[clojure.test :refer :all]
[clojure.java.jdbc :as jdbc]
[rumahsewa141.config :refer [env]]
[mount.core :as mount]))
(use-fixtures
... | (ns rumahsewa141.test.db.core
(:require [rumahsewa141.db.core :refer [*db*] :as db]
[luminus-migrations.core :as migrations]
[clojure.test :refer :all]
[clojure.java.jdbc :as jdbc]
[rumahsewa141.config :refer [env]]
[mount.core :as mount]))
(use-fixtures
... | Update test just to make it works | Update test just to make it works
| Clojure | mit | burhanloey/rumahsewa141 |
02b28a3e865e1e743c82254d601ad9d244ac8c6e | src/pericles/routes.clj | src/pericles/routes.clj | (ns pericles.routes
(:require [compojure.core :refer :all]
[compojure.route :as route]
[ring.middleware.defaults :refer [wrap-defaults api-defaults]]
[gpio.core :as gpio]
[pericles.gpio :refer [port]]
[pericles.handlers :as handlers]))
(defroutes api-routes... | (ns pericles.routes
(:require [compojure.core :refer :all]
[compojure.route :as route]
[compojure.coercions :refer [as-int]]
[ring.middleware.defaults :refer [wrap-defaults api-defaults]]
[ring.util.http-response :as resp]
[gpio.core :as gpio]
[p... | Return new value on write | Return new value on write
| Clojure | epl-1.0 | dimitrijer/pericles,dimitrijer/pericles |
411ac9be4931ab8c3d46baf82c9d9230fb60a091 | src/pericles/routes.clj | src/pericles/routes.clj | (ns pericles.routes
(:require [compojure.core :refer :all]
[compojure.route :as route]
[compojure.coercions :refer [as-int]]
[ring.middleware.defaults :refer [wrap-defaults api-defaults]]
[ring.util.http-response :as resp]
[gpio.core :as gpio]
[p... | (ns pericles.routes
(:require [compojure.core :refer :all]
[compojure.route :as route]
[compojure.coercions :refer [as-int]]
[ring.middleware.defaults :refer [wrap-defaults api-defaults]]
[ring.util.http-response :as resp]
[gpio.core :as gpio]
[p... | Read port on load; Redirect / to index.html | Read port on load; Redirect / to index.html
| Clojure | epl-1.0 | dimitrijer/pericles,dimitrijer/pericles |
bd108aa684eec99e5910f40570dc22d3af0197d1 | src/whitman/core.clj | src/whitman/core.clj | (ns whitman.core
(:require [clojure.data.json :as json])
(:gen-class))
(defn exit [code msg]
(binding [*out* *err*]
(do (println msg)
(System/exit code))))
(defn -main [& args]
(if (< (count args) 1)
(exit 1 "No configuration file specified")
(println (json/read-str (slurp (nth args 0)... | (ns whitman.core
(:require [clojure.data.json :as json])
(:gen-class))
(defn exit [code msg]
(binding [*out* *err*]
(do (println msg)
(System/exit code))))
(defn -main [& args]
(if (< (count args) 1)
(exit 1 "No configuration file specified")
(-> (nth args 0)
slurp
... | Use thread macro to clarify code | Use thread macro to clarify code
| Clojure | bsd-3-clause | mdippery/whitman |
6a2e841c969a03ac475642e2124cb7c9ccb87e87 | src/my_noir_lab/views/welcome.clj | src/my_noir_lab/views/welcome.clj | (ns my-noir-lab.views.welcome
(:require [my-noir-lab.views.common :as common])
(:use [noir.core :only [defpage render]]
[hiccup.core :only [html]]
[hiccup.form-helpers :only [form-to submit-button]]))
(defpage "/welcome" []
(common/layout
[:p "Welcome to my-noir-lab"]))
(defpage "/my-page" []... | (ns my-noir-lab.views.welcome
(:require [my-noir-lab.views.common :as common])
(:use [noir.core :only [defpage render]]
[hiccup.core :only [html]]
[hiccup.form-helpers :only [form-to submit-button]]))
(defpage "/welcome" []
(common/layout
[:p "Welcome to my-noir-lab"]))
(defpage "/my-page" []... | Delete the render method at the moment. | Delete the render method at the moment.
| Clojure | epl-1.0 | lazyposse/fnx |
3f7718777b0e14d314c240ab810e68760197a32a | src/karmanaut/utils.clj | src/karmanaut/utils.clj | (ns karmanaut.utils
(:gen-class)
(:require [clojure.java.io :as io])
(:import [java.util Date]))
(defn env [key default]
(get (System/getenv) key default))
(defn version []
(if (.exists (io/as-file "project.clj"))
(-> "project.clj" slurp read-string (nth 2))
(-> (eval 'karmanaut.utils) .getPackage .... | (ns karmanaut.utils
(:gen-class)
(:require [clojure.java.io :as io])
(:import [java.util Calendar
Date
GregorianCalendar
TimeZone]))
(defn env [key default]
(get (System/getenv) key default))
(defn version []
(if (.exists (io/as-file "project... | Return current time, UTC, floored to midnight | utcnow-midnight: Return current time, UTC, floored to midnight
| Clojure | bsd-3-clause | mdippery/karmanaut |
db7fbe9eb064add5c47a1fae844e403f91684683 | project.clj | project.clj | (defproject io.aviso/rook "0.1.8-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"}
;; Normally we don't AOT comp... | (defproject io.aviso/rook "0.1.8-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"}
;; Normally we don't AOT comp... | Update dependency to latest usable version | Update dependency to latest usable version
| Clojure | apache-2.0 | clyfe/rook,roblally/rook,bmabey/rook |
f8d354592d5e57b4e33d74884c34bdbf8209c129 | project.clj | project.clj | ;(defproject cli4clj "1.3.2"
(defproject cli4clj "1.3.3-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.3.2"
(defproject cli4clj "1.3.3-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... | Update eastwood and core.async dependencies. | Update eastwood and core.async dependencies.
| Clojure | epl-1.0 | ruedigergad/cli4clj |
9b3e41432c0b44252a6aca79448a683ef7b237d7 | project.clj | project.clj | (defproject uxbox "0.1.0-SNAPSHOT"
:description "UXBox client"
:url "http://uxbox.github.io"
:license {:name "" :url ""}
:dependencies [[org.clojure/clojure "1.7.0" :scope "provided"]
[org.clojure/clojurescript "1.7.228" :scope "provided"]
[figwheel-sidecar "0.5.0-2" :scope "t... | (defproject uxbox "0.1.0-SNAPSHOT"
:description "UXBox client"
:url "http://uxbox.github.io"
:license {:name "" :url ""}
:jvm-opts ["-Dclojure.compiler.direct-linking=true"]
:dependencies [[org.clojure/clojure "1.8.0" :scope "provided"]
[org.clojure/clojurescript "1.7.228" :scope "provided"]... | Set clojure 1.8.0 as default clojure. | Set clojure 1.8.0 as default clojure.
| Clojure | mpl-2.0 | uxbox/uxbox,studiospring/uxbox,studiospring/uxbox,uxbox/uxbox,uxbox/uxbox,studiospring/uxbox |
7fc8963b142b72fb29304afb77702d9023adedf0 | project.clj | project.clj | (defproject onyx-plugin/lein-template "0.8.2.5"
:description "A Leiningen 2.0 template for new Onyx plugins"
:url "http://github.com/MichaelDrogalis/onyx-plugin"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:repositories {"snapshots" {:url "https://cloja... | (defproject onyx-plugin/lein-template "0.8.2.6-SNAPSHOT"
:description "A Leiningen 2.0 template for new Onyx plugins"
:url "http://github.com/MichaelDrogalis/onyx-plugin"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:repositories {"snapshots" {:url "http... | Prepare for next release cycle. | Prepare for next release cycle.
| Clojure | epl-1.0 | onyx-platform/onyx-plugin |
138528fa1fe96f56d759c688a8e668b19d37db6c | project.clj | project.clj | (defproject strava-activity-graphs "0.1.0-SNAPSHOT"
:description "Generate statistical charts for Strava activities"
:url "https://github.com/nicokosi/strava-activity-graphs"
:license {:name "Creative Commons Attribution 4.0"
:url "https://creativecommons.org/licenses/by/4.0/"}
:dependencies [[org.... | (defproject strava-activity-graphs "0.1.0-SNAPSHOT"
:description "Generate statistical charts for Strava activities"
:url "https://github.com/nicokosi/strava-activity-graphs"
:license {:name "Creative Commons Attribution 4.0"
:url "https://creativecommons.org/licenses/by/4.0/"}
:dependencies [[org.... | Update dependency org.clojure:clojure to v1.10.3 | Update dependency org.clojure:clojure to v1.10.3
| Clojure | unlicense | nicokosi/strava-activity-graphs |
50201848bc732b0be5f4c48c90f2b61a22d7b7ef | build.boot | build.boot | (set-env!
:source-paths #{"src"}
:dependencies '[[org.clojure/clojure "1.6.0" :scope "provided"]
[boot/core "2.1.0" :scope "provided"]
[junit "4.12"]
[org.reflections/reflections "0.9.10"]
[org.glassfish/javax.servlet "3.0"... | (set-env!
:source-paths #{"src"}
:dependencies '[[org.clojure/clojure "1.6.0" :scope "provided"]
[boot/core "2.1.0" :scope "provided"]
[junit "4.12" :scope "test"]
[org.reflections/reflections "0.9.10" :scope "test"... | Add clansi as a dependency | Add clansi as a dependency
| Clojure | epl-1.0 | RadicalZephyr/boot-junit |
b8973b282822fd7fae3504720f8c0fdd8ab8344d | profiles.clj | profiles.clj | {
:uberjar {
:aot :all
}
:dev {
:resource-paths ["src/dev/resources"]
:source-paths ["src/dev/clj"]
:dependencies [[org.clojure/tools.namespace "0.2.7"]]
:env {:db-url "plocal:D:/temp/orientdb/dev"
:db-admin-user nil
:db-admin-pwd nil
:bind 8081}
}
:test {
... | {
:uberjar {
:aot :all
}
:dev {
:resource-paths ["src/dev/resources"]
:source-paths ["src/dev/clj"]
:dependencies [[org.clojure/tools.namespace "0.2.7"]]
:env {:db-url "memory:devdb"
:db-admin-user nil
:db-admin-pwd nil
:bind 8081}
}
:test {
:resource-path... | Switch to in-memory database default for dev/test. | Switch to in-memory database default for dev/test.
| Clojure | mit | jandorfer/planted,jandorfer/planted |
69259b91d843e5017b68081809ec21f73862ffa3 | src/clj_gatling/core.clj | src/clj_gatling/core.clj | (ns clj-gatling.core
(:import (org.joda.time LocalDateTime))
(:require [clojure-csv.core :as csv]
[clj-gatling.chart :as chart]
[clj-gatling.report :as report]
[clj-gatling.simulation :as simulation]))
(def results-dir "target/results")
(defn create-dir [dir]
(.mkdirs (java.i... | (ns clj-gatling.core
(:import (org.joda.time LocalDateTime))
(:require [clojure-csv.core :as csv]
[clj-gatling.chart :as chart]
[clj-gatling.report :as report]
[clj-gatling.simulation :as simulation]))
(defn create-dir [dir]
(.mkdirs (java.io.File. dir)))
(defn run-simulation... | Add possibility to configure root path via :root key | Add possibility to configure root path via :root key
| Clojure | epl-1.0 | mhjort/clj-gatling |
26bb4d43d9216b0daa24efec495de427d0c018d8 | metrics-clojure-core/test/metrics/test/test_utils.clj | metrics-clojure-core/test/metrics/test/test_utils.clj | (ns metrics.test.test-utils
(:import java.util.concurrent.TimeUnit))
(defn abs
[n]
(if (> n 0) n (* -1 n)))
(defn maps-within-one
[a b]
(when (= (set (keys a)) (set (keys b)))
(every? identity
(map #(within-one (a %) (b %))
(keys a)))))
| (ns metrics.test.test-utils
(:import java.util.concurrent.TimeUnit))
(defn abs
[n]
(if (> n 0) n (* -1 n)))
(defn within-one [a b]
(<= (abs (- a b))
1))
(defn within-ten [a b]
(<= (abs (- a b))
10))
(defn maps-within-one
[a b]
(when (= (set (keys a)) (set (keys b)))
(every? identity
... | Bring back some test helpers | Bring back some test helpers
| Clojure | mit | matthiasn/metrics-clojure |
36273697b5a4511a4114d3e38e829991eae29dd6 | build.boot | build.boot | #!/usr/bin/env boot
(set-env!
:source-paths #{"less" "src"}
:resource-paths #{"html" "resources"}
:dependencies '[; Boot setup
[adzerk/boot-cljs "1.7.170-1"]
[adzerk/boot-reload "0.4.1"]
[deraen/boot-less "0.4.2"]
[pandeiro/boot-http "0.7.0-... | #!/usr/bin/env boot
(set-env!
:source-paths #{"less" "src"}
:resource-paths #{"html" "resources"}
:dependencies '[; Boot setup
[adzerk/boot-cljs "1.7.170-1"]
[adzerk/boot-reload "0.4.1"]
[deraen/boot-less "0.4.2"]
[pandeiro/boot-http "0.7.0-... | Add a "boot release" task to generate optimized JS/CSS | Add a "boot release" task to generate optimized JS/CSS
| Clojure | agpl-3.0 | Jannis/om-next-kanban-demo,Jannis/om-next-kanban-demo |
ac719fa61cce368be7e4dd14b1db7ee0c49a5b9c | src/leiningen/deps.clj | src/leiningen/deps.clj | (ns leiningen.deps
(:require [lancet])
(:use [leiningen]
[clojure.contrib.java-utils :only [file]])
(:import [org.apache.maven.model Dependency]
[org.apache.maven.artifact.ant DependenciesTask]
[org.apache.tools.ant.util FlatFileNameMapper]))
(defn- make-dependency [[group name vers... | (ns leiningen.deps
(:require [lancet])
(:use [clojure.contrib.java-utils :only [file]])
(:import [org.apache.maven.model Dependency]
[org.apache.maven.artifact.ant DependenciesTask]
[org.apache.tools.ant.util FlatFileNameMapper]))
(defn- make-dependency [[group name version]]
(doto (Depen... | Fix dependency unpacking to use right directory. | Fix dependency unpacking to use right directory.
| Clojure | epl-1.0 | 0/leiningen,0/leiningen,ato/leiningen |
964c8e17be758f728bb7dd44fa8cf560cbb900c1 | src/leiningen/ring.clj | src/leiningen/ring.clj | (ns leiningen.ring
(:use [leiningen.help :only (help-for subtask-help-for)]
[leiningen.ring.server :only (server)]
[leiningen.ring.server-headless :only (server-headless)]
[leiningen.ring.war :only (war)]
[leiningen.ring.uberwar :only (uberwar)]))
(defn ring
"Manage a Ring-based app... | (ns leiningen.ring
(:use [leiningen.help :only (help-for subtask-help-for)]
[leiningen.ring.server :only (server)]
[leiningen.ring.server-headless :only (server-headless)]
[leiningen.ring.war :only (war)]
[leiningen.ring.uberwar :only (uberwar)]))
(defn- nary? [v n]
(some #{n} (map ... | Fix help task for leiningen 2.0. | Fix help task for leiningen 2.0.
| Clojure | epl-1.0 | MichaelBlume/lein-ring |
c07df45c48777473b90cf306ac3ddfa9fbe634eb | build.boot | build.boot | (set-env!
:source-paths #{"src"}
:resource-paths #{"src"}
:dependencies '[[org.clojure/clojure "1.6.0" :scope "provided"]
[boot/core "2.1.0" :scope "provided"]
[junit "4.12" :scope "test"]
[radicalzephyr/bootlaces "0.1.12"]])
(r... | (set-env!
:source-paths #{"src"}
:resource-paths #{"src"}
:dependencies '[[org.clojure/clojure "1.6.0" :scope "provided"]
[boot/core "2.1.0" :scope "provided"]
[junit "4.12" :scope "test"]
[radicalzephyr/bootlaces "0.1.15-SNAPSHO... | Update to my latest and greatest bootlaces | Update to my latest and greatest bootlaces
| Clojure | epl-1.0 | RadicalZephyr/boot-junit |
3195b4c43687e01e91e202a473f240a94339d0b5 | project/analyze-data/src/analyze_data/train_model.clj | project/analyze-data/src/analyze_data/train_model.clj | (ns analyze-data.train-model
(:require [analyze-data.naive-bayes.train :as naive-bayes]
[analyze-data.serialize :refer [read-object write-object!]]))
(defmulti train-model
"Train a model on a dataset.
model-type: one of [:knn :naive-bayes]
dataset: a dataset (e.g. produced by corpus-to-dataset)
... | (ns analyze-data.train-model
(:require [analyze-data.naive-bayes.train :as naive-bayes]
[analyze-data.serialize :refer [read-object write-object!]]))
(defmulti train-model
"Train a model on a dataset.
model-type: one of [:knn :naive-bayes]
dataset: a dataset (e.g. produced by corpus-to-dataset)
... | Add exclamation point to train-model-file\! | Add exclamation point to train-model-file\!
| Clojure | mit | dylanfprice/stanfordml,dylanfprice/stanfordml |
2b40c556a544c0ba8ac9bab53dd073623a80f7dd | src/rest/core.clj | src/rest/core.clj | (ns rest.core
(:require
[ring.util.response :as resp]
[compojure.handler :as handler]
[compojure.core :refer [routes]]
; Auth
[cemerick.friend :as friend]
(cemerick.friend [credentials :as credentials]
[workflows :as workflows])
[rest.auth.views :refer [unauthorized]]
... | (ns rest.core
(:require
[ring.util.response :as resp]
[compojure.handler :as handler]
[compojure.core :refer [routes]]
; Auth
[cemerick.friend :as friend]
(cemerick.friend [credentials :as credentials]
[workflows :as workflows])
[rest.auth.views :refer [unauthorized]]
... | Use /tasks as the landing URI after login | Use /tasks as the landing URI after login
| Clojure | apache-2.0 | Alotor/poc-clojure-rest |
118b9e341b183cffd6e129a08ec3b75daee8ace6 | test/org/playasophy/wonderdome/input/gamepad_test.clj | test/org/playasophy/wonderdome/input/gamepad_test.clj | (ns org.playasophy.wonderdome.input.gamepad-test
(:require
[clojure.core.async :as async :refer [<!]]
[clojure.test :refer :all]
[com.stuartsierra.component :as component]
[org.playasophy.wonderdome.input.gamepad :as gamepad]))
(defn gamepad-test
"Creates and starts a gamepad input component attac... | (ns org.playasophy.wonderdome.input.gamepad-test
(:require
[clojure.core.async :as async :refer [<!]]
[clojure.test :refer :all]
[com.stuartsierra.component :as component]
[org.playasophy.wonderdome.input.gamepad :as gamepad]))
(defn gamepad-harness
"Creates and starts a gamepad input component at... | Change gamepad test function to specify 'harness'. | Change gamepad test function to specify 'harness'.
| Clojure | unlicense | playasophy/wonderdome,playasophy/wonderdome,playasophy/wonderdome,playasophy/wonderdome |
81bf563c6ab2695c730d121741d1bad9073df8e5 | project.clj | project.clj | (defproject robb1e "0.1.0-SNAPSHOT"
:description "Personal website for robb1e"
:url "https://github.com/robb1e/robb1e.clj"
:min-lein-version "2.0.0"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.5.1"]
... | (defproject robb1e "0.1.0-SNAPSHOT"
:description "Personal website for robb1e"
:url "https://github.com/robb1e/robb1e.clj"
:min-lein-version "2.0.0"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.5.1"]
... | Set main namespace (for `lein run`) | Set main namespace (for `lein run`)
| Clojure | epl-1.0 | robb1e/robb1e.clj,robb1e/robb1e.clj |
24d5bace6ea6ea12d3912381ef723760306cc3e8 | client_tests/clojure/clj-s3/project.clj | client_tests/clojure/clj-s3/project.clj | (defproject java-s3-tests/java-s3-tests "0.0.1"
:dependencies [[org.clojure/clojure "1.4.0"]
[com.amazonaws/aws-java-sdk "1.3.11"]
[com.reiddraper/clj-aws-s3 "0.4.0"]
[commons-codec/commons-codec "1.6"]
[clj-http "0.4.3"]
[cheshire "... | (defproject java-s3-tests/java-s3-tests "0.0.1"
:dependencies [[org.clojure/clojure "1.5.1"]
[com.reiddraper/clj-aws-s3 "0.4.0"]
[clj-http "0.7.1"]
[cheshire "5.1.0"]]
:profiles {:dev {:dependencies [[midje "1.5.1"]]}}
:min-lein-version "2.0.0"
:plugins [[lein-... | Update dependencies to latest versions | Update dependencies to latest versions
| Clojure | apache-2.0 | laurenrother/riak_cs,yangchengjian/riak_cs,yangchengjian/riak_cs,basho/riak_cs,sdebnath/riak_cs,laurenrother/riak_cs,basho/riak_cs,GabrielNicolasAvellaneda/riak_cs,sdebnath/riak_cs,GabrielNicolasAvellaneda/riak_cs,GabrielNicolasAvellaneda/riak_cs,dragonfax/riak_cs,yangchengjian/riak_cs,laurenrother/riak_cs,yangchengjia... |
f91590f021d1342b076a5113c52c4f5e5b203d56 | test/circle/workers/test_github.clj | test/circle/workers/test_github.clj | (ns circle.workers.test-github
(:use circle.backend.build.test-utils)
(:require [circle.model.build :as build])
(:use [circle.util.mongo])
(:require [somnium.congomongo :as mongo])
(:use midje.sweet)
(:use circle.workers.github))
(test-ns-setup)
(fact "start-build-from-hook works with dummy project"
(le... | (ns circle.workers.test-github
(:use circle.backend.build.test-utils)
(:require [circle.model.build :as build])
(:use [circle.util.mongo])
(:require [somnium.congomongo :as mongo])
(:use midje.sweet)
(:use circle.workers.github))
(test-ns-setup)
(fact "start-build-from-hook works with dummy project"
(le... | Fix the test to not depend on the current process's env | Fix the test to not depend on the current process's env
| Clojure | epl-1.0 | prathamesh-sonpatki/frontend,RayRutjes/frontend,circleci/frontend,circleci/frontend,circleci/frontend,prathamesh-sonpatki/frontend,RayRutjes/frontend |
8c1a0f6ec2ef05689ada59b48a15ed6e6cdb0f58 | src/main/audio_utils/web_audio.cljs | src/main/audio_utils/web_audio.cljs | (ns audio-utils.web-audio)
(defn audio-context []
(let [constructor (or js/window.AudioContext
js/window.webkitAudioContext)]
(constructor.)))
(defn create-buffer
([ctx n-channels size sample-rate]
(.createBuffer ctx n-channels size sample-rate)))
(defn create-buffer-from-data
[c... | (ns audio-utils.web-audio)
(defn audio-context []
(let [constructor (or js/window.AudioContext
js/window.webkitAudioContext)]
(constructor.)))
(defn user-media
[constraints success-fn error-fn]
(.webkitGetUserMedia js/navigator
(clj->js constraints)
... | Add user-media function to get WebKit user media | Add user-media function to get WebKit user media
| Clojure | mit | Jannis/cljs-audio-utils |
eb6322b7dca84fe149324bdfec731aa4d873fc3f | plugin/test/lein_doo/config.clj | plugin/test/lein_doo/config.clj | (ns lein-doo.config
(:require [clojure.test :refer :all]
[leiningen.doo :as doo]))
(deftest correct-main
(testing "doo can handle three types for main"
(doseq [main '('lein.core "lein.core" lein.core)]
(is (doo/correct-builds {:cljsbuild {:builds {:dev {:compiler {:main main}}}}})))))
| (ns lein-doo.config
(:require [clojure.test :refer :all]
[leiningen.doo :as doo]))
(deftest correct-main
(testing "doo can handle three types for main"
(letfn [(find-dev [project]
(doo/find-by-id (get-in project [:cljsbuild :builds]) "dev"))]
(doseq [main '('lein.core "lein.core... | Add cljsbuild opts to tests | Add cljsbuild opts to tests
| Clojure | epl-1.0 | DeLaGuardo/doo,bensu/doo,DeLaGuardo/doo,nervous-systems/doo,bensu/doo,nervous-systems/doo |
07072396b438916b770def6750d2f1f62c6bfa53 | test/test_help.clj | test/test_help.clj | (ns test-help
(:use [leiningen.help]
[clojure.test]))
(def formatted-docstring @#'leiningen.help/formatted-docstring)
(def formatted-help @#'leiningen.help/formatted-help)
(def resolve-task @#'leiningen.help/resolve-task)
(deftest blank-subtask-help-for-new
(let [subtask-help (apply subtask-help-for (reso... | (ns test-help
(:use [leiningen.help]
[clojure.test]))
(def formatted-docstring @#'leiningen.help/formatted-docstring)
(def get-subtasks-and-docstrings-for @#'leiningen.help/get-subtasks-and-docstrings-for)
(def formatted-help @#'leiningen.help/formatted-help)
(def resolve-task @#'leiningen.help/resolve-task)... | Add one more subtask-help test. | Add one more subtask-help test.
| Clojure | epl-1.0 | 0/leiningen,0/leiningen |
21ecb139acbb7f8e7fd27be298da0c86c5ea5ae3 | src/isla/story_utils.clj | src/isla/story_utils.clj | (ns isla.story-utils)
(defn take-input []
(print "$ ")
(flush)
(read-line))
(defn output [given-output]
(println " " given-output))
| (ns isla.story-utils)
(defn take-input []
(print "$ ")
(flush)
(read-line))
(defn output [& outs]
(apply println " " outs))
| Allow output to work like println w/ & args. | Allow output to work like println w/ & args. | Clojure | mit | maryrosecook/islaclj |
970ddd2597f6473f1801c213063e63deda98180d | project.clj | project.clj | (defproject madouc "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.8.0"]
[ring/ring-core "1.5.1"]
... | (defproject madouc "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.8.0"]
[ring/ring-core "1.5.1"]
... | Add selmer as a dependency | Add selmer as a dependency
| Clojure | epl-1.0 | c-garcia/madouc |
b0a1e47a4bc4391da711ea230f6577d3d7e9ccff | project.clj | project.clj | (defproject ring "1.8.0"
:description "A Clojure web applications library."
:url "https://github.com/ring-clojure/ring"
:license {:name "The MIT License"
:url "http://opensource.org/licenses/MIT"}
:dependencies [[ring/ring-core "1.8.0"]
[ring/ring-devel "1.8.0"]
[ri... | (defproject ring "1.8.0"
:description "A Clojure web applications library."
:url "https://github.com/ring-clojure/ring"
:license {:name "The MIT License"
:url "http://opensource.org/licenses/MIT"}
:dependencies [[ring/ring-core "1.8.0"]
[ring/ring-devel "1.8.0"]
[ri... | Add aliases for testing and benchmarking | Add aliases for testing and benchmarking
| Clojure | mit | ring-clojure/ring,ring-clojure/ring |
08adacd713b2a66b77ed88f88d36f1bc49b79b88 | project.clj | project.clj | (defproject org.onyxplatform/onyx-peer-http-query "0.10.0.0-alpha6"
: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/... | (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 |
c2bfe655b39c4314b28827222e8a4444deb30c56 | project.clj | project.clj | (defproject onyx-app/lein-template "0.9.10.0-beta5"
: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 |
8d2753d676ef3c00a5fb674aab4a7f4ff4539394 | project.clj | project.clj | (defproject onyx-app/lein-template "0.9.7.0-beta2"
: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.7.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 |
6b406e604cf2da19122a98a24c2d37fdb3dad085 | project.clj | project.clj | (defproject ring "0.1.1-SNAPSHOT"
:description "A Clojure web applications library."
:url "http://github.com/mmcgrana/ring"
:dependencies [[org.clojure/clojure "1.1.0"]
[org.clojure/clojure-contrib "1.1.0-master-SNAPSHOT"]
[commons-io "1.4"]
[org.mortbay.jetty/je... | (defproject ring "0.1.1-SNAPSHOT"
:description "A Clojure web applications library."
:url "http://github.com/mmcgrana/ring"
:dependencies [[org.clojure/clojure "1.1.0"]
[org.clojure/clojure-contrib "1.1.0-master-SNAPSHOT"]
[commons-io "1.4"]
[org.mortbay.jetty/je... | Add mvnrepository.com as a repository, so we can fetch the latest HttpComponents. | Add mvnrepository.com as a repository, so we can fetch the latest HttpComponents.
| Clojure | mit | tchagnon/ring,povloid/ring,suligap/ring,ring-clojure/ring,kirasystems/ring,orend/ring,meowcakes/ring,liuchang23/ring,siphiuel/ring,ieure/ring,ring-clojure/ring |
b4b7bfbbe16aa630de0e2405059e65d2cc183910 | project.clj | project.clj | (defproject mazes "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.9.0-alpha11"],
[com.rpl/specter "0.12.0"]]
:... | (defproject mazes "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.9.0-alpha11"],
[com.rpl/specter "0.12.0"]
... | Add Hiccup for final output of SVG. | Add Hiccup for final output of SVG.
| Clojure | epl-1.0 | amacdougall/mazes |
d89b02933cb282997ad7b890131599ccd9b4b18c | project.clj | project.clj | (defproject org.onyxplatform/onyx-kafka "0.7.3-SNAPSHOT"
:description "Onyx plugin for Kafka"
:url "https://github.com/MichaelDrogalis/onyx-kafka"
: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-kafka "0.7.3-SNAPSHOT"
:description "Onyx plugin for Kafka"
:url "https://github.com/MichaelDrogalis/onyx-kafka"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.7.0"]
... | Test commit from core to Kafka. | Test commit from core to Kafka.
| Clojure | epl-1.0 | onyx-platform/onyx-kafka,mccraigmccraig/onyx-kafka |
16775db657170978b6b2f181f5f41528fef689af | project.clj | project.clj | (defproject foreclojure "1.8.0.1"
:description "4clojure - a website for learning Clojure"
:dependencies [[clojure "1.2.1"]
[clojure-contrib "1.2.0"]
[compojure "0.6.2"]
[hiccup "0.3.6"]
[clojail "0.5.1"]
[sandbar "0.4.0-SNAPSHOT"]... | (defproject foreclojure "1.8.0.1"
:description "4clojure - a website for learning Clojure"
:dependencies [[clojure "1.2.1"]
[clojure-contrib "1.2.0"]
[compojure "0.6.2"]
[hiccup "0.3.6"]
[clojail "0.5.1"]
[sandbar "0.4.0-SNAPSHOT"]... | Update our version of midje | Update our version of midje
| Clojure | epl-1.0 | amcnamara/4clojure,tclamb/4clojure,grnhse/4clojure,4clojure/4clojure,rowhit/4clojure,gfredericks/4clojure,grnhse/4clojure,tclamb/4clojure,rowhit/4clojure,gfredericks/4clojure,amcnamara/4clojure,4clojure/4clojure |
b2363f3d68ae605c5d924975a4617cb87dabc911 | project.clj | project.clj | (defproject cljskel/lein-template "0.1.0-SNAPSHOT"
:description "Skeleton project, a template that can be used to create a new Clojure web app implementing /1.x/ping and /1.x/status"
:url "http://wikis.in.nokia.com/Clojure/ClojureSkeleton"
:eval-in-leiningen true)
| (defproject cljskel/lein-template "0.1.0"
:description "Skeleton project, a template that can be used to create a new Clojure web app implementing /1.x/ping and /1.x/status"
:url "http://wikis.in.nokia.com/Clojure/ClojureSkeleton"
:eval-in-leiningen true)
| Update to non-SNAPSHOT version as lein now requires a RELEASE version | Update to non-SNAPSHOT version as lein now requires a RELEASE version
| Clojure | bsd-3-clause | mixradio/mr-clojure,calumlean/mr-clojure |
fe4198faad38f38cde8de4f3a88165c07bbaa83c | project.clj | project.clj | (defproject circleci "0.1.0-SNAPSHOT"
:description "FIXME: write this!"
:dependencies [[org.clojure/clojure "1.2.1"]
[noir "1.1.1-SNAPSHOT"]
[clj-table "0.1.5"]
[clj-url "1.0.2"]
[c3p0 "0.... | (defproject circleci "0.1.0-SNAPSHOT"
:description "FIXME: write this!"
:dependencies [[org.clojure/clojure "1.2.1"]
[noir "1.1.1-SNAPSHOT"]
[clj-table "0.1.5"]
[clj-url "1.0.2"]
[c3p0 "0.... | Replace boxes.clj with nodes, which uses pallet. | Replace boxes.clj with nodes, which uses pallet.
| Clojure | epl-1.0 | circleci/frontend,RayRutjes/frontend,prathamesh-sonpatki/frontend,RayRutjes/frontend,circleci/frontend,prathamesh-sonpatki/frontend,circleci/frontend |
d9c964479e9224ae1bb909180cf47ff6037bf64b | project.clj | project.clj | (defproject nightmod "0.0.1-SNAPSHOT"
:description "FIXME: write description"
:dependencies [[clojail "1.0.6"]
[com.badlogicgames.gdx/gdx "0.9.9"]
[com.badlogicgames.gdx/gdx-backend-lwjgl "0.9.9"]
[com.badlogicgames.gdx/gdx-platform "0.9.9"
:cl... | (defproject nightmod "0.0.1-SNAPSHOT"
:description "FIXME: write description"
:dependencies [[clojail "1.0.6"]
[com.badlogicgames.gdx/gdx "0.9.9"]
[com.badlogicgames.gdx/gdx-backend-lwjgl "0.9.9"]
[com.badlogicgames.gdx/gdx-platform "0.9.9"
:cl... | Remove unnecessary maven repo and update play-clj version | Remove unnecessary maven repo and update play-clj version
| Clojure | unlicense | oakes/Nightmod |
0562015fa86394c96715db387dce5f066f80a47a | src/status_im/ui/components/connectivity/view.cljs | src/status_im/ui/components/connectivity/view.cljs | (ns status-im.ui.components.connectivity.view
(:require-macros [status-im.utils.views :refer [defview letsubs] :as views])
(:require [re-frame.core :as re-frame]
[reagent.core :as reagent]
[status-im.ui.components.react :as react]
[taoensso.timbre :as log]
[status-im.... | (ns status-im.ui.components.connectivity.view
(:require-macros [status-im.utils.views :refer [defview letsubs] :as views])
(:require [re-frame.core :as re-frame]
[reagent.core :as reagent]
[status-im.ui.components.react :as react]
[status-im.ui.components.connectivity.styles :as ... | Fix status display by providing public key in message data | Fix status display by providing public key in message data
| Clojure | mpl-2.0 | status-im/status-react,status-im/status-react,status-im/status-react,status-im/status-react,status-im/status-react,status-im/status-react,status-im/status-react,status-im/status-react |
c0c5d85321db9b679d848393c8fc7d9008135089 | profiles.clj | profiles.clj | {:dev
{:aliases {"test-all" ["with-profile" "dev,1.8:dev" "test"]}
:codeina {:sources ["src"]
:exclude [buddy.core.sign.impl]
:reader :clojure
:target "doc/dist/latest/api"
:src-uri "http://github.com/funcool/buddy-core/blob/master/"
:src-uri-prefix "#L"}
... | {:dev
{:aliases {"test-all" ["with-profile" "dev,1.8:dev,1.6:dev,1.5:dev:dev" "test"]}
:codeina {:sources ["src"]
:exclude [buddy.core.sign.impl]
:reader :clojure
:target "doc/dist/latest/api"
:src-uri "http://github.com/funcool/buddy-core/blob/master/"
:sr... | Add clojure 1.6 and clojure 1.5 to the test suite. | Add clojure 1.6 and clojure 1.5 to the test suite.
| Clojure | apache-2.0 | funcool/buddy-core,funcool/buddy-core |
f1fefb042c2f759430e37d22b11a63bb7da37806 | dev-src/clj/comic_reader/dev.clj | dev-src/clj/comic_reader/dev.clj | (ns comic-reader.dev
(:require [clojure.repl :refer :all]
[clojure.tools.namespace.repl :refer [clear refresh]]
[clansi.core :refer [style]]))
(declare doc-print goto-ns)
(defn welcome []
(doc-print
"Welcome to the comic reader. If you want to add a new site,
run `(add-site)'. If you... | (ns comic-reader.dev
(:require [clojure.repl :refer :all]
[clojure.tools.namespace.repl :refer [clear refresh]]
[clansi.core :refer [style]]
[clojure.string :as str]))
(declare doc-print goto-ns)
(defn welcome []
(doc-print
"Welcome to the Comic Reader!
- If you want to ... | Fix doc-print to strip leading whitespace properly | Fix doc-print to strip leading whitespace properly
| Clojure | epl-1.0 | RadicalZephyr/comic-reader,RadicalZephyr/comic-reader |
d19d484800b360def5ad1bdc92044c29d7e5a706 | project.clj | project.clj | (defproject quiescent "0.1.0-SNAPSHOT"
:description "A minimal, functional ClojureScript wrapper for ReactJS"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.5.1"]
[com.facebook/react "0.8.0.1"]]
:sour... | (defproject quiescent "0.1.0"
:description "A minimal, functional ClojureScript wrapper for ReactJS"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.5.1"]
[com.facebook/react "0.8.0.1"]]
:source-paths ... | Set release number for 0.1.0 release | Set release number for 0.1.0 release
| Clojure | epl-1.0 | Breezeemr/quiescent |
cbdcf552fc8fc406a0395958597d67ad4b9feefb | project.clj | project.clj | (defproject day8.re-frame/trace "0.1.9-SNAPSHOT"
:description "Tracing and developer tools for re-frame apps"
:url "https://github.com/Day8/re-frame-trace"
:license {:name "MIT"}
:dependencies [[org.clojure/clojure "1.8.0"]
[org.clojure/clojurescript "1.9.227"]
... | (defproject day8.re-frame/trace "0.1.9-SNAPSHOT"
:description "Tracing and developer tools for re-frame apps"
:url "https://github.com/Day8/re-frame-trace"
:license {:name "MIT"}
:dependencies [[org.clojure/clojure "1.8.0"]
[org.clojure/clojurescript "1.9.227"]
... | Make Reagent and re-frame dependencies provided | Make Reagent and re-frame dependencies provided
| Clojure | mit | Day8/re-frame-trace |
b7a9404edc448fc983b1f27788f334f375c6c793 | project.clj | project.clj | (defproject org.onyxplatform/onyx-metrics "0.8.1.0-alpha8"
: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.1.0-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 |
11b9f0286930157474076d7a5a8a190f3b950080 | src/cljs/wombats_web_client/utils/url.cljs | src/cljs/wombats_web_client/utils/url.cljs | (ns wombats-web-client.utils.url
(:require [cemerick.url :as url]
[wombats-web-client.constants.local-storage :refer [access-token]]))
(defn strip-access-token
"removes access token from query"
[]
(let [url (-> js/window
.-location
.-href
url/url)
... | (ns wombats-web-client.utils.url
(:require [pushy.core :as pushy]
[wombats-web-client.routes :refer [history]][wombats-web-client.routes :refer [history]]))
(defn strip-access-token
"removes access token from query"
[]
(pushy/replace-token! history "/"))
| Fix logging in with push state. | Fix logging in with push state.
| Clojure | mit | willowtreeapps/wombats-web-client,willowtreeapps/wombats-web-client |
96c570652f681c91cb5d9c0a19be822551a51e1f | project.clj | project.clj | (defproject org.onyxplatform/onyx-metrics "0.8.0.4"
: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.5-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 |
f8bf198b496a3d72df713396671d55a62791cc7d | project.clj | project.clj | (defproject ci-test "0.1.1"
: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.8.0"]]
:repositories [["releases" {:url "https://clojars.org/repo/"
... | (defproject ci-test "0.1.1"
: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.8.0"]]
:repositories [["releases" {:url "https://clojars.org/repo/"
... | Set sign flag in correct place | Set sign flag in correct place
| Clojure | epl-1.0 | HughPowell/ci-test |
530782917d318a24a1bfa56b0698f2cbb1c6cf4d | project.clj | project.clj | (defproject om-sente "0.1.0-SNAPSHOT"
:description "FIXME: write this!"
:url "http://example.com/FIXME"
:dependencies [[org.clojure/clojure "1.6.0"]
[org.clojure/clojurescript "0.0-2199"]
[org.clojure/core.async "0.1.278.0-76b25b-alpha"]
[om "0.5.3"]
... | (defproject om-sente "0.1.0-SNAPSHOT"
:description "FIXME: write this!"
:url "http://example.com/FIXME"
:dependencies [[org.clojure/clojure "1.6.0"]
[org.clojure/clojurescript "0.0-2199"]
[org.clojure/core.async "0.1.278.0-76b25b-alpha"]
[om "0.5.3"]
... | Add Ring and Servlet dependencies | Add Ring and Servlet dependencies
| Clojure | epl-1.0 | seancorfield/om-sente |
c9aa92c5af3d06f23868af60a7d4aab549f68abc | project.clj | project.clj | (defproject onyx-app/lein-template "0.9.7.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.9.7.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 |
e8ed732f3142ba62d1645f361bc8ab0ee1f45045 | src/buddy/core/codecs/base64.clj | src/buddy/core/codecs/base64.clj | ;; Copyright 2014-2016 Andrey Antukh <niwi@niwi.nz>
;;
;; Licensed under the Apache License, Version 2.0 (the "License")
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable... | ;; Copyright 2014-2016 Andrey Antukh <niwi@niwi.nz>
;;
;; Licensed under the Apache License, Version 2.0 (the "License")
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable... | Fix typo in ns docstring | Fix typo in ns docstring | Clojure | apache-2.0 | funcool/buddy-core,funcool/buddy-core |
45c44511002be919d516302682ae9557f1041073 | src/clj_gatling/httpkit.clj | src/clj_gatling/httpkit.clj | (ns clj-gatling.httpkit
(:require [org.httpkit.client :as http])
(:import [org.httpkit PrefixThreadFactory]
[org.httpkit.client HttpClient]
[java.util.concurrent ThreadPoolExecutor LinkedBlockingQueue TimeUnit]))
(defonce cache-dns-forever (java.security.Security/setProperty "networkaddres... | (ns clj-gatling.httpkit
(:require [org.httpkit.client :as http])
(:import [org.httpkit PrefixThreadFactory]
[org.httpkit.client HttpClient]
[java.util.concurrent ThreadPoolExecutor LinkedBlockingQueue TimeUnit]))
(defonce cache-dns-forever (java.security.Security/setProperty "networkaddres... | Remove type from http status response to avoid nil problems when status code is missing | Remove type from http status response to avoid nil problems when status code is missing
| Clojure | epl-1.0 | mhjort/clj-gatling |
e8e54c420e8e8bbba0e1ae1816820552185e81b4 | src/posthere/util/uuid.clj | src/posthere/util/uuid.clj | (ns posthere.util.uuid
"UUIDs and the heat death of the Universe..."
(:require [clojure.string :as s]))
(defn uuid
"Simple wrapper for Java's UUID"
[]
(str (java.util.UUID/randomUUID))) | (ns posthere.util.uuid
"UUIDs and the heat death of the Universe...")
(defn uuid
"Simple wrapper for Java's UUID"
[]
(str (java.util.UUID/randomUUID))) | Remove unused namespace include to make Eastwood happy. | Remove unused namespace include to make Eastwood happy.
| Clojure | mpl-2.0 | SnootyMonkey/posthere.io |
9bb5c7399dcfa14f558f0c9f89d07294181043f1 | resources/leiningen/new/onyx_app/sample_lifecycle.clj | resources/leiningen/new/onyx_app/sample_lifecycle.clj | (ns {{app-name}}.lifecycles.sample-lifecycle
(:require [clojure.core.async :refer [chan sliding-buffer >!!]]
[onyx.plugin.core-async :refer [take-segments!]]
[onyx.static.planning :refer [find-task]]
[{{app-name}}.utils :as u]))
;;;; Lifecycle hook to debug segments by logging th... | (ns {{app-name}}.lifecycles.sample-lifecycle
(:require [clojure.core.async :refer [chan sliding-buffer >!!]]
[onyx.plugin.core-async :refer [take-segments!]]
[onyx.static.planning :refer [find-task]]
[{{app-name}}.utils :as u]))
;;;; Lifecycle hook to debug segments by logging th... | Document how lifecycle gets replaced in test | Document how lifecycle gets replaced in test
| Clojure | mit | onyx-platform/onyx-template |
9f89fcdccb46d9fd30298029508fbdca94e31314 | frontend/src/cruncher/rename.cljs | frontend/src/cruncher/rename.cljs | (ns cruncher.rename
(:require [om.next :as om :refer-macros [defui]]
[om.dom :as dom :include-macros true]
[goog.dom :as gdom]
[cruncher.utils.views :as vlib]
[cruncher.utils.lib :as lib]))
(defui RenamingControls
Object
(render [this]
... | (ns cruncher.rename
(:require [om.next :as om :refer-macros [defui]]
[om.dom :as dom :include-macros true]
[goog.dom :as gdom]
[cruncher.utils.views :as vlib]
[cruncher.utils.lib :as lib]))
(defui SelectSchemes
Object
(render [this]
(let [selected (or (om/get-s... | Add ui to select scheme | Add ui to select scheme
| Clojure | mit | Phaetec/pogo-cruncher,Phaetec/pogo-cruncher,Phaetec/pogo-cruncher |
c9bca43991c969e41d1d85fc853fd6f85173029d | src/circle/util/retry.clj | src/circle/util/retry.clj | (ns circle.util.retry
(:use [arohner.utils :only (inspect)])
(:use [circle.util.except :only (throw-if-not)])
(:use [robert.bruce :only (try-try-again)]))
(defn parse-args [args]
(if (map? (first args))
{:options (first args)
:f (second args)
:args (drop 2 args)}
{:f (first args)
:args (... | (ns circle.util.retry
(:use [circle.util.except :only (throw-if-not)])
(:use [robert.bruce :only (try-try-again)]))
(defn parse-args [args]
(if (map? (first args))
{:options (first args)
:f (second args)
:args (drop 2 args)}
{:f (first args)
:args (rest args)}))
(defn wait-for
"Like rob... | Return the result after waiting | Return the result after waiting
| Clojure | epl-1.0 | RayRutjes/frontend,circleci/frontend,prathamesh-sonpatki/frontend,circleci/frontend,circleci/frontend,prathamesh-sonpatki/frontend,RayRutjes/frontend |
d9a2891486051f1b0f9121b8256a26a9b3e441aa | services/wgseq-phase2.clj | services/wgseq-phase2.clj |
{
:name "wgseq-phase2",
:path "",
:graph {:dir {:type "func"
:name "get-comparison-files"
:args ["#1", "#2" "#3"]} ; eid, comparison-file, :NA here
:take {:type "func"
:name "strm-take"
:args [10]}
:bseq {:type "func"
... |
{
:name "wgseq-phase2",
:path "",
:graph {:dir {:type "func"
:name "get-comparison-files"
:args ["#1", "#2" "#3"]} ; eid, comparison-file, :NA here
:bseq {:type "func"
:name "sfj-breseq-runs"}
:mail {:type "func"
:name "mailp2"
... | Move to streaming 'fork/join' for breseq runs | Move to streaming 'fork/join' for breseq runs
| Clojure | mit | jsa-aerial/aerobio,jsa-aerial/aerobio,jsa-aerial/aerobio,jsa-aerial/aerobio,jsa-aerial/aerobio |
392c668afd0447cdd474b2136a77dee302c0c059 | frontend/src/faceboard/whitelabel.cljs | frontend/src/faceboard/whitelabel.cljs | (ns faceboard.whitelabel
(:require-macros [faceboard.macros.model :refer [transform-app-state]]
[faceboard.macros.logging :refer [log log-err log-warn log-info]])
(:require [faceboard.env :as env]
[faceboard.model :as model]
[faceboard.helpers.utils :as utils]))
(def doma... | (ns faceboard.whitelabel
(:require-macros [faceboard.macros.model :refer [transform-app-state]]
[faceboard.macros.logging :refer [log log-err log-warn log-info]])
(:require [faceboard.env :as env]
[faceboard.model :as model]
[faceboard.helpers.utils :as utils]))
(def doma... | Switch hacker-paradise board to less guessable id | Switch hacker-paradise board to less guessable id
| Clojure | mit | AlexeyMK/faceboard,AlexeyMK/faceboard |
eb96e556143c498904f0a8925facd5a66bf8fe59 | src/cljs/yadnd5ecs/core.cljs | src/cljs/yadnd5ecs/core.cljs | (ns yadnd5ecs.core
(:require [om.core :as om :include-macros true]
[om-tools.dom :as dom :include-macros true]
[om-tools.core :refer-macros [defcomponent]]))
(enable-console-print!)
(def app-state (atom {:text "Hello Chestnut!"}))
(defcomponent app-view
[app owner]
(render [_]
... | (ns yadnd5ecs.core
(:require [om.core :as om :include-macros true]
[om-tools.dom :as dom :include-macros true]
[om-tools.core :refer-macros [defcomponent]]))
(enable-console-print!)
(def app-state (atom {:name {:player "Bob"
:character "Bruenor"}}))
(defcomponen... | Add name for player and character | Add name for player and character
| Clojure | epl-1.0 | mlb-/yadnd5ecs,mlb-/yadnd5ecs |
68ce78287240e109d3d9d1a59dd54b98a6c6139c | src/vip/data_processor/validation/v5/hours_open.clj | src/vip/data_processor/validation/v5/hours_open.clj | (ns vip.data-processor.validation.v5.hours-open
(:require [korma.core :as korma]
[vip.data-processor.db.postgres :as postgres]
[vip.data-processor.validation.v5.util :as util]))
(defn valid-time-with-zone? [time]
(re-matches
#"(?:(?:[01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]|(?:24:00:00))(?... | (ns vip.data-processor.validation.v5.hours-open
(:require [vip.data-processor.validation.v5.util :as util]))
(defn valid-time-with-zone? [time]
(re-matches
#"(?:(?:[01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]|(?:24:00:00))(?:Z|[+-](?:(?:0[0-9]|1[0-3]):[0-5][0-9]|14:00))"
time))
(defn validate-times [{:keys [impo... | Remove vestigial reqs from hours-open validation | Remove vestigial reqs from hours-open validation
| Clojure | bsd-3-clause | votinginfoproject/data-processor |
5aa6f1302381020d5c3f2dffd9fc837ba0554d8f | src/cljs/decktouch/card-data.cljs | src/cljs/decktouch/card-data.cljs | (ns decktouch.card-data)
(defn get-card-list-from-storage []
"Get the list of cards from localStorage, or [] if it is empty"
(let [key "card-list"
list (.getItem js/localStorage key)]
(do
(.log js/console key list)
(if (undefined? list)
[]
(.parse (js/JSON))))))
(def cards ... | (ns decktouch.card-data)
(defn get-card-list-from-storage []
"Get the list of cards from localStorage, or [] if it is empty"
(let [key "card-list"
list (.getItem js/localStorage key)]
(if (undefined? list)
[]
(map (fn [n] {:name n}) (js->clj (.parse js/JSON list))))))
(def cards (get-card-... | Fix fn that loads cards from local storage | Fix fn that loads cards from local storage
| Clojure | epl-1.0 | Pance/decktouch,Pance/decktouch |
b1580774000c2334e4a7348fbf00ccd6527620b0 | metrics-clojure-ring/project.clj | metrics-clojure-ring/project.clj | (defproject metrics-clojure-ring "2.1.0-SNAPSHOT"
:description "Various things gluing together metrics-clojure and ring."
:dependencies [[cheshire "5.3.1"]
[metrics-clojure "2.0.0"]]
:profiles {:dev {:dependencies [[ring "1.2.2"]]}})
| (defproject metrics-clojure-ring "2.1.1-SNAPSHOT"
:description "Various things gluing together metrics-clojure and ring."
:dependencies [[cheshire "5.3.1"]
[metrics-clojure "2.0.0"]]
:profiles {:dev {:dependencies [[ring "1.2.2"]]}})
| Increment version number to 2.1.1 | Increment version number to 2.1.1 | Clojure | mit | matthiasn/metrics-clojure |
75bd60f2dc77018fc047ab2c09c9af73fa74e631 | src/graphql_clj/validator/transformations/inline_types.clj | src/graphql_clj/validator/transformations/inline_types.clj | (ns graphql-clj.validator.transformations.inline-types
"Inline field and parent field types for execution phase"
(:require [graphql-clj.visitor :as v]
[graphql-clj.spec :as spec]
[clojure.spec :as s]
[graphql-clj.box :as box]))
(defn- of-kind [{:keys [kind required inner-type]} ... | (ns graphql-clj.validator.transformations.inline-types
"Inline field and parent field types for execution phase"
(:require [graphql-clj.visitor :as v]
[graphql-clj.box :as box]))
(def whitelisted-keys
#{:v/parentk :node-type :selection-set :type-name :field-name :name :args-fn :kind :of-kind :require... | Remove unused functions from inline types | Remove unused functions from inline types
| Clojure | epl-1.0 | tendant/graphql-clj |
94203d907e351a34ff317b6707c3879bfe6044de | src/uxbox/core.cljs | src/uxbox/core.cljs | (ns uxbox.core
(:require-macros [uxbox.util.syntax :refer [define-once]])
(:require [beicon.core :as rx]
[cats.labs.lens :as l]
[uxbox.state :as st]
[uxbox.router :as rt]
[uxbox.rstore :as rs]
[uxbox.ui :as ui]
[uxbox.data.load :as dl]))
(enab... | (ns uxbox.core
(:require-macros [uxbox.util.syntax :refer [define-once]])
(:require [beicon.core :as rx]
[cats.labs.lens :as l]
[uxbox.state :as st]
[uxbox.router :as rt]
[uxbox.rstore :as rs]
[uxbox.ui :as ui]
[uxbox.data.load :as dl]))
(enab... | Add auth to the persistente vector. | Add auth to the persistente vector.
With minor mostly cosmetic changes in the ns.
| Clojure | mpl-2.0 | studiospring/uxbox,uxbox/uxbox,studiospring/uxbox,uxbox/uxbox,uxbox/uxbox,studiospring/uxbox |
a9973e767f4f665975d092110f8e4c55a6bb2b3b | src/incise/parsers/html.clj | src/incise/parsers/html.clj | (ns incise.parsers.html
(:require [incise.parsers.helpers :as help]
[incise.parsers.core :refer [map->Parse]]
[clojure.edn :as edn]
[clojure.string :as s]
[clojure.java.io :refer [reader]])
(:import [java.io File]))
(defn File->Parse
[to-html ^File file]
(let [fi... | (ns incise.parsers.html
(:require (incise.parsers [helpers :as help]
[core :refer [map->Parse]])
[incise.layouts.core :refer [Parse->string]]
[clojure.edn :as edn]
[clojure.string :as s]
[clojure.java.io :refer [reader]])
(:import [java.io ... | Make directory structure in write-Parse. | Make directory structure in write-Parse.
| Clojure | epl-1.0 | RyanMcG/incise-core |
6a3dc35fbaf93faa8e47075de85a7e7171d0d682 | project.clj | project.clj | (defproject onyx-app/lein-template "0.13.4.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.4.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 |
0006cf295f32af4d3508a6ce723c90baad2a0b94 | project.clj | project.clj | (defproject org.onyxplatform/onyx-datomic "0.10.0.0-alpha5"
: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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.