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": " (gbif/request-download\n {:user user \n :password password \n ",
"end": 1971,
"score": 0.8760297298431396,
"start": 1967,
"tag": "USERNAME",
"value": "user"
},
{
"context": " {:user user \n :passwor... | src/gbif2ipt/core.clj | diogok/gbif2ipt | 0 | (ns gbif2ipt.core
(:require [clojure.java.io :as io])
(:require [clj-http.lite.client :as http])
(:require [clojure.data.json :as json])
(:require [clojure.core.async :refer [<! <!! >! >!! chan close! go-loop]])
(:require [taoensso.timbre :as log])
(:require [environ.core :refer [env]])
(:require [dwc-io.... | 18854 | (ns gbif2ipt.core
(:require [clojure.java.io :as io])
(:require [clj-http.lite.client :as http])
(:require [clojure.data.json :as json])
(:require [clojure.core.async :refer [<! <!! >! >!! chan close! go-loop]])
(:require [taoensso.timbre :as log])
(:require [environ.core :refer [env]])
(:require [dwc-io.... | true | (ns gbif2ipt.core
(:require [clojure.java.io :as io])
(:require [clj-http.lite.client :as http])
(:require [clojure.data.json :as json])
(:require [clojure.core.async :refer [<! <!! >! >!! chan close! go-loop]])
(:require [taoensso.timbre :as log])
(:require [environ.core :refer [env]])
(:require [dwc-io.... |
[
{
"context": "ate-api-key-with-account {:userid userid :username username :password password :config ega-config}))\n ",
"end": 8360,
"score": 0.8910974860191345,
"start": 8352,
"tag": "USERNAME",
"value": "username"
},
{
"context": "count {:userid userid :username username :pa... | src/clj/rems/standalone.clj | nuwang/rems | 0 | (ns rems.standalone
"Run the REMS app in an embedded http server."
(:require [clojure.string :as str]
[clojure.tools.cli :refer [parse-opts]]
[clojure.tools.logging :as log]
[luminus-migrations.core :as migrations]
[luminus.http-server :as http]
[luminus.r... | 26299 | (ns rems.standalone
"Run the REMS app in an embedded http server."
(:require [clojure.string :as str]
[clojure.tools.cli :refer [parse-opts]]
[clojure.tools.logging :as log]
[luminus-migrations.core :as migrations]
[luminus.http-server :as http]
[luminus.r... | true | (ns rems.standalone
"Run the REMS app in an embedded http server."
(:require [clojure.string :as str]
[clojure.tools.cli :refer [parse-opts]]
[clojure.tools.logging :as log]
[luminus-migrations.core :as migrations]
[luminus.http-server :as http]
[luminus.r... |
[
{
"context": "st get-pass-char-test\n (is (= \\1 (get-pass-char \"00000155f8105dff7f56ee10fa9b9abd\"))))\n\n(deftest get-password-chars-test\n (is (= [",
"end": 1011,
"score": 0.998943030834198,
"start": 979,
"tag": "PASSWORD",
"value": "00000155f8105dff7f56ee10fa9b9abd"
}
] | test/adventofcode/day_05_test.clj | rxedu/adventofcode-2016 | 0 | (ns adventofcode.day-05-test
(:require [clojure.test :refer [deftest is]]
[adventofcode.day-05 :refer
[get-hash
get-pass-char
get-pass-chars
get-pass-pos
valid-pos?
read-pass-pos
target-hash?]]))
(deftest get... | 14569 | (ns adventofcode.day-05-test
(:require [clojure.test :refer [deftest is]]
[adventofcode.day-05 :refer
[get-hash
get-pass-char
get-pass-chars
get-pass-pos
valid-pos?
read-pass-pos
target-hash?]]))
(deftest get... | true | (ns adventofcode.day-05-test
(:require [clojure.test :refer [deftest is]]
[adventofcode.day-05 :refer
[get-hash
get-pass-char
get-pass-chars
get-pass-pos
valid-pos?
read-pass-pos
target-hash?]]))
(deftest get... |
[
{
"context": "ices-login (fn [] {:status 200, :body {:username \"qa@artstor.org\"}})\n forum/reserve-imata-asset (",
"end": 591,
"score": 0.9999188780784607,
"start": 577,
"tag": "EMAIL",
"value": "qa@artstor.org"
},
{
"context": "sonal-collection \"my_awesome_pic.jp... | test/artstor_collection_service_os/forum_test.clj | ithaka/artstor-collection-service-os | 0 | (ns artstor-collection-service-os.forum-test
(:require [artstor-collection-service-os.forum :as forum]
[clojure.test :refer :all]
[clojure.test.check.clojure-test :refer [defspec]]
[clj-http.client :as http]
[environ.core :refer [env]]
[clojure.tools.logging... | 40064 | (ns artstor-collection-service-os.forum-test
(:require [artstor-collection-service-os.forum :as forum]
[clojure.test :refer :all]
[clojure.test.check.clojure-test :refer [defspec]]
[clj-http.client :as http]
[environ.core :refer [env]]
[clojure.tools.logging... | true | (ns artstor-collection-service-os.forum-test
(:require [artstor-collection-service-os.forum :as forum]
[clojure.test :refer :all]
[clojure.test.check.clojure-test :refer [defspec]]
[clj-http.client :as http]
[environ.core :refer [env]]
[clojure.tools.logging... |
[
{
"context": "/id :dbpedia.resource/Pablo-Picasso\n :name \"Pablo\"\n :last-name \"Picasso\"}\n #inst \"2018-0",
"end": 1205,
"score": 0.9995944499969482,
"start": 1200,
"tag": "NAME",
"value": "Pablo"
},
{
"context": "o-Picasso\n :name \"Pablo\"\n :last-... | docs/crux_node_only_system.clj | maacl/crux | 0 | (ns crux-node-only-system
(:require [clojure.tools.logging :as log]
[crux.bootstrap.cluster-node :as cluster-node]
[crux.http-server :as srv]
[crux.kafka.embedded :as ek]
[crux.db :as db]
[crux.query :as q]
[integrant.core :as ig]
[cr... | 19478 | (ns crux-node-only-system
(:require [clojure.tools.logging :as log]
[crux.bootstrap.cluster-node :as cluster-node]
[crux.http-server :as srv]
[crux.kafka.embedded :as ek]
[crux.db :as db]
[crux.query :as q]
[integrant.core :as ig]
[cr... | true | (ns crux-node-only-system
(:require [clojure.tools.logging :as log]
[crux.bootstrap.cluster-node :as cluster-node]
[crux.http-server :as srv]
[crux.kafka.embedded :as ek]
[crux.db :as db]
[crux.query :as q]
[integrant.core :as ig]
[cr... |
[
{
"context": " (let [occurrences (read-gbif {\"scientificName\" \"Aphelandra longiflora\"})]\n (:scientificName (first (:results occurre",
"end": 159,
"score": 0.9998374581336975,
"start": 138,
"tag": "NAME",
"value": "Aphelandra longiflora"
},
{
"context": "icName (first (:resul... | test/dwc_io/gbif_test.clj | biodivdev/dwc | 0 | (ns dwc-io.gbif-test
(:use midje.sweet)
(:use dwc-io.gbif))
(fact "Can read from gbif"
(let [occurrences (read-gbif {"scientificName" "Aphelandra longiflora"})]
(:scientificName (first (:results occurrences)))
=> "Aphelandra longiflora (Lindl.) Profice"))
(fact "Can read from gbif recur"
(let [occurren... | 107902 | (ns dwc-io.gbif-test
(:use midje.sweet)
(:use dwc-io.gbif))
(fact "Can read from gbif"
(let [occurrences (read-gbif {"scientificName" "<NAME>"})]
(:scientificName (first (:results occurrences)))
=> "<NAME> (Lindl.) Profice"))
(fact "Can read from gbif recur"
(let [occurrences (read-gbif {"scientificNam... | true | (ns dwc-io.gbif-test
(:use midje.sweet)
(:use dwc-io.gbif))
(fact "Can read from gbif"
(let [occurrences (read-gbif {"scientificName" "PI:NAME:<NAME>END_PI"})]
(:scientificName (first (:results occurrences)))
=> "PI:NAME:<NAME>END_PI (Lindl.) Profice"))
(fact "Can read from gbif recur"
(let [occurrence... |
[
{
"context": "esting \"with string\"\n (is (= \"edabe5f8fb842df66d677861c8564bf8671be9bd1ab14028ecf75c915255b31c77c",
"end": 11538,
"score": 0.5047776699066162,
"start": 11536,
"tag": "KEY",
"value": "66"
},
{
"context": "string\"\n (is (= \"edabe5f8fb842df66d677861c8564bf8... | test/parsec/functions/digest_functions_test.clj | ExpediaGroup/parsec | 1 | (ns parsec.functions.digest-functions-test
(:require [clojure.test :refer :all]
[parsec.helpers :refer :all]
[parsec.test-helpers :refer :all]
[parsec.functions :refer :all]
[parsec.functions.stringfunctions :refer :all]
[clj-time.core :as time]))
(deftest ... | 16705 | (ns parsec.functions.digest-functions-test
(:require [clojure.test :refer :all]
[parsec.helpers :refer :all]
[parsec.test-helpers :refer :all]
[parsec.functions :refer :all]
[parsec.functions.stringfunctions :refer :all]
[clj-time.core :as time]))
(deftest ... | true | (ns parsec.functions.digest-functions-test
(:require [clojure.test :refer :all]
[parsec.helpers :refer :all]
[parsec.test-helpers :refer :all]
[parsec.functions :refer :all]
[parsec.functions.stringfunctions :refer :all]
[clj-time.core :as time]))
(deftest ... |
[
{
"context": "clj-time.format :as clj-time-format]\n [robert.bruce :refer [try-try-again]]\n [overtone.at-",
"end": 697,
"score": 0.8205450773239136,
"start": 685,
"tag": "USERNAME",
"value": "robert.bruce"
},
{
"context": "EventSource])\n (:gen-class))\n\n(def... | src/event_data_agents/agents/wikipedia/core.clj | CrossRef/event-data-agents | 3 | (ns event-data-agents.agents.wikipedia.core
(:require [event-data-agents.util :as util]
[event-data-common.evidence-log :as evidence-log]
[crossref.util.doi :as cr-doi]
[clojure.tools.logging :as log]
[clojure.java.io :as io]
[clojure.data.json :as json]
... | 42279 | (ns event-data-agents.agents.wikipedia.core
(:require [event-data-agents.util :as util]
[event-data-common.evidence-log :as evidence-log]
[crossref.util.doi :as cr-doi]
[clojure.tools.logging :as log]
[clojure.java.io :as io]
[clojure.data.json :as json]
... | true | (ns event-data-agents.agents.wikipedia.core
(:require [event-data-agents.util :as util]
[event-data-common.evidence-log :as evidence-log]
[crossref.util.doi :as cr-doi]
[clojure.tools.logging :as log]
[clojure.java.io :as io]
[clojure.data.json :as json]
... |
[
{
"context": "; Copyright 2009, 2010, 2011 Howard M. Lewis Ship\n;\n; Licensed under the Apache License, Version 2.",
"end": 49,
"score": 0.9998604655265808,
"start": 29,
"tag": "NAME",
"value": "Howard M. Lewis Ship"
}
] | src/cascade/utils.clj | hlship/cascade | 8 | ; Copyright 2009, 2010, 2011 Howard M. Lewis Ship
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agr... | 67805 | ; Copyright 2009, 2010, 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 required by applicable law or agreed to in writ... | true | ; Copyright 2009, 2010, 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.0
;
; Unless required by applicable law or agr... |
[
{
"context": "arch-string\n (let [doc {:crux.db/id :ivan :name \"Ivan\"}]\n (submit+await-tx [[:crux.tx/put {:crux.db/",
"end": 477,
"score": 0.9980244040489197,
"start": 473,
"tag": "NAME",
"value": "Ivan"
},
{
"context": "await-tx [[:crux.tx/put {:crux.db/id :ivan :name \"Ivan\... | crux-lucene/test/crux/lucene_test.clj | AlistairONeill/crux | 0 | (ns crux.lucene-test
(:require [clojure.test :as t]
[crux.api :as c]
[crux.db :as db]
[crux.fixtures :as fix :refer [*api* submit+await-tx]]
[crux.fixtures.lucene :as lf]
[crux.lucene :as l]
[crux.rocksdb :as rocks])
(:import org.apache.lucene.... | 95772 | (ns crux.lucene-test
(:require [clojure.test :as t]
[crux.api :as c]
[crux.db :as db]
[crux.fixtures :as fix :refer [*api* submit+await-tx]]
[crux.fixtures.lucene :as lf]
[crux.lucene :as l]
[crux.rocksdb :as rocks])
(:import org.apache.lucene.... | true | (ns crux.lucene-test
(:require [clojure.test :as t]
[crux.api :as c]
[crux.db :as db]
[crux.fixtures :as fix :refer [*api* submit+await-tx]]
[crux.fixtures.lucene :as lf]
[crux.lucene :as l]
[crux.rocksdb :as rocks])
(:import org.apache.lucene.... |
[
{
"context": " :constructor map->Person\n :items [{:name :andy}\n {:name :bob}]})\n => (comp group? d",
"end": 372,
"score": 0.9926989674568176,
"start": 368,
"tag": "NAME",
"value": "andy"
},
{
"context": " item to the group\"\n (-> (defitem people {:name :chris... | test/hara/group_test.clj | ikitommi/hara | 0 | (ns hara.group-test
(:use midje.sweet)
(:require [hara.group :refer :all]))
(defrecord Person [])
(defmethod print-method
Person
[v ^java.io.Writer w]
(.write w (str "#person" (into {} v))))
^{:refer hara.group/defgroup :added "2.2"}
(fact "creates a group of items"
(defgroup people
{:tag :people
... | 104951 | (ns hara.group-test
(:use midje.sweet)
(:require [hara.group :refer :all]))
(defrecord Person [])
(defmethod print-method
Person
[v ^java.io.Writer w]
(.write w (str "#person" (into {} v))))
^{:refer hara.group/defgroup :added "2.2"}
(fact "creates a group of items"
(defgroup people
{:tag :people
... | true | (ns hara.group-test
(:use midje.sweet)
(:require [hara.group :refer :all]))
(defrecord Person [])
(defmethod print-method
Person
[v ^java.io.Writer w]
(.write w (str "#person" (into {} v))))
^{:refer hara.group/defgroup :added "2.2"}
(fact "creates a group of items"
(defgroup people
{:tag :people
... |
[
{
"context": "nt\"\n (spit (io/file src-dir \"ivan.txt\") \"Hey Ivan!\")\n\n (t/is (= cp-2\n ",
"end": 2453,
"score": 0.7187256813049316,
"start": 2450,
"tag": "NAME",
"value": "Hey"
},
{
"context": "\n (spit (io/file src-dir \"ivan.txt\") \"... | test/avisi_apps/crux/google_cloud_storage/checkpoint_test.clj | avisi-apps/crux-google-cloud-storage | 1 | (ns avisi-apps.crux.google-cloud-storage.checkpoint-test
(:require [clojure.test :as t]
[avisi-apps.crux.google-cloud-storage.checkpoint :as gcs-check]
[crux.io :as cio]
[crux.tx :as tx]
[crux.checkpoint :as cp]
[crux.system :as sys]
[clojure.jav... | 102349 | (ns avisi-apps.crux.google-cloud-storage.checkpoint-test
(:require [clojure.test :as t]
[avisi-apps.crux.google-cloud-storage.checkpoint :as gcs-check]
[crux.io :as cio]
[crux.tx :as tx]
[crux.checkpoint :as cp]
[crux.system :as sys]
[clojure.jav... | true | (ns avisi-apps.crux.google-cloud-storage.checkpoint-test
(:require [clojure.test :as t]
[avisi-apps.crux.google-cloud-storage.checkpoint :as gcs-check]
[crux.io :as cio]
[crux.tx :as tx]
[crux.checkpoint :as cp]
[crux.system :as sys]
[clojure.jav... |
[
{
"context": "License\"\n :year 2021\n :key \"mit\"}\n\n :min-lein-version \"2.7.1\"\n\n :dependencies [",
"end": 271,
"score": 0.9180415868759155,
"start": 268,
"tag": "KEY",
"value": "mit"
}
] | project.clj | narracion/narracion | 0 | (defproject narracion "0.1.0-SNAPSHOT"
:description "FIXME: write this!"
:url "http://example.com/FIXME"
:license {:name "MIT"
:url "https://choosealicense.com/licenses/mit"
:comment "MIT License"
:year 2021
:key "mit"}
:min-lein-version "2.7.1"
:dependencies ... | 18697 | (defproject narracion "0.1.0-SNAPSHOT"
:description "FIXME: write this!"
:url "http://example.com/FIXME"
:license {:name "MIT"
:url "https://choosealicense.com/licenses/mit"
:comment "MIT License"
:year 2021
:key "<KEY>"}
:min-lein-version "2.7.1"
:dependencie... | true | (defproject narracion "0.1.0-SNAPSHOT"
:description "FIXME: write this!"
:url "http://example.com/FIXME"
:license {:name "MIT"
:url "https://choosealicense.com/licenses/mit"
:comment "MIT License"
:year 2021
:key "PI:KEY:<KEY>END_PI"}
:min-lein-version "2.7.1"
... |
[
{
"context": " {:doc {:description \"descr\" :name \"name\"\n :params {:id {:type \"s",
"end": 3965,
"score": 0.7238467335700989,
"start": 3961,
"tag": "NAME",
"value": "name"
}
] | test/octia/core_test.clj | smallrivers/octia | 1 | (ns octia.core-test
(:require [ring.mock.request :as request]
[octia.endpoint :as endpoint]
[octia.wrapper :as wrapper])
(:use clojure.test
octia.core
midje.sweet))
(unfinished wrapper-called wrapper2-called group-wrapper-called)
(defn group-wrapper
[handler]
(fn... | 117735 | (ns octia.core-test
(:require [ring.mock.request :as request]
[octia.endpoint :as endpoint]
[octia.wrapper :as wrapper])
(:use clojure.test
octia.core
midje.sweet))
(unfinished wrapper-called wrapper2-called group-wrapper-called)
(defn group-wrapper
[handler]
(fn... | true | (ns octia.core-test
(:require [ring.mock.request :as request]
[octia.endpoint :as endpoint]
[octia.wrapper :as wrapper])
(:use clojure.test
octia.core
midje.sweet))
(unfinished wrapper-called wrapper2-called group-wrapper-called)
(defn group-wrapper
[handler]
(fn... |
[
{
"context": "\\\"\n :authentication {:username \\\"zcaudate\\\"\n :password \\\"",
"end": 5722,
"score": 0.999442458152771,
"start": 5714,
"tag": "USERNAME",
"value": "zcaudate"
},
{
"context": "\\\"\n ... | src/lucid/aether.clj | willcohen/lucidity | 3 | (ns lucid.aether
(:require [hara.namespace.import :as ns]
[lucid.aether
[artifact :as artifact]
[base :as base]
[request :as request]
[result :as result]]
[hara.io.classpath :as classpath])
(:import (org.eclipse.aether.transfer TransferList... | 106565 | (ns lucid.aether
(:require [hara.namespace.import :as ns]
[lucid.aether
[artifact :as artifact]
[base :as base]
[request :as request]
[result :as result]]
[hara.io.classpath :as classpath])
(:import (org.eclipse.aether.transfer TransferList... | true | (ns lucid.aether
(:require [hara.namespace.import :as ns]
[lucid.aether
[artifact :as artifact]
[base :as base]
[request :as request]
[result :as result]]
[hara.io.classpath :as classpath])
(:import (org.eclipse.aether.transfer TransferList... |
[
{
"context": "ets\" \"1877\"]\n ])\n\n(def friend-list\n [\n [\"1\" \"Jennifer\" \"AAPL\"]\n [\"2\" \"Jake\" \"GOOG\"]\n [\"3\" \"Mike\" \"A",
"end": 1478,
"score": 0.9997451305389404,
"start": 1470,
"tag": "NAME",
"value": "Jennifer"
},
{
"context": "iend-list\n [\n [\"1... | src/pennapps_xvi/core.cljs | kccqzy/pennapps-xvi | 0 | (ns pennapps-xvi.core
(:require
[clojure.core]
[reagent.core :as r]
[ajax.core :refer [GET POST]]))
(defn floor-factor [n f]
(* f (quot n f)))
(defn gen-dummy-stock-data
[len]
(let [rand-range 0.8
rand-range-half (/ rand-range 2)]
(take
len
(iterate (fn [{:strs [open hig... | 8404 | (ns pennapps-xvi.core
(:require
[clojure.core]
[reagent.core :as r]
[ajax.core :refer [GET POST]]))
(defn floor-factor [n f]
(* f (quot n f)))
(defn gen-dummy-stock-data
[len]
(let [rand-range 0.8
rand-range-half (/ rand-range 2)]
(take
len
(iterate (fn [{:strs [open hig... | true | (ns pennapps-xvi.core
(:require
[clojure.core]
[reagent.core :as r]
[ajax.core :refer [GET POST]]))
(defn floor-factor [n f]
(* f (quot n f)))
(defn gen-dummy-stock-data
[len]
(let [rand-range 0.8
rand-range-half (/ rand-range 2)]
(take
len
(iterate (fn [{:strs [open hig... |
[
{
"context": "tarting lwb in a repl\n\n; Copyright (c) 2014 - 2016 Burkhardt Renz, THM. All rights reserved.\n; The use and distribu",
"end": 95,
"score": 0.9998673796653748,
"start": 81,
"tag": "NAME",
"value": "Burkhardt Renz"
}
] | src/lwb/main.clj | esb-lwb/lwb | 22 | ; lwb Logic WorkBench -- For starting lwb in a repl
; Copyright (c) 2014 - 2016 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 fashion, you are... | 97871 | ; lwb Logic WorkBench -- For starting lwb in a repl
; Copyright (c) 2014 - 2016 <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 are agreein... | true | ; lwb Logic WorkBench -- For starting lwb in a repl
; Copyright (c) 2014 - 2016 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 fashion, y... |
[
{
"context": ";;\n;; Author:: Adam Jacob (<adam@opscode.com>)\n;; Author:: Christopher Brow",
"end": 25,
"score": 0.9998442530632019,
"start": 15,
"tag": "NAME",
"value": "Adam Jacob"
},
{
"context": ";;\n;; Author:: Adam Jacob (<adam@opscode.com>)\n;; Author:: Christopher Brown (<cb... | config/software/libxslt.clj | racker/omnibus | 2 | ;;
;; Author:: Adam Jacob (<adam@opscode.com>)
;; Author:: Christopher Brown (<cb@opscode.com>)
;; Copyright:: Copyright (c) 2010 Opscode, Inc.
;; License:: Apache License, Version 2.0
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the Licens... | 119478 | ;;
;; Author:: <NAME> (<<EMAIL>>)
;; Author:: <NAME> (<<EMAIL>>)
;; Copyright:: Copyright (c) 2010 Opscode, Inc.
;; License:: Apache License, Version 2.0
;;
;; 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 ... | true | ;;
;; Author:: PI:NAME:<NAME>END_PI (<PI:EMAIL:<EMAIL>END_PI>)
;; Author:: PI:NAME:<NAME>END_PI (<PI:EMAIL:<EMAIL>END_PI>)
;; Copyright:: Copyright (c) 2010 Opscode, Inc.
;; License:: Apache License, Version 2.0
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in... |
[
{
"context": "tp-opts client)\n {:form-params {:password password}\n :content-type :json\n :accep",
"end": 2034,
"score": 0.9977976083755493,
"start": 2026,
"tag": "PASSWORD",
"value": "password"
},
{
"context": "tp-opts client)\n {:form-params {... | src/vault/authenticate.clj | b-social/vault-clj | 0 | (ns vault.authenticate
"Handles logic relating to the authentication of a Vault client"
(:require
[clojure.string :as str]
[clojure.tools.logging :as log]
[vault.client.api-util :as api-util]
[vault.lease :as lease]))
(defn ^:no-doc api-auth!
"Validate the response from a vault auth call, update... | 66652 | (ns vault.authenticate
"Handles logic relating to the authentication of a Vault client"
(:require
[clojure.string :as str]
[clojure.tools.logging :as log]
[vault.client.api-util :as api-util]
[vault.lease :as lease]))
(defn ^:no-doc api-auth!
"Validate the response from a vault auth call, update... | true | (ns vault.authenticate
"Handles logic relating to the authentication of a Vault client"
(:require
[clojure.string :as str]
[clojure.tools.logging :as log]
[vault.client.api-util :as api-util]
[vault.lease :as lease]))
(defn ^:no-doc api-auth!
"Validate the response from a vault auth call, update... |
[
{
"context": " (pt/-header (new-auth {:basic {:username \"foofoo\"\n :passwor",
"end": 654,
"score": 0.9994034767150879,
"start": 648,
"tag": "USERNAME",
"value": "foofoo"
},
{
"context": " :password ... | test/kintone_client/authentication_test.cljc | egs33/kintone-client | 5 | (ns kintone-client.authentication-test
(:require #?(:clj [clojure.test :refer :all]
:cljs [cljs.test :refer-macros [deftest is]])
[kintone-client.authentication :refer [new-auth]]
[kintone-client.protocols :as pt]))
(deftest new-auth-test
#?(:cljs
(is (= {} (pt/-header (... | 18185 | (ns kintone-client.authentication-test
(:require #?(:clj [clojure.test :refer :all]
:cljs [cljs.test :refer-macros [deftest is]])
[kintone-client.authentication :refer [new-auth]]
[kintone-client.protocols :as pt]))
(deftest new-auth-test
#?(:cljs
(is (= {} (pt/-header (... | true | (ns kintone-client.authentication-test
(:require #?(:clj [clojure.test :refer :all]
:cljs [cljs.test :refer-macros [deftest is]])
[kintone-client.authentication :refer [new-auth]]
[kintone-client.protocols :as pt]))
(deftest new-auth-test
#?(:cljs
(is (= {} (pt/-header (... |
[
{
"context": ";;; Copyright 2011 Howard M. Lewis Ship\n;;;\n;;; Licensed under the Apache License, Versio",
"end": 39,
"score": 0.9998588562011719,
"start": 19,
"tag": "NAME",
"value": "Howard M. Lewis Ship"
}
] | src/cascade/import.clj | hlship/cascade | 8 | ;;; Copyright 2011 Howard M. Lewis Ship
;;;
;;; Licensed under the Apache License, Version 2.0 (the "License");;;
;;; you may not use this file except in compliance with the License.
;;; You may obtain a copy of the License at
;;;
;;; http://www.apache.org/licenses/LICENSE-2.0
;;;
;;; Unless required by applicable la... | 77474 | ;;; 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 required by applicable law or agreed to... | true | ;;; 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.0
;;;
;;; Unless required by applicable la... |
[
{
"context": ";; Copyright 2014-2020 King\n;; Copyright 2009-2014 Ragnar Svensson, Christian Murray\n;; Licensed under the Defold Li",
"end": 111,
"score": 0.9998082518577576,
"start": 96,
"tag": "NAME",
"value": "Ragnar Svensson"
},
{
"context": "-2020 King\n;; Copyright 2009-2014 R... | editor/test/dynamo/integration/override_test.clj | cmarincia/defold | 0 | ;; Copyright 2020-2022 The Defold Foundation
;; Copyright 2014-2020 King
;; Copyright 2009-2014 Ragnar Svensson, Christian Murray
;; Licensed under the Defold License version 1.0 (the "License"); you may not use
;; this file except in compliance with the License.
;;
;; You may obtain a copy of the License, together wi... | 30226 | ;; Copyright 2020-2022 The Defold Foundation
;; Copyright 2014-2020 King
;; Copyright 2009-2014 <NAME>, <NAME>
;; Licensed under the Defold License version 1.0 (the "License"); you may not use
;; this file except in compliance with the License.
;;
;; You may obtain a copy of the License, together with FAQs at
;; https... | true | ;; Copyright 2020-2022 The Defold Foundation
;; Copyright 2014-2020 King
;; Copyright 2009-2014 PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI
;; Licensed under the Defold License version 1.0 (the "License"); you may not use
;; this file except in compliance with the License.
;;
;; You may obtain a copy of the License, to... |
[
{
"context": "(testing \"swaps first and last names\"\n (is (= \"Murakami, Haruki\" (normalize \"Haruki Murakami\"))))\n #_(testing \"t",
"end": 392,
"score": 0.986333429813385,
"start": 376,
"tag": "NAME",
"value": "Murakami, Haruki"
},
{
"context": " names\"\n (is (= \"Murak... | clojure/test/name_normalizer/core_test.clj | duianto/name-normalizer | 21 | (ns name-normalizer.core-test
(:require [clojure.test :refer :all]
[name-normalizer.core :refer :all]))
(deftest a-name-normalizer
(testing "returns empty string when passed an empty string"
(is (= "" (normalize ""))))
#_(testing "returns single word name"
(is (= "Plato" (normalize "Plato")))... | 37305 | (ns name-normalizer.core-test
(:require [clojure.test :refer :all]
[name-normalizer.core :refer :all]))
(deftest a-name-normalizer
(testing "returns empty string when passed an empty string"
(is (= "" (normalize ""))))
#_(testing "returns single word name"
(is (= "Plato" (normalize "Plato")))... | true | (ns name-normalizer.core-test
(:require [clojure.test :refer :all]
[name-normalizer.core :refer :all]))
(deftest a-name-normalizer
(testing "returns empty string when passed an empty string"
(is (= "" (normalize ""))))
#_(testing "returns single word name"
(is (= "Plato" (normalize "Plato")))... |
[
{
"context": " \n ] }\n :user {:name \"user\"\n :fields [ [:created_at :timestamp \"NOT",
"end": 2409,
"score": 0.9994183778762817,
"start": 2405,
"tag": "USERNAME",
"value": "user"
},
{
"context": " \"microcms\"\n :passw... | src/clj/microcms/model.clj | martinskou/microcms | 1 | (ns microcms.model
(:require [korma.core :refer :all]
[korma.db :refer :all]
[clojure.java.jdbc :as sql]
[clojure.pprint :refer [pprint]]
))
(def cms-schema {
:pages {:name "pages"
:fields [ [:created_at :timestamp "NOT NULL" "DEFAULT CURRENT_TIMESTAM... | 111807 | (ns microcms.model
(:require [korma.core :refer :all]
[korma.db :refer :all]
[clojure.java.jdbc :as sql]
[clojure.pprint :refer [pprint]]
))
(def cms-schema {
:pages {:name "pages"
:fields [ [:created_at :timestamp "NOT NULL" "DEFAULT CURRENT_TIMESTAM... | true | (ns microcms.model
(:require [korma.core :refer :all]
[korma.db :refer :all]
[clojure.java.jdbc :as sql]
[clojure.pprint :refer [pprint]]
))
(def cms-schema {
:pages {:name "pages"
:fields [ [:created_at :timestamp "NOT NULL" "DEFAULT CURRENT_TIMESTAM... |
[
{
"context": " one primary entry for each SOA record.\n\nsortlist 128.3.0.0\n\ndirectory\t/etc/namedb\n\n; type domain\t\tsource ",
"end": 229,
"score": 0.9997792840003967,
"start": 220,
"tag": "IP_ADDRESS",
"value": "128.3.0.0"
},
{
"context": "ckup file\n\ncache .\t\t\t\t\t\... | netbsdsrc/etc/namedb/named.boot | tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective | 46 | ; $NetBSD: named.boot,v 1.3 1997/02/15 10:02:32 mikel Exp $
; from @(#)named.boot 8.1 (Berkeley) 6/9/93
; boot file for secondary name server
; Note that there should be one primary entry for each SOA record.
sortlist 128.3.0.0
directory /etc/namedb
; type domain source host/file backup file
cache . ... | 23435 | ; $NetBSD: named.boot,v 1.3 1997/02/15 10:02:32 mikel Exp $
; from @(#)named.boot 8.1 (Berkeley) 6/9/93
; boot file for secondary name server
; Note that there should be one primary entry for each SOA record.
sortlist 192.168.127.12
directory /etc/namedb
; type domain source host/file backup file
cache . ... | true | ; $NetBSD: named.boot,v 1.3 1997/02/15 10:02:32 mikel Exp $
; from @(#)named.boot 8.1 (Berkeley) 6/9/93
; boot file for secondary name server
; Note that there should be one primary entry for each SOA record.
sortlist PI:IP_ADDRESS:192.168.127.12END_PI
directory /etc/namedb
; type domain source host/file backu... |
[
{
"context": ";; Copyright © 2015-2019 Esko Luontola\n;; This software is released under the Apache Lic",
"end": 38,
"score": 0.9998798370361328,
"start": 25,
"tag": "NAME",
"value": "Esko Luontola"
}
] | src/territory_bro/gis.clj | JessRoberts/territory_assistant | 0 | ;; Copyright © 2015-2019 Esko Luontola
;; This software is released under the Apache License 2.0.
;; The license text is at http://www.apache.org/licenses/LICENSE-2.0
(ns territory-bro.gis
(:require [territory-bro.db :as db]))
(def ^:private query! (db/compile-queries "db/hugsql/gis.sql"))
(defn- format-gis-change... | 109447 | ;; Copyright © 2015-2019 <NAME>
;; This software is released under the Apache License 2.0.
;; The license text is at http://www.apache.org/licenses/LICENSE-2.0
(ns territory-bro.gis
(:require [territory-bro.db :as db]))
(def ^:private query! (db/compile-queries "db/hugsql/gis.sql"))
(defn- format-gis-change [chang... | true | ;; Copyright © 2015-2019 PI:NAME:<NAME>END_PI
;; This software is released under the Apache License 2.0.
;; The license text is at http://www.apache.org/licenses/LICENSE-2.0
(ns territory-bro.gis
(:require [territory-bro.db :as db]))
(def ^:private query! (db/compile-queries "db/hugsql/gis.sql"))
(defn- format-gis... |
[
{
"context": " :corp :click 1)\n (play-from-hand state :corp \"Hunter\" \"HQ\")\n (let [hunter (get-ice state :hq 0)]\n ",
"end": 7162,
"score": 0.8071572780609131,
"start": 7156,
"tag": "NAME",
"value": "Hunter"
},
{
"context": "ner took 6 tags\"))))\n\n(deftest mushin-no-shi... | src/clj/test/cards/operations.clj | erbridge/netrunner | 0 | (ns test.cards.operations
(:require [game.core :as core]
[test.core :refer :all]
[test.utils :refer :all]
[test.macros :refer :all]
[clojure.test :refer :all]))
(deftest twenty-four-seven-news-cycle-breaking-news
;; 24/7 News Cycle - Breaking News interaction
(do-g... | 80995 | (ns test.cards.operations
(:require [game.core :as core]
[test.core :refer :all]
[test.utils :refer :all]
[test.macros :refer :all]
[clojure.test :refer :all]))
(deftest twenty-four-seven-news-cycle-breaking-news
;; 24/7 News Cycle - Breaking News interaction
(do-g... | true | (ns test.cards.operations
(:require [game.core :as core]
[test.core :refer :all]
[test.utils :refer :all]
[test.macros :refer :all]
[clojure.test :refer :all]))
(deftest twenty-four-seven-news-cycle-breaking-news
;; 24/7 News Cycle - Breaking News interaction
(do-g... |
[
{
"context": "tc/from-long millis))))\n\n(def test-record\n {:id \"abc123\" :timestamp 1440511397267 :ts \"2015-08-25T14:03:1",
"end": 340,
"score": 0.8152428269386292,
"start": 334,
"tag": "KEY",
"value": "abc123"
},
{
"context": "\"\n :type \"a-type\"\n :id ... | qanal/test/qanal/transform_test.clj | samsara/samsara | 146 | (ns qanal.transform-test
(:require [clj-time
[coerce :as tc]
[format :as f]]
[midje.sweet :refer :all]
[qanal.transform :refer :all]))
(defn format-date [base-index millis]
(str base-index (f/unparse (f/formatter "-YYYY-MM-dd") (tc/from-long millis))))
(def test-r... | 24727 | (ns qanal.transform-test
(:require [clj-time
[coerce :as tc]
[format :as f]]
[midje.sweet :refer :all]
[qanal.transform :refer :all]))
(defn format-date [base-index millis]
(str base-index (f/unparse (f/formatter "-YYYY-MM-dd") (tc/from-long millis))))
(def test-r... | true | (ns qanal.transform-test
(:require [clj-time
[coerce :as tc]
[format :as f]]
[midje.sweet :refer :all]
[qanal.transform :refer :all]))
(defn format-date [base-index millis]
(str base-index (f/unparse (f/formatter "-YYYY-MM-dd") (tc/from-long millis))))
(def test-r... |
[
{
"context": "in\"\n :password \"secretadmin\"}})\n\n(def hashicorp-vault {:protocol \"http\"\n ",
"end": 1173,
"score": 0.9991992712020874,
"start": 1162,
"tag": "PASSWORD",
"value": "secretadmin"
},
{
"context": " :port 8200\n ... | test/keycloak/starter_test.clj | borkdude/keycloak-clojure | 0 | (ns keycloak.starter-test
(:require
[clojure.test :as t :refer :all]
[clojure.string :as str]
[clojure.pprint :as pp]
[sci.core :as sci]
[testit.core :refer :all]
[keycloak.starter :as starter]
[keycloak.admin :refer :all]
[keycloak.user :as user]
[keycloak.utils :as utils :refer [auth-se... | 82133 | (ns keycloak.starter-test
(:require
[clojure.test :as t :refer :all]
[clojure.string :as str]
[clojure.pprint :as pp]
[sci.core :as sci]
[testit.core :refer :all]
[keycloak.starter :as starter]
[keycloak.admin :refer :all]
[keycloak.user :as user]
[keycloak.utils :as utils :refer [auth-se... | true | (ns keycloak.starter-test
(:require
[clojure.test :as t :refer :all]
[clojure.string :as str]
[clojure.pprint :as pp]
[sci.core :as sci]
[testit.core :refer :all]
[keycloak.starter :as starter]
[keycloak.admin :refer :all]
[keycloak.user :as user]
[keycloak.utils :as utils :refer [auth-se... |
[
{
"context": "! *unchecked-math* :warn-on-boxed)\n(ns ^{:author \"John Alan McDonald\" :date \"2016-09-08\"\n :doc \"Tests for zana.ge",
"end": 105,
"score": 0.9998778700828552,
"start": 87,
"tag": "NAME",
"value": "John Alan McDonald"
}
] | src/test/clojure/zana/test/geometry/z1.clj | wahpenayo/zana | 2 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "John Alan McDonald" :date "2016-09-08"
:doc "Tests for zana.geometry.z1." }
zana.test.geometry.z1
(:require
[clojure.test :as test]
[zana.geometry.z1 :as z1]))
;;--------------------------------------------------... | 10624 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "<NAME>" :date "2016-09-08"
:doc "Tests for zana.geometry.z1." }
zana.test.geometry.z1
(:require
[clojure.test :as test]
[zana.geometry.z1 :as z1]))
;;--------------------------------------------------------------... | true | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "PI:NAME:<NAME>END_PI" :date "2016-09-08"
:doc "Tests for zana.geometry.z1." }
zana.test.geometry.z1
(:require
[clojure.test :as test]
[zana.geometry.z1 :as z1]))
;;------------------------------------------------... |
[
{
"context": "ts manipulating text and strings.\"\n :author \"Sean Dawson\"}\n nanoweave.ast.text\n (:require [schema.core :a",
"end": 93,
"score": 0.9998348951339722,
"start": 82,
"tag": "NAME",
"value": "Sean Dawson"
}
] | src/nanoweave/ast/text.clj | NoxHarmonium/nanoweave | 0 | (ns ^{:doc "Syntax that represents manipulating text and strings."
:author "Sean Dawson"}
nanoweave.ast.text
(:require [schema.core :as s]
[nanoweave.ast.base :refer [Resolvable]]))
(s/defrecord InterpolatedString [body :- [Resolvable]])
(s/defrecord Regex [regex :- [java.util.regex.Pattern]])
| 82541 | (ns ^{:doc "Syntax that represents manipulating text and strings."
:author "<NAME>"}
nanoweave.ast.text
(:require [schema.core :as s]
[nanoweave.ast.base :refer [Resolvable]]))
(s/defrecord InterpolatedString [body :- [Resolvable]])
(s/defrecord Regex [regex :- [java.util.regex.Pattern]])
| true | (ns ^{:doc "Syntax that represents manipulating text and strings."
:author "PI:NAME:<NAME>END_PI"}
nanoweave.ast.text
(:require [schema.core :as s]
[nanoweave.ast.base :refer [Resolvable]]))
(s/defrecord InterpolatedString [body :- [Resolvable]])
(s/defrecord Regex [regex :- [java.util.regex.Patte... |
[
{
"context": "al Day\" :date (t/date \"2020-05-25\")}\n {:name \"Thanksgiving\" :date (t/date \"2020-11-26\")}\n {:name \"Columb",
"end": 1159,
"score": 0.7911236882209778,
"start": 1147,
"tag": "NAME",
"value": "Thanksgiving"
}
] | test/com/piposaude/calenjars/nth_day_of_week_test.clj | piposaude/calenjars | 3 | (ns com.piposaude.calenjars.nth-day-of-week-test
(:require [clojure.test :refer :all]
[tick.alpha.api :as t]
[com.piposaude.calenjars.holidays :as gen]))
(deftest should-generate-holidays-when-holidays-for-year-with-nth-day-of-week-rule
(are [expected year]
(= expected (gen/holidays-... | 44115 | (ns com.piposaude.calenjars.nth-day-of-week-test
(:require [clojure.test :refer :all]
[tick.alpha.api :as t]
[com.piposaude.calenjars.holidays :as gen]))
(deftest should-generate-holidays-when-holidays-for-year-with-nth-day-of-week-rule
(are [expected year]
(= expected (gen/holidays-... | true | (ns com.piposaude.calenjars.nth-day-of-week-test
(:require [clojure.test :refer :all]
[tick.alpha.api :as t]
[com.piposaude.calenjars.holidays :as gen]))
(deftest should-generate-holidays-when-holidays-for-year-with-nth-day-of-week-rule
(are [expected year]
(= expected (gen/holidays-... |
[
{
"context": "ions and limitations there under.\n\n;;;; Author: Alex Dean (mailto:support@snowplowanalytics.com)\n;;;; Copyr",
"end": 744,
"score": 0.9998502731323242,
"start": 735,
"tag": "NAME",
"value": "Alex Dean"
},
{
"context": "s there under.\n\n;;;; Author: Alex Dean (m... | 2-collectors/clojure-collector/java-servlet/project.clj | whitemike889/snowplow | 0 | ;;;; Copyright (c) 2012-2018 Snowplow Analytics Ltd. All rights reserved.
;;;;
;;;; This program is licensed to you under the Apache License Version 2.0,
;;;; and you may not use this file except in compliance with the Apache License Version 2.0.
;;;; You may obtain a copy of the Apache License Version 2.0 at http://ww... | 54943 | ;;;; Copyright (c) 2012-2018 Snowplow Analytics Ltd. All rights reserved.
;;;;
;;;; This program is licensed to you under the Apache License Version 2.0,
;;;; and you may not use this file except in compliance with the Apache License Version 2.0.
;;;; You may obtain a copy of the Apache License Version 2.0 at http://ww... | true | ;;;; Copyright (c) 2012-2018 Snowplow Analytics Ltd. All rights reserved.
;;;;
;;;; This program is licensed to you under the Apache License Version 2.0,
;;;; and you may not use this file except in compliance with the Apache License Version 2.0.
;;;; You may obtain a copy of the Apache License Version 2.0 at http://ww... |
[
{
"context": ";; Copyright 2014-2020 King\n;; Copyright 2009-2014 Ragnar Svensson, Christian Murray\n;; Licensed under the Defold Li",
"end": 111,
"score": 0.9998092651367188,
"start": 96,
"tag": "NAME",
"value": "Ragnar Svensson"
},
{
"context": "-2020 King\n;; Copyright 2009-2014 R... | editor/src/clj/util/profiler.clj | cmarincia/defold | 0 | ;; Copyright 2020-2022 The Defold Foundation
;; Copyright 2014-2020 King
;; Copyright 2009-2014 Ragnar Svensson, Christian Murray
;; Licensed under the Defold License version 1.0 (the "License"); you may not use
;; this file except in compliance with the License.
;;
;; You may obtain a copy of the License, together wi... | 116171 | ;; Copyright 2020-2022 The Defold Foundation
;; Copyright 2014-2020 King
;; Copyright 2009-2014 <NAME>, <NAME>
;; Licensed under the Defold License version 1.0 (the "License"); you may not use
;; this file except in compliance with the License.
;;
;; You may obtain a copy of the License, together with FAQs at
;; https... | true | ;; Copyright 2020-2022 The Defold Foundation
;; Copyright 2014-2020 King
;; Copyright 2009-2014 PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI
;; Licensed under the Defold License version 1.0 (the "License"); you may not use
;; this file except in compliance with the License.
;;
;; You may obtain a copy of the License, to... |
[
{
"context": "= [] (people/get-all* @conn)))\n (is (= [{:name \"yest\"\n :email \"test@test.com\"\n :",
"end": 883,
"score": 0.9972002506256104,
"start": 879,
"tag": "USERNAME",
"value": "yest"
},
{
"context": "n)))\n (is (= [{:name \"yest\"\n :em... | test/utility_belt/sql/core_test.clj | nomnom-insights/nomnom.utility-belt.sql | 2 | (ns utility-belt.sql.core-test
(:require
[clj-time.coerce :as coerce]
[clojure.test :refer [deftest is use-fixtures]]
;; -- test helpers
[utility-belt.sql.connection :as connection]
[utility-belt.sql.conv]
[utility-belt.sql.people :as people]
;; -- actual things under test
[utility-bel... | 28841 | (ns utility-belt.sql.core-test
(:require
[clj-time.coerce :as coerce]
[clojure.test :refer [deftest is use-fixtures]]
;; -- test helpers
[utility-belt.sql.connection :as connection]
[utility-belt.sql.conv]
[utility-belt.sql.people :as people]
;; -- actual things under test
[utility-bel... | true | (ns utility-belt.sql.core-test
(:require
[clj-time.coerce :as coerce]
[clojure.test :refer [deftest is use-fixtures]]
;; -- test helpers
[utility-belt.sql.connection :as connection]
[utility-belt.sql.conv]
[utility-belt.sql.people :as people]
;; -- actual things under test
[utility-bel... |
[
{
"context": "rmchair.db :refer [serialize-db]]))\n\n(def DB-KEY \"armchair-data\")\n(def storage (.-localStorage js/window))\n\n(defn",
"end": 147,
"score": 0.998272716999054,
"start": 134,
"tag": "KEY",
"value": "armchair-data"
}
] | src/cljs/armchair/local_storage.cljs | maiwald/armchair | 6 | (ns armchair.local-storage
(:require [re-frame.core :refer [after]]
[armchair.db :refer [serialize-db]]))
(def DB-KEY "armchair-data")
(def storage (.-localStorage js/window))
(defn set-data [value]
(try (.setItem storage DB-KEY value)
(catch js/Error e e)))
(defn get-data []
(.getItem stora... | 34952 | (ns armchair.local-storage
(:require [re-frame.core :refer [after]]
[armchair.db :refer [serialize-db]]))
(def DB-KEY "<KEY>")
(def storage (.-localStorage js/window))
(defn set-data [value]
(try (.setItem storage DB-KEY value)
(catch js/Error e e)))
(defn get-data []
(.getItem storage DB-KE... | true | (ns armchair.local-storage
(:require [re-frame.core :refer [after]]
[armchair.db :refer [serialize-db]]))
(def DB-KEY "PI:KEY:<KEY>END_PI")
(def storage (.-localStorage js/window))
(defn set-data [value]
(try (.setItem storage DB-KEY value)
(catch js/Error e e)))
(defn get-data []
(.getItem ... |
[
{
"context": " :trust-password \"truststore-password\"}\n :work-stealing {:o",
"end": 18190,
"score": 0.9993974566459656,
"start": 18171,
"tag": "PASSWORD",
"value": "truststore-password"
}
] | waiter/test/waiter/settings_test.clj | twosigmajab/waiter | 0 | ;;
;; Copyright (c) Two Sigma Open Source, LLC
;;
;; 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... | 122111 | ;;
;; Copyright (c) Two Sigma Open Source, LLC
;;
;; 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... | true | ;;
;; Copyright (c) Two Sigma Open Source, LLC
;;
;; 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... |
[
{
"context": " :key-password \"YourSslKeystorePassword\"}\n :archive-ds-ks [:a",
"end": 1676,
"score": 0.9985060691833496,
"start": 1653,
"tag": "PASSWORD",
"value": "YourSslKeystorePassword"
},
{
"context": " ... | deploy-to-aws/other-resources/boa_server_config.clj | mikub/titanoboa-sample-workflows | 16 | (in-ns 'titanoboa.server)
(log/info "Hello, I am core.async server-config and I am being loaded...")
(defonce archival-queue-local (clojure.core.async/chan (clojure.core.async/dropping-buffer 1024)))
(alter-var-root #'server-config
(constantly {:systems-catalogue
... | 79332 | (in-ns 'titanoboa.server)
(log/info "Hello, I am core.async server-config and I am being loaded...")
(defonce archival-queue-local (clojure.core.async/chan (clojure.core.async/dropping-buffer 1024)))
(alter-var-root #'server-config
(constantly {:systems-catalogue
... | true | (in-ns 'titanoboa.server)
(log/info "Hello, I am core.async server-config and I am being loaded...")
(defonce archival-queue-local (clojure.core.async/chan (clojure.core.async/dropping-buffer 1024)))
(alter-var-root #'server-config
(constantly {:systems-catalogue
... |
[
{
"context": "(= (catalog-edges-map certname)\n {[\"ff0702ba8a7dc69d3fb17f9d151bf9bd265a9ed9\"\n \"57495b553981551c5194a21b9a2655",
"end": 41146,
"score": 0.9388859272003174,
"start": 41106,
"tag": "KEY",
"value": "ff0702ba8a7dc69d3fb17f9d151bf9bd265a9ed9"
},
... | test/puppetlabs/puppetdb/scf/storage_test.clj | jbondpdx/puppetdb | 0 | (ns puppetlabs.puppetdb.scf.storage-test
(:require [clojure.java.jdbc :as sql]
[clojure.set :as set]
[puppetlabs.puppetdb.cheshire :as json]
[puppetlabs.puppetdb.reports :as report]
[puppetlabs.puppetdb.scf.hash :as shash]
[puppetlabs.puppetdb.facts :as fact... | 84826 | (ns puppetlabs.puppetdb.scf.storage-test
(:require [clojure.java.jdbc :as sql]
[clojure.set :as set]
[puppetlabs.puppetdb.cheshire :as json]
[puppetlabs.puppetdb.reports :as report]
[puppetlabs.puppetdb.scf.hash :as shash]
[puppetlabs.puppetdb.facts :as fact... | true | (ns puppetlabs.puppetdb.scf.storage-test
(:require [clojure.java.jdbc :as sql]
[clojure.set :as set]
[puppetlabs.puppetdb.cheshire :as json]
[puppetlabs.puppetdb.reports :as report]
[puppetlabs.puppetdb.scf.hash :as shash]
[puppetlabs.puppetdb.facts :as fact... |
[
{
"context": "Generator Macro & Guitar Instrument\"\n :author \"Roger Allen\"}\n (:use [overtone.music pitch time]\n [ov",
"end": 383,
"score": 0.999808669090271,
"start": 372,
"tag": "NAME",
"value": "Roger Allen"
}
] | src/overtone/synth/stringed.clj | ABaldwinHunter/overtone | 3,870 | ;; A Stringed Synth Generator Macro & Guitar Example Instrument
;;
;; See overtone/examples/instruments/guitar_synth.clj for example usage.
;;
;; Other instruments (like bass-guitar, ukelele, mandolin, etc.) may
;; use the same basic instrument. Watch this space...
(ns overtone.synth.stringed
^{:doc "A Stringed Synt... | 106606 | ;; A Stringed Synth Generator Macro & Guitar Example Instrument
;;
;; See overtone/examples/instruments/guitar_synth.clj for example usage.
;;
;; Other instruments (like bass-guitar, ukelele, mandolin, etc.) may
;; use the same basic instrument. Watch this space...
(ns overtone.synth.stringed
^{:doc "A Stringed Synt... | true | ;; A Stringed Synth Generator Macro & Guitar Example Instrument
;;
;; See overtone/examples/instruments/guitar_synth.clj for example usage.
;;
;; Other instruments (like bass-guitar, ukelele, mandolin, etc.) may
;; use the same basic instrument. Watch this space...
(ns overtone.synth.stringed
^{:doc "A Stringed Synt... |
[
{
"context": "\"Hello world for neanderthal/nvidia.\"\n :author \"palisades dot lakes at gmail dot com\"\n :since \"2017-04-24\"\n :version \"2017-05-29\"}",
"end": 293,
"score": 0.9698846340179443,
"start": 257,
"tag": "EMAIL",
"value": "palisades dot lakes at gmail dot com"
}
] | src/scripts/clojure/palisades/lakes/elements/scripts/uncomplicate/nvidia.clj | palisades-lakes/les-elemens | 0 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns palisades.lakes.elements.scripts.uncomplicate.nvidia
{:doc "Hello world for neanderthal/nvidia."
:author "palisades dot lakes at gmail dot com"
:since "2017-04-24"
... | 72608 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns palisades.lakes.elements.scripts.uncomplicate.nvidia
{:doc "Hello world for neanderthal/nvidia."
:author "<EMAIL>"
:since "2017-04-24"
:version "2017-05-29"}
... | true | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns palisades.lakes.elements.scripts.uncomplicate.nvidia
{:doc "Hello world for neanderthal/nvidia."
:author "PI:EMAIL:<EMAIL>END_PI"
:since "2017-04-24"
:version "201... |
[
{
"context": "; Copyright (c) 2017-present Walmart, Inc.\n;\n; Licensed under the Apache License",
"end": 30,
"score": 0.6211073398590088,
"start": 29,
"tag": "NAME",
"value": "W"
}
] | test/com/walmartlabs/lacinia/schema_test.clj | hagenek/lacinia | 1,762 | ; Copyright (c) 2017-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... | 80791 | ; Copyright (c) 2017-present <NAME>almart, 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 agre... | true | ; Copyright (c) 2017-present PI:NAME:<NAME>END_PIalmart, 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 applicab... |
[
{
"context": ";; Copyright (C) 2018, 2019 by Vlad Kozin\n\n(ns bitfinex\n (:require [clojure.spec.alpha :as",
"end": 41,
"score": 0.9998327493667603,
"start": 31,
"tag": "NAME",
"value": "Vlad Kozin"
}
] | src/exch/bitfinex.clj | vkz/bot | 1 | ;; Copyright (C) 2018, 2019 by Vlad Kozin
(ns bitfinex
(:require [clojure.spec.alpha :as spec]
[clojure.spec.gen.alpha :as gen]
[medley.core :refer :all]
[aleph.http :as http]
[clj-http.client :as http-client]
[manifold.deferred :as d]
[manifold... | 33434 | ;; Copyright (C) 2018, 2019 by <NAME>
(ns bitfinex
(:require [clojure.spec.alpha :as spec]
[clojure.spec.gen.alpha :as gen]
[medley.core :refer :all]
[aleph.http :as http]
[clj-http.client :as http-client]
[manifold.deferred :as d]
[manifold.str... | true | ;; Copyright (C) 2018, 2019 by PI:NAME:<NAME>END_PI
(ns bitfinex
(:require [clojure.spec.alpha :as spec]
[clojure.spec.gen.alpha :as gen]
[medley.core :refer :all]
[aleph.http :as http]
[clj-http.client :as http-client]
[manifold.deferred :as d]
... |
[
{
"context": "ey) )) \n\n\n(defn -main [& args]\n (pretty-printer \"Alice\" finder))\n\n",
"end": 202,
"score": 0.9869930744171143,
"start": 197,
"tag": "NAME",
"value": "Alice"
}
] | Pres-DI-Clojure/demos/test3/src/test3/core.clj | cfalguiere/Presentations | 0 | (ns test3.core)
(defn finder [key] (str "value from the db")) ;; very complex finder
(defn pretty-printer [key finder] (str "This is a " (finder key) ))
(defn -main [& args]
(pretty-printer "Alice" finder))
| 53903 | (ns test3.core)
(defn finder [key] (str "value from the db")) ;; very complex finder
(defn pretty-printer [key finder] (str "This is a " (finder key) ))
(defn -main [& args]
(pretty-printer "<NAME>" finder))
| true | (ns test3.core)
(defn finder [key] (str "value from the db")) ;; very complex finder
(defn pretty-printer [key finder] (str "This is a " (finder key) ))
(defn -main [& args]
(pretty-printer "PI:NAME:<NAME>END_PI" finder))
|
[
{
"context": "ryption makes use of random values\r\n(def aes-key \"abcdefghijklmnopqrstuvwxyz0123456789ABCDEFG\")\r\n(def appid \"wx2c2769f8efd9abc2\")\r\n(def sec-msg",
"end": 502,
"score": 0.999721884727478,
"start": 459,
"tag": "KEY",
"value": "abcdefghijklmnopqrstuvwxyz0123456789ABCDEFG"... | test/liu/wx/aes_test.clj | emliunix/wxservice | 0 | (ns liu.wx.aes-test
(:require [clojure.test :refer [deftest is are]]
[liu.wx.util :refer [cat-bytes]]
[liu.wx.aes :as t])
(:import [java.util Arrays]))
;; These are values cited from official sample code of weixin,
;; so the reliability of the code is guranted if decryption functions... | 82308 | (ns liu.wx.aes-test
(:require [clojure.test :refer [deftest is are]]
[liu.wx.util :refer [cat-bytes]]
[liu.wx.aes :as t])
(:import [java.util Arrays]))
;; These are values cited from official sample code of weixin,
;; so the reliability of the code is guranted if decryption functions... | true | (ns liu.wx.aes-test
(:require [clojure.test :refer [deftest is are]]
[liu.wx.util :refer [cat-bytes]]
[liu.wx.aes :as t])
(:import [java.util Arrays]))
;; These are values cited from official sample code of weixin,
;; so the reliability of the code is guranted if decryption functions... |
[
{
"context": "\n \"Improved Tracers\" \"Hunter\"])\n (default-challenger))\n (",
"end": 10099,
"score": 0.8016990423202515,
"start": 10098,
"tag": "NAME",
"value": "H"
},
{
"context": "\")\n (prompt-select :contestant (find-card \"Oa... | test/clj/game_test/cards/operations.clj | SylvanSign/cardnum | 0 | (ns game-test.cards.operations
(:require [game.core :as core]
[game-test.core :refer :all]
[game-test.utils :refer :all]
[game-test.macros :refer :all]
[clojure.test :refer :all]))
(use-fixtures :once load-all-cards (partial reset-card-defs "operations"))
(deftest ^{:... | 42167 | (ns game-test.cards.operations
(:require [game.core :as core]
[game-test.core :refer :all]
[game-test.utils :refer :all]
[game-test.macros :refer :all]
[clojure.test :refer :all]))
(use-fixtures :once load-all-cards (partial reset-card-defs "operations"))
(deftest ^{:... | true | (ns game-test.cards.operations
(:require [game.core :as core]
[game-test.core :refer :all]
[game-test.utils :refer :all]
[game-test.macros :refer :all]
[clojure.test :refer :all]))
(use-fixtures :once load-all-cards (partial reset-card-defs "operations"))
(deftest ^{:... |
[
{
"context": " [{auth-identity ::auth/identity\n :keys [com.yetanalytics/lrs xapi] :as ctx}]\n (let [{params :xapi.agen",
"end": 882,
"score": 0.7665648460388184,
"start": 870,
"tag": "KEY",
"value": "yetanalytics"
}
] | src/main/com/yetanalytics/lrs/pedestal/routes/agents.cljc | yetanalytics/lrs | 1 | (ns com.yetanalytics.lrs.pedestal.routes.agents
(:require [com.yetanalytics.lrs :as lrs]
[com.yetanalytics.lrs.protocol :as p]
[clojure.core.async :as a :include-macros true]
[com.yetanalytics.lrs.auth :as auth]
[clojure.spec.alpha :as s :include-macros true]))
(s/fdef... | 18935 | (ns com.yetanalytics.lrs.pedestal.routes.agents
(:require [com.yetanalytics.lrs :as lrs]
[com.yetanalytics.lrs.protocol :as p]
[clojure.core.async :as a :include-macros true]
[com.yetanalytics.lrs.auth :as auth]
[clojure.spec.alpha :as s :include-macros true]))
(s/fdef... | true | (ns com.yetanalytics.lrs.pedestal.routes.agents
(:require [com.yetanalytics.lrs :as lrs]
[com.yetanalytics.lrs.protocol :as p]
[clojure.core.async :as a :include-macros true]
[com.yetanalytics.lrs.auth :as auth]
[clojure.spec.alpha :as s :include-macros true]))
(s/fdef... |
[
{
"context": " #_(get-lhd-count-for-date! config \"2021-08-20\" \"Hunter New England\")\n [{:keys [api-url dataset]} date lhd]\n (let [",
"end": 3140,
"score": 0.7733110189437866,
"start": 3122,
"tag": "NAME",
"value": "Hunter New England"
}
] | src/covis/downloader.clj | wongjoel/covid-dataset-visualisation | 0 | (ns covis.downloader
(:require [clj-http.client :as client]
[clojure.data.json :as json])
(:import (java.time LocalDate LocalDateTime ZonedDateTime ZoneId)
(java.time.format DateTimeFormatter)))
(defn gen-date-seq
#_(gen-date-seq (LocalDate/parse "2020-01-01") (LocalDate/parse "2020-02-01"... | 64102 | (ns covis.downloader
(:require [clj-http.client :as client]
[clojure.data.json :as json])
(:import (java.time LocalDate LocalDateTime ZonedDateTime ZoneId)
(java.time.format DateTimeFormatter)))
(defn gen-date-seq
#_(gen-date-seq (LocalDate/parse "2020-01-01") (LocalDate/parse "2020-02-01"... | true | (ns covis.downloader
(:require [clj-http.client :as client]
[clojure.data.json :as json])
(:import (java.time LocalDate LocalDateTime ZonedDateTime ZoneId)
(java.time.format DateTimeFormatter)))
(defn gen-date-seq
#_(gen-date-seq (LocalDate/parse "2020-01-01") (LocalDate/parse "2020-02-01"... |
[
{
"context": "ogin']\\\")\n (input-text \\\"#login_field\\\" \\\"your_username\\\")\n (-> \\\"#password\\\"\n (input-t",
"end": 8717,
"score": 0.996135950088501,
"start": 8704,
"tag": "USERNAME",
"value": "your_username"
},
{
"context": " (-> \\\"#pass... | src/clj/shale/client.clj | cardforcoin/shale | 10 | (ns shale.client
(:require [clojure.set :refer [rename-keys]]
[clojure.walk :as walk]
[clj-http.client :as client]
[cheshire [core :as json]]
[clj-webdriver.taxi :as taxi]
[slingshot.slingshot :refer [try+ throw+]]
[taoensso.timbre :as timbre :re... | 60253 | (ns shale.client
(:require [clojure.set :refer [rename-keys]]
[clojure.walk :as walk]
[clj-http.client :as client]
[cheshire [core :as json]]
[clj-webdriver.taxi :as taxi]
[slingshot.slingshot :refer [try+ throw+]]
[taoensso.timbre :as timbre :re... | true | (ns shale.client
(:require [clojure.set :refer [rename-keys]]
[clojure.walk :as walk]
[clj-http.client :as client]
[cheshire [core :as json]]
[clj-webdriver.taxi :as taxi]
[slingshot.slingshot :refer [try+ throw+]]
[taoensso.timbre :as timbre :re... |
[
{
"context": "using the Java Prefernces\nsystem.\"\n :author \"Paul Landes\"}\n zensols.cisql.conf\n (:require [clojure.str",
"end": 113,
"score": 0.9998839497566223,
"start": 102,
"tag": "NAME",
"value": "Paul Landes"
},
{
"context": "a-inst (atom nil))\n\n(def ^:private pa... | src/clojure/zensols/cisql/conf.clj | plandes/cisql | 12 | (ns ^{:doc "Manages application level configuration using the Java Prefernces
system."
:author "Paul Landes"}
zensols.cisql.conf
(:require [clojure.string :as str]
[clojure.tools.logging :as log]
[clojure.set :refer (difference)]
[zensols.cisql.version :as ver]
... | 5449 | (ns ^{:doc "Manages application level configuration using the Java Prefernces
system."
:author "<NAME>"}
zensols.cisql.conf
(:require [clojure.string :as str]
[clojure.tools.logging :as log]
[clojure.set :refer (difference)]
[zensols.cisql.version :as ver]
[ze... | true | (ns ^{:doc "Manages application level configuration using the Java Prefernces
system."
:author "PI:NAME:<NAME>END_PI"}
zensols.cisql.conf
(:require [clojure.string :as str]
[clojure.tools.logging :as log]
[clojure.set :refer (difference)]
[zensols.cisql.version :as ver]
... |
[
{
"context": " :port 5672\n :username \"rabbit\"\n :password \"rabbit\"\n ",
"end": 760,
"score": 0.9927424192428589,
"start": 754,
"tag": "USERNAME",
"value": "rabbit"
},
{
"context": "name \"rabbit\"\n :pa... | test/ziggurat/messaging/rabbitmq/cluster/producer_test.clj | WickedBrat/ziggurat | 0 | (ns ziggurat.messaging.rabbitmq.cluster.producer-test
(:require [clojure.test :refer :all]
[ziggurat.messaging.rabbitmq.cluster.producer :as rmc-prod]
[langohr.queue :as lq]
[langohr.exchange :as le]
[langohr.channel :as lch]
[langohr.http :as lh]
... | 58632 | (ns ziggurat.messaging.rabbitmq.cluster.producer-test
(:require [clojure.test :refer :all]
[ziggurat.messaging.rabbitmq.cluster.producer :as rmc-prod]
[langohr.queue :as lq]
[langohr.exchange :as le]
[langohr.channel :as lch]
[langohr.http :as lh]
... | true | (ns ziggurat.messaging.rabbitmq.cluster.producer-test
(:require [clojure.test :refer :all]
[ziggurat.messaging.rabbitmq.cluster.producer :as rmc-prod]
[langohr.queue :as lq]
[langohr.exchange :as le]
[langohr.channel :as lch]
[langohr.http :as lh]
... |
[
{
"context": " [middleware.utils.core :as u]))\n\n; TODO(Richo): Concatenating strings seems very inefficient\n\n(",
"end": 165,
"score": 0.9935930967330933,
"start": 160,
"tag": "NAME",
"value": "Richo"
}
] | middleware/server/src/middleware/compilation/codegen.cljc | GIRA/PhysicalBits | 2 | (ns middleware.compilation.codegen
(:refer-clojure :exclude [print])
(:require [clojure.string :as str]
[middleware.utils.core :as u]))
; TODO(Richo): Concatenating strings seems very inefficient
(defmulti print-node :__class__)
(defn print [node] (print-node node))
(defn print-optional-block [block... | 357 | (ns middleware.compilation.codegen
(:refer-clojure :exclude [print])
(:require [clojure.string :as str]
[middleware.utils.core :as u]))
; TODO(<NAME>): Concatenating strings seems very inefficient
(defmulti print-node :__class__)
(defn print [node] (print-node node))
(defn print-optional-block [bloc... | true | (ns middleware.compilation.codegen
(:refer-clojure :exclude [print])
(:require [clojure.string :as str]
[middleware.utils.core :as u]))
; TODO(PI:NAME:<NAME>END_PI): Concatenating strings seems very inefficient
(defmulti print-node :__class__)
(defn print [node] (print-node node))
(defn print-option... |
[
{
"context": "einingen.core.main :as lein]\n [robert.hooke :as hooke])\n (:import (com.jcraft.jsch JSch Se",
"end": 306,
"score": 0.44888558983802795,
"start": 304,
"tag": "NAME",
"value": "oo"
},
{
"context": "]\n (if (= key \"IdentityF... | src/lein_git_down/impl/git.clj | Folcon/lein-git-down | 73 | (ns lein-git-down.impl.git
(:refer-clojure :exclude [resolve])
(:require [clojure.java.io :as io]
[clojure.string :as string]
[clojure.tools.gitlibs :as git]
[clojure.tools.gitlibs.impl :as git-impl]
[leiningen.core.main :as lein]
[robert.hooke :as hooke])... | 72725 | (ns lein-git-down.impl.git
(:refer-clojure :exclude [resolve])
(:require [clojure.java.io :as io]
[clojure.string :as string]
[clojure.tools.gitlibs :as git]
[clojure.tools.gitlibs.impl :as git-impl]
[leiningen.core.main :as lein]
[robert.h<NAME>ke :as hoo... | true | (ns lein-git-down.impl.git
(:refer-clojure :exclude [resolve])
(:require [clojure.java.io :as io]
[clojure.string :as string]
[clojure.tools.gitlibs :as git]
[clojure.tools.gitlibs.impl :as git-impl]
[leiningen.core.main :as lein]
[robert.hPI:NAME:<NAME>EN... |
[
{
"context": "; Copyright (c) Rich Hickey. All rights reserved.\n; The use and distributio",
"end": 29,
"score": 0.999869704246521,
"start": 18,
"tag": "NAME",
"value": "Rich Hickey"
},
{
"context": "\"High level nREPL client support.\"\n :author \"Chas Emerick\"}\n clojure... | server/target/clojure/tools/nrepl.clj | OctavioBR/healthcheck | 14 | ; 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 ... | 54643 | ; 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": "k.org\\\"\n :api-key \\\"EDC33DA4D977CFDF7B90545565E07324\\\"\n :app-id \\\"administ",
"end": 750,
"score": 0.9930311441421509,
"start": 716,
"tag": "KEY",
"value": "EDC33DA4D977CFDF7B90545565E07324\\\""
}
] | src/clj_osf/crud/delete.clj | structureddynamics/clj-osf | 4 | (ns clj-osf.crud.delete
"Send a CRUD Delete Query to a OSF Crud Delete web service endpoint
The CRUD: Delete Web service is used to delete an existing instance record indexed
in some target dataset of a WSF. When the instance record gets deleted, all of the
information archived in the dataset is deleted a... | 29459 | (ns clj-osf.crud.delete
"Send a CRUD Delete Query to a OSF Crud Delete web service endpoint
The CRUD: Delete Web service is used to delete an existing instance record indexed
in some target dataset of a WSF. When the instance record gets deleted, all of the
information archived in the dataset is deleted a... | true | (ns clj-osf.crud.delete
"Send a CRUD Delete Query to a OSF Crud Delete web service endpoint
The CRUD: Delete Web service is used to delete an existing instance record indexed
in some target dataset of a WSF. When the instance record gets deleted, all of the
information archived in the dataset is deleted a... |
[
{
"context": "n-his-entity\n (assert-successful-get (get-image \"john@doe.com\")))\n\n(deftest a-user-cannot-view-an-image-in-anot",
"end": 2090,
"score": 0.9999078512191772,
"start": 2078,
"tag": "EMAIL",
"value": "john@doe.com"
},
{
"context": "n-anothers-entity\n (assert-not-fou... | test/clj_money/web/images_test.clj | dgknght/clj-money | 5 | (ns clj-money.web.images-test
(:require [clojure.test :refer [deftest use-fixtures is]]
[ring.mock.request :as req]
[clj-time.core :as t]
[dgknght.app-lib.web :refer [path]]
[clj-money.test-helpers :refer [reset-db]]
[clj-money.test-context :refer [basic-con... | 103852 | (ns clj-money.web.images-test
(:require [clojure.test :refer [deftest use-fixtures is]]
[ring.mock.request :as req]
[clj-time.core :as t]
[dgknght.app-lib.web :refer [path]]
[clj-money.test-helpers :refer [reset-db]]
[clj-money.test-context :refer [basic-con... | true | (ns clj-money.web.images-test
(:require [clojure.test :refer [deftest use-fixtures is]]
[ring.mock.request :as req]
[clj-time.core :as t]
[dgknght.app-lib.web :refer [path]]
[clj-money.test-helpers :refer [reset-db]]
[clj-money.test-context :refer [basic-con... |
[
{
"context": "(ns nastok.config)\n\n(def firebase\n {:apiKey \"AIzaSyBBpI2MQnuNYbfTj-1PQzSDDKS6CJqSj3w\"\n :authDomain \"nastok-3652b.fireba",
"end": 84,
"score": 0.9997581243515015,
"start": 45,
"tag": "KEY",
"value": "AIzaSyBBpI2MQnuNYbfTj-1PQzSDDKS6CJqSj3w"
}
] | src/nastok/config.cljs | jurkotroll/nastok | 0 | (ns nastok.config)
(def firebase
{:apiKey "AIzaSyBBpI2MQnuNYbfTj-1PQzSDDKS6CJqSj3w"
:authDomain "nastok-3652b.firebaseapp.com"
:databaseURL "https://nastok-3652b.firebaseio.com"
:projectId "nastok-3652b"
:storageBucket "nastok-3652b.appspot.com"
... | 18074 | (ns nastok.config)
(def firebase
{:apiKey "<KEY>"
:authDomain "nastok-3652b.firebaseapp.com"
:databaseURL "https://nastok-3652b.firebaseio.com"
:projectId "nastok-3652b"
:storageBucket "nastok-3652b.appspot.com"
:messagingSenderId "172271... | true | (ns nastok.config)
(def firebase
{:apiKey "PI:KEY:<KEY>END_PI"
:authDomain "nastok-3652b.firebaseapp.com"
:databaseURL "https://nastok-3652b.firebaseio.com"
:projectId "nastok-3652b"
:storageBucket "nastok-3652b.appspot.com"
:messagingSen... |
[
{
"context": "rument Onyx workflows\"\n :url \"https://github.com/onyx-platform/onyx-metrics\"\n :license {:name \"Eclipse Public L",
"end": 136,
"score": 0.9880319833755493,
"start": 123,
"tag": "USERNAME",
"value": "onyx-platform"
},
{
"context": "m/onyx \"0.10.0\"]\n ... | data/train/clojure/74466d84d3fe86472f0f7c1b2551c2e3fc7a8a24project.clj | harshp8l/deep-learning-lang-detection | 84 | (defproject org.onyxplatform/onyx-metrics "0.10.0.0"
:description "Instrument Onyx workflows"
:url "https://github.com/onyx-platform/onyx-metrics"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:repositories {"snapshots" {:url "https://clojars.org/repo"
... | 88654 | (defproject org.onyxplatform/onyx-metrics "0.10.0.0"
:description "Instrument Onyx workflows"
:url "https://github.com/onyx-platform/onyx-metrics"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:repositories {"snapshots" {:url "https://clojars.org/repo"
... | true | (defproject org.onyxplatform/onyx-metrics "0.10.0.0"
:description "Instrument Onyx workflows"
:url "https://github.com/onyx-platform/onyx-metrics"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:repositories {"snapshots" {:url "https://clojars.org/repo"
... |
[
{
"context": "ef default-street \"111 Main\")\n(def default-email \"nobody@example.net\")\n\n(defattr person-id :person/id :uuid {::attr/id",
"end": 833,
"score": 0.9997199177742004,
"start": 815,
"tag": "EMAIL",
"value": "nobody@example.net"
},
{
"context": "tart-create uism-env {:i... | src/test/com/fulcrologic/rad/form_spec.cljc | morgancmartin/fulcro-rad | 0 | (ns com.fulcrologic.rad.form-spec
(:require
[clojure.pprint :refer [pprint]]
[clojure.test :refer [use-fixtures]]
[com.fulcrologic.fulcro.algorithms.form-state :as fs]
[com.fulcrologic.fulcro.algorithms.normalized-state :as fns]
[com.fulcrologic.fulcro.algorithms.tempid :as tempid]
[com.fulcro... | 27317 | (ns com.fulcrologic.rad.form-spec
(:require
[clojure.pprint :refer [pprint]]
[clojure.test :refer [use-fixtures]]
[com.fulcrologic.fulcro.algorithms.form-state :as fs]
[com.fulcrologic.fulcro.algorithms.normalized-state :as fns]
[com.fulcrologic.fulcro.algorithms.tempid :as tempid]
[com.fulcro... | true | (ns com.fulcrologic.rad.form-spec
(:require
[clojure.pprint :refer [pprint]]
[clojure.test :refer [use-fixtures]]
[com.fulcrologic.fulcro.algorithms.form-state :as fs]
[com.fulcrologic.fulcro.algorithms.normalized-state :as fns]
[com.fulcrologic.fulcro.algorithms.tempid :as tempid]
[com.fulcro... |
[
{
"context": ";; Copyright 2020, Di Sera Luca\n;; Contacts: disera.luca@gmail.com\n;; ",
"end": 31,
"score": 0.9998770952224731,
"start": 19,
"tag": "NAME",
"value": "Di Sera Luca"
},
{
"context": " Copyright 2020, Di Sera Luca\n;; Contacts: disera.luca@gmail.com\n... | pmal/src/pmal/backend/core.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... | 124015 | ;; 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": "fn create-user\n [session-admin & {:keys [username password email activated?]}]\n (let [validation-link (atom",
"end": 1120,
"score": 0.8276830315589905,
"start": 1112,
"tag": "PASSWORD",
"value": "password"
},
{
"context": "href\n :... | code/test/sixsq/nuvla/server/resources/session/utils_test.clj | nuvla/server | 0 | (ns sixsq.nuvla.server.resources.session.utils-test
(:require
[clojure.data.json :as json]
[clojure.test :refer [deftest is use-fixtures]]
[peridot.core :refer [content-type header request session]]
[postal.core :as postal]
[sixsq.nuvla.server.app.params :as p]
[sixsq.nuvla.server.middleware.a... | 45861 | (ns sixsq.nuvla.server.resources.session.utils-test
(:require
[clojure.data.json :as json]
[clojure.test :refer [deftest is use-fixtures]]
[peridot.core :refer [content-type header request session]]
[postal.core :as postal]
[sixsq.nuvla.server.app.params :as p]
[sixsq.nuvla.server.middleware.a... | true | (ns sixsq.nuvla.server.resources.session.utils-test
(:require
[clojure.data.json :as json]
[clojure.test :refer [deftest is use-fixtures]]
[peridot.core :refer [content-type header request session]]
[postal.core :as postal]
[sixsq.nuvla.server.app.params :as p]
[sixsq.nuvla.server.middleware.a... |
[
{
"context": "hart_user\"\n :password \"anychart_pass\"}})\n\n\n(def prod-config (assoc-in base-config [:we",
"end": 530,
"score": 0.999348521232605,
"start": 517,
"tag": "PASSWORD",
"value": "anychart_pass"
}
] | src/sample/core.clj | anychart-integrations/anychart-clojure-sample | 15 | (ns sample.core
(:require [sample.db.core :as db]
[sample.web.core :as web]
[com.stuartsierra.component :as component])
(:gen-class))
(def base-config {:web {:port 9197
:debug true}
:jdbc {:subprotocol "postgresql"
:subna... | 100525 | (ns sample.core
(:require [sample.db.core :as db]
[sample.web.core :as web]
[com.stuartsierra.component :as component])
(:gen-class))
(def base-config {:web {:port 9197
:debug true}
:jdbc {:subprotocol "postgresql"
:subna... | true | (ns sample.core
(:require [sample.db.core :as db]
[sample.web.core :as web]
[com.stuartsierra.component :as component])
(:gen-class))
(def base-config {:web {:port 9197
:debug true}
:jdbc {:subprotocol "postgresql"
:subna... |
[
{
"context": "! *unchecked-math* :warn-on-boxed)\n(ns ^{:author \"wahpenayo at gmail dot com\" \n :date \"2018-04-16\"\n ",
"end": 96,
"score": 0.700814425945282,
"start": 87,
"tag": "EMAIL",
"value": "wahpenayo"
},
{
"context": "-math* :warn-on-boxed)\n(ns ^{:author \"wahpe... | src/test/clojure/taiga/test/regress/data/defs.clj | wahpenayo/taiga | 4 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "wahpenayo at gmail dot com"
:date "2018-04-16"
:doc "Common definitions for unit tests." }
taiga.test.regress.data.defs
(:require [clojure.java.io :as io]
[clojure.string :as s]
[clo... | 14443 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "<EMAIL> at <EMAIL>"
:date "2018-04-16"
:doc "Common definitions for unit tests." }
taiga.test.regress.data.defs
(:require [clojure.java.io :as io]
[clojure.string :as s]
[clojure.ppr... | true | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "PI:EMAIL:<EMAIL>END_PI at PI:EMAIL:<EMAIL>END_PI"
:date "2018-04-16"
:doc "Common definitions for unit tests." }
taiga.test.regress.data.defs
(:require [clojure.java.io :as io]
[clojure.string :... |
[
{
"context": "x0rz3jtxtEre/giphy.gif\"}]\n [c/h1 \"My name is Uģis\"]\n [:section {:style {:align-self \"flex-sta",
"end": 611,
"score": 0.9994019269943237,
"start": 607,
"tag": "NAME",
"value": "Uģis"
},
{
"context": " 20}}\n [:li\n [:a {:href \"mailto:... | src/ugis_be/core.cljs | BerzinsU/ugis.be | 0 | (ns ugis_be.core
(:require [reagent.core :as reagent]
[re-frame.core :as rf]
[ugis_be.components :as c]))
;; -------------------------
;; Views
(defn home-page []
[:div {:style {:display "flex"
:flex-direction "column"
:align-items "c... | 114326 | (ns ugis_be.core
(:require [reagent.core :as reagent]
[re-frame.core :as rf]
[ugis_be.components :as c]))
;; -------------------------
;; Views
(defn home-page []
[:div {:style {:display "flex"
:flex-direction "column"
:align-items "c... | true | (ns ugis_be.core
(:require [reagent.core :as reagent]
[re-frame.core :as rf]
[ugis_be.components :as c]))
;; -------------------------
;; Views
(defn home-page []
[:div {:style {:display "flex"
:flex-direction "column"
:align-items "c... |
[
{
"context": "ork\"))\n\n(def discuss-fallback \"https://github.com/borkdude/blog/discussions/categories/posts\")\n\n(doseq [{:ke",
"end": 1969,
"score": 0.9988023638725281,
"start": 1961,
"tag": "USERNAME",
"value": "borkdude"
},
{
"context": "ot]\n [::atom/author\n [... | render.clj | fuse-code/blog | 14 | (ns render
(:require
[babashka.fs :as fs]
[clojure.data.xml :as xml]
[clojure.edn :as edn]
[clojure.string :as str]
[hiccup2.core :as hiccup]
[highlighter :as h]
[markdown.core :as md]
[selmer.parser :as selmer]))
(def posts (sort-by :date (comp - compare)
(edn/read-string... | 63362 | (ns render
(:require
[babashka.fs :as fs]
[clojure.data.xml :as xml]
[clojure.edn :as edn]
[clojure.string :as str]
[hiccup2.core :as hiccup]
[highlighter :as h]
[markdown.core :as md]
[selmer.parser :as selmer]))
(def posts (sort-by :date (comp - compare)
(edn/read-string... | true | (ns render
(:require
[babashka.fs :as fs]
[clojure.data.xml :as xml]
[clojure.edn :as edn]
[clojure.string :as str]
[hiccup2.core :as hiccup]
[highlighter :as h]
[markdown.core :as md]
[selmer.parser :as selmer]))
(def posts (sort-by :date (comp - compare)
(edn/read-string... |
[
{
"context": "; Copyright (c) Michael Jerger, Dave Paroulek. All rights reserved.\n; The use an",
"end": 30,
"score": 0.9998461604118347,
"start": 16,
"tag": "NAME",
"value": "Michael Jerger"
},
{
"context": "; Copyright (c) Michael Jerger, Dave Paroulek. All rights reserved.\n; The ... | main/src/dda/pallet/dda_httpd_crate/infra/vhost/vhost.clj | DomainDrivenArchitecture/dda-httpd-crate | 2 | ; Copyright (c) Michael Jerger, Dave Paroulek. 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... | 23599 | ; Copyright (c) <NAME>, <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 fashion... | true | ; Copyright (c) PI:NAME:<NAME>END_PI, 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 ... |
[
{
"context": "url encoded version of that string.\"\n ^{:author \"Chas Emerick\"\n :src \"https://github.com/cemerick/url/blob/m",
"end": 160,
"score": 0.9999006390571594,
"start": 148,
"tag": "NAME",
"value": "Chas Emerick"
}
] | src/chiphat/util.clj | dogonthehorizon/chiphat | 0 | (ns chiphat.util
(:import (java.net URLEncoder)))
(defn url-encode
"Given a string, return a url encoded version of that string."
^{:author "Chas Emerick"
:src "https://github.com/cemerick/url/blob/master/src/cemerick/url.cljx"}
[s]
(some-> s str (URLEncoder/encode "UTF-8") (.replace "+" "%20")))
| 116620 | (ns chiphat.util
(:import (java.net URLEncoder)))
(defn url-encode
"Given a string, return a url encoded version of that string."
^{:author "<NAME>"
:src "https://github.com/cemerick/url/blob/master/src/cemerick/url.cljx"}
[s]
(some-> s str (URLEncoder/encode "UTF-8") (.replace "+" "%20")))
| true | (ns chiphat.util
(:import (java.net URLEncoder)))
(defn url-encode
"Given a string, return a url encoded version of that string."
^{:author "PI:NAME:<NAME>END_PI"
:src "https://github.com/cemerick/url/blob/master/src/cemerick/url.cljx"}
[s]
(some-> s str (URLEncoder/encode "UTF-8") (.replace "+" "%20")))... |
[
{
"context": "amily_name\n :password \"please001!\"\n :password-confirmatio",
"end": 2100,
"score": 0.9993303418159485,
"start": 2091,
"tag": "PASSWORD",
"value": "please001"
},
{
"context": " :password-co... | src/clj/clj_money/models/identities.clj | dgknght/clj-money | 5 | (ns clj-money.models.identities
(:refer-clojure :exclude [find])
(:require [clojure.spec.alpha :as s]
[clojure.set :refer [rename-keys]]
[clojure.tools.logging :as log]
[environ.core :refer [env]]
[stowaway.core :refer [tag]]
[stowaway.implicit :as storage... | 22180 | (ns clj-money.models.identities
(:refer-clojure :exclude [find])
(:require [clojure.spec.alpha :as s]
[clojure.set :refer [rename-keys]]
[clojure.tools.logging :as log]
[environ.core :refer [env]]
[stowaway.core :refer [tag]]
[stowaway.implicit :as storage... | true | (ns clj-money.models.identities
(:refer-clojure :exclude [find])
(:require [clojure.spec.alpha :as s]
[clojure.set :refer [rename-keys]]
[clojure.tools.logging :as log]
[environ.core :refer [env]]
[stowaway.core :refer [tag]]
[stowaway.implicit :as storage... |
[
{
"context": "mir leid\" :back \"I'm sorry\"}\n {:front \"Alles klar\" :back \"Alright\"}}\n :current-deck :starter\n :",
"end": 396,
"score": 0.9848494529724121,
"start": 386,
"tag": "NAME",
"value": "Alles klar"
},
{
"context": "m sorry\"}\n {:front \"Alle... | test/cljs/cardy/utils.cljs | pianostringquartet/cardy | 0 | (ns cardy.utils
(:require [re-frame.core :as re-frame]))
;; An app-db suitable to test Study and Edit panels.
;; Assumes we've successfully logged in and pulled :decks from external db.
(def edit-and-study-test-db
{:cards #{{:front "Deutsch" :back "German"}
{:front "Genau" :back "Exactly"}
... | 25547 | (ns cardy.utils
(:require [re-frame.core :as re-frame]))
;; An app-db suitable to test Study and Edit panels.
;; Assumes we've successfully logged in and pulled :decks from external db.
(def edit-and-study-test-db
{:cards #{{:front "Deutsch" :back "German"}
{:front "Genau" :back "Exactly"}
... | true | (ns cardy.utils
(:require [re-frame.core :as re-frame]))
;; An app-db suitable to test Study and Edit panels.
;; Assumes we've successfully logged in and pulled :decks from external db.
(def edit-and-study-test-db
{:cards #{{:front "Deutsch" :back "German"}
{:front "Genau" :back "Exactly"}
... |
[
{
"context": " (:import (java.util UUID)))\n\n(def public-keys {:LYyP2g \"-----BEGIN PUBLIC KEY-----\\n\n ",
"end": 208,
"score": 0.9437412619590759,
"start": 203,
"tag": "KEY",
"value": "LYyP2"
},
{
"context": "rt (java.util UUID)))\n\n(def public-keys {:LYyP2g \"-... | test/buddy/sign/jwk_cache_tests.clj | insano10/buddy-sign | 0 | (ns buddy.sign.jwk-cache-tests
(:require [clojure.test :refer :all]
[buddy.core.keys :as keys]
[buddy.sign.jwk-cache :as jwk])
(:import (java.util UUID)))
(def public-keys {:LYyP2g "-----BEGIN PUBLIC KEY-----\n
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAESlXFFkJ3JxMsXyXNr... | 42756 | (ns buddy.sign.jwk-cache-tests
(:require [clojure.test :refer :all]
[buddy.core.keys :as keys]
[buddy.sign.jwk-cache :as jwk])
(:import (java.util UUID)))
(def public-keys {:<KEY>g "<KEY>-----BEGIN PUBLIC KEY-----\<KEY>
<KEY>
-----END PU... | true | (ns buddy.sign.jwk-cache-tests
(:require [clojure.test :refer :all]
[buddy.core.keys :as keys]
[buddy.sign.jwk-cache :as jwk])
(:import (java.util UUID)))
(def public-keys {:PI:KEY:<KEY>END_PIg "PI:KEY:<KEY>END_PI-----BEGIN PUBLIC KEY-----\PI:KEY:<KEY>END_PI
PI:KE... |
[
{
"context": "iopianOrthodoxHolidayType)))))\n\n\n;; Copyright 2018 Frederic Merizen\n;;\n;; Licensed under the Apache License, Version ",
"end": 14308,
"score": 0.9998756647109985,
"start": 14292,
"tag": "NAME",
"value": "Frederic Merizen"
}
] | src/ferje/config/core.clj | chourave/clojyday | 0 | ;; Copyright and license information at end of file
(ns ferje.config.core
"Represent Jollyday configuration beans as clojure maps"
(:require
[clojure.spec.alpha :as s]
[clojure.string :as string]
[ferje.util :as util])
(:import
(de.jollyday.config
ChristianHoliday ChristianHolidayType Chronology... | 29975 | ;; Copyright and license information at end of file
(ns ferje.config.core
"Represent Jollyday configuration beans as clojure maps"
(:require
[clojure.spec.alpha :as s]
[clojure.string :as string]
[ferje.util :as util])
(:import
(de.jollyday.config
ChristianHoliday ChristianHolidayType Chronology... | true | ;; Copyright and license information at end of file
(ns ferje.config.core
"Represent Jollyday configuration beans as clojure maps"
(:require
[clojure.spec.alpha :as s]
[clojure.string :as string]
[ferje.util :as util])
(:import
(de.jollyday.config
ChristianHoliday ChristianHolidayType Chronology... |
[
{
"context": "sion-template/internal\"\n :username username\n :password password}\n {:",
"end": 761,
"score": 0.978154182434082,
"start": 753,
"tag": "USERNAME",
"value": "username"
},
{
"context": " :username username\n :p... | cimi-tools/src/com/sixsq/slipstream/tools/cli/utils.clj | slipstream/SlipStreamServer | 6 | (ns com.sixsq.slipstream.tools.cli.utils
(:require
[clj-http.client :as http]
[clojure.edn :as edn]
[clojure.string :as str]
[com.sixsq.slipstream.db.serializers.service-config-util :as scu]
[sixsq.slipstream.client.api.authn :as authn]
[sixsq.slipstream.client.api.cimi :as cimi]
[sixsq.sl... | 72453 | (ns com.sixsq.slipstream.tools.cli.utils
(:require
[clj-http.client :as http]
[clojure.edn :as edn]
[clojure.string :as str]
[com.sixsq.slipstream.db.serializers.service-config-util :as scu]
[sixsq.slipstream.client.api.authn :as authn]
[sixsq.slipstream.client.api.cimi :as cimi]
[sixsq.sl... | true | (ns com.sixsq.slipstream.tools.cli.utils
(:require
[clj-http.client :as http]
[clojure.edn :as edn]
[clojure.string :as str]
[com.sixsq.slipstream.db.serializers.service-config-util :as scu]
[sixsq.slipstream.client.api.authn :as authn]
[sixsq.slipstream.client.api.cimi :as cimi]
[sixsq.sl... |
[
{
"context": " 123\n :senderUsername \"senderUsername\"\n :senderPassword \"sen",
"end": 525,
"score": 0.9995288848876953,
"start": 511,
"tag": "USERNAME",
"value": "senderUsername"
},
{
"context": "ame\"\n ... | test/mofficer/domain/business/email_business_test.clj | granpanda/mofficer | 1 | (ns mofficer.domain.business.email-business-test
(:use [midje.sweet])
(:require [mofficer.domain.business.user-config-business :as user-config-business]
[mofficer.domain.business.email-business :as email-business]
[mofficer.infrastructure.datastructures.either])
(:import [mofficer.infrastr... | 42828 | (ns mofficer.domain.business.email-business-test
(:use [midje.sweet])
(:require [mofficer.domain.business.user-config-business :as user-config-business]
[mofficer.domain.business.email-business :as email-business]
[mofficer.infrastructure.datastructures.either])
(:import [mofficer.infrastr... | true | (ns mofficer.domain.business.email-business-test
(:use [midje.sweet])
(:require [mofficer.domain.business.user-config-business :as user-config-business]
[mofficer.domain.business.email-business :as email-business]
[mofficer.infrastructure.datastructures.either])
(:import [mofficer.infrastr... |
[
{
"context": "ogin \"login\")\n (is LoginService.user.password \"secret\")))\n\n[[:section {:title \"filters\" :tag \"filters\"}",
"end": 2180,
"score": 0.9994540810585022,
"start": 2174,
"tag": "PASSWORD",
"value": "secret"
}
] | test/cljs/midje_doc/api/test_gyr.cljs | zcaudate-me/gyr | 1 | (ns midje-doc.api.test-gyr
(:require [purnam.test]
[purnam.native]
[midje-doc.api.gyr :as test-app])
(:use-macros [purnam.core :only [f.n def.n obj arr]]
[purnam.test :only [describe is it]]
[gyr.core :only [def.module def.controller def.service]]
... | 71353 | (ns midje-doc.api.test-gyr
(:require [purnam.test]
[purnam.native]
[midje-doc.api.gyr :as test-app])
(:use-macros [purnam.core :only [f.n def.n obj arr]]
[purnam.test :only [describe is it]]
[gyr.core :only [def.module def.controller def.service]]
... | true | (ns midje-doc.api.test-gyr
(:require [purnam.test]
[purnam.native]
[midje-doc.api.gyr :as test-app])
(:use-macros [purnam.core :only [f.n def.n obj arr]]
[purnam.test :only [describe is it]]
[gyr.core :only [def.module def.controller def.service]]
... |
[
{
"context": "-------------------\n;; File util.clj\n;; Written by Chris Frisz\n;; \n;; Created 26 Apr 2012\n;; Last modified 20 Oc",
"end": 115,
"score": 0.9998233914375305,
"start": 104,
"tag": "NAME",
"value": "Chris Frisz"
}
] | src/ctco/util.clj | cjfrisz/clojure-tco | 64 | ;;----------------------------------------------------------------------
;; File util.clj
;; Written by Chris Frisz
;;
;; Created 26 Apr 2012
;; Last modified 20 Oct 2012
;;
;; Defines miscellaneous utility functions for use in CTCO. These
;; include:
;; new-var
;; simple-op?
;; serious?
;; trivia... | 102229 | ;;----------------------------------------------------------------------
;; File util.clj
;; Written by <NAME>
;;
;; Created 26 Apr 2012
;; Last modified 20 Oct 2012
;;
;; Defines miscellaneous utility functions for use in CTCO. These
;; include:
;; new-var
;; simple-op?
;; serious?
;; trivial?
;;... | true | ;;----------------------------------------------------------------------
;; File util.clj
;; Written by PI:NAME:<NAME>END_PI
;;
;; Created 26 Apr 2012
;; Last modified 20 Oct 2012
;;
;; Defines miscellaneous utility functions for use in CTCO. These
;; include:
;; new-var
;; simple-op?
;; serious?
;; ... |
[
{
"context": "-url (ev \"CALDAV_URL\"))\n(def caldav-username (ev \"CALDAV_USERNAME\"))\n(def caldav-password (ev \"CALDAV_PASSWORD\"))\n(",
"end": 320,
"score": 0.9901763796806335,
"start": 305,
"tag": "USERNAME",
"value": "CALDAV_USERNAME"
},
{
"context": "(ev \"CALDAV_USERNAME\"))... | src/clojure/caltrack/config.clj | mariogemoll/caltrack | 0 | (ns caltrack.config)
(defn ev [name]
"Returns the environment variable CALTRACK_name or throws an exception."
(or (System/getenv (str "CALTRACK_" name))
(throw (Exception. (str "Environment variable CALTRACK_" name " not set.")))))
(def caldav-url (ev "CALDAV_URL"))
(def caldav-username (ev "CALDAV_USERNAME... | 106478 | (ns caltrack.config)
(defn ev [name]
"Returns the environment variable CALTRACK_name or throws an exception."
(or (System/getenv (str "CALTRACK_" name))
(throw (Exception. (str "Environment variable CALTRACK_" name " not set.")))))
(def caldav-url (ev "CALDAV_URL"))
(def caldav-username (ev "CALDAV_USERNAME... | true | (ns caltrack.config)
(defn ev [name]
"Returns the environment variable CALTRACK_name or throws an exception."
(or (System/getenv (str "CALTRACK_" name))
(throw (Exception. (str "Environment variable CALTRACK_" name " not set.")))))
(def caldav-url (ev "CALDAV_URL"))
(def caldav-username (ev "CALDAV_USERNAME... |
[
{
"context": "ter.\n;;;\n;;; Copyright (c) 2015, 2016, 2017, 2020 Pavel Tisnovsky, Red Hat\n;;; All rights reserved.\n;;;\n;;; Redistr",
"end": 133,
"score": 0.9987906813621521,
"start": 118,
"tag": "NAME",
"value": "Pavel Tisnovsky"
},
{
"context": "ULAR PURPOSE ARE\n;;; DISCLAIMED... | test/cloverage_jenkins_reporter/jenkins_api_test.clj | tisnik/cloverage-jenkins-reporter | 0 | ;;;
;;; Statistic about code coverage measured by Cloverage reporter.
;;;
;;; Copyright (c) 2015, 2016, 2017, 2020 Pavel Tisnovsky, Red Hat
;;; All rights reserved.
;;;
;;; Redistribution and use in source and binary forms, with or without
;;; modification, are permitted provided that the following conditions are me... | 108185 | ;;;
;;; Statistic about code coverage measured by Cloverage reporter.
;;;
;;; Copyright (c) 2015, 2016, 2017, 2020 <NAME>, Red Hat
;;; All rights reserved.
;;;
;;; Redistribution and use in source and binary forms, with or without
;;; modification, are permitted provided that the following conditions are met:
;;; ... | true | ;;;
;;; Statistic about code coverage measured by Cloverage reporter.
;;;
;;; Copyright (c) 2015, 2016, 2017, 2020 PI:NAME:<NAME>END_PI, Red Hat
;;; All rights reserved.
;;;
;;; Redistribution and use in source and binary forms, with or without
;;; modification, are permitted provided that the following conditions a... |
[
{
"context": "re.tools.logging :as log]))\n\n(def bot-name \"Planet Express\")\n(def bot-color \"blue\")\n(def players [{:number 1",
"end": 240,
"score": 0.835563600063324,
"start": 233,
"tag": "USERNAME",
"value": "Express"
},
{
"context": "bot-color \"blue\")\n(def players [{:numbe... | src/codecamp2015/bot.clj | jkytomak/clojure-bot | 0 | (ns codecamp2015.bot
(:require [aleph.udp :as udp]
[cheshire.core :as json]
[manifold.stream :as s]
[manifold.deferred :as d]
[clojure.tools.logging :as log]))
(def bot-name "Planet Express")
(def bot-color "blue")
(def players [{:number 1 :name "Fry"}
{:... | 16064 | (ns codecamp2015.bot
(:require [aleph.udp :as udp]
[cheshire.core :as json]
[manifold.stream :as s]
[manifold.deferred :as d]
[clojure.tools.logging :as log]))
(def bot-name "Planet Express")
(def bot-color "blue")
(def players [{:number 1 :name "<NAME>"}
... | true | (ns codecamp2015.bot
(:require [aleph.udp :as udp]
[cheshire.core :as json]
[manifold.stream :as s]
[manifold.deferred :as d]
[clojure.tools.logging :as log]))
(def bot-name "Planet Express")
(def bot-color "blue")
(def players [{:number 1 :name "PI:NAME:<NAME>END_PI"}... |
[
{
"context": "user-id\n :name \"user\"\n :email \"user@",
"end": 2360,
"score": 0.9989675879478455,
"start": 2356,
"tag": "USERNAME",
"value": "user"
},
{
"context": "\"user\"\n :ema... | test/clj/rems/application/test_commands.clj | MalinAhlberg/rems | 0 | (ns rems.application.test-commands
(:require [clojure.test :refer :all]
[rems.application.commands :as commands]
[rems.application.events :as events]
[rems.application.model :as model]
[rems.form-validation :as form-validation]
[rems.permissions :as permissi... | 27493 | (ns rems.application.test-commands
(:require [clojure.test :refer :all]
[rems.application.commands :as commands]
[rems.application.events :as events]
[rems.application.model :as model]
[rems.form-validation :as form-validation]
[rems.permissions :as permissi... | true | (ns rems.application.test-commands
(:require [clojure.test :refer :all]
[rems.application.commands :as commands]
[rems.application.events :as events]
[rems.application.model :as model]
[rems.form-validation :as form-validation]
[rems.permissions :as permissi... |
[
{
"context": ";; Copyright (c) 2015-2018 Andrey Antukh <niwi@niwi.nz>\n;; All rights reserved.\n;;\n;; Redi",
"end": 40,
"score": 0.9998840093612671,
"start": 27,
"tag": "NAME",
"value": "Andrey Antukh"
},
{
"context": ";; Copyright (c) 2015-2018 Andrey Antukh <niwi@niwi.nz>\n;; All ... | src/octet/util.cljc | digital-dj-tools/octet | 88 | ;; Copyright (c) 2015-2018 Andrey Antukh <niwi@niwi.nz>
;; All rights reserved.
;;
;; 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
;; ... | 7003 | ;; Copyright (c) 2015-2018 <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:
;;
;; * Redistributions of source code must retain the above copyright notice, this
;; list of con... | true | ;; Copyright (c) 2015-2018 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 met:
;;
;; * Redistributions of source code must retain the above copyright ... |
[
{
"context": "; Copyright (c) 2010-2021 Haifeng Li. All rights reserved.\n;\n; Smile is free softwar",
"end": 38,
"score": 0.9998396635055542,
"start": 28,
"tag": "NAME",
"value": "Haifeng Li"
},
{
"context": "onflicts with smile.classifictation.\"\n {:author \"Haifeng Li\"}\n ... | clojure/src/smile/ai.clj | takanori-ugai/smile | 0 | ; Copyright (c) 2010-2021 Haifeng Li. All rights reserved.
;
; Smile is free software: you can redistribute it and/or modify
; it under the terms of the GNU General Public License as published by
; the Free Software Foundation, either version 3 of the License, or
; (at your option) any later version.
;
; Sm... | 87195 | ; Copyright (c) 2010-2021 <NAME>. All rights reserved.
;
; Smile is free software: you can redistribute it and/or modify
; it under the terms of the GNU General Public License as published by
; the Free Software Foundation, either version 3 of the License, or
; (at your option) any later version.
;
; Smile ... | true | ; Copyright (c) 2010-2021 PI:NAME:<NAME>END_PI. All rights reserved.
;
; Smile is free software: you can redistribute it and/or modify
; it under the terms of the GNU General Public License as published by
; the Free Software Foundation, either version 3 of the License, or
; (at your option) any later version... |
[
{
"context": ";\n; Copyright 2019 Peter Monks\n;\n; Licensed under the Apache License, Version 2.",
"end": 30,
"score": 0.9996774792671204,
"start": 19,
"tag": "NAME",
"value": "Peter Monks"
},
{
"context": "aders (merge {\"User-Agent\" \"com.github.pmonks/clojars-dependenc... | src/clojars_dependencies/core.clj | pmonks/clojars-dependencies | 0 | ;
; Copyright 2019 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 writing... | 122159 | ;
; Copyright 2019 <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, sof... | true | ;
; Copyright 2019 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 i... |
[
{
"context": "cher-fn]\n (let [p (promise)\n key (uuid)]\n (on-sync-event path\n ",
"end": 5194,
"score": 0.49563828110694885,
"start": 5190,
"tag": "KEY",
"value": "uuid"
}
] | src/overtone/sc/machinery/server/comms.clj | ABaldwinHunter/overtone | 1 | (ns overtone.sc.machinery.server.comms
(:use [overtone.sc.machinery.server osc-validator]
[overtone.libs event counters]
[overtone.helpers.lib :only [uuid deref!]])
(:require [overtone.config.log :as log]))
(defonce osc-debug* (atom false))
(defonce server-osc-peer* (ref nil))
;; The base h... | 28423 | (ns overtone.sc.machinery.server.comms
(:use [overtone.sc.machinery.server osc-validator]
[overtone.libs event counters]
[overtone.helpers.lib :only [uuid deref!]])
(:require [overtone.config.log :as log]))
(defonce osc-debug* (atom false))
(defonce server-osc-peer* (ref nil))
;; The base h... | true | (ns overtone.sc.machinery.server.comms
(:use [overtone.sc.machinery.server osc-validator]
[overtone.libs event counters]
[overtone.helpers.lib :only [uuid deref!]])
(:require [overtone.config.log :as log]))
(defonce osc-debug* (atom false))
(defonce server-osc-peer* (ref nil))
;; The base h... |
[
{
"context": "maire\"\n [(= __\n (group-by :id [{:id 1 :name \"Bob\"}\n {:id 2 :name \"Mike\"}\n ",
"end": 584,
"score": 0.9997190237045288,
"start": 581,
"tag": "NAME",
"value": "Bob"
},
{
"context": " 1 :name \"Bob\"}\n {:id 2 :name \... | src/clj/exercices/21_group_by.clj | univalence/introclojure | 0 | (defn get-odds-and-evens [coll]
(let [{odds true evens false} (group-by __ coll)]
[odds evens]))
(exercice
"Pour classer une collection par une fonction, utilisez group-by."
[(= __ (group-by count ["hello" "world" "foo" "bar"]))] odd?)
(exercice
"Vous pouvez simuler filtre + retirer en une seule passe... | 57686 | (defn get-odds-and-evens [coll]
(let [{odds true evens false} (group-by __ coll)]
[odds evens]))
(exercice
"Pour classer une collection par une fonction, utilisez group-by."
[(= __ (group-by count ["hello" "world" "foo" "bar"]))] odd?)
(exercice
"Vous pouvez simuler filtre + retirer en une seule passe... | true | (defn get-odds-and-evens [coll]
(let [{odds true evens false} (group-by __ coll)]
[odds evens]))
(exercice
"Pour classer une collection par une fonction, utilisez group-by."
[(= __ (group-by count ["hello" "world" "foo" "bar"]))] odd?)
(exercice
"Vous pouvez simuler filtre + retirer en une seule passe... |
[
{
"context": "\n\n; *update-in* function\n(def by-author\n {:name \"Jane Austen\"\n :book {:title \"Emma\" :copies 1000}})\n\n; (upda",
"end": 473,
"score": 0.9998703002929688,
"start": 462,
"tag": "NAME",
"value": "Jane Austen"
},
{
"context": "author\n {:name \"Jane Austen\"\n ... | cljlrn/src/learn/collections.clj | lenkite/learn | 0 | (ns learn.collections)
; Various map functions
; *update* function
; updates a value in map, takes m(map, k(key) and f(function) as arguments followed by optional args)
; f is a function that will take in old value and args and return the new value.
; update will return a new map
(def book {:title "Emma" :copies 100... | 121669 | (ns learn.collections)
; Various map functions
; *update* function
; updates a value in map, takes m(map, k(key) and f(function) as arguments followed by optional args)
; f is a function that will take in old value and args and return the new value.
; update will return a new map
(def book {:title "Emma" :copies 100... | true | (ns learn.collections)
; Various map functions
; *update* function
; updates a value in map, takes m(map, k(key) and f(function) as arguments followed by optional args)
; f is a function that will take in old value and args and return the new value.
; update will return a new map
(def book {:title "Emma" :copies 100... |
[
{
"context": "t/name name\n :password/hashed-value password\n :password/salt password_salt\n ",
"end": 3578,
"score": 0.943924069404602,
"start": 3570,
"tag": "PASSWORD",
"value": "password"
}
] | src/sql/com/example/components/database_queries.clj | somanythings/fulcro-rad-demo | 60 | (ns com.example.components.database-queries
(:require
[com.fulcrologic.rad.database-adapters.sql :as sql]
[com.fulcrologic.rad.database-adapters.sql.query :as query]
[next.jdbc.sql :as jdbc]
[taoensso.timbre :as log]))
(defn add-namespace [nspc k] (keyword nspc (name k)))
(defn get-all-accounts
[e... | 87571 | (ns com.example.components.database-queries
(:require
[com.fulcrologic.rad.database-adapters.sql :as sql]
[com.fulcrologic.rad.database-adapters.sql.query :as query]
[next.jdbc.sql :as jdbc]
[taoensso.timbre :as log]))
(defn add-namespace [nspc k] (keyword nspc (name k)))
(defn get-all-accounts
[e... | true | (ns com.example.components.database-queries
(:require
[com.fulcrologic.rad.database-adapters.sql :as sql]
[com.fulcrologic.rad.database-adapters.sql.query :as query]
[next.jdbc.sql :as jdbc]
[taoensso.timbre :as log]))
(defn add-namespace [nspc k] (keyword nspc (name k)))
(defn get-all-accounts
[e... |
[
{
"context": "nd! conn {:from from\n :to \"alice@example.com\"\n :subject \"hello\"\n ",
"end": 1027,
"score": 0.999858021736145,
"start": 1010,
"tag": "EMAIL",
"value": "alice@example.com"
},
{
"context": "= [\"hello\"] (:subject h... | integration/test/tarayo/integration/send_test.clj | toyokumo/tarayo | 34 | (ns tarayo.integration.send-test
(:require
[camel-snake-kebab.core :as csk]
[clojure.data.json :as json]
[clojure.java.io :as io]
[clojure.string :as str]
[clojure.test :as t]
[org.httpkit.client :as http]
[tarayo.core :as core]
[tarayo.test-helper :as h])
(:import
java.util.Calendar))
(... | 117370 | (ns tarayo.integration.send-test
(:require
[camel-snake-kebab.core :as csk]
[clojure.data.json :as json]
[clojure.java.io :as io]
[clojure.string :as str]
[clojure.test :as t]
[org.httpkit.client :as http]
[tarayo.core :as core]
[tarayo.test-helper :as h])
(:import
java.util.Calendar))
(... | true | (ns tarayo.integration.send-test
(:require
[camel-snake-kebab.core :as csk]
[clojure.data.json :as json]
[clojure.java.io :as io]
[clojure.string :as str]
[clojure.test :as t]
[org.httpkit.client :as http]
[tarayo.core :as core]
[tarayo.test-helper :as h])
(:import
java.util.Calendar))
(... |
[
{
"context": "(ns ^{:author \"Tunde Ashafa\"}\n test-clutch\n (:require (com.ashafa.clutch\n ",
"end": 27,
"score": 0.9998500943183899,
"start": 15,
"tag": "NAME",
"value": "Tunde Ashafa"
},
{
"context": " (assoc (utils/url \"localhost\")\n; :username \"username\"\n; :pas... | test/test_clutch.clj | jalpedersen/clutch | 0 | (ns ^{:author "Tunde Ashafa"}
test-clutch
(:require (com.ashafa.clutch
[http-client :as http-client]
[utils :as utils])
[clojure.string :as str]
[clojure.java.io :as io])
(:use com.ashafa.clutch
[cemerick.url :only (url)]
[slingshot.slingshot :on... | 6415 | (ns ^{:author "<NAME>"}
test-clutch
(:require (com.ashafa.clutch
[http-client :as http-client]
[utils :as utils])
[clojure.string :as str]
[clojure.java.io :as io])
(:use com.ashafa.clutch
[cemerick.url :only (url)]
[slingshot.slingshot :only (th... | true | (ns ^{:author "PI:NAME:<NAME>END_PI"}
test-clutch
(:require (com.ashafa.clutch
[http-client :as http-client]
[utils :as utils])
[clojure.string :as str]
[clojure.java.io :as io])
(:use com.ashafa.clutch
[cemerick.url :only (url)]
[slingshot.sling... |
[
{
"context": "c 22 :period \"1\"\n :scorer {:player \"Connor McDavid\" :season-total 11}\n :assists [{:pla",
"end": 6909,
"score": 0.9998857378959656,
"start": 6895,
"tag": "NAME",
"value": "Connor McDavid"
},
{
"context": "ason-total 11}\n :... | test/nhl_score_api/fetchers/nhlstats/game_scores_test.clj | peruukki/nhl-score-api | 44 | (ns nhl-score-api.fetchers.nhlstats.game-scores-test
(:require [clojure.test :refer :all]
[nhl-score-api.fetchers.nhlstats.game-scores :refer :all]
[nhl-score-api.fetchers.nhlstats.transformer :refer [get-latest-games]]
[nhl-score-api.fetchers.nhlstats.resources :as resources]
... | 11535 | (ns nhl-score-api.fetchers.nhlstats.game-scores-test
(:require [clojure.test :refer :all]
[nhl-score-api.fetchers.nhlstats.game-scores :refer :all]
[nhl-score-api.fetchers.nhlstats.transformer :refer [get-latest-games]]
[nhl-score-api.fetchers.nhlstats.resources :as resources]
... | true | (ns nhl-score-api.fetchers.nhlstats.game-scores-test
(:require [clojure.test :refer :all]
[nhl-score-api.fetchers.nhlstats.game-scores :refer :all]
[nhl-score-api.fetchers.nhlstats.transformer :refer [get-latest-games]]
[nhl-score-api.fetchers.nhlstats.resources :as resources]
... |
[
{
"context": " :b true})))\n (is (= [(key/parse \"807B00810102C8\")\n {:z :foo}]\n (record/encod",
"end": 1938,
"score": 0.9874712228775024,
"start": 1924,
"tag": "KEY",
"value": "807B00810102C8"
},
{
"context": "icoder\n nil\n ... | lib/core/test/merkle_db/record_test.clj | greglook/merkle-db | 47 | (ns merkle-db.record-test
(:require
[clojure.spec.alpha :as s]
[clojure.test :refer :all]
[merkle-db.key :as key]
[merkle-db.record :as record]
[merkle-db.test-utils]))
(deftest record-specs
(testing "id fields"
(is (invalid? ::record/id-field nil))
(is (invalid? ::record/id-field #{:a... | 29511 | (ns merkle-db.record-test
(:require
[clojure.spec.alpha :as s]
[clojure.test :refer :all]
[merkle-db.key :as key]
[merkle-db.record :as record]
[merkle-db.test-utils]))
(deftest record-specs
(testing "id fields"
(is (invalid? ::record/id-field nil))
(is (invalid? ::record/id-field #{:a... | true | (ns merkle-db.record-test
(:require
[clojure.spec.alpha :as s]
[clojure.test :refer :all]
[merkle-db.key :as key]
[merkle-db.record :as record]
[merkle-db.test-utils]))
(deftest record-specs
(testing "id fields"
(is (invalid? ::record/id-field nil))
(is (invalid? ::record/id-field #{:a... |
[
{
"context": "et of attributes\"\n [username {:userid \"developer@uu.id\"\n :email \"developer@example",
"end": 2898,
"score": 0.9998936653137207,
"start": 2883,
"tag": "EMAIL",
"value": "developer@uu.id"
},
{
"context": " \"developer@uu.id\"\n ... | src/cljs/rems/user.cljs | ossilva/rems | 31 | (ns rems.user
(:require [clojure.string :as str]
[re-frame.core :as rf]
[rems.atoms :refer [info-field readonly-checkbox]]
[rems.common.application-util :refer [get-member-name]]
[rems.common.util :refer [index-by]]
[rems.guide-util :refer [component-info ex... | 122291 | (ns rems.user
(:require [clojure.string :as str]
[re-frame.core :as rf]
[rems.atoms :refer [info-field readonly-checkbox]]
[rems.common.application-util :refer [get-member-name]]
[rems.common.util :refer [index-by]]
[rems.guide-util :refer [component-info ex... | true | (ns rems.user
(:require [clojure.string :as str]
[re-frame.core :as rf]
[rems.atoms :refer [info-field readonly-checkbox]]
[rems.common.application-util :refer [get-member-name]]
[rems.common.util :refer [index-by]]
[rems.guide-util :refer [component-info ex... |
[
{
"context": ".\n [#\"(?i)morgens|(in der )?früh|vor ?mittags?|am morgen\"]\n (assoc (interval (hour 3 false) (hour 12",
"end": 11787,
"score": 0.5886578559875488,
"start": 11786,
"tag": "NAME",
"value": "m"
}
] | resources/languages/de/rules/time.clj | irvingflores/duckling | 0 | (
;; generic
"intersect"
[(dim :time #(not (:latent %))) (dim :time #(not (:latent %)))] ; sequence of two tokens with a time dimension
(intersect %1 %2)
; same thing, with "of" in between like "Sunday of last week"
"intersect by 'of', 'from', 's"
[(dim :time #(not (:latent %))) #"(?i)von|der|im" (dim :... | 122786 | (
;; generic
"intersect"
[(dim :time #(not (:latent %))) (dim :time #(not (:latent %)))] ; sequence of two tokens with a time dimension
(intersect %1 %2)
; same thing, with "of" in between like "Sunday of last week"
"intersect by 'of', 'from', 's"
[(dim :time #(not (:latent %))) #"(?i)von|der|im" (dim :... | true | (
;; generic
"intersect"
[(dim :time #(not (:latent %))) (dim :time #(not (:latent %)))] ; sequence of two tokens with a time dimension
(intersect %1 %2)
; same thing, with "of" in between like "Sunday of last week"
"intersect by 'of', 'from', 's"
[(dim :time #(not (:latent %))) #"(?i)von|der|im" (dim :... |
[
{
"context": ";;;;;;;;;;;;;;;;;;;\n\n(def linen-data {:ugen-name \"Linen\"\n :rates [:kr]\n :",
"end": 16734,
"score": 0.9003832340240479,
"start": 16729,
"tag": "NAME",
"value": "Linen"
}
] | src/synchrotron/ugens.cljs | brianfay/synchrotron | 0 | (ns synchrotron.ugens
(:require [synchrotron.ugen :as ugen :refer [abstract-ugen]]))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Binary Ops
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(def binary-op-ugen-data {:ugen-name "BinaryOpUGen"
:rates [:ar :kr :demand :ir]
:i... | 113701 | (ns synchrotron.ugens
(:require [synchrotron.ugen :as ugen :refer [abstract-ugen]]))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Binary Ops
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(def binary-op-ugen-data {:ugen-name "BinaryOpUGen"
:rates [:ar :kr :demand :ir]
:i... | true | (ns synchrotron.ugens
(:require [synchrotron.ugen :as ugen :refer [abstract-ugen]]))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Binary Ops
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(def binary-op-ugen-data {:ugen-name "BinaryOpUGen"
:rates [:ar :kr :demand :ir]
:i... |
[
{
"context": ";; Copyright © 2015-2019 Esko Luontola\n;; This software is released under the Apache Lic",
"end": 38,
"score": 0.9998834729194641,
"start": 25,
"tag": "NAME",
"value": "Esko Luontola"
}
] | test/territory_bro/region_test.clj | JessRoberts/territory_assistant | 0 | ;; Copyright © 2015-2019 Esko Luontola
;; This software is released under the Apache License 2.0.
;; The license text is at http://www.apache.org/licenses/LICENSE-2.0
(ns territory-bro.region-test
(:require [clojure.java.jdbc :as jdbc]
[clojure.test :refer :all]
[territory-bro.congregation :a... | 41734 | ;; Copyright © 2015-2019 <NAME>
;; This software is released under the Apache License 2.0.
;; The license text is at http://www.apache.org/licenses/LICENSE-2.0
(ns territory-bro.region-test
(:require [clojure.java.jdbc :as jdbc]
[clojure.test :refer :all]
[territory-bro.congregation :as congr... | true | ;; Copyright © 2015-2019 PI:NAME:<NAME>END_PI
;; This software is released under the Apache License 2.0.
;; The license text is at http://www.apache.org/licenses/LICENSE-2.0
(ns territory-bro.region-test
(:require [clojure.java.jdbc :as jdbc]
[clojure.test :refer :all]
[territory-bro.congrega... |
[
{
"context": " :else [ScriptLoader\n {:key \"igv\"\n :on-error #(swap! state assoc",
"end": 2497,
"score": 0.6432588696479797,
"start": 2494,
"tag": "KEY",
"value": "igv"
}
] | src/cljs/main/broadfcui/page/workspace/analysis/igv.cljs | ssyms/firecloud-ui | 26 | (ns broadfcui.page.workspace.analysis.igv
(:require
[dmohs.react :as react]
[clojure.string :as string]
[broadfcui.common :as common]
[broadfcui.common.style :as style]
[broadfcui.components.script-loader :refer [ScriptLoader]]
[broadfcui.endpoints :as endpoints]
[broadfcui.utils :as utils]
[b... | 30164 | (ns broadfcui.page.workspace.analysis.igv
(:require
[dmohs.react :as react]
[clojure.string :as string]
[broadfcui.common :as common]
[broadfcui.common.style :as style]
[broadfcui.components.script-loader :refer [ScriptLoader]]
[broadfcui.endpoints :as endpoints]
[broadfcui.utils :as utils]
[b... | true | (ns broadfcui.page.workspace.analysis.igv
(:require
[dmohs.react :as react]
[clojure.string :as string]
[broadfcui.common :as common]
[broadfcui.common.style :as style]
[broadfcui.components.script-loader :refer [ScriptLoader]]
[broadfcui.endpoints :as endpoints]
[broadfcui.utils :as utils]
[b... |
[
{
"context": ";; Copyright 2014-2020 King\n;; Copyright 2009-2014 Ragnar Svensson, Christian Murray\n;; Licensed under the Defold Li",
"end": 111,
"score": 0.999812662601471,
"start": 96,
"tag": "NAME",
"value": "Ragnar Svensson"
},
{
"context": "-2020 King\n;; Copyright 2009-2014 Ra... | editor/test/editor/gl/vertex2_test.clj | cmarincia/defold | 0 | ;; Copyright 2020-2022 The Defold Foundation
;; Copyright 2014-2020 King
;; Copyright 2009-2014 Ragnar Svensson, Christian Murray
;; Licensed under the Defold License version 1.0 (the "License"); you may not use
;; this file except in compliance with the License.
;;
;; You may obtain a copy of the License, together wi... | 33129 | ;; Copyright 2020-2022 The Defold Foundation
;; Copyright 2014-2020 King
;; Copyright 2009-2014 <NAME>, <NAME>
;; Licensed under the Defold License version 1.0 (the "License"); you may not use
;; this file except in compliance with the License.
;;
;; You may obtain a copy of the License, together with FAQs at
;; https... | true | ;; Copyright 2020-2022 The Defold Foundation
;; Copyright 2014-2020 King
;; Copyright 2009-2014 PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI
;; Licensed under the Defold License version 1.0 (the "License"); you may not use
;; this file except in compliance with the License.
;;
;; You may obtain a copy of the License, to... |
[
{
"context": "inds the invoice for the given id\"\n (let [key \"foo/bar.pdf\"\n {id :id} (inv/create {:storage-key key",
"end": 1303,
"score": 0.9589325785636902,
"start": 1292,
"tag": "KEY",
"value": "foo/bar.pdf"
},
{
"context": " after the attachment is uploaded\"\n ... | test/kulu_backend/invoices/model_test.clj | vkrmis/kulu-backend | 3 | (ns kulu-backend.invoices.model-test
(:require [clojure.test :refer :all]
[conjure.core :refer :all]
[kulu-backend.db :as db]
[kulu-backend.invoices.messaging :as inv-msg]
[kulu-backend.invoices.model :as inv]
[kulu-backend.organizations.model :as org]
... | 40737 | (ns kulu-backend.invoices.model-test
(:require [clojure.test :refer :all]
[conjure.core :refer :all]
[kulu-backend.db :as db]
[kulu-backend.invoices.messaging :as inv-msg]
[kulu-backend.invoices.model :as inv]
[kulu-backend.organizations.model :as org]
... | true | (ns kulu-backend.invoices.model-test
(:require [clojure.test :refer :all]
[conjure.core :refer :all]
[kulu-backend.db :as db]
[kulu-backend.invoices.messaging :as inv-msg]
[kulu-backend.invoices.model :as inv]
[kulu-backend.organizations.model :as org]
... |
[
{
"context": "ind :namespace\n :children\n [{:name \"some-test\"\n :range {:start {:line 1 :character 0}\n",
"end": 1421,
"score": 0.998712956905365,
"start": 1412,
"tag": "USERNAME",
"value": "some-test"
},
{
"context": "}}\n :kind :testing}\n ... | lib/test/clojure_lsp/feature/test_tree_test.clj | ccidral/clojure-lsp | 0 | (ns clojure-lsp.feature.test-tree-test
(:require
[clojure-lsp.db :as db]
[clojure-lsp.feature.test-tree :as f.test-tree]
[clojure-lsp.test-helper :as h]
[clojure.test :refer [deftest is testing]]))
(h/reset-db-after-test)
(deftest tree-test
(testing "without test tree client capability"
(swap! db/... | 69358 | (ns clojure-lsp.feature.test-tree-test
(:require
[clojure-lsp.db :as db]
[clojure-lsp.feature.test-tree :as f.test-tree]
[clojure-lsp.test-helper :as h]
[clojure.test :refer [deftest is testing]]))
(h/reset-db-after-test)
(deftest tree-test
(testing "without test tree client capability"
(swap! db/... | true | (ns clojure-lsp.feature.test-tree-test
(:require
[clojure-lsp.db :as db]
[clojure-lsp.feature.test-tree :as f.test-tree]
[clojure-lsp.test-helper :as h]
[clojure.test :refer [deftest is testing]]))
(h/reset-db-after-test)
(deftest tree-test
(testing "without test tree client capability"
(swap! db/... |
[
{
"context": ";; Copyright (c) 2020-2021 Saidone\n\n(ns kugelmass.pages.life.life-utils)\n\n;; random ",
"end": 34,
"score": 0.9989199042320251,
"start": 27,
"tag": "NAME",
"value": "Saidone"
}
] | src/cljs/kugelmass/pages/life/life_utils.cljs | saidone75/kugelmass | 0 | ;; Copyright (c) 2020-2021 Saidone
(ns kugelmass.pages.life.life-utils)
;; random boolean ~75% false
(defn- random-bool []
(if (> (rand-int 4) 2)
true
false))
;; init board
(defn init-game [w h]
(vec (doall (take (* w h) (repeatedly random-bool)))))
;; calculate vector index from coords
(defn- compute-i... | 90569 | ;; Copyright (c) 2020-2021 <NAME>
(ns kugelmass.pages.life.life-utils)
;; random boolean ~75% false
(defn- random-bool []
(if (> (rand-int 4) 2)
true
false))
;; init board
(defn init-game [w h]
(vec (doall (take (* w h) (repeatedly random-bool)))))
;; calculate vector index from coords
(defn- compute-in... | true | ;; Copyright (c) 2020-2021 PI:NAME:<NAME>END_PI
(ns kugelmass.pages.life.life-utils)
;; random boolean ~75% false
(defn- random-bool []
(if (> (rand-int 4) 2)
true
false))
;; init board
(defn init-game [w h]
(vec (doall (take (* w h) (repeatedly random-bool)))))
;; calculate vector index from coords
(de... |
[
{
"context": "and conceptually acts as a separate process.\n;;\n;; Isaiah Peng <issaria@gmail.com>\n;;\n\n(defrecord Client [n]\n R",
"end": 549,
"score": 0.9998687505722046,
"start": 538,
"tag": "NAME",
"value": "Isaiah Peng"
},
{
"context": "ly acts as a separate process.\n;;\n;; ... | docs/zeroMQ-guide2/examples/Clojure/lruqueue.clj | krattai/noo-ebs | 2 | (ns lruqueue
(:refer-clojure :exclude [send])
(:require [zhelpers :as mq])
(:import [org.zeromq ZMQ$Poller]))
;;
;; Least-recently used (LRU) queue device
;; Clients and workers are shown here in-process
;; ... | 62116 | (ns lruqueue
(:refer-clojure :exclude [send])
(:require [zhelpers :as mq])
(:import [org.zeromq ZMQ$Poller]))
;;
;; Least-recently used (LRU) queue device
;; Clients and workers are shown here in-process
;; ... | true | (ns lruqueue
(:refer-clojure :exclude [send])
(:require [zhelpers :as mq])
(:import [org.zeromq ZMQ$Poller]))
;;
;; Least-recently used (LRU) queue device
;; Clients and workers are shown here in-process
;; ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.