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 |
|---|---|---|---|---|---|---|---|---|---|
43a80c5e3176532df10be7f63c5be93e151516f6 | src/cljs/cglossa/core.cljs | src/cljs/cglossa/core.cljs | (ns cglossa.core
(:require [reagent.core :as reagent :refer [atom]]
[plumbing.core :as plumbing :refer [map-vals]]
[cglossa.centre :as centre]))
(def state {:showing-results false})
(def data {:categories ["ku" "hest"]
:users ["per" "kari"]})
(defonce app-state (into {} (map... | (ns cglossa.core
(:require [reagent.core :as reagent :refer [atom]]
[plumbing.core :as plumbing :refer [map-vals]]
[cglossa.centre :as centre]))
(def state {:showing-results false})
; avoid "not resolved" messages in Cursive
(declare getElementById)
(def data {:categories ["ku" "hest"]
... | Declare symbols that Cursive cannot resolve | Declare symbols that Cursive cannot resolve
| Clojure | mit | textlab/glossa,textlab/glossa,textlab/glossa,textlab/glossa,textlab/glossa |
37c9613ad536ff634c5793dc1bf53acedb40a125 | edge.kick/src/edge/kick/builder.clj | edge.kick/src/edge/kick/builder.clj | (ns edge.kick.builder
(:require
[integrant.core :as ig]
[juxt.kick.alpha.core :as kick]))
(defn load-provider-namespaces
[kick-config]
(doseq [provider (keys kick-config)
:when (= (namespace provider) "kick")]
(when (= (namespace provider) "kick")
(let [sym (symbol (str "juxt.kick.alp... | (ns edge.kick.builder
(:require
[integrant.core :as ig]
[juxt.kick.alpha.core :as kick]))
(defn load-provider-namespaces
[kick-config]
(doseq [provider (keys kick-config)
:when (= (namespace provider) "kick")]
(when (= (namespace provider) "kick")
(let [sym (symbol (str "juxt.kick.alp... | Remove debug code from edge.kick | Remove debug code from edge.kick
| Clojure | mit | juxt/edge,juxt/edge |
522c739c71cdf07dc301c08fe42316ad75f0720b | src/gol/server.clj | src/gol/server.clj | (ns gol.server
(:require [ring.middleware.file :refer [wrap-file]]
[ring.middleware.file-info :refer [wrap-file-info]]
[hiccup.page :refer [html5 include-js include-css]]
[hiccup.middleware :refer [wrap-base-url]]
[compojure.core :refer :all]
[compojure.rout... | (ns gol.server
(:require [ring.middleware.file :refer [wrap-file]]
[ring.middleware.file-info :refer [wrap-file-info]]
[hiccup.page :refer [html5 include-js include-css]]
[hiccup.middleware :refer [wrap-base-url]]
[compojure.core :refer :all]
[compojure.rout... | Switch to react with addons | Switch to react with addons
| Clojure | mit | pavel-v-chernykh/gol |
bcf9b11261e728ebb81cfc0967ab5c64ce1be840 | 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... | Fix test to reflect simplified Hex constructor. | Fix test to reflect simplified Hex constructor.
| Clojure | epl-1.0 | ryfow/afterglow,dandaka/afterglow,brunchboy/afterglow,dandaka/afterglow,brunchboy/afterglow,brunchboy/afterglow,ryfow/afterglow |
f59a945745c91fb40cbe10be904d56cc8827b321 | src/tiny_clj/core.clj | src/tiny_clj/core.clj | (ns tiny-clj.core
(:require [compojure.core :refer [defroutes GET PUT POST DELETE ANY]]
[compojure.handler :refer [site]]
[compojure.route :as route]
[clojure.java.io :as io]
[ring.adapter.jetty :as jetty]
[environ.core :refer [env]]
[net.cgrand.... | (ns tiny-clj.core
(:require [compojure.core :refer [defroutes GET PUT POST DELETE ANY]]
[compojure.handler :refer [site]]
[compojure.route :as route]
[clojure.java.io :as io]
[ring.adapter.jetty :as jetty]
[environ.core :refer [env]]
[net.cgrand.... | Introduce code for eastwood warning. | Introduce code for eastwood warning.
| Clojure | epl-1.0 | jfacorro/tiny-clj |
ea8096f009feca01c777099dcf76f99643f29a6a | src/clj/com/draines/postal/core.clj | src/clj/com/draines/postal/core.clj | (ns com.draines.postal.core
(:use [com.draines.postal.sendmail :only [sendmail-send]]
[com.draines.postal.smtp :only [smtp-send]]
[com.draines.postal.stress :only [spam]]))
(defn send-message [msg]
(when-not (and (:from msg)
(:to msg)
(:subject msg)
... | (ns com.draines.postal.core
(:use [com.draines.postal.sendmail :only [sendmail-send]]
[com.draines.postal.smtp :only [smtp-send]]
[com.draines.postal.stress :only [spam]]))
(defn send-message [msg]
(when-not (and (:from msg)
(:to msg)
(:subject msg)
... | Fix meta that wasn't meta. | Fix meta that wasn't meta.
| Clojure | mit | bo-chen/postal,drewr/postal |
61b136b60b9b1bff7ade1a47d191dcd230a92296 | src/onyx/state/state_extensions.clj | src/onyx/state/state_extensions.clj | (ns onyx.state.state-extensions)
(defmulti initialise-log
(fn [log-type event]
log-type))
(defmulti close-log
(fn [log]
(type log)))
;; For onyx to implement
;; We can implement log storage for Kafka and maybe ZK (if small data is used and we gc)
(defmulti store-log-entry
"Store state update [op k v... | (ns onyx.state.state-extensions)
(defmulti initialise-log
(fn [log-type event]
log-type))
(defmulti close-log
(fn [log event]
(type log)))
;; For onyx to implement
;; We can implement log storage for Kafka and maybe ZK (if small data is used and we gc)
(defmulti store-log-entry
"Store state update [... | Include event in close-log call for consistency | Include event in close-log call for consistency
| Clojure | epl-1.0 | vijaykiran/onyx,onyx-platform/onyx |
52aa6aede46c67cfb3a7f7a5fcd971ba24110e9f | src/clj/comic_reader/scrape.clj | src/clj/comic_reader/scrape.clj | (ns comic-reader.scrape
(:require [clojure.string :refer [trim]]
[net.cgrand.enlive-html :as html])
(:import java.net.URL))
(def sites
[{:name "Manga Fox"
:url "http://mangafox.me/manga/"
:selector [:div.manga_list :ul :li :a]
:normalize (fn [{[name] :content
{url :hr... | (ns comic-reader.scrape
(:require [clojure.string :refer [trim]]
[net.cgrand.enlive-html :as html])
(:import java.net.URL))
(def sites
[{:name "Manga Fox"
:url "http://mangafox.me/manga/"
:selector [:div.manga_list :ul :li :a]
:normalize (fn [{[name] :content
{url :hr... | Add a function for getting an xml feed | Add a function for getting an xml feed
| Clojure | epl-1.0 | RadicalZephyr/comic-reader,RadicalZephyr/comic-reader |
7c60c2b1468e1863a30ba5ec9573f9a12d12736e | src/advent_2018/day_08.cljc | src/advent_2018/day_08.cljc | (ns advent-2018.day-08
(:require
#?(:cljs [planck.core :refer [slurp read-string]])
[#?(:clj clojure.java.io :cljs planck.io) :as io]))
(def input (-> "advent_2018/day_08/input" io/resource slurp))
(defn parse-license [input]
(let [node+more (fn node+more [[child-count metadata-count & more]]
... | (ns advent-2018.day-08
(:require
#?(:cljs [planck.core :refer [slurp read-string]])
[#?(:clj clojure.java.io :cljs planck.io) :as io]))
(def input (-> "advent_2018/day_08/input" io/resource slurp))
(defn parse-license [input]
(let [node+more (fn node+more [[child-count metadata-count & more]]
... | Update to use iterate / nth | Update to use iterate / nth
| Clojure | epl-1.0 | mfikes/advent-of-cljs |
c48164c52da60ae13e8ee074ee8e1c97d300198d | src/discuss/references.cljs | src/discuss/references.cljs | (ns discuss.references
"Handle interaction with already existing references, for example showing usages in other statements / arguments
or providing a form to use it in the own statement."
(:require [om.core :as om]
[om.dom :as dom]
[discuss.communication :as com]))
(defn show-usages
"... | (ns discuss.references
"Handle interaction with already existing references, for example showing usages in other statements / arguments
or providing a form to use it in the own statement."
(:require [om.core :as om]
[om.dom :as dom]
[discuss.communication :as com]
[discuss.con... | Prepare ajax handler when receiving ajax response | Prepare ajax handler when receiving ajax response
| Clojure | mit | hhucn/discuss,hhucn/discuss |
3b29ed2b96fe5b15316afcc5f11366839611cc1e | src/engulf/core.clj | src/engulf/core.clj | (ns engulf.core
(:gen-class)
(:require [engulf.benchmark :as benchmark]
[noir.server :as nr-server])
(:use aleph.http
noir.core
lamina.core))
(defn start-webserver [args]
(nr-server/load-views "src/engulf/views")
(let [mode (keyword (or (first args) :prod))
port (Int... | (ns engulf.core
(:gen-class)
(:require [engulf.benchmark :as benchmark]
[noir.server :as nr-server])
(:use aleph.http
noir.core
lamina.core))
(defn start-webserver [args]
(nr-server/load-views "src/engulf/views")
(let [mode (keyword (or (first args) :prod))
port (Int... | Fix env var port selection | Fix env var port selection
| Clojure | epl-1.0 | andrewvc/engulf,andrewvc/engulf,terrancesnyder/engulf,terrancesnyder/engulf,flores/engulf,flores/engulf,terrancesnyder/engulf,flores/engulf,andrewvc/engulf |
80b1eb778022213f09785ccc6fe8136117f7efdf | src/om_forms/core.clj | src/om_forms/core.clj | (ns om-forms.core)
(defmacro with-options
[options & body]
`(binding [om-forms.core/*options* (cljs.core/merge om-forms.core/*options* ~options)]
~@body)) | (ns om-forms.core)
(defmacro with-options
[options & body]
`(binding [om-forms.core/*options*
(cljs.core/merge-with
(cljs.core/fn [old# new#]
(cljs.core/cond
(cljs.core/map? old#) (cljs.core/merge old# new#)
:else new#))
... | Add support for nested options to `with-options`. | Add support for nested options to `with-options`. | Clojure | epl-1.0 | bilus/reforms |
1502f2e3f4f42a0462a0a10d016638c2f411e020 | assignments/clojure/bob/bob_test.clj | assignments/clojure/bob/bob_test.clj | (ns bob.test (:use clojure.test))
(load-file "bob.clj")
(deftest responds-to-shouts
(is (= "Woah, chill out!" (bob/response-for "SHOUTING"))))
(deftest responds-to-questions
(is (= "Sure." (bob/response-for "A question?"))))
(deftest responds-to-statements
(is (= "Whatever." (bob/response-for "A statement.")))... | (ns bob.test (:use clojure.test))
(load-file "bob.clj")
(deftest responds-to-something
(is (= "Whatever." (bob/response-for "Tom-ay-to, tom-aaaah-to."))))
(deftest responds-to-shouts
(is (= "Woah, chill out!" (bob/response-for "WATCH OUT!"))))
(deftest responds-to-questions
(is (= "Sure." (bob/response-for "Do... | Bring tests in line with Ruby tests. | Bring tests in line with Ruby tests.
The Ruby spec for Bob includes a number of tests that clarify certain
points of Bob's behavior. This commit brings them to the Clojure spec
for Bob.
| Clojure | agpl-3.0 | IanDCarroll/exercism.io,beni55/exercism.io,Tonkpils/exercism.io,MBGeoff/Exercism.io-mbgeoff,treiff/exercism.io,jtigger/exercism.io,chinaowl/exercism.io,colinrubbert/exercism.io,praveenpuglia/exercism.io,sheekap/exercism.io,k4rtik/exercism.io,treiff/exercism.io,copiousfreetime/exercism.io,praveenpuglia/exercism.io,amar4... |
8bb73812be5326ea458695bd4b1f4587e3d19ebc | frontend/src/faceboard/state.cljs | frontend/src/faceboard/state.cljs | (ns faceboard.state
(:require [faceboard.logging :refer [log log-err log-warn log-info]]
[faceboard.data.sample_board :refer [sample-board]]))
(defonce app-state
(atom
{:model {}
:ui {:view :blank
:view-params nil
:editor-path nil
:load... | (ns faceboard.state
(:require [faceboard.logging :refer [log log-err log-warn log-info]]
[faceboard.data.sample_board :refer [sample-board]]))
(defonce app-state
(atom
{:model {}
:ui {:view :blank
:view-params nil
:editor-path nil
:load... | Expand all filter sections by default | Expand all filter sections by default
| Clojure | mit | AlexeyMK/faceboard,AlexeyMK/faceboard |
f8f25474b93d9e444ee7a8e9da336858c5e6ec23 | src/cljs/decktouch/card-data.cljs | src/cljs/decktouch/card-data.cljs | (ns decktouch.card-data
(:require [reagent.core :as reagent :refer [atom]]))
(defn get-card-list-from-storage []
"Get the list of cards from localStorage, or [] if it is empty"
(let [key "card-list"
list (.getItem js/localStorage key)]
(if (undefined? list)
[]
(map (fn [n] {:name n}) (js-... | (ns decktouch.card-data
(:require [reagent.core :as reagent :refer [atom]]
[ajax.core :refer [POST]]
[cljs.core.async :refer [chan >! <!]])
(:require-macros [cljs.core.async.macros :refer [go]]))
(defn get-card-list-from-storage []
"Get the list of cards from localStorage, or [] if it is ... | Add an fn for getting card data from server on add | Add an fn for getting card data from server on add
| Clojure | epl-1.0 | Pance/decktouch,Pance/decktouch |
1e7448bf871208f69aa46b0eda4f579a9fe306ab | Spraff/project.clj | Spraff/project.clj | ; :mode=clojure:
(defproject spraff "1.0.0-SNAPSHOT"
:description "IRC bot."
:dependencies [
[org.clojure/clojure "1.2.1"]
[irclj "0.4.1-SNAPSHOT"]
]
:dev-dependencies [
[marginalia "0.5.1"]]
:main spraff.core)
| ; :mode=clojure:
(defproject spraff "1.0.0-SNAPSHOT"
:description "IRC bot."
:dependencies [
[org.clojure/clojure "1.3.0"]
[irclj "0.4.1-SNAPSHOT"]
]
:main spraff.core)
| Update to Clojure 1.3 - seems to work fine. | Update to Clojure 1.3 - seems to work fine.
| Clojure | isc | pauldoo/scratch,pauldoo/scratch,pauldoo/scratch,pauldoo/scratch,pauldoo/scratch,pauldoo/scratch,pauldoo/scratch,pauldoo/scratch,pauldoo/scratch,pauldoo/scratch,pauldoo/scratch,pauldoo/scratch,pauldoo/scratch,pauldoo/scratch |
e30182b45ead229307591620ee000a4bd8de3758 | src/onyx/static/default_vals.cljc | src/onyx/static/default_vals.cljc | (ns onyx.static.default-vals
(:require [onyx.information-model :refer [model]]))
(def default-vals
"Indexes all keys to their defaul values for a direct look up."
(reduce
(fn [result section]
(reduce-kv
(fn [all k v]
(assoc all k (:default v)))
result
(:model section)))
{}
... | (ns onyx.static.default-vals
(:require [onyx.information-model :refer [model]]))
(def default-vals
"Indexes all keys to their defaul values for a direct look up."
(reduce
(fn [result section]
(reduce-kv
(fn [all k v]
(assoc all k (:default v)))
result
(:model section)))
{}
... | Include key in error message. | Include key in error message.
| Clojure | epl-1.0 | onyx-platform/onyx |
d29641ad73c42dfa66e345166c5ca73fed471f07 | test/caesium/randombytes_test.clj | test/caesium/randombytes_test.clj | (ns caesium.randombytes-test
(:require [caesium.randombytes :as r]
[clojure.test :refer [deftest is]]
[caesium.byte-bufs :as bb])
(:import (java.nio ByteBuffer)))
(deftest randombytes-test
(let [buf (r/randombytes 10)]
(is (= 10 (bb/buflen buf)))))
(deftest random-to-buf!-test
(let... | (ns caesium.randombytes-test
(:require [caesium.randombytes :as r]
[clojure.test :refer [deftest is]]
[caesium.byte-bufs :as bb])
(:import (java.nio ByteBuffer)))
(deftest randombytes-test
(let [buf (r/randombytes 10)]
(is (= 10 (bb/buflen buf)))))
(deftest random-to-buf!-test
(let... | Test the other randombytes path | Test the other randombytes path
| Clojure | epl-1.0 | lvh/caesium |
9117bd4377045c483591c4e931669a94737cb784 | 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 POST defroutes]]
[compojure.route :refer [not-found resources]]
[ring.middleware.defaults :refer [site-defaults wrap-defaults]]
[ring.middleware.params :refe... | (ns decktouch.handler
(:require [decktouch.dev :refer [browser-repl start-figwheel]]
[compojure.core :refer [GET POST defroutes]]
[compojure.route :refer [not-found resources]]
[ring.middleware.defaults :refer [site-defaults wrap-defaults]]
[ring.middleware.params :refe... | Add var for running server from a repl | Add var for running server from a repl
| Clojure | epl-1.0 | Pance/decktouch,Pance/decktouch |
ed06798666003a875ed46bc2e10c860454b075a2 | 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 [[org.onyxplatform/onyx "0.7.0"]]
... | (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 [[org.onyxplatform/onyx "0.7.0"]]
... | Add lein-set-version to fix CI | Add lein-set-version to fix CI
| Clojure | epl-1.0 | onyx-platform/onyx-plugin |
0a12ce5e04d2f376140df415db2c5adc9d56cf57 | project.clj | project.clj | (defproject buddy "0.4.0"
:description "Security library for Clojure"
:url "https://github.com/funcool/buddy"
:license {:name "BSD (2-Clause)"
:url "http://opensource.org/licenses/BSD-2-Clause"}
:dependencies [[buddy/buddy-core "0.4.0"]
[buddy/buddy-sign "0.4.0"]
[b... | (defproject buddy "0.4.0"
:description "Security library for Clojure"
:url "https://github.com/funcool/buddy"
:license {:name "BSD (2-Clause)"
:url "http://opensource.org/licenses/BSD-2-Clause"}
:dependencies [[buddy/buddy-core "0.4.1"]
[buddy/buddy-sign "0.4.0"]
[b... | Update buddy-core dependency version to 0.4.1 | Update buddy-core dependency version to 0.4.1
| Clojure | apache-2.0 | funcool/buddy |
61cc8800bfbbf9980f50b17d3f15853a0fb65557 | src/main/cljc/clojure_club/sudoku/mgrimm.cljc | src/main/cljc/clojure_club/sudoku/mgrimm.cljc | (ns clojure-club.sudoku.mgrimm
(:refer-clojure :exclude [==])
(:use [clojure.core.logic])
(:require [clojure.core.logic.fd :as fd]
[clojure-club.sudoku.example-problems :as ex]))
(defn solve [initial]
(let [cells (mapv (fn [c l] (do (if c (== c l)) l))
(apply concat initial) (re... | (ns clojure-club.sudoku.mgrimm
(:refer-clojure :exclude [==])
(:use [clojure.core.logic])
(:require [clojure.core.logic.fd :as fd]
[clojure-club.sudoku.example-problems :as ex]))
(defn solve* [initial]
(let [cells (mapv (fn [c l] (if c (== c l)) l)
(apply concat initial) (repeat... | Put result in list-of-lists format | Put result in list-of-lists format
| Clojure | epl-1.0 | markbastian/clojure-club,VoltaicAge8838/clojure-club,rbelohlavek/clojure-club,VoltaicAge8838/clojure-club,markbastian/clojure-club,VoltaicAge8838/clojure-club,markbastian/clojure-club,rbelohlavek/clojure-club |
fcd4f340a24fd1f78d0dba147b2b9218d564d7bf | test/flatland/useful/debug_test.clj | test/flatland/useful/debug_test.clj | (ns flatland.useful.debug-test
(use flatland.useful.debug clojure.test))
(defmacro test-? [form]
`(let [form# '~form
expected# ~form
collector# (java.io.StringWriter.)]
(binding [*out* collector#]
(is (= expected# (? ~form)))
(let [written# (str collector#)]
(are [val#... | (ns flatland.useful.debug-test
(:use flatland.useful.debug clojure.test))
(defmacro test-? [form]
`(let [form# '~form
expected# ~form
collector# (java.io.StringWriter.)]
(binding [*out* collector#]
(is (= expected# (? ~form)))
(let [written# (str collector#)]
(are [val... | Fix tests under Clojure 1.9 | Fix tests under Clojure 1.9
Fixes bad ns form which clojure.spec doesn't accept.
| Clojure | epl-1.0 | amalloy/useful |
a53284435a1bc43e9504e9d4337a9f7fbc030aa1 | services/strm-take.clj | services/strm-take.clj |
{:name "strm-take"
:path ""
:repeat true
:generator true
:func (let [cnt (volatile! 0)
chunk (volatile! [])
reset-cnt (constantly 0)
reset-chunk (constantly [])
reset-send (fn[]
(let [ret @chunk]
(vswap! cnt r... |
{:name "strm-take"
:path ""
:repeat true
:generator true
:func (let [cnt (volatile! 0)
chunk (volatile! [])
reset-cnt (constantly 0)
reset-chunk (constantly [])
reset-send (fn[]
(let [ret @chunk]
(vswap! cnt r... | Use need function, fix drop 1 between rets | Use need function, fix drop 1 between rets
| Clojure | mit | jsa-aerial/aerobio,jsa-aerial/aerobio,jsa-aerial/aerobio,jsa-aerial/aerobio,jsa-aerial/aerobio |
b17898ec5bfb99778111c5e928fb5d032b94cdc4 | src/isla/library.clj | src/isla/library.clj | (ns isla.library
(:use [clojure.pprint])
(:require [clojure.string :as str])
(:require [isla.user :as user])
(:require [isla.utils :as utils]))
(defn get-initial-env [& args]
(def extra-types (first args))
{
:ret nil
:ctx {
;; fns
"write" (fn [env str]
(utils/outp... | (ns isla.library
(:use [clojure.pprint])
(:require [clojure.string :as str])
(:require [isla.user :as user])
(:require [isla.utils :as utils]))
(defn get-initial-env [& args]
(def extra-types (first args))
(def initial-ctx (second args))
(def isla-ctx
{
;; fns
"write" (fn [env str]
... | Allow an initial context to be passed in when creating main Isla env. | Allow an initial context to be passed in when creating main Isla env. | Clojure | mit | maryrosecook/islaclj |
2e852e3122993ae8ffdb38e31710a4c432851307 | src/cenna/repl.clj | src/cenna/repl.clj | (ns cenna.repl
(:require [cenna.parser :as parser]))
(defn repl []
(do
(print "Cenna> ")
(flush))
(let [input (read-line)]
(println (parser/parse input))
(recur)))
(defn -main [& args]
(println "Welcome to Cenna REPL")
(println "=====================")
(flush)
(repl))
| (ns cenna.repl
(:require [cenna.parser :as parser]))
(defn repl []
(do
(print "Cenna> ")
(flush))
(let [input (read-line)]
(println (parser/parse input))
(recur)))
(defn -main [& args]
(println "_________ ")
(println "\\_ ___ \\ ____ ____ ____ _____ ")
... | Add ASCCI art for REPL | Add ASCCI art for REPL
| Clojure | epl-1.0 | bpdp/lunatis |
6754383684db4c14702150ceac5ff805616fd2f8 | src/chicken_coop/core.clj | src/chicken_coop/core.clj | (ns chicken-coop.core)
(defn foo
"I don't do a whole lot."
[x]
(println x "Hello, World!"))
| (ns chicken-coop.core
(:require [clojure.java.io :as io]
[chicken-coop.util :refer :all]
[chicken-coop.bbbpin :as bb]
[chicken-coop.gpio :as gpio]
[chicken-coop.ain :as ain]))
(defn -main []
(println "ready to initialize")
(let [g (gpio/gpio :P8 11 :low)
a... | Set up simple test of ain and gpio functionality | Set up simple test of ain and gpio functionality
| Clojure | epl-1.0 | metasoarous/strange-coop |
4815b8027b35620b7759f9b582902d2b3c9f2b08 | lein/.lein/profiles.clj | lein/.lein/profiles.clj | {:user {
:plugins [[cider/cider-nrepl "0.12.0-SNAPSHOT"]
[jonase/eastwood "0.2.3"]]
:dependencies [[org.clojure/clojure "1.7.0"]
[datomic-schema-grapher "0.0.1"]
[com.datomic/datomic-pro "0.9.5350"]
[me.raynes/fs "1.... | {:user {
:plugins [[cider/cider-nrepl "0.12.0-SNAPSHOT"]
[lein-ancient "0.6.8"]
[lein-bikeshed "0.3.0"]
[lein-kibit "0.1.2"]]
:dependencies [[org.clojure/clojure "1.7.0"]
[org.clojure/tools.reader "1.0.0-alpha3"]
... | Add lein deps for clojure debugging. | Add lein deps for clojure debugging.
| Clojure | bsd-2-clause | mgrbyte/dot-files,mgrbyte/dot-files,mgrbyte/dot-files |
d296c407e2bb4fd76339bfddb0738d48aa6406b3 | project.clj | project.clj | (defproject mvxcvi/merkle-db "0.1.0-SNAPSHOT"
:description "Hybrid data store built on merkle trees."
:url "https://github.com/greglook/merkle-db"
:license {:name "Public Domain"
:url "http://unlicense.org/"}
:deploy-branches ["master"]
:pedantic? :abort
:dependencies
[[org.clojure/clojure "... | (defproject mvxcvi/merkle-db "0.1.0-SNAPSHOT"
:description "Hybrid data store built on merkle trees."
:url "https://github.com/greglook/merkle-db"
:license {:name "Public Domain"
:url "http://unlicense.org/"}
:deploy-branches ["master"]
:pedantic? :abort
:dependencies
[[org.clojure/clojure "... | Drop back to Clojure 1.8 and add future-spec. | Drop back to Clojure 1.8 and add future-spec.
| Clojure | unlicense | greglook/merkle-db,greglook/merkle-db,greglook/merkle-db |
14389b7d51fa74d9af6fca8a4a9d3c8ef7999a3d | project.clj | project.clj | (defproject chestnut/lein-template "0.7.0"
:description "A Leiningen template for a ClojureScript setup with Figwheel, Austin, Om."
:url "https://github.com/plexus/chestnut"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:eval-in-leiningen true
:depende... | (defproject chestnut/lein-template "0.7.0"
:description "A Leiningen template for a ClojureScript setup with Figwheel, Austin, Om."
:url "https://github.com/plexus/chestnut"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:eval-in-leiningen true
:depende... | Make sure the snapshot dependency on jnr-process does not cause issues for regular users | Make sure the snapshot dependency on jnr-process does not cause issues for regular users
| Clojure | epl-1.0 | Jobava/chestnut,Nek/chestnut,neverfox/chestnut,Nek/chestnut,Jobava/chestnut,Jobava/chestnut,malloryerik/chestnut,malloryerik/chestnut,neverfox/chestnut,jacqt/chestnut,jacqt/chestnut,plexus/chestnut,plexus/chestnut,malloryerik/chestnut,Nek/chestnut,neverfox/chestnut |
88e9a13be93284a1afb3f3831da03345049278bf | project.clj | project.clj | (defproject reply "0.1.0-SNAPSHOT"
:description "REPL-y: A fitter, happier, more productive REPL for Clojure."
:dependencies [[org.clojure/clojure "1.3.0"]
[org.clojars.trptcolin/jline "2.6-SNAPSHOT"]
[org.thnetos/cd-client "0.3.1" :exclusions [org.clojure/clojure]]
... | (defproject reply "0.1.0-SNAPSHOT"
:description "REPL-y: A fitter, happier, more productive REPL for Clojure."
:dependencies [[org.clojure/clojure "1.3.0"]
[jline/jline "2.6-SNAPSHOT"]
[org.thnetos/cd-client "0.3.1" :exclusions [org.clojure/clojure]]
[clj-stacktrac... | Move to the new official jline distro | Move to the new official jline distro
| Clojure | epl-1.0 | bbatsov/reply,bbatsov/reply,trptcolin/reply,trptcolin/reply |
3e331c12783a690bec8260df3f2dafc7dd7d60a5 | project.clj | project.clj | (defproject onyx-app/lein-template "0.12.0.0-rc1"
:description "Onyx Leiningen application template"
:url "https://github.com/onyx-platform/onyx-template"
:license {:name "MIT License"
:url "http://choosealicense.com/licenses/mit/#"}
:repositories {"snapshots" {:url "https://clojars.org/repo"
... | (defproject onyx-app/lein-template "0.12.0.0-SNAPSHOT"
:description "Onyx Leiningen application template"
:url "https://github.com/onyx-platform/onyx-template"
:license {:name "MIT License"
:url "http://choosealicense.com/licenses/mit/#"}
:repositories {"snapshots" {:url "https://clojars.org/repo"
... | Prepare for next release cycle. | Prepare for next release cycle.
| Clojure | mit | onyx-platform/onyx-template |
f6c775143e1e86827f6ddba519fa789de4ee37ac | project.clj | project.clj | (defproject parbench "1.3.2"
:description "Parallel HTTP Benchmarker/Visualizer"
:main parbench.core
:jvm-opts ["-client"]
:dependencies [[org.clojure/clojure "1.3.0"]
[org.clojure/tools.cli "0.2.1"]
[noir-async "0.1.2"]
[cheshire "2.0.4"]
[log... | (defproject parbench "1.3.2"
:description "Parallel HTTP Benchmarker/Visualizer"
:main parbench.core
:jvm-opts ["-server"]
:dependencies [[org.clojure/clojure "1.3.0"]
[org.clojure/tools.cli "0.2.1"]
[noir-async "0.1.2"]
[cheshire "2.0.4"]
[log... | Switch back to -server for jvm | Switch back to -server for jvm
| Clojure | epl-1.0 | terrancesnyder/engulf,flores/engulf,flores/engulf,terrancesnyder/engulf,andrewvc/engulf,andrewvc/engulf,andrewvc/engulf,flores/engulf,terrancesnyder/engulf |
e001a80a498dec3d7d2b345565d8cfb0a91b7f8c | project.clj | project.clj | (defproject d-cent "0.0.1-SNAPSHOT"
:description "Cool new project to do things and stuff"
:min-lein-version "2.0.0"
:test-paths ["test" "integration"]
:dependencies [[org.clojure/clojure "1.6.0"]
[http-kit "2.1.16"]
[org.clojure/tools.logging "0.3.1"]
[bidi "1... | (defproject d-cent "0.0.1-SNAPSHOT"
:description "Cool new project to do things and stuff"
:min-lein-version "2.0.0"
:test-paths ["test" "integration"]
:dependencies [[org.clojure/clojure "1.6.0"]
[http-kit "2.1.16"]
[org.clojure/tools.logging "0.3.1"]
[bidi "1... | Revert "GG/CM - add lein ring server" | Revert "GG/CM - add lein ring server"
This reverts commit 941c3c6be3b722953ff061bc9a9a226755ea7691.
| Clojure | mit | prisamuel/objective8,ThoughtWorksInc/objective8,d-cent/objective8,ThoughtWorksInc/objective8,d-cent/objective8,prisamuel/objective8,ThoughtWorksInc/objective8,d-cent/objective8,d-cent/objective8,prisamuel/objective8,ThoughtWorksInc/objective8,prisamuel/objective8 |
0820a50ff854dc21502d07490523d2bab5c0ffad | project.clj | project.clj | (defproject org.onyxplatform/onyx-datomic "0.8.11.2-SNAPSHOT"
:description "Onyx plugin for Datomic"
:url "https://github.com/onyx-platform/onyx-datomic"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:repositories {"snapshots" {:url "https://clojars.org/r... | (defproject org.onyxplatform/onyx-datomic "0.8.11.1-SNAPSHOT"
:description "Onyx plugin for Datomic"
:url "https://github.com/onyx-platform/onyx-datomic"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:repositories {"snapshots" {:url "https://clojars.org/r... | Revert version to make sure release script works | Revert version to make sure release script works
| Clojure | epl-1.0 | onyx-platform/onyx-datomic |
0b53079a048479afe831ac4b82f5263c84fe8cbc | resources/barebones-3d/core.clj | resources/barebones-3d/core.clj | (defscreen main-screen
:on-show
(fn [screen entities]
(update! screen
:renderer (model-batch)
:attributes (let [attr-type (attribute-type :color :ambient-light)
attr (attribute :color attr-type 0.8 0.8 0.8 1)]
(environment :set ... | (defscreen main-screen
:on-show
(fn [screen entities]
(update! screen
:renderer (model-batch)
:attributes (let [attr-type (attribute-type :color :ambient-light)
attr (attribute :color attr-type 0.8 0.8 0.8 1)]
(environment :set ... | Improve the barebones 3d template | Improve the barebones 3d template
| Clojure | unlicense | oakes/Nightmod |
ff43dcae3abab4b8f6b970e89ef5f77ec9c08708 | clojure/src/leftpad/handler.clj | clojure/src/leftpad/handler.clj | (ns leftpad.handler
(:require [compojure.core :refer :all]
[compojure.route :as route]
[compojure.handler :as handler]
[ring.middleware.json :refer [wrap-json-response]]
[ring.middleware.params :refer [wrap-params]]
[ring.util.response :refer [response]]
... | (ns leftpad.handler
(:require [compojure.core :refer :all]
[compojure.route :as route]
[compojure.handler :as handler]
[ring.middleware.json :refer [wrap-json-response]]
[ring.middleware.params :refer [wrap-params]]
[ring.util.response :refer [response]]
... | Change JSON output key to be the correct 'str' instead of 'foo' | Change JSON output key to be the correct 'str' instead of 'foo'
| Clojure | mit | melonmanchan/left-pad-services,melonmanchan/left-pad-services,melonmanchan/left-pad-services,melonmanchan/left-pad-services,melonmanchan/left-pad-services,melonmanchan/left-pad-services,melonmanchan/left-pad-services,melonmanchan/left-pad-services |
cd4f0d00a333c6ddba1307039f70b8cac59ccc16 | src/cljs/comic_reader/ui.cljs | src/cljs/comic_reader/ui.cljs | (ns comic-reader.ui
(:require [re-frame.core :as re-frame]
[reagent.ratom :refer-macros [reaction]])
(:require-macros [comic-reader.macro-util :refer [defcomponent-2
with-optional-tail]]))
(defn loading []
[:img.loading {:src "img/loading.svg"}])
(... | (ns comic-reader.ui
(:require [re-frame.core :as re-frame]
[reagent.ratom :refer-macros [reaction]])
(:require-macros [comic-reader.macro-util :refer [defcomponent-2
with-optional-tail]]))
(defn loading []
[:img.loading {:src "img/loading.svg"}])
(... | Use the new defcomponent-2 macro | Use the new defcomponent-2 macro
| Clojure | epl-1.0 | RadicalZephyr/comic-reader,RadicalZephyr/comic-reader |
4c5abebdb3513059c5b273ad51a3d27531a3d39f | src/cadence/security.clj | src/cadence/security.clj | (ns cadence.security
(:require [cemerick.friend :as friend]
(cemerick.friend [workflows :as workflows]
[credentials :as creds])
;[oauth.client :as oauth]
[cadence.model :as model])
(:use [noir.core :only [pre-route]]))
(def friend-settings
{:cr... | (ns cadence.security
(:require [cemerick.friend :as friend]
(cemerick.friend [workflows :as workflows]
[credentials :as creds])
;[oauth.client :as oauth]
[cadence.model :as model])
(:use [noir.core :only [pre-route]]))
(def friend-settings
{:cr... | Revert "Changes workflow from interactive-form to http-basic." | Revert "Changes workflow from interactive-form to http-basic."
This reverts commit ae8020769e889e5774f8e3cdf1532d65ce272b7b.
| Clojure | epl-1.0 | RyanMcG/Cadence,RyanMcG/Cadence |
8bcd20c503df5c3ee8e0d3c5ea90da5ca10b8e7e | src/cljs/cglossa/search_inputs.cljs | src/cljs/cglossa/search_inputs.cljs | (ns cglossa.search-inputs
(:require [clojure.string :as str]))
(defn cwb-search-inputs [{:keys [search-query]}]
(let [displayed-query (-> @search-query
:query
(str/replace #"\[\(?\w+=\"(.+?)\"(?:\s+%c)?\)?\]" "$1"))]
[:div.row-fluid
[:form.form-inline... | (ns cglossa.search-inputs
(:require [clojure.string :as str]))
(defn cwb-search-inputs [{:keys [search-query]}]
(let [query (:query @search-query)
displayed-query (str/replace query #"\[\(?\w+=\"(.+?)\"(?:\s+%c)?\)?\]" "$1")
phonetic? (not= -1 (.indexOf query "phon="))]
[:div.row-fluid
[:f... | Add onchange handler for simple view input | Add onchange handler for simple view input
| Clojure | mit | textlab/glossa,textlab/glossa,textlab/glossa,textlab/glossa,textlab/glossa |
a5326b0383b588794e6ee698c7e553e24ee1f585 | dot/lein/profiles.clj | dot/lein/profiles.clj | {:user
{:plugins [[lein-vanity "0.2.0" :exclusions [org.clojure/clojure]]
[lein-ancient "0.6.5"]
[jonase/eastwood "0.2.0"]
;;[com.billpiel/sayid "0.0.10"]
]
:dependencies [[slamhound "1.5.5"]]
:aliases {"slamhound" ["run" "-m" "slam.hound"]}}}
| {:user
{:plugins [[lein-vanity "0.2.0" :exclusions [org.clojure/clojure]]
[lein-ancient "0.6.5"]
[lein-kibit "0.1.3"]
[jonase/eastwood "0.2.0"]
;;[com.billpiel/sayid "0.0.10"]
]
:dependencies [[slamhound "1.5.5"]]
:aliases {"slamhound" ["run" "-m" "slam.h... | Add lein kibit for code suggestion/linter | Add lein kibit for code suggestion/linter
| Clojure | bsd-3-clause | dgtized/dotfiles,dgtized/dotfiles,dgtized/dotfiles |
15095326224473bd364a3fe4bcc4a8f2ad29e133 | lein/.lein/profiles.clj | lein/.lein/profiles.clj | {:user
{:env {:squiggly {:checkers [:eastwood]
:eastwood-exclude-linters [:kibit]}}
:plugin-repositories [["private-plugins"
{:url "private repo url"}]]
:singing {:gpg-key "matthew.russell@wormbase.org"}
:dependencies [[clojure-ini "0.0.2"]
[me.raynes/... | {:user
{:env {:squiggly "{:checkers [:eastwood]}"}
:plugin-repositories [["private-plugins"
{:url "private repo url"}]]
:singing {:gpg-key "matthew.russell@wormbase.org"}
:dependencies [[clojure-ini "0.0.2"]
[me.raynes/fs "1.4.6"]]
:plugins [[jonase/eastwood "0.2.3"]
... | Fix "env var has been cast-to-string" issue. | Fix "env var has been cast-to-string" issue.
See:
https://github.com/WormBase/datomic-to-catalyst/pull/55#event-943557421
| Clojure | bsd-2-clause | mgrbyte/dot-files,mgrbyte/dot-files,mgrbyte/dot-files |
b7e2da29c582b5b964080310fcb46bc65165050d | project.clj | project.clj | (defproject overtone "0.7.0-SNAPSHOT"
:description "Programmable Music."
:url "http://project-overtone.org"
:dependencies [[org.clojure/clojure "1.3.0"]
[org.clojure/core.incubator "0.1.0"]
[org.clojure/data.json "0.1.2"]
[overtone/scsynth-jna "0.1.2-SNAPSHOT"]
... | (defproject overtone "0.7.0-SNAPSHOT"
:description "Programmable Music."
:url "http://project-overtone.org"
:dependencies [[org.clojure/clojure "1.3.0"]
[org.clojure/core.incubator "0.1.0"]
[org.clojure/data.json "0.1.2"]
[overtone/scsynth-jna "0.1.2-SNAPSHOT"]
... | Correct Seesaw dep was lost in recent merge. Fixed. | Correct Seesaw dep was lost in recent merge. Fixed.
| Clojure | mit | rosejn/overtone,pje/overtone,chunseoklee/overtone,mcanthony/overtone,la3lma/overtone,brunchboy/overtone,craftybones/overtone,ethancrawford/overtone,Widea/overtone |
43145a13651dfdf135bc75564e753f5f3b8c0597 | project.clj | project.clj | (defproject onyx-app/lein-template "0.10.0.0-beta6"
: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 |
0448e9324d4433bf33f368bb9856c98bea5766c8 | project.clj | project.clj | (defproject jungerer "0.2.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.3.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.3.0-SNAPSHOT) | Prepare for next development iteration (0.3.0-SNAPSHOT)
| Clojure | bsd-3-clause | totakke/jungerer |
6667380c31702a0d657f99035303634ecc4164d8 | project.clj | project.clj | (defproject onyx-app/lein-template "0.11.1.0-alpha2"
:description "Onyx Leiningen application template"
:url "https://github.com/onyx-platform/onyx-template"
:license {:name "MIT License"
:url "http://choosealicense.com/licenses/mit/#"}
:repositories {"snapshots" {:url "https://clojars.org/repo"
... | (defproject onyx-app/lein-template "0.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 |
3b7c3ec8dbfd45cc8fe48ee6629c6d34d9de0899 | project.clj | project.clj | (defproject reply "0.1.0-SNAPSHOT"
:description "REPL-y: A fitter, happier, more productive REPL for Clojure."
:dependencies [[org.clojure/clojure "1.3.0"]
[org.clojars.trptcolin/jline "2.6-SNAPSHOT"]
[org.thnetos/cd-client "0.3.1" :exclusions [org.clojure/clojure]]
... | (defproject reply "0.1.0-SNAPSHOT"
:description "REPL-y: A fitter, happier, more productive REPL for Clojure."
:dependencies [[org.clojure/clojure "1.3.0"]
[org.clojars.trptcolin/jline "2.6-SNAPSHOT"]
[org.thnetos/cd-client "0.3.1" :exclusions [org.clojure/clojure]]
... | Add sonatype snapshots again for tools.nrepl | Add sonatype snapshots again for tools.nrepl
| Clojure | epl-1.0 | trptcolin/reply,bbatsov/reply,trptcolin/reply,bbatsov/reply |
b137601b6bd60fb1b3c2931619a13cccd837fb23 | src/overtone/sc/machinery/ugen/metadata/basicops.clj | src/overtone/sc/machinery/ugen/metadata/basicops.clj | (ns overtone.sc.machinery.ugen.metadata.basicops
(:use [overtone.sc.machinery.ugen common check]))
;;see binaryopugen.clj and unaryopugen.clj for detailed docspecs for binary and unary opugens.
(def specs
[
{:name "UnaryOpUGen",
:args [{:name "a" :doc "input"}],
:rates #{:dr :ir :ar :kr}
:default-r... | (ns overtone.sc.machinery.ugen.metadata.basicops
(:use [overtone.sc.machinery.ugen common check]))
;;see binaryopugen.clj and unaryopugen.clj for detailed docspecs for binary and unary opugens.
(def specs
[
{:name "UnaryOpUGen",
:args [{:name "a" :doc "input"}],
:rates #{:dr :ir :ar :kr}
:default-r... | Add check to mil-add ugen to avoid server crashes when rates aren't similar | Add check to mil-add ugen to avoid server crashes when rates aren't similar | Clojure | mit | pje/overtone,Widea/overtone,ethancrawford/overtone,chunseoklee/overtone,craftybones/overtone,brunchboy/overtone,la3lma/overtone,mcanthony/overtone |
ddeacdc09191ff316f7012a1d44f180025b70161 | test/circleci/web/test_web.clj | test/circleci/web/test_web.clj | (ns circleci.web.test-web
(:require [clj-http.client :as http])
(:use midje.sweet))
(def site "http://localhost:8080")
(fact "/ returns 200"
(http/get site) => (contains {:status 200})) | (ns circleci.web.test-web
(:require circleci.init)
(:require [clj-http.client :as http])
(:use midje.sweet))
(circleci.init/init)
(def site "http://localhost:8080")
(fact "/ returns 200"
(http/get site) => (contains {:status 200})) | Make the web tests init first. | Make the web tests init first.
| Clojure | epl-1.0 | circleci/frontend,RayRutjes/frontend,circleci/frontend,RayRutjes/frontend,prathamesh-sonpatki/frontend,prathamesh-sonpatki/frontend,circleci/frontend |
a187c9eb2a384f4a2b5c3dca29e14a0f57dfbf4c | project.clj | project.clj | (defproject inet.data "0.3.2-SNAPSHOT"
:description "Represent and manipulate various Internet entities as data."
:url "http://github.com/llasram/inet.data"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.4.0"]
... | (defproject inet.data "0.3.2-SNAPSHOT"
:description "Represent and manipulate various Internet entities as data."
:url "http://github.com/llasram/inet.data"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.4.0"]
... | Update hier-set to version w/ non-broken dependencies. | Update hier-set to version w/ non-broken dependencies.
| Clojure | epl-1.0 | damballa/inet.data,damballa/inet.data |
e7ad04c9945138f26084c924423476b76eab268b | project.clj | project.clj | (defproject org.onyxplatform/onyx-datomic "0.8.1.0-alpha9"
: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 |
aac16f8174e65d933fdab07a57020dad11b6dab6 | project.clj | project.clj | (defproject govuk/blinken "0.1.0-SNAPSHOT"
:description "Dashboard to integrate multiple alert systems"
:url "https://github.com/alphagov/blinken"
:license {:name "MIT"
:url "http://opensource.org/licenses/MIT"}
:dependencies [[org.clojure/clojure "1.5.1"]
[docopt "0.6.1"]
... | (defproject govuk/blinken "0.1.0-SNAPSHOT"
:description "Dashboard to integrate multiple alert systems"
:url "https://github.com/alphagov/blinken"
:license {:name "MIT"
:url "http://opensource.org/licenses/MIT"}
:dependencies [[org.clojure/clojure "1.5.1"]
[docopt "0.6.1"]
... | Add the ability to start a daemon called blinken. | Add the ability to start a daemon called blinken.
| Clojure | mit | alphagov/blinken |
75b1c2d09ed17cc994a9456eecca80e9c6dc79bd | src/braid/client/ui/styles/vars.cljs | src/braid/client/ui/styles/vars.cljs | (ns braid.client.ui.styles.vars
(:require [garden.units :refer [rem px]]
[garden.arithmetic :as m]))
(def avatar-size (rem 2))
(def pad (rem 1))
(def card-width (rem 17))
(def top-bar-height (rem 2))
(def sidebar-width
(m/+ top-bar-height (m/* pad 2)))
(def grey-text "#888")
(def dark-bg-color "#... | (ns braid.client.ui.styles.vars
(:require [garden.units :refer [rem px]]
[garden.arithmetic :as m]))
(def avatar-size (rem 2))
(def pad (rem 1))
(def card-width (rem 18))
(def top-bar-height (rem 2))
(def sidebar-width
(m/+ top-bar-height (m/* pad 2)))
(def grey-text "#888")
(def dark-bg-color "#... | Increase card width (to better fit alert messages) | Increase card width (to better fit alert messages)
| Clojure | agpl-3.0 | rafd/braid,rafd/braid,braidchat/braid,braidchat/braid |
aaa0c7174bbb0872115284f09744f5ea6ed6aa85 | src/clojure/staircase/views/footer.clj | src/clojure/staircase/views/footer.clj | (ns staircase.views.footer
(:require [staircase.views.header :refer (tool-list)]
[hiccup.element :refer (link-to unordered-list mail-to)]))
(defn snippet [config]
[:section.footer.dark {:ng-controller "FooterCtrl"}
[:div.panel.panel-info {:ng-show "showCookieMessage"}
[:div.panel-heading "Co... | (ns staircase.views.footer
(:require [staircase.views.header :refer (tool-list)]
[hiccup.element :refer (link-to unordered-list mail-to)]))
(defn snippet [config]
[:section.footer.dark {:ng-controller "FooterCtrl"}
[:div.row
[:div.col-sm-8.site-map
[:ul
[:li (link-to "/" "Home")]
... | Improve placement of cookie message. | Improve placement of cookie message.
| Clojure | bsd-2-clause | yochannah/staircase,yochannah/staircase,yochannah/staircase,joshkh/staircase,joshkh/staircase,joshkh/staircase |
31fa113d55f66906f2c96f863054c99169519d21 | dev-src/clj/comic_reader/frontend_dev.clj | dev-src/clj/comic_reader/frontend_dev.clj | (ns comic-reader.frontend-dev
(:require [clojure.java.browse :refer [browse-url]]
[clojure.repl :refer :all]
[comic-reader.system :refer [go start stop]]
[figwheel-sidecar.repl-api :refer :all]))
(defn- cwd []
(.getCanonicalPath (java.io.File. ".")))
(def figwheel-config
{:fi... | (ns comic-reader.frontend-dev
(:require [clojure.java.browse :refer [browse-url]]
[clojure.repl :refer :all]
[clojure.tools.namespace.repl :refer [refresh]]
[comic-reader.system :refer [go start stop]]
[figwheel-sidecar.repl-api :refer :all]))
(defn- cwd []
(.getCano... | Add a reset function to frontend-dev ns | Add a reset function to frontend-dev ns
| Clojure | epl-1.0 | RadicalZephyr/comic-reader,RadicalZephyr/comic-reader |
9844723bb57969e9565b4cd440e3f5247b51c2f3 | src/clj/backend/boot.clj | src/clj/backend/boot.clj | (ns backend.boot
{:boot/export-tasks true}
(:require [boot.core :refer :all]
[reloaded.repl :refer [go]]
[backend.main :refer :all]))
(deftask start-app
[p port PORT int "Port"
r reload bool "Add reload mw"]
(let [f (delay
(setup-app! {:port port
... | (ns backend.boot
{:boot/export-tasks true}
(:require [boot.core :refer :all]
[reloaded.repl :refer [go]]
[backend.main :refer :all]))
(deftask start-app
[p port PORT int "Port"
r reload bool "Add reload mw"]
(let [x (atom nil)]
(with-post-wrap fileset
(swap! x (fn [... | Make start-app behave better if system start fails | Make start-app behave better if system start fails
If `go` threw an exception delay would cache the exception and throw the same one for each subsequent call. Instead we want to execute go until it succeeds. This way user can fix the error causing problems in REPL. | Clojure | mit | Deraen/saapas |
e3d4a192a013d138c94c9e77588e9a6d070d3053 | clojure/anagrams.clj | clojure/anagrams.clj | (defn swap [a i j]
(assoc a j (a i) i (a j)))
(defn generatePermutations [v n]
(if (zero? n)
(println (apply str v))
(loop [i 0 a v]
(if (< i n)
(do
(generatePermutations a (dec n))
(recur (inc i) (swap a (if (even? n) i 0) n)))
(generatePermutations a (dec n)))))... | (defn swap [a i j]
(assoc a j (a i) i (a j)))
(defn generatePermutations [v n]
(if (zero? n)
(println (apply str v))
(loop [i 0 a v]
(if (< i n)
(do
(generatePermutations a (dec n))
(recur (inc i) (swap a (if (even? n) 0 i) n)))
(generatePermutations a (dec n)))))... | Use the classic Heap's algorithm | Use the classic Heap's algorithm
| Clojure | mit | rtoal/ple,rtoal/ple,rtoal/polyglot,rtoal/ple,rtoal/polyglot,rtoal/polyglot,rtoal/polyglot,rtoal/polyglot,rtoal/polyglot,rtoal/ple,rtoal/ple,rtoal/polyglot,rtoal/ple,rtoal/ple,rtoal/ple,rtoal/polyglot,rtoal/polyglot,rtoal/ple,rtoal/polyglot,rtoal/polyglot,rtoal/ple,rtoal/ple,rtoal/polyglot,rtoal/polyglot,rtoal/polyglot,... |
702de91cc592bae71fda1adee9699d5f76d7b62d | src/beehive_http/core.clj | src/beehive_http/core.clj | (ns beehive-http.core
(:require [beehive.future :as f])
(:import (com.ning.http.client AsyncHttpClient RequestBuilder)
(com.ning.http.client.providers.netty.response NettyResponse)
(net.uncontended.precipice ServiceProperties RejectedActionException)
(net.uncontended.precipice_imple... | ;; Copyright 2015 Timothy Brooks
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in w... | Add license to top of file | Add license to top of file
| Clojure | apache-2.0 | tbrooks8/Beehive-http |
d28d211b2cf02d0b5f3b327054643f600a97ee62 | clojure/profiles.clj | clojure/profiles.clj | ;; https://github.com/technomancy/leiningen/blob/stable/doc/PROFILES.md
{:user {:plugins [[lein-pprint "1.3.2"
lein-ancient "0.7.0"
lein-cloverage "1.2.2"]]
:dependencies [[alembic "0.3.2"]
[clj-kondo "RELEASE"]
[antq "RELEASE"]... | ;; https://github.com/technomancy/leiningen/blob/stable/doc/PROFILES.md
{:user
{:plugins
[[cider/cider-nrepl "0.25.9"]
[lein-ancient "0.7.0"]
[lein-check-namespace-decls "1.0.4"]
[lein-cljfmt "0.8.0"]
[lein-nsorg "0.3.0"]
[refactor-nrepl/refactor-nrepl "3.0.0-alpha13"]]}
:dependencies
[#_[alembic... | Add common plugins for leiningen project | Add common plugins for leiningen project
| Clojure | mit | agilecreativity/dotfiles,agilecreativity/dotfiles,agilecreativity/dotfiles |
852d5bdd29393050d3d53ca17ad07201b24dd955 | src/clj/subman/views.clj | src/clj/subman/views.clj | (ns subman.views
(:use [hiccup core page]))
(defn index-page []
(html5 {:ng-app "subman"}
[:head
[:title "Subman - subtitle search service with api"]
(include-css "/components/bootstrap/dist/css/bootstrap.css"
"/components/bootstrap/dist/css/bootstrap-theme.css"
... | (ns subman.views
(:use [hiccup core page]))
(defn index-page []
(html5 {:ng-app "subman"}
[:head
[:title "Subman - subtitle search service with api"]
(include-css "/components/bootstrap/dist/css/bootstrap.css"
"/components/bootstrap/dist/css/bootstrap-theme.css"
... | Use minified version of scripts | Use minified version of scripts
| Clojure | epl-1.0 | submanio/subman-parser |
e9b273ed9518c7745243579a5045bc4e38618555 | assets/deps.cljs | assets/deps.cljs | {:foreign-libs
[{:file "_rxjs/rx.all.js"
:file-min "_rxjs/rx.all.minjs"
:provides ["beicon.extern.rxjs"]}]
:externs ["_rxjs/externs.js"]}
| {:foreign-libs
[{:file "_rxjs/rx.all.js"
:file-min "_rxjs/rx.all.min.js"
:provides ["beicon.extern.rxjs"]}]
:externs ["_rxjs/externs.js"]}
| Fix path to the minified rxjs bundled file. | Fix path to the minified rxjs bundled file.
| Clojure | bsd-2-clause | funcool/beicon,funcool/beicon |
5bbafe0992ef566320c2d84ea094c158248701e3 | src/bayes_table/core.cljs | src/bayes_table/core.cljs | (ns bayes-table.core)
(def model-ids [0.0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0])
(def models
(map #(hash-map :b-wins (- 1 %) :a-wins %) model-ids))
(def priors [0.0, 0.02, 0.03, 0.05, 0.10, 0.15, 0.20, 0.25, 0.15, 0.05, 0.0])
(defn likelihoods [data models]
(map #(data %) models))
(defn posteriors [data mode... | (ns bayes-table.core)
(def model-ids [0.0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0])
(def models
(map #(hash-map :b-wins (- 1 %) :a-wins %) model-ids))
(def priors [0.0, 0.02, 0.03, 0.05, 0.10, 0.15, 0.20, 0.25, 0.15, 0.05, 0.0])
(defn likelihoods [data models]
(map #(data %) models))
(defn posteriors
([data ... | Add a "seam" for an external likelihood function. | Add a "seam" for an external likelihood function.
Change `posteriors` function to be multi-variadic by adding a parameter
for a likelihood function defined by callers. This change allows a
caller to invoke `posteriors` with the default likelihood function
defined by the module or to supply her own likelihood function.... | Clojure | apache-2.0 | mrwizard82d1/bayes-cljs,mrwizard82d1/bayes-cljs |
00a7a5026d2144ac433e4e408b535c8c774847de | src/cljs/quil/helpers/tools.clj | src/cljs/quil/helpers/tools.clj | (ns cljs.quil.helpers.tools
(:require [clojure.string :as string]))
(defn bind-handler [prc processing-name handler]
`(set!
(~processing-name ~prc)
(fn []
(~'with-applet ~prc
(~@(if (list? handler) handler (list handler)))))))
(defmacro bind-handlers [prc & opts]
(map
#(apply bind-han... | (ns cljs.quil.helpers.tools
(:require [clojure.string :as string]))
(defn bind-handler [prc processing-name handler]
`(set!
(~processing-name ~prc)
(fn []
(~'with-applet ~prc
(~@(if (list? handler) handler (list handler)))))))
(defmacro bind-handlers [prc & opts]
(map
#(apply bind-han... | Add support bezier-vertex to with-shape macro. | Add support bezier-vertex to with-shape macro.
| Clojure | epl-1.0 | pxlpnk/quil,mi-mina/quil,quil/quil,jobez/quil-video,craftybones/quil |
52f2a2d25651042b5dff32de5af0444a3fe12d6e | src/clojure/nightmod/public.clj | src/clojure/nightmod/public.clj | (ns nightmod.public
(:require [clojail.core :as jail]
[clojure.java.io :as io]
[nightmod.screens :as s]
[nightmod.utils :as u]
[play-clj.core :refer :all]))
(defn set-game-screen!
[& screens]
(->> (conj (vec screens) s/overlay-screen)
(apply set-screen! s/ni... | (ns nightmod.public
(:require [clojail.core :as jail]
[clojure.java.io :as io]
[nightmod.screens :as s]
[nightmod.utils :as u]
[play-clj.core :refer :all]))
(defn set-game-screen!
[& screens]
(->> (conj (vec screens) s/overlay-screen)
(apply set-screen! s/ni... | Fix load-game-file so it doesn't rely on the classloader | Fix load-game-file so it doesn't rely on the classloader
| Clojure | unlicense | oakes/Nightmod |
b16af1e42ee1caf37cd16b81798fa2d106f04cbd | src/flux_challenge_re_frame/core.cljs | src/flux_challenge_re_frame/core.cljs | (ns ^:figwheel-always flux-challenge-re-frame.core
(:require
[reagent.core :as reagent :refer [atom]]))
(enable-console-print!)
(println "Edits to this text should show up in your developer console.")
;; define your app data so that it doesn't get over-written on reload
(defonce app-state (atom {:text "Hello ... | (ns ^:figwheel-always flux-challenge-re-frame.core
(:require
[reagent.core :as reagent :refer [atom]]))
(enable-console-print!)
;; define your app data so that it doesn't get over-written on reload
(defonce app-state (atom {:planet "Tatooine"
:jedis [{:name "Jorak Uln"
... | Split app into a few basic components | Split app into a few basic components | Clojure | mit | ravicious/flux-challenge-re-frame |
cb66a14a4ad18ef1f35e7e9d53b11f0de0b90fa1 | 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.11.0 | Update dependency clj-http:clj-http to v3.11.0
| Clojure | unlicense | nicokosi/strava-activity-graphs |
cbdbb7a0682df0e6cfde080d67d3e6154f7643a2 | project.clj | project.clj | (defproject lighttable "0.1.0"
:description "Light Table is a new interactive IDE that lets you modify running programs and embed anything from websites to games. It provides the real time feedback we need to not only answer questions about our code, but to understand how our programs really work."
:url "http://www... | (defproject lighttable "0.1.0"
:description "Light Table is a new interactive IDE that lets you modify running programs and embed anything from websites to games. It provides the real time feedback we need to not only answer questions about our code, but to understand how our programs really work."
:url "http://www... | Bump fetch to get rid of cljs warning | Bump fetch to get rid of cljs warning
Also exclude noir since we don't depend on it
| Clojure | mit | nagyistoce/LightTable,craftybones/LightTable,nagyistoce/LightTable,ohAitch/LightTable,cldwalker/LightTable,mpdatx/LightTable,kenny-evitt/LightTable,mpdatx/LightTable,brabadu/LightTable,cldwalker/LightTable,BenjaminVanRyseghem/LightTable,youprofit/LightTable,youprofit/LightTable,EasonYi/LightTable,BenjaminVanRyseghem/Li... |
0f4ee48cc6956c89169a7a3f06ae67621046708c | project.clj | project.clj | (defproject uxbox-backend "0.1.0-SNAPSHOT"
:description "UXBox backend."
:url "http://uxbox.github.io"
:license {:name "MPL 2.0" :url "https://www.mozilla.org/en-US/MPL/2.0/"}
:source-paths ["src"]
:javac-options ["-target" "1.8" "-source" "1.8" "-Xlint:-options"]
:jvm-opts ["-Dclojure.compiler.direct-linki... | (defproject uxbox-backend "0.1.0-SNAPSHOT"
:description "UXBox backend."
:url "http://uxbox.github.io"
:license {:name "MPL 2.0" :url "https://www.mozilla.org/en-US/MPL/2.0/"}
:source-paths ["src"]
:javac-options ["-target" "1.8" "-source" "1.8" "-Xlint:-options"]
:jvm-opts ["-Dclojure.compiler.direct-linki... | Add apache commons io dependency. | Add apache commons io dependency.
| Clojure | mpl-2.0 | uxbox/uxbox-backend,uxbox/uxbox-backend |
3bafab20b5c37634d9431a5945c9680aabbbcca4 | src/cljs/clj_templates/components/footer/component.cljs | src/cljs/clj_templates/components/footer/component.cljs | (ns clj-templates.components.footer.component)
(defn footer []
[:footer
[:div.content
[:div [:span "By " [:a.dxtr-link {:href "http://www.dxtr.se/" :target "_blank"} "Dexter Gramfors"]]]]])
| (ns clj-templates.components.footer.component)
(defn footer []
[:footer
[:div.content
[:div [:span "By " [:a.dxtr-link {:href "https://dxtr.se/" :target "_blank"} "Dexter Gramfors"]]]]])
| Use primary domain in link. | Use primary domain in link.
| Clojure | epl-1.0 | Dexterminator/clj-templates,Dexterminator/clj-templates |
858deee52f61b6a844754421b92708c96467e345 | examples/interceptor/project.clj | examples/interceptor/project.clj | (defproject interceptor "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://github.com/funcool/catacumba"
:license {:name "BSD (2-Clause)"
:url "http://opensource.org/licenses/BSD-2-Clause"}
:dependencies [[org.clojure/clojure "1.7.0-RC1"]
[funcool/catacumba "0.2.0... | (defproject interceptor "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://github.com/funcool/catacumba"
:license {:name "BSD (2-Clause)"
:url "http://opensource.org/licenses/BSD-2-Clause"}
:dependencies [[org.clojure/clojure "1.7.0-RC1"]
[funcool/catacumba "0.2.0... | Update catacumba version on interceptor example. | Update catacumba version on interceptor example.
| Clojure | bsd-2-clause | prepor/catacumba,funcool/catacumba,coopsource/catacumba,mitchelkuijpers/catacumba,funcool/catacumba,mitchelkuijpers/catacumba,coopsource/catacumba,funcool/catacumba,prepor/catacumba |
dda3c424ff03e8ba33825fa0ed63d20759b77d7e | project.clj | project.clj | (defproject onyx-app/lein-template "0.9.11.0-alpha1"
:description "Onyx Leiningen application template"
:url "https://github.com/onyx-platform/onyx-template"
:license {:name "MIT License"
:url "http://choosealicense.com/licenses/mit/#"}
:repositories {"snapshots" {:url "https://clojars.org/repo"
... | (defproject onyx-app/lein-template "0.9.11.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 |
bf85e54469b4ec8803ffbfef8e1159105b15d87c | project.clj | project.clj | (defproject onyx-app/lein-template "0.12.6.0"
:description "Onyx Leiningen application template"
:url "https://github.com/onyx-platform/onyx-template"
:license {:name "MIT License"
:url "http://choosealicense.com/licenses/mit/#"}
:repositories {"snapshots" {:url "https://clojars.org/repo"
... | (defproject onyx-app/lein-template "0.12.6.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 |
5a093109196b840378e46c6ad4e7098281b6bb1e | project.clj | project.clj | (defproject org.onyxplatform/onyx-datomic "0.7.3-beta9"
:description "Onyx plugin for Datomic"
:url "https://github.com/MichaelDrogalis/onyx-datomic"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:repositories {"snapshots" {:url "https://clojars.org/repo"... | (defproject org.onyxplatform/onyx-datomic "0.7.3-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/re... | Prepare for next release cycle. | Prepare for next release cycle.
| Clojure | epl-1.0 | onyx-platform/onyx-datomic |
77ebfbb2378861327f36c8a145613d4d19696f74 | project.clj | project.clj | (defproject onyx-app/lein-template "0.12.2.2"
:description "Onyx Leiningen application template"
:url "https://github.com/onyx-platform/onyx-template"
:license {:name "MIT License"
:url "http://choosealicense.com/licenses/mit/#"}
:repositories {"snapshots" {:url "https://clojars.org/repo"
... | (defproject onyx-app/lein-template "0.12.2.3-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 |
125178e55d41b4b2aea9432af09aa88870bc2699 | project.clj | project.clj | (defproject org.onyxplatform/onyx-datomic "0.7.13"
:description "Onyx plugin for Datomic"
:url "https://github.com/MichaelDrogalis/onyx-datomic"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:repositories {"snapshots" {:url "https://clojars.org/repo"
... | (defproject org.onyxplatform/onyx-datomic "0.7.14-SNAPSHOT"
:description "Onyx plugin for Datomic"
:url "https://github.com/MichaelDrogalis/onyx-datomic"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:repositories {"snapshots" {:url "https://clojars.org/r... | Prepare for next release cycle. | Prepare for next release cycle.
| Clojure | epl-1.0 | onyx-platform/onyx-datomic |
1e9c6aa53225d2183212a2aa69fe7d4d15f476e4 | project.clj | project.clj | (defproject me.arrdem/oxcart "0.1.0-SNAPSHOT"
:description "An experimental optimizing compiler for Clojure code"
:url "http://github.com/arrdem/oxcart"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [
[org.clojure/clojure ... | (defproject me.arrdem/oxcart (slurp "VERSION")
:description "An experimental optimizing compiler for Clojure code"
:url "http://github.com/arrdem/oxcart"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [
[org.clojure/clojure ... | Change to using a version file and a bump script | Change to using a version file and a bump script
| Clojure | epl-1.0 | arrdem/oxcart,arrdem/oxcart |
4194137198713bf7075c51632f63abf5f30215b7 | project.clj | project.clj | (defproject ezglib "0.1.5"
:description "Make WebGL games in ClojureScript."
:url "https://github.com/bakpakin/ezglib"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:scm {:name "git"
:url "https://github.com/bakpakin/ezglib"})
| (defproject ezglib "0.0.0-SNAPSHOT"
:description "Make WebGL games in ClojureScript."
:url "https://github.com/bakpakin/ezglib"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:scm {:name "git"
:url "https://github.com/bakpakin/ezglib"})
| Change version back to 0.0.0-SNAPSHOT. | Change version back to 0.0.0-SNAPSHOT.
| Clojure | epl-1.0 | bakpakin/ezglib |
140fdccddd0956c4cd8d88e3f280ba415326b32c | project.clj | project.clj | (defproject obcc "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.8.0"]
[org.clojure/tools.cli "0.3.3"]
... | (defproject obcc "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.8.0"]
[org.clojure/tools.cli "0.3.3"]
... | Upgrade to the latest ST code | Upgrade to the latest ST code
Signed-off-by: Gregory Haskins <640d9fe47775e6723f0355b7315e38f7d98d3539@gmail.com>
| Clojure | apache-2.0 | ghaskins/obcc,ghaskins/chaintool,ghaskins/obcc,ghaskins/chaintool |
0728125ba930d0bdccd92ba8c52d412c3b3df171 | project.clj | project.clj | (defproject buddy/buddy-hashers "0.3.0-SNAPSHOT"
:description "Security library for Clojure"
:url "https://github.com/niwibe/buddy"
:license {:name "BSD (2-Clause)"
:url "http://opensource.org/licenses/BSD-2-Clause"}
:dependencies [[org.clojure/clojure "1.6.0"]
[buddy/buddy-core "0.... | (defproject buddy/buddy-hashers "0.3.0-SNAPSHOT"
:description "Security library for Clojure"
:url "https://github.com/niwibe/buddy"
:license {:name "BSD (2-Clause)"
:url "http://opensource.org/licenses/BSD-2-Clause"}
:dependencies [[org.clojure/clojure "1.6.0"]
[buddy/buddy-core "0.... | Set proper version of buddy-core module. | Set proper version of buddy-core module.
| Clojure | apache-2.0 | funcool/buddy-hashers,rorygibson/buddy-hashers,funcool/buddy-hashers,rorygibson/buddy-hashers |
7f8d742952404e1375d8b40dfab9cbb4a2259d18 | project.clj | project.clj | (defproject cake "0.7.0-beta1"
:description "Save your fork, there's cake!"
:dependencies [[clojure "1.2.0"]
[uncle "0.2.3"]
[depot "0.1.7"]
[classlojure "0.6.3"]
[useful "0.7.4-alpha4"]
[slingshot "0.7.2"]
[org.cl... | (defproject cake "0.7.0-beta1"
:description "Save your fork, there's cake!"
:dependencies [[clojure "1.2.0"]
[uncle "0.2.3"]
[depot "0.1.7"]
[classlojure "0.6.3"]
[useful "0.7.4-alpha4"]
[slingshot "0.7.2"]
[org.cl... | Use my 1.3-ready version of difform until an official release is made. | Use my 1.3-ready version of difform until an official release is made.
| Clojure | epl-1.0 | ninjudd/cake |
54219597480809317e44c3743b705a266becbfe7 | project.clj | project.clj | (defproject compojure "1.2.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.5.1"]
[org.clojure/tools.... | (defproject compojure "1.2.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.5.1"]
[org.clojure/tools.... | Update Ring dependency to 1.3.2 | Update Ring dependency to 1.3.2
| Clojure | epl-1.0 | sidcarter/compojure,Christopher-Bui/compojure,weavejester/compojure,ezy023/compojure |
01e430388b504689b29138c2ee8c0c66c5cd5ee1 | src/webapp/framework/client/init.cljs | src/webapp/framework/client/init.cljs | (ns webapp.framework.client.init
(:require
[goog.net.cookies :as cookie]
[om.core :as om :include-macros true]
[om.dom :as dom :include-macros true]
[webapp.framework.client.coreclient :as c :include-... | (ns webapp.framework.client.init
(:require
[goog.net.cookies :as cookie]
[om.core :as om :include-macros true]
[om.dom :as dom :include-macros true]
[webapp.framework.client.coreclient :as c :include-... | Make Blockly the default editor | Make Blockly the default editor
this should make AppShare very easy to get started with
| Clojure | mit | zubairq/yazz,zubairq/AppShare,zubairq/gosharedata,zubairq/gosharedata,zubairq/yazz,zubairq/AppShare,zubairq/AppShare,zubairq/AppShare |
49a6632d8895673b64cf01a1ef9dd0ded507be9c | project.clj | project.clj | (defproject org.flatland/useful "0.10.1"
:description "A collection of generally-useful Clojure utility functions"
:license {:name "Eclipse Public License - v 1.0"
:url "http://www.eclipse.org/legal/epl-v10.html"
:distribution :repo}
:url "https://github.com/flatland/useful"
:dependencie... | (defproject org.flatland/useful "0.10.1"
:description "A collection of generally-useful Clojure utility functions"
:license {:name "Eclipse Public License - v 1.0"
:url "http://www.eclipse.org/legal/epl-v10.html"
:distribution :repo}
:url "https://github.com/flatland/useful"
:dependencie... | Update testall alias to match clojure version | Update testall alias to match clojure version
| Clojure | epl-1.0 | jafingerhut/useful,amalloy/useful,flatland/useful |
782299532df36279cb5262da8da650f92d7de274 | project.clj | project.clj | (defproject sparkledriver "0.2.1"
:description "A clojure wrapper for jBrowserDriver, which is a Selenium-compatible wrapper around JFX embedded WebKit."
:url "https://github.com/jackrusher/sparkledriver"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dep... | (defproject sparkledriver "0.2.0"
:description "A clojure wrapper for jBrowserDriver, which is a Selenium-compatible wrapper around JFX embedded WebKit."
:url "https://github.com/jackrusher/sparkledriver"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dep... | Revert "added test for ad blocking" | Revert "added test for ad blocking"
This reverts commit 512a24c6ce489d43d3bf608b92936f43cda018ad.
| Clojure | epl-1.0 | jackrusher/sparkledriver |
343e031f386029426838542ba95ad6cc1f68cc41 | src/cadence/model.clj | src/cadence/model.clj | (ns cadence.model
(:refer-clojure :exclude [identity])
(:require [monger.core :as mg]
[monger.collection :as mc]
[cadence.model.validators :as is-valid]
[noir.validation :as vali]
[cemerick.friend :as friend])
(:use clojure.walk
[cemerick.friend.credentials ... | (ns cadence.model
(:refer-clojure :exclude [identity])
(:require [monger.core :as mg]
[monger.collection :as mc]
[cadence.model.validators :as is-valid]
[noir.validation :as vali]
[cemerick.friend :as friend])
(:use clojure.walk
[cemerick.friend.credentials ... | Use insert instead of save when adding a user. | Use insert instead of save when adding a user.
| Clojure | epl-1.0 | RyanMcG/Cadence,RyanMcG/Cadence |
d3071d40bd81155e2d1dc19031e8fb7646244f0c | src/main/clojure/lazytest/testable.clj | src/main/clojure/lazytest/testable.clj | (ns lazytest.testable)
(defprotocol Testable
(get-tests [this]
"Returns a seq of RunnableTest objects. Processes the :focus metadata flag.
Default implementation recurses on all Vars in a namespace, unless
that namespace has :get-tests metadata."))
(defn focused?
"True if x has :focus metadata set to true."
[... | (ns lazytest.testable)
(defprotocol Testable
(get-tests [this]
"Returns a seq of RunnableTest objects. Processes the :focus metadata flag.
Default implementation recurses on all Vars in a namespace, unless
that namespace has :get-tests metadata."))
(defn focused?
"True if x has :focus metadata set to true."
[... | Remove get-possibly-unbound-var; just use bound? | Remove get-possibly-unbound-var; just use bound?
| Clojure | epl-1.0 | stuartsierra/lazytest |
f53c8a6e7fac0aff10148c3bcbe1ea9a5408cadb | test/quil/snippet.clj | test/quil/snippet.clj | (ns quil.snippet
(:require [quil.core :as q]
[quil.util :refer [no-fn]]
[clojure.test :refer [is]]))
(def default-size [500 500])
(defmacro snippet-as-test [name opts & draw-fn-body]
`(let [result# (promise)]
(q/sketch
:title (str '~name)
:size default-size
:renderer... | (ns quil.snippet
(:require [quil.core :as q]
[quil.util :refer [no-fn]]
[clojure.test :refer [is]]))
(def default-size [500 500])
(defmacro snippet-as-test [name opts & draw-fn-body]
`(let [result# (promise)]
(Thread/sleep 100)
(q/sketch
:title (str '~name)
:size defa... | Add delay between tests so frame can be cleaned up before new test starts. | Add delay between tests so frame can be cleaned up before new test starts.
| Clojure | epl-1.0 | pxlpnk/quil,quil/quil,mi-mina/quil,craftybones/quil,jobez/quil-video |
18e9d674a998f26d8b5032ddd9370296d70d679d | test/active/clojure/test_runner.cljs | test/active/clojure/test_runner.cljs | (ns active.clojure.test-runner
(:require [doo.runner :refer-macros [doo-tests]]
[active.clojure.condition-test]
[active.clojure.debug-test]
[active.clojure.lens-test]
[active.clojure.monad-test]
[active.clojure.record-test]
[active.clojure.config... | (ns active.clojure.test-runner
(:require [doo.runner :refer-macros [doo-tests]]
[active.clojure.condition-test]
[active.clojure.debug-test]
[active.clojure.lens-test]
[active.clojure.monad-test]
[active.clojure.record-test]
[active.clojure.match-... | Include match tests in runner. | Include match tests in runner.
| Clojure | epl-1.0 | active-group/active-clojure |
30daad2c3c37ddd3c534632d8420d1e7b914233a | test/app/test/interactive.clj | test/app/test/interactive.clj | (ns app.test.interactive
(:use [app.interactive]
[conjure.core]
[clojure.test]))
(deftest can-quit
(let [input-command "quit\r"]
(with-in-str
input-command
(interactive []))))
| (ns app.test.interactive
(:use [app.interactive]
[conjure.core]
[clojure.test]))
(deftest can-quit
(let [input-command "quit\r"]
(with-in-str
input-command
(interactive []))))
(deftest list-shows-error-if-no-classes-loaded
(let [command-sequence ["list" "quit"]
input-stri... | Test list command shows error when there are not any classes loaded | Test list command shows error when there are not any classes loaded
| Clojure | apache-2.0 | mshravanreddi/effectivejava,ftomassetti/effectivejava,dushmis/effectivejava,ftomassetti/effectivejava,dushmis/effectivejava,mshravanreddi/effectivejava |
6fc2a3491ef4f6365734f09df09e109e0f0e16b5 | scripts/repl.clj | scripts/repl.clj | (require
'[cljs.repl :as repl]
'[cljs.repl.nashorn :as nashorn])
(cljs.repl/repl
(cljs.repl.nashorn/repl-env)
:output-dir "out"
:cache-analysis true)
| (require
'[cljs.repl :as repl]
'[cljs.repl.node :as node])
(cljs.repl/repl
(node/repl-env)
:output-dir "out"
:cache-analysis true)
| Use node REPL instead of Nashorn | Use node REPL instead of Nashorn
Nashorn doesn't provide a suitable async scheduler for Bluebird out of
the box and Node does.
See https://github.com/petkaantonov/bluebird/wiki/Error:-No-async-scheduler-available
| Clojure | mpl-2.0 | funcool/promesa,borkdude/promesa |
25edfd3570223baf7de898b478d89c0220e5e8f5 | dev/user.clj | dev/user.clj | (ns user
(:require
[clojure.java.io :as io]
[clojure.string :as str]))
| (ns user
(:require
[clojure.java.io :as io]
[clojure.string :as str]
(puget
data
[printer :as puget])
[vault.blob.core :as blob]))
| Add dev alias for vault.blob.core as blob. | Add dev alias for vault.blob.core as blob.
| Clojure | unlicense | greglook/vault |
868b6221491081da123bf45061ff4ef2bc4342ce | src/runbld/util/data.clj | src/runbld/util/data.clj | (ns runbld.util.data)
;; http://dev.clojure.org/jira/browse/CLJ-1468
(defn deep-merge
"Like merge, but merges maps recursively."
{:added "1.7"}
[& maps]
(if (every? map? maps)
(apply merge-with deep-merge maps)
(last maps)))
(defn deep-merge-with
"Like merge-with, but merges maps recursively, applyi... | (ns runbld.util.data
(:refer-clojure :exclude [map?])
(:require [clojure.walk :refer [postwalk]]))
(defn map? [x]
(or (instance? clojure.lang.IPersistentMap x)
(instance? java.util.Map x)))
;; http://dev.clojure.org/jira/browse/CLJ-1468
(defn deep-merge
"Like merge, but merges maps recursively."
{:add... | Add a map? which considers java.util.Map, for keywordize-keys | Add a map? which considers java.util.Map, for keywordize-keys
| Clojure | apache-2.0 | elastic/runbld,elastic/runbld,elastic/runbld,elastic/runbld,elastic/runbld |
477ab0f3f7e150b4c9bf3676288caea3f1e8c6b1 | src/io/perun/gravatar.clj | src/io/perun/gravatar.clj | (ns io.perun.gravatar
(:require [io.perun.core :as perun]
[gravatar :as gr]))
(defn add-gravatar [file source-prop target-prop]
(if-let [email (get file source-prop)]
(assoc file target-prop (gr/avatar-url email))
file))
(defn find-gravatar [files source-prop target-prop]
(let [updated-... | (ns io.perun.gravatar
(:require [io.perun.core :as perun]
[gravatar.core :as gr]))
(defn add-gravatar [file source-prop target-prop]
(if-let [email (get file source-prop)]
(assoc file target-prop (gr/avatar-url email))
file))
(defn find-gravatar [files source-prop target-prop]
(let [updated-... | Use correct namespace... confused about this one | Use correct namespace... confused about this one
| Clojure | epl-1.0 | hashobject/perun |
3ebf8e71037e77454e853e0391568a2dc01b8961 | src/cljs/comic_reader/ui/site_list.cljs | src/cljs/comic_reader/ui/site_list.cljs | (ns comic-reader.ui.site-list
(:refer-clojure :exclude [get set])
(:require [re-frame.core :as re-frame]
[comic-reader.ui.base :as base]))
(defn get* [db]
(clojure.core/get db :site-list))
(defn set* [db sites]
(assoc db :site-list sites))
(defn setup! []
(re-frame/reg-sub
:site-list
(fn ... | (ns comic-reader.ui.site-list
(:refer-clojure :exclude [get set])
(:require [re-frame.core :as re-frame]
[comic-reader.ui.base :as base]))
(defn get* [db]
(clojure.core/get db :site-list))
(defn set* [db sites]
(assoc db :site-list sites))
(defn setup! []
(re-frame/reg-sub
:site-list
(fn ... | Use the namespaced keys being returned by the API now | Use the namespaced keys being returned by the API now
| Clojure | epl-1.0 | RadicalZephyr/comic-reader,RadicalZephyr/comic-reader |
f2969670b4cd275b09265d9f5de5b657b96d6e9c | src/cljs/modern_cljs/modern.cljs | src/cljs/modern_cljs/modern.cljs | (ns ember-cljs.core
(:require [clojure.string :as string]
[jquery] [ember]))
(def Ember js/Ember)
(def HomeRoute
(.extend (.-Route Ember)
#js {:model
(fn []
"Dynamic Data")}))
(def SmallComponentComponent
(.extend (.-Component Ember)
#js {:dynamicAttribute "foo"
... | (ns ember-cljs.core
(:require [clojure.string :as string]
[jquery] [ember]))
;; set Ember as a variable so I don't have to
;; type 'js/Ember' all the time.
(def Ember js/Ember)
(def HomeRoute
(.extend (.-Route Ember)
#js {:model
(fn []
"Dynamic Data")}))
(def SmallComponentCom... | Add some comments for fun | Add some comments for fun
| Clojure | epl-1.0 | totallymike/nopenopenope |
7a9830509a53f660a847f5176ccbb124dce3086c | project/scrape-trs/src/scrape_trs/cascade_climbers/core.clj | project/scrape-trs/src/scrape_trs/cascade_climbers/core.clj | (ns scrape-trs.cascade-climbers.core
(:require [scrape-trs.cascade-climbers
[extract-pager-urls :refer [extract-all-pager-urls]]
[extract-tr-urls :refer [extract-tr-urls]]
[extract-trip-report :refer [extract-trip-report]]])
(:import scrape_trs.protocol.ScrapeTripReport))
(de... | (ns scrape-trs.cascade-climbers.core
(:require [scrape-trs.cascade-climbers
[extract-pager-urls :refer [extract-all-pager-urls]]
[extract-tr-urls :refer [extract-tr-urls]]
[extract-trip-report :refer [extract-trip-report]]])
(:import scrape_trs.protocol.ScrapeTripReport))
(de... | Change CCScrapeTripReport to a deftype instead of defrecord. | Change CCScrapeTripReport to a deftype instead of defrecord.
| Clojure | mit | dylanfprice/stanfordml,dylanfprice/stanfordml |
fa73d9b029eede11c297abd701aa0174f7c0c8ad | src/braid/client/gateway/subs.cljs | src/braid/client/gateway/subs.cljs | (ns braid.client.gateway.subs
(:require
[re-frame.core :refer [reg-sub]]
[braid.client.gateway.user-auth.subs]
[braid.client.gateway.create-group.subs]))
(reg-sub
:gateway/field-value
(fn [state [_ field]]
(get-in state [:fields field :value])))
(reg-sub
:gateway/field-errors
(fn [state [_ f... | (ns braid.client.gateway.subs
(:require
[re-frame.core :refer [reg-sub]]
[braid.client.gateway.user-auth.subs]
[braid.client.gateway.create-group.subs]))
(reg-sub
:gateway/field-value
(fn [state [_ field]]
(get-in state [:fields field :value])))
(reg-sub
:gateway/field-errors
(fn [state [_ f... | Disable button while typing and doing remote validations | Disable button while typing and doing remote validations
| Clojure | agpl-3.0 | rafd/braid,braidchat/braid,rafd/braid,braidchat/braid |
6267d39196cbd145f4b765763eaf9c13a6afed63 | src/lab_notebook/core.cljs | src/lab_notebook/core.cljs | (ns lab-notebook.core
(:require [om.core :as om]
[om.dom :as dom]))
(defonce appstate (atom {}))
(defn app-container [cursor component]
(reify
om/IRender
(render [this]
(apply dom/div nil
(dom/h1 nil "Lab notebook")
nil
(for [x (range 10)]
(str x " "))))... | (ns lab-notebook.core
(:require [om.core :as om]
[om.dom :as dom]))
(defonce appstate (atom {}))
(defn app-container [cursor component]
(reify
om/IRender
(render [this]
(apply dom/div nil
(dom/h1 nil "Lab notebook")
nil
(for [entry (:entries cursor)]
(do... | Add the first entry iterator. | Add the first entry iterator.
| Clojure | cc0-1.0 | prachetasp/lispcast-lab-notebook,abeyonalaja/lisp-cast-om |
9cb0d5d550b6ff1220b6b57e9f0fc30984ce7561 | src/oxcart/pattern.clj | src/oxcart/pattern.clj | (ns oxcart.pattern)
(defn def?
"λ AST -> Boolean
Indicates whether the top level form of the argument AST is a def form."
[ast]
(-> ast
:op
(= :def)))
(defn def->symbol
"λ AST -> (Option Symbol)
If the argument form was a def, returns the defined
symbol. Otherwise the return value is gar... | ;; Copyright (c) Reid McKenzie, Rich Hickey & contributors. 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 th... | Add the license and some more docs | Add the license and some more docs
| Clojure | epl-1.0 | arrdem/oxcart,arrdem/oxcart |
2ed66c69505d6523141ac875c5edf4c2d4108471 | test/riemann/kairosdb_test.clj | test/riemann/kairosdb_test.clj | (ns riemann.kairosdb-test
(:use riemann.kairosdb
[riemann.time :only [unix-time]]
clojure.test)
(:require [riemann.logging :as logging]))
(logging/init)
(deftest ^:kairosdb ^:integration kairosdb-test
(let [k (kairosdb {:block-start true})]
(k {:host "riemann.local"
... | (ns riemann.kairosdb-test
(:use riemann.kairosdb
[riemann.time :only [unix-time]]
clojure.test)
(:require [riemann.logging :as logging]))
(logging/init)
(deftest ^:kairosdb ^:integration kairosdb-test
(let [k (kairosdb {:block-start true})]
(k {:host "riemann.local"
:service "kairosd... | Fix up indentation in kairosdb test | Fix up indentation in kairosdb test
| Clojure | epl-1.0 | jamtur01/riemann,abailly/riemann,aphyr/riemann,eric/riemann,riemann/riemann,Anvil/riemann,eric/riemann,jeanpralo/riemann,Anvil/riemann,bmhatfield/riemann,abailly/riemann,jamtur01/riemann,aphyr/riemann,jeanpralo/riemann,riemann/riemann,bmhatfield/riemann |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.