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 |
|---|---|---|---|---|---|---|---|---|---|
43ef86ffacd78bcd75e1e43471ca59b3e66b6070 | src/cljs/comic_reader/routes.cljs | src/cljs/comic_reader/routes.cljs | (ns comic-reader.routes
(:require [comic-reader.history :as h]
[re-frame.core :as rf]
[secretary.core :as secretary
:refer-macros [defroute]]))
;; Have secretary pull apart URL's and then dispatch with re-frame
(defroute sites-path "/" []
(rf/dispatch [:sites]))
(defroute comi... | (ns comic-reader.routes
(:require [comic-reader.history :as h]
[re-frame.core :as rf]
[secretary.core :as secretary
:refer-macros [defroute]]))
;; Have secretary pull apart URL's and then dispatch with re-frame
(defroute sites-path "/" []
(rf/dispatch [:sites]))
(defroute comi... | Make secretary use a rooted prefix | Make secretary use a rooted prefix
No more double octothorpes!!
| Clojure | epl-1.0 | RadicalZephyr/comic-reader,RadicalZephyr/comic-reader |
403e53dc5181cbe3fcad2faace08044b1ef20858 | src/clojure/leiningen/new/graphics_clojure/project.clj | src/clojure/leiningen/new/graphics_clojure/project.clj | (defproject {{app-name}} "0.0.1-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:dependencies [[org.clojure/clojure "1.6.0"]
[quil "2.2.5"]]
:main {{namespace}})
| (defproject {{app-name}} "0.0.1-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:dependencies [[org.clojure/clojure "1.6.0"]
[quil "2.2.5" :exclusions [org.clojure/clojure]]]
:main {{namespace}})
| Add :exclusions to quil template | Add :exclusions to quil template
| Clojure | unlicense | oakes/Nightcode,Immortalin/Nightcode,bsmr-clojure/Nightcode,oakes/Nightcode,Immortalin/Nightcode,bsmr-clojure/Nightcode,bsmr-clojure/Nightcode,Immortalin/Nightcode |
4317958df996b013c499f1335ed19b5845fe0f27 | src/cljs/subman/push.cljs | src/cljs/subman/push.cljs | (ns subman.push
(:require [cljs.reader :refer [read-string]]
[goog.net.WebSocket]
[goog.events :as gevents]))
(defn init-push
"Init push connection"
[total-count]
(let [ws (goog.net.WebSocket.)]
(gevents/listen ws goog.net.WebSocket.EventType.MESSAGE
(fn [msg] (-... | (ns subman.push
(:require [cljs.reader :refer [read-string]]
[goog.net.WebSocket]
[goog.events :as gevents]
[jayq.util :refer [log]]))
(defn create-push-connection
"Create push connection"
[total-count]
(let [ws (goog.net.WebSocket.)]
(gevents/listen ws goog.net.WebSocke... | Fix work in browser without webscoket support | Fix work in browser without webscoket support
| Clojure | epl-1.0 | submanio/subman-parser |
909f001da860a020821cb59728808201afada692 | src/braid/server/events.clj | src/braid/server/events.clj | (ns braid.server.events
(:require
[clojure.string :as string]
[clavatar.core :refer [gravatar]]
[braid.server.crypto :refer [random-nonce]]
[braid.server.db :as db]
[braid.server.sync :as sync]))
(defn register-user!
[email group-id]
(let [id (db/uuid)
; XXX: copied from braid.common.... | (ns braid.server.events
(:require
[clavatar.core :refer [gravatar]]
[braid.server.crypto :refer [random-nonce]]
[braid.server.db :as db]
[braid.server.sync :as sync]))
(defn register-user!
[email group-id]
(let [id (db/uuid)
; TODO: guard against duplicate nickname?
u (db/create-u... | Remove unnecessary nickname generation code | Remove unnecessary nickname generation code
db/create-user! already generates the nickname based on email
| Clojure | agpl-3.0 | rafd/braid,braidchat/braid,rafd/braid,braidchat/braid |
a3d80e214af9f9a984cc537b5a8f4e23d26121e4 | src/riemann/keenio.clj | src/riemann/keenio.clj | (ns riemann.keenio
"Forwards events to Keen IO"
(:require [clj-http.client :as client])
(:require [cheshire.core :as json]))
(def ^:private event-url
"https://api.keen.io/3.0/projects/")
(defn post
"POST to Keen IO."
[collection project-id write-key request]
(let [final-event-url
(str event-url ... | (ns riemann.keenio
"Forwards events to Keen IO"
(:require [clj-http.client :as client])
(:require [cheshire.core :as json]))
(def ^:private event-url
"https://api.keen.io/3.0/projects/")
(defn post
"POST to Keen IO."
[collection project-id write-key request]
(let [final-event-url
(str event-url ... | Use let, not def. Fix docs | Use let, not def. Fix docs
| Clojure | epl-1.0 | nberger/riemann,vixns/riemann,aphyr/riemann,shokunin/riemann,Anvil/riemann,moonranger/riemann,eric/riemann,yeller/riemann,aphyr/riemann,cswaroop/riemann,timbuchwaldt/riemann,counsyl/riemann,zamaterian/riemann,alq666/riemann,mirwan/riemann,shokunin/riemann,vixns/riemann,bwilber/riemann,bwilber/riemann,jeanpralo/riemann,... |
266b254b7648e42244e11b57f7de2a61fee69f88 | src/leiningen/checkout_deps.clj | src/leiningen/checkout_deps.clj | (ns leiningen.checkout-deps
(:use [leiningen.core :only [read-project]]
[clojure.contrib.java-utils :only [file]]))
(defn checkout-deps-paths [project]
(apply concat (for [dep (.listFiles (file (:root project) "checkouts"))]
;; Note that this resets the leiningen.core/project var!
... | (ns leiningen.checkout-deps
(:use [leiningen.core :only [read-project]]
[clojure.contrib.java-utils :only [file]]))
(defn checkout-deps-paths [project]
(apply concat (for [dep (.listFiles (file (:root project) "checkouts"))]
;; Note that this resets the leiningen.core/project var!
... | Call read-project from leiningen.core ns. | Call read-project from leiningen.core ns.
| Clojure | epl-1.0 | 0/leiningen,0/leiningen |
c84527720fbb3ddf6e7b442906eda4164aa7f8a1 | src/storemi/urlfor.clj | src/storemi/urlfor.clj | (ns storemi.urlfor
(:require
[storemi.lib.urldef :refer [defurl]]))
(defurl login "/login")
(defurl logout "/logout")
(defurl register "/register")
(defurl about "/about")
(defurl upload-image "/upload")
(defurl list-images "/images/:username")
(defurl image "/images/:username/:filename")
(defurl story-index "... | (ns storemi.urlfor
(:require
[storemi.lib.urldef :refer [defurl]]))
(defurl login "/login")
(defurl logout "/logout")
(defurl register "/register")
(defurl about "/about")
(defurl upload-image "/upload")
(defurl list-images "/images/:username")
(defurl image "/images/:username/:filename")
(defurl story-index "... | Add url definitions for chapters and scenes | Add url definitions for chapters and scenes
| Clojure | apache-2.0 | nvlled/storemi,nvlled/storemi |
aec17c565cd2a32a764aa1f757c6593bf187eb39 | test/javascript_externs_generator/extern_test.cljs | test/javascript_externs_generator/extern_test.cljs | (ns javascript-externs-generator.extern-test
(:require [cljs.test :refer-macros [deftest is testing run-tests]]
[javascript-externs-generator.extern :as extern]))
(enable-console-print!)
(deftest function
(let [js-object (clj->js {"testFunction" #()})]
(is (= "var TEST = {\"testFunction\": functio... | (ns javascript-externs-generator.extern-test
(:require [cljs.test :refer-macros [deftest is testing run-tests]]
[javascript-externs-generator.extern :as extern]))
(enable-console-print!)
(defn compare! [expected, js-string]
(js/eval js-string)
(is (= expected (extern/extract "TEST" js/TEST))))
(def... | Change test format - input is defined as a JS string that gets eval'd. | Change test format - input is defined as a JS string that gets eval'd.
| Clojure | isc | jmmk/javascript-externs-generator,jmmk/javascript-externs-generator |
0a1d9f050a9b092198d1e6f7ee1990b01d083c96 | 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"]
... | Bring Voom in as a dependnecy. | Bring Voom in as a dependnecy.
| Clojure | epl-1.0 | mccraigmccraig/onyx-kafka,onyx-platform/onyx-kafka |
74a2017dd80c2c94324ca1eabd93292e6963b3c8 | clojure/profiles.clj | clojure/profiles.clj | ;; https://github.com/technomancy/leiningen/blob/stable/doc/PROFILES.md
{:user {:plugins [[lein-pprint "1.3.2"]]
:dependencies [[alembic "0.3.2"]]}}
| ;; https://github.com/technomancy/leiningen/blob/stable/doc/PROFILES.md
{:user {:plugins [[lein-pprint "1.3.2"]]
:dependencies [[alembic "0.3.2"]
[clj-kondo "RELEASE"]]
:aliases {"clj-kondo" ["run" "-m" "clj-kondo.main"]}}}
| Add clj-kondo to default profile | Add clj-kondo to default profile
- lein clj-kondo --lint src ## for linting
| Clojure | mit | agilecreativity/dotfiles,agilecreativity/dotfiles,agilecreativity/dotfiles |
b9b62ae8d052da9c2fceb6aad1bb02e0ee81efec | src/ontologies/grafter/rdf/ontologies/pmd.clj | src/ontologies/grafter/rdf/ontologies/pmd.clj | (ns grafter.rdf.ontologies.pmd
"Some convenience terms for the Publish My Data vocabulary."
(:require [grafter.rdf.ontologies.util :refer :all]))
(def pmd (prefixer "http://publishmydata.com/def/dataset#"))
(def pmd:Dataset (pmd "Dataset"))
(def pmd:contactEmail (pmd "contactEmail"))
... | (ns grafter.rdf.ontologies.pmd
"Some convenience terms for the Publish My Data vocabulary."
(:require [grafter.rdf.ontologies.util :refer :all]))
(def pmd (prefixer "http://publishmydata.com/def/dataset#"))
(def pmd:Dataset (pmd "Dataset"))
(def pmd:LinkedDataset (pmd "LinkedDataset"))
... | Update PMD ontology to include attachments | Update PMD ontology to include attachments
| Clojure | epl-1.0 | Swirrl/grafter,Swirrl/grafter |
31157ecf8c097733a60538b7b68128b86ba202ba | src/grafter/rdf/ontologies/rdf.clj | src/grafter/rdf/ontologies/rdf.clj | (ns grafter.rdf.ontologies.rdf
"Some convenience terms for the RDF and RDFS vocabularies."
(:require grafter.rdf.ontologies.util :refer :all))
(def rdf (prefixer "http://www.w3.org/1999/02/22-rdf-syntax-ns#"))
(def rdfs (prefixer "http://www.w3.org/2000/01/rdf-schema#"))
(def rdf:a (rdf "type"))
(def rdf:Propert... | (ns grafter.rdf.ontologies.rdf
"Some convenience terms for the RDF and RDFS vocabularies."
(:require [grafter.rdf.ontologies.util :refer :all]))
(def rdf (prefixer "http://www.w3.org/1999/02/22-rdf-syntax-ns#"))
(def rdfs (prefixer "http://www.w3.org/2000/01/rdf-schema#"))
(def rdf:a (rdf "type"))
(def rdf:Prope... | Use the right syntax for :require. | Use the right syntax for :require.
| Clojure | epl-1.0 | Swirrl/grafter,Swirrl/grafter |
99fe36a7f7dd303c296542fa14020e84fda7ac6a | .lein/profiles.clj | .lein/profiles.clj | {:user {:dependencies [[clj-stacktrace "0.2.5"]
[redl "0.1.0"]
[spyscope "0.1.3"]
[slamhound "1.3.3"]]
:plugins [[lein-difftest "1.3.7"]
[lein-drip "0.1.1-SNAPSHOT"]
[lein-clojars "0.9.1"]
... | {:user {:dependencies [[clj-stacktrace "0.2.5"]
[org.clojure/tools.trace "0.7.5"]
[redl "0.1.0"]
[spyscope "0.1.3"]
[slamhound "1.3.3"]]
:plugins [[lein-difftest "1.3.7"]
[lein-drip "0.1.1-SNAPSHOT"]
... | Add tools.trace to user deps. | Add tools.trace to user deps.
| Clojure | unlicense | RyanMcG/dotfiles,RyanMcG/dotfiles,RyanMcG/dotfiles,RyanMcG/dotfiles,RyanMcG/dotfiles,RyanMcG/dotfiles,RyanMcG/dotfiles |
9cc4e829e457fd23374d5773a0ead3a33362b4bd | luminus/hello/src/hello/routes/home.clj | luminus/hello/src/hello/routes/home.clj | (ns hello.routes.home
(:use compojure.core
hello.models.db)
(:require [hello.views.layout :as layout]
[noir.response :as response]))
(defroutes home-routes
(GET "/" [] "Hello, World!")
(GET "/json" [] (response/json {:message "Hello, World!"}))
(GET "/db/:queries" [queries] (response/json... | (ns hello.routes.home
(:use compojure.core
hello.models.db)
(:require [hello.views.layout :as layout]
[noir.response :as response]))
(defroutes home-routes
(GET "/" [] "Hello, World!")
(GET "/json" [] (response/json {:message "Hello, World!"}))
(GET "/db" [] (response/json (first (run-que... | Add special routes for single-query test with response not in a vector | Add special routes for single-query test with response not in a vector
| Clojure | bsd-3-clause | testn/FrameworkBenchmarks,Rydgel/FrameworkBenchmarks,Eyepea/FrameworkBenchmarks,joshk/FrameworkBenchmarks,Eyepea/FrameworkBenchmarks,greenlaw110/FrameworkBenchmarks,victorbriz/FrameworkBenchmarks,zloster/FrameworkBenchmarks,doom369/FrameworkBenchmarks,k-r-g/FrameworkBenchmarks,circlespainter/FrameworkBenchmarks,doom369... |
593c47965f2fdf0a6325e18607add640185a4e95 | src/hu/ssh/github_changelog/dependencies/bundler.clj | src/hu/ssh/github_changelog/dependencies/bundler.clj | (ns hu.ssh.github-changelog.dependencies.bundler
(:require
[clojure.string :refer [split-lines]]))
(defn- get-specs [file]
(->> (split-lines file)
(drop-while #(not= % " specs:"))
(drop 1)
(take-while seq)))
(defn- parse-spec [spec]
{:gem (second spec) :version (nth spec 2)})
(defn- p... | (ns hu.ssh.github-changelog.dependencies.bundler
(:require
[clojure.string :refer [split-lines]]))
(defn- get-specs [file]
(->> (split-lines file)
(drop-while #(not= % " specs:"))
(drop 1)
(take-while seq)))
(defn- parse-spec [spec]
{:name (second spec) :version (nth spec 2)})
(defn- ... | Use :name instead of :gem | Use :name instead of :gem
| Clojure | mit | whitepages/github-changelog |
c91e945570b5983a101ea2bfe8af3cd8dc17e3ce | src/cljs/subman/history.cljs | src/cljs/subman/history.cljs | (ns subman.history
(:require [cljs.reader :refer [read-string]]
[goog.events :as gevents]
[goog.history.EventType :as history-event]
[goog.string :as string]
[goog.history.Html5History :as history5]
[jayq.util :refer [wait]]))
(defn get-history
"Get html5... | (ns subman.history
(:require [cljs.reader :refer [read-string]]
[goog.events :as gevents]
[goog.history.EventType :as history-event]
[goog.history.Html5History :as history5]
[jayq.util :refer [wait]]))
(defn get-history
"Get html5 history obj or fallback"
[]
(dot... | Fix error with percent encoded input | Fix error with percent encoded input
| Clojure | epl-1.0 | submanio/subman-parser |
95db4c61432fe4585f186a688abb7ef541360518 | test/riemann/xymon_test.clj | test/riemann/xymon_test.clj | (ns riemann.xymon-test
(:use riemann.xymon
[riemann.time :only [unix-time]]
clojure.test)
(:require [riemann.logging :as logging]))
(logging/init)
(deftest ^:xymon ^:integration xymon-test
(let [k (xymon)]
(k {:host "riemann.local"
:service "xymon test"
... | (ns riemann.xymon-test
(:use riemann.xymon
[riemann.time :only [unix-time]]
clojure.test)
(:require [riemann.logging :as logging]))
(logging/init)
(deftest ^:xymon ^:integration xymon-test
(let [k (xymon nil)]
(k {:host "riemann.local"
:service "xymon test"
... | Fix requirements and test arguments | Fix requirements and test arguments
| Clojure | epl-1.0 | joerayme/riemann,topecz/riemann,alq666/riemann,jeanpralo/riemann,vixns/riemann,VideoAmp/riemann-1,AkihiroSuda/riemann,pyr/riemann,topecz/riemann,fullcontact/riemann,cswaroop/riemann,robashton/riemann,micrub/riemann,forter/riemann,vincentbernat/riemann,vincentbernat/riemann,LubyRuffy/riemann,mbuczko/riemann,eric/riemann... |
5bdfc1f702b5e97e0ffb00d7cb6b0be983105def | src/yetibot/core/models/google_search.clj | src/yetibot/core/models/google_search.clj | (ns yetibot.core.models.google-search
(:require
[yetibot.core.util.http :refer [get-json map-to-query-string]]))
(def endpoint "http://ajax.googleapis.com/ajax/services/search/images")
(def configured? true)
(def ^:private format-result (juxt :url :contentNoFormatting))
(defn- fetch-image [q n]
(let [uri (st... | (ns yetibot.core.models.google-search
(:require
[yetibot.core.config :refer [get-config conf-valid?]]
[yetibot.core.util.http :refer [get-json map-to-query-string]]))
(def config (get-config :yetibot :models :google-search))
(def endpoint "https://www.googleapis.com/customsearch/v1")
(def configured? (conf-v... | Migrate to google custom search instead of dead image search. | Migrate to google custom search instead of dead image search.
| Clojure | epl-1.0 | audaxion/yetibot.core |
0f9617ad4bcef9f13861f5d9c28d91df35f1a69c | test/circle/util/test_airbrake.clj | test/circle/util/test_airbrake.clj | (ns circle.util.test-airbrake
(:use circle.airbrake)
(:use midje.sweet))
(def div-by-zero (try (/ 1 0) (catch Exception e e)))
(fact "airbrake works"
(circle.airbrake/airbrake :exception div-by-zero) => (contains {:id integer? :error-id integer? :url string?})
(provided
(circle.env/env) => :production... | (ns circle.util.test-airbrake
(:use circle.airbrake)
(:use midje.sweet))
(def div-by-zero (try (/ 1 0) (catch Exception e e)))
(fact "airbrake works"
(airbrake :exception div-by-zero :force true) => (contains {:id integer? :error-id integer? :url string?}))
| Use :force true instead of production so that the airbrake appears in the right category on the website, and won't bother us. | Use :force true instead of production so that the airbrake appears in the right category on the website, and won't bother us.
| Clojure | epl-1.0 | circleci/frontend,RayRutjes/frontend,circleci/frontend,circleci/frontend,RayRutjes/frontend,prathamesh-sonpatki/frontend,prathamesh-sonpatki/frontend |
bfbcb09732719e269dc47c072cae086767ffe788 | test/comic_reader/web_app_test.clj | test/comic_reader/web_app_test.clj | (ns comic-reader.web-app-test
(:require [clojure.test :refer :all]
[comic-reader.web-app :refer :all]
[com.stuartsierra.component :as component]
[ring.mock.request :as mock]))
(defn server-test-system []
(component/system-map
:site-scraper {}
:web-app (component/using
... | (ns comic-reader.web-app-test
(:require [clojure.test :refer :all]
[comic-reader.site-scraper :as site-scraper]
[comic-reader.web-app :refer :all]
[com.stuartsierra.component :as component]
[ring.mock.request :as mock]))
(defn server-test-system []
(component/system-... | Add a test for the existence of web root | Add a test for the existence of web root
| Clojure | epl-1.0 | RadicalZephyr/comic-reader,RadicalZephyr/comic-reader |
e834ef3137c4d419943d771d9ed9697a2eb1ff41 | 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"]
... | 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 | mccraigmccraig/onyx-kafka,onyx-platform/onyx-kafka |
e96ef83a91c2f705037f2cfe4afa5c778d852df6 | project.clj | project.clj | (defproject lean-map "0.2.0"
:description "Lean Hash Array Mapped Trie implementation in ClojureScript"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:clean-targets ^{:protect false} ["resources/out"]
:jvm-opts ^:replace ["-Xms512m" "-Xmx512m" "-server... | (defproject lean-map "0.2.0"
:description "Lean Hash Array Mapped Trie implementation in ClojureScript"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:clean-targets ^{:protect false} ["resources/out"]
:jvm-opts ^:replace ["-Xms512m" "-Xmx512m" "-server... | Move custom collection check to test profile | Move custom collection check to test profile
| Clojure | epl-1.0 | bendyworks/lean-map,mfikes/lean-map,bendyworks/lean-map,bendyworks/lean-map,mfikes/lean-map |
bcc83e5c89cf8d6751dcc30df73d89d1bf0341a6 | 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"]
... | Update dependency org.onyxplatform/onyx to version 0.7.3-20150901_140443-g6e4750b. | Update dependency org.onyxplatform/onyx to version 0.7.3-20150901_140443-g6e4750b.
Automatic commit by lein-traffic-control.
| Clojure | epl-1.0 | mccraigmccraig/onyx-kafka,onyx-platform/onyx-kafka |
50bf9e972280704fcb21424dddabf8472df674c9 | src/cljc/robinson/feedback.cljc | src/cljc/robinson/feedback.cljc | ;; Functions for sending feedback
(ns robinson.feedback
(:require [clj-http.client :as client]
[seesaw.core :as ss]
[clojure.data.json :as json]))
(defn send-report [state]
nil)
| ;; Functions for sending feedback
(ns robinson.feedback
(:require [clj-http.client :as client]
[seesaw.core :as ss]
[seesaw.forms :as ss-forms]
[clojure.data.json :as json]))
(defn frame-content
[]
(ss-forms/forms-panel
"pref,4dlu,80dlu,8dlu,pref,4dlu,80dlu"
:column-gr... | Create 'report an issue' form ui | Create 'report an issue' form ui
| Clojure | mpl-2.0 | aaron-santos/robinson,aaron-santos/robinson |
b88a0992e36c00db37eba823931f9b0fdcf385db | etc/build-helper/project.clj | etc/build-helper/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... | Switch to the canonical markdown-clj. | Switch to the canonical markdown-clj.
| Clojure | apache-2.0 | coopsource/immutant,immutant/immutant,kbaribeau/immutant,coopsource/immutant,kbaribeau/immutant,immutant/immutant,immutant/immutant,kbaribeau/immutant,immutant/immutant,coopsource/immutant |
2cd2d105b6457cc81700430fe34bd477ad024449 | src/clj/pfrt/web.clj | src/clj/pfrt/web.clj | (ns pfrt.web
(:require [compojure.handler :as handler]
[org.httpkit.server :as hkit]
[pfrt.web.routes :refer [app]]
[pfrt.core.lifecycle :refer [ILifecycle]]))
(defrecord Web
[webserver app]
ILifecycle
(init [this system]
(assoc system :web this))
(start [this syste... | (ns pfrt.web
(:require [compojure.handler :as handler]
[org.httpkit.server :as hkit]
[pfrt.web.routes :refer [app]]
[pfrt.core.lifecycle :refer [ILifecycle]]))
(defrecord Web
[webserver app]
ILifecycle
(init [this system]
(assoc system :web this))
(start [this syste... | Fix bug on stop http-kit server. | Fix bug on stop http-kit server.
| Clojure | epl-1.0 | niwinz/pf-stats-api,niwinz/pf-stats-api |
93b947d1b7379929caed1d32e42df1e5e0199026 | src/yetibot/core/logging.clj | src/yetibot/core/logging.clj | (ns yetibot.core.logging
(:require
[schema.core :as s]
[yetibot.core.config :refer [get-config]]
[yetibot.core.util :refer [with-fresh-db]]
[yetibot.core.db.log :as log]
[taoensso.timbre.appenders.3rd-party.rolling :refer [rolling-appender]]
[taoensso.timbre.appenders.core :refer [println-appe... | (ns yetibot.core.logging
(:require
[schema.core :as s]
[yetibot.core.config :refer [get-config]]
[yetibot.core.util :refer [with-fresh-db]]
[yetibot.core.db.log :as log]
[taoensso.timbre.appenders.3rd-party.rolling :refer [rolling-appender]]
[taoensso.timbre.appenders.core :refer [println-appe... | Allow rolling logs to be disabled | Allow rolling logs to be disabled
| Clojure | epl-1.0 | devth/yetibot.core,LeonmanRolls/yetibot.core |
3158a8559bc57348ac01fa542bf6ba37b1d29db9 | clstreams/test/clstreams/rocksdb_test.clj | clstreams/test/clstreams/rocksdb_test.clj | (ns clstreams.rocksdb-test
(:require [clstreams.rocksdb :as sut]
[clojure.test :refer :all]))
(defn delete-recursively [fname]
(let [file (clojure.java.io/file fname)]
(if (.exists (clojure.java.io/as-file file))
(doseq [f (reverse (file-seq file))]
(clojure.java.io/delete-file f)))))... | (ns clstreams.rocksdb-test
(:require [clstreams.rocksdb :as sut]
[clojure.test :refer :all]
[clojure.java.io :as io]))
(def db-dir "/tmp/ddeDB/somedb")
(def db-dir-file (io/file db-dir))
(defn delete-recursively [file]
(if (.exists file)
(doseq [f (reverse (file-seq file))]
(io/d... | Refactor RocksDB test to improve DB directory handling | Refactor RocksDB test to improve DB directory handling
| Clojure | apache-2.0 | MartinSoto/clojure-streams |
b6dbabe16fd2433562da25a65bf400033c13b8ee | src/clj/medusa/alert.clj | src/clj/medusa/alert.clj | (ns clj.medusa.alert
(:require [amazonica.aws.simpleemail :as ses]
[amazonica.core :as aws]
[clojure.string :as string]
[clj.medusa.config :as config]
[clj.medusa.db :as db]
[clj.medusa.config :as config]))
(defn send-email [subject body destinations]
(le... | (ns clj.medusa.alert
(:require [amazonica.aws.simpleemail :as ses]
[amazonica.core :as aws]
[clojure.string :as string]
[clj.medusa.config :as config]
[clj.medusa.db :as db]
[clj.medusa.config :as config]))
(defn send-email [subject body destinations]
(wh... | Send e-mail to rightful subscribers. | Send e-mail to rightful subscribers.
| Clojure | mpl-2.0 | mozilla/medusa,Uberi/medusa,Uberi/medusa,mozilla/medusa |
dcc7e144fff0be5fdaaa1f2d002592f8b3b6bd14 | server/src/main/clojure/vimclojure/core.clj | server/src/main/clojure/vimclojure/core.clj | ;-
; Copyright 2011 (c) Meikel Brandmeyer.
; All rights reserved.
;
; Permission is hereby granted, free of charge, to any person obtaining a copy
; of this software and associated documentation files (the "Software"), to deal
; in the Software without restriction, including without limitation the rights
; to use, copy... | ;-
; Copyright 2011 (c) Meikel Brandmeyer.
; All rights reserved.
;
; Permission is hereby granted, free of charge, to any person obtaining a copy
; of this software and associated documentation files (the "Software"), to deal
; in the Software without restriction, including without limitation the rights
; to use, copy... | Fix missing require for clojure.java.io | Fix missing require for clojure.java.io
| Clojure | mit | jgrocho/vimclojure,jgrocho/vimclojure,jgrocho/vimclojure,emezeske/vimclojure,emezeske/vimclojure,emezeske/vimclojure,kotarak/vimclojure,kotarak/vimclojure,kotarak/vimclojure |
8121b88b8aaf78280c001985889ab41735e498ff | src/clj/herder/solver/person.clj | src/clj/herder/solver/person.clj | (in-ns 'herder.solver.types)
(gen-class
:name ^{PlanningEntity {}} herder.solver.types.Person
:prefix "person-"
:init init
:state state
:constructors {[] []
[java.util.UUID] []}
:methods [[getId [] java.util.UUID]
[getName [] String]
[setName [String] void]])
(defn- person-... | (in-ns 'herder.solver.types)
(gen-class
:name ^{PlanningEntity {}} herder.solver.types.Person
:prefix "person-"
:init init
:state state
:constructors {[] []
[java.util.UUID] []}
:methods [[getId [] java.util.UUID]
[getName [] String]
[setName [String] void]])
(defn- person-... | Add equality fixes on Person class, so we can find clashes | Add equality fixes on Person class, so we can find clashes
| Clojure | agpl-3.0 | palfrey/herder,palfrey/herder |
48faeb9f378eb5074ec32fc5caf544a0667e2e9c | src/reforms/binding/core.cljs | src/reforms/binding/core.cljs | ; Copyright (c) 2015 Designed.ly, Marcin Bilski
; The use and distribution terms for this software are covered by the
; Eclipse Public License which can be found in the file LICENSE at the root of this distribution.
; By using this software in any fashion, you are agreeing to be bound by the terms of this license.
... | ; Copyright (c) 2015 Designed.ly, Marcin Bilski
; The use and distribution terms for this software are covered by the
; Eclipse Public License which can be found in the file LICENSE at the root of this distribution.
; By using this software in any fashion, you are agreeing to be bound by the terms of this license.
... | Fix Reagent-related bug in bindings. | Fix Reagent-related bug in bindings.
| Clojure | epl-1.0 | bilus/reforms |
1d7a0ba7e901fedbb5adec3749b7ec74485853a7 | src/incise/parsers/helpers.clj | src/incise/parsers/helpers.clj | (ns incise.parsers.helpers
(:require (clj-time [core :as tm]
[coerce :as tc])
[clojure.string :as s])
(:import [java.io File]))
(defn dashify
"Dashify a title, replacing all non word characters with a dash."
[^String title]
(-> title
(s/lower-case)
(s/replace #"[... | (ns incise.parsers.helpers
(:require (clj-time [core :as tm]
[coerce :as tc])
[clojure.string :as s])
(:import [java.io File]))
(defn dashify
"Dashify a title, replacing all non word characters with a dash."
[^String title]
(-> title
(s/lower-case)
(s/replace #"[... | Define meta->write-path and modify behaviour of Parse->path. | Define meta->write-path and modify behaviour of Parse->path.
| Clojure | epl-1.0 | RyanMcG/incise-core |
f7e255db674cd65358cefaf52f1834edd2138018 | test/active/clojure/test_runner.cljs | test/active/clojure/test_runner.cljs | (ns active.clojure.test-runner
(:require [doo.runner :refer-macros [doo-tests]]
[active.clojure.condition-test]
[active.clojure.debug-test]
[active.clojure.lens-test]
[active.clojure.monad-test]
[active.clojure.record-test]
[active.clojure.record... | (ns active.clojure.test-runner
(:require [doo.runner :refer-macros [doo-tests]]
[active.clojure.condition-test]
[active.clojure.debug-test]
[active.clojure.lens-test]
[active.clojure.monad-test]
[active.clojure.mock-monad-test]
[active.clojure.re... | Include mock-monad tests in CLJS test runner. | Include mock-monad tests in CLJS test runner.
| Clojure | epl-1.0 | active-group/active-clojure |
d0e938d94535f091b8bcb3d7153cda1e94cc50bb | clstreams/project.clj | clstreams/project.clj | (defproject clstreams "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"]
[org.clojure/tools.namespace "0.3.0... | (defproject clstreams "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"]
[org.clojure/tools.namespace "0.3.0... | Revert to released version of the Kafka libraries. | Revert to released version of the Kafka libraries.
Project file with unreleased version commited by mistake.
| Clojure | apache-2.0 | MartinSoto/clojure-streams |
d21da22f344ea415dbc093a8217c8d0a1d61a018 | frontend/src/cruncher/moves/main.cljs | frontend/src/cruncher/moves/main.cljs | (ns cruncher.moves.main
(:require [cruncher.moves.data :as data]))
(defn get
"Return move object from moves-database by the move id."
[id]
(id data/all)) | (ns cruncher.moves.main
(:require [cruncher.moves.data :as data]))
(defn get-name
"Return move object from moves-database by the move id."
[id]
(:name (get data/all id))) | Return only the name of an attack move | Return only the name of an attack move
| Clojure | mit | Phaetec/pogo-cruncher,Phaetec/pogo-cruncher,Phaetec/pogo-cruncher |
2dd6173972557871c7e51854a0e760a970c6e225 | src/day8/re_frame/trace/preload.cljs | src/day8/re_frame/trace/preload.cljs | (ns day8.re-frame.trace.preload
(:require [day8.re-frame.trace :as trace]
[mranderson047.re-frame.v0v10v2.re-frame.core :as rf]))
;; Use this namespace with the :preloads compiler option to perform the necessary setup for enabling tracing:
;; {:compiler {:preloads [day8.re-frame.trace.preload] ...}}
(js... | (ns day8.re-frame.trace.preload
(:require [day8.re-frame.trace :as trace]
[mranderson047.re-frame.v0v10v2.re-frame.core :as rf]))
;; Use this namespace with the :preloads compiler option to perform the necessary setup for enabling tracing:
;; {:compiler {:preloads [day8.re-frame.trace.preload] ...}}
(rf... | Revert "Add warning for people that upgrade to newer versions" | Revert "Add warning for people that upgrade to newer versions"
This isn't needed on releases that use the day8.re-frame/re-frame-10x
coordinates.
This reverts commit 92227465e81f71241c86e3b0121829cf9b323c3a.
| Clojure | mit | Day8/re-frame-trace |
40a67fa4884c76072b8459cebe10f6c26106e4d0 | src/trak/globals.cljs | src/trak/globals.cljs | (ns trak.globals
(:require-macros [trak.config :refer [cljs-env]])
(:require [trak.utils :as utils]
[clojure.string :as str])
(:import goog.Uri
goog.Uri.QueryData
goog.string))
(defn build-query-params [kws]
(utils/info kws)
(utils/info (.createFromKeysValues QueryData (ma... | (ns trak.globals
(:require-macros [trak.config :refer [cljs-env]])
(:require [trak.utils :as utils]
[clojure.string :as str])
(:import goog.Uri
goog.Uri.QueryData
goog.string))
(defn build-query-params [kws]
(utils/info kws)
(utils/info (.createFromKeysValues QueryData (ma... | Return nil if URI fragment is not found | Return nil if URI fragment is not found
| Clojure | mit | dmitriid/trak |
b6ae0d83b1db602db1d88ce67bbef953384aec0f | project.clj | project.clj | (defproject com.draines/postal "1.8-SNAPSHOT"
:repositories {"java.net" "http://download.java.net/maven/2"}
:dependencies [[org.clojure/clojure "1.3.0"]
[javax.mail/mail "1.4.4"
:exclusions [javax.activation/activation]]])
| (defproject com.draines/postal "1.8-SNAPSHOT"
:repositories {"java.net" "http://download.java.net/maven/2"}
:dependencies [[org.clojure/clojure "1.3.0"]
[javax.mail/mail "1.4.4"
:exclusions [javax.activation/activation]]
[org.clojure.contrib/repl-utils "1.3.0-alph... | Add repl-utils dep to have a dormant show laying around. | Add repl-utils dep to have a dormant show laying around.
| Clojure | mit | drewr/postal,bo-chen/postal |
bb08384d418171eef7b5745de51e3c81d96f5528 | project.clj | project.clj | (defproject org.onyxplatform/onyx-metrics "0.8.0.7"
: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.8-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 |
36391ea36a8b9cfe5dbd8bb963ae7441c2bb1e8b | test/icecap/store/riak_integration_test.clj | test/icecap/store/riak_integration_test.clj | (ns icecap.store.riak-integration-test
(:require [icecap.store.riak :refer :all]
[icecap.store.test-props :refer :all]
[clojure.test.check.clojure-test :refer [defspec]]
[clojure.test :refer :all]
[clojurewerkz.welle.buckets :as wb]
[clojurewerkz.welle.core ... | (ns ^:riak icecap.store.riak-integration-test
(:require [icecap.store.riak :refer :all]
[icecap.store.test-props :refer :all]
[clojure.test.check.clojure-test :refer [defspec]]
[clojure.test :refer :all]
[clojurewerkz.welle.buckets :as wb]
[clojurewerkz.well... | Attach ^:riak metadata to ns | Attach ^:riak metadata to ns
Previously, the fixture was still run when running lein test. This meant
that the test attempted to connect to Riak, which didn't work.
| Clojure | epl-1.0 | lvh/icecap |
94fcdf2facd85fe7c0fd447c50063755f6edca92 | src/circle/db/migrations.clj | src/circle/db/migrations.clj | (ns circle.db.migrations
(:require [clojure.set :as set])
(:use circle.db.migration-lib)
(:require [somnium.congomongo :as mongo])
(:use [circle.util.core :only (apply-if)]))
(clear-migrations)
(def-migration "failed? -> failed"
:num 0
:coll :builds
:transform #(set/rename-keys % {:failed? :failed}))
(... | (ns circle.db.migrations
(:require [clojure.set :as set])
(:use circle.db.migration-lib)
(:require [somnium.congomongo :as mongo])
(:use [circle.util.core :only (apply-if)]))
(clear-migrations)
(def-migration "failed? -> failed"
:num 0
:coll :builds
:transform #(set/rename-keys % {:failed? :failed}))
(... | Fix migration 2 (spec->project) which didn't migrate :inferred, and had a bad assertion. | Fix migration 2 (spec->project) which didn't migrate :inferred, and had a bad assertion.
| Clojure | epl-1.0 | circleci/frontend,circleci/frontend,prathamesh-sonpatki/frontend,RayRutjes/frontend,circleci/frontend,prathamesh-sonpatki/frontend,RayRutjes/frontend |
9d55f6053fa36a803b2b97efc0fb8d5dec2de217 | src/cljs/c2/util.cljs | src/cljs/c2/util.cljs | (ns c2.util
(:require [singult.core :as singult]))
(def clj->js singult/clj->js)
(defn ->coll
"Convert something into a collection, if it's not already."
[x]
(if (coll? x) x [x]))
| (ns c2.util
(:require [singult.core :as singult]))
(defn ->coll
"Convert something into a collection, if it's not already."
[x]
(if (coll? x) x [x]))
| Remove clj->js function, now that it's in cljs.core. | Remove clj->js function, now that it's in cljs.core.
| Clojure | bsd-3-clause | lynaghk/c2,lynaghk/c2 |
e9e34379b5f203bc48d2596dd17ff6301d8faec4 | config.clj | config.clj | (hash-map
:layout
(layout/geodesic-grid
:radius 3.688
:pixel-spacing 0.02
:strut-pixels
[48 64 64 64]
:strip-struts
[[0 6 15 8]
[2 14 22 16]
[4 18 20 23]
[3 10 12 19]
[1 5 7 11]])
#_
(layout/star
:radius 3.688 ; 12.1'
:pixel-spacing 0.02 ; 2 cm
... | (hash-map
:layout
(layout/geodesic-grid
:radius 3.688
:pixel-spacing 0.02
:strut-pixels
[50 62 64 64]
:strip-struts
[[0 6 15 8]
[2 14 22 16]
[4 18 20 23]
[3 10 12 19]
[1 5 7 11]])
#_
(layout/star
:radius 3.688 ; 12.1'
:pixel-spacing 0.02 ; 2 cm
... | Move a pixel pair from second segment to first segment in geodesic layout. | Move a pixel pair from second segment to first segment in geodesic layout.
| Clojure | unlicense | playasophy/wonderdome,playasophy/wonderdome,playasophy/wonderdome,playasophy/wonderdome |
8441a9285c1334292f586e5e7274150219644015 | kwho-clj/project.clj | kwho-clj/project.clj | (defproject kwho "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "https://github.com/jacobmorzinski/kwho"
:license {:name "The MIT License"
:url "http://opensource.org/licenses/MIT"}
:dependencies [[org.clojure/clojure "1.6.0"]]
:main ^:skip-aot kwho.core
:target-path "target/%s"
... | (defproject kwho "0.1.0"
:description "FIXME: write description"
:url "https://github.com/jacobmorzinski/kwho"
:license {:name "The MIT License"
:url "http://opensource.org/licenses/MIT"}
:dependencies [[org.clojure/clojure "1.6.0"]]
:plugins [[lein-bin "0.3.6-SNAPSHOT"]] #_ "https://github.com/ja... | Use lein-bin to generate a jar-packed .bat file. | Use lein-bin to generate a jar-packed .bat file.
Currently uses a personal fork of lein-bin installed
with "lein install".
| Clojure | mit | jacobmorzinski/kwho,jacobmorzinski/kwho,jacobmorzinski/kwho,jacobmorzinski/kwho,jacobmorzinski/kwho,jacobmorzinski/kwho,jacobmorzinski/kwho |
bd7875a93517e504020e7c5d59e0f6e2286f5b2c | src/doctopus/storage/storage_impls.clj | src/doctopus/storage/storage_impls.clj | (ns doctopus.storage-impls)
;; ## Backend Implementations
;; A backend implementation needs to expose two functions: one for load, and one
;; for save.
;;
;; ### Save
;; A save function needs to receive a "key" and a vector of path-html pairs, and
;; store each piece correctly in the given backend _such that it can ea... | (ns doctopus.storage-impls
(:require [doctopus.storage-impls.temp-fs :as temp-fs-impl]))
;; ## Backend Implementations
;; A backend implementation needs to expose two functions: one for load, and one
;; for save.
;;
;; ### Save
;; A save function needs to receive a "key" and a vector of path-html pairs, and
;; store... | Declare an actual implementation instance that can be imported | Declare an actual implementation instance that can be imported
| Clojure | epl-1.0 | Gastove/doctopus |
a9ee832255e31811fd8a78d240c26e1af1b909aa | src/yada/boolean.clj | src/yada/boolean.clj | ;; Copyright © 2015, JUXT LTD.
(ns yada.boolean
(:require
[schema.core :as s]))
(defn boolean? [x]
(contains? #{true false} x))
(declare BooleanExpression)
(s/defschema NotExpression
[(s/one (s/eq :not) "not") (s/one (s/recursive #'BooleanExpression) "not expr")])
(s/defschema AndExpression
[(s/one (s/e... | ;; Copyright © 2015, JUXT LTD.
(ns yada.boolean
(:refer-clojure :exclude [boolean?])
(:require
[schema.core :as s]))
(defn boolean? [x]
(contains? #{true false} x))
(declare BooleanExpression)
(s/defschema NotExpression
[(s/one (s/eq :not) "not") (s/one (s/recursive #'BooleanExpression) "not expr")])
(s... | Add refer-clojure to avoid 1.9 compilation warning | Add refer-clojure to avoid 1.9 compilation warning
| Clojure | mit | juxt/yada,delitescere/yada,juxt/yada,mbutlerw/yada,delitescere/yada,mbutlerw/yada,mbutlerw/yada,delitescere/yada,juxt/yada |
1395879cabb3476dff420988fb31dc213a39351f | src/clojure/uk/org/potentialdifference/darknet/websocket.clj | src/clojure/uk/org/potentialdifference/darknet/websocket.clj | (ns uk.org.potentialdifference.darknet.websocket
(:import [org.java_websocket.client WebSocketClient]
[org.java_websocket.drafts Draft_10]
[java.net URI]))
(defn connect! [url options]
(.connect (proxy [WebSocketClient]
[(new URI url) (new Draft_10)]
(onOpen [h... | (ns uk.org.potentialdifference.darknet.websocket
(:import [org.java_websocket.client WebSocketClient]
[org.java_websocket.drafts Draft_10]
[java.net URI]))
(defn connect! [url options]
(.connectBlocking
(proxy [WebSocketClient]
[(new URI url) (new Draft_10)]
(onOpen [handshak... | Connect blocking to avoid duplicate connections | Connect blocking to avoid duplicate connections
| Clojure | epl-1.0 | henrygarner/darknet-app |
191a612459459d72a59da2d5814fd6733b48418d | src/qcast/feed/ext/simple_chapters.clj | src/qcast/feed/ext/simple_chapters.clj | (ns ^{:doc "Simple Chapters extension: http://podlove.org/simple-chapters.
Specification: http://podlove.org/simple-chapters"}
qcast.feed.ext.simple-chapters
(:require [hiccup.util :refer [escape-html]]))
;;; Interface
;; Channel
;; Channel or Item
;; Item
(defn chapter
([start title]
[:psc... | (ns ^{:doc "Simple Chapters extension: http://podlove.org/simple-chapters.
Specification: http://podlove.org/simple-chapters"}
qcast.feed.ext.simple-chapters
(:require [hiccup.util :refer [escape-html]]))
;;; Globals
(def ^:private version "1.2")
;;; Interface
;; Channel
;; Channel or Item
;; Ite... | Use global for simple-chapter version | Use global for simple-chapter version
| Clojure | epl-1.0 | i-s-o-g-r-a-m/qcast,i-s-o-g-r-a-m/qcast,djui/qcast,djui/qcast |
f776eec3d78abe0052ee4252d0ef80478ec35706 | build.boot | build.boot | (set-env!
:source-paths #{"src"})
(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 "https://github.com/RadicalZephyr/http-server.git"}
:licens {"MIT" "h... | (set-env!
:source-paths #{"src"}
: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 "https://github.com/RadicalZ... | Add junit as a test dependency | Add junit as a test dependency
| Clojure | mit | RadicalZephyr/http-server |
c092a5e83a7ca60d930986b42069360f6800062d | src/main/clojure/lazytest/attach.clj | src/main/clojure/lazytest/attach.clj | (ns lazytest.attach
(:use [lazytest.groups :only (group?)]))
(defn groups-var
"Creates or returns the Var storing Groups in namespace n."
[n]
(or (ns-resolve n '*lazytest-groups*)
(intern n (with-meta '*lazytest-groups* {:private true}) #{})))
(defn groups
"Returns the Groups for namespace n"
[n]
... | (ns lazytest.attach)
(defn groups
"Returns the Groups for namespace n"
[n]
(map var-get (filter #(::group (meta %)) (vals (ns-interns n)))))
(defn all-groups
"Returns a sequence of all Groups in all namespaces."
[]
(mapcat groups (all-ns)))
(defn add-group
"Adds Group g to namespace n."
[n g]
(inte... | Attach interns new vars instead of using a single var | Attach interns new vars instead of using a single var
| Clojure | epl-1.0 | stuartsierra/lazytest |
f5e8c10022e94a7e8099f295735dd7be022a7210 | src/circle/util/fs.clj | src/circle/util/fs.clj | (ns circle.util.fs
"utilities for working with files and directories"
(:require fs)
(:require [clojure.java.io :as io])
(:import org.apache.commons.io.FileUtils)
(:require [circle.sh :as sh]))
(defn all-files
"Returns a list of all files in the repos"
[dir]
(FileUtils/listFiles (io/as-file dir) nil tru... | (ns circle.util.fs
"utilities for working with files and directories"
(:require fs)
(:require [clojure.java.io :as io])
(:import org.apache.commons.io.FileUtils)
(:require [circle.sh :as sh]))
(defn all-files
"Returns a list of all files in the repos"
[dir]
(when (fs/exists? dir)
(FileUtils/listF... | Fix a bug where FileUtils throws when the root dir isn't present | Fix a bug where FileUtils throws when the root dir isn't present
| Clojure | epl-1.0 | prathamesh-sonpatki/frontend,circleci/frontend,RayRutjes/frontend,prathamesh-sonpatki/frontend,RayRutjes/frontend,circleci/frontend,circleci/frontend |
ef3815c458ac03f82d88401ca83a4c0d545241b2 | src/vip/data_processor/pipeline.clj | src/vip/data_processor/pipeline.clj | (ns vip.data-processor.pipeline
(:require [clojure.tools.logging :as log]
[clojure.stacktrace :as stacktrace]))
(defn try-validation [validation ctx]
(try
(validation ctx)
(catch Throwable e
(log/error e)
(assoc ctx :stop "Exception caught"
:exception e))))
(defn r... | (ns vip.data-processor.pipeline
(:require [clojure.tools.logging :as log]
[clojure.stacktrace :as stacktrace]))
(defn try-validation [validation ctx]
(try
(validation ctx)
(catch Throwable e
(log/error e)
(assoc ctx :stop "Exception caught"
:exception e))))
(defn r... | Add warnings and errors keys to context | [CS] Add warnings and errors keys to context
| Clojure | bsd-3-clause | votinginfoproject/data-processor |
4291b5152eee704fac9500e163af6156a497888a | src/incise/utils.clj | src/incise/utils.clj | (ns incise.utils
(:import [java.io File]))
(defn- gitignore-file? [^File file]
(= (.getName file) ".gitignore"))
(defn delete-recursively
"Delete a directory tree."
[^File root]
(when (.isDirectory root)
(doseq [file (remove gitignore-file? (.listFiles root))]
(delete-recursively file)))
(.delet... | (ns incise.utils
(:import [java.io File]))
(defn- gitignore-file? [^File file]
(= (.getName file) ".gitignore"))
(defn delete-recursively
"Delete a directory tree."
[^File root]
(when root
(when (.isDirectory root)
(doseq [file (remove gitignore-file? (.listFiles root))]
(delete-recursivel... | Modify delete-recursively to fail gracefully for nil root. | Modify delete-recursively to fail gracefully for nil root.
| Clojure | epl-1.0 | RyanMcG/incise-core |
92283f468b33930ca55e3270941491671bf403c1 | src/clj/made_merits/service/leaderboard_users.clj | src/clj/made_merits/service/leaderboard_users.clj | (ns made-merits.service.leaderboard-users
(:require [made-merits.service.winner-calculator :as winner-calculator]
[made-merits.service.score-calculator :as score-calculator]))
(defn with-winner-first
[scored-users-with-merits]
(reverse (sort-by #(= "winner" (:status %)) scored-users-with-merits))... | (ns made-merits.service.leaderboard-users
(:require [made-merits.service.winner-calculator :as winner-calculator]
[made-merits.service.score-calculator :as score-calculator]))
(defn with-winner-first
[scored-users-with-merits]
(reverse (sort-by :score scored-users-with-merits)))
(defn presentabl... | Sort by score not status | Sort by score not status
| Clojure | mit | emileswarts/made-merits,emileswarts/made-merits |
a623c704fc708b44bdd18750131afe33fe86ae21 | project.clj | project.clj | (defproject onyx-app/lein-template "0.9.7.0-alpha21"
: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 |
72724642ab0195cfb8400bccf7b0ead0c2f154a3 | project.clj | project.clj | (defproject todo-repl-webapp "0.1.0-SNAPSHOT"
:description "Todo-repl"
:url "http://example.com/FIXME"
:dependencies [[org.clojure/clojure "1.5.1"]
[compojure "1.1.5"]
[hiccup "1.0.4"]
[ring/ring-jetty-adapter "1.1.6"]
[org.ocpsoft.prettytime/pre... | (defproject todo-repl-webapp "0.1.0-SNAPSHOT"
:description "Todo-repl"
:url "http://example.com/FIXME"
:dependencies [[org.clojure/clojure "1.5.1"]
[compojure "1.1.5"]
[hiccup "1.0.4"]
[ring/ring-jetty-adapter "1.1.6"]
[org.ocpsoft.prettytime/pre... | Change ring to use the secured-app | Change ring to use the secured-app
| Clojure | mit | Pance/todo-repl-webapp |
96a01690fa3fcf8a0339e5d617e46b39dbe903aa | project.clj | project.clj | (defproject lein-droid/lein-droid "0.2.0-SNAPSHOT"
:description "Plugin for easy Clojure/Android development and deployment"
:url "https://github.com/alexander-yakushev/lein-droid"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/... | (defproject lein-droid/lein-droid "0.2.0-SNAPSHOT"
:description "Plugin for easy Clojure/Android development and deployment"
:url "https://github.com/alexander-yakushev/lein-droid"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[robert/hooke... | Remove AOT options and bump dependencies versions | Remove AOT options and bump dependencies versions
Benchmarks showed that AOT-compiling lein-droid yields no performance
boost whatsoever, so I decided to drop it in favor of portability.
| Clojure | epl-1.0 | nablaa/lein-droid,celeritas9/lein-droid,dferens/lein-droid,pw4ever/lein-droid-for-tbnl,kenrestivo/lein-droid,clojure-android/lein-droid,celeritas9/lein-droid,clojure-android/lein-droid,kenrestivo/lein-droid |
9f62be30c21f0acaf72df6c395b4b9806784433c | examples/simple/project.clj | examples/simple/project.clj | (defproject simple-re-frame "0.5.0"
:dependencies [[org.clojure/clojure "1.7.0"]
[org.clojure/clojurescript "1.7.145"]
[reagent "0.5.1"]
[re-frame "0.5.0-alpha3"]
[figwheel "0.2.6"]]
:plugins [[lein-cljsbuild "1.1.0"]
[lein-figwh... | (defproject simple-re-frame "0.5.0"
:dependencies [[org.clojure/clojure "1.7.0"]
[org.clojure/clojurescript "1.7.145"]
[reagent "0.5.1"]
[re-frame "0.5.0"]]
:plugins [[lein-cljsbuild "1.1.0"]
[lein-figwheel "0.4.1"]]
:hooks [leiningen.cljsbuil... | Move example to latest versions | Move example to latest versions
| Clojure | mit | daiyi/re-frame,chpill/re-frankenstein,danielcompton/re-frame,martinklepsch/re-frame,chpill/re-frankenstein,richardharrington/re-frame,Day8/re-frame,martinklepsch/re-frame,danielcompton/re-frame,Day8/re-frame,richardharrington/re-frame,richardharrington/re-frame,martinklepsch/re-frame,danielcompton/re-frame,daiyi/re-fra... |
81c000eede871a0d79a56872dd6d90b1b3a38243 | ext/transit/project.clj | ext/transit/project.clj | ;; Copyright © 2014-2017, JUXT LTD.
(def VERSION "1.3.0-alpha3")
(defproject yada/transit VERSION
:description "Support for transit media-types"
:license {:name "The MIT License"
:url "https://opensource.org/licenses/MIT"}
:pedantic? :abort
:dependencies [[yada/core ~VERSION]
[com... | ;; Copyright © 2014-2017, JUXT LTD.
(def VERSION "1.3.0-alpha3")
(defproject yada/transit VERSION
:description "Support for transit media-types"
:license {:name "The MIT License"
:url "https://opensource.org/licenses/MIT"}
:pedantic? :abort
:dependencies [[yada/core ~VERSION]
[com... | Fix transit dep on common-codec | Fix transit dep on common-codec
| Clojure | mit | juxt/yada,juxt/yada,juxt/yada |
5f5a73eb6145090410729f27c6a7564711d1cc19 | src/clj_tutorials/main.clj | src/clj_tutorials/main.clj | (ns clj-tutorials.main
(:require [compojure.core :refer :all]
[compojure.handler :as handler]
[org.httpkit.server :refer [run-server]]))
(defroutes app-routes
(GET "/ping" [] "pong"))
(defn run []
(run-server (handler/api app-routes) {:port 8080 :join? false}))
| (ns clj-tutorials.main
(:require [compojure.core :refer :all]
[compojure.handler :as handler]
[org.httpkit.server :refer [run-server]]))
(def ongoing-requests (atom 0))
(defn- pong []
(let [ongoing-reqs (swap! ongoing-requests inc)
start (System/currentTimeMillis)]
(when (= 0 (... | Add ongoing requests counter to test server | Add ongoing requests counter to test server
| Clojure | epl-1.0 | mhjort/clj-tutorials |
593582e091a30f0f38144fc0bf3b66994157d4d1 | resources/leiningen/new/audio/build.boot | resources/leiningen/new/audio/build.boot | (set-env!
:source-paths #{"src"}
:resource-paths #{"resources"}
:dependencies '[[org.clojure/clojure "1.8.0"]
[alda "1.0.0-rc34"]])
(task-options!
pom {:project '{{app-name}}
:version "0.1.0-SNAPSHOT"
:description "FIXME: write description"}
aot {:namespace #{'{{namespace}}}}
... | (set-env!
:source-paths #{"src"}
:resource-paths #{"resources"}
:dependencies '[[org.clojure/clojure "1.8.0"]
[alda "1.0.0-rc34"]])
(task-options!
pom {:project '{{app-name}}
:version "0.1.0-SNAPSHOT"
:description "FIXME: write description"}
aot {:namespace #{'{{namespace}}}}
... | Change watch -> wait in audio tempalte | Change watch -> wait in audio tempalte
| Clojure | unlicense | oakes/Nightcode,oakes/Nightcode |
5fb406194e2ae83205b502a97d62c4fab2af48c7 | settings/lk/scratch.clj | settings/lk/scratch.clj | (ns scratch
(:require [clojure.test :as test]
[clojure.repl :as repl]
[eftest.runner :as eftest]
[clojure.tools.namespace.find :as ns.find]
[clojure.tools.namespace.repl :as ns.repl]
[clojure.java.io :as io])
(:import (java.io File)))
(defn init! []
(ns... | (ns scratch
(:require [clojure.test :as test]
[clojure.repl :as repl]
[eftest.runner :as eftest]
[clojure.tools.namespace.find :as ns.find]
[clojure.tools.namespace.repl :as ns.repl]
[clojure.java.io :as io])
(:import (java.io File)))
(def multithread (at... | Disable eftest multi threading by default | Disable eftest multi threading by default
| Clojure | mit | lukaszkorecki/cult-leader |
fec0bff51e4fdeb11e89e12c73c5a76d7cd9df87 | src/onyx/messaging/aeron_media_driver.clj | src/onyx/messaging/aeron_media_driver.clj | (ns onyx.messaging.aeron-media-driver
(:require [clojure.core.async :refer [chan <!!]])
(:import [io.aeron Aeron$Context]
[io.aeron.driver MediaDriver MediaDriver$Context ThreadingMode]))
(defn -main [& args]
(let [ctx (MediaDriver$Context.)
media-driver (MediaDriver/launch ctx)]
(println ... | (ns onyx.messaging.aeron-media-driver
(:gen-class)
(:require [clojure.core.async :refer [chan <!!]])
(:import [io.aeron Aeron$Context]
[io.aeron.driver MediaDriver MediaDriver$Context ThreadingMode]))
(defn -main [& args]
(let [ctx (MediaDriver$Context.)
media-driver (MediaDriver/launch ctx)... | Add (:gen-class) directive to allow | Add (:gen-class) directive to allow
dependent projects to use the media driver
as a jar entrypoint.
| Clojure | epl-1.0 | onyx-platform/onyx |
77dfbea421367eabce41d40cf9f33a33e1860d4e | src/main/workflo/macros/jscomponents.cljs | src/main/workflo/macros/jscomponents.cljs | (ns workflo.macros.jscomponents)
| (ns workflo.macros.jscomponents
(:require-macros [workflo.macros.jscomponents
:refer [defjscomponents]])
(:require [workflo.macros.util.string]))
(def camelize-keys workflo.macros.util.string/camelize-keys)
| Fix camelize-keys alias in ClojureScript | Fix camelize-keys alias in ClojureScript
| Clojure | mit | workfloapp/macros,workfloapp/macros,workfloapp/app-macros |
7893bae9b1494f88cd4405b38478b6b628f7bf96 | project.clj | project.clj | (defproject funcool/beicon "3.3.0"
:description "Reactive Streams for Clojure(Script)"
:url "https://github.com/funcool/beicon"
:license {:name "BSD (2-Clause)"
:url "http://opensource.org/licenses/BSD-2-Clause"}
:dependencies [[org.clojure/clojure "1.8.0" :scope "provided"]
[org.c... | (defproject funcool/beicon "3.3.0"
:description "Reactive Streams for Clojure(Script)"
:url "https://github.com/funcool/beicon"
:license {:name "BSD (2-Clause)"
:url "http://opensource.org/licenses/BSD-2-Clause"}
:dependencies [[org.clojure/clojure "1.8.0" :scope "provided"]
[org.c... | Add `test-all` alias for test with different clojure versions. | Add `test-all` alias for test with different clojure versions.
| Clojure | bsd-2-clause | funcool/beicon,funcool/beicon |
e76b5f401ecae7722e62466006221da06b0a18a0 | project.clj | project.clj | (defproject visibility-2d "0.1.0"
:description "2D Visibility"
:url "https://toblux.github.io/visibility-2d/"
:dependencies [[org.clojure/clojure "1.7.0"]
[org.clojure/clojurescript "1.7.170"]]
:plugins [[lein-cljsbuild "1.1.1"]]
:clean-targets ^{:protect false} ["target" "resources/public... | (defproject visibility-2d "0.1.0"
:description "2D Visibility"
:url "https://toblux.github.io/visibility-2d/"
:dependencies [[org.clojure/clojure "1.8.0"]
[org.clojure/clojurescript "1.8.51"]]
:plugins [[lein-cljsbuild "1.1.3"]]
:clean-targets ^{:protect false} ["target" "resources/public/... | Upgrade Clojure and ClojureScript versions | Upgrade Clojure and ClojureScript versions | Clojure | mit | toblux/visibility-2d |
4512b565021b89a83193e5a884507e4cd2c933d0 | project.clj | project.clj | (defproject quil "2.0.0-SNAPSHOT"
:description "(mix Processing Clojure)"
:url "http://github.com/quil/quil"
:mailing-list {:name "Quil Mailing List"
:archive "https://groups.google.com/forum/?fromgroups#!forum/clj-processing"
:post "clj-processing@googlegroups.com"}
:license {... | (defproject quil "2.0.0-SNAPSHOT"
:description "(mix Processing Clojure)"
:url "http://github.com/quil/quil"
:mailing-list {:name "Quil Mailing List"
:archive "https://groups.google.com/forum/?fromgroups#!forum/clj-processing"
:post "clj-processing@googlegroups.com"}
:license {... | Use correct name for jogl: jogl-all. | Use correct name for jogl: jogl-all.
| Clojure | epl-1.0 | quil/quil,mi-mina/quil,pxlpnk/quil,craftybones/quil,jobez/quil-video |
a3b0d14e111b95855cb5661e0bf18af67ab4a89a | project.clj | project.clj | (defproject buddy/buddy-auth "0.6.1"
:description "Authentication and Authorization facilities for ring based web applications."
:url "https://github.com/funcool/buddy-auth"
:license {:name "Apache 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0"}
:dependencies [[org.clojure/clojure "1.7.0" :s... | (defproject buddy/buddy-auth "0.6.1"
:description "Authentication and Authorization facilities for ring based web applications."
:url "https://github.com/funcool/buddy-auth"
:license {:name "Apache 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0"}
:dependencies [[org.clojure/clojure "1.7.0" :s... | Update codeina version to 0.3.0. | Update codeina version to 0.3.0.
| Clojure | apache-2.0 | funcool/buddy-auth |
cd889d2735cb0f090a916c4ea6f541bbb962d679 | project.clj | project.clj | (defproject clj-gatling "0.5.3"
:description ""
:url "http://github.com/mhjort/clj-gatling"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.6.0"]
[org.clojure/core.async "0.1.346.0-17112a-alpha"]
... | (defproject clj-gatling "0.5.3"
:description ""
:url "http://github.com/mhjort/clj-gatling"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.6.0"]
[org.clojure/core.async "0.1.346.0-17112a-alpha"]
... | Exclude some transitive dependencies from Gatling. Those were not needed for generating charts. | Exclude some transitive dependencies from Gatling. Those were not needed for generating charts.
| Clojure | epl-1.0 | mhjort/clj-gatling |
377de32436595433cd3dbcafb84082033b85e1dd | project.clj | project.clj | (defproject funcool/continuo "0.1.0-SNAPSHOT"
:description "A continuous transaction log persistence for Clojure."
:url "https://github.com/funcool/continuo"
:license {:name "Apache 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0.txt"}
:javac-options ["-target" "1.8" "-source" "1.8" "-Xlint:-o... | (defproject funcool/continuo "0.1.0-SNAPSHOT"
:description "A continuous transaction log persistence for Clojure."
:url "https://github.com/funcool/continuo"
:license {:name "Apache 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0.txt"}
:javac-options ["-target" "1.8" "-source" "1.8" "-Xlint:-o... | Update promissum and suricatta versions. | Update promissum and suricatta versions.
| Clojure | apache-2.0 | niwinz/continuo |
bcad982d99f7b71c454190d8db3f5d609e3c097d | project.clj | project.clj | (defproject uruk "0.3.5"
:description "Clojure wrapper of MarkLogic XML Content Connector For Java (XCC/J)"
:url "https://github.com/daveliepmann/uruk"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.8.0"]
... | (defproject uruk "0.3.5"
:description "Clojure wrapper of MarkLogic XML Content Connector For Java (XCC/J)"
:url "https://github.com/daveliepmann/uruk"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.8.0"]
... | Use local repository for ML9 | Use local repository for ML9
| Clojure | epl-1.0 | daveliepmann/uruk |
3a6cbafb0efe161d934e7006b17ce814be5b16f5 | project.clj | project.clj | (defproject funcool/beicon "0.5.1"
:description "Reactive Streams for ClojureScript (built on top of RxJS 4.x)"
:url "https://github.com/funcool/beicon"
:license {:name "Public Domain" :url "http://unlicense.org/"}
:dependencies [[org.clojure/clojure "1.7.0" :scope "provided"]
[org.clojure/cloj... | (defproject funcool/beicon "0.5.1"
:description "Reactive Streams for ClojureScript (built on top of RxJS 4.x)"
:url "https://github.com/funcool/beicon"
:license {:name "Public Domain" :url "http://unlicense.org/"}
:dependencies [[org.clojure/clojure "1.8.0" :scope "provided"]
[org.clojure/cloj... | Update clj and cljs compiler versions. | Update clj and cljs compiler versions.
| Clojure | bsd-2-clause | funcool/beicon,funcool/beicon |
75d3ddb2ba508a1d99f78dfd78c886b581ec1175 | project.clj | project.clj | (defproject naughtmq "0.0.2-SNAPSHOT"
:description "A native-embedding wrapper for jzmq"
:url "https://github.com/gaverhae/naughtmq"
:scm {:name "git"
:url "https://github.com/gaverhae/naughtmq"}
:signing {:gpg-key "gary.verhaegen@gmail.com"}
:deploy-repositories [["clojars" {:creds :gpg}]]
:pom-add... | (defproject naughtmq "0.0.2-SNAPSHOT"
:description "A native-embedding wrapper for jzmq"
:url "https://github.com/gaverhae/naughtmq"
:scm {:name "git"
:url "https://github.com/gaverhae/naughtmq"}
:signing {:gpg-key "gary.verhaegen@gmail.com"}
:deploy-repositories [["clojars" {:creds :gpg}]]
:pom-add... | Set compatibility with older JVMs | Set compatibility with older JVMs | Clojure | epl-1.0 | gaverhae/naughtmq,gaverhae/naughtmq |
cbda024a89eb07e9e84869d22a7ccf92c741450e | project.clj | project.clj | (let [dev-deps '[[midje "1.3-alpha4" :exclusions [org.clojure/clojure]]]]
(defproject reply "0.1.0-SNAPSHOT"
:description "REPL-y: A fitter, happier, more productive REPL for Clojure."
:dependencies [[org.clojure/clojure "1.3.0"]
[jline "2.7"]
[org.thnetos/cd-client "0.3... | (let [dev-deps '[[midje "1.3-alpha4" :exclusions [org.clojure/clojure]]]]
(defproject reply "0.1.0-SNAPSHOT"
:description "REPL-y: A fitter, happier, more productive REPL for Clojure."
:dependencies [[org.clojure/clojure "1.3.0"]
[org.clojars.trptcolin/jline "2.8-SNAPSHOT"]
... | Move to my jline fork | Move to my jline fork
While we're waiting for release, this takes care of #67
| Clojure | epl-1.0 | trptcolin/reply,bbatsov/reply,bbatsov/reply,trptcolin/reply |
48b86db3d459be8e352f17f9c61ae9bd9005fcc7 | project.clj | project.clj | (defproject brevis "0.5.3-SNAPSHOT"
:description "A Second-Generation Artificial Life Simulator"
:url "https://github.com/kephale/brevis"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:jvm-opts ["-Xmx2g"]
:resource-paths ["resources"]
:plugins [[lei... | (defproject brevis "0.5.3-SNAPSHOT"
:description "A Second-Generation Artificial Life Simulator"
:url "https://github.com/kephale/brevis"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:jvm-opts ["-Xmx2g"]
:resource-paths ["resources"]
:plugins [[lei... | Switch to official ode4j release | Switch to official ode4j release | Clojure | apache-2.0 | kephale/brevis,kephale/brevis |
4a88fbc66249e7e6338147546401bbed3bf10232 | project.clj | project.clj | (defproject beehive-http "0.1.1-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Apache License, Version 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0"}
:java-source-paths ["src/java"]
:dependencies [[org.clojure/clojure "1.6.0"]
... | (defproject beehive-http "0.1.1-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Apache License, Version 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0"}
:java-source-paths ["src/java"]
:dependencies [[org.clojure/clojure "1.6.0"]
... | Bump to latest beehive version | Bump to latest beehive version
| Clojure | apache-2.0 | tbrooks8/Beehive-http |
d278d134c24a54598d51208c99d5c6aa25868e73 | project.clj | project.clj | (defproject reiddraper/simple-check "0.5.3-SNAPSHOT"
:description "A QuickCheck inspired property-based testing library."
:url "http://github.com/reiddraper/simple-check"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies []
:profiles {:dev {:d... | (defproject reiddraper/simple-check "0.5.3-SNAPSHOT"
:description "A QuickCheck inspired property-based testing library."
:url "http://github.com/reiddraper/simple-check"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies []
:profiles {:dev {:d... | Update Clojure dev-dependency to 1.5.1 | Update Clojure dev-dependency to 1.5.1
| Clojure | epl-1.0 | clojure/test.check,clojure/test.check,clojure/test.check |
49739e9df7fa4238b3f9fbd508f08d0b67d96d7c | project.clj | project.clj | (defproject com.wsscode/pathom "2.0.0-beta2-SNAPSHOT"
:description "A Clojure library designed to provide a collection of helper functions to support Clojure(script) graph parsers using\nom.next graph syntax."
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.ec... | (defproject com.wsscode/pathom "2.0.0-beta2-SNAPSHOT"
:description "A Clojure library designed to provide a collection of helper functions to support Clojure(script) graph parsers using\nom.next graph syntax."
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.ec... | Make test.check a real dependency | Make test.check a real dependency
| Clojure | mit | wilkerlucio/pathom,wilkerlucio/pathom,wilkerlucio/pathom,wilkerlucio/pathom |
9dbefb542ebf26de51c0ec633a427c05742c9f6b | project.clj | project.clj | (defproject onyx-app/lein-template "0.10.0.0-beta12"
: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 |
670083ecf2c050e090778b6369908b93f60ecd3c | project.clj | project.clj | (defproject org.onyxplatform/onyx-datomic "0.7.2.0"
:description "Onyx plugin for Datomic"
:url "https://github.com/MichaelDrogalis/onyx-datomic"
: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-datomic "0.7.2.0"
:description "Onyx plugin for Datomic"
:url "https://github.com/MichaelDrogalis/onyx-datomic"
: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_140443-g6e4750b. | Update dependency org.onyxplatform/onyx to version 0.7.3-20150901_140443-g6e4750b.
Automatic commit by lein-traffic-control.
| Clojure | epl-1.0 | onyx-platform/onyx-datomic |
235903a7c1159acc82df654a160bd09ead4afce6 | project.clj | project.clj | (defproject ring-curl "0.1.0"
:description "Converts ring requests to cURL commands"
:url "https://github.com/GentlemanHal/ring-curl"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[camel-sn... | (defproject ring-curl "0.1.0"
:description "Converts ring requests to cURL commands"
:url "https://github.com/GentlemanHal/ring-curl"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[camel-sn... | Exclude clojure from dep and add ancient plugin | Exclude clojure from dep and add ancient plugin
| Clojure | epl-1.0 | GentlemanHal/ring-curl |
cdd7c3fcb355f0fd29ea55e3b92e6cba83a5e9b3 | project.clj | project.clj | (defproject org.onyxplatform/onyx-metrics "0.7.5.2-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"}
:dependencies [[org.clojure/clojure "1.7.0"]
... | (defproject org.onyxplatform/onyx-metrics "0.7.5.2-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"
... | Add clojars repo for auto-release | Add clojars repo for auto-release
| Clojure | epl-1.0 | onyx-platform/onyx-metrics |
a179bae528a33f8c89f9c9b7d37074a6b1dcceea | project.clj | project.clj | (defproject compojure "1.6.0-beta2"
:description "A concise routing library for Ring"
:url "https://github.com/weavejester/compojure"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.7.0"]
[org.clojure/... | (defproject compojure "1.6.0-beta2"
:description "A concise routing library for Ring"
:url "https://github.com/weavejester/compojure"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.7.0"]
[org.clojure/... | Update Ring version to 1.6.0-beta7 | Update Ring version to 1.6.0-beta7
Fixes path traversal vulnerability in route/resources.
| Clojure | epl-1.0 | weavejester/compojure |
786e9f6c2bc4a50db41c4e7d116a89a3bb268c92 | project.clj | project.clj | (defproject control "0.4.1"
:description "A clojure DSL for system admin and deployment with many remote machines"
:url "https://github.com/killme2008/clojure-control"
:author "dennis zhuang(killme2008@gmail.com)"
:dependencies [[org.clojure/clojure "1.3.0"] [org.clojure/tools.cli "0.2.1"]]
:lein-release {:de... | (defproject control/control "0.4.2-SNAPSHOT"
:lein-release {:deploy-via :clojars}
:dependencies [[org.clojure/clojure "1.3.0"]
[org.clojure/tools.cli "0.2.1"]]
:author "dennis zhuang(killme2008@gmail.com)"
:profiles {:dev {:dependencies [[codox "0.5.0"]]}}
:url "https://github.com/killme2008... | Upgrade leiningen to 2.0 and update version to 0.4.2-SNAPSHOT | Upgrade leiningen to 2.0 and update version to 0.4.2-SNAPSHOT
| Clojure | mit | killme2008/clojure-control |
f9956cfefeade0ecccf9782ca49959d8496765fa | project.clj | project.clj | (defproject clojure-ruby "0.1.0-SNAPSHOT"
:description "An extremely bare-bones Ruby interpreter"
:url "https://github.com/shepmaster/clojure-ruby"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.6.0"]
... | (defproject clojure-ruby "0.1.0-SNAPSHOT"
:description "An extremely bare-bones Ruby interpreter"
:url "https://github.com/shepmaster/clojure-ruby"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.6.0"]
... | Add a local dev path for developer-specific functions | Add a local dev path for developer-specific functions
| Clojure | epl-1.0 | shepmaster/clojure-ruby |
c527990ecd064594f68dcfcf63601ee58d23e80b | project.clj | project.clj | (defproject onyx-jepsen "0.1.0-SNAPSHOT"
:description "Jepsen testing Onyx"
:url "github.com/onyx-platform/onyx-jepsen"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.7.0"]
[org.onyxplatform/onyx "0.9... | (defproject onyx-jepsen "0.1.0-SNAPSHOT"
:description "Jepsen testing Onyx"
:url "github.com/onyx-platform/onyx-jepsen"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.7.0"]
[org.onyxplatform/onyx "0.9... | Use different opts for jepsen orchestrator | Use different opts for jepsen orchestrator
| Clojure | epl-1.0 | onyx-platform/onyx-jepsen |
902177cf3caf36d58002144eafac9d51d5ac56c2 | project.clj | project.clj | (defproject mtrx9 "0.1.0"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:dependencies [[org.clojure/clojure "1.5.1"]
[compojure "1.1.5"]
[ring/ring-jetty-adapter "1.1.6"]]
:plugins [[lein-ring "0.8.5"]]
:ring {:handler mtrx9.core/app}
:profiles
{... | (defproject mtrx9 "0.1.0"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:min-lein-version "2.0.0"
:dependencies [[org.clojure/clojure "1.5.1"]
[compojure "1.1.5"]
[ring/ring-jetty-adapter "1.1.6"]]
:plugins [[lein-ring "0.8.5"]]
:ring {:handler mtr... | Upgrade to lein >= 2.0.0. | Upgrade to lein >= 2.0.0.
| Clojure | mit | tiredpixel/mtrx9 |
7aa59ec8fca5d5121cd062f97fc64d13a7a6360e | project.clj | project.clj | (defproject doctopus "0.1.0-SNAPSHOT"
:description "An un-opinionated framework for docs on the wobs"
:url "http://github.com/Gastove/doctopus"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.6.0"]
[jo... | (defproject doctopus "0.1.0-SNAPSHOT"
:description "An un-opinionated framework for docs on the wobs"
:url "http://github.com/Gastove/doctopus"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.6.0"]
[jo... | Add the ring mock lib | Add the ring mock lib
| Clojure | epl-1.0 | Gastove/doctopus |
58eeec5dd8ce8c718dd7944b86fea65915b359eb | project.clj | project.clj | ;;;; This file is part of gorilla-repl. Copyright (C) 2014-, Jony Hudson.
;;;;
;;;; gorilla-repl is licenced to you under the MIT licence. See the file LICENCE.txt for full details.
(defproject gorilla-repl "0.3.3-SNAPSHOT"
:description "A rich REPL for Clojure in the notebook style."
:url "https://github.com/Jony... | ;;;; This file is part of gorilla-repl. Copyright (C) 2014-, Jony Hudson.
;;;;
;;;; gorilla-repl is licenced to you under the MIT licence. See the file LICENCE.txt for full details.
(defproject gorilla-repl "0.3.3-SNAPSHOT"
:description "A rich REPL for Clojure in the notebook style."
:url "https://github.com/Jony... | Update to clojure 1.6.0, fix version range message. | Update to clojure 1.6.0, fix version range message.
Fixes #139.
| Clojure | mit | gorillalabs/gorilla-repl,gorillalabs/gorilla-repl,mrcslws/gorilla-repl,mrcslws/gorilla-repl,deas/gorilla-notebook,JonyEpsilon/gorilla-repl,deas/gorilla-notebook,deas/gorilla-notebook,JonyEpsilon/gorilla-repl,deas/gorilla-notebook |
b014d1c06b78a88d778c8bc364c4d8f834ea826b | project.clj | project.clj | (defproject onyx-app/lein-template "0.10.0.0-beta1"
:description "Onyx Leiningen application template"
:url "https://github.com/onyx-platform/onyx-template"
:license {:name "MIT License"
:url "http://choosealicense.com/licenses/mit/#"}
:repositories {"snapshots" {:url "https://clojars.org/repo"
... | (defproject onyx-app/lein-template "0.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 |
39b66f62ab7d52db962d3f9d8046328a92ee1ee1 | project.clj | project.clj | (defproject buddy/buddy-core "1.10.1"
:description "Cryptographic Api for Clojure."
:url "https://github.com/funcool/buddy-core"
:license {:name "Apache 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0"}
:dependencies [[org.clojure/clojure "1.10.3" :scope "provided"]
[org.cloju... | (defproject buddy/buddy-core "1.10.1"
:description "Cryptographic Api for Clojure."
:url "https://github.com/funcool/buddy-core"
:license {:name "Apache 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0"}
:dependencies [[org.clojure/clojure "1.10.3" :scope "provided"]
[org.cloju... | Bump cheshire dependency to 5.10.1 | Bump cheshire dependency to 5.10.1
This release of cheshire bumps the transitive dependency:
com.fasterxml.jackson.dataformat/jackson-dataformat-cbor
Which includes a fix for CVE-2020-28491
Note at the time of writing this commit the cheshire release notes do
not contain information on this release. However I have... | Clojure | apache-2.0 | funcool/buddy-core,funcool/buddy-core |
1120ae2b1d96f4419108166a2cc3aa68eb4b641c | project.clj | project.clj | (defproject jungerer "0.1.0"
: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.1-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.1-SNAPSHOT) | Prepare for next development iteration (0.1.1-SNAPSHOT)
| Clojure | bsd-3-clause | totakke/jungerer |
dc9b7dd06bee62364aa1ac38703d7ab8f65c22e4 | project.clj | project.clj | (defproject evolution-programs "0.0.1"
:description "A bunch of EP experiments for my IS665 course at Pace University"
:url "http://pace.saagermhatre.in/is665/"
:license {:name "MIT License"
:url "http://opensource.org/licenses/MIT"}
:dependencies [[org.clojure/clojure "1.6.0"]
[clj... | (defproject evolution-programs "0.0.1"
:description "A bunch of EP experiments for my IS665 course at Pace University"
:url "http://pace.saagermhatre.in/is665/"
:license {:name "MIT License"
:url "http://opensource.org/licenses/MIT"}
:dependencies [[org.clojure/clojure "1.6.0"]
[clj... | Update lein config for new structure | Update lein config for new structure
| Clojure | mit | dexterous/data-mining-experiments |
a7c0cfc76b5b8e46af6625f9264eaca27d56b58d | project.clj | project.clj | (defproject theatralia "0.0.1-SNAPSHOT"
:description "Cool new project to do things and stuff"
:dependencies [[org.clojure/clojure "1.4.0"]]
:profiles {:dev {:dependencies [[midje "1.5.0"]]}})
| (defproject theatralia "0.0.1-SNAPSHOT"
:description "Cool new project to do things and stuff"
:dependencies [[org.clojure/clojure "1.6.0"]]
:profiles {:dev {:dependencies [[midje "1.6.3"]]}})
| Set newest versions of Clojure and Midje | Set newest versions of Clojure and Midje
| Clojure | mit | rmoehn/theatralia,u-o/theatralia |
cf59c13ba2e21d705a7b8d745349e1e4dea30ab7 | project.clj | project.clj | (defproject mvMusic "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:dependencies [[org.clojure/clojure "1.5.1"]
[compojure "1.1.5"]]
:plugins [[lein-ring "0.8.5"]]
:ring {:handler mvMusic.handler/app}
:profiles
{:dev {:dependencies [[ring-mock "0.... | (defproject mvMusic "0.1.0-SNAPSHOT"
:description "A server application for converting and downloading music with a web front end"
:url "https://github.com/DanPallas/mvMusic.git"
:dependencies [[org.clojure/clojure "1.5.1"]
[compojure "1.1.5"]
[hiccup "1.0.4"]]
:plugins [[lein-... | Add dependency hiccup and update ring to 0.8.7 | Add dependency hiccup and update ring to 0.8.7
| Clojure | epl-1.0 | DanPallas/mvMusic |
a3d0e956a59dedcaf19ebceebf8327890ab79325 | project.clj | project.clj | (defproject finagle-clojure "0.1.0"
:description "A light wrapper around Finagle for Clojure"
:url "https://github.com/twitter/finagle-clojure"
:license {:name "Apache License, Version 2.0"
:url "https://www.apache.org/licenses/LICENSE-2.0"}
:dependencies [[finagle-clojure/core "0.1.0"]
... | (defproject finagle-clojure "0.1.0"
:description "A light wrapper around Finagle for Clojure"
:url "https://github.com/twitter/finagle-clojure"
:license {:name "Apache License, Version 2.0"
:url "https://www.apache.org/licenses/LICENSE-2.0"}
:dependencies [[finagle-clojure/core "0.1.0"]
... | Set codox src-dir-uri to github.com/finagle | Set codox src-dir-uri to github.com/finagle
not samn
| Clojure | apache-2.0 | finagle/finagle-clojure,bguthrie/finagle-clojure |
e07dafd907350570f3015c248791d781676ddf41 | project.clj | project.clj | (defproject io.aviso/twixt "0.1.3"
: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.3"
: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"]
... | Add io.aviso:pretty as a dependency | Add io.aviso:pretty as a dependency
| Clojure | apache-2.0 | clyfe/twixt,AvisoNovate/twixt,AvisoNovate/twixt,AvisoNovate/twixt,clyfe/twixt,clyfe/twixt |
4c436d407b8f309805a8aa15069c824750c7c46a | src/clj/coffee_table/component/web_server.clj | src/clj/coffee_table/component/web_server.clj | (ns coffee-table.component.web-server
(:require [bidi.vhosts :refer [vhosts-model]]
[schema.core :as s]
[coffee-table.component.visits :refer [visit-routes]]
[com.stuartsierra.component :as component]
[yada.yada :as yada]
[taoensso.timbre :as timbre]))
(tim... | (ns coffee-table.component.web-server
(:require [bidi.vhosts :refer [vhosts-model]]
[schema.core :as s]
[coffee-table.component.visits :refer [visit-routes]]
[com.stuartsierra.component :as component]
[yada.yada :as yada]
[yada.swagger :refer [swaggered]]
... | Add swagger to API endpoints | Add swagger to API endpoints
| Clojure | epl-1.0 | RobotDisco/coffee-table,RobotDisco/coffee-table |
9a09eeba6777f12120a50ad16737c4aa1bbdf4a6 | src/replme/components/docker.clj | src/replme/components/docker.clj | (ns replme.components.docker
(:require [com.stuartsierra.component :as component]
[docker.core :as docker]
[clojure.tools.logging :as log]))
(defrecord Docker [url client]
component/Lifecycle
(start [component]
(if (:client component)
component
(do (log/info (str "Connect... | (ns replme.components.docker
(:require [com.stuartsierra.component :as component]
[docker.core :as docker]
[docker.container :as container]
[clojure.tools.logging :as log]))
(defrecord Docker [url client]
component/Lifecycle
(start [component]
(if (:client component)
... | Remove old containers on startup | Remove old containers on startup
| Clojure | agpl-3.0 | replme/replme,clojurecup2014/replme,replme/replme-frontend,clojurecup2014/replme |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.