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 |
|---|---|---|---|---|---|---|---|---|---|
21604e1150f3a02108df6f0a0c690d18513c2a30 | src/arachnida/core.clj | src/arachnida/core.clj | (ns arachnida.core)
(require '[clojure.java.jdbc :as jdbc])
(require '[clojure.pprint :as pprint])
(require '[hozumi.rm-rf :as rm-rf])
(require '[ring.adapter.jetty :as jetty])
(require '[ring.middleware.params :as http-params])
(require '[ring.util.response :as http-response])
(require '[ring.... | (ns arachnida.core)
(require '[clojure.tools.cli :as cli])
(require '[clojure.java.jdbc :as jdbc])
(require '[clojure.pprint :as pprint])
(require '[hozumi.rm-rf :as rm-rf])
(require '[ring.adapter.jetty :as jetty])
(require '[ring.middleware.params :as http-params])
(require '[ring.util.respo... | Support for handling basic CLI options: -h, -g, -s etc. | Support for handling basic CLI options: -h, -g, -s etc.
| Clojure | epl-1.0 | tisnik/arachnida,tisnik/arachnida |
715027dfd5ffab23e51f491d898cad6e9bc003af | src/clojure/leiningen/new/game_clojure/core.clj | src/clojure/leiningen/new/game_clojure/core.clj | (ns {{namespace}}
(:require [play-clj.core :refer :all])
(:import [com.badlogic.gdx.graphics Color]
[com.badlogic.gdx.graphics.g2d BitmapFont]
[com.badlogic.gdx.scenes.scene2d.ui Label Label$LabelStyle]))
(defscreen main-screen
:on-show
(fn [screen entities]
(update! screen :renderer ... | (ns {{namespace}}
(:require [play-clj.core :refer :all]))
(defscreen main-screen
:on-show
(fn [screen entities]
(update! screen :renderer (stage))
(conj entities (label "Hello world!" (color :white))))
:on-render
(fn [screen entities]
(clear!)
(draw! screen entities)))
(defgame {{app-name}}
... | Remove unnecessary imports from clojure game template | Remove unnecessary imports from clojure game template
| Clojure | unlicense | oakes/Nightcode,Immortalin/Nightcode,Immortalin/Nightcode,oakes/Nightcode,Immortalin/Nightcode,bsmr-clojure/Nightcode,bsmr-clojure/Nightcode,bsmr-clojure/Nightcode |
f293214d5fc14212d3acfc5431582855bc24c302 | src/exploud/numel.clj | src/exploud/numel.clj | (ns exploud.numel
(:require [cemerick.url :refer [url]]
[cheshire.core :as json]
[environ.core :refer [env]]
[exploud.http :as http]))
(def timeout
"The number of milliseconds we'll wait for a response."
10000)
(def poke-numel-url
"The base URL for Numel in poke"
(url (en... | (ns exploud.numel
(:require [cemerick.url :refer [url]]
[cheshire.core :as json]
[environ.core :refer [env]]
[exploud.http :as http]))
(def timeout
"The number of milliseconds we'll wait for a response."
10000)
(def poke-numel-url
"The base URL for Numel in poke"
(url (en... | Handle 404 when getting Numel registrations | Handle 404 when getting Numel registrations
| Clojure | bsd-3-clause | mixradio/mr-maestro |
2809fbb3688e75542809ee4ff19d7e3b660f702a | test/theatralia/t_core.clj | test/theatralia/t_core.clj | (ns theatralia.t-core
(:require [midje.sweet :refer :all]
[clojure.test.check :as tc]
[clojure.test.check.generators :as gen]
[clojure.test.check.properties :as prop]
[theatralia.core :refer [first-element]]))
;; Credits: http://zotskolf.nl/2014/11/10/testcheckbasics.h... | (ns theatralia.t-core
(:require [midje.sweet :refer :all]
[clojure.test.check :as tc]
[clojure.test.check.generators :as gen]
[clojure.test.check.properties :as prop]
[theatralia.core :refer [first-element]]))
;;; Credits: http://zotskolf.nl/2014/11/10/testcheckbasics.... | Add Midje checker for cooperation with test.check | Add Midje checker for cooperation with test.check
I'm not yet sure where to put it, though. Does test support code belong
in src or test?
| Clojure | mit | u-o/theatralia,rmoehn/theatralia |
bf9db9a8e9e69c67f17852740fe5c5d4ae1355a2 | project.clj | project.clj | (defproject fleetdb "0.2.0-RC1"
:description "A schema-free database optimized for agile development."
:url "http://github.com/mmcgrana/fleetdb"
:source-path "src/clj"
:java-source-path "src/jvm/"
:javac-fork "true"
:dependencies [[org.clojure/clojure "1.1.0"]
[org.clojure/clojure-contrib "... | (defproject fleetdb "0.2.0-RC1"
:description "A schema-free database optimized for agile development."
:url "http://github.com/mmcgrana/fleetdb"
:source-path "src/clj"
:java-source-path "src/jvm/"
:javac-fork "true"
:dependencies [[org.clojure/clojure "1.1.0"]
[org.clojure/clojure-contrib "... | Use most recent clj-stacktrace version. | Use most recent clj-stacktrace version.
| Clojure | mit | mmcgrana/fleetdb |
69a628de0ec7dc74082c13ad9a3c715fb3dee90b | project.clj | project.clj | (defproject onyx-app/lein-template "0.9.7.0-alpha8"
: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 |
10fab83cd8ad51718084841ed73d51755a056906 | project.clj | project.clj | (defproject io.aviso/rook "0.1.10-SNAPSHOT"
:description "Ruby on Rails-style resource mapping for Clojure/Compojure web apps"
:url "https://github.com/AvisoNovate/rook"
:license {:name "Apache Sofware License 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0.html"}
:profiles {:dev
... | (defproject io.aviso/rook "0.1.10-SNAPSHOT"
:description "Ruby on Rails-style resource mapping for Clojure/Compojure web apps"
:url "https://github.com/AvisoNovate/rook"
:license {:name "Apache Sofware License 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0.html"}
:profiles {:dev
... | Update to latest version of core.async | Update to latest version of core.async
| Clojure | apache-2.0 | clyfe/rook,roblally/rook,bmabey/rook |
a05bf8d264a8e7e69357cee0dc1af56a22db6164 | 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 ring from 1.3.2 to 1.4.0 | Update ring from 1.3.2 to 1.4.0
| Clojure | apache-2.0 | innoq/statuses,mvitz/statuses |
f3fa35f97873008b9244ac0bdc596482108412b5 | lein/profiles.clj | lein/profiles.clj | {:user {:plugins [[cider/cider-nrepl "0.10.0-SNAPSHOT"]
[refactor-nrepl "1.2.0-SNAPSHOT"]]
:dependencies [[org.clojure/tools.nrepl "0.2.12"]]}}
| {:user {:plugins [[cider/cider-nrepl "0.11.0-SNAPSHOT"]
[refactor-nrepl "1.2.0-SNAPSHOT"]]
:dependencies [[org.clojure/tools.nrepl "0.2.12"]]}}
| Update cider-nrepl version to v0.11.0-SNAPSHOT | Update cider-nrepl version to v0.11.0-SNAPSHOT
| Clojure | bsd-3-clause | jonathanchu/dotfiles,jonathanchu/dotfiles,jonathanchu/dotfiles |
f3bb482591c5f63934e92468fa8fe9aed21527d6 | src/re_frame/core.cljs | src/re_frame/core.cljs | (ns re-frame.core
(:require
[re-frame.handlers :as handlers]
[re-frame.subs :as subs]
[re-frame.middleware :as middleware]))
;; -- API -------
(def register-handler handlers/register)
(def dispatch handlers/dispatch)
(def dispatch-sync handlers/dispatch-sync)
(def register-sub su... | (ns re-frame.core
(:require
[re-frame.handlers :as handlers]
[re-frame.subs :as subs]
[re-frame.middleware :as middleware]))
;; -- API -------
(def register-handler handlers/register)
(def dispatch handlers/dispatch)
(def dispatch-sync handlers/dispatch-sync)
(def register-sub su... | Add new API - a noop middleware - a comp-middleware | Add new API
- a noop middleware
- a comp-middleware
| Clojure | mit | Day8/re-frame,Day8/re-frame,danielcompton/re-frame,chpill/re-frankenstein,martinklepsch/re-frame,jiangts/re-frame,chpill/re-frankenstein,daiyi/re-frame,daiyi/re-frame,daiyi/re-frame,martinklepsch/re-frame,richardharrington/re-frame,martinklepsch/re-frame,yatesco/re-frame,richardharrington/re-frame,danielcompton/re-fram... |
8ae5206276f658b26fca5f1507b8df7b5d594605 | src/todo_repl/core.clj | src/todo_repl/core.clj | (ns todo-repl.core
#_(:load "/todo-repl/date-parsing")
(:require [todo-repl.date-parsing :as dp])
#_(:use todo-repl.date-parsing))
(defn new-task [name due-by due-after context url]
{:name name
:due-after due-after
:due-by due-by
:context context
:url url
:status :incomplete
:created (s... | (ns todo-repl.core
#_(:load "/todo-repl/date-parsing")
(:require [todo-repl.date-parsing :as dp])
#_(:use todo-repl.date-parsing))
(defn new-task [name due due-after context url]
{:name name
:due-after due-after
:due due
:context context
:url url
:status :incomplete
:created (str (java.... | Change tasks :due-by to :due. | Change tasks :due-by to :due.
| Clojure | mit | Pance/todo-repl-webapp |
7dbc9d9440b2bdea1e9a1a2708fb61b5e9fb8a97 | clojure/koans/src/koans/12_creating_functions.clj | clojure/koans/src/koans/12_creating_functions.clj | (defn square [x] (* x x))
(meditations
"One may know what they seek by knowing what they do not seek"
(= [__ __ __] (let [not-a-symbol? (complement symbol?)]
(map not-a-symbol? [:a 'b "c"])))
"Praise and 'complement' may help you separate the wheat from the chaff"
(= [:wheat "wheat" 'wheat]
... | (defn square [x] (* x x))
(meditations
"One may know what they seek by knowing what they do not seek"
(= [true false true] (let [not-a-symbol? (complement symbol?)]
(map not-a-symbol? [:a 'b "c"])))
"Praise and 'complement' may help you separate the wheat from the chaff"
(= [:wheat "wheat" '... | Complete creating functions koans test | Complete creating functions koans test
| Clojure | mit | darkrodry/3languages2months,darkrodry/3languages2months,darkrodry/3languages2months,darkrodry/3languages2months |
68a414503aac96f12507093dcd5ffcc389fdfff0 | src/clj_beautify/core.clj | src/clj_beautify/core.clj | (ns clj-beautify.core
(:require [clj-beautify.file-handler :as f]
[clj-beautify.beautify :refer [format-clj]])
(:gen-class))
(defn format-file
"Given a file page and a valid mode (`clj`|`edn`) open and use
`clojure.tools.reader/read-string` to transform the file to a literal so that
if can be for... | (ns clj-beautify.core
(:require [clj-beautify.file-handler :as f]
[clj-beautify.beautify :refer [format-clj]])
(:gen-class))
(defn format-string
"Just a function wrapper arond format-clj"
[input mode]
(format-clj input mode))
(defn format-file
"Given a file page and a valid mode (`clj`|`edn`) ... | Create a function wrapper for a cleanly exposed API. | Create a function wrapper for a cleanly exposed API.
| Clojure | mit | comamitc/clj-beautify,comamitc/clj-beautify |
1b05c21f11a5a6601a3a33cbdaca157ebef67339 | src/app/components/snippet_list.cljs | src/app/components/snippet_list.cljs | (ns app.components.snippet-list
(:require [om.next :as om :refer-macros [defui]]
[om.dom :as dom]
[app.components.snippet :refer [snippet]]))
(defn sort-snippets [snippets]
(sort-by :uuid
(fn [id1 id2] (instance? om.tempid/TempId id1))
snippets))
(defui SnippetList
... | (ns app.components.snippet-list
(:require [om.next :as om :refer-macros [defui]]
[om.dom :as dom]
[app.components.snippet :refer [snippet]]))
(defn sort-snippets [snippets]
(sort-by :uuid
(fn [id1 id2] (instance? om.tempid/TempId id1))
snippets))
(defui SnippetList
... | Fix sorting snippets so that the most recent shows up at the top | Fix sorting snippets so that the most recent shows up at the top
| Clojure | agpl-3.0 | Jannis/copaste |
411431b314427126e36069c108166b2025cfa69c | src/clj/lambdacd/state/protocols.clj | src/clj/lambdacd/state/protocols.clj | (ns lambdacd.state.protocols
"Defines protocols that need to be implemented by a state component")
(defprotocol StepResultUpdateConsumer
"Components implementing this protocol can update the state of the pipeline"
(consume-step-result-update [self build-number step-id step-result]
"Tells the component to upd... | (ns lambdacd.state.protocols
"Defines protocols that need to be implemented by a state component")
(defprotocol StepResultUpdateConsumer
"Components implementing this protocol can update the state of the pipeline"
(consume-step-result-update [self build-number step-id step-result]
"Tells the component to upd... | Clarify protocol documentation: LambdaCD expects build numbers to be integers | Clarify protocol documentation: LambdaCD expects build numbers to be integers
| Clojure | apache-2.0 | flosell/lambdacd,flosell/lambdacd,flosell/lambdacd |
e184cddb3e0a7135a220d52c6b5e8198673fb865 | src/cljs/potoo/core.cljs | src/cljs/potoo/core.cljs | (ns ^:figwheel-always potoo.core
(:require [reagent.core :as r]
[ajax.core :refer [GET POST]]))
(defonce app-state
(r/atom {:potoos []}))
(defn potoo [p]
(let [{:keys [text name date]} p]
[:li
[:span (str text ", " name ", " date)]]))
(defn potoo-list []
(fn []
(GET "/api/potoos" {:k... | (ns ^:figwheel-always potoo.core
(:require [reagent.core :as r]
[ajax.core :refer [GET POST]]))
(defonce app-state
(r/atom {:potoos []}))
(defn potoo [p]
(let [{:keys [text name date]} p]
[:li
[:span (str text ", " name ", " date)]]))
(defn potoo-list []
[:div
[:h1 "Potooooooos!"]
... | Use react's get-initial-state for potoo list | Use react's get-initial-state for potoo list
| Clojure | epl-1.0 | kongeor/potoo |
04780de842941f5ac8bc0e4f5dc966f4a8fdbe9e | integration-tests/apps/ring/noir-app/immutant.clj | integration-tests/apps/ring/noir-app/immutant.clj | (ns noir-app.init
(:require [immutant.web :as web]
[immutant.util :as util]
[noir.server :as server]
[lobos.config]))
(server/load-views-ns 'noir-app.views)
(web/start "/" (server/gen-handler {:mode :dev :ns 'noir-app}))
| (ns noir-app.init
(:require [immutant.web :as web]
[immutant.util :as util]
[noir.server :as server]
[lobos.config]))
;; Use this once the new bultitude and noir 1.3.0 are released
;(server/load-views-ns 'noir-app.views)
(server/load-views (util/app-relative "src/noir_app/views")... | Use load-views until a new noir is released. | Use load-views until a new noir is released.
| Clojure | apache-2.0 | kbaribeau/immutant,coopsource/immutant,coopsource/immutant,immutant/immutant,kbaribeau/immutant,coopsource/immutant,immutant/immutant,kbaribeau/immutant,immutant/immutant,immutant/immutant |
8d462f95ac9cb38b8aa5ced9c81d3281a30a46aa | src/detritus/types.clj | src/detritus/types.clj | (ns detritus.types)
(defn atom? [x]
(instance? clojure.lang.Atom x))
| (ns detritus.types)
;; Concrete type predicates
;;--------------------------------------------------------------------
(defn atom? [x]
(instance? clojure.lang.Atom x))
(defn map-entry? [x]
(or (instance? clojure.lang.MapEntry x)
(and (vector? x)
(= 2 (count x)))))
(defn lazy-seq? [x]
(instance... | Add a plethora of type predicates | Add a plethora of type predicates
| Clojure | epl-1.0 | arrdem/detritus |
bc05a340400b1ba12d2ae68e53ef244f70cd07a8 | basic/om-tut/src/om_tut/core.cljs | basic/om-tut/src/om_tut/core.cljs | (ns om-tut.core
(:require [om.core :as om :include-macros true]
[om.dom :as dom :include-macros true]))
(enable-console-print!)
(println "A new developer message. Pay attention, dev guy!")
;; define your app data so that it doesn't get over-written on reload
(defonce app-state (atom {:list ["Lion" "Ze... | (ns om-tut.core
(:require [om.core :as om :include-macros true]
[om.dom :as dom :include-macros true]))
(enable-console-print!)
(println "A new developer message. Pay attention, dev guy!")
;; define your app data so that it doesn't get over-written on reload
(defonce app-state (atom {:list ["Lion" "Ze... | Implement code for "Life without a..." | Implement code for "Life without a..."
Write the code for the "Life without a templating language" section.
This section demonstrates using functional programming to implement
features that templating languages might provide.
| Clojure | epl-1.0 | mrwizard82d1/om-tutorials |
9a40ed3548b16b89ead3040596cc91f2b0f7b283 | project.clj | project.clj | (defproject org.onyxplatform/onyx-metrics "0.8.0.3-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"
... | (defproject org.onyxplatform/onyx-metrics "0.8.0.3-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"
... | Revert onyx dependency back to release version | Revert onyx dependency back to release version
| Clojure | epl-1.0 | onyx-platform/onyx-metrics |
d958b2475dca1d77e3d37ef196b7a9572f0e74b7 | project.clj | project.clj | (defproject tttclj "0.0.1-SNAPSHOT"
:description "Cool new project to do things and stuff"
:dependencies [[org.clojure/clojure "1.4.0"]
[http-kit "2.1.16"]
[compojure "1.1.8"]]
:profiles {:dev {:dependencies [[midje "1.5.0"]]}}
:main tttclj.web)
| (defproject tttclj "0.0.1-SNAPSHOT"
:description "Cool new project to do things and stuff"
:dependencies [[org.clojure/clojure "1.6.0"]
[org.clojure/clojurescript "0.0-2227"]
[http-kit "2.1.16"]
[compojure "1.1.8"]]
:profiles {:dev {:dependencies [[midje "1.5.0"]... | Upgrade Clojure & add ClojureScript | Upgrade Clojure & add ClojureScript
| Clojure | mit | stig/tttclj |
dfe006c9ccd8041f59cc0aac2825d86d863fd79a | project.clj | project.clj | (defproject org.onyxplatform/onyx-metrics "0.8.0.2"
: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.3-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 |
0b8bb8c7578fe1f0d00a9c35ac779189b1d6e21e | src/puppeteer/domain/entity/message.clj | src/puppeteer/domain/entity/message.clj | (ns puppeteer.domain.entity.message)
(defrecord Field
[title value short?])
(defrecord Attachment
[text color fields])
(defrecord Message
[channel-id user-id text timestamp attachments for-me?])
| (ns puppeteer.domain.entity.message)
(defrecord Field
[title value short?])
(defrecord Attachment
[text color fields])
(defrecord Message
[channel-id user-id text timestamp attachments for-me? from-me?])
| Add from-me? key to Message | Add from-me? key to Message
| Clojure | epl-1.0 | boxp/puppeteer |
ea62e8c780629940ae18d79bf79e24bb995ad40a | src/lt/objs/notifos.cljs | src/lt/objs/notifos.cljs | (ns lt.objs.notifos
(:require [lt.object :as object]
[lt.objs.statusbar :as statusbar]
[lt.objs.command :as cmd]
[lt.util.js :refer [wait]]
[crate.binding :refer [map-bound bound deref?]])
(:require-macros [lt.macros :refer [behavior defui]]))
(def standard-timeout 1... | (ns lt.objs.notifos
(:require [lt.object :as object]
[lt.objs.statusbar :as statusbar]
[lt.objs.command :as cmd]
[lt.util.js :refer [wait]]
[crate.binding :refer [map-bound bound deref?]])
(:require-macros [lt.macros :refer [behavior defui]]))
(def standard-timeout 1... | Make msg* opts argument optional | Make msg* opts argument optional
To avoid compiler warnings, change the opts argument of notifos/msg* into an optional one.
| Clojure | mit | craftybones/LightTable,bruno-oliveira/LightTable,craftybones/LightTable,masptj/LightTable,youprofit/LightTable,brabadu/LightTable,hiredgunhouse/LightTable,fdserr/LightTable,kausdev/LightTable,BenjaminVanRyseghem/LightTable,masptj/LightTable,kolya-ay/LightTable,EasonYi/LightTable,ashneo76/LightTable,pkdevbox/LightTable,... |
6727ceb4d536b907416441dcbf7d003c37ab66f9 | src/route_ccrs/core.clj | src/route_ccrs/core.clj | (ns route-ccrs.core
(:require [clojure.tools.logging :as log]
[route-ccrs.active-routes :as ar]
[route-ccrs.route-ccr :as ccr]))
(defn calculate-and-record-ccrs! [sys]
(let [c {:connection (:db sys)}]
(log/info "CCR calculation started")
(->> (into [] ar/transduce-routes (a... | (ns route-ccrs.core
(:require [clojure.tools.logging :as log]
[route-ccrs.active-routes :as ar]
[route-ccrs.route-ccr :as ccr]))
(defmacro with-db-connection
^{:private true}
[sys & body]
`(let [~'db (:db ~sys)
~'c {:connection ~'db}]
~@body))
(defn- route-upd... | Break calculate-and-record-ccrs! into discrete functions | Break calculate-and-record-ccrs! into discrete functions
For ease of understanding and modification
| Clojure | epl-1.0 | lymingtonprecision/route-ccrs,lymingtonprecision/route-ccrs |
edd806b4997cb583e845c00b8fb3380c31d7513d | src/servisne_info/tasks.clj | src/servisne_info/tasks.clj | (ns servisne-info.tasks
(:use [raven-clj.core :only [capture]]
[raven-clj.interfaces :only [stacktrace]])
(:require [environ.core :refer [env]]
[overtone.at-at :as at-at]
[taoensso.timbre :as timbre]))
(defmacro deftask [task-name & body]
`(fn []
(try
(do
(tim... | (ns servisne-info.tasks
(:use [raven-clj.core :only [capture]]
[raven-clj.interfaces :only [stacktrace]])
(:require [environ.core :refer [env]]
[overtone.at-at :as at-at]
[taoensso.timbre :as timbre]))
(defmacro deftask [task-name & body]
`(fn []
(try
(do
(tim... | Set task period to one hour | Set task period to one hour
| Clojure | mit | strika/servisne.info,darkofabijan/servisne.info,darkofabijan/servisne.info,strika/servisne.info |
ae869588104dda7ee9a0e1743db75b3d1bccff1d | src/leiningen/pallet_release/core.clj | src/leiningen/pallet_release/core.clj | (ns leiningen.pallet-release.core)
(defn deep-merge
"Recursively merge maps."
[& ms]
(letfn [(f [a b]
(if (and (map? a) (map? b))
(deep-merge a b)
b))]
(apply merge-with f ms)))
(defn fail
"Fail with the given message, msg."
[msg]
(throw (ex-info msg {:exit-code... | (ns leiningen.pallet-release.core)
(defn deep-merge
"Recursively merge maps."
[& ms]
(letfn [(f [a b]
(if (and (map? a) (map? b))
(deep-merge a b)
b))]
(apply merge-with f ms)))
(defn fail
"Fail with the given message, msg."
[msg]
(throw (ex-info msg {:exit-code... | Add space to unknown repo format message | Add space to unknown repo format message
| Clojure | epl-1.0 | palletops/lein-pallet-release |
42861fc3fde0db74d4af7cd579c34c61b6c463d7 | frontend/src/cruncher/moves/main.cljs | frontend/src/cruncher/moves/main.cljs | (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))) | (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)))
(defn get-move
"Return complete move by its id"
[id]
(get data/all id)) | Add fn to return complete move object | Add fn to return complete move object
| Clojure | mit | Phaetec/pogo-cruncher,Phaetec/pogo-cruncher,Phaetec/pogo-cruncher |
3c56cf28543d39013285591c16a148a5bd4a300d | clojure/anagrams-mutable.clj | clojure/anagrams-mutable.clj | ; An attempt to use in-place array mutation in Clojure
; Highly non-idiomatic. Should not be used. EXPERIMENTAL.
; Also it is ridiculously slow. Does anyone know why?
(defn generatePermutations [a n]
(if (zero? n)
(println (apply str a))
(doseq [i (range 0 (inc n))]
(generatePermutations a (dec n))
... | ; An attempt to use in-place array mutation in Clojure
; Highly non-idiomatic. Should not be used. EXPERIMENTAL.
; Also it is ridiculously slow. Does anyone know why?
(defn generatePermutations [^chars a n]
(if (zero? n)
();(println (apply str a))
(doseq [i (range 0 (inc n))]
(generatePermutations a (d... | Use char arrays and type hints | Use char arrays and type hints
| Clojure | mit | rtoal/polyglot,rtoal/ple,rtoal/polyglot,rtoal/ple,rtoal/polyglot,rtoal/polyglot,rtoal/ple,rtoal/polyglot,rtoal/polyglot,rtoal/polyglot,rtoal/polyglot,rtoal/polyglot,rtoal/polyglot,rtoal/polyglot,rtoal/ple,rtoal/polyglot,rtoal/ple,rtoal/ple,rtoal/ple,rtoal/ple,rtoal/polyglot,rtoal/ple,rtoal/ple,rtoal/ple,rtoal/ple,rtoal... |
3e85e5a3ee8b8f00edbc31fa701d0ebd92a87e47 | src/cljs/comic_reader/pages/sites.cljs | src/cljs/comic_reader/pages/sites.cljs | (ns comic-reader.pages.sites
(:require [comic-reader.session :as session]
[reagent.core :as reagent :refer [atom]]
[secretary.core :refer [dispatch!]]))
(defn manga-site [site-data]
^{:key (:id site-data)} [:li (:name site-data)])
(defn site-list [sites]
[:div
[:h1 "Comic Sources"]
... | (ns comic-reader.pages.sites
(:require [comic-reader.session :as session]
[reagent.core :as reagent :refer [atom]]
[secretary.core :refer [dispatch!]]))
(defn manga-site [site-data]
^{:key (:id site-data)}
[:li
[:input {:type "button"
:value (:name site-data)
:o... | Make the site components contain a button | Make the site components contain a button
| Clojure | epl-1.0 | RadicalZephyr/comic-reader,RadicalZephyr/comic-reader |
0479257a8da94f75db15ec37c70e8df851ce350a | src/test/workflo/macros/spec_test.cljc | src/test/workflo/macros/spec_test.cljc | (ns workflo.macros.spec-test
(:require #?(:cljs [cljs.test :refer-macros [deftest is]]
:clj [clojure.test :refer [deftest is]])
#?(:cljs [cljs.spec :as s]
:clj [clojure.spec :as s])
#?(:cljs [cljs.spec.test :as st]
:clj [clojure.spec.test :as st]... | (ns workflo.macros.spec-test
(:require #?(:cljs [cljs.test :refer-macros [deftest is]]
:clj [clojure.test :refer [deftest is]])
#?(:cljs [cljs.spec :as s]
:clj [clojure.spec :as s])
#?(:cljs [cljs.spec.test :as st]
:clj [clojure.spec.test :as st]... | Exclude random test of parse-subquery from being executed in CLJS | Exclude random test of parse-subquery from being executed in CLJS
| Clojure | mit | workfloapp/macros,workfloapp/macros,workfloapp/app-macros |
257775045ba5fe7219e008388d53ea2d5541793a | project.clj | project.clj | (defproject leancloud.data.json "0.1.0-RC2"
: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"]]
:java-source-paths ["src/jvm"]
:source-path... | (defproject leancloud.data.json "0.1.0-RC3"
: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"]]
:java-source-paths ["src/jvm"]
:source-path... | Set compile target to 1.7 | Set compile target to 1.7
| Clojure | epl-1.0 | leancloud/leancloud.data.json |
c92c01d315ba0c0783d8ecbae1ec58aa9fac3743 | project.clj | project.clj | (defproject onyx-app/lein-template "0.9.7.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.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 |
59604e8d876838c8deaf54e37c49a753e9856dad | project.clj | project.clj | ;(defproject cli4clj "1.0.0"
(defproject cli4clj "1.0.1-SNAPSHOT"
:description "Create simple interactive CLIs for Clojure applications."
:url "https://github.com/ruedigergad/cli4clj"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.cloju... | ;(defproject cli4clj "1.0.0"
(defproject cli4clj "1.0.1-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... | Add eastwood as repl dependency. | Add eastwood as repl dependency.
| Clojure | epl-1.0 | ruedigergad/cli4clj |
224f8256ec9c052fc301b17b4baad4b03bc4aff6 | project.clj | project.clj | (defproject madouc "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.8.0"]
[ring/ring-core "1.5.1"]
... | (defproject madouc "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.8.0"]
[ring/ring-core "1.5.1"]
... | Add compojure and compojure-api dependencies | Add compojure and compojure-api dependencies
| Clojure | epl-1.0 | c-garcia/madouc |
9c8d19ef406e0043698dc67a130d3ee70358f167 | project.clj | project.clj | (defproject io.aviso/rook "0.1.8-SNAPSHOT"
:description "Ruby on Rails-style resource mapping for Clojure/Compojure web apps"
:url "https://github.com/AvisoNovate/rook"
:license {:name "Apache Sofware License 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0.html"}
;; Normally we don't AOT comp... | (defproject io.aviso/rook "0.1.8-SNAPSHOT"
:description "Ruby on Rails-style resource mapping for Clojure/Compojure web apps"
:url "https://github.com/AvisoNovate/rook"
:license {:name "Apache Sofware License 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0.html"}
;; Normally we don't AOT comp... | Revert to speclj 2.5.0 since later versions don't seem to catch assertions correctly inside should-throw | Revert to speclj 2.5.0 since later versions don't seem to catch assertions correctly inside should-throw
| Clojure | apache-2.0 | roblally/rook,bmabey/rook,clyfe/rook |
14cd83b6eb6f7a1c921aab9e0be48a33a144876e | project.clj | project.clj | (defproject funcool/futura "0.2.0-SNAPSHOT"
:description "A basic building blocks for async programming."
:url "https://github.com/funcool/futura"
:license {:name "BSD (2 Clause)"
:url "http://opensource.org/licenses/BSD-2-Clause"}
:dependencies [[org.clojure/clojure "1.7.0-beta3" :scope "provided"]... | (defproject funcool/futura "0.2.0-SNAPSHOT"
:description "A basic building blocks for async programming."
:url "https://github.com/funcool/futura"
:license {:name "BSD (2 Clause)"
:url "http://opensource.org/licenses/BSD-2-Clause"}
:dependencies [[org.clojure/clojure "1.7.0-RC1" :scope "provided"]
... | Update clojure version to 1.7.0 rc1 | Update clojure version to 1.7.0 rc1
| Clojure | bsd-2-clause | funcool/futura |
92ba370d057850acabf29590bf473b102e402757 | project.clj | project.clj | (defproject suricatta "0.2.0-SNAPSHOT"
:description "High level sql toolkit for clojure (backed by jooq library)"
:url "https://github.com/niwibe/suricatta"
:license {:name "BSD (2-Clause)"
:url "http://opensource.org/licenses/BSD-2-Clause"}
:profiles {:dev {:dependencies [[postgresql "9.3-1102.jd... | (defproject suricatta "0.2.0-SNAPSHOT"
:description "High level sql toolkit for clojure (backed by jooq library)"
:url "https://github.com/niwibe/suricatta"
:license {:name "BSD (2-Clause)"
:url "http://opensource.org/licenses/BSD-2-Clause"}
:profiles {:dev {:dependencies [[postgresql "9.3-1102.jd... | Update jooq version to 3.5.1 | Update jooq version to 3.5.1
| Clojure | bsd-2-clause | estsauver/suricatta,estsauver/suricatta,funcool/suricatta |
dfffdc0bfaa9af584bc04e5b2dbf444e0691a02c | project.clj | project.clj | (defproject buddy/buddy-sign "2.0.0"
:description "High level message signing for Clojure"
:url "https://github.com/funcool/buddy-sign"
:license {:name "Apache 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0"}
:dependencies [[org.clojure/clojure "1.9.0-alpha17" :scope "provided"]
... | (defproject buddy/buddy-sign "2.0.0"
:description "High level message signing for Clojure"
:url "https://github.com/funcool/buddy-sign"
:license {:name "Apache 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0"}
:dependencies [[org.clojure/clojure "1.9.0-alpha17" :scope "provided"]
... | Update cheshire dependency to 5.8.0 | Update cheshire dependency to 5.8.0
| Clojure | apache-2.0 | funcool/buddy-sign |
20fb8e0fc01113ca6a872ecb1808771d193327fc | configs/pe-classifier/pe-classifier.clj | configs/pe-classifier/pe-classifier.clj | (def classifier-version "0.2.3")
(defproject puppetlabs.packages/pe-classifier "0.2.4-SNAPSHOT"
:description "Release artifacts for classifier"
:pedantic? :abort
:dependencies [[puppetlabs/classifier ~classifier-version]]
:uberjar-name "classifier-release.jar"
:repositories [["releases" "http://nexus.deliv... | (defproject puppetlabs.packages/pe-classifier "0.2.4-SNAPSHOT"
:description "Release artifacts for classifier"
:pedantic? :abort
:dependencies [[puppetlabs/classifier "0.2.3"]]
:uberjar-name "classifier-release.jar"
:repositories [["releases" "http://nexus.delivery.puppetlabs.net/content/repositories/releas... | Remove version templating from classifier.clj that doesn't work | Remove version templating from classifier.clj that doesn't work
Using a variable in the defproject macro does not work, so this commit
replaces it with a literal string.
| Clojure | apache-2.0 | puppetlabs/ezbake,puppetlabs/ezbake,puppetlabs/ezbake |
27c2157a12ba4ac70f9b672c608fd76ef5d6b47a | config.clj | config.clj | (hash-map
:layout
(layout/geodesic
:radius 3.688
:pixel-spacing 0.02
:strut-pixels
[48 64 64 64]
:strip-struts
[[0 6 12 10]
[2 8 18 16]
[4 9 17 19]
[3 7 11 13]
[1 5 14 15]])
#_
(layout/star
:radius 3.688 ; 12.1'
:pixel-spacing 0.02 ; 2 cm
:stri... | (hash-map
:layout
#_
(layout/geodesic
:radius 3.688
:pixel-spacing 0.02
:strut-pixels
[48 64 64 64]
:strip-struts
[[0 6 12 10]
[2 8 18 16]
[4 9 17 19]
[3 7 11 13]
[1 5 14 15]])
(layout/star
:radius 3.688 ; 12.1'
:pixel-spacing 0.02 ; 2 cm
:stri... | Switch back to star layout until geodesic stuff is figured out. | Switch back to star layout until geodesic stuff is figured out.
| Clojure | unlicense | playasophy/wonderdome,playasophy/wonderdome,playasophy/wonderdome,playasophy/wonderdome |
b62e5652d25b590b841f63c6f93b39005baed9b2 | lein/.lein/profiles.clj | lein/.lein/profiles.clj | {:user {
:plugins [[cider/cider-nrepl "0.12.0-SNAPSHOT"]
[lein-ancient "0.6.8"]
[lein-bikeshed "0.3.0"]
[lein-kibit "0.1.2"]]
:dependencies [[org.clojure/clojure "1.7.0"]
[org.clojure/tools.reader "1.0.0-alpha3"]
... | {:user {
:dependencies [[cider/cider-nrepl "0.12.0-SNAPSHOT"] ; Emnacs
[acyclic/squiggly-clojure "0.1.5"] ; Emacs
^:replace [org.clojure/tools.nrepl "0.2.12"] ; Emacs
]
:singing {:gpg-key "matthew.russell@wormbase.org"}}
;; Visu... | Move dev plugins out of global profile. | Move dev plugins out of global profile.
Emacs-related deps (e.g cider) are the only thing that I'll leave in the
global section.
Development plugins are project specific.
| Clojure | bsd-2-clause | mgrbyte/dot-files,mgrbyte/dot-files,mgrbyte/dot-files |
31c0c89bffa0c3f964130b9f963ca65ac7d153e9 | src/incise/utils.clj | src/incise/utils.clj | (ns incise.utils
(:require [clojure.java.io :refer [file]])
(:import [java.io File]))
(defn remove-prefix-from-path
"Remove the given prefix from the given path."
[prefix-file afile]
(-> afile
(file)
(.getCanonicalPath)
(subs (count (.getCanonicalPath prefix-file)))))
(defn- gitignore-file... | (ns incise.utils
(:require [clojure.java.io :refer [file]])
(:import [java.io File]))
(defn remove-prefix-from-path
"Remove the given prefix from the given path."
[prefix-file afile]
(-> afile
(file)
(.getCanonicalPath)
(subs (inc (count (.getCanonicalPath (file prefix-file)))))))
(defn- g... | Remove one more character in remove-prefix-from-path. | Remove one more character in remove-prefix-from-path.
This gets rid of a preceeding '/'
| Clojure | epl-1.0 | RyanMcG/incise-core |
2f9438baab8d683f1eb66ffc1dc37920948d8a78 | src/kixi/eventlog/api.clj | src/kixi/eventlog/api.clj | (ns kixi.eventlog.api
(:require [liberator.core :refer (defresource)]
[clojure.tools.logging :as log]))
(defn malformed? [ctx]
(if-let [body (get-in ctx [:request :body])]
(assoc ctx ::body body)
true))
(defn handle-created [publish-fn ctx]
(publish-fn (::body ctx)))
(defresource index-reso... | (ns kixi.eventlog.api
(:require [liberator.core :refer (defresource)]
[clojure.tools.logging :as log]))
(defn malformed? [ctx]
(println (get-in ctx [:request :body]))
(if-let [body (get-in ctx [:request :body])]
[false (assoc ctx ::body body)]
true))
(defn handle-created [publish-fn ctx]
(... | Return the correct thing from malformed?. | Return the correct thing from malformed?.
| Clojure | epl-1.0 | MastodonC/kixi.eventlog,MastodonC/kixi.eventlog |
ea2cbf53ea00973061b4d5a10c2efb9c1dabf7f4 | 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 [uk.co.real_logic.aeron Aeron FragmentAssemblyAdapter]
[uk.co.real_logic.aeron Aeron$Context]
[uk.co.real_logic.aeron.driver MediaDriver MediaDriver$Context ThreadingMode]))
#_(defn -main [& arg... | (ns onyx.messaging.aeron-media-driver
(:require [clojure.core.async :refer [chan <!!]])
(:import [uk.co.real_logic.aeron Aeron$Context]
[uk.co.real_logic.aeron.driver MediaDriver MediaDriver$Context ThreadingMode]))
(defn -main [& args]
(let [ctx (doto (MediaDriver$Context.)
;(.threadin... | Fix external media driver for maven aeron release | Fix external media driver for maven aeron release
| Clojure | epl-1.0 | iperdomo/onyx,Deraen/onyx,vijaykiran/onyx,ideal-knee/onyx,dignati/onyx,mccraigmccraig/onyx,KevinGreene/onyx,onyx-platform/onyx |
edb4348ad13b40f6b9105f52435f17b645b41a1c | exercises/nth-prime/src/example.clj | exercises/nth-prime/src/example.clj | (ns nth-prime)
(defn sqrt
"Wrapper around java's sqrt method."
[number]
(int (Math/ceil (Math/sqrt number))))
(defn divides?
"Helper function to decide if a number is evenly divided by divisor."
[number divisor]
(zero? (mod number divisor)))
(defn prime? [number]
(cond
(= 2 number) true
(even? ... | (ns nth-prime)
(defn sqrt
"Wrapper around java's sqrt method."
[number]
(int (Math/ceil (Math/sqrt number))))
(defn divides?
"Helper function to decide if a number is evenly divided by divisor."
[number divisor]
(zero? (mod number divisor)))
(defn- prime-by-trial-division?
"Simple trial division prime ... | Move trial-division test into helper function in nth-prime | Move trial-division test into helper function in nth-prime
| Clojure | mit | querenker/xclojure,querenker/xclojure,exercism/xclojure,exercism/xclojure |
4b9f8f55675c9101191dba87510f5ee8a126dd6d | src/leiningen/new/chestnut/src/cljs/chestnut/core.cljs | src/leiningen/new/chestnut/src/cljs/chestnut/core.cljs | (ns {{project-ns}}.core
(:require [om.core :as om :include-macros true]{{{core-cljs-requires}}}))
(enable-console-print!)
(defonce app-state (atom {:text "Hello Chestnut!"}))
(defn main []
(om/root
(fn [app owner]
(reify
om/IRender
(render [_]
(dom/h1 {{#not-om-tools?}}nil {{/... | (ns {{project-ns}}.core
(:require [om.core :as om :include-macros true]{{{core-cljs-requires}}}))
(enable-console-print!)
(defonce app-state (atom {:text "Hello Chestnut!"}))
(defn root-component [app owner]
(reify
om/IRender
(render [_]
(dom/div nil (dom/h1 {{#not-om-tools?}}nil {{/not-om-tools?}}... | Make the om root component its own function | Make the om root component its own function
| Clojure | epl-1.0 | plexus/chestnut,plexus/chestnut,jacqt/chestnut,jacqt/chestnut |
7cedb3981a772a44c1473cf4e84dd3d1828fa776 | backend/src/circle/env.clj | backend/src/circle/env.clj | (ns circle.env
(:require midje.semi-sweet)
(:require clojure.test)
(:use [circle.sh :only (sh)])
(:require [clojure.string :as str])
(:use [clojure.contrib.except :only (throw-if-not)]))
(def env (condp = (System/getenv "CIRCLE_ENV")
"production" :production
"staging" :staging
... | (ns circle.env
(:require midje.semi-sweet)
(:require clojure.test)
(:use [circle.sh :only (sh)])
(:require [clojure.string :as str])
(:use [clojure.contrib.except :only (throw-if-not)]))
(def env (condp = (System/getenv "RAILS_ENV")
"production" :production
"staging" :staging
... | Make the backend code key off RAILS_ENV rather than CIRCLE_ENV | Make the backend code key off RAILS_ENV rather than CIRCLE_ENV
| Clojure | epl-1.0 | prathamesh-sonpatki/frontend,prathamesh-sonpatki/frontend,circleci/frontend,RayRutjes/frontend,RayRutjes/frontend,circleci/frontend,circleci/frontend |
a82ef8220358f38e765c2ea27148a153bc9ef214 | examples/caching_middleware.clj | examples/caching_middleware.clj | (ns clj-http.examples.caching-middleware
(:require
[clj-http.client :as http]
[clojure.core.cache :as cache]))
(def http-cache (atom (cache/ttl-cache-factory {} :ttl (* 60 60 1000))))
(defn- cached-response
([client req]
(let [cache-key (str (:server-name req) (:uri req) "?" (:query-string req))]
(i... | (ns clj-http.examples.caching-middleware
(:require
[clj-http.client :as http]
[clojure.core.cache :as cache]))
(def http-cache (atom (cache/ttl-cache-factory {} :ttl (* 60 60 1000))))
(defn- cached-response
([client req]
(let [cache-key (str (:server-name req) (:uri req) "?" (:query-string req))]
(i... | Add debug to http/get to show request. | Add debug to http/get to show request.
| Clojure | mit | dakrone/clj-http |
c36bffc4bddec5020e4e07e32652fe29fb6a7b6a | src/overseer/status.clj | src/overseer/status.clj | (ns overseer.status
"Functions for querying the state of jobs in the system"
(:require [datomic.api :as d]
[clojure.set :as set]))
(defn jobs-with-status [db status]
(->> (d/q '[:find ?jid
:in $ ?status
:where
[?e :job/status ?status]
[?e :job/i... | (ns overseer.status
"Functions for querying the state of jobs in the system"
(:require [datomic.api :as d]
[clojure.set :as set]))
(defn jobs-with-status [db status]
(->> (d/q '[:find ?jid
:in $ ?status
:where
[?e :job/status ?status]
[?e :job/i... | Remove extraneous jobs-started / jobs-failed | Remove extraneous jobs-started / jobs-failed
| Clojure | epl-1.0 | framed-data/overseer |
1105e10bf808c0ddd7ec36027bda50a69aee7a55 | src/onyx/log/commands/complete_task.clj | src/onyx/log/commands/complete_task.clj | (ns onyx.log.commands.complete-task
(:require [onyx.extensions :as extensions]))
(defmethod extensions/apply-log-entry :complete-task
[{:keys [args message-id]} replica]
(-> replica
(update-in [:completions (:job args)] conj (:task args))
(update-in [:completions (:job args)] vec)
(update-in [:... | (ns onyx.log.commands.complete-task
(:require [onyx.extensions :as extensions]))
(defmethod extensions/apply-log-entry :complete-task
[{:keys [args message-id]} replica]
(let [peers (get-in replica [:allocations (:job args) (:task args)])]
(-> replica
(update-in [:completions (:job args)] conj (:task... | Make all peers idle after task completion. | Make all peers idle after task completion.
| Clojure | epl-1.0 | iperdomo/onyx,vijaykiran/onyx,Deraen/onyx,mccraigmccraig/onyx,KevinGreene/onyx,intfrr/onyx,dignati/onyx,ideal-knee/onyx,tomasu82/onyx,onyx-platform/onyx |
1031c2186ceceba40b2748dfd04422e5ef9f76dd | src/atom_finder/core.clj | src/atom_finder/core.clj | (ns atom-finder.core
(:require [atom-finder.classifier :refer :all]
[atom-finder.count-subtrees :refer :all]
[atom-finder.constants :refer :all]
[atom-finder.util :refer :all]
[atom-finder.classifier-util :refer :all]
[atom-finder.results-util :refer :all]
... | (ns atom-finder.core
(:require [atom-finder.classifier :refer :all]
[atom-finder.count-subtrees :refer :all]
[atom-finder.constants :refer :all]
[atom-finder.util :refer :all]
[atom-finder.classifier-util :refer :all]
[atom-finder.results-util :refer :all]
... | Comment out manual testing code | Comment out manual testing code
| Clojure | mit | dgopstein/atom-finder,dgopstein/atom-finder,dgopstein/atom-finder,dgopstein/atom-finder,dgopstein/atom-finder,dgopstein/atom-finder |
b98127361ed9d675d8240c2e5e28c6244bc49715 | src/word_keeper/core.clj | src/word_keeper/core.clj | (ns word-keeper.core
(:require [org.httpkit.server :refer [run-server]]
[compojure.core :refer [defroutes GET]]
[compojure.handler :refer [site]]
[compojure.route :refer [files not-found]]
[clostache.parser :refer [render-resource]]
[word-keeper.backend :re... | (ns word-keeper.core
(:require [org.httpkit.server :refer [run-server]]
[compojure.core :refer [defroutes GET]]
[compojure.handler :refer [site]]
[compojure.route :refer [files not-found]]
[clostache.parser :refer [render-resource]]
[word-keeper.backend :re... | Clean up after dirty merge | Clean up after dirty merge
| Clojure | epl-1.0 | clojurecup2014/word-keeper |
47f5dc819ac14e255624e77420c63e70477a6683 | spec/incise/parsers/impl/markdown_spec.clj | spec/incise/parsers/impl/markdown_spec.clj | (ns incise.parsers.impl.markdown-spec
(:require [speclj.core :refer :all]
[clojure.java.io :refer [file resource]]
(incise [load :refer (load-parsers-and-layouts)]
[config :as conf])
[incise.spec-helpers :refer :all]
[incise.parsers.html :refer [html... | (ns incise.parsers.impl.markdown-spec
(:require [speclj.core :refer :all]
[clojure.java.io :refer [file resource]]
(incise [load :refer (load-parsers-and-layouts)]
[config :as conf])
[incise.spec-helpers :refer :all]
[incise.parsers.html :refer [html... | Load layouts in markdown parsing spec. | Load layouts in markdown parsing spec.
Otherwise it cannot run on its own. Refactor a bit too (DRY it up).
| Clojure | epl-1.0 | RyanMcG/incise-core |
70501fedbb475200d149670df3a1723ad043ef64 | src/discuss/references/lib.cljs | src/discuss/references/lib.cljs | (ns discuss.references.lib
(:require [discuss.utils.common :as lib]))
(defn save-selected-reference!
"Saves the currently clicked reference for further processing."
[ref]
(lib/update-state-item! :reference-usages :selected-reference (fn [_] ref)))
(defn get-selected-reference
"Returns the currently selected... | (ns discuss.references.lib
(:require [discuss.utils.common :as lib]))
(defn save-selected-reference!
"Saves the currently clicked reference for further processing."
[ref]
(lib/update-state-item! :reference-usages :selected-reference (fn [_] ref)))
(defn get-selected-reference
"Returns the currently selected... | Add getter / setter for supportive? | Add getter / setter for supportive?
| Clojure | mit | hhucn/discuss,hhucn/discuss |
f90272eabe19e330339cca69ff9e775b16c17cdc | src/server/systems.clj | src/server/systems.clj | (ns server.systems
(:require [system.core :refer [defsystem]]
(system.components
[http-kit :refer [new-web-server]])
[clj-consonant.local-store :refer [new-local-store]]
[server.handler :refer [app-server backend-server]]))
(defsystem development-system
[:app-serve... | (ns server.systems
(:require [system.core :refer [defsystem]]
(system.components
[http-kit :refer [new-web-server]])
[clj-consonant.local-store :refer [new-local-store]]
[server.handler :refer [app-server backend-server]]))
(defsystem development-system
[:app-serve... | Use /tmp/copaste-store.git for the data store | Use /tmp/copaste-store.git for the data store
| Clojure | agpl-3.0 | Jannis/copaste |
458e1d2675fb07747890e10458e09d89a8c538db | src/clj/dictionator/core.clj | src/clj/dictionator/core.clj | (ns dictionator.core
(:require [com.stuartsierra.component :as component]
[dictionator.system :as app])
(:gen-class))
(defn -main
"starts the Dictionator webservice"
[& args]
(let [[port] args]
(component/start
(app/prod-system {:web-port 3000}))))
| (ns dictionator.core
(:require [com.stuartsierra.component :as component]
[dictionator.system :as app])
(:gen-class))
(defn -main
"starts the Dictionator webservice"
[& args]
(let [[port] args]
(println (format "Starting Dictionator webservice on port: %s" port))
(component/start
(ap... | Add info print-line after service starts | Add info print-line after service starts
| Clojure | epl-1.0 | janherich/dictionator |
68a7b877deba2f99db973c8978db816920003788 | src/leiningen/new/reagent/env/dev/clj/reagent/dev.clj | src/leiningen/new/reagent/env/dev/clj/reagent/dev.clj | (ns {{project-ns}}.dev
(:require [cemerick.piggieback :as piggieback]
[weasel.repl.websocket :as weasel]
[leiningen.core.main :as lein]))
(defn browser-repl []
(piggieback/cljs-repl :repl-env (weasel/repl-env :ip "0.0.0.0" :port 9001)))
(defn start-figwheel []
(future
(print "Startin... | (ns {{project-ns}}.dev
(:require [cemerick.piggieback :as piggieback]
[weasel.repl.websocket :as weasel]
[leiningen.core.main :as lein]))
(defn browser-repl []
(piggieback/cljs-repl :repl-env (weasel/repl-env :ip "127.0.0.1" :port 9001)))
(defn start-figwheel []
(future
(print "Start... | Change listening host to localhost instead of 0.0.0.0 | Change listening host to localhost instead of 0.0.0.0
No reason to listen for connections from the outside. | Clojure | mit | hellonico/next-template |
499f16ad39ab8817a76d7803e4b1de047d85e8f8 | src/teach_by_friends/shared/icons.cljs | src/teach_by_friends/shared/icons.cljs | (ns teach-by-friends.shared.icons)
(defn import-icon [name]
(js/require (str "./images/" name ".png")))
(def ^:private icons
{:back (import-icon "back")
:close (import-icon "close")
:episodes (import-icon "episodes")
:favorites (import-icon "favorites")
:information (import-icon "information")
:wor... | (ns teach-by-friends.shared.icons)
(def back (js/require "./images/back.png"))
(def close (js/require "./images/close.png"))
(def episodes (js/require "./images/episodes.png"))
(def favorites (js/require "./images/favorites.png"))
(def information (js/require "./images/information.png"))
(def words (js/require "./imag... | Fix error with dinamic paths to images (remake to static) | Fix error with dinamic paths to images (remake to static)
| Clojure | epl-1.0 | savelichalex/friends-teach,savelichalex/friends-teach,savelichalex/friends-teach,savelichalex/friends-teach |
51459ef14eb7a96fd17364d6ff95cdf3703165cd | project.clj | project.clj | (defproject buddy/buddy-sign "0.5.1"
:description "High level message signing for Clojure"
:url "https://github.com/funcool/buddy-sign"
:license {:name "Apache 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0"}
:dependencies [[org.clojure/clojure "1.6.0" :scope "provided"]
[com... | (defproject buddy/buddy-sign "0.5.1"
:description "High level message signing for Clojure"
:url "https://github.com/funcool/buddy-sign"
:license {:name "Apache 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0"}
:dependencies [[org.clojure/clojure "1.6.0" :scope "provided"]
[com... | Update buddy-core dependency and remove slingshot dependency (now is transitive from buddy-core). | Update buddy-core dependency and remove slingshot dependency (now is transitive from buddy-core).
| Clojure | apache-2.0 | funcool/buddy-sign |
0b61206baecae40ece0ddbd7d79a1ce334cc6045 | project.clj | project.clj | (defproject rester "0.2.2-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.10.0"]
[org.clojure/data.csv "0.1.3"]
... | (defproject rester "0.2.2-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.10.0"]
[org.clojure/data.csv "0.1.3"]
... | Fix dependency compat java 11 | Fix dependency compat java 11
| Clojure | epl-1.0 | rinconjc/rester |
b8257dc19ffcfcc573be89bd93c163a176f0e3e4 | project.clj | project.clj | (defproject onyx-app/lein-template "0.11.1.0"
:description "Onyx Leiningen application template"
:url "https://github.com/onyx-platform/onyx-template"
:license {:name "MIT License"
:url "http://choosealicense.com/licenses/mit/#"}
:repositories {"snapshots" {:url "https://clojars.org/repo"
... | (defproject onyx-app/lein-template "0.11.1.1-SNAPSHOT"
:description "Onyx Leiningen application template"
:url "https://github.com/onyx-platform/onyx-template"
:license {:name "MIT License"
:url "http://choosealicense.com/licenses/mit/#"}
:repositories {"snapshots" {:url "https://clojars.org/repo"
... | Prepare for next release cycle. | Prepare for next release cycle.
| Clojure | mit | onyx-platform/onyx-template |
c9b95b5911c342c7322b4beffcab81a73dd07587 | project.clj | project.clj | (defproject stencil "0.3.0-SNAPSHOT"
:description "Mustache in Clojure"
:dependencies [[org.clojure/clojure "1.3.0"]
[scout "0.1.0"]
[quoin "0.1.0-SNAPSHOT"]
[slingshot "0.8.0"]
[org.clojure/core.cache "0.6.1"]]
:profiles {:dev {:dependencies [[o... | (defproject stencil "0.3.0-SNAPSHOT"
:description "Mustache in Clojure"
:dependencies [[org.clojure/clojure "1.3.0"]
[scout "0.1.0"]
[quoin "0.1.0"]
[slingshot "0.8.0"]
[org.clojure/core.cache "0.6.1"]]
:profiles {:dev {:dependencies [[org.clojur... | Change quoin version to 0.1.0. | Change quoin version to 0.1.0.
| Clojure | epl-1.0 | caribou/antlers |
6060f8eef35b8665a34171dbe4b3dcc150b0ab44 | example/build.boot | example/build.boot | (set-env!
:resource-paths #{"resources"}
:dependencies '[[org.clojure/clojure "1.8.0"]
[afrey/boot-asset-fingerprint "1.0.0-SNAPSHOT"]])
(require '[afrey.boot-asset-fingerprint :refer [asset-fingerprint]])
(deftask dev []
(comp
(asset-fingerprint)
(target)))
| (set-env!
:resource-paths #{"resources"}
:dependencies '[[org.clojure/clojure "1.8.0"]
[afrey/boot-asset-fingerprint "1.0.0-SNAPSHOT"]
[pandeiro/boot-http "0.7.3" :scope "test"]])
(require
'[afrey.boot-asset-fingerprint :refer [asset-fingerprint]]
'[pandeiro.boot-http :refer... | Add boot-http to the example task | Add boot-http to the example task
| Clojure | mit | AdamFrey/boot-asset-fingerprint,AdamFrey/boot-asset-fingerprint |
b73e4fb00f175da263d1f5ca5ee65ab5e9487219 | src/io/aviso/rook/resources/swagger.clj | src/io/aviso/rook/resources/swagger.clj | (ns io.aviso.rook.resources.swagger
"Exposes a resource used to access the Swagger description for the mapped namespaces (excluding this one, and any other
endpoints with the :no-swagger metadata."
{:no-swagger true
:added "0.1.27"}
(:require [ring.util.response :as res]
[cheshire.core :as j... | (ns io.aviso.rook.resources.swagger
"Exposes a resource used to access the Swagger description for the mapped namespaces (excluding this one, and any other
endpoints with the :no-swagger metadata."
{:no-swagger true
:added "0.1.27"}
(:require [ring.util.response :as res]
[cheshire.core :as j... | Add basic CORS enabling headers | Add basic CORS enabling headers | Clojure | apache-2.0 | clyfe/rook,bmabey/rook,roblally/rook |
5755e0d4785413e28e0c0e741df2da47ef34207e | project.clj | project.clj | (defproject org.onyxplatform/onyx-peer-http-query "0.10.0.1-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... | (defproject org.onyxplatform/onyx-peer-http-query "0.10.0.1-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... | Use latest snapshot so build works on circle. | Use latest snapshot so build works on circle.
| Clojure | epl-1.0 | onyx-platform/onyx-peer-http-query |
e7f27c7a732f7b38231ce67e9f8a7d6bb37a30f5 | project.clj | project.clj | (defproject transit-clj "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.5.1"]
[org.clojure/data.generators "0.1.... | (defproject transit-clj "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 [[com.fasterxml.jackson.core/jackson-core "2.3.1"]
[org.msgpack/m... | Refactor deps so test libs are only used in dev/test | Refactor deps so test libs are only used in dev/test
| Clojure | apache-2.0 | cognitect/transit-clj,jdunruh/transit-clj,borovsky/transit-clj,alexanderkiel/transit-clj |
e1dcbfe11e0a2fa00c15f9a9dc869c19854352e8 | project.clj | project.clj | (defproject naughtmq "0.0.2"
: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-addition [:d... | (defproject naughtmq "0.0.3-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... | Prepare for next development iteration | Prepare for next development iteration
| Clojure | epl-1.0 | gaverhae/naughtmq,gaverhae/naughtmq |
851951b2581ddcf6e0b64f7e825d17f8feed7615 | project.clj | project.clj | (defproject io.aviso/twixt "0.1.2"
: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.2"
:description "An extensible asset pipeline for Clojure web applications"
:url "https://github.com/AvisoNovate/twixt"
:license {:name "Apache Sofware Licencse 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0.html"}
:dependencies [[org.clojure/clojure "1.5.1"]
... | Update to latest version of Less4J: 1.1.2 | Update to latest version of Less4J: 1.1.2
| Clojure | apache-2.0 | clyfe/twixt,AvisoNovate/twixt,AvisoNovate/twixt,clyfe/twixt,clyfe/twixt,AvisoNovate/twixt |
351e4d35692af6c496e83f17997de04264df4793 | project.clj | project.clj | (defproject superstring "2.0.0"
:description "String manipulation library for clojure"
:url "http://github.com/expez/superstring"
:license {:name "Eclipse Public License 1.0"
:url "http://www.eclipse.org/legal/epl-v10.html"
:year 2015
:key "epl-1.0"}
:plugins [[codox "0.8.11"... | (defproject superstring "2.0.0-SNAPSHOT"
:description "String manipulation library for clojure"
:url "http://github.com/expez/superstring"
:license {:name "Eclipse Public License 1.0"
:url "http://www.eclipse.org/legal/epl-v10.html"
:year 2015
:key "epl-1.0"}
:plugins [[codox... | Prepare for next dev cycle | Prepare for next dev cycle
| Clojure | epl-1.0 | expez/superstring |
39c237ebb45cf5694a65a1e75968226b31b71619 | project.clj | project.clj | (defproject io.aviso/twixt "0.1.1"
: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.2"
:description "An extensible asset pipeline for Clojure web applications"
:url "https://github.com/AvisoNovate/twixt"
:license {:name "Apache Sofware Licencse 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0.html"}
:dependencies [[org.clojure/clojure "1.5.1"]
... | Advance version number, update less4j to 1.1.1 | Advance version number, update less4j to 1.1.1
| Clojure | apache-2.0 | AvisoNovate/twixt,clyfe/twixt,AvisoNovate/twixt,AvisoNovate/twixt,clyfe/twixt,clyfe/twixt |
629db7c3fe8edede1d6d147a2d5d60c58f708dcb | project.clj | project.clj | (defproject reiddraper/simple-check "0.1.0"
:description "A QuickCheck inspired property-based testing library."
:url "http://github.com/reiddraper/simple-check"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.5.0"]]
... | (defproject reiddraper/simple-check "0.1.1-SNAPSHOT"
:description "A QuickCheck inspired property-based testing library."
:url "http://github.com/reiddraper/simple-check"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1... | Prepare for next release: 0.1.1 | Prepare for next release: 0.1.1
| Clojure | epl-1.0 | clojure/test.check,clojure/test.check,clojure/test.check |
9514c5c50134146e4c0c93a9b30a4c551143e50b | spectacles/src/spectacles/presenter.clj | spectacles/src/spectacles/presenter.clj | (ns spectacles.presenter
(:require [quil.core :as q]
[quil.middleware :as m]
[spectacles.scheduler]))
(q/defsketch spectacles
:title "Presentation Cycle"
:size [1280 720]
:setup spectacles.scheduler/setup
:update spectacles.scheduler/update
:draw spectacles.scheduler/draw
:middl... | (ns spectacles.presenter
(:require [quil.core :as q]
[quil.middleware :as m]
[spectacles.scheduler]))
(q/defsketch spectacles
:title "Presentation Cycle"
:size :fullscreen
:setup spectacles.scheduler/setup
:update spectacles.scheduler/update
:draw spectacles.scheduler/draw
:midd... | Make presentations fullscreen, on top, in presentation mode | Make presentations fullscreen, on top, in presentation mode
| Clojure | apache-2.0 | LifeInLights/twyla-opus |
8a7fb8c6ad19fde3eb50b9e9a9e95ebce8f25771 | src/membership_manager/routing/admin.clj | src/membership_manager/routing/admin.clj | (ns membership-manager.routing.admin
(:require [compojure.core :refer :all]
[cemerick.friend :as friend]
[java-time :as t]
[membership-manager.store.users :as users]
[membership-manager.view.accounts :as account-views]))
(defroutes members
(GET "/members/" [] (a... | (ns membership-manager.routing.admin
(:require [compojure.core :refer :all]
[cemerick.friend :as friend]
[java-time :as t]
[membership-manager.store.users :as users]
[membership-manager.view.accounts :as account-views]))
(defroutes members
(GET "/members/" [] (a... | Make expiration a year from user creation date for now | Make expiration a year from user creation date for now
| Clojure | epl-1.0 | Akoolla/membership-manager |
5bfdc0c9b094186e24c93106d8073f80a617d90a | project.clj | project.clj | (defproject sqls "0.1.0-SNAPSHOT"
:description "SQLS"
:url "https://bitbucket.org/mpietrzak/sqls"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [
[org.clojure/clojure "1.6.0-beta2"]
[org.clojure/data.json "0... | (defproject sqls "0.1.0-SNAPSHOT"
:description "SQLS"
:url "https://bitbucket.org/mpietrzak/sqls"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [
[org.clojure/clojure "1.6.0-beta2"]
[org.clojure/data.json "0... | Use lein-ancient 0.5.5 and don't print GC. | Use lein-ancient 0.5.5 and don't print GC.
| Clojure | epl-1.0 | mpietrzak/sqls,sqls/sqls |
db6ebb2a35a461c94939a1e63fc54e7452954655 | project.clj | project.clj | (defproject buddy/buddy-auth "0.6.0"
: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.6.0" :s... | (defproject buddy/buddy-auth "0.6.0"
: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... | Set default clojure version to 1.7.0 | Set default clojure version to 1.7.0
| Clojure | apache-2.0 | jgregors/buddy-auth,rwilson/buddy-auth,shrayasr/buddy-auth,funcool/buddy-auth |
4c94e09dd81235a33b54b78d70d8846c333966e7 | project.clj | project.clj | (defproject cider-ci_repository "2.0.0"
:description "Cider-CI Repository"
:license {:name "GNU AFFERO GENERAL PUBLIC LICENSE Version 3"
:url "http://www.gnu.org/licenses/agpl-3.0.html"}
:dependencies [
[cider-ci/clj-auth "2.0.0"]
[cider-ci/clj-utils "2.0.0"]
... | (defproject cider-ci_repository "2.0.0"
:description "Cider-CI Repository"
:license {:name "GNU AFFERO GENERAL PUBLIC LICENSE Version 3"
:url "http://www.gnu.org/licenses/agpl-3.0.html"}
:dependencies [
[cider-ci/clj-auth "2.0.1"]
[cider-ci/clj-utils "2.0.0"]
... | Upgrade clj-auth to fix basic-auth issue | Upgrade clj-auth to fix basic-auth issue
| Clojure | agpl-3.0 | cider-ci/cider-ci_server,cider-ci/cider-ci_server,cider-ci/cider-ci_server,cider-ci/cider-ci_repository |
2be614af27a905120713a9afcf28e76df48c8910 | project.clj | project.clj | (defproject onyx-starter "0.1.0-SNAPSHOT"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.7.0"]
[org.clojure/core.async "0.1.346.0-17112a-alpha"]
[org.onyxplatform/onyx "0.8.0"]
... | (defproject onyx-starter "0.1.0-SNAPSHOT"
: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.8.1"]
[com.stuartsierra/component "0.2.3"]]
:profiles {:dev {:de... | Upgrade onyx-starter to 0.8.1. Remove conflicting core.async dependency | Upgrade onyx-starter to 0.8.1.
Remove conflicting core.async dependency
| Clojure | epl-1.0 | onyx-platform/onyx-starter |
3a96bb10027b48dff0ed6031c32a0bf16c2a4c26 | 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/... | Upgrade to Ant 1.7.1 and exclude version from maven-ant-tasks | Upgrade to Ant 1.7.1 and exclude version from maven-ant-tasks
This is a personal itch, driven by a desire to use a task
incompatible with 1.6.5 [ant-deb-task].
Testing over the course of the day suggests that the problems
noted here:
http://groups.google.com/group/leiningen/browse_thread/thread/3a0118282d0394b0/a656... | Clojure | epl-1.0 | 0/leiningen,0/leiningen |
ed737db9f477f91ee75fd2ef2f5da87d1585b9cb | project.clj | project.clj | (defproject cljam "0.1.1"
:description "A DNA Sequence Alignment/Map (SAM) library for Clojure"
:url "https://chrovis.github.io/cljam"
:license {:name "Apache License, Version 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0.html"}
:dependencies [[org.clojure/clojure "1.6.0"]
[... | (defproject cljam "0.1.2-SNAPSHOT"
:description "A DNA Sequence Alignment/Map (SAM) library for Clojure"
:url "https://chrovis.github.io/cljam"
:license {:name "Apache License, Version 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0.html"}
:dependencies [[org.clojure/clojure "1.6.0"]
... | Prepare for next development iteration (0.1.2-SNAPSHOT) | Prepare for next development iteration (0.1.2-SNAPSHOT)
| Clojure | apache-2.0 | chrovis/cljam |
31db1f81b8eda022327add676749ecd158e87f0a | project.clj | project.clj | (defproject demo "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.4.0"]
[ring/ring-core "1.2.0-beta1"]
... | (defproject demo "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.4.0"]
[ring/ring-core "1.2.0"]
... | Use latest release of ring | Use latest release of ring
| Clojure | apache-2.0 | coopsource/feature-demo,FalseProtagonist/graphagora,immutant/feature-demo,coopsource/feature-demo,FalseProtagonist/graphagora,jkutner/feature-demo,immutant/feature-demo,coopsource/feature-demo,immutant/feature-demo,jkutner/feature-demo,FalseProtagonist/graphagora,jkutner/feature-demo |
99d19cc0b29e41e32ac055951d92a64c8f694de3 | project.clj | project.clj | (defproject incise "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.5.1"]
[speclj "2.1.2"]
[ring... | (defproject incise "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.5.1"]
[speclj "2.1.2"]
[ring... | Change stefon version to SNAPSHOT. | Change stefon version to SNAPSHOT.
| Clojure | epl-1.0 | RyanMcG/incise-core |
b172f7880e11c6d1ec53ca22fa4669fc4468bd30 | project.clj | project.clj | (defproject com.draines/postal "1.4.0-SNAPSHOT"
:resources-path "etc"
:repositories {"java.net" "http://download.java.net/maven/2"}
:dependencies [[org.clojure/clojure "1.2.0-master-SNAPSHOT"]
[org.clojure/clojure-contrib "1.2.0-SNAPSHOT"]
[javax.mail/mail "1.4.4-SNAPSHOT"
... | (defproject com.draines/postal "1.4.0-SNAPSHOT"
:resources-path "etc"
:repositories {"java.net" "http://download.java.net/maven/2"}
:dependencies [[org.clojure/clojure "1.2.0"]
[org.clojure/clojure-contrib "1.2.0"]
[javax.mail/mail "1.4.4-SNAPSHOT"
:exclusions [... | Remove snapshots for 1.2.0 release of clojure | Remove snapshots for 1.2.0 release of clojure
| Clojure | mit | drewr/postal,bo-chen/postal |
26613b60bf9b22589fe41db9fdb5df0ad916c8fa | project.clj | project.clj | (defproject me.arrdem/oxcart (slurp "VERSION")
:description "An experimental optimizing compiler for Clojure code"
:url "http://github.com/arrdem/oxcart"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [
[org.clojure/clojure ... | (defproject me.arrdem/oxcart (slurp "VERSION")
:description "An experimental optimizing compiler for Clojure code"
:url "http://github.com/arrdem/oxcart"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [
[org.clojure/clojure ... | Add timbre as a dep | Add timbre as a dep
| Clojure | epl-1.0 | arrdem/oxcart,arrdem/oxcart |
000c393e66d486e014a4020932c6660849e51343 | project.clj | project.clj | (defproject org.clojars.gonewest818/defcon "0.6.0-SNAPSHOT"
:description "Handle configuration settings with defaults"
:url "http://github.com/gonewest818/defcon"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.8.0"]
... | (defproject org.clojars.gonewest818/defcon "0.6.0"
:description "Handle configuration settings with defaults"
:url "http://github.com/gonewest818/defcon"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.8.0"]
... | Test signed deploy to closers | Test signed deploy to closers
| Clojure | epl-1.0 | gonewest818/defcon |
8d06617dcae5c0c188e2b1f121912df0224f02ca | project.clj | project.clj | (defproject mvxcvi/vault "0.3.0-SNAPSHOT"
:description "Content-addressable data store."
:url "https://github.com/greglook/vault"
:license {:name "Public Domain"
:url "http://unlicense.org/"}
:aliases
{"tool-jar"
["with-profile" "tool" "uberjar"]}
:dependencies
[[byte-streams "0.1.10"]
... | (defproject mvxcvi/vault "0.3.0-SNAPSHOT"
:description "Content-addressable data store."
:url "https://github.com/greglook/vault"
:license {:name "Public Domain"
:url "http://unlicense.org/"}
:aliases
{"tool-jar"
["with-profile" "tool" "uberjar"]}
:dependencies
[[byte-streams "0.1.10"]
... | Use non-snapshot version of puget. | Use non-snapshot version of puget.
| Clojure | unlicense | greglook/vault |
3a2a200a2bb9bcbbe95826567e5c8a99cd39b581 | project.clj | project.clj | (defproject io.aviso/tracker "0.1.4"
:description "Track per-thread operations when exceptions occur"
:url "https://github.com/AvisoNovate/tracker"
:license {:name "Apache Sofware Licencse 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0.html"}
... | (defproject io.aviso/tracker "0.1.5-SNAPSHOT"
:description "Track per-thread operations when exceptions occur"
:url "https://github.com/AvisoNovate/tracker"
:license {:name "Apache Sofware Licencse 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0.html"}
... | Advance version number to 0.1.5 | Advance version number to 0.1.5
| Clojure | apache-2.0 | AvisoNovate/tracker |
d99fd5a0b98a60dc53c5d651fd4f1435eba27a79 | project.clj | project.clj | (defproject com.palletops/leaven "0.1.0-SNAPSHOT"
:description "A lightweight component library for clojure and clojurescript."
:url "https://github.com/palletops/leaven"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:plugins [[com.keminglabs/cljx "0.4.0"... | (defproject com.palletops/leaven "0.1.0-SNAPSHOT"
:description "A lightweight component library for clojure and clojurescript."
:url "https://github.com/palletops/leaven"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:plugins [[com.keminglabs/cljx "0.4.0"... | Add install alias for build | Add install alias for build
| Clojure | epl-1.0 | palletops/leaven |
417bb66858b0288952ab3eb938172ddd4ac58f92 | project.clj | project.clj | (defproject lein-jshint "0.1.5-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 [[org.clojure/clojure "1.6.0"]
... | (defproject lein-jshint "0.1.5-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 [[org.clojure/clojure "1.6.0"]
... | Update lein-release & lein-bikeshed plugins | Update lein-release & lein-bikeshed plugins
| Clojure | epl-1.0 | vbauer/lein-jshint |
2a7dbdbad9feeeaf0278581ede9ac86f57d7dfb3 | project.clj | project.clj | (defproject kmg "0.1.0-SNAPSHOT"
:description "Knowledge Media Guide"
:url "https://github.com/alexpetrov/kmg"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.6.0"]
[org.clojure/clojurescript "0.0-2234... | (defproject kmg "0.1.0-SNAPSHOT"
:description "Knowledge Media Guide"
:url "https://github.com/alexpetrov/kmg"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.6.0"]
[org.clojure/clojurescript "0.0-2371... | Update some dependencies. Switched to :acvanced optimization of cljsbuild | Update some dependencies. Switched to :acvanced optimization of cljsbuild
| Clojure | epl-1.0 | alexpetrov/kmg,alexpetrov/kmg |
c1ca8b4935c3d582c06d207aad7b076202b903e5 | project.clj | project.clj | (defproject funcool/suricatta "0.5.0-SNAPSHOT"
:description "High level sql toolkit for clojure (backed by jooq library)"
:url "https://github.com/funcool/suricatta"
:license {:name "BSD (2-Clause)"
:url "http://opensource.org/licenses/BSD-2-Clause"}
:dependencies [[org.clojure/clojure "1.7.0" :scop... | (defproject funcool/suricatta "0.5.0-SNAPSHOT"
:description "High level sql toolkit for clojure (backed by jooq library)"
:url "https://github.com/funcool/suricatta"
:license {:name "BSD (2-Clause)"
:url "http://opensource.org/licenses/BSD-2-Clause"}
:dependencies [[org.clojure/clojure "1.8.0-beta1"... | Set clojure 1.8.0-beta1 as default clojure version. | Set clojure 1.8.0-beta1 as default clojure version.
This is not mandatory. Surricata can be used without any
problem with clojure 1.7.x
| Clojure | bsd-2-clause | funcool/suricatta |
d8ade86179b5016617f703d97799cf97fcb0f4f4 | project.clj | project.clj | (defproject org.toomuchcode/clara-rules "0.2.2"
: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.3.0-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... | Prepare for next development release. | Prepare for next development release.
| Clojure | apache-2.0 | WilliamParker/clara-rules,cerner/clara-rules,cerner/clara-rules,mrrodriguez/clara-rules,kulkarnipushkar/clara-rules,kulkarnipushkar/clara-rules,kulkarnipushkar/clara-rules,WilliamParker/clara-rules,cerner/clara-rules,WilliamParker/clara-rules,mrrodriguez/clara-rules,mrrodriguez/clara-rules |
a0ca3f30ceaa07eaeb4a55e51bba35a1f8c67f82 | project.clj | project.clj | (defproject io.aviso/rook "0.1.6-SNAPSHOT"
:description "Ruby on Rails-style resource mapping for Clojure/Compojure web apps"
:url "https://github.com/AvisoNovate/rook"
:license {:name "Apache Sofware Licencse 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0.html"}
;; Normally we don't AOT com... | (defproject io.aviso/rook "0.1.6-SNAPSHOT"
:description "Ruby on Rails-style resource mapping for Clojure/Compojure web apps"
:url "https://github.com/AvisoNovate/rook"
:license {:name "Apache Sofware Licencse 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0.html"}
;; Normally we don't AOT com... | Add log4j as a test dependency | Add log4j as a test dependency
| Clojure | apache-2.0 | bmabey/rook,roblally/rook,clyfe/rook |
5af556570079b44a6c0200a1f137b54005068d5e | project.clj | project.clj | (defproject re-frame/lein-template "0.3.22-SNAPSHOT"
:description "Leiningen template for a Reagent web app that implements the re-frame pattern."
:url "https://github.com/Day8/re-frame-template"
:license {:name "MIT"}
:deploy-repositories [["releases" :clojars]
["snapshots" :clojars]]
... | (defproject re-frame/lein-template "0.3.22-SNAPSHOT"
:description "Leiningen template for a Reagent web app that implements the re-frame pattern."
:url "https://github.com/Day8/re-frame-template"
:license {:name "MIT"}
:deploy-repositories [["clojars" {:sign-releases false
... | Change lein release and deploy | Change lein release and deploy
| Clojure | mit | Day8/re-frame-template,Day8/re-frame-template,Day8/re-frame-template |
97b92f3ce166a938435306cac8807dc85ac14fee | project.clj | project.clj | (defproject onyx-app/lein-template "0.10.0.0-beta5"
:description "Onyx Leiningen application template"
:url "https://github.com/onyx-platform/onyx-template"
:license {:name "MIT License"
:url "http://choosealicense.com/licenses/mit/#"}
:repositories {"snapshots" {:url "https://clojars.org/repo"
... | (defproject onyx-app/lein-template "0.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 |
30c71dff1f2a25ae348f00c47e0ba78ed876f598 | project.clj | project.clj | (defproject bk1 "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"]
[graphql-clj "0.1.20" :exclusions [org.clo... | (defproject bk1 "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"]
[graphql-clj "0.1.20" :exclusions [org.clo... | Add ring nRepl library to enable `M-x cider-connect` from Emacs | Add ring nRepl library to enable `M-x cider-connect` from Emacs
| Clojure | epl-1.0 | carld/bk1 |
3938f420134f9703612dcbadef86c469d88706a8 | src/reddio_frontend/screens/app.cljs | src/reddio_frontend/screens/app.cljs | (ns reddio-frontend.screens.app
(:require [re-frame.core :as rf]
[reddio-frontend.bridge :as bridge]
[reddio-frontend.screens.shared.header :as header]
[reddio-frontend.screens.home.top-subreddits :as top-subreddits]))
(defn app []
[:> bridge/root-provider
[:div.app
[head... | (ns reddio-frontend.screens.app
(:require [re-frame.core :as rf]
[reddio-frontend.bridge :as bridge]
[reddio-frontend.screens.shared.header :as header]
[reddio-frontend.screens.home.top-subreddits :as top-subreddits]))
(defn app []
(let [route @(rf/subscribe [:route])]
[:> b... | Hide top subreddits when route is not home | Hide top subreddits when route is not home
| Clojure | mit | yanglinz/reddio-next,yanglinz/reddio-next,yanglinz/reddio-next |
396a55a6291e296770a901660d5b557421dbe871 | Clojure/project.clj | Clojure/project.clj | (defproject org.omcljs/ambly "0.2.0"
:description "ClojureScript REPL into embedded JavaScriptCore."
:url "https://github.com/omcljs/ambly"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.7.0-beta3"]
[... | (defproject org.omcljs/ambly "0.2.0"
:description "ClojureScript REPL into embedded JavaScriptCore."
:url "https://github.com/omcljs/ambly"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.6.0"]
[org.cl... | Set to depend on 1.6.0 / 0.0-3030 | Set to depend on 1.6.0 / 0.0-3030
There is nothing in Ambly that requires 1.7.0.
Since it is "infrastructure / library" code, specify
oldest supported version. This has an advantage
that it makes it easier for consumers to use
newer versions of Clojure and ClojureScript as
they see fit.
| Clojure | epl-1.0 | bsvingen/ambly,omcljs/ambly,domesticmouse/ambly,omcljs/ambly,jobez/ambly,domesticmouse/ambly,bsvingen/ambly,jobez/ambly |
29eb00fd3a7ed72677a7ac016790fa18fa038a1d | ring-core/project.clj | ring-core/project.clj | (defproject ring/ring-core "1.6.0-beta4"
:description "Ring core libraries."
:url "https://github.com/ring-clojure/ring"
:scm {:dir ".."}
:license {:name "The MIT License"
:url "http://opensource.org/licenses/MIT"}
:dependencies [[org.clojure/clojure "1.5.1"]
[ring/ring-codec "1.0... | (defproject ring/ring-core "1.6.0-beta4"
:description "Ring core libraries."
:url "https://github.com/ring-clojure/ring"
:scm {:dir ".."}
:license {:name "The MIT License"
:url "http://opensource.org/licenses/MIT"}
:dependencies [[org.clojure/clojure "1.5.1"]
[ring/ring-codec "1.0... | Update Commons FileUpload dependency to 1.3.2 | Update Commons FileUpload dependency to 1.3.2
This addresses vulnerability: http://www.cvedetails.com/cve/CVE-2016-3092/
Fixes #255.
| Clojure | mit | ring-clojure/ring,ring-clojure/ring |
727f1961747b4a368bef0dcc9fe48fc2323aa2d3 | project.clj | project.clj | (defproject cli4clj "1.7.1"
;(defproject cli4clj "1.7.2-SNAPSHOT"
:description "Create simple interactive CLIs for Clojure applications."
:url "https://github.com/ruedigergad/cli4clj"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.cloju... | ;(defproject cli4clj "1.7.1"
(defproject cli4clj "1.7.2-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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.