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
9ade69060e74a2160981cb6c6eecc6772202673f
project.clj
project.clj
(defproject compojure "1.6.0-beta1" :description "A concise routing library for Ring" :url "https://github.com/weavejester/compojure" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.7.0"] [org.clojure/...
(defproject compojure "1.6.0-beta1" :description "A concise routing library for Ring" :url "https://github.com/weavejester/compojure" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.7.0"] [org.clojure/...
Update Ring dependency to 1.6.0-beta6
Update Ring dependency to 1.6.0-beta6
Clojure
epl-1.0
weavejester/compojure
ae271974bbf80af965f3854677eaf6c8a39de9f9
src/todo_repl_webapp/handler.clj
src/todo_repl_webapp/handler.clj
(ns todo-repl-webapp.handler (:gen-class :main true) (:use compojure.core) (:require [compojure.handler :as handler] [compojure.route :as route] [ring.adapter.jetty :as jetty] [todo-repl.core :as todo] [todo-repl-webapp.views :as views])) (def *tasks-ref* (ref [])...
(ns todo-repl-webapp.handler (:gen-class :main true) (:use compojure.core) (:require [compojure.handler :as handler] [compojure.route :as route] [ring.adapter.jetty :as jetty] [todo-repl.core :as todo] [todo-repl-webapp.views :as views])) (def *tasks-ref* (ref []))...
Add a few tasks to initialize tasks
Add a few tasks to initialize tasks
Clojure
mit
Pance/todo-repl-webapp
ab551ac5b028122219c1f09a1b4156972ff68729
provider/pact-jvm-provider-lein/src/main/clojure/leiningen/pact_verify.clj
provider/pact-jvm-provider-lein/src/main/clojure/leiningen/pact_verify.clj
(ns leiningen.pact-verify (:require [au.com.dius.pact.provider.lein.verify-provider :as verify] [clojure.string :as str]) (:import (au.com.dius.pact.provider.lein LeinVerifierProxy))) (defn- split-string [arg] (if (.contains arg "=") (let [key-val (str/split arg #"=")] [(read-string (first ...
(ns leiningen.pact-verify (:require [au.com.dius.pact.provider.lein.verify-provider :as verify] [clojure.string :as str]) (:import (au.com.dius.pact.provider.lein LeinVerifierProxy))) (defn- split-string [arg] (if (.contains arg "=") (let [key-val (str/split arg #"=")] [(read-string (first ...
Fix Wrong number of args passed to: ex-info
Fix Wrong number of args passed to: ex-info clojure.lang.ArityException Wrong number of args (1) passed to: clojure.core/ex-info
Clojure
apache-2.0
DiUS/pact-jvm,DiUS/pact-jvm
6ae7fe2b660f456f03040ec84a57bb7aca4f08f7
clojure/lein.symlink/profiles.clj
clojure/lein.symlink/profiles.clj
{:user { :dependencies [[pjstadig/humane-test-output "0.6.0"] [slamhound "1.5.5"]] :injections [(require 'pjstadig.humane-test-output) (pjstadig.humane-test-output/activate!)] :plugins [ [lein-kibit "0.1.2"] [lein-t...
{:user { :dependencies [[pjstadig/humane-test-output "0.6.0"] [slamhound "1.5.5"]] :injections [(require 'pjstadig.humane-test-output) (pjstadig.humane-test-output/activate!)] :jvm-opts ["-Xmx512m" "-server"] :plugins [ [lein...
Set defaut jvm opts for lein. Limit memory usage
Set defaut jvm opts for lein. Limit memory usage
Clojure
mit
nberger/dotfiles,nberger/dotfiles
26d7b550a6c444b551100be267796c5da4241366
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])) (def sites {"Manga Fox" {:url "http://mangafox.me/manga/" :selector [:div.manga_list :ul :li :a] :normalize (fn [{name :content {url :hre...
(ns comic-reader.scrape (:require [clojure.string :refer [trim]] [net.cgrand.enlive-html :as html]) (:import java.net.URL)) (def sites {"Manga Fox" {:url "http://mangafox.me/manga/" :selector [:div.manga_list :ul :li :a] :normalize (fn [{name :content ...
Write a function to process the site data
Write a function to process the site data
Clojure
epl-1.0
RadicalZephyr/comic-reader,RadicalZephyr/comic-reader
13d4fa0debb19848a60fb998b415ad535ecd6b46
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 ...
Rename SecretKey protocol to ISecretKey
Rename SecretKey protocol to ISecretKey
Clojure
apache-2.0
funcool/buddy
5c9d40edec9a76432deae9394cba0dccb61fc680
src/cljs/leipzig_live/core.cljs
src/cljs/leipzig_live/core.cljs
(ns leipzig-live.core (:require [reagent.core :as reagent :refer [atom]] [reagent.session :as session] [secretary.core :as secretary :include-macros true] [accountant.core :as accountant])) ;; ------------------------- ;; Views (defn home-page [] [:div [:h1 "Welcome to ...
(ns leipzig-live.core (:require [reagent.core :as reagent :refer [atom]] [reagent.session :as session] [secretary.core :as secretary :include-macros true] [accountant.core :as accountant])) ;; ------------------------- ;; Model (defonce music (atom "")) ;; --------------...
Store the contents of the scratchpad in an atom.
Store the contents of the scratchpad in an atom.
Clojure
mit
ctford/cljs-bach,ctford/cljs-bach,ctford/leipzig-live
5a4033fa00e1dc308a62efc14ddb49e7591ee1cc
ring-core/test/ring/middleware/multipart_params/test/temp_file.clj
ring-core/test/ring/middleware/multipart_params/test/temp_file.clj
(ns ring.middleware.multipart-params.test.temp-file (:use clojure.test [ring.util.io :only (string-input-stream)] ring.middleware.multipart-params.temp-file)) (deftest test-temp-file-store (let [store (temp-file-store) result (store {:filename "foo.txt" :co...
(ns ring.middleware.multipart-params.test.temp-file (:use clojure.test [ring.util.io :only (string-input-stream)] ring.middleware.multipart-params.temp-file)) (deftest test-temp-file-store (let [store (temp-file-store) result (store {:filename "foo.txt" :co...
Test to check for excessive temp-file-store threads
Test to check for excessive temp-file-store threads
Clojure
mit
ring-clojure/ring,tchagnon/ring,suligap/ring,ring-clojure/ring,meowcakes/ring,ieure/ring,kirasystems/ring,povloid/ring
5a862239afa04351d0e5bb4155d55b23be266c0a
clojure/rna-transcription/dna.clj
clojure/rna-transcription/dna.clj
(ns dna) (defn- strand-convert [ch] (if (= \T ch) \U ch) ) (defn to-rna [dna] (apply str (map strand-convert dna)) )
(ns dna) (def Thymine \T) (def Uracil \U) (defn- strand-convert [ch] (if (= Thymine ch) Uracil ch) ) (defn to-rna [dna] (apply str (map strand-convert dna)) )
Use symbols for Thymine and Uracil
Use symbols for Thymine and Uracil
Clojure
mit
driis/exercism,driis/exercism,driis/exercism
33f44d8ff7b94894a4f1885cc90b782e014aa943
src/cljs/comic_reader/ui/component_css.cljs
src/cljs/comic_reader/ui/component_css.cljs
(ns comic-reader.ui.component-css (:refer-clojure :exclude [merge]) (:require [garden.core :as g] [re-frame.core :as re-frame])) (defn get* [db] (:component-css db)) (defn merge* [db id garden-css] (assoc-in db [:component-css id] garden-css)) (defn setup! [] (re-frame/reg-sub :component-css...
(ns comic-reader.ui.component-css (:refer-clojure :exclude [merge]) (:require [garden.core :as g] [re-frame.core :as re-frame])) (defn get* [db] (:component-css db)) (defn merge* [db id garden-css] (assoc-in db [:component-css id] garden-css)) (defn setup! [] (re-frame/reg-sub :component-css...
Use dangerouslySetINnerHTML for component-css rendering
Use dangerouslySetINnerHTML for component-css rendering
Clojure
epl-1.0
RadicalZephyr/comic-reader,RadicalZephyr/comic-reader
ab258baca7de4ad1e2371bb5be5439f22c9f907f
src/braid/ui/styles/imports.cljs
src/braid/ui/styles/imports.cljs
(ns braid.ui.styles.imports (:require [garden.stylesheet :refer [at-import]])) (def imports [(at-import "https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css") (at-import "https://fonts.googleapis.com/css?family=Open+Sans:400,300,400italic,700")])
(ns braid.ui.styles.imports (:require [garden.stylesheet :refer [at-import]])) (def imports [(at-import "https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css") (at-import "https://fonts.googleapis.com/css?family=Open+Sans:400,300,400italic,700")])
Fix small gap in line 5
Fix small gap in line 5
Clojure
agpl-3.0
braidchat/braid,rafd/braid,braidchat/braid,rafd/braid
3d338d500c56739127677c53b836ef09f5303fdd
src/ninjudd/eventual/client.cljs
src/ninjudd/eventual/client.cljs
(ns ninjudd.eventual.client (:require [cljs.core.async :as async] [cljs.reader :refer [read-string]])) (defn make-event [f event] (-> (f (.-data event)) (vary-meta merge {:event-id (.-lastEventId event) :event-type (keyword (.-type event))}))) (defn event-source [f url & ...
(ns ninjudd.eventual.client (:require [cljs.core.async :as async] [cljs.reader :refer [read-string]])) (defn make-event [f event] (-> (f (.-data event)) (vary-meta merge {:event-id (.-lastEventId event) :event-type (keyword (.-type event))}))) (defn event-source [f url & ...
Add optional "channel" argument to event-source
Add optional "channel" argument to event-source
Clojure
epl-1.0
ninjudd/eventual
c38f40d01b8a615b3712701b00417413c19686e8
src/less4clj/util.clj
src/less4clj/util.clj
(ns less4clj.util) ;; ;; Debugging ;; from boot.util ;; (def ^:dynamic *verbosity* 1) (defn- print* [verbosity args] (when (>= *verbosity* verbosity) (binding [*out* *err*] (apply printf args) (flush)))) (defn dbug [& more] (print* 2 more)) (defn info [& more] (print* 1 more)) (defn warn [& more] (pri...
(ns less4clj.util) ;; ;; Debugging ;; from boot.util ;; (def ^:dynamic *verbosity* 1) (defn- print* [verbosity args] (when (>= *verbosity* verbosity) (binding [*out* *err*] (print (if (seq (rest args)) (apply format args) (first args))) (flush)))) (defn dbug [& more...
Fix logging when message has % but doesn't use format args
Fix logging when message has % but doesn't use format args
Clojure
epl-1.0
Deraen/less4clj
366e16d2726a976225a37480ea4d3337f06b7132
test/doctopus/storage_test.clj
test/doctopus/storage_test.clj
(ns doctopus.storage-test (:require [doctopus.storage :refer :all] [clojure.test :refer :all])) (deftest storage (testing "Can we swap backends?" (is (= default-backend (get-key-from-backend backend :name)) "Are we using the default backend?") (is (set-backend! backend :temp-fs) ...
(ns doctopus.storage-test (:require [doctopus.storage :refer :all] [clojure.test :refer :all])) (deftest storage (testing "Can we swap backends?" (is (= default-backend (get-key-from-backend backend :name)) "Are we using the default backend?") (is (set-backend! backend :temp-fs) ...
Check that setting nonsense backends explodes
Check that setting nonsense backends explodes
Clojure
epl-1.0
Gastove/doctopus
0a7961a157f1c0f4f16b887debb1f3b51c3aede2
tests/tests_cats.cljx
tests/tests_cats.cljx
(ns tests-cats #+cljs (:require-macros [cemerick.cljs.test :refer (is deftest with-test run-tests testing test-var)]) #+cljs (:require [cemerick.cljs.test :as ts] [cats.core :as m] [cats.types :as t]) #+clj (:require [clojure.test :refer :all] [cats.co...
(ns tests-cats #+cljs (:require-macros [cemerick.cljs.test :refer (is deftest with-test run-tests testing test-var)]) #+cljs (:require [cemerick.cljs.test :as ts] [cats.core :as m] [cats.types :as t]) #+clj (:require [clojure.test :refer :all] [cats.co...
Test sequence-m for the Maybe monad
Test sequence-m for the Maybe monad
Clojure
bsd-2-clause
yurrriq/cats,OlegTheCat/cats,funcool/cats,tcsavage/cats,mccraigmccraig/cats,alesguzik/cats
c34d61fd940aa5a4aafcb286064de1d9bbac37d2
src/cljs-nlp/tokenize/simple.cljs
src/cljs-nlp/tokenize/simple.cljs
(ns cljs-nlp.tokenize.simple (:use [clojure.string :only [split]])) (defn space-tokenizer [str] (split str #"[ ]")) (defn tab-tokenizer [str] (split str #"\t")) (defn whitespace-tokenizer [str] (split str #"\s+")) (defn blankline-tokenizer [str] (split str #"\s*\n\s*\n\s*")) (defn char-tokenizer [str] ...
(ns cljs-nlp.tokenize.simple (:use [clojure.string :only [split]])) (defn space-tokenizer [s] (split s #"[ ]")) (defn tab-tokenizer [s] (split s #"\t")) (defn whitespace-tokenizer [s] (split s #"\s+")) (defn blankline-tokenizer [s] (split s #"\s*\n\s*\n\s*")) (defn char-tokenizer [s] (vec (seq s))) (d...
Change string variable name to not conflict with core function.
Change string variable name to not conflict with core function.
Clojure
mit
bertrandk/lexemic
68f52cb79a7b3aae0e568a23466560f1208a6c2e
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 back to snapshot
Change version back to snapshot
Clojure
apache-2.0
TheClimateCorporation/claypoole
1afbdc07a83c8785bd4759c93d2c7f75d3e9ed56
src/lens/middleware/wan_exception.clj
src/lens/middleware/wan_exception.clj
(ns lens.middleware.wan-exception (:require [clj-stacktrace.repl :refer [pst-on]])) (defn wrap-exception "Calls the handler in a try catch block returning a WAN error response." [handler] (fn [request] (try (handler request) (catch Throwable e (pst-on *err* false e) {:status 500...
(ns lens.middleware.wan-exception (:require [clj-stacktrace.repl :refer [pst-on]])) (defn wrap-exception "Calls the handler in a try catch block returning a WAN error response." [handler] (fn [request] (try (handler request) (catch Throwable e (pst-on *err* false e) {:status 500...
Add Up Link to Error Representation
Add Up Link to Error Representation
Clojure
epl-1.0
alexanderkiel/lens-warehouse
4ad63207bc6e8bfdc39caa71c8ec624e2a41513f
test/afterglow/effects/color_test.clj
test/afterglow/effects/color_test.clj
(ns afterglow.effects.color-test (:require [clojure.test :refer :all] [afterglow.effects.color :refer :all] [afterglow.channels :as channels] [com.evocomputing.colors :as colors] [afterglow.fixtures.chauvet :as chauvet] [taoensso.timbre :as timbre :refer [er...
(ns afterglow.effects.color-test (:require [clojure.test :refer :all] [afterglow.effects.color :refer :all] [afterglow.channels :as channels] [com.evocomputing.colors :as colors] [afterglow.fixtures.chauvet :as chauvet] [taoensso.timbre :as timbre :refer [er...
Update test. Still have far too few...
Update test. Still have far too few...
Clojure
epl-1.0
dandaka/afterglow,dandaka/afterglow,ryfow/afterglow,brunchboy/afterglow,ryfow/afterglow,brunchboy/afterglow,brunchboy/afterglow
6a4db0b81a66d8d94ac30679f10611e8eace2341
src/circleci/backend/proto/src/proto/main.clj
src/circleci/backend/proto/src/proto/main.clj
(ns proto.main (:require [clojure.contrib.io :as io]) (:require [clj-yaml.core :as yaml]) ) (defn init [& argv] (-> argv first io/reader slurp yaml/parse-string println)) (defn -main [& argv] (init *command-line-args*))
(ns proto.main (:require [clojure.contrib.io :as io]) (:require [clojure.contrib.generic.functor :as functor]) (:require [clj-yaml.core :as yaml])) (declare autotools-handler) (def handlers '(autotools-handler)) (defn run-handlers "Run all the handlers on a definition" [config] (map #(% config) handlers...
Add simple pattern matching. Matchure and more complex matching weren't cutting it.
Add simple pattern matching. Matchure and more complex matching weren't cutting it.
Clojure
epl-1.0
prathamesh-sonpatki/frontend,circleci/frontend,circleci/frontend,RayRutjes/frontend,prathamesh-sonpatki/frontend,RayRutjes/frontend,circleci/frontend
36213efd42d316f52b7d4c109ef3ae6240a7b7d1
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." ...
Add another migration for demo purposes.
Add another migration for demo purposes.
Clojure
epl-1.0
RyanMcG/Cadence,RyanMcG/Cadence
de8f3152e0091ebdd6f20047634c1b6fea2566bc
src/cljs/chatapp/view.cljs
src/cljs/chatapp/view.cljs
(ns chatapp.view (:require [re-frame.core :as re-frame])) (defn message [message] [:li {:class "list-group-item"} (:message message)]) (defn message-list [] (let [messages (re-frame/subscribe [:messages])] (fn [] [:div {:class "row"} [:div {:class "col-lg-6"} [:ul {:class "list-group...
(ns chatapp.view (:require [re-frame.core :as re-frame])) (defn message [message] [:li {:class "list-group-item"} (:message message)]) (defn message-list [] (let [messages (re-frame/subscribe [:messages])] (fn [] [:div {:class "row"} [:div {:class "col-md-6"} [:ul {:class "list-group...
Send message when enter is pressed
Send message when enter is pressed
Clojure
epl-1.0
aesterline/chatapp
c718dd966e1a85c696cb767b52308187d87edae9
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 ...
Move Clojure to dev dependency
Move Clojure to dev dependency
Clojure
apache-2.0
TheClimateCorporation/claypoole
59a7dfcd6c43caedc0918eefefbcda2bb09245f0
project.clj
project.clj
(defproject buddy/buddy-sign "1.0.0" :description "High level message signing for Clojure" :url "https://github.com/funcool/buddy-sign" :license {:name "Apache 2.0" :url "http://www.apache.org/licenses/LICENSE-2.0"} :dependencies [[org.clojure/clojure "1.8.0" :scope "provided"] [com...
(defproject buddy/buddy-sign "1.0.0" :description "High level message signing for Clojure" :url "https://github.com/funcool/buddy-sign" :license {:name "Apache 2.0" :url "http://www.apache.org/licenses/LICENSE-2.0"} :dependencies [[org.clojure/clojure "1.8.0" :scope "provided"] [com...
Add test.check dependency and upgrade buddy-core dependency.
Add test.check dependency and upgrade buddy-core dependency.
Clojure
apache-2.0
funcool/buddy-sign
6d024652c5923c99e049cb417c08cd5add70dd6e
project.clj
project.clj
(defproject rpi-challenger "0.1.0-SNAPSHOT" :description "FIXME: write description" :url "https://github.com/solita" :license {:name "MIT License" :url "http://opensource.org/licenses/MIT"} :dependencies [[org.clojure/clojure "1.4.0"] [org.clojure/tools.cli "0.2.2"] ...
(defproject rpi-challenger "0.1.0-SNAPSHOT" :description "FIXME: write description" :url "https://github.com/solita" :license {:name "MIT License" :url "http://opensource.org/licenses/MIT"} :dependencies [[org.clojure/clojure "1.4.0"] [org.clojure/tools.cli "0.2.2"] ...
Use Logback, avoid warning about missing logger implementation
Use Logback, avoid warning about missing logger implementation
Clojure
mit
solita/rpi-challenger
3c394d96c4c9d996d725def16f5c60428e359327
project.clj
project.clj
(defproject bukkure "0.4.2-SNAPSHOT" :description "Bringing Clojure to the Bukkit API" :url "http://github.com/SevereOverfl0w/Bukkure" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :java-source-paths ["javasrc"] :javac-options ["-d" "classes/" "-source"...
(defproject bukkure "0.4.2-SNAPSHOT" :description "Bringing Clojure to the Bukkit API" :url "http://github.com/SevereOverfl0w/Bukkure" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :java-source-paths ["javasrc"] :javac-options ["-d" "classes/" "-source"...
Make bukkit a provided dependency.
Make bukkit a provided dependency.
Clojure
epl-1.0
SevereOverfl0w/bukkure,SevereOverfl0w/bukkure
e3de7ce78cbe7eb76ae8f8355175b6c84778220e
project.clj
project.clj
(defproject onyx-app/lein-template "0.10.0.0-rc2" :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
242e278e14eb0c8bdd5af8e1aae9d98deecd3a50
dev/user.clj
dev/user.clj
(ns user "Namespace to support hacking at the REPL." (:require [clojure.java.javadoc :refer [javadoc]] [clojure.pprint :refer [pp pprint]] [clojure.repl :refer :all] [clojure.string :as str] [clojure.tools.namespace.move :refer :all] [clojure.tools.namespa...
(ns user "Namespace to support hacking at the REPL." (:require [clojure.java.javadoc :refer [javadoc]] [clojure.pprint :refer [pp pprint]] [clojure.repl :refer :all] [clojure.string :as str] [clojure.tools.namespace.move :refer :all] [clojure.tools.namespa...
Comment out stuff in dev.clj
Comment out stuff in dev.clj
Clojure
epl-1.0
simon-katz/nomis-clojure-the-language
95d25656002f6b3655c8b2a707e4b6a11a96c547
src/leiningen/new/devcards/devcards-core.cljs
src/leiningen/new/devcards/devcards-core.cljs
(ns {{name}}-devcards.core (:require [devcards.core :as dc :include-macros true] [{{name}}.core :as {{name}}] #_[om.core :as om :include-macros true] #_[sablono.core :as sab :include-macros true]) (:require-macros [devcards.core :refer [defcard is are= are-not=]])) (enable-console-prin...
(ns {{name}}-devcards.core (:require [devcards.core :as dc :include-macros true] [{{name}}.core :as {{name}}] #_[om.core :as om :include-macros true] #_[sablono.core :as sab :include-macros true]) (:require-macros [devcards.core :refer [defcard is are= are-not=]])) (enable-console-prin...
Document the process of adding namespaces to devcards home.
Document the process of adding namespaces to devcards home. Clarified that devcards_src/core.cljs needs to be edited in order for new namespaces to appear.
Clojure
epl-1.0
yogthos/devcards-template,bhauman/devcards-template
5c035f9069adef20d16a663b4cb672cfb8b9a639
app/src/cljs/app/app.cljs
app/src/cljs/app/app.cljs
(ns app.app (:require [cljsjs.material] [reagent.core :as reagent])) (defn fixed-header-and-drawer-component [content] [:div.mdl-layout.mdl-js-layout.mdl-layout--fixed-drawer.mdl-layout--fixed-header [:header.mdl-layout__header [:div.mdl-layout__header-row [:div.mdl-layout-spacer]]] [:di...
(ns app.app (:require [cljsjs.material] [reagent.core :as reagent] [app.components :as comps] [app.res :refer [resume]])) (defn fixed-header-and-drawer-component [content] [:div.mdl-layout.mdl-js-layout.mdl-layout--fixed-drawer.mdl-layout--fixed-header [:header.mdl-layout__he...
Add projects section to sidebar
Add projects section to sidebar
Clojure
mit
mswift42/lr
d0a9309aa3f6830653d3327ccfd6a2a1fc7117ce
clojure/src/advent2016/day3.clj
clojure/src/advent2016/day3.clj
(ns advent2016.day3 (:require [clojure.java.io :as io] [clojure.string :as s])) (defn read-sides [line] (map #(Integer/parseInt %) (remove s/blank? (s/split line #" ")))) (defn valid-triangle? [[a b c]] (and (> (+ a b) c) (> (+ a c) b) (> (+ b c) a))) (def solution (->> "../day3.data...
(ns advent2016.day3 (:require [clojure.java.io :as io] [clojure.string :as s])) (def puzzle (line-seq (io/reader "../day3.data"))) (defn read-sides [line] (map #(Integer/parseInt %) (remove s/blank? (s/split line #" ")))) (defn valid-triangle? [[a b c]] (and (> (+ a b) c) (> (+ a c) b) ...
Implement part 2 of the Clojure day 3 solution.
Implement part 2 of the Clojure day 3 solution.
Clojure
mit
jonathanj/advent2016
78911315e388105ce24da844f345284c017b2d9b
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.520" :exclusions [com.google.javascript/closure-compiler-unshaded org.clojure/google-closure-library ...
Add simple example org.clojure/google-closure-library-third-party exclusion
Add simple example org.clojure/google-closure-library-third-party exclusion
Clojure
mit
Day8/re-frame,Day8/re-frame,Day8/re-frame
db30e960fdcbd4d984051a62917de011074f6fb1
exercises/nth-prime/src/example.clj
exercises/nth-prime/src/example.clj
(ns nth-prime) (defn sqrt "Wrapper around java's sqrt method." [number] (int (Math/ceil (Math/sqrt number)))) (defn divides? "Helper function to decide if a number is evenly divided by divisor." [number divisor] (zero? (mod number divisor))) (defn- prime-by-trial-division? "Simple trial division prime ...
(ns nth-prime) (defn sqrt "Wrapper around java's sqrt method." [number] (int (Math/ceil (Math/sqrt number)))) (defn divides? "Helper function to decide if a number is evenly divided by divisor." [number divisor] (zero? (mod number divisor))) (defn- prime-by-trial-division? "Simple trial division prime ...
Update nth-prime in response to PR feedback
Update nth-prime in response to PR feedback Replace `(when (not` with `when-not`, update `cond` to instead use `or`.
Clojure
mit
querenker/xclojure,querenker/xclojure,exercism/xclojure,exercism/xclojure
725e3531ac4f2ff6136c8e503d3623940d02ea89
src/desdemona/lifecycles/logging.clj
src/desdemona/lifecycles/logging.clj
(ns desdemona.lifecycles.logging (:require [taoensso.timbre :refer [info]])) (let [task-name (:onyx/name (:onyx.core/task-map event))] (doseq [m (map :message (mapcat :leaves (:tree (:onyx.core/results event))))] (defn log-batch [event lifecycle] (info task-name "logging segment:" m))) {}) (def log-...
(ns desdemona.lifecycles.logging (:require [taoensso.timbre :refer [info]])) (defn log-batch [event lifecycle] (let [task-name (-> event :onyx.core/task-map :onyx/name)] (doseq [m (->> event :onyx.core/results :tree ...
Use ->(>) for the impl
Use ->(>) for the impl
Clojure
epl-1.0
RackSec/desdemona
b0ae4f8ac7f536564b7760bc4cabfd993bdcdd0b
src/cljs/comic_reader/history.cljs
src/cljs/comic_reader/history.cljs
(ns comic-reader.history (:require [re-frame.core :as rf] [secretary.core :refer [dispatch!]] [goog.events :as events] [goog.history.EventType :as EventType]) (:import goog.history.Html5History)) (defonce goog-history (atom nil)) (defn hook-browser-navigation! [] (when (nil? ...
(ns comic-reader.history (:require [re-frame.core :as rf] [secretary.core :refer [dispatch!]] [goog.events :as events] [goog.history.EventType :as EventType]) (:import goog.history.Html5History)) (defonce goog-history (atom nil)) (defn hook-browser-navigation! [] (when (nil? ...
Add get-token and protect both token manipulators
Add get-token and protect both token manipulators
Clojure
epl-1.0
RadicalZephyr/comic-reader,RadicalZephyr/comic-reader
7513ecd377da4f7c999e7cc5b657f4c2f3832f95
example/build.boot
example/build.boot
(set-env! :resource-paths #{"resources"} :dependencies '[[org.clojure/clojure "1.8.0"] [afrey/boot-asset-fingerprint "1.3.1"] [tailrecursion/boot-jetty "0.1.3" :scope "test"]]) (require '[afrey.boot-asset-fingerprint :refer [asset-fingerprint]] '[tailrecursion.boot-jetty :as...
(set-env! :resource-paths #{"resources"} :dependencies '[[org.clojure/clojure "1.8.0"] [afrey/boot-asset-fingerprint "1.3.1"] [tailrecursion/boot-jetty "0.1.3" :scope "test"]]) (require '[afrey.boot-asset-fingerprint :refer [asset-fingerprint]] '[tailrecursion.boot-jetty :as...
Add skip option to example dev
Add skip option to example dev for testing
Clojure
mit
AdamFrey/boot-asset-fingerprint,AdamFrey/boot-asset-fingerprint
8a7b909f03ecee65432f65cf1dc6f904ba3819d7
src/onyx/types.clj
src/onyx/types.clj
(ns onyx.types) (defrecord Leaf [message id acker-id completion-id ack-val hash-group route]) (defrecord Route [flow exclusions post-transformation action]) (defrecord Ack [id completion-id ack-val timestamp]) (defrecord Results [tree acks segments]) (defrecord Result [root leaves]) (defrecord Link [link timestam...
(ns onyx.types) (defrecord Leaf [message id acker-id completion-id ack-val hash-group route]) (defn input [id message] (->Leaf message id nil nil nil nil nil)) (defrecord Route [flow exclusions post-transformation action]) (defrecord Ack [id completion-id ack-val timestamp]) (defrecord Results [tree acks segment...
Add input builder fn for use by plugins
Add input builder fn for use by plugins
Clojure
epl-1.0
mccraigmccraig/onyx,KevinGreene/onyx,ideal-knee/onyx,iperdomo/onyx,dignati/onyx,onyx-platform/onyx,Deraen/onyx,vijaykiran/onyx
a03d6abb59ee5db1d116b260f12107174223b24b
src/main/clojure/lazytest/find.clj
src/main/clojure/lazytest/find.clj
(ns lazytest.find (:use lazytest.suite)) (defn- find-tests-for-var [this-var] (if-let [f (:find-tests (meta this-var))] (do (assert (fn? f)) (f)) (when (bound? this-var) (let [value (var-get this-var)] (when (suite? value) value))))) (defn- test-seq-for-ns [this-ns] (vary-meta (remove nil? (ma...
(ns lazytest.find (:use lazytest.suite)) (defn- find-tests-for-var [this-var] (if-let [f (:find-tests (meta this-var))] (do (assert (fn? f)) (f)) (when (bound? this-var) (let [value (var-get this-var)] (when (suite? value) value))))) (defn- test-seq-for-ns [this-ns] (let [s (remove nil? (map f...
Return nil instead of empty sequence from test-seq-for-ns
Return nil instead of empty sequence from test-seq-for-ns
Clojure
epl-1.0
stuartsierra/lazytest
1ce9a7160e085acb5a9c727d72978b4385b19ed2
src/cmr/graph/rest/response.clj
src/cmr/graph/rest/response.clj
(ns cmr.graph.rest.response (:require [cheshire.core :as json] [ring.util.http-response :as response] [taoensso.timbre :as log])) (defn ok [_request & args] (response/ok args)) (defn json [_request data] (-> data json/generate-string response/ok (response/content-type "application...
(ns cmr.graph.rest.response (:require [cheshire.core :as json] [ring.util.http-response :as response] [taoensso.timbre :as log])) (defn ok [_request & args] (response/ok args)) (defn json [_request data] (-> data json/generate-string response/ok (response/content-type "application...
Set CORS header on POSTs
Set CORS header on POSTs
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
beec62cf3f270501549f18130b507157b709c815
backend/src/circle/init.clj
backend/src/circle/init.clj
(ns circle.Init ;; capitalized for JRuby ;; (:require circle.swank) (:require circle.db) (:require circle.web) (:require circle.repl) (:require circle.logging) ;; (:require circle.backend.nodes ;; circle.backend.project.rails ;; circle.backend.project.circle) (:gen-class :name circ...
(ns circle.Init ;; capitalized for JRuby ;; (:require circle.swank) (:require circle.db) (:require circle.web) (:require circle.repl) (:require circle.logging) ;; (:require circle.backend.nodes ;; circle.backend.project.rails ;; circle.backend.project.circle) (:gen-class :name circ...
Make uberjar work at the command line with the name circle.Init.
Make uberjar work at the command line with the name circle.Init.
Clojure
epl-1.0
circleci/frontend,circleci/frontend,prathamesh-sonpatki/frontend,RayRutjes/frontend,circleci/frontend,RayRutjes/frontend,prathamesh-sonpatki/frontend
a774c7ad566cf82eec8c13cd4e5f3a7b9e434d26
project.clj
project.clj
(defproject guangyin/guangyin "0.1.1-SNAPSHOT" :description "Clojure date and time library wrapping java.time" :url "https://github.com/juhovh/guangyin" :license {:name "MIT License" :url "http://opensource.org/licenses/MIT" :distribution :repo} :dependencies [[org.clojure/clojure "1.6.0...
(defproject guangyin/guangyin "0.1.1-SNAPSHOT" :description "Clojure date and time library wrapping java.time" :url "https://github.com/juhovh/guangyin" :license {:name "MIT License" :url "http://opensource.org/licenses/MIT" :distribution :repo} :dependencies [[org.clojure/clojure "1.6.0...
Update source and target javac properties to 1.8.
Update source and target javac properties to 1.8.
Clojure
mit
juhovh/guangyin
72b7c1595e69e594c909bbd0e894a42a0150bc99
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-...
Increase react version to 0.9.0.1 to fix missing article and aside externs.
Increase react version to 0.9.0.1 to fix missing article and aside externs.
Clojure
epl-1.0
Breezeemr/quiescent
fa9ded1eed4f4971495003b593a5c05864ce89eb
project.clj
project.clj
(defproject statuses "1.0.0-SNAPSHOT" :description "Statuses app for innoQ" :url "https://github.com/innoq/statuses" :license {:name "Apache License, Version 2.0" :url "http://www.apache.org/licenses/LICENSE-2.0" :distribution :repo :comments "A business-friendly OSS license"} ...
(defproject statuses "1.0.0-SNAPSHOT" :description "Statuses app for innoQ" :url "https://github.com/innoq/statuses" :license {:name "Apache License, Version 2.0" :url "http://www.apache.org/licenses/LICENSE-2.0" :distribution :repo :comments "A business-friendly OSS license"} ...
Update clj-time from 0.8.0 to 0.9.0.
Update clj-time from 0.8.0 to 0.9.0. Keep up to date with all dependencies.
Clojure
apache-2.0
innoq/statuses,mvitz/statuses
f6220aa71e6a75334e7761fe1f65633f9a5c3945
project.clj
project.clj
(defproject cljs-workspace "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"} :plugins [[lein-cljsbuild "1.0.4-SNAPSHOT"]] :source-paths ["src/clj", "src/cljs"] ...
(defproject cljs-workspace "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"} :plugins [[lein-cljsbuild "1.0.4-SNAPSHOT"]] :source-paths ["src/clj", "src/cljs"] ...
Update deps for cloxp cljs integration
Update deps for cloxp cljs integration
Clojure
mit
LivelyKernel/lively-clojure
7a3f760543cc4f72a374e4a400e6a2ad4fa40652
project.clj
project.clj
(defproject playasophy/wonderdome "1.0.0-SNAPSHOT" :description "Control and rendering software for driving an LED strip art project with various visualizations." :url "https://github.com/playasophy/wonderdome" :license {:name "Public Domain" :url "http://unlicense.org/"} :native-path "target/nativ...
(defproject playasophy/wonderdome "1.0.0-SNAPSHOT" :description "Control and rendering software for driving an LED strip art project with various visualizations." :url "https://github.com/playasophy/wonderdome" :license {:name "Public Domain" :url "http://unlicense.org/"} :native-path "target/nativ...
Switch to website-hosted MVXCVI repo.
Switch to website-hosted MVXCVI repo.
Clojure
unlicense
playasophy/wonderdome,playasophy/wonderdome,playasophy/wonderdome,playasophy/wonderdome
5db6a9200f8a32d857336d93cfa6313e04a77fc1
project.clj
project.clj
(defproject statuses "1.0.0-SNAPSHOT" :description "Statuses app for innoQ" :url "https://github.com/innoq/statuses" :license {:name "Apache License, Version 2.0" :url "http://www.apache.org/licenses/LICENSE-2.0" :distribution :repo :comments "A business-friendly OSS license"} ...
(defproject statuses "1.0.0-SNAPSHOT" :description "Statuses app for innoQ" :url "https://github.com/innoq/statuses" :license {:name "Apache License, Version 2.0" :url "http://www.apache.org/licenses/LICENSE-2.0" :distribution :repo :comments "A business-friendly OSS license"} ...
Update compojure from 1.3.1 to 1.3.2.
Update compojure from 1.3.1 to 1.3.2.
Clojure
apache-2.0
innoq/statuses,mvitz/statuses
db29f53235e1ae4acbc0007ea81d13a3c0ec2e37
src/rp/util/number.clj
src/rp/util/number.clj
(ns rp.util.number) (defn nat-num? [x] (and (number? x) (not (neg? x)))) (defn longitude? [x] (and (number? x) (<= -180 x 180))) (defn latitude? [x] (and (number? x) (<= -90 x 90)))
(ns rp.util.number) (defn nat-num? [x] (and (number? x) (not (neg? x)))) (defn longitude? [x] (and (number? x) (<= -180 x 180))) (defn latitude? [x] (and (number? x) (<= -90 x 90))) (defn within-bounding-box? [[lng1 lat1 lng2 lat2] [longitude latitude]] (and (<= lng1 longitude l...
Add predicate for checking if coordinates are within a bounding box
Add predicate for checking if coordinates are within a bounding box
Clojure
epl-1.0
rentpath/rp-util-clj
f2c2166e0d1655a933d147c04288b996dfa9082d
src/cljs/hacker_agent/utils.cljs
src/cljs/hacker_agent/utils.cljs
(ns hacker-agent.utils) (defn dissoc-in [data path] (let [prefix (butlast path) key (last path)] (if prefix (update-in data prefix dissoc key) (dissoc data key)))) (defn log-clj [o] (.log js/console (clj->js o))) (defn domain [url] (let [re (new js/RegExp "^https?\\:\\/\\/(www\\.)?([^\\...
(ns hacker-agent.utils) (defn dissoc-in [data path] (let [prefix (butlast path) key (last path)] (if prefix (update-in data prefix dissoc key) (dissoc data key)))) (defn log-clj [o] (.log js/console (clj->js o))) (defn domain [url] (let [re (new js/RegExp "^https?\\:\\/\\/(www\\.)?([^\\...
Add keys-in utility for getting all map keys
Add keys-in utility for getting all map keys
Clojure
epl-1.0
alvinfrancis/hacker-agent
78159e7caf9c544cfaca1ce9bb4e50b6a75d47c6
src/main/resources/sandbox-init.clj
src/main/resources/sandbox-init.clj
(do ;; Imports and aliases (clojure.core/use '[clojure.core]) (require '[clojure.string :as str]) (require '[clojure.pprint :as pp]) (require '[clojure.math.numeric-tower :as math]) ;; Convenience functions (defn codeblock [s & { type :type }] (str "```" type "\n" s "\n```")) (defn delete-self [] (...
(do ;; Imports and aliases (clojure.core/use '[clojure.core]) (require '[clojure.string :as str]) (require '[clojure.pprint :as pp]) (require '[clojure.math.numeric-tower :as math]) ;; Convenience functions (defn codeblock [s & { type :type }] (str "```" type "\n" s "\n```")) (defn delete-self [] (...
Fix embed-stamp for new D4J methods
Fix embed-stamp for new D4J methods
Clojure
mit
jaredlll08/MCBot
958b084cda4f468459ede4b51a6599cf7382ab16
src/overtunes/songs/frere_jacques.clj
src/overtunes/songs/frere_jacques.clj
(ns overtunes.songs.frere-jacques (:use [overtone.live]) (:use [overtunes.core]) (:use [overtunes.instruments.foo])) (def frère-jacques [:C4 :D4 :E4 :C4]) (def dormez-vous [:E4 :F4 :G4 :rest]) (def sonnez-les-matines [:G4 :G4 :E4 :C4]) (def din-dan-don [:C4 :G3 :C4 :rest]) (def melody (concat frère-jacques fr...
(ns overtunes.songs.frere-jacques (:use [overtone.live]) (:use [overtunes.core]) (:use [overtunes.instruments.foo])) (def Frère-Jacques [:C4 :D4 :E4 :C4]) (def Dormez-vous? [:E4 :F4 :G4 :rest]) (def Sonnez-les-matines! [:G4 :G4 :E4 :C4]) (def Din-dan-don [:C4 :G3 :C4 :rest]) (def melody (concat Frère-Jacques ...
Use capitalised letters to make the music read more like the lyrics.
Use capitalised letters to make the music read more like the lyrics.
Clojure
mit
ctford/overtunes
00f3867cc706c8f6dc26f5a7c36e29e2eed2e803
src/obb_rules/game_mode.clj
src/obb_rules/game_mode.clj
(ns obb-rules.game-mode (:require [obb-rules.board :as board] [obb-rules.game :as game])) (defn final? "Checks if the game is finished" [game] (or (board/empty-board? game :p1) (board/empty-board? game :p2))) (defn winner "Gets the winner of the given game" [game] (cond (board/em...
(ns obb-rules.game-mode (:require [obb-rules.board :as board] [obb-rules.game :as game])) (defn final? "Checks if the game is finished" [game] (and (not (= game/state :deploy)) (or (board/empty-board? game :p1) (board/empty-board? game :p2)))) (defn winner "Gets the winner of...
Make final if not in deploy state
Make final if not in deploy state
Clojure
epl-1.0
orionsbelt-battlegrounds/obb-rules,orionsbelt-battlegrounds/obb-rules,orionsbelt-battlegrounds/obb-rules
1ab97433ee1a6a6dddb2db0d3b92268f26fab932
project.clj
project.clj
(defproject soy-clj "0.1.0-SNAPSHOT" :description "An idiomatic Clojure wrapper for Google's Closure templating system." :url "https://github.com/codahale/soy-clj" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.8.0-RC...
(defproject soy-clj "0.1.0-SNAPSHOT" :description "An idiomatic Clojure wrapper for Google's Closure templating system." :url "https://github.com/codahale/soy-clj" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/core.cache "0.6.4...
Move Clojure dep to dev profile.
Move Clojure dep to dev profile.
Clojure
epl-1.0
codahale/soy-clj,codahale/soy-clj
db691c67215fcbf350cfe79334e62bf9f3177b41
project.clj
project.clj
(defproject stencil "0.2.0" :description "Mustache in Clojure" :dependencies [[clojure "1.3.0"] [slingshot "0.8.0"]] :multi-deps {"1.2" [[org.clojure/clojure "1.2.1"]] "1.3" [[org.clojure/clojure "1.3.0"]] :all [[slingshot "0.8.0"]]} :dev-dependencies [[ritz "0.2.0...
(defproject stencil "0.2.0" :description "Mustache in Clojure" :dependencies [[clojure "1.3.0"] [slingshot "0.8.0"]] :multi-deps {"1.2" [[org.clojure/clojure "1.2.1"]] "1.3" [[org.clojure/clojure "1.3.0"]] "1.4" [[org.clojure/clojure "1.4.0-beta1"]] :a...
Add Clojure 1.4.0-beta1 to lein-multi deps.
Add Clojure 1.4.0-beta1 to lein-multi deps.
Clojure
epl-1.0
caribou/antlers
1f740e51bae7394dd44ce46f5e4e5bde12f03762
project.clj
project.clj
(defproject naughtmq "0.0.1" :description "A native-embedding wrapper for jzmq" :url "https://github.com/gaverhae/naughtmq" :scm {:name "git" :url "https://github.com/gaverhae/naughtmq"} :signing {:gpg-key "gary.verhaegen@gmail.com"} :deploy-repositories [["clojars" {:creds :gpg}]] :pom-addition [:d...
(defproject naughtmq "0.0.2-SNAPSHOT" :description "A native-embedding wrapper for jzmq" :url "https://github.com/gaverhae/naughtmq" :scm {:name "git" :url "https://github.com/gaverhae/naughtmq"} :signing {:gpg-key "gary.verhaegen@gmail.com"} :deploy-repositories [["clojars" {:creds :gpg}]] :pom-add...
Prepare for next development iteration
Prepare for next development iteration
Clojure
epl-1.0
gaverhae/naughtmq,gaverhae/naughtmq
1c1a61b69bb940cc3465854782699fcbcc7c428d
src/reabledit/core.cljs
src/reabledit/core.cljs
(ns reabledit.core (:require [reabledit.components :as components] [reabledit.keyboard :as keyboard] [reagent.core :as reagent])) ;; ;; Convenience API ;; (defn update-row [data nth-row new-row] (let [[init tail] (split-at nth-row data)] (into [] (concat init [new-row] (rest tail))))...
(ns reabledit.core (:require [reabledit.components :as components] [reabledit.keyboard :as keyboard] [reabledit.util :as util] [reagent.core :as reagent])) ;; ;; Convenience API ;; (defn update-row [data nth-row new-row] (let [[init tail] (split-at nth-row data)] (into []...
Implement moving to edit state upon double click
Implement moving to edit state upon double click
Clojure
epl-1.0
MattiNieminen/reabledit
dacb074419e84cb2838983e10ea283ff31d99005
clj_record/core.clj
clj_record/core.clj
(ns clj_record.core (:require [clojure.contrib.sql :as sql])) (defn table-name [model-name] (if (keyword? model-name) (.getName model-name) model-name)) (defn find-record [model-name id] (sql/with-connection db (sql/with-results rows (format "select * from %s where id = %s" (table-name model-name) id) ...
(ns clj_record.core (:require [clojure.contrib.sql :as sql])) (defn table-name [model-name] (if (keyword? model-name) (.getName model-name) model-name)) (defn find-record [model-name id] (sql/with-connection db (sql/with-results rows (format "select * from %s where id = %s" (table-name model-name) id) ...
Remove the let hack by inlining it exactly, which is the idiom. Somehow it didn't occur to me to try that.
Remove the let hack by inlining it exactly, which is the idiom. Somehow it didn't occur to me to try that.
Clojure
mit
duelinmarkers/clj-record
bd0fc693ed0ef4d10a19b5fe7080d32aedaa43e7
src/useful/amalloy/debug.clj
src/useful/amalloy/debug.clj
(ns useful.amalloy.debug) (defmacro ? "A useful debugging tool when you can't figure out what's going on: wrap a form with and-print, and the form will be printed alongside its result. The result will still be passed along." [val] `(let [x# ~val] (prn '~val '~'is x#) x#))
(ns useful.amalloy.debug) (defmacro ? "A useful debugging tool when you can't figure out what's going on: wrap a form with ?, and the form will be printed alongside its result. The result will still be passed along." [val] `(let [x# ~val] (prn '~val '~'is x#) x#))
Fix that damn docstring AGAIN
Fix that damn docstring AGAIN
Clojure
epl-1.0
amalloy/useful,flatland/useful,jafingerhut/useful
e5b816f5f2f9bb7411af6f1bd1edf175c955ec9c
bb.clj
bb.clj
;; Example of using clj-chrome-devtools with babashka ;; ;; Make a .classpath ;; $ clj -A:bb -Spath > .classpath ;; ;; Start Chrome in the background: ;; /some/chrome-binary --remote-debugging-port=9222 --headless & ;; ;; Run with: ;; $ bb --classpath $(cat .classpath) bb.clj (require '[clj-chrome-devtools.core :as co...
;; Example of using clj-chrome-devtools with babashka ;; ;; Start Chrome in the background: ;; /some/chrome-binary --remote-debugging-port=9222 --headless & ;; ;; Run with: ;; $ bb bb.clj (require '[babashka.deps :as deps]) (deps/add-deps '{:deps {tatut/devtools {:git/url "https://github.com/tatut/clj-chrome-devtools...
Use babashka.deps instead of creating a separate .classpath file
Use babashka.deps instead of creating a separate .classpath file
Clojure
mit
tatut/clj-chrome-devtools,tatut/clj-chrome-devtools
a7c1a438b431d5d97ca89121575a5de33221f064
test/org/zalando/stups/friboo/system/cron_test.clj
test/org/zalando/stups/friboo/system/cron_test.clj
(ns org.zalando.stups.friboo.system.cron-test (:require [org.zalando.stups.friboo.system.cron :refer :all] [clojure.test :refer :all] [overtone.at-at :as at] [com.stuartsierra.component :as component])) (def-cron-component TestCron [state] (at/at (at/now) (job deliver state 42) ...
(ns org.zalando.stups.friboo.system.cron-test (:require [org.zalando.stups.friboo.system.cron :refer :all] [clojure.test :refer :all] [overtone.at-at :as at] [com.stuartsierra.component :as component])) (def-cron-component TestCron [state] (at/at (at/now) (job deliver state 42) ...
Fix race condition in unit test
Fix race condition in unit test Multithreading is tricky... :/
Clojure
apache-2.0
zalando-stups/friboo,zalando-stups/friboo,zalando-stups/friboo
84611c9637171529f6b975904ed228a19b8554d0
vrepl/resources/samples/sunburst.clj
vrepl/resources/samples/sunburst.clj
(ns sunburst (:refer-clojure :exclude [partition]) ;;avoid name conflict with base "partition" function (:use [c2.core :only [unify style]] [c2.maths :only [sqrt sin cos Tau]] ;;Life's short, don't waste it writing 2*Pi [c2.svg :only [arc]] [c2.layout.partition :only [partition]] ...
(ns sunburst (:refer-clojure :exclude [partition]) ;;avoid name conflict with base "partition" function (:use [c2.core :only [unify style]] [c2.maths :only [sqrt sin cos Tau]] ;;Life's short, don't waste it writing 2*Pi [c2.svg :only [arc]] [c2.layout.partition :only [partition]] ...
Bring color into Sunburst, but need to decide how to mimic D3's parent-based color scheme.
WIP: Bring color into Sunburst, but need to decide how to mimic D3's parent-based color scheme.
Clojure
bsd-3-clause
lynaghk/c2,lynaghk/c2
6bc96618a62ac8b05fca4ae35c346d0cab1b48cb
project.clj
project.clj
(defproject str "0.1.0-SNAPSHOT" :description "String manipulation library for clojure" :url "http://github.com/expez/str" :license {:name "MIT License" :url "http://www.opensource.org/licenses/mit-license.php"} :dependencies [[org.clojure/clojure "1.6.0"]] :profiles {:dev {:dependencies [[o...
(defproject str "0.1.0-SNAPSHOT" :description "String manipulation library for clojure" :url "http://github.com/expez/str" :license {:name "MIT License" :url "http://www.opensource.org/licenses/mit-license.php"} :dependencies [[org.clojure/clojure "1.6.0"]] :plugins [[codox "0.8.11"]] :codox {:s...
Use codox to generate docs
Use codox to generate docs
Clojure
epl-1.0
expez/superstring
20e9babc3ac38a96dd8979f0a9a3c7f240b1cf79
src/clojure/staircase/config.clj
src/clojure/staircase/config.clj
(ns staircase.config (:use [clojure.java.io :as io] [clojure.string :only (replace-first)]) (:require [clojure.tools.reader.edn :as edn])) (defn- from-edn [fname] (if-let [is (io/resource fname)] (with-open [rdr (-> is io/reader java.io.PushbackReader.)...
(ns staircase.config (:use [clojure.java.io :as io] [clojure.string :only (replace-first)]) (:require [clojure.tools.reader.edn :as edn])) (defn- from-edn [fname] (if-let [is (io/resource fname)] (with-open [rdr (-> is io/reader java.io.PushbackReader.)...
Allow the use of the DATABASE_URL env variable.
Allow the use of the DATABASE_URL env variable.
Clojure
bsd-2-clause
joshkh/staircase,yochannah/staircase,yochannah/staircase,yochannah/staircase,joshkh/staircase,joshkh/staircase
a87d83e10e16c98f9334794c452b7fb78d7da1e2
backend/vendor/sodi/src/sodi/prng.clj
backend/vendor/sodi/src/sodi/prng.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/. ;; ;; This Source Code Form is "Incompatible With Secondary Licenses", as ;; defined by the Mozilla Public License, v....
;; 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/. ;; ;; This Source Code Form is "Incompatible With Secondary Licenses", as ;; defined by the Mozilla Public License, v....
Fix `random-nonce` function (wrong params).
:bug: Fix `random-nonce` function (wrong params).
Clojure
mpl-2.0
uxbox/uxbox,uxbox/uxbox,uxbox/uxbox
f8587572b7dd82c9adb1533338bea7225d96e4ff
project.clj
project.clj
;(defproject dsbdp "0.4.0-SNAPSHOT" (defproject dsbdp "0.3.0" :description "Dynamic Stream and Batch Data Processing (dsbdp)" :url "https://github.com/ruedigergad/dsbdp" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1....
(defproject dsbdp "0.4.0-SNAPSHOT" ;(defproject dsbdp "0.3.0" :description "Dynamic Stream and Batch Data Processing (dsbdp)" :url "https://github.com/ruedigergad/dsbdp" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1....
Revert back to snapshot version.
Revert back to snapshot version.
Clojure
epl-1.0
ruedigergad/dsbdp,ruedigergad/dsbdp,ruedigergad/dsbdp,ruedigergad/dsbdp
b923f953c97bf777ee4638a27b6de8861b1f2530
project.clj
project.clj
(defproject lein-voom "0.1.0-SNAPSHOT" :description "Tool for generating artifacts versioned on the most recent git commit sha and commit time." :url "https://github.com/LonoCloud/lein-voom" :scm {:name "git" :url "https://github.com/LonoCloud/lein-voom"} :license {:name "Eclipse Public License" ...
(defproject lein-voom "0.1.0-SNAPSHOT" :description "Tool for generating artifacts versioned on the most recent git commit sha and commit time." :url "https://github.com/LonoCloud/lein-voom" :scm {:name "git" :url "https://github.com/LonoCloud/lein-voom"} :license {:name "Eclipse Public License" ...
Move back to latest release version of core.logic.
Move back to latest release version of core.logic.
Clojure
epl-1.0
LonoCloud/lein-voom
3ea8f8bd69aea48900ef22903e0881eb678e3833
project.clj
project.clj
(defproject nasa-cmr/cmr-umm-lib "0.1.0-SNAPSHOT" :description "The UMM (Unified Metadata Model) Library is responsible for defining the common domain model for Metadata Concepts in the CMR along with code to parse and generate the various dialects of each concept." :url "***REMOVED***...
(defproject nasa-cmr/cmr-umm-lib "0.1.0-SNAPSHOT" :description "The UMM (Unified Metadata Model) Library is responsible for defining the common domain model for Metadata Concepts in the CMR along with code to parse and generate the various dialects of each concept." :url "***REMOVED***...
Move clj-time dependency to cmr-common-lib
Move clj-time dependency to cmr-common-lib
Clojure
apache-2.0
nasa/Common-Metadata-Repository,mschmele/Common-Metadata-Repository,mschmele/Common-Metadata-Repository,nasa/Common-Metadata-Repository,nasa/Common-Metadata-Repository,nasa/Common-Metadata-Repository,mschmele/Common-Metadata-Repository,nasa/Common-Metadata-Repository,nasa/Common-Metadata-Repository,mschmele/Common-Meta...
944073ca176b15abc53345e2e7a30ab0ea2d9fae
src/isla/talk.clj
src/isla/talk.clj
(ns isla.talk (:use [clojure.pprint]) (:require [clojure.string :as str]) (:require [mrc.utils :as utils])) (declare list-rooms) (defn room-intro [room connected-rooms] (str "You are in the " (:name room) ". " (:summary room) " " (list-rooms connected-rooms))) (defn room-already [name] (str "Yo...
(ns isla.talk (:use [clojure.pprint]) (:require [clojure.string :as str]) (:require [mrc.utils :as utils])) (declare list-rooms) (defn room-intro [room connected-rooms] (str "You are in the " (:name room) ". " (:summary room) " " (list-rooms connected-rooms))) (defn room-already [name] (str "Yo...
Add full stop to end of room list.
Add full stop to end of room list.
Clojure
mit
maryrosecook/islaclj
c178b8c83a7d45fc8a798ee121d59308eb20cbd5
src/caesium/util.clj
src/caesium/util.clj
(ns caesium.util "Internal utilities. This ns is not considered public API, and may break without semver major version increments." (:import (java.util Arrays) (org.apache.commons.codec.binary Hex))) (defn unhexify [^String s] (.decode (Hex.) (.getBytes s))) (defn hexify [b] (Hex/encodeHex...
(ns caesium.util "Internal utilities. This ns is not considered public API, and may break without semver major version increments." (:import (java.util Arrays) (org.apache.commons.codec.binary Hex))) (defn unhexify [^String s] (.decode (Hex.) (.getBytes s))) (defn hexify [^bytes b] (Hex/en...
Fix a reflection warning on a static method argument type
Fix a reflection warning on a static method argument type eastwood said: "Reflection warning - call to static method encodeHexString on org.apache.commons.codec.binary.Hex can't be resolved (argument types: unknown)." The `encodeHexString` method has several variants for different argument types. Looking through the ...
Clojure
epl-1.0
lvh/caesium
6d4152f8e867760daf2ae1b9afcbd39afbbe5325
test/potok/tests.cljs
test/potok/tests.cljs
(ns potok.tests (:require [cljs.test :as t :include-macros true] [beicon.core :as rx] [potok.core :as ptk])) (enable-console-print!) (defrecord IncrementBy [n] ptk/UpdateEvent (update [_ state] (update state :counter + n))) (defrecord AsyncIncrementBy [n] ptk/WatchEvent (watch [...
(ns potok.tests (:require [cljs.test :as t :include-macros true] [beicon.core :as rx] [potok.core :as ptk])) (enable-console-print!) (defrecord IncrementBy [n] ptk/UpdateEvent (update [_ state] (update state :counter + n))) (defrecord AsyncIncrementBy [n] ptk/WatchEvent (watch [...
Add async state transformation test.
Add async state transformation test.
Clojure
bsd-2-clause
funcool/potok
ab6da0ff3d06f6cbc052d52a9d293fca35d25da9
src/fhofherr/clj_db_util/migrations.clj
src/fhofherr/clj_db_util/migrations.clj
(ns fhofherr.clj-db-util.migrations (:require [clojure.tools.logging :as log] [fhofherr.clj-db-util.db :as db] [fhofherr.clj-db-util.migrations.flyway :as fw])) (defn migrate "Migrate the database identified by `db`. Return the `db` representing the migrated database. *Parameters*: ...
(ns fhofherr.clj-db-util.migrations (:require [clojure.tools.logging :as log] [fhofherr.clj-db-util.db :as db] [fhofherr.clj-db-util.migrations.flyway :as fw])) (defn migrate "Migrate the database identified by `db`. Return the `db` representing the migrated database. *Parameters*: ...
Fix return values of migrate and clean.
Fix return values of migrate and clean.
Clojure
mit
fhofherr/clj-db-util
69c5e9390b46daf1eabbb8390536ab3eae335f71
src/squelch/nodes/script_processor.cljs
src/squelch/nodes/script_processor.cljs
(ns squelch.nodes.script-processor) ; ----------- ; Properties: ; ----------- (defn get-buffer-size "Read only. Returns an integer representing both the input and output buffer size. It's value can be a power of 2 value in the range 256–16384." [buffer-source] (.-bufferSize buffer-source)) ; --------------...
(ns squelch.nodes.script-processor) ; ----------- ; Properties: ; ----------- (defn get-buffer-size "Read only. Returns an integer representing both the input and output buffer size. It's value can be a power of 2 value in the range 256–16384." [buffer-source] (.-bufferSize buffer-source)) ; --------------...
Change the event handler into something more sensible.
Change the event handler into something more sensible.
Clojure
mit
minasmart/squelch
4c9a3d69af54defe7b465a94fae436b823b0a57c
src/test/clojure/examples/describe1.clj
src/test/clojure/examples/describe1.clj
(ns examples.describe1 (:use lazytest.describe)) (describe + (it "computes the sum of 3 and 4" (= 7 (+ 3 4)))) (describe + "given any 2 integers" (for [x (range 5), y (range 5)] (it "is commutative" (= (+ x y) (+ y x))))) (describe + (describe "with integers" (it "computes sums of small num...
(ns examples.describe1 (:use lazytest.describe)) (describe + (it "computes the sum of 3 and 4" (= 7 (+ 3 4)))) (describe + "given any 2 integers" (for [x (range 5), y (range 5)] (it "is commutative" (= (+ x y) (+ y x))))) (describe + (describe "with integers" (it "computes sums of small num...
Add example of do-it macro
Add example of do-it macro
Clojure
epl-1.0
stuartsierra/lazytest
52b3ecd1c4a76f8b6e755149bdd7da42e7fa1380
src/discuss/history.cljs
src/discuss/history.cljs
(ns discuss.history (:require [discuss.utils.common :as lib])) (def discussion-history (atom [@lib/app-state])) (add-watch lib/app-state :history (fn [_ _ _ n] (when-not (= (last @discussion-history) n) (swap! discussion-history conj n)))) (defn back! "Travel one unit back ...
(ns discuss.history (:require [discuss.utils.common :as lib])) (def discussion-history (atom [@lib/app-state])) (add-watch lib/app-state :history (fn [_ _ _ n] (when-not (= (last @discussion-history) n) (swap! discussion-history conj n)))) (defn back! "Travel one unit back ...
Reduce step size to travel back in time
Reduce step size to travel back in time
Clojure
mit
hhucn/discuss,hhucn/discuss
2ae6048c81c73253f6a7ce251bc2644dff0b9bf9
src/rads/kafka/transit/MsgpackMessageFormatter.clj
src/rads/kafka/transit/MsgpackMessageFormatter.clj
(ns rads.kafka.transit.MsgpackMessageFormatter (:require [cognitect.transit :as transit] [clojure.java.io :as io]) (:import (kafka.common MessageFormatter) (java.io PrintStream ByteArrayInputStream) (java.util Properties) (org.apache.kafka.clients.consumer ConsumerRecord)) (:gen-class ...
(ns rads.kafka.transit.MsgpackMessageFormatter (:require [cognitect.transit :as transit] [clojure.java.io :as io]) (:import (kafka.common MessageFormatter) (java.io PrintStream ByteArrayInputStream) (java.util Properties) (org.apache.kafka.clients.consumer ConsumerRecord)) (:gen-class ...
Make the MessageFormatter work with keys
Make the MessageFormatter work with keys
Clojure
mit
rads/kafka.transit
881894324465d750341bf67236058787bf3483fb
src/clj/decktouch/mtg_card_master.clj
src/clj/decktouch/mtg_card_master.clj
(ns decktouch.mtg-card-master (:require [clojure.data.json :as json])) (def mtg-cards (json/read-str (slurp "resources/AllCards.json"))) (def card-names (keys mtg-cards)) (defn match "Returns true if query is a substring in string" [query string] (some? (re-matches (re-pattern (str "(?i)" query ".*")) ...
(ns decktouch.mtg-card-master (:require [clojure.data.json :as json])) (def mtg-cards (json/read-str (slurp "resources/AllCards.json"))) (def card-names (keys mtg-cards)) (defn match "Returns true if query is a substring in string" [query string] (some? (re-matches (re-pattern (str "(?i)" query ".*")) ...
Change return format of query results
Change return format of query results
Clojure
epl-1.0
Pance/decktouch,Pance/decktouch
d475ac3bbf7aed27037850b8da0e52c8f444b1d0
project.clj
project.clj
(defproject buddy/buddy-hashers "0.9.1" :description "A collection of secure password hashers for Clojure" :url "https://github.com/funcool/buddy-hashers" :license {:name "Apache 2.0" :url "http://www.apache.org/licenses/LICENSE-2.0"} :dependencies [[org.clojure/clojure "1.7.0" :scope "provided"] ...
(defproject buddy/buddy-hashers "0.9.1" :description "A collection of secure password hashers for Clojure" :url "https://github.com/funcool/buddy-hashers" :license {:name "Apache 2.0" :url "http://www.apache.org/licenses/LICENSE-2.0"} :dependencies [[org.clojure/clojure "1.7.0" :scope "provided"] ...
Update buddy-core dependency to 0.9.0.
Update buddy-core dependency to 0.9.0.
Clojure
apache-2.0
funcool/buddy-hashers,funcool/buddy-hashers
29c741e595ddff5729d4b91fb1a5af3c0ea7caeb
ring-core/project.clj
ring-core/project.clj
(defproject ring/ring-core "1.3.2" :description "Ring core libraries." :url "https://github.com/ring-clojure/ring" :scm {:dir ".."} :license {:name "The MIT License" :url "http://opensource.org/licenses/MIT"} :dependencies [[org.clojure/clojure "1.3.0"] [org.clojure/tools.reader "...
(defproject ring/ring-core "1.3.2" :description "Ring core libraries." :url "https://github.com/ring-clojure/ring" :scm {:dir ".."} :license {:name "The MIT License" :url "http://opensource.org/licenses/MIT"} :dependencies [[org.clojure/clojure "1.3.0"] [org.clojure/tools.reader "...
Update Apache Commons FileUpload to 1.3.1
Update Apache Commons FileUpload to 1.3.1
Clojure
mit
ring-clojure/ring,meowcakes/ring,tchagnon/ring,kirasystems/ring,ieure/ring,ring-clojure/ring,suligap/ring,povloid/ring
7b46009b1c43f5ff73b2bfc38e24f9e6029ab008
project.clj
project.clj
(defproject tailrecursion/boot "0.1.0-SNAPSHOT" :description "Dependency setup/build tool for Clojure" :url "https://github.com/tailrecursion/boot" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.5.1"] ...
(defproject tailrecursion/boot "0.1.0-SNAPSHOT" :description "Dependency setup/build tool for Clojure" :url "https://github.com/tailrecursion/boot" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.5.1"] ...
Update dep because file descriptor leak bug in 1.3.0
Update dep because file descriptor leak bug in 1.3.0
Clojure
epl-1.0
danielsz/boot,kennyjwilli/boot,crisptrutski/boot,RadicalZephyr/boot,junjiemars/boot,tobias/boot,upgradingdave/boot,kennyjwilli/boot,tobias/boot,ragnard/boot,tailrecursion/boot,kausdev/boot,upgradingdave/boot,danielsz/boot,kausdev/boot,crisptrutski/boot,upgradingdave/boot,kausdev/boot,crisptrutski/boot,ragnard/boot,boot...
be3fc544e4978353effe9acc4b82950f0bbb2781
project.clj
project.clj
(defproject onyx-app/lein-template "0.11.1.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.11.1.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
ae2822d00df1cfd1ea13c17e015a48bd7b743b7a
project.clj
project.clj
(defproject fixturex/fixturex "0.2.1" :description "A library of helpful test fixture macros and functions." :url "http://www.ryanmcg.com/fixturex/" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.6.0"]] :repack [{:t...
(defproject fixturex/fixturex "0.2.1" :description "A library of helpful test fixture macros and functions." :url "http://www.ryanmcg.com/fixturex/" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.6.0"]] :repack [{:t...
Upgrade version of incise being used.
Upgrade version of incise being used.
Clojure
epl-1.0
RyanMcG/fixturex
2e4c6f9b79a05133f4856f83205aacb8993aab63
project.clj
project.clj
(defproject org.clojars.pntblnk/clj-ldap "0.0.9" :description "Clojure ldap client (development fork of alienscience's clj-ldap)." :url "https://github.com/pauldorman/clj-ldap" :dependencies [[org.clojure/clojure "1.3.0"] [com.unboundid/unboundid-ldapsdk "2.3.0"]] :dev-dependencies [[jline "0.9...
(defproject puppetlabs/clj-ldap "0.0.9" :description "Clojure ldap client (Puppet Labs's fork)." :url "https://github.com/puppetlabs/clj-ldap" :dependencies [[org.clojure/clojure "1.3.0"] [com.unboundid/unboundid-ldapsdk "2.3.0"]] :dev-dependencies [[jline "0.9.94"] [org.ap...
Change namespace, description, URL to this fork's.
Change namespace, description, URL to this fork's.
Clojure
epl-1.0
puppetlabs/clj-ldap
dba57240ddede254882555c80abeb3f37c503092
src/play_clj/repl.clj
src/play_clj/repl.clj
(ns play-clj.repl (:require [play-clj.core :refer :all])) (defn entities "Returns the entities in `screen-object`, optionally filtered by a supplied function. (entities main-screen :player)" ([screen-object] (-> screen-object :entities deref)) ([screen-object filter-fn] (filter filter-fn (entities...
(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...
Add and rename REPL functions
Add and rename REPL functions
Clojure
unlicense
oakes/play-clj,the2bears/play-clj,the2bears/play-clj,oakes/play-clj,brycecovert/play-clj,brycecovert/play-clj
8dbf910b540339d57dbd484d6fca7ad3ba41f59d
src/io/perun/rss.clj
src/io/perun/rss.clj
(ns io.perun.rss (:require [io.perun.core :as perun] [clj-rss.core :as rss-gen])) (defn rss-definitions [files] (for [file files] {:link (:canonical-url file) :guid (:canonical-url file) :pubDate (:date-published file) :title (:title file) :description (...
(ns io.perun.rss (:require [io.perun.core :as perun] [clj-rss.core :as rss-gen])) (defn rss-definitions [files] (reverse (sort-by :pubDate (for [file files] {:link (:canonical-url file) :guid (:canonical-url file) :pubDate (:...
Sort files by publish date in RSS feed.
Sort files by publish date in RSS feed. My rss feeds were generating entries in random order; this change allows generating rss feeds consistently, sorted by the publish date set in the entry.
Clojure
epl-1.0
hashobject/perun
22d8b3e26a5c2560b465af742af2572b724beecf
src/iss/core.cljs
src/iss/core.cljs
(ns iss.core (:require [om.core :as om :include-macros true] [om.dom :as dom :include-macros true] [iss.constants :refer [black white system-font-large]]) (:require-macros [iss.macros :as macros :refer [defstyles]])) (enable-console-print!) (def app-state (atom {:foo "bar"})) (defn widget...
(ns iss.core (:require [om.core :as om :include-macros true] [om.dom :as dom :include-macros true] [iss.constants :refer [black white system-font-large]]) (:require-macros [iss.macros :as macros :refer [defstyles]])) (enable-console-print!) (def app-state (atom {:foo "bar"})) (defstyles b...
Fix unused var warning, rename widget to app
Fix unused var warning, rename widget to app
Clojure
mit
nick-thompson/iss,nick-thompson/iss,nick-thompson/iss
6f0091d989394dbac95c7bb42076d22ec2837820
build.boot
build.boot
(set-env! :source-paths #{"src"} :resource-paths #{"src"} :dependencies '[[org.clojure/clojure "1.6.0" :scope "provided"] [boot/core "2.1.0" :scope "provided"] [junit "4.12" :scope "test"] [radicalzephyr/bootlaces "0.1.15-SNAPSHO...
(set-env! :source-paths #{"src"} :resource-paths #{"src"} :dependencies '[[org.clojure/clojure "1.6.0" :scope "provided"] [boot/core "2.1.0" :scope "provided"] [junit "4.12" :scope "test"] [radicalzephyr/bootlaces "0.1.15-SNAPSHO...
Stop using renamed junit task configuration
Stop using renamed junit task configuration
Clojure
epl-1.0
RadicalZephyr/boot-junit
667a7246cbf78311fba4da98a6d0b702da6a8e98
kwho-clj/project.clj
kwho-clj/project.clj
(defproject kwho "0.1.0" :description "FIXME: write description" :url "https://github.com/jacobmorzinski/kwho" :license {:name "The MIT License" :url "http://opensource.org/licenses/MIT"} :dependencies [[org.clojure/clojure "1.6.0"]] :plugins [[lein-bin "0.3.6-SNAPSHOT"]] #_ "https://github.com/ja...
(defproject kwho "0.1.0" :description "FIXME: write description" :url "https://github.com/jacobmorzinski/kwho" :license {:name "The MIT License" :url "http://opensource.org/licenses/MIT"} :dependencies [[org.clojure/clojure "1.6.0"]] :plugins [[lein-bin "0.3.5"]] #_ "https://github.com/jacobmorzin...
Revert back to stock lein-bin
Revert back to stock lein-bin
Clojure
mit
jacobmorzinski/kwho,jacobmorzinski/kwho,jacobmorzinski/kwho,jacobmorzinski/kwho,jacobmorzinski/kwho,jacobmorzinski/kwho,jacobmorzinski/kwho
090298d48b189cbf42df28569974fc5c40e452bd
test/hbase_region_inspector/util_test.clj
test/hbase_region_inspector/util_test.clj
(ns hbase-region-inspector.util-test (:require [clojure.test :refer :all] [hbase-region-inspector.util :refer :all])) (deftest test-compare-server-names (is (> (compare-server-names "foobar10" "foobar2"))) (is (< (compare-server-names "foo-1-bar02" "foo-1-bar010")))) (deftest test-rand-range (let ...
(ns hbase-region-inspector.util-test (:require [clojure.test :refer :all] [hbase-region-inspector.util :refer :all])) (deftest test-compare-server-names (is (> (compare-server-names "foobar10" "foobar2") 0)) (is (< (compare-server-names "foo-1-bar02" "foo-1-bar010") 0))) (deftest test-rand-range (...
Fix always-true tests spotted by eastwood
Fix always-true tests spotted by eastwood
Clojure
apache-2.0
kakao/hbase-region-inspector,kakao/hbase-region-inspector,kakao/hbase-region-inspector
0cd41199343f64aa197530f587d2860e1829c09e
dot/lein/profiles.clj
dot/lein/profiles.clj
{:user {:plugins [[lein-vanity "0.2.0" :exclusions [org.clojure/clojure]] [lein-ancient "0.6.15"] [lein-hiera "1.0.0"] [lein-kibit "0.1.6"] [jonase/eastwood "0.2.9"] ;;[com.billpiel/sayid "0.0.10"] [lein-cljfmt "0.6.0"]] :dependencies [[slamhoun...
{:user {:plugins [[lein-vanity "0.2.0" :exclusions [org.clojure/clojure]] [lein-ancient "0.6.15"] [lein-hiera "1.0.0"] [lein-kibit "0.1.6"] [lein-pprint "1.2.0"] [jonase/eastwood "0.2.9"] ;;[com.billpiel/sayid "0.0.10"] [lein-cljfmt "0...
Add lein-pprint for complete profile
Add lein-pprint for complete profile
Clojure
bsd-3-clause
dgtized/dotfiles,dgtized/dotfiles,dgtized/dotfiles
5ae9a5fc4396078c614b9eb5e4df8c0d3dbc0cf2
src/uuuurrrrllll/cassandra.clj
src/uuuurrrrllll/cassandra.clj
(ns uuuurrrrllll.cassandra (:require [uuuurrrrllll.util :refer [gen-short-url]] [com.stuartsierra.component :as component]) (:use [clojurewerkz.cassaforte.client :as client] [clojurewerkz.cassaforte.cql] [clojurewerkz.cassaforte.query])) (def default-hosts ["localhost"]) (def keyspace ...
(ns uuuurrrrllll.cassandra (:require [uuuurrrrllll.util :refer [gen-short-url]] [com.stuartsierra.component :as component]) (:use [clojurewerkz.cassaforte.client :as client] [clojurewerkz.cassaforte.cql] [clojurewerkz.cassaforte.query])) (def default-hosts ["localhost"]) (def keyspace ...
Use a def for the short code length
Use a def for the short code length
Clojure
epl-1.0
AeroNotix/uuuurrrrllll,AeroNotix/uuuurrrrllll
15562f9d76fe01d2788d4ed71fe0d841a5c6684e
test/desdemona/lifecycles/logging_test.clj
test/desdemona/lifecycles/logging_test.clj
(ns desdemona.lifecycles.logging-test (:require [desdemona.lifecycles.logging :as l] [clojure.test :refer [deftest is]])) (deftest log-batch-tests)
(ns desdemona.lifecycles.logging-test (:require [desdemona.lifecycles.logging :as l] [desdemona.test-macros :refer [with-out-str-and-result]] [clojure.test :refer [deftest is]] [clojure.string :as s] [clojure.core.match :refer [match]])) (def sample-event {:onyx.core/task-map {:onyx/name "xyzzy"} ...
Write some tests for log-batch
Write some tests for log-batch
Clojure
epl-1.0
RackSec/desdemona
b3c9ea857e2b62fd3474e865a567b05a79e060ae
src/detritus/pred.clj
src/detritus/pred.clj
(ns detritus.pred) (defn ->ensure ([v pred] (->ensure v pred "->assert failed!")) ([v pred error] (if (pred v) v (assert false error)))) (defn ->>ensure ([pred v] (->>ensure pred "->>assert failed!" v)) ([pred error v] (if (pred v) v (assert false error)))) (defn may...
(ns detritus.pred) (defn ->assert "(λ T → ((λ T) → Bool)) → T (λ T → ((λ T) → Bool) → String) → T Function of a value, a predicate and optionally a string. If the predicate is not true of the value, this function will assert false giving the optional string or \"->assert failed!\" as the failure message. ...
Add docstrings to the ->>asserts
Add docstrings to the ->>asserts
Clojure
epl-1.0
arrdem/detritus
aa1620f4725a15f18078eaf68d9515d3ddd88acf
src/metabase/api/slack.clj
src/metabase/api/slack.clj
(ns metabase.api.slack "/api/slack endpoints" (:require [clojure.set :as set] [clojure.tools.logging :as log] [compojure.core :refer [PUT]] [metabase.api.common :refer :all] [metabase.config :as config] [metabase.integrations.slack :as slack])) (defendpoi...
(ns metabase.api.slack "/api/slack endpoints" (:require [clojure.set :as set] [clojure.tools.logging :as log] [compojure.core :refer [PUT]] [metabase.api.common :refer :all] [metabase.config :as config] [metabase.integrations.slack :as slack])) (defendpoi...
Fix setting Slack token :scream_cat:
Fix setting Slack token :scream_cat:
Clojure
agpl-3.0
blueoceanideas/metabase,blueoceanideas/metabase,blueoceanideas/metabase,blueoceanideas/metabase,blueoceanideas/metabase
51973eb28fffe2e6168e14048fbb35ac33a069b1
opt/profiles.clj
opt/profiles.clj
{:user {:mirrors {"central" "http://s3pository.herokuapp.com/maven-central" ;; TODO: re-enable once clojars releases repo is up ;; "clojars" "http://s3pository.herokuapp.com/clojars" } :aliases {"repl" ["with-profile" "production" "trampoline" "repl"]}} :pr...
{:user {:mirrors {"central" "http://s3pository.herokuapp.com/maven-central" ;; TODO: re-enable once clojars releases repo is up ;; "clojars" "http://s3pository.herokuapp.com/clojars" } :aliases {"repl" ["update-in" ":dependencies" "conj" "[reply \"0.1.6\"]" ...
Use the fancy reply repl instead of raw trampoline.
Use the fancy reply repl instead of raw trampoline.
Clojure
mit
heroku/heroku-buildpack-clojure,heroku/heroku-buildpack-clojure,nvbn/heroku-buildpack-clojure,jkutner/heroku-buildpack-lein,mstine/heroku-buildpack-clojure,cedricpineau/heroku-buildpack-clojure-phantomjs,cloudControl/buildpack-clojure
9c394d7517d06f988e0ad4b8e5eee18ba91b5580
src/cljs/chess/core.cljs
src/cljs/chess/core.cljs
(ns chess.core (:require [om.core :as om :include-macros true] [om.dom :as dom :include-macros true])) (defonce app-state (atom {:text "Hello Chestnut!"})) (defn main [] (om/root (fn [app owner] (reify om/IRender (render [_] (dom/h1 nil (:text app))))) app-state...
(ns chess.core (:require [om.core :as om :include-macros true] [om.dom :as dom :include-macros true])) (def initial-board [[\r \n \b \q \k \b \n \r] [\p \p \p \p \p \p \p \p] [\. \. \. \. \. \. \. \.] [\. \. \. \. \. \. \. \.] [\. \. \. \. \. \. \. \.] [\. \. \. \. \. \. \. \.] [\P \P...
Define board data structure and initial setup.
Define board data structure and initial setup.
Clojure
epl-1.0
christinning/chess,christinning/chess
51acce2fef650d8bbd736636387650a40938e8b2
project.clj
project.clj
(defproject org.onyxplatform/onyx-peer-http-query "0.10.0.0-beta4" :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
5575d7b72bc43d777bc79bdd06994a1fc8354ae8
project.clj
project.clj
(defproject funcool/cats "1.1.0-SNAPSHOT" :description "Category Theory abstractions for Clojure" :url "https://github.com/funcool/cats" :license {:name "BSD (2 Clause)" :url "http://opensource.org/licenses/BSD-2-Clause"} :dependencies [[org.clojure/clojure "1.7.0" :scope "provided"] ...
(defproject funcool/cats "1.1.0-SNAPSHOT" :description "Category Theory abstractions for Clojure" :url "https://github.com/funcool/cats" :license {:name "BSD (2 Clause)" :url "http://opensource.org/licenses/BSD-2-Clause"} :dependencies [[org.clojure/clojure "1.7.0" :scope "provided"] ...
Update cljs compiler to 1.7.145
Update cljs compiler to 1.7.145
Clojure
bsd-2-clause
funcool/cats,tcsavage/cats
6bca96c035f84bf1f82a64bf4e040ab022fd6aed
project.clj
project.clj
(defproject jungerer "0.3.0" :description "Clojure network/graph library wrapping JUNG" :url "https://github.com/totakke/jungerer" :license {:name "The BSD 3-Clause License" :url "https://opensource.org/licenses/BSD-3-Clause"} :dependencies [[org.clojure/clojure "1.7.0"] [net.sf.jun...
(defproject jungerer "0.4.0-SNAPSHOT" :description "Clojure network/graph library wrapping JUNG" :url "https://github.com/totakke/jungerer" :license {:name "The BSD 3-Clause License" :url "https://opensource.org/licenses/BSD-3-Clause"} :dependencies [[org.clojure/clojure "1.7.0"] [n...
Prepare for next development iteration (0.4.0-SNAPSHOT)
Prepare for next development iteration (0.4.0-SNAPSHOT)
Clojure
bsd-3-clause
totakke/jungerer
657846a68822fb7d1677b2e6c0fd74d4abc8667d
project.clj
project.clj
(defproject cryogen/lein-template "0.6.2" :description "A Leiningen template for the Cryogen static site generator" :url "https://github.com/cryogen-project/cryogen" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :scm {:name "git" :url "https://git...
(defproject cryogen/lein-template "0.6.3" :description "A Leiningen template for the Cryogen static site generator" :url "https://github.com/cryogen-project/cryogen" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :scm {:name "git" :url "https://git...
Update deps and version number.
Update deps and version number.
Clojure
epl-1.0
cryogen-project/cryogen
f752150129bb63064bc6aeb0d43563ba6bf0714c
clojure_pi_dir/run.clj
clojure_pi_dir/run.clj
; This is a wrapper Clojure script that checks command line args and calls the ; methods we have defined in pi.clj. ; We could actually build in this script because of the way LISPs like Clojure ; work but that would mean building every time, so leave it to Make. (def n 10000000) (if (> (count *command-line-args*) 0)...
; This is a wrapper Clojure script that checks command line args and calls the ; methods we have defined in pi.clj. ; We could actually build in this script because of the way LISPs like Clojure ; work but that would mean building every time, so leave it to Make. (def n 50000000) (if (> (count *command-line-args*) 0)...
Bring into line with other JVM implementations.
Bring into line with other JVM implementations.
Clojure
cc0-1.0
UCL-RITS/pi_examples,UCL-RITS/pi_examples,UCL-RITS/pi_examples,UCL-RITS/pi_examples,UCL-RITS/pi_examples,UCL-RITS/pi_examples,UCL-RITS/pi_examples,UCL-RITS/pi_examples,UCL-RITS/pi_examples,UCL-RITS/pi_examples,UCL-RITS/pi_examples,UCL-RITS/pi_examples,UCL-RITS/pi_examples,UCL-RITS/pi_examples,UCL-RITS/pi_examples,UCL-R...
9ad0a7d43041b5aa8f587985c434de02eb435194
clj_record/query.clj
clj_record/query.clj
(ns clj-record.query (:require [clojure.contrib.str-utils :as str-utils])) (defmacro generate-predicate [predicate join-predicate-params-with values] `(fn [attribute#] (let [[clause# params#] [(str-utils/str-join ~join-predicate-params-with (reduce (fn [predicate-params# value#] (conj pr...
(ns clj-record.query (:require [clojure.contrib.str-utils :as str-utils])) (defn- generate-predicate-fn [predicate join-predicate-params-with values] (fn [attribute] (let [[clause params] [(str-utils/str-join join-predicate-params-with (reduce (fn [predicate-params value] ...
Tidy up indentation and clean up of generate-predicate-function.
Tidy up indentation and clean up of generate-predicate-function.
Clojure
mit
duelinmarkers/clj-record