entities
listlengths
1
44.6k
max_stars_repo_path
stringlengths
6
160
max_stars_repo_name
stringlengths
6
66
max_stars_count
int64
0
47.9k
content
stringlengths
18
1.04M
id
stringlengths
1
6
new_content
stringlengths
18
1.04M
modified
bool
1 class
references
stringlengths
32
1.52M
[ { "context": "st nil :data-center)\n psa1 (dc/psa {:name \"alpha\" :data-type :string :value \"ab\"})\n psa2 (d", "end": 1584, "score": 0.7959569096565247, "start": 1579, "tag": "NAME", "value": "alpha" }, { "context": "string :value \"ab\"})\n psa2 (dc/psa {:nam...
system-int-test/test/cmr/system_int_test/search/collection_keyword_search_test.clj
sxu123/Common-Metadata-Repository
0
(ns cmr.system-int-test.search.collection-keyword-search-test "Integration test for CMR collection search by keyword terms" (:require [clojure.test :refer :all] [cmr.common.util :refer [are3]] [cmr.search.data.keywords-to-elastic :as k2e] [cmr.system-int-test.data2.collection :as dc] [cmr.system...
46953
(ns cmr.system-int-test.search.collection-keyword-search-test "Integration test for CMR collection search by keyword terms" (:require [clojure.test :refer :all] [cmr.common.util :refer [are3]] [cmr.search.data.keywords-to-elastic :as k2e] [cmr.system-int-test.data2.collection :as dc] [cmr.system...
true
(ns cmr.system-int-test.search.collection-keyword-search-test "Integration test for CMR collection search by keyword terms" (:require [clojure.test :refer :all] [cmr.common.util :refer [are3]] [cmr.search.data.keywords-to-elastic :as k2e] [cmr.system-int-test.data2.collection :as dc] [cmr.system...
[ { "context": "e-query uri \"from hero with name = $name\" {:name \"Doom\"})\n details (get-in response [:hero :det", "end": 3263, "score": 0.9498031139373779, "start": 3259, "tag": "NAME", "value": "Doom" }, { "context": "-query uri \"from hero with name = $name\" {:name [\"...
test/integration/restql/restql_test.clj
MachadoLhes/restQL-core
2
(ns restql.restql-test (:require [clojure.test :refer :all] [restql.parser.core :as parser] [restql.core.api.restql :as restql] [byte-streams :as bs] [cheshire.core :as json] [stub-http.core :refer :all] [clojure.core.async :refer :all] ...
110556
(ns restql.restql-test (:require [clojure.test :refer :all] [restql.parser.core :as parser] [restql.core.api.restql :as restql] [byte-streams :as bs] [cheshire.core :as json] [stub-http.core :refer :all] [clojure.core.async :refer :all] ...
true
(ns restql.restql-test (:require [clojure.test :refer :all] [restql.parser.core :as parser] [restql.core.api.restql :as restql] [byte-streams :as bs] [cheshire.core :as json] [stub-http.core :refer :all] [clojure.core.async :refer :all] ...
[ { "context": "rivate reconciliation-context\n {:users [{:email \"john@doe.com\"\n :first-name \"John\"\n :last", "end": 756, "score": 0.9999095797538757, "start": 744, "tag": "EMAIL", "value": "john@doe.com" }, { "context": " [{:email \"john@doe.com\"\n ...
test/clj_money/models/reconciliations_test.clj
dgknght/clj-money
5
(ns clj-money.models.reconciliations-test (:require [clojure.test :refer [deftest use-fixtures is testing]] [clj-time.core :as t] [dgknght.app-lib.test] [clj-money.test-helpers :refer [reset-db]] [clj-money.test-context :refer [realize ...
103851
(ns clj-money.models.reconciliations-test (:require [clojure.test :refer [deftest use-fixtures is testing]] [clj-time.core :as t] [dgknght.app-lib.test] [clj-money.test-helpers :refer [reset-db]] [clj-money.test-context :refer [realize ...
true
(ns clj-money.models.reconciliations-test (:require [clojure.test :refer [deftest use-fixtures is testing]] [clj-time.core :as t] [dgknght.app-lib.test] [clj-money.test-helpers :refer [reset-db]] [clj-money.test-context :refer [realize ...
[ { "context": "rigan.components.thymeleaf.interface\n {:author [\"David Harrigan\"]}\n (:require\n [online.harrigan.components.thy", "end": 78, "score": 0.9998859167098999, "start": 64, "tag": "NAME", "value": "David Harrigan" } ]
src/online/harrigan/components/thymeleaf/interface.clj
dharrigan/unresolved-var
0
(ns online.harrigan.components.thymeleaf.interface {:author ["David Harrigan"]} (:require [online.harrigan.components.thymeleaf.impl :as thymeleaf])) (set! *warn-on-reflection* true) (defn render ([viewname app-config] (render viewname nil app-config)) ([viewname data app-config] (thymeleaf/render vi...
67326
(ns online.harrigan.components.thymeleaf.interface {:author ["<NAME>"]} (:require [online.harrigan.components.thymeleaf.impl :as thymeleaf])) (set! *warn-on-reflection* true) (defn render ([viewname app-config] (render viewname nil app-config)) ([viewname data app-config] (thymeleaf/render viewname d...
true
(ns online.harrigan.components.thymeleaf.interface {:author ["PI:NAME:<NAME>END_PI"]} (:require [online.harrigan.components.thymeleaf.impl :as thymeleaf])) (set! *warn-on-reflection* true) (defn render ([viewname app-config] (render viewname nil app-config)) ([viewname data app-config] (thymeleaf/ren...
[ { "context": "bulary is in module vocab.clj.\n;;;\n;;; Programmer: J van Donsel\n;;; December, 2016\n;;;\n(ns haiku.core\n (:require", "end": 132, "score": 0.9998543858528137, "start": 120, "tag": "NAME", "value": "J van Donsel" } ]
src/haiku/core.clj
jvandonsel/haiku
0
;;; Random haiku generator, using a simple sentence grammar. ;;; Vocabulary is in module vocab.clj. ;;; ;;; Programmer: J van Donsel ;;; December, 2016 ;;; (ns haiku.core (:require [clojure.string :as str]) (:use [haiku.vocab]) ) (defn pluralize-noun [w] (if (coll? w) (map pluralize-noun w) (if (contai...
69963
;;; Random haiku generator, using a simple sentence grammar. ;;; Vocabulary is in module vocab.clj. ;;; ;;; Programmer: <NAME> ;;; December, 2016 ;;; (ns haiku.core (:require [clojure.string :as str]) (:use [haiku.vocab]) ) (defn pluralize-noun [w] (if (coll? w) (map pluralize-noun w) (if (contains? ir...
true
;;; Random haiku generator, using a simple sentence grammar. ;;; Vocabulary is in module vocab.clj. ;;; ;;; Programmer: PI:NAME:<NAME>END_PI ;;; December, 2016 ;;; (ns haiku.core (:require [clojure.string :as str]) (:use [haiku.vocab]) ) (defn pluralize-noun [w] (if (coll? w) (map pluralize-noun w) (if...
[ { "context": "ect constructor\n \n (write/from-empty {:name \\\"chris\\\" :pet \\\"dog\\\"}\n (fn [] (java", "end": 3394, "score": 0.9912582635879517, "start": 3389, "tag": "NAME", "value": "chris" }, { "context": "creates the object from a map\n \n (-> {:...
src/hara/object/framework/write.clj
zcaudate/hara
309
(ns hara.object.framework.write (:require [clojure.walk :as walk] [hara.core.base.enum :as enum] [hara.data :as data] [hara.protocol.object :as protocol.object] [hara.object.query :as query] [hara.object.element.util :as element.util] [hara.strin...
9388
(ns hara.object.framework.write (:require [clojure.walk :as walk] [hara.core.base.enum :as enum] [hara.data :as data] [hara.protocol.object :as protocol.object] [hara.object.query :as query] [hara.object.element.util :as element.util] [hara.strin...
true
(ns hara.object.framework.write (:require [clojure.walk :as walk] [hara.core.base.enum :as enum] [hara.data :as data] [hara.protocol.object :as protocol.object] [hara.object.query :as query] [hara.object.element.util :as element.util] [hara.strin...
[ { "context": "; Copyright (c) 2012 Jochen Rau\n; \n; Permission is hereby granted, free of charge", "end": 31, "score": 0.9998596906661987, "start": 21, "tag": "NAME", "value": "Jochen Rau" }, { "context": "/07/improved_regex_for_matching_urls.\n;; Thanks to John Gruber who made this...
src/clj/knowledge/syntax/iri.clj
jocrau/knowl-edge
1
; Copyright (c) 2012 Jochen Rau ; ; Permission is hereby granted, free of charge, to any person obtaining a copy ; of this software and associated documentation files (the "Software"), to deal ; in the Software without restriction, including without limitation the rights ; to use, copy, modify, merge, publish, distrib...
6033
; Copyright (c) 2012 <NAME> ; ; Permission is hereby granted, free of charge, to any person obtaining a copy ; of this software and associated documentation files (the "Software"), to deal ; in the Software without restriction, including without limitation the rights ; to use, copy, modify, merge, publish, distribute,...
true
; Copyright (c) 2012 PI:NAME:<NAME>END_PI ; ; Permission is hereby granted, free of charge, to any person obtaining a copy ; of this software and associated documentation files (the "Software"), to deal ; in the Software without restriction, including without limitation the rights ; to use, copy, modify, merge, publis...
[ { "context": " 12\n 10\n :name \"Annie Lightbulb\"\n :skills {:guns-pistol {:level 3}", "end": 3207, "score": 0.9998561143875122, "start": 3192, "tag": "NAME", "value": "Annie Lightbulb" } ]
gurpsim/src/gurpsim/character.clj
nasfarley88/gurpsim
0
(ns gurpsim.character) (defn base-stat-value "Checks the value of a stat for a given keyword" [character stat] (+ (get-in character [stat :value]) (if (get-in character [stat :mod]) (get-in character [stat :mod]) 0))) (defn st "Check the value of st" [character] (base-stat-value charact...
71293
(ns gurpsim.character) (defn base-stat-value "Checks the value of a stat for a given keyword" [character stat] (+ (get-in character [stat :value]) (if (get-in character [stat :mod]) (get-in character [stat :mod]) 0))) (defn st "Check the value of st" [character] (base-stat-value charact...
true
(ns gurpsim.character) (defn base-stat-value "Checks the value of a stat for a given keyword" [character stat] (+ (get-in character [stat :value]) (if (get-in character [stat :mod]) (get-in character [stat :mod]) 0))) (defn st "Check the value of st" [character] (base-stat-value charact...
[ { "context": "(shell {:cmd (str \"curl -L https://github.com/bcicen/ctop/releases/download/v\" version \"/ctop-\" versio", "end": 272, "score": 0.9986438155174255, "start": 266, "tag": "USERNAME", "value": "bcicen" }, { "context": "tr/join tmux-version [\"curl -L https://github.c...
scripts/provision.clj
mayoshia/throw-voice
49
#!/usr/bin/env spire (require '[clojure.string :as str] '[clojure.edn :as edn]) (defn install-git [] (comment (TODO "Need to install from source"))) (defn install-ctop [] (let [version "0.7.5"] (shell {:cmd (str "curl -L https://github.com/bcicen/ctop/releases/download/v" version "/ctop-" vers...
32242
#!/usr/bin/env spire (require '[clojure.string :as str] '[clojure.edn :as edn]) (defn install-git [] (comment (TODO "Need to install from source"))) (defn install-ctop [] (let [version "0.7.5"] (shell {:cmd (str "curl -L https://github.com/bcicen/ctop/releases/download/v" version "/ctop-" vers...
true
#!/usr/bin/env spire (require '[clojure.string :as str] '[clojure.edn :as edn]) (defn install-git [] (comment (TODO "Need to install from source"))) (defn install-ctop [] (let [version "0.7.5"] (shell {:cmd (str "curl -L https://github.com/bcicen/ctop/releases/download/v" version "/ctop-" vers...
[ { "context": "(ns ^{ :doc \"Iface Wrappers\"\n :author \"Yannick Scherer\" }\n thrift-clj.gen.iface\n (:require [thrift-clj", "end": 60, "score": 0.9998459219932556, "start": 45, "tag": "NAME", "value": "Yannick Scherer" } ]
src/thrift_clj/gen/iface.clj
ipostelnik/thrift-clj
35
(ns ^{ :doc "Iface Wrappers" :author "Yannick Scherer" } thrift-clj.gen.iface (:require [thrift-clj.gen.core :as c] [thrift-clj.thrift.services :as s] [thrift-clj.utils.symbols :as u] [thrift-clj.utils.namespaces :as nsp])) ;; ## Iface ;; ;; The Service Interface is locat...
11741
(ns ^{ :doc "Iface Wrappers" :author "<NAME>" } thrift-clj.gen.iface (:require [thrift-clj.gen.core :as c] [thrift-clj.thrift.services :as s] [thrift-clj.utils.symbols :as u] [thrift-clj.utils.namespaces :as nsp])) ;; ## Iface ;; ;; The Service Interface is located at `<S...
true
(ns ^{ :doc "Iface Wrappers" :author "PI:NAME:<NAME>END_PI" } thrift-clj.gen.iface (:require [thrift-clj.gen.core :as c] [thrift-clj.thrift.services :as s] [thrift-clj.utils.symbols :as u] [thrift-clj.utils.namespaces :as nsp])) ;; ## Iface ;; ;; The Service Interface is ...
[ { "context": " all modules\"\n :url \"https://github.com/thi-ng/geom\"\n :license {:name \"Apache Software Lic", "end": 158, "score": 0.9995222091674805, "start": 152, "tag": "USERNAME", "value": "thi-ng" }, { "context": " \"git\"\n :url \"https://git...
project.clj
gaybro8777/geom
803
(defproject thi.ng/geom "1.0.0-RC4" :description "thi.ng geometry kit - meta project spec including all modules" :url "https://github.com/thi-ng/geom" :license {:name "Apache Software License" :url "http://www.apache.org/licenses/LICENSE-2.0" :distribution :repo} ...
38733
(defproject thi.ng/geom "1.0.0-RC4" :description "thi.ng geometry kit - meta project spec including all modules" :url "https://github.com/thi-ng/geom" :license {:name "Apache Software License" :url "http://www.apache.org/licenses/LICENSE-2.0" :distribution :repo} ...
true
(defproject thi.ng/geom "1.0.0-RC4" :description "thi.ng geometry kit - meta project spec including all modules" :url "https://github.com/thi-ng/geom" :license {:name "Apache Software License" :url "http://www.apache.org/licenses/LICENSE-2.0" :distribution :repo} ...
[ { "context": ";\n; Copyright © 2021 Peter Monks\n;\n; Licensed under the Apache License, Version 2.", "end": 32, "score": 0.999522864818573, "start": 21, "tag": "NAME", "value": "Peter Monks" } ]
src/tools_convenience/api.clj
pmonks/tools-convenience
0
; ; Copyright © 2021 Peter Monks ; ; 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 writi...
68142
; ; Copyright © 2021 <NAME> ; ; 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 writing, s...
true
; ; Copyright © 2021 PI:NAME:<NAME>END_PI ; ; 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...
[ { "context": "tcp-client {:host \"riemann-host\"})))\n\n(def token \"xoxb-64790720018-RhD3YOsLWJ4yc13GlX0CDeQe\")\n(defn rcv-msg[evt]\n\t(-> @c (r/send-event {:serv", "end": 184, "score": 0.9992479681968689, "start": 143, "tag": "KEY", "value": "xoxb-64790720018-RhD3YOsLWJ4yc13GlX0CDeQe" }...
Chapter 10 Code/riemaning/src/riemaning/slacking2.clj
PacktPublishing/Clojure-Programming-Cookbook
14
(use 'slack-rtm.core) (require '[riemann.client :as r]) ; slack to riemann (def c (atom (r/tcp-client {:host "riemann-host"}))) (def token "xoxb-64790720018-RhD3YOsLWJ4yc13GlX0CDeQe") (defn rcv-msg[evt] (-> @c (r/send-event {:service "slack" :description (:message evt)}))) (def rtm-conn (connect token :on-receive r...
38300
(use 'slack-rtm.core) (require '[riemann.client :as r]) ; slack to riemann (def c (atom (r/tcp-client {:host "riemann-host"}))) (def token "<KEY>") (defn rcv-msg[evt] (-> @c (r/send-event {:service "slack" :description (:message evt)}))) (def rtm-conn (connect token :on-receive rcv-msg))
true
(use 'slack-rtm.core) (require '[riemann.client :as r]) ; slack to riemann (def c (atom (r/tcp-client {:host "riemann-host"}))) (def token "PI:KEY:<KEY>END_PI") (defn rcv-msg[evt] (-> @c (r/send-event {:service "slack" :description (:message evt)}))) (def rtm-conn (connect token :on-receive rcv-msg))
[ { "context": "footer\n [!db]\n [:footer\n [:div \"Copyright 2018 Luke Turner\"]\n [:div [:a {:href \"https://github.com/luketur", "end": 476, "score": 0.9998239278793335, "start": 465, "tag": "NAME", "value": "Luke Turner" }, { "context": "Turner\"]\n [:div [:a {:href \"https...
src/golem/ui/app.cljs
luketurner/golem
0
(ns golem.ui.app (:require [golem.ui.viewport :as viewport] [golem.ui.header :as header] [golem.ui.sidebar :as sidebar] [cljs.spec.alpha :as s])) (s/def ::ui (s/keys :req-un [:golem.ui.sidebar/sidebar :golem.ui.viewport/viewport])) (def default-state ...
18263
(ns golem.ui.app (:require [golem.ui.viewport :as viewport] [golem.ui.header :as header] [golem.ui.sidebar :as sidebar] [cljs.spec.alpha :as s])) (s/def ::ui (s/keys :req-un [:golem.ui.sidebar/sidebar :golem.ui.viewport/viewport])) (def default-state ...
true
(ns golem.ui.app (:require [golem.ui.viewport :as viewport] [golem.ui.header :as header] [golem.ui.sidebar :as sidebar] [cljs.spec.alpha :as s])) (s/def ::ui (s/keys :req-un [:golem.ui.sidebar/sidebar :golem.ui.viewport/viewport])) (def default-state ...
[ { "context": ";; Copyright (c) Nicola Mometto, Rich Hickey & contributors.\n;; The use and distr", "end": 31, "score": 0.9998592734336853, "start": 17, "tag": "NAME", "value": "Nicola Mometto" }, { "context": ";; Copyright (c) Nicola Mometto, Rich Hickey & contributors.\n;; The use a...
server/target/clojure/tools/analyzer/passes/trim.clj
OctavioBR/healthcheck
15
;; Copyright (c) Nicola Mometto, 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 this software in...
32221
;; Copyright (c) <NAME>, <NAME> & 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 this software in any fashion,...
true
;; Copyright (c) PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI & 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 t...
[ { "context": "[env {}\n data #:user{:password \"1234567\" :username \"bob\"}\n f (::pc/mutate", "end": 845, "score": 0.9993791580200195, "start": 838, "tag": "PASSWORD", "value": "1234567" }, { "context": " data #:user{:password \"1234567\" :us...
src/test/dinsro/mutations/session_test.clj
duck1123/dinsro
2
(ns dinsro.mutations.session-test (:require [clojure.test :refer [deftest use-fixtures]] [com.fulcrologic.rad.authorization :as auth] [com.wsscode.pathom.connect :as pc] [dinsro.model.users :as m.users] [dinsro.mutations.session :as mu.session] [dinsro.specs :as ds] [dinsro.test-helpers :as th] ...
115856
(ns dinsro.mutations.session-test (:require [clojure.test :refer [deftest use-fixtures]] [com.fulcrologic.rad.authorization :as auth] [com.wsscode.pathom.connect :as pc] [dinsro.model.users :as m.users] [dinsro.mutations.session :as mu.session] [dinsro.specs :as ds] [dinsro.test-helpers :as th] ...
true
(ns dinsro.mutations.session-test (:require [clojure.test :refer [deftest use-fixtures]] [com.fulcrologic.rad.authorization :as auth] [com.wsscode.pathom.connect :as pc] [dinsro.model.users :as m.users] [dinsro.mutations.session :as mu.session] [dinsro.specs :as ds] [dinsro.test-helpers :as th] ...
[ { "context": " \" <author>\"\n \" <name>John Doe</name>\"\n \" </author>\"\n ", "end": 849, "score": 0.9997454881668091, "start": 841, "tag": "NAME", "value": "John Doe" } ]
test/betterfeed/core_test.clj
oholiab/betterfeed
4
(ns betterfeed.core-test (:require [clojure.test :refer :all] [betterfeed.core :refer :all] [rss-utils.core :as rss] [clojure.java.io :as io] [clojure.data.zip.xml :as dzx] [clojure.zip :as zip])) (rss/define-atom-xmlns) (defn string->stream ([s] (string...
63778
(ns betterfeed.core-test (:require [clojure.test :refer :all] [betterfeed.core :refer :all] [rss-utils.core :as rss] [clojure.java.io :as io] [clojure.data.zip.xml :as dzx] [clojure.zip :as zip])) (rss/define-atom-xmlns) (defn string->stream ([s] (string...
true
(ns betterfeed.core-test (:require [clojure.test :refer :all] [betterfeed.core :refer :all] [rss-utils.core :as rss] [clojure.java.io :as io] [clojure.data.zip.xml :as dzx] [clojure.zip :as zip])) (rss/define-atom-xmlns) (defn string->stream ([s] (string...
[ { "context": "ri\n :credentialTemplate {:key \"foo\"\n :secret \"b", "end": 718, "score": 0.9795903563499451, "start": 715, "tag": "KEY", "value": "foo" }, { "context": "o\"\n :secret \"bar\"...
dummy-connector/config/test/com/sixsq/slipstream/ssclj/resources/spec/credential_template_cloud_dummy_test.cljc
slipstream/cimi-mf2c
0
(ns com.sixsq.slipstream.ssclj.resources.spec.credential-template-cloud-dummy-test (:require [clojure.test :refer :all] [com.sixsq.slipstream.ssclj.resources.credential-template :as ct] [com.sixsq.slipstream.ssclj.resources.spec.credential-template-cloud-dummy] [com.sixsq.slipstream.ssclj.resources....
94177
(ns com.sixsq.slipstream.ssclj.resources.spec.credential-template-cloud-dummy-test (:require [clojure.test :refer :all] [com.sixsq.slipstream.ssclj.resources.credential-template :as ct] [com.sixsq.slipstream.ssclj.resources.spec.credential-template-cloud-dummy] [com.sixsq.slipstream.ssclj.resources....
true
(ns com.sixsq.slipstream.ssclj.resources.spec.credential-template-cloud-dummy-test (:require [clojure.test :refer :all] [com.sixsq.slipstream.ssclj.resources.credential-template :as ct] [com.sixsq.slipstream.ssclj.resources.spec.credential-template-cloud-dummy] [com.sixsq.slipstream.ssclj.resources....
[ { "context": "(ns ^{:doc \"Tests for utils.clj\"\n :author \"Eric Weinstein <eric.q.weinstein@gmail.com>\"}\n quixote.utils-te", "end": 62, "score": 0.9998859167098999, "start": 48, "tag": "NAME", "value": "Eric Weinstein" }, { "context": "sts for utils.clj\"\n :author \"E...
test/quixote/utils_test.clj
ericqweinstein/quixote
0
(ns ^{:doc "Tests for utils.clj" :author "Eric Weinstein <eric.q.weinstein@gmail.com>"} quixote.utils-test (:require [clojure.test :refer :all] [midje.sweet :refer :all] [quixote.utils :refer :all])) (def fixture-data [(sorted-map :isbn "978000000001" :search-result { ...
38827
(ns ^{:doc "Tests for utils.clj" :author "<NAME> <<EMAIL>>"} quixote.utils-test (:require [clojure.test :refer :all] [midje.sweet :refer :all] [quixote.utils :refer :all])) (def fixture-data [(sorted-map :isbn "978000000001" :search-result { :title "Book ...
true
(ns ^{:doc "Tests for utils.clj" :author "PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>"} quixote.utils-test (:require [clojure.test :refer :all] [midje.sweet :refer :all] [quixote.utils :refer :all])) (def fixture-data [(sorted-map :isbn "978000000001" :search-result { ...
[ { "context": "; Copyright (c) 2020-present Walmart, Inc.\n;\n; Licensed under the Apache License, Vers", "end": 36, "score": 0.9326944351196289, "start": 29, "tag": "NAME", "value": "Walmart" } ]
src/com/walmartlabs/lacinia/pedestal/internal.clj
youngnh/lacinia-pedestal
0
; Copyright (c) 2020-present Walmart, Inc. ; ; 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...
120239
; Copyright (c) 2020-present <NAME>, Inc. ; ; 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 ...
true
; Copyright (c) 2020-present PI:NAME:<NAME>END_PI, Inc. ; ; 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...
[ { "context": "quest]]))\n\n(def registration-data\n {:first_name \"Testing\"\n :last_name \"Registration\"\n :email \"test.reg", "end": 227, "score": 0.9998469948768616, "start": 220, "tag": "NAME", "value": "Testing" }, { "context": "tion-data\n {:first_name \"Testing\"\n :l...
test_old/clj/salava/user/registration_test.clj
Vilikkki/salava
17
(ns salava.user.registration-test (:require [midje.sweet :refer :all] [salava.core.migrator :as migrator] [salava.test-utils :refer [test-api-request]])) (def registration-data {:first_name "Testing" :last_name "Registration" :email "test.registration@example.com" :country "US"}) ...
107431
(ns salava.user.registration-test (:require [midje.sweet :refer :all] [salava.core.migrator :as migrator] [salava.test-utils :refer [test-api-request]])) (def registration-data {:first_name "<NAME>" :last_name "<NAME>" :email "<EMAIL>" :country "US"}) (facts "about user account re...
true
(ns salava.user.registration-test (:require [midje.sweet :refer :all] [salava.core.migrator :as migrator] [salava.test-utils :refer [test-api-request]])) (def registration-data {:first_name "PI:NAME:<NAME>END_PI" :last_name "PI:NAME:<NAME>END_PI" :email "PI:EMAIL:<EMAIL>END_PI" :co...
[ { "context": "ch provider))]\n (do\n ;; TODO (dchelimsky,2020-05-22): consider optimization of\n ", "end": 663, "score": 0.9994543194770813, "start": 653, "tag": "USERNAME", "value": "dchelimsky" }, { "context": " {:access...
src/cognitect/aws/flow/credentials_stack.clj
griffinbank/aws-api
0
(ns cognitect.aws.flow.credentials-stack (:require [cognitect.aws.client.shared :as shared] [cognitect.aws.flow :as flow] [cognitect.aws.credentials :as credentials])) (defn- prepend-queue [q items] (into (into clojure.lang.PersistentQueue/EMPTY items) q)) (defn- provider-step ([...
59720
(ns cognitect.aws.flow.credentials-stack (:require [cognitect.aws.client.shared :as shared] [cognitect.aws.flow :as flow] [cognitect.aws.credentials :as credentials])) (defn- prepend-queue [q items] (into (into clojure.lang.PersistentQueue/EMPTY items) q)) (defn- provider-step ([...
true
(ns cognitect.aws.flow.credentials-stack (:require [cognitect.aws.client.shared :as shared] [cognitect.aws.flow :as flow] [cognitect.aws.credentials :as credentials])) (defn- prepend-queue [q items] (into (into clojure.lang.PersistentQueue/EMPTY items) q)) (defn- provider-step ([...
[ { "context": "o prepends hello to names\"\n (prepend-hello [\"Mike\", \"Joe\", \"John\"]) => [\"Hello, Mike\", \"Hello, Joe\"", "end": 388, "score": 0.9997857809066772, "start": 384, "tag": "NAME", "value": "Mike" }, { "context": "ds hello to names\"\n (prepend-hello [\"Mik...
ClojureExamples/test/mbfpp/test/oo/iterator/higher_order_functions.clj
cycle-chen/mbfpp-code
4
(ns mbfpp.test.oo.iterator.higher-order-functions (:use [mbfpp.oo.iterator.higher-order-functions]) (:use [midje.sweet])) (fact "sum-sequence sums a sequence" (sum-sequence [42, 100, 58]) => 200) (fact "sum-sequence doesn't allow the empty sequence" (sum-sequence []) => (throws AssertionError)) (fact...
107395
(ns mbfpp.test.oo.iterator.higher-order-functions (:use [mbfpp.oo.iterator.higher-order-functions]) (:use [midje.sweet])) (fact "sum-sequence sums a sequence" (sum-sequence [42, 100, 58]) => 200) (fact "sum-sequence doesn't allow the empty sequence" (sum-sequence []) => (throws AssertionError)) (fact...
true
(ns mbfpp.test.oo.iterator.higher-order-functions (:use [mbfpp.oo.iterator.higher-order-functions]) (:use [midje.sweet])) (fact "sum-sequence sums a sequence" (sum-sequence [42, 100, 58]) => 200) (fact "sum-sequence doesn't allow the empty sequence" (sum-sequence []) => (throws AssertionError)) (fact...
[ { "context": ";; Copyright (c) Nicola Mometto, Rich Hickey & contributors.\n;; The use and dis", "end": 33, "score": 0.9998553991317749, "start": 19, "tag": "NAME", "value": "Nicola Mometto" }, { "context": ";; Copyright (c) Nicola Mometto, Rich Hickey & contributors.\n;; The...
resources/public/js/out/cljs/tools/reader/impl/utils.cljs
yuppieghost/soul-talk
1
;; Copyright (c) Nicola Mometto, 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 this s...
112021
;; Copyright (c) <NAME>, <NAME> & 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 this software in an...
true
;; Copyright (c) PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI & 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. ;; ...
[ { "context": ";;; Copyright 2012 Hubert Iwaniuk\n\n;;; Licensed under the Apache License, Version 2", "end": 33, "score": 0.9998878836631775, "start": 19, "tag": "NAME", "value": "Hubert Iwaniuk" }, { "context": " http.async client x509 certificates\"\n {:author \"Hubert Iwaniuk / A...
test/http/async/client/cert_test.clj
slipset/http.async.client
116
;;; Copyright 2012 Hubert Iwaniuk ;;; 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...
86955
;;; Copyright 2012 <NAME> ;;; 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 writing, ...
true
;;; Copyright 2012 PI:NAME:<NAME>END_PI ;;; 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 t...
[ { "context": " \"Distribute a release to GitHub.\"\n :author \"Paul Landes\"}\n zensols.ghrelease.dist\n (:import (org.kohs", "end": 71, "score": 0.9998739361763, "start": 60, "tag": "NAME", "value": "Paul Landes" }, { "context": " [\"-r\" \"--repo\" \"the repository iden...
src/clojure/zensols/ghrelease/dist.clj
plandes/clj-ghrelease
0
(ns ^{:doc "Distribute a release to GitHub." :author "Paul Landes"} zensols.ghrelease.dist (:import (org.kohsuke.github GitHub)) (:require [clojure.tools.logging :as log] [clojure.string :as s] [clojure.java.io :as io]) (:require [zensols.actioncli.log4j2 :as lu] [zen...
86378
(ns ^{:doc "Distribute a release to GitHub." :author "<NAME>"} zensols.ghrelease.dist (:import (org.kohsuke.github GitHub)) (:require [clojure.tools.logging :as log] [clojure.string :as s] [clojure.java.io :as io]) (:require [zensols.actioncli.log4j2 :as lu] [zensols....
true
(ns ^{:doc "Distribute a release to GitHub." :author "PI:NAME:<NAME>END_PI"} zensols.ghrelease.dist (:import (org.kohsuke.github GitHub)) (:require [clojure.tools.logging :as log] [clojure.string :as s] [clojure.java.io :as io]) (:require [zensols.actioncli.log4j2 :as lu] ...
[ { "context": "k-url\n;; AUTH => CLIENT /callback-url {:username \"joebloggs\" :accesstoken \"1234123o487\"}\n\n\n; SCENARIO 1\n; Giv", "end": 912, "score": 0.9996951818466187, "start": 903, "tag": "USERNAME", "value": "joebloggs" }, { "context": "callback-url {:username \"joebloggs\"...
test/stonecutter/integration/kerodon/oauth.clj
d-cent/stonecutter
39
(ns stonecutter.integration.kerodon.oauth (:require [midje.sweet :refer :all] [kerodon.core :as k] [clojure.string :as string] [clauth.client :as cl-client] [stonecutter.db.storage :as s] [stonecutter.integration.kerodon.kerodon-checkers :as kc] ...
47442
(ns stonecutter.integration.kerodon.oauth (:require [midje.sweet :refer :all] [kerodon.core :as k] [clojure.string :as string] [clauth.client :as cl-client] [stonecutter.db.storage :as s] [stonecutter.integration.kerodon.kerodon-checkers :as kc] ...
true
(ns stonecutter.integration.kerodon.oauth (:require [midje.sweet :refer :all] [kerodon.core :as k] [clojure.string :as string] [clauth.client :as cl-client] [stonecutter.db.storage :as s] [stonecutter.integration.kerodon.kerodon-checkers :as kc] ...
[ { "context": "ming is not about typing... it's about thinking. -Rich Hickey\"\n \"This could be the start of a beautiful progr", "end": 135, "score": 0.9998727440834045, "start": 124, "tag": "NAME", "value": "Rich Hickey" } ]
src/main/resources/archetype-resources/src/main/clojure/__packageInPathFormat__/core.clj
cenzhe/archetype-closed
0
(ns ${package}.core) (def fortune-cookies ["Happy Hacking!" "Programming is not about typing... it's about thinking. -Rich Hickey" "This could be the start of a beautiful program."]) (defn fortune [] (nth fortune-cookies (int (* (Math/random) 3))))
91213
(ns ${package}.core) (def fortune-cookies ["Happy Hacking!" "Programming is not about typing... it's about thinking. -<NAME>" "This could be the start of a beautiful program."]) (defn fortune [] (nth fortune-cookies (int (* (Math/random) 3))))
true
(ns ${package}.core) (def fortune-cookies ["Happy Hacking!" "Programming is not about typing... it's about thinking. -PI:NAME:<NAME>END_PI" "This could be the start of a beautiful program."]) (defn fortune [] (nth fortune-cookies (int (* (Math/random) 3))))
[ { "context": "numbered false}]]\n(def scoreboard\n (ova [{:name \"Bill\" :attempts 0 :score {:all ()}}\n {:name \"Jo", "end": 333, "score": 0.9996734857559204, "start": 329, "tag": "NAME", "value": "Bill" }, { "context": "ll\" :attempts 0 :score {:all ()}}\n {:name \"J...
test/midje_doc/ova_scoreboard_example.clj
zcaudate-archive/ova
0
(ns midje-doc.ova-scoreboard-example (:require [ova.core :refer :all] [midje.sweet :refer :all])) [[:chapter {:title "Scoreboard Example"}]] [[:section {:title "Setup"}]] "#### data - a scoreboard is used to track player attempts, scores and high-scores" [[{:numbered false}]] (def scoreboard (ova ...
61849
(ns midje-doc.ova-scoreboard-example (:require [ova.core :refer :all] [midje.sweet :refer :all])) [[:chapter {:title "Scoreboard Example"}]] [[:section {:title "Setup"}]] "#### data - a scoreboard is used to track player attempts, scores and high-scores" [[{:numbered false}]] (def scoreboard (ova ...
true
(ns midje-doc.ova-scoreboard-example (:require [ova.core :refer :all] [midje.sweet :refer :all])) [[:chapter {:title "Scoreboard Example"}]] [[:section {:title "Setup"}]] "#### data - a scoreboard is used to track player attempts, scores and high-scores" [[{:numbered false}]] (def scoreboard (ova ...
[ { "context": " :list/people [{:person/id 1, :person/name \"Sally\", :person/age 32}\n {:pers", "end": 396, "score": 0.9997459650039673, "start": 391, "tag": "NAME", "value": "Sally" }, { "context": " {:person/id 2, :person/name \"Joe\...
clj/ex/articles_fulcro/docs/4_9_1_db->tree.cljs
mertnuhoglu/study
1
=> (def state (com.fulcrologic.fulcro.application/current-state app.application/app)) #'cljs.user/state => (def query (com.fulcrologic.fulcro.components/get-query app.ui/Root)) #'cljs.user/query => (com.fulcrologic.fulcro.algorithms.denormalize/db->tree query state state) {:friends {:list/id :friends, :list/...
47807
=> (def state (com.fulcrologic.fulcro.application/current-state app.application/app)) #'cljs.user/state => (def query (com.fulcrologic.fulcro.components/get-query app.ui/Root)) #'cljs.user/query => (com.fulcrologic.fulcro.algorithms.denormalize/db->tree query state state) {:friends {:list/id :friends, :list/...
true
=> (def state (com.fulcrologic.fulcro.application/current-state app.application/app)) #'cljs.user/state => (def query (com.fulcrologic.fulcro.components/get-query app.ui/Root)) #'cljs.user/query => (com.fulcrologic.fulcro.algorithms.denormalize/db->tree query state state) {:friends {:list/id :friends, :list/...
[ { "context": "id3.basics-util :as util]\n ))\n\n(def cursor-key :b02-add-attrs-to-elem)\n\n(def height 100)\n(def width 100)\n\n", "end": 176, "score": 0.6246013641357422, "start": 168, "tag": "KEY", "value": "b02-add-" }, { "context": "cs-util :as util]\n ))\n\n(def cursor-key :...
src/basics/rid3/b02_add_attrs_to_elem.cljs
ryanechternacht/rid3
153
(ns rid3.b02-add-attrs-to-elem (:require [reagent.core :as reagent] [rid3.core :as rid3 :refer [rid3->]] [rid3.basics-util :as util] )) (def cursor-key :b02-add-attrs-to-elem) (def height 100) (def width 100) (defn example [app-state] (let [viz-ratom (reagent/cursor app-state [cursor-key])] (fn [...
104938
(ns rid3.b02-add-attrs-to-elem (:require [reagent.core :as reagent] [rid3.core :as rid3 :refer [rid3->]] [rid3.basics-util :as util] )) (def cursor-key :<KEY> <PASSWORD> <KEY>-<PASSWORD> <KEY>-<PASSWORD>) (def height 100) (def width 100) (defn example [app-state] (let [viz-ratom (reagent/cursor app-s...
true
(ns rid3.b02-add-attrs-to-elem (:require [reagent.core :as reagent] [rid3.core :as rid3 :refer [rid3->]] [rid3.basics-util :as util] )) (def cursor-key :PI:KEY:<KEY>END_PI PI:PASSWORD:<PASSWORD>END_PI PI:KEY:<KEY>END_PI-PI:PASSWORD:<PASSWORD>END_PI PI:KEY:<KEY>END_PI-PI:PASSWORD:<PASSWORD>END_PI) (def h...
[ { "context": " \"{\\\"refresh_token\\\": \\\"test-token\\\"\"\n #(o/exchange", "end": 1167, "score": 0.5124881267547607, "start": 1163, "tag": "PASSWORD", "value": "test" }, { "context": " \"{\\\"refresh_token...
test/full/contacts_api_client/oauth_test.clj
fullcontact/contacts-api-clojure
1
(ns full.contacts-api-client.oauth-test (:use midje.sweet) (:require [full.contacts-api-client.oauth :as o] [full.contacts-api-client.util :as u] [ring.util.codec :refer [form-encode]] [full.contacts-api-client.test-helper :as h])) (facts "about oauth" (fact "get authoriz...
43036
(ns full.contacts-api-client.oauth-test (:use midje.sweet) (:require [full.contacts-api-client.oauth :as o] [full.contacts-api-client.util :as u] [ring.util.codec :refer [form-encode]] [full.contacts-api-client.test-helper :as h])) (facts "about oauth" (fact "get authoriz...
true
(ns full.contacts-api-client.oauth-test (:use midje.sweet) (:require [full.contacts-api-client.oauth :as o] [full.contacts-api-client.util :as u] [ring.util.codec :refer [form-encode]] [full.contacts-api-client.test-helper :as h])) (facts "about oauth" (fact "get authoriz...
[ { "context": "er type and returns the key and value\n i.e. {:a '123'} -> {:a 123}\"\n [[k v]]\n (let [mapd-types (into", "end": 2141, "score": 0.8620372414588928, "start": 2138, "tag": "KEY", "value": "123" }, { "context": "urns the key and value\n i.e. {:a '123'} -> {:a 123}\"\n...
src/taxidata/input_impl_file.clj
brycemcd/nyctaxi-data-processing
0
(ns taxidata.input-impl-file "Imports taxi trips from a file. Files are expected to be UTF-8 encoded and records are expected to be separated by new lines (\r\n) and values are expected to be comma separated files" (:require [clj-time.format :as dttm_f] [taxidata.core :refer :all] )) ...
123046
(ns taxidata.input-impl-file "Imports taxi trips from a file. Files are expected to be UTF-8 encoded and records are expected to be separated by new lines (\r\n) and values are expected to be comma separated files" (:require [clj-time.format :as dttm_f] [taxidata.core :refer :all] )) ...
true
(ns taxidata.input-impl-file "Imports taxi trips from a file. Files are expected to be UTF-8 encoded and records are expected to be separated by new lines (\r\n) and values are expected to be comma separated files" (:require [clj-time.format :as dttm_f] [taxidata.core :refer :all] )) ...
[ { "context": "chronous HTTP Client for Clojure\n\n; Copyright 2011 Hubert Iwaniuk\n;\n; Licensed under the Apache License, Version 2.", "end": 89, "score": 0.9998723864555359, "start": 75, "tag": "NAME", "value": "Hubert Iwaniuk" }, { "context": " \"Asynchronous HTTP Client - Clojure...
src/clj/http/async/client.clj
pelerkejepit/async
0
;; ## client.clj -- Asynchronous HTTP Client for Clojure ; Copyright 2011 Hubert Iwaniuk ; ; 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 ; ; ...
75505
;; ## client.clj -- Asynchronous HTTP Client for Clojure ; Copyright 2011 <NAME> ; ; 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 r...
true
;; ## client.clj -- Asynchronous HTTP Client for Clojure ; Copyright 2011 PI:NAME:<NAME>END_PI ; ; 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....
[ { "context": "Logic: Satisfiability\n\n; Copyright (c) 2016 - 2017 Burkhardt Renz, THM. All rights reserved.\n; The use and distribu", "end": 106, "score": 0.9998744130134583, "start": 92, "tag": "NAME", "value": "Burkhardt Renz" } ]
src/lwb/ltl/sat.clj
esb-lwb/lwb
22
; lwb Logic WorkBench -- Linear Temporal Logic: Satisfiability ; Copyright (c) 2016 - 2017 Burkhardt Renz, THM. All rights reserved. ; The use and distribution terms for this software are covered by the ; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php). ; By using this software in any fashi...
81158
; lwb Logic WorkBench -- Linear Temporal Logic: Satisfiability ; Copyright (c) 2016 - 2017 <NAME>, THM. All rights reserved. ; The use and distribution terms for this software are covered by the ; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php). ; By using this software in any fashion, you ...
true
; lwb Logic WorkBench -- Linear Temporal Logic: Satisfiability ; Copyright (c) 2016 - 2017 PI:NAME:<NAME>END_PI, THM. All rights reserved. ; The use and distribution terms for this software are covered by the ; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php). ; By using this software in any...
[ { "context": ";; Copyright (c) 2010 Tom Crayford,\n;;\n;; Redistribution and use in source and binar", "end": 34, "score": 0.9998221397399902, "start": 22, "tag": "NAME", "value": "Tom Crayford" } ]
src/clojure_refactoring/support/paths.clj
tcrayford/clojure-refactoring
6
;; Copyright (c) 2010 Tom Crayford, ;; ;; Redistribution and use in source and binary forms, with or without ;; modification, are permitted provided that the following conditions ;; are met: ;; ;; Redistributions of source code must retain the above copyright ;; notice, this list of conditions and the following...
49312
;; Copyright (c) 2010 <NAME>, ;; ;; Redistribution and use in source and binary forms, with or without ;; modification, are permitted provided that the following conditions ;; are met: ;; ;; Redistributions of source code must retain the above copyright ;; notice, this list of conditions and the following discl...
true
;; Copyright (c) 2010 PI:NAME:<NAME>END_PI, ;; ;; Redistribution and use in source and binary forms, with or without ;; modification, are permitted provided that the following conditions ;; are met: ;; ;; Redistributions of source code must retain the above copyright ;; notice, this list of conditions and the f...
[ { "context": "ser2-token (echo-util/login (system/context) \"user2\" [user2-group-id])\n _ (echo-util/ungrant ", "end": 1895, "score": 0.5067812204360962, "start": 1894, "tag": "USERNAME", "value": "2" }, { "context": "1})\n {:token \"mock-...
system-int-test/test/cmr/system_int_test/ingest/subscription_processing_test.clj
jaybarra/Common-Metadata-Repository
0
(ns cmr.system-int-test.ingest.subscription-processing-test "CMR subscription processing tests." (:require [clojure.test :refer :all] [cmr.ingest.services.jobs :as jobs] [cmr.mock-echo.client.echo-util :as echo-util] [cmr.system-int-test.data2.core :as data-core] [cmr.system-int-test.data2.granule :a...
30056
(ns cmr.system-int-test.ingest.subscription-processing-test "CMR subscription processing tests." (:require [clojure.test :refer :all] [cmr.ingest.services.jobs :as jobs] [cmr.mock-echo.client.echo-util :as echo-util] [cmr.system-int-test.data2.core :as data-core] [cmr.system-int-test.data2.granule :a...
true
(ns cmr.system-int-test.ingest.subscription-processing-test "CMR subscription processing tests." (:require [clojure.test :refer :all] [cmr.ingest.services.jobs :as jobs] [cmr.mock-echo.client.echo-util :as echo-util] [cmr.system-int-test.data2.core :as data-core] [cmr.system-int-test.data2.granule :a...
[ { "context": "\n(let [id (atom 0)]\n (defn next-key []\n (str \"cnvs-\" (swap! id inc))))\n\n\n(defn set-dbg [dbg-path on-of", "end": 2886, "score": 0.9345922470092773, "start": 2880, "tag": "KEY", "value": "cnvs-\"" } ]
src/cljs/aerial/hanami/core.cljs
behrica/hanami
0
(ns aerial.hanami.core (:require [cljs.core.async :as async :refer (<! >! put! chan) :refer-macros [go go-loop]] [clojure.string :as cljstr] [com.rpl.specter :as sp] [aerial.hanasu.client :as cli] [aerial.hanasu.common :as com] [aerial.hanami.md2hiccup :as m2h] [aerial.hanami.com...
39391
(ns aerial.hanami.core (:require [cljs.core.async :as async :refer (<! >! put! chan) :refer-macros [go go-loop]] [clojure.string :as cljstr] [com.rpl.specter :as sp] [aerial.hanasu.client :as cli] [aerial.hanasu.common :as com] [aerial.hanami.md2hiccup :as m2h] [aerial.hanami.com...
true
(ns aerial.hanami.core (:require [cljs.core.async :as async :refer (<! >! put! chan) :refer-macros [go go-loop]] [clojure.string :as cljstr] [com.rpl.specter :as sp] [aerial.hanasu.client :as cli] [aerial.hanasu.common :as com] [aerial.hanami.md2hiccup :as m2h] [aerial.hanami.com...
[ { "context": "e-opts [\"--port=10\" \"--hosts=foo,bar,baz\" \"--name=Devon\"]\n (simple-spec [[:port :", "end": 4043, "score": 0.9305911660194397, "start": 4038, "tag": "USERNAME", "value": "Devon" }, { "context": " {:port 10 :hosts [\"foo\" \"bar\" \"baz...
test/cb/cljbeat/options_test.clj
chartbeat-labs/cljbeat-options
1
(ns cb.cljbeat.options-test (:require [clojure.test :refer :all] [clj-yaml.core :as yaml] [clojure.string :as str] [cb.cljbeat.options :refer [parse-opts simple-spec sstypemap options global-specs set-o...
58338
(ns cb.cljbeat.options-test (:require [clojure.test :refer :all] [clj-yaml.core :as yaml] [clojure.string :as str] [cb.cljbeat.options :refer [parse-opts simple-spec sstypemap options global-specs set-o...
true
(ns cb.cljbeat.options-test (:require [clojure.test :refer :all] [clj-yaml.core :as yaml] [clojure.string :as str] [cb.cljbeat.options :refer [parse-opts simple-spec sstypemap options global-specs set-o...
[ { "context": " t-conn\n {:name \"Teppo\"\n :registrationDate \"12.12.2012\"\n ", "end": 681, "score": 0.9987972378730774, "start": 676, "tag": "NAME", "value": "Teppo" }, { "context": "trationDate \"12.12.2012\"\n :email ...
test/clj/yritysten/test/db/core.clj
matiasrimm/Yritysten
0
(ns yritysten.test.db.core (:require [yritysten.db.core :refer [*db*] :as db] [luminus-migrations.core :as migrations] [clojure.test :refer :all] [clojure.java.jdbc :as jdbc] [yritysten.config :refer [env]] [mount.core :as mount])) (use-fixtures :once (...
14553
(ns yritysten.test.db.core (:require [yritysten.db.core :refer [*db*] :as db] [luminus-migrations.core :as migrations] [clojure.test :refer :all] [clojure.java.jdbc :as jdbc] [yritysten.config :refer [env]] [mount.core :as mount])) (use-fixtures :once (...
true
(ns yritysten.test.db.core (:require [yritysten.db.core :refer [*db*] :as db] [luminus-migrations.core :as migrations] [clojure.test :refer :all] [clojure.java.jdbc :as jdbc] [yritysten.config :refer [env]] [mount.core :as mount])) (use-fixtures :once (...
[ { "context": "t-seq 1\n :id 2}\n {:event-id :name\n :name \"Your\"\n :event-seq 2\n :id 2}])\n\n(deftest test-tha", "end": 5577, "score": 0.6214636564254761, "start": 5573, "tag": "NAME", "value": "Your" }, { "context": "\"\n :iso \"DE\"\n :key-acc...
test/edd/test/fixture/dal_test.clj
raiffeisenbankinternational/edd-core
4
(ns edd.test.fixture.dal-test (:require [edd.test.fixture.dal :refer [verify-state ctx with-mock-dal pop-state peek-state ...
109754
(ns edd.test.fixture.dal-test (:require [edd.test.fixture.dal :refer [verify-state ctx with-mock-dal pop-state peek-state ...
true
(ns edd.test.fixture.dal-test (:require [edd.test.fixture.dal :refer [verify-state ctx with-mock-dal pop-state peek-state ...
[ { "context": "; Copyright 2020 Mark Wardle and Eldrix Ltd\n;\n; Licensed under the Apache Li", "end": 28, "score": 0.9998611807823181, "start": 17, "tag": "NAME", "value": "Mark Wardle" }, { "context": "ore))))\n\n(comment\n (import-dmd \"dmd3.db\" \"/Users/mark/Downloads/nhsbsa_d...
src/com/eldrix/hermes/ext/uk/dmd/store.clj
sidharthramesh/hermes
0
; Copyright 2020 Mark Wardle and Eldrix Ltd ; ; 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 ...
11612
; Copyright 2020 <NAME> and Eldrix Ltd ; ; 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 ag...
true
; Copyright 2020 PI:NAME:<NAME>END_PI and Eldrix Ltd ; ; 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 applic...
[ { "context": "! *unchecked-math* :warn-on-boxed)\n(ns ^{:author \"wahpenayo at gmail dot com\" \n :date \"2017-12-04\"\n :doc \"simple pre", "end": 114, "score": 0.8661303520202637, "start": 88, "tag": "EMAIL", "value": "wahpenayo at gmail dot com" } ]
src/main/clojure/taigabench/pt.clj
wahpenayo/taigabench
0
(set! *warn-on-reflection* true) (set! *unchecked-math* :warn-on-boxed) (ns ^{:author "wahpenayo at gmail dot com" :date "2017-12-04" :doc "simple prediction/truth datum" } taigabench.pt (:require [zana.api :as z])) ;;---------------------------------------------------------------- ;; TODO: ...
74479
(set! *warn-on-reflection* true) (set! *unchecked-math* :warn-on-boxed) (ns ^{:author "<EMAIL>" :date "2017-12-04" :doc "simple prediction/truth datum" } taigabench.pt (:require [zana.api :as z])) ;;---------------------------------------------------------------- ;; TODO: just use deftype? ...
true
(set! *warn-on-reflection* true) (set! *unchecked-math* :warn-on-boxed) (ns ^{:author "PI:EMAIL:<EMAIL>END_PI" :date "2017-12-04" :doc "simple prediction/truth datum" } taigabench.pt (:require [zana.api :as z])) ;;---------------------------------------------------------------- ;; TODO: just...
[ { "context": ";; Copyright (c) Rich Hickey. All rights reserved.\n;; The use and distributio", "end": 29, "score": 0.999800980091095, "start": 18, "tag": "NAME", "value": "Rich Hickey" } ]
examples/cordova_app/.lein-cljsbuild-compiler-0/clojure/browser/dom.cljs
cbilson/lein-robbie
5
;; Copyright (c) Rich Hickey. All rights reserved. ;; The use and distribution terms for this software are covered by the ;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) ;; which can be found in the file epl-v10.html at the root of this distribution. ;; By using this software in any ...
103243
;; Copyright (c) <NAME>. All rights reserved. ;; The use and distribution terms for this software are covered by the ;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) ;; which can be found in the file epl-v10.html at the root of this distribution. ;; By using this software in any fashi...
true
;; Copyright (c) PI:NAME:<NAME>END_PI. All rights reserved. ;; The use and distribution terms for this software are covered by the ;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) ;; which can be found in the file epl-v10.html at the root of this distribution. ;; By using this softwar...
[ { "context": "et [user\n {:id 1\n :first_name \"Bob\"\n :last_name \"Bobberton\"\n :co", "end": 604, "score": 0.9997760653495789, "start": 601, "tag": "NAME", "value": "Bob" }, { "context": " :first_name \"Bob\"\n :last_name \"...
test/yesql_examples/core_test.clj
ClojureTO/yesql-with-tests
0
(ns yesql-examples.core-test (:require [clojure.test :refer :all] [clojure.java.io :as io] [yesql-examples.core :refer :all])) (defn reset-db! [] (letfn [(delete [f] (when (.exists f) (.delete f)))] (delete (io/file "store.db.trace.db")) (delete (io/file "s...
113953
(ns yesql-examples.core-test (:require [clojure.test :refer :all] [clojure.java.io :as io] [yesql-examples.core :refer :all])) (defn reset-db! [] (letfn [(delete [f] (when (.exists f) (.delete f)))] (delete (io/file "store.db.trace.db")) (delete (io/file "s...
true
(ns yesql-examples.core-test (:require [clojure.test :refer :all] [clojure.java.io :as io] [yesql-examples.core :refer :all])) (defn reset-db! [] (letfn [(delete [f] (when (.exists f) (.delete f)))] (delete (io/file "store.db.trace.db")) (delete (io/file "s...
[ { "context": "ions\n and transform values.\", :author \"Sean Dawson\"}\n nanoweave.resolvers.base\n (:use [nanoweave.as", "end": 135, "score": 0.999859631061554, "start": 124, "tag": "NAME", "value": "Sean Dawson" } ]
src/nanoweave/resolvers/base.clj
NoxHarmonium/nanoweave
0
(ns ^{:doc "Provides functions to walk the AST parsed by the parsing functions and transform values.", :author "Sean Dawson"} nanoweave.resolvers.base (:use [nanoweave.ast.base :only [resolve-value Resolvable]])) (defn safe-resolve-value "Resolves the input if the given resolver is not nil and conform...
80262
(ns ^{:doc "Provides functions to walk the AST parsed by the parsing functions and transform values.", :author "<NAME>"} nanoweave.resolvers.base (:use [nanoweave.ast.base :only [resolve-value Resolvable]])) (defn safe-resolve-value "Resolves the input if the given resolver is not nil and conforms to ...
true
(ns ^{:doc "Provides functions to walk the AST parsed by the parsing functions and transform values.", :author "PI:NAME:<NAME>END_PI"} nanoweave.resolvers.base (:use [nanoweave.ast.base :only [resolve-value Resolvable]])) (defn safe-resolve-value "Resolves the input if the given resolver is not nil an...
[ { "context": "p://magiccards.info/scans/en/m11/211.jpg\", :name \"Ornithopter\", :url \"http://magiccards.info/m11/en/211.html\", ", "end": 1027, "score": 0.7010399103164673, "start": 1016, "tag": "NAME", "value": "Ornithopter" } ]
test/info/magiccards/test/scraper.clj
john2x/searchthecity
1
(ns info.magiccards.test.scraper (:require [clojure.test :refer :all] [info.magiccards.scraper :as scraper] [net.cgrand.enlive-html :as en]) (:use [clj-http.util :only [url-decode url-encode]]) (:import (java.io File))) (def thopters (scraper/query "thopter t:creature" 1)) (def goblins-pa...
32803
(ns info.magiccards.test.scraper (:require [clojure.test :refer :all] [info.magiccards.scraper :as scraper] [net.cgrand.enlive-html :as en]) (:use [clj-http.util :only [url-decode url-encode]]) (:import (java.io File))) (def thopters (scraper/query "thopter t:creature" 1)) (def goblins-pa...
true
(ns info.magiccards.test.scraper (:require [clojure.test :refer :all] [info.magiccards.scraper :as scraper] [net.cgrand.enlive-html :as en]) (:use [clj-http.util :only [url-decode url-encode]]) (:import (java.io File))) (def thopters (scraper/query "thopter t:creature" 1)) (def goblins-pa...
[ { "context": "ers and s-expressions\"\n :url \"https://github.com/kkinnear/zprint\"\n :license {:name \"MIT License\",\n ", "end": 118, "score": 0.9997194409370422, "start": 110, "tag": "USERNAME", "value": "kkinnear" }, { "context": "//opensource.org/licenses/MIT\",\n ...
project.clj
rundis/zprint
0
(defproject zprint "0.5.4" :description "Pretty print zippers and s-expressions" :url "https://github.com/kkinnear/zprint" :license {:name "MIT License", :url "https://opensource.org/licenses/MIT", :key "mit", :year 2015} :plugins [[lein-expectations "0.0.8"] [lein-codox ...
31847
(defproject zprint "0.5.4" :description "Pretty print zippers and s-expressions" :url "https://github.com/kkinnear/zprint" :license {:name "MIT License", :url "https://opensource.org/licenses/MIT", :key "<KEY>", :year 2015} :plugins [[lein-expectations "0.0.8"] [lein-codo...
true
(defproject zprint "0.5.4" :description "Pretty print zippers and s-expressions" :url "https://github.com/kkinnear/zprint" :license {:name "MIT License", :url "https://opensource.org/licenses/MIT", :key "PI:KEY:<KEY>END_PI", :year 2015} :plugins [[lein-expectations "0.0.8...
[ { "context": "d 0.1)\n\n(def rim-griffon (make ::starship {:name \"Rim Griffon\" :speed rim-griffon-speed}))\n(def malse (make ::a", "end": 217, "score": 0.9997667074203491, "start": 206, "tag": "NAME", "value": "Rim Griffon" }, { "context": "ffon-speed}))\n(def malse (make ::asteroi...
func-prog/fp-oo/test/sources/t_asteroids.clj
tannerwelsh/code-training
0
(ns sources.t-asteroids (:use midje.sweet)) (load-file "sources/asteroids.clj") (def rim-griffon-speed 1000) (def load-trader-speed 30) (def malse-speed 0.1) (def rim-griffon (make ::starship {:name "Rim Griffon" :speed rim-griffon-speed})) (def malse (make ::asteroid {:name "Malse" :speed malse-speed :gravitatio...
66474
(ns sources.t-asteroids (:use midje.sweet)) (load-file "sources/asteroids.clj") (def rim-griffon-speed 1000) (def load-trader-speed 30) (def malse-speed 0.1) (def rim-griffon (make ::starship {:name "<NAME>" :speed rim-griffon-speed})) (def malse (make ::asteroid {:name "<NAME>" :speed malse-speed :gravitational-...
true
(ns sources.t-asteroids (:use midje.sweet)) (load-file "sources/asteroids.clj") (def rim-griffon-speed 1000) (def load-trader-speed 30) (def malse-speed 0.1) (def rim-griffon (make ::starship {:name "PI:NAME:<NAME>END_PI" :speed rim-griffon-speed})) (def malse (make ::asteroid {:name "PI:NAME:<NAME>END_PI" :speed...
[ { "context": "\"/api/login\"\n :body {:username username\n :password password}\n ", "end": 3428, "score": 0.992279589176178, "start": 3420, "tag": "USERNAME", "value": "username" }, { "context": "ame username\n ...
src/ui/login.cljs
victorb/cube-1
28
(ns ui.login (:require [re-frame.core :refer [dispatch reg-fx reg-event-fx reg-event-db subscribe reg-sub]] [reagent.cookies :as cookies] [day8.re-frame.tracing :refer-macros [fn-traced]])) (def cookie-name "login-token") (reg-sub :login/error (fn-traced [db _] (-> db ...
17409
(ns ui.login (:require [re-frame.core :refer [dispatch reg-fx reg-event-fx reg-event-db subscribe reg-sub]] [reagent.cookies :as cookies] [day8.re-frame.tracing :refer-macros [fn-traced]])) (def cookie-name "login-token") (reg-sub :login/error (fn-traced [db _] (-> db ...
true
(ns ui.login (:require [re-frame.core :refer [dispatch reg-fx reg-event-fx reg-event-db subscribe reg-sub]] [reagent.cookies :as cookies] [day8.re-frame.tracing :refer-macros [fn-traced]])) (def cookie-name "login-token") (reg-sub :login/error (fn-traced [db _] (-> db ...
[ { "context": "; Copyright (c) 2018-present Walmart, Inc.\n;\n; Licensed under the Apache License, ", "end": 32, "score": 0.7864537835121155, "start": 29, "tag": "NAME", "value": "Wal" } ]
src/com/walmartlabs/lacinia/pedestal/spec.clj
transducer/lacinia-pedestal
163
; Copyright (c) 2018-present Walmart, Inc. ; ; 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...
44626
; Copyright (c) 2018-present <NAME>mart, Inc. ; ; 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...
true
; Copyright (c) 2018-present PI:NAME:<NAME>END_PImart, Inc. ; ; 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...
[ { "context": "ail 不合法\"]]\n :password [[v/required :message \"密码不能为空\"]\n [v/min-count 7 :message \"密", "end": 685, "score": 0.7769134640693665, "start": 683, "tag": "PASSWORD", "value": "密码" } ]
src-cljc/soul_talk/auth_validate.cljc
neromous/Re_Frame_template_of_FamiliyCost
4
(ns soul-talk.auth-validate (:require [bouncer.core :as b] [bouncer.validators :as v] [taoensso.timbre :as log])) (defn reg-errors [{:keys [password] :as params}] (first (b/validate params :email [[v/required :message "email 不能为空"] [v/email :message "email 不合法...
112924
(ns soul-talk.auth-validate (:require [bouncer.core :as b] [bouncer.validators :as v] [taoensso.timbre :as log])) (defn reg-errors [{:keys [password] :as params}] (first (b/validate params :email [[v/required :message "email 不能为空"] [v/email :message "email 不合法...
true
(ns soul-talk.auth-validate (:require [bouncer.core :as b] [bouncer.validators :as v] [taoensso.timbre :as log])) (defn reg-errors [{:keys [password] :as params}] (first (b/validate params :email [[v/required :message "email 不能为空"] [v/email :message "email 不合法...
[ { "context": ";; Copyright (c) 2010 Tom Crayford,\n;;\n;; Redistribution and use in source and binar", "end": 34, "score": 0.9998286962509155, "start": 22, "tag": "NAME", "value": "Tom Crayford" } ]
src/clojure_refactoring/rename.clj
tcrayford/clojure-refactoring
6
;; Copyright (c) 2010 Tom Crayford, ;; ;; Redistribution and use in source and binary forms, with or without ;; modification, are permitted provided that the following conditions ;; are met: ;; ;; Redistributions of source code must retain the above copyright ;; notice, this list of conditions and the following...
118876
;; Copyright (c) 2010 <NAME>, ;; ;; Redistribution and use in source and binary forms, with or without ;; modification, are permitted provided that the following conditions ;; are met: ;; ;; Redistributions of source code must retain the above copyright ;; notice, this list of conditions and the following discl...
true
;; Copyright (c) 2010 PI:NAME:<NAME>END_PI, ;; ;; Redistribution and use in source and binary forms, with or without ;; modification, are permitted provided that the following conditions ;; are met: ;; ;; Redistributions of source code must retain the above copyright ;; notice, this list of conditions and the f...
[ { "context": "able-sql])\n\t(jdbc/insert! pgdb :users {:username \"lindsaybluth\" :email \"lindsay@bluth.com\"})\n\t(jdbc/insert! pgdb", "end": 222, "score": 0.999655544757843, "start": 210, "tag": "USERNAME", "value": "lindsaybluth" }, { "context": "rt! pgdb :users {:username \"lind...
sample/src/sample/core.clj
echelon60/sample_clojure_postgres
1
(ns sample.core (:gen-class)) (use 'clojure.tools.logging) (load-file "db/repl-connection.clj") (defn -main [username] (jdbc/execute! pgdb [create-users-table-sql]) (jdbc/insert! pgdb :users {:username "lindsaybluth" :email "lindsay@bluth.com"}) (jdbc/insert! pgdb :users {:username "tobiasfunke" :email "tobias@...
17984
(ns sample.core (:gen-class)) (use 'clojure.tools.logging) (load-file "db/repl-connection.clj") (defn -main [username] (jdbc/execute! pgdb [create-users-table-sql]) (jdbc/insert! pgdb :users {:username "lindsaybluth" :email "<EMAIL>"}) (jdbc/insert! pgdb :users {:username "tobiasfunke" :email "<EMAIL>"}) (appl...
true
(ns sample.core (:gen-class)) (use 'clojure.tools.logging) (load-file "db/repl-connection.clj") (defn -main [username] (jdbc/execute! pgdb [create-users-table-sql]) (jdbc/insert! pgdb :users {:username "lindsaybluth" :email "PI:EMAIL:<EMAIL>END_PI"}) (jdbc/insert! pgdb :users {:username "tobiasfunke" :email "PI...
[ { "context": "))\n\n (testing \"person name creation\"\n (is (= \"Max\" (:given-names (contact-name/make \"Max\" \"Muster\")", "end": 486, "score": 0.9307862520217896, "start": 483, "tag": "NAME", "value": "Max" }, { "context": " (is (= \"Max\" (:given-names (contact-name/make ...
test/address_decoder/types/name_test.clj
GuckesRohrkaGbR/address-decoder
1
(ns address-decoder.types.name-test (:require [clojure.test :refer :all]) (:require [address-decoder.types.contact-name :as contact-name])) (deftest contact-name-creation-test (testing "empty name creation" (let [{:keys [given-names surnames organization-name]} (...
24408
(ns address-decoder.types.name-test (:require [clojure.test :refer :all]) (:require [address-decoder.types.contact-name :as contact-name])) (deftest contact-name-creation-test (testing "empty name creation" (let [{:keys [given-names surnames organization-name]} (...
true
(ns address-decoder.types.name-test (:require [clojure.test :refer :all]) (:require [address-decoder.types.contact-name :as contact-name])) (deftest contact-name-creation-test (testing "empty name creation" (let [{:keys [given-names surnames organization-name]} (...
[ { "context": "input :login-form :passwd {:type :password, :value passwd, :required true}]\n [:> bp/Button {:intent :p", "end": 561, "score": 0.7617628574371338, "start": 555, "tag": "PASSWORD", "value": "passwd" } ]
src/app/view/login_form.cljs
LeXofLeviafan/personal-bookmarks
0
(ns app.view.login-form (:require ["@blueprintjs/core" :as bp] [re-frame.core :as rf] [app.util :refer [force-evt]] [app.view.components :as comp])) (defn login-form [] (let [{:keys [user passwd]} @(rf/subscribe [:login-form]) error @(rf/subscribe [:auth-...
98197
(ns app.view.login-form (:require ["@blueprintjs/core" :as bp] [re-frame.core :as rf] [app.util :refer [force-evt]] [app.view.components :as comp])) (defn login-form [] (let [{:keys [user passwd]} @(rf/subscribe [:login-form]) error @(rf/subscribe [:auth-...
true
(ns app.view.login-form (:require ["@blueprintjs/core" :as bp] [re-frame.core :as rf] [app.util :refer [force-evt]] [app.view.components :as comp])) (defn login-form [] (let [{:keys [user passwd]} @(rf/subscribe [:login-form]) error @(rf/subscribe [:auth-...
[ { "context": ";\n; Copyright © 2021 Peter Monks\n;\n; Licensed under the Apache License, Version 2.", "end": 32, "score": 0.9996545910835266, "start": 21, "tag": "NAME", "value": "Peter Monks" } ]
test/lice_comb/files_test.clj
pmonks/lice-comb
3
; ; Copyright © 2021 Peter Monks ; ; 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 writi...
82209
; ; Copyright © 2021 <NAME> ; ; 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 writing, s...
true
; ; Copyright © 2021 PI:NAME:<NAME>END_PI ; ; 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...
[ { "context": "ail Website\"\n :email \"saing.sab@gmail.com\"\n :url \"https://www.s", "end": 810, "score": 0.9999144673347473, "start": 791, "tag": "EMAIL", "value": "saing.sab@gmail.com" } ]
src/stronghand_3e_api/handler.clj
saingsab/stronghand-3e-api
0
(ns stronghand-3e-api.handler (:require [compojure.api.sweet :refer :all] ;;[ring.util.http-response :refer :all] ;; [ring.middleware.cors :refer [wrap-cors]] [jumblerg.middleware.cors :refer [wrap-cors]] [stronghand-3e-api.usr-schema :as usrsc])) ;; [strong...
110499
(ns stronghand-3e-api.handler (:require [compojure.api.sweet :refer :all] ;;[ring.util.http-response :refer :all] ;; [ring.middleware.cors :refer [wrap-cors]] [jumblerg.middleware.cors :refer [wrap-cors]] [stronghand-3e-api.usr-schema :as usrsc])) ;; [strong...
true
(ns stronghand-3e-api.handler (:require [compojure.api.sweet :refer :all] ;;[ring.util.http-response :refer :all] ;; [ring.middleware.cors :refer [wrap-cors]] [jumblerg.middleware.cors :refer [wrap-cors]] [stronghand-3e-api.usr-schema :as usrsc])) ;; [strong...
[ { "context": "defrecord Message [sender text])\n\n(user.Message. \"Aaron\" \"Hello\")\n\n(def messages (ref ()))\n\n; bad idea\n(d", "end": 981, "score": 0.9940938949584961, "start": 976, "tag": "NAME", "value": "Aaron" }, { "context": "essage\")\n\n@messages\n\n(add-message (user.Me...
data/train/clojure/521d6ac6d77d7de0585401871fcade6c4b1698fe05_State.clj
harshp8l/deep-learning-lang-detection
84
; refs - manage coordinated, synchronous changes to shared state ; atoms - manage uncoordinated, synchronous changes to shared state ; agents - manage asynchronous changes to shared state ; vars - manage thread-local state ; == 5.1 Concurrency, Parallelism, and Locking ; == 5.2 Refs and Software Transactional Memory ...
13842
; refs - manage coordinated, synchronous changes to shared state ; atoms - manage uncoordinated, synchronous changes to shared state ; agents - manage asynchronous changes to shared state ; vars - manage thread-local state ; == 5.1 Concurrency, Parallelism, and Locking ; == 5.2 Refs and Software Transactional Memory ...
true
; refs - manage coordinated, synchronous changes to shared state ; atoms - manage uncoordinated, synchronous changes to shared state ; agents - manage asynchronous changes to shared state ; vars - manage thread-local state ; == 5.1 Concurrency, Parallelism, and Locking ; == 5.2 Refs and Software Transactional Memory ...
[ { "context": "equired params\"\n (is (= {:errors {:password \"password is too common.\"}}\n (mt/client :post 400 \"util/passw", "end": 296, "score": 0.8924413323402405, "start": 274, "tag": "PASSWORD", "value": "password is too common" }, { "context": "mplexity check...
c#-metabase/test/metabase/api/util_test.clj
hanakhry/Crime_Admin
0
(ns metabase.api.util-test "Tests for /api/util" (:require [clojure.test :refer :all] [metabase.test :as mt])) (deftest password-check-test (testing "POST /api/util/password_check" (testing "Test for required params" (is (= {:errors {:password "password is too common."}} (mt/cl...
45476
(ns metabase.api.util-test "Tests for /api/util" (:require [clojure.test :refer :all] [metabase.test :as mt])) (deftest password-check-test (testing "POST /api/util/password_check" (testing "Test for required params" (is (= {:errors {:password "<PASSWORD>."}} (mt/client :post 4...
true
(ns metabase.api.util-test "Tests for /api/util" (:require [clojure.test :refer :all] [metabase.test :as mt])) (deftest password-check-test (testing "POST /api/util/password_check" (testing "Test for required params" (is (= {:errors {:password "PI:PASSWORD:<PASSWORD>END_PI."}} ...
[ { "context": "#!/usr/bin/env bb\n\n;; Cheers to Bob Herrmann o/\n;; Taken and modified to add request body pars", "end": 44, "score": 0.9998665452003479, "start": 32, "tag": "NAME", "value": "Bob Herrmann" }, { "context": " add request body parsing from https://github.com/bherrmann7/...
examples/example_bb.clj
pfeodrippe/ummoi
8
#!/usr/bin/env bb ;; Cheers to Bob Herrmann o/ ;; Taken and modified to add request body parsing from https://github.com/bherrmann7/bb-common/blob/master/wee_httpd.bb (ns wee-httpd) (import (java.net ServerSocket)) (require '[clojure.string :as string] '[clojure.java.io :as io] '[cheshire.core :as ...
30356
#!/usr/bin/env bb ;; Cheers to <NAME> o/ ;; Taken and modified to add request body parsing from https://github.com/bherrmann7/bb-common/blob/master/wee_httpd.bb (ns wee-httpd) (import (java.net ServerSocket)) (require '[clojure.string :as string] '[clojure.java.io :as io] '[cheshire.core :as json])...
true
#!/usr/bin/env bb ;; Cheers to PI:NAME:<NAME>END_PI o/ ;; Taken and modified to add request body parsing from https://github.com/bherrmann7/bb-common/blob/master/wee_httpd.bb (ns wee-httpd) (import (java.net ServerSocket)) (require '[clojure.string :as string] '[clojure.java.io :as io] '[cheshire.c...
[ { "context": " \"restful-crud\"\n :user \"postgres\"\n :password \"test\"})\n\n(def swagger-config\n {:ui \"/swagger\"\n :spe", "end": 433, "score": 0.9995239973068237, "start": 429, "tag": "PASSWORD", "value": "test" } ]
clojure/restful-crud/src/restful_crud/core.clj
tamizhvendan/BlogSamples
30
(ns restful-crud.core (:require [ring.adapter.jetty :refer [run-jetty]] [toucan.db :as db] [toucan.models :as models] [compojure.api.sweet :refer [api routes]] [restful-crud.user :refer [user-entity-route]] [restful-crud.book :refer [book-entity-route]]) (...
68664
(ns restful-crud.core (:require [ring.adapter.jetty :refer [run-jetty]] [toucan.db :as db] [toucan.models :as models] [compojure.api.sweet :refer [api routes]] [restful-crud.user :refer [user-entity-route]] [restful-crud.book :refer [book-entity-route]]) (...
true
(ns restful-crud.core (:require [ring.adapter.jetty :refer [run-jetty]] [toucan.db :as db] [toucan.models :as models] [compojure.api.sweet :refer [api routes]] [restful-crud.user :refer [user-entity-route]] [restful-crud.book :refer [book-entity-route]]) (...
[ { "context": " (into {}))}))\n\n\n(def storage-key \"tfsa-app-state\")\n\n(defn save-state [deposits]\n (when-some [stor", "end": 4271, "score": 0.9361293315887451, "start": 4257, "tag": "KEY", "value": "tfsa-app-state" } ]
src/tfsa/app_state.cljs
SneakyPeet/tax-free-savings-tracker
0
(ns tfsa.app-state (:require [citrus.core :as citrus] [cljs-time.core :as time] [cljs-time.format :as time.format] [tfsa.config :as conf] [clojure.string :as string] [tfsa.domain :as domain] [cljsjs.filesaverjs])) ;;;; ADDING PERSON (defmulti ...
92722
(ns tfsa.app-state (:require [citrus.core :as citrus] [cljs-time.core :as time] [cljs-time.format :as time.format] [tfsa.config :as conf] [clojure.string :as string] [tfsa.domain :as domain] [cljsjs.filesaverjs])) ;;;; ADDING PERSON (defmulti ...
true
(ns tfsa.app-state (:require [citrus.core :as citrus] [cljs-time.core :as time] [cljs-time.format :as time.format] [tfsa.config :as conf] [clojure.string :as string] [tfsa.domain :as domain] [cljsjs.filesaverjs])) ;;;; ADDING PERSON (defmulti ...
[ { "context": "OTE: This code was forked from\nhttps://github.com/clojure/clojure/blob/master/src/clj/clojure/walk.clj\ncomm", "end": 1038, "score": 0.6848242878913879, "start": 1031, "tag": "USERNAME", "value": "clojure" }, { "context": "OTE: This code was forked from\nhttps://github...
data/train/clojure/03ff0a5b3c904cb66e394d56e9940d9f2697fa25core.clj
harshp8l/deep-learning-lang-detection
84
(ns junior.core) (defmacro ?else [x else] `(if ~x ~x ~else)) (defn !nil? [x] (not (nil? x))) (defmacro !nil?else [x else] `(if (!nil? ~x) ~x ~else)) (defmacro if= [x y then else] `(if (= ~x ~y) ~then ~else)) (defn ^{:doc "Creates a MapEntry"} map-entry ([x y] (map-entry [x y]))([coll] (if= 2 (count coll) ...
36891
(ns junior.core) (defmacro ?else [x else] `(if ~x ~x ~else)) (defn !nil? [x] (not (nil? x))) (defmacro !nil?else [x else] `(if (!nil? ~x) ~x ~else)) (defmacro if= [x y then else] `(if (= ~x ~y) ~then ~else)) (defn ^{:doc "Creates a MapEntry"} map-entry ([x y] (map-entry [x y]))([coll] (if= 2 (count coll) ...
true
(ns junior.core) (defmacro ?else [x else] `(if ~x ~x ~else)) (defn !nil? [x] (not (nil? x))) (defmacro !nil?else [x else] `(if (!nil? ~x) ~x ~else)) (defmacro if= [x y then else] `(if (= ~x ~y) ~then ~else)) (defn ^{:doc "Creates a MapEntry"} map-entry ([x y] (map-entry [x y]))([coll] (if= 2 (count coll) ...
[ { "context": "\"grant_type\" \"authorization_code\"\n \"code\" \"MGMxMTIxOGMtODllNi00Y2IxLTgzMmUtNWRiOTlkN2JjNTFiuCB9pfAg6EonMv-7e_aCGitFnndOIe5gNT71hH4Ix1ImrqHk2EHrPCBNMV-l1crDC4RtS2shyDamk9myheKPkQ\"\n \"redirect_uri\" \"http://localhost:3002/on", "end": 2799, "score": 0.9931158423423767...
modules/oauth2/src/juxt/apex/alpha/oauth2/http_client.clj
SevereOverfl0w/apex
123
;; Copyright © 2020, JUXT LTD. (ns juxt.apex.alpha.oauth2.http-client (:require [ring.util.codec :as codec]) (:import [java.net URI] [java.net.http HttpClient HttpClient$Version HttpRequest HttpResponse$BodyHandlers HttpRequest$BodyPublishers])) (defn new-client ([] (new-client {})) ([{:keys [conn...
121858
;; Copyright © 2020, JUXT LTD. (ns juxt.apex.alpha.oauth2.http-client (:require [ring.util.codec :as codec]) (:import [java.net URI] [java.net.http HttpClient HttpClient$Version HttpRequest HttpResponse$BodyHandlers HttpRequest$BodyPublishers])) (defn new-client ([] (new-client {})) ([{:keys [conn...
true
;; Copyright © 2020, JUXT LTD. (ns juxt.apex.alpha.oauth2.http-client (:require [ring.util.codec :as codec]) (:import [java.net URI] [java.net.http HttpClient HttpClient$Version HttpRequest HttpResponse$BodyHandlers HttpRequest$BodyPublishers])) (defn new-client ([] (new-client {})) ([{:keys [conn...
[ { "context": ";;;; Tests for the utiity code.\n;;;;\n;;;; Ron Ferguson\n;;;; Created: 2014-04-22\n;;;; Updated: 2014-04-30", "end": 54, "score": 0.9998576045036316, "start": 42, "tag": "NAME", "value": "Ron Ferguson" } ]
test/dray/util_test.clj
visthink/dray2
1
;;;; Tests for the utiity code. ;;;; ;;;; Ron Ferguson ;;;; Created: 2014-04-22 ;;;; Updated: 2014-04-30 ;;;; (ns dray.util-test (:import (java.io File) (java.nio.file Path) ) (:require [clojure.test :refer :all] [dray.util :refer :all] [dray.util.map :refer [contains-key-vals...
92299
;;;; Tests for the utiity code. ;;;; ;;;; <NAME> ;;;; Created: 2014-04-22 ;;;; Updated: 2014-04-30 ;;;; (ns dray.util-test (:import (java.io File) (java.nio.file Path) ) (:require [clojure.test :refer :all] [dray.util :refer :all] [dray.util.map :refer [contains-key-vals?]] ...
true
;;;; Tests for the utiity code. ;;;; ;;;; PI:NAME:<NAME>END_PI ;;;; Created: 2014-04-22 ;;;; Updated: 2014-04-30 ;;;; (ns dray.util-test (:import (java.io File) (java.nio.file Path) ) (:require [clojure.test :refer :all] [dray.util :refer :all] [dray.util.map :refer [contains-...
[ { "context": ";; ClojureScript by Mathieu Legrand <mathieu@legrand.im>\n(ns potato.emoji\n (:require", "end": 35, "score": 0.9998874068260193, "start": 20, "tag": "NAME", "value": "Mathieu Legrand" }, { "context": ";; ClojureScript by Mathieu Legrand <mathieu@legrand.im>\n(ns potato...
web-app/src/cljs/potato/emoji.cljs
cicakhq/potato
188
;; ClojureScript by Mathieu Legrand <mathieu@legrand.im> (ns potato.emoji (:require [om.dom :include-macros true])) (declare unicode-to-aliases) (defn get-name [alias] (condp = (type alias) js/String alias cljs.core/PersistentVector (first alias) "")) (defn span [item] (om.dom/span nil ...
110623
;; ClojureScript by <NAME> <<EMAIL>> (ns potato.emoji (:require [om.dom :include-macros true])) (declare unicode-to-aliases) (defn get-name [alias] (condp = (type alias) js/String alias cljs.core/PersistentVector (first alias) "")) (defn span [item] (om.dom/span nil (om.dom/span #js ...
true
;; ClojureScript by PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> (ns potato.emoji (:require [om.dom :include-macros true])) (declare unicode-to-aliases) (defn get-name [alias] (condp = (type alias) js/String alias cljs.core/PersistentVector (first alias) "")) (defn span [item] (om.dom/span nil ...
[ { "context": "nstant} (<? (d/<transact! conn [[:db/add 1 :name \"Ivan\"]]))\n {tx2 :tx txInstant2 :txInstant} (<? ", "end": 4111, "score": 0.954752504825592, "start": 4107, "tag": "NAME", "value": "Ivan" }, { "context": "nstant} (<? (d/<transact! conn [[:db/add 1 :name \"Petr\...
test/datomish/db_test.cljc
joewalker/mentat
0
;; Copyright 2016 Mozilla ;; ;; 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 writing, software...
104160
;; Copyright 2016 Mozilla ;; ;; 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 writing, software...
true
;; Copyright 2016 Mozilla ;; ;; 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 writing, software...
[ { "context": " private-keyset-handle (keyset/generate-new :ecies-p256-hkdf-hmac-sha256-aes128-gcm)\n public-keyset-handle (keyset/get-publi", "end": 569, "score": 0.8161426186561584, "start": 533, "tag": "KEY", "value": "ies-p256-hkdf-hmac-sha256-aes128-gcm" } ]
test/tinklj/acceptance/hybrid_encryption_test.clj
lamp/tinklj
22
(ns tinklj.acceptance.hybrid-encryption-test (:require [clojure.test :refer [deftest is testing]] [tinklj.config :refer [register]] [tinklj.keys.keyset-handle :as keyset] [tinklj.primitives :as primitives] [tinklj.encryption.aead :refer [encrypt decrypt]])) (register) ...
4484
(ns tinklj.acceptance.hybrid-encryption-test (:require [clojure.test :refer [deftest is testing]] [tinklj.config :refer [register]] [tinklj.keys.keyset-handle :as keyset] [tinklj.primitives :as primitives] [tinklj.encryption.aead :refer [encrypt decrypt]])) (register) ...
true
(ns tinklj.acceptance.hybrid-encryption-test (:require [clojure.test :refer [deftest is testing]] [tinklj.config :refer [register]] [tinklj.keys.keyset-handle :as keyset] [tinklj.primitives :as primitives] [tinklj.encryption.aead :refer [encrypt decrypt]])) (register) ...
[ { "context": "Functions for unit conversions\n References:\n [1] Meeus, Jean. _Astronomical Algorithms_ 2nd Ed. Willman-Bell, ", "end": 104, "score": 0.9991084933280945, "start": 93, "tag": "NAME", "value": "Meeus, Jean" } ]
src/com/climate/astro_algo/conversions.clj
TheClimateCorporation/astro-algo
8
(ns com.climate.astro-algo.conversions "Functions for unit conversions References: [1] Meeus, Jean. _Astronomical Algorithms_ 2nd Ed. Willman-Bell, Inc. 1998.") (defn deg->rad "Convert degrees to radians" [deg] ; based on [1] Ch.1 (* deg (/ (Math/PI) 180))) (defn rad->deg "Convert radians to degrees" ...
72069
(ns com.climate.astro-algo.conversions "Functions for unit conversions References: [1] <NAME>. _Astronomical Algorithms_ 2nd Ed. Willman-Bell, Inc. 1998.") (defn deg->rad "Convert degrees to radians" [deg] ; based on [1] Ch.1 (* deg (/ (Math/PI) 180))) (defn rad->deg "Convert radians to degrees" [ra...
true
(ns com.climate.astro-algo.conversions "Functions for unit conversions References: [1] PI:NAME:<NAME>END_PI. _Astronomical Algorithms_ 2nd Ed. Willman-Bell, Inc. 1998.") (defn deg->rad "Convert degrees to radians" [deg] ; based on [1] Ch.1 (* deg (/ (Math/PI) 180))) (defn rad->deg "Convert radians to ...
[ { "context": ".4.4\"\n :sha256-hash \"b4dc37877a0fd00fc72ebda98977c2133be9ba6b26bcdd13b1b14a369e508948\"}\n :docker {:bip \"192.168.1.1", "end": 5327, "score": 0.989876389503479, "start": 5263, "tag": "KEY", "value": "b4dc37877a0fd00fc72ebda98...
main/src/dda/pallet/dda_managed_ide/domain.clj
DomainDrivenArchitecture/dda-managed-ide
10
; Licensed to the Apache Software Foundation (ASF) under one ; or more contributor license agreements. See the NOTICE file ; distributed with this work for additional information ; regarding copyright ownership. The ASF licenses this file ; to you under the Apache License, Version 2.0 (the ; "License"); you may not use...
1646
; Licensed to the Apache Software Foundation (ASF) under one ; or more contributor license agreements. See the NOTICE file ; distributed with this work for additional information ; regarding copyright ownership. The ASF licenses this file ; to you under the Apache License, Version 2.0 (the ; "License"); you may not use...
true
; Licensed to the Apache Software Foundation (ASF) under one ; or more contributor license agreements. See the NOTICE file ; distributed with this work for additional information ; regarding copyright ownership. The ASF licenses this file ; to you under the Apache License, Version 2.0 (the ; "License"); you may not use...
[ { "context": "; Copyright (c) Rich Hickey. All rights reserved.\n; The use and distributio", "end": 29, "score": 0.9998094439506531, "start": 18, "tag": "NAME", "value": "Rich Hickey" } ]
vendor/bundle/ruby/2.1.0/gems/charlock_holmes-0.6.9.4/test/fixtures/repl2.cljs
suhongrui/gitlab
535
; Copyright (c) Rich Hickey. All rights reserved. ; The use and distribution terms for this software are covered by the ; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) ; which can be found in the file epl-v10.html at the root of this distribution. ; By using this software in any ...
25060
; Copyright (c) <NAME>. All rights reserved. ; The use and distribution terms for this software are covered by the ; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) ; which can be found in the file epl-v10.html at the root of this distribution. ; By using this software in any fashi...
true
; Copyright (c) PI:NAME:<NAME>END_PI. All rights reserved. ; The use and distribution terms for this software are covered by the ; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) ; which can be found in the file epl-v10.html at the root of this distribution. ; By using this softwar...
[ { "context": ";; Copyright (c) Michal Kurťák\n;; All rights reserved.\n(ns salt.test-utils)\n\n(de", "end": 30, "score": 0.9998072385787964, "start": 17, "tag": "NAME", "value": "Michal Kurťák" } ]
test/src/salt/test_utils.clj
mkurtak/clj-salt-api
9
;; Copyright (c) Michal Kurťák ;; All rights reserved. (ns salt.test-utils) (defn- expand-let-flow [name forms] (let [prev (gensym)] (loop [x '() frms (reverse (partition 2 forms))] (if frms (let [form (first frms) expr (second form) test-expr (first form) ...
28266
;; Copyright (c) <NAME> ;; All rights reserved. (ns salt.test-utils) (defn- expand-let-flow [name forms] (let [prev (gensym)] (loop [x '() frms (reverse (partition 2 forms))] (if frms (let [form (first frms) expr (second form) test-expr (first form) ...
true
;; Copyright (c) PI:NAME:<NAME>END_PI ;; All rights reserved. (ns salt.test-utils) (defn- expand-let-flow [name forms] (let [prev (gensym)] (loop [x '() frms (reverse (partition 2 forms))] (if frms (let [form (first frms) expr (second form) test-expr (first ...
[ { "context": "\n\n(def db {})\n\n(deftest add-student\n (is (= {2 [\"Aimee\"]} (school/add db \"Aimee\" 2))))\n\n(deftest add-mor", "end": 140, "score": 0.9993776679039001, "start": 135, "tag": "NAME", "value": "Aimee" }, { "context": "dd-student\n (is (= {2 [\"Aimee\"]} (school/ad...
clojure/grade-school/grade_school_test.clj
arnab/exercism
1
(ns grade-school.test (:require [clojure.test :refer :all])) (load-file "school.clj") (def db {}) (deftest add-student (is (= {2 ["Aimee"]} (school/add db "Aimee" 2)))) (deftest add-more-students-in-same-class (is (= {2 ["James", "Blair", "Paul"]} (-> db (school/add "James" 2) ...
61676
(ns grade-school.test (:require [clojure.test :refer :all])) (load-file "school.clj") (def db {}) (deftest add-student (is (= {2 ["<NAME>"]} (school/add db "<NAME>" 2)))) (deftest add-more-students-in-same-class (is (= {2 ["<NAME>", "<NAME>", "<NAME>"]} (-> db (school/add "<NAME>" 2) ...
true
(ns grade-school.test (:require [clojure.test :refer :all])) (load-file "school.clj") (def db {}) (deftest add-student (is (= {2 ["PI:NAME:<NAME>END_PI"]} (school/add db "PI:NAME:<NAME>END_PI" 2)))) (deftest add-more-students-in-same-class (is (= {2 ["PI:NAME:<NAME>END_PI", "PI:NAME:<NAME>END_PI", "PI:NAME:<NAME...
[ { "context": " :password (docker/connection-properties \"MYSQL_PASSWORD\")}\n ;when\n session (ta", "end": 1401, "score": 0.9750658869743347, "start": 1396, "tag": "PASSWORD", "value": "MYSQL" }, { "context": " :password (docker/connection-properties \"MYS...
test/com/chicoalmeida/mysqlx_clj/core_test.clj
chicoalmeida/mysqlx-clj
4
(ns com.chicoalmeida.mysqlx-clj.core-test (:require [clojure.test :refer :all] [clojure.string :refer [split]] [bond.james :as bond :refer [with-spy]] [com.chicoalmeida.mysqlx-clj.core :as target] [com.chicoalmeida.mysqlx-clj.config.docker-lifecycle :as docker]) (:imp...
81786
(ns com.chicoalmeida.mysqlx-clj.core-test (:require [clojure.test :refer :all] [clojure.string :refer [split]] [bond.james :as bond :refer [with-spy]] [com.chicoalmeida.mysqlx-clj.core :as target] [com.chicoalmeida.mysqlx-clj.config.docker-lifecycle :as docker]) (:imp...
true
(ns com.chicoalmeida.mysqlx-clj.core-test (:require [clojure.test :refer :all] [clojure.string :refer [split]] [bond.james :as bond :refer [with-spy]] [com.chicoalmeida.mysqlx-clj.core :as target] [com.chicoalmeida.mysqlx-clj.config.docker-lifecycle :as docker]) (:imp...
[ { "context": " ^{:doc \"DICE-like generic model.\"\n :author \"Anna Shchiptsova\"}\n dice-simulator.compute.generic-structure\n (:r", "end": 547, "score": 0.9998790621757507, "start": 531, "tag": "NAME", "value": "Anna Shchiptsova" } ]
src/dice_simulator/compute/generic_structure.clj
shchipts/dice-simulator
0
; Copyright (c) 2021 International Institute for Applied Systems Analysis. ; All rights reserved. The use and distribution terms for this software ; are covered by the MIT License (http://opensource.org/licenses/MIT) ; which can be found in the file LICENSE at the root of this distribution. ; By using this so...
45486
; Copyright (c) 2021 International Institute for Applied Systems Analysis. ; All rights reserved. The use and distribution terms for this software ; are covered by the MIT License (http://opensource.org/licenses/MIT) ; which can be found in the file LICENSE at the root of this distribution. ; By using this so...
true
; Copyright (c) 2021 International Institute for Applied Systems Analysis. ; All rights reserved. The use and distribution terms for this software ; are covered by the MIT License (http://opensource.org/licenses/MIT) ; which can be found in the file LICENSE at the root of this distribution. ; By using this so...
[ { "context": "(ns ^{:author \"Leeor Engel\"}\n chapter-3.chapter-3-q4-test\n (:require [cloj", "end": 26, "score": 0.9998853802680969, "start": 15, "tag": "NAME", "value": "Leeor Engel" } ]
Clojure/test/chapter_3/chapter_3_q4_test.clj
Kiandr/crackingcodinginterview
0
(ns ^{:author "Leeor Engel"} chapter-3.chapter-3-q4-test (:require [clojure.test :refer :all] [data-structures.persistent-stack :refer :all] [chapter-3.chapter-3-q4 :refer :all])) (deftest my-queue-test (testing "all pushes, then pops" (let [q (create-my-queue 1)] (is (not (qu...
60372
(ns ^{:author "<NAME>"} chapter-3.chapter-3-q4-test (:require [clojure.test :refer :all] [data-structures.persistent-stack :refer :all] [chapter-3.chapter-3-q4 :refer :all])) (deftest my-queue-test (testing "all pushes, then pops" (let [q (create-my-queue 1)] (is (not (queue-e...
true
(ns ^{:author "PI:NAME:<NAME>END_PI"} chapter-3.chapter-3-q4-test (:require [clojure.test :refer :all] [data-structures.persistent-stack :refer :all] [chapter-3.chapter-3-q4 :refer :all])) (deftest my-queue-test (testing "all pushes, then pops" (let [q (create-my-queue 1)] (is...
[ { "context": ";; Copyright 2020, Di Sera Luca\n;; Contacts: disera.luca@gmail.com\n;; ", "end": 31, "score": 0.9998758435249329, "start": 19, "tag": "NAME", "value": "Di Sera Luca" }, { "context": " Copyright 2020, Di Sera Luca\n;; Contacts: disera.luca@gmail.com\n...
pmal/test/pmal/backend/packages/packagemanagers/dpkg_test.clj
diseraluca/pmal
0
;; Copyright 2020, Di Sera Luca ;; Contacts: disera.luca@gmail.com ;; https://github.com/diseraluca ;; https://www.linkedin.com/in/luca-di-sera-200023167 ;; ;; This code is licensed under the MIT License. ;; More information can be found in the LICENSE file in the root of thi...
29555
;; Copyright 2020, <NAME> ;; Contacts: <EMAIL> ;; https://github.com/diseraluca ;; https://www.linkedin.com/in/luca-di-sera-200023167 ;; ;; This code is licensed under the MIT License. ;; More information can be found in the LICENSE file in the root of this repository (ns pm...
true
;; Copyright 2020, PI:NAME:<NAME>END_PI ;; Contacts: PI:EMAIL:<EMAIL>END_PI ;; https://github.com/diseraluca ;; https://www.linkedin.com/in/luca-di-sera-200023167 ;; ;; This code is licensed under the MIT License. ;; More information can be found in the LICENSE file in the ro...
[ { "context": ":as ifs]))\n\n(ifs/defroom ::study\n \"The Study\"\n \"Max's study, where he spends all his free time.\"\n {:", "end": 90, "score": 0.9899559020996094, "start": 87, "tag": "NAME", "value": "Max" } ]
src/if/house.clj
m-r-hunt/improved-fortnight
0
(ns if.house (:require [if.systems :as ifs])) (ifs/defroom ::study "The Study" "Max's study, where he spends all his free time." {:east ["door" ::hallway] :north ["window" ::outside]}) (ifs/defobject ::computer "Computer" "Max's gaming PC. It's a bit noisy when first switched on." ::study) (ifs/defo...
34039
(ns if.house (:require [if.systems :as ifs])) (ifs/defroom ::study "The Study" "<NAME>'s study, where he spends all his free time." {:east ["door" ::hallway] :north ["window" ::outside]}) (ifs/defobject ::computer "Computer" "Max's gaming PC. It's a bit noisy when first switched on." ::study) (ifs/d...
true
(ns if.house (:require [if.systems :as ifs])) (ifs/defroom ::study "The Study" "PI:NAME:<NAME>END_PI's study, where he spends all his free time." {:east ["door" ::hallway] :north ["window" ::outside]}) (ifs/defobject ::computer "Computer" "Max's gaming PC. It's a bit noisy when first switched on." ::...
[ { "context": " :as books]))\n\n(def ^:private authors [\n {:name \"Fernando Aramburu\" :books [\"Patria\"]}\n {:name \"Federico Moccia\" :b", "end": 218, "score": 0.9998723864555359, "start": 201, "tag": "NAME", "value": "Fernando Aramburu" }, { "context": "e authors [\n {:name \"...
src/compojure_api_setup/migrations/bookstore.clj
jorgesuja/compojure-api-setup
2
(ns compojure-api-setup.migrations.bookstore (:require [compojure-api-setup.models.authors :as authors] [compojure-api-setup.models.books :as books])) (def ^:private authors [ {:name "Fernando Aramburu" :books ["Patria"]} {:name "Federico Moccia" :books ["Tres veces tú"]} {:name "Dolores Redondo" :...
17775
(ns compojure-api-setup.migrations.bookstore (:require [compojure-api-setup.models.authors :as authors] [compojure-api-setup.models.books :as books])) (def ^:private authors [ {:name "<NAME>" :books ["<NAME>"]} {:name "<NAME>" :books ["Tres veces tú"]} {:name "<NAME>" :books ["Todo esto te daré"]} ...
true
(ns compojure-api-setup.migrations.bookstore (:require [compojure-api-setup.models.authors :as authors] [compojure-api-setup.models.books :as books])) (def ^:private authors [ {:name "PI:NAME:<NAME>END_PI" :books ["PI:NAME:<NAME>END_PI"]} {:name "PI:NAME:<NAME>END_PI" :books ["Tres veces tú"]} {:na...
[ { "context": "; Copyright (c) 2021 Mikołaj Kuranowski\n; SPDX-License-Identifier: WTFPL\n(ns day2b\n (:re", "end": 39, "score": 0.9996575713157654, "start": 21, "tag": "NAME", "value": "Mikołaj Kuranowski" } ]
src/day02b.clj
MKuranowski/AdventOfCode2020
0
; Copyright (c) 2021 Mikołaj Kuranowski ; SPDX-License-Identifier: WTFPL (ns day2b (:require [core])) (defn either [a b] (and (or a b) (not (and a b)))) (defn is-valid? [line] (let [[_ i1-str i2-str letter-str password] (re-matches #"(\d+)-(\d+) (\w): (\w+)" line) i1 (dec (core/parse-int i1-str)) i...
46129
; Copyright (c) 2021 <NAME> ; SPDX-License-Identifier: WTFPL (ns day2b (:require [core])) (defn either [a b] (and (or a b) (not (and a b)))) (defn is-valid? [line] (let [[_ i1-str i2-str letter-str password] (re-matches #"(\d+)-(\d+) (\w): (\w+)" line) i1 (dec (core/parse-int i1-str)) i2 (dec (core...
true
; Copyright (c) 2021 PI:NAME:<NAME>END_PI ; SPDX-License-Identifier: WTFPL (ns day2b (:require [core])) (defn either [a b] (and (or a b) (not (and a b)))) (defn is-valid? [line] (let [[_ i1-str i2-str letter-str password] (re-matches #"(\d+)-(\d+) (\w): (\w+)" line) i1 (dec (core/parse-int i1-str)) ...
[ { "context": "nd the community whose names includes the string \"Wallingford\"\n(pprint (q '[:find ?n .\n :where\n ", "end": 6120, "score": 0.9991900324821472, "start": 6109, "tag": "NAME", "value": "Wallingford" }, { "context": ":where\n [(fulltext $ :comm...
dotfiles/bin/datomic-pro-0.9.5394/samples/seattle/getting-started.clj
patbrown/dev
7
;; This file contains code examples for getting-started.html. They are ;; written in clojure, for use with Datomic's interactive repl. You can ;; start the repl by running 'bin/repl' from the datomic directory. ;; Once the repl is running, you can copy code into it or, if invoke it ;; directory from your editor, based ...
115063
;; This file contains code examples for getting-started.html. They are ;; written in clojure, for use with Datomic's interactive repl. You can ;; start the repl by running 'bin/repl' from the datomic directory. ;; Once the repl is running, you can copy code into it or, if invoke it ;; directory from your editor, based ...
true
;; This file contains code examples for getting-started.html. They are ;; written in clojure, for use with Datomic's interactive repl. You can ;; start the repl by running 'bin/repl' from the datomic directory. ;; Once the repl is running, you can copy code into it or, if invoke it ;; directory from your editor, based ...
[ { "context": "eaking-company}}\n {:k1 \"ipsum\" :k2 \"5abc\" :attrs {:type :breaking-company}}\n ", "end": 22965, "score": 0.7019852995872498, "start": 22962, "tag": "KEY", "value": "abc" } ]
test/edd/search_it.clj
raiffeisenbankinternational/edd-core
4
(ns edd.search-it (:require [clojure.test :refer :all] [clojure.tools.logging :as log] [lambda.util :as util] [edd.memory.view-store :as memory-view-store] [edd.elastic.view-store :as elastic-view-store] [edd.search :as search] [lambda.test.fixtu...
6726
(ns edd.search-it (:require [clojure.test :refer :all] [clojure.tools.logging :as log] [lambda.util :as util] [edd.memory.view-store :as memory-view-store] [edd.elastic.view-store :as elastic-view-store] [edd.search :as search] [lambda.test.fixtu...
true
(ns edd.search-it (:require [clojure.test :refer :all] [clojure.tools.logging :as log] [lambda.util :as util] [edd.memory.view-store :as memory-view-store] [edd.elastic.view-store :as elastic-view-store] [edd.search :as search] [lambda.test.fixtu...
[ { "context": " \"Reach us at \"\n [:a {:href \"mailto:support+shotbot@oursky.com\"} \"support+shotbot@oursky.com\"]]]]]]]])})))\n", "end": 2511, "score": 0.9999166131019592, "start": 2485, "tag": "EMAIL", "value": "support+shotbot@oursky.com" }, { "context": " [:a {:hre...
src/cljs/shotbot/re_frame/settings/views.cljs
skygear-demo/shotbot3
2
(ns shotbot.re-frame.settings.views (:require [re-frame.core :refer [dispatch subscribe]] [reagent.core :as r])) (defn modal [] (let [message (subscribe [:settings/message]) user-email (subscribe [:settings/user-email]) key-down (fn [event] (when (= event.key "Escape"...
37860
(ns shotbot.re-frame.settings.views (:require [re-frame.core :refer [dispatch subscribe]] [reagent.core :as r])) (defn modal [] (let [message (subscribe [:settings/message]) user-email (subscribe [:settings/user-email]) key-down (fn [event] (when (= event.key "Escape"...
true
(ns shotbot.re-frame.settings.views (:require [re-frame.core :refer [dispatch subscribe]] [reagent.core :as r])) (defn modal [] (let [message (subscribe [:settings/message]) user-email (subscribe [:settings/user-email]) key-down (fn [event] (when (= event.key "Escape"...
[ { "context": "est\"\n :user \"everest\", :password \"everest\"})\n\n(def +hikari-config\n {:datasource-classname ", "end": 1091, "score": 0.9993419051170349, "start": 1084, "tag": "PASSWORD", "value": "everest" }, { "context": "g.postgresql.ds.PGSimpleDataSource\"\n ...
examples/pg/src/app.clj
dm3/everest
4
(ns app (:require [everest.json.handler.middleware :as json.handler.middleware] [everest.json.store.middleware :as json.store.middleware] [everest.pg.store :as pg.store] [everest.pg.schema :as pg.schema] [everest.pg.handler.store :as pg.handler.store] [evere...
82013
(ns app (:require [everest.json.handler.middleware :as json.handler.middleware] [everest.json.store.middleware :as json.store.middleware] [everest.pg.store :as pg.store] [everest.pg.schema :as pg.schema] [everest.pg.handler.store :as pg.handler.store] [evere...
true
(ns app (:require [everest.json.handler.middleware :as json.handler.middleware] [everest.json.store.middleware :as json.store.middleware] [everest.pg.store :as pg.store] [everest.pg.schema :as pg.schema] [everest.pg.handler.store :as pg.handler.store] [evere...
[ { "context": "NPJPfvnRweFmC4-OxvYhzao/edit?resourcekey#gid=1308791289\")\n\n(defn configure-survey-results\n [google-co", "end": 597, "score": 0.5490709543228149, "start": 595, "tag": "KEY", "value": "91" } ]
src/main/clojure/edmondson/google_forms.clj
krukow/edmondson
3
(ns edmondson.google-forms (:require [edmondson.config :as cfg] [edmondson.google-api :as api] [edmondson.survey-analysis :as analysis] [edmondson.survey-model :as model])) (defn normalize-responses [survey-questions responses] (map-indexed (fn [n response] {:...
88386
(ns edmondson.google-forms (:require [edmondson.config :as cfg] [edmondson.google-api :as api] [edmondson.survey-analysis :as analysis] [edmondson.survey-model :as model])) (defn normalize-responses [survey-questions responses] (map-indexed (fn [n response] {:...
true
(ns edmondson.google-forms (:require [edmondson.config :as cfg] [edmondson.google-api :as api] [edmondson.survey-analysis :as analysis] [edmondson.survey-model :as model])) (defn normalize-responses [survey-questions responses] (map-indexed (fn [n response] {:...
[ { "context": "pport for encoding FQL data as JSON.\"\n {:author \"Michael McClintock\"}\n (:require\n [clojure.data.json :as json]\n ", "end": 95, "score": 0.9998238682746887, "start": 77, "tag": "NAME", "value": "Michael McClintock" } ]
src/mrmcc3/fauna/json.clj
mrmcc3/faunadb-clj
0
(ns mrmcc3.fauna.json "Support for encoding FQL data as JSON." {:author "Michael McClintock"} (:require [clojure.data.json :as json] [clojure.walk :as walk] [mrmcc3.fauna.query :as q]) (:import (java.util Date Base64) (java.time Instant LocalDate) (java.time.format DateTimeFormatter))) ...
28738
(ns mrmcc3.fauna.json "Support for encoding FQL data as JSON." {:author "<NAME>"} (:require [clojure.data.json :as json] [clojure.walk :as walk] [mrmcc3.fauna.query :as q]) (:import (java.util Date Base64) (java.time Instant LocalDate) (java.time.format DateTimeFormatter))) ;; FQL funda...
true
(ns mrmcc3.fauna.json "Support for encoding FQL data as JSON." {:author "PI:NAME:<NAME>END_PI"} (:require [clojure.data.json :as json] [clojure.walk :as walk] [mrmcc3.fauna.query :as q]) (:import (java.util Date Base64) (java.time Instant LocalDate) (java.time.format DateTimeFormatter)))...
[ { "context": " \"Denebola Shippers\"\n \"Eridani Expediters\"\n \"Fomalhaut Freight", "end": 235, "score": 0.5917873382568359, "start": 232, "tag": "NAME", "value": "rid" }, { "context": " \"Eridani Expediters\"\n \"F...
src/starlanes/const.clj
oubiwann/clj-starlanes
1
(ns starlanes.const) (def debug true) (def game-title "Star Traders") (def companies ["Altair Starways" "Betelgeuse, Ltd." "Capella Cargo Co." "Denebola Shippers" "Eridani Expediters" "Fomalhaut Freighters" "Gamma Corvi C...
69607
(ns starlanes.const) (def debug true) (def game-title "Star Traders") (def companies ["Altair Starways" "Betelgeuse, Ltd." "Capella Cargo Co." "Denebola Shippers" "E<NAME>ani Expediters" "<NAME>" "<NAME>" ...
true
(ns starlanes.const) (def debug true) (def game-title "Star Traders") (def companies ["Altair Starways" "Betelgeuse, Ltd." "Capella Cargo Co." "Denebola Shippers" "EPI:NAME:<NAME>END_PIani Expediters" "PI:NAME:<NAME>END_PI" ...
[ { "context": "]\n\n :users\n [{:id \"100\"\n :name \"Burt\"\n :age 23\n :projects #{\"1\" \"2\"}}\n\n ", "end": 782, "score": 0.9997771978378296, "start": 778, "tag": "NAME", "value": "Burt" }, { "context": "#{\"1\" \"2\"}}\n\n {:id \"200\"\n ...
GraphQL/graphql-toy/src/clj/graphql_toy/routes/services/graphql.clj
zclj/replication-packages
8
(ns graphql-toy.routes.services.graphql (:require [com.walmartlabs.lacinia.util :refer [attach-resolvers]] [com.walmartlabs.lacinia.schema :as schema] [com.walmartlabs.lacinia :as lacinia] [clojure.data.json :as json] [clojure.edn :as edn] [clojure.java.io :as io] [ring.util.http-response ...
10661
(ns graphql-toy.routes.services.graphql (:require [com.walmartlabs.lacinia.util :refer [attach-resolvers]] [com.walmartlabs.lacinia.schema :as schema] [com.walmartlabs.lacinia :as lacinia] [clojure.data.json :as json] [clojure.edn :as edn] [clojure.java.io :as io] [ring.util.http-response ...
true
(ns graphql-toy.routes.services.graphql (:require [com.walmartlabs.lacinia.util :refer [attach-resolvers]] [com.walmartlabs.lacinia.schema :as schema] [com.walmartlabs.lacinia :as lacinia] [clojure.data.json :as json] [clojure.edn :as edn] [clojure.java.io :as io] [ring.util.http-response ...
[ { "context": "5q6uZfIpm0qZbb6Brcfw8S3/wejWolU0Bl1n1Dz/yqvLGxf/XXV6/uOBB75WhFE9V98pIw5Qm18VY6+rlzUnuaTfPvPbiJbh3D9w=", "end": 23154, "score": 0.522358775138855, "start": 23153, "tag": "KEY", "value": "V" }, { "context": "uZfIpm0qZbb6Brcfw8S3/wejWolU0Bl1n1Dz/yqvLGxf/XXV6/uOBB75WhFE9V98...
c#-metabase/modules/drivers/googleanalytics/test/metabase/driver/googleanalytics_test.clj
hanakhry/Crime_Admin
0
(ns metabase.driver.googleanalytics-test "Tests for the Google Analytics driver and query processor." (:require [clojure.test :refer :all] [java-time :as t] [medley.core :as m] [metabase.driver :as driver] metabase.driver.googleanalytics [metabase.driver.g...
41697
(ns metabase.driver.googleanalytics-test "Tests for the Google Analytics driver and query processor." (:require [clojure.test :refer :all] [java-time :as t] [medley.core :as m] [metabase.driver :as driver] metabase.driver.googleanalytics [metabase.driver.g...
true
(ns metabase.driver.googleanalytics-test "Tests for the Google Analytics driver and query processor." (:require [clojure.test :refer :all] [java-time :as t] [medley.core :as m] [metabase.driver :as driver] metabase.driver.googleanalytics [metabase.driver.g...
[ { "context": "northeast-1.compute.internal\",\n;;=> :global-ip \"54.199.234.18\",\n;;=> :private-ip \"10.0.0.212\"}\n;;=> {:node-n", "end": 1725, "score": 0.9997119307518005, "start": 1712, "tag": "IP_ADDRESS", "value": "54.199.234.18" }, { "context": " :global-ip \"54.199.234....
Chapter 10 Code/aws-examples/src/aws_examples/ec2_example.clj
PacktPublishing/Clojure-Programming-Cookbook
14
(ns aws-examples.ec2-example (:require [amazonica.aws.ec2 :as ec2] [amazonica.core :as core])) ;;=> nil (core/defcredential "Your Access Key" "Your Secret Access Key" "your region") ;;=> {:access-key "Your Access Key", :secret-key "Your Secret Access Key", :endpoint "your region"} (ec2/describe-regions)...
88437
(ns aws-examples.ec2-example (:require [amazonica.aws.ec2 :as ec2] [amazonica.core :as core])) ;;=> nil (core/defcredential "Your Access Key" "Your Secret Access Key" "your region") ;;=> {:access-key "Your Access Key", :secret-key "Your Secret Access Key", :endpoint "your region"} (ec2/describe-regions)...
true
(ns aws-examples.ec2-example (:require [amazonica.aws.ec2 :as ec2] [amazonica.core :as core])) ;;=> nil (core/defcredential "Your Access Key" "Your Secret Access Key" "your region") ;;=> {:access-key "Your Access Key", :secret-key "Your Secret Access Key", :endpoint "your region"} (ec2/describe-regions)...
[ { "context": "fy email if no tx in last 20 minutes\n :api-key \"12345\" ;; API Key for Eth", "end": 1753, "score": 0.9201300740242004, "start": 1748, "tag": "KEY", "value": "12345" }, { "context": "y for Etherscan (optional)\n :gmail-cred {:user \"ex...
src/tx_monitor/core.clj
clearcoin/tx-monitor
1
(ns tx-monitor.core (:require [clj-http.client :as client] [cheshire.core :refer [parse-string]] [postal.core :refer [send-message]])) (defn any-tx-since-time? [address mins-ago & {:keys [api-key]}] (->> (client/get (str "http://api.etherscan.io/api?module=account&action=txlist" ...
88122
(ns tx-monitor.core (:require [clj-http.client :as client] [cheshire.core :refer [parse-string]] [postal.core :refer [send-message]])) (defn any-tx-since-time? [address mins-ago & {:keys [api-key]}] (->> (client/get (str "http://api.etherscan.io/api?module=account&action=txlist" ...
true
(ns tx-monitor.core (:require [clj-http.client :as client] [cheshire.core :refer [parse-string]] [postal.core :refer [send-message]])) (defn any-tx-since-time? [address mins-ago & {:keys [api-key]}] (->> (client/get (str "http://api.etherscan.io/api?module=account&action=txlist" ...
[ { "context": "))\n\n\n(deftest key-reads\n (let [k1 (key/create [1 2 3])\n r1 {:foo 123}\n k2 (key/create ", "end": 519, "score": 0.6979838609695435, "start": 518, "tag": "KEY", "value": "2" }, { "context": "\n\n\n(deftest key-reads\n (let [k1 (key/create [1 2 3])\n ...
lib/core/test/merkle_db/tablet_test.clj
greglook/merkle-db
47
(ns merkle-db.tablet-test (:require [clojure.spec.alpha :as s] [clojure.test :refer :all] [merkle-db.key :as key] [merkle-db.tablet :as tablet] [merkle-db.test-utils])) (def empty-tablet (tablet/from-records [])) (deftest tablet-spec (is (invalid? ::tablet/node-data nil)) (is (invalid? :...
104120
(ns merkle-db.tablet-test (:require [clojure.spec.alpha :as s] [clojure.test :refer :all] [merkle-db.key :as key] [merkle-db.tablet :as tablet] [merkle-db.test-utils])) (def empty-tablet (tablet/from-records [])) (deftest tablet-spec (is (invalid? ::tablet/node-data nil)) (is (invalid? :...
true
(ns merkle-db.tablet-test (:require [clojure.spec.alpha :as s] [clojure.test :refer :all] [merkle-db.key :as key] [merkle-db.tablet :as tablet] [merkle-db.test-utils])) (def empty-tablet (tablet/from-records [])) (deftest tablet-spec (is (invalid? ::tablet/node-data nil)) (is (invalid? :...
[ { "context": "nsole-print!)\n\n(def app-state (api/init {:apikey \"test\" ;:host \"95.217.155.168:7000\"\n ", "end": 168, "score": 0.8016061186790466, "start": 164, "tag": "KEY", "value": "test" }, { "context": "\n(def app-state (api/init {:apikey \"test\" ;:host \"...
src/cljs/template/app.cljs
liszper/command-control
0
(ns template.app (:require [reagent.core :as r] [brave.cmc :as api] [bide.core :as b])) (enable-console-print!) (def app-state (api/init {:apikey "test" ;:host "95.217.155.168:7000" :protocol :https :reagent? true})) (defn home-page [app-state] [:div "Home 2" [:p (str @a...
77584
(ns template.app (:require [reagent.core :as r] [brave.cmc :as api] [bide.core :as b])) (enable-console-print!) (def app-state (api/init {:apikey "<KEY>" ;:host "172.16.17.32:7000" :protocol :https :reagent? true})) (defn home-page [app-state] [:div "Home 2" [:p (str @ap...
true
(ns template.app (:require [reagent.core :as r] [brave.cmc :as api] [bide.core :as b])) (enable-console-print!) (def app-state (api/init {:apikey "PI:KEY:<KEY>END_PI" ;:host "PI:IP_ADDRESS:172.16.17.32END_PI:7000" :protocol :https :reagent? true})) (defn home-page [app-state]...
[ { "context": " spam-word \"ICO\")\n\n(def messages\n '(\"Hi, it's me, Ronald. Let's go bowling?\"\n \"@richhickey approved you", "end": 166, "score": 0.9992169737815857, "start": 160, "tag": "NAME", "value": "Ronald" }, { "context": " '(\"Hi, it's me, Ronald. Let's go bowling?\"\...
src/laxam_clojure_tutorial_part2_spam_filter/core.clj
laxamenator/laxam-clojure-tutorial-part2-spam-filter
0
(ns laxam-clojure-tutorial-part2-spam-filter.core (:require [clojure.string :as str]) (:gen-class)) (def spam-word "ICO") (def messages '("Hi, it's me, Ronald. Let's go bowling?" "@richhickey approved your Pull Request." "New promising startup works on a perpetual motion machine. Participate in ICO now!...
92727
(ns laxam-clojure-tutorial-part2-spam-filter.core (:require [clojure.string :as str]) (:gen-class)) (def spam-word "ICO") (def messages '("Hi, it's me, <NAME>. Let's go bowling?" "@richhickey approved your Pull Request." "New promising startup works on a perpetual motion machine. Participate in ICO now!...
true
(ns laxam-clojure-tutorial-part2-spam-filter.core (:require [clojure.string :as str]) (:gen-class)) (def spam-word "ICO") (def messages '("Hi, it's me, PI:NAME:<NAME>END_PI. Let's go bowling?" "@richhickey approved your Pull Request." "New promising startup works on a perpetual motion machine. Participa...
[ { "context": "cha - ChaCha\n :salsa20 - Salsa20\"\n {:author \"Jason Ozias\"})\n\n(defmulti iv-size-bits\n \"### iv-size", "end": 328, "score": 0.9998800158500671, "start": 317, "tag": "NAME", "value": "Jason Ozias" } ]
data/train/clojure/ceed65fb02a886a0afdb792ac8e24d68eb261925streamcipher.clj
harshp8l/deep-learning-lang-detection
84
(ns azjure.cipher.streamcipher "## Stream Cipher Stream cipher multimethod definitions. All stream ciphers should define defmethods for these multimethods. The currently supported stream cipher type keywords for use in the configuration map are: :chacha - ChaCha :salsa20 - Salsa20" {:author "Jas...
75266
(ns azjure.cipher.streamcipher "## Stream Cipher Stream cipher multimethod definitions. All stream ciphers should define defmethods for these multimethods. The currently supported stream cipher type keywords for use in the configuration map are: :chacha - ChaCha :salsa20 - Salsa20" {:author "<NA...
true
(ns azjure.cipher.streamcipher "## Stream Cipher Stream cipher multimethod definitions. All stream ciphers should define defmethods for these multimethods. The currently supported stream cipher type keywords for use in the configuration map are: :chacha - ChaCha :salsa20 - Salsa20" {:author "PI:...
[ { "context": " \"Can mention user with message\"\n (t/is (= \"@**Miles McInnis** hey\"\n (sut/mention \"Miles McInnis\" ", "end": 357, "score": 0.9957035779953003, "start": 344, "tag": "USERNAME", "value": "Miles McInnis" }, { "context": "**Miles McInnis** hey\"\n ...
test/breakfastbot/markdown_test.clj
MNSignalProcessing/breakfastbot
0
(ns breakfastbot.markdown-test (:require [breakfastbot.markdown :as sut] [clojure.test :as t])) (t/deftest bullet-list (t/testing "Can create bullet list" (t/is (= "* Foo\n* Bar\n* Baz" (sut/bullet-list ["Foo" "Bar" "Baz"]))))) (t/deftest mention (t/testing "Can mention user with me...
100454
(ns breakfastbot.markdown-test (:require [breakfastbot.markdown :as sut] [clojure.test :as t])) (t/deftest bullet-list (t/testing "Can create bullet list" (t/is (= "* Foo\n* Bar\n* Baz" (sut/bullet-list ["Foo" "Bar" "Baz"]))))) (t/deftest mention (t/testing "Can mention user with me...
true
(ns breakfastbot.markdown-test (:require [breakfastbot.markdown :as sut] [clojure.test :as t])) (t/deftest bullet-list (t/testing "Can create bullet list" (t/is (= "* Foo\n* Bar\n* Baz" (sut/bullet-list ["Foo" "Bar" "Baz"]))))) (t/deftest mention (t/testing "Can mention user with me...
[ { "context": "(ns ^{:author \"Adam Berger\"} ulvm.core-spec-test\n \"Spec tests for ulvm.core", "end": 26, "score": 0.9998553395271301, "start": 15, "tag": "NAME", "value": "Adam Berger" }, { "context": "/runnable-env-descriptor {:url \"http://github.com/ulvm/contrib/1.2.3/runnable-...
test/ulvm/core_spec_test.clj
abrgr/ulvm
0
(ns ^{:author "Adam Berger"} ulvm.core-spec-test "Spec tests for ulvm.core" (:require [clojure.spec.test :as st] [ulvm.core :as ulvm]) (:use [clojure.test :only [deftest]])) (defn flowfile-examples [] (ulvm/defmodcombinator :mvn "Description of mvn combinator" {:ulvm.core/runnable-env-r...
18055
(ns ^{:author "<NAME>"} ulvm.core-spec-test "Spec tests for ulvm.core" (:require [clojure.spec.test :as st] [ulvm.core :as ulvm]) (:use [clojure.test :only [deftest]])) (defn flowfile-examples [] (ulvm/defmodcombinator :mvn "Description of mvn combinator" {:ulvm.core/runnable-env-ref ...
true
(ns ^{:author "PI:NAME:<NAME>END_PI"} ulvm.core-spec-test "Spec tests for ulvm.core" (:require [clojure.spec.test :as st] [ulvm.core :as ulvm]) (:use [clojure.test :only [deftest]])) (defn flowfile-examples [] (ulvm/defmodcombinator :mvn "Description of mvn combinator" {:ulvm.core/runna...
[ { "context": "12 (count (all-matches nav \"//Name\"))))\n (is (= \"John Boehner\" (first (all-matches nav \"//Name\"))))\n (is (= \"L", "end": 3457, "score": 0.999879002571106, "start": 3445, "tag": "NAME", "value": "John Boehner" }, { "context": "r\" (first (all-matches nav \"//Na...
test/clj_vtd_xml/test/core.clj
diamondap/clj-vtd-xml
1
(ns clj-vtd-xml.test.core (:use [clj-vtd-xml.core]) (:use [clojure.test]) (:import [java.io.File]) (:require [clojure.pprint :as pp] [clojure.string :as string])) (defn dirname "Given a file path, returns the directory that contains the file." [path] (.getParent (java.io.File. path))) (defn expan...
75613
(ns clj-vtd-xml.test.core (:use [clj-vtd-xml.core]) (:use [clojure.test]) (:import [java.io.File]) (:require [clojure.pprint :as pp] [clojure.string :as string])) (defn dirname "Given a file path, returns the directory that contains the file." [path] (.getParent (java.io.File. path))) (defn expan...
true
(ns clj-vtd-xml.test.core (:use [clj-vtd-xml.core]) (:use [clojure.test]) (:import [java.io.File]) (:require [clojure.pprint :as pp] [clojure.string :as string])) (defn dirname "Given a file path, returns the directory that contains the file." [path] (.getParent (java.io.File. path))) (defn expan...
[ { "context": ";; Copyright (c) 2015-2016 Andrey Antukh <niwi@niwi.nz>\n;; Copyright (c) 2015-2016 Alejand", "end": 40, "score": 0.9998942613601685, "start": 27, "tag": "NAME", "value": "Andrey Antukh" }, { "context": ";; Copyright (c) 2015-2016 Andrey Antukh <niwi@niwi.nz>\n;; Copyri...
src/cats/labs/manifold.clj
klausharbo/cats
896
;; Copyright (c) 2015-2016 Andrey Antukh <niwi@niwi.nz> ;; Copyright (c) 2015-2016 Alejandro Gómez <alejandro@dialelo.com> ;; All rights reserved. ;; ;; Redistribution and use in source and binary forms, with or without ;; modification, are permitted provided that the following conditions ;; are met: ;; ;; 1. Redistrib...
42940
;; Copyright (c) 2015-2016 <NAME> <<EMAIL>> ;; Copyright (c) 2015-2016 <NAME> <<EMAIL>> ;; All rights reserved. ;; ;; Redistribution and use in source and binary forms, with or without ;; modification, are permitted provided that the following conditions ;; are met: ;; ;; 1. Redistributions of source code must retain t...
true
;; Copyright (c) 2015-2016 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> ;; Copyright (c) 2015-2016 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> ;; All rights reserved. ;; ;; Redistribution and use in source and binary forms, with or without ;; modification, are permitted provided that the following conditions ;; are ...