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
8f9e0b194d7b2e3732bce041ee13d8a2f8053760
src-cljs/dakait/net.cljs
src-cljs/dakait/net.cljs
;; net utilities ;; (ns dakait.net) (defn get-json "Sends a get request to the server and gets back with data already EDNed" ([path response-cb error-cb] (get-json path {} response-cb error-cb)) ([path params response-cb error-cb] (let [r (.get js/jQuery path (clj->js params))] (doto r (.done (...
;; net utilities ;; (ns dakait.net) (defn get-json "Sends a get request to the server and gets back with data already EDNed" ([path response-cb error-cb] (get-json path {} response-cb error-cb)) ([path params response-cb error-cb] (let [r (.get js/jQuery path (clj->js params))] (doto r (.done (...
Use ajax instead of post (for which externs were failing)
Use ajax instead of post (for which externs were failing)
Clojure
epl-1.0
kyroskoh/dakait,verma/dakait,kyroskoh/dakait
5bffcd5375bb221ed2fc26401dae2f6e9deefc5b
src/gol/client/bl.cljs
src/gol/client/bl.cljs
(ns gol.client.bl) (defn neighbours [[x y]] (for [dx [-1 0 1] dy [-1 0 1] :when (not= 0 dx dy)] [(+ dx x) (+ dy y)])) (defn stepper [neighbours birth? survive?] (fn [cells] (set (for [[loc n] (frequencies (mapcat neighbours cells)) :when (if (cells loc) (survive? n) (birth? n))]...
(ns gol.client.bl) (defn neighbours [[x y]] (for [dx [-1 0 1] dy [-1 0 1] :when (not= 0 dx dy)] [(+ dx x) (+ dy y)])) (defn stepper [neighbours birth? survive?] (fn [cells] (set (for [[loc n] (frequencies (mapcat neighbours cells)) :when (if (cells loc) (survive? n) (birth? n))]...
Rename random 2d sequence generator
Rename random 2d sequence generator
Clojure
mit
pavel-v-chernykh/gol
14a9c2e2bd3cad3d497e64955fde58c193e11e63
resources/leiningen/new/jcf/project.clj
resources/leiningen/new/jcf/project.clj
(defproject {{name}} "0.1.0-SNAPSHOT" :description "FIXME: write description" :url "https://example.com/FIXME" :dependencies [[com.stuartsierra/component "0.2.2"] [environ "1.0.0"] [org.clojure/clojure "1.7.0"] [prismatic/schema "0.4.3"]] :min-lein-version "2.5...
(defproject {{name}} "0.1.0-SNAPSHOT" :description "FIXME: write description" :url "https://example.com/FIXME" :dependencies [[com.stuartsierra/component "0.2.2"] [environ "1.0.0"] [org.clojure/clojure "1.7.0"] [prismatic/schema "0.4.3"]] :main {{ns}}.main :m...
Define :main for all profiles
Define :main for all profiles
Clojure
mit
jcf/lein-template
afdc34e18e693f6b1365eeff1bfd5becaccd3dba
src/clojure/fault/promise.clj
src/clojure/fault/promise.clj
(ns fault.promise (:import (fault ResilientPromise Status) (clojure.lang IDeref IBlockingDeref IPending ILookup))) (set! *warn-on-reflection* true) (defn- status [status-enum] (cond (= Status/PENDING status-enum) :pending (= Status/SUCCESS status-enum) :success (= Status/ERROR status-enum) ...
(ns fault.promise (:import (fault ResilientPromise Status) (clojure.lang IDeref IBlockingDeref IPending ILookup))) (set! *warn-on-reflection* true) (defn- status [status-enum] (cond (= Status/PENDING status-enum) :pending (= Status/SUCCESS status-enum) :success (= Status/ERROR status-enum) ...
Return results in Clojurish manner
Return results in Clojurish manner
Clojure
apache-2.0
tbrooks8/Beehive
7482ef51227de81f424d90aa35c8d93a4ec3101f
src/kosha/app/search.clj
src/kosha/app/search.clj
(ns kosha.app.search (:require [kosha.db.search :as db-search] [kosha.app.util :as util])) (def no-of-results (util/get-config :api :search-results)) (defn get-results "Retrieves 2n best matches for given ragam or kriti name." [query n] (let [ragams (future (db-search/ragams query n)) kri...
(ns kosha.app.search (:require [kosha.db.search :as db-search] [kosha.app.util :as util])) (def no-of-results (util/get-config :api :search-results)) (defn get-results "Retrieves 2n best matches for given ragam or kriti name." [query n] (let [ragams (future (db-search/ragams query n)) kr...
Order results by descending similarity score.
Order results by descending similarity score.
Clojure
epl-1.0
nilenso/kosha
4c1f38cf513cab71c1c6153a1846af700770ae58
src/braid/server/bots.clj
src/braid/server/bots.clj
(ns braid.server.bots (:require [org.httpkit.client :as http] [taoensso.timbre :as timbre] [braid.server.crypto :as crypto] [braid.server.util :refer [->transit]]) (:import java.io.ByteArrayInputStream)) (defn send-message-notification [bot message] (let [body (->transit message) hm...
(ns braid.server.bots (:require [org.httpkit.client :as http] [taoensso.timbre :as timbre] [braid.server.crypto :as crypto] [braid.server.util :refer [->transit]]) (:import java.io.ByteArrayInputStream)) (defn send-message-notification [bot message] (let [body (->transit message) hm...
Add debug logging to bot event sending
Add debug logging to bot event sending
Clojure
agpl-3.0
rafd/braid,rafd/braid,braidchat/braid,braidchat/braid
9e320f4a0fca6bb07ecf8455789fd5a67a7a2688
project.clj
project.clj
(defproject onyx-app/lein-template "0.9.7.0-alpha4" :description "Onyx Leiningen application template" :url "https://github.com/onyx-platform/onyx-template" :license {:name "MIT License" :url "http://choosealicense.com/licenses/mit/#"} :repositories {"snapshots" {:url "https://clojars.org/repo" ...
(defproject onyx-app/lein-template "0.9.7.0-SNAPSHOT" :description "Onyx Leiningen application template" :url "https://github.com/onyx-platform/onyx-template" :license {:name "MIT License" :url "http://choosealicense.com/licenses/mit/#"} :repositories {"snapshots" {:url "https://clojars.org/repo" ...
Prepare for next release cycle.
Prepare for next release cycle.
Clojure
mit
onyx-platform/onyx-template
8db7dc946fcfb7244cb56b75666a34201349b996
project.clj
project.clj
(defproject org.onyxplatform/onyx-datomic "0.8.1.0-alpha1" :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/re...
(defproject org.onyxplatform/onyx-datomic "0.8.1.0-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/...
Prepare for next release cycle.
Prepare for next release cycle.
Clojure
epl-1.0
onyx-platform/onyx-datomic
410e20957b3af7de2233dd885d8718668b52ae1a
project.clj
project.clj
(defproject rill/rill "0.1.7-SNAPSHOT" :description "An Event Sourcing Toolkit" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :url "https://github.com/rill-event-sourcing/rill" :dependencies [[org.clojure/clojure "1.6.0"] [org.clojure/cor...
(defproject rill/rill "0.1.7-SNAPSHOT" :description "An Event Sourcing Toolkit" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :url "https://github.com/rill-event-sourcing/rill" :dependencies [[org.clojure/clojure "1.6.0"] [org.clojure/cor...
Remove unused dependencies from core
Remove unused dependencies from core
Clojure
epl-1.0
rill-event-sourcing/rill
85e69919e726ab823635ce41b08bcab6857cbf2c
profiles.clj
profiles.clj
{:dev {:aliases {"test-all" ["with-profile" "dev,1.8:dev,1.6:dev,1.5:dev: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/code...
{:dev {:aliases {"test-all" ["with-profile" "dev,1.8:dev,1.6:dev,1.5:dev: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/code...
Update :1.8 profile with clojure 1.8-RC1
Update :1.8 profile with clojure 1.8-RC1
Clojure
apache-2.0
funcool/buddy-core,funcool/buddy-core
d4bc0c61f478bdfe1c6e4b4da98ea931ffd5fc00
src/clojure/neko/data.clj
src/clojure/neko/data.clj
(ns neko.data "Contains utilities to manipulate data that is passed between Android entities via Bundles and Intents." (:import android.os.Bundle android.content.Intent)) (defprotocol GenericKey "If given a string returns itself, otherwise transforms a argument into a string." (generic-key [key])) (extend...
(ns neko.data "Contains utilities to manipulate data that is passed between Android entities via Bundles and Intents." (:import android.os.Bundle android.content.Intent)) (defprotocol GenericExtrasKey "If given a string returns itself, otherwise transforms a argument into a string." (generic-key [key])) (...
Replace proxy wrapper around Bundle with a deftype
Replace proxy wrapper around Bundle with a deftype
Clojure
epl-1.0
clojure-android/neko
8e64b58e306bda65a08c259e193513834928d9cb
test/minijava/test_compile.clj
test/minijava/test_compile.clj
(ns minijava.test-compile (:use clojure.test clojure.contrib.def (minijava compile))) (deftest tests-files-convert-without-exception (let [filter (proxy [java.io.FilenameFilter] [] (accept [_ name] (not (nil? (re-find #"java$" name))))) files (-> "resources/sample" java.io....
(ns minijava.test-compile (:use clojure.test clojure.contrib.def clojure.contrib.pprint (minijava compile))) (deftest tests-files-convert-without-exception (let [filter (proxy [java.io.FilenameFilter] [] (accept [_ name] (not (nil? (re-find #"java$" name))))) files ...
Use pretty printer in compile test
Use pretty printer in compile test
Clojure
mit
mikedouglas/MiniJava,mikedouglas/MiniJava
959810174b6f850dd7b8e15cccb7be4efe028061
src/circleci/backend/project/circleci.clj
src/circleci/backend/project/circleci.clj
(ns circleci.backend.project.circleci (:require [circleci.backend.nodes :as nodes]) (:require [circleci.backend.nodes.circleci :as circle]) (:use [circleci.backend.build :only (build)]) (:use [circleci.backend.action.vcs :only (checkout)]) (:use [circleci.backend.action.bash :only (bash)]) (:use [circleci.b...
(ns circleci.backend.project.circleci (:require [circleci.backend.nodes :as nodes]) (:require [circleci.backend.nodes.circleci :as circle]) (:use [circleci.backend.build :only (build)]) (:use [circleci.backend.action.vcs :only (checkout)]) (:use [circleci.backend.action.bash :only (bash)]) ;; (:use [circlec...
Comment out incomplete junit code
Comment out incomplete junit code
Clojure
epl-1.0
circleci/frontend,RayRutjes/frontend,prathamesh-sonpatki/frontend,RayRutjes/frontend,circleci/frontend,circleci/frontend,prathamesh-sonpatki/frontend
f5f9a7e4105196d1c820442ecf6800366ed64cc7
src/cljs/gtfve/state.cljs
src/cljs/gtfve/state.cljs
(ns gtfve.state (:require [om.core :as om])) (defn initial-state [] {:error-message nil :environment :development :ui {:editor {:mode :view :modes {:stops? false} :update-render? false :map-options {:center {:lat 0 :ln...
(ns gtfve.state (:require [om.core :as om])) (defn initial-state [] {:error-message nil :environment :development :ui {:editor {:mode :view :modes {:stops? false} :update-render? false :map-options {:center {:lat 0 :ln...
Add stops vector to data
Add stops vector to data
Clojure
epl-1.0
alvinfrancis/gtfve
53008db59c793b746da8e4f44fafd5c809763c6b
stuff/libs/conexp-clj.clj
stuff/libs/conexp-clj.clj
;; Copyright (c) Daniel Borchmann. All rights reserved. ;; The use and distribution terms for this software are covered by the ;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) ;; which can be found in the file LICENSE at the root of this distribution. ;; By using this software in any fashi...
;; Copyright (c) Daniel Borchmann. All rights reserved. ;; The use and distribution terms for this software are covered by the ;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) ;; which can be found in the file LICENSE at the root of this distribution. ;; By using this software in any fashi...
Use conexp.main when --load-ing files
Use conexp.main when --load-ing files Signed-off-by: Daniel Borchmann <25857343a15bf1edafebc2912e82ecf775c585c1@mailbox.tu-dresden.de>
Clojure
epl-1.0
exot/conexp-clj,Lobage/conexp-clj,exot/conexp-clj,fcatools/conexp-clj,exot/conexp-clj,Lobage/conexp-clj,fcatools/conexp-clj,fcatools/conexp-clj,Lobage/conexp-clj,exot/conexp-clj,exot/conexp-clj,fcatools/conexp-clj,Lobage/conexp-clj,fcatools/conexp-clj
0218daa0f25344304890b266e7fe6248ef4bb1a2
modules/ring/project.clj
modules/ring/project.clj
;; Copyright © 2014 JUXT LTD. (defproject juxt.modular/ring "0.5.1" :description "A modular extension that represents the Ring interface" :url "https://github.com/juxt/modular/tree/master/modules/ring" :license {:name "The MIT License" :url "http://opensource.org/licenses/MIT"} :dependencies [[pris...
;; Copyright © 2014 JUXT LTD. (defproject juxt.modular/ring "0.5.2-SNAPSHOT" :description "A modular extension that represents the Ring interface" :url "https://github.com/juxt/modular/tree/master/modules/ring" :license {:name "The MIT License" :url "http://opensource.org/licenses/MIT"} :dependenci...
Add logging dependency to modular.ring
Add logging dependency to modular.ring
Clojure
mit
tvanhens/modular,juxt/modular,pleasetrythisathome/modular,pleasetrythisathome/modular,juxt/modular
37ab63efc862ddc4a13328c5002ec6de106c0266
src/spam_and_eggs/http/app.clj
src/spam_and_eggs/http/app.clj
(ns spam-and-eggs.http.app (:require [compojure.core :refer :all] [compojure.route :as route] [spam-and-eggs.http.api :as api] [spam-and-eggs.http.html :as html])) (def handler (routes html/handler api/handler (route/not-found "Page not fo...
(ns spam-and-eggs.http.app (:require [compojure.core :refer :all] [compojure.route :as route] [spam-and-eggs.http.api :as api] [spam-and-eggs.http.html :as html])) (def handler (routes #'html/handler #'api/handler (route/not-found "Page no...
Use handler vars for routing
Use handler vars for routing
Clojure
epl-1.0
iantruslove/spam-and-eggs
bfe2b1cfec3cee0a60f2c3a70b7d9a269233e91e
test/behaviors/t_isolated_metaconstants.clj
test/behaviors/t_isolated_metaconstants.clj
;; -*- indent-tabs-mode: nil -*- (ns behaviors.t-isolated-metaconstants (:use [clojure.pprint]) (:use [midje sweet])) (defn verify-service [service] true) (declare f g) (background (f) => 1 (g) => 33) (fact 1 => 1 (provided ..service.. =contains=> {:status 200}))))
;; -*- indent-tabs-mode: nil -*- (ns behaviors.t-isolated-metaconstants (:use [clojure.pprint]) (:use [midje sweet])) (defn verify-service [service] true) (declare f) ;; In version with bug, the following is required to make this work. ;; (background (f) => 1) (future-fact 1 => 1 (provided ..service.. ...
Tag test for my current bug as future-fact
Tag test for my current bug as future-fact
Clojure
mit
yfractal/Midje,bens/Midje,aeriksson/Midje,marick/Midje
da1eb40de4d2a446af03847ac807b4fa48db8579
examples/debugging/src/debugging/core.clj
examples/debugging/src/debugging/core.clj
(ns debugging.core (:require [catacumba.core :as ct] [catacumba.http :as http] [catacumba.helpers :as hp] [catacumba.plugins.prone :as prone]) (:gen-class)) (defn index [context] (http/ok "<a href='/somepage'>Go here</a>" {:content-type "text/html; encoding=utg-8"...
(ns debugging.core (:require [catacumba.core :as ct] [catacumba.http :as http] [catacumba.plugins.prone :as prone]) (:gen-class)) (defn index [context] (http/ok "<a href='/somepage'>Go here</a>" {:content-type "text/html; encoding=utg-8"})) (defn middle-hander [context] ...
Remove unused import on debuging example.
Remove unused import on debuging example.
Clojure
bsd-2-clause
funcool/catacumba,funcool/catacumba,funcool/catacumba
ccc911ed782be6109f654eb40199c7372e7c525b
src/braid/users/core.cljc
src/braid/users/core.cljc
(ns braid.users.core (:require [braid.core.api :as core] #?@(:cljs [[braid.users.client.views.users-page :as views]]))) (defn init! [] #?(:cljs (do (core/register-group-page! {:key :users :view views/users-page-view}))))
(ns braid.users.core (:require [braid.core.api :as core] #?@(:cljs [[braid.users.client.views.users-page :as views] [braid.core.client.routes :as routes]]))) (defn init! [] #?(:cljs (do (core/register-group-page! {:key :users :view views/users-page-view}) ...
Make menu item a hook
Make menu item a hook
Clojure
agpl-3.0
braidchat/braid,braidchat/braid,rafd/braid,rafd/braid
d74acc62de2586bd75bc3eaa070ca64142c43811
src/cljs38/polygon.cljs
src/cljs38/polygon.cljs
(ns cljs38.polygon) ; Calculate the distance between 2 points (defn distance [a b] (Math/sqrt (+ (Math/pow (- (a 0) (b 0)) 2) (Math/pow (- (a 1) (b 1)) 2)))) ; Generate a polygon where all edges are equally distant (defn coordinates [number-of-edges radius] (letfn [ (edge-coordinates...
(ns cljs38.polygon) ; Calculate the distance between 2 points (defn distance [a b] (Math/sqrt (+ (Math/pow (- (a 0) (b 0)) 2) (Math/pow (- (a 1) (b 1)) 2)))) ; Generate a polygon where all edges are equally distant (defn coordinates [number-of-edges radius] (letfn [ (edge-coordinates...
Replace js math functions with Clojure Math/
Replace js math functions with Clojure Math/
Clojure
mit
arthens/cljs38
8ec32ad13084adadb29dd655460895acce76850c
backend/profiles.clj
backend/profiles.clj
{:dev {:plugins [[lein-ancient "0.6.10"]] :dependencies [[clj-http "2.1.0"]] :main ^:skip-aot uxbox.main} :prod {:jvm-opts ^:replace ["-Xms4g" "-Xmx4g" "-XX:+UseG1GC" "-XX:+AggressiveOpts" "-server"]}}
{:dev {:plugins [[lein-ancient "0.6.10"]] :dependencies [[clj-http "2.1.0"]] :jvm-opts ^:replace ["-Xms500m" "-Xmx500m" "-XX:+UseG1GC"] :main ^:skip-aot uxbox.main} :prod {:jvm-opts ^:replace ["-Xms1g" "-Xmx1g" "-XX:+UseG1GC" "-XX:+AggressiveOpts" "-server"]}}
Set lower defaults resource requiremens for dev profile.
Set lower defaults resource requiremens for dev profile.
Clojure
mpl-2.0
uxbox/uxbox,uxbox/uxbox,studiospring/uxbox,uxbox/uxbox,studiospring/uxbox,studiospring/uxbox
8342cc1d9bce773358884a49ed3a8aec07463ae9
test/useful/java_test.clj
test/useful/java_test.clj
(ns useful.java-test (:use clojure.test useful.java)) (deftest test-rescue (is (= nil (rescue (/ 9 0) nil))) (is (= 3 (rescue (/ 9 3) nil))))
(ns useful.java-test (:use clojure.test useful.java)) (deftest test-rescue (is (= nil (rescue (/ 9 0) nil))) (is (= 3 (rescue (/ 9 3) nil)))) (deftest test-construct (is (= "test" (construct String "test"))))
Add a test for construct.
Add a test for construct.
Clojure
epl-1.0
amalloy/useful,flatland/useful,jafingerhut/useful
d9077308685c4fe74a2dbc78cdac4746dd91d0e7
clojure/profiles.clj
clojure/profiles.clj
{:user {:plugins [[lein-localrepo "0.5.3"] [lein-try "0.4.3"]]}}
{:user {:plugins [[lein-localrepo "0.5.3"] [lein-try "0.4.3"] ;; Convert pom.xml to project.clj ;; Note: from https://github.com/thickey/lein-nevam [lein-nevam "0.1.2"]]}}
Add lein-nevam for pom.xml to project.clj
Add lein-nevam for pom.xml to project.clj
Clojure
mit
agilecreativity/dotfiles,agilecreativity/dotfiles,agilecreativity/dotfiles
01791ee55ca90f8ed2a0e63b549127038c5dcbfd
spec/fred.clj
spec/fred.clj
(ns fred ;; Used a non-standard prefix for rook, to demonstrate that the eval occurs ;; in the fred namespace, not somewhere where there's a rook alias already. {:arg-resolvers [(io.aviso.rook/build-map-arg-resolver {:partner :barney})]} (:require [clojure.core.async :refer [go]] [io.aviso.rook :as r] ...
(ns fred ;; TODO: pattern dispatcher doesn't eval at all, make it eval or ;; update the comment below ;; ;; Used a non-standard prefix for rook, to demonstrate that the eval occurs ;; in the fred namespace, not somewhere where there's a rook alias already. {:arg-resolvers [(io.aviso.rook/build-map-arg-resol...
Add TODO re: eval of ns arg resolvers
Add TODO re: eval of ns arg resolvers
Clojure
apache-2.0
roblally/rook,clyfe/rook,bmabey/rook
024fab3a6d2108d135e35674bedbc43af20848ae
src/com/puppetlabs/puppetdb/cli/version.clj
src/com/puppetlabs/puppetdb/cli/version.clj
;; ## Version utility ;; ;; This simple command-line tool prints a JSON hash with some info about ;; the version of PuppetDB. It is useful for testing and other situations ;; where you'd like to know some of the version details without having ;; a running instance of PuppetDB. (ns com.puppetlabs.puppetdb.cli.version ...
;; ## Version utility ;; ;; This simple command-line tool prints a list of info about ;; the version of PuppetDB. It is useful for testing and other situations ;; where you'd like to know some of the version details without having ;; a running instance of PuppetDB. ;; ;; The output is currently formatted like the cont...
Update docs to reflect that the output is no longer JSON
Update docs to reflect that the output is no longer JSON
Clojure
apache-2.0
highb/puppetdb,senior/puppetdb,melissa/puppetdb,cprice404/puppetdb,kbrezina/puppetdb,johnduarte/puppetdb,wkalt/puppetdb,senior/puppetdb,ajroetker/puppetdb,nfagerlund/puppetdb,kbarber/puppetdb,kbarber/puppetdb,puppetlabs/puppetdb,kbarber/puppetdb,rbrw/puppetdb,rbrw/puppetdb,shrug/puppetdb,mullr/puppetdb,kbrezina/puppetd...
3de077dcd7aac59bbd336a8084c2027d85ee8795
src/cljs/salava/core/ui/content_language.cljs
src/cljs/salava/core/ui/content_language.cljs
(ns salava.core.ui.content-language (:require [reagent.session :as session] [salava.core.helper :refer [dump]])) (defn init-content-language "chose language between user-lng and default lng" [contents] (let [user-lng (session/get-in [:user :language])] (if (some #(= user-lng (:language_code %))...
(ns salava.core.ui.content-language (:require [reagent.session :as session] [salava.core.i18n :refer [lang-lookup]] [clojure.string :refer [capitalize]] [salava.core.helper :refer [dump]])) (defn init-content-language "chose language between user-lng and default lng" [contents...
Fix content language selector have full language name
Fix content language selector have full language name
Clojure
apache-2.0
discendum/salava,discendum/salava,discendum/salava
41e291164349f7f715d856b49c0adf71c6283e3c
src/caesium/crypto/generichash.clj
src/caesium/crypto/generichash.clj
(ns caesium.crypto.generichash (:import (org.abstractj.kalium.crypto Hash))) (def ^:private sixteen-nuls (repeat 16 (byte 0))) (defn blake2b "Computes the BLAKE2b digest of the given message, with optional salt, key and personalization parameters." ([message] (.blake2 (new Hash) message)) ([message & {...
(ns caesium.crypto.generichash (:import (org.abstractj.kalium.crypto Hash))) (def ^:private sixteen-nuls (byte-array 16)) (defn blake2b "Computes the BLAKE2b digest of the given message, with optional salt, key and personalization parameters." ([message] (.blake2 (new Hash) message)) ([message & {salt ...
Make sixteen-nuls an actual byte array
Make sixteen-nuls an actual byte array
Clojure
epl-1.0
lvh/caesium
091128ba60280299db28995ea16a618b51b2d7c0
backend/src/circle/init.clj
backend/src/circle/init.clj
(ns circle.init ;; (: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) ) (def init* (delay (try (circle.log...
(ns circle.init (:require circle.swank) (:require circle.db) (:require circle.web) (:require circle.repl) (:require circle.logging)) (def init* (delay (try (circle.logging/init) (circle.swank/init) (circle.db/init) (circle.web/init) (circle.repl/init) (println (java.util.Da...
Remove the heroku hack for swank, start swank unconditionally.
Remove the heroku hack for swank, start swank unconditionally.
Clojure
epl-1.0
circleci/frontend,RayRutjes/frontend,prathamesh-sonpatki/frontend,RayRutjes/frontend,circleci/frontend,circleci/frontend,prathamesh-sonpatki/frontend
991b70833b903b2163dd982a35a432cad835e8d0
site-templates/project.clj
site-templates/project.clj
(defproject gov.nasa.earthdata/cmr-site-templates "0.1.0-SNAPSHOT" :description "Selmer templates for CMR documentation, directory pages, and various static web content" :url "https://github.com/nasa/Common-Metadata-Repository/site-templates" :license { :name "Apache License, Version 2.0" :url "http://www...
(defproject gov.nasa.earthdata/cmr-site-templates "0.1.0-SNAPSHOT" :description "Selmer templates for CMR documentation, directory pages, and various static web content" :url "https://github.com/nasa/Common-Metadata-Repository/site-templates" :license { :name "Apache License, Version 2.0" :url "http://www...
Update site templates to Clojure 1.10.
CMR-5389: Update site templates to Clojure 1.10.
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
df5747675827b336a7afd4133ecc33d73466d2bc
clstreams/test/clstreams/testutil/mockito.clj
clstreams/test/clstreams/testutil/mockito.clj
(ns clstreams.testutil.mockito (:import org.mockito.Mockito)) (defn mock [cls] (Mockito/mock cls)) (defn mock-fn [] (mock clojure.lang.IFn)) (defmacro return-> [mock-obj-expr method-invocation-form return-value-expr] `(let [mock-obj# ~mock-obj-expr] (-> (Mockito/doReturn ~return-value-expr) (.when ...
(ns clstreams.testutil.mockito (:import org.mockito.Mockito)) (defn mock [cls] (Mockito/mock cls)) (defn mock-fn [] (mock clojure.lang.IFn)) (defmacro return-> [mock-obj-expr method-invocation-form return-value-expr] `(let [mock-obj# ~mock-obj-expr] (-> (Mockito/doReturn ~return-value-expr) (.when ...
Add verify functions to Mockito wrapper
Add verify functions to Mockito wrapper
Clojure
apache-2.0
MartinSoto/clojure-streams
f7b87730140c82bfc305ddc97f49443d571c788f
test/flambo/accumulator_test.clj
test/flambo/accumulator_test.clj
(ns flambo.accumulator-test (:use midje.sweet)) (facts "about accumulators" (future-fact "some tests"))
(ns flambo.accumulator-test (:use midje.sweet) (:require [flambo.accumulator :as a] [flambo.conf :as conf] [flambo.api :as f])) (facts "about accumulators" (let [conf (-> (conf/spark-conf) (conf/master "local") (conf/app-name "accumulator-test"))] (f...
Implement basic tests for accumulator api
Implement basic tests for accumulator api
Clojure
epl-1.0
yieldbot/flambo
538a6c17a2eb88614f9793075d26d34bb0d29c97
src/leiningen/ring/server.clj
src/leiningen/ring/server.clj
(ns leiningen.ring.server (:use leiningen.core.eval)) (defn load-namespaces "Create require forms for each of the supplied symbols. This exists because Clojure cannot load and use a new namespace in the same eval form." [& syms] `(require ~@(for [s syms :when s] `'~(if-let [ns (namespace s)] ...
(ns leiningen.ring.server) (defn load-namespaces "Create require forms for each of the supplied symbols. This exists because Clojure cannot load and use a new namespace in the same eval form." [& syms] `(require ~@(for [s syms :when s] `'~(if-let [ns (namespace s)] (symbol ns) ...
Add backwards-compatibility with Leiningen 1.x.
Add backwards-compatibility with Leiningen 1.x.
Clojure
epl-1.0
MichaelBlume/lein-ring
d97a78f9d243a7747987b44b819accf89f6494db
bench/cljam/io/sequence_bench.clj
bench/cljam/io/sequence_bench.clj
(ns cljam.io.sequence-bench (:require [libra.bench :refer :all] [libra.criterium :as c] [cljam.test-common :as tcommon] [cljam.io.sequence :as cseq])) (defbench read-all-sequences-test (are [f opts] (c/quick-bench (with-open [rdr (cseq/reader f)] ...
(ns cljam.io.sequence-bench (:require [libra.bench :refer :all] [libra.criterium :as c] [cljam.test-common :as tcommon] [cljam.io.sequence :as cseq])) (defbench read-all-sequences-test (are [f opts] (c/quick-bench (with-open [rdr (cseq/reader f)] ...
Add benchmarking scripts for sequence readers
Add benchmarking scripts for sequence readers
Clojure
apache-2.0
chrovis/cljam
dde8fb49bc43f3454f7ea475be6766725479958d
src/leiningen/new/chestnut/src/clj/chestnut/styles.clj
src/leiningen/new/chestnut/src/clj/chestnut/styles.clj
(ns {{project-ns}}.styles (:require [garden-reloader.def :refer [defstyles]])) (defstyles style [:h1 {:text-decoration "underline"}])
(ns {{project-ns}}.styles (:require [garden-watcher.def :refer [defstyles]])) (defstyles style [:h1 {:text-decoration "underline"}])
Use correct namespace name for garden-watcher
Use correct namespace name for garden-watcher
Clojure
epl-1.0
plexus/chestnut,plexus/chestnut
ff58079e375c11a4fc3de699a9aa32e2d358d546
test_projects/sample/test/test_nom_nom_nom.clj
test_projects/sample/test/test_nom_nom_nom.clj
(ns test-nom-nom-nom (:use [nom.nom.nom] [clojure.test])) (defn f [x] (.list x)) (deftest should-use-1.1.0-SNAPSHOT (is (= "1.1.0-master-SNAPSHOT" (clojure-version))) (f (java.io.File. "/tmp")))
(ns test-nom-nom-nom (:use [nom.nom.nom] [clojure.test])) (defn f [x] (.list x)) (deftest should-use-1.1.0 (is (= "1.1.0" (clojure-version))) (f (java.io.File. "/tmp")))
Remove clojure snapshot dep from test project.
Remove clojure snapshot dep from test project.
Clojure
epl-1.0
0/leiningen,0/leiningen
3f772f1653835a20488fedbbf3b7fc4d87aef75b
src/advent_2017/day_17.cljc
src/advent_2017/day_17.cljc
(ns advent-2017.day-17) (def input 345) (defn spin [step [current-pos value buffer]] (let [new-pos (inc (mod (+ current-pos step) value))] [new-pos (inc value) (-> (subvec buffer 0 new-pos) (into [value]) (into (subvec buffer new-pos)))])) (defn part-1 [] ...
(ns advent-2017.day-17) (def input 345) (defn spin [step [current-pos value buffer]] (let [new-pos (inc (mod (+ current-pos step) value))] [new-pos (inc value) (-> (subvec buffer 0 new-pos) (into [value]) (into (subvec buffer new-pos)))])) (defn part-1 [] ...
Switch to loop / recur for part 2
Switch to loop / recur for part 2 ClojureScript doesn’t have locals clearing and memory usage can affect perf
Clojure
epl-1.0
mfikes/advent-of-cljs
39ad380c0aea1bce1d2c5bb7b9a60c848fbf1265
src/clopack_native/core.clj
src/clopack_native/core.clj
(ns clopack-native.core) (require '[net.n01se.clojure-jna :as jna]) (defn foo "I don't do a whole lot." [x] (println x "Hello, World!"))
(ns clopack-native.core) (require '[net.n01se.clojure-jna :as jna]) ; Refer to 'clopack_native' as 'cn'. (jna/to-ns cn clopack_native) (defn create-ctx [interface] "Creates a new packet context with the given interface. Returns a packet context on success, nil on errors." (let [handle jna/invoke Integer cn/d...
Define wrapper routines to access native C code
Define wrapper routines to access native C code
Clojure
mit
clopack/clopack-native
f58200cf5ea7dabbf1a70429b14f55b4df72f533
src/leiningen/new/mr_clojure/test_common.clj
src/leiningen/new/mr_clojure/test_common.clj
(ns {{name}}.test-common (:require [cheshire.core :as json] [clojure.string :as str] [environ.core :refer [env]])) (defn url+ [& suffix] (apply str (format (env :service-url) (env :service-port)) suffix)) (defn json-body "Reads the body of the request as json and parses it into a map wit...
(ns {{name}}.test-common (:require [cheshire.core :as json] [clojure.string :as str] [environ.core :refer [env]])) (defn url+ [& suffix] (apply str (format (env :service-url) (env :service-port)) suffix)) (defn json-body "Reads the body of the request as json and parses it into a map wit...
Improve validation of content type in json-body
Improve validation of content type in json-body Custom MIME types should end with +json. Characters following json MIME type should be optional.
Clojure
bsd-3-clause
mixradio/mr-clojure,calumlean/mr-clojure
345160942e9504de8d614d45fa48e4bf20859a41
src/instantetymonline/client.cljs
src/instantetymonline/client.cljs
(ns ^:figwheel-always instantetymonline.client (:require [reagent.core :as r] [instantetymonline.dict :refer [dict]])) (enable-console-print!) (defn etym-lookup [] (let [local (r/atom {:word ""})] ;; not included in render (fn [] ;; render from here (let [word...
(ns ^:figwheel-always instantetymonline.client (:require [reagent.core :as r] [instantetymonline.dict :refer [dict]])) (enable-console-print!) (defn etym-lookup [] (let [local (r/atom {:word ""})] ;; not included in render (fn [] ;; render from here (let [word...
Make design a bit more readable
Make design a bit more readable
Clojure
epl-1.0
oskarth/instantetymonline,oskarth/instantetymonline,oskarth/instantetymonline
e91c6ab630de8a7bb08fab1af3672d64c2be3a47
src/overtone_workspace/layers/lines_layer.clj
src/overtone_workspace/layers/lines_layer.clj
(ns overtone-workspace.layers.lines-layer (:require [quil.core :as q]) (:use [quil-layer.layer])) (def num-of-lines 5) (defn- setup [] {}) (defn- update-state [state] {}) (defn- draw-state [state] (let [r (/ (q/width) num-of-lines) rr (- r)] (q/smooth) (q/color-mode :rgb) (q/background 200...
(ns overtone-workspace.layers.lines-layer (:require [quil.core :as q]) (:use [quil-layer.layer])) (def num-of-lines 5) (defn- setup [] {}) (defn- update-state [state] {}) (defn- draw-state [state] (let [r (/ (q/width) num-of-lines)] (q/smooth) (q/no-stroke) (q/color-mode :hsb) (q/fill (.backgr...
Change not to use q/background
Change not to use q/background
Clojure
epl-1.0
kn1kn1/overtone-workspace,kn1kn1/overtone-workspace,kn1kn1/overtone-workspace,kn1kn1/overtone-workspace,kn1kn1/overtone-workspace
24f7447c839e72cdf2b6ba32e2022639991a683c
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-action {:target "http://example.test"}) (def simple-https-action {:target "https://example.test"}) (def simple-ftp-action {:target "ftp://example.test"}) (deftest Pl...
(ns icecap.schema-test (:require [icecap.schema :refer :all] [clojure.test :refer :all] [schema.core :as s])) (def simple-http-action {:target "http://example.test"}) (def simple-https-action {:target "https://example.test"}) (def simple-ftp-action {:target "ftp://example.test"}) (deftest Pl...
Replace scary comment with issue
Replace scary comment with issue Refs #2.
Clojure
epl-1.0
Hatnik/icecap,lvh/icecap
07fa11da65c3986bafc3501ba8c2ab87392476f3
test/onyx/log/full_test.clj
test/onyx/log/full_test.clj
(ns onyx.log.full-test (:require [clojure.core.async :refer [chan >!! <!! close!]] [com.stuartsierra.component :as component] [onyx.system :refer [onyx-development-env]] [onyx.log.entry :refer [create-log-entry]] [onyx.extensions :as extensions] [onyx.api :a...
(ns onyx.log.full-test (:require [clojure.core.async :refer [chan >!! <!! close!]] [com.stuartsierra.component :as component] [onyx.system :refer [onyx-development-env]] [onyx.log.entry :refer [create-log-entry]] [onyx.extensions :as extensions] [onyx.api :a...
Test for converging 50 peers into the cluster.
Test for converging 50 peers into the cluster.
Clojure
epl-1.0
vijaykiran/onyx,dignati/onyx,ideal-knee/onyx,tomasu82/onyx,mccraigmccraig/onyx,iperdomo/onyx,KevinGreene/onyx,intfrr/onyx,onyx-platform/onyx,Deraen/onyx
d4e1e9feaecdad348f578b9bb877fd6a45acbf98
cortex/src/cortex/optimize/functions.clj
cortex/src/cortex/optimize/functions.clj
(ns cortex.optimize.functions (:refer-clojure :exclude [+ - * /]) (:require [clojure.core.matrix :as m] [clojure.core.matrix.operators :refer [+ - * /]] [cortex.optimize.protocols :as P])) (extend-protocol P/Function clojure.lang.IPersistentMap (value [this params] ((:value this) params...
(ns cortex.optimize.functions (:refer-clojure :exclude [+ - * /]) (:require [clojure.core.matrix :as m] [clojure.core.matrix.operators :refer [+ - * /]] [cortex.optimize.protocols :as P])) (extend-protocol P/Function clojure.lang.IPersistentMap (value [this params] ((:value this) params...
Update nomenclature in cross-paraboloid Function
Update nomenclature in cross-paraboloid Function
Clojure
epl-1.0
thinktopic/cortex,thinktopic/cortex,thinktopic/cortex,thinktopic/cortex
5823704c49701fb15f724ee244f506128e2aaabf
src/discuss/components/sidebar.cljs
src/discuss/components/sidebar.cljs
(ns discuss.components.sidebar "Controlling the sidebar." (:require [om.core :as om] [om.dom :as dom] [discuss.utils.common :as lib] [discuss.utils.views :as vlib])) (def id (lib/prefix-name "sidebar")) (defn toggle "Toggle visibility of sidebar." ([] (let [sidebar-dom (...
(ns discuss.components.sidebar "Controlling the sidebar." (:require [om.core :as om] [om.dom :as dom] [goog.dom :as gdom] [discuss.utils.common :as lib] [discuss.utils.views :as vlib])) (def id (lib/prefix-name "sidebar")) (defn toggle "Toggle visibility of sideba...
Use Google Closure to find dom element
Use Google Closure to find dom element
Clojure
mit
hhucn/discuss,hhucn/discuss
184ec0476a1d02d3afd0e505fa39c6691a62ea79
test/datascript_dom/core_test.clj
test/datascript_dom/core_test.clj
(ns datascript-dom.core-test (:require [clojure.test :refer :all] [datascript-dom.core :refer :all])) (deftest a-test (testing "FIXME, I fail." (is (= 0 1))))
(ns datascript-dom.core-test (:require [clojure.test :refer :all] [datascript-dom.core :refer :all] [pl.danieljanus.tagsoup :as html])) (deftest test-dom->transaction (is (= [{:tag :html, :db/id -1} {:tag :body, :parent -1, :db/id -2} {:tag :p, :parent -2, :db/id -3} ...
Test dom to transaction code
Test dom to transaction code
Clojure
epl-1.0
stathissideris/datascript-dom
118e3bcf11050308c3bab525503e4a3ad87116f9
project.clj
project.clj
(defproject onyx-plugin/lein-template "0.7.0" :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"} :dependencies [] :plugins [[lein-set-version "...
(defproject onyx-plugin/lein-template "0.7.0.0" :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"} :dependencies [] :plugins [[lein-set-version...
Use 4 point versioning so that template version can match Onyx
Use 4 point versioning so that template version can match Onyx
Clojure
epl-1.0
onyx-platform/onyx-plugin
53e698deb8fb0e682a8795b8c544bf6ced7f8ba9
project.clj
project.clj
(defproject org.timmc/heim-logger "0.1.0-SNAPSHOT" :description "FIXME: write description" :url "http://example.com/FIXME" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.8.0"] [cheshire "5.6.3"] ...
(defproject org.timmc/heim-logger "0.1.0-SNAPSHOT" :description "FIXME: write description" :url "http://example.com/FIXME" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.8.0"] [cheshire "5.6.3"] ;; v1 [al...
Add JAXB deps for JDK 11 compat
Add JAXB deps for JDK 11 compat
Clojure
epl-1.0
timmc/heim-logger
a2e5abda5852ee11cf9a33fe8b1e07d7d71959a4
project.clj
project.clj
(defproject jungerer "0.1.1" :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.8.0"] [net.sf.jun...
(defproject jungerer "0.1.2-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.8.0"] [n...
Prepare for next development iteration (0.1.2-SNAPSHOT)
Prepare for next development iteration (0.1.2-SNAPSHOT)
Clojure
bsd-3-clause
totakke/jungerer
d8b597fe29ce9ac9f30f94f9bd1ff9853e0cfeb3
src/test/clojure/clojure/data/xml/test_pprint.clj
src/test/clojure/clojure/data/xml/test_pprint.clj
; Copyright (c) Rich Hickey. All rights reserved. ; The use and distribution terms for this software are covered by the ; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) ; which can be found in the file epl-v10.html at the root of this distribution. ; By using this software in any ...
; Copyright (c) Rich Hickey. All rights reserved. ; The use and distribution terms for this software are covered by the ; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) ; which can be found in the file epl-v10.html at the root of this distribution. ; By using this software in any ...
Fix indentation on a test for JDK 6 and 7
Fix indentation on a test for JDK 6 and 7 JDK 8 includes a newline after the XML declaration, JDK 6 and 7 do not which is causing the build to fail on 6 and 7.
Clojure
epl-1.0
clojure/data.xml,clojure/data.xml
22488fa8fda31df70afdd9d16b92d3b71c124b4e
backend/specs/akvo/lumen/specs.clj
backend/specs/akvo/lumen/specs.clj
(ns akvo.lumen.specs (:require [clojure.spec.alpha :as s] [clojure.spec.gen.alpha :as gen] [akvo.lumen.util :refer (squuid)] [clojure.tools.logging :as log])) (defn keyname [key] (str (namespace key) "/" (name key))) (defn sample-with-gen [s map-gen amount] (map first (s/exerci...
(ns akvo.lumen.specs (:require [clojure.spec.alpha :as s] [clojure.spec.gen.alpha :as gen] [akvo.lumen.util :refer (squuid)] [clojure.tools.logging :as log])) (defn keyname [key] (str (namespace key) "/" (name key))) (defn sample-with-gen [s map-gen amount] (map first (s/exerci...
Add sample-with-filter generator utility spec function
Add sample-with-filter generator utility spec function
Clojure
agpl-3.0
akvo/akvo-dash,akvo/akvo-dash,akvo/akvo-lumen,akvo/akvo-lumen,akvo/akvo-dash
46a5183b8ee12150d05169c5e184a71864dd6536
src/devcards/discuss/add_statements.cljs
src/devcards/discuss/add_statements.cljs
(ns devcards.discuss.add-statements (:require [devcards.core :as dc :refer-macros [defcard defcard-om-next]] [discuss.parser :as parser] [discuss.views :as views] [devcards.discuss.utils :as dutils] [om.next :as om])) (defcard shortcuts dutils/shortcuts) (def sample-a...
(ns devcards.discuss.add-statements (:require [devcards.core :as dc :refer-macros [defcard defcard-om-next]] [discuss.parser :as parser] [discuss.views :as views] [devcards.discuss.utils :as dutils] [om.next :as om] [discuss.utils.common :as lib])) (defcard...
Prepare defcard to add new statements
Prepare defcard to add new statements
Clojure
mit
hhucn/discuss,hhucn/discuss
d7cb8cd93a17f2aab3cd23395e3b10f40b54498f
src/leiningen/new/devcards.clj
src/leiningen/new/devcards.clj
(ns leiningen.new.devcards (:require [leiningen.new.templates :refer [renderer name-to-path ->files]] [leiningen.core.main :as main])) (def render (renderer "devcards")) (defn devcards [name] (let [data {:name name :sanitized (name-to-path name)}] (main/info (str "Generating fresh ...
(ns leiningen.new.devcards (:require [leiningen.new.templates :refer [renderer name-to-path ->files]] [leiningen.core.main :as main])) (def render (renderer "devcards")) (defn devcards [name] (let [data {:name name :sanitized (name-to-path name)}] (main/info (str "Generating fresh ...
Make the URL to cards.html clickable
Make the URL to cards.html clickable Many terminal emulators (such as iTerm) will recognize a URL and let you click it, but only if it includes the scheme.
Clojure
epl-1.0
bhauman/devcards-template
f8b1dbdf88efadbb0adb482b93588d542e6a7c7b
leiningen/.lein/profiles.clj
leiningen/.lein/profiles.clj
{:user {:plugins [[lein-ancient "0.6.10"] [lein-cljfmt "0.5.6"] [lein-kibit "0.1.5" :exclusions [org.clojure/clojure]] [lein-cloverage "1.0.9"]]}}
{:user {:plugins [[lein-ancient "0.6.10"] [lein-cljfmt "0.5.6"] [lein-kibit "0.1.5" :exclusions [org.clojure/clojure]] [lein-cloverage "1.0.9"] [jonase/eastwood "0.2.4"]]}}
Add eastwood to lein profile
Add eastwood to lein profile
Clojure
unlicense
Wolfy87/dotfiles,Olical/dotfiles,Wolfy87/dotfiles
4f4e6a15247b7e88edf2ce2d81b1929534c3ed38
backend/src/circle/init.clj
backend/src/circle/init.clj
(ns circle.init ;; (: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) ) (def init* (delay (try (circle.log...
(ns circle.init ;; (: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 :main true) ) (def init* (dela...
Add :gen-class for main, removing one of two bugs preventing `lein uberjar` from working.
Add :gen-class for main, removing one of two bugs preventing `lein uberjar` from working. The other is that midje requires :skip-aot, which of course prevents jars from being properly generated.
Clojure
epl-1.0
circleci/frontend,RayRutjes/frontend,prathamesh-sonpatki/frontend,circleci/frontend,RayRutjes/frontend,prathamesh-sonpatki/frontend,circleci/frontend
a792674df3060b15d32736389a0756ca2eb635e5
project.clj
project.clj
(defproject mvxcvi/vault "0.3.0-SNAPSHOT" :description "Content-addressable data store." :url "https://github.com/greglook/vault" :license {:name "Public Domain" :url "http://unlicense.org/"} :dependencies [[byte-streams "0.1.10"] [clj-time "0.7.0"] [environ "0.5.0"] [potemkin "0.3.4"] ...
(defproject mvxcvi/vault "0.3.0-SNAPSHOT" :description "Content-addressable data store." :url "https://github.com/greglook/vault" :license {:name "Public Domain" :url "http://unlicense.org/"} :dependencies [[byte-streams "0.1.11"] [clj-time "0.7.0"] [environ "0.5.0"] [potemkin "0.3.4"] ...
Update puget, schema, and byte-streams dependencies.
Update puget, schema, and byte-streams dependencies.
Clojure
unlicense
greglook/vault
39d75644184968aa0c50ea91106f3428bbd8bbc9
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
c45ba459b967323806b54d5433c1e61fca0868a6
project.clj
project.clj
(defproject cli4clj "1.5.0" ;(defproject cli4clj "1.5.1-SNAPSHOT" :description "Create simple interactive CLIs for Clojure applications." :url "https://github.com/ruedigergad/cli4clj" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.cloju...
;(defproject cli4clj "1.5.0" (defproject cli4clj "1.5.1-SNAPSHOT" :description "Create simple interactive CLIs for Clojure applications." :url "https://github.com/ruedigergad/cli4clj" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.cloju...
Revert back to snapshot version.
Revert back to snapshot version.
Clojure
epl-1.0
ruedigergad/cli4clj
8a673c93e913dbfc3cc9f5c0186abbf3e467dd8b
src/bytebuf/bytes.clj
src/bytebuf/bytes.clj
(ns bytebuf.bytes (:import java.util.Arrays java.security.SecureRandom)) (defn random-bytes "Generate a byte array of scpecified length with random bytes taken from secure random number generator. This method should be used for generate a random iv/salt or arbitrary length." ([^long numbytes] ...
(ns bytebuf.bytes (:import java.util.Arrays java.security.SecureRandom)) (defn random-bytes "Generate a byte array of scpecified length with random bytes taken from secure random number generator. This method should be used for generate a random iv/salt or arbitrary length." ([^long numbytes] ...
Add simple function for check byte array equality.
Add simple function for check byte array equality.
Clojure
bsd-2-clause
mbjarland/octet,funcool/octet,mbjarland/octet,funcool/octet
50c74a02c0b660dc2633beeacf13b51693c2d457
examples/juxt.crux.demo/src/juxt/crux/demo/foo.clj
examples/juxt.crux.demo/src/juxt/crux/demo/foo.clj
(ns juxt.crux.demo.foo (:require crux.api [yada.yada :as yada] [integrant.core :as ig])) (def id #uuid "50005565-299f-4c08-86d0-b1919bf4b7a9") (defmethod ig/init-key ::read-write [_ {:keys [system]}] (yada/resource {:id ::read-write :methods {:get {:produces ["text/html" "applica...
(ns juxt.crux.demo.foo (:require crux.api [yada.yada :as yada] [integrant.core :as ig])) (def id #uuid "50005565-299f-4c08-86d0-b1919bf4b7a9") (defmethod ig/init-key ::read-write [_ {:keys [system]}] (yada/resource {:id ::read-write :methods {:get {:produces ["text/html" "applica...
Update crux example app with new put api
Update crux example app with new put api
Clojure
mit
juxt/edge,juxt/edge
f73353e7d9e098c35f57a77c09889415a1b2a61b
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 defroutes]] [compojure.route :refer [not-found resources]] [ring.middleware.defaults :refer [site-defaults wrap-defaults]] [selmer.parser :refer [render-file...
Add route for querying card master
Add route for querying card master
Clojure
epl-1.0
Pance/decktouch,Pance/decktouch
631610ea27db08e125d40eae0c9273561f32fff8
project.clj
project.clj
(defproject get-here "0.1.0-SNAPSHOT" :dependencies [[org.clojure/clojure "1.5.1"] [org.clojure/data.csv "0.1.2"] [clj-time "0.7.0"] [aysylu/loom "0.4.2"] [ring "1.3.0"] [ring/ring-jetty-adapter "1.3.0"] [ring/ring-j...
(defproject get-here "0.1.0-SNAPSHOT" :dependencies [[org.clojure/clojure "1.6.0"] [org.clojure/data.csv "0.1.2"] [clj-time "0.7.0"] [aysylu/loom "0.4.2"] [ring "1.3.0"] [ring/ring-jetty-adapter "1.3.0"] [ring/ring-j...
Rename jars, upgrade to Clojure 1.6
Rename jars, upgrade to Clojure 1.6
Clojure
mit
lemongrabs/get-here,lemongrabs/get-here
02d4e301623c0e54313a792487d40a4949d93588
project.clj
project.clj
(defproject dungeon-crusade "0.0.1-SNAPSHOT" :description "dungeon-crusade" :plugins [[lein-marginalia "0.7.1"] [lein-kibit "0.0.8"]] :dependencies [[org.clojure/clojure "1.6.0"] [org.clojure/core.async "0.1.303.0-886421-alpha"] [org.clojure/tools.reader "0....
(defproject dungeon-crusade "0.0.1-SNAPSHOT" :description "dungeon-crusade" :plugins [[lein-marginalia "0.7.1"] [lein-kibit "0.0.8"]] :dependencies [[org.clojure/clojure "1.6.0"] [org.clojure/core.async "0.1.303.0-886421-alpha"] [org.clojure/tools.reader "0....
Stop using custom clisk snapshot. 0.10.0 includes required changes
Stop using custom clisk snapshot. 0.10.0 includes required changes
Clojure
mpl-2.0
aaron-santos/robinson,aaron-santos/robinson
2093b3deaad14861e60e0f660b6fae35258c5b84
project.clj
project.clj
(defproject compojure "1.5.1" :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/tools....
(defproject compojure "1.5.1" :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/tools....
Update Ring version to 1.5.1
Update Ring version to 1.5.1 Fixes path traversal vulnerability in route/resources.
Clojure
epl-1.0
weavejester/compojure
ff387df829fd8cfa0725d5a659b4035569df89bb
project.clj
project.clj
(defproject org.onyxplatform/onyx-metrics "0.7.2.1-SNAPSHOT" :description "Instrument Onyx workflows" :url "https://github.com/MichaelDrogalis/onyx" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.6.0"] ...
(defproject org.onyxplatform/onyx-metrics "0.7.2.1-SNAPSHOT" :description "Instrument Onyx workflows" :url "https://github.com/MichaelDrogalis/onyx" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.7.0"] ...
Switch dependencies to dev dependencies
Switch dependencies to dev dependencies
Clojure
epl-1.0
onyx-platform/onyx-metrics
d570ab3333d48cbe441e0eba1faa19de7dce8df7
project.clj
project.clj
;;;; This file is part of algebolic. Copyright (C) 2014-, Jony Hudson. ;;;; ;;;; algebolic is licenced to you under the MIT licence. See the file LICENCE.txt for full details. (defproject algebolic "0.1.0-SNAPSHOT" :description "A library for doing symbolic regression with algebraic manipulation." :license {:name ...
;;;; This file is part of algebolic. Copyright (C) 2014-, Jony Hudson. ;;;; ;;;; algebolic is licenced to you under the MIT licence. See the file LICENCE.txt for full details. (defproject algebolic "0.1.0-SNAPSHOT" :description "A library for doing symbolic regression with algebraic manipulation." :license {:name ...
Add dependencies for last commit :-(
Add dependencies for last commit :-(
Clojure
mit
JonyEpsilon/algebolic
70ec8429fcf3404c2362405a5bb02ba061396f40
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"...
Bump up bukkit dependency version.
Bump up bukkit dependency version.
Clojure
epl-1.0
SevereOverfl0w/bukkure,SevereOverfl0w/bukkure
1fe9f477a6ff950787b8814ab40af8dafc68bca8
project.clj
project.clj
(defproject frereth-common "0.0.1-SNAPSHOT" :description "Pieces that the different Frereth parts share" :url "http://example.com/FIXME" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} ;; TODO: Could I totally pull datomic dependencies out of everything els...
(defproject frereth-common "0.0.1-SNAPSHOT" :description "Pieces that the different Frereth parts share" :url "http://example.com/FIXME" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} ;; TODO: Could I totally pull datomic dependencies out of everything els...
Fix up conflicts in the renderer
Fix up conflicts in the renderer
Clojure
epl-1.0
jimrthy/frereth-cp,jimrthy/frereth-cp,jimrthy/frereth-cp,jimrthy/frereth-common
172b3da26be1b6e6c39ce91ab3019c73fa6dcf58
src/main/clojure/lazytest/group.clj
src/main/clojure/lazytest/group.clj
(ns lazytest.group (:use [lazytest.testable :only (Testable get-tests)] [lazytest.runnable-test :only (RunnableTest run-tests skip-or-pending try-expectations runnable-test?)] [lazytest.fixture :only (setup teardown fixture?)] [lazytest.test-result :only (result-group)])...
(ns lazytest.group (:use [lazytest.testable :only (Testable get-tests)] [lazytest.runnable-test :only (RunnableTest run-tests skip-or-pending try-expectations runnable-test?)] [lazytest.fixture :only (setup teardown fixture?)] [lazytest.test-result :only (result-group)])...
Support metadata in TestCase and TestGroup constructors
Support metadata in TestCase and TestGroup constructors
Clojure
epl-1.0
stuartsierra/lazytest
a7a1749d7b1a07ae721712efb06fd81bbc7784da
src/cljs/pfrt_js/templates.cljs
src/cljs/pfrt_js/templates.cljs
(ns pfrt-js.templates (:require [crate.core :refer [html]] [domina :refer [log]] [clojure.string :as str])) (defn- hostname->domid "Convert host name to valid dom identifier." [host] (str "host" (str/join (str/split host #"\.")))) (defn host-entry [host data] (let [downloaded ...
(ns pfrt-js.templates (:require [crate.core :refer [html]] [domina :refer [log]] [clojure.string :as str])) (defn- hostname->domid "Convert host name to valid dom identifier." [host] (str "host" (str/join (str/split host #"\.")))) (defn host-entry [host data] (let [{:strs [in out...
Add :strs destructig (thanks to @dialelo suggestion)
Add :strs destructig (thanks to @dialelo suggestion)
Clojure
epl-1.0
niwinz/pf-stats-api,niwinz/pf-stats-api
eec9fd7c0f9ff6c1238f5387f6442ba1f6d5cfff
hyde-pallet-core/project.clj
hyde-pallet-core/project.clj
(defproject com.palletops/hyde-pallet "0.1.0-SNAPSHOT" :description "Site generation for clojure projects" :url "https://github.com/paleltops/hyde-pallet" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :plugins [[lein-modules "0.3.1"]] :dependencies [[or...
(defproject com.palletops/hyde-pallet "0.1.0-SNAPSHOT" :description "Site generation for clojure projects" :url "https://github.com/paleltops/hyde-pallet" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :plugins [[lein-modules "0.3.1"]] :dependencies [[or...
Update dep to hyde 1.1-SNAPSHOT
Update dep to hyde 1.1-SNAPSHOT
Clojure
epl-1.0
palletops/hyde-pallet,palletops/hyde-pallet
9d6632e91caf538b8eaf5d4943e7a66a4c953392
project-template/project.clj
project-template/project.clj
(defproject sketch "0.1.0-SNAPSHOT" :description "A template for a sketch with Quil/Processing" :dependencies [[org.clojure/clojure "1.10.1"] [genartlib/genartlib "0.1.20"] ; utility functions [com.seisw/gpcj "2.2.0"]] ; polygon clipping :jvm-opts ["-Xms4000m" "-Xmx4000M" "-serve...
(defproject sketch "0.1.0-SNAPSHOT" :description "A template for a sketch with Quil/Processing" :dependencies [[org.clojure/clojure "1.10.1"] [genartlib/genartlib "0.1.20"] ; utility functions [com.seisw/gpcj "2.2.0"]] ; polygon clipping :jvm-opts ["-Xms4000m" "-Xmx4000M" ; 4GB h...
Make it easy to scale display for high DPI
Make it easy to scale display for high DPI
Clojure
mit
thobbs/genartlib
4b894e9ef670be2a8131740ae72bc27597d0d6c6
src/apio/concurrency/core.clj
src/apio/concurrency/core.clj
(ns apio.concurrency.core (import (java.util.concurrent ForkJoinPool))) ;; TODO: initialize forkjoin pool in dynamic context ;; using dynamic loaded configuration. (def *thread-pool* (ForkJoinPool.))
(ns apio.concurrency.core (import (java.util.concurrent Executors))) ;; TODO: initialize forkjoin pool in dynamic context ;; using dynamic loaded configuration. (defn num-processes [] (.availableProcessors Runtime/getRuntime)) (def *thread-pool* (Executors/newFixedThreadPool (* (num-processes) 2)))
Replace forkjoin with standard fixed thread pool.
Replace forkjoin with standard fixed thread pool.
Clojure
apache-2.0
niwinz/apio.clj
85382660275536818f532e8eb5308c1695d1b696
src/adzerk/boot_cljs/util.clj
src/adzerk/boot_cljs/util.clj
(ns adzerk.boot-cljs.util (:require [boot.core :as core] [clojure.java.io :as io] [clojure.string :as string])) (defn path->js "Given a path to a CLJS namespace source file, returns the corresponding Google Closure namespace name for goog.provide() or goog.require()." [path] (-> path ...
(ns adzerk.boot-cljs.util (:require [boot.core :as core] [clojure.java.io :as io] [clojure.string :as string])) (defn path->js "Given a path to a CLJS namespace source file, returns the corresponding Google Closure namespace name for goog.provide() or goog.require()." [path] (-> path ...
Fix case where docroot is nil
Fix case where docroot is nil
Clojure
epl-1.0
flyboarder/boot-cljs,boot-clj/boot-cljs,crisptrutski/boot-cljs,jaen/boot-cljs,adzerk-oss/boot-cljs
983dcc32994ef38c03534cf2d73b7997042c1de0
project.clj
project.clj
(defproject angelic "1.0.0-SNAPSHOT" :description "Angelic hierarchical planning" :dependencies [[org.clojure/clojure "1.2.0"] [org.clojure/clojure-contrib "1.2.0"] ; [org.clojars.robertpfeiffer/vijual "0.1.0-SNAPSHOT"] [org.swinglabs/pdf-renderer "1.0.5"] ...
(defproject angelic "1.0.0-SNAPSHOT" :description "Angelic hierarchical planning" :dependencies [[org.clojure/clojure "1.2.0"] [org.clojure/clojure-contrib "1.2.0"] ; [org.clojars.robertpfeiffer/vijual "0.1.0-SNAPSHOT"] [org.swinglabs/pdf-renderer "1.0.5"] ...
Add dev dep on swank-clj
Add dev dep on swank-clj
Clojure
bsd-3-clause
w01fe/angelic-hierarchical-planning
fae604b31f3be0414f63662e47fa16c354100f39
src/status_im/ui/screens/profile/group_chat/styles.cljs
src/status_im/ui/screens/profile/group_chat/styles.cljs
(ns status-im.ui.screens.profile.group-chat.styles (:require [status-im.ui.components.colors :as colors])) (def action-container {:background-color colors/white :padding-top 24}) (def action {:background-color (colors/alpha colors/blue 0.1) :border-radius 50}) (def action-label {:color colors/b...
(ns status-im.ui.screens.profile.group-chat.styles (:require [status-im.ui.components.colors :as colors])) (def action-container {:background-color colors/white :padding-top 24}) (def action {:background-color (colors/alpha colors/blue 0.1) :border-radius 50}) ; Action label style is expected to ...
Fix group chat info labels
Fix group chat info labels Signed-off-by: Andrey Shovkoplyas <b713972e59b8e606e23253c4a13e948139fea4d1@gmail.com>
Clojure
mpl-2.0
status-im/status-react,status-im/status-react,status-im/status-react,status-im/status-react,status-im/status-react,status-im/status-react,status-im/status-react,status-im/status-react
c1dc53a8f25952ad0f24f096d47f6f46ca7d9f07
test/transit/corner_cases.clj
test/transit/corner_cases.clj
(ns transit.corner-cases) (def forms [nil true false :a :foo 'f 'foo (java.util.Date.) 1/3 \t "f" "foo" "~foo" [] '() #{} [1 24 3] `(7 23 5) {:foo :bar} #{:a :b :c} #{true false} 0 42 8987676543234565432178765987645654323456554331234566789 {fals...
(ns transit.corner-cases) (def forms [nil true false :a :foo 'f 'foo (java.util.Date.) 1/3 \t "f" "foo" "~foo" [] '() #{} [1 24 3] `(7 23 5) {:foo :bar} #{:a :b :c} #{true false} 0 42 8987676543234565432178765987645654323456554331234566789 {fals...
Add corner case found in generative tests
Add corner case found in generative tests
Clojure
apache-2.0
alexanderkiel/transit-clj,borovsky/transit-clj,jdunruh/transit-clj,cognitect/transit-clj
2b651ba0342c37d5cb51a0574925bd4fad64c0a1
test/ontrail/test/crypto.clj
test/ontrail/test/crypto.clj
(ns ontrail.test.crypto (:use [ontrail.crypto]) (:use [clojure.test])) (deftest hash-properly (is (com.lambdaworks.crypto.SCryptUtil/check "keijo" (password-hash "keijo")))) (deftest match-properly (is (password-match? "keijo" (com.lambdaworks.crypto.SCryptUtil/scrypt "keijo" 16384 8 1)))) (deftest base64-de...
(ns ontrail.test.crypto (:use [ontrail.crypto]) (:use [clojure.test])) (deftest hash-properly (is (com.lambdaworks.crypto.SCryptUtil/check "keijo" (password-hash "keijo")))) (deftest match-properly (is (password-match? "keijo" (com.lambdaworks.crypto.SCryptUtil/scrypt "keijo" 16384 8 1)))) (deftest not-match...
Add test for false case also
Add test for false case also
Clojure
mit
jrosti/ontrail,jrosti/ontrail,jrosti/ontrail,jrosti/ontrail,jrosti/ontrail
ca975f95d88588b384cabe3893214d9e2ea02453
lein-swank/project.clj
lein-swank/project.clj
(defproject leiningen/lein-swank "1.1.0" :description "A leiningen plugin to launch a swank server." :dependencies [[swank-clojure "1.1.0"] [org.apache.maven/maven-ant-tasks "2.0.10"]])
(defproject leiningen/lein-swank "1.2.0-SNAPSHOT" :description "A leiningen plugin to launch a swank server." :dependencies [[swank-clojure "1.2.0-break-SNAPSHOT"] [ant/ant "1.6.5"] [ant/ant-launcher "1.6.5"] [org.apache.maven/maven-ant-tasks "2.0.10"]])
Update lein-swank version and deps.
Update lein-swank version and deps.
Clojure
epl-1.0
0/leiningen,0/leiningen
d44845a49a06be31a4bfa9a85bbf2944b599452d
sample-app/project.clj
sample-app/project.clj
(defproject cljs-browser "0.0.1-SNAPSHOT" :description "" :dependencies [[org.clojure/clojure "1.4.0-beta4"] [org.clojure/clojurescript "0.0-993"] [ring "1.0.0-RC1"] [compojure "0.6.4"] [enlive "1.0.0"]] :repl-init one.sample.repl :source-path ...
(defproject cljs-browser "0.0.1-SNAPSHOT" :description "" :dependencies [[org.clojure/clojure "1.4.0-beta4"] [org.clojure/clojurescript "0.0-1236"] [ring "1.0.0-RC1"] [compojure "0.6.4"] [enlive "1.0.0"]] :repl-init one.sample.repl :source-path...
Update to ClojureScript release 0.0-1236
Update to ClojureScript release 0.0-1236
Clojure
epl-1.0
stuartsierra/cljs-formatter
747fabb113a5687140671cf77f6f55f44bbcab31
backend/src/circle/backend/nodes/circle_artifact.clj
backend/src/circle/backend/nodes/circle_artifact.clj
(ns circle.backend.nodes.circle-artifact (:require pallet.core pallet.phase [pallet.action.user :as user] [pallet.action.directory :as directory] [pallet.action.package :as package] [pallet.crate.java :as java] [pallet.action.remote-file :as remote-file] [pallet.action.service :as service] ...
(ns circle.backend.nodes.circle-artifact (:require pallet.core pallet.phase [pallet.action.user :as user] [pallet.action.directory :as directory] [pallet.action.package :as package] [pallet.crate.java :as java] [pallet.action.remote-file :as remote-file] [pallet.action.service :as service] ...
Add utils for working w/ artifacts DNS
Add utils for working w/ artifacts DNS
Clojure
epl-1.0
RayRutjes/frontend,prathamesh-sonpatki/frontend,RayRutjes/frontend,circleci/frontend,prathamesh-sonpatki/frontend,circleci/frontend,circleci/frontend
9e429bc09f087ec5409b97b6e139d978cbd138c6
src/desdemona/launcher/launch_prod_peers.clj
src/desdemona/launcher/launch_prod_peers.clj
(ns desdemona.launcher.launch-prod-peers (:require [desdemona.launcher.utils :as utils] [taoensso.timbre :as t] [onyx.plugin.kafka] [onyx.plugin.sql] [onyx.plugin.core-async] [onyx.plugin.seq] [desdemona.functions.sample-functions] [d...
(ns desdemona.launcher.launch-prod-peers (:require [desdemona.launcher.utils :as utils] [taoensso.timbre :as t] [onyx.plugin.kafka] [onyx.plugin.sql] [onyx.plugin.core-async] [onyx.plugin.seq] [desdemona.functions.sample-functions] [d...
Clarify that env isn't used
Clarify that env isn't used
Clojure
epl-1.0
RackSec/desdemona
86c29856240269087d114f440db1d0733b013e77
jvm-runner/test/codewars/runners/groovy_test.clj
jvm-runner/test/codewars/runners/groovy_test.clj
(ns codewars.runners.groovy-test (:require [clojure.test :refer :all] [clojure.test.junit :refer [with-junit-output]] [cheshire.core :as json] [codewars.core :refer [-main] :as core] [codewars.utils :refer [with-java-out-str]] ) (deftest groovy-code-only (testing "...
(ns codewars.runners.groovy-test (:require [clojure.test :refer :all] [cheshire.core :as json] [codewars.core :refer [-main] :as core] [codewars.utils :refer [with-java-out-str]])) (deftest groovy-code-only (testing "-main can handle a groovy code with no fixture" (with-in-s...
Revert "downgrade groovy runner version"
Revert "downgrade groovy runner version"
Clojure
unknown
DonaldKellett/codewars-runner-cli,Codewars/codewars-runner,OverZealous/codewars-runner-cli,Codewars/codewars-runner-cli,Codewars/codewars-runner-cli,OverZealous/codewars-runner-cli,Codewars/codewars-runner-cli,Codewars/codewars-runner,Codewars/codewars-runner-cli,DonaldKellett/codewars-runner-cli,OverZealous/codewars-r...
78f466c844513d45fcdff566260f864e530b7607
src/clj/herder/web/handler.clj
src/clj/herder/web/handler.clj
(ns herder.web.handler (:require [compojure.route :as route] [compojure.core :refer [defroutes GET POST PUT context] :as compojure] [ring.middleware.defaults :refer [wrap-defaults api-defaults]] [ring.util.response :refer [file-response content-type]] [ring.middleware.json :refer [wrap-json-response]] ...
(ns herder.web.handler (:require [compojure.route :as route] [compojure.core :refer [defroutes GET POST PUT context] :as compojure] [ring.middleware.defaults :refer [wrap-defaults api-defaults]] [ring.util.response :refer [file-response content-type]] [ring.middleware.json :refer [wrap-json-response]] ...
Make db connection actually work each time
Make db connection actually work each time
Clojure
agpl-3.0
palfrey/herder,palfrey/herder
05b51c6276f9087c990766acd92ce62f3c3a2030
clojure/koans/src/koans/09_runtime_polymorphism.clj
clojure/koans/src/koans/09_runtime_polymorphism.clj
(defn hello ([] "Hello World!") ([a] (str "Hello, you silly " a ".")) ([a & more] (str "Hello to this group: " (apply str (interpose ", " (concat (list a) more))) "!"))) (defmulti diet (fn [x] (:eater x))) (defmethod diet :herbivore [a] __) (defmeth...
(defn hello ([] "Hello World!") ([a] (str "Hello, you silly " a ".")) ([a & more] (str "Hello to this group: " (apply str (interpose ", " (concat (list a) more))) "!"))) (defmulti diet (fn [x] (:eater x))) (defmethod diet :herbivore [a] (str (:name ...
Complete runtime polymorphism koans test
Complete runtime polymorphism koans test
Clojure
mit
darkrodry/3languages2months,darkrodry/3languages2months,darkrodry/3languages2months,darkrodry/3languages2months
330c620c3ddfb6ba0b2741647e0a92d236b78017
examples/single-file/main.clj
examples/single-file/main.clj
#!/usr/bin/env boot (set-env! :dependencies '[[org.clojure/clojure "1.7.0-RC1" :scope "provided"] [funcool/catacumba "0.2.0-SNAPSHOT"]]) (require '[catacumba.core :as ct]) (defn home-page [content] "Hello world") (def app (ct/routes [[:get home-page]])) (defn -main "The main entry point to...
#!/usr/bin/env boot (set-env! :dependencies '[[org.clojure/clojure "1.7.0-RC1"] [funcool/catacumba "0.2.0"]]) (require '[catacumba.core :as ct]) (defn home-page [content] "Hello world") (def app (ct/routes [[:get home-page]])) (defn -main "The main entry point to your application." [& ar...
Update catacumba version on single-file example.
Update catacumba version on single-file example.
Clojure
bsd-2-clause
prepor/catacumba,funcool/catacumba,coopsource/catacumba,prepor/catacumba,funcool/catacumba,funcool/catacumba,mitchelkuijpers/catacumba,coopsource/catacumba,mitchelkuijpers/catacumba
ab12155cc0be812d2d38a8b6b6a64dcbe355aca1
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 user.clj if present on classpath
Load user.clj if present on classpath
Clojure
mit
kotarak/vimclojure,emezeske/vimclojure,jgrocho/vimclojure,kotarak/vimclojure,emezeske/vimclojure,jgrocho/vimclojure,emezeske/vimclojure,kotarak/vimclojure,jgrocho/vimclojure
8ff3fe196422e3d9cb7405cb4915b034eb1ad613
src/clj/new_website/server.clj
src/clj/new_website/server.clj
(ns new-website.server (:require [clojure.java.io :as io] [compojure.core :refer [ANY GET PUT POST DELETE defroutes]] [compojure.route :refer [resources]] [ring.middleware.defaults :refer [wrap-defaults site-defaults]] [ring.middleware.gzip :refer [wrap-gzip]] ...
(ns new-website.server (:require [clojure.java.io :as io] [compojure.core :refer [ANY GET PUT POST DELETE defroutes routes]] [compojure.route :refer [resources]] [ring.middleware.defaults :refer [wrap-defaults site-defaults]] [ring.middleware.gzip :refer [wrap-gzip]] ...
Add routes for Trello to available ones
Add routes for Trello to available ones
Clojure
mit
chstan/personal-website,chstan/personal-website,chstan/personal-website,chstan/personal-website
a706a8b6fe8a706022247d52a5d131160442723d
src/leiningen/pallet_release/github.clj
src/leiningen/pallet_release/github.clj
(ns leiningen.pallet-release.github "Github interaction" (:require [com.palletops.leinout.github :as github] [leiningen.core.eval :as eval] [tentacles.orgs :as orgs])) (defn auth-builder "Ensure the build-automation team is authorised on the repository." [url token] (let [{:keys [login name] :as rep...
(ns leiningen.pallet-release.github "Github interaction" (:require [com.palletops.leinout.github :as github] [leiningen.core.eval :as eval] [tentacles.orgs :as orgs])) (defn auth-builder "Ensure the build-automation team is authorised on the repository." [url token] (let [{:keys [login name] :as rep...
Fix bug in init from leinout refactoring
Fix bug in init from leinout refactoring
Clojure
epl-1.0
palletops/lein-pallet-release
111b6d228eb731b1bc5892503feec64deec3044a
src/tryclojure/models/eval.clj
src/tryclojure/models/eval.clj
(ns tryclojure.models.eval (:require [clojail.testers :refer [secure-tester-without-def]] [clojail.core :refer [sandbox]] [clojure.stacktrace :refer [root-cause]] [noir.session :as session]) (:use [clojure.pprint]) (:use [isla.parser]) (:use [isla.interpreter]) (:require [...
(ns tryclojure.models.eval (:require [clojail.testers :refer [secure-tester-without-def]] [clojail.core :refer [sandbox]] [clojure.stacktrace :refer [root-cause]] [noir.session :as session]) (:use [clojure.pprint]) (:use [isla.parser]) (:use [isla.interpreter]) (:require [...
Update tryisla repl to use new env data structure.
Update tryisla repl to use new env data structure.
Clojure
mit
maryrosecook/islaclj
d229de9dd5a3a8c9deb631e8c3861e006c61f564
library/project.clj
library/project.clj
(defproject doo "0.1.6-SNAPSHOT" :description "doo is a library to run clj.test on different js environments." :url "https://github.com/bensu/doo" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :scm {:name "git" :url "https://github.com/bensu/doo"...
(defproject doo "0.1.6-SNAPSHOT" :description "doo is a library to run clj.test on different js environments." :url "https://github.com/bensu/doo" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :scm {:name "git" :url "https://github.com/bensu/doo"...
Remove cljs dependency from doo
Remove cljs dependency from doo
Clojure
epl-1.0
nervous-systems/doo,DeLaGuardo/doo,DeLaGuardo/doo,bensu/doo,nervous-systems/doo,bensu/doo
6d8f797a8006bd63c8d96a67b9da3b9f5fcda837
exercises/luhn/src/example.clj
exercises/luhn/src/example.clj
(ns luhn (:require [clojure.string :as string])) (defn to-reversed-digits "returns a lazy sequence of least to most significant digits of n" [n] (->> [n 0] (iterate (fn [[i _]] [(quot i 10) (mod i 10)])) (take-while (complement #{[0 0]})) (map second) rest)) (defn checksum "retur...
(ns luhn (:require [clojure.string :as string])) (defn to-reversed-digits "returns a lazy sequence of least to most significant digits of n" [n] (->> [n 0] (iterate (fn [[i _]] [(quot i 10) (mod i 10)])) (take-while (complement #{[0 0]})) (map second) rest)) (defn checksum "retur...
Remove unused function from luhn exercise
Remove unused function from luhn exercise
Clojure
mit
exercism/xclojure,querenker/xclojure,exercism/xclojure,querenker/xclojure
7235d9bc9e964f0ebcae26740e53d2d65a1906a9
src/clj/clj_templates/handler.clj
src/clj/clj_templates/handler.clj
(ns clj-templates.handler (:require [compojure.core :refer [GET routes]] [compojure.route :refer [resources]] [ring.util.response :refer [resource-response]] [ring.logger.timbre :refer [wrap-with-logger]] [ring.middleware.defaults :refer [site-defaults wrap-defaults]] ...
(ns clj-templates.handler (:require [compojure.core :refer [GET routes]] [compojure.route :refer [resources]] [ring.util.response :refer [resource-response response]] [ring.logger.timbre :refer [wrap-with-logger]] [ring.middleware.defaults :refer [site-defaults wrap-def...
Add endpoint that returns all templates as transit
Add endpoint that returns all templates as transit
Clojure
epl-1.0
Dexterminator/clj-templates,Dexterminator/clj-templates
f7c454144e6ff3ff76a68a016374106d3f27dd71
lein/.lein/profiles.clj
lein/.lein/profiles.clj
{:user { :plugins [[cider/cider-nrepl "0.11.0-SNAPSHOT"]] :dependencies [[com.datomic/datomic-free "0.9.5350"] [me.raynes/fs "1.4.6"]] }}
{:user { :plugins [[cider/cider-nrepl "0.11.0-SNAPSHOT"] [jonase/eastwood "0.2.3"] [lein-kibit "0.1.2"] [lein-typed "0.3.5"] ] :dependencies [[org.clojure/clojure "1.8.0"] [com.datomic/datomic-free "0.9.5350"]...
Update lein profile to include flycheck-clojoure deps.
Update lein profile to include flycheck-clojoure deps.
Clojure
bsd-2-clause
mgrbyte/dot-files,mgrbyte/dot-files,mgrbyte/dot-files
f4dd7718192365c4d318685e6878b53599517f80
src/clj/comic_reader/scrape.clj
src/clj/comic_reader/scrape.clj
(ns comic-reader.scrape (:require [clojure.string :as s] [clojure.java.io :as io] [clj-http.client :as client] [tempfile.core :refer [tempfile with-tempfile]] [net.cgrand.enlive-html :as html]) (:import java.net.URL)) (defn fetch-url [url] (with-tempfile [html-file...
(ns comic-reader.scrape (:require [clojure.string :as s] [clojure.java.io :as io] [clj-http.client :as client] [tempfile.core :refer [tempfile with-tempfile]] [net.cgrand.enlive-html :as html]) (:import java.net.URL)) (defn fetch-url [url] (with-tempfile [html-file...
Use keep instead of map+filter-ident
Use keep instead of map+filter-ident
Clojure
epl-1.0
RadicalZephyr/comic-reader,RadicalZephyr/comic-reader
073cb5c5d8f32efeb468f4a36b6466ce95d5c39a
project/analyze-data/test/analyze_data/tf_idf/words_test.clj
project/analyze-data/test/analyze_data/tf_idf/words_test.clj
(ns analyze-data.tf-idf.words-test (:require [clojure.test :refer [deftest is]] [analyze-data.tf-idf.words :as test-ns])) (deftest to-words-test (is (= ["hello" "world"] (test-ns/to-words "hello world")) "separates two words") (is (= ["hello" "world"] (test-ns/to-words "Hello ...
(ns analyze-data.tf-idf.words-test (:require [clojure.test :refer [deftest is]] [analyze-data.tf-idf.words :as test-ns])) (deftest to-words-test (is (= ["hello" "world"] (test-ns/to-words "hello world")) "separates two words") (is (= ["hello" "world"] (test-ns/to-words "Hello ...
Add test for splitting words on newlines.
Add test for splitting words on newlines.
Clojure
mit
dylanfprice/stanfordml,dylanfprice/stanfordml
2be52e0a7bbf35b48fafe062e370e1fd4f624856
src/circleci/db/migrations.clj
src/circleci/db/migrations.clj
(ns circleci.db.migrations (:use [circleci.db :only (with-conn)]) (:use [circleci.db.migration-lib :only (defmigration run-required-migrations reset-migration-state)]) (:require [clojure.java.jdbc :as jdbc])) (def migration-info (circleci.db.migration-lib/migration-info (.getName *ns*))) (defn init [] (with-c...
(ns circleci.db.migrations (:use [circleci.db :only (with-conn)]) (:use [circleci.db.migration-lib :only (defmigration run-required-migrations reset-migration-state)]) (:require [clojure.java.jdbc :as jdbc]) (use (clojure.contrib [string :only (as-str)]))) (def migration-info (circleci.db.migration-lib/migrati...
Add alter-table and migrate beta-notify with a checkbox.
Add alter-table and migrate beta-notify with a checkbox.
Clojure
epl-1.0
circleci/frontend,circleci/frontend,RayRutjes/frontend,circleci/frontend,prathamesh-sonpatki/frontend,RayRutjes/frontend,prathamesh-sonpatki/frontend
4193afab6bc986d0d445fef3894987a47e62f87e
project.clj
project.clj
(defproject com.stuartsierra/component "0.2.1" :description "Managed lifecycle of stateful objects" :url "https://github.com/stuartsierra/component" :license {:name "The MIT License" :url "http://opensource.org/licenses/MIT"} :min-lein-version "2.1.3" ; added :global-vars :dependencies [[com.stua...
(defproject com.stuartsierra/component "0.2.2-SNAPSHOT" :description "Managed lifecycle of stateful objects" :url "https://github.com/stuartsierra/component" :license {:name "The MIT License" :url "http://opensource.org/licenses/MIT"} :min-lein-version "2.1.3" ; added :global-vars :dependencies [...
Set development version to 0.2.2-SNAPSHOT
Set development version to 0.2.2-SNAPSHOT
Clojure
mit
quile/component-cljs,GetContented/component
8b0bc29b8976f123bb1eeeffbbec00f755daa221
project.clj
project.clj
(defproject onyx-app/lein-template "0.9.10.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.10.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
b0a7f02d18ec58b12d979d2cbe1493d16f737179
project.clj
project.clj
(defproject strava-activity-graphs "0.1.0-SNAPSHOT" :description "Generate statistical charts for Strava activities" :url "https://github.com/nicokosi/strava-activity-graphs" :license {:name "Creative Commons Attribution 4.0" :url "https://creativecommons.org/licenses/by/4.0/"} :dependencies [[org....
(defproject strava-activity-graphs "0.1.0-SNAPSHOT" :description "Generate statistical charts for Strava activities" :url "https://github.com/nicokosi/strava-activity-graphs" :license {:name "Creative Commons Attribution 4.0" :url "https://creativecommons.org/licenses/by/4.0/"} :dependencies [[org....
Update dependency clj-http:clj-http to v3.10.2
Update dependency clj-http:clj-http to v3.10.2
Clojure
unlicense
nicokosi/strava-activity-graphs