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
a3f8c32e8d69719ae5d8298a428aec1650781828
ClojureScript/replete/project.clj
ClojureScript/replete/project.clj
(defproject replete "0.1.0" :dependencies [[org.clojure/clojure "1.7.0-RC2"] [org.clojure/clojurescript "0.0-3422"] [org.clojure/tools.reader "0.10.0-SNAPSHOT" :exclusions [org.clojure/clojure]]])
(defproject replete "0.1.0" :dependencies [[org.clojure/clojure "1.7.0"] [org.clojure/clojurescript "0.0-3422"] [org.clojure/tools.reader "0.10.0-SNAPSHOT" :exclusions [org.clojure/clojure]]])
Update to released version of Clojure
Update to released version of Clojure
Clojure
epl-1.0
bsvingen/replete,mfikes/replete,bsvingen/replete,bsvingen/replete,asheldo/replete,carabina/replete,hsjunnesson/replete,hsjunnesson/replete,asheldo/replete,karlmikko/replete,asheldo/replete,mfikes/replete,hsjunnesson/replete,O-I/replete,karlmikko/replete,mfikes/replete,hsjunnesson/replete,bsvingen/replete,carabina/reple...
1f791d274b5c0660c6ce2f55b3300ce65e63a1cb
project/analyze-data/src/analyze_data/naive_bayes/predict.clj
project/analyze-data/src/analyze_data/naive_bayes/predict.clj
(ns analyze-data.naive-bayes.predict (:require [clojure.core.matrix :as m] [analyze-data.greatest :refer [greatest]])) (defn predict "parameters: map produced by analyze-data.naive-bayes.train/train x: vector of term weights representing a document Return a vector of [most-likely-label score]" ...
(ns analyze-data.naive-bayes.predict (:require [clojure.core.matrix :as m] [analyze-data.greatest :refer [greatest]])) (defn predict "parameters: map produced by analyze-data.naive-bayes.train/train z: vector of term weights representing a document Return a vector of [most-likely-label score]" ...
Rename variable to z for consistency.
Rename variable to z for consistency.
Clojure
mit
dylanfprice/stanfordml,dylanfprice/stanfordml
40c1bc617a636afae29f9bf91d90df653399c96f
src/play_clj/repl.clj
src/play_clj/repl.clj
(ns play-clj.repl (:require [play-clj.core :refer :all])) (defn s "Returns the screen map in `screen-object`. (s main-screen)" [screen-object] (-> screen-object :screen deref)) (defn s! "Associates values to the screen map in `screen-object`. Returns the new screen map. (s! main-screen :camera (or...
(ns play-clj.repl (:require [play-clj.core :refer :all])) (defn s "Returns the screen map in `screen-object`. (s main-screen)" [screen-object] (-> screen-object :screen deref)) (defn s! "Associates values to the screen map in `screen-object`. Returns the new screen map. (s! main-screen :camera (or...
Make the filter-fn the first arg to be consistent with filter
Make the filter-fn the first arg to be consistent with filter
Clojure
unlicense
brycecovert/play-clj,the2bears/play-clj,brycecovert/play-clj,the2bears/play-clj,oakes/play-clj,oakes/play-clj
83ade27260cfc4979c072dfd285009f78c572a68
test/mirthsync/cli_test.clj
test/mirthsync/cli_test.clj
(ns mirthsync.cli-test (:require [mirthsync.cli :refer :all] [clojure.test :refer :all] [clojure.tools [cli :refer [parse-opts]]])) (deftest configuration (are [args] (let [conf (config args)] (is (seq (:exit-msg conf))) (is (= 1 (:exit-code conf...
(ns mirthsync.cli-test (:require [mirthsync.cli :refer :all] [clojure.test :refer :all] [clojure.tools [cli :refer [parse-opts]]])) (deftest configuration (testing "Fail on invalid arguments" (are [args] (let [conf (config args)] (is (seq (:exit-msg conf))...
Fix and annotate cli tests
Fix and annotate cli tests
Clojure
epl-1.0
SagaHealthcareIT/mirthsync
a3a4513b692d147d839c7e6d2e3f0d3280a503ce
arch/arm/mach-spear6xx/Makefile.boot
arch/arm/mach-spear6xx/Makefile.boot
zreladdr-y += 0x00008000 params_phys-y := 0x00000100 initrd_phys-y := 0x00800000
zreladdr-y += 0x00008000 params_phys-y := 0x00000100 initrd_phys-y := 0x00800000 dtb-$(CONFIG_BOARD_SPEAR600_DT) += spear600-evb.dtb
Add compilation support for dtbs using 'make dtbs'
SPEAr6xx: Add compilation support for dtbs using 'make dtbs' 'make dtbs' compiles all dtbs for a family. For this we need to add entries for all board dtb's in Makefile.boot file. This patch does it. Signed-off-by: Viresh Kumar <5ff32272b3d9f86512eddc8e0af523fc6f7924e5@st.com>
Clojure
apache-2.0
TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_k...
b9b17922768c71a5c45391c564561a15ce0542ea
src/tabswitcher/utils.cljs
src/tabswitcher/utils.cljs
(ns tabswitcher.utils) (defn format-result [url] (clojure.string/replace url #"(^https?://)|(\?.+)" ""))
(ns tabswitcher.utils) (defn format-result [url] (clojure.string/replace url #"(^https?://(www\.)?)|(\?.+)" ""))
Remove www. from urls when filtering
Remove www. from urls when filtering
Clojure
mit
jhchabran/tabswitcher,jhchabran/tabswitcher
b4a541f83e73afb47d4f6bd39c3fdd015e0ee1ae
test/magician/list_test.clj
test/magician/list_test.clj
(ns magician.list-test (:require [clojure.test :refer :all] [magician.list :refer :all])) (deftest numerics-test (is (= [1 2.0 -3] (numerics [1 2.0 -3]))) (is (= [] (numerics ["string"]))) (is (= [] (numerics []))) (is (= [1 3] (numerics [1, "two", 3, "four"]))))
(ns magician.list-test (:require [clojure.test :refer :all] [magician.list :refer :all])) (deftest numerics-test (is (= '(1 2.0 -3) (numerics '(1 2.0 -3)))) (is (= () (numerics '("string")))) (is (= () (numerics ()))) (is (= '(1 3) (numerics '(1 "two" 3 "four")))))
Test with lists instead of vectors
Test with lists instead of vectors
Clojure
epl-1.0
nicolasmccurdy/magician-clojure,nicolasmccurdy/magician-clojure
f3667476117ad9e8cabcdf7f2bff5e26c9ca9c97
scripts/watch-benchmarks.clj
scripts/watch-benchmarks.clj
(require '[cljs.build.api :as b]) (b/watch (b/inputs "test" "src") {:main 'bide.tests.benchmarks :target :nodejs :output-to "out/benchmarks.js" :output-dir "out/benchmarks" :optimizations :none :pretty-print true :verbose true})
(require '[cljs.build.api :as b]) (b/watch (b/inputs "test" "src") {:main 'bide.tests.benchmarks :target :nodejs :output-to "out/benchmarks.js" :output-dir "out/benchmarks" :optimizations :none :pretty-print false :verbose true})
Disable pretty printing on benchmark build.
Disable pretty printing on benchmark build.
Clojure
bsd-2-clause
funcool/bide,funcool/bide
64a1b0040ebbc3e061d450c316a2ed29daaacf5a
src/asid/wallet_repository.clj
src/asid/wallet_repository.clj
(ns asid.wallet-repository (:require [clojurewerkz.neocons.rest :as nr] [clojurewerkz.neocons.rest.nodes :as nn] [clojurewerkz.neocons.rest.relationships :as nrl])) (defn initialize! [] (nr/connect! "http://localhost:7474/db/data/") (let [root (nn/get 0) asid-rels (nrl/outgoing-fo...
(ns asid.wallet-repository (:require [clojurewerkz.neocons.rest :as nr] [clojurewerkz.neocons.rest.nodes :as nn] [clojurewerkz.neocons.rest.relationships :as nrl])) (defn initialize! [] (nr/connect! "http://localhost:7474/db/data/") (let [root (nn/get 0) asid-rels (nrl/outgoing-fo...
Save all the maps attached to a wallet as well.
Save all the maps attached to a wallet as well.
Clojure
agpl-3.0
gga/asid,gga/asid,gga/asid
79d3c936a76793e5fd3dbea5392caf4ccaea234e
src/cadence/migrations.clj
src/cadence/migrations.clj
(ns cadence.migrations "Define some migrations yo." (:require [cadence.model.migration :refer [defmigration]] (monger [collection :as mc] [operators :refer :all])) (:import (org.bson.types ObjectId))) (defn str-id "Helper function for generating an id when adding migrations." ...
(ns cadence.migrations "Define some migrations yo." (:require [cadence.model.migration :refer [defmigration]] (monger [collection :as mc] [operators :refer :all])) (:import (org.bson.types ObjectId))) (defn- str-id "Helper function for generating an id when adding migrations." ...
Modify roles migration to make me an admin.
Modify roles migration to make me an admin.
Clojure
epl-1.0
RyanMcG/Cadence,RyanMcG/Cadence
cd1a8c1cf94821c60684c4c84fe0b7b7916b1b07
assignments/clojure/word-count/word-count_test.clj
assignments/clojure/word-count/word-count_test.clj
(ns word-count.test (:require [clojure.test :refer :all])) (load-file "word_count.clj") (deftest count-one-word (is (= {"word" 1} (phrase/word-count "word")))) (deftest count-one-of-each (is (= {"one" 1 "of" 1 "each" 1} (phrase/word-count "one of each")))) (deftest count-multiple-occurrences ...
(ns word-count.test (:require [clojure.test :refer :all])) (load-file "word-count.clj") (deftest count-one-word (is (= {"word" 1} (phrase/word-count "word")))) (deftest count-one-of-each (is (= {"one" 1 "of" 1 "each" 1} (phrase/word-count "one of each")))) (deftest count-multiple-occurrences ...
Change expected implementation file name for consistency
Change expected implementation file name for consistency
Clojure
mit
exercism/xclojure,yurrriq/xclojure,wobh/xclojure,exercism/xclojure,querenker/xclojure,querenker/xclojure,canweriotnow/xclojure
73ac971ef825a3f32d7c1ae112f1297216614378
test/beehive/future_test.clj
test/beehive/future_test.clj
(ns beehive.future-test)
;; Copyright 2015 Timothy Brooks ;; ;; Licensed under the Apache License, Version 2.0 (the "License"); ;; you may not use this file except in compliance with the License. ;; You may obtain a copy of the License at ;; ;; http://www.apache.org/licenses/LICENSE-2.0 ;; ;; Unless required by applicable law or agreed to in w...
Add basic tests for success futures
Add basic tests for success futures
Clojure
apache-2.0
tbrooks8/Beehive
44eea892ad2776dd286c30c58e327fc5ba8687e8
project.clj
project.clj
(defproject kevin "0.1.0-SNAPSHOT" :description "It's like Kevin Bacon is right here!" :url "http://imdb.com" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.5.1"] [com.datomic/datomic-pro "0.9.4556"] ...
(defproject kevin "0.1.0-SNAPSHOT" :description "It's like Kevin Bacon is right here!" :url "http://imdb.com" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.5.1"] [com.datomic/datomic-pro "0.9.4556"] ...
Use more reasonable memory settings
Use more reasonable memory settings
Clojure
epl-1.0
jgdavey/kevin
f2bb20b8d25ae77c80d82bb65538bdcddc45d243
project.clj
project.clj
(defproject clj-json "0.4.3" :description "Fast JSON encoding and decoding for Clojure via the Jackson library." :url "http://github.com/mmcgrana/clj-json" :source-path "src/clj" :java-source-path "src/jvm" :javac-fork "true" :dependencies [[org.clojure/clojure "1.2.0"] [org.codehaus.jackson/jackso...
(defproject clj-json "0.4.3" :description "Fast JSON encoding and decoding for Clojure via the Jackson library." :url "http://github.com/mmcgrana/clj-json" :source-path "src/clj" :java-source-path "src/jvm" :javac-fork "true" :dependencies [[org.clojure/clojure "1.2.0"] [org.codehaus.jackson/jackso...
Remove dev dependency on old lein-javac plugin
Remove dev dependency on old lein-javac plugin
Clojure
mit
mmcgrana/clj-json
798463174eab792de48e42f7b9f6cdb16723cec8
project.clj
project.clj
(defproject funcool/suricatta "0.3.0" :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.6.0"] ...
(defproject funcool/suricatta "0.3.0" :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.6.0"] ...
Update jooq version to 3.6.1
Update jooq version to 3.6.1
Clojure
bsd-2-clause
funcool/suricatta,estsauver/suricatta,estsauver/suricatta
64d726353d30bee13c5c3b3097db3fcc790b245a
project.clj
project.clj
(defproject org.onyxplatform/onyx-peer-http-query "0.10.0.0-beta3" :description "An Onyx health and query HTTP server" :url "https://github.com/onyx-platform/onyx-peer-http-query" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/c...
(defproject org.onyxplatform/onyx-peer-http-query "0.10.0.0-SNAPSHOT" :description "An Onyx health and query HTTP server" :url "https://github.com/onyx-platform/onyx-peer-http-query" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojur...
Prepare for next release cycle.
Prepare for next release cycle.
Clojure
epl-1.0
onyx-platform/onyx-peer-http-query
9c3b6398e5578832ce4f662e436156f5cfba1453
examples/todomvc/project.clj
examples/todomvc/project.clj
(defproject todomvc-re-frame "0.11.0-rc2-SNAPSHOT" :dependencies [[org.clojure/clojure "1.10.1"] [org.clojure/clojurescript "1.10.520" :exclusions [com.google.javascript/closure-compiler-unshaded org.clojure/google-closure-library]] ...
(defproject todomvc-re-frame "0.11.0-rc2-SNAPSHOT" :dependencies [[org.clojure/clojure "1.10.1"] [org.clojure/clojurescript "1.10.520" :exclusions [com.google.javascript/closure-compiler-unshaded org.clojure/google-closure-library]] ...
Upgrade todomvc example shadow-cljs to 2.8.59
Upgrade todomvc example shadow-cljs to 2.8.59
Clojure
mit
Day8/re-frame,Day8/re-frame,Day8/re-frame
7de357410e3b34a16d3b2b8f6c5c26896b621182
clojure/src/advent2017/day4.clj
clojure/src/advent2017/day4.clj
(ns advent2017.day4 (:require [advent2017.core :refer [->words]])) (defn solve [xform lines] (reduce (fn [counter words] (if (= (count words) (count (set words))) (inc counter) counter)) 0 (map (comp xform ->words) lines))) (def solve...
(ns advent2017.day4 "Part 1 is simply finding duplicate words, we can compare the length of the original list of words with the length of a set of the original list, if there are any duplicates the lengths will be unequal. Part 2 requires checking anagrams. For two words to be anagrams all we need to do is c...
Add an explanation to the day 4 solution approach.
Add an explanation to the day 4 solution approach. I want to try remember to do this, reading last year's solutions some of them are hard to follow now that the thought process is not freshly in my mind.
Clojure
mit
jonathanj/advent2016
95924f52642013fc20cb0cbf1c56f1fdb5a4e0f2
src/klangmeister/ui/jam.cljs
src/klangmeister/ui/jam.cljs
(ns klangmeister.ui.jam (:require [klangmeister.ui.graph :as graph] [klangmeister.actions :as action] [klangmeister.ui.editor :as editor])) (defn controls [handle! state] (let [{:keys [looping?]} (:main state) play (if-not looping? [:button {:on-click #(handle! (actio...
(ns klangmeister.ui.jam (:require [klangmeister.ui.graph :as graph] [klangmeister.actions :as action] [klangmeister.ui.editor :as editor])) (defn controls [handle! state] (let [{:keys [looping?]} (:main state) play (if-not looping? [:button {:on-click #(handle! (actio...
Reduce the verbage leading up to performance.
Reduce the verbage leading up to performance.
Clojure
mit
ctford/cljs-bach,ctford/cljs-bach
2c4d056f85c1b90282507c0be8b479a47b0b8da1
roles/clojure/files/profiles.clj
roles/clojure/files/profiles.clj
{:user {:signing {:gpg-key "8ED1CE42"} :dependencies [[alembic "0.2.1"] [clj-stacktrace "0.2.7"] [criterium "0.4.2"] [org.clojure/tools.namespace "0.2.5"] [slamhound "1.5.3"] [spyscope "0.1.4"]] ...
{:user {:signing {:gpg-key "8ED1CE42"} :dependencies [[alembic "0.2.1"] [clj-stacktrace "0.2.7"] [criterium "0.4.2"] [org.clojure/tools.namespace "0.2.5"] [slamhound "1.5.3"] [spyscope "0.1.4"]] ...
Make sure doc is available in the REPL
Make sure doc is available in the REPL
Clojure
mit
jcf/ansible-dotfiles,jcf/ansible-dotfiles,jcf/ansible-dotfiles,jcf/ansible-dotfiles,jcf/ansible-dotfiles
71653435c2d80ce03ef9e32ac979ab4899305665
test/cortex/wiring_test.clj
test/cortex/wiring_test.clj
(ns cortex.wiring-test (:use [clojure.test]) (:use [cortex.core])) (deftest test-function-module (let [m (function-module inc)] (is (= 2 (output (calc m 1)))))) (deftest test-stack-module (let [m (function-module inc) st (stack-module [m m])] (is (= 3 (output (calc st 1))))))
(ns cortex.wiring-test (:use [clojure.test]) (:use [cortex.core])) (deftest test-function-module (let [m (function-module inc)] (is (= 2 (output (calc m 1)))))) (deftest test-stack-module ;; simple 2-layer stack (let [m (function-module inc) st (stack-module [m m])] (is (= 3 (output (calc st...
Add test for empty stack
Add test for empty stack
Clojure
epl-1.0
thinktopic/cortex,thinktopic/cortex,thinktopic/cortex,thinktopic/cortex
99d82ae5c19a602074dd29812a81833e2deb3ea6
src/uswitch/bifrost/main.clj
src/uswitch/bifrost/main.clj
(ns uswitch.bifrost.main (:require [uswitch.bifrost.system :refer (make-system)] [uswitch.bifrost.version :refer (current-version current-build-number)] [com.stuartsierra.component :refer (start)] [clojure.tools.logging :refer (info)] [clojure.tools.cli :refer (parse-op...
(ns uswitch.bifrost.main (:require [uswitch.bifrost.system :refer (make-system)] [uswitch.bifrost.version :refer (current-version current-build-number)] [com.stuartsierra.component :refer (start)] [clojure.tools.logging :refer (info)] [clojure.tools.cli :refer (parse-op...
Read AWS credentials from environment variables.
Read AWS credentials from environment variables. If the credentials are not set in the configuration file, bifrost will look for credentials in the AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment variables. These are the same environment variables used by the AWS SDKs as of July 2014. (http://blogs.aws.amazon...
Clojure
epl-1.0
samsara/bifrost,FundingCircle/bifrost
8129766966858a538539287c67066bc0fa1c0ce1
resources/leiningen/new/onyx_app/project.clj
resources/leiningen/new/onyx_app/project.clj
(defproject {{app-name}} "0.1.0-SNAPSHOT" :description "FIXME: write description" :url "http://example.com/FIXME" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.7.0"] [org.clojure/core.async "0.1.346....
(defproject {{app-name}} "0.1.0-SNAPSHOT" :description "FIXME: write description" :url "http://example.com/FIXME" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.7.0"] [org.onyxplatform/onyx "0.8.0-alp...
Drop core.async/component dependency These will force older versions than Onyx use internally, which is probably a bad idea
Drop core.async/component dependency These will force older versions than Onyx use internally, which is probably a bad idea
Clojure
mit
onyx-platform/onyx-template
1e36b9a0ebbd584573a9fcb5f2a5c05288be0146
src/blue_salamander/r3elements.cljs
src/blue_salamander/r3elements.cljs
(ns blue-salamander.r3elements (:require-macros [blue-salamander.r3elements :as abbrev]) (:require [goog.events :as events] [clojure.string :as string])) (defn element-args [opts children] (cond (nil? opts) [nil children] (map? opts) [(clj->js opts) children] (object? opts) [opts children...
(ns blue-salamander.r3elements (:require-macros [blue-salamander.r3elements :as abbrev]) (:require [goog.events :as events] [clojure.string :as string])) ;; ;; provides convenient definitions for threejs nodes. Instead of going: ;; ;; (js/React.createElement (js/ReactTHREE.Scene #js {} ....)) ;; ;; you...
Comment in element convenience funcs
Comment in element convenience funcs
Clojure
mit
Izzimach/blue-salamander
2c17e843a62e5749f6f53aa65cd23ae2e0fbd4f3
project.clj
project.clj
(defproject funcool/postal "0.1.0-SNAPSHOT" :description "A parser, renderer and validation layer for POSTAL protocol for Clojure and ClojureScript." :url "http://github.com/funcool/postal" :license {:name "BSD (2-Clause)" :url "http://opensource.org/licenses/BSD-2-Clause"} :source-paths ["src"] :...
(defproject funcool/postal "0.1.0-SNAPSHOT" :description "A parser, renderer and validation layer for POSTAL protocol for Clojure and ClojureScript." :url "http://github.com/funcool/postal" :license {:name "BSD (2-Clause)" :url "http://opensource.org/licenses/BSD-2-Clause"} :source-paths ["src"] :...
Update cljs compiler and tools.reader versions.
Update cljs compiler and tools.reader versions.
Clojure
unlicense
funcool/postal
72a946bc0c0f21329e34e0a7347e72dcdb11304c
project.clj
project.clj
(defproject org.onyxplatform/onyx-peer-http-query "0.10.0.0-alpha4" :description "An Onyx health and query HTTP server" :url "https://github.com/onyx-platform/onyx-peer-http-query" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/...
(defproject org.onyxplatform/onyx-peer-http-query "0.10.0.0-SNAPSHOT" :description "An Onyx health and query HTTP server" :url "https://github.com/onyx-platform/onyx-peer-http-query" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojur...
Prepare for next release cycle.
Prepare for next release cycle.
Clojure
epl-1.0
onyx-platform/onyx-peer-http-query
7ab37be54516fbf82e77a93747845e2bfec10500
project.clj
project.clj
(defproject io.aviso/twixt "0.1.8" :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.9" :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.9
Advance version number to 0.1.9
Clojure
apache-2.0
AvisoNovate/twixt,AvisoNovate/twixt,AvisoNovate/twixt,clyfe/twixt,clyfe/twixt,clyfe/twixt
fac8f3f59e87d0e9f55102919be303a74296af7b
project.clj
project.clj
(defproject org.onyxplatform/onyx-datomic "0.7.10" :description "Onyx plugin for Datomic" :url "https://github.com/MichaelDrogalis/onyx-datomic" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :repositories {"snapshots" {:url "https://clojars.org/repo" ...
(defproject org.onyxplatform/onyx-datomic "0.7.11-SNAPSHOT" :description "Onyx plugin for Datomic" :url "https://github.com/MichaelDrogalis/onyx-datomic" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :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
7504f162ca014b45d80da85b374830269342166c
project.clj
project.clj
(defproject foreclojure "0.1.3.1" :description "4clojure - a website for lisp beginners" :dependencies [[org.clojure/clojure "1.2.1"] [org.clojure/clojure-contrib "1.2.0"] [compojure "0.6.2"] [hiccup "0.2.4"] [clojail "0.4.0-SNAPSHOT"] ...
(defproject foreclojure "0.1.3.2" :description "4clojure - a website for lisp beginners" :dependencies [[org.clojure/clojure "1.2.1"] [org.clojure/clojure-contrib "1.2.0"] [compojure "0.6.2"] [hiccup "0.2.4"] [clojail "0.4.0-SNAPSHOT"] ...
Increase version number for release
Increase version number for release
Clojure
epl-1.0
grnhse/4clojure,tclamb/4clojure,rowhit/4clojure,rowhit/4clojure,4clojure/4clojure,gfredericks/4clojure,gfredericks/4clojure,4clojure/4clojure,devn/4clojure,grnhse/4clojure,devn/4clojure,amcnamara/4clojure,tclamb/4clojure,amcnamara/4clojure
b58125776d531845d4dfd63e1578c9d8e07fda44
project.clj
project.clj
(defproject onyx-app/lein-template "0.10.0.0-alpha5" :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
7be0f921dfe6ba01d39ac172048817c24eb26629
project.clj
project.clj
(defproject manners "0.7.0" :description "A validation library built on using predicates properly." :url "https://github.com/RyanMcG/manners" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.6.0"]] :profiles {:dev {:a...
(defproject manners "0.7.0" :description "A validation library built on using predicates properly." :url "https://github.com/RyanMcG/manners" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.6.0"]] :profiles {:dev {:a...
Update 1.7 version of Clojure to use beta2.
Update 1.7 version of Clojure to use beta2.
Clojure
epl-1.0
RyanMcG/manners
5d821d2ac57b9074ea4a237510392878493ac5fd
project.clj
project.clj
(defproject compojure "1.1.8" :description "A concise routing library for Ring" :url "https://github.com/weavejester/compojure" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.3.0"] [org.clojure/tools....
(defproject compojure "1.1.8" :description "A concise routing library for Ring" :url "https://github.com/weavejester/compojure" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.3.0"] [org.clojure/tools....
Update ring-core dependency to 1.3.1
Update ring-core dependency to 1.3.1
Clojure
epl-1.0
Christopher-Bui/compojure,sidcarter/compojure,ezy023/compojure,weavejester/compojure
6af0eb9b9081a39b16927fcab759bbf71aeb8647
src/tabswitcher/background.cljs
src/tabswitcher/background.cljs
(ns tabswitcher.background (:require [khroma.log :as console] [khroma.runtime :as runtime] [cljs.core.async :refer [>! <!] :as async]) (:require-macros [cljs.core.async.macros :refer [go go-loop]])) (defn init [] (go-loop [conns (runtime/connections) content (<! conns)] (...
(ns tabswitcher.background (:require [khroma.log :as console] [khroma.runtime :as runtime] [cljs.core.async :refer [>! <!] :as async]) (:require-macros [cljs.core.async.macros :refer [go go-loop]])) (defn init [] (go-loop [conns (runtime/connections) popup (<! conns)] (le...
Clarify by renaming content into popup
Clarify by renaming content into popup
Clojure
mit
jhchabran/tabswitcher,jhchabran/tabswitcher
fc85a3ecbe5267f00f9448f83aa610e6d6c8c652
clojure/lein.symlink/profiles.clj
clojure/lein.symlink/profiles.clj
{:user {:signing {:gpg-key "8ED1CE42"} :dependencies [[alembic "0.2.1"] [clj-stacktrace "0.2.7"] [criterium "0.4.2"] [org.clojure/tools.namespace "0.2.4"] [slamhound "1.5.3"] [spyscope "0.1.4"]] ...
{:user {:signing {:gpg-key "8ED1CE42"} :dependencies [[alembic "0.2.1"] [clj-stacktrace "0.2.7"] [criterium "0.4.2"] [org.clojure/tools.namespace "0.2.4"] [slamhound "1.5.3"] [spyscope "0.1.4"]] ...
Add cider-nrepl 0.7.0-SNAPSHOT to lein plugins
Add cider-nrepl 0.7.0-SNAPSHOT to lein plugins
Clojure
mit
jcf/ansible-dotfiles,jcf/ansible-dotfiles,jcf/ansible-dotfiles,jcf/ansible-dotfiles,jcf/ansible-dotfiles
00f5d81dc6de9456e9c55305a98527ef5ef36431
tasks/leiningen/packagejson.clj
tasks/leiningen/packagejson.clj
(ns leiningen.packagejson (:require [leiningen.npm :as npm] [cheshire.core :as json] [clojure.java.io :as io] [leiningen.npm.deps :refer [resolve-node-deps]])) (defn- root [project] (if-let [root (project :npm-root)] (if (keyword? root) (project root) ...
(ns leiningen.packagejson (:require [leiningen.npm :as npm] [cheshire.core :as json] [clojure.java.io :as io] [leiningen.npm.deps :refer [resolve-node-deps]])) ;; inlined these bits from lein-npm as it keeps deleting the package.json after each action ;; this makes it difficult to...
Add note about inlined bits from lein-npm
Add note about inlined bits from lein-npm
Clojure
epl-1.0
rukor/cljs-ssr-hello,rukor/cljs-ssr-hello
567917d3b73219bf7d92abe32295b8f3703c6c4a
src/flare/cljs_test.cljs
src/flare/cljs_test.cljs
(ns flare.cljs-test (:require [flare.report :as report] [flare.diff :as diff] [cljs.test :as ct])) (defn render-diff [m] (let [[pred & values] (second (:actual m))] (try (when (and (= pred '=) (= 2 (count values))) (when-let [diff (apply diff/diff* values)] (prin...
(ns flare.cljs-test (:require [flare.report :as report] [flare.diff :as diff] [cljs.test :as ct])) (defn render-diff [m] (let [[pred & values] (second (:actual m))] (try (when (and (= pred '=) (= 2 (count values))) (when-let [diff (apply diff/diff* (reverse values))] ...
Fix ordering of actual/expected in CLJS
Fix ordering of actual/expected in CLJS
Clojure
epl-1.0
andersfurseth/flare
9963c2f65ec449698c500b8e4278f319a86f65cb
src/clj/comic_reader/core.clj
src/clj/comic_reader/core.clj
(ns comic-reader.core (:gen-class) (:require [ring.util.response :as response] [ring.middleware.params :refer [wrap-params]] [compojure.core :as c] [compojure.route :as route])) (c/defroutes routes (c/GET "/" [] "Hello World!") (c/context "/api/v1" [] (c/GET "/comics" [...
(ns comic-reader.core (:gen-class) (:require [ring.util.response :as response] [ring.middleware.params :refer [wrap-params]] [compojure.core :as c] [compojure.route :as route])) (defn edn-response [data & [status]] {:status (or status 200) :headers {"Content-Type" "applica...
Add edn-response fn from url-shortener
Add edn-response fn from url-shortener
Clojure
epl-1.0
RadicalZephyr/comic-reader,RadicalZephyr/comic-reader
abb147399b05e21f8665ea8b7d7bb2d019fbcc4d
src/clj/c2/geo/core.clj
src/clj/c2/geo/core.clj
(ns c2.geo.core (:use [clojure.core.match :only [match]] [clojure.string :only [join]])) (defn geo-to-svg "Convert geoJSON to svg path data. Takes optional projection, defaulting to identity" [geo & {:keys [projection] :or {projection identity}}] (defn project [coordinate] (join "," (pro...
(ns c2.geo.core (:use [clojure.core.match :only [match]] [clojure.string :only [join]])) (defn geo->svg "Convert geoJSON to svg path data. Takes optional projection, defaulting to identity" [geo & {:keys [projection] :or {projection identity}}] (defn project [coordinate] (join "," (proje...
Add empty string :else clause to geo-to-svg, rename to more concise geo->svg.
Add empty string :else clause to geo-to-svg, rename to more concise geo->svg.
Clojure
bsd-3-clause
lynaghk/c2,lynaghk/c2
57d7955a1b362da2d310c321c9bc4bd83c78b261
src/lein_xjc/internal/xjc.clj
src/lein_xjc/internal/xjc.clj
(ns lein-xjc.internal.xjc (:import [com.sun.tools.xjc Driver])) (defn mk-xjc-argvs [project-root target-dir xjc-calls] (map (fn [c] ["-d" (str target-dir) (format "%s/%s" project-root (:xsd-file c)) ]) xjc-calls)) (defn xjc-main [argv] ;; TODO: fork process to avoid driver killing cur...
(ns lein-xjc.internal.xjc (:import [com.sun.tools.xjc Driver])) (defn mk-xjc-argvs [project-root target-dir xjc-calls] (map (fn [c] ["-d" (str target-dir) (format "%s/%s" project-root (:xsd-file c)) ]) xjc-calls)) (defn xjc-main [argv] (Driver/run (into-array String argv) (System/out)...
Call Driver/run instead of main.
Call Driver/run instead of main.
Clojure
epl-1.0
fhofherr/lein-xjc
b4f3b4010946b97ea5785e50642d1d96cb49ed46
src/tryclojure/views/home.clj
src/tryclojure/views/home.clj
(ns tryclojure.views.home (:require [noir.core :refer [defpartial defpage]] [noir.response :refer [redirect]] [hiccup.element :refer [javascript-tag link-to unordered-list]] [hiccup.page :refer [include-css include-js html5]])) (defn root-html [mode title] (html5 [:head (...
(ns tryclojure.views.home (:require [noir.core :refer [defpartial defpage]] [noir.response :refer [redirect]] [hiccup.element :refer [javascript-tag link-to unordered-list]] [hiccup.page :refer [include-css include-js html5]])) (defn root-html [mode title] (html5 [:head (...
Make title reflect whether doing code or story.
Make title reflect whether doing code or story.
Clojure
mit
maryrosecook/islaclj
a691106a011d7317879234cc94128e78a0532460
src/clj/comic_reader/core.clj
src/clj/comic_reader/core.clj
(ns comic-reader.core (:gen-class) (:require [ring.util.response :as response] [ring.middleware.params :refer [wrap-params]] [compojure.core :as c] [compojure.route :as route])) (c/defroutes routes (c/GET "/" [] "Hello World!") (c/context "/api/v1" [] (c/GET "/comic/:na...
(ns comic-reader.core (:gen-class) (:require [ring.util.response :as response] [ring.middleware.params :refer [wrap-params]] [compojure.core :as c] [compojure.route :as route])) (c/defroutes routes (c/GET "/" [] "Hello World!") (c/context "/api/v1" [] (c/GET "/comics" [...
Add an API endpoint for getting all comics
Add an API endpoint for getting all comics
Clojure
epl-1.0
RadicalZephyr/comic-reader,RadicalZephyr/comic-reader
5de139bb1fc62379ebf5fa6c6c21d04508d55944
src/clj/new_website/server.clj
src/clj/new_website/server.clj
(ns new-website.server (:require [clojure.java.io :as io] [compojure.core :refer [ANY GET PUT POST DELETE defroutes]] [compojure.route :refer [resources]] [ring.middleware.defaults :refer [wrap-defaults site-defaults]] [ring.middleware.gzip :refer [wrap-gzip]] ...
(ns new-website.server (:require [clojure.java.io :as io] [compojure.core :refer [ANY GET PUT POST DELETE defroutes]] [compojure.route :refer [resources]] [ring.middleware.defaults :refer [wrap-defaults site-defaults]] [ring.middleware.gzip :refer [wrap-gzip]] ...
Add anti forgery token route
Add anti forgery token route
Clojure
mit
chstan/personal-website,chstan/personal-website,chstan/personal-website,chstan/personal-website
4e5d5dfd63e0bb018364c2408a3a6245553f8bd5
src/incise/once.clj
src/incise/once.clj
(ns incise.once (:require (incise [load :refer [load-parsers-and-layouts]] [config :as conf] [utils :refer [delete-recursively directory?]]) [clojure.java.io :refer [file]] [incise.parsers.core :refer [parse-all-input-files]] [taoensso.timbre...
(ns incise.once (:require (incise [load :refer [load-parsers-and-layouts]] [config :as conf] [utils :refer [delete-recursively directory?]]) [clojure.java.io :refer [file]] [incise.parsers.core :refer [parse-all-input-files]] [taoensso.timbre...
Use genereated-assets-root stefon option to implement uri-root.
Use genereated-assets-root stefon option to implement uri-root.
Clojure
epl-1.0
RyanMcG/incise-core
3942d004752957f96d19a0112a3a49367d72449f
src/incise/parsers/core.clj
src/incise/parsers/core.clj
(ns incise.parsers.core (:require [incise.config :as conf] [incise.parsers.helpers :refer [extension]] [clj-time.core :as tm] [clojure.java.io :refer [file]] [clojure.string :as s]) (:import [java.io File])) (defrecord Parse [^String title ^String e...
(ns incise.parsers.core (:require [incise.config :as conf] [incise.parsers.helpers :refer [extension]] [clj-time.core :as tm] [clojure.java.io :refer [file]] [taoensso.timbre :refer [with-default-outs spy trace debug info warn error fatal]] [clojure.string :...
Modify parse to only attempt parsing when a parser exists.
Modify parse to only attempt parsing when a parser exists. Also, log the file being parsed.
Clojure
epl-1.0
RyanMcG/incise-core
46f4f8adeca9bafcb36e579c3fb9b7401c9e4b2c
lein_profiles.clj
lein_profiles.clj
{:user {:plugins [[venantius/ultra "0.4.0"]]}}
{:user {:plugins [[venantius/ultra "0.4.0"]] :ultra {:color-scheme :solarized_dark}}}
Add colour scheme to clojure repl
Add colour scheme to clojure repl
Clojure
bsd-2-clause
meshy/dotfiles,meshy/dotfiles
937418646b5f26fce0458e373a174feeb7880e57
src/circle/backend/build/template.clj
src/circle/backend/build/template.clj
(ns circle.backend.build.template (:require [circle.backend.action.load-balancer :as lb]) (:refer-clojure :exclude [find]) (:use [circle.backend.action.nodes :only (start-nodes stop-nodes)]) (:require [circle.backend.action.tag :as tag]) (:use [circle.util.except :only (throw-if-not assert!)]) (:use [circle...
(ns circle.backend.build.template (:require [circle.backend.action.load-balancer :as lb]) (:refer-clojure :exclude [find]) (:use [circle.backend.action.nodes :only (start-nodes stop-nodes)]) (:require [circle.backend.action.tag :as tag]) (:use [circle.util.except :only (throw-if-not assert!)]) (:use [circle...
Remove another rvm/trust missed in the merge
Remove another rvm/trust missed in the merge
Clojure
epl-1.0
prathamesh-sonpatki/frontend,circleci/frontend,RayRutjes/frontend,prathamesh-sonpatki/frontend,circleci/frontend,circleci/frontend,RayRutjes/frontend
0136ec48c987e813c747977fe92f0331293b7df7
config.clj
config.clj
{:wrap-reload false :db-host "localhost" :db-user nil :db-pwd nil :host "smtp.googlemail.com" :user "team@4clojure.com" :problem-submission false :advanced-user-count 50 :pass ""}
{:wrap-reload false :db-host "localhost" :db-user nil :db-pwd nil :host "smtp.googlemail.com" :user "team@4clojure.com" :problem-submission false :advanced-user-count 50 :pass "" :golfing-active true}
Enable golf leagues for everyone
Enable golf leagues for everyone
Clojure
epl-1.0
amcnamara/4clojure,amcnamara/4clojure,gfredericks/4clojure,grnhse/4clojure,tclamb/4clojure,grnhse/4clojure,4clojure/4clojure,gfredericks/4clojure,rowhit/4clojure,devn/4clojure,rowhit/4clojure,tclamb/4clojure,4clojure/4clojure,devn/4clojure
89b38aa0b6bf75111171bf3e2e2ac8a09823329b
streamparse/bootstrap/project/project.jinja2.clj
streamparse/bootstrap/project/project.jinja2.clj
(defproject {{ project_name }} "0.0.1-SNAPSHOT" :source-paths ["topologies"] :resource-paths ["_resources"] :target-path "_build" :min-lein-version "2.0.0" :jvm-opts ["-client"] :dependencies [[org.apache.storm/storm-core "0.9.4"] [com.parsely/streamparse "0.0.4-SNAPSHOT"] ...
(defproject {{ project_name }} "0.0.1-SNAPSHOT" :source-paths ["topologies"] :resource-paths ["_resources"] :target-path "_build" :min-lein-version "2.0.0" :jvm-opts ["-client"] :dependencies [[org.apache.storm/storm-core "0.9.5"] [com.parsely/streamparse "0.0.4-SNAPSHOT"] ...
Switch to using Storm 0.9.5 in quickstart
Switch to using Storm 0.9.5 in quickstart
Clojure
apache-2.0
codywilbourn/streamparse,codywilbourn/streamparse,phanib4u/streamparse,msmakhlouf/streamparse,Parsely/streamparse,eric7j/streamparse,petchat/streamparse,petchat/streamparse,hodgesds/streamparse,msmakhlouf/streamparse,crohling/streamparse,eric7j/streamparse,petchat/streamparse,msmakhlouf/streamparse,msmakhlouf/streampar...
b40fb052d4f8a669e09f80a5a7c17d5394969833
.lein/profiles.clj
.lein/profiles.clj
{:user {:plugins [[jonase/eastwood "0.2.0"] [lein-kibit "0.0.8"]]}}
{:user {:plugins [[jonase/eastwood "0.2.0"] [lein-kibit "0.0.8"] [cider/cider-nrepl "0.8.1"]]}}
Add lein CIDER nREPL plugin
Add lein CIDER nREPL plugin
Clojure
mit
lpil/vimrc
06c393cb4815b2045ae490c0fa6cbe23b2e034eb
test/logback_riemann_appender/core_test.clj
test/logback_riemann_appender/core_test.clj
(ns logback-riemann-appender.core-test (:require [clojure.test :refer :all] [clojure.tools.logging :as log]) (:import [com.github.kyleburton.logback RiemannAppender])) (deftest test-logging (is (= 0 (.get RiemannAppender/timesCalled))) (log/infof "log at info level") (is (= 1 (.get RiemannAppender/...
(ns logback-riemann-appender.core-test (:require [clojure.test :refer :all] [clojure.tools.logging :as log]) (:import [com.walmartlabs.logback RiemannAppender])) (deftest test-logging (is (= 0 (.get RiemannAppender/timesCalled))) (log/infof "log at info level") (is (= 1 (.get RiemannAppender/timesC...
Fix test failure caused by missed rename
Fix test failure caused by missed rename
Clojure
epl-1.0
walmartlabs/logback-riemann-appender
1e787c01f689c26a59ea318c809537b7d317caf2
test/desdemona/query_test.clj
test/desdemona/query_test.clj
(ns desdemona.query-test (:require [desdemona.query :as q] [clojure.test :refer [deftest is]])) (def dsl->logic @#'desdemona.query/dsl->logic) (deftest dsl->logic-tests (is (= '(l/featurec x {:ip "10.0.0.1"}) (dsl->logic '(= (:ip x) "10.0.0.1"))))) (deftest logic-query-tests (is (= [] ...
(ns desdemona.query-test (:require [desdemona.query :as q] [clojure.test :refer [deftest is]])) (def dsl->logic @#'desdemona.query/dsl->logic) (deftest dsl->logic-tests (is (= '(l/featurec x {:ip "10.0.0.1"}) (dsl->logic '(= (:ip x) "10.0.0.1"))))) (deftest dsl-query-tests (is (= [] (...
Add a simple dsl query test
Add a simple dsl query test
Clojure
epl-1.0
RackSec/desdemona
1141d5a641b4ff84662ff109350ca5d820d7ac58
src/clj/cljs_utils/caching.clj
src/clj/cljs_utils/caching.clj
(ns cljs-utils.caching (:require [clojure.java.io :as io] [cognitect.transit :as transit]) (:import [java.io ByteArrayOutputStream])) (def out-dir "resources/public/js-cache/") (def filename "core.cljs.cache.aot.json") (defn mkdirp [path] (let [dir (java.io.File. path)] (if (.exists dir) ...
(ns cljs-utils.caching (:require [clojure.java.io :as io] [cognitect.transit :as transit]) (:import [java.io ByteArrayOutputStream])) (def out-dir "resources/public/js-cache/") (def filename "core.cljs.cache.aot.json") (defn dump-core-analysis-cache [out-path] (let [cache (read-string ...
Remove checking for dir when creating core cache file
Remove checking for dir when creating core cache file
Clojure
epl-1.0
Lambda-X/cljs-repl-web,Lambda-X/cljs-repl-web,Lambda-X/cljs-repl-web
27970607ebfd9c1bef3b29977eb2a1aac9313bb3
Spraff/project.clj
Spraff/project.clj
; :mode=clojure: (defproject spraff "1.0.0-SNAPSHOT" :description "IRC bot." :dependencies [ [org.clojure/clojure "1.2.1"] [irclj "0.4.1-SNAPSHOT"] ] :dev-dependencies [ [marginalia "0.5.1"]] :main spraff.core)
; :mode=clojure: (defproject spraff "1.0.0-SNAPSHOT" :description "IRC bot." :dependencies [ [org.clojure/clojure "1.3.0"] [irclj "0.4.1-SNAPSHOT"] ] :main spraff.core)
Update to Clojure 1.3 - seems to work fine.
Update to Clojure 1.3 - seems to work fine.
Clojure
isc
pauldoo/racepoint
2caae12f4f8d86255a37eaa46b7cf0abab794098
src/clj_applenewsapi/crypto.clj
src/clj_applenewsapi/crypto.clj
(ns clj-applenewsapi.crypto (:require [pandect.algo.sha256 :refer [sha256-hmac]] [clojure.data.codec.base64 :refer [encode decode]] [clj-time.format :as tf] [clj-time.core :as t])) (defn now [] (tf/unparse (tf/formatter "Y-m-d'T'H:m:s'Z'") (t/now))) (defn canonical [method url...
(ns clj-applenewsapi.crypto (:require [pandect.algo.sha256 :refer [sha256-hmac]] [clojure.data.codec.base64 :refer [encode decode]] [clj-time.format :as tf] [clj-time.core :as t])) (defn now [] (tf/unparse (tf/formatter "YYYY-MM-dd'T'HH:mm:ss'Z'") (t/now))) (defn canonical [me...
Fix bug in creation of date
Fix bug in creation of date
Clojure
epl-1.0
reborg/applenews-api
c018987dd9aec07f15eb1504c16f01e4915379e6
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"] [net.sf.jline/jline "2.6-SNAPSHOT"] [clojure-complete "0.1.4"]] :dev-dependencies [[midje "1.3-alpha4"] ...
(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-SNAPSHOT"] [clojure-complete "0.1.4"]] :dev-dependencies [[midje "1.3-alpha4"] ...
Revert "Use the sonatype repo, now that the patches are in"
Revert "Use the sonatype repo, now that the patches are in" This reverts commit 0dc03339594466f8a4789e092c9147d1ed211280.
Clojure
epl-1.0
bbatsov/reply,trptcolin/reply,trptcolin/reply,bbatsov/reply
19859c386a01fbbdae574535575235df8c1522fe
test/klangmeister/test/processing.cljs
test/klangmeister/test/processing.cljs
(ns klangmeister.test.processing (:require [cljs.test :refer-macros [deftest is]] [klangmeister.processing :as processing] [klangmeister.framework :as framework] [klangmeister.actions :as action])) (def ignore! (constantly nil)) (deftest stopping (is (= (framework/proc...
(ns klangmeister.test.processing (:require [cljs.test :refer-macros [deftest testing is]] [klangmeister.processing :as processing] [klangmeister.framework :as framework] [klangmeister.actions :as action])) (def ignore! (constantly nil)) (deftest stopping (testing (is ...
Test the case of already being stopped.
Test the case of already being stopped.
Clojure
mit
ctford/cljs-bach,ctford/cljs-bach
fe273fa094ee7240d42157cd4048df777ed3035c
Clojure/src/snake/board_view.clj
Clojure/src/snake/board_view.clj
(ns snake.board-view (:use snake.terminal) (:require [clojure.contrib.string :as string])) (defn draw-boarder "Draws the surrounding border of the board." [{width :width height :height}] (set-cursor 0 0) (put "/") (put (string/repeat width "-")) (put "\\") (dotimes [i height] (set-cursor 0 ...
(ns snake.board-view (:use snake.terminal) (:require [clojure.contrib.string :as string])) (defn create-view "Create a new board view" [board] :not-yet-implemented) (defn draw-borders "Draws the surrounding border of the board." [{width :width height :height}] (set-cursor 0 0) (put "/") (put (s...
Use a multimethod to do the add-apple, add-snake
Use a multimethod to do the add-apple, add-snake Signed-off-by: Stefan Marr <46f1a0bd5592a2f9244ca321b129902a06b53e03@stefan-marr.de>
Clojure
mit
smarr/Snake,smarr/Snake,smarr/Snake,smarr/Snake,smarr/Snake,smarr/Snake,smarr/Snake,smarr/Snake
145c2c6746d4ca13e826a8ac65848bc37c70e414
src/bgg_graphql_proxy/main.clj
src/bgg_graphql_proxy/main.clj
(ns bgg-graphql-proxy.main (:require [io.pedestal.http :as http] [bgg-graphql-proxy.schema :refer [bgg-schema]] [bgg-graphql-proxy.server :refer [pedestal-server]])) (defn stop-server [server] (http/stop server) nil) (defn start-server "Creates and starts Pedestal server, ready to handle Graphql...
(ns bgg-graphql-proxy.main (:require [io.pedestal.http :as http] [com.walmartlabs.graphql :refer [execute]] [bgg-graphql-proxy.schema :refer [bgg-schema]] [bgg-graphql-proxy.server :refer [pedestal-server]])) (defn stop-server [server] (http/stop server) nil) (defn start-server "Creates and ...
Make it easier to run queries at REPL
Make it easier to run queries at REPL
Clojure
apache-2.0
hlship/boardgamegeek-graphql-proxy,hlship/boardgamegeek-graphql-proxy
3cf72b0ffc032f8792460c39ad114b1a522855fb
project.clj
project.clj
(defproject potoo "0.1.0-SNAPSHOT" :description "A mini twitter clone backend using clojure and datomic" :url "https://github.com/kongeor/potoo" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.7.0"] [c...
(defproject potoo "0.1.0-SNAPSHOT" :description "A mini twitter clone backend using clojure and datomic" :url "https://github.com/kongeor/potoo" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.7.0"] [c...
Remove aot compilation to prevent code refresh errors
Remove aot compilation to prevent code refresh errors
Clojure
epl-1.0
kongeor/potoo
ab41ce015faae4639a46838d3052e103cff173af
project.clj
project.clj
(defproject onyx-app/lein-template "0.9.7.0-alpha19" :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
277650e1a27a064b8cd0fc10bb63329d55ea5b02
src/mdr2/dtb.clj
src/mdr2/dtb.clj
(ns mdr2.dtb "Functions to query DAISY Talking Books" (:require [clojure.data.xml :as xml] [clojure.java.io :refer [file]]) (:import javax.sound.sampled.AudioSystem)) (defn file-audio-length "Get the length of the audio in seconds for a given audio file" [file] ;; see http://stackoverflow.com/q...
(ns mdr2.dtb "Functions to query DAISY Talking Books" (:require [clojure.data.xml :as xml] [clojure.java.io :refer [file]] [clojure.java.shell :refer [sh]] [clojure.string :refer [trim-newline]]) (:import javax.sound.sampled.AudioSystem)) (defn file-audio-length "Get the len...
Add an alternate duration detection function
Add an alternate duration detection function based on the shell command `soxi`
Clojure
agpl-3.0
sbsdev/mdr2
b1d7483ee1778c11e9416ef4b62eacb66fd87c4f
src/clojure/neko/ui/listview.clj
src/clojure/neko/ui/listview.clj
(ns neko.ui.listview "Contains utilities to work with ListView." (:import android.util.SparseBooleanArray)) (defn get-checked "Returns a vector of indices for items being checked in a ListView. The two-argument version additionally takes a sequnce of data elements of the ListView (usually the data provided t...
(ns neko.ui.listview "Contains utilities to work with ListView." (:import android.util.SparseBooleanArray)) (defn get-checked "Returns a vector of indices for items being checked in a ListView. The two-argument version additionally takes a sequnce of data elements of the ListView (usually the data provided t...
Add `set-checked!` function for ListViews
Add `set-checked!` function for ListViews
Clojure
epl-1.0
clojure-android/neko
f57380632d67e1e821192e6c26245fe9a8e6017e
src/scripts/conexp-clj.clj
src/scripts/conexp-clj.clj
;; Copyright (c) Daniel Borchmann. All rights reserved. ;; The use and distribution terms for this software are covered by the ;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) ;; which can be found in the file LICENSE at the root of this distribution. ;; By using this software in any fashi...
;; Copyright (c) Daniel Borchmann. All rights reserved. ;; The use and distribution terms for this software are covered by the ;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) ;; which can be found in the file LICENSE at the root of this distribution. ;; By using this software in any fashi...
Load clojure.repl when started as interactive repl
Load clojure.repl when started as interactive repl Signed-off-by: Daniel Borchmann <25857343a15bf1edafebc2912e82ecf775c585c1@mailbox.tu-dresden.de>
Clojure
epl-1.0
Lobage/conexp-clj,Lobage/conexp-clj,exot/conexp-clj,fcatools/conexp-clj,fcatools/conexp-clj,exot/conexp-clj,exot/conexp-clj,fcatools/conexp-clj,exot/conexp-clj,fcatools/conexp-clj,Lobage/conexp-clj,fcatools/conexp-clj,exot/conexp-clj,Lobage/conexp-clj
41bfac8a9d254c8b473ec92c677569b35b8ec71d
src/obb_api/core/auth.clj
src/obb_api/core/auth.clj
(ns obb-api.core.auth "Handles auth tokens" (:require [environ.core :refer [env]] [clj-jwt.core :refer :all] [clj-time.core :refer [now plus days]])) (def ^:private secret (or (env :obb-jwt-secret) "test")) (defn- build-claim "Build a claim to sign" [user] {:iss user :exp (plus (...
(ns obb-api.core.auth "Handles auth tokens" (:require [environ.core :refer [env]] [clj-jwt.core :refer :all] [clj-time.core :refer [now plus days]])) (def ^:private secret (or (env :obb-jwt-secret) "test")) (defn- build-claim "Build a claim to sign" [user] {:iss user :exp (plus (...
Add 10 days to test claim expiration
Add 10 days to test claim expiration
Clojure
mit
orionsbelt-battlegrounds/obb-api,weaver-viii/obb-api,orionsbelt-battlegrounds/obb-api
06b234d885839562884ebcca4d499cf9a7ab5ebd
src/cljs/funnel_front/core.cljs
src/cljs/funnel_front/core.cljs
(ns funnel-front.core (:require [om.core :as om :include-macros true] [om.dom :as dom :include-macros true] [funnel-front.components.home.main :as home] [funnel-front.stores.main-store :as store])) (enable-console-print!) (om/root home/main-comp store/app-state {:target (. ...
(ns funnel-front.core (:require [om.core :as om :include-macros true] [om.dom :as dom :include-macros true]) (:use [funnel-front.components.home.main :only [main-comp]] [funnel-front.stores.main-store :only [app-state]])) (enable-console-print!) (om/root main-comp app-state {:target (. ...
Use ":use" instead of ":require"
Use ":use" instead of ":require"
Clojure
mit
AF83/funnel-front
101214b388dd6974b27a9f4b32417918ca2fb4b8
src/cljs/leipzig_live/views.cljs
src/cljs/leipzig_live/views.cljs
(ns leipzig-live.views (:require [leipzig-live.actions :as action])) (defn home-page [handle! state] [:div [:h1 "Welcome to Leipzig Live!"] [:div [:input {:type "text" :value (:text state) :on-change #(-> % .-target .-value action/->Refresh handle!)}] [:button {:on-cli...
(ns leipzig-live.views (:require [leipzig-live.actions :as action])) (defn home-page [handle! state] [:div [:h1 "Welcome to Leipzig Live!"] [:div [:input {:type "text" :value (:text state) :on-change #(-> % .-target .-value action/->Refresh handle!)}] [:button {:on-cli...
Fix the printing of the result.
Fix the printing of the result.
Clojure
mit
ctford/leipzig-live,ctford/cljs-bach,ctford/cljs-bach
b4e2277a07ba32e6511daf27824622ebaf940b05
frontend/src/cruncher/core.cljs
frontend/src/cruncher/core.cljs
(ns cruncher.core (:require [om.next :as om :refer-macros [defui]] [om.dom :as dom :include-macros true] [goog.dom :as gdom] [cruncher.data.pokemon] [cruncher.communication.auth] [cruncher.utils.extensions] [cruncher.utils.lib :as lib] ...
(ns cruncher.core (:require [om.next :as om :refer-macros [defui]] [om.dom :as dom :include-macros true] [goog.dom :as gdom] [cruncher.data.pokemon] [cruncher.communication.auth] [cruncher.utils.extensions] [cruncher.utils.lib :as lib] ...
Include selections for auto reloading
Include selections for auto reloading
Clojure
mit
Phaetec/pogo-cruncher,Phaetec/pogo-cruncher,Phaetec/pogo-cruncher
bf2ed14113f2630284df742201e1b4ec6bfecc90
src/clojure/fault/service.clj
src/clojure/fault/service.clj
(ns fault.service (:import (fault ServiceExecutor) (fault.circuit CircuitBreaker BreakerConfig BreakerConfig$BreakerConfigBuilder) (clojure.lang ILookup))) (set! *warn-on-reflection* true) (deftype CLJBreaker [^CircuitBreaker breaker] ILookup (valAt [this key] (.valAt this key nil)) (val...
(ns fault.service (:import (fault ServiceExecutor) (fault.circuit CircuitBreaker BreakerConfig BreakerConfig$BreakerConfigBuilder) (clojure.lang ILookup))) (set! *warn-on-reflection* true) (deftype CLJBreaker [^CircuitBreaker breaker] ILookup (valAt [this key] (.valAt this key nil)) (val...
Change name to match clojure style
Change name to match clojure style
Clojure
apache-2.0
tbrooks8/Beehive
1f9a65b990c5814ea048861d53762f4e1d8fe053
src/clj/comic_reader/scrape.clj
src/clj/comic_reader/scrape.clj
(ns comic-reader.scrape (:require [clojure.string :refer [trim]] [net.cgrand.enlive-html :as html]) (:import java.net.URL)) (def sites [{:name "Manga Fox" :url "http://mangafox.me/manga/" :selector [:div.manga_list :ul :li :a] :normalize (fn [{[name] :content {url :hr...
(ns comic-reader.scrape (:require [clojure.string :as s] [net.cgrand.enlive-html :as html]) (:import java.net.URL)) (def sites [(let [canonical-url "http://mangafox.me" manga-url (format "%s/manga/" canonical-url) manga-pattern (re-pattern (str manga-url "(.*?)/"))] {:name "Man...
Add a url->feed function to manga fox data
Add a url->feed function to manga fox data
Clojure
epl-1.0
RadicalZephyr/comic-reader,RadicalZephyr/comic-reader
7a643a1c066db8ba1e9e5b645a53db7092373023
examples/simple/project.clj
examples/simple/project.clj
(defproject simple "0.10.10-SNAPSHOT" :dependencies [[org.clojure/clojure "1.10.1"] [org.clojure/clojurescript "1.10.520" :exclusions [com.google.javascript/closure-compiler-unshaded org.clojure/google-closure-library]] [thhell...
(defproject simple "0.10.10-SNAPSHOT" :dependencies [[org.clojure/clojure "1.10.1"] [org.clojure/clojurescript "1.10.520" :exclusions [com.google.javascript/closure-compiler-unshaded org.clojure/google-closure-library]] [thhell...
Add more paths to :clean-targets for simple example
Add more paths to :clean-targets for simple example
Clojure
mit
Day8/re-frame,Day8/re-frame,Day8/re-frame
a28e929921e25db6a47bad16b3a88927325cc932
examples/simple/project.clj
examples/simple/project.clj
(defproject simple "lein-git-inject/version" :dependencies [[org.clojure/clojure "1.10.1"] [org.clojure/clojurescript "1.10.520" :exclusions [com.google.javascript/closure-compiler-unshaded org.clojure/google-closure-library ...
(defproject simple "lein-git-inject/version" :dependencies [[org.clojure/clojure "1.10.1"] [org.clojure/clojurescript "1.10.597" :exclusions [com.google.javascript/closure-compiler-unshaded org.clojure/google-closure-library ...
Upgrade simple example ClojureScript to 1.10.597
Upgrade simple example ClojureScript to 1.10.597
Clojure
mit
Day8/re-frame,Day8/re-frame,Day8/re-frame
a76e877d785f3e242b2e21dafb8fbc74ff6fc0f5
test/doctopus/test_database.clj
test/doctopus/test_database.clj
(ns doctopus.test-database (:require [clojure.test :refer :all] [doctopus.configuration :refer [server-config]] [doctopus.db :refer :all] [doctopus.db.schema :refer :all] [korma.db :refer [defdb postgres]] [clojure.test :refer :all] [doctopus ...
(ns doctopus.test-database (:require [clojure.test :refer :all] [doctopus.configuration :refer [server-config]] [doctopus.db :refer :all] [doctopus.db.schema :refer :all] [korma.db :refer [defdb postgres]] [clojure.test :refer :all] [doctopus ...
Change the fixture to do a full pave-and-re-bootstrap before and after ever set of tests.
Change the fixture to do a full pave-and-re-bootstrap before and after ever set of tests.
Clojure
epl-1.0
Gastove/doctopus
fa2958bdbf2799217ef87666db0fc8ce97c22abb
src/qcast/util.clj
src/qcast/util.clj
(ns qcast.util (:require [clojure.string :refer [split]])) ;;; Interface ;; Core (defn parse-int [s] (when (string? s) (Long/parseLong s))) ;; Time (defn interspaced "Repeatedly execute task-fn following a t ms sleep. If arg is given, pass arg to the initial execution and its result to subsequent exe...
(ns qcast.util (:require [clojure.string :refer [split]])) ;;; Interface ;; Core (defn parse-int [s] (when (string? s) (Long/parseLong s))) ;; Time (defn interspaced "Repeatedly execute task-fn following a t ms sleep. If arg is given, pass arg to the initial execution and its result to subsequent exe...
Fix bug not reporting time correctly for videos over one hour
Fix bug not reporting time correctly for videos over one hour
Clojure
epl-1.0
djui/qcast,i-s-o-g-r-a-m/qcast,i-s-o-g-r-a-m/qcast,djui/qcast
ef777511dc113454a5f9ef683ae539356ffbca7e
src/status_im/utils/build.clj
src/status_im/utils/build.clj
(ns status-im.utils.build (:require [cljs.analyzer :as analyzer])) (defn warning-handler [warning-type env extra] (when (warning-type analyzer/*cljs-warnings*) (when-let [s (analyzer/error-message warning-type extra)] (binding [*out* *err*] (println (analyzer/message env (str "\u001B[31mWARNING\u...
(ns status-im.utils.build (:require [cljs.analyzer :as analyzer])) ;; Some warnings are unavoidable due to dependencies. For example, reagent 0.6.0 ;; has a warning in its util.cljs namespace. Adjust this as is necessary and ;; unavoidable warnings arise. (def acceptable-warning? #{ "Protocol IFn implements me...
Enable treating warnings as errors and list acceptable warnings
Enable treating warnings as errors and list acceptable warnings
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
a16f33cd191cb83c212053fd22e250483a4b7dcf
test/magician/string_test.clj
test/magician/string_test.clj
(ns magician.string-test (:require [clojure.test :refer :all] [magician.string :refer :all])) (deftest palindrome?-test (is (palindrome? "")) (is (palindrome? "a")) (is (palindrome? "deed")) (is (palindrome? "racecar")) (is (not (palindrome? "cats"))) (is (not (palindrome? "no"))))
(ns magician.string-test (:require [clojure.test :refer :all] [magician.string :refer :all])) (deftest palindrome?-test "determines if it is a palindrome" (is (palindrome? "")) (is (palindrome? "a")) (is (palindrome? "deed")) (is (palindrome? "racecar")) (is (not (palindrome? "cats"))) (is...
Add a missing test description
Add a missing test description
Clojure
epl-1.0
nicolasmccurdy/magician-clojure,nicolasmccurdy/magician-clojure
f74cf595a1c080f9741fb74ddfa4ebf7fd9545f6
src/cljs/decktouch/card-data.cljs
src/cljs/decktouch/card-data.cljs
(ns decktouch.card-data) (defonce cards (atom [ {:name "Bile Blight" :mana-cost [:B :B]} {:name "Seeker of the Way" :mana-cost [:1 :W]} {:name "Magma Jet" :mana-cost [:1 :R]}]))
(ns decktouch.card-data) (def cards [ {:name "Bile Blight" :mana-cost [:B :B]} {:name "Seeker of the Way" :mana-cost [:1 :W]} {:name "Magma Jet" :mana-cost [:1 :R]}])
Change cards so that its not an atom
Change cards so that its not an atom
Clojure
epl-1.0
Pance/decktouch,Pance/decktouch
2c3d17575ab7148a3c9c33d67baeffe70e68706b
src/bytebuf/core.cljx
src/bytebuf/core.cljx
(ns bytebuf.core (:refer-clojure :exclude [read byte float double short long bytes]) (:require [bytebuf.spec :as spec] [bytebuf.buffer :as buffer] [bytebuf.proto :as proto] [potemkin.namespaces :refer [import-vars]])) (import-vars [bytebuf.spec compose-type spec string ...
(ns bytebuf.core (:refer-clojure :exclude [read byte float double short long bytes]) (:require [bytebuf.spec :as spec] [bytebuf.buffer :as buffer] [bytebuf.proto :as proto])) (def compose-type spec/compose-type) (def spec spec/spec) ;; (def string spec/string) ;; (def string* spec/string*) ...
Remove usage of potemkin (for cljs compatibility).
Remove usage of potemkin (for cljs compatibility).
Clojure
bsd-2-clause
mbjarland/octet,funcool/octet,funcool/octet,mbjarland/octet
b63259a9c4366126050ba706227e7e796e58d84d
project.clj
project.clj
(defproject icecap "0.1.0-SNAPSHOT" :description "A secure capability URL system" :url "https://github.com/lvh/icecap" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.6.0"] ;; Handlers ...
(defproject icecap "0.1.0-SNAPSHOT" :description "A secure capability URL system" :url "https://github.com/lvh/icecap" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.6.0"] ;; Handlers ...
Improve schema dependency on old Clojure
Improve schema dependency on old Clojure
Clojure
epl-1.0
Hatnik/icecap,lvh/icecap
e667315609b24a95a08409fb95f84b757a73fa2a
src/dragon/blog/content/core.clj
src/dragon/blog/content/core.clj
(ns dragon.blog.content.core (:require [dragon.blog.content.rfc5322 :as rfc5322] [dragon.event.system.core :as event] [dragon.event.tag :as tag] [trifl.fs :as fs])) (defn parse [system file-obj] (event/publish system tag/read-source-pre {:file file-obj}) (let [file-type (fs/...
(ns dragon.blog.content.core (:require [clojure.string :as string] [dragon.blog.content.rfc5322 :as rfc5322] [dragon.event.system.core :as event] [dragon.event.tag :as tag] [taoensso.timbre :as log] [trifl.fs :as fs])) (defn parse-content-type [content-ty...
Allow the content type to be multi-valued.
Allow the content type to be multi-valued.
Clojure
apache-2.0
clojusc/dragon
540c45fa65621296306181a96a91b379fded7f9f
src/verbose_spoon/model/core.clj
src/verbose_spoon/model/core.clj
(ns verbose-spoon.model.core (:require [verbose-spoon.model.queries :as q])) (defn fetch-major-list [] (map :major_name (q/major-query))) (defn fetch-category-list [] (map :category_name (q/category-query))) (defn fetch-designation-list [] (map :designation_name (q/designation-query))) ;; name is wrong (defn k...
(ns verbose-spoon.model.core (:require [verbose-spoon.model.queries :as q])) (defn fetch-major-list [] (map :major_name (q/major-query))) (defn fetch-category-list [] (map :name (q/category-query))) (defn fetch-designation-list [] (map :name (q/designation-query))) ;; name is wrong (defn key-is-category [[k v]...
Correct fetching functions to account for column name changes
Correct fetching functions to account for column name changes
Clojure
epl-1.0
lucasdellabella/verbose-spoon,lucasdellabella/verbose-spoon
60877326b711ce0a31e4fb770615e97e9efe73a6
doc/.template/layouts/default.clj
doc/.template/layouts/default.clj
; @title default title ; @format html5 [:head [:meta {:charset (:charset site)}] [:meta {:name "viewport" :content "width=device-width, initiali-scale=1.0, user-scalable=yes"}] [:title (if (= (:title site) "home") (:site-title site) (str (:site-title site) " - " (:title site)))] [:link {:r...
; @title default title ; @format html5 [:head [:meta {:charset (:charset site)}] [:meta {:name "viewport" :content "width=device-width, initial-scale=1.0, user-scalable=yes"}] [:title (if (= (:title site) "home") (:site-title site) (str (:site-title site) " - " (:title site)))] [:link {:re...
Fix typo in <meta> tag in doc layout
Fix typo in <meta> tag in doc layout
Clojure
epl-1.0
liquidz/misaki
7936ac38d22c3db945230d2091d11f4ab0b9e9c6
src/clj/made_merits/routes/leaderboard.clj
src/clj/made_merits/routes/leaderboard.clj
(ns made-merits.routes.leaderboard (:require [made-merits.layout :as layout] [compojure.core :refer [defroutes GET POST]] [ring.util.http-response :as response] [made-merits.db.core :as db] [clojure.java.io :as io])) (defn leaderboard [] (layout/render "leaderboa...
(ns made-merits.routes.leaderboard (:require [made-merits.layout :as layout] [compojure.core :refer [defroutes GET POST]] [ring.util.http-response :as response] [made-merits.service.winner-calculator :as winner-calculator] [made-merits.db.core :as db] [cloju...
Use new service to identify the king.
Use new service to identify the king.
Clojure
mit
emileswarts/made-merits,emileswarts/made-merits
850b7132f7ff6fec211be63d33d22b8b3774171c
examples/todomvc/project.clj
examples/todomvc/project.clj
(defproject todomvc-re-frame "0.10.10-SNAPSHOT" :dependencies [[org.clojure/clojure "1.10.1"] [org.clojure/clojurescript "1.10.520" :exclusions [com.google.javascript/closure-compiler-unshaded org.clojure/google-closure-library]] ...
(defproject todomvc-re-frame "0.10.10-SNAPSHOT" :dependencies [[org.clojure/clojure "1.10.1"] [org.clojure/clojurescript "1.10.520" :exclusions [com.google.javascript/closure-compiler-unshaded org.clojure/google-closure-library]] ...
Remove .shadow-cljs cache from :clean-targets in todomvc example
Remove .shadow-cljs cache from :clean-targets in todomvc example Co-Authored-By: Thomas Heller <8aa6dfc21167f676c4daceadf90decc7d87844fc@gmail.com>
Clojure
mit
Day8/re-frame,Day8/re-frame,Day8/re-frame
eb6f0e05eb28bb9521519d168b2b18f83e6d0c91
clojure/lein.symlink/profiles.clj
clojure/lein.symlink/profiles.clj
{:user {:plugins [[lein-difftest "1.3.8"] [lein-marginalia "0.7.1"] [lein-pprint "1.1.1"] [lein-swank "1.4.4"]] :search-page-size 30}}
{:user {:plugins [[lein-difftest "1.3.8"] [lein-marginalia "0.7.1"] [lein-pprint "1.1.1"] [slamhound "1.3.1"] [lein-swank "1.4.4"]] :search-page-size 30}}
Add slamhound to lein plugins
Add slamhound to lein plugins
Clojure
mit
jcf/ansible-dotfiles,jcf/ansible-dotfiles,jcf/ansible-dotfiles,jcf/ansible-dotfiles,jcf/ansible-dotfiles
426be629e0ca80ff18b4bc789268cf4cc9ef83a4
src/cljs/decktouch/card-data.cljs
src/cljs/decktouch/card-data.cljs
(ns decktouch.card-data (:require [reagent.core :as reagent :refer [atom]] [ajax.core :refer [POST]] [cljs.core.async :refer [chan >! <!]]) (:require-macros [cljs.core.async.macros :refer [go]])) (defn get-card-list-from-storage [] "Get the list of cards from localStorage, or [] if it is ...
(ns decktouch.card-data (:require [reagent.core :as reagent :refer [atom]] [ajax.core :refer [POST]] [cljs.core.async :refer [chan >! <!]]) (:require-macros [cljs.core.async.macros :refer [go]])) (defn get-card-list-from-storage [] "Get the list of cards from localStorage, or [] if it is ...
Change card list to a vector
Change card list to a vector
Clojure
epl-1.0
Pance/decktouch,Pance/decktouch
045626168959ccc791396902816195054d4755c0
src/joiner/design.clj
src/joiner/design.clj
(ns joiner.design (:use com.ashafa.clutch) (:use joiner.core) (:use joiner.resource)) (defn- load-view [path] (let [loader-fn (fn[sum value] (let [file-content (load-resource (str path value ".js"))] (if (nil? file-content) sum (assoc sum (keyword value) file-content))))] (reduc...
(ns joiner.design (:use com.ashafa.clutch) (:use joiner.core) (:use joiner.resource)) (defn- load-view [path] (let [loader-fn (fn[sum value] (let [file-content (load-resource (str path value ".js"))] (if (nil? file-content) sum (assoc sum (keyword value) file-content))))] (reduc...
Remove view if no map or reduce function is found
Remove view if no map or reduce function is found
Clojure
bsd-2-clause
jalpedersen/couch-joiner
f6ef5e16068f9d77501c80c271669fdb2c11927b
src/photon/config.clj
src/photon/config.clj
(ns photon.config (:require [clojure.tools.logging :as log])) (defn load-props "Receives a path and loads the Java properties for the file represented by the path inside the classpath (typically, a resource)." [resource-name] (do (let [f (java.io.File. "./config.properties") config-file (if (.exi...
(ns photon.config (:require [clojure.tools.logging :as log])) (defn load-props "Receives a path and loads the Java properties for the file represented by the path inside the classpath (typically, a resource)." [resource-name] (do (let [f (java.io.File. "./config.properties") config-file (if (.exi...
Remove confusing stack trace when loading props
Remove confusing stack trace when loading props
Clojure
apache-2.0
microserviceux/photon,microserviceux/photon,microserviceux/photon
90d3a2518dacff272c79663608d89ec8a1044a90
src/cljs/cmr/client/http/impl.cljs
src/cljs/cmr/client/http/impl.cljs
(ns cmr.client.http.impl (:require [cljs-http.client :as http] [cljs.core.async :as async] [cmr.client.common.util :as util]) (:refer-clojure :exclude [get]) (:require-macros [cljs.core.async.macros :refer [go go-loop]])) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;; ...
(ns cmr.client.http.impl (:require [cljs-http.client :as http] [cljs.core.async :as async] [cmr.client.common.util :as util]) (:refer-clojure :exclude [get]) (:require-macros [cljs.core.async.macros :refer [go go-loop]])) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;; ...
Split out transducers based on results.
Split out transducers based on results.
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
82f75e197506331ef021c1057339f056262e050d
src/grafter/rdf/ontologies/rdf.clj
src/grafter/rdf/ontologies/rdf.clj
(ns grafter.rdf.ontologies.rdf "Some convenience terms for the RDF and RDFS vocabularies." (:use grafter.rdf.ontologies.util)) (def rdf (prefixer "http://www.w3.org/1999/02/22-rdf-syntax-ns#")) (def rdfs (prefixer "http://www.w3.org/2000/01/rdf-schema#")) (def rdf:a (rdf "type")) (def rdf:Property (rdf "Property...
(ns grafter.rdf.ontologies.rdf "Some convenience terms for the RDF and RDFS vocabularies." (:require grafter.rdf.ontologies.util :refer :all)) (def rdf (prefixer "http://www.w3.org/1999/02/22-rdf-syntax-ns#")) (def rdfs (prefixer "http://www.w3.org/2000/01/rdf-schema#")) (def rdf:a (rdf "type")) (def rdf:Propert...
Use refer all instead of :use
Use refer all instead of :use
Clojure
epl-1.0
Swirrl/grafter,Swirrl/grafter
054427625977a2671e7ca049fe9a34e18a40236f
env/dev/cljs/cglossa/dev.cljs
env/dev/cljs/cglossa/dev.cljs
(ns cglossa.dev (:require [cglossa.core :as core] [figwheel.client :as figwheel :include-macros true] [cljs.core.async :refer [put!]] [weasel.repl :as weasel])) (enable-console-print!) (figwheel/watch-and-reload :websocket-url "ws://localhost:3449/figwheel-ws" :jsload-callbac...
(ns cglossa.dev (:require [cglossa.core :as core] [reagent.core :refer [force-update-all]] [figwheel.client :as figwheel :include-macros true] [cljs.core.async :refer [put!]] [weasel.repl :as weasel])) (enable-console-print!) (figwheel/watch-and-reload :websocket-ur...
Call force-update-all on file saved
Call force-update-all on file saved
Clojure
mit
textlab/glossa,textlab/glossa,textlab/glossa,textlab/glossa,textlab/glossa
dfb2d5a16b8366605f35b079a07f74e89f62e346
src/cider_ci/utils/rdbms/json.clj
src/cider_ci/utils/rdbms/json.clj
; Copyright (C) 2013, 2014 Dr. Thomas Schank (DrTom@schank.ch, Thomas.Schank@algocon.ch) ; Licensed under the terms of the GNU Affero General Public License v3. ; See the "LICENSE.txt" file provided with this software. (ns cider-ci.utils.rdbms.json (:require [clojure.java.jdbc :as jdbc] [clojure.data.js...
; Copyright (C) 2013, 2014 Dr. Thomas Schank (DrTom@schank.ch, Thomas.Schank@algocon.ch) ; Licensed under the terms of the GNU Affero General Public License v3. ; See the "LICENSE.txt" file provided with this software. (ns cider-ci.utils.rdbms.json (:require [clj-logging-config.log4j :as logging-config] [c...
Extend protocol IResultSetReadColumn to handle pg arrays
Extend protocol IResultSetReadColumn to handle pg arrays
Clojure
agpl-3.0
cider-ci/cider-ci_server,cider-ci/cider-ci_server,cider-ci/cider-ci_server,cider-ci/cider-ci_clj-utils
d21d3771c37a4e8b36e490dd48290107434220de
test/circle/web/test_web.clj
test/circle/web/test_web.clj
(ns circle.web.test-web (:require circle.init) (:require [clj-http.client :as http]) (:require [clj-http.core :as core]) (:use midje.sweet)) (circle.init/init) (def site "http://localhost:8080") (fact "/ returns 200" (let [response (http/get site)] response => (contains {:status 200 :body #"Sign up"}...
(ns circle.web.test-web (:require circle.init) (:require [clj-http.client :as http]) (:require [clj-http.core :as core]) (:use midje.sweet)) (circle.init/init) (def site "http://localhost:8080") (fact "/ returns 200" (let [response (http/get site) body (response :body)] response => (contains {:...
Test the web site bodies more.
Test the web site bodies more.
Clojure
epl-1.0
prathamesh-sonpatki/frontend,RayRutjes/frontend,circleci/frontend,prathamesh-sonpatki/frontend,RayRutjes/frontend,circleci/frontend,circleci/frontend
92df76fca249bcaac6f5f33ac338d5b84b86dc40
src/sidequarter_frontend/core.cljs
src/sidequarter_frontend/core.cljs
(ns ^:figwheel-always sidequarter-frontend.core (:require[om.core :as om :include-macros true] [om.dom :as dom :include-macros true])) (enable-console-print!) (println "Edits to this text should show up in your developer console.") ;; define your app data so that it doesn't get over-written on relo...
(ns ^:figwheel-always sidequarter-frontend.core (:require-macros [cljs.core.async.macros :refer [go]]) (:require[om.core :as om :include-macros true] [om.dom :as dom :include-macros true] [cljs.core.async :refer [<!]] [sidequarter-frontend.api :as api])) (enable-console-p...
Add Om components for building a list of available sidekiqs
Add Om components for building a list of available sidekiqs
Clojure
epl-1.0
matsrietdijk/sidequarter-frontend
73ca11a88a4dbf1ac5808c043a8cf5c323a4af48
src/incise/once/fixtures/core.clj
src/incise/once/fixtures/core.clj
(ns incise.once.fixtures.core (:require [incise.load :refer [load-once-fixtures]] [taoensso.timbre :refer [spy]])) (defonce fixtures (atom {})) (defn register "Register a fixture for once with the given rank. Rank should be a number. The higher the number the later the fixture is executed. (A fixtur...
(ns incise.once.fixtures.core (:require [incise.load :refer [load-once-fixtures]] [taoensso.timbre :refer [spy]])) (defonce fixtures (atom {})) (defmacro register "Register a fixture for once with the given rank. Rank should be a number. The higher the number the later the fixture is executed. (A fi...
Make fixtures register a macro and register by var instead of fn.
Make fixtures register a macro and register by var instead of fn.
Clojure
epl-1.0
RyanMcG/incise-core
875f91c3e8ffd9981daaa3b822ada63eaa19c9c6
src/clojure/buddy/core/keys.clj
src/clojure/buddy/core/keys.clj
;; Copyright 2013 Andrey Antukh <niwi@niwi.be> ;; ;; Licensed under the Apache License, Version 2.0 (the "License") ;; you may not use this file except in compliance with the License. ;; You may obtain a copy of the License at ;; ;; http://www.apache.org/licenses/LICENSE-2.0 ;; ;; Unless required by applicable law ...
;; Copyright 2013 Andrey Antukh <niwi@niwi.be> ;; ;; Licensed under the Apache License, Version 2.0 (the "License") ;; you may not use this file except in compliance with the License. ;; You may obtain a copy of the License at ;; ;; http://www.apache.org/licenses/LICENSE-2.0 ;; ;; Unless required by applicable law ...
Add implementation for bytes[] on SecretKey protocol.
Add implementation for bytes[] on SecretKey protocol.
Clojure
apache-2.0
funcool/buddy
fa96e8b36597c0ce75b9d4a8b174d96a29178d83
src/com/puppetlabs/cmdb/query/population.clj
src/com/puppetlabs/cmdb/query/population.clj
(ns com.puppetlabs.cmdb.query.population (:use [com.puppetlabs.jdbc :only [query-to-vec]])) (defn correlate-exported-resources [] "Fetch a map of {exported-resource [#{exporting-nodes} #{collecting-nodes}]}, to correlate the nodes exporting and collecting resources." (query-to-vec (str "SELECT DISTINCT expor...
(ns com.puppetlabs.cmdb.query.population (:use [com.puppetlabs.jdbc :only [query-to-vec]])) (defn correlate-exported-resources "Fetch a map of {exported-resource [#{exporting-nodes} #{collecting-nodes}]}, to correlate the nodes exporting and collecting resources." [] (query-to-vec (str "SELECT DISTINCT expor...
Move docstring to proper location
Move docstring to proper location
Clojure
apache-2.0
kbarber/puppetdb,ajroetker/puppetdb,puppetlabs/puppetdb,grimradical/puppetdb,jantman/puppetdb,github/puppetlabs-puppetdb,mullr/puppetdb,wkalt/puppetdb,highb/puppetdb,johnduarte/puppetdb,puppetlabs/puppetdb,senior/puppetdb,johnduarte/puppetdb,rbrw/puppetdb,shrug/puppetdb,github/puppetlabs-puppetdb,shrug/puppetdb,puppetl...
31c50969a5d3e10e44b255956f48e4cac55d734c
src/parbench/requests_state.clj
src/parbench/requests_state.clj
(ns parbench.requests-state) (defrecord RequestsState [requests concurrency grid]) (defn create-blank [requests concurrency url-generator] "Creates a blank representation of request state" (let [grid (for [row (range concurrency)] (for [col (range requests)] (ref {:y row :...
(ns parbench.requests-state) (defn create-blank [requests concurrency url-generator] "Creates a blank representation of request state" (let [grid (for [row (range concurrency)] (for [col (range requests)] (ref {:y row :x col :url (url-genera...
Convert requests-state to a plain hash rather than a record
Convert requests-state to a plain hash rather than a record
Clojure
epl-1.0
terrancesnyder/engulf,terrancesnyder/engulf,andrewvc/engulf,terrancesnyder/engulf,flores/engulf,andrewvc/engulf,flores/engulf,andrewvc/engulf,flores/engulf
649ad1b2db1c9955acedbc54fd25f4d352f19b06
src-cljs/frontend/models/test.cljs
src-cljs/frontend/models/test.cljs
(ns frontend.models.test (:require [clojure.string :as string] [frontend.state :as state] [frontend.utils :as utils :include-macros true] [goog.string :as gstring] goog.string.format)) (defn source [test] (or (:source_type test) ;; TODO: this can be removed onc...
(ns frontend.models.test (:require [clojure.string :as string] [frontend.state :as state] [frontend.utils :as utils :include-macros true] [goog.string :as gstring] goog.string.format)) (defn source [test] (or (:source_type test) ;; TODO: this can be removed onc...
Copy format function from backend
Copy format function from backend
Clojure
epl-1.0
RayRutjes/frontend,RayRutjes/frontend,circleci/frontend,prathamesh-sonpatki/frontend,prathamesh-sonpatki/frontend,circleci/frontend,circleci/frontend
1078b84b5aa21461242eac7cd708004097ae1eea
src/clj/cglossa/db.clj
src/clj/cglossa/db.clj
(ns cglossa.db)
(ns cglossa.db (:require [clojure.string :as str] [clojurewerkz.ogre.core :as q]) (:import (com.tinkerpop.blueprints.impls.orient OrientGraphFactory) (com.orientechnologies.orient.core.sql OCommandSQL))) (defn get-graph ([] (get-graph true)) ([transactional?] (let [factory (OrientGrap...
Define query function for running SQL queries
Define query function for running SQL queries
Clojure
mit
textlab/glossa,textlab/glossa,textlab/glossa,textlab/glossa,textlab/glossa
6bee5c3a635eaf99ac0a051bd801f419a711b285
src/day8/re_frame/trace/styles.cljs
src/day8/re_frame/trace/styles.cljs
(ns day8.re-frame.trace.styles (:require-macros [day8.re-frame.trace.macros :as macros])) (def panel-styles (macros/slurp-macro "day8/re_frame/css/main.css"))
(ns day8.re-frame.trace.styles (:require-macros [day8.re-frame.trace.macros :as macros])) (def panel-styles (macros/slurp-macro "day8/re_frame/trace/main.css"))
Use the correct location for getting CSS
Use the correct location for getting CSS
Clojure
mit
Day8/re-frame-trace