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
9323a144e5791e768c464af55579a72cc4ce1599
test/territory_bro/handler_test.clj
test/territory_bro/handler_test.clj
(ns territory-bro.handler-test (:require [clojure.test :refer :all] [ring.mock.request :refer :all] [territory-bro.handler :refer :all])) (deftest test-app (testing "main route" (let [response (app (request :get "/"))] (is (= 200 (:status response))))) (testing "not-found route...
(ns territory-bro.handler-test (:require [clojure.test :refer :all] [ring.mock.request :refer :all] [territory-bro.handler :refer :all] [territory-bro.db.migrations :as migrations] [territory-bro.db.core :as db])) (use-fixtures :once (fn [f] (db/connect!) (...
Fix no DB connection when running tests
Fix no DB connection when running tests
Clojure
apache-2.0
orfjackal/territory-bro,orfjackal/territory-bro,orfjackal/territory-bro
5edf84cf75e0467f1fed2d9e3cf6b92fe68bb53e
src/onyx/plugin/mysql.clj
src/onyx/plugin/mysql.clj
(ns onyx.plugin.mysql "Implementation of MySQL-specific utility functions." (:require [honeysql.core :as hsql] [honeysql.format :as hformat])) (defn upsert "Using honeysql-postgres, construct a SQL string to do upserts with Postgres. We expect the key in the 'where' map to be a primary key." [ta...
(ns onyx.plugin.mysql "Implementation of MySQL-specific utility functions." (:require [honeysql.core :as hsql] [honeysql.format :as hformat])) (defn upsert "Using honeysql-postgres, construct a SQL string to do upserts with Postgres. We expect the key in the 'where' map to be a primary key." [ta...
Document :on-duplicate-key-update clause order number
Document :on-duplicate-key-update clause order number
Clojure
epl-1.0
onyx-platform/onyx-sql
e2aa1dba416e51dfcfc0773f94da670ae8563e08
lein/profiles.clj
lein/profiles.clj
{ ;; inf-clojure support :jvm-opts ["-Dclojure.server.repl={:port 5555 :accept clojure.core.server/repl}"] ;; for all that repl goodness :user { :dependencies [[org.clojure/tools.namespace "0.3.0-alpha4"] [eftest "0.5.1"]] :plugins [[lein-cljfmt "0.4.1" :exclusions [org.clojure/clo...
{ ;; inf-clojure support :jvm-opts ["-Dclojure.server.repl={:port 5555 :accept clojure.core.server/repl}"] ;; for all that repl goodness :user { :dependencies [[org.clojure/tools.namespace "0.3.0-alpha4"] [clj-http "3.9.0"] [eftest "0.5.1"]] :plugins [[lein-...
Add clj-http and lein-ancient to lein profile
Add clj-http and lein-ancient to lein profile
Clojure
mit
lukaszkorecki/cult-leader
92ac715fbd5a7f15791025529e788877e841dd7a
src/cljs/theatralia/core.cljs
src/cljs/theatralia/core.cljs
(ns theatralia.core (:require [goog.dom :as gdom] [om.core :as om :include-macros true] [om.dom :as dom :include-macros true])) ;;; Credits: https://github.com/swannodette/om (enable-console-print!) (println "Hello world!") (defn widget [data owner] (reify om/IRender (render [thi...
(ns theatralia.core (:require [goog.dom :as gdom] [om.core :as om :include-macros true] [om.dom :as dom :include-macros true])) ;;; Credits: ;;; - https://github.com/swannodette/om ;;; - https://github.com/swannodette/om/wiki/Basic-Tutorial (enable-console-print!) (println "Hello world!")...
Set up an input field on the try-it-out page
Set up an input field on the try-it-out page I'm going to do a bit of vertical experimentation: add an input field on the client, send a request to the server, process it on the server, store something in the database. This is the first step on that way.
Clojure
mit
u-o/theatralia,rmoehn/theatralia
de2da369118cebafa786ad1a5b9bf09ab6507a15
examples/todomvc/project.clj
examples/todomvc/project.clj
(defproject todomvc-re-frame "0.11.0-rc2-SNAPSHOT" :dependencies [[org.clojure/clojure "1.10.1"] [org.clojure/clojurescript "1.10.520" :exclusions [com.google.javascript/closure-compiler-unshaded org.clojure/google-closure-library]] ...
(defproject todomvc-re-frame "0.11.0-rc2-SNAPSHOT" :dependencies [[org.clojure/clojure "1.10.1"] [org.clojure/clojurescript "1.10.520" :exclusions [com.google.javascript/closure-compiler-unshaded org.clojure/google-closure-library]] ...
Upgrade todomvc example lein-shadow to 0.1.6
Upgrade todomvc example lein-shadow to 0.1.6
Clojure
mit
Day8/re-frame,Day8/re-frame,Day8/re-frame
9a018e1926c5be6367180a146c64a17873088307
src/ecregister/favorites.clj
src/ecregister/favorites.clj
(ns ecregister.favorites (:gen-class) (:require [ecregister.posts :as posts]) (:require [clj-time.core :as t]) (:require [clj-time.format :as f])) (defn parse-date [str] (f/parse (f/formatters :date-time-no-ms) str)) (defn is-more-recent [date post] "checks if post is more recent than date" (when-let [p...
(ns ecregister.favorites (:gen-class) (:require [ecregister.posts :as posts]) (:require [clj-time.core :as t]) (:require [clj-time.format :as f])) (defn parse-date [str] (f/parse (f/formatters :date-time-no-ms) str)) (defn is-more-recent [date post] "checks if post is more recent than date" (when-let [p...
Update format of fav posts output
Update format of fav posts output
Clojure
epl-1.0
dimsuz/ecregister
d0c714b58e92fba99e1a23dfac11c5d74ed5f324
src/cljs/subman/routes.cljs
src/cljs/subman/routes.cljs
(ns subman.routes (:require [secretary.core :as secretary :include-macros true :refer [defroute]] [goog.events :as gevents] [goog.history.EventType :as history-event] [subman.deps :as d])) (defn set-search-query "Set value of stable search query" [value] (when-let [state (se...
(ns subman.routes (:require [secretary.core :as secretary :include-macros true :refer [defroute]] [goog.events :as gevents] [goog.history.EventType :as history-event] [subman.deps :as d])) (defn set-search-query "Set value of stable search query" [value] (when-let [state (se...
Update search query only if it necessary
Update search query only if it necessary
Clojure
epl-1.0
submanio/subman-parser
6baaa4a5c0d0e10e64b4c7a29bad30e50b9b506b
.lein/profiles.clj
.lein/profiles.clj
{:user {:aliases {"math" ^{:doc "Start a REPL with math dependencies added."} ["with-profile" "+math" "repl"] "eval" ^{:doc "Evaluate a Clojure string with clojure.main/main."} ["run" "-m" "clojure.main/main" "-e"]} :plugins [[...
{:user {:aliases {"math" ^{:doc "Start a REPL with math dependencies added."} ["with-profile" "+math" "repl"] "eval" ^{:doc "Evaluate a Clojure string with clojure.main/main."} ["run" "-m" "clojure.main/main" "-e"]} :plugins [[...
Include primes in math repl.
Include primes in math repl.
Clojure
mit
hyPiRion/dotfiles
136a1750d8b495a3ed7b99e10ff587b9fef61a02
.lein/profiles.clj
.lein/profiles.clj
{:user {:dependencies [[clj-stacktrace "0.2.4"]] :plugins [[lein-tarsier "0.9.4-SNAPSHOT"] [lein-swank "1.4.4"] [lein-difftest "1.3.7"] [lein-clojars "0.9.1"] ;[jark/jark-server "0.4.0"] [lein-pprint "1.1.1"] ...
{:user {:dependencies [[clj-stacktrace "0.2.4"]] :plugins [[lein-tarsier "0.9.4-SNAPSHOT"] [lein-swank "1.4.4"] [lein-difftest "1.3.7"] [lein-clojars "0.9.1"] ;[jark/jark-server "0.4.0"] [lein-pprint "1.1.1"] ...
Increase lein repl timeout to two minutes.
Increase lein repl timeout to two minutes.
Clojure
unlicense
RyanMcG/dotfiles,RyanMcG/dotfiles,RyanMcG/dotfiles,RyanMcG/dotfiles,RyanMcG/dotfiles,RyanMcG/dotfiles,RyanMcG/dotfiles
4b1319bde1f4c1b50c6f44b2e7ea3927b6d68e44
project.clj
project.clj
(defproject statuses "1.0.0-SNAPSHOT" :description "Statuses app for innoQ" :url "https://github.com/innoq/statuses" :license {:name "Apache License, Version 2.0" :url "http://www.apache.org/licenses/LICENSE-2.0" :distribution :repo :comments "A business-friendly OSS license"} ...
(defproject statuses "1.0.0-SNAPSHOT" :description "Statuses app for innoQ" :url "https://github.com/innoq/statuses" :license {:name "Apache License, Version 2.0" :url "http://www.apache.org/licenses/LICENSE-2.0" :distribution :repo :comments "A business-friendly OSS license"} ...
Change name of generated uberjar to statuses.jar
Change name of generated uberjar to statuses.jar Makes deployment easier and there is not much information in keeping the version number and the standalone part.
Clojure
apache-2.0
mvitz/statuses,innoq/statuses
480984b1ec41dd38fdebd4ecbd7ab3cbd251ef13
project.clj
project.clj
(defproject onyx-app/lein-template "0.10.0.0-beta14" :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
f42ccdb00f90daeb95ddfa1f45d094dd76f29686
project.clj
project.clj
(defproject madouc "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"] [ring/ring-core "1.5.1"] ...
(defproject madouc "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"] [ring/ring-core "1.5.1"] ...
Replace conman by hikari-cp and hugsql
Replace conman by hikari-cp and hugsql
Clojure
epl-1.0
c-garcia/madouc
b05e861896685b4ca1b6eaa6be36bc1905d9db9f
project.clj
project.clj
(defproject clj-gatling "0.1.0-SNAPSHOT" :description "FIXME: write description" :url "http://example.com/FIXME" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.5.1"] [org.clojure/core.async "0.1.267.0...
(defproject clj-gatling "0.1.0-SNAPSHOT" :description "FIXME: write description" :url "http://example.com/FIXME" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.5.1"] [org.clojure/core.async "0.1.267.0...
Add dependendy to http-kit to enable http requests
Add dependendy to http-kit to enable http requests
Clojure
epl-1.0
mhjort/clj-gatling
7d1855ffe5bc8b41c26ae37640de5bcc89d9dbe8
project.clj
project.clj
(defproject cli4clj "1.1.1" ;(defproject cli4clj "1.1.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.1.1" (defproject cli4clj "1.1.2-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...
Switch back to snapshot version.
Switch back to snapshot version.
Clojure
epl-1.0
ruedigergad/cli4clj
92729026b1a172c62789e6bf3c8cb2ba74279b12
project.clj
project.clj
(defproject clj-fst "0.1.0" :description "Finite State Transducers (FST) for Clojure" :url "https://github.com/structureddynamics/clj-fst" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.6.0"] [org.apa...
(defproject clj-fst "0.1.0" :description "Finite State Transducers (FST) for Clojure" :url "https://github.com/structureddynamics/clj-fst" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.6.0"] [org.apa...
Remove dependency on the marginalia snapshot
Remove dependency on the marginalia snapshot
Clojure
epl-1.0
structureddynamics/clj-fst
f55e0cb6fddf09d7433d4e257aeea27ac1f784f1
project.clj
project.clj
(defproject onyx-plugin/lein-template "0.8.1.2" :description "A Leiningen 2.0 template for new Onyx plugins" :url "http://github.com/MichaelDrogalis/onyx-plugin" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :repositories {"snapshots" {:url "https://cloja...
(defproject onyx-plugin/lein-template "0.8.1.3-SNAPSHOT" :description "A Leiningen 2.0 template for new Onyx plugins" :url "http://github.com/MichaelDrogalis/onyx-plugin" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :repositories {"snapshots" {:url "http...
Prepare for next release cycle.
Prepare for next release cycle.
Clojure
epl-1.0
onyx-platform/onyx-plugin
5c9b60d89f373c6661dc5cd010439d6ab00009bf
project/analyze-data/build.boot
project/analyze-data/build.boot
; vi: ft=clojure (set-env! :resource-paths #{"src"} :dependencies '[[org.clojure/clojure "1.8.0"] [incanter "1.9.1"]]) (task-options! aot {:all true} pom {:project 'analyze-data :version "0.0.0"} jar {:main 'analyze-data.core}) (deftask build [] (comp (aot) (pom) (uber) (...
; vi: ft=clojure (set-env! :resource-paths #{"src"} :dependencies '[[org.clojure/clojure "1.8.0"] [incanter "1.9.0"]]) (task-options! aot {:all true} pom {:project 'analyze-data :version "0.0.0"} jar {:main 'analyze-data.core}) (deftask build [] (comp (aot) (pom) (uber) (...
Downgrade to incanter 1.9.0 because 1.9.1 doesn't appear to be working.
Downgrade to incanter 1.9.0 because 1.9.1 doesn't appear to be working.
Clojure
mit
dylanfprice/stanfordml,dylanfprice/stanfordml
47366525ae4c673f7983b2ce4e9b62831370808d
test/desdemona/query_test.clj
test/desdemona/query_test.clj
(ns desdemona.query-test (:require [desdemona.query :as q] [clojure.test :refer [deftest is]])) (deftest query-tests (is (= [{:ip "10.0.0.1"}] (q/query '(== (:ip entry) "10.0.0.1") [{:ip "10.0.0.1"}]))))
(ns desdemona.query-test (:require [desdemona.query :as q] [clojure.test :refer [deftest is]])) (deftest query-tests (is (= [{:ip "10.0.0.1"}] (q/query '(== (:ip x) "10.0.0.1") [{:ip "10.0.0.1"}]))))
Use x as var for now
Use x as var for now Later, I'll need to walk the tree to find which variables are logic variables that should be fresh.
Clojure
epl-1.0
RackSec/desdemona
d8c788e91ac4b4449bda4ecf67deb548d80b5051
project.clj
project.clj
(defproject com.gfredericks/goog-integer "0.1.0-SNAPSHOT" :description "Temporary fork of goog.math.Integer from the google closure library." :url "https://github.com/gfredericks/goog-integer" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[...
(defproject com.gfredericks/goog-integer "0.1.0-SNAPSHOT" :description "Temporary fork of goog.math.Integer from the google closure library." :url "https://github.com/gfredericks/goog-integer" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[...
Add clojars as deploy repo
Add clojars as deploy repo
Clojure
epl-1.0
gfredericks/goog-integer
cc0429e9c42d02f70f8b267eb764c34aeda4b69c
project.clj
project.clj
(defproject clojurescript-npm "0.2.0-SNAPSHOT" :description "The ClojureScript Programming Language, packaged for Node.js" :url "https://github.com/nasser/clojurescript-npm" :license {:name "Eclipse Public License" :url "http://nasser.github.io/clojurescript-npm/blob/master/LICENSE"} :dependencies [...
(defproject clojurescript-npm "0.2.0-SNAPSHOT" :description "The ClojureScript Programming Language, packaged for Node.js" :url "https://github.com/nasser/clojurescript-npm" :license {:name "Eclipse Public License" :url "http://nasser.github.io/clojurescript-npm/blob/master/LICENSE"} :dependencies [...
Set nodejs as the target
Set nodejs as the target
Clojure
epl-1.0
nasser/clojurescript-npm
d309208a987f89eda607b20b9cb39922198ebbdb
repl-code.clj
repl-code.clj
;; For repl. ;; Sample arb doc in edn ;; ;; [{:arb/metadata [{:html-tag :body}] ;; :arb/value [{:arb/metadata [{:html-tag :h1}] ;; :arb/value [{:text "Title"}]} ;; {:arb/metadata [{:html-tag :p}] ;; :arb/value [{:text "This is a paragraph."}]}]}] (require '[clojure.core....
;; For repl. ;; Sample arb doc in edn ;; ;; [{:arb/metadata [{:html-tag :body}] ;; :arb/value [{:arb/metadata [{:html-tag :h1}] ;; :arb/value [{:text "Title"}]} ;; {:arb/metadata [{:html-tag :p}] ;; :arb/value [{:text "This is a paragraph."}]}]}] ;; for client api (requi...
Update repl cut and paste code
Update repl cut and paste code
Clojure
epl-1.0
ezmiller/datemo
72b7fbbcf60559a92f67eb8569fa58b2b8a6540d
examples/simple/project.clj
examples/simple/project.clj
(defproject simple "lein-git-inject/version" :dependencies [[org.clojure/clojure "1.10.1"] [org.clojure/clojurescript "1.10.520" :exclusions [com.google.javascript/closure-compiler-unshaded org.clojure/google-closure-library ...
(defproject simple "lein-git-inject/version" :dependencies [[org.clojure/clojure "1.10.1"] [org.clojure/clojurescript "1.10.520" :exclusions [com.google.javascript/closure-compiler-unshaded org.clojure/google-closure-library ...
Upgrade simple example lein-shadow to 0.1.7
Upgrade simple example lein-shadow to 0.1.7
Clojure
mit
Day8/re-frame,Day8/re-frame,Day8/re-frame
36fd795befcfc83b657317d9a07ebe8c7060b9ea
src/memoria/handlers/app.clj
src/memoria/handlers/app.clj
(ns memoria.handlers.app (:require [compojure.core :refer :all] [compojure.route :as route] [ring.middleware.params :refer [wrap-params]] [ring.middleware.json :refer [wrap-json-response wrap-json-body]] [taoensso.timbre :as timbre] [memoria.db :as db] ...
(ns memoria.handlers.app (:require [compojure.core :refer :all] [compojure.route :as route] [ring.middleware.params :refer [wrap-params]] [ring.middleware.json :refer [wrap-json-response wrap-json-body]] [taoensso.timbre :as timbre] [memoria.db :as db] ...
Add documentation for ring middlewares.
Add documentation for ring middlewares.
Clojure
bsd-3-clause
cassiomarques/memoria,FundingCircle/memoria,FundingCircle/memoria
0dfa39063396272859dc1fe18453081992311f6f
server/src/spira/core/util.clj
server/src/spira/core/util.clj
;; Copyright (C) 2013 Anders Sundman <anders@4zm.org> ;; ;; This program is free software: you can redistribute it and/or modify ;; it under the terms of the GNU Affero General Public License as published by ;; the Free Software Foundation, either version 3 of the License, or ;; (at your option) any later version. ;; ;...
;; Copyright (C) 2013 Anders Sundman <anders@4zm.org> ;; ;; This program is free software: you can redistribute it and/or modify ;; it under the terms of the GNU Affero General Public License as published by ;; the Free Software Foundation, either version 3 of the License, or ;; (at your option) any later version. ;; ;...
Support for parsing large numbers
Support for parsing large numbers
Clojure
agpl-3.0
4ZM/spira
90d639c5a50fcf4f220c990cfe9cce707c5c445c
src/robb1e/web.clj
src/robb1e/web.clj
(ns robb1e.web (:require [compojure.core :refer [defroutes]] [ring.adapter.jetty :as container] [compojure.handler :as handler] [compojure.route :as route] [robb1e.controllers.home :as homeController]) (:gen-class)) (defroutes routes (homeController/routes "postgre...
(ns robb1e.web (:require [compojure.core :refer [defroutes]] [ring.adapter.jetty :as container] [compojure.handler :as handler] [compojure.route :as route] [robb1e.controllers.home :as homeController]) (:gen-class)) (def port (Integer. (or (System/getenv "PORT") "8...
Use environment variables if present
Use environment variables if present
Clojure
epl-1.0
robb1e/robb1e.clj,robb1e/robb1e.clj
62b34675767d3aadbcc5ee1d46cd6c2e505225a9
src/fivethreeonern/sqlite.cljs
src/fivethreeonern/sqlite.cljs
(ns fivethreeonern.sqlite (:require [mount.core :refer-macros [defstate]])) (def node-module (js/require "react-native-sqlite-storage")) (defstate sqlite :start (.openDatabase node-module #js {:name "531.db" :location "default"} #(js/console.log "sql ok") #(js/console.log "sql error"))) (defn execute-sql [tx fin...
(ns fivethreeonern.sqlite (:require [mount.core :refer-macros [defstate]])) (def node-module (js/require "react-native-sqlite-storage")) (defstate sqlite :start (.openDatabase node-module #js {:name "531.db" :location "default"} #(js/console.log "sql ok") #(js/console.log "sql error"))) (defn- execute-sql [tx [q...
Add error handling to query functions
Add error handling to query functions
Clojure
epl-1.0
fivethreeone/fivethreeonern,fivethreeone/fivethreeonern,fivethreeone/fivethreeonern
30750e49344136e50245ad61f60124d62fb04cb5
services/tnseq-phase0-b.clj
services/tnseq-phase0-b.clj
{:name "rnaseq-phase0-b", :path "", :graph {:strtscratch {:type "func" :name "start-scratch-space" :args ["#1"]} :bcstats {:type "func" :name "collect-barcode-stats"} :wrtstats {:type "func" :name "write-bcmaps"} ...
{:name "tnseq-phase0-b", :path "", :graph {:strtscratch {:type "func" :name "start-scratch-space" :args ["#1"]} ; EID :bcstats {:type "func" :name "collect-barcode-stats"} :wrtstats {:type "func" :name "write-bcma...
Fix bug - wrong name!
Fix bug - wrong name!
Clojure
mit
jsa-aerial/aerobio,jsa-aerial/aerobio,jsa-aerial/aerobio,jsa-aerial/aerobio,jsa-aerial/aerobio
79c6eaf6fc56849c13bd6ca0f22cbfe3235433c5
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 org.clojure:clojure to v1.10.2
Update dependency org.clojure:clojure to v1.10.2
Clojure
unlicense
nicokosi/strava-activity-graphs
3ce1ce006f6527336f02f54df636b7efa0ba5794
project.clj
project.clj
(defproject cli4clj "1.2.3" ;(defproject cli4clj "1.2.3-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.2.3" (defproject cli4clj "1.2.4-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
bb3d8a4150b2a07b125bcfcef5d2614e1f760476
project.clj
project.clj
(defproject buddy/buddy-sign "0.7.1" :description "High level message signing for Clojure" :url "https://github.com/funcool/buddy-sign" :license {:name "Apache 2.0" :url "http://www.apache.org/licenses/LICENSE-2.0"} :dependencies [[org.clojure/clojure "1.7.0" :scope "provided"] [bud...
(defproject buddy/buddy-sign "0.7.1" :description "High level message signing for Clojure" :url "https://github.com/funcool/buddy-sign" :license {:name "Apache 2.0" :url "http://www.apache.org/licenses/LICENSE-2.0"} :dependencies [[org.clojure/clojure "1.7.0" :scope "provided"] [bud...
Update buddy-core dependency to 0.8.1
Update buddy-core dependency to 0.8.1
Clojure
apache-2.0
funcool/buddy-sign
05281d5729ec68f3d1195470a44c69a4c49b4e72
project.clj
project.clj
(defproject quil/processing-js "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"})
(defproject quil/processing-js "1.4.8" :description "FIXME: write description" :url "http://example.com/FIXME" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"})
Set quil/processing-js version same as version of current supported Processing.js.
Set quil/processing-js version same as version of current supported Processing.js.
Clojure
epl-1.0
Norgat/quil-processing-js
ffe1d2d327bc548b8b743c68e2b684ef643faee2
project.clj
project.clj
(defproject statuses "1.0.0-SNAPSHOT" :description "Statuses app for innoQ" :url "https://github.com/innoq/statuses" :license {:name "Apache License, Version 2.0" :url "http://www.apache.org/licenses/LICENSE-2.0" :distribution :repo :comments "A business-friendly OSS license"} ...
(defproject statuses "1.0.0-SNAPSHOT" :description "Statuses app for innoQ" :url "https://github.com/innoq/statuses" :license {:name "Apache License, Version 2.0" :url "http://www.apache.org/licenses/LICENSE-2.0" :distribution :repo :comments "A business-friendly OSS license"} ...
Update eastwood from 0.2.0 to 0.2.2
Update eastwood from 0.2.0 to 0.2.2
Clojure
apache-2.0
innoq/statuses,mvitz/statuses
5b0a9e8c9d6ea83321631f5a70943c73089321ae
functions/src/wort/handler.clj
functions/src/wort/handler.clj
(ns wort.handler (:require [compojure.core :refer :all] [compojure.route :as route] [ring.util.response :as resp] [wort.core :as core] [ring.middleware.defaults :refer [wrap-defaults site-defaults]])) (defroutes app-routes (GET "/" [] (resp/content-type (resp/res...
(ns wort.handler (:require [compojure.core :refer :all] [compojure.route :as route] [ring.util.response :as resp] [wort.core :as core] [ring.middleware.defaults :refer [wrap-defaults site-defaults]])) (defroutes app-routes (GET "/" [] (resp/content-type (resp/res...
Change func to return file response, instead of litteral path
Change func to return file response, instead of litteral path
Clojure
mit
krwenholz/wort,krwenholz/wort
8791b45da59ce3d06b726d97f96571fd87664362
src/radicalzephyr/boot_junit.clj
src/radicalzephyr/boot_junit.clj
(ns radicalzephyr.boot-junit {:boot/export-tasks true} (:require [boot.core :as core]) (:import org.junit.runner.JUnitCore)) (defn failure->map [failure] {:description (.. failure (getDescription) (toString)) :exception (.getException failure) :message (.getMessage failure)}) (defn result->map [result] ...
(ns radicalzephyr.boot-junit {:boot/export-tasks true} (:require [boot.core :as core]) (:import org.junit.runner.JUnitCore)) (defn failure->map [failure] {:description (.. failure (getDescription) (toString)) :exception (.getException failure) :message (.getMessage failure)}) (defn result->map [result] ...
Make the packages argument mandatory
Make the packages argument mandatory
Clojure
epl-1.0
RadicalZephyr/boot-junit
3d0590c7ef7d9d9517acb54415c4d3bd6f1c92d0
test/clojars/test/unit/certs.clj
test/clojars/test/unit/certs.clj
(ns clojars.test.unit.certs (:require [clojure.test :refer :all])) (def sixty-days (* 86400 1000 60)) (deftest fail-when-gpg-key-is-about-to-expire (let [expire-date #inst "2017-09-04T00:00:00.000-00:00"] (is (< (System/currentTimeMillis) (- (.getTime expire-date) sixty-days)) (format "Securit...
(ns clojars.test.unit.certs (:require [clojure.test :refer :all])) (def sixty-days (* 86400 1000 60)) (deftest fail-when-gpg-key-is-about-to-expire (let [expire-date #inst "2017-09-04T00:00:00.000-00:00"] (is (< (System/currentTimeMillis) (- (.getTime expire-date) sixty-days)) (format "Securit...
Set cert test to check for new cert expire date
Set cert test to check for new cert expire date
Clojure
epl-1.0
technomancy/clojars-web,clojars/clojars-web,ato/clojars-web,tobias/clojars-web,clojars/clojars-web,tobias/clojars-web,technomancy/clojars-web,clojars/clojars-web,nberger/clojars-web,ato/clojars-web,nberger/clojars-web,tobias/clojars-web
bbdd404546afd0b31b2ed96b7692a0363b0647cf
src/buildviz/main.clj
src/buildviz/main.clj
(ns buildviz.main (:require [buildviz.build-results :as results] [buildviz.handler :as handler] [buildviz.http :as http] [buildviz.storage :as storage])) (def jobs-filename "buildviz_jobs") (def tests-filename "buildviz_tests") (defn- persist-jobs! [build-data] (storage/store!...
(ns buildviz.main (:require [buildviz.build-results :as results] [buildviz.handler :as handler] [buildviz.http :as http] [buildviz.storage :as storage] [clojure.java.io :as io] [clojure.string :as str])) (defn- path-for [file-name] (if-let [data-dir (Syst...
Allow to configure the data directory
Allow to configure the data directory
Clojure
bsd-2-clause
cburgmer/buildviz,cburgmer/buildviz,cburgmer/buildviz
a184b7f2859c2828b36f41ff1dbbed3a8517a100
src/hu/ssh/github_changelog.clj
src/hu/ssh/github_changelog.clj
(ns hu.ssh.github-changelog (:require [environ.core :refer [env]] [tentacles.core :as core] [tentacles.repos :as repos] [tentacles.pulls :as pulls] [clj-semver.core :as semver])) (defn repo "Gets the repository from its name" ([name] (repo "pro" name)) ([org repo] [org repo])) (defn parse-...
(ns hu.ssh.github-changelog (:require [environ.core :refer [env]] [tentacles.core :as core] [tentacles.repos :as repos] [tentacles.pulls :as pulls] [clj-semver.core :as semver])) (defn repo "Gets the repository from its name" ([name] (repo "pro" name)) ([org repo] [org repo])) (defn parse-...
Use subs(tring) instead of seq operations and inline if
Use subs(tring) instead of seq operations and inline if
Clojure
mit
whitepages/github-changelog
3536c8f9a550b7662259d522247d3c0e65f8e95a
src/clj/comic_reader/scrape.clj
src/clj/comic_reader/scrape.clj
(ns comic-reader.scrape (:require [clojure.string :as s] [net.cgrand.enlive-html :as html]) (:import java.net.URL)) (defn fetch-url [url] (html/html-resource (URL. url))) (defn extract-list [html selector normalize] (map normalize (html/select html selector))) (defn fetch-list [{:keys [url select...
(ns comic-reader.scrape (:require [clojure.string :as s] [clojure.java.io :as io] [net.cgrand.enlive-html :as html]) (:import java.net.URL)) (defn fetch-url [url] (html/html-resource (io/as-url url))) (defn extract-list [html selector normalize] (map normalize (html/select html selecto...
Use io/as-url instead of the URL constructor
Use io/as-url instead of the URL constructor
Clojure
epl-1.0
RadicalZephyr/comic-reader,RadicalZephyr/comic-reader
eb31c862b5f4dbc776acf889a09d9b5f7bec4b55
dev/src/user.clj
dev/src/user.clj
(ns user (:refer-clojure :exclude [dec < range <= min long int > - time / >= inc + max complement atom]) (:require [tick.alpha.api :refer :all] ;;[tick.deprecated.cal :refer [holidays-in-england-and-wales weekend?]] [tick.viz :refer [show-canvas view label]] ;;[tick.deprecated.schedule :as sch :refer [s...
(ns user (:require [tick.alpha.api :as t] ;;[tick.deprecated.cal :refer [holidays-in-england-and-wales weekend?]] [tick.viz :refer [show-canvas view label]] ;;[tick.deprecated.schedule :as sch :refer [schedule]] [clojure.spec.alpha :as s] clojure.test) (:import [java.time DayOfWeek])) (defn test-...
Fix to warnings on repl
Fix to warnings on repl
Clojure
mit
juxt/tick,juxt/tick
124c88ae9f92c2514bcbb88afb5a11f186dc2870
src/devcards/discuss/utils.cljs
src/devcards/discuss/utils.cljs
(ns devcards.discuss.utils (:require [discuss.communication.auth :as auth] [sablono.core :as html :refer-macros [html]])) (def shortcuts (html [:div.btn.btn-primary {:onClick #(auth/login "Christian" "iamgroot")} "Login"]))
(ns devcards.discuss.utils (:require [discuss.communication.auth :as auth] [sablono.core :as html :refer-macros [html]] [discuss.utils.common :as lib])) (def shortcuts (html [:div [:div.btn.btn-primary {:onClick #(auth/login "Christian" "iamgroot")} "Login"] [:div.btn.btn-...
Add more buttons to devcard-shortcuts
Add more buttons to devcard-shortcuts
Clojure
mit
hhucn/discuss,hhucn/discuss
0474e0acc1f48aaf3f2ddb2007e63f3d307457f2
project.clj
project.clj
(defproject onyx-app/lein-template "0.12.0.0-beta1" :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
c79ba2cdad6dcd3b29bf009a07d0776af25c6f48
project.clj
project.clj
(defproject io.nervous/hildebrand "0.2.1" :description "High-level, asynchronous AWS client library" :url "https://github.com/nervous-systems/hildebrand" :License {:name "Unlicense" :url "http://unlicense.org/UNLICENSE"} :scm {:name "git" :url "https://github.com/nervous-systems/hildebrand"} :deploy-repositor...
(defproject io.nervous/hildebrand "0.2.1" :description "High-level, asynchronous AWS client library" :url "https://github.com/nervous-systems/hildebrand" :license {:name "Unlicense" :url "http://unlicense.org/UNLICENSE"} :scm {:name "git" :url "https://github.com/nervous-systems/hildebrand"} :deploy-repositor...
Remove snapshots from dependencies, fix :license key
Remove snapshots from dependencies, fix :license key
Clojure
unlicense
nervous-systems/hildebrand
9eec7eb0b480e9145bfa6860536f0ba93bd0f8fd
src/examples/clj/first.clj
src/examples/clj/first.clj
(def scenes [{:subject "Frankie" :action "say" :object "relax"} {:subject "Lucy" :action "❤s" :object "Clojure"} {:subject "Rich" :action "tries" :object "a new conditioner"}]) (println "Peop...
;; Let's define some data using list / map ;; literals: (def scenes [{:subject "Frankie" :action "say" :object "relax"} {:subject "Lucy" :action "❤s" :object "Clojure"} {:subject "Rich" :action "tries" ...
Update intro page clojure example
Update intro page clojure example
Clojure
epl-1.0
junjiemars/clojuredocs,junjiemars/clojuredocs,junjiemars/clojuredocs,zk/clojuredocs,zk/clojuredocs,eivantsov/clojure_docs,zk/clojuredocs,eivantsov/clojure_docs
404e3bbd03338bff2741f0dca9dae263e2f1824b
test/clj_git/test/core_test.clj
test/clj_git/test/core_test.clj
(ns clj-git.test.core-test (:require [clojure.java.io :as io] [clojure.test :refer :all]) (:require [clj-git.core :as git] :reload-all)) (def es-src-dir (-> "clj_git" io/resource io/file .getParent (io/file "elasticsearch-s...
(ns clj-git.test.core-test (:require [clojure.java.io :as io] [clojure.test :refer :all] [environ.core :as environ]) (:require [clj-git.core :as git] :reload-all)) (defn abspath [path] (-> path io/file .getCanonicalPath)) (def es-src-dir (abspath (or (environ/env :elasti...
Make ES src dir configurable
Make ES src dir configurable
Clojure
apache-2.0
elastic/runbld,elastic/runbld,elastic/runbld,elastic/runbld,elastic/runbld
14947a939c3dea9b7e2ba18d1ab22dbee7e9473e
examples/debugging/project.clj
examples/debugging/project.clj
(defproject debugging "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.1.0-a...
(defproject debugging "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 debugging example.
Update catacumba version on debugging example.
Clojure
bsd-2-clause
coopsource/catacumba,coopsource/catacumba,mitchelkuijpers/catacumba,prepor/catacumba,funcool/catacumba,funcool/catacumba,mitchelkuijpers/catacumba,funcool/catacumba,prepor/catacumba
3b67945d77831d0187e91cf41714107ba4667f71
src/clj/hyphen_keeper/db.clj
src/clj/hyphen_keeper/db.clj
(ns hyphen-keeper.db "Persistence for the hyphenation dictionary" (:require [yesql.core :refer [defqueries]])) (def ^:private db "jdbc:mysql://localhost:3306/hyphenation?user=hyphenation&serverTimezone=UTC") (defqueries "hyphen_keeper/queries.sql" {:connection db}) (defn read-words "Return a coll of words for ...
(ns hyphen-keeper.db "Persistence for the hyphenation dictionary" (:require [yesql.core :refer [defqueries]])) (def ^:private db {:name "java:jboss/datasources/old-productions"}) (defqueries "hyphen_keeper/queries.sql" {:connection db}) (defn read-words "Return a coll of words for given `spelling`" [spelling...
Use JNDI to find the data source
Use JNDI to find the data source
Clojure
agpl-3.0
sbsdev/hyphen-keeper
34f1913d91afb3f8a118b18773d30ed1025b0b64
src/madouc/db.clj
src/madouc/db.clj
(ns madouc.db (:require [mount.core :refer [defstate]] [conman.core :as conman] [madouc.config :refer [env]])) (defn- make-pool-spec [host db user pass] {:jdbc-url (format "jdbc:postgresql://%s/%s" host db) :username user :password pass}) (defstate con :start (conman/connect! (ma...
(ns madouc.db (:require [mount.core :refer [defstate]] [conman.core :as conman] [madouc.config :refer [env]])) (defn- make-pool-spec [host db user pass] {:jdbc-url (format "jdbc:postgresql://%s/%s" host db) :username user :password pass}) (defstate con :start (conman/connect! (ma...
Add queries to database layer
Add queries to database layer
Clojure
epl-1.0
c-garcia/madouc
3544a204ffa7e9c634753345d245790d79beb31d
src/themis/extended_protos.clj
src/themis/extended_protos.clj
(ns themis.extended-protos (:require [themis.protocols :as protocols])) (extend-protocol protocols/Navigable clojure.lang.PersistentVector (-navigate [t coordinate-vec] (get-in t coordinate-vec)) clojure.lang.IPersistentMap (-navigate [t coordinate-vec] (get-in t coordinate-vec)))
(ns themis.extended-protos (:require [themis.protocols :as protocols])) (extend-protocol protocols/Navigable clojure.lang.PersistentVector (-navigate [t coordinate-vec] (get-in t coordinate-vec)) clojure.lang.IPersistentMap (-navigate [t coordinate-vec] (get-in t coordinate-vec)) java.lang.String...
Allow navigating strings as a base data structure
Allow navigating strings as a base data structure
Clojure
epl-1.0
ohpauleez/themis
37770587305bfff8a97dd490257467bae4768361
src/midje/emission/colorize.clj
src/midje/emission/colorize.clj
(ns ^{:doc "Functions dealing with making various forms of Midje output be ergonomically colorful."} midje.emission.colorize (:require [colorize.core :as color] [clojure.string :as str] [midje.config :as config]) (:use [midje.util.ecosystem :only [getenv on-windows?]])) (defn...
(ns ^{:doc "Functions dealing with making various forms of Midje output be ergonomically colorful."} midje.emission.colorize (:require [colorize.core :as color] [clojure.string :as str] [midje.config :as config]) (:use [midje.util.ecosystem :only [getenv on-windows?]])) (defn...
Convert keyword to a string name
Refactor: Convert keyword to a string name
Clojure
mit
marick/Midje,bens/Midje,aeriksson/Midje,yfractal/Midje
a1e4de4d68adebaf556b79eb8f65f8e549e8f6f1
env/dev/devsetup.cljs
env/dev/devsetup.cljs
(ns devsetup (:require [demo :as site] [runtests] [reagent.core :as r] [figwheel.client :as fw])) (defn test-results [] [runtests/test-output-mini]) (defn start! [] (demo/start! {:test-results test-results}) (runtests/run-tests)) (when r/is-client (fw/start {:websocke...
(ns ^:figwheel-always devsetup (:require [demo :as site] [runtests] [reagent.core :as r] [figwheel.client :as fw])) (when r/is-client (fw/start {:websocket-url "ws://localhost:3449/figwheel-ws"})) (defn test-results [] [runtests/test-output-mini]) (defn start! [] ...
Make tests only run once when figwheel reloads
Make tests only run once when figwheel reloads
Clojure
mit
reagent-project/reagent,reagent-project/reagent,reagent-project/reagent
6d47242601fded70c0418af4a6b93be656fcaf87
clojure/profiles.clj
clojure/profiles.clj
;; https://github.com/technomancy/leiningen/blob/stable/doc/PROFILES.md {:provided {:dependencies [[djblue/portal "0.21.2"]]} :user {:plugins [[cider/cider-nrepl "0.27.4"] [lein-ancient "1.0.0-RC3"] [lein-check-namespace-decls "1.0.4"] [lein-cljfmt "0.8.0"] [lein-nsorg "0.3.0"] [nrepl "0.9.0"] ...
;; https://github.com/technomancy/leiningen/blob/stable/doc/PROFILES.md {:provided {:dependencies [[djblue/portal "0.21.2"] [fipp "0.6.24"]]} :user {:plugins [[cider/cider-nrepl "0.27.4"] [lein-ancient "1.0.0-RC3"] [lein-check-namespace-decls "1.0.4"] [lein-cljfmt "0.8.0"] [lein-nsorg "0.3.0"] ...
Move portal to :provided section
Move portal to :provided section
Clojure
mit
agilecreativity/dotfiles,agilecreativity/dotfiles,agilecreativity/dotfiles
e34860fe6de6037fd8fe623e12a6e9246e69e79d
src/quil/helpers/applet_listener.clj
src/quil/helpers/applet_listener.clj
(ns quil.helpers.applet-listener (:gen-class :name quil.helpers.AppletListener :main false :init init :state listeners :constructors {[java.util.Map] []} :methods [["dispose" [] java.lang.Void]])) (defn safe-call [fn] (when fn (fn))) (defn -init [listeners] [[] listeners]) (defn -dispos...
(ns quil.helpers.applet-listener (:gen-class :name quil.helpers.AppletListener :main false :init init :state listeners :constructors {[java.util.Map] []} :methods [["dispose" [] java.lang.Object]])) (defn safe-call [fn] (when fn (fn))) (defn -init [listeners] [[] listeners]) (defn -disp...
Fix on-close handler so it can return any type, not only nil.
Fix on-close handler so it can return any type, not only nil.
Clojure
epl-1.0
quil/quil,jobez/quil-video,mi-mina/quil,craftybones/quil,pxlpnk/quil
6f8e027ffa7922f89626b80bd200c3f792712c88
project/analyze-data/build.boot
project/analyze-data/build.boot
; vi: ft=clojure (set-env! :resource-paths #{"src"} :dependencies '[[org.clojure/clojure "1.8.0"] [incanter "1.9.0"]]) (task-options! aot {:all true} pom {:project 'analyze-data :version "0.0.0"} jar {:main 'analyze-data.core}) (deftask build [] (comp (aot) (pom) (uber) (...
; vi: ft=clojure (set-env! :resource-paths #{"src", "test"} :dependencies '[[org.clojure/clojure "1.8.0"] [org.clojure/data.csv "0.1.3"] [incanter "1.9.0"] [adzerk/boot-test "1.2.0" :scope "test"]]) (require '[adzerk.boot-test :refer [test]]) (task-options! ...
Add data.csv, boot-test, and set up for testing.
Add data.csv, boot-test, and set up for testing.
Clojure
mit
dylanfprice/stanfordml,dylanfprice/stanfordml
5867baa1077ff174afd3f939fb3a1cd17e9e6815
src/clojure/clj_chess/ecn.clj
src/clojure/clj_chess/ecn.clj
(ns clj-chess.ecn "Functions for reading chess games in ECN (extensible chess notation) format." (:require [clojure.edn :as edn] [clojure.java.io :as io]) (:import (java.io PushbackReader))) (defn reader "Convenience function for creating a java PushbackReader for the given file name. Why isn't...
(ns clj-chess.ecn "Functions for reading chess games in ECN (extensible chess notation) format." (:require [clojure.edn :as edn] [clojure.java.io :as io]) (:import (java.io PushbackReader))) (defn reader "Convenience function for creating a java PushbackReader for the given file name. Why isn't...
Fix EOF bug when reading ECN files.
Fix EOF bug when reading ECN files.
Clojure
epl-1.0
romstad/clj-chess,romstad/clj-chess
4333d336111c0986d379fb3aa4b8b28a118ef0f2
src/selmer/node.clj
src/selmer/node.clj
(ns selmer.node " Node protocol for the objects that get accum'd in the post-parse vector. Same vector that will be processed by the runtime context-aware renderer. Currently only TextNodes and FunctionNodes. Anything that requires action upon context map data at runtime is handled by a generated anonymous func...
(ns selmer.node " Node protocol for the objects that get accum'd in the post-parse vector. Same vector that will be processed by the runtime context-aware renderer. Currently only TextNodes and FunctionNodes. Anything that requires action upon context map data at runtime is handled by a generated anonymous func...
Add toString implementation to TextNode
Add toString implementation to TextNode For ease of debugging, REPL interaction etc, add toString implementation for TextNode which simply returns the node text.
Clojure
epl-1.0
yogthos/Selmer,lucacervello/Selmer
7beb09a3e0e460d8c976f70d8a07ca2e468453e5
src/dsbdp/experiment_helper.clj
src/dsbdp/experiment_helper.clj
;;; ;;; Copyright 2015 Ruediger Gad ;;; ;;; This software is released under the terms of the Eclipse Public License ;;; (EPL) 1.0. You can find a copy of the EPL at: ;;; http://opensource.org/licenses/eclipse-1.0.php ;;; (ns ^{:author "Ruediger Gad", :doc "Helper that are primarily used during experime...
;;; ;;; Copyright 2015 Ruediger Gad ;;; ;;; This software is released under the terms of the Eclipse Public License ;;; (EPL) 1.0. You can find a copy of the EPL at: ;;; http://opensource.org/licenses/eclipse-1.0.php ;;; (ns ^{:author "Ruediger Gad", :doc "Helper that are primarily used during experime...
Use string replacement to display short version of proc-fns.
Use string replacement to display short version of proc-fns.
Clojure
epl-1.0
ruedigergad/dsbdp,ruedigergad/dsbdp,ruedigergad/dsbdp,ruedigergad/dsbdp
b5fd8c600e7503c4a7c5f1a09ba60c95e8d8c695
test/clj_ravendb/client_deleting_indexes_test.clj
test/clj_ravendb/client_deleting_indexes_test.clj
(ns clj-ravendb.client-deleting-indexes-test (:require [clojure.test :refer :all] [clj-ravendb.client :refer :all] [clj-ravendb.requests :as req] [clj-ravendb.responses :as res] [clj-ravendb.config :refer :all])) (let [caching-client (client ravendb-url ravendb-databas...
(ns clj-ravendb.client-deleting-indexes-test (:require [clojure.test :refer :all] [clj-ravendb.client :refer :all] [clj-ravendb.requests :as req] [clj-ravendb.responses :as res] [clj-ravendb.config :refer :all])) (let [caching-client (client ravendb-url ravendb-databas...
Create indexes with more unique names because of concurrent testing in travis.
Create indexes with more unique names because of concurrent testing in travis.
Clojure
mit
markwoodhall/clj-ravendb
a146e37ba5159cb6f807933c73854b185365cba5
src/tixi/mutators/delete.cljs
src/tixi/mutators/delete.cljs
(ns tixi.mutators.delete (:require [tixi.data :as d] [tixi.mutators.shared :as msh] [tixi.mutators.locks :as ml] [tixi.mutators.undo :as mu] [tixi.items :as i])) (defn delete-items! [ids] (when (not-empty ids) (mu/snapshot!) (doseq [id ids] (ml/delete-f...
(ns tixi.mutators.delete (:require [tixi.data :as d] [tixi.mutators.shared :as msh] [tixi.mutators.locks :as ml] [tixi.mutators.undo :as mu] [tixi.items :as i])) (defn delete-items! [ids] (when (not-empty ids) (mu/snapshot!) (doseq [id ids] (swap! d/dat...
Remove cache when deleting an item
Remove cache when deleting an item
Clojure
epl-1.0
astashov/tixi,astashov/tixi,astashov/tixi,astashov/tixi
3c37656e6191586ccca92b7d1250d703e342af2e
test/etcd_clojure/core_test.clj
test/etcd_clojure/core_test.clj
(ns etcd-clojure.core-test (:require [clojure.test :refer :all] [etcd-clojure.core :as etcd])) (defn setup-test [] (etcd/connect! "http://127.0.0.1:4001")) (defn teardown-test [] (println "teardown")) (defn once-fixtures [f] (setup-test) (try (f) (finally (teardown-test)))) (use-fixture...
(ns etcd-clojure.core-test (:require [clojure.test :refer :all] [etcd-clojure.core :as etcd])) (defn setup-test [] (etcd/connect! "http://127.0.0.1:4001")) (defn teardown-test [] (println "teardown")) (defn once-fixtures [f] (setup-test) (try (f) (finally (teardown-test)))) (use-fixture...
Delete to lower case to allow tests to pass
Delete to lower case to allow tests to pass
Clojure
apache-2.0
aterreno/etcd-clojure
b65faff24179fbf1c2be87ba80ca23030165ea70
clojure/rna-transcription/dna.clj
clojure/rna-transcription/dna.clj
(ns dna) (defn- strand-convert [ch] (cond (= \T ch) \U :else ch ) ) (defn to-rna [dna] (apply str (map strand-convert dna)) )
(ns dna) (defn- strand-convert [ch] (if (= \T ch) \U ch) ) (defn to-rna [dna] (apply str (map strand-convert dna)) )
Use if instead of cond
Use if instead of cond
Clojure
mit
driis/exercism,driis/exercism,driis/exercism
a0a6dddec569f390e3fc92a2b8e72317c0765a68
test/matross/test/helper.clj
test/matross/test/helper.clj
(ns matross.test.helper "Helper functions for writing and running tests" (:require [me.raynes.conch :refer [with-programs]] [matross.connections.ssh :refer [translate-ssh-config ssh-connection]] [matross.connections.core :refer [connect disconnect]])) (defn get-available-vms [] (with-prog...
(ns matross.test.helper "Helper functions for writing and running tests" (:require [me.raynes.conch :refer [with-programs]] [matross.connections.ssh :refer [translate-ssh-config ssh-connection]] [matross.connections.debug :refer [debug-connection]] [matross.connections.core :refe...
Allow debug output during tests.
Allow debug output during tests. if the env var TEST_DEBUG is set, debug output will be enabled during the test runs.
Clojure
epl-1.0
matross/matross,matross/matross
291ef4f54ef20d21cac3b9c8d118cd1792b5fa25
src/re_view/core.clj
src/re_view/core.clj
(ns ^:figwheel-always re-view.core (:require [clojure.string :as string])) (defn parse-name [n] (str (name (ns-name *ns*)) "/" n)) (defmacro defview ([view-name methods] `(def ~view-name (~'re-view.core/view ~(assoc methods :display-name (str (last (string/split (name (ns-...
(ns ^:figwheel-always re-view.core (:require [clojure.string :as string])) (defn parse-name [n] (str (name (ns-name *ns*)) "/" n)) (defmacro defview ([view-name methods] `(def ~view-name (~'re-view.core/view (assoc ~methods :display-name ~(str (last (string/split (name (ns-...
Remove requirement that lifecycle functions must be passed as literal map
Remove requirement that lifecycle functions must be passed as literal map
Clojure
mit
braintripping/re-view,braintripping/re-view
b8b50e2a89329f3dec009820cd49407fe9634924
src/dragon/data/sources/core.clj
src/dragon/data/sources/core.clj
(ns dragon.data.sources.core (:require [clojure.java.shell :as shell] [dragon.config :as config] [taoensso.timbre :as log])) (defn execute-db-command! [component] (let [start-cfg (config/db-start-config component) home (:home start-cfg) args (:args start-cfg)] (shell/w...
(ns dragon.data.sources.core (:require [clojure.java.shell :as shell] [dragon.config :as config] [dragon.util :as util] [taoensso.timbre :as log])) (defn execute-db-command! [component] (let [start-cfg (config/db-start-config component) home (:home start-cfg) a...
Use new logging shell command.
Use new logging shell command.
Clojure
apache-2.0
clojusc/dragon
4d13f3f4d715d23e56999b5a296f6f94ea321e46
src/bytebuf/buffer.clj
src/bytebuf/buffer.clj
(ns bytebuf.buffer "Buffer abstractions." (:import java.nio.ByteBuffer io.netty.buffer.ByteBuf io.netty.buffer.ByteBufAllocator)) (defprotocol IBuffer (read-integer* [_] "Read an integer (32 bits) from buffer.") (read-long* [_] "Read an long (64 bits) from buffer.") (tell* [_] "Get the...
(ns bytebuf.buffer "Buffer abstractions." (:import java.nio.ByteBuffer io.netty.buffer.ByteBuf io.netty.buffer.ByteBufAllocator)) (defprotocol IBuffer (read-int [_ pos] "Read an integer (32 bits) from buffer.") (write-int [_ pos value] "Write an integer to the buffer.") (read-long [_ p...
Change signature of IBuffer related functions.
Change signature of IBuffer related functions.
Clojure
bsd-2-clause
mbjarland/octet,mbjarland/octet,funcool/octet,funcool/octet
e6d135716034b36a65b651a125467995f65d234e
spec/incise/parsers/html_spec.clj
spec/incise/parsers/html_spec.clj
(ns incise.parsers.html-spec (:require [incise.parsers.html :refer :all] [incise.parsers.core :refer [map->Parse]] [clojure.java.io :refer [file resource]] [speclj.core :refer :all])) (describe "File->Parse" (with short-md-file (file (resource "spec/short-sample.md"))) (it "re...
(ns incise.parsers.html-spec (:require [incise.parsers.html :refer :all] [incise.parsers.core :refer [map->Parse]] [clj-time.coerce :refer [to-date]] [clojure.java.io :refer [file resource]] [speclj.core :refer :all])) (describe "File->Parse" (with short-md-file (fil...
Fix html spec to work with coerced dates.
Fix html spec to work with coerced dates.
Clojure
epl-1.0
RyanMcG/incise-core
e2e84a14a1ee7adf48fcaf185bb140a2b084b20e
services/split-filter-fastqs.clj
services/split-filter-fastqs.clj
{ :name "split-filter-fastqs", :path "", :func (fn [eid & data] (if (pg/eoi? eid) (pg/done) (let [exp (cmn/get-exp-info eid :exp)] (infof "Splitting and filtering fastqs by replicates for %s" eid) ;; This case dispatching is lame! Need to fix with mmethod ...
{ :name "split-filter-fastqs", :path "", :func (fn [eid & data] (if (pg/eoi? eid) (pg/done) (let [exp (cmn/get-exp-info eid :exp)] (infof "Splitting and filtering fastqs by replicates for %s" eid) ;; This case dispatching is lame! Need to fix with mmethod ...
Support Term-Seq. Shows even more why should be refactored to multimethods!
Support Term-Seq. Shows even more why should be refactored to multimethods!
Clojure
mit
jsa-aerial/aerobio,jsa-aerial/aerobio,jsa-aerial/aerobio,jsa-aerial/aerobio,jsa-aerial/aerobio
7c2b52011c862f5377ad7581f6c6ae107c4b7a36
src/org/scode/sob.clj
src/org/scode/sob.clj
(ns org.scode.sob (:gen-class) (:require [org.scode.sob.markdown :as markdown] [clojure.contrib.command-line :as cmdline] [clojure.contrib.logging :as logging] [ring.adapter.jetty]) (:use [org.scode.sob.repos :as repos])) (defn die [msg] (logging/fatal msg) (System/exit 1)...
(ns org.scode.sob (:gen-class) (:require [org.scode.sob.markdown :as markdown] [clojure.contrib.command-line :as cmdline] [clojure.contrib.logging :as logging] [ring.adapter.jetty]) (:use [org.scode.sob.repos :as repos])) (defn die [msg] (logging/fatal msg) (System/exit 1)...
Move functionality out of serve-blog.
Move functionality out of serve-blog.
Clojure
mit
scode/sob
4768fdc897123d0a0f85fe40da61a035b022831b
src/main/audio_utils/recorder.cljs
src/main/audio_utils/recorder.cljs
(ns audio-utils.recorder (:require [om.next :as om :refer-macros [defui]] [om.dom :as dom] [audio-utils.util :refer [audio-context get-user-media]] [audio-utils.gate :as g])) (defui Recorder Object (start [this] (let [audio-ctx (audio-context) gate (g/gate {...
(ns audio-utils.recorder (:require [om.next :as om :refer-macros [defui]] [om.dom :as dom] [audio-utils.util :refer [audio-context get-user-media]] [audio-utils.gate :as g])) (defui Recorder Object (start [this] (let [audio-ctx (audio-context) gate (g/gate {...
Insert the gate into the mix
Insert the gate into the mix
Clojure
mit
Jannis/cljs-audio-utils
093ed7738a8c8caaebbdd288d97a442357603985
project.clj
project.clj
(defproject thinktopic/cortex "0.1.0-SNAPSHOT" :description "A neural network toolkit for Clojure." :dependencies [[org.clojure/clojure "1.8.0-RC4"] [com.taoensso/timbre "4.2.0"] [net.mikera/vectorz-clj "0.40.0"] [org.clojure/test.check "0.9.0"]] :jvm-opts ["-X...
(defproject thinktopic/cortex "0.1.0-SNAPSHOT" :description "A neural network toolkit for Clojure." :dependencies [[org.clojure/clojure "1.8.0-RC5"] [com.taoensso/timbre "4.2.0"] [net.mikera/vectorz-clj "0.40.0"] [org.clojure/test.check "0.9.0"]] :jvm-opts ["-X...
Update to latest Clojure RC5
Update to latest Clojure RC5
Clojure
epl-1.0
thinktopic/cortex,thinktopic/cortex,thinktopic/cortex,thinktopic/cortex
f31d8af3012ddabdd3d786125a3bfeb5e4e1768e
project.clj
project.clj
(defproject com.stuartsierra/component "0.2.2" :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.3-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 [...
Prepare for develoment version 0.2.3-SNAPSHOT
Prepare for develoment version 0.2.3-SNAPSHOT
Clojure
mit
quile/component-cljs
f7eda9e87a1f345ccaf5e3b64a8abdca07da7599
project.clj
project.clj
(defproject me.manuelp/confunion "0.1.1-SNAPSHOT" :description "Library for managing configuration based on EDN files." :url "http://github.com/manuelp/confunion" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :min-lein-version "2.0.0" :dependencies [[o...
(defproject me.manuelp/confunion "0.1.1" :description "Library for managing configuration based on EDN files." :url "http://github.com/manuelp/confunion" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :min-lein-version "2.0.0" :dependencies [[org.clojur...
Set source and target javac to 1.6
Set source and target javac to 1.6
Clojure
epl-1.0
manuelp/confunion
0f516023e8276c60e915e899a4cf6cdee80cbdd0
project.clj
project.clj
;(defproject cli4clj "1.2.5" (defproject cli4clj "1.2.6-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.2.6" ;(defproject cli4clj "1.2.6-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...
Update dependencies and version info and deploy to clojars.
Update dependencies and version info and deploy to clojars.
Clojure
epl-1.0
ruedigergad/cli4clj
a1d586292c417890b97ae0183976f34b29f7ceef
project.clj
project.clj
(defproject kiries "0.1.0-SNAPSHOT" :description "A bundled deployment of Kibana, Riemann, and ElasticSearch" :license "Eclipse Public License v1.0" :dependencies [[org.clojure/clojure "1.5.1"] [org.clojure/tools.cli "0.2.1"] [clj-logging-config "1.9.6"] ...
(defproject kiries "0.1.0-SNAPSHOT" :description "A bundled deployment of Kibana, Riemann, and ElasticSearch" :license "Eclipse Public License v1.0" :dependencies [[org.clojure/clojure "1.5.1"] [org.clojure/tools.cli "0.2.1"] [clj-logging-config "1.9.6"] ...
Add ring-devel for reload win.
Add ring-devel for reload win.
Clojure
epl-1.0
rowhit/kiries,rowhit/kiries,alex-glv/es-pusher,alex-glv/es-pusher,rowhit/kiries,alex-glv/es-pusher
4b6ae7627c4f04af78d836a2c8a52231b1143f70
project.clj
project.clj
(defproject cli4clj "1.5.2" ;(defproject cli4clj "1.5.3-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.2" (defproject cli4clj "1.5.3-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
6e7cd1eb1fbd536bbcdb5ff27cfaf9a202f56c45
project.clj
project.clj
(defproject onyx-app/lein-template "0.10.0.0-alpha6" :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
1f5d7586a6286192700c336cc6d398b9edffe79d
test/time_tracker/fixtures.clj
test/time_tracker/fixtures.clj
(ns time-tracker.fixtures (:require [clojure.java.jdbc :as jdbc] [time-tracker.migration :refer [migrate-db]] [time-tracker.db :as db] [time-tracker.core :refer [app]] [time-tracker.auth.core :as auth] [time-tracker.auth.test-helpers :refer [fake-token->cred...
(ns time-tracker.fixtures (:require [clojure.java.jdbc :as jdbc] [time-tracker.migration :refer [migrate-db]] [time-tracker.db :as db] [time-tracker.core :refer [app]] [time-tracker.auth.core :as auth] [time-tracker.auth.test-helpers :refer [fake-token->cred...
Drop all tables only within the test database.
Drop all tables only within the test database. - Do NOT drop by owner, since that might affect tables outside of the test database.
Clojure
epl-1.0
nilenso/time-tracker,nilenso/time-tracker,nilenso/time-tracker
d728505c22e05ebb921a244c42423be7ad692460
src/incise/layouts/core.clj
src/incise/layouts/core.clj
(ns incise.layouts.core (:refer-clojure :exclude [get])) (def layouts (atom {})) (defn exists? "Check for the existance of a layout with the given name." [layout-with-name] (contains? @layouts layout-with-name)) (defn get [& args] (apply clojure.core/get @layouts args)) (defn register "Register a layout...
(ns incise.layouts.core (:refer-clojure :exclude [get])) (def layouts (atom {})) (defn exists? "Check for the existance of a layout with the given name." [layout-with-name] (contains? @layouts (name layout-with-name))) (defn get [layout-name] (@layouts (name layout-name))) (defn register "Register a lay...
Make layouts use strings by calling name.
Make layouts use strings by calling name.
Clojure
epl-1.0
RyanMcG/incise-core
28b6ac65bfe1ccb1b934437d380b176ad520c5be
src/kiries/layout.clj
src/kiries/layout.clj
(ns kiries.layout (:use hiccup.core) (:use hiccup.page)) (defn full-layout [title & content] (html5 [:head (include-css "/kibana/common/css/bootstrap.dark.min.css") (include-css "/kibana/common/css/bootstrap-responsive.min.css") (include-css "/kibana/common/css/font-awesome.min.css") [:title t...
(ns kiries.layout (:use hiccup.core) (:use hiccup.page)) (defn full-layout [title & content] (html5 [:head (include-css "/kibana/common/css/bootstrap.light.min.css") (include-css "/kibana/common/css/bootstrap-responsive.min.css") (include-css "/kibana/common/css/font-awesome.min.css") [:title ...
Use ligher theme from Kibana for docs.
Use ligher theme from Kibana for docs.
Clojure
epl-1.0
rowhit/kiries,alex-glv/es-pusher,rowhit/kiries,rowhit/kiries,alex-glv/es-pusher,alex-glv/es-pusher
4f4202064562ed27adeed7dd62016c20d6d81178
project.clj
project.clj
(defproject onyx-app/lein-template "0.12.0.0-rc2" :description "Onyx Leiningen application template" :url "https://github.com/onyx-platform/onyx-template" :license {:name "MIT License" :url "http://choosealicense.com/licenses/mit/#"} :repositories {"snapshots" {:url "https://clojars.org/repo" ...
(defproject onyx-app/lein-template "0.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
e5e5bb61851d58e70b57fbe47930b215895e9240
src/clj/zetawar/util.cljs
src/clj/zetawar/util.cljs
(ns zetawar.util (:require [fipp.edn])) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;; Accessors (defn solo "Like first, but throws if more than one item." [coll] (assert (not (next coll))) (first coll)) (defn only "Like first, but throws unless exactly one item."...
(ns zetawar.util (:require [fipp.edn])) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;; Accessors (defn solo "Like first, but throws if more than one item." [coll] (assert (not (next coll))) (first coll)) (defn only "Like first, but throws unless exactly one item." ...
Remove old TODO + add docstring for select-values
Remove old TODO + add docstring for select-values
Clojure
mit
tbeddy/zetawar,Zetawar/zetawar,tbeddy/zetawar,Zetawar/zetawar,tbeddy/zetawar,Zetawar/zetawar
9eef4bb8a6e8726d3a14ba341aea8a67b2cf4430
test/haystack/search_test.clj
test/haystack/search_test.clj
(ns haystack.search-test (:require [haystack.search :as sut :refer [search]] ;; [clojure.test :as t :refer :all] [haystack.helpers :refer :all] )) (test-search matnrs-check {:search "2843977 2542450"} (max-docs 50) (in-top 2843977 2) (in-top 2542450 2) ) (test-search upcs...
(ns haystack.search-test (:require [haystack.search :as sut :refer [search]] ;; [clojure.test :as t :refer :all] [haystack.helpers :refer :all] )) (test-search matnrs-check {:search "2843977 2542450"} (max-docs 50) (in-top 2843977 2) (in-top 2542450 2) ) (test-search upcs...
Add copper clip search test.
Add copper clip search test.
Clojure
epl-1.0
brianmd/haystack
81673cd959a2be2d59294c55d8d61a209e9e6678
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]])) (defn send-message [msg] (when-not (and (:from msg) (:to msg) (:subject msg) (:body msg)) (throw (Exception. "message ne...
(ns com.draines.postal.core (:use [com.draines.postal.sendmail :only [sendmail-send]] [com.draines.postal.smtp :only [smtp-send]])) (defn send-message [msg] (when-not (and (:from msg) (:to msg) (:subject msg) (:body msg)) (throw (Exception. "message ne...
Check msg meta to determine sendmail or SMTP.
Check msg meta to determine sendmail or SMTP.
Clojure
mit
drewr/postal,bo-chen/postal
0e0d03b7b960b37988a8630f28212d8bfc52d6ac
src/braid/search/ui/search_bar.cljs
src/braid/search/ui/search_bar.cljs
(ns braid.search.ui.search-bar (:require [reagent.core :as r] [re-frame.core :refer [subscribe dispatch]] [braid.core.client.routes :as routes] [braid.lib.color :as color])) (defn search-bar-view [] (r/with-let [search-query (r/atom @(subscribe [:braid.search/query])) prev-page (r/atom...
(ns braid.search.ui.search-bar (:require [reagent.core :as r] [re-frame.core :refer [subscribe dispatch]] [braid.core.client.routes :as routes] [braid.lib.color :as color])) (defn search-bar-view [] (r/with-let [search-query (r/atom @(subscribe [:braid.search/query])) prev-page (r/atom...
Fix coming to search page via link not setting bar text
[search] Fix coming to search page via link not setting bar text
Clojure
agpl-3.0
braidchat/braid,braidchat/braid,rafd/braid,rafd/braid
cb658346cf8e61e4bc0f8a70576fa0208b8f3cfb
project.clj
project.clj
(defproject onyx-app/lein-template "0.9.9.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.9.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
74fa9fd7da8a5b40a65ab40604ddbf246d658520
project.clj
project.clj
(defproject ktra-indexer "0.1.0-SNAPSHOT" :description "A simple application for indexing and searching KTRA track listings" :url "https://github.com/terop/ktra-indexer" :min-lein-version "2.0.0" :dependencies [[org.clojure/clojure "1.8.0"] [compojure "1.5.1"] [ring/ring-defa...
(defproject ktra-indexer "0.1.0-SNAPSHOT" :description "A simple application for indexing and searching KTRA track listings" :url "https://github.com/terop/ktra-indexer" :min-lein-version "2.0.0" :dependencies [[org.clojure/clojure "1.8.0"] [compojure "1.5.1"] [ring/ring-defa...
Update PostgreSQL JDBC library dependency
Update PostgreSQL JDBC library dependency The version now used requires JDK 8 to work. Instructions for older versions can be found at https://github.com/pgjdbc/pgjdbc.
Clojure
mit
terop/ktra-indexer,terop/ktra-indexer,terop/ktra-indexer,terop/ktra-indexer
8346a8ade16f342f425e74e77c6eb3ede5737b92
project.clj
project.clj
(defproject stencil "0.3.0-SNAPSHOT" :description "Mustache in Clojure" :dependencies [[org.clojure/clojure "1.3.0"] [scout "0.1.0"] [slingshot "0.8.0"] [org.clojure/core.cache "0.5.0"]] :profiles {:dev {:dependencies [[org.clojure/data.json "0.1.2"]]} ...
(defproject stencil "0.3.0-SNAPSHOT" :description "Mustache in Clojure" :dependencies [[org.clojure/clojure "1.3.0"] [scout "0.1.0"] [slingshot "0.8.0"] [org.clojure/core.cache "0.6.1"]] :profiles {:dev {:dependencies [[org.clojure/data.json "0.1.2"]]} ...
Change core.cache version to 0.6.1.
Change core.cache version to 0.6.1.
Clojure
epl-1.0
caribou/antlers
f3f16855e5874fc6024076c28d4e865b55e0eb21
project.clj
project.clj
(defproject io.aviso/rook "0.1.4" :description "Ruby on Rails-style resource mapping for Clojure/Compojure web apps" :url "https://github.com/AvisoNovate/rook" :license {:name "Apache Sofware Licencse 2.0" :url "http://www.apache.org/licenses/LICENSE-2.0.html"} ;; Normally we don't AOT compile; onl...
(defproject io.aviso/rook "0.1.5-SNAPSHOT" :description "Ruby on Rails-style resource mapping for Clojure/Compojure web apps" :url "https://github.com/AvisoNovate/rook" :license {:name "Apache Sofware Licencse 2.0" :url "http://www.apache.org/licenses/LICENSE-2.0.html"} ;; Normally we don't AOT com...
Set development version to 0.1.5-SNAPSHOT
Set development version to 0.1.5-SNAPSHOT
Clojure
apache-2.0
bmabey/rook,clyfe/rook,roblally/rook
145ea7202d1f5721761a122b6bae9dff19c47421
project.clj
project.clj
(defproject cljam "0.1.2" :description "A DNA Sequence Alignment/Map (SAM) library for Clojure" :url "https://chrovis.github.io/cljam" :license {:name "Apache License, Version 2.0" :url "http://www.apache.org/licenses/LICENSE-2.0.html"} :dependencies [[org.clojure/clojure "1.6.0"] [...
(defproject cljam "0.1.3-SNAPSHOT" :description "A DNA Sequence Alignment/Map (SAM) library for Clojure" :url "https://chrovis.github.io/cljam" :license {:name "Apache License, Version 2.0" :url "http://www.apache.org/licenses/LICENSE-2.0.html"} :dependencies [[org.clojure/clojure "1.6.0"] ...
Prepare for next development iteration (0.1.3-SNAPSHOT)
Prepare for next development iteration (0.1.3-SNAPSHOT)
Clojure
apache-2.0
chrovis/cljam
813fbc9c7d68c0078b3660c374d3a5a87b80d217
test/circle/backend/test_build.clj
test/circle/backend/test_build.clj
(ns circle.backend.test-build (:use midje.sweet) (:use [circle.backend.build.test-utils :only (minimal-build)]) (:use circle.model.build)) (fact "checkout-dir handles spaces" (let [b (minimal-build :build_num 42)] (checkout-dir b) => "Dummy-Project-42")) (fact "ensure-project-id works" (let [b (minimal-...
(ns circle.backend.test-build (:use midje.sweet) (:use [circle.backend.build.test-utils :only (minimal-build)]) (:use circle.model.build)) (fact "checkout-dir handles spaces" (let [b (minimal-build)] (checkout-dir b) => #"Dummy-Project-\d+")) (fact "ensure-project-id works" (let [b (minimal-build)] ...
Fix "checkout-dir handles spaces" test by checking what is being tested better.
Fix "checkout-dir handles spaces" test by checking what is being tested better.
Clojure
epl-1.0
prathamesh-sonpatki/frontend,circleci/frontend,RayRutjes/frontend,circleci/frontend,RayRutjes/frontend,prathamesh-sonpatki/frontend,circleci/frontend
93262e34682ac97c3c91105ec53625c8862e957b
test/is/map.cljs
test/is/map.cljs
(println "Map Function Tests") (is (= (map inc [1 2 3]) [2 3 4]))
(println "Map Function Tests") (is (= (map inc [1 2 3]) '(2 3 4)))
Fix result in is test
Fix result in is test
Clojure
mit
ajlopez/ClojJS
f5a860a4e8a405d0a52884aef7f59440beb2b101
test/blocks/store/replica_test.clj
test/blocks/store/replica_test.clj
(ns blocks.store.replica-test (:require (blocks.store [memory :refer [memory-store]] [replica :refer [replica-store]] [tests :refer [test-block-store]]) [clojure.test :refer :all])) ; TODO: test that writes actually populate all backing stores. ; TODO: test that removing blocks from one st...
(ns blocks.store.replica-test (:require [blocks.core :as block] (blocks.store [memory :refer [memory-store]] [replica :refer [replica-store]] [tests :refer [test-block-store]]) [clojure.test :refer :all])) (deftest replica-behavior (let [replica-1 (memory-store) replica-2 (me...
Add tests for replication behavior.
Add tests for replication behavior.
Clojure
unlicense
greglook/blocks,greglook/blobble,greglook/blobble
831608e55a13d172a6ed4c98ba8fa6be50731de5
test/example/one_bar_sequencer.clj
test/example/one_bar_sequencer.clj
(ns example.one-bar-sequencer (:use overtone.live)) (def metro (metronome 128)) ; Our bar is a map of beat to instruments to play (def bar {0 [kick] 0.5 [c-hat] 1 [kick snare] 1.5 [c-hat] 2 [kick] 2.5 [c-hat] 3 [kick snare] 3.5 [c-hat]})...
(ns example.one-bar-sequencer (:use [overtone.live] [overtone.inst drum])) (def metro (metronome 128)) ; Our bar is a map of beat to instruments to play (def bar {0 [kick] 0.5 [c-hat] 1 [kick snare] 1.5 [c-hat] 2 [kick] 2.5 [c-hat] 3 [kick...
Fix up one bar sequencer
Fix up one bar sequencer
Clojure
mit
ethancrawford/overtone,pje/overtone,la3lma/overtone,craftybones/overtone,chunseoklee/overtone,mcanthony/overtone,Widea/overtone,rosejn/overtone,brunchboy/overtone
4af3e891a99303ace88016ffc2a9c9b5b58b1876
src/main/clojure/cascade/utils.clj
src/main/clojure/cascade/utils.clj
; Copyright 2009 Howard M. Lewis Ship ; ; 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 wr...
; Copyright 2009 Howard M. Lewis Ship ; ; 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 wr...
Add debug-form macro, which expands and pretty-prints an unevaluated form.
Add debug-form macro, which expands and pretty-prints an unevaluated form.
Clojure
apache-2.0
hlship/cascade
18ca29298e39c34c985dc5aa6ec13904742effec
src/fnx/meta/expose.clj
src/fnx/meta/expose.clj
;; This is usefull to display the functions, ask the user for the ;; input parameters, and then execute them, presenting the result to ;; the user. ;; Intended to expose the functions in a Browser, but it could be ;; anything else: command line, rich client, ... ;; (ns fnx.meta.expose "Get the public functions of a n...
;; This is usefull to display the functions, ask the user for the ;; input parameters, and then execute them, presenting the result to ;; the user. ;; Intended to expose the functions in a Browser, but it could be ;; anything else: command line, rich client, ... ;; (ns fnx.meta.expose "Get the public functions of a n...
Simplify so that we do not need to map the ns-resolve methods.
Simplify so that we do not need to map the ns-resolve methods.
Clojure
epl-1.0
lazyposse/fnx
122e99db053429e8ee03d354d4ed301b9e98f845
env/prod/cljs/vinculum/main.cljs
env/prod/cljs/vinculum/main.cljs
(ns vinculum.main (:require [vinculum.core :as core])) (core/main)
(ns vinculum.main (:require [vinculum.core :as core])) (js/console.log "Starting production mode CLJS!") (core/main)
Make sure it warns when running production-mode code.
Make sure it warns when running production-mode code.
Clojure
epl-1.0
albins/vinculum,albins/vinculum,albins/vinculum
5e5cfd2d2a968848b35396c29f29c3ffe4807e64
src/clj/pfrt/main.clj
src/clj/pfrt/main.clj
(ns pfrt.main (:require [pfrt.pf :refer [packet-filter]] [pfrt.web :refer [web-server]] [pfrt.core.app :as app] [pfrt.settings :as settings]) (:gen-class)) ;; Global var, only used for store ;; a global app instance when this is ;; used from REPL. (def main-app nil) ;; System p...
(ns pfrt.main (:require [pfrt.pf :refer [packet-filter]] [pfrt.web :refer [web-server]] [pfrt.core.app :as app] [pfrt.settings :as settings]) (:gen-class)) ;; Global var, only used for store ;; a global app instance when this is ;; used from REPL. (def main-app nil) ;; System p...
Add repl restart function helper.
Add repl restart function helper.
Clojure
epl-1.0
niwinz/pf-stats-api,niwinz/pf-stats-api
bbd0175c5c71e552ffb65599a1320d1e62a53d34
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}) (def data {:categories ["ku" "hest"] :users ["per" "kari"]}) (defonce app-state (into {} (map...
Rename to header and footer
Rename to header and footer
Clojure
mit
textlab/glossa,textlab/glossa,textlab/glossa,textlab/glossa,textlab/glossa
12898ee6085dd2ea622f28d8042563384d1850bd
src/app/cljs/one/repmax/logging.cljs
src/app/cljs/one/repmax/logging.cljs
(ns ^{:doc "When this library is loaded, create a logger named 'events' and send all application-specific events to it. To view log messages in the browser console, add a call to `(log/console-output)` to this namespace or evaluate this from the REPL. For more information see library.logging."} one.repmax.logging ...
(ns ^{:doc "When this library is loaded, create a logger named 'events'. See comments at end of file for example usage. For more information see one.logging."} one.repmax.logging (:require [one.dispatch :as dispatch] [one.logging :as log])) (def ^{:doc "The logger that receives ...
Allow enabling/disabling of logger in running app
Allow enabling/disabling of logger in running app Loading the one.repmax.logging namespace no longer automatically creates a reaction for logging events. Logging :model-change events has a hugely negative impact on performance (e.g., filtering the exercise list is about 2 orders of magnitude slower when :model-change ...
Clojure
epl-1.0
jasonrudolph/one-rep-max,jasonrudolph/one-rep-max
d9ca13879f019a1393e5bffb75f2b49f939726a6
ring-jetty-adapter/project.clj
ring-jetty-adapter/project.clj
(defproject ring/ring-jetty-adapter "1.9.1" :description "Ring Jetty adapter." :url "https://github.com/ring-clojure/ring" :scm {:dir ".."} :license {:name "The MIT License" :url "http://opensource.org/licenses/MIT"} :dependencies [[org.clojure/clojure "1.7.0"] [ring/ring-core "1....
(defproject ring/ring-jetty-adapter "1.9.1" :description "Ring Jetty adapter." :url "https://github.com/ring-clojure/ring" :scm {:dir ".."} :license {:name "The MIT License" :url "http://opensource.org/licenses/MIT"} :dependencies [[org.clojure/clojure "1.7.0"] [ring/ring-core "1....
Update Jetty dependency to 9.4.38
Update Jetty dependency to 9.4.38 Fixes #433. See: https://snyk.io/vuln/SNYK-JAVA-ORGECLIPSEJETTY-1080611
Clojure
mit
ring-clojure/ring,ring-clojure/ring
a1b8be5d60d3cae677cd8bf7f5d720e5868a11e4
src/structural_typing/validators.clj
src/structural_typing/validators.clj
(ns structural-typing.validators "Validators. These differ from Bouncer validators in that (1) they default to optional, and (2) the messages include the failing value." (:require [bouncer.validators :as v])) (defmacro defoptional [name doc message-format & body] `(do (v/defvalidator ~name {:optional tru...
(ns structural-typing.validators "Validators. These differ from Bouncer validators in that (1) they default to optional, and (2) the messages include the failing value." (:require [bouncer.validators :as v])) (defmacro defoptional "Define a validator for an optional argument. (defoptional number ...
Make validator arglists available to codox
Make validator arglists available to codox
Clojure
mit
marick/structural-typing