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 |
|---|---|---|---|---|---|---|---|---|---|
cd52b90a8cf92bf231a20e434ea1080ffd2cef9b | project.clj | project.clj | (defproject onyx-app/lein-template "0.9.10.0-beta6"
: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 |
cec8754b65182f1e6a250d9a63ae16c906e70ec6 | project.clj | project.clj | (defproject cli4clj "0.1.0"
;(defproject cli4clj "0.1.0-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 "0.1.0"
(defproject cli4clj "0.2.0-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 |
46f6db393b58b0e2a3a0ee12dd01f45b4b239a60 | project.clj | project.clj | (defproject onyx-app/lein-template "0.9.9.2"
: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.9.3-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 |
e487589fa8db4875b9958431c320d90c3a5b6054 | project.clj | project.clj | (defproject beatha "0.0.1-SNAPSHOT"
:description "Cellular automata experiments."
:url "http://github.com/gsnewmark/beatha"
:license {:name "Eclipse Public License - v 1.0"
:url "http://www.eclipse.org/legal/epl-v10.html"
:distribution :repo}
:min-lein-version "2.3.4"
:source-paths [... | (defproject beatha "0.0.1-SNAPSHOT"
:description "Cellular automata experiments."
:url "http://github.com/gsnewmark/beatha"
:license {:name "Eclipse Public License - v 1.0"
:url "http://www.eclipse.org/legal/epl-v10.html"
:distribution :repo}
:min-lein-version "2.3.4"
:source-paths [... | Use older cljsbuild once again. | Use older cljsbuild once again.
| Clojure | epl-1.0 | gsnewmark/beatha,gsnewmark/beatha |
f71cedf1a9a49b203ac182b4e81c6ecde3f00b00 | project.clj | project.clj | (defproject onyx-app/lein-template "0.13.0.0-alpha1"
: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 |
2860e32d78c49d76c45e31f0102ddfe52b0df10c | project.clj | project.clj | (defproject ezglib "0.1.4-SNAPSHOT"
:description "An easy game library for ClojureScript."
:url "https://github.com/bakpakin/ezglib"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:scm {:name "git"
:url "https://github.com/bakpakin/ezglib"}
:dep... | (defproject ezglib "0.0.0-SNAPSHOT"
:description "An easy game library for ClojureScript."
:url "https://github.com/bakpakin/ezglib"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:scm {:name "git"
:url "https://github.com/bakpakin/ezglib"}
:dep... | Change version. Latest Snapshot now always 0.0.0-SNAPSHOT. | Change version. Latest Snapshot now always 0.0.0-SNAPSHOT.
| Clojure | epl-1.0 | bakpakin/ezglib |
1d17da2a9186daf2bd49ce3324d7f2bd709d4e51 | project.clj | project.clj | (defproject govuk/blinken "0.1.0-SNAPSHOT"
:description "Dashboard to integrate multiple alert systems"
:url "https://github.com/alphagov/blinken"
:license {:name "MIT"
:url "http://opensource.org/licenses/MIT"}
:dependencies [[org.clojure/clojure "1.5.1"]
[docopt "0.6.1"]
... | (defproject govuk/blinken "0.1.0-SNAPSHOT"
:description "Dashboard to integrate multiple alert systems"
:url "https://github.com/alphagov/blinken"
:license {:name "MIT"
:url "http://opensource.org/licenses/MIT"}
:dependencies [[org.clojure/clojure "1.5.1"]
[docopt "0.6.1"]
... | Add lein-daemon as a plugin. | Add lein-daemon as a plugin.
| Clojure | mit | alphagov/blinken |
e0c75f0beb614a1e92076b6875f515683b8a48c8 | project.clj | project.clj | (defproject com.gfredericks/seventy-one "0.1.2-SNAPSHOT"
:description "71 in Clojure"
:url "https://github.com/gfredericks/seventy-one"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.7.0"]]
:plugins [[codox "0.8.12"... | (defproject com.gfredericks/seventy-one "0.1.2-SNAPSHOT"
:description "71 in Clojure"
:url "https://github.com/gfredericks/seventy-one"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.7.0"]]
:plugins [[codox "0.8.12"... | Add "lein test" hack to get the cljc test working | Add "lein test" hack to get the cljc test working
| Clojure | epl-1.0 | fdserr/seventy-one,gfredericks/seventy-one |
0fd9c76848890efe206c12fc83f695a2b8e6ccff | src/markiki/views.cljs | src/markiki/views.cljs | (ns markiki.views
(:require [reagent.core :as reagent :refer [atom]]
[re-frame.core :refer [subscribe dispatch]]))
(defn searchbar []
(fn []
[:form
[:div.form-group.has-error.has-feedback
[:input#searchbar.form-control.input-lg
{:type "text"
:placeholder "Search"
... | (ns markiki.views
(:require [reagent.core :as reagent :refer [atom]]
[re-frame.core :refer [subscribe dispatch]]))
(defn searchbar []
(fn []
[:form
[:div.form-group.has-error.has-feedback
[:input#searchbar.form-control.input-lg
{:type "text"
:placeholder "Search"
... | Add a list of articles | Add a list of articles
| Clojure | mit | ff-/markiki |
fd562488a730cb11b53feb551172987b3161210d | src/reabledit/util.cljs | src/reabledit/util.cljs | (ns reabledit.util)
(defn set-selected!
[state row col]
(swap! state assoc :selected [row col]))
(defn enable-edit!
[columns data state]
(if-not (:disable-edit (nth columns (second (:selected @state))))
(let [row-data (nth data (first (:selected @state)))]
(swap! state assoc :edit {:initial row-data... | (ns reabledit.util)
(defn set-selected!
[state row col]
(swap! state dissoc :edit)
(swap! state assoc :selected [row col]))
(defn enable-edit!
[columns data state]
(if-not (:disable-edit (nth columns (second (:selected @state))))
(let [row-data (nth data (first (:selected @state)))]
(swap! state a... | Fix bug where selecting a cell when editing messes up the state | Fix bug where selecting a cell when editing messes up the state
| Clojure | epl-1.0 | MattiNieminen/reabledit |
1cf254d2f2ce632c1eb2775289e7b7c55afac67e | project.clj | project.clj | (defproject org.onyxplatform/onyx-datomic "0.10.0.0-alpha7"
: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 |
87d725ba56949a1f141b2c3b3cb71010ed8edaf8 | project.clj | project.clj | (defproject useful "0.8.3-alpha3"
:description "A collection of generally-useful Clojure utility functions"
:dependencies [[org.clojure/clojure "1.4.0"]
[org.clojure/tools.macro "0.1.1"]]
:multi-deps {"1.3" [[org.clojure/clojure "1.3.0"]]
"1.2" [[org.clojure/clojure "1.2.1"]]
... | (defproject useful "0.8.3-alpha4"
:description "A collection of generally-useful Clojure utility functions"
:license {:name "Eclipse Public License - v 1.0"
:url "http://www.eclipse.org/legal/epl-v10.html"
:distribution :repo}
:url "https://github.com/flatland/useful"
:dependencies [[org... | Add :license and :url keys and inc to 0.8.3-alpha4. | Add :license and :url keys and inc to 0.8.3-alpha4.
| Clojure | epl-1.0 | amalloy/useful,jafingerhut/useful,flatland/useful |
7f4a78302f2f80da0040040bf61357d0738a9bd0 | project.clj | project.clj | (defproject pinpointer "0.1.0-SNAPSHOT"
:description "Pinpointer makes it easy to grasp which part of data is violating spec conformance."
:url "https://github.com/athos/Pinpointer"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [;; clj stuff... | (defproject pinpointer "0.1.0-SNAPSHOT"
:description "Pinpointer makes it easy to grasp which part of data is violating spec conformance."
:url "https://github.com/athos/Pinpointer"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [;; clj stuff... | Use Fipp as pretty printer | Use Fipp as pretty printer
| Clojure | epl-1.0 | athos/Pinpointer |
a6074ec6d6ef9f1d5ea545af728a58c090fb4e3a | project.clj | project.clj | ;; This Source Code Form is subject to the terms of the Mozilla Public
;; License, v. 2.0. If a copy of the MPL was not distributed with this
;; file, You can obtain one at http://mozilla.org/MPL/2.0/.
(defproject containium "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
... | ;; This Source Code Form is subject to the terms of the Mozilla Public
;; License, v. 2.0. If a copy of the MPL was not distributed with this
;; file, You can obtain one at http://mozilla.org/MPL/2.0/.
(defproject containium "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
... | Use our patched Clojure explicitly in Containium. | Use our patched Clojure explicitly in Containium.
| Clojure | mpl-2.0 | containium/containium,containium/containium,containium/containium,containium/containium |
69e80ae3924e019e4c039b75a3479298a5359e15 | 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.4.0-SNAPSHOT"
:description "A build tool designed not to set your hair on fire."
:url "http://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.4.0-SNAPSHOT"
:description "A build tool designed not to set your hair on fire."
:url "http://github.com/technomancy/... | Add contrib back in as per mailing list discussions. | Add contrib back in as per mailing list discussions.
Will be removed again in 2.0.
| Clojure | epl-1.0 | 0/leiningen,0/leiningen |
1b037c4983f6fd114ba20e18a05649b297c0185b | project.clj | project.clj | (defproject org.onyxplatform/onyx-peer-http-query "0.10.0.0-alpha5"
: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 |
bcadd19152c9cb80eb88d290c6479b9bcc30ed3d | project.clj | project.clj | (defproject protobuf "0.6.0-beta19"
:description "Clojure-protobuf provides a clojure interface to Google's protocol buffers."
:dependencies [[org.clojure/clojure "1.4.0"]
[ordered-collections "0.4.0"]
[useful "0.8.2-alpha1"]
[schematic "0.0.5"]]
:plugins [[lein-... | (defproject protobuf "0.6.0-beta19"
:description "Clojure-protobuf provides a clojure interface to Google's protocol buffers."
:dependencies [[org.clojure/clojure "1.4.0"]
[ordered-collections "0.4.0"]
[useful "0.8.2-alpha1"]
[schematic "0.0.5"]]
:plugins [[lein-... | Set real version of lein-protobuf. | Set real version of lein-protobuf.
| Clojure | epl-1.0 | oliyh/clojure-protobuf,l0st3d/clojure-protobuf,ninjudd/clojure-protobuf,flatland/clojure-protobuf |
2b6cc372257efde7631ebcf97bc99f0ac4915306 | project.clj | project.clj | (defproject reply "0.1.0-alpha1"
:description "REPL-y: A fitter, happier, more productive REPL for Clojure."
:dependencies [[org.clojure/clojure "1.3.0"]
[org.clojars.trptcolin/jline "2.6-alpha1"]
[org.thnetos/cd-client "0.3.1" :exclusions [org.clojure/clojure]]
[c... | (defproject reply "0.1.0-alpha2-SNAPSHOT"
:description "REPL-y: A fitter, happier, more productive REPL for Clojure."
:dependencies [[org.clojure/clojure "1.3.0"]
[org.clojars.trptcolin/jline "2.6-alpha1"]
[org.thnetos/cd-client "0.3.1" :exclusions [org.clojure/clojure]]
... | Prepare for the next round | Prepare for the next round
| Clojure | epl-1.0 | bbatsov/reply,trptcolin/reply,bbatsov/reply,trptcolin/reply |
38b19437fd761f99bf31ade6769509f44da2b544 | project.clj | project.clj | (defproject kixi.hecuba.weather "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.6.0"]
[org.clojure/data.csv "0.1... | (defproject kixi.hecuba.weather "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.7.0"]
[org.clojure/data.csv "0.1... | Move Clojure version from 1.6 to 1.7 | Move Clojure version from 1.6 to 1.7
| Clojure | epl-1.0 | MastodonC/kixi.hecuba.weather |
c0801e9b0bd3429a8578819e0066ec1fb3303b2b | project.clj | project.clj | (defproject trinity "0.1.0-SNAPSHOT"
:description "A sweet little Clojure API for Atomix"
:url "http://github.com/atomix/trinity"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.6.0"]
[io.atomix/atomix... | (defproject trinity "0.1.0-SNAPSHOT"
:description "A sweet little Clojure API for Atomix"
:url "http://github.com/atomix/trinity"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.6.0"]
[io.atomix/atomix... | Change Catalyst dependency to use new groupId. | Change Catalyst dependency to use new groupId.
| Clojure | epl-1.0 | jhalterman/figaro,atomix/trinity |
8e898e8767e4a611d2aafdf16eb32f6f39431531 | project.clj | project.clj | (defproject clucy "0.4.0"
:description "A Clojure interface to the Lucene search engine"
:url "http://github/weavejester/clucy"
:dependencies [[org.clojure/clojure "1.7.0"]
[org.apache.lucene/lucene-core "5.3.0"]
[org.apache.lucene/lucene-queryparser "5.3.0"]
[or... | (defproject org.clojars.kostafey/clucy "0.5.3"
:description "A Clojure interface to the Lucene search engine"
:url "http://github/kostafey/clucy"
:dependencies [[org.clojure/clojure "1.7.0"]
[org.apache.lucene/lucene-core "5.3.0"]
[org.apache.lucene/lucene-queryparser "5.3.0"]
... | Update fork version and url. | Update fork version and url.
| Clojure | epl-1.0 | kostafey/clucy |
38847bdc5307124a7fc681c5038fe778d1c4512b | project.clj | project.clj | (defproject stencil "0.1.0-SNAPSHOT"
:description "Mustache in Clojure"
:dependencies [[clojure "1.2.0"]
[org.clojure/clojure-contrib "1.2.0"]]
:dev-dependencies [[swank-clj "0.1.6-SNAPSHOT"]
[org.clojure/clojure-contrib "1.2.0"]]
:tasks [cake.tasks.swank-clj stencil.cake.t... | (defproject stencil "0.1.0"
:description "Mustache in Clojure"
:dependencies [[clojure "1.2.0"]
[org.clojure/clojure-contrib "1.2.0"]]
:dev-dependencies [[swank-clj "0.1.6-SNAPSHOT"]
[org.clojure/clojure-contrib "1.2.0"]]
:tasks [cake.tasks.swank-clj stencil.cake.tasks]) | Change version number for 0.1.0 release. | Change version number for 0.1.0 release.
| Clojure | epl-1.0 | caribou/antlers |
00f5293fcbf2ff663adec2ac47e45d7e9684172d | project.clj | project.clj | ;; The Climate Corporation licenses this file to you under 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
;;
;; See the NOTICE file distributed with ... | ;; The Climate Corporation licenses this file to you under 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
;;
;; See the NOTICE file distributed with ... | Change version back to snapshot | Change version back to snapshot
| Clojure | apache-2.0 | TheClimateCorporation/claypoole |
337e1a382fcc180e7e2b5d32de2d29086f2c1e71 | project.clj | project.clj | (defproject onyx-app/lein-template "0.9.0.9"
: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.9.0.10-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 |
49679b517a1f16fead9d377050607f4cf33f8cb9 | project.clj | project.clj | (defproject statuses "1.0.0-SNAPSHOT"
:description "Statuses app for innoQ"
:url "https://github.com/innoq/statuses"
:license {:name "Apache License, Version 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0"
:distribution :repo
:comments "A business-friendly OSS license"}
... | (defproject statuses "1.0.0-SNAPSHOT"
:description "Statuses app for innoQ"
:url "https://github.com/innoq/statuses"
:license {:name "Apache License, Version 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0"
:distribution :repo
:comments "A business-friendly OSS license"}
... | Update data.json from 0.2.5 to 0.2.6. | Update data.json from 0.2.5 to 0.2.6.
| Clojure | apache-2.0 | mvitz/statuses,innoq/statuses |
404634337556126ed3e797dca59e65253711185d | project.clj | project.clj | (defproject fixturex/fixturex "0.3.0"
:description "A library of helpful test fixture macros and functions."
:url "http://www.ryanmcg.com/fixturex/"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.6.0"]]
:repack [{:t... | (defproject fixturex/fixturex "0.3.0"
:description "A library of helpful test fixture macros and functions."
:url "http://www.ryanmcg.com/fixturex/"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.6.0"]]
:repack [{:t... | Upgrade lein-repack and set scm. | Upgrade lein-repack and set scm.
| Clojure | epl-1.0 | RyanMcG/fixturex |
7158f41ccd67d6ebd32d17757f2b00eb05d98b89 | project.clj | project.clj | (defproject wall-follower "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"}
:uberjar-name "ev3main.jar"
:main wall_follower.Main
:source-paths ["src/clj"]
:java-sou... | (defproject wall-follower "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"}
:uberjar-name "ev3main.jar"
:main wall_follower.Main
:source-paths ["src/clj"]
:java-sou... | Remove clojure as a dependency | Remove clojure as a dependency
| Clojure | epl-1.0 | RadicalZephyr/ev3java |
73e99fc20c64c22d13120edd14d0dd1d33be2b96 | project.clj | project.clj | (defproject org.onyxplatform/onyx-bookkeeper "0.8.1.0-0.8.1"
: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.1-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 |
6a40afc70a7fd5983b04dc3f30dcfcdcdcffc34e | project.clj | project.clj | (defproject org.toomuchcode/clara-rules "0.1.1"
:description "Clara Rules Engine"
:url "http://rbrush.github.io/clara-rules/"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.5.1"]
[org.codehaus.jsr166-... | (defproject org.toomuchcode/clara-rules "0.1.2-SNAPSHOT"
:description "Clara Rules Engine"
:url "http://rbrush.github.io/clara-rules/"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.5.1"]
[org.codehau... | Increment to next development version. | Increment to next development version.
| Clojure | apache-2.0 | kulkarnipushkar/clara-rules,WilliamParker/clara-rules,kulkarnipushkar/clara-rules,cerner/clara-rules,kulkarnipushkar/clara-rules,cerner/clara-rules,mrrodriguez/clara-rules,cerner/clara-rules,WilliamParker/clara-rules,mrrodriguez/clara-rules,mrrodriguez/clara-rules,WilliamParker/clara-rules |
2bbdeb66ab25110a3e7c365190ac0898602ca30a | project.clj | project.clj | (defproject compojure "1.1.8"
: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.3.0"]
[org.clojure/tools.... | (defproject compojure "1.1.8"
: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.3.0"]
[org.clojure/tools.... | Update Codox plugin to 0.8.10 | Update Codox plugin to 0.8.10
| Clojure | epl-1.0 | ezy023/compojure,Christopher-Bui/compojure,weavejester/compojure,sidcarter/compojure |
355a09f3a3cb8e2034bbab2585082ea2692efd59 | project.clj | project.clj | (defproject govuk/blinken "0.1.0-SNAPSHOT"
:description "Dashboard to integrate multiple alert systems"
:url "https://github.com/alphagov/blinken"
:license {:name "MIT"
:url "http://opensource.org/licenses/MIT"}
:dependencies [[org.clojure/clojure "1.5.1"]
[docopt "0.6.1"]
... | (defproject govuk/blinken "0.1.0-SNAPSHOT"
:description "Dashboard to integrate multiple alert systems"
:url "https://github.com/alphagov/blinken"
:license {:name "MIT"
:url "http://opensource.org/licenses/MIT"}
:dependencies [[org.clojure/clojure "1.5.1"]
[docopt "0.6.1"]
... | Add lein-daemon as a dependency. | Add lein-daemon as a dependency.
| Clojure | mit | alphagov/blinken |
98133cf4900f8c7926be524f1245f0451979cd1a | 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"]
... | Replace props dependency by cprop | Replace props dependency by cprop
| Clojure | epl-1.0 | c-garcia/madouc |
f78054efa2a917fa112a57f9dbae4a3d461a2934 | src/docker_clojure/dockerfile/tools_deps.clj | src/docker_clojure/dockerfile/tools_deps.clj | (ns docker-clojure.dockerfile.tools-deps)
(defn install-deps [{:keys [distro]}]
(case distro
"alpine"
["RUN echo '@testing http://dl-cdn.alpinelinux.org/alpine/edge/testing' >> /etc/apk/repositories && \\"
" apk add --update --no-cache bash curl rlwrap@testing"]
"debian"
["RUN apt-get update &... | (ns docker-clojure.dockerfile.tools-deps)
(defn install-deps [{:keys [distro]}]
(case distro
"alpine"
["RUN apk add --update --no-cache bash curl"]
"debian"
["RUN apt-get update && apt-get install -y rlwrap"]
nil))
(defn contents [{:keys [build-tool-version] :as variant}]
(-> [(format "ENV C... | Remove rlwrap from alpine tools-deps images | Remove rlwrap from alpine tools-deps images
Addresses #55
| Clojure | mit | Quantisan/docker-clojure |
daaa31b34c79634ff902ba07f6d09829361058eb | metlog-agent/config.clj | metlog-agent/config.clj | (def start-t (System/currentTimeMillis))
(defn random-sampler [ ]
(let [current (atom 0.0)]
(fn [ ]
(swap! current #(+ % (/ (+ (Math/random) (Math/random)) 2) -0.5)))))
(def rs-0 (random-sampler))
(def rs-1 (random-sampler))
(def rs-2 (random-sampler))
(defsensor random-unconstrained {:poll-interval (sec... | (def start-t (System/currentTimeMillis))
(defn random-sampler [ ]
(let [current (atom 0.0)]
(fn [ ]
(swap! current #(+ % (/ (+ (Math/random) (Math/random)) 2) -0.5)))))
(defsensor* random-unconstrained {:poll-interval (seconds 10)}
(let [rs (random-sampler)]
(fn [] (rs))))
(defsensor* random-positi... | Add two additional test series for ranges, these for y ranges that do not include 0. | Add two additional test series for ranges, these for y ranges that do not include 0.
| Clojure | epl-1.0 | mschaef/metlog |
ccdfe4f3ff84b1396608468fbc809800d5a1c9ef | dev/user.clj | dev/user.clj | (ns user
(:require [ruuvi.system]
[clojure.edn :as edn]
[clojure.tools.logging :refer [info error] :as log]
[com.stuartsierra.component :as component]
[clojure.tools.namespace.repl :refer [refresh refresh-all]]
))
(def system nil)
(defn init
"Constructs ... | (ns user
(:require [ruuvi.system]
[clojure.edn :as edn]
[clojure.tools.logging :refer [info error] :as log]
[com.stuartsierra.component :as component]
[clojure.tools.namespace.repl :refer [refresh refresh-all]]
[midje.repl :as midje]
))
(def sys... | Add command to start midje autotest | Add command to start midje autotest
| Clojure | epl-1.0 | jsyrjala/turbulent-sniffle |
e69b47b456a1e592ca7cf9349c9b6e8526cebc58 | dev/user.clj | dev/user.clj | (ns user
(:require [clojure.java.io :as io]
[clojure.string :as str]
[clojure.pprint :refer (pprint)]
[clojure.repl :refer :all]
[clojure.tools.namespace.repl :refer (refresh refresh-all)]
[pathfinder.system :as sys]
[midje.repl :refer (autotest)... | (ns user
(:require [clojure.java.io :as io]
[clojure.string :as str]
[clojure.pprint :refer (pprint)]
[clojure.repl :refer :all]
[clojure.tools.namespace.repl :refer (refresh refresh-all)]
[pathfinder.system :as sys]
[midje.repl :refer (autotest)... | Change ES endpoint to point to aliased docker hostname | Change ES endpoint to point to aliased docker hostname
| Clojure | apache-2.0 | cimi/PathFinder,Unravelled/PathFinder,gregsexton/PathFinder,gregsexton/PathFinder,cimi/PathFinder,robochuck84/PathFinder,robochuck84/PathFinder,Unravelled/PathFinder |
1e0b8cf8ec46453a41373c61451c516975dc1902 | src/kolmogorov_music/kolmogorov.clj | src/kolmogorov_music/kolmogorov.clj | (ns kolmogorov-music.kolmogorov
(:require [clojure.repl :as repl]))
(defn in-ns? [sym ns]
(contains? (ns-interns ns) sym))
(defn sexpr [sym]
(-> sym repl/source-fn read-string))
(defn definition [sym]
(-> sym sexpr last))
(defn complexity-sym [sym ns]
(if (in-ns? sym ns)
(->> (definition sym)
... | (ns kolmogorov-music.kolmogorov
(:require [clojure.repl :as repl]))
(defn in-ns? [sym ns]
(contains? (ns-interns ns) sym))
(defn sexpr [sym]
(-> sym repl/source-fn read-string))
(defn definition [sym]
(-> sym sexpr last))
(declare complexity-sexpr)
(defn complexity-sym [sym ns]
(if (in-ns? sym ns)
(-... | Use mutual recursion to make the sym/sexpr dance clearer. | Use mutual recursion to make the sym/sexpr dance clearer.
| Clojure | mit | ctford/kolmogorov-music,ctford/kolmogorov-music |
03c7cd1743a11674ad68b763c865fe9191c3f6ef | src/swanson/models/db.clj | src/swanson/models/db.clj | (ns swanson.models.db
(:require [clojure.java.jdbc :as sql]))
(def db {:subprotocol "postgresql"
:subname "//localhost/swanson"
:user "admin"
:password "admin"})
(defn create-users-table []
(sql/with-connection db
(sql/create-table
:users
[:id "varchar(32) PRIMARY KEY"]
... | (ns swanson.models.db
(:require [clojure.java.jdbc :as sql]))
(def db {:subprotocol "postgresql"
:subname "//localhost/swanson"
:user "admin"
:password "admin"})
(defn create-users-table []
(sql/with-connection db
(sql/create-table
:users
[:id "serial primary key"]
... | Make improvements to user model | Make improvements to user model
| Clojure | epl-1.0 | mjamesruggiero/swanson,mjamesruggiero/swanson,mjamesruggiero/swanson |
e5488ed216fe70d4a6df1b1aee96370ca442c378 | examples/ring-spec-swagger/project.clj | examples/ring-spec-swagger/project.clj | (defproject ring-example "0.1.0-SNAPSHOT"
:description "Reitit Ring App with Swagger"
:dependencies [[org.clojure/clojure "1.10.0"]
[ring/ring-jetty-adapter "1.7.1"]
[metosin/reitit "0.3.9"]]
:repl-options {:init-ns example.server}
:profiles{:dev {:dependencies [[ring/ring-mock... | (defproject ring-example "0.1.0-SNAPSHOT"
:description "Reitit Ring App with Swagger"
:dependencies [[org.clojure/clojure "1.10.0"]
[ring/ring-jetty-adapter "1.7.1"]
[metosin/reitit "0.3.9"]]
:repl-options {:init-ns example.server}
:profiles {:dev {:dependencies [[ring/ring-moc... | Add space between keyword and curly | Add space between keyword and curly | Clojure | epl-1.0 | metosin/reitit,metosin/reitit,metosin/reitit |
bb2d3231817f3d4dc5fab336fbf9e2331872017b | planck-cljs/script/decode.cljs | planck-cljs/script/decode.cljs | (ns script.bootstrap.build
(:require
[cljs.source-map :as sm]
[cognitect.transit :as transit]
[planck.core :refer [slurp spit]]
[planck.repl :refer [strip-source-map]]))
(defn cljs->transit-json
[x]
(let [wtr (transit/writer :json)]
(transit/write wtr x)))
(let [file (first *command-line-args*)
... | (ns script.bootstrap.build
(:require
[cljs.source-map :as sm]
[cognitect.transit :as transit]
[planck.core :refer [slurp spit]]
[planck.repl :refer [strip-source-map]]))
(defn cljs->transit-json
[x]
(let [wtr (transit/writer :json)]
(transit/write wtr x)))
(let [file (first *command-line-args*)
... | Fix for private var use | Fix for private var use
| Clojure | epl-1.0 | mfikes/planck,mfikes/planck,mfikes/planck,mfikes/planck,mfikes/planck,mfikes/planck |
070cea73c623e231ed6146356ef74e37b80d3baf | modules/clojure/src/test/resources/apps/basic/project.clj | modules/clojure/src/test/resources/apps/basic/project.clj | ;; Copyright 2014 Red Hat, Inc, and individual contributors.
;;
;; 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 appl... | ;; Copyright 2014 Red Hat, Inc, and individual contributors.
;;
;; 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 appl... | Update test app to latest clojure release. | Update test app to latest clojure release.
| Clojure | apache-2.0 | projectodd/wunderboss-release,projectodd/wunderboss,projectodd/wunderboss-release,projectodd/wunderboss-release,projectodd/wunderboss,projectodd/wunderboss |
4e7c7b2cb3d8c99406f43def42be4982ec8f0bcb | test/whitman/db_test.clj | test/whitman/db_test.clj | (ns whitman.db-test
(:require [clojure.test :refer :all]
[whitman.db :as db]))
(deftest test-db-url-with-default
(let [cfg {"database" "test"}]
(is (= (db/db-url cfg) "mongodb://localhost:27017/test"))))
(deftest test-db-url-when-specified
(let [cfg {"connection" "whitman.monkey-robot.com:27017"... | (ns whitman.db-test
(:require [clojure.test :refer :all]
[whitman.db :as db]))
(deftest test-db-url-with-default
(let [cfg {"database" "test"}]
(is (= (db/db-url cfg) "mongodb://localhost:27017/test"))))
(deftest test-db-url-when-specified
(let [cfg {"connection" "monkey-robot.com:27017"
... | Use monkey-robot.com:27017 as MongoDB test URL | Use monkey-robot.com:27017 as MongoDB test URL
Unlike whitman.monkey-robot.com, monkey-robot.com actually exists, so it
won't throw an error when trying to connect.
| Clojure | bsd-3-clause | mdippery/whitman |
9217c14f1dc1096fb0269d2950bfb6feb98edd2b | src/clojure/nightcode/repl.clj | src/clojure/nightcode/repl.clj | (ns nightcode.repl
(:require [nightcode.editors :as editors]
[nightcode.lein :as lein]
[nightcode.sandbox :as sandbox]
[nightcode.shortcuts :as shortcuts]
[nightcode.ui :as ui]
[nightcode.utils :as utils]
[seesaw.core :as s]))
(defn run-repl!
... | (ns nightcode.repl
(:require [nightcode.editors :as editors]
[nightcode.lein :as lein]
[nightcode.sandbox :as sandbox]
[nightcode.shortcuts :as shortcuts]
[nightcode.ui :as ui]
[nightcode.utils :as utils]
[seesaw.core :as s]))
(defn run-repl!
... | Clear console pane when resetting it | Clear console pane when resetting it
| Clojure | unlicense | Immortalin/Nightcode,Immortalin/Nightcode,bsmr-clojure/Nightcode,oakes/Nightcode,oakes/Nightcode,bsmr-clojure/Nightcode,Immortalin/Nightcode,bsmr-clojure/Nightcode |
b7016c4e514ab73fefc407fc08291a4fe2fe2b37 | src/doctopus/configuration.clj | src/doctopus/configuration.clj | (ns doctopus.configuration
(:require [nomad :refer [defconfig]]
[clojure.java.io :as io]))
(defconfig server-config (io/resource "configuration.edn"))
| (ns doctopus.configuration
(:require [nomad :refer [defconfig]]
[clojure.java.io :as io]))
(defconfig server-config (io/resource "configuration.edn"))
(def docs-uri-prefix "/docs")
| Add a docs config prefix | Add a docs config prefix
| Clojure | epl-1.0 | Gastove/doctopus |
485de599b2370f1b0dbadaedecfbb3c55a764332 | src/less4clj/util.clj | src/less4clj/util.clj | (ns less4clj.util)
;;
;; Debugging
;; from boot.util
;;
; Hack to detect boot verbosity
(defn- get-verbosity []
(try
(require 'boot.util)
; Deref var and atom
@@(resolve 'boot.util/*verbosity*)
(catch Exception _
1)))
(defn- print*
[verbosity args]
(when (>= (get-verbosity) verbosity)
... | (ns less4clj.util)
;;
;; Debugging
;; from boot.util
;;
(def ^:dynamic *verbosity* 1)
; Hack to detect boot verbosity
(defn- get-verbosity []
(try
(require 'boot.util)
; Deref var and atom
@@(resolve 'boot.util/*verbosity*)
(catch Exception _
*verbosity*)))
(defn- print*
[verbosity args]
... | Add dynamic var for setting verbosity | Add dynamic var for setting verbosity
| Clojure | epl-1.0 | Deraen/less4clj |
c733fd11aa9d133d40428596aff108eb49c829bc | examples/todomvc/src/deps.cljs | examples/todomvc/src/deps.cljs | {:npm-dev-deps {"shadow-cljs" "2.8.69"
"karma" "4.3.0"
"karma-chrome-launcher" "3.1.0"
"karma-cljs-test" "0.1.0"
"karma-junit-reporter" "1.2.0"}}
| {:npm-dev-deps {"shadow-cljs" "2.8.69"
"karma" "4.4.1"
"karma-chrome-launcher" "3.1.0"
"karma-cljs-test" "0.1.0"
"karma-junit-reporter" "1.2.0"}}
| Upgrade todomvc example karma to 4.4.1 | Upgrade todomvc example karma to 4.4.1
| Clojure | mit | Day8/re-frame-trace |
3b3cada1244d7f2711ded3609bd7854d52094fdf | src/clojure/uk/org/potentialdifference/darknet/config.clj | src/clojure/uk/org/potentialdifference/darknet/config.clj | (ns uk.org.potentialdifference.darknet.config)
(def ip "192.168.1.24")
(def config
{:ws-url (str "wss://" ip ":8081")
:api-url (str "http://") ip ":8080"
:api-key "x9RHJ2I6nWi376Wa"})
| (ns uk.org.potentialdifference.darknet.config)
(def ip "192.168.1.25")
(def config
{:ws-url (str "wss://" ip ":8081")
:api-url (str "http://" ip ":8080")
:api-key "x9RHJ2I6nWi376Wa"})
| Move server onto new IP | Move server onto new IP
| Clojure | epl-1.0 | henrygarner/darknet-app |
17d8c9f45c3a8ce5a270541da9a25dbdfc6c97e9 | test/structural_typing/use/f_error_messages.clj | test/structural_typing/use/f_error_messages.clj | (ns structural-typing.use.f-error-messages
(:require [structural-typing.preds :as pred])
(:use midje.sweet
structural-typing.type
structural-typing.global-type
structural-typing.clojure.core
structural-typing.assist.testutil))
(future-fact "There should be an error if there's an ins... | (ns structural-typing.use.f-error-messages
(:require [structural-typing.preds :as pred])
(:use midje.sweet
structural-typing.type
structural-typing.global-type
structural-typing.clojure.core
structural-typing.assist.testutil))
(future-fact "There should be an error if there's an ins... | Add future-fact for error message | Add future-fact for error message | Clojure | mit | marick/structural-typing |
5f4e202a15b1bf6d45b4a84ae649c17d1ef51109 | test/isla/test/talk.clj | test/isla/test/talk.clj | (ns isla.test.talk
(:use [isla.talk])
(:use [clojure.test])
(:use [clojure.pprint]))
;; list-rooms
(deftest test-0-rooms
(is (re-find #"no way out of this room"
(list-rooms []))))
(deftest test-1-room
(is (re-find #"see a door to the palace"
(list-rooms [{:name "palace"}]))))
... | (ns isla.test.talk
(:use [isla.talk])
(:use [clojure.test])
(:use [clojure.pprint]))
;; list-things
(def list-rooms-texts ["no way out of this room"
"you can see a door to" "you can see doors to" "the"])
(deftest test-0-rooms
(is (re-find #"no way out of this room"
(appl... | Update tests to test list-things rather than list-rooms. | Update tests to test list-things rather than list-rooms. | Clojure | mit | maryrosecook/islaclj |
6c226faa4c5901ee7774dec6a776a0b0ec5f90a8 | ClojureScript/project.clj | ClojureScript/project.clj | (defproject clik-clak-joe "0.1.0-SNAPSHOT"
:description "React Native tic-tac-toe in ClojureScript"
:dependencies [[org.clojure/clojure "1.6.0"]
[org.clojure/clojurescript "0.0-3153"]
[org.omcljs/om "0.9.0-SNAPSHOT"]
[org.omcljs/ambly "0.1.0-SNAPSHOT"]]
:plugins ... | (defproject clik-clak-joe "0.1.0-SNAPSHOT"
:description "React Native tic-tac-toe in ClojureScript"
:dependencies [[org.clojure/clojure "1.6.0"]
[org.clojure/clojurescript "0.0-3153"]
[org.omcljs/om "0.8.8"]
[org.omcljs/ambly "0.1.0-SNAPSHOT"]]
:plugins [[lein-cl... | Revert back to unmodified Om | Revert back to unmodified Om
| Clojure | epl-1.0 | mfikes/clik-clak-joe |
918ad08d2d2cffec480ba8f0ee8fcb582f36fe9a | src/leiningen/difftest.clj | src/leiningen/difftest.clj | (ns leiningen.difftest
(:require [leiningen.test :as test]))
(defn difftest [project & args]
(apply test/test (-> project
(update-in [:injections] conj
'((ns-resolve (doto 'difftest.core
require) 'activate)))... | (ns leiningen.difftest
(:require [leiningen.test :as test]
[leiningen.core.project :as project]))
(def profile
{:injections ['((ns-resolve (doto 'difftest.core require) 'activate))]
:dependencies [['difftest "1.3.8"]]})
(defn difftest
"Run tests with improved failure output."
[project & args]
... | Implement injections in terms of a profile. | Implement injections in terms of a profile.
| Clojure | epl-1.0 | brentonashworth/lein-difftest |
253665b96837cb06f66ba3044e72363a2724d661 | dev-resources/spec.clj | dev-resources/spec.clj | ;; This Source Code Form is subject to the terms of the Mozilla Public
;; License, v. 2.0. If a copy of the MPL was not distributed with this
;; file, You can obtain one at http://mozilla.org/MPL/2.0/.
;;;; Development settings.
{:config {:cassandra {:config-file "cassandra.yaml"}
:kafka {:port "9090"
... | ;; This Source Code Form is subject to the terms of the Mozilla Public
;; License, v. 2.0. If a copy of the MPL was not distributed with this
;; file, You can obtain one at http://mozilla.org/MPL/2.0/.
;;;; Development settings.
{:config {:cassandra {:config-file "cassandra.yaml"}
:kafka {:port "9090"
... | Add test module to Containium. | Add test module to Containium.
| Clojure | mpl-2.0 | containium/containium,containium/containium,containium/containium,containium/containium |
32c902cf3a8aec6dbe4635ec9583bafd10e924ac | dev-resources/user.clj | dev-resources/user.clj | (ns user
(:use io.aviso.repl
clojure.pprint)
(:require [clojure.tools.logging :as l]))
(install-pretty-exceptions)
(defmacro other-thread
[& body]
`(.start (Thread. (bound-fn [] ~@body))))
| (ns user
(:use io.aviso.repl
io.aviso.logging
io.aviso.tracker
clojure.pprint)
(:require [clojure.tools.logging :as l]))
(install-pretty-exceptions)
(io.aviso.logging/install-pretty-logging)
(io.aviso.logging/install-uncaught-exception-handler)
(defmacro other-thread
[& body]
`(.start ... | Add some tools to make it easier to experiment | Add some tools to make it easier to experiment
| Clojure | apache-2.0 | AvisoNovate/tracker |
9598323092cf2034e0629aefeba452f4fae932bc | src/clj/backend/boot.clj | src/clj/backend/boot.clj | (ns backend.boot
{:boot/export-tasks true}
(:require [boot.core :refer :all]
[reloaded.repl :refer [go]]
[backend.main :refer :all]))
(deftask start-app
[p port PORT int "Port"]
(let [x (atom nil)]
(with-pre-wrap fileset
(swap! x (fn [x]
(if x
... | (ns backend.boot
{:boot/export-tasks true}
(:require [boot.core :refer :all]
[reloaded.repl :refer [go]]
[backend.main :refer :all]
[clojure.tools.namespace.repl :refer [disable-reload!]]))
(disable-reload!)
(deftask start-app
[p port PORT int "Port"]
(let [x (atom nil)]... | Disable reloading start-app task with c.t.n | Disable reloading start-app task with c.t.n
| Clojure | mit | Deraen/saapas |
6994cdb148bab676dc41c7365333d322c506236d | build.boot | build.boot | (set-env!
:source-paths #{"src/main/java"}
:test-paths #{"src/test/java"}
:dependencies '[[junit "4.12" :scope "test"]])
(def +version+ "0.1.0")
(task-options!
pom {:project 'http-server
:version +version+
:description "A Java HTTP server."
:url "https://github.com/RadicalZephyr/http-server"
... | (set-env!
:source-paths #{"src/main/java" "src/test/java"}
:dependencies '[[junit "4.12" :scope "test"]])
(def +version+ "0.1.0")
(task-options!
pom {:project 'http-server
:version +version+
:description "A Java HTTP server."
:url "https://github.com/RadicalZephyr/http-server"
:scm {:url "h... | Add the tests to source-paths | Add the tests to source-paths
| Clojure | mit | RadicalZephyr/http-server |
b90cec7b10e94387a974b2fb2ab9b74546deca45 | test/aspire/core_test.clj | test/aspire/core_test.clj | (ns aspire.core-test
(:require [clojure.test :refer :all]
[aspire.core :refer :all]))
(deftest a-test
(testing "FIXME, I fail."
(is (= 0 1))))
(deftest pass-test
(testing "I pass"
(is (= 1 1))))
| (ns aspire.core-test
(:require [clojure.test :refer :all]
[aspire.core :refer :all]))
(deftest pass-test
(testing "I pass"
(is (= 1 1))))
| Remove lein default failing test. | Remove lein default failing test.
| Clojure | epl-1.0 | vlacs/navigator-archive |
e86cf3d55ca0bd2a912afdebbf014a52cc903ccc | lein-template/src/main/leiningen/new/aviary/project.clj | lein-template/src/main/leiningen/new/aviary/project.clj | (defproject {{raw-name}} "0.1.0-SNAPSHOT"
:description "FIXME: Write a description."
:url "FIXME: Add a URL."
:scm {:name "git"
:url "FIXME: Add a URL."}
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:main {{namespace}}.site
:source-paths ["sr... | (defproject {{raw-name}} "0.1.0-SNAPSHOT"
:description "FIXME: Write a description."
:url "FIXME: Add a URL."
:scm {:name "git"
:url "FIXME: Add a URL."}
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:main {{namespace}}.site
:source-paths ["sr... | Fix typo in :repl-options :init. | lein-template: Fix typo in :repl-options :init.
| Clojure | epl-1.0 | wkf/aviary,wkf/aviary |
aab4d446b9fbedb8f5c63cb392ff3d8636ac1f3f | src/chaintool/build/core.clj | src/chaintool/build/core.clj | ;; Licensed to the Apache Software Foundation (ASF) under one
;; or more contributor license agreements. See the NOTICE file
;; distributed with this work for additional information
;; regarding copyright ownership. The ASF licenses this file
;; to you under the Apache License, Version 2.0 (the
;; "License"); you may... | ;; Licensed to the Apache Software Foundation (ASF) under one
;; or more contributor license agreements. See the NOTICE file
;; distributed with this work for additional information
;; regarding copyright ownership. The ASF licenses this file
;; to you under the Apache License, Version 2.0 (the
;; "License"); you may... | Add support for platform based conditional | Add support for platform based conditional
Signed-off-by: Greg Haskins <640d9fe47775e6723f0355b7315e38f7d98d3539@gmail.com>
| Clojure | apache-2.0 | ghaskins/obcc,ghaskins/chaintool,ghaskins/chaintool,ghaskins/obcc |
289056bd4ac3cbeaeff9d6f07be7b3bf943c6c57 | roles/neutron-data-network/templates/etc/xorp/config.boot | roles/neutron-data-network/templates/etc/xorp/config.boot | interfaces {
restore-original-config-on-shutdown: false
interface eth0 {
description: "Internal pNodes interface"
disable: false
default-system-config
}
}
protocols {
igmp {
disable: false
interface eth0 {
vif eth0 {
disable: false
... | interfaces {
restore-original-config-on-shutdown: false
interface {{ hostvars[inventory_hostname][primary_interface]['device'] }} {
description: "Internal pNodes interface"
disable: false
default-system-config
}
}
protocols {
igmp {
disable: false
interface {{ ho... | Move xorp to use 'primary_interface' | Move xorp to use 'primary_interface'
xorp should adhere to the standard we have set which is to use
primary_interface when referencing (unsurprisingly) your primary
interface.
| Clojure | mit | panxia6679/ursula,blueboxgroup/ursula,ddaskal/ursula,andrewrothstein/ursula,nirajdp76/ursula,channus/ursula,jwaibel/ursula,edtubillara/ursula,aldevigi/ursula,wupeiran/ursula,aldevigi/ursula,blueboxgroup/ursula,allomov/ursula,sivakom/ursula,paulczar/ursula,panxia6679/ursula,ryshah/ursula,greghaynes/ursula,j2sol/ursula,p... |
9c372961c14bc8d7218d1e64c09af3a079397ee0 | metrics-clojure-core/src/metrics/core.clj | metrics-clojure-core/src/metrics/core.clj | (ns metrics.core
(:import [com.codahale.metrics MetricRegistry Metric]))
(def ^{:tag "MetricRegistry" :doc "Default registry used by public API functions when no explicit registry argument is given"}
default-registry
(MetricRegistry.))
(defn ^MetricRegistry new-registry
[]
(MetricRegistry.))
(defn ^String ... | (ns metrics.core
(:import [com.codahale.metrics MetricRegistry Metric]))
(def ^{:tag "MetricRegistry" :doc "Default registry used by public API functions when no explicit registry argument is given"}
default-registry
(MetricRegistry.))
(defn ^MetricRegistry new-registry
[]
(MetricRegistry.))
(defn ^String ... | Handle title array with three items as a special case | Handle title array with three items as a special case
| Clojure | mit | matthiasn/metrics-clojure |
944582bface56c4dae3e0126c45fbbc298e34540 | backend/test/circle/backend/build/test_run_build.clj | backend/test/circle/backend/build/test_run_build.clj | (ns circle.backend.build.test-run-build
(:use midje.sweet)
(:use [circle.backend.build.test-utils :only (minimal-build)])
(:use [circle.backend.action :only (defaction)])
(:use [circle.backend.build :only (build successful?)])
(:use [circle.backend.build.run :only (run-build)])
(:use [circle.util.predicates... | (ns circle.backend.build.test-run-build
(:use midje.sweet)
(:use [circle.backend.build.test-utils :only (minimal-build)])
(:use [circle.backend.action :only (defaction)])
(:use [circle.backend.build :only (build successful?)])
(:use [circle.backend.build.run :only (run-build)])
(:use [circle.util.predicates... | Fix the tests after making (build) fn more strict | Fix the tests after making (build) fn more strict
| Clojure | epl-1.0 | circleci/frontend,prathamesh-sonpatki/frontend,RayRutjes/frontend,circleci/frontend,circleci/frontend,prathamesh-sonpatki/frontend,RayRutjes/frontend |
76aeb42e1afa71ed88adf40da3a514a263a1bbd2 | src/io/aviso/rook/utils.clj | src/io/aviso/rook/utils.clj | (ns io.aviso.rook.utils
"Kitchen-sink of useful standalone utilities."
(:import
(java.util UUID))
(:use
[clojure.core.async :only [go >!]])
(:require
[clojure.pprint :as pprint]))
(defn new-uuid
"Generates a new UUID string, via UUIDrandomUUID."
[]
(-> (UUID/randomUUID) .toString))
(defn re... | (ns io.aviso.rook.utils
"Kitchen-sink of useful standalone utilities."
(:import
(java.util UUID))
(:use
[clojure.core.async :only [go >!]])
(:require
[clojure.pprint :as pprint]))
(defn new-uuid
"Generates a new UUID string, via UUIDrandomUUID."
[]
(-> (UUID/randomUUID) .toString))
(defn re... | Change go-try macro to return nil when exception is thrown (and sent to the channel) | Change go-try macro to return nil when exception is thrown (and sent to the channel)
| Clojure | apache-2.0 | bmabey/rook,roblally/rook,clyfe/rook |
c415756be1bf7e75361237acb82ae1667240d25d | src/uxbox/services/core.clj | src/uxbox/services/core.clj | ;; This Source Code Form is subject to the terms of the Mozilla Public
;; License, v. 2.0. If a copy of the MPL was not distributed with this
;; file, You can obtain one at http://mozilla.org/MPL/2.0/.
;;
;; Copyright (c) 2016 Andrey Antukh <niwi@niwi.nz>
(ns uxbox.services.core)
(def +hierarchy+
(as-> (make-hierar... | ;; This Source Code Form is subject to the terms of the Mozilla Public
;; License, v. 2.0. If a copy of the MPL was not distributed with this
;; file, You can obtain one at http://mozilla.org/MPL/2.0/.
;;
;; Copyright (c) 2016 Andrey Antukh <niwi@niwi.nz>
(ns uxbox.services.core
(:require [clojure.walk :as walk]
... | Add helper function for normalize db returing record attributes. | Add helper function for normalize db returing record attributes.
| Clojure | mpl-2.0 | uxbox/uxbox-backend,uxbox/uxbox-backend |
1ad67177522ce97a3774a989b22ee15f65f6a637 | test/cljs_workers/test.cljs | test/cljs_workers/test.cljs | (ns cljs-workers.test
(:require [cljs-workers.core :as main]
[cljs-workers.worker :as worker]))
(defn app
[]
(let [worker-pool (main/create-pool 2 "js/worker/worker.js")]
(main/do-with-pool! worker-pool {:handler :mirror, :arguments {:a "Hallo" :b "Welt" :c 10}} #(.debug js/console %))
(main/... | (ns cljs-workers.test
(:require [cljs-workers.core :as main]
[cljs-workers.worker :as worker]))
(defn app
[]
(let [worker-pool (main/create-pool 2 "js/worker/worker.js")
print-result #(.debug js/console (str (:state %)) %)]
(main/do-with-pool! worker-pool {:handler :mirror, :arguments {:a... | Test with better print fun | Test with better print fun
| Clojure | mit | jtkDvlp/cljs-workers |
8b1af95902eb0aea697dc0cad18069a156bd7aa3 | src/bogo_clojure/core.clj | src/bogo_clojure/core.clj | (ns bogo-clojure.core
(:gen-class)
(:require [clojure.string :as string]
[bogo-clojure.bg-word :refer :all]
[bogo-clojure.bg-telex :refer :all]))
(defn get-action
;; Action is a function taking in current string, make transform,
;; return the new string
[key typemode]
(if (contains... | (ns bogo-clojure.core
(:gen-class)
(:require [clojure.string :as string]
[bogo-clojure.bg-word :refer :all]
[bogo-clojure.bg-telex :refer :all]))
(defn get-action
;; Action is a function taking in current string, make transform,
;; return the new string
[key typemode]
(if (contains... | Handle case in both upper or lower cases. The input key now can be a char or a string | Handle case in both upper or lower cases. The input key now can be a char or a string
| Clojure | epl-1.0 | fuzzysource/bogo-clojure |
988556db3b9310d1f4acb01969cbc49edc09c81f | test/fcms/unit/resources/collection/collection_delete.clj | test/fcms/unit/resources/collection/collection_delete.clj | (ns fcms.unit.resources.collection.collection-delete
(:require [midje.sweet :refer :all]
[fcms.lib.resources :refer :all]
[fcms.lib.check :refer (about-now?)]
[fcms.resources.collection :refer :all]
[fcms.resources.common :as common]))
;; ----- Tests -----
(with-state... | Add unit tests for collection deletion | Add unit tests for collection deletion
| Clojure | mpl-2.0 | SnootyMonkey/Falkland-CMS | |
602ba49a88ec63671686cf6c1695a47ef47e7381 | project.clj | project.clj | (defproject dotenv "0.1.0"
:description "dotenv: Load environment variables from .env file into the JVM System Properties"
:url "https://github.com/primedia/clj-dotenv"
:dependencies [ [org.clojure/clojure "1.5.1"]
;;[org.clojars.jackmorrill/dotenv "0.1.0"]
[local/dotenv.core... | (defproject dotenv "0.1.0"
:description "dotenv: Load environment variables from .env file into the JVM System Properties"
:url "https://github.com/primedia/clj-dotenv"
:dependencies [ [org.clojure/clojure "1.5.1"]
[org.clojars.jackmorrill/dotenv "0.1.0"]
;;[local/dotenv.core... | Switch repositories from local to clojars.org | Switch repositories from local to clojars.org
| Clojure | mit | rentpath/clj-dotenv |
80e5eb2cabb2971959d89af2324a9e8099306322 | project.clj | project.clj | (defproject jcf/lein-template "0.1.1-SNAPSHOT"
:description "FIXME: write description"
:url "https://github.com/jcf/lein-template"
:license {:name "The MIT License"
:url "http://opensource.org/licenses/MIT"}
:deploy-repositories [["releases" :clojars]]
:eval-in-leiningen true
:profiles {:dev {:d... | (defproject jcf/lein-template "0.1.1-SNAPSHOT"
:description "FIXME: write description"
:url "https://github.com/jcf/lein-template"
:license {:name "The MIT License"
:url "http://opensource.org/licenses/MIT"}
:deploy-repositories [["releases" :clojars]]
:eval-in-leiningen true
:profiles {:dev {:d... | Add Leiningen to dev dependencies | Add Leiningen to dev dependencies
| Clojure | mit | jcf/lein-template |
a79c17ce630d128582633d7c9edd29ae9b09262a | clstreams/src/clstreams/examples/count_words/system.clj | clstreams/src/clstreams/examples/count_words/system.clj | (ns clstreams.examples.count-words.system
(:require [clstreams.examples.count-words.pipelines :as pipelines]
[clstreams.examples.count-words.webapi :as webapi]
[com.stuartsierra.component :as component]))
(defn count-words-system []
(component/system-map
:pipeline (pipelines/count-words)... | (ns clstreams.examples.count-words.system
(:require [clstreams.examples.count-words.pipelines :as pipelines]
[clstreams.examples.count-words.webapi :as webapi]
[clstreams.kstreams.component :refer [producer-send!]]
[clstreams.kstreams.helpers :as helpers]
[com.stuartsie... | Add a producer and a printer to the count-words example | Add a producer and a printer to the count-words example
| Clojure | apache-2.0 | MartinSoto/clojure-streams |
5d63158596759ce79479ee91733ac4856725505f | src/karmanaut/utils.clj | src/karmanaut/utils.clj | (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... | (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 the given date at midnight | Return the given date at midnight
| Clojure | bsd-3-clause | mdippery/karmanaut |
55c22c0bccc7643f8342e9b1b77b207684afb481 | day-06/src/solver/core.clj | day-06/src/solver/core.clj | (ns solver.core
(:gen-class))
(defn create-grid
([] (create-grid 1000))
([w] (create-grid w w))
([w h] (let [row (vec (map (fn [x] false) (range w)))
grid (vec (map (fn [x] row) (range h)))]
grid)))
(defn act-on
([f row a b] (let [low a
high (+ b 1)
... | (ns solver.core
(:gen-class))
(defn create-grid
([] (create-grid 1000))
([w] (create-grid w w))
([w h] (let [row (vec (map (fn [x] false) (range w)))
grid (vec (map (fn [x] row) (range h)))]
grid)))
(defn act-on
([f row a b] (let [low a
high (+ b 1)
... | Create utility functions to act on grid | Create utility functions to act on grid
| Clojure | mit | dvberkel/advent-of-code |
70a0adb908bf71b7e863488d0f2abeeb6c044e0b | project.clj | project.clj | (defproject cascade "0.2-SNAPSHOT"
:description "Simple, fast, easy web applications in idiomatic Clojure"
:url "http://github.com/hlship/cascade"
:source-path "src/main/clojure"
:resources-path "src/main/resources"
:test-path "src/test/clojure"
:dev-resources-path "src/test/resources"
:dependencies [[org... | (defproject cascade "0.2-SNAPSHOT"
:description "Simple, fast, easy web applications in idiomatic Clojure"
:url "http://github.com/hlship/cascade"
:source-path "src/main/clojure"
:resources-path "src/main/resources"
:test-path "src/test/clojure"
:dev-resources-path "src/test/resources"
:dependencies [[org... | Add support for Emacs support | Add support for Emacs support
| Clojure | apache-2.0 | hlship/cascade |
6fc1567b33923c70baa07dd02a3f0af7af3c03a4 | project.clj | project.clj | (defproject clj-ravendb "0.4.2-SNAPSHOT"
:description "A Clojure library for consuming a RavenDB rest api."
:url "https://github.com/markwoodhall/clj-ravendb"
:license {:name "MIT License"
:url "http://opensource.org/licenses/mit-license.php"}
:plugins [[quickie "0.2.5"]]
:dependencies [[org... | (defproject clj-ravendb "0.5.0"
:description "A Clojure library for consuming a RavenDB rest api."
:url "https://github.com/markwoodhall/clj-ravendb"
:license {:name "MIT License"
:url "http://opensource.org/licenses/mit-license.php"}
:plugins [[quickie "0.2.5"]]
:dependencies [[org.clojure/... | Remove trailing whitespace and bump version. | Remove trailing whitespace and bump version.
| Clojure | mit | markwoodhall/clj-ravendb |
a70251347382b7febf33c8fdb5be3048046193e8 | project.clj | project.clj | (defproject org.onyxplatform/onyx-metrics "0.8.0.5"
: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.6-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 |
5669b0ea2e953ce39127d2a0119efe0f0c50757a | project.clj | project.clj | (defproject fault "0.1.0"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:profiles {:dev {:dependencies [[junit/junit "4.11"]
[org.mockito/mockito-cor... | (defproject fault "0.1.0"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:profiles {:dev {:dependencies [[junit/junit "4.11"]
[org.mockito/mockito-cor... | Make criterium a dev dependencie | Make criterium a dev dependencie
| Clojure | apache-2.0 | tbrooks8/Beehive |
9702ef2f4d1bdf45c030824420c3eff61282468d | project.clj | project.clj | (defproject lein-fore-prob "0.1.3-SNAPSHOT"
:description "Leiningen plugin to populate a project from a 4clojure problem."
:url "https://github.com/bfontaine/lein-fore-prob"
:license {:name "Eclipse Public License"
:url "https://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[clj-http ... | (defproject lein-fore-prob "0.1.3-SNAPSHOT"
:description "Leiningen plugin to populate a project from a 4clojure problem."
:url "https://github.com/bfontaine/lein-fore-prob"
:license {:name "Eclipse Public License"
:url "https://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[clj-http ... | Add cheshire back for JSON support | Add cheshire back for JSON support
| Clojure | epl-1.0 | bfontaine/lein-fore-prob |
5c6358816a59541e986f36982106545ae85fcc00 | project.clj | project.clj | (defproject mars-ogler "0.0.1-SNAPSHOT"
:description "Holy cow, it's Mars!"
:url "http://github.com/aperiodic/mars-ogler"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.4.0"]
[clj-time "0.4.4"]
... | (defproject mars-ogler "0.0.1-SNAPSHOT"
:description "Holy cow, it's Mars!"
:url "http://github.com/aperiodic/mars-ogler"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.4.0"]
[clj-time "0.4.4"]
... | Update compojure, add ring deps | Update compojure, add ring deps
| Clojure | agpl-3.0 | aperiodic/mars-ogler |
4e4d739338a913eb9083aceb81f79e7836bae005 | project.clj | project.clj | (defproject com.lemondronor/turboshrimp-h264j "0.2.2-SNAPSHOT"
:description (str "An AR.Drone video decoder for the turboshrimp library "
"that uses the h264j H.264 decoder.")
:url "https://github.com/wiseman/turboshrimp-h264j"
:license {:name "MIT License"
:url "http://opensource.... | (defproject com.lemondronor/turboshrimp-h264j "0.2.2-SNAPSHOT"
:description (str "An AR.Drone video decoder for the turboshrimp library "
"that uses the h264j H.264 decoder.")
:url "https://github.com/wiseman/turboshrimp-h264j"
:license {:name "MIT License"
:url "http://opensource.... | Fix resource-paths for test & coverage. | Fix resource-paths for test & coverage.
| Clojure | mit | wiseman/turboshrimp-h264j |
5b17d3909040566d16e40c7fd0a3aa4f58b6a966 | project.clj | project.clj | (defproject lein-jshint "0.1.6-SNAPSHOT"
:description "A Leiningen plugin for running JS code through JSHint."
:url "https://github.com/vbauer/lein-jshint"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[clj-glob "1.0.0" :exclusions [org.cl... | (defproject lein-jshint "0.1.6-SNAPSHOT"
:description "A Leiningen plugin for running JS code through JSHint."
:url "https://github.com/vbauer/lein-jshint"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[clj-glob "1.0.0" :exclusions [org.cl... | Update lein eastwood plugin (0.1.4 -> 0.1.5) | Update lein eastwood plugin (0.1.4 -> 0.1.5)
| Clojure | epl-1.0 | vbauer/lein-jshint |
acb7150581c26b6a5254d923aa91b1cc12af4386 | 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-20150901_142736-gd0de107. | Update dependency org.onyxplatform/onyx to version 0.7.3-20150901_142736-gd0de107.
Automatic commit by lein-unison.
| Clojure | epl-1.0 | onyx-platform/onyx-sql |
e00d66ef4e5564ff95f382db87b2d53e2a6934cb | project.clj | project.clj | (defproject net.uncontended/beehive "0.5.2-SNAPSHOT"
: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.n... | (defproject net.uncontended/beehive "0.5.2"
: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... | Cut a release for callbacks | Cut a release for callbacks
| Clojure | apache-2.0 | tbrooks8/Beehive |
0e4951279edf7358e481bcc37e2472ed53ed9af2 | src/beebster_clj/routes.clj | src/beebster_clj/routes.clj | ;; routes.clj
(ns beebster-clj.routes
(:use beebster-clj.core beebster-clj.views compojure.core)
(:require [compojure.handler :as handler]
[compojure.route :as route]))
(defroutes app-routes
(route/resources "/")
(GET "/" [] (index-page))
(GET "/search" [] (about-page))
(GET "/categories" [ca... | ;; routes.clj
(ns beebster-clj.routes
(:use beebster-clj.core beebster-clj.views compojure.core)
(:require [compojure.handler :as handler]
[compojure.route :as route]))
(defroutes app-routes
(route/resources "/")
(GET "/" [] (index-page))
(GET "/about" [] (about-page))
(GET "/categories" [cat... | Fix empty link in about page. | Fix empty link in about page.
| Clojure | epl-1.0 | mswift42/beebster-clj |
27a96203611245f2823523aa88a08afb4eda0d6d | src/cljam/pileup/common.clj | src/cljam/pileup/common.clj | (ns cljam.pileup.common)
;; TODO: estiamte from actual data
(def ^:const window-width 1250)
(def ^:const step 2000)
(def ^:const center (int (/ step 2)))
| (ns cljam.pileup.common)
;; TODO: estiamte from actual data
(def ^:const window-width 5250)
(def ^:const step 10000)
(def ^:const center (int (/ step 2)))
| Modify step and window-size of pileup | Modify step and window-size of pileup
| Clojure | apache-2.0 | chrovis/cljam |
3729392bd2fff3f479b6a5bcaea7c562d814bbbb | src/cljs/event_planner/pages/events.cljs | src/cljs/event_planner/pages/events.cljs | (ns event-planner.pages.events)
(defn events-page [id]
[:div "Wow my id is: " id])
| (ns event-planner.pages.events)
(defn events-page [id]
[:div "Wow my id is: " id]
[:div.container
[:div.row.col-md-4
[:form.form-signin
[:h2.form-signin-heading "Sign In"]
[:label {:for "inputusername"
:class "sr-only"} "Username"]
[:input {:type "text"
... | Create Temporary Log-in for event page | Create Temporary Log-in for event page
| Clojure | epl-1.0 | Morgan05180/event-scheduler-9000,Morgan05180/event-scheduler-9000 |
d761fe55586a53f4bccb52332f66165db6b4dd7f | ring-core/project.clj | ring-core/project.clj | (defproject ring/ring-core "0.2.5"
:description "Ring core libraries."
:url "http://github.com/mmcgrana/ring"
:dependencies [[org.clojure/clojure "1.1.0"]
[org.clojure/clojure-contrib "1.1.0"]
[commons-codec "1.4"]
[commons-io "1.4"]
[commons-fil... | (defproject ring/ring-core "0.3.0-beta1"
:description "Ring core libraries."
:url "http://github.com/mmcgrana/ring"
:dependencies [[org.clojure/clojure "1.2.0-beta1"]
[org.clojure/clojure-contrib "1.2.0-beta1"]
[commons-codec "1.4"]
[commons-io "1.4"]
... | Update ring-core dependency to Clojure 1.2.0-beta1, updated version to 0.3.0-beta1 | Update ring-core dependency to Clojure 1.2.0-beta1, updated version to 0.3.0-beta1
| Clojure | mit | ring-clojure/ring,ring-clojure/ring,suligap/ring,kirasystems/ring,siphiuel/ring,tchagnon/ring,liuchang23/ring,orend/ring,meowcakes/ring,povloid/ring,ieure/ring |
e625bf4249b80b6285dfa2bb7d230b7fff2f4017 | systems/elasticsearch/src/containium/systems/elasticsearch.clj | systems/elasticsearch/src/containium/systems/elasticsearch.clj | ;; This Source Code Form is subject to the terms of the Mozilla Public
;; License, v. 2.0. If a copy of the MPL was not distributed with this
;; file, You can obtain one at http://mozilla.org/MPL/2.0/.
(ns containium.systems.elasticsearch
(:require [containium.systems :refer (require-system)]
[containium... | ;; This Source Code Form is subject to the terms of the Mozilla Public
;; License, v. 2.0. If a copy of the MPL was not distributed with this
;; file, You can obtain one at http://mozilla.org/MPL/2.0/.
(ns containium.systems.elasticsearch
(:require [containium.systems :refer (require-system)]
[containium... | Add `node` to the Elastic system protocol, so it can be forwarded. | Add `node` to the Elastic system protocol, so it can be forwarded.
| Clojure | mpl-2.0 | containium/containium,containium/containium,containium/containium,containium/containium |
1d64c6a55b1fe204fdd7e157f4eae7773ff78ae5 | test/hydrant/core_test.clj | test/hydrant/core_test.clj | (ns hydrant.core-test
(:require [clojure.test :refer :all]
[hydrant.core :refer :all]))
(deftest a-test
(testing "FIXME, I fail."
(is (= 0 1))))
| (ns hydrant.core-test
(:require [clojure.test :refer :all]
[hydrant.core :refer :all]))
(deftest a-test
(testing "TODO - Write tests"
(is (= 1 1))))
| Fix CircleCI Build - fixing the test | Fix CircleCI Build - fixing the test
| Clojure | epl-1.0 | samsara/hydrant |
d816d96d5651d59e034916ca983ed5d4798b2ca8 | dev/user.clj | dev/user.clj | (ns user
"Namespace to support hacking at the REPL."
(:require [clojure.main]
[clojure.string :as str]
[clojure.tools.namespace.move :refer :all]
[clojure.tools.namespace.repl :refer :all]
[midje.repl :refer :all]))
;;;; ______________________________________________... | (ns user
"Namespace to support hacking at the REPL."
(:require [clojure.main]
[clojure.string :as str]
[clojure.tools.namespace.move :refer :all]
[clojure.tools.namespace.repl :refer :all]
[midje.repl :refer :all]))
;;;; ______________________________________________... | Remove stuff that is now in nomis-clj-repl-tools | Remove stuff that is now in nomis-clj-repl-tools
| Clojure | epl-1.0 | simon-katz/nomis-clojure-the-language |
d78a28ac83fb16466d930e1ea086aeeca97caa87 | 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 lein-shadow to 0.1.6 | Upgrade simple example lein-shadow to 0.1.6
| Clojure | mit | Day8/re-frame,Day8/re-frame,Day8/re-frame |
3c08bd4a37e28791185c439f4de49eb14461f789 | clj_record/test/serialization_test.clj | clj_record/test/serialization_test.clj | (ns clj-record.test.serialization-test
(:require
[clj-record.test.model.manufacturer :as manufacturer]
[clj-record.test.model.product :as product])
(:use clojure.contrib.test-is
clj-record.test.test-helper))
(defdbtest serialized-attributes-support-common-clojure-types
(let [record (manufacturer... | (ns clj-record.test.serialization-test
(:require
[clj-record.serialization :as serialization]
[clj-record.callbacks :as callbacks]
[clj-record.callbacks.built-ins :as callb]
[clj-record.test.model.manufacturer :as manufacturer]
[clj-record.test.model.product :as product])
(:use clojure.contrib.t... | Implement support methods for serialization. | Implement support methods for serialization.
| Clojure | mit | duelinmarkers/clj-record |
6d0dc93c234398622adc011cfd5c36371e48750c | test/kolmogorov_music/test/kolmogorov.clj | test/kolmogorov_music/test/kolmogorov.clj | (ns kolmogorov-music.test.kolmogorov
(:require [kolmogorov-music.kolmogorov :as kolmogorov]
[midje.sweet :refer :all]))
(defn foo [x] (inc x))
(def bar (comp foo foo))
(fact "Kolmogorov complexity is how many symbols a definition comprises."
(kolmogorov/complexity foo) => 2)
(fact "The symbol count i... | (ns kolmogorov-music.test.kolmogorov
(:require [kolmogorov-music.kolmogorov :as kolmogorov]
[midje.sweet :refer :all]))
(defn foo [x] (inc x))
(defn bar [x] (+ (inc x) x))
(def baz (comp foo foo))
(fact "Kolmogorov complexity is how many symbols a definition comprises."
(kolmogorov/complexity foo) => ... | Test that the count works with nested sexprs. | Test that the count works with nested sexprs.
| Clojure | mit | ctford/kolmogorov-music,ctford/kolmogorov-music |
179e989373ab6f758b69eb0450d0c19b2b10700e | src/ktra_indexer/config.clj | src/ktra_indexer/config.clj | (ns ktra-indexer.config
"Namespace for configuration reading functions"
(:require [clojure.edn :as edn]))
(defn load-config
"Given a filename, load and return a config file."
[filename]
(edn/read-string (slurp filename)))
(defn get-conf-value
"Return a key value from the configuration."
[property & {:ke... | (ns ktra-indexer.config
"Namespace for configuration reading functions"
(:require [clojure.edn :as edn]
[clojure.java.io :refer [resource]]))
(defn load-config
"Given a filename, load and return a config file."
[filename]
(edn/read-string (slurp filename)))
(defn get-conf-value
"Return a key v... | Fix a warning reported by eastwood | Fix a warning reported by eastwood
| Clojure | mit | terop/ktra-indexer,terop/ktra-indexer,terop/ktra-indexer,terop/ktra-indexer |
39d70da8281a1ee686a95c303034ae86e129b0ed | src/clj/five_three_one/server.clj | src/clj/five_three_one/server.clj | (ns five-three-one.server
(:require [five-three-one.handler :refer [app]]
[environ.core :refer [env]]
[ring.adapter.jetty :refer [run-jetty]]
[five-three-one.model.migration :refer [migrate]])
(:gen-class))
(defn -main [& args]
(let [port (Integer/parseInt (or (env :port) "300... | (ns five-three-one.server
(:require [five-three-one.handler :refer [app]]
[environ.core :refer [env]]
[ring.adapter.jetty :refer [run-jetty]]
[five-three-one.model.migration :refer [migrate]])
(:gen-class))
(defn -main [& args]
(if (some #{"migrate"} args)
(migrate)
(l... | Enable "lein run migrate" command for db migration | Enable "lein run migrate" command for db migration
| Clojure | epl-1.0 | the-clojure-duo/five-three-one,ProjectFrank/five-three-one,the-clojure-duo/five-three-one,ProjectFrank/five-three-one |
b693ccec35e6664384b97b0f1740e08018c0a34f | src/sidequarter_frontend/api.cljs | src/sidequarter_frontend/api.cljs | (ns ^:figwheel-always sidequarter-frontend.api
(:require-macros [sidequarter-frontend.env :refer [cljs-env]]
[cljs.core.async.macros :refer [go]])
(:require [cljs-http.client :as http]
[cljs.core.async :refer [<! >! put! chan]]))
(def api-url (cljs-env :api-url))
(defn get-s... | (ns ^:figwheel-always sidequarter-frontend.api
(:require-macros [sidequarter-frontend.env :refer [cljs-env]]
[cljs.core.async.macros :refer [go]])
(:require [cljs-http.client :as http]
[cljs.core.async :refer [<! >! put! chan]]
[clojure.string :refer [join]]))
(... | Implement API call to get stats of a sidekiq instance | Implement API call to get stats of a sidekiq instance
| Clojure | epl-1.0 | matsrietdijk/sidequarter-frontend |
d4edad97292648733fd7dc6a81675a8f62f8d583 | src/metabase/models/label.clj | src/metabase/models/label.clj | (ns metabase.models.label
(:require [korma.core :as k]
[metabase.db :as db]
[metabase.models.interface :as i]
[metabase.util :as u]))
(i/defentity Label :label)
(defn- pre-insert [{label-name :name, :as label}]
(assoc label :slug (u/slugify label-name)))
(defn- pre-update [{la... | (ns metabase.models.label
(:require [korma.core :as k]
[metabase.db :as db]
[metabase.models.interface :as i]
[metabase.util :as u]))
(i/defentity Label :label)
(defn- assert-unique-slug [slug]
(when (db/exists? Label :slug slug)
(throw (ex-info "Name already taken" {:statu... | Throw 400 if slug name already taken :scream_cat: | Throw 400 if slug name already taken :scream_cat:
| Clojure | agpl-3.0 | blueoceanideas/metabase,blueoceanideas/metabase,blueoceanideas/metabase,blueoceanideas/metabase,blueoceanideas/metabase |
12e1e267145bd052c360149535f4bfc04d370be3 | tools/backup/project.clj | tools/backup/project.clj | (defproject hatnik/tools.backup "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.6.0"]
[com.google.apis/google-ap... | (defproject hatnik/tools.backup "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.6.0"]
[com.google.apis/google-ap... | Fix backup tool by updating to latest version of google API. | Fix backup tool by updating to latest version of google API.
| Clojure | epl-1.0 | nbeloglazov/hatnik,Hatnik/hatnik-1 |
7b1f63fc840b394571b0306fcfbcbee9a01ee51d | project.clj | project.clj | (defproject io.atomix/trinity "1.0.0-SNAPSHOT"
:description "A sweet little Clojure API for Atomix"
:url "http://github.com/atomix/trinity"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.8.0"]
[io.ato... | (defproject io.atomix/trinity "1.0.0"
:description "A sweet little Clojure API for Atomix"
:url "http://github.com/atomix/trinity"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.8.0"]
[io.atomix/atomi... | Use release versions instead of SNAPSHOT | Use release versions instead of SNAPSHOT
| Clojure | epl-1.0 | atomix/trinity,jhalterman/figaro |
b2436f30e3238bd4c01eb444f71077dbfdfd8d26 | project.clj | project.clj | (defproject funcool/promesa "0.5.0-SNAPSHOT"
:description "A promise library for ClojureScript"
:url "https://github.com/funcool/promesa"
:license {:name "BSD (2 Clause)"
:url "http://opensource.org/licenses/BSD-2-Clause"}
:dependencies [[org.clojure/clojure "1.7.0" :scope "provided"]
... | (defproject funcool/promesa "0.5.0-SNAPSHOT"
:description "A promise library for ClojureScript"
:url "https://github.com/funcool/promesa"
:license {:name "BSD (2 Clause)"
:url "http://opensource.org/licenses/BSD-2-Clause"}
:dependencies [[org.clojure/clojure "1.7.0" :scope "provided"]
... | Set cats version to 1.0.0 final. | Set cats version to 1.0.0 final.
| Clojure | mpl-2.0 | borkdude/promesa,funcool/promesa |
e8c1e2c6e541ab1c59c8d88b7546b3ef4cd41562 | src/bltool/data/steam.clj | src/bltool/data/steam.clj | (ns bltool.data.steam
(:require [bltool.data.default :refer [read-games]])
(:require [bltool.flags :refer :all])
(:require [clj-http.client :as http])
(:require [clojure.data.xml :as xml])
(:require [clojure.string :refer [trim]]))
(register-flags ["--steam-name" "Steam Community name"]
["--s... | (ns bltool.data.steam
(:require [bltool.data.default :refer [read-games]])
(:require [bltool.flags :refer :all])
(:require [clj-http.client :as http])
(:require [clojure.data.xml :as xml])
(:require [slingshot.slingshot :refer [throw+]])
(:require [clojure.string :refer [trim]]))
(register-flags ["--steam-... | Add better error checking to Steam reader. | Add better error checking to Steam reader.
It will now throw if:
- --from steam was specified but --steam-name was not
- the game list for the given --steam-name is private, empty, or otherwise inaccessible
| Clojure | apache-2.0 | ToxicFrog/bltool,hyphz/bltool |
9b56e25b35004cf5b0dfdea712da65a8696dda70 | script/repl.clj | script/repl.clj | (use 'figwheel-sidecar.repl-api)
(start-figwheel!) ;; <-- fetches configuration
(cljs-repl) | (require '[figwheel.main.api :as fig])
(fig/start "dev")
| Use figwheel main for cursive | Use figwheel main for cursive
| Clojure | mit | hhucn/discuss,hhucn/discuss |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.