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
b7282a725a801190dd03297beca72a205ebd2c4d
project.clj
project.clj
(defproject org.onyxplatform/onyx-kafka "0.7.3-SNAPSHOT" :description "Onyx plugin for Kafka" :url "https://github.com/MichaelDrogalis/onyx-kafka" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.7.0"] ...
(defproject org.onyxplatform/onyx-kafka "0.7.3-SNAPSHOT" :description "Onyx plugin for Kafka" :url "https://github.com/MichaelDrogalis/onyx-kafka" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.7.0"] ...
Test commit from CircleCI box.
Test commit from CircleCI box. [ci skip]
Clojure
epl-1.0
mccraigmccraig/onyx-kafka,onyx-platform/onyx-kafka
07144f6fe8f6108ab5e01826d5e05b51cb8ad933
src/cljs/comic_reader/scrolling.cljs
src/cljs/comic_reader/scrolling.cljs
(ns comic-reader.scrolling (:require [re-frame.core :as rf])) (defn throttle [type key target] (let [target (or target js/window) running (atom false) toggle! #(swap! running not) throttler (fn [] (when (not @running) (toggle!) ...
(ns comic-reader.scrolling (:require [re-frame.core :as rf])) (defn throttle [type key & [target]] (let [target (or target js/window) running (atom false) toggle! #(swap! running not) throttler (fn [] (when (not @running) (toggle!) ...
Make the target optional for throttle
Make the target optional for throttle
Clojure
epl-1.0
RadicalZephyr/comic-reader,RadicalZephyr/comic-reader
3333ad3ab8130becb9cfe360b46bb7aecfcbd548
clojure/profiles.clj
clojure/profiles.clj
{:user {:plugins [;;Try new api quickly using the repl ;;[lein-try "0.4.3"] ;;=> https://github.com/kumarshantanu/lein-localrepo ;;[lein-localrepo "0.5.4"] ;;Convert pom.xml to project.clj ;;[lein-nevam "0.1.2"] ;;A Leiningen plugin for ...
{:user {:plugins [[lein-localrepo "0.5.4"] ;; https://github.com/kumarshantanu/lein-localrepo [lein-nevam "0.1.2"] ;; Convert pom.xml to project.clj [lein-pprint "1.2.0"]] ;; Pretty-print a representation of the project map :dependencies [[alembic "0.3.2"] [pjstadi...
Remove ultra as it gives some nrepl error
Remove ultra as it gives some nrepl error
Clojure
mit
agilecreativity/dotfiles,agilecreativity/dotfiles,agilecreativity/dotfiles
392d26b893d92041df1f957e9354fd003e852e79
src/cljs/app.cljs
src/cljs/app.cljs
(ns app (:require [ajax.core :refer [GET]] [domina :refer [by-id set-text!]] [domina.css :refer [sel]] [domina.events :refer [listen!]] [lively.core :as lively])) (lively/start "/js/app.js" {:on-reload #(.log js/console "Reloaded!")}) (defn set-result! [result] (set...
(ns app (:require-macros [cljs.core.async.macros :refer [go]]) (:require [ajax.core :refer [GET]] [domina :refer [by-id set-text!]] [domina.css :refer [sel]] [domina.events :refer [listen!]] [cljs.core.async :as async :refer [<! >!]] [lively.core :as livel...
Add core.async to Clojurescript example
Add core.async to Clojurescript example
Clojure
epl-1.0
mhjort/clj-tutorials
edf6950124cd2bc916e30852817c79af620450d7
src/useful/io.clj
src/useful/io.clj
(ns useful.io (:use [clojure.java.io :only [reader]]) (:import (java.io Reader PushbackReader))) (defprotocol PushbackFactory (^{:added "1.4"} pushback-reader [x] "Creates a PushbackReader from an object.")) (extend-protocol PushbackFactory PushbackReader (pushback-reader [this] this) Reader (pushb...
(ns useful.io (:use [clojure.java.io :only [reader]] [useful.ns :only [defalias]]) (:import (java.io Reader PushbackReader))) (defprotocol PushbackFactory (^{:added "1.4"} pushback-reader [x] "Creates a PushbackReader from an object.")) (extend-protocol PushbackFactory PushbackReader (pushback-reade...
Add pbr as alias to pushback-reader. Best name ever.
Add pbr as alias to pushback-reader. Best name ever.
Clojure
epl-1.0
jafingerhut/useful,amalloy/useful,flatland/useful
27766f556a9f1b51bd1aa585b2ba3c954a1771e3
src/silly_image_store/handler.clj
src/silly_image_store/handler.clj
(ns silly-image-store.handler (:require [silly-image-store.store :as store] [environ.core :refer [env]] [compojure.core :refer :all] [ring.middleware.json :refer :all] [compojure.handler :as handler] [compojure.route :as route])) (def images-dir (env :ba...
(ns silly-image-store.handler (:require [silly-image-store.store :as store] [environ.core :refer [env]] [compojure.core :refer :all] [ring.middleware.json :refer :all] [compojure.handler :as handler] [compojure.route :as route])) (def images-dir (env :ba...
Change serve image route fn to handle request
Change serve image route fn to handle request
Clojure
epl-1.0
phss/silly-image-store
6d2a3daba7becc0f589741d286a8130623a2f57d
bundles/default/project.clj
bundles/default/project.clj
;; Copyright © 2014-2017, JUXT LTD. (def VERSION "1.3.0-alpha4") (defproject yada VERSION :description "A complete batteries-included bundle of yada" :license {:name "The MIT License" :url "https://opensource.org/licenses/MIT"} :pedantic? :abort :dependencies [[yada/aleph ~VERSION] ...
;; Copyright © 2014-2017, JUXT LTD. (def VERSION "1.3.0-alpha4") (defproject yada VERSION :description "A complete batteries-included bundle of yada" :license {:name "The MIT License" :url "https://opensource.org/licenses/MIT"} :pedantic? :abort :dependencies [[yada/aleph ~VERSION] ...
Fix abort issue due to dependency conflict
Fix abort issue due to dependency conflict
Clojure
mit
juxt/yada,juxt/yada,juxt/yada
2f9685294de73f36c66c9a4e4d1abbb5fb16e234
src/com/frereth/server/logging.clj
src/com/frereth/server/logging.clj
(ns com.frereth.server.logging (require [com.postspectacular.rotor :as rotor] [com.stuartsierra.component :as component] [taoensso.timbre :as log :refer (trace debug info warn error fatal spy with-log-level)])) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;; Schema (defrecor...
(ns com.frereth.server.logging (require [com.stuartsierra.component :as component] [taoensso.timbre :as log :refer (trace debug info warn error fatal spy with-log-level)] [taoensso.timbre.appenders.3rd-party.rotor :as rotor])) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;; S...
Update to new log rotor
Update to new log rotor
Clojure
agpl-3.0
jimrthy/frereth-server
7c49e0803ddd6186b82bb6dd334497b469ac5630
src/oc/storage/resources/reaction.clj
src/oc/storage/resources/reaction.clj
(ns oc.storage.resources.reaction) (defn- reaction-collapse "Reducer function that collapses reactions into count and sequence of author based on common reaction unicode." [reactions reaction] (let [unicode (:reaction reaction) author (-> reaction :author :name) author-id (-> reaction :author :us...
(ns oc.storage.resources.reaction) (defn- reaction-collapse "Reducer function that collapses reactions into count and sequence of author based on common reaction unicode." [reactions reaction] (let [unicode (:reaction reaction) author (-> reaction :author :name) author-id (-> reaction :author :us...
Add default thumbup rection to every entry.
Add default thumbup rection to every entry.
Clojure
agpl-3.0
open-company/open-company-storage
d47684c734a87868ac2c2c1ac2f91b74facb977b
src/exploud/info.clj
src/exploud/info.clj
(ns exploud.info "## For grabbing information about the things we're dealing with" (:require [exploud [asgard :as asgard] [onix :as onix] [tyranitar :as tyr]])) (defn applications "The list of applications Asgard knows about." [] {:names (map :name (asgard/applications)...
(ns exploud.info "## For grabbing information about the things we're dealing with" (:require [exploud [asgard :as asgard] [onix :as onix] [tyranitar :as tyr]])) (defn applications "The list of applications Onix knows about." [] {:names (map :name (onix/applications))}) ...
Make Exploud list the applications from Onix
Make Exploud list the applications from Onix
Clojure
bsd-3-clause
mixradio/mr-maestro
f9066144e5ea84ea1b437b2fbe5d4c7a5376bba9
src/discuss/config.cljs
src/discuss/config.cljs
(ns discuss.config) (def project "discuss") (def user "Q2hyaXN0aWFu") (def api {:host "http://localhost:4284/" :init "api/elektroautos" :base "api/" :login "api/login" :add {:add-start-statement "api/add/start_statement" :add-start-premise "api/add/sta...
(ns discuss.config) (def project "discuss") (def user "Q2hyaXN0aWFu") (def api {:host "http://localhost:4284/" :init "api/cat-or-dog" :base "api/" :login "api/login" :add {:add-start-statement "api/add/start_statement" :add-start-premise "api/add/start...
Set default issue to an english one
Set default issue to an english one
Clojure
mit
hhucn/discuss,hhucn/discuss
cd60a0a7e88a90c466e45c40e3ed4bcfc23d5d24
src/test_fb/handler.clj
src/test_fb/handler.clj
(ns test-fb.handler (:require [ring.middleware.defaults :refer (wrap-defaults site-defaults secure-site-defaults)] [ring.util.response :refer (not-found response)] [taoensso.timbre :as log] [clojure.string :refer (trim blank?)] [clojure.java.io :as io] )) (...
(ns test-fb.handler (:require [ring.middleware.defaults :refer (wrap-defaults site-defaults secure-site-defaults)] [ring.util.response :refer (not-found response content-type)] [taoensso.timbre :as log] [clojure.string :refer (trim blank?)] [clojure.java.io :as io] ...
Add content type to default route
Add content type to default route
Clojure
epl-1.0
gzeureka/test-fb
9a178036eeb2c39b168712fed3388007217933ea
src/advent_2017/day_06.cljc
src/advent_2017/day_06.cljc
(ns advent-2017.day-06 (:require #?(:cljs [planck.core :refer [slurp read-string]]) [#?(:clj clojure.java.io :cljs planck.io) :as io] [clojure.string :as str])) (def input (-> "advent_2017/day_06/input" io/resource slurp)) (def data (as-> input x (str/trim x) (str/split x #"\t") (mapv read-string x))) (de...
(ns advent-2017.day-06 (:require #?(:cljs [planck.core :refer [slurp read-string]]) [#?(:clj clojure.java.io :cljs planck.io) :as io] [clojure.string :as str])) (def input (-> "advent_2017/day_06/input" io/resource slurp)) (def data (as-> input x (str/trim x) (str/split x #"\t") (mapv read-string x))) (de...
Work in terms of maps so merge-with use is correct
Work in terms of maps so merge-with use is correct
Clojure
epl-1.0
mfikes/advent-of-cljs
51e4c8d96b27e40f8e45ab836df5eb71a9d251ec
clojure/src/rabbitmq/tutorials/emit_log_direct.clj
clojure/src/rabbitmq/tutorials/emit_log_direct.clj
(ns rabbitmq.tutorials.emit-log-direct (:require [langohr.core :as lc] [langohr.channel :as lch] [langohr.exchange :as le] [langohr.basic :as lb] [clojure.string :as s])) (def ^{:const true} x "direct_logs") (defn -main [severity & args] (with-open [conn (lc/conne...
(ns rabbitmq.tutorials.emit-log-direct (:require [langohr.core :as lc] [langohr.channel :as lch] [langohr.exchange :as le] [langohr.basic :as lb] [clojure.string :as s])) (def ^{:const true} x "direct_logs") (defn -main [severity & args] (with-open [conn (lc/conne...
Use the same default as Ruby example
Use the same default as Ruby example
Clojure
apache-2.0
anhzhi/rabbitmq-tutorials,borna2exl/rabbitmq-tutorials,girirajsharma/rabbitmq-tutorials,thoven78/rabbitmq-tutorials,bwong199/rabbitmq-tutorials,hangshiisi/rabbitmq-tutorials,SaiNadh001/rabbitmq-tutorials,yepesasecas/rabbitmq-tutorials,fengjx/rabbitmq-tutorials,jonahglover/rabbitmq-tutorials,rabbitmq/rabbitmq-tutorials,...
c510cdf52b4ba2cb36f86b3d81523cc3fbe6711d
src/github_changelog/util.clj
src/github_changelog/util.clj
(ns github-changelog.util (:require [clojure.string :refer [join ends-with?]])) (defn str-map [f & sqs] (join (apply map f sqs))) (defn extract-params [query-string] (into {} (for [[_ k v] (re-seq #"([^&=]+)=([^&]+)" query-string)] [(keyword k) v]))) (defn strip-trailing ([s] (strip-trailing s "/"...
(ns github-changelog.util (:require [clojure.string :refer [join ends-with?]])) (defn str-map [f & sqs] (join (apply map f sqs))) (defn extract-params [query-string] (into {} (for [[_ k v] (re-seq #"([^&=]+)=([^&]+)" query-string)] [(keyword k) v]))) (defn strip-trailing ([s] (strip-trailing s "/"...
Use the lazy version instead
Use the lazy version instead
Clojure
mit
whitepages/github-changelog
6202e3d863ea0142dfef3c025fc9ff26b8964c43
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.apache.kafka/kafka-clients "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...
Add tools.namespace to the dependencies.
Add tools.namespace to the dependencies.
Clojure
apache-2.0
MartinSoto/clojure-streams
1035140df96ec46926f89b257f936a496a512a8f
dev-resources/src/user.clj
dev-resources/src/user.clj
(ns user "A dev namespace that supports Proto-REPL. It seems that Proto-REPL doesn't support the flexible approach that lein uses: any configurable ns can be the starting ns for a REPL. As such, this minimal ns was created for Proto-REPL users, so they too can have an env that supports startup and shutdown."...
(ns user "A dev namespace that supports Proto-REPL. It seems that Proto-REPL doesn't support the flexible approach that lein uses: any configurable ns can be the starting ns for a REPL. As such, this minimal ns was created for Proto-REPL users, so they too can have an env that supports startup and shutdown."...
Determine OPeNDAP URL based on tag association data for a collection.
CMR-5131: Determine OPeNDAP URL based on tag association data for a collection.
Clojure
apache-2.0
nasa/Common-Metadata-Repository,nasa/Common-Metadata-Repository,nasa/Common-Metadata-Repository,nasa/Common-Metadata-Repository,nasa/Common-Metadata-Repository,nasa/Common-Metadata-Repository
0c4e634c44f52025dd4d8b8b26038f023a9ecc3b
src/uxbox/repo/projects.cljs
src/uxbox/repo/projects.cljs
;; This Source Code Form is subject to the terms of the Mozilla Public ;; License, v. 2.0. If a copy of the MPL was not distributed with this ;; file, You can obtain one at http://mozilla.org/MPL/2.0/. ;; ;; Copyright (c) 2016 Andrey Antukh <niwi@niwi.nz> (ns uxbox.repo.projects "A main interface for access to remot...
;; This Source Code Form is subject to the terms of the Mozilla Public ;; License, v. 2.0. If a copy of the MPL was not distributed with this ;; file, You can obtain one at http://mozilla.org/MPL/2.0/. ;; ;; Copyright (c) 2016 Andrey Antukh <niwi@niwi.nz> (ns uxbox.repo.projects "A main interface for access to remot...
Add page create and update repo methods.
Add page create and update repo methods.
Clojure
mpl-2.0
studiospring/uxbox,uxbox/uxbox,studiospring/uxbox,uxbox/uxbox,studiospring/uxbox,uxbox/uxbox
8309921e75e25dabfba3e8193930e4cef7d97783
src/pot/core/act.cljs
src/pot/core/act.cljs
(ns pot.core.act (:require-macros [cljs.core.async.macros :refer [go alt!]]) (:require [cljs.reader :refer [read-string]] [pot.core.hand :refer [move-handler undo-handler state-watcher history-watcher]])) (def ^:private msg-handler-map {:move move-handler :undo undo-handler}) (defn- pro...
(ns pot.core.act (:require-macros [cljs.core.async.macros :refer [go alt!]]) (:require [cljs.reader :refer [read-string]] [pot.core.hand :refer [move-handler undo-handler state-watcher history-watcher]])) (def ^:private msg-handler-map {:move move-handler :undo undo-handler}) (defn- pro...
Check handler before call it
Check handler before call it
Clojure
mit
pavel-v-chernykh/pot
5d0b0d7693c89a288ba57572ad38e264120de2fc
build.boot
build.boot
#!/usr/bin/env boot #tailrecursion.boot.core/version "2.3.1" (set-env! :dependencies [['tailrecursion/boot.task "2.1.2"] ['tailrecursion/hoplon "5.7.0"] ['markdown-clj "0.9.41"] ['org.clojure/clojurescript "0.0-2156"]] :src-paths #{"sr...
#!/usr/bin/env boot #tailrecursion.boot.core/version "2.3.1" (set-env! :dependencies '[[tailrecursion/boot.task "2.1.2"] [tailrecursion/hoplon "5.7.0"] [markdown-clj "0.9.41"] [tailrecursion/boot.ring "0.1.0-SNAPSHOT"] ...
Add dev-server to stop Hyphenator errors
Add dev-server to stop Hyphenator errors
Clojure
epl-1.0
tailrecursion/hoplon.io
cfef38fd5fc9ba8476e1dd56b96b26819d055d46
.lein/profiles.clj
.lein/profiles.clj
{:user {:dependencies [[clj-stacktrace "0.2.5"] [spyscope "0.1.0"] [limit-break "0.1.0-SNAPSHOT"]] :plugins [[lein-difftest "1.3.7"] [lein-drip "0.1.1-SNAPSHOT"] [lein-clojars "0.9.1"] [lein-pprint "1.1.1"] ...
{:user {:dependencies [[clj-stacktrace "0.2.5"] [spyscope "0.1.2"] [limit-break "0.1.0-SNAPSHOT"]] :plugins [[lein-difftest "1.3.7"] [lein-drip "0.1.1-SNAPSHOT"] [lein-clojars "0.9.1"] [lein-pprint "1.1.1"] ...
Fix spyscope dependency. Add its injection.
Fix spyscope dependency. Add its injection.
Clojure
unlicense
RyanMcG/dotfiles,RyanMcG/dotfiles,RyanMcG/dotfiles,RyanMcG/dotfiles,RyanMcG/dotfiles,RyanMcG/dotfiles,RyanMcG/dotfiles
38f7bf500096b0ece3a7dcf4ee0218b1be54611a
src/fm/simrunner/input.clj
src/fm/simrunner/input.clj
(ns ^{:doc "Dispatching Input Events of a SimRunner Application." :author "Frank Mosebach"} fm.simrunner.input (:require [fm.simrunner.config :as cfg])) (defmulti on-input {:private true} (fn [id & _] id)) (defmethod on-input :default [id app & args] (println (format "on-input{id: %s args: %...
(ns ^{:doc "Dispatching Input Events of a SimRunner Application." :author "Frank Mosebach"} fm.simrunner.input (:require [fm.simrunner.config :as cfg])) (defn- value->param [id value] (if (= :calc-err id) (if value "1" "0") (str value))) (defn- update-values [app-state id value] (a...
Update the app's model according to incoming events.
Update the app's model according to incoming events.
Clojure
mit
DrDoofenshmirtz/SimRunner,DrDoofenshmirtz/SimRunner
d93c9cf1d4b6f6c2929d308d0ce1c9c169d8ff64
clojure/profiles.clj
clojure/profiles.clj
;; https://github.com/technomancy/leiningen/blob/stable/doc/PROFILES.md {:user {:plugins [[cider/cider-nrepl "0.27.2"] [lein-ancient "1.0.0-RC3"] [lein-check-namespace-decls "1.0.4"] [lein-cljfmt "0.8.0"] [lein-nsorg "0.3.0"] [nrepl "0.9.0-beta3"] [refactor-nrepl "3.0.0-alpha13"]]} :dependencies ...
;; https://github.com/technomancy/leiningen/blob/stable/doc/PROFILES.md {:user {:plugins [[cider/cider-nrepl "0.27.4"] [lein-ancient "1.0.0-RC3"] [lein-check-namespace-decls "1.0.4"] [lein-cljfmt "0.8.0"] [lein-nsorg "0.3.0"] [nrepl "0.9.0"] [refactor-nrepl "3.1.0"]]} :dependencies [#_[alembic...
Update config for Clojure projects
Update config for Clojure projects
Clojure
mit
agilecreativity/dotfiles,agilecreativity/dotfiles,agilecreativity/dotfiles
ac0d459520d8da63a36b9f2842eebe95cc969e6f
test/cmr/common/test/cache.clj
test/cmr/common/test/cache.clj
(ns cmr.common.test.cache (:require [clojure.test :refer :all] [cmr.common.cache :as c])) (def counter (atom 0)) (defn increment-counter "Increments the counter atom and returns it" [] (swap! counter inc)) (deftest cache-test (testing "cache hit, miss and reset" (let [cache-atom (c/create-c...
(ns cmr.common.test.cache (:require [clojure.test :refer :all] [cmr.common.cache :as c])) (def counter (atom 0)) (defn increment-counter "Increments the counter atom and returns it" [] (swap! counter inc)) (deftest cache-test (testing "cache hit, miss and reset" (let [cache-atom (c/create-c...
Reset counter so the test can be run multiple times in repl.
Reset counter so the test can be run multiple times in repl.
Clojure
apache-2.0
nasa/Common-Metadata-Repository,mschmele/Common-Metadata-Repository,mschmele/Common-Metadata-Repository,nasa/Common-Metadata-Repository,mschmele/Common-Metadata-Repository,nasa/Common-Metadata-Repository,nasa/Common-Metadata-Repository,mschmele/Common-Metadata-Repository,nasa/Common-Metadata-Repository,nasa/Common-Meta...
fa9965aceefd76f5c0f7c9249330a9f259b8bc68
pro.juxt.edge.doc-site/src/pro/juxt/edge/doc_site.clj
pro.juxt.edge.doc-site/src/pro/juxt/edge/doc_site.clj
(ns pro.juxt.edge.doc-site (:require [integrant.core :as ig] [clojure.java.io :as io] [edge.asciidoctor :refer [load-doc]] [yada.yada :as yada])) (defn routes [engine] [["" (merge (yada/redirect ::doc-resource {:route-params {:name "index"}}) {:id ::doc-index})] [[:name ".html"...
(ns pro.juxt.edge.doc-site (:require [integrant.core :as ig] [clojure.java.io :as io] [edge.asciidoctor :refer [load-doc]] [yada.yada :as yada])) (defn routes [engine] [["" (merge (yada/redirect ::doc-resource {:route-params {:name "index"}}) {:id ::doc-index})] [[;; regex deri...
Add support for nested directories to doc-site
Add support for nested directories to doc-site
Clojure
mit
juxt/edge,juxt/edge
c55abeeb9a932ddecde408c20b5d52d720180953
src/klangmeister/processing.cljs
src/klangmeister/processing.cljs
(ns klangmeister.processing (:require [klangmeister.eval :as eval] [klangmeister.music :as music] [klangmeister.instruments :as instrument] [klangmeister.actions :as action] [klangmeister.framework :as framework] [cljs.js :as cljs])) (extend-protocol framework/Action action/Refresh (proce...
(ns klangmeister.processing (:require [klangmeister.eval :as eval] [klangmeister.music :as music] [klangmeister.instruments :as instrument] [klangmeister.actions :as action] [klangmeister.framework :as framework] [cljs.js :as cljs])) (extend-protocol framework/Action action/Refresh (proce...
Adjust duration calculation for polyphony.
Adjust duration calculation for polyphony.
Clojure
mit
ctford/cljs-bach,ctford/cljs-bach
612afe7352724ad4bad7eff5a91c9f189d577538
src/onyx/peer/log_version.cljc
src/onyx/peer/log_version.cljc
(ns onyx.peer.log-version) (def version "0.10.0-SNAPSHOT") (defn check-compatible-log-versions! [cluster-version] (when-not (or (re-find #"-SNAPSHOT" version) (= version cluster-version)) (throw (ex-info "Incompatible versions of the Onyx cluster coordination log. A new, di...
(ns onyx.peer.log-version) (def version "0.10.0-SNAPSHOT") (defn check-compatible-log-versions! [cluster-version] (when-not (or (re-find #"-" version) (= version cluster-version)) (throw (ex-info "Incompatible versions of the Onyx cluster coordination log. A new, distinct, ...
Revert "Make alpha/beta/etc versions incompatible with each other."
Revert "Make alpha/beta/etc versions incompatible with each other." This reverts commit ae9cd69e738069965b2a97784bb7b7fd833be8b6.
Clojure
epl-1.0
onyx-platform/onyx
0635d17d1aec0af212f43eb5aa91aa5663769b8e
project/scrape-summitpost-data/test/scrape_summitpost_data/extract_result_links_test.clj
project/scrape-summitpost-data/test/scrape_summitpost_data/extract_result_links_test.clj
(ns scrape-summitpost-data.extract-result-links-test (:require [clojure.string :as string] [clojure.test :refer [deftest is]] [scrape-summitpost-data.extract-result-links :as test-ns])) (defn- make-test-page [url] (let [template "<table class='srch_results'> <tbody> ...
(ns scrape-summitpost-data.extract-result-links-test (:require [clojure.string :as string] [clojure.test :refer [deftest is]] [scrape-summitpost-data.extract-result-links :as test-ns])) (defn- make-test-page [urls] (let [header "<table class='srch_results'> <tbody>" ...
Improve make-test-page to allow multiple urls and add multiple url test for extract-result-links.
Improve make-test-page to allow multiple urls and add multiple url test for extract-result-links.
Clojure
mit
dylanfprice/stanfordml,dylanfprice/stanfordml
ee87e79223a4fef7f4c06ac57709e37b2f5e4933
src/kanban/components/boards_menu.cljs
src/kanban/components/boards_menu.cljs
(ns kanban.components.boards-menu (:require [goog.object :as gobj] [om.next :as om :refer-macros [defui]] [om.dom :as dom])) (defui BoardMenuItem static om/Ident (ident [this props] [:board/by-id (:id props)]) static om/IQuery (query [this] [:id :name]) Object (render [thi...
(ns kanban.components.boards-menu (:require [goog.object :as gobj] [om.next :as om :refer-macros [defui]] [om.dom :as dom])) (defui BoardMenuItem static om/Ident (ident [this props] [:board/by-id (:id props)]) static om/IQuery (query [this] [:id :name]) Object (render [thi...
Add a triangle symbol to the board menu to make its purpose obvious
Add a triangle symbol to the board menu to make its purpose obvious
Clojure
agpl-3.0
Jannis/om-next-kanban-demo,Jannis/om-next-kanban-demo
027d4ba159b1b849eb326178e592656e363c655d
project.clj
project.clj
(defproject exegesis "0.2.0-SNAPSHOT" :description "Simplify reflection of annotations on Java types." :url "http://github.com/tobyclemson/exegesis" :license {:name "The MIT License" :url "https://opensource.org/licenses/MIT"} :dependencies [[org.clojure/clojure "1.8.0"]] :source-paths ["src/cloj...
(defproject exegesis "0.2.0-SNAPSHOT" :description "Simplify reflection of annotations on Java types." :url "http://github.com/tobyclemson/exegesis" :license {:name "The MIT License" :url "https://opensource.org/licenses/MIT"} :dependencies [[org.clojure/clojure "1.8.0"]] :source-paths ["src/cloj...
Use GPG lookup for clojars credentials.
Use GPG lookup for clojars credentials.
Clojure
mit
tobyclemson/exegesis
57aaa382fa2fba535e136087c7c2c85e6eac171a
project.clj
project.clj
(defproject lein-xjc "0.1.0-SNAPSHOT" :description "Call xjc from leiningen." :url "http://lein-xjc.ferdinandhofherr.de" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :eval-in-leiningen true)
(defproject lein-xjc "0.1.0-SNAPSHOT" :description "Call xjc from leiningen." :url "http://lein-xjc.ferdinandhofherr.de" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :eval-in-leiningen true :profiles {:dev {:source-paths ["dev"] :dep...
Add dependency to cljito and mockito.
Add dependency to cljito and mockito.
Clojure
epl-1.0
fhofherr/lein-xjc
271b5d83f3634813182a6a546aaebf804bb257f4
project.clj
project.clj
(defproject onyx-app/lein-template "0.10.0.0-beta4" :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
c5e960dab44046b563041487ef3efd9a927fb573
project.clj
project.clj
(defproject inet.data "0.5.0-SNAPSHOT" :description "Represent and manipulate various Internet entities as data." :url "http://github.com/llasram/inet.data" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.4.0"] ...
(defproject inet.data "0.5.0-SNAPSHOT" :description "Represent and manipulate various Internet entities as data." :url "http://github.com/llasram/inet.data" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.4.0"] ...
Update :prep-tasks for most recent lein.
Update :prep-tasks for most recent lein.
Clojure
epl-1.0
damballa/inet.data,damballa/inet.data
ab119ddf2bd3d4d861255e3b65705b3f1448f36d
project.clj
project.clj
(defproject onyx-app/lein-template "0.8.11.9" :description "Onyx Leiningen application template" :url "https://github.com/onyx-platform/onyx-template" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :repositories {"snapshots" {:url "https://clojars.org/repo...
(defproject onyx-app/lein-template "0.8.11.10-SNAPSHOT" :description "Onyx Leiningen application template" :url "https://github.com/onyx-platform/onyx-template" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :repositories {"snapshots" {:url "https://clojar...
Prepare for next release cycle.
Prepare for next release cycle.
Clojure
mit
onyx-platform/onyx-template
5e2a6887fab4a414322d87cdf87aa8cf855f3eaf
project.clj
project.clj
(defproject com.hypirion/bencode "0.1.0-SNAPSHOT" :description "Java implementation Bencode." :url "https://github.com/hyPiRion/java-bencode" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [] :source-paths [] :java-source-paths ["src"] ...
(defproject com.hypirion/bencode "0.1.0-SNAPSHOT" :description "Java implementation of Bencode." :url "https://github.com/hyPiRion/java-bencode" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :deploy-repositories [["releases" :clojars]] :dependencies [] ...
Use Clojars as default deploy repository
Use Clojars as default deploy repository
Clojure
epl-1.0
hyPiRion/java-bencode
162119079f52dbacfee6f7c5e8db524d7b14c90a
project.clj
project.clj
(defproject sqls "0.1.0-SNAPSHOT" :description "SQLS" :url "https://github.com/mpietrzak/sqls" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [ [org.clojure/clojure "1.6.0"] [org.clojure/data.json "0.2.4"] ...
(defproject sqls "0.1.0-SNAPSHOT" :description "SQLS" :url "https://github.com/mpietrzak/sqls" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [ [org.clojure/clojure "1.6.0"] [org.clojure/data.json "0.2.5"] ...
Update dependencies and move gc logging options to dev profile
Update dependencies and move gc logging options to dev profile
Clojure
epl-1.0
mpietrzak/sqls,sqls/sqls
f7721ccc7c1a9f9ccb4bd941a4b0f04c0d295fea
src/scavenger/core.clj
src/scavenger/core.clj
(ns scavenger.core (:require [compojure.core :refer :all] [compojure.route :as route] [ring.middleware.defaults :refer [wrap-defaults site-defaults]] [ring.util.response :refer [header content-type response resource-response]]) (:use [datomic.api :only [db q] :as d])) (def uri "...
(ns scavenger.core (:require [compojure.core :refer :all] [compojure.route :as route] [ring.middleware.defaults :refer [wrap-defaults site-defaults]] [ring.util.response :refer [header content-type response resource-response]]) (:use [datomic.api :only [db q] :as d])) (def uri "...
Add helper for generating a server response
Add helper for generating a server response Add a helper for generating a server response with the correct Content-Type and a reasonable status code.
Clojure
epl-1.0
fdanielsen/scavenger
262d03395004ac42134fbdd9d39473231ce9e34b
src/silly_image_store/store.clj
src/silly_image_store/store.clj
(ns silly-image-store.store (:require [clojure.java.io :as io])) (def exists? #(and % (.exists %))) (def file? #(.isFile %)) (def filename #(.getName %)) (defn load-image [& paths] (let [file (apply io/file paths)] (if (exists? file) file nil))) (defn list-images [& paths] (let [image-directory (apply loa...
(ns silly-image-store.store (:require [clojure.java.io :as io])) (def exists? #(and % (.exists %))) (def file? #(.isFile %)) (def filename #(.getName %)) (defn load-image [& paths] (let [file (apply io/file paths)] (if (exists? file) file))) (defn list-images [& paths] (let [image-directory (apply load-im...
Remove nils as it's redundnnat
Remove nils as it's redundnnat
Clojure
epl-1.0
phss/silly-image-store
e0c9fc518c250dfe12f11edc1689f271e0009538
lein/.lein/profiles.clj
lein/.lein/profiles.clj
{:user { :plugins [[cider/cider-nrepl "0.11.0-SNAPSHOT"] [jonase/eastwood "0.2.3"] [lein-kibit "0.1.2"] [lein-typed "0.3.5"] ] :dependencies [[org.clojure/clojure "1.8.0"] [com.datomic/datomic-free "0.9.5350"]...
{:user { :plugins [[cider/cider-nrepl "0.11.0"] [jonase/eastwood "0.2.3"] [lein-kibit "0.1.2"] [lein-typed "0.3.5"] ] :dependencies [[org.clojure/clojure "1.8.0"] [datomic-schema-grapher "0.0.1"] ...
Add clj-stacktrace to global lein deps.
Add clj-stacktrace to global lein deps.
Clojure
bsd-2-clause
mgrbyte/dot-files,mgrbyte/dot-files,mgrbyte/dot-files
a2ca1ffb3b7750622e4a6b0211c1c44a4a87a7b0
test/transit/corner_cases.clj
test/transit/corner_cases.clj
(ns transit.corner-cases) (def forms [nil true false :a :foo 'f 'foo (java.util.Date.) 1/3 \t "f" "foo" "~foo" [] '() #{} [1 24 3] `(7 23 5) {:foo :bar} #{:a :b :c} #{true false} 0 42 8987676543234565432178765987645654323456554331234566789 {fals...
(ns transit.corner-cases) (def forms [nil true false :a :foo 'f 'foo (java.util.Date.) 1/3 \t "f" "foo" "~foo" [] '() #{} [1 24 3] `(7 23 5) {:foo :bar} #{:a :b :c} #{true false} 0 42 8987676543234565432178765987645654323456554331234566789 {fals...
Add another interesting transit example
Add another interesting transit example
Clojure
apache-2.0
alexanderkiel/transit-clj,borovsky/transit-clj,cognitect/transit-clj,jdunruh/transit-clj
8f0336548029f1025a1b785f89b69881a12c483d
src/cmr/search/services/xslt.clj
src/cmr/search/services/xslt.clj
(ns cmr.search.services.xslt "Provides functions for invoking xsl on metadata." (:require [clojure.java.io :as io] [cmr.common.cache :as cache]) (:import javax.xml.transform.TransformerFactory java.io.StringReader java.io.StringWriter javax.xml.transform.stream.StreamS...
(ns cmr.search.services.xslt "Provides functions for invoking xsl on metadata." (:require [clojure.java.io :as io] [cmr.common.cache :as cache]) (:import javax.xml.transform.TransformerFactory java.io.StringReader java.io.StringWriter javax.xml.transform.stream.StreamS...
Fix concurrency issue when processing XSLT. Saxon XSLT transformers are not thread safe.
Fix concurrency issue when processing XSLT. Saxon XSLT transformers are not thread safe.
Clojure
apache-2.0
nasa/Common-Metadata-Repository,mschmele/Common-Metadata-Repository,nasa/Common-Metadata-Repository,nasa/Common-Metadata-Repository,nasa/Common-Metadata-Repository,nasa/Common-Metadata-Repository,mschmele/Common-Metadata-Repository,nasa/Common-Metadata-Repository,mschmele/Common-Metadata-Repository,mschmele/Common-Meta...
42ccefb60484acaf0df0b1601f1788e9f838091e
test/icecap/store/mem_test.clj
test/icecap/store/mem_test.clj
(ns icecap.store.mem-test (:require [caesium.crypto.util :refer [array-eq]] [icecap.store.api :refer :all] [icecap.store.mem :refer :all] [icecap.store.test-props :refer [store-roundtrip-prop]] [clojure.test :refer :all] [clojure.core.async :as a :refer [<!!...
(ns icecap.store.mem-test (:require [caesium.crypto.util :refer [array-eq]] [icecap.store.api :refer :all] [icecap.store.mem :refer :all] [icecap.store.test-props :refer :all] [clojure.test :refer :all] [clojure.core.async :as a :refer [<!!]] [cl...
Add roundtrip test to mem-store
Add roundtrip test to mem-store
Clojure
epl-1.0
Hatnik/icecap,lvh/icecap
e6eb44898cbfafd28255ac5fa74223b971485360
src/cavm/jdbc.clj
src/cavm/jdbc.clj
(ns cavm.jdbc (:import [java.sql PreparedStatement]) (:require [clojure.java.jdbc :as jdbc])) (extend-protocol jdbc/ISQLParameter clojure.lang.PersistentVector (set-parameter [v ^PreparedStatement s ^long i] (.setObject s i (to-array v))))
(ns cavm.jdbc (:import [java.sql PreparedStatement]) (:require [clojure.java.jdbc :as jdbc])) (extend-protocol jdbc/ISQLParameter clojure.lang.Seqable (set-parameter [v ^PreparedStatement s ^long i] (.setObject s i (to-array v))))
Extend array params to all Seqable.
Extend array params to all Seqable.
Clojure
apache-2.0
acthp/ucsc-xena-server,ucscXena/ucsc-xena-server,acthp/ucsc-xena-server,ucscXena/ucsc-xena-server,ucscXena/ucsc-xena-server,acthp/ucsc-xena-server,acthp/ucsc-xena-server,ucscXena/ucsc-xena-server,ucscXena/ucsc-xena-server,acthp/ucsc-xena-server
67db35f182a3f176609580f7d7d6924370b903ae
test/berry/parsing/scan_literal_test.clj
test/berry/parsing/scan_literal_test.clj
(ns berry.parsing.scan-literal-test (:require [berry.parsing.context-handler :as context] [berry.parsing.scan-literal :refer :all] berry.parsing.token [clojure.test :refer :all]) (:import [berry.parsing.token Token Location])) (deftest scan-literal-test (testing "With a tr...
(ns berry.parsing.scan-literal-test (:require [berry.parsing.context-handler :as context] [berry.parsing.scan-literal :refer :all] berry.parsing.token [clojure.test :refer :all]) (:import [berry.parsing.token Token Location])) (deftest scan-literal-test (testing "When a tr...
Add unit tests for checking error conditions.
Add unit tests for checking error conditions.
Clojure
mit
alan-ghelardi/berry
9f0b09bbd05a5d5265e1271f40bbe6860e54d19b
src/cljs/wombats_web_client/components/countdown_timer.cljs
src/cljs/wombats_web_client/components/countdown_timer.cljs
(ns wombats-web-client.components.countdown-timer (:require [cljs-time.core :as t] [cljs-time.format :as f] [reagent.core :as reagent])) (defn- seconds-until [time] (t/in-seconds (t/interval (t/now) time))) (defn- format-time [time] (let [total-seconds (seconds-until time) s...
(ns wombats-web-client.components.countdown-timer (:require [cljs-time.core :as t] [cljs-time.format :as f] [reagent.core :as reagent])) (defn- seconds-until [time] (t/in-seconds (t/interval (t/now) time))) (defn- format-time [time] (let [total-seconds (seconds-until time) s...
Handle less than 0 seconds.
Handle less than 0 seconds.
Clojure
mit
willowtreeapps/wombats-web-client,willowtreeapps/wombats-web-client
7ae84e9fa269c8dd0196364c0cc8b81e6c3481c3
src/vip/data_processor/validation/v5/hours_open.clj
src/vip/data_processor/validation/v5/hours_open.clj
(ns vip.data-processor.validation.v5.hours-open (:require [vip.data-processor.validation.v5.util :as util])) (defn valid-time-with-zone? [time] (re-matches #"(?:(?:[01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]|(?:24:00:00))(?:Z|[+-](?:(?:0[0-9]|1[0-3]):[0-5][0-9]|14:00))" time)) (defn validate-times [{:keys [impo...
(ns vip.data-processor.validation.v5.hours-open (:require [vip.data-processor.validation.v5.util :as util])) (defn valid-time-with-zone? [time] (re-matches #"\A(?:(?:[01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]|(?:24:00:00))(?:Z|[+-](?:(?:0[0-9]|1[0-3]):[0-5][0-9]|14:00))\z" time)) (defn validate-times [{:keys [...
Add regex anchors to time format regex
Add regex anchors to time format regex So we will only match full strings, not substrings.
Clojure
bsd-3-clause
votinginfoproject/data-processor
857228a63cdb13ae44a26c326aaa4176d4886238
test/libx/core_test.clj
test/libx/core_test.clj
(ns libx.core-test (:require [clojure.test :refer [run-tests]] [libx.lang-test] [libx.deflogical-test] [libx.macros-test] [libx.tuple-rule-test] [libx.util-test] [libx.defaction-test] [libx.listeners-test])) (defn run...
(ns libx.core-test (:require [clojure.test :refer [run-tests]] [libx.lang-test] [libx.deflogical-test] [libx.macros-test] [libx.tuple-rule-test] [libx.util-test] [libx.defaction-test] [libx.listeners-test])) (defn run...
Fix missing quote in core-test
Fix missing quote in core-test
Clojure
mit
CoNarrative/precept,CoNarrative/precept
aed0a8047c0ad9cb075bef6c2f71c011fd9e98c2
ring-jetty-adapter/project.clj
ring-jetty-adapter/project.clj
(defproject ring/ring-jetty-adapter "1.7.0" :description "Ring Jetty adapter." :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.7.0"] [ring/ring-core "1....
(defproject ring/ring-jetty-adapter "1.7.0" :description "Ring Jetty adapter." :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.7.0"] [ring/ring-core "1....
Update Jetty dependency to 9.4.12.v20180830
Update Jetty dependency to 9.4.12.v20180830 Jetty 9.2 has reached End of Life. See the announcement: https://www.eclipse.org/lists/jetty-announce/msg00116.html Fixes #347.
Clojure
mit
ring-clojure/ring,ring-clojure/ring
280acd65a9b9115214ce1b8ac72f940a3e333b8a
project.clj
project.clj
(defproject onyx-app/lein-template "0.8.11.3" :description "Onyx Leiningen application template" :url "https://github.com/onyx-platform/onyx-template" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :repositories {"snapshots" {:url "https://clojars.org/repo...
(defproject onyx-app/lein-template "0.8.11.4-SNAPSHOT" :description "Onyx Leiningen application template" :url "https://github.com/onyx-platform/onyx-template" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :repositories {"snapshots" {:url "https://clojars...
Prepare for next release cycle.
Prepare for next release cycle.
Clojure
mit
onyx-platform/onyx-template
27054a6a7106831e78cbd3ffd6be417bc2348906
project.clj
project.clj
(defproject org.onyxplatform/onyx-metrics "0.8.1.1" :description "Instrument Onyx workflows" :url "https://github.com/MichaelDrogalis/onyx" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :repositories {"snapshots" {:url "https://clojars.org/repo" ...
(defproject org.onyxplatform/onyx-metrics "0.8.1.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" ...
Prepare for next release cycle.
Prepare for next release cycle.
Clojure
epl-1.0
onyx-platform/onyx-metrics
a6f0658dcd5d3058db4332279c00d8abd5b38f31
project.clj
project.clj
(defproject caesium "0.8.0-SNAPSHOT" :description "libsodium for clojure" :url "https://github.com/lvh/caesium" :deploy-repositories [["releases" :clojars] ["snapshots" :clojars]] :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :de...
(defproject caesium "0.8.0-SNAPSHOT" :description "libsodium for clojure" :url "https://github.com/lvh/caesium" :deploy-repositories [["releases" :clojars] ["snapshots" :clojars]] :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :de...
Add utility for running benchmarks
Add utility for running benchmarks
Clojure
epl-1.0
lvh/caesium
b9f0728859df9bcd9281dd0a075ed489447f7f9b
project.clj
project.clj
(defproject compojure "1.3.3" :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.5.1"] [org.clojure/tools....
(defproject compojure "1.3.3" :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.5.1"] [org.clojure/tools....
Update Medley dependency to 0.6.0
Update Medley dependency to 0.6.0
Clojure
epl-1.0
sidcarter/compojure,weavejester/compojure,ezy023/compojure,Christopher-Bui/compojure
b69cddd76f4199a47188fe10a02f74dd1458a57c
server/src/spira/core/system.clj
server/src/spira/core/system.clj
;; Copyright (C) 2013 Anders Sundman <anders@4zm.org> ;; ;; This program is free software: you can redistribute it and/or modify ;; it under the terms of the GNU Affero General Public License as published by ;; the Free Software Foundation, either version 3 of the License, or ;; (at your option) any later version. ;; ;...
;; Copyright (C) 2013 Anders Sundman <anders@4zm.org> ;; ;; This program is free software: you can redistribute it and/or modify ;; it under the terms of the GNU Affero General Public License as published by ;; the Free Software Foundation, either version 3 of the License, or ;; (at your option) any later version. ;; ;...
Use in memory datomic db by default
Use in memory datomic db by default
Clojure
agpl-3.0
4ZM/spira
f98c9d77ce62184b46d3547562e4705632057921
src/clojure/nightmod/manager.clj
src/clojure/nightmod/manager.clj
(ns nightmod.manager (:require [clojure.java.io :as io] [nightmod.utils :as u] [play-clj.core :refer :all]) (:import [com.badlogic.gdx.assets.loaders FileHandleResolver] [com.badlogic.gdx.files FileHandle])) ; make all assets load relative to the current project's directory (def ...
(ns nightmod.manager (:require [clojure.java.io :as io] [nightmod.utils :as u] [play-clj.core :refer :all]) (:import [com.badlogic.gdx.assets.loaders FileHandleResolver] [com.badlogic.gdx.files FileHandle])) ; make all assets load relative to the current project's directory (def ...
Bring back timer stopping code
Bring back timer stopping code
Clojure
unlicense
oakes/Nightmod
ae69a61f018bdfd79605c09272689271ee9ca52c
dev-with-docker/profiles.clj
dev-with-docker/profiles.clj
{:user { :aliases { "lint" ["do" ["cljfmt" "check"] "kibit"] "fix" ["do" ["cljfmt" "fix"] ["kibit" "--replace" "--interactive"]]} :plugins [ [lein-drip "0.1.1-SNAPSHOT"];; faster JVM [venantius/ultra "0.6.0" :exclusions [org.clojure...
{:user { :aliases { "lint" ["do" ["cljfmt" "check"] "kibit"] "fix" ["do" ["cljfmt" "fix"] ["kibit" "--replace" "--interactive"]]} :plugins [ [lein-drip "0.1.1-SNAPSHOT"];; faster JVM ;; Ultra is awesome, but v0.6.0 has issues with J...
Comment out ultra until it is fixed
fix: Comment out ultra until it is fixed
Clojure
mit
jhwohlgemuth/techtonic-env,jhwohlgemuth/techtonic-env,jhwohlgemuth/techtonic-datastore,jhwohlgemuth/techtonic-datastore
74f3060311a0223fdce114430a41606341c010d7
project.clj
project.clj
(defproject io.aviso/twixt "0.1.0" :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.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"] ...
Advance version number to 0.1.1
Advance version number to 0.1.1
Clojure
apache-2.0
AvisoNovate/twixt,AvisoNovate/twixt,clyfe/twixt,AvisoNovate/twixt,clyfe/twixt,clyfe/twixt
e002585c51f8a495089d382093e467d3e100bc37
project.clj
project.clj
(defproject deraen/less4clj "0.3.4-SNAPSHOT" :description "Wrapper for Less4j" :url "https://github.com/deraen/less4clj" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html" :distribution :repo :comments "same as Clojure"} :dependencies [[...
(defproject deraen/less4clj "0.3.4-SNAPSHOT" :description "Wrapper for Less4j" :url "https://github.com/deraen/less4clj" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html" :distribution :repo :comments "same as Clojure"} :dependencies [[...
Add note about slf4j implementation
Add note about slf4j implementation
Clojure
epl-1.0
Deraen/less4clj
cf89cce6bab1f5a585e561e364a8dd9313f37436
project.clj
project.clj
(defproject cats "0.5.0-SNAPSHOT" :description "Category Theory abstractions for Clojure" :url "https://github.com/funcool/cats" :license {:name "BSD (2 Clause)" :url "http://opensource.org/licenses/BSD-2-Clause"} :dependencies [] :deploy-repositories {"releases" :clojars "...
(defproject cats "0.5.0-SNAPSHOT" :description "Category Theory abstractions for Clojure" :url "https://github.com/funcool/cats" :license {:name "BSD (2 Clause)" :url "http://opensource.org/licenses/BSD-2-Clause"} :dependencies [] :deploy-repositories {"releases" :clojars "...
Update cljsbuild version that properly supports cljc files.
Update cljsbuild version that properly supports cljc files.
Clojure
bsd-2-clause
tcsavage/cats,OlegTheCat/cats,yurrriq/cats,funcool/cats,mccraigmccraig/cats,alesguzik/cats
b8f480231c4fd503decd6600e9088a86bf3d4b83
project.clj
project.clj
(defproject mars-ogler "1.0.1-SNAPSHOT" :description "Holy cow, it's Mars!" :url "http://github.com/aperiodic/mars-ogler" :license {:name "GNU Affero GPL" :url "http://www.gnu.org/licenses/agpl"} :dependencies [[org.clojure/clojure "1.4.0"] [org.clojure/tools.cli "0.2.2"] ...
(defproject mars-ogler "1.0.1-SNAPSHOT" :description "Holy cow, it's Mars!" :url "http://github.com/aperiodic/mars-ogler" :license {:name "GNU Affero GPL" :url "http://www.gnu.org/licenses/agpl"} :dependencies [[org.clojure/clojure "1.4.0"] [org.clojure/tools.cli "0.2.2"] ...
Add some GC tuning flags
Add some GC tuning flags
Clojure
agpl-3.0
aperiodic/mars-ogler
52cda48990b27dec2dfa8b2e175e4e2ebcb46ed9
project.clj
project.clj
(defproject org.onyxplatform/onyx-datomic "0.10.0.0-beta5" :description "Onyx plugin for Datomic" :url "https://github.com/onyx-platform/onyx-datomic" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :repositories {"snapshots" {:url "https://clojars.org/repo...
(defproject org.onyxplatform/onyx-datomic "0.10.0.0-SNAPSHOT" :description "Onyx plugin for Datomic" :url "https://github.com/onyx-platform/onyx-datomic" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :repositories {"snapshots" {:url "https://clojars.org/r...
Prepare for next release cycle.
Prepare for next release cycle.
Clojure
epl-1.0
onyx-platform/onyx-datomic
3d25a7b6001a1992e22aba93f70a139fa56459be
project.clj
project.clj
(defproject mdr2 "0.1.0-SNAPSHOT" :description "FIXME: write description" :url "http://example.com/FIXME" :dependencies [[org.clojure/clojure "1.6.0"] [hiccup "1.0.5"] [compojure "1.1.6"] [com.gfredericks/java.jdbc "0.2.3-p3"] [org.xerial/sqlite-...
(defproject mdr2 "0.1.0-SNAPSHOT" :description "FIXME: write description" :url "http://example.com/FIXME" :dependencies [[org.clojure/clojure "1.6.0"] [hiccup "1.0.5"] [compojure "1.1.6"] [com.gfredericks/java.jdbc "0.2.3-p3"] [org.xerial/sqlite-...
Make sure immutant serves this at the root context
Make sure immutant serves this at the root context
Clojure
agpl-3.0
sbsdev/mdr2
f2821ff1d4fefef406dc390f23fde6ca24db86cf
project.clj
project.clj
(defproject hu.ssh/github-changelog "0.1.0-SNAPSHOT" :description "GitHub changelog" :url "https://github.com/raszi/github-changelog" :main hu.ssh.github-changelog.cli :repl-options {:init-ns user} :license {:name "MIT" :url "http://choosealicense.com/licenses/mit/"} :dependencies [[org.clojure/...
(defproject hu.ssh/github-changelog "0.1.0-SNAPSHOT" :description "GitHub changelog" :url "https://github.com/raszi/github-changelog" :main hu.ssh.github-changelog.cli :repl-options {:init-ns user} :license {:name "MIT" :url "http://choosealicense.com/licenses/mit/"} :dependencies [[org.clojure/...
Move test.check dependency to development profile
Move test.check dependency to development profile
Clojure
mit
whitepages/github-changelog
b2d8d1d8328f432a0759f94322a27552210bd4e2
project.clj
project.clj
(defproject onyx-app/lein-template "0.9.12.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.9.12.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
f5d297d43df55c2018b84d8cc011441c81fa9d62
project.clj
project.clj
(defproject onyx-app/lein-template "0.12.5.0" :description "Onyx Leiningen application template" :url "https://github.com/onyx-platform/onyx-template" :license {:name "MIT License" :url "http://choosealicense.com/licenses/mit/#"} :repositories {"snapshots" {:url "https://clojars.org/repo" ...
(defproject onyx-app/lein-template "0.12.5.1-SNAPSHOT" :description "Onyx Leiningen application template" :url "https://github.com/onyx-platform/onyx-template" :license {:name "MIT License" :url "http://choosealicense.com/licenses/mit/#"} :repositories {"snapshots" {:url "https://clojars.org/repo" ...
Prepare for next release cycle.
Prepare for next release cycle.
Clojure
mit
onyx-platform/onyx-template
f2830514501ec9d0ef76c23734e14a40625c7d9d
src/yaml/writer.clj
src/yaml/writer.clj
(ns yaml.writer (:import (org.yaml.snakeyaml Yaml DumperOptions DumperOptions$FlowStyle))) (def flow-styles {:auto DumperOptions$FlowStyle/AUTO :block DumperOptions$FlowStyle/BLOCK :flow DumperOptions$FlowStyle/FLOW}) (defn- make-dumper-options [& {:keys [flow-style]}] (doto (DumperOptions.) (.setDef...
(ns yaml.writer (:import (org.yaml.snakeyaml Yaml DumperOptions DumperOptions$FlowStyle))) (def flow-styles {:auto DumperOptions$FlowStyle/AUTO :block DumperOptions$FlowStyle/BLOCK :flow DumperOptions$FlowStyle/FLOW}) (defn- make-dumper-options [& {:keys [flow-style]}] (doto (DumperOptions.) (.setDef...
Add support for writing sorted-map
Add support for writing sorted-map
Clojure
mit
owainlewis/yaml
f79e94d637e8d9bf8ad554a488a970339919eb77
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}}}} ...
Watch when running audio project
Watch when running audio project
Clojure
unlicense
oakes/Nightcode,oakes/Nightcode
7a2c4f4cc24d53a6b0ac472594d71007f4d05aba
.lein/profiles.clj
.lein/profiles.clj
{: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"] ...
{:user {:dependencies [[clj-stacktrace "0.2.5"] [org.clojure/tools.trace "0.7.5"] [org.clojure/tools.namespace "0.2.3"] [redl "0.1.0"] [spyscope "0.1.3"] [slamhound "1.3.3"]] :plugins [[lein-diffte...
Add clojure.tools.namespace to user deps.
Add clojure.tools.namespace to user deps.
Clojure
unlicense
RyanMcG/dotfiles,RyanMcG/dotfiles,RyanMcG/dotfiles,RyanMcG/dotfiles,RyanMcG/dotfiles,RyanMcG/dotfiles,RyanMcG/dotfiles
a0573e488d2962dd4f64a4ddd9ab5a92ce397508
src/bogo_clojure/bg_websocket.clj
src/bogo_clojure/bg_websocket.clj
(ns bogo-clojure.bg-websocket (:gen-class) (:require [bogo-clojure.core :as bogo] [clojure.string :as string]) (:use org.httpkit.server)) (defn process! [channel data] (let [[old-string key] (string/split-lines data) new-string (bogo/process-key old-string key)] (println old-string k...
(ns bogo-clojure.bg-websocket (:gen-class) (:require [bogo-clojure.core :as bogo] [bogo-clojure.bg-typemode :refer :all] [clojure.string :as string]) (:use org.httpkit.server)) (def typemode (atom TELEX)) (defn process! [channel data] (let [[old-string key] (string/split-lines data) ...
Enable typemode selection through main program arguments
Enable typemode selection through main program arguments
Clojure
epl-1.0
fuzzysource/bogo-clojure
d090fd058c4e6937f35ff48c4f4ec5aa7ae7e034
src/main/cawala/api/mutations.clj
src/main/cawala/api/mutations.clj
(ns cawala.api.mutations (:require [taoensso.timbre :as timbre] [com.wsscode.pathom.core :as p] [com.wsscode.pathom.connect :as pc] [cawala.api.read :as r] [fulcro.server :refer [defmutation]])) ;; Place your server mutations here #_(defmutation delete-person "Server Mutation: Handles deleting a per...
(ns cawala.api.mutations (:require [taoensso.timbre :as timbre] [com.wsscode.pathom.core :as p] [com.wsscode.pathom.connect :as pc] [cawala.api.read :as r] #_[fulcro.server :refer [defmutation]])) ;; Place your server mutations here #_(defmutation delete-person "Server Mutation: Handles deleting a p...
Make sure to use the correct defmutation
Make sure to use the correct defmutation
Clojure
epl-1.0
paulrd/cawala,paulrd/cawala
6308f007112ff906d7ae8b1d4822bb58bfa69816
src/incise/watcher.clj
src/incise/watcher.clj
(ns incise.watcher (:require [watchtower.core :refer [watcher rate file-filter extensions on-change]])) (defn watch [change-fn] (watcher ["resources/posts/" "resources/pages/"] (rate 300) (on-change change-fn))) (def watching nil) (defn start-watching ...
(ns incise.watcher (:require [watchtower.core :refer [watcher rate file-filter extensions on-change]])) (defn log-exceptions [func & args] "Log (i.e. print) exceptions received from the given function." (try (apply func args) (catch Exception e (println (.getMes...
Add log-exceptions wrapper to watch.
Add log-exceptions wrapper to watch.
Clojure
epl-1.0
RyanMcG/incise-core
a37635d19bb7eb21f3acbe79865bc6570d7ae959
src/test/cljc/mikron/runtime/core_test2.cljc
src/test/cljc/mikron/runtime/core_test2.cljc
(ns mikron.runtime.core-test2 "Property based testing namespace." (:require [clojure.test :as test] [clojure.test.check.clojure-test :as tc.test #?@(:cljs [:include-macros true])] [clojure.test.check.properties :as tc.prop #?@(:cljs [:include-macros true])] [clojure.test.check.ge...
(ns mikron.runtime.core-test2 "Property based testing namespace." (:require [clojure.test :as test] [clojure.test.check.clojure-test :as tc.test #?@(:cljs [:include-macros true])] [clojure.test.check.properties :as tc.prop #?@(:cljs [:include-macros true])] [clojure.test.check.ge...
Load cljs.js and cljs.env before macrowbar is loaded (also - Trigger travis build)
Load cljs.js and cljs.env before macrowbar is loaded (also - Trigger travis build)
Clojure
epl-1.0
moxaj/mikron,moxaj/mikron
3643c921f02f65d16f075a834924872eee20a8a0
src/route_ccrs/active_routes.clj
src/route_ccrs/active_routes.clj
(ns route-ccrs.active-routes (:require [clojure.java.jdbc :as jdbc] [yesql.core :refer [defquery]])) (defquery active-routes "route_ccrs/sql/active_routes.sql") (defn route-id [r] (select-keys r [:contract :part_no :bom_type_db :routing_revision_no...
(ns route-ccrs.active-routes (:require [clojure.java.jdbc :as jdbc] [yesql.core :refer [defquery]])) (defquery active-routes "route_ccrs/sql/active_routes.sql") (defn route-id [r] (select-keys r [:contract :part_no :lowest_level :bom_type_db ...
Include low level number in route ID
Include low level number in route ID
Clojure
epl-1.0
lymingtonprecision/route-ccrs,lymingtonprecision/route-ccrs
154895d364def2524c03238b26f5e99a82f10635
src/main/resources/sandbox-init.clj
src/main/resources/sandbox-init.clj
(do (clojure.core/use '[clojure.core]) (require '[clojure.string :as str]) (require '[clojure.pprint :as pp]) (require '[clojure.math.numeric-tower :as math]) ) (let [ res (->> "%s" str/split-lines (map (fn [x] (str " \"" (str/replace x "=" "\": \"") \"))) (str...
(do ;; Imports and aliases (clojure.core/use '[clojure.core]) (require '[clojure.string :as str]) (require '[clojure.pprint :as pp]) (require '[clojure.math.numeric-tower :as math]) ;; Convenience functions (defn codeblock [s & { type :type }] (str "```" type "\n" s "\n```")) )
Add global codeblock function for convenience
Add global codeblock function for convenience
Clojure
mit
jaredlll08/MCBot
250101a2c7c566f1921ff7f06bef85ca90a1c2f8
src/braid/search/ui/search_page_styles.cljs
src/braid/search/ui/search_page_styles.cljs
(ns braid.search.ui.search-page-styles (:require [garden.units :refer [rem em px]] [braid.core.client.ui.styles.mixins :as mixins] [braid.core.client.ui.styles.vars :as vars])) (def avatar-size (rem 4)) (def card-style [:>.card {:margin-bottom "50%" :max-width (rem 25)} [:>.header {:ove...
(ns braid.search.ui.search-page-styles) (def >search-page [:>.page.search])
Remove unnecessary search page styles
Remove unnecessary search page styles
Clojure
agpl-3.0
braidchat/braid,rafd/braid,rafd/braid,braidchat/braid
6e2a2ca1b3f82072e065692d2a4ba2168a4d8c52
src/status_im/ui/components/text_input/view.cljs
src/status_im/ui/components/text_input/view.cljs
(ns status-im.ui.components.text-input.view (:require [status-im.ui.components.react :as react] [status-im.ui.components.text-input.styles :as styles] [status-im.ui.components.colors :as colors] [status-im.utils.platform :as platform] [status-im.ui.components.tooltip.vi...
(ns status-im.ui.components.text-input.view (:require [status-im.ui.components.react :as react] [status-im.ui.components.text-input.styles :as styles] [status-im.ui.components.colors :as colors] [status-im.utils.platform :as platform] [status-im.ui.components.tooltip.vi...
Add comment describing the rationale for the workaround
Add comment describing the rationale for the workaround
Clojure
mpl-2.0
status-im/status-react,status-im/status-react,status-im/status-react,status-im/status-react,status-im/status-react,status-im/status-react,status-im/status-react,status-im/status-react
11f89275f3dc26bb90faa7c9310607b6284ae582
src/caesium/crypto/generichash.clj
src/caesium/crypto/generichash.clj
(ns caesium.crypto.generichash (:import (org.abstractj.kalium.crypto Hash))) (def ^:private sixteen-nuls (byte-array 16)) (defn blake2b "Computes the BLAKE2b digest of the given message, with optional salt, key and personalization parameters." ([message] (.blake2 (new Hash) message)) ([message & {salt ...
(ns caesium.crypto.generichash (:import (org.abstractj.kalium.crypto Hash))) (def ^:private empty-byte-array (byte-array 0)) (def ^:private sixteen-nuls (byte-array 16)) (defn blake2b "Computes the BLAKE2b digest of the given message, with optional salt, key and personalization parameters." ([message] (....
Make the empty byte array a constant too
Make the empty byte array a constant too
Clojure
epl-1.0
lvh/caesium
76221f2d4876ad06b9a0f505cb3a6f7b956e2ac4
dev/user.clj
dev/user.clj
(ns user (:require [uswitch.bifrost.system :refer (make-system)] [clojure.tools.logging :refer (error)] [clojure.tools.namespace.repl :refer (refresh)] [com.stuartsierra.component :as component])) (def system nil) (defn init [] (alter-var-root #'system (consta...
(ns user (:require [clojure.tools.logging :refer (error)] [clojure.tools.namespace.repl :refer (refresh)] [com.stuartsierra.component :as component])) (def system nil) (defn init [] ;; We do some gymnastics here to make sure that the REPL can always start ;; even in the presence of compi...
Apply 'can always start the repl pattern'.
Apply 'can always start the repl pattern'. Actually this can still fail in the presence of aot'd files. have you tried lein clean?
Clojure
epl-1.0
MastodonC/bifrost
3d9d37446447df858bffee69a2fe576947669513
clojure/lein.symlink/profiles.clj
clojure/lein.symlink/profiles.clj
{:user {:dependencies [[clj-stacktrace "0.2.7"] [im.chit/vinyasa "0.1.0"] [io.aviso/pretty "0.1.8"] [org.clojure/tools.namespace "0.2.4"] [slamhound "1.3.1"] [spyscope "0.1.4"] [crit...
{:user {:dependencies [[clj-stacktrace "0.2.7"] [org.clojure/tools.namespace "0.2.4"] [slamhound "1.3.1"] [spyscope "0.1.4"] [criterium "0.4.2"]] :plugins [[codox "0.6.6"] [jonase/eastwood "0.0.2"] ...
Remove a load of hacky Clojure injections
Remove a load of hacky Clojure injections
Clojure
mit
jcf/ansible-dotfiles,jcf/ansible-dotfiles,jcf/ansible-dotfiles,jcf/ansible-dotfiles,jcf/ansible-dotfiles
f2717f681e545380f33f6206fa2eb957f118c522
src/vip/data_processor/validation/v5/retention_contest.clj
src/vip/data_processor/validation/v5/retention_contest.clj
(ns vip.data-processor.validation.v5.retention-contest (:require [korma.core :as korma] [vip.data-processor.db.postgres :as postgres] [vip.data-processor.validation.v5.util :as util])) (def validate-no-missing-candidate-ids (util/build-xml-tree-value-query-validator :errors :retention-co...
(ns vip.data-processor.validation.v5.retention-contest (:require [vip.data-processor.validation.v5.util :as util])) (def validate-no-missing-candidate-ids (util/build-xml-tree-value-query-validator :errors :retention-contests :missing :missing-candidate-id "SELECT xtv.path FROM (SELECT DISTINCT subltree(...
Remove unneeded requires in RetentionContest validator
Remove unneeded requires in RetentionContest validator
Clojure
bsd-3-clause
votinginfoproject/data-processor
408adccabfe97d59b4f665b14fa18fdf59c367c3
src/braid/ui/styles/body.cljs
src/braid/ui/styles/body.cljs
(ns braid.ui.styles.body) (def body [:body {:margin 0 :padding 0 :font-family "Open Sans, Helvetica, Arial, sans-serif" :font-size "12px" :background "#eee"}])
(ns braid.ui.styles.body) (def body [:body {:margin 0 :padding 0 :font-family "\"Open Sans\", Helvetica, Arial, sans-serif" :font-size "12px" :background "#eee"}])
Add quotes to Open Sans
Add quotes to Open Sans
Clojure
agpl-3.0
rafd/braid,braidchat/braid,braidchat/braid,rafd/braid
483a0ae992a8ee612a6094654b4c2c8627a87471
clojure/src/euler/001.clj
clojure/src/euler/001.clj
; https://projecteuler.net/problem=1 (ns euler.001 (require [clojure.set :refer :all] [clojure.test :refer [is]])) (defn multiple-of-n? [n, num] (zero? (mod num n))) (defn multiple-of-3-or-5? [n] (or (multiple-of-n? 3 n) (multiple-of-n? 5 n))) ; Produce the entire range of numbers and then fi...
; https://projecteuler.net/problem=1 (ns euler.001 (require [clojure.set :refer :all] [clojure.test :refer [is]])) (defn multiple-of-n? [n, num] (zero? (mod num n))) (defn multiple-of-3-or-5? [n] (or (multiple-of-n? 3 n) (multiple-of-n? 5 n))) ; Produce the entire range of numbers and then fi...
Remove inline tests in favor of dedicated test files
Remove inline tests in favor of dedicated test files
Clojure
mit
ndhoule/project-euler
56ef1ab22c89e6d6ae0f241988768ab70d761bdb
frontend/src/cruncher/config.cljs
frontend/src/cruncher/config.cljs
(ns cruncher.config) (def api {:host "http://localhost:5000/" :init "api/init/" :base "api/" :login "api/login" :get-all-pokemon "api/pokemon" :toggle-favorite "api/pokemon/favorite" :crunch-selected-pokemon "api/pokemon/delete" :status-delete "api/...
(ns cruncher.config) (def api {:host "http://localhost:5000/" :init "api/init/" :base "api/" :login "api/login" :get-all-pokemon "api/pokemon" :toggle-favorite "api/pokemon/favorite" :crunch-selected-pokemon "api/pokemon/delete" :status-delete "api/...
Add route to ping niantic server
Add route to ping niantic server
Clojure
mit
Phaetec/pogo-cruncher,Phaetec/pogo-cruncher,Phaetec/pogo-cruncher
cce084a84039199c01b319b3ce3ec41679b814d9
build.boot
build.boot
(set-env! :source-paths #{"src"} :dependencies '[[org.clojure/clojure "1.8.0" :scope "provided"] [adzerk/bootlaces "0.1.13" :scope "test"]]) (require '[adzerk.bootlaces :refer :all]) ;; tasks: build-jar push-snapshot push-release (def +version+ "1.0.0") (bootlaces! +version+) (task-options...
(set-env! :source-paths #{"src"} :dependencies '[[org.clojure/clojure "1.8.0" :scope "provided"] [adzerk/bootlaces "0.1.13" :scope "test"]]) (require '[adzerk.bootlaces :as deploy]) (def +version+ "1.0.0") (deploy/bootlaces! +version+) (task-options! pom {:project 'afrey/boot-asset-f...
Add task to push without gpg
Add task to push without gpg
Clojure
mit
AdamFrey/boot-asset-fingerprint,AdamFrey/boot-asset-fingerprint
c962312003de906bc8cb67e5882b141785a4f532
test/test_pom.clj
test/test_pom.clj
(ns test-pom (:use [leiningen.core :only [read-project defproject]] [leiningen.util.maven :only [make-model]] [leiningen.pom :only [pom]]) (:use [clojure.test] [clojure.java.io :only [file delete-file]])) (def test-project (read-project "test_projects/sample/project.clj")) (deftest test-po...
(ns test-pom (:use [leiningen.core :only [read-project defproject]] [leiningen.util.maven :only [make-model]] [leiningen.pom :only [pom]]) (:use [clojure.test] [clojure.java.io :only [file delete-file]])) (def test-project (read-project "test_projects/sample/project.clj")) (deftest test-po...
Fix test-pom to watch for abort.
Fix test-pom to watch for abort.
Clojure
epl-1.0
0/leiningen,0/leiningen
ebc595deeafd4a9ec9988fbf84efae58c7041edd
.lein/profiles.clj
.lein/profiles.clj
{:user {:dependencies [[clj-stacktrace "0.2.5"] [org.clojure/tools.trace "0.7.5"] [org.clojure/tools.namespace "0.2.3"] [redl "0.1.0"] [spyscope "0.1.3"] [slamhound "1.3.3"]] :plugins [[lein-diffte...
{:user {:dependencies [[clj-stacktrace "0.2.5"] [org.clojure/tools.trace "0.7.5"] [org.clojure/tools.namespace "0.2.3"] [redl "0.1.0"] [speclj-tmux "1.0.0"] [spyscope "0.1.3"] [slamh...
Add speclj-tmux to lein user profile.
Add speclj-tmux to lein user profile.
Clojure
unlicense
RyanMcG/dotfiles,RyanMcG/dotfiles,RyanMcG/dotfiles,RyanMcG/dotfiles,RyanMcG/dotfiles,RyanMcG/dotfiles,RyanMcG/dotfiles
b0fb58032866a73ca37f5dc6f6041bbdb8c47c6d
src/engulf/core.clj
src/engulf/core.clj
(ns engulf.core (:gen-class) (:require [engulf.benchmark :as benchmark] [noir.server :as nr-server]) (:use aleph.http noir.core lamina.core)) (defn start-webserver [args] (nr-server/load-views "src/engulf/views") (let [mode (keyword (or (first args) :dev)) port (Inte...
(ns engulf.core (:gen-class) (:require [engulf.benchmark :as benchmark] [noir.server :as nr-server]) (:use aleph.http noir.core lamina.core)) (defn start-webserver [args] (nr-server/load-views "src/engulf/views") (let [mode (keyword (or (first args) :prod)) port (Int...
Make prod mode the default for noir
Make prod mode the default for noir
Clojure
epl-1.0
terrancesnyder/engulf,flores/engulf,terrancesnyder/engulf,andrewvc/engulf,flores/engulf,andrewvc/engulf,terrancesnyder/engulf,andrewvc/engulf,flores/engulf
6a8c2675466df3f0701d3304c0781b18ef1a8d03
src/leiningen/new/lein_quick_om.clj
src/leiningen/new/lein_quick_om.clj
(ns leiningen.new.lein-quick-om (:require [leiningen.new.templates :refer [renderer name-to-path ->files]] [leiningen.core.main :as main])) (def render (renderer "lein-quick-om")) (defn lein-quick-om "FIXME: write documentation" [name] (let [data {:name name :sanitized (name-to-path ...
(ns leiningen.new.lein-quick-om (:require [leiningen.new.templates :refer [renderer name-to-path ->files]] [leiningen.core.main :as main])) (def render (renderer "lein-quick-om")) (defn lein-quick-om "FIXME: write documentation" [name] (let [data {:name name :sanitized (name-to-path ...
Rename core to main in template code
Rename core to main in template code
Clojure
epl-1.0
chancerussell/lein-quick-om
54a490ff08691d1934bbc75d9c3ff574bcdcc3ed
src/tesq/utils.clj
src/tesq/utils.clj
(ns tesq.utils (:require [clojure.string :refer [replace capitalize]])) (defn prettify "Turn table name into something more human friendly." [s] (-> s capitalize (replace #"_" " "))) (defn singularise "Turn plural string into singular." [s] (replace s #"s$" ""))
(ns tesq.utils (:require [clojure.string :refer [replace capitalize]])) (defn prettify "Turn table name into something more human friendly." [s] (-> s capitalize (replace #"_" " "))) (defn singularise "Turn plural string into singular." [s] (cond (re-find #"ies$" s) (replace s #...
Handle 'ies' words in singularise fn
Handle 'ies' words in singularise fn
Clojure
epl-1.0
jules75/tesq
299c2bf06c23abb699d3739a9565e81c3b41f33c
src/uxbox/util/dom.cljs
src/uxbox/util/dom.cljs
;; This Source Code Form is subject to the terms of the Mozilla Public ;; License, v. 2.0. If a copy of the MPL was not distributed with this ;; file, You can obtain one at http://mozilla.org/MPL/2.0/. ;; ;; Copyright (c) 2015-2016 Andrey Antukh <niwi@niwi.nz> ;; Copyright (c) 2015-2016 Juan de la Cruz <delacruzgarciaj...
;; This Source Code Form is subject to the terms of the Mozilla Public ;; License, v. 2.0. If a copy of the MPL was not distributed with this ;; file, You can obtain one at http://mozilla.org/MPL/2.0/. ;; ;; Copyright (c) 2015-2016 Andrey Antukh <niwi@niwi.nz> ;; Copyright (c) 2015-2016 Juan de la Cruz <delacruzgarciaj...
Make prevent-default and stop-propagation functions nil safe.
Make prevent-default and stop-propagation functions nil safe.
Clojure
mpl-2.0
studiospring/uxbox,uxbox/uxbox,studiospring/uxbox,studiospring/uxbox,uxbox/uxbox,uxbox/uxbox
40cb5603f9cb188b980368978f857043471cea3b
totem-destroyer/desktop/project.clj
totem-destroyer/desktop/project.clj
(defproject totem-destroyer "0.0.1-SNAPSHOT" :description "FIXME: write description" :dependencies [[com.badlogicgames.gdx/gdx "1.9.3"] [com.badlogicgames.gdx/gdx-backend-lwjgl "1.9.3"] [com.badlogicgames.gdx/gdx-box2d "1.9.3"] [com.badlogicgames.gdx/gdx-box2d-p...
(defproject totem-destroyer "0.0.1-SNAPSHOT" :description "FIXME: write description" :dependencies [[com.badlogicgames.gdx/gdx "1.9.3"] [com.badlogicgames.gdx/gdx-backend-lwjgl "1.9.3"] [com.badlogicgames.gdx/gdx-box2d "1.9.3"] [com.badlogicgames.gdx/gdx-box2d-p...
Use local snapshot version of play-clj with fixes
Use local snapshot version of play-clj with fixes
Clojure
unlicense
waynedyck/play-clj-experiments
4a55722ee5fb8981fd682d402f58402dbcbaf9c8
day-05/src/solver/core.clj
day-05/src/solver/core.clj
(ns solver.core (:gen-class)) (def vowels #{"a" "e" "i" "o" "u"}) (defn contains-at-least-three-vowels [word] (>= (count (filter vowels (clojure.string/split word #""))) 3)) (defn contains-repeated-letter [word] (re-find #"(\w)\1" word)) (defn contains-forbidden-string [word] (re-find #"ab|cd|pq|xy" word)) (d...
(ns solver.core (:gen-class)) (def vowels #{"a" "e" "i" "o" "u"}) (defn contains-at-least-three-vowels [word] (>= (count (filter vowels (clojure.string/split word #""))) 3)) (defn contains-repeated-letter [word] (re-find #"(\w)\1" word)) (defn contains-forbidden-string [word] (re-find #"ab|cd|pq|xy" word)) (d...
Solve part two of day 5 puzzle
Solve part two of day 5 puzzle
Clojure
mit
dvberkel/advent-of-code
50da8002720f31cab68d3402de80d1c91f1008de
build.boot
build.boot
(set-env! :source-paths #{"src"} :dependencies '[[org.clojure/clojure "1.8.0" :scope "provided"] [adzerk/bootlaces "0.1.13" :scope "test"]]) (require '[adzerk.bootlaces :refer :all]) ;; tasks: build-jar push-snapshot push-release (def +version+ "1.0.0-SNAPSHOT") (bootlaces! +version+) (tas...
(set-env! :source-paths #{"src"} :dependencies '[[org.clojure/clojure "1.8.0" :scope "provided"] [adzerk/bootlaces "0.1.13" :scope "test"]]) (require '[adzerk.bootlaces :refer :all]) ;; tasks: build-jar push-snapshot push-release (def +version+ "1.0.0-SNAPSHOT") (bootlaces! +version+) (tas...
Update pom urls for library
Update pom urls for library
Clojure
mit
AdamFrey/boot-asset-fingerprint,AdamFrey/boot-asset-fingerprint
08d8ae484de0427d1ac90a81a7f5ad262d63da15
src/clj/subman/helpers.clj
src/clj/subman/helpers.clj
(ns subman.helpers (:require [net.cgrand.enlive-html :as html] [org.httpkit.client :as http] [subman.const :as const])) (defn remove-first-0 "Remove first 0 from string" [query] (clojure.string/replace query #"^(0+)" "")) (defn get-from-line "Get parsed html from line" [line] (ht...
(ns subman.helpers (:require [net.cgrand.enlive-html :as html] [org.httpkit.client :as http] [subman.const :as const])) (defn remove-first-0 "Remove first 0 from string" [query] (clojure.string/replace query #"^(0+)" "")) (defn get-from-line "Get parsed html from line" [line] (ht...
Use destruction in getting season-episode part
Use destruction in getting season-episode part
Clojure
epl-1.0
submanio/subman-parser
10ff5ce7e47567ae0bf7fbe5abfcf097ce0e1540
project.clj
project.clj
(defproject suricatta "0.1.0-SNAPSHOT" :description "High level sql toolkit for clojure (backed by jooq library)" :url "http://example.com/FIXME" :license {:name "Apache 2.0" :url "http://www.apache.org/licenses/LICENSE-2.0.txt"} :dependencies [[org.clojure/clojure "1.6.0"] [org.joo...
(defproject suricatta "0.1.0-SNAPSHOT" :description "High level sql toolkit for clojure (backed by jooq library)" :url "http://example.com/FIXME" :license {:name "Apache 2.0" :url "http://www.apache.org/licenses/LICENSE-2.0.txt"} :dependencies [[org.clojure/clojure "1.6.0"] [org.joo...
Update jOOQ version to 3.4.4
Update jOOQ version to 3.4.4
Clojure
bsd-2-clause
estsauver/suricatta,funcool/suricatta,estsauver/suricatta
994c8178430cdc2407cc03b4a21d86f542fb90bd
project.clj
project.clj
(defproject cake "0.7.0-beta1" :description "Save your fork, there's cake!" :dependencies [[clojure "1.2.0"] [clojure-contrib "1.2.0"] [uncle "0.2.3"] [depot "0.1.7"] [classlojure "0.6.3"] [useful "0.7.4-alpha4"] [...
(defproject cake "0.7.0-beta1" :description "Save your fork, there's cake!" :dependencies [[clojure "1.2.0"] [uncle "0.2.3"] [depot "0.1.7"] [classlojure "0.6.3"] [useful "0.7.4-alpha4"] [slingshot "0.7.2"] [org.cl...
Remove the contrib dep, since we're no longer depending on it.
Remove the contrib dep, since we're no longer depending on it.
Clojure
epl-1.0
ninjudd/cake
818d26a32606a60e0a2c9181f5a09b6da483aa9a
project.clj
project.clj
(defproject org.onyxplatform/onyx-datomic "0.10.0.0-alpha6" :description "Onyx plugin for Datomic" :url "https://github.com/onyx-platform/onyx-datomic" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :repositories {"snapshots" {:url "https://clojars.org/rep...
(defproject org.onyxplatform/onyx-datomic "0.10.0.0-SNAPSHOT" :description "Onyx plugin for Datomic" :url "https://github.com/onyx-platform/onyx-datomic" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :repositories {"snapshots" {:url "https://clojars.org/r...
Prepare for next release cycle.
Prepare for next release cycle.
Clojure
epl-1.0
onyx-platform/onyx-datomic
68d1e630e761bc1b699dee813df3f0f0ceaf5bfb
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"} ...
Upgrade eastwood plugin to 0.2.0.
Upgrade eastwood plugin to 0.2.0. Exclude of linter _constant-test_ is necessary because it evaluates the expanded _html5_ macro defined by _hiccup_ which produces a warning.
Clojure
apache-2.0
mvitz/statuses,innoq/statuses
19c848f4fbe1602d70f8c6d84ce61681f35cf27e
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...
Revert back to snapshot version.
Revert back to snapshot version.
Clojure
epl-1.0
ruedigergad/cli4clj
0f637439d6fac92477c8368269aeeb1a6bf5e1e0
project.clj
project.clj
(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.6-alpha1"] [org.thnetos/cd-client "0.3.1" :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.6"] [org.thnetos/cd-client "0.3.1" :exclusions [org.clojure/clojure]] [clj-stacktrace "0.2.4"] ...
Use the official jline from central
Use the official jline from central closes #25
Clojure
epl-1.0
bbatsov/reply,trptcolin/reply,trptcolin/reply,bbatsov/reply
62bd991825b195a1976f3bf8b375ac4e526eec7c
project.clj
project.clj
(defproject org.onyxplatform/onyx-metrics "0.8.1.0-0.8.1" :description "Instrument Onyx workflows" :url "https://github.com/MichaelDrogalis/onyx" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :repositories {"snapshots" {:url "https://clojars.org/repo" ...
(defproject org.onyxplatform/onyx-metrics "0.8.1.1-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