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
e13bef9edc7380680f9dee32c62b6ebb9d6982d4
src/braid/core/client/invites/views/invite_page_styles.cljs
src/braid/core/client/invites/views/invite_page_styles.cljs
(ns braid.core.client.invites.views.invite-page-styles (:require [braid.core.client.ui.styles.mixins :as mixins] [braid.core.client.ui.styles.vars :as vars] [garden.units :refer [rem em px]])) (def invite-page [:>.page.invite [:>.content mixins/flex {:flex-direction "column" :align-items "...
(ns braid.core.client.invites.views.invite-page-styles (:require [braid.core.client.ui.styles.mixins :as mixins] [braid.core.client.ui.styles.vars :as vars] [garden.units :refer [rem em px]])) (def invite-page [:>.page.invite [:>.content (mixins/settings-container-style) [:>.invite (mixins...
Use newly-factored mixins to share styles to invite page
Use newly-factored mixins to share styles to invite page
Clojure
agpl-3.0
rafd/braid,braidchat/braid,rafd/braid,braidchat/braid
4b5912a01970ebf8c4a3033e1239bb252bfaf845
src/clojure/com/hypirion/primes.clj
src/clojure/com/hypirion/primes.clj
(ns com.hypirion.primes (:import [com.hypirion.primes Primes]) (:refer-clojure :exclude [take get])) (defn prime? [n] (Primes/isPrime n)) (defn take [n] (Primes/take n)) (defn get [n] (Primes/get n)) (defn take-below [n] (Primes/takeUnder n))
(ns com.hypirion.primes (:import [com.hypirion.primes Primes]) (:refer-clojure :exclude [take get])) (defn prime? [^long n] (Primes/isPrime n)) (defn take [n] (Primes/take n)) (defn get [n] (Primes/get n)) (defn take-below [n] (Primes/takeUnder n))
Add type hint on prime?
Add type hint on prime?
Clojure
epl-1.0
hyPiRion/primes
8770dafed2f139486a5390cb8bf81983972d7666
project.clj
project.clj
(defproject org.onyxplatform/onyx-bookkeeper "0.8.1.0-alpha8" :description "Onyx plugin for BookKeeper" :url "https://github.com/onyx-platform/onyx-bookkeeper" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :repositories {"snapshots" {:url "https://clojars...
(defproject org.onyxplatform/onyx-bookkeeper "0.8.1.0-SNAPSHOT" :description "Onyx plugin for BookKeeper" :url "https://github.com/onyx-platform/onyx-bookkeeper" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :repositories {"snapshots" {:url "https://cloja...
Prepare for next release cycle.
Prepare for next release cycle.
Clojure
epl-1.0
onyx-platform/onyx-bookkeeper
4e8f306666629d9f27358b81a318d5cdef4f78cf
project.clj
project.clj
(defproject onyx-app/lein-template "0.9.8.0-alpha1" :description "Onyx Leiningen application template" :url "https://github.com/onyx-platform/onyx-template" :license {:name "MIT License" :url "http://choosealicense.com/licenses/mit/#"} :repositories {"snapshots" {:url "https://clojars.org/repo" ...
(defproject onyx-app/lein-template "0.9.8.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
67745d6e16b4f952626952bae9ff74d4653f5b8c
project.clj
project.clj
(defproject tetris "0.1.0-SNAPSHOT" :description "Tetris implementation in ClojureScript." :url "http://tetris.temochka.com/" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.6.0"] [org.clojure/clojures...
(defproject tetris "0.1.0-SNAPSHOT" :description "Tetris implementation in ClojureScript." :url "http://tetris.temochka.com/" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.6.0"] [org.clojure/clojures...
Add :output-dir build property for dev builds.
Add :output-dir build property for dev builds.
Clojure
epl-1.0
temochka/tetris-cljs,temochka/tetris-cljs
1fe72b887e70670cdf754aa2243941cba0e45cd1
src/leiningen/new/onyx_app/src/onyx_app/launcher/aeron_media_driver.clj
src/leiningen/new/onyx_app/src/onyx_app/launcher/aeron_media_driver.clj
(ns {{app-name}}.launcher.aeron-media-driver (:gen-class) (:require [clojure.core.async :refer [chan <!!]]) (:import [uk.co.real_logic.aeron Aeron$Context] [uk.co.real_logic.aeron.driver MediaDriver MediaDriver$Context ThreadingMode])) (defn -main [& args] (let [ctx (doto (MediaDriver$Context.) ) ...
(ns {{app-name}}.launcher.aeron-media-driver (:gen-class) (:require [clojure.core.async :refer [chan <!!]]) (:import [uk.co.real_logic.aeron Aeron$Context] [uk.co.real_logic.aeron.driver MediaDriver MediaDriver$Context ThreadingMode])) (defn -main [& [threading-mode]] (let [threading-mode (cond (or ...
Allow driver mode to be supplied via command line
Allow driver mode to be supplied via command line
Clojure
mit
onyx-platform/onyx-template
2b854cb228e9910c46655eaf6e19c8fdac8ce2b5
src/cavm/query/functions.clj
src/cavm/query/functions.clj
(ns cavm.query.functions (:use clojure.core.matrix) (:use clojure.core.matrix.operators) (:refer-clojure :exclude [* - + == /]) (:gen-class)) (set-current-implementation :vectorz) (defn meannan1d [m] (let [NaN Double/NaN [sum n] (ereduce (fn [[acc cnt] x] (if (Double/isNaN x) [acc...
(ns cavm.query.functions (:use clojure.core.matrix) (:use clojure.core.matrix.operators) (:refer-clojure :exclude [* - + == /]) (:gen-class)) (set-current-implementation :vectorz) (defn meannan1d [m] (let [NaN Double/NaN [sum n] (ereduce (fn [[acc cnt] x] (if (Double/isNaN x) [acc...
Add boolean operators. Still need to extend these for matrices.
Add boolean operators. Still need to extend these for matrices.
Clojure
apache-2.0
ucscXena/ucsc-xena-server,ucscXena/ucsc-xena-server,ucscXena/ucsc-xena-server,ucscXena/ucsc-xena-server,acthp/ucsc-xena-server,acthp/ucsc-xena-server,ucscXena/ucsc-xena-server,acthp/ucsc-xena-server,acthp/ucsc-xena-server,acthp/ucsc-xena-server
5f3a941bfda22af55279cb652cc4508c29cc1c1e
src/lexemic/core.cljs
src/lexemic/core.cljs
(ns lexemic.core (:require [cljs.nodejs :as node] [lexemic.sentiment.simple :as sentiment])) (def ^:private fs (node/require "fs")) (def ^:private usage-banner "Usage: lexemic [command] [implementation] [target...]") (def ^:private supported-commands #{"help" "sentiment"}) (defn- help [] (str usage...
(ns lexemic.core (:require [cljs.nodejs :as node] [lexemic.sentiment.simple :as sentiment])) (def ^:private version (.-version (node/require "./package.json"))) (def ^:private fs (node/require "fs")) (def ^:private spacer "") (def ^:private version (str "Lexemic v" version)) (def ^:private usage-ban...
Make cmd line command handling more robust.
Make cmd line command handling more robust.
Clojure
mit
bertrandk/lexemic
a41ef396a9e8cf80eca0a53f6c6f5f5cc1cfae4f
test/circle/backend/build/test_inference.clj
test/circle/backend/build/test_inference.clj
(ns circle.backend.build.test-inference (:use midje.sweet) (:use circle.backend.build.inference) (:require [circle.backend.build.test-utils :as test])) (fact "repositories containing php files are assumed to be php apps" (let [php-repo (test/test-repo "simple_php")] (infer-repo-type php-repo) => :p...
(ns circle.backend.build.test-inference (:use midje.sweet) (:use circle.backend.build.inference) (:require [circle.backend.build.test-utils :as test])) (fact "inferred actions have source :inferred" (let [example-repo (test/test-repo "database_yml_1") actions (infer-actions example-repo)] (every? :...
Remove tests that refer to no longer existing fns
Remove tests that refer to no longer existing fns
Clojure
epl-1.0
RayRutjes/frontend,RayRutjes/frontend,circleci/frontend,circleci/frontend,prathamesh-sonpatki/frontend,prathamesh-sonpatki/frontend,circleci/frontend
fd2abbcc8d7b54b5ffa561cc13345a1d1208ab4f
project.clj
project.clj
(defproject checkin "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.c...
(defproject checkin "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.c...
Add option to run in proxied mode
Add option to run in proxied mode
Clojure
epl-1.0
clojure-glasgow/loneworkercheckin
6ff800190812a8064fa1a2ad0808c77a59339aed
project.clj
project.clj
(defproject onyx-app/lein-template "0.9.15.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.15.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
482f7cc7dc2284adfc985d35be8171887f101eea
project.clj
project.clj
(defproject rill "0.1.0" :dependencies [[org.clojure/clojure "1.6.0"] [org.clojure/core.async "0.1.338.0-5c5012-alpha"] [org.clojure/tools.logging "0.2.6"] [prismatic/schema "0.2.2"] [slingshot "0.10.3"] [environ "0.5.0"] ...
(defproject rill "0.1.1" :dependencies [[org.clojure/clojure "1.6.0"] [org.clojure/core.async "0.1.338.0-5c5012-alpha"] [org.clojure/tools.logging "0.2.6"] [prismatic/schema "0.2.2"] [slingshot "0.10.3"] [environ "0.5.0"] ...
Mark changes in rill version number
Mark changes in rill version number
Clojure
epl-1.0
rill-event-sourcing/rill
f74e8a73c240f1d12ce5034b193346fe753a5fb0
project.clj
project.clj
(defproject onyx-plugin/lein-template "0.8.2.4" :description "A Leiningen 2.0 template for new Onyx plugins" :url "http://github.com/MichaelDrogalis/onyx-plugin" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :repositories {"snapshots" {:url "https://cloja...
(defproject onyx-plugin/lein-template "0.8.2.5-SNAPSHOT" :description "A Leiningen 2.0 template for new Onyx plugins" :url "http://github.com/MichaelDrogalis/onyx-plugin" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :repositories {"snapshots" {:url "http...
Prepare for next release cycle.
Prepare for next release cycle.
Clojure
epl-1.0
onyx-platform/onyx-plugin
efa5d65cb9c67684379bf4d25a07378fb9a03ba6
project.clj
project.clj
(defproject cheshire "2.2.1-SNAPSHOT" :description "JSON and JSON SMILE encoding, fast." :url "https://github.com/dakrone/cheshire" :warn-on-reflection false :dependencies [[org.clojure/clojure "1.3.0"] [org.codehaus.jackson/jackson-core-asl "1.9.4"] [org.codehaus.jackson/jacks...
(defproject cheshire "2.2.1-SNAPSHOT" :description "JSON and JSON SMILE encoding, fast." :url "https://github.com/dakrone/cheshire" :warn-on-reflection false :dependencies [[org.clojure/clojure "1.3.0"] [org.codehaus.jackson/jackson-core-asl "1.9.5"] [org.codehaus.jackson/jacks...
Bump jackson deps, use latest 1.4 beta for multi-test
Bump jackson deps, use latest 1.4 beta for multi-test
Clojure
mit
dakrone/cheshire
64683071e162a1fec9360411392fce0de8ba0e77
project.clj
project.clj
(defproject incise "0.1.0-SNAPSHOT" :description "FIXME: write description" :url "http://example.com/FIXME" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[speclj "2.1.2"] [org.clojure/clojure "1.5.1"] [hicc...
(defproject incise "0.1.0-SNAPSHOT" :description "FIXME: write description" :url "http://example.com/FIXME" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.5.1"] [speclj "2.1.2"] [ring...
Add ring 1.2.0 dependency to get middlewares.
Add ring 1.2.0 dependency to get middlewares.
Clojure
epl-1.0
RyanMcG/incise-core
fa0fe8246566fbf4ad2cef5d92c6cd79353386f3
project.clj
project.clj
(defproject neko "3.0.2-SNAPSHOT" :description "Neko is a toolkit designed to make Android development using Clojure easier and more fun." :url "https://github.com/alexander-yakushev/neko" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org....
(defproject neko "3.0.2-SNAPSHOT" :description "Neko is a toolkit designed to make Android development using Clojure easier and more fun." :url "https://github.com/clojure-android/neko" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clo...
Update GitHub path to clojure-android
Update GitHub path to clojure-android
Clojure
epl-1.0
clojure-android/neko
0514e06d0cd5e6fcdc4436f735259da6b81f4fc1
src/re_frame/interop.cljs
src/re_frame/interop.cljs
(ns re-frame.interop (:require [goog.async.nextTick] [reagent.core] [reagent.ratom])) (def next-tick goog.async.nextTick) (def empty-queue #queue []) (def after-render reagent.core/after-render) ;; make sure the Google Closure compiler see this as a boolean constatnt ;; https://developers....
(ns re-frame.interop (:require [goog.async.nextTick] [reagent.core] [reagent.ratom])) (def next-tick goog.async.nextTick) (def empty-queue #queue []) (def after-render reagent.core/after-render) ;; Make sure the Google Closure compiler sees this as a boolean constatnt, ;; otherwise Dead Co...
Put in the right magic around `:advanced` Dead Code Elimination
Put in the right magic around `:advanced` Dead Code Elimination
Clojure
mit
martinklepsch/re-frame,danielcompton/re-frame,richardharrington/re-frame,richardharrington/re-frame,daiyi/re-frame,Day8/re-frame,chpill/re-frankenstein,chpill/re-frankenstein,danielcompton/re-frame,daiyi/re-frame,martinklepsch/re-frame,chpill/re-frankenstein,Day8/re-frame,Day8/re-frame,danielcompton/re-frame,daiyi/re-f...
df9753ef9d89a7d1112ca9549e3069d34db1812c
src/leiningen/new/chestnut/dev/user.clj
src/leiningen/new/chestnut/dev/user.clj
(ns user (:require [{{project-ns}}.server] [ring.middleware.reload :refer [wrap-reload]] [figwheel-sidecar.repl-api :as figwheel]{{#less?}} [clojure.java.shell]{{/less?}}{{#sass?}} [clojure.java.shell]{{/sass?}})) {{#less?}} (defn start-less [] (future (println "...
(ns user (:require [{{project-ns}}.server] [ring.middleware.reload :refer [wrap-reload]] [figwheel-sidecar.repl-api :as figwheel]{{#less?}} [clojure.java.shell]{{/less?}}{{#sass?}} [clojure.java.shell]{{/sass?}})) ;; Let Clojure warn you when it needs to reflect on typ...
Enable warnings for reflections and unboxed math
Enable warnings for reflections and unboxed math These are good defaults to have so you know when to add type annotations.
Clojure
epl-1.0
jacqt/chestnut,plexus/chestnut,plexus/chestnut,jacqt/chestnut
5c1ac7d96ce7d6aa16e07fdb3920bad5ac52f193
src/todo_repl_webapp/handler.clj
src/todo_repl_webapp/handler.clj
(ns todo-repl-webapp.handler (:require [compojure.core :refer :all] [compojure.handler :as handler] [compojure.route :as route] [cemerick.friend :as friend] (cemerick.friend [workflows :as workflows] [credentials :as credentials]) ...
(ns todo-repl-webapp.handler (:require [compojure.core :refer :all] [compojure.handler :as handler] [compojure.route :as route] [cemerick.friend :as friend] (cemerick.friend [workflows :as workflows] [credentials :as credentials]) ...
Add secured route to admin page and a login page
Add secured route to admin page and a login page
Clojure
mit
Pance/todo-repl-webapp
798dbcd233a750d505f68a96962af3cee401d5c2
worker/src/patavi/worker/main.clj
worker/src/patavi/worker/main.clj
(ns patavi.worker.main (:gen-class) (:require [patavi.worker.task :as tasks :only [initialize]] [patavi.worker.pirate.core :as pirate] [clojure.tools.cli :refer [cli]] [clojure.string :refer [split trim capitalize]] [clojure.tools.logging :as log])) (defn -main [& ...
(ns patavi.worker.main (:gen-class) (:require [patavi.worker.task :as tasks :only [initialize]] [patavi.worker.pirate.core :as pirate] [clojure.tools.cli :refer [cli]] [clojure.string :refer [split trim capitalize]] [clojure.tools.logging :as log])) (defn -main [& ...
Update location of echo script
Update location of echo script
Clojure
mit
joelkuiper/patavi,ConnorStroomberg/patavi,ConnorStroomberg/patavi-docker,ConnorStroomberg/patavi-docker,ConnorStroomberg/patavi-docker,gertvv/patavi,gertvv/patavi,ConnorStroomberg/patavi-docker,ConnorStroomberg/patavi,gertvv/patavi,joelkuiper/patavi,ConnorStroomberg/patavi
ca37016230e1fb8c2ca34dbf954ed24cdc584c3a
src/holston/repository.clj
src/holston/repository.clj
;; Contains database-access code (ns holston.repository (:use [clojure.java.jdbc :as jdbc])) ;; If DATABASE_URL environment variable is not set, use ;; local PostgreSQL database on port 5432 named holston (def db (or (System/getenv "DATABASE_URL") "postgresql://localhost:5432/holston")) (defn add-ta...
;; Contains database-access code (ns holston.repository (:use [clojure.java.jdbc :as jdbc])) ;; If DATABASE_URL environment variable is not set, use ;; local PostgreSQL database on port 5432 named holston (def db (or (System/getenv "DATABASE_URL") "postgresql://localhost:5432/holston")) (defn add-ta...
Remove println and add sanity-check
Remove println and add sanity-check
Clojure
epl-1.0
auramo/holston
c615538936402a413cf99a17a66298a044e5f6ee
test/icecap/schema_test.clj
test/icecap/schema_test.clj
(ns icecap.schema-test (:require [icecap.schema :refer :all] [clojure.test :refer :all] [schema.core :as s])) (def simple-http-request {:target "http://example.test"}) (def simple-https-request {:target "https://example.test"}) (def simple-ftp-request {:target "ftp://example.test"}) (deftest...
(ns icecap.schema-test (:require [icecap.schema :refer :all] [clojure.test :refer :all] [schema.core :as s])) (def simple-http-request {:target "http://example.test"}) (def simple-https-request {:target "https://example.test"}) (def simple-ftp-request {:target "ftp://example.test"}) (deftest...
Test request spec with embedded empty request spec
Test request spec with embedded empty request spec
Clojure
epl-1.0
lvh/icecap,Hatnik/icecap
f6c2f9b09700eafae66cd45dae0f6bf1dca5068e
prime.clj/src/prime/clj.clj
prime.clj/src/prime/clj.clj
(ns prime.clj (:gen-class)) (require '[clojure.math.numeric-tower :as math]) (defn prime? [x] (cond (integer? (math/sqrt x)) false :else (every? (fn [y] (not= (mod x y) 0)) (range 2 (math/ceil (math/sqrt x)))))) (defn -main [& args] (def v []) (def i 0) (while (< (count v...
(ns prime.clj (:gen-class)) (require '[clojure.math.numeric-tower :as math]) (defn prime? [x] (if (integer? (math/sqrt x)) false (every? (fn [y] (not= (mod x y) 0)) (range 2 (math/ceil (math/sqrt x)))))) (defn -main [& args] (def v []) (def i 0) (while (< (count v) (Integer/parseIn...
Replace cond with if for shorter, clearer code.
Replace cond with if for shorter, clearer code.
Clojure
bsd-3-clause
noamknispel/ThePrimeBenchMark,noamknispel/ThePrimeBenchMark,noamknispel/ThePrimeBenchMark,noamknispel/ThePrimeBenchMark,noamknispel/ThePrimeBenchMark
abf43b0d29947b70d086c41bda93876bfc50e819
src/radicalzephyr/boot_junit.clj
src/radicalzephyr/boot_junit.clj
(ns radicalzephyr.boot-junit {:boot/export-tasks true} (:require [boot.core :as core]) (:import org.junit.runner.JUnitCore)) (defn failure->map [failure] {:description (.. failure (getDescription) (toString)) :exception (.getException failure) :message (.getMessage failure)}) (defn result->map [result] ...
(ns radicalzephyr.boot-junit {:boot/export-tasks true} (:require [boot.core :as core]) (:import org.junit.runner.JUnitCore)) (defn failure->map [failure] {:description (.. failure (getDescription) (toString)) :exception (.getException failure) :message (.getMessage failure)}) (defn result->map [result] ...
Add a fn for finding all tests
Add a fn for finding all tests
Clojure
epl-1.0
RadicalZephyr/boot-junit
4071e35f1853cdc9e6caab478ca25b48411ff8db
src/leiningen/new/re_frame.clj
src/leiningen/new/re_frame.clj
(ns leiningen.new.re-frame (:require [leiningen.new.templates :refer [renderer name-to-path ->files]] [leiningen.core.main :as main])) (def render (renderer "re-frame")) (defn re-frame "FIXME: write documentation" [name] (let [data {:name name :sanitized (name-to-path name)}] (ma...
(ns leiningen.new.re-frame (:require [leiningen.new.templates :refer [renderer name-to-path ->files]] [leiningen.core.main :as main])) (def render (renderer "re-frame")) (defn re-frame "FIXME: write documentation" [name] (let [data {:name name :sanitized (name-to-path name)}] (ma...
Fix rendering entries for devsrc and src files
Fix rendering entries for devsrc and src files
Clojure
mit
Day8/re-frame-template,KurtRMueller/re-frame-template,KurtRMueller/re-frame-template,KurtRMueller/re-frame-template,Day8/re-frame-template,jiangts/re-frame-template,jiangts/re-frame-template,jiangts/re-frame-template,Day8/re-frame-template
287cc43ac236adfebfb3c43dc42d98f75d577e4d
Clojure/src/snake/terminal_reader.clj
Clojure/src/snake/terminal_reader.clj
(ns snake.terminal-reader) (defn read-input [input-receiver] (loop [data (read)] (case data "\u001B[A" ( ;(send input-receiver move 'up) (print "UP") ; (recur [data (read)]) ) "\u001B[B" (print "DOWN") (print (str "DEFAULT" data))) (recur (st...
(ns snake.terminal-reader) (defn get-input "Reads a string from the given input-reader if there is anything to be read" [input-reader] (def buffer (char-array 1024)) (if (.ready input-reader) (do (def num-chars-read (.read input-reader buffer)) (String/valueOf buffer 0 num-chars-read)) "...
Read input directly from the System/in
Read input directly from the System/in - the (read) function did not work for me, using System/in allows me to get the input to interpret cursor keys like done in the Java 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
0360681720c19c951972c8344eec0b76a697b5ce
backend/src/circle/init.clj
backend/src/circle/init.clj
(ns circle.init (:require circle.env) ;; env needs to be loaded before any circle source files containing tests (:require circle.swank) (:require circle.db) (:require circle.repl) (:require circle.logging) (:require circle.util.chdir) (:require fs)) (defn maybe-change-dir "Change the current working d...
(ns circle.init (:require circle.env) ;; env needs to be loaded before any circle source files containing tests (:require circle.swank) (:require circle.db) (:require circle.repl) (:require circle.logging) (:require circle.util.chdir) (:require fs)) (defn maybe-change-dir "Change the current working d...
Make chdir directory agnostic. Now keys off the presence of the Gemfile
Make chdir directory agnostic. Now keys off the presence of the Gemfile
Clojure
epl-1.0
prathamesh-sonpatki/frontend,circleci/frontend,circleci/frontend,RayRutjes/frontend,RayRutjes/frontend,prathamesh-sonpatki/frontend,circleci/frontend
cdd0c9f0d6f2cf6997b1e6807b342864d7193d97
src/cljc/robinson/macros.cljc
src/cljc/robinson/macros.cljc
;; Utility functions and functions for manipulating state (ns robinson.macros) (defmacro log-time "Log the time it takes to execute body." [msg & body] `(time (let [result# (do ~@body)] (println ~msg) result#))) (defn vec-match? [test-expr expr] (let [arg-match? (fn [[test-term term]] ...
;; Utility functions and functions for manipulating state (ns robinson.macros) (defmacro log-time "Log the time it takes to execute body." [msg & body] `(time (let [result# (do ~@body)] (println ~msg) result#))) (defn vec-match? [test-expr expr] (let [arg-match? (fn [[test-term term]] ...
Disable verbose matching log statements
Disable verbose matching log statements
Clojure
mpl-2.0
aaron-santos/robinson,aaron-santos/robinson
07d622d02ba70c2618f5a450612e77dd3c0d2146
src/leiningen/new/mies/project.clj
src/leiningen/new/mies/project.clj
(defproject {{name}} "0.1.0-SNAPSHOT" :description "FIXME: write this!" :url "http://example.com/FIXME" :dependencies [[org.clojure/clojure "1.7.0"] [org.clojure/clojurescript "1.7.28" :classifier "aot" :exclusion [org.clojure/data.json]] [org.clojure/data.json ...
(defproject {{name}} "0.1.0-SNAPSHOT" :description "FIXME: write this!" :url "http://example.com/FIXME" :dependencies [[org.clojure/clojure "1.7.0"] [org.clojure/clojurescript "1.7.28" :classifier "aot" :exclusion [org.clojure/data.json]] [org.clojure/data.json ...
Update lein-npm version to 0.6.1.
Update lein-npm version to 0.6.1.
Clojure
epl-1.0
swannodette/mies,DjebbZ/mies,whamtet/cljs-server-template,DjebbZ/mies,fdserr/mies,swannodette/mies,fdserr/mies
7c0b31c5d5316c30eedaeeb00200dcbe10eb5e9a
src/cljs/decktouch/card-data.cljs
src/cljs/decktouch/card-data.cljs
(ns decktouch.card-data) (def cards [])
(ns decktouch.card-data) (defn get-card-list-from-storage [] "Get the list of cards from localStorage, or [] if it is empty" (let [key "card-list" list (.getItem js/localStorage key)] (do (.log js/console key list) (if (undefined? list) [] (.parse (js/JSON)))))) (def cards ...
Add fn to load cards from localStorage
Add fn to load cards from localStorage
Clojure
epl-1.0
Pance/decktouch,Pance/decktouch
fa4b67dae763fa24e0f5cef6dab37197ebe95f92
Clojure/src/snake/game_elements.clj
Clojure/src/snake/game_elements.clj
; Copyright (C) 2008 - 2011 Stefan Marr <mail@stefan-marr.de> ; ; Permission is hereby granted, free of charge, to any person obtaining a copy ; of this software and associated documentation files (the "Software"), to ; deal in the Software without restriction, including without limitation the ; rights to use, copy, m...
; Copyright (C) 2008 - 2011 Stefan Marr <mail@stefan-marr.de> ; ; Permission is hereby granted, free of charge, to any person obtaining a copy ; of this software and associated documentation files (the "Software"), to ; deal in the Software without restriction, including without limitation the ; rights to use, copy, m...
Use the same implementation strategy as in the Erlang version: the snake is a list of coordinates instead of linked list
Use the same implementation strategy as in the Erlang version: the snake is a list of coordinates instead of linked list 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
48d4fa9f359b85ce515b5eb257e7924c951e2430
project.clj
project.clj
(defproject chestnut/lein-template "0.7.1-SNAPSHOT" :description "A Leiningen template for a ClojureScript setup with Figwheel, Austin, Om." :url "https://github.com/plexus/chestnut" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :eval-in-leiningen true)
(defproject chestnut/lein-template "0.7.0-SNAPSHOT" :description "A Leiningen template for a ClojureScript setup with Figwheel, Austin, Om." :url "https://github.com/plexus/chestnut" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :eval-in-leiningen true)
Undo temporary change to version (for testing)
Undo temporary change to version (for testing)
Clojure
epl-1.0
neverfox/chestnut,Nek/chestnut,malloryerik/chestnut,Nek/chestnut,neverfox/chestnut,neverfox/chestnut,jacqt/chestnut,plexus/chestnut,malloryerik/chestnut,Nek/chestnut,plexus/chestnut,Jobava/chestnut,malloryerik/chestnut,jacqt/chestnut,Jobava/chestnut,Jobava/chestnut
9c0f987f85f7c3ba684597a6892f4af833326cd2
project.clj
project.clj
(defproject replme "0.1.0-SNAPSHOT" :description "repl me" :url "replme.clojurecup.com" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.6.0"] [http-kit "2.1.16"] [compojure "1.1.9"] ...
(defproject replme "0.1.0-SNAPSHOT" :description "repl me" :url "replme.clojurecup.com" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.6.0"] [http-kit "2.1.16"] [compojure "1.1.9"] ...
Add main to uberjar profile
Add main to uberjar profile
Clojure
agpl-3.0
clojurecup2014/replme,replme/replme-frontend,replme/replme,clojurecup2014/replme
051992e0dd7bc5b9a4f8d84eb0b7dcca31dc0bfb
project.clj
project.clj
(defproject com.taoensso/faraday "0.5.2" :description "Clojure DynamoDB client" :url "https://github.com/ptaoussanis/faraday" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.5.1"] [org.clojure/...
(defproject com.taoensso/faraday "0.5.2" :description "Clojure DynamoDB client" :url "https://github.com/ptaoussanis/faraday" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.5.1"] [org.clojure/...
Add dependency (Expectations 1.4.43 & plugins)
Add dependency (Expectations 1.4.43 & plugins)
Clojure
epl-1.0
jeffh/faraday,ptaoussanis/faraday,langford/faraday,marcuswr/faraday-rotary
31dc6101ac7bc80594773292ccd34a33e8eb5f2e
project.clj
project.clj
(defproject kmg "0.1.0-SNAPSHOT" :description "Knowledge Media Guide" :url "https://github.com/alexpetrov/kmg" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.6.0"] [com.datomic/datomic-free "0.9.5078"...
(require 'cemerick.pomegranate.aether) (cemerick.pomegranate.aether/register-wagon-factory! "http" #(org.apache.maven.wagon.providers.http.HttpWagon.)) (defproject kmg "0.1.0-SNAPSHOT" :description "Knowledge Media Guide" :url "https://github.com/alexpetrov/kmg" :license {:name "Eclipse Public License" ...
Fix installation of datomic free with http instead of https
Fix installation of datomic free with http instead of https
Clojure
epl-1.0
alexpetrov/kmg,alexpetrov/kmg
cd28631a7b8c98b9ad9abbe2084ccb32bb710ba1
src/desdemona/launcher/utils.clj
src/desdemona/launcher/utils.clj
(ns desdemona.launcher.utils (:require [clojure.core.async :refer [chan <!!]])) (defn block-forever! [] (<!! (chan)))
(ns desdemona.launcher.utils (:require [clojure.core.async :as a])) (defn block-forever! [] (a/<!! (a/chan)))
Change how block-forever! refs core.async
Change how block-forever! refs core.async
Clojure
epl-1.0
RackSec/desdemona
88df6f4ff526f414d15d4aa956371d2dcaf41cd8
src/uxbox/scheduled_jobs/garbage.clj
src/uxbox/scheduled_jobs/garbage.clj
;; This Source Code Form is subject to the terms of the Mozilla Public ;; License, v. 2.0. If a copy of the MPL was not distributed with this ;; file, You can obtain one at http://mozilla.org/MPL/2.0/. ;; ;; Copyright (c) 2016 Andrey Antukh <niwi@niwi.nz> (ns uxbox.scheduled-jobs.garbage "Garbage Collector related t...
;; 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.scheduled-jobs.garbage "Garbage Collector related t...
Fix wrong query on scheduled_jobs ns.
Fix wrong query on scheduled_jobs ns.
Clojure
mpl-2.0
uxbox/uxbox-backend,uxbox/uxbox-backend
3fcfde0620250447a4149671e7269a1c7adc673b
build.boot
build.boot
(set-env! :source-paths #{"src"} :resource-paths #{"src"} :dependencies '[[org.clojure/clojure "1.8.0" :scope "provided"] [boot/core "2.1.0" :scope "provided"] [junit "4.12" :scope "test"]]) (require '[radicalzephyr.boot-junit :refer [junit]]) ...
(set-env! :source-paths #{"src"} :resource-paths #{"src"} :dependencies '[[org.clojure/clojure "1.8.0" :scope "provided"] [boot/core "2.1.0" :scope "provided"] [junit "4.12" :scope "test"]]) (require '[radicalzephyr.boot-junit :refer [junit]]) ...
Remove bootlaces usage without dependency declaration
Remove bootlaces usage without dependency declaration
Clojure
epl-1.0
RadicalZephyr/boot-junit
e880b95bcf35ff051cd9963bcae2c306c9fc70ed
src/clojars/tools/upload_repo.clj
src/clojars/tools/upload_repo.clj
(ns clojars.tools.upload-repo (:require [clojure.java.io :as io] [clojars.cloudfiles :as cf]) (:gen-class)) (defn upload-file [conn path file] (if (cf/artifact-exists? conn path) (println "==> Remote artifact exists, ignoring:" path) (cf/put-file conn path file))) (defn upload-repo [conn rep...
(ns clojars.tools.upload-repo (:require [clojure.java.io :as io] [clojars.cloudfiles :as cf]) (:gen-class)) (defn upload-file [conn path file existing] (if (existing path) (println "!!> Remote artifact exists, ignoring:" path) (do (println "==> Uploading:" path) (cf/put-file conn ...
Use artifact list to speed up existence checking
Use artifact list to speed up existence checking
Clojure
epl-1.0
tobias/clojars-web,tobias/clojars-web,nberger/clojars-web,ato/clojars-web,ato/clojars-web,technomancy/clojars-web,technomancy/clojars-web,clojars/clojars-web,tobias/clojars-web,clojars/clojars-web,nberger/clojars-web,clojars/clojars-web
b523563cab5d866788f46f1a7756540de52a9318
examples/todomvc/src/deps.cljs
examples/todomvc/src/deps.cljs
{:npm-dev-deps {"shadow-cljs" "2.8.69" "karma" "4.4.1" "karma-chrome-launcher" "3.1.0" "karma-cljs-test" "0.1.0" "karma-junit-reporter" "1.2.0"}}
{:npm-dev-deps {"shadow-cljs" "2.8.69" "karma" "4.4.1" "karma-chrome-launcher" "3.1.0" "karma-cljs-test" "0.1.0" "karma-junit-reporter" "2.0.1"}}
Upgrade todomvc example karma-junit-reporter to 2.0.1
Upgrade todomvc example karma-junit-reporter to 2.0.1
Clojure
mit
Day8/re-frame-trace
348082f99c5b8229ea9e8d15e180085d65567980
local-storage-atom/src/com/palletops/bakery/local_storage_atom.cljs
local-storage-atom/src/com/palletops/bakery/local_storage_atom.cljs
(ns com.palletops.bakery.local-storage-atom "A component for an atom backed by html5 local storage." (:require-macros [com.palletops.api-builder.api :refer [defn-api]] [schema.macros :refer [protocol]]) (:require [alandipert.storage-atom :refer [local-storage]] [schema.core :as schema])) (defn-api lo...
(ns com.palletops.bakery.local-storage-atom "A component for an atom backed by html5 local storage." (:require-macros [com.palletops.api-builder.api :refer [defn-api]] [schema.macros :refer [protocol]]) (:require [alandipert.storage-atom :refer [local-storage]] [schema.core :as schema])) (defn-api lo...
Add a filtered type to local-storage-atom
Add a filtered type to local-storage-atom
Clojure
epl-1.0
palletops/bakery
f5da39a67aa45a4d6f04f8ede5c50a8094a80ab6
project.clj
project.clj
(defproject breeze-quiescent "0.1.1-SNAPSHOT" :description "A minimal, functional ClojureScript wrapper for ReactJS" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.5.1"] [org.clojure/clojurescript "0.0-...
(defproject breeze-quiescent "0.1.1-SNAPSHOT" :description "A minimal, functional ClojureScript wrapper for ReactJS" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.5.1"] [org.clojure/clojurescript "0.0-...
Use react 10 extern release for "componentWillMount".
Use react 10 extern release for "componentWillMount".
Clojure
epl-1.0
Breezeemr/quiescent
cdb64f8eddba3c9d4239c6d581784c0e8542077f
project.clj
project.clj
(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"] ...
(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"] ...
Put my dependency version back the way it belongs
Put my dependency version back the way it belongs
Clojure
epl-1.0
grnhse/4clojure,amcnamara/4clojure,4clojure/4clojure,gfredericks/4clojure,grnhse/4clojure,amcnamara/4clojure,rowhit/4clojure,gfredericks/4clojure,4clojure/4clojure,devn/4clojure,tclamb/4clojure,tclamb/4clojure,rowhit/4clojure,devn/4clojure
eea017072b6c7ea8f6b6daa350622caaf5b8d5d7
project.clj
project.clj
(defproject funcool/octet "0.2.0" :description "A clojure(script) library for work with binary data." :url "https://github.com/funcool/octet" :license {:name "BSD (2 Clause)" :url "http://opensource.org/licenses/BSD-2-Clause"} :dependencies [[org.clojure/clojure "1.7.0" :scope "provided"] ...
(defproject funcool/octet "0.2.0" :description "A clojure(script) library for work with binary data." :url "https://github.com/funcool/octet" :license {:name "BSD (2 Clause)" :url "http://opensource.org/licenses/BSD-2-Clause"} :dependencies [[org.clojure/clojure "1.7.0" :scope "provided"] ...
Build docs as clojure instead clojurescript.
Build docs as clojure instead clojurescript.
Clojure
bsd-2-clause
mbjarland/octet,funcool/octet,mbjarland/octet,funcool/octet
c5eacafa28c99e519f424a5bfc3a6b2f5bf7d691
test/multihash/core_test.clj
test/multihash/core_test.clj
(ns multihash.core-test (:require [clojure.test :refer :all] [multihash.core :as multihash])) (deftest a-test (testing "FIXME, I fail." (is (= 0 1))))
(ns multihash.core-test (:require [clojure.test :refer :all] [multihash.core :as multihash])) (deftest app-specific-codes (is (false? (multihash/app-code? 0x00))) (doseq [code (range 0x01 0x10)] (is (true? (multihash/app-code? code)) (str "Algorithm code " code " is app-specific"))) (doseq...
Add initial round of tests.
Add initial round of tests.
Clojure
unlicense
greglook/clj-multihash
c464dc46f92d121e15fd38191e3ae23b7f960712
examples/todomvc/project.clj
examples/todomvc/project.clj
(defproject todomvc-re-frame "0.10.5" :dependencies [[org.clojure/clojure "1.10.0"] [org.clojure/clojurescript "1.10.439"] [reagent "0.8.1"] [re-frame "0.10.5"] [binaryage/devtools "0.9.10"] [secretary "1.2.3"] ...
(defproject todomvc-re-frame "0.10.5" :dependencies [[org.clojure/clojure "1.10.0"] [org.clojure/clojurescript "1.10.439"] [reagent "0.8.1"] [re-frame "0.10.5"] [binaryage/devtools "0.9.10"] [clj-commons/secretary "1.2.4"] ...
Update secretary dependency in todomvc
Update secretary dependency in todomvc Fixes #530
Clojure
mit
Day8/re-frame,Day8/re-frame,Day8/re-frame
1a2e1446dcae4833a80a7704a12f619418d3940f
examples/hello-world/project.clj
examples/hello-world/project.clj
(defproject hello-world "0.23.1" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.10.0"] [uncomplicate/neanderthal "0.23.1"]] :exclusions [[org.jcuda/jcuda-natives :classifier "apple-x86_64"] ...
(defproject hello-world "0.23.1" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.10.0"] [uncomplicate/neanderthal "0.23.1"]] :exclusions [[org.jcuda/jcuda-natives :classifier "apple-x86_64"] ...
Add JDK 9+ module example.
Add JDK 9+ module example.
Clojure
epl-1.0
uncomplicate/neanderthal,uncomplicate/neanderthal,uncomplicate/neanderthal
24ace579fe165e1ae4d07db5a3c0c2aac3197903
src/discuss/integration.cljs
src/discuss/integration.cljs
(ns discuss.integration (:require-macros [cljs.core.async.macros :refer [go]]) (:require [goog.events :as events] [cljs.core.async :refer [put! chan <!]] [discuss.lib :as lib] [discuss.extensions])) (defn selected-text [] (let [selection (str (.getSelection js/window))] (w...
(ns discuss.integration (:require-macros [cljs.core.async.macros :refer [go]]) (:require [goog.events :as events] [cljs.core.async :refer [put! chan <!]] [discuss.lib :as lib] [discuss.extensions])) (defn get-selection "Return the stored selection of the user." [] (get-in ...
Check if selection has changed before changing the atom
Check if selection has changed before changing the atom
Clojure
mit
hhucn/discuss,hhucn/discuss
32fb098da4424910999df01575a5e3feb37c0653
src/cljs/deps.cljs
src/cljs/deps.cljs
{:foreign-libs [{:file "js/fuse/fuse.min.js" :provides ["cljsjs.fuse"]}] :externs "js/fuse/fuse.ext.js"}
{:foreign-libs [{:file "js/fuse/fuse.min.js" :provides ["cljsjs.fuse"]}] :externs ["js/fuse/fuse.ext.js"]}
Correct expected data structure for externs
Correct expected data structure for externs
Clojure
mit
adolby/beers-criteria,adolby/beers-criteria
6846fe06811d258415eef433f7123af2b31f38ef
project.clj
project.clj
;; The Climate Corporation licenses this file to you under under the Apache ;; License, Version 2.0 (the "License"); you may not use this file except in ;; compliance with the License. You may obtain a copy of the License at ;; ;; http://www.apache.org/licenses/LICENSE-2.0 ;; ;; See the NOTICE file distributed with ...
;; The Climate Corporation licenses this file to you under under the Apache ;; License, Version 2.0 (the "License"); you may not use this file except in ;; compliance with the License. You may obtain a copy of the License at ;; ;; http://www.apache.org/licenses/LICENSE-2.0 ;; ;; See the NOTICE file distributed with ...
Change version to snapshot again
Change version to snapshot again
Clojure
apache-2.0
TheClimateCorporation/claypoole
27b8b6aa9808b5c4aa04d30a47659a30cfa6ef04
project.clj
project.clj
(defproject org.onyxplatform/onyx-datomic "0.7.12" :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.13-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
16d8b6b841d986898c0aca0a0183e4a94808dc43
project.clj
project.clj
(defproject li.elmnt/datapump "0.6.0" :description "FIXME: write description" :url "http://example.com/FIXME" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.6.0"] [prismatic/schema "0.4.0"]] :profiles {:dev {:depend...
(defproject li.elmnt/datapump "0.7.0-SNAPSHOT" :description "FIXME: write description" :url "http://example.com/FIXME" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.6.0"] [prismatic/schema "0.4.0"...
Prepare 0.7.0: add marginalia and midje.
Prepare 0.7.0: add marginalia and midje. Signed-off-by: Stanislas Nanchen <b54ae7893982d10f03c27dbc889098ce04898c8b@hood.ch>
Clojure
epl-1.0
stanislas/elmnt-datapump
f452b709a4300a580916d02d0a430bdf8d7a39f9
project.clj
project.clj
(defproject clj-chrome-devtools "20190529" :description "Clojure API for Chrome DevTools remote" :license {:name "MIT License"} :url "https://github.com/tatut/clj-chrome-devtools" :dependencies [[org.clojure/clojure "1.9.0"] [http-kit "2.3.0"] [cheshire "5.8.1"] ...
(defproject clj-chrome-devtools "20190530-SNAPSHOT" :description "Clojure API for Chrome DevTools remote" :license {:name "MIT License"} :url "https://github.com/tatut/clj-chrome-devtools" :dependencies [[org.clojure/clojure "1.9.0"] [http-kit "2.3.0"] [cheshire "5.8.1"] ...
Update to snapshot version before release
Update to snapshot version before release
Clojure
mit
tatut/clj-chrome-devtools,tatut/clj-chrome-devtools
38f52f37d0ec3c746270be7777ee2bf075393074
project.clj
project.clj
(defproject onyx-app/lein-template "0.12.0.0-alpha2" :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.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
55921807b7ab45a9e26fff08cca118c23b576a8d
project.clj
project.clj
(defproject onyx-app/lein-template "0.8.11.2" :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.3-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
ca472ffb2926cb95bb55b4b3fb0fb0bce85eb586
project.clj
project.clj
(defproject io.aviso/rook "0.1.2" :description "Ruby on Rails-style resource mapping for Clojure/Compojure web apps" :url "https://github.com/AvisoNovate/rook" :license {:name "Apache Sofware Licencse 2.0" :url "http://www.apache.org/licenses/LICENSE-2.0.html"} ;; Normally we don't AOT compile; onl...
(defproject io.aviso/rook "0.1.3-SNAPSHOT" :description "Ruby on Rails-style resource mapping for Clojure/Compojure web apps" :url "https://github.com/AvisoNovate/rook" :license {:name "Apache Sofware Licencse 2.0" :url "http://www.apache.org/licenses/LICENSE-2.0.html"} ;; Normally we don't AOT com...
Advance version number to 0.1.3-SNAPSHOT
Advance version number to 0.1.3-SNAPSHOT
Clojure
apache-2.0
clyfe/rook,bmabey/rook,roblally/rook
e80b0e6dd37bf84e28a257383b71b18232d52590
build.boot
build.boot
(set-env! :source-paths #{"src"} :dependencies '[[radicalzephyr/boot-junit "0.1.1" :scope "test"] [jeluard/boot-notify "0.1.2" :scope "test"] [net.sf.jopt-simple/jopt-simple "4.9"]]) (def +version+ "0.1.0-SNAPSHOT") (require '[radicalzephyr.boot-junit :refer [junit]] ...
(set-env! :source-paths #{"src"} :dependencies '[[radicalzephyr/boot-junit "0.2.0-SNAPSHOT" :scope "test"] [jeluard/boot-notify "0.1.2" :scope "test"] [net.sf.jopt-simple/jopt-simple "4.9"]]) (def +version+ "0.1.0-SNAPSHOT") (require '[radicalzephyr.boot-junit :refer [junit]] ...
Update to 0.2.0-SNAPSHOT of boot-junit
Update to 0.2.0-SNAPSHOT of boot-junit
Clojure
mit
RadicalZephyr/http-server
0afa527967f4ede362ea75d665b1452bc0c76ef1
profiles.clj
profiles.clj
{:dev {:aliases {"test-all" ["with-profile" "dev,1.8:dev,1.6:dev,1.5:dev" "test"]} :codeina {:sources ["src"] :reader :clojure :target "doc/dist/latest/api" :src-uri "http://github.com/funcool/buddy-core/blob/master/" :src-uri-prefix "#L"} :plugins [[funcool/codeina ...
{:dev {:aliases {"test-all" ["with-profile" "dev,1.8:dev,1.6:dev,1.5:dev" "test"]} :codeina {:sources ["src"] :reader :clojure :target "doc/dist/latest/api" :src-uri "http://github.com/funcool/buddy-core/blob/master/" :src-uri-prefix "#L"} :plugins [[funcool/codeina ...
Update clj compiler to 1.8.0-RC4 in :1.8 profile.
Update clj compiler to 1.8.0-RC4 in :1.8 profile.
Clojure
apache-2.0
funcool/buddy-hashers,funcool/buddy-hashers
e4a93da8ea576a1d25f6164505f86ab6f4c44a05
frontend/uxbox/util/data.cljs
frontend/uxbox/util/data.cljs
(ns uxbox.util.data "A collection of data transformation utils.") (defn index-by "Return a indexed map of the collection keyed by the result of executing the getter over each element of the collection." [coll getter] (let [data (transient {})] (run! #(assoc! data (getter %) %) coll) (persistent! da...
(ns uxbox.util.data "A collection of data transformation utils." (:require [cljs.reader :as r])) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Data structure manipulation ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (defn index-by...
Add helpers for the reader and int parsing.
Add helpers for the reader and int parsing.
Clojure
mpl-2.0
studiospring/uxbox,uxbox/uxbox,uxbox/uxbox,studiospring/uxbox,studiospring/uxbox,uxbox/uxbox
b4b0e89ab55890012d4f340403a5214bae9b7f80
project.clj
project.clj
(defproject spamscope "2.3.0-SNAPSHOT" :resource-paths ["_resources"] :target-path "_build" :min-lein-version "2.0.0" :jvm-opts ["-client"] :dependencies [[org.apache.storm/storm-core "1.1.1"] [org.apache.storm/flux-core "1.1.1"]] :jar-exclusions [#"log4j\.properties" #"org\.apache\.s...
(defproject spamscope "2.3.0-SNAPSHOT" :resource-paths ["_resources"] :target-path "_build" :min-lein-version "2.0.0" :jvm-opts ["-client"] :dependencies [[org.apache.storm/storm-core "1.2.1"] [org.apache.storm/flux-core "1.2.1"]] :jar-exclusions [#"log4j\.properties" #"org\.apache\.s...
Upgrade Apache Storm to 1.2.1
Upgrade Apache Storm to 1.2.1
Clojure
apache-2.0
SpamScope/spamscope,SpamScope/spamscope
60628ec10055bf324b33b1bcf3f31e9fa3cd9b31
src/isla/talk.clj
src/isla/talk.clj
(ns isla.talk (:use [clojure.pprint]) (:require [clojure.string :as str]) (:require [mrc.utils :as utils])) (defn room-intro [room] (str "You are in the " (:name room) ". " (:summary room))) (defn room-already [name] (str "You are already in the " name ".")) (defn room-not-allowed [name] (str "You cann...
(ns isla.talk (:use [clojure.pprint]) (:require [clojure.string :as str]) (:require [mrc.utils :as utils])) (defn room-intro [room] (declare list-rooms) (str "You are in the " (:name room) ". " (:summary room))) (defn room-already [name] (str "You are already in the " name ".")) (defn room-not-allowed ...
Add fn to list rooms with nice commas and ands.
Add fn to list rooms with nice commas and ands.
Clojure
mit
maryrosecook/islaclj
15e65debcfa387171924c95c5ef3c665ae9bec1f
ClojureScript/src/bocko_ios/core.cljs
ClojureScript/src/bocko_ios/core.cljs
(ns bocko-ios.core (:require bocko.core)) (defn ^:export init [canvas-view-controller] (bocko.core/set-create-canvas (fn [color-map raster width height _ _] (add-watch raster :monitor (fn [_ _ old new] (when-not (= old new) (doseq [x (range width)] (let [old-...
(ns bocko-ios.core (:require bocko.core)) (defn run-app [] (comment "Code here will be run when app launches")) (defn ^:export init [canvas-view-controller] (bocko.core/set-create-canvas (fn [color-map raster width height _ _] (add-watch raster :monitor (fn [_ _ old new] (when-no...
Add a run-app entry point
Add a run-app entry point
Clojure
epl-1.0
mfikes/bocko-ios,mfikes/bocko-ios,mfikes/bocko-ios
0fe8754ed0766386e9588b7da3fe2f51295b71d5
examples/scrabble/project.clj
examples/scrabble/project.clj
(defproject scrabble "0.1.0-SNAPSHOT" :dependencies [[org.clojure/clojure "1.6.0"] [thinktopic/cortex "0.1.0-SNAPSHOT"]] :main scrabble.core)
(defproject scrabble "0.1.0-SNAPSHOT" :dependencies [[org.clojure/clojure "1.8.0"] [thinktopic/cortex "0.1.0-SNAPSHOT"]] :main scrabble.core)
Update to newer version of clojure.
[examples/scrabble] Update to newer version of clojure.
Clojure
epl-1.0
thinktopic/cortex,thinktopic/cortex,thinktopic/cortex,thinktopic/cortex
60c6ae88a800eeeae94c709e81841dcefb156d67
client_tests/clojure/clj-s3/project.clj
client_tests/clojure/clj-s3/project.clj
(defproject java-s3-tests/java-s3-tests "0.0.1" :dependencies [[org.clojure/clojure "1.5.1"] [com.reiddraper/clj-aws-s3 "0.4.2"] [clj-http "0.7.1"] [cheshire "5.1.0"]] :profiles {:dev {:dependencies [[midje "1.5.1"]]}} :min-lein-version "2.0.0" :plugins [[lein-...
(defproject java-s3-tests/java-s3-tests "0.0.2" :dependencies [[org.clojure/clojure "1.7.0"] [org.clojure/tools.logging "0.3.1"] ;; aws-sdk-java deps [com.amazonaws/aws-java-sdk "1.10.8" :exclusions [joda-time]] [joda-time "2.8.1"] [...
Update aws-sdk-java and other library versions
Update aws-sdk-java and other library versions
Clojure
apache-2.0
basho/riak_cs,dragonfax/riak_cs,basho/riak_cs,dragonfax/riak_cs,dragonfax/riak_cs,basho/riak_cs,basho/riak_cs,dragonfax/riak_cs
dff1986925f591094b7719438450c1acf5b21d61
project.clj
project.clj
(defproject clj-fst "0.1.0" :description "Finite State Transducers (FST) for Clojure" :url "https://github.com/structureddynamics/clj-fst" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.6.0"] [org.apa...
(defproject clj-fst "0.1.1" :description "Finite State Transducers (FST) for Clojure" :url "https://github.com/structureddynamics/clj-fst" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.6.0"] [org.apa...
Update to the latest version of Lucene 4.x
Update to the latest version of Lucene 4.x
Clojure
epl-1.0
structureddynamics/clj-fst
a3cc4ff118800681cb4d4063ee5b52f46fac776d
project.clj
project.clj
(defproject io.aviso/twixt "0.1.6" :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.7" :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.7
Advance version number to 0.1.7
Clojure
apache-2.0
clyfe/twixt,AvisoNovate/twixt,clyfe/twixt,AvisoNovate/twixt,AvisoNovate/twixt,clyfe/twixt
073b4ac984082956e72b48157ff1b69842228b89
src/clj/clj_templates/config/main_config.clj
src/clj/clj_templates/config/main_config.clj
(ns clj-templates.config.main-config (:require [integrant.core :as ig] [environ.core :refer [env]])) (def main-config {:handler/main {:db (ig/ref :db/postgres)} :server/jetty {:handler (ig/ref :handler/main) :opts {:port 3000 :join? false}} :db/postgres ...
(ns clj-templates.config.main-config (:require [integrant.core :as ig] [environ.core :refer [env]])) (def main-config {:handler/main {:db (ig/ref :db/postgres)} :server/jetty {:handler (ig/ref :handler/main) :opts {:port 3000 :join? false}} :db/postgres ...
Use env for elastic url.
Use env for elastic url.
Clojure
epl-1.0
Dexterminator/clj-templates,Dexterminator/clj-templates
c0afa45a0701c85685881d3e040da949422c4f07
cmma-clj/project.clj
cmma-clj/project.clj
(defproject ohpauleez/cmma "0.1.0-SNAPSHOT" :description "Clojure + Make Managed Applications" :url "https://github.com/ohpauleez/cmma" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.6.0"] ;; Try nrep...
(defproject ohpauleez/cmma "0.1.0-SNAPSHOT" :description "Clojure + Make Managed Applications" :url "https://github.com/ohpauleez/cmma" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.6.0"] [org.clojur...
Fix reply and nREPL versions
Fix reply and nREPL versions
Clojure
epl-1.0
ohpauleez/cmma
04c3575be48cfc327a5a5cc82fb3fded78b58032
test/time_tracker/core_test.clj
test/time_tracker/core_test.clj
(ns time-tracker.core-test (:require [clojure.test :refer :all] [time-tracker.core :refer :all])) (deftest a-test (testing "FIXME, I fail." (is (= 0 1))))
(ns time-tracker.core-test (:require [clojure.test :refer :all] [time-tracker.core :refer :all]))
Remove broken test generated by project template
Remove broken test generated by project template
Clojure
epl-1.0
nilenso/time-tracker,nilenso/time-tracker,nilenso/time-tracker
aa1fc2247a1101899407fdc000aa030081aa6c94
src/such/random.clj
src/such/random.clj
(ns such.random "Random numbers and crypographic hashes" (:import org.apache.commons.codec.digest.DigestUtils)) (defn guid "A random almost-certainly-unique identifier" [] (str (java.util.UUID/randomUUID))) (def uuid "Synonym for `guid`" guid) (defn form-hash "Returns a SHA-1 hash (encoded as a hex stri...
(ns such.random "Random numbers and crypographic hashes" (:import org.apache.commons.codec.digest.DigestUtils)) (defn guid "A random almost-certainly-unique identifier" [] (str (java.util.UUID/randomUUID))) (def uuid "Synonym for `guid`" guid) (defn form-hash "Returns a SHA-1 hash (encoded as a hex stri...
Revert to older version of commons-codec for compatibility with compojure
Revert to older version of commons-codec for compatibility with compojure
Clojure
unlicense
marick/suchwow
590185d8645d77104a3ed9a97bbbbb832d2607ef
client/project.clj
client/project.clj
(defproject inlein/client "0.1.0-SNAPSHOT" :description "Inlein your dependencies." :url "https://github.com/hyPiRion/inlein" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [] :source-paths [] :java-source-paths ["src"] :javac-options [...
(defproject inlein/client "0.1.0-SNAPSHOT" :description "Inlein your dependencies." :url "https://github.com/hyPiRion/inlein" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [] :source-paths [] :java-source-paths ["src"] :javac-options [...
Make it easier to separate between jar and uberjar
Make it easier to separate between jar and uberjar
Clojure
epl-1.0
hyPiRion/inlein,hyPiRion/inlein
21a6f3c17017563e1956d2d2213100c9496564cc
src/formlogic/db.clj
src/formlogic/db.clj
(ns formlogic.db (:require [yesql.core :refer [defqueries]])) (def db-spec {:classname "org.postgresql.Driver" :subprotocol "postgresql" :subname "//localhost:5432/formlogic" :user "formlogic"}) (defqueries "sql/get.sql" {:connection db-spec}) (defqueries "sql/insert.sql" {...
(ns formlogic.db (:require [yesql.core :refer [defqueries]] [formlogic.config :refer [cget]])) (def db-spec {:classname "org.postgresql.Driver" :subprotocol "postgresql" :subname (format "//%s:%d/%s" (cget :db :host) ...
Use DB connection configuration from config.edn
Use DB connection configuration from config.edn
Clojure
epl-1.0
dimitrijer/formlogic,dimitrijer/formlogic,dimitrijer/formlogic
41e3c189198f0ff3b749dbccabe1d34df6396f7b
examples/todomvc/project.clj
examples/todomvc/project.clj
(defproject todomvc-re-frame "0.10.5" :dependencies [[org.clojure/clojure "1.10.0"] [org.clojure/clojurescript "1.10.439"] [reagent "0.8.1"] [re-frame "0.10.5"] [binaryage/devtools "0.9.10"] [secretary "1.2.3"] ...
(defproject todomvc-re-frame "0.10.5" :dependencies [[org.clojure/clojure "1.10.0"] [org.clojure/clojurescript "1.10.439"] [reagent "0.8.1"] [re-frame "0.10.5"] [binaryage/devtools "0.9.10"] [secretary "1.2.3"] ...
Fix missing trailing ] in todomvc :dependencies
Fix missing trailing ] in todomvc :dependencies
Clojure
mit
Day8/re-frame,Day8/re-frame,Day8/re-frame
86c003946f3ca91cd0981e769e8ff6fafa10292e
project.clj
project.clj
(defproject onyx-app/lein-template "0.10.0.0-beta16" :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
b55569d00009a75740ef6e36ef0e8f0647410370
project.clj
project.clj
(defproject jnanomsg "0.1.0" :description "Nanomsg clojure/java wrapper/" :url "https://github.com/niwibe/jnanomsg" :license {:name "Apache 2.0" :url "http://www.apache.org/licenses/LICENSE-2.0.txt"} :dependencies [[org.clojure/clojure "1.5.1"] [org.clojure/core.async "0.1.267.0-0d7...
(defproject jnanomsg "0.1.0" :description "Nanomsg clojure/java wrapper/" :url "https://github.com/niwibe/jnanomsg" :license {:name "Apache 2.0" :url "http://www.apache.org/licenses/LICENSE-2.0.txt"} :dependencies [[org.clojure/clojure "1.5.1"] [org.clojure/core.async "0.1.267.0-0d7...
Add more new nanomsg.exceptions package to javadoc.
Add more new nanomsg.exceptions package to javadoc.
Clojure
apache-2.0
niwinz/jnanomsg,evacchi/jnanomsg,RepublicWealth/jfuture-nanomsg,evacchi/jnanomsg,RepublicWealth/jfuture-nanomsg,niwinz/jnanomsg
cb454e5fd36c1c456d7c0f87a5d120d0ecf3447e
src/leiningen/new/onyx_app/project.clj
src/leiningen/new/onyx_app/project.clj
(defproject {{app-name}} "0.1.0-SNAPSHOT" :description "" :url "" :license {:name "" :url ""} :dependencies [[aero "1.0.0-beta2"] [org.clojure/clojure "1.8.0"] [org.clojure/tools.cli "0.3.5"] [org.onyxplatform/onyx "{{onyx-version}}{{onyx-version-po...
(defproject {{app-name}} "0.1.0-SNAPSHOT" :description "" :url "" :license {:name "" :url ""} :dependencies [[aero "1.0.0-beta2"] [org.clojure/clojure "1.8.0"] [org.clojure/tools.cli "0.3.5"] [org.onyxplatform/onyx "{{onyx-version}}{{onyx-version-po...
Enable assertions in development mode
Enable assertions in development mode
Clojure
mit
onyx-platform/onyx-template
d240007b6efeef0a307232779e10e6aac40c7b20
src/onyx/static/default_vals.clj
src/onyx/static/default_vals.clj
(ns onyx.static.default-vals) (def defaults {; input task defaults :onyx/input-retry-timeout 1000 :onyx/pending-timeout 60000 :onyx/max-pending 10000 ; task defaults :onyx/batch-timeout 1000 ; zookeeper defaults :onyx.peer/zookeeper-timeout 50000 ; peer defaults :onyx.peer/inbox-capacit...
(ns onyx.static.default-vals) (def defaults {; input task defaults :onyx/input-retry-timeout 1000 :onyx/pending-timeout 60000 :onyx/max-pending 10000 ; task defaults :onyx/batch-timeout 1000 ; zookeeper defaults :onyx.peer/zookeeper-timeout 6000 ; peer defaults :onyx.peer/inbox-capacity...
Reduce ZK timeout back to default for zookeeper-clj
Reduce ZK timeout back to default for zookeeper-clj
Clojure
epl-1.0
dignati/onyx,tomasu82/onyx,mccraigmccraig/onyx,Deraen/onyx,ideal-knee/onyx,KevinGreene/onyx,vijaykiran/onyx,iperdomo/onyx,intfrr/onyx,onyx-platform/onyx
fc7f351d122139a38bb70cf1f5301f8e50e61c22
src/org/knotation/editor/line_map.cljs
src/org/knotation/editor/line_map.cljs
(ns org.knotation.editor.line-map (:require [clojure.set :as set] [org.knotation.state :as st] [org.knotation.editor.util :as util])) (def empty {}) (defn compiled->line-map ([compiled] (compiled->line-map empty compiled)) ([line-map compiled] (let [modified (fn [m ed in ou...
(ns org.knotation.editor.line-map (:require [clojure.set :as set] [org.knotation.state :as st] [org.knotation.editor.util :as util])) (def empty {}) (defn compiled->line-map ([compiled] (compiled->line-map empty compiled)) ([line-map compiled] (let [modified (fn [m ed in ou...
Update highlighting to accomodate new knotation-cljs
Update highlighting to accomodate new knotation-cljs
Clojure
bsd-3-clause
knotation/knotation-editor
b3b17de8a5fc10431c8560784e18eb5c67cbef51
src/main/audio_utils/mp3_encoder.cljs
src/main/audio_utils/mp3_encoder.cljs
(ns audio-utils.mp3-encoder (:require [cljsjs.lamejs] [audio-utils.worker :as w])) (defrecord MP3Encoder [bit-rate sample-rate next] w/IWorkerAudioNode (connect [this destination] (reset! next destination)) (disconnect [this] (reset! next nil)) (process-audio [this data] (let [int-d...
(ns audio-utils.mp3-encoder (:require [cljsjs.lamejs] [audio-utils.util :as u] [audio-utils.worker :as w])) (defrecord MP3Encoder [bit-rate sample-rate next] w/IWorkerAudioNode (connect [this destination] (reset! next destination)) (disconnect [this] (reset! next nil)) (proc...
Update MP3 encoder to operate on JS arrays/data
Update MP3 encoder to operate on JS arrays/data
Clojure
mit
Jannis/cljs-audio-utils
55052febb75e9f91e942c3a01eb17b7e2affea1d
basic/om-tut/src/om_tut/core.cljs
basic/om-tut/src/om_tut/core.cljs
(ns om-tut.core (:require [om.core :as om :include-macros true] [om.dom :as dom :include-macros true])) (enable-console-print!) (println "A new developer message. Pay attention, dev guy!") ;; define your app data so that it doesn't get over-written on reload (defonce app-state (atom {:list ["Lion" "Ze...
(ns om-tut.core (:require [om.core :as om :include-macros true] [om.dom :as dom :include-macros true])) (enable-console-print!) (println "A new developer message. Pay attention, dev guy!") ;; define your app data so that it doesn't get over-written on reload (defonce app-state (atom {:list ["Lion" "Ze...
Implement code to render a list of things.
Implement code to render a list of things.
Clojure
epl-1.0
mrwizard82d1/om-tutorials
4f0b070be37d3e547dd92971f9e3420724e889d1
src/leiningen/new/vdom_app.clj
src/leiningen/new/vdom_app.clj
(ns leiningen.new.vdom-app (:use [leiningen.new.templates :only [renderer name-to-path ->files]])) (def render (renderer "vdom-app")) (defn vdom-app [name] (let [data {:name name :path (name-to-path name)}] (->files data ["index.html" (render "index.html" data)] ["dev.html" (render "...
(ns leiningen.new.vdom-app (:use [leiningen.new.templates :only [renderer name-to-path ->files]])) (def render (renderer "vdom-app")) (defn vdom-app [name] (let [data {:name name :path (name-to-path name)}] (->files data ["index.html" (render "index.html" data)] ["dev.html" (render "...
Fix creating directory instead of file.
Fix creating directory instead of file.
Clojure
mit
exupero/vdom-app
3ea28f3404521113d8a25479ce7947e55f4a9388
src/quil_site/core.clj
src/quil_site/core.clj
(ns quil-site.core (:require [compojure.core :refer [defroutes GET]] [compojure.handler :refer [site]] [compojure.route :refer [files]] [ring.middleware.json :as json] [ring.adapter.jetty :refer [run-jetty]] [ring.middleware.stacktrace :as stacktrace] ...
(ns quil-site.core (:require [compojure.core :refer [defroutes GET]] [compojure.handler :refer [site]] [compojure.route :refer [files]] [ring.middleware.json :as json] [ring.adapter.jetty :refer [run-jetty]] [ring.middleware.stacktrace :as stacktrace] ...
Add method for running server.
Add method for running server.
Clojure
epl-1.0
quil/quil-site,quil/quil-site
1654e66a9e5a4f5821c5c471d63ac8c5ce731e30
src/braid/search/ui/search_bar.cljs
src/braid/search/ui/search_bar.cljs
(ns braid.search.ui.search-bar (:require [reagent.core :as r] [re-frame.core :refer [subscribe dispatch]] [braid.core.client.routes :as routes] [braid.lib.color :as color])) (defn search-bar-view [] (r/with-let [search-query (r/atom @(subscribe [:braid.search/query]))] [:div.search-bar [:inp...
(ns braid.search.ui.search-bar (:require [reagent.core :as r] [re-frame.core :refer [subscribe dispatch]] [braid.core.client.routes :as routes] [braid.lib.color :as color])) (defn search-bar-view [] (r/with-let [search-query (r/atom @(subscribe [:braid.search/query])) prev-page (r/atom...
Make leaving the search page clear the search bar
[search] Make leaving the search page clear the search bar
Clojure
agpl-3.0
rafd/braid,rafd/braid,braidchat/braid,braidchat/braid
85b8816059f8181004dcd72b293991bfe2f1d243
src/test/discuss/lib.cljs
src/test/discuss/lib.cljs
(ns discuss.test.lib (:require [cljs.pprint :as pprint] [cljs.test :refer-macros [is]])) (defn- summarize-results' [spec-check] (doall (map #(-> % :clojure.test.check/ret pprint/pprint) spec-check))) (defn check' [spec-check] (summarize-results' spec-check) (is (nil? (-> spec-check first :failure)...
(ns discuss.test.lib (:require [cljs.pprint :as pprint] [cljs.test :refer-macros [is]])) (defn- summarize-results' [spec-check] (doall (map #(-> % (select-keys [:clojure.test.check/ret :sym]) vals pprint/pprint) spec-check))) (defn check' [spec-...
Add name of fn which was automatically tested
Add name of fn which was automatically tested
Clojure
mit
hhucn/discuss,hhucn/discuss
0949543a6fc6c3a99362dcf079ec1fb4b9c6ef0d
test/rill/event_store/psql_test.clj
test/rill/event_store/psql_test.clj
(ns rill.event-store.psql-test (:require [rill.event-store.psql :refer [psql-event-store]] [rill.event-store.psql.tools :as tools] [rill.event-store.generic-test-base :refer [test-store]] [clojure.test :refer :all])) (def config {:user (System/getenv "RILL_POSTGRES_USER") ...
(ns rill.event-store.psql-test (:require [rill.event-store.psql :refer [psql-event-store]] [rill.event-store.psql.tools :as tools] [rill.event-store.generic-test-base :refer [test-store]] [clojure.test :refer :all])) (def config {:user (System/getenv "RILL_POSTGRES_USER") ...
Fix accidental rename of environment variable
Fix accidental rename of environment variable
Clojure
epl-1.0
rill-event-sourcing/rill
949e7acbd6add4a9f80694f739d40c0d5c68f6d4
test/continuo/postgresql_spec.clj
test/continuo/postgresql_spec.clj
(ns continuo.postgresql-spec (:require [clojure.test :as t] [continuo.postgresql.schema :as schema])) (t/deftest schema-internal-tests (let [schema [[:db/add :user/username {:type :continuo/string}] [:db/add :user/fullname {:type :continuo/string}] [:db/drop :user/name]]...
(ns continuo.postgresql-spec (:require [clojure.test :as t] [suricatta.core :as sc] [continuo.core :as co] [continuo.impl :as impl] [continuo.executor :as exec] [continuo.postgresql.connection :as conn] [continuo.postgresql.schema :as schema]) ...
Add first test for fake transactor creation process.
Add first test for fake transactor creation process.
Clojure
apache-2.0
niwinz/continuo
4fe0938e1bf465ac3858f30664cae5ca76246dc8
test/fhofherr/clj_db_util/jdbc_template_test.clj
test/fhofherr/clj_db_util/jdbc_template_test.clj
(ns fhofherr.clj-db-util.jdbc-template-test (:require [clojure.test :refer :all] [fhofherr.clj-db-util.support.test-db :as test-db] [fhofherr.clj-db-util.jdbc-template :as t] [fhofherr.clj-db-util.dialect :refer [h2]])) (deftest named-parameters (let [stmt "SELECT 1 AS result F...
(ns fhofherr.clj-db-util.jdbc-template-test (:require [clojure.test :refer :all] [fhofherr.clj-db-util.support.test-db :as test-db] [fhofherr.clj-db-util.jdbc-template :as t] [fhofherr.clj-db-util.dialect :refer [h2]])) (deftest named-parameters (testing "simple statements" ...
Test subselects with named parameters.
Test subselects with named parameters.
Clojure
mit
fhofherr/clj-db-util
3829e7682ddf05badf4910196cde9fa6037f37cd
exercises/pangram/test/pangram_test.clj
exercises/pangram/test/pangram_test.clj
(ns pangram-test (:require [clojure.test :refer [is deftest]] [pangram :refer [pangram?]])) (deftest empty-sentence (is (false? (pangram? "")))) (deftest lowercase-pangram (is (pangram? "the quick brown fox jumps over the lazy dog"))) (deftest missing-character-x (is (false? (pangram? "a q...
(ns pangram-test (:require [clojure.test :refer [is deftest]] [pangram :refer [pangram?]])) (deftest empty-sentence (is (false? (pangram? "")))) (deftest lowercase-pangram (is (pangram? "the quick brown fox jumps over the lazy dog"))) (deftest missing-character-x (is (false? (pangram? "a q...
Update tests to reflect master problem spec
Update tests to reflect master problem spec
Clojure
mit
exercism/xclojure,exercism/xclojure,querenker/xclojure,querenker/xclojure
db70bdf35df57325627abd578c182ee702dca40d
src/dragon/generator.clj
src/dragon/generator.clj
(ns dragon.generator (:require [dragon.config :as config] [dragon.web :as web] [stasis.core :as stasis] [taoensso.timbre :as log])) (defn run [routes out-dir] (log/infof "Generating static content to %s ..." out-dir) (stasis/export-pages routes out-dir) (log/info "Static g...
(ns dragon.generator (:require [dragon.config :as config] [dragon.web :as web] [stasis.core :as stasis] [taoensso.timbre :as log])) (defn run [routes out-dir] (log/infof "Generating static content to '%s' ..." out-dir) (stasis/export-pages routes out-dir) (log/info "Static...
Add quote marks to log message.
Add quote marks to log message.
Clojure
apache-2.0
clojusc/dragon
5d35aab96a6a31aa42dd9e97ba91b74e0b3cfa31
src/airhead_cljs/core.cljs
src/airhead_cljs/core.cljs
(ns airhead-cljs.core (:require-macros [cljs.core.async.macros :refer [go]]) (:require [reagent.core :as r] [ajax.core :refer [GET POST]])) (def state (r/atom {:server "http://localhost:8080"})) (defn change-server! [event] (swap! state assoc :server (-> event .-target .-value))) ...
(ns airhead-cljs.core (:require-macros [cljs.core.async.macros :refer [go]]) (:require [reagent.core :as r] [ajax.core :refer [GET POST]])) (def state (r/atom {:server "http://localhost:8080" :playlist []})) (defn update-state! [k value] (swap! state assoc k value)) ;; ---------...
Move playlist in state atom
Move playlist in state atom
Clojure
bsd-2-clause
edne/airhead-frontend,edne/airhead-cljs
a837b905bb4b545c23eee285e37be622a89cd9aa
src/leipzig_live/core.cljs
src/leipzig_live/core.cljs
(ns leipzig-live.core (:require [leipzig-live.processing] ; Import action defs. [leipzig-live.eval :as eval] [leipzig-live.views :as view] [leipzig-live.framework :as framework] [reagent.core :as reagent])) (def initial-text "(->> (phrase [1 1 1 1] [0 1 2 0]) (where :time (bpm 90)) ...
(ns leipzig-live.core (:require [leipzig-live.processing] ; Import action defs. [leipzig-live.eval :as eval] [leipzig-live.views :as view] [leipzig-live.framework :as framework] [reagent.core :as reagent])) (def initial-text "(->> (phrase [1 1/2 1/2 1 1 2 2] [0 1 0 2 -3 -10 -10]) (where :t...
Use a more visually pleasing starting melody.
Use a more visually pleasing starting melody.
Clojure
mit
ctford/cljs-bach,ctford/cljs-bach,ctford/leipzig-live
ba5339a82c8736a99e66edf9f30410e94a2bcd8d
lein/profiles.clj
lein/profiles.clj
{:user {:dependencies [[org.clojure/tools.namespace "0.3.0-alpha4"] [eftest "0.5.2"]] :repl-options {:color false} :plugins [[lein-cljfmt "0.4.1" :exclusions [org.clojure/clojure]] [lein-cloverage "1.0.6" :exclusions [org.clojure/clojure]] [lein...
{:user {:dependencies [[org.clojure/tools.namespace "0.3.0-alpha4"] [com.cemerick/pomegranate "1.0.0"] [eftest "0.5.2"]] :repl-options {:color false} :plugins [[lein-cljfmt "0.4.1" :exclusions [org.clojure/clojure]] [lein-cloverage "1.0.6" ...
Add pomegranate to global dependencies
[clojure] Add pomegranate to global dependencies
Clojure
mit
lukaszkorecki/cult-leader
7a32a6e1a19c87a6032b8be107424df6419d0118
src/clojure/leiningen/new/libgdx_clojure/core.clj
src/clojure/leiningen/new/libgdx_clojure/core.clj
(ns {{namespace}} (:import [com.badlogic.gdx Game Gdx Graphics Screen] [com.badlogic.gdx.graphics Color GL20] [com.badlogic.gdx.graphics.g2d BitmapFont] [com.badlogic.gdx.scenes.scene2d Stage] [com.badlogic.gdx.scenes.scene2d.ui Label Label$LabelStyle])) (declare ^Stage st...
(ns {{namespace}} (:import [com.badlogic.gdx Game Gdx Graphics Screen] [com.badlogic.gdx.graphics Color GL20] [com.badlogic.gdx.graphics.g2d BitmapFont] [com.badlogic.gdx.scenes.scene2d Stage] [com.badlogic.gdx.scenes.scene2d.ui Label Label$LabelStyle])) (def main-screen ...
Make Clojure LibGDX code more idiomatic
Make Clojure LibGDX code more idiomatic
Clojure
unlicense
Immortalin/Nightcode,bsmr-clojure/Nightcode,oakes/Nightcode,bsmr-clojure/Nightcode,bsmr-clojure/Nightcode,Immortalin/Nightcode,oakes/Nightcode,Immortalin/Nightcode
9de348e0e0e8af77d7fc4520ba1d820c27a7e7eb
server/src/main/clojure/vimclojure/core.clj
server/src/main/clojure/vimclojure/core.clj
;- ; Copyright 2011 (c) Meikel Brandmeyer. ; All rights reserved. ; ; Permission is hereby granted, free of charge, to any person obtaining a copy ; of this software and associated documentation files (the "Software"), to deal ; in the Software without restriction, including without limitation the rights ; to use, copy...
;- ; Copyright 2011 (c) Meikel Brandmeyer. ; All rights reserved. ; ; Permission is hereby granted, free of charge, to any person obtaining a copy ; of this software and associated documentation files (the "Software"), to deal ; in the Software without restriction, including without limitation the rights ; to use, copy...
Load repl namespace when running on 1.3
Load repl namespace when running on 1.3
Clojure
mit
guns/vimclojure,guns/vimclojure,guns/vimclojure
aeb1af2d5f64d34676ff79711e0b73380cb2cd03
src/clj/clojure/lang/apersistent_map.clj
src/clj/clojure/lang/apersistent_map.clj
(ns clojure.lang.apersistent-map (:refer-clojure :only [bit-and defmacro defn let loop +]) (:require [clojure.lang.counted :refer [count]] [clojure.lang.hash :refer [hash]] [clojure.lang.lookup :refer [contains? get]] [clojure.lang.map-entry :refer [key val]] ...
(ns clojure.lang.apersistent-map (:refer-clojure :only [bit-and defmacro defn let loop +]) (:require [clojure.lang.counted :refer [count]] [clojure.lang.hash :refer [hash]] [clojure.lang.lookup :refer [contains? get]] [clojure.lang.map-entry :refer [key val]] ...
Change map-hash from macro to fn
Change map-hash from macro to fn
Clojure
epl-1.0
patrickgombert/clojure.core,mylesmegyesi/clojure.core,kevinbuch/clojure.core
b5ec640aee4e6e848ec9b880fa095372d30e6d3c
clojure/src/euler/003.clj
clojure/src/euler/003.clj
; https://projecteuler.net/problem=3 (ns euler.003 (:require [clojure.math.numeric-tower :as math])) (defmulti prime? "Returns true if a number is divisible by only 1 and itself, false otherwise." (fn [n] (cond (> 2 n) :not (= 2 n) :is))) (defmethod prime? :not [_] false) (defmethod pr...
; https://projecteuler.net/problem=3 (ns euler.003 (:require [clojure.math.numeric-tower :as math])) (defmulti prime? "Returns true if a number is divisible by only 1 and itself, false otherwise." (fn [n] (cond (> 2 n) :not (= 2 n) :is))) (defmethod prime? :not [_] false) (defmethod pr...
Clean up with comments, semantic fix
Clean up with comments, semantic fix
Clojure
mit
ndhoule/project-euler
2dfa13fe022b195992e07cdbe308e0ed721c7337
src/clj/decktouch/handler.clj
src/clj/decktouch/handler.clj
(ns decktouch.handler (:require [decktouch.dev :refer [browser-repl start-figwheel]] [compojure.core :refer [GET defroutes]] [compojure.route :refer [not-found resources]] [ring.middleware.defaults :refer [site-defaults wrap-defaults]] [selmer.parser :refer [render-file...
(ns decktouch.handler (:require [decktouch.dev :refer [browser-repl start-figwheel]] [compojure.core :refer [GET POST defroutes]] [compojure.route :refer [not-found resources]] [ring.middleware.defaults :refer [site-defaults wrap-defaults]] [ring.middleware.params :refe...
Add route for getting card info
Add route for getting card info
Clojure
epl-1.0
Pance/decktouch,Pance/decktouch
b7d527b627986656f924df2b5718138627149d99
test/cmr/common/test/util.clj
test/cmr/common/test/util.clj
(ns cmr.common.test.util (:require [clojure.test :refer :all] [cmr.common.util :as util])) (deftest test-sequence->fn (testing "vector of values" (let [f (util/sequence->fn [1 2 3])] (is (= 1 (f))) (is (= 2 (f))) (is (= 3 (f))) (is (= nil (f))) (is (= nil (f))))) (te...
(ns cmr.common.test.util (:require [clojure.test :refer :all] [cmr.common.util :as util])) (deftest test-sequence->fn (testing "vector of values" (let [f (util/sequence->fn [1 2 3])] (is (= 1 (f))) (is (= 2 (f))) (is (= 3 (f))) (is (= nil (f))) (is (= nil (f))))) (te...
Revert "Adding failing test to test ci."
Revert "Adding failing test to test ci." This reverts commit 788e5af5fbec49f0b77ea36b05831145dd610c23.
Clojure
apache-2.0
mschmele/Common-Metadata-Repository,nasa/Common-Metadata-Repository,nasa/Common-Metadata-Repository,mschmele/Common-Metadata-Repository,nasa/Common-Metadata-Repository,mschmele/Common-Metadata-Repository,nasa/Common-Metadata-Repository,nasa/Common-Metadata-Repository,nasa/Common-Metadata-Repository,mschmele/Common-Meta...
727904be2118a5170745e7961e693d0bf17b6d9c
src/lab_notebook/core.cljs
src/lab_notebook/core.cljs
(ns lab-notebook.core (:require [om.core :as om] [om.dom :as dom])) (defonce appstate (atom {})) (defn item-view [cursor component] (reify om/IRender (render [this] (dom/div nil (dom/div nil (:summary cursor)) (dom/div nil (:date-time cursor)) (dom/div nil (:notes...
(ns lab-notebook.core (:require [om.core :as om] [om.dom :as dom])) (defonce appstate (atom {})) (defn item-view [cursor component] (reify om/IRender (render [this] (dom/div #js {:style #js {:marginTop "2em"}} (dom/div nil (:summary cursor)) (dom/div nil (:date-time curso...
Add our first style, just a bit of margin
Add our first style, just a bit of margin
Clojure
cc0-1.0
prachetasp/lispcast-lab-notebook,abeyonalaja/lisp-cast-om
4b89817311d7067a7d6cc8c58bec516c11eaa648
examples/example/core.clj
examples/example/core.clj
(ns example.core (:require [clojure.string :as str] [example.lib :as lib])) (defn collatz [n] (lazy-seq (cons n (if (lib/even? n) (collatz (/ n 2)) (collatz (+ (* 3 n) 1)))))) (defmacro let1 [name expr & body] `(let [~name ~expr] ~@body)) (def x 42) (defn...
(ns example.core (:require [clojure.java.io :as io] [clojure.string :as str] [example.lib :as lib])) (defn collatz [n] (lazy-seq (cons n (if (lib/even? n) (collatz (/ n 2)) (collatz (+ (* 3 n) 1)))))) (defmacro let1 [name expr & body] `(let [~name ~e...
Update example code demonstrating some features
Update example code demonstrating some features
Clojure
epl-1.0
athos/lein-highlight