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": "|enogtredefte)\"\n {:dim :ordinal\n :value (get {\"første\" 1 \"andre\" 2 \"tredje\" 3 \"fjerde\" 4 \"femte\" 5\n ",
"end": 5370,
"score": 0.7553068399429321,
"start": 5364,
"tag": "NAME",
"value": "første"
},
{
"context": "te)\"\n {:dim :ordinal\n :value (get ... | resources/languages/nb/rules/numbers.clj | sebastianmika/duckling | 0 | (
"intersect"
[(dim :number :grain #(> (:grain %) 1)) (dim :number)] ; grain 1 are taken care of by specific rule
(compose-numbers %1 %2)
"intersect (with and)"
[(dim :number :grain #(> (:grain %) 1)) #"(?i)og" (dim :number)] ; grain 1 are taken care of by specific rule
(compose-numbers %1 %3)
;;
;; In... | 29377 | (
"intersect"
[(dim :number :grain #(> (:grain %) 1)) (dim :number)] ; grain 1 are taken care of by specific rule
(compose-numbers %1 %2)
"intersect (with and)"
[(dim :number :grain #(> (:grain %) 1)) #"(?i)og" (dim :number)] ; grain 1 are taken care of by specific rule
(compose-numbers %1 %3)
;;
;; In... | true | (
"intersect"
[(dim :number :grain #(> (:grain %) 1)) (dim :number)] ; grain 1 are taken care of by specific rule
(compose-numbers %1 %2)
"intersect (with and)"
[(dim :number :grain #(> (:grain %) 1)) #"(?i)og" (dim :number)] ; grain 1 are taken care of by specific rule
(compose-numbers %1 %3)
;;
;; In... |
[
{
"context": "QL_USER\" \"clj\"\n \"MYSQL_PASSWORD\" \"s3cr3t\"\n \"MYSQL_ROOT_PASSWORD\" \"root\"\n \"TZ\" ",
"end": 309,
"score": 0.9988753199577332,
"start": 303,
"tag": "PASSWORD",
"value": "s3cr3t"
},
{
"context": "PASSWORD\" \"s3cr3t\"\n \"MYS... | test/com/chicoalmeida/mysqlx_clj/config/docker_lifecycle.clj | chicoalmeida/mysqlx-clj | 4 | (ns com.chicoalmeida.mysqlx-clj.config.docker-lifecycle
(:import (org.testcontainers.containers GenericContainer)
(org.testcontainers.containers.wait.strategy Wait)))
(def connection-properties
{"MYSQL_DATABASE" "mysqlx-clj"
"MYSQL_USER" "clj"
"MYSQL_PASSWORD" "s3cr3t"
"MYSQL... | 38487 | (ns com.chicoalmeida.mysqlx-clj.config.docker-lifecycle
(:import (org.testcontainers.containers GenericContainer)
(org.testcontainers.containers.wait.strategy Wait)))
(def connection-properties
{"MYSQL_DATABASE" "mysqlx-clj"
"MYSQL_USER" "clj"
"MYSQL_PASSWORD" "<PASSWORD>"
"M... | true | (ns com.chicoalmeida.mysqlx-clj.config.docker-lifecycle
(:import (org.testcontainers.containers GenericContainer)
(org.testcontainers.containers.wait.strategy Wait)))
(def connection-properties
{"MYSQL_DATABASE" "mysqlx-clj"
"MYSQL_USER" "clj"
"MYSQL_PASSWORD" "PI:PASSWORD:<PASS... |
[
{
"context": "ites_count 0, :time_zone \"London\",\n :name \"Emeka Mosanya\",\n :id_str \"19400021\", :listed_count 1, :u",
"end": 2656,
"score": 0.9998900890350342,
"start": 2643,
"tag": "NAME",
"value": "Emeka Mosanya"
},
{
"context": "rofile_text_color \"333333\",\n ... | test/twitter-emeka-mosanya.clf.clj | emeka/londonstartup | 1 | {:status {:code 200, :msg "OK",
:protocol "HTTP/1.1", :major 1, :minor 1},
:headers {:cache-control "no-cache, no-store, must-revalidate, pre-check=0, post-check=0",
:content-length "2287", :content-type "application/json;charset=utf-8", :date "Fri, 05 Jul 2013 15:26:45 GMT",
:expires "... | 109467 | {:status {:code 200, :msg "OK",
:protocol "HTTP/1.1", :major 1, :minor 1},
:headers {:cache-control "no-cache, no-store, must-revalidate, pre-check=0, post-check=0",
:content-length "2287", :content-type "application/json;charset=utf-8", :date "Fri, 05 Jul 2013 15:26:45 GMT",
:expires "... | true | {:status {:code 200, :msg "OK",
:protocol "HTTP/1.1", :major 1, :minor 1},
:headers {:cache-control "no-cache, no-store, must-revalidate, pre-check=0, post-check=0",
:content-length "2287", :content-type "application/json;charset=utf-8", :date "Fri, 05 Jul 2013 15:26:45 GMT",
:expires "... |
[
{
"context": " \"Authorization\" \"Basic narfdorfle\"}})\n map (core/headers->map (.headers req)",
"end": 526,
"score": 0.655317485332489,
"start": 517,
"tag": "PASSWORD",
"value": "arfdorfle"
}
] | test/aleph/http/core_test.clj | 7theta/aleph | 123 | (ns aleph.http.core-test
(:use
[clojure test])
(:require
[aleph.http.core :as core])
(:import
[io.netty.handler.codec.http
DefaultHttpRequest]))
(deftest test-HeaderMap-keys
(let [^DefaultHttpRequest req (core/ring-request->netty-request
{:uri "http://example.... | 12807 | (ns aleph.http.core-test
(:use
[clojure test])
(:require
[aleph.http.core :as core])
(:import
[io.netty.handler.codec.http
DefaultHttpRequest]))
(deftest test-HeaderMap-keys
(let [^DefaultHttpRequest req (core/ring-request->netty-request
{:uri "http://example.... | true | (ns aleph.http.core-test
(:use
[clojure test])
(:require
[aleph.http.core :as core])
(:import
[io.netty.handler.codec.http
DefaultHttpRequest]))
(deftest test-HeaderMap-keys
(let [^DefaultHttpRequest req (core/ring-request->netty-request
{:uri "http://example.... |
[
{
"context": "map\"\n (read-csv test-file) => [{:scientificName \"Aphelandra longiflora\" :latitude \"10.10\" :longitude \"20.20\" :locality \"",
"end": 277,
"score": 0.9998716711997986,
"start": 256,
"tag": "NAME",
"value": "Aphelandra longiflora"
},
{
"context": "un\"}\n ... | test/dwc_io/csv_test.clj | biodivdev/dwc | 0 | (ns dwc-io.csv-test
(:use midje.sweet)
(:use dwc-io.csv))
(def test-file "resources/dwc.csv")
(def test-file2 "resources/dwc2.csv")
(def test-file3 "resources/dwc3.csv")
(fact "Can read csv into hash-map"
(read-csv test-file) => [{:scientificName "Aphelandra longiflora" :latitude "10.10" :longitude "20.20" :loc... | 45040 | (ns dwc-io.csv-test
(:use midje.sweet)
(:use dwc-io.csv))
(def test-file "resources/dwc.csv")
(def test-file2 "resources/dwc2.csv")
(def test-file3 "resources/dwc3.csv")
(fact "Can read csv into hash-map"
(read-csv test-file) => [{:scientificName "<NAME>" :latitude "10.10" :longitude "20.20" :locality "riverrun... | true | (ns dwc-io.csv-test
(:use midje.sweet)
(:use dwc-io.csv))
(def test-file "resources/dwc.csv")
(def test-file2 "resources/dwc2.csv")
(def test-file3 "resources/dwc3.csv")
(fact "Can read csv into hash-map"
(read-csv test-file) => [{:scientificName "PI:NAME:<NAME>END_PI" :latitude "10.10" :longitude "20.20" :loca... |
[
{
"context": "(ns hello-seymore.core)\n\n(.log js/console \"Hey Seymore Mert3\")\n\n",
"end": 60,
"score": 0.9277136921882629,
"start": 47,
"tag": "NAME",
"value": "Seymore Mert3"
}
] | clj/ex/study_figwheel/hello_seymore/src/hello_seymore/core.cljs | mertnuhoglu/study | 1 | (ns hello-seymore.core)
(.log js/console "Hey Seymore Mert3")
| 21069 | (ns hello-seymore.core)
(.log js/console "Hey <NAME>")
| true | (ns hello-seymore.core)
(.log js/console "Hey PI:NAME:<NAME>END_PI")
|
[
{
"context": "(ns ^{:author \"Ikenna Nwaiwu\"} memjore.views.addmember\n (:require [memjore.vi",
"end": 28,
"score": 0.9998763203620911,
"start": 15,
"tag": "NAME",
"value": "Ikenna Nwaiwu"
}
] | data/train/clojure/7d024d126d4ee7c610f481afccbda9f5e72ccf1daddmember.clj | harshp8l/deep-learning-lang-detection | 84 | (ns ^{:author "Ikenna Nwaiwu"} memjore.views.addmember
(:require [memjore.views.common :as common])
(:use [noir.core :only [defpage defpartial render url-for pre-route]]
[memjore.models.db :as db]
[noir.response :only [redirect]]
[hiccup.form :only [form-to]]))
(defpage addmember [:get "/ma... | 112753 | (ns ^{:author "<NAME>"} memjore.views.addmember
(:require [memjore.views.common :as common])
(:use [noir.core :only [defpage defpartial render url-for pre-route]]
[memjore.models.db :as db]
[noir.response :only [redirect]]
[hiccup.form :only [form-to]]))
(defpage addmember [:get "/manage/me... | true | (ns ^{:author "PI:NAME:<NAME>END_PI"} memjore.views.addmember
(:require [memjore.views.common :as common])
(:use [noir.core :only [defpage defpartial render url-for pre-route]]
[memjore.models.db :as db]
[noir.response :only [redirect]]
[hiccup.form :only [form-to]]))
(defpage addmember [:g... |
[
{
"context": " :password (System/getenv \"CLOJARS_PASS\")}])))\n\n(require\n '[orchestra.spec.test ",
"end": 1377,
"score": 0.6660771369934082,
"start": 1373,
"tag": "PASSWORD",
"value": "CLOJ"
},
{
"context": " :password (System/getenv \"CLOJAR... | build.boot | based2/Nightcode | 0 | (defn read-deps-edn [aliases-to-include]
(let [{:keys [paths deps aliases]} (-> "deps.edn" slurp clojure.edn/read-string)
deps (->> (select-keys aliases aliases-to-include)
vals
(mapcat :extra-deps)
(into deps)
(reduce
... | 86116 | (defn read-deps-edn [aliases-to-include]
(let [{:keys [paths deps aliases]} (-> "deps.edn" slurp clojure.edn/read-string)
deps (->> (select-keys aliases aliases-to-include)
vals
(mapcat :extra-deps)
(into deps)
(reduce
... | true | (defn read-deps-edn [aliases-to-include]
(let [{:keys [paths deps aliases]} (-> "deps.edn" slurp clojure.edn/read-string)
deps (->> (select-keys aliases aliases-to-include)
vals
(mapcat :extra-deps)
(into deps)
(reduce
... |
[
{
"context": "tryTitle \"entry-title1\"})\n {:token \"mock-echo-system-token\"})]\n (testing \"ingest on PROV3, guest is not g",
"end": 2297,
"score": 0.5109575986862183,
"start": 2275,
"tag": "KEY",
"value": "mock-echo-system-token"
},
{
"context": " user1-token (... | system-int-test/test/cmr/system_int_test/ingest/subscription_ingest_test.clj | jaybarra/Common-Metadata-Repository | 0 | (ns cmr.system-int-test.ingest.subscription-ingest-test
"CMR subscription ingest integration tests.
For subscription permissions tests, see `provider-ingest-permissions-test`."
(:require
[clojure.test :refer :all]
[cmr.access-control.test.util :as ac-util]
[cmr.common.util :refer [are3]]
[cmr.ingest.s... | 103169 | (ns cmr.system-int-test.ingest.subscription-ingest-test
"CMR subscription ingest integration tests.
For subscription permissions tests, see `provider-ingest-permissions-test`."
(:require
[clojure.test :refer :all]
[cmr.access-control.test.util :as ac-util]
[cmr.common.util :refer [are3]]
[cmr.ingest.s... | true | (ns cmr.system-int-test.ingest.subscription-ingest-test
"CMR subscription ingest integration tests.
For subscription permissions tests, see `provider-ingest-permissions-test`."
(:require
[clojure.test :refer :all]
[cmr.access-control.test.util :as ac-util]
[cmr.common.util :refer [are3]]
[cmr.ingest.s... |
[
{
"context": "to spaces\n (str \";USER=GUEST;PASSWORD=guest\"))})) ; specify the GUEST user account created fo",
"end": 1223,
"score": 0.8983317017555237,
"start": 1218,
"tag": "PASSWORD",
"value": "guest"
}
] | c#-metabase/src/metabase/sample_data.clj | hanakhry/Crime_Admin | 0 | (ns metabase.sample-data
(:require [clojure.java.io :as io]
[clojure.string :as str]
[clojure.tools.logging :as log]
[metabase.models.database :refer [Database]]
[metabase.sync :as sync]
[metabase.util.i18n :refer [trs]]
[toucan.db :as db]))
(de... | 72572 | (ns metabase.sample-data
(:require [clojure.java.io :as io]
[clojure.string :as str]
[clojure.tools.logging :as log]
[metabase.models.database :refer [Database]]
[metabase.sync :as sync]
[metabase.util.i18n :refer [trs]]
[toucan.db :as db]))
(de... | true | (ns metabase.sample-data
(:require [clojure.java.io :as io]
[clojure.string :as str]
[clojure.tools.logging :as log]
[metabase.models.database :refer [Database]]
[metabase.sync :as sync]
[metabase.util.i18n :refer [trs]]
[toucan.db :as db]))
(de... |
[
{
"context": "e-google-user [ctx google-user]\n (let [{:keys [id given_name family_name picture email locale]} google-us",
"end": 1143,
"score": 0.839113712310791,
"start": 1138,
"tag": "NAME",
"value": "given"
},
{
"context": "er [ctx google-user]\n (let [{:keys [id given_name fam... | src/clj/salava/oauth/google.clj | discendum/salava | 17 | (ns salava.oauth.google
(:require [slingshot.slingshot :refer :all]
[salava.oauth.db :as d]
[salava.user.db :as u]
[salava.core.countries :refer [all-countries]]
[salava.core.util :refer [get-site-url get-base-path]]))
(def api {:access-token-api "https://www.googleapi... | 10467 | (ns salava.oauth.google
(:require [slingshot.slingshot :refer :all]
[salava.oauth.db :as d]
[salava.user.db :as u]
[salava.core.countries :refer [all-countries]]
[salava.core.util :refer [get-site-url get-base-path]]))
(def api {:access-token-api "https://www.googleapi... | true | (ns salava.oauth.google
(:require [slingshot.slingshot :refer :all]
[salava.oauth.db :as d]
[salava.user.db :as u]
[salava.core.countries :refer [all-countries]]
[salava.core.util :refer [get-site-url get-base-path]]))
(def api {:access-token-api "https://www.googleapi... |
[
{
"context": ")\n\n(deftest test-map-schema-serdes\n (let [data {\"Alice\" 50\n \"Bob\" 55\n \"Chad\" 8",
"end": 15865,
"score": 0.9997903108596802,
"start": 15860,
"tag": "NAME",
"value": "Alice"
},
{
"context": "ma-serdes\n (let [data {\"Alice\" 50\n ... | test/deercreeklabs/unit/lancaster_test.cljc | yanatan16/lancaster | 0 | (ns deercreeklabs.unit.lancaster-test
(:require
[clojure.test :refer [deftest is]]
[clojure.walk :as walk]
[deercreeklabs.baracus :as ba]
[deercreeklabs.lancaster :as l]
[deercreeklabs.lancaster.pcf-utils :as pcf-utils]
[deercreeklabs.lancaster.utils :as u]
[schema.core :as s :include-macros true... | 120831 | (ns deercreeklabs.unit.lancaster-test
(:require
[clojure.test :refer [deftest is]]
[clojure.walk :as walk]
[deercreeklabs.baracus :as ba]
[deercreeklabs.lancaster :as l]
[deercreeklabs.lancaster.pcf-utils :as pcf-utils]
[deercreeklabs.lancaster.utils :as u]
[schema.core :as s :include-macros true... | true | (ns deercreeklabs.unit.lancaster-test
(:require
[clojure.test :refer [deftest is]]
[clojure.walk :as walk]
[deercreeklabs.baracus :as ba]
[deercreeklabs.lancaster :as l]
[deercreeklabs.lancaster.pcf-utils :as pcf-utils]
[deercreeklabs.lancaster.utils :as u]
[schema.core :as s :include-macros true... |
[
{
"context": ";; Copyright Fabian Schneider and Gunnar Völkel © 2014-2020\n;;\n;; Permission is",
"end": 29,
"score": 0.9998487830162048,
"start": 13,
"tag": "NAME",
"value": "Fabian Schneider"
},
{
"context": ";; Copyright Fabian Schneider and Gunnar Völkel © 2014-2020\n;;\n;; Permi... | src/traqbio/actions/project.clj | sysbio-bioinf/iBioTraq | 2 | ;; Copyright Fabian Schneider and Gunnar Völkel © 2014-2020
;;
;; Permission is hereby granted, free of charge, to any person obtaining a copy
;; of this software and associated documentation files (the "Software"), to deal
;; in the Software without restriction, including without limitation the rights
;; to use, copy,... | 62888 | ;; Copyright <NAME> and <NAME> © 2014-2020
;;
;; Permission is hereby granted, free of charge, to any person obtaining a copy
;; of this software and associated documentation files (the "Software"), to deal
;; in the Software without restriction, including without limitation the rights
;; to use, copy, modify, merge, p... | true | ;; Copyright PI:NAME:<NAME>END_PI and PI:NAME:<NAME>END_PI © 2014-2020
;;
;; Permission is hereby granted, free of charge, to any person obtaining a copy
;; of this software and associated documentation files (the "Software"), to deal
;; in the Software without restriction, including without limitation the rights
;; to... |
[
{
"context": " (catch Throwable e))\n `(do ~@body)))\n\n;; From Medley, C Weavejester\n(defn editable? [coll]\n (instance",
"end": 1221,
"score": 0.9992226958274841,
"start": 1215,
"tag": "NAME",
"value": "Medley"
},
{
"context": " Throwable e))\n `(do ~@body)))\n\n;; From Me... | src/java_time/util.clj | robdaemon/clojure.java-time | 405 | (ns java-time.util
(:require [clojure.string :as string])
(:import [java.lang.reflect Field]))
(defn get-static-fields-of-type [^Class klass, ^Class of-type]
(->> (seq (.getFields klass))
(map (fn [^Field f]
(when (.isAssignableFrom of-type (.getType f))
[(.getName f) (.get f... | 70587 | (ns java-time.util
(:require [clojure.string :as string])
(:import [java.lang.reflect Field]))
(defn get-static-fields-of-type [^Class klass, ^Class of-type]
(->> (seq (.getFields klass))
(map (fn [^Field f]
(when (.isAssignableFrom of-type (.getType f))
[(.getName f) (.get f... | true | (ns java-time.util
(:require [clojure.string :as string])
(:import [java.lang.reflect Field]))
(defn get-static-fields-of-type [^Class klass, ^Class of-type]
(->> (seq (.getFields klass))
(map (fn [^Field f]
(when (.isAssignableFrom of-type (.getType f))
[(.getName f) (.get f... |
[
{
"context": "; Copyright (C) 2017 Joseph Fosco. All Rights Reserved\n;\n; This program is free ",
"end": 37,
"score": 0.9998456835746765,
"start": 25,
"tag": "NAME",
"value": "Joseph Fosco"
}
] | data/test/clojure/61fc616b827a95e16a11094d2b631f9fac078ea4motif.clj | harshp8l/deep-learning-lang-detection | 84 | ; Copyright (C) 2017 Joseph Fosco. All Rights Reserved
;
; This program 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.... | 121005 | ; Copyright (C) 2017 <NAME>. All Rights Reserved
;
; This program 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.
;
; ... | true | ; Copyright (C) 2017 PI:NAME:<NAME>END_PI. All Rights Reserved
;
; This program 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 ... |
[
{
"context": "ses fired events in a thread pool.\"\n :author \"Jeff Rose, Sam Aaron\"}\n overtone.libs.event\n (:require [o",
"end": 106,
"score": 0.9998814463615417,
"start": 97,
"tag": "NAME",
"value": "Jeff Rose"
},
{
"context": "events in a thread pool.\"\n :author \"Je... | src/overtone/libs/event.clj | rosejn/overtone | 4 | (ns
^{:doc "A simple event system that processes fired events in a thread pool."
:author "Jeff Rose, Sam Aaron"}
overtone.libs.event
(:require [overtone.util.log :as log]
[overtone.libs.handlers :as handlers]))
(defonce handler-pool (handlers/mk-handler-pool "Overtone Event Handlers"))
(defn on... | 114867 | (ns
^{:doc "A simple event system that processes fired events in a thread pool."
:author "<NAME>, <NAME>"}
overtone.libs.event
(:require [overtone.util.log :as log]
[overtone.libs.handlers :as handlers]))
(defonce handler-pool (handlers/mk-handler-pool "Overtone Event Handlers"))
(defn on-event... | true | (ns
^{:doc "A simple event system that processes fired events in a thread pool."
:author "PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI"}
overtone.libs.event
(:require [overtone.util.log :as log]
[overtone.libs.handlers :as handlers]))
(defonce handler-pool (handlers/mk-handler-pool "Overtone Event... |
[
{
"context": "and conceptually acts as a separate process.\n;;\n;; Isaiah Peng <issaria@gmail.com>\n;;\n\n(defrecord Worker [name]\n",
"end": 363,
"score": 0.9998598098754883,
"start": 352,
"tag": "NAME",
"value": "Isaiah Peng"
},
{
"context": "ly acts as a separate process.\n;;\n;; ... | docs/zeroMQ-guide2/examples/Clojure/rtdealer.clj | krattai/noo-ebs | 2 | (ns rtdealer
(:refer-clojure :exclude [send])
(:require [zhelpers :as mq])
(:import [java.util Random]))
;;
;; Custom routing Router to Dealer
;;
;; While this example runs in a single process, that is just to make
;; it easier to start and stop the example. Each thread has its own
;; context and conceptually ac... | 69618 | (ns rtdealer
(:refer-clojure :exclude [send])
(:require [zhelpers :as mq])
(:import [java.util Random]))
;;
;; Custom routing Router to Dealer
;;
;; While this example runs in a single process, that is just to make
;; it easier to start and stop the example. Each thread has its own
;; context and conceptually ac... | true | (ns rtdealer
(:refer-clojure :exclude [send])
(:require [zhelpers :as mq])
(:import [java.util Random]))
;;
;; Custom routing Router to Dealer
;;
;; While this example runs in a single process, that is just to make
;; it easier to start and stop the example. Each thread has its own
;; context and conceptually ac... |
[
{
"context": " (println slot new old))\n v {:name \"World\"\n :action (cI nil :slot :v-action\n ",
"end": 3869,
"score": 0.9920244216918945,
"start": 3864,
"tag": "NAME",
"value": "World"
},
{
"context": " (println slot new old))\n v {:name \... | cljs/matrix/test/tiltontec/cell/hello_cells_test.cljc | kennytilton/matrix | 84 | (ns tiltontec.cell.hello-cells-test
(:require
#?(:clj [clojure.test :refer :all]
:cljs [cljs.test
:refer-macros [deftest is are]])
#?(:cljs [tiltontec.util.base
:refer-macros [trx prog1 *trx?*]]
:clj [tiltontec.util.base
:refer :all])
[tiltontec.util.core :... | 18444 | (ns tiltontec.cell.hello-cells-test
(:require
#?(:clj [clojure.test :refer :all]
:cljs [cljs.test
:refer-macros [deftest is are]])
#?(:cljs [tiltontec.util.base
:refer-macros [trx prog1 *trx?*]]
:clj [tiltontec.util.base
:refer :all])
[tiltontec.util.core :... | true | (ns tiltontec.cell.hello-cells-test
(:require
#?(:clj [clojure.test :refer :all]
:cljs [cljs.test
:refer-macros [deftest is are]])
#?(:cljs [tiltontec.util.base
:refer-macros [trx prog1 *trx?*]]
:clj [tiltontec.util.base
:refer :all])
[tiltontec.util.core :... |
[
{
"context": "[mysql/mysql-connector-java \"5.1.41\"]\n [seancorfield/next.jdbc \"1.0.424\"]])\n\n(require '[next.jdbc :as ",
"end": 574,
"score": 0.791438102722168,
"start": 564,
"tag": "USERNAME",
"value": "ancorfield"
},
{
"context": "q77-db\n {:dbtype \"mysql\" :user \"r... | resources/Code/TMD/tmd-tc-deps-req.clj | jsa-aerial/aerosaite | 0 |
;;; Base deps and requires for TMD and TC
(deps '[[techascent/tech.ml.dataset "6.065"]
[scicloj/tablecloth "6.051"]])
(require '[tech.v3.dataset :as ds]
'[tech.v3.datatype :as dtype]
'[tech.v3.datatype.functional :as df]
'[tech.v3.dataset.reductions :as dsr]
'[tablecloth.... | 97521 |
;;; Base deps and requires for TMD and TC
(deps '[[techascent/tech.ml.dataset "6.065"]
[scicloj/tablecloth "6.051"]])
(require '[tech.v3.dataset :as ds]
'[tech.v3.datatype :as dtype]
'[tech.v3.datatype.functional :as df]
'[tech.v3.dataset.reductions :as dsr]
'[tablecloth.... | true |
;;; Base deps and requires for TMD and TC
(deps '[[techascent/tech.ml.dataset "6.065"]
[scicloj/tablecloth "6.051"]])
(require '[tech.v3.dataset :as ds]
'[tech.v3.datatype :as dtype]
'[tech.v3.datatype.functional :as df]
'[tech.v3.dataset.reductions :as dsr]
'[tablecloth.... |
[
{
"context": " [react app]))\n\n(def ^:private dummy-data {:name \"Pete\"})\n\n(defn- react-render [component]\n (.eval nash",
"end": 978,
"score": 0.9867784380912781,
"start": 974,
"tag": "NAME",
"value": "Pete"
}
] | src/clojure_react_renderer_proof_of_concept/core/renderer.clj | ethagnawl/Clojure-React-Renderer-Proof-of-Concept | 1 | (ns clojure-react-renderer-proof-of-concept.core.renderer
(:import [
javax.script
ScriptEngineManager])
(:require
[clojure.data.json :as json]
[clojure-react-renderer-proof-of-concept.core.views.clojure-react-renderer-proof-of-concept-layout :refer [common-layout]]))
(defn- local-... | 66981 | (ns clojure-react-renderer-proof-of-concept.core.renderer
(:import [
javax.script
ScriptEngineManager])
(:require
[clojure.data.json :as json]
[clojure-react-renderer-proof-of-concept.core.views.clojure-react-renderer-proof-of-concept-layout :refer [common-layout]]))
(defn- local-... | true | (ns clojure-react-renderer-proof-of-concept.core.renderer
(:import [
javax.script
ScriptEngineManager])
(:require
[clojure.data.json :as json]
[clojure-react-renderer-proof-of-concept.core.views.clojure-react-renderer-proof-of-concept-layout :refer [common-layout]]))
(defn- local-... |
[
{
"context": " :http-port 8068\n :env :prd\n :db {:username \"postgres\"\n :password \"123\"\n :server-name ",
"end": 76,
"score": 0.9995056390762329,
"start": 68,
"tag": "USERNAME",
"value": "postgres"
},
{
"context": " {:username \"postgres\"\n :pass... | conf/config.clj | sealchain/mobile-wallet-backend | 1 | {:nrepl-port 7467
:http-port 8068
:env :prd
:db {:username "postgres"
:password "123"
:server-name "192.168.1.47"
:port-number 5432
:database-name "wallet"}
:chain-importer-url "http://39.104.136.10:6526/api/txs/signed"
}
| 59359 | {:nrepl-port 7467
:http-port 8068
:env :prd
:db {:username "postgres"
:password "<PASSWORD>"
:server-name "192.168.1.47"
:port-number 5432
:database-name "wallet"}
:chain-importer-url "http://192.168.3.11:6526/api/txs/signed"
}
| true | {:nrepl-port 7467
:http-port 8068
:env :prd
:db {:username "postgres"
:password "PI:PASSWORD:<PASSWORD>END_PI"
:server-name "192.168.1.47"
:port-number 5432
:database-name "wallet"}
:chain-importer-url "http://PI:IP_ADDRESS:192.168.3.11END_PI:6526/api/txs/signed"
}
|
[
{
"context": "-util]))\r\n\r\n(def records [\r\n { :id 1\r\n :name \"test-identity\"\r\n :public_key \"blah\"\r\n :public_key_algorit",
"end": 224,
"score": 0.9972205758094788,
"start": 211,
"tag": "USERNAME",
"value": "test-identity"
},
{
"context": "id 1\r\n :name \"te... | test/test/fixtures/identity.clj | cryptocurrent/Dark-Exchange | 36 | (ns test.fixtures.identity
(:use darkexchange.database.util)
(:require [test.fixtures.peer :as peer-fixture]
[test.fixtures.util :as fixtures-util]))
(def records [
{ :id 1
:name "test-identity"
:public_key "blah"
:public_key_algorithm "RSA"
:peer_id 1 }
{ :id 2
:na... | 44156 | (ns test.fixtures.identity
(:use darkexchange.database.util)
(:require [test.fixtures.peer :as peer-fixture]
[test.fixtures.util :as fixtures-util]))
(def records [
{ :id 1
:name "test-identity"
:public_key "<KEY>"
:public_key_algorithm "<KEY>"
:peer_id 1 }
{ :id 2
... | true | (ns test.fixtures.identity
(:use darkexchange.database.util)
(:require [test.fixtures.peer :as peer-fixture]
[test.fixtures.util :as fixtures-util]))
(def records [
{ :id 1
:name "test-identity"
:public_key "PI:KEY:<KEY>END_PI"
:public_key_algorithm "PI:KEY:<KEY>END_PI"
:pe... |
[
{
"context": ";; Stream utilities\n\n;; by Konrad Hinsen\n;; last updated May 3, 2009\n\n;; Copyright (c) Kon",
"end": 40,
"score": 0.9998787641525269,
"start": 27,
"tag": "NAME",
"value": "Konrad Hinsen"
},
{
"context": "nsen\n;; last updated May 3, 2009\n\n;; Copyright (c) Konrad H... | data/test/clojure/35c5c90ed028582461cd782b5211cdd0e3f698cfstream_utils.clj | harshp8l/deep-learning-lang-detection | 84 | ;; Stream utilities
;; by Konrad Hinsen
;; last updated May 3, 2009
;; Copyright (c) Konrad Hinsen, 2009. 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-v1... | 27062 | ;; Stream utilities
;; by <NAME>
;; last updated May 3, 2009
;; Copyright (c) <NAME>, 2009. 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 ... | true | ;; Stream utilities
;; by PI:NAME:<NAME>END_PI
;; last updated May 3, 2009
;; Copyright (c) PI:NAME:<NAME>END_PI, 2009. 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 t... |
[
{
"context": "-------------------------------\n;;\n;;\n;; Author: PLIQUE Guillaume (Yomguithereal)\n;; Version: 0.1\n;;\n(ns clj-fuzz",
"end": 207,
"score": 0.9998169541358948,
"start": 191,
"tag": "NAME",
"value": "PLIQUE Guillaume"
},
{
"context": "------------\n;;\n;;\n;; Au... | src/clj_fuzzy/double_metaphone.cljc | Yomguithereal/clj-fuzzy | 222 | ;; -------------------------------------------------------------------
;; clj-fuzzy Double Metaphone
;; -------------------------------------------------------------------
;;
;;
;; Author: PLIQUE Guillaume (Yomguithereal)
;; Version: 0.1
;;
(ns clj-fuzzy.double-metaphone
(:require clojure.string)
(:use [clj-fuz... | 22840 | ;; -------------------------------------------------------------------
;; clj-fuzzy Double Metaphone
;; -------------------------------------------------------------------
;;
;;
;; Author: <NAME> (Yomguithereal)
;; Version: 0.1
;;
(ns clj-fuzzy.double-metaphone
(:require clojure.string)
(:use [clj-fuzzy.helpers... | true | ;; -------------------------------------------------------------------
;; clj-fuzzy Double Metaphone
;; -------------------------------------------------------------------
;;
;;
;; Author: PI:NAME:<NAME>END_PI (Yomguithereal)
;; Version: 0.1
;;
(ns clj-fuzzy.double-metaphone
(:require clojure.string)
(:use [clj... |
[
{
"context": " {:api-host \"http://127.0.0.1:123\"\n ",
"end": 1980,
"score": 0.9997256398200989,
"start": 1971,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": " :... | test/clj_honeycomb/testing_utils_test.clj | conormcd/clj-honeycomb | 17 | (ns clj-honeycomb.testing-utils-test
(:require [clojure.spec.alpha :as s]
[clojure.spec.gen.alpha :as gen]
[clojure.spec.test.alpha :refer (with-instrument-disabled)]
[clojure.test :refer (deftest is testing)]
[clj-honeycomb.core :as honeycomb]
[clj-honeyco... | 104729 | (ns clj-honeycomb.testing-utils-test
(:require [clojure.spec.alpha :as s]
[clojure.spec.gen.alpha :as gen]
[clojure.spec.test.alpha :refer (with-instrument-disabled)]
[clojure.test :refer (deftest is testing)]
[clj-honeycomb.core :as honeycomb]
[clj-honeyco... | true | (ns clj-honeycomb.testing-utils-test
(:require [clojure.spec.alpha :as s]
[clojure.spec.gen.alpha :as gen]
[clojure.spec.test.alpha :refer (with-instrument-disabled)]
[clojure.test :refer (deftest is testing)]
[clj-honeycomb.core :as honeycomb]
[clj-honeyco... |
[
{
"context": "NS:puppet.vpn.puppetlabs.net\"]\n :fingerprint \"F3:12:6C:81:AC:14:03:8D:63:37:82:E4:C4:1D:21:91:55:7E:88:67:9F:EA:BD:2B",
"end": 2246,
"score": 0.9265917539596558,
"start": 2226,
"tag": "IP_ADDRESS",
"value": "F3:12:6C:81:AC:14:03"
},
{
"context": "bs.net\"]\n :f... | test/unit/puppetlabs/services/ca/certificate_authority_core_test.clj | ahpook/puppet-server | 0 | (ns puppetlabs.services.ca.certificate-authority-core-test
(:require [cheshire.core :as json]
[clojure.java.io :as io]
[clojure.test :refer :all]
[me.raynes.fs :as fs]
[puppetlabs.ssl-utils.core :as utils]
[puppetlabs.kitchensink.core :as ks]
[pu... | 121482 | (ns puppetlabs.services.ca.certificate-authority-core-test
(:require [cheshire.core :as json]
[clojure.java.io :as io]
[clojure.test :refer :all]
[me.raynes.fs :as fs]
[puppetlabs.ssl-utils.core :as utils]
[puppetlabs.kitchensink.core :as ks]
[pu... | true | (ns puppetlabs.services.ca.certificate-authority-core-test
(:require [cheshire.core :as json]
[clojure.java.io :as io]
[clojure.test :refer :all]
[me.raynes.fs :as fs]
[puppetlabs.ssl-utils.core :as utils]
[puppetlabs.kitchensink.core :as ks]
[pu... |
[
{
"context": " (db/create! user1)\n bad-email \"random@example.com\"\n bad-password \"wrongpassword\"\n {:k",
"end": 1217,
"score": 0.9999249577522278,
"start": 1199,
"tag": "EMAIL",
"value": "random@example.com"
},
{
"context": "ail \"random@exampl... | test/clj/villagebook/user/models_test.clj | sathia27/villagebook | 0 | (ns villagebook.user.models-test
(:require [buddy.auth :refer [authenticated?]]
[villagebook.fixtures :refer [setup-once wrap-transaction]]
[villagebook.factory :refer [user1 user2]]
[villagebook.user.db :as db]
[villagebook.user.models :as models]
[clojure.... | 5790 | (ns villagebook.user.models-test
(:require [buddy.auth :refer [authenticated?]]
[villagebook.fixtures :refer [setup-once wrap-transaction]]
[villagebook.factory :refer [user1 user2]]
[villagebook.user.db :as db]
[villagebook.user.models :as models]
[clojure.... | true | (ns villagebook.user.models-test
(:require [buddy.auth :refer [authenticated?]]
[villagebook.fixtures :refer [setup-once wrap-transaction]]
[villagebook.factory :refer [user1 user2]]
[villagebook.user.db :as db]
[villagebook.user.models :as models]
[clojure.... |
[
{
"context": "\"\"\n :name \"dat-name\"\n :require",
"end": 1942,
"score": 0.9758626818656921,
"start": 1934,
"tag": "USERNAME",
"value": "dat-name"
},
{
"context": " :pla... | src/zwitscher/views/signin.clj | dak0rn/Zwitscher | 0 | ;; signin.clj - Signin route
(ns zwitscher.views.signin
(:require [hiccup.core :refer [h]]
[ring.util.anti-forgery :refer [anti-forgery-field]]
[hiccup.form :refer [form-to]]
[zwitscher.views.partials.document :refer [document]]
[zwitscher.views.partials.navigation :as ... | 79173 | ;; signin.clj - Signin route
(ns zwitscher.views.signin
(:require [hiccup.core :refer [h]]
[ring.util.anti-forgery :refer [anti-forgery-field]]
[hiccup.form :refer [form-to]]
[zwitscher.views.partials.document :refer [document]]
[zwitscher.views.partials.navigation :as ... | true | ;; signin.clj - Signin route
(ns zwitscher.views.signin
(:require [hiccup.core :refer [h]]
[ring.util.anti-forgery :refer [anti-forgery-field]]
[hiccup.form :refer [form-to]]
[zwitscher.views.partials.document :refer [document]]
[zwitscher.views.partials.navigation :as ... |
[
{
"context": "on %1 %2 :address)}])\n\n(def people [{:id 1 :name \"Tracey Davidson\" :age 43 :address \"5512 Pockrus Page Rd\"}\n ",
"end": 963,
"score": 0.9998613595962524,
"start": 948,
"tag": "NAME",
"value": "Tracey Davidson"
},
{
"context": "5512 Pockrus Page Rd\"}\n ... | src/ppl/common.cljs | jdhorwitz/cljs-ppl | 0 | (ns ppl.common)
(def form-style {:label-col {:span 6}
:wrapper-col {:span 13}})
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;; Definitions and functions for the datatable
;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(def pagination {:show-size-change... | 119410 | (ns ppl.common)
(def form-style {:label-col {:span 6}
:wrapper-col {:span 13}})
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;; Definitions and functions for the datatable
;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(def pagination {:show-size-change... | true | (ns ppl.common)
(def form-style {:label-col {:span 6}
:wrapper-col {:span 13}})
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;; Definitions and functions for the datatable
;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(def pagination {:show-size-change... |
[
{
"context": ")\n :tax-id \"012.345.678-90\"\n :name \"Iron Bank S.A.\",\n :expiration 123456789,\n :fine 2.5,",
"end": 729,
"score": 0.9480627775192261,
"start": 716,
"tag": "NAME",
"value": "Iron Bank S.A"
},
{
"context": "tax-id \"20.018.183/0001-80\"\n... | test/starkbank/brcode_payment_test.clj | starkbank/sdk-clojure | 5 | (ns starkbank.brcode-payment-test
(:use [clojure.test])
(:require [starkbank.brcode-payment :as payment]
[starkbank.brcode-payment.log :as log]
[starkbank.invoice :as invoice]
[starkbank.brcode-preview :as preview]
[starkbank.user-test :as user]
... | 32390 | (ns starkbank.brcode-payment-test
(:use [clojure.test])
(:require [starkbank.brcode-payment :as payment]
[starkbank.brcode-payment.log :as log]
[starkbank.invoice :as invoice]
[starkbank.brcode-preview :as preview]
[starkbank.user-test :as user]
... | true | (ns starkbank.brcode-payment-test
(:use [clojure.test])
(:require [starkbank.brcode-payment :as payment]
[starkbank.brcode-payment.log :as log]
[starkbank.invoice :as invoice]
[starkbank.brcode-preview :as preview]
[starkbank.user-test :as user]
... |
[
{
"context": "45\"}]\n :restaurant/location {:location/addres \"Rua Ribeirão Claro\"\n :location/number 192\n ",
"end": 1760,
"score": 0.9935333728790283,
"start": 1742,
"tag": "NAME",
"value": "Rua Ribeirão Claro"
},
{
"context": " ... | src/foodship_restaurant/ports/db/data/initial_data.clj | eronalves/foodship-restaurant | 5 | (ns foodship-restaurant.ports.db.data.initial-data)
(defn get-data []
[{:restaurant/id 1
:restaurant/name "Mexicaníssimo"
:restaurant/tags ["mexican"]
:restaurant/preparation-time {:preparation-time/min 45
:preparation-time/max 60}
:restaurant/business-hours [{:busi... | 4861 | (ns foodship-restaurant.ports.db.data.initial-data)
(defn get-data []
[{:restaurant/id 1
:restaurant/name "Mexicaníssimo"
:restaurant/tags ["mexican"]
:restaurant/preparation-time {:preparation-time/min 45
:preparation-time/max 60}
:restaurant/business-hours [{:busi... | true | (ns foodship-restaurant.ports.db.data.initial-data)
(defn get-data []
[{:restaurant/id 1
:restaurant/name "Mexicaníssimo"
:restaurant/tags ["mexican"]
:restaurant/preparation-time {:preparation-time/min 45
:preparation-time/max 60}
:restaurant/business-hours [{:busi... |
[
{
"context": "200 :body {[:form/id 42] {:form/id 42 :form/name \"Sam\"}}})))})\n\n(defsc Form [this {:form/keys [name] :a",
"end": 1450,
"score": 0.9667508006095886,
"start": 1447,
"tag": "NAME",
"value": "Sam"
},
{
"context": "tate {:form/id 1\n :form/name \"Sam\... | src/workspaces/com/fulcrologic/fulcro/cards/form_cards.cljs | mruzekw/fulcro | 1,312 | (ns com.fulcrologic.fulcro.cards.form-cards
(:require
[nubank.workspaces.card-types.fulcro3 :as ct.fulcro]
[nubank.workspaces.core :as ws]
[com.wsscode.pathom.connect :as pc]
[com.wsscode.pathom.core :as p]
[com.fulcrologic.fulcro.components :as comp :refer [defsc]]
[com.fulcrologic.fulcro.dom... | 53389 | (ns com.fulcrologic.fulcro.cards.form-cards
(:require
[nubank.workspaces.card-types.fulcro3 :as ct.fulcro]
[nubank.workspaces.core :as ws]
[com.wsscode.pathom.connect :as pc]
[com.wsscode.pathom.core :as p]
[com.fulcrologic.fulcro.components :as comp :refer [defsc]]
[com.fulcrologic.fulcro.dom... | true | (ns com.fulcrologic.fulcro.cards.form-cards
(:require
[nubank.workspaces.card-types.fulcro3 :as ct.fulcro]
[nubank.workspaces.core :as ws]
[com.wsscode.pathom.connect :as pc]
[com.wsscode.pathom.core :as p]
[com.fulcrologic.fulcro.components :as comp :refer [defsc]]
[com.fulcrologic.fulcro.dom... |
[
{
"context": " :user \"myaccount\"\n :password \"secret\"}\n\n metadata-table-ddl (jdbc/create-table-",
"end": 480,
"score": 0.9992572665214539,
"start": 474,
"tag": "PASSWORD",
"value": "secret"
}
] | src/ldtab/init.clj | ontodev/ldtab.clj | 0 | (ns ldtab.init
(:require [clojure.java.jdbc :as jdbc]))
(defn create-database
"Creates an SQLite file with three tables:
1. 'ldtab' with columns: [key, value],
2. 'prefix' with columns: [prefix, base],
3. 'statement' with columns: [assertion, retraction, graph, subject, predicate, object, datatype, annotatio... | 109394 | (ns ldtab.init
(:require [clojure.java.jdbc :as jdbc]))
(defn create-database
"Creates an SQLite file with three tables:
1. 'ldtab' with columns: [key, value],
2. 'prefix' with columns: [prefix, base],
3. 'statement' with columns: [assertion, retraction, graph, subject, predicate, object, datatype, annotatio... | true | (ns ldtab.init
(:require [clojure.java.jdbc :as jdbc]))
(defn create-database
"Creates an SQLite file with three tables:
1. 'ldtab' with columns: [key, value],
2. 'prefix' with columns: [prefix, base],
3. 'statement' with columns: [assertion, retraction, graph, subject, predicate, object, datatype, annotatio... |
[
{
"context": " generate different wave forms.\"\n :author \"Karsten Schmidt\"}\n resonate2013.ex03_graph\n (:use [incanter cor",
"end": 204,
"score": 0.9998613595962524,
"start": 189,
"tag": "NAME",
"value": "Karsten Schmidt"
}
] | src/resonate2013/ex03_graph.clj | howthebodyworks/resonate-2013 | 0 | (ns
^{:doc "Brief intro to Incanter and concept of overtones/harmonics.
Displays some graphs of how harmonics are used to
generate different wave forms."
:author "Karsten Schmidt"}
resonate2013.ex03_graph
(:use [incanter core charts]))
(defn simple-plot
"Creates a graph of `f` in the in... | 99089 | (ns
^{:doc "Brief intro to Incanter and concept of overtones/harmonics.
Displays some graphs of how harmonics are used to
generate different wave forms."
:author "<NAME>"}
resonate2013.ex03_graph
(:use [incanter core charts]))
(defn simple-plot
"Creates a graph of `f` in the interval `x... | true | (ns
^{:doc "Brief intro to Incanter and concept of overtones/harmonics.
Displays some graphs of how harmonics are used to
generate different wave forms."
:author "PI:NAME:<NAME>END_PI"}
resonate2013.ex03_graph
(:use [incanter core charts]))
(defn simple-plot
"Creates a graph of `f` in t... |
[
{
"context": ";; Copyright © 2015-2020 Esko Luontola\n;; This software is released under the Apache Lic",
"end": 38,
"score": 0.9998846054077148,
"start": 25,
"tag": "NAME",
"value": "Esko Luontola"
},
{
"context": " 0 8))\n(def share-id (UUID. 0 9))\n(def share-key \"abc123\")\n\n(d... | test/territory_bro/domain/facade_test.clj | 3breadt/territory-bro | 2 | ;; Copyright © 2015-2020 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.domain.facade-test
(:require [clojure.test :refer :all]
[territory-bro.domain.facade :as facade]
[territory-... | 104052 | ;; Copyright © 2015-2020 <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.domain.facade-test
(:require [clojure.test :refer :all]
[territory-bro.domain.facade :as facade]
[territory-bro.dom... | true | ;; Copyright © 2015-2020 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.domain.facade-test
(:require [clojure.test :refer :all]
[territory-bro.domain.facade :as facade]
[ter... |
[
{
"context": " pip [\"2\" \"3\" \"4\" \"5\" \"6\" \"7\" \"8\" \"9\" \"10\" \"Jack\" \"Queen\" \"King\" \"Ace\"]]\n\t\t\t (Card. pip suit))))",
"end": 437,
"score": 0.5685515999794006,
"start": 433,
"tag": "NAME",
"value": "Jack"
}
] | Task/Playing-cards/Clojure/playing-cards.clj | djgoku/RosettaCodeData | 0 | (defrecord Card [pip suit]
Object
(toString [this] (str pip " of " suit)))
(defprotocol pDeck
(deal [this n])
(shuffle [this])
(newDeck [this])
(print [this]))
(deftype Deck [cards]
pDeck
(deal [this n] [(take n cards) (Deck. (drop n cards))])
(shuffle [this] (Deck. (shuffle cards)))
(newDeck [thi... | 60156 | (defrecord Card [pip suit]
Object
(toString [this] (str pip " of " suit)))
(defprotocol pDeck
(deal [this n])
(shuffle [this])
(newDeck [this])
(print [this]))
(deftype Deck [cards]
pDeck
(deal [this n] [(take n cards) (Deck. (drop n cards))])
(shuffle [this] (Deck. (shuffle cards)))
(newDeck [thi... | true | (defrecord Card [pip suit]
Object
(toString [this] (str pip " of " suit)))
(defprotocol pDeck
(deal [this n])
(shuffle [this])
(newDeck [this])
(print [this]))
(deftype Deck [cards]
pDeck
(deal [this n] [(take n cards) (Deck. (drop n cards))])
(shuffle [this] (Deck. (shuffle cards)))
(newDeck [thi... |
[
{
"context": "(ns ^{:author \"Andrea Richiardi\"\n :doc \"ExtractData Mojo for the resource vi",
"end": 31,
"score": 0.9998748302459717,
"start": 15,
"tag": "NAME",
"value": "Andrea Richiardi"
}
] | src/plugin/rest_resources_viz/extract.clj | elasticpath/rest-resource-viz | 4 | (ns ^{:author "Andrea Richiardi"
:doc "ExtractData Mojo for the resource visualization plugin"}
rest-resources-viz.extract
(:require [classlojure.core :as classlojure]
[clojure.java.io :as io]
[clojure.pprint :as pp]
[clojure.spec.alpha :as s]
[clojure.string ... | 90267 | (ns ^{:author "<NAME>"
:doc "ExtractData Mojo for the resource visualization plugin"}
rest-resources-viz.extract
(:require [classlojure.core :as classlojure]
[clojure.java.io :as io]
[clojure.pprint :as pp]
[clojure.spec.alpha :as s]
[clojure.string :as str]
... | true | (ns ^{:author "PI:NAME:<NAME>END_PI"
:doc "ExtractData Mojo for the resource visualization plugin"}
rest-resources-viz.extract
(:require [classlojure.core :as classlojure]
[clojure.java.io :as io]
[clojure.pprint :as pp]
[clojure.spec.alpha :as s]
[clojure.str... |
[
{
"context": "T=utf8\")\n\n(def cuadrantes-rows\n [{:name \"Rositas\"\n :leader \"Rossy Rutiaga\"\n :leader_em",
"end": 8015,
"score": 0.9996638298034668,
"start": 8008,
"tag": "NAME",
"value": "Rositas"
},
{
"context": "ws\n [{:name \"Rositas\"\n :le... | src/cc/models/cdb.clj | hectorqlucero/cc | 3 | (ns cc.models.cdb
(:require [cc.models.crud :refer :all]
[noir.util.crypt :as crypt]))
(def users-sql
"CREATE TABLE users (
id int(11) NOT NULL AUTO_INCREMENT,
lastname varchar(45) DEFAULT NULL,
firstname varchar(45) DEFAULT NULL,
username varchar(45) DEFAULT NULL,
password TEXT DEFAULT NULL,... | 100308 | (ns cc.models.cdb
(:require [cc.models.crud :refer :all]
[noir.util.crypt :as crypt]))
(def users-sql
"CREATE TABLE users (
id int(11) NOT NULL AUTO_INCREMENT,
lastname varchar(45) DEFAULT NULL,
firstname varchar(45) DEFAULT NULL,
username varchar(45) DEFAULT NULL,
password TEXT DEFAULT NULL,... | true | (ns cc.models.cdb
(:require [cc.models.crud :refer :all]
[noir.util.crypt :as crypt]))
(def users-sql
"CREATE TABLE users (
id int(11) NOT NULL AUTO_INCREMENT,
lastname varchar(45) DEFAULT NULL,
firstname varchar(45) DEFAULT NULL,
username varchar(45) DEFAULT NULL,
password TEXT DEFAULT NULL,... |
[
{
"context": " good explanation here https://www.ics.uci.edu/~alspaugh/cls/shr/allen.html )\n;; Allen defined 13 basic re",
"end": 861,
"score": 0.5651984810829163,
"start": 855,
"tag": "NAME",
"value": "spaugh"
}
] | explainers/time_count/explainer/c_allens_interval_algebra.clj | hiram-madelaine/time-count | 44 | (ns time-count.explainer.c-allens-interval-algebra
(:require
[time-count.core :refer :all]
[time-count.allens-algebra :refer [relation]]
[time-count.relation-bounded-intervals :refer [map->RelationBoundedInterval ->RelationBound relate-bound-to-ct]]
[time-count.iso8601 :refer [to-iso from-iso t->>]]
... | 89098 | (ns time-count.explainer.c-allens-interval-algebra
(:require
[time-count.core :refer :all]
[time-count.allens-algebra :refer [relation]]
[time-count.relation-bounded-intervals :refer [map->RelationBoundedInterval ->RelationBound relate-bound-to-ct]]
[time-count.iso8601 :refer [to-iso from-iso t->>]]
... | true | (ns time-count.explainer.c-allens-interval-algebra
(:require
[time-count.core :refer :all]
[time-count.allens-algebra :refer [relation]]
[time-count.relation-bounded-intervals :refer [map->RelationBoundedInterval ->RelationBound relate-bound-to-ct]]
[time-count.iso8601 :refer [to-iso from-iso t->>]]
... |
[
{
"context": "e222591126443015f5f462d9a177186c8701fb45a6ffee0daf1a178fc0f58cd309308fba7e6f011ac38c9cdd4580760f1d4560a84d5ca0355ecbbed2ab715a3350fe0c479050640bd0e77acec90c58c4d3dd0f5cf8d4510e68c8b12e087bd88cad349aafd2ab16b07b0b1b8276091217a44a9fe92fedacffff48092ee693af\\n\")\n\n;;;;; Utils\n;; to create session ... | clj-browserchannel-server/src/net/thegeez/browserchannel.clj | magomimmo/clj-browserchannel | 1 | (ns net.thegeez.browserchannel
"BrowserChannel server implementation in Clojure."
(:require [ring.middleware.params :as params]
[ring.util.codec :as codec]
[clojure.data.json :as json]
[clojure.string :as str]
[net.thegeez.async-adapter :as async-adapter])
(:import ... | 88803 | (ns net.thegeez.browserchannel
"BrowserChannel server implementation in Clojure."
(:require [ring.middleware.params :as params]
[ring.util.codec :as codec]
[clojure.data.json :as json]
[clojure.string :as str]
[net.thegeez.async-adapter :as async-adapter])
(:import ... | true | (ns net.thegeez.browserchannel
"BrowserChannel server implementation in Clojure."
(:require [ring.middleware.params :as params]
[ring.util.codec :as codec]
[clojure.data.json :as json]
[clojure.string :as str]
[net.thegeez.async-adapter :as async-adapter])
(:import ... |
[
{
"context": "mote-type :hornetq-wildfly,\n :username \"testuser\", :password \"testuser\"})\n\n(use-fixtures :once\n (",
"end": 1160,
"score": 0.9994636178016663,
"start": 1152,
"tag": "USERNAME",
"value": "testuser"
},
{
"context": "dfly,\n :username \"testuser... | integration-tests/test-clustering/integs/cluster_test.clj | kfowler/immutant | 0 | ;; Copyright 2008-2014 Red Hat, Inc, and individual contributors.
;;
;; This is free software; you can redistribute it and/or modify it
;; under the terms of the GNU Lesser General Public License as
;; published by the Free Software Foundation; either version 2.1 of
;; the License, or (at your option) any later version... | 85713 | ;; Copyright 2008-2014 Red Hat, Inc, and individual contributors.
;;
;; This is free software; you can redistribute it and/or modify it
;; under the terms of the GNU Lesser General Public License as
;; published by the Free Software Foundation; either version 2.1 of
;; the License, or (at your option) any later version... | true | ;; Copyright 2008-2014 Red Hat, Inc, and individual contributors.
;;
;; This is free software; you can redistribute it and/or modify it
;; under the terms of the GNU Lesser General Public License as
;; published by the Free Software Foundation; either version 2.1 of
;; the License, or (at your option) any later version... |
[
{
"context": ";;; Copyright 2019 Mitchell Kember. Subject to the MIT License.\n\n(ns twenty48.game\n ",
"end": 34,
"score": 0.9998916387557983,
"start": 19,
"tag": "NAME",
"value": "Mitchell Kember"
}
] | src/twenty48/game.clj | mk12/twenty48 | 0 | ;;; Copyright 2019 Mitchell Kember. Subject to the MIT License.
(ns twenty48.game
"Defines the game screen, where all the fun happens."
(:require [clojure.string :refer [upper-case]]
[clojure.math.numeric-tower :as math]
[seesaw.action :as a]
[seesaw.bind :as b]
[see... | 48368 | ;;; Copyright 2019 <NAME>. Subject to the MIT License.
(ns twenty48.game
"Defines the game screen, where all the fun happens."
(:require [clojure.string :refer [upper-case]]
[clojure.math.numeric-tower :as math]
[seesaw.action :as a]
[seesaw.bind :as b]
[seesaw.color... | true | ;;; Copyright 2019 PI:NAME:<NAME>END_PI. Subject to the MIT License.
(ns twenty48.game
"Defines the game screen, where all the fun happens."
(:require [clojure.string :refer [upper-case]]
[clojure.math.numeric-tower :as math]
[seesaw.action :as a]
[seesaw.bind :as b]
... |
[
{
"context": ";; Based on the Nature of Code\n;; by Daniel Shiffman\n;; http://natureofcode.com\n;;\n(ns videotest.flock",
"end": 52,
"score": 0.9998210072517395,
"start": 37,
"tag": "NAME",
"value": "Daniel Shiffman"
}
] | BigGiantProjectWhichNeedsToBeDecomposed/src/videotest/flock_tune/behavior.clj | PasDeChocolat/QuilCV | 3 | ;; Based on the Nature of Code
;; by Daniel Shiffman
;; http://natureofcode.com
;;
(ns videotest.flock-tune.behavior
(:require
[videotest.flock-tune.native-vector :as fvec]))
(defn dist-vehicle [loc vehicles]
(mapv (fn [v]
(let [d (fvec/distance (:location v) loc)]
[d v]))
vehicles... | 101571 | ;; Based on the Nature of Code
;; by <NAME>
;; http://natureofcode.com
;;
(ns videotest.flock-tune.behavior
(:require
[videotest.flock-tune.native-vector :as fvec]))
(defn dist-vehicle [loc vehicles]
(mapv (fn [v]
(let [d (fvec/distance (:location v) loc)]
[d v]))
vehicles))
(defn... | true | ;; Based on the Nature of Code
;; by PI:NAME:<NAME>END_PI
;; http://natureofcode.com
;;
(ns videotest.flock-tune.behavior
(:require
[videotest.flock-tune.native-vector :as fvec]))
(defn dist-vehicle [loc vehicles]
(mapv (fn [v]
(let [d (fvec/distance (:location v) loc)]
[d v]))
veh... |
[
{
"context": ";;; Copyright (C) 2012 Christian Pohlmann\n;;;\n;;; Licensed under The MIT License (see LICEN",
"end": 41,
"score": 0.9995748400688171,
"start": 23,
"tag": "NAME",
"value": "Christian Pohlmann"
}
] | src/runver/ltl.clj | christianpohlmann/runver | 0 | ;;; Copyright (C) 2012 Christian Pohlmann
;;;
;;; Licensed under The MIT License (see LICENSE)
(ns runver.ltl
(:use [matchure :only [cond-match]])
(:gen-class))
(def operators
^{:doc "Symbols representing LTL operators are mapped to their respective
precedence."}
{ '-> 1 'or 1 'and 2 'U 3 'R 3 'WX 3... | 13924 | ;;; Copyright (C) 2012 <NAME>
;;;
;;; Licensed under The MIT License (see LICENSE)
(ns runver.ltl
(:use [matchure :only [cond-match]])
(:gen-class))
(def operators
^{:doc "Symbols representing LTL operators are mapped to their respective
precedence."}
{ '-> 1 'or 1 'and 2 'U 3 'R 3 'WX 3 'X 3 'G 3 '... | true | ;;; Copyright (C) 2012 PI:NAME:<NAME>END_PI
;;;
;;; Licensed under The MIT License (see LICENSE)
(ns runver.ltl
(:use [matchure :only [cond-match]])
(:gen-class))
(def operators
^{:doc "Symbols representing LTL operators are mapped to their respective
precedence."}
{ '-> 1 'or 1 'and 2 'U 3 'R 3 'WX... |
[
{
"context": "y-queue)}]\n (dosync\n (chega-em! hospital \"guilherme\")\n (chega-em! hospital \"maria\")\n (chega",
"end": 908,
"score": 0.9531846046447754,
"start": 899,
"tag": "NAME",
"value": "guilherme"
},
{
"context": " hospital \"guilherme\")\n (chega-em!... | curso3/src/hospital/aula6.clj | Caporiccii/Clojure-Class | 0 | (ns hospital.aula6
(:use [clojure.pprint])
(:require [hospital.model :as h.model]))
(defn cabe-na-fila? [fila]
(-> fila
count
(< 5)))
(defn chega-em [fila pessoa]
(if (cabe-na-fila? fila)
(conj fila pessoa)
(throw (ex-info "Fila tá foda parceiro" {:tentando-adicionar pessoa}))))
(defn che... | 4381 | (ns hospital.aula6
(:use [clojure.pprint])
(:require [hospital.model :as h.model]))
(defn cabe-na-fila? [fila]
(-> fila
count
(< 5)))
(defn chega-em [fila pessoa]
(if (cabe-na-fila? fila)
(conj fila pessoa)
(throw (ex-info "Fila tá foda parceiro" {:tentando-adicionar pessoa}))))
(defn che... | true | (ns hospital.aula6
(:use [clojure.pprint])
(:require [hospital.model :as h.model]))
(defn cabe-na-fila? [fila]
(-> fila
count
(< 5)))
(defn chega-em [fila pessoa]
(if (cabe-na-fila? fila)
(conj fila pessoa)
(throw (ex-info "Fila tá foda parceiro" {:tentando-adicionar pessoa}))))
(defn che... |
[
{
"context": "nds this to the REPL\n(foo \"Somebody else\")\n\n(foo \"Felix\")\n\n(defn average\n \"I am a documentatio string he",
"end": 212,
"score": 0.9996911287307739,
"start": 207,
"tag": "NAME",
"value": "Felix"
}
] | backups/clojure-backup/playground/src/playground/core.clj | roskenet/Playground | 0 | (ns playground.core)
(defn foo
"I don't do a whole lot."
[x]
(println "Hello this is", x))
;Alt+Shift+L loads this file into the REPL
;Alt+Shift+P sends this to the REPL
(foo "Somebody else")
(foo "Felix")
(defn average
"I am a documentatio string here!"
[numbers]
(/ (apply + numbers) (count numbers)))
... | 32307 | (ns playground.core)
(defn foo
"I don't do a whole lot."
[x]
(println "Hello this is", x))
;Alt+Shift+L loads this file into the REPL
;Alt+Shift+P sends this to the REPL
(foo "Somebody else")
(foo "<NAME>")
(defn average
"I am a documentatio string here!"
[numbers]
(/ (apply + numbers) (count numbers)))... | true | (ns playground.core)
(defn foo
"I don't do a whole lot."
[x]
(println "Hello this is", x))
;Alt+Shift+L loads this file into the REPL
;Alt+Shift+P sends this to the REPL
(foo "Somebody else")
(foo "PI:NAME:<NAME>END_PI")
(defn average
"I am a documentatio string here!"
[numbers]
(/ (apply + numbers) (co... |
[
{
"context": " (first (:deck (get-runner))))))\n (is (= \"Corroder\" (:title (second (:deck (get-runner))))))\n ",
"end": 9885,
"score": 0.510136604309082,
"start": 9883,
"tag": "NAME",
"value": "ro"
},
{
"context": "le (second (:deck (get-runner))))))\n (is (= \"Patron\... | src/clj/test/cards/ice.clj | erbridge/netrunner | 0 | (ns test.cards.ice
(:require [game.core :as core]
[game.utils :refer :all]
[test.core :refer :all]
[test.utils :refer :all]
[test.macros :refer :all]
[clojure.test :refer :all]))
(deftest end-the-run
;; Since all ETR ice share a common ability, we only n... | 43158 | (ns test.cards.ice
(:require [game.core :as core]
[game.utils :refer :all]
[test.core :refer :all]
[test.utils :refer :all]
[test.macros :refer :all]
[clojure.test :refer :all]))
(deftest end-the-run
;; Since all ETR ice share a common ability, we only n... | true | (ns test.cards.ice
(:require [game.core :as core]
[game.utils :refer :all]
[test.core :refer :all]
[test.utils :refer :all]
[test.macros :refer :all]
[clojure.test :refer :all]))
(deftest end-the-run
;; Since all ETR ice share a common ability, we only n... |
[
{
"context": "(apply build-identity-table\n [\"Username\" username]\n [\"Link Expiration\" [:div {:style {:fl",
"end": 2726,
"score": 0.9820464253425598,
"start": 2718,
"tag": "USERNAME",
"value": "username"
},
{
"context": "expire-time (.now js/Date))\n ... | src/cljs/main/broadfcui/page/profile.cljs | ssyms/firecloud-ui | 26 | (ns broadfcui.page.profile
(:require
[dmohs.react :as react]
[clojure.string :as string]
[broadfcui.common :as common]
[broadfcui.common.components :as components]
[broadfcui.common.flex-utils :as flex]
[broadfcui.common.icons :as icons]
[broadfcui.common.links :as links]
[broadfcui.common.inp... | 71202 | (ns broadfcui.page.profile
(:require
[dmohs.react :as react]
[clojure.string :as string]
[broadfcui.common :as common]
[broadfcui.common.components :as components]
[broadfcui.common.flex-utils :as flex]
[broadfcui.common.icons :as icons]
[broadfcui.common.links :as links]
[broadfcui.common.inp... | true | (ns broadfcui.page.profile
(:require
[dmohs.react :as react]
[clojure.string :as string]
[broadfcui.common :as common]
[broadfcui.common.components :as components]
[broadfcui.common.flex-utils :as flex]
[broadfcui.common.icons :as icons]
[broadfcui.common.links :as links]
[broadfcui.common.inp... |
[
{
"context": "-------------------------------\n;;\n;;\n;; Author: PLIQUE Guillaume (Yomguithereal)\n;; Version: 0.1\n;;\n(ns clj-fuzz",
"end": 222,
"score": 0.999854326248169,
"start": 206,
"tag": "NAME",
"value": "PLIQUE Guillaume"
},
{
"context": "------------\n;;\n;;\n;; Aut... | test/clj_fuzzy/dice_test.clj | sooheon/clj-fuzzy | 222 | ;; -------------------------------------------------------------------
;; clj-fuzzy Sorensen Dice Coefficient Tests
;; -------------------------------------------------------------------
;;
;;
;; Author: PLIQUE Guillaume (Yomguithereal)
;; Version: 0.1
;;
(ns clj-fuzzy.dice-test
(:require [clojure.test :refer :al... | 36902 | ;; -------------------------------------------------------------------
;; clj-fuzzy Sorensen Dice Coefficient Tests
;; -------------------------------------------------------------------
;;
;;
;; Author: <NAME> (Yomguithereal)
;; Version: 0.1
;;
(ns clj-fuzzy.dice-test
(:require [clojure.test :refer :all]
... | true | ;; -------------------------------------------------------------------
;; clj-fuzzy Sorensen Dice Coefficient Tests
;; -------------------------------------------------------------------
;;
;;
;; Author: PI:NAME:<NAME>END_PI (Yomguithereal)
;; Version: 0.1
;;
(ns clj-fuzzy.dice-test
(:require [clojure.test :refer... |
[
{
"context": "ettings\n (value [env params]\n [{:id 1 :value \"Gorgon\"}\n {:id 2 :value \"Thraser\"}\n {:id 3 :valu",
"end": 506,
"score": 0.8227741718292236,
"start": 500,
"tag": "NAME",
"value": "Gorgon"
},
{
"context": "\n [{:id 1 :value \"Gorgon\"}\n {:id 2 :v... | src/demos/recipes/tabbed_interface_server.clj | weirp/fulcrodev | 0 | (ns recipes.tabbed-interface-server
(:require [om.next.server :as om]
[om.next.impl.parser :as op]
[fulcro.server :refer [defquery-root defquery-entity defmutation server-mutate]]
[taoensso.timbre :as timbre]
[fulcro.easy-server :as core]))
; This is the only thing we ... | 80807 | (ns recipes.tabbed-interface-server
(:require [om.next.server :as om]
[om.next.impl.parser :as op]
[fulcro.server :refer [defquery-root defquery-entity defmutation server-mutate]]
[taoensso.timbre :as timbre]
[fulcro.easy-server :as core]))
; This is the only thing we ... | true | (ns recipes.tabbed-interface-server
(:require [om.next.server :as om]
[om.next.impl.parser :as op]
[fulcro.server :refer [defquery-root defquery-entity defmutation server-mutate]]
[taoensso.timbre :as timbre]
[fulcro.easy-server :as core]))
; This is the only thing we ... |
[
{
"context": "tion-method)\n :email email\n :password new-password}})\n (auth-password/identifier->user-id email))\n\n",
"end": 1500,
"score": 0.9792216420173645,
"start": 1488,
"tag": "PASSWORD",
"value": "new-password"
}
] | code/src/sixsq/nuvla/server/resources/callback_join_group.clj | nuvla/server | 6 | (ns sixsq.nuvla.server.resources.callback-join-group
"
Allow invited user to join a group. The process creating this callback sends the
action link to the email address to be verified. When the execute link is
visited, the email identifier is marked as validated.
"
(:require
[sixsq.nuvla.auth.password :as auth-... | 63957 | (ns sixsq.nuvla.server.resources.callback-join-group
"
Allow invited user to join a group. The process creating this callback sends the
action link to the email address to be verified. When the execute link is
visited, the email identifier is marked as validated.
"
(:require
[sixsq.nuvla.auth.password :as auth-... | true | (ns sixsq.nuvla.server.resources.callback-join-group
"
Allow invited user to join a group. The process creating this callback sends the
action link to the email address to be verified. When the execute link is
visited, the email identifier is marked as validated.
"
(:require
[sixsq.nuvla.auth.password :as auth-... |
[
{
"context": "e\"\n :key-password \"keykey\"\n :client-auth :wa",
"end": 2295,
"score": 0.9945390224456787,
"start": 2289,
"tag": "PASSWORD",
"value": "keykey"
},
{
"context": "e\"\n :key-pas... | test/clj_http/test/conn_mgr_test.clj | thegeez/clj-http | 0 | (ns clj-http.test.conn-mgr-test
(:require [clj-http.conn-mgr :as conn-mgr]
[clj-http.core :as core]
[clj-http.test.core-test :refer [run-server]]
[clojure.test :refer :all]
[ring.adapter.jetty :as ring])
(:import (java.security KeyStore)
(org.apache.http.im... | 57445 | (ns clj-http.test.conn-mgr-test
(:require [clj-http.conn-mgr :as conn-mgr]
[clj-http.core :as core]
[clj-http.test.core-test :refer [run-server]]
[clojure.test :refer :all]
[ring.adapter.jetty :as ring])
(:import (java.security KeyStore)
(org.apache.http.im... | true | (ns clj-http.test.conn-mgr-test
(:require [clj-http.conn-mgr :as conn-mgr]
[clj-http.core :as core]
[clj-http.test.core-test :refer [run-server]]
[clojure.test :refer :all]
[ring.adapter.jetty :as ring])
(:import (java.security KeyStore)
(org.apache.http.im... |
[
{
"context": "odified from potemkin, v0.4.3 (https://github.com/ztellman/potemkin), MIT licnensed, Copyright Zachary Tellm",
"end": 73,
"score": 0.9985941052436829,
"start": 65,
"tag": "USERNAME",
"value": "ztellman"
},
{
"context": "b.com/ztellman/potemkin), MIT licnensed, Copyright... | web/src/from/potemkin/template.clj | Elknar/immutant | 275 | ;; Copied and modified from potemkin, v0.4.3 (https://github.com/ztellman/potemkin), MIT licnensed, Copyright Zachary Tellman
(ns ^:no-doc from.potemkin.template
(:require
[clojure.set :as s]
[from.riddley.walk :as r]
[from.riddley.compiler :as c]))
(defn- validate-body [externs args body]
(let [valid... | 56960 | ;; Copied and modified from potemkin, v0.4.3 (https://github.com/ztellman/potemkin), MIT licnensed, Copyright <NAME>
(ns ^:no-doc from.potemkin.template
(:require
[clojure.set :as s]
[from.riddley.walk :as r]
[from.riddley.compiler :as c]))
(defn- validate-body [externs args body]
(let [valid? (atom t... | true | ;; Copied and modified from potemkin, v0.4.3 (https://github.com/ztellman/potemkin), MIT licnensed, Copyright PI:NAME:<NAME>END_PI
(ns ^:no-doc from.potemkin.template
(:require
[clojure.set :as s]
[from.riddley.walk :as r]
[from.riddley.compiler :as c]))
(defn- validate-body [externs args body]
(let [... |
[
{
"context": "'t always match 1:1).\n\n (full-name->username \\\"Cam Saul\\\") ;-> \\\"cam\\\"\"\n [full-name]\n {:pre [(string? f",
"end": 2810,
"score": 0.999468982219696,
"start": 2802,
"tag": "NAME",
"value": "Cam Saul"
}
] | src/closed_issues_bot/slack.clj | metabase/slack-recently-closed-issues-bot | 0 | (ns closed-issues-bot.slack
(:require [cheshire.core :as json]
[clj-http.client :as http]
[closed-issues-bot.config :as config]))
(def ^:private ^String api-base-url "https://slack.com/api")
(defn- request-headers []
{"Accept" "application/json; charset=utf-8"
"Content-Type" "ap... | 53106 | (ns closed-issues-bot.slack
(:require [cheshire.core :as json]
[clj-http.client :as http]
[closed-issues-bot.config :as config]))
(def ^:private ^String api-base-url "https://slack.com/api")
(defn- request-headers []
{"Accept" "application/json; charset=utf-8"
"Content-Type" "ap... | true | (ns closed-issues-bot.slack
(:require [cheshire.core :as json]
[clj-http.client :as http]
[closed-issues-bot.config :as config]))
(def ^:private ^String api-base-url "https://slack.com/api")
(defn- request-headers []
{"Accept" "application/json; charset=utf-8"
"Content-Type" "ap... |
[
{
"context": "bric messaging broker\"\n :url \"https://github.com/puppetlabs/pcp-broker\"\n :license {:name \"Apache License, Ve",
"end": 174,
"score": 0.915447473526001,
"start": 164,
"tag": "USERNAME",
"value": "puppetlabs"
},
{
"context": "\n ... | project.clj | donoghuc/pcp-broker | 0 | (def http-async-client-version "1.3.0")
(defproject puppetlabs/pcp-broker "1.5.7-SNAPSHOT"
:description "PCP fabric messaging broker"
:url "https://github.com/puppetlabs/pcp-broker"
:license {:name "Apache License, Version 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0.html"}
:min-lein-vers... | 81004 | (def http-async-client-version "1.3.0")
(defproject puppetlabs/pcp-broker "1.5.7-SNAPSHOT"
:description "PCP fabric messaging broker"
:url "https://github.com/puppetlabs/pcp-broker"
:license {:name "Apache License, Version 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0.html"}
:min-lein-vers... | true | (def http-async-client-version "1.3.0")
(defproject puppetlabs/pcp-broker "1.5.7-SNAPSHOT"
:description "PCP fabric messaging broker"
:url "https://github.com/puppetlabs/pcp-broker"
:license {:name "Apache License, Version 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0.html"}
:min-lein-vers... |
[
{
"context": "https://adventofcode.com/2020/day/16\n;; author: Vitor SRG (vitorssrg@gmail.com)\n;; date: 2021-01-10\n;;",
"end": 230,
"score": 0.9998912811279297,
"start": 221,
"tag": "NAME",
"value": "Vitor SRG"
},
{
"context": "ntofcode.com/2020/day/16\n;; author: Vitor ... | aoc2020/d16/main.clj | vitorsrg/advent-of-code | 0 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; domain: Advent of Code 2020
;; challenge: Day 16: Ticket Translation
;; url: https://adventofcode.com/2020/day/16
;; author: Vitor SRG (vitorssrg@gmail.com)
;; date: 2021-01-10
;; execution: $ bash ./aoc2020/run.sh d16 ... | 31546 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; domain: Advent of Code 2020
;; challenge: Day 16: Ticket Translation
;; url: https://adventofcode.com/2020/day/16
;; author: <NAME> (<EMAIL>)
;; date: 2021-01-10
;; execution: $ bash ./aoc2020/run.sh d16 < [INPUT_FILE]
... | true | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; domain: Advent of Code 2020
;; challenge: Day 16: Ticket Translation
;; url: https://adventofcode.com/2020/day/16
;; author: PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI)
;; date: 2021-01-10
;; execution: $ bash ./aoc20... |
[
{
"context": " tests for utility functions\n;;\n;; Copyright 2012, F.M. de Waard & Vixu.com <fmw@vixu.com>.\n;;\n;; Licensed under t",
"end": 92,
"score": 0.9998603463172913,
"start": 79,
"tag": "NAME",
"value": "F.M. de Waard"
},
{
"context": "s\n;;\n;; Copyright 2012, F.M. de Waard... | test/alida/test/util.clj | fmw/alida | 6 | ;; test/alida/test/util.clj: tests for utility functions
;;
;; Copyright 2012, F.M. de Waard & Vixu.com <fmw@vixu.com>.
;;
;; 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.a... | 118460 | ;; test/alida/test/util.clj: tests for utility functions
;;
;; Copyright 2012, <NAME> & Vixu.com <<EMAIL>>.
;;
;; 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/li... | true | ;; test/alida/test/util.clj: tests for utility functions
;;
;; Copyright 2012, PI:NAME:<NAME>END_PI & Vixu.com <PI:EMAIL:<EMAIL>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
;;... |
[
{
"context": ", animation, and simulations\"\n ;; (Adrian Dobre and Dev Ramtal)\n (let [v-ball (get",
"end": 12398,
"score": 0.9998849630355835,
"start": 12386,
"tag": "NAME",
"value": "Adrian Dobre"
},
{
"context": " simulations\"\n ;; (A... | src/cljs/dev/reus/rondo/model.cljs | reus/rondo | 0 | (ns dev.reus.rondo.model
(:require [dev.reus.rondo.math :as math :refer [dot-product magnitude normalize
add subtract add-scaled distance angle
rotate scale-by projection para project
... | 59878 | (ns dev.reus.rondo.model
(:require [dev.reus.rondo.math :as math :refer [dot-product magnitude normalize
add subtract add-scaled distance angle
rotate scale-by projection para project
... | true | (ns dev.reus.rondo.model
(:require [dev.reus.rondo.math :as math :refer [dot-product magnitude normalize
add subtract add-scaled distance angle
rotate scale-by projection para project
... |
[
{
"context": "stroke hover-stroke})})))\n\n(def school-colors\n {\"Peruskoulut\"\n {:name \"Peruskoulut\" :color \"#C17B0D\"}\n \"Pe",
"end": 12907,
"score": 0.7839919328689575,
"start": 12896,
"tag": "NAME",
"value": "Peruskoulut"
},
{
"context": ")\n\n(def school-colors\n {\"... | webapp/src/cljs/lipas/ui/map/styles.cljs | lipas-liikuntapaikat/lipas | 49 | (ns lipas.ui.map.styles
(:require
["ol" :as ol]
[goog.color :as gcolor]
[goog.color.alpha :as gcolora]
[lipas.ui.mui :as mui]
[lipas.ui.svg :as svg]
[lipas.data.styles :as styles]))
(defn ->marker-style [opts]
(ol/style.Style.
#js{:image
(ol/style.Icon.
#js{:src (str "data:im... | 119760 | (ns lipas.ui.map.styles
(:require
["ol" :as ol]
[goog.color :as gcolor]
[goog.color.alpha :as gcolora]
[lipas.ui.mui :as mui]
[lipas.ui.svg :as svg]
[lipas.data.styles :as styles]))
(defn ->marker-style [opts]
(ol/style.Style.
#js{:image
(ol/style.Icon.
#js{:src (str "data:im... | true | (ns lipas.ui.map.styles
(:require
["ol" :as ol]
[goog.color :as gcolor]
[goog.color.alpha :as gcolora]
[lipas.ui.mui :as mui]
[lipas.ui.svg :as svg]
[lipas.data.styles :as styles]))
(defn ->marker-style [opts]
(ol/style.Style.
#js{:image
(ol/style.Icon.
#js{:src (str "data:im... |
[
{
"context": ".clj:1:7266)\n:key1\n;;=> :key1\n(def person {:name \"John McCarthy\" :country \"USA\"})\n;;=> #'chapter01.primitives/per",
"end": 1729,
"score": 0.999717116355896,
"start": 1716,
"tag": "NAME",
"value": "John McCarthy"
}
] | Chapter 01 Code/chapter01/src/chapter01/primitives.clj | PacktPublishing/Clojure-Programming-Cookbook | 14 | (ns chapter01.primitives)
(+ 1 2)
;;=> 3
(+ 1 2 3)
;;=> 6
(+ 1.2 3.5)
;;=> 4.7
(- 3 2)
;;=> 1
(- 1 2 3)
;;=> -4
(- 1)
;;=> -1
(* 5 2)
;;=> 10
(* 1 2 3 4 5)
;;=> 120
(/ 10 5)
;;=> 2
(/ 10 3)
;;=> 10/3
(float (/ 10 3))
;;=> 3.3333333
(double (/ 10 3))
;;=> 3.333333333333333
(quot 10 3)
;;=> 3
(rem 10 3)
;;=> 1
(bigdec... | 89889 | (ns chapter01.primitives)
(+ 1 2)
;;=> 3
(+ 1 2 3)
;;=> 6
(+ 1.2 3.5)
;;=> 4.7
(- 3 2)
;;=> 1
(- 1 2 3)
;;=> -4
(- 1)
;;=> -1
(* 5 2)
;;=> 10
(* 1 2 3 4 5)
;;=> 120
(/ 10 5)
;;=> 2
(/ 10 3)
;;=> 10/3
(float (/ 10 3))
;;=> 3.3333333
(double (/ 10 3))
;;=> 3.333333333333333
(quot 10 3)
;;=> 3
(rem 10 3)
;;=> 1
(bigdec... | true | (ns chapter01.primitives)
(+ 1 2)
;;=> 3
(+ 1 2 3)
;;=> 6
(+ 1.2 3.5)
;;=> 4.7
(- 3 2)
;;=> 1
(- 1 2 3)
;;=> -4
(- 1)
;;=> -1
(* 5 2)
;;=> 10
(* 1 2 3 4 5)
;;=> 120
(/ 10 5)
;;=> 2
(/ 10 3)
;;=> 10/3
(float (/ 10 3))
;;=> 3.3333333
(double (/ 10 3))
;;=> 3.333333333333333
(quot 10 3)
;;=> 3
(rem 10 3)
;;=> 1
(bigdec... |
[
{
"context": " (atom\n {:people\n [{:type :student :first \"Ben\" :last \"Bitdiddle\" :email \"benb@mit.edu\"}\n {",
"end": 441,
"score": 0.9998046159744263,
"start": 438,
"tag": "NAME",
"value": "Ben"
},
{
"context": ":people\n [{:type :student :first \"Ben\" :last \... | src/om_basic/core.cljs | imaximix/om-tutorials | 0 | (ns ^:figwheel-always om-basic.core
(:require [om.core :as om :include-macros true]
[om.dom :as dom :include-macros true]
[clojure.string :as string]))
(enable-console-print!)
(extend-type string
ICloneable
(-clone [s] (js/String. s)))
(extend-type js/String
ICloneable
(-clone [s] (... | 14343 | (ns ^:figwheel-always om-basic.core
(:require [om.core :as om :include-macros true]
[om.dom :as dom :include-macros true]
[clojure.string :as string]))
(enable-console-print!)
(extend-type string
ICloneable
(-clone [s] (js/String. s)))
(extend-type js/String
ICloneable
(-clone [s] (... | true | (ns ^:figwheel-always om-basic.core
(:require [om.core :as om :include-macros true]
[om.dom :as dom :include-macros true]
[clojure.string :as string]))
(enable-console-print!)
(extend-type string
ICloneable
(-clone [s] (js/String. s)))
(extend-type js/String
ICloneable
(-clone [s] (... |
[
{
"context": ";;Copyright (c) 2017 Rafik Naccache <rafik@fekr.tech>\n;;Distributed under the MIT Lic",
"end": 35,
"score": 0.9998638033866882,
"start": 21,
"tag": "NAME",
"value": "Rafik Naccache"
},
{
"context": ";;Copyright (c) 2017 Rafik Naccache <rafik@fekr.tech>\n;;Distributed u... | test/postagga/tagger_test.cljc | jffrydsr/postagga | 93 | ;;Copyright (c) 2017 Rafik Naccache <rafik@fekr.tech>
;;Distributed under the MIT License
(ns postagga.tagger-test
(:require [clojure.test :refer :all]
[postagga.tagger :refer :all]))
(def sample-model
{:states #{"P" "V" "N" "D"},
:transitions {["P" "V"] 0.3333333, ["P" "P"] 0.3333333, ["P" "N"] 0.... | 11951 | ;;Copyright (c) 2017 <NAME> <<EMAIL>>
;;Distributed under the MIT License
(ns postagga.tagger-test
(:require [clojure.test :refer :all]
[postagga.tagger :refer :all]))
(def sample-model
{:states #{"P" "V" "N" "D"},
:transitions {["P" "V"] 0.3333333, ["P" "P"] 0.3333333, ["P" "N"] 0.3333334, ["V" "D... | true | ;;Copyright (c) 2017 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
;;Distributed under the MIT License
(ns postagga.tagger-test
(:require [clojure.test :refer :all]
[postagga.tagger :refer :all]))
(def sample-model
{:states #{"P" "V" "N" "D"},
:transitions {["P" "V"] 0.3333333, ["P" "P"] 0.3333333,... |
[
{
"context": "c)))))\n\n(def foaf-data\n [[[:box/id \"zk\"] \"name\" \"Zack\" false]\n [[:box/id \"cindy\"] \"name\" \"Cindy\" fals",
"end": 2164,
"score": 0.9996160864830017,
"start": 2160,
"tag": "NAME",
"value": "Zack"
},
{
"context": "name\" \"Zack\" false]\n [[:box/id \"cin... | src/cljs-node/rx/node/box2/tests.cljs | zk/rx-lib | 0 | (ns rx.node.box2.tests
(:require [rx.kitchen-sink :as ks]
[rx.box2 :as bq]
[rx.box2.sql :as bsql]
#_[rx.box2.reagent :as br]
[rx.node.sqlite2 :as sql]
[rx.test :as test
:refer-macros [deftest
<deftest]]
[r... | 90144 | (ns rx.node.box2.tests
(:require [rx.kitchen-sink :as ks]
[rx.box2 :as bq]
[rx.box2.sql :as bsql]
#_[rx.box2.reagent :as br]
[rx.node.sqlite2 :as sql]
[rx.test :as test
:refer-macros [deftest
<deftest]]
[r... | true | (ns rx.node.box2.tests
(:require [rx.kitchen-sink :as ks]
[rx.box2 :as bq]
[rx.box2.sql :as bsql]
#_[rx.box2.reagent :as br]
[rx.node.sqlite2 :as sql]
[rx.test :as test
:refer-macros [deftest
<deftest]]
[r... |
[
{
"context": "t\")\n(def source-id \"newsfeed\")\n(def source-token \"c1bfb47c-39b8-4224-bb18-96edf85e3f7b\")\n(declare manifest)\n\n(defn choose-best-link\n \"F",
"end": 1435,
"score": 0.7950267195701599,
"start": 1399,
"tag": "KEY",
"value": "c1bfb47c-39b8-4224-bb18-96edf85e3f7b"
}
] | src/event_data_agents/agents/newsfeed/core.clj | CrossRef/event-data-agents | 3 | ; (with-open [feed (:body (client/get feed-url {:socket-timeout 10000 :conn-timeout 10000 :as :stream}))] (let [reader (new XmlReader feed)] (actions-from-xml-reader "XYZ" feed-url reader)))
(ns event-data-agents.agents.newsfeed.core
"Process every post that appears in a news feed.
Schedule and checkpointing:
... | 64572 | ; (with-open [feed (:body (client/get feed-url {:socket-timeout 10000 :conn-timeout 10000 :as :stream}))] (let [reader (new XmlReader feed)] (actions-from-xml-reader "XYZ" feed-url reader)))
(ns event-data-agents.agents.newsfeed.core
"Process every post that appears in a news feed.
Schedule and checkpointing:
... | true | ; (with-open [feed (:body (client/get feed-url {:socket-timeout 10000 :conn-timeout 10000 :as :stream}))] (let [reader (new XmlReader feed)] (actions-from-xml-reader "XYZ" feed-url reader)))
(ns event-data-agents.agents.newsfeed.core
"Process every post that appears in a news feed.
Schedule and checkpointing:
... |
[
{
"context": "; Copyright (c) 2017-present Walmart, Inc.\n;\n; Licensed under the Apache License, Vers",
"end": 36,
"score": 0.9219427704811096,
"start": 29,
"tag": "NAME",
"value": "Walmart"
}
] | test/com/walmartlabs/lacinia/indirect_schema_test.clj | henryw374/lacinia-pedestal | 0 | ; 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... | 93164 | ; Copyright (c) 2017-present <NAME>, Inc.
;
; Licensed under the Apache License, Version 2.0 (the "License")
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to ... | true | ; Copyright (c) 2017-present PI:NAME:<NAME>END_PI, Inc.
;
; Licensed under the Apache License, Version 2.0 (the "License")
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law... |
[
{
"context": "/some-obelisk-address\"\n :basic-auth [\"username\" \"password\"]})\n\n (def cookie (api/login \"admin\" ",
"end": 8943,
"score": 0.8967368006706238,
"start": 8935,
"tag": "USERNAME",
"value": "username"
},
{
"context": "sk-address\"\n :basic-au... | src/obelisk_exporter/core.clj | Akeboshiwind/obelisk-exporter | 0 | (ns obelisk-exporter.core
(:require [obelisk-ui.api :as api]
[bidi.ring :refer [make-handler]]
[ring.util.response :as res]
[ring.adapter.jetty :refer [run-jetty]]
[iapetos.core :as p]
[iapetos.export :as e]
[obelisk-exporter.metrics :as m]
... | 4185 | (ns obelisk-exporter.core
(:require [obelisk-ui.api :as api]
[bidi.ring :refer [make-handler]]
[ring.util.response :as res]
[ring.adapter.jetty :refer [run-jetty]]
[iapetos.core :as p]
[iapetos.export :as e]
[obelisk-exporter.metrics :as m]
... | true | (ns obelisk-exporter.core
(:require [obelisk-ui.api :as api]
[bidi.ring :refer [make-handler]]
[ring.util.response :as res]
[ring.adapter.jetty :refer [run-jetty]]
[iapetos.core :as p]
[iapetos.export :as e]
[obelisk-exporter.metrics :as m]
... |
[
{
"context": "t\n :keystore nil-keystore\n :key-password \"hunter2\"\n :join? false})\n\n(deftest test-run-jett",
"end": 2069,
"score": 0.999150276184082,
"start": 2062,
"tag": "PASSWORD",
"value": "hunter2"
},
{
"context": "jks\"\n :key-... | ring-jetty-adapter/test/ring/adapter/test/jetty.clj | jcf/ring | 0 | (ns ring.adapter.test.jetty
(:require [clojure.test :refer :all]
[ring.adapter.jetty :refer :all]
[clj-http.client :as http])
(:import [org.eclipse.jetty.util.thread QueuedThreadPool]
[org.eclipse.jetty.server Server Request SslConnectionFactory]
[org.eclipse.jetty.serv... | 115725 | (ns ring.adapter.test.jetty
(:require [clojure.test :refer :all]
[ring.adapter.jetty :refer :all]
[clj-http.client :as http])
(:import [org.eclipse.jetty.util.thread QueuedThreadPool]
[org.eclipse.jetty.server Server Request SslConnectionFactory]
[org.eclipse.jetty.serv... | true | (ns ring.adapter.test.jetty
(:require [clojure.test :refer :all]
[ring.adapter.jetty :refer :all]
[clj-http.client :as http])
(:import [org.eclipse.jetty.util.thread QueuedThreadPool]
[org.eclipse.jetty.server Server Request SslConnectionFactory]
[org.eclipse.jetty.serv... |
[
{
"context": "with core.async, showing off transducers.\n;;; \n;;; Eli Bendersky [http://eli.thegreenplace.net]\n;;; This code is i",
"end": 77,
"score": 0.9921272397041321,
"start": 64,
"tag": "NAME",
"value": "Eli Bendersky"
}
] | 2017/reducers-transducers-async/clojure/reducers/src/reducers/async_transducer.clj | mikiec84/code-for-blog | 1,199 | ;;; Pipeline with core.async, showing off transducers.
;;;
;;; Eli Bendersky [http://eli.thegreenplace.net]
;;; This code is in the public domain.
(ns reducers.async-transducer
(:require [clojure.core.async :as async]))
;;; Version 1 is similar to the squaring pipeline example in Go, described in:
;;; https://blog... | 89310 | ;;; Pipeline with core.async, showing off transducers.
;;;
;;; <NAME> [http://eli.thegreenplace.net]
;;; This code is in the public domain.
(ns reducers.async-transducer
(:require [clojure.core.async :as async]))
;;; Version 1 is similar to the squaring pipeline example in Go, described in:
;;; https://blog.golang... | true | ;;; Pipeline with core.async, showing off transducers.
;;;
;;; PI:NAME:<NAME>END_PI [http://eli.thegreenplace.net]
;;; This code is in the public domain.
(ns reducers.async-transducer
(:require [clojure.core.async :as async]))
;;; Version 1 is similar to the squaring pipeline example in Go, described in:
;;; https... |
[
{
"context": " max-queue-length 10\n password [:cached \"test-password\"]\n auth-principal \"user@test.com\"\n ",
"end": 1453,
"score": 0.9988710880279541,
"start": 1440,
"tag": "PASSWORD",
"value": "test-password"
},
{
"context": "[:cached \"test-password\"]\n... | waiter/test/waiter/auth/spnego_test.clj | mokshjawa/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... | 111324 | ;;
;; 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": " (spark/with-context (spark/context :app-name \"Hello World\" :master \"local[2]\")\n (is (= (->> (spa",
"end": 249,
"score": 0.6553745269775391,
"start": 244,
"tag": "NAME",
"value": "Hello"
},
{
"context": " 110))))\n;; (def sc (context :app-name \"H... | test/cav/cljspark_test.clj | sethyuan/cljspark | 1 | (ns cav.cljspark-test
(:require [cav.cljspark :as spark]
[cav.cljspark.rdd :as rdd]
[clojure.test :refer :all]))
(deftest spark-context-test
(testing "with context"
(spark/with-context (spark/context :app-name "Hello World" :master "local[2]")
(is (= (->> (spark/parallelize (range... | 61058 | (ns cav.cljspark-test
(:require [cav.cljspark :as spark]
[cav.cljspark.rdd :as rdd]
[clojure.test :refer :all]))
(deftest spark-context-test
(testing "with context"
(spark/with-context (spark/context :app-name "<NAME> World" :master "local[2]")
(is (= (->> (spark/parallelize (rang... | true | (ns cav.cljspark-test
(:require [cav.cljspark :as spark]
[cav.cljspark.rdd :as rdd]
[clojure.test :refer :all]))
(deftest spark-context-test
(testing "with context"
(spark/with-context (spark/context :app-name "PI:NAME:<NAME>END_PI World" :master "local[2]")
(is (= (->> (spark/par... |
[
{
"context": "l challge on Maratona Behind The Code\"\n :author \"Joao Pedro Poloni Ponce\"\n :email \"poloniponce@protonmail.ch\"\n :url \"htt",
"end": 156,
"score": 0.9998800754547119,
"start": 133,
"tag": "NAME",
"value": "Joao Pedro Poloni Ponce"
},
{
"context": "de\"\n :auth... | project.clj | MBTC-2020-TOP100/Clojure-Template | 0 | (defproject clojure-submission "0.1.0-SNAPSHOT"
:description "Clojure app to final challge on Maratona Behind The Code"
:author "Joao Pedro Poloni Ponce"
:email "poloniponce@protonmail.ch"
:url "https://github.com/MBTC-2020-TOP100/Clojure-Template"
:license {:name "Apache-2.0 License "
:url "http:... | 49891 | (defproject clojure-submission "0.1.0-SNAPSHOT"
:description "Clojure app to final challge on Maratona Behind The Code"
:author "<NAME>"
:email "<EMAIL>"
:url "https://github.com/MBTC-2020-TOP100/Clojure-Template"
:license {:name "Apache-2.0 License "
:url "http://www.apache.org/licenses/LICENSE-2... | true | (defproject clojure-submission "0.1.0-SNAPSHOT"
:description "Clojure app to final challge on Maratona Behind The Code"
:author "PI:NAME:<NAME>END_PI"
:email "PI:EMAIL:<EMAIL>END_PI"
:url "https://github.com/MBTC-2020-TOP100/Clojure-Template"
:license {:name "Apache-2.0 License "
:url "http://www.... |
[
{
"context": " ;;\n;; Author: Jon Anthony ",
"end": 1839,
"score": 0.9998437762260437,
"start": 1828,
"tag": "NAME",
"value": "Jon Anthony"
}
] | src/aerobio/htseq/termseq.clj | jsa-aerial/aerobio | 3 | ;;--------------------------------------------------------------------------;;
;; ;;
;; A E R O B I O . H T S E Q . T E R M S E Q ;;
;; ;;
;; P... | 21718 | ;;--------------------------------------------------------------------------;;
;; ;;
;; A E R O B I O . H T S E Q . T E R M S E Q ;;
;; ;;
;; P... | true | ;;--------------------------------------------------------------------------;;
;; ;;
;; A E R O B I O . H T S E Q . T E R M S E Q ;;
;; ;;
;; P... |
[
{
"context": "r \"retrieving data from larda\") :duration 0 :key \"retData\"})\r\n ; (async/go\r\n ; (let [response (asyn",
"end": 8466,
"score": 0.8774973154067993,
"start": 8459,
"tag": "KEY",
"value": "retData"
}
] | src/weblarda3/explorer.cljs | lacros-tropos/weblarda3 | 0 | (ns weblarda3.explorer
(:require
[reagent.core :as reagent]
[cljs.core.async :as async]
[cljs-http.client :as http]
[ajax.core :as ajax] ; library making error handling possible
[ajax.protocols :as protocol]
[antizer.reagent :as ant]
[clojure.string :as string]
[clojure.set :as ... | 58299 | (ns weblarda3.explorer
(:require
[reagent.core :as reagent]
[cljs.core.async :as async]
[cljs-http.client :as http]
[ajax.core :as ajax] ; library making error handling possible
[ajax.protocols :as protocol]
[antizer.reagent :as ant]
[clojure.string :as string]
[clojure.set :as ... | true | (ns weblarda3.explorer
(:require
[reagent.core :as reagent]
[cljs.core.async :as async]
[cljs-http.client :as http]
[ajax.core :as ajax] ; library making error handling possible
[ajax.protocols :as protocol]
[antizer.reagent :as ant]
[clojure.string :as string]
[clojure.set :as ... |
[
{
"context": ";; Copyright (c) 2015 <Diego Souza>\n\n;; Permission is hereby granted, free of charge",
"end": 34,
"score": 0.9998735189437866,
"start": 23,
"tag": "NAME",
"value": "Diego Souza"
}
] | src/storaged/src/leela/storaged/network/router.clj | locaweb/leela | 22 | ;; Copyright (c) 2015 <Diego Souza>
;; Permission is hereby granted, free of charge, to any person
;; obtaining a copy of this software and associated documentation
;; files (the "Software"), to deal in the Software without
;; restriction, including without limitation the rights to use, copy,
;; modify, merge, publish... | 28660 | ;; Copyright (c) 2015 <<NAME>>
;; Permission is hereby granted, free of charge, to any person
;; obtaining a copy of this software and associated documentation
;; files (the "Software"), to deal in the Software without
;; restriction, including without limitation the rights to use, copy,
;; modify, merge, publish, dis... | true | ;; Copyright (c) 2015 <PI:NAME:<NAME>END_PI>
;; Permission is hereby granted, free of charge, to any person
;; obtaining a copy of this software and associated documentation
;; files (the "Software"), to deal in the Software without
;; restriction, including without limitation the rights to use, copy,
;; modify, merge... |
[
{
"context": ";; Copyright 2014-2020 King\n;; Copyright 2009-2014 Ragnar Svensson, Christian Murray\n;; Licensed under the Defold Li",
"end": 111,
"score": 0.9998101592063904,
"start": 96,
"tag": "NAME",
"value": "Ragnar Svensson"
},
{
"context": "-2020 King\n;; Copyright 2009-2014 R... | editor/src/clj/editor/volatile_cache.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... | 53630 | ;; 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": "; MIT License\n;\n; Copyright (c) 2017 Frederic Merizen\n;\n; Permission is hereby granted, free of charge,",
"end": 53,
"score": 0.9998421669006348,
"start": 37,
"tag": "NAME",
"value": "Frederic Merizen"
}
] | src/plumula/soles.clj | plumula/soles | 0 | ; MIT License
;
; Copyright (c) 2017 Frederic Merizen
;
; Permission is hereby granted, free of charge, to any person obtaining a copy
; of this software and associated documentation files (the "Software"), to deal
; in the Software without restriction, including without limitation the rights
; to use, copy, modify, me... | 86979 | ; MIT License
;
; Copyright (c) 2017 <NAME>
;
; Permission is hereby granted, free of charge, to any person obtaining a copy
; of this software and associated documentation files (the "Software"), to deal
; in the Software without restriction, including without limitation the rights
; to use, copy, modify, merge, publi... | true | ; MIT License
;
; Copyright (c) 2017 PI:NAME:<NAME>END_PI
;
; Permission is hereby granted, free of charge, to any person obtaining a copy
; of this software and associated documentation files (the "Software"), to deal
; in the Software without restriction, including without limitation the rights
; to use, copy, modify... |
[
{
"context": "ils/->mailto\n {:email \"lipasinfo@jyu.fi\"\n :subject (tr :help/pe",
"end": 12632,
"score": 0.9999233484268188,
"start": 12616,
"tag": "EMAIL",
"value": "lipasinfo@jyu.fi"
}
] | webapp/src/cljs/lipas/ui/energy/views.cljs | lipas-liikuntapaikat/lipas | 49 | (ns lipas.ui.energy.views
(:require
[lipas.ui.charts :as charts]
[lipas.ui.components :as lui]
[lipas.ui.energy.events :as events]
[lipas.ui.energy.subs :as subs]
[lipas.ui.mui :as mui]
[lipas.ui.utils :refer [<== ==>] :as utils]
[reagent.core :as r]))
(defn form [{:keys [tr data on-change disab... | 109156 | (ns lipas.ui.energy.views
(:require
[lipas.ui.charts :as charts]
[lipas.ui.components :as lui]
[lipas.ui.energy.events :as events]
[lipas.ui.energy.subs :as subs]
[lipas.ui.mui :as mui]
[lipas.ui.utils :refer [<== ==>] :as utils]
[reagent.core :as r]))
(defn form [{:keys [tr data on-change disab... | true | (ns lipas.ui.energy.views
(:require
[lipas.ui.charts :as charts]
[lipas.ui.components :as lui]
[lipas.ui.energy.events :as events]
[lipas.ui.energy.subs :as subs]
[lipas.ui.mui :as mui]
[lipas.ui.utils :refer [<== ==>] :as utils]
[reagent.core :as r]))
(defn form [{:keys [tr data on-change disab... |
[
{
"context": "est-part-*\n (is (= \"easter\" (part-* max-key [\"eedadn\" \"drvtee\" \"eandsr\" \"raavrd\"\n ",
"end": 487,
"score": 0.6145433187484741,
"start": 484,
"tag": "KEY",
"value": "adn"
},
{
"context": "*\n (is (= \"easter\" (part-* max-key [\"eedadn\" ... | src/aoc/2016/06.clj | callum-oakley/advent-of-code | 2 | (ns aoc.2016.06
(:require
[aoc.vector :refer [transpose]]
[clojure.string :as str]
[clojure.test :refer [deftest is]]))
(defn part-* [opt messages]
(->> (transpose messages)
(map #(key (apply opt val (frequencies %))))
(apply str)))
(defn part-1 []
(->> "input/2016/06" slurp str/split-lin... | 98029 | (ns aoc.2016.06
(:require
[aoc.vector :refer [transpose]]
[clojure.string :as str]
[clojure.test :refer [deftest is]]))
(defn part-* [opt messages]
(->> (transpose messages)
(map #(key (apply opt val (frequencies %))))
(apply str)))
(defn part-1 []
(->> "input/2016/06" slurp str/split-lin... | true | (ns aoc.2016.06
(:require
[aoc.vector :refer [transpose]]
[clojure.string :as str]
[clojure.test :refer [deftest is]]))
(defn part-* [opt messages]
(->> (transpose messages)
(map #(key (apply opt val (frequencies %))))
(apply str)))
(defn part-1 []
(->> "input/2016/06" slurp str/split-lin... |
[
{
"context": ";; Copyright (c) Michal Kurťák\n;; All rights reserved.\n(ns ^:no-doc salt.api\n (",
"end": 30,
"score": 0.9998176693916321,
"start": 17,
"tag": "NAME",
"value": "Michal Kurťák"
},
{
"context": "ms {:eauth eauth\n :username username\n ... | src/salt/api.clj | mkurtak/clj-salt-api | 9 | ;; Copyright (c) Michal Kurťák
;; All rights reserved.
(ns ^:no-doc salt.api
(:require
[clojure.core.async :as a]
[clojure.string :as str]
[salt.core :as s]
[salt.http :as http]
[salt.retry :as retry]))
(def ending-slash #"/$")
(def starting-slash #"^/")
(defn- throw-err
"Simple wrapper that throws... | 12735 | ;; Copyright (c) <NAME>
;; All rights reserved.
(ns ^:no-doc salt.api
(:require
[clojure.core.async :as a]
[clojure.string :as str]
[salt.core :as s]
[salt.http :as http]
[salt.retry :as retry]))
(def ending-slash #"/$")
(def starting-slash #"^/")
(defn- throw-err
"Simple wrapper that throws except... | true | ;; Copyright (c) PI:NAME:<NAME>END_PI
;; All rights reserved.
(ns ^:no-doc salt.api
(:require
[clojure.core.async :as a]
[clojure.string :as str]
[salt.core :as s]
[salt.http :as http]
[salt.retry :as retry]))
(def ending-slash #"/$")
(def starting-slash #"^/")
(defn- throw-err
"Simple wrapper that... |
[
{
"context": " double-digits?)]\n (is (valid-password? 111111))\n (is (not (valid-password? 223450)))\n (is",
"end": 595,
"score": 0.9987189769744873,
"start": 589,
"tag": "PASSWORD",
"value": "111111"
},
{
"context": "-password? 111111))\n (is (not (valid-password... | clj/src/advent-of-code-2019/day04.clj | fabioyamate/advent-of-code | 0 | (ns advent-of-code-2019.day04
(:use clojure.test)
(:require [clojure.java.io :as io]))
;; Day 4 - Secure Container
;; https://adventofcode.com/2019/day/4
(defn digits
[input]
(seq (str input)))
(defn only-increasing-digits?
;; given the input is too small, doing super naive check
[input]
(= (sort (digi... | 29603 | (ns advent-of-code-2019.day04
(:use clojure.test)
(:require [clojure.java.io :as io]))
;; Day 4 - Secure Container
;; https://adventofcode.com/2019/day/4
(defn digits
[input]
(seq (str input)))
(defn only-increasing-digits?
;; given the input is too small, doing super naive check
[input]
(= (sort (digi... | true | (ns advent-of-code-2019.day04
(:use clojure.test)
(:require [clojure.java.io :as io]))
;; Day 4 - Secure Container
;; https://adventofcode.com/2019/day/4
(defn digits
[input]
(seq (str input)))
(defn only-increasing-digits?
;; given the input is too small, doing super naive check
[input]
(= (sort (digi... |
[
{
"context": ";;A Copyright (c) Michal Kurťák\n;; All rights reserved.\n(ns ^:no-doc salt.client.",
"end": 32,
"score": 0.9998041987419128,
"start": 19,
"tag": "NAME",
"value": "Michal Kurťák"
}
] | src/salt/client/request.clj | mkurtak/clj-salt-api | 9 | ;;A Copyright (c) Michal Kurťák
;; All rights reserved.
(ns ^:no-doc salt.client.request
(:require [clojure.core.async :as a]
[salt.api :as api]
[salt.core :as s]))
(defn create-request
[{:keys [:client :request]}]
(merge (select-keys client [::s/master-url ::s/login-response])
... | 120720 | ;;A Copyright (c) <NAME>
;; All rights reserved.
(ns ^:no-doc salt.client.request
(:require [clojure.core.async :as a]
[salt.api :as api]
[salt.core :as s]))
(defn create-request
[{:keys [:client :request]}]
(merge (select-keys client [::s/master-url ::s/login-response])
(::s/de... | true | ;;A Copyright (c) PI:NAME:<NAME>END_PI
;; All rights reserved.
(ns ^:no-doc salt.client.request
(:require [clojure.core.async :as a]
[salt.api :as api]
[salt.core :as s]))
(defn create-request
[{:keys [:client :request]}]
(merge (select-keys client [::s/master-url ::s/login-response])
... |
[
{
"context": "omment\n (db/cmd-create-or-update-greeting! {:id \"german\" :template \"Hallo, %s\"} {:connection (:db user/sy",
"end": 2156,
"score": 0.7507357001304626,
"start": 2150,
"tag": "USERNAME",
"value": "german"
},
{
"context": "tion (:db user/system)})\n (db/get-greeting ... | src/friboo_hello_world_full/api.clj | dryewo/friboo-hello-world-full | 4 | (ns friboo-hello-world-full.api
(:require [org.zalando.stups.friboo.system.http :refer [def-http-component]]
[org.zalando.stups.friboo.ring :refer :all]
[org.zalando.stups.friboo.log :as log]
[org.zalando.stups.friboo.config :refer [require-config]]
[io.sarnowski.swagge... | 73129 | (ns friboo-hello-world-full.api
(:require [org.zalando.stups.friboo.system.http :refer [def-http-component]]
[org.zalando.stups.friboo.ring :refer :all]
[org.zalando.stups.friboo.log :as log]
[org.zalando.stups.friboo.config :refer [require-config]]
[io.sarnowski.swagge... | true | (ns friboo-hello-world-full.api
(:require [org.zalando.stups.friboo.system.http :refer [def-http-component]]
[org.zalando.stups.friboo.ring :refer :all]
[org.zalando.stups.friboo.log :as log]
[org.zalando.stups.friboo.config :refer [require-config]]
[io.sarnowski.swagge... |
[
{
"context": ":identifiers first :identifier)]\n\n {:first_name firstName\n :oauth_user_id (:id linkedin-user)\n :las",
"end": 2049,
"score": 0.9974932670593262,
"start": 2040,
"tag": "NAME",
"value": "firstName"
},
{
"context": ":oauth_user_id (:id linkedin-user)\n :l... | src/clj/salava/oauth/linkedin.clj | Vilikkki/salava | 0 | (ns salava.oauth.linkedin
(:require [slingshot.slingshot :refer :all]
[clojure.set :refer [rename-keys]]
[clojure.string :refer [upper-case]]
[salava.oauth.db :as d]
[salava.core.countries :refer [all-countries]]
[salava.core.util :refer [get-site-url get-ba... | 28089 | (ns salava.oauth.linkedin
(:require [slingshot.slingshot :refer :all]
[clojure.set :refer [rename-keys]]
[clojure.string :refer [upper-case]]
[salava.oauth.db :as d]
[salava.core.countries :refer [all-countries]]
[salava.core.util :refer [get-site-url get-ba... | true | (ns salava.oauth.linkedin
(:require [slingshot.slingshot :refer :all]
[clojure.set :refer [rename-keys]]
[clojure.string :refer [upper-case]]
[salava.oauth.db :as d]
[salava.core.countries :refer [all-countries]]
[salava.core.util :refer [get-site-url get-ba... |
[
{
"context": "ription and validation\"\n :url \"http://github.com/plumatic/schema\"\n :license {:name \"Eclipse Public License",
"end": 160,
"score": 0.9995445609092712,
"start": 152,
"tag": "USERNAME",
"value": "plumatic"
},
{
"context": "uild \"1.0.5\"]\n ... | server/target/META-INF/leiningen/prismatic/schema/project.clj | OctavioBR/healthcheck | 0 | (defproject prismatic/schema "1.1.3"
:description "Clojure(Script) library for declarative data description and validation"
:url "http://github.com/plumatic/schema"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:profiles {:dev {:dependencies [[org.clojur... | 116799 | (defproject prismatic/schema "1.1.3"
:description "Clojure(Script) library for declarative data description and validation"
:url "http://github.com/plumatic/schema"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:profiles {:dev {:dependencies [[org.clojur... | true | (defproject prismatic/schema "1.1.3"
:description "Clojure(Script) library for declarative data description and validation"
:url "http://github.com/plumatic/schema"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:profiles {:dev {:dependencies [[org.clojur... |
[
{
"context": "g\"\n (is (= [{:color :green\n :name \"the name\"\n :message nil}]\n (fir",
"end": 1461,
"score": 0.581275224685669,
"start": 1458,
"tag": "NAME",
"value": "the"
},
{
"context": "r\"\n (is (= [{:color :green\n :name \"... | test/greenyet/parse_test.clj | galeksandrp/greenyet | 10 | (ns greenyet.parse-test
(:require [greenyet.parse :as sut]
[clojure.test :refer :all]))
(defn- first-non-nil-message [result]
(some->> result
second
flatten
(remove nil?)
first))
(deftest test-components
(testing "should accept simple config with key only"... | 55044 | (ns greenyet.parse-test
(:require [greenyet.parse :as sut]
[clojure.test :refer :all]))
(defn- first-non-nil-message [result]
(some->> result
second
flatten
(remove nil?)
first))
(deftest test-components
(testing "should accept simple config with key only"... | true | (ns greenyet.parse-test
(:require [greenyet.parse :as sut]
[clojure.test :refer :all]))
(defn- first-non-nil-message [result]
(some->> result
second
flatten
(remove nil?)
first))
(deftest test-components
(testing "should accept simple config with key only"... |
[
{
"context": "))\n\n(def pretend-database {:person {:id 42 :name \"Joe\" :address \"111 Nowhere\" :cc-number \"1234-4444-555",
"end": 2333,
"score": 0.9995977878570557,
"start": 2330,
"tag": "NAME",
"value": "Joe"
}
] | src/book/book/demos/server_query_security.cljs | levitanong/fulcro | 0 | (ns book.demos.server-query-security
(:require
[fulcro.client.data-fetch :as df]
[fulcro.client.primitives :as prim :refer [defsc]]
[fulcro.client.mutations :refer [defmutation]]
[com.rpl.specter :as s]
[clojure.set :as set]
[fulcro.client.dom :as dom]
[fulcro.server :as server]
[com.s... | 10730 | (ns book.demos.server-query-security
(:require
[fulcro.client.data-fetch :as df]
[fulcro.client.primitives :as prim :refer [defsc]]
[fulcro.client.mutations :refer [defmutation]]
[com.rpl.specter :as s]
[clojure.set :as set]
[fulcro.client.dom :as dom]
[fulcro.server :as server]
[com.s... | true | (ns book.demos.server-query-security
(:require
[fulcro.client.data-fetch :as df]
[fulcro.client.primitives :as prim :refer [defsc]]
[fulcro.client.mutations :refer [defmutation]]
[com.rpl.specter :as s]
[clojure.set :as set]
[fulcro.client.dom :as dom]
[fulcro.server :as server]
[com.s... |
[
{
"context": "nFactory\"\n :broker-user user\n :broker-password password})\n\n(defn sql-storage [db-spec]\n {:eva.v2.storage",
"end": 1189,
"score": 0.9987201690673828,
"start": 1181,
"tag": "PASSWORD",
"value": "password"
}
] | common.alpha/src/eva/catalog/common/alpha/config.clj | Workiva/eva-catalog | 1 | ;; Copyright 2018-2019 Workiva 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... | 104217 | ;; Copyright 2018-2019 Workiva 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 2018-2019 Workiva 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... |
[
{
"context": "\n [:h2 \"WhoAmI?\"]\n (bulletpoints\n [\"Klaus Azesberger\"\n [:a {:href \"https://twitter.com/Psychode",
"end": 422,
"score": 0.9998797178268433,
"start": 406,
"tag": "NAME",
"value": "Klaus Azesberger"
},
{
"context": "esberger\"\n [:a {:h... | docs/js/compiled/out/reveal/slides.cljs | kazesberger/git-ws-deck | 0 | (ns reveal.slides)
(defn bulletpoints [items]
(let [li-attributes {:class "fragment"}]
(vec (concat [:ul] (map #(vector :li li-attributes %) items)))))
(defn note [s]
[:aside {:class "notes"} s])
(def slides
[
[:section
[:h1 "git workshop"]
[:h3 "new austrian coding school"]]
[:section
... | 40038 | (ns reveal.slides)
(defn bulletpoints [items]
(let [li-attributes {:class "fragment"}]
(vec (concat [:ul] (map #(vector :li li-attributes %) items)))))
(defn note [s]
[:aside {:class "notes"} s])
(def slides
[
[:section
[:h1 "git workshop"]
[:h3 "new austrian coding school"]]
[:section
... | true | (ns reveal.slides)
(defn bulletpoints [items]
(let [li-attributes {:class "fragment"}]
(vec (concat [:ul] (map #(vector :li li-attributes %) items)))))
(defn note [s]
[:aside {:class "notes"} s])
(def slides
[
[:section
[:h1 "git workshop"]
[:h3 "new austrian coding school"]]
[:section
... |
[
{
"context": "og-in\n {:username username\n :password pass",
"end": 2357,
"score": 0.9984323382377625,
"start": 2349,
"tag": "USERNAME",
"value": "username"
},
{
"context": "rname\n :... | src/main/violit/model/account.cljs | eoogbe/violit-clj | 0 | ;;; Copyright 2022 Google 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 agreed ... | 24141 | ;;; Copyright 2022 Google 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 agreed ... | true | ;;; Copyright 2022 Google 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 agreed ... |
[
{
"context": "eftest basics\n (let [msg (mail/make-message :to \"one@example.com\"\n :from \"two@exampl",
"end": 294,
"score": 0.9999217987060547,
"start": 279,
"tag": "EMAIL",
"value": "one@example.com"
},
{
"context": "xample.com\"\n ... | test/test/appengine_magic/services/mail.clj | zenlambda/appengine-magic | 41 | (ns test.appengine-magic.services.mail
(:use clojure.test)
(:require [appengine-magic.services.mail :as mail]
[appengine-magic.testing :as ae-testing]))
(use-fixtures :each (ae-testing/local-services :all))
(deftest basics
(let [msg (mail/make-message :to "one@example.com"
... | 94129 | (ns test.appengine-magic.services.mail
(:use clojure.test)
(:require [appengine-magic.services.mail :as mail]
[appengine-magic.testing :as ae-testing]))
(use-fixtures :each (ae-testing/local-services :all))
(deftest basics
(let [msg (mail/make-message :to "<EMAIL>"
:... | true | (ns test.appengine-magic.services.mail
(:use clojure.test)
(:require [appengine-magic.services.mail :as mail]
[appengine-magic.testing :as ae-testing]))
(use-fixtures :each (ae-testing/local-services :all))
(deftest basics
(let [msg (mail/make-message :to "PI:EMAIL:<EMAIL>END_PI"
... |
[
{
"context": "k-table [:publicid :s]\n \t {:range-keydef [:editorid :s]\n \t \t:throughput {:read 2 :write 2} :block? t",
"end": 1190,
"score": 0.9160784482955933,
"start": 1188,
"tag": "KEY",
"value": "id"
},
{
"context": "s votes-table [:publicid :s]\n \t {:range-keydef [:userid... | src/hackvoter/data.clj | srgb/HackVoter | 0 | (ns hackvoter.data
(:require [cheshire.core :as json]
[clj-http.client :as http]
[clojure.string :refer [blank?]]
[environ.core :refer [env]]
[taoensso.faraday :as far]
[clj-time.core :as time]
[clojure.tools.logging :refer [warn error]]))
(def voti... | 104571 | (ns hackvoter.data
(:require [cheshire.core :as json]
[clj-http.client :as http]
[clojure.string :refer [blank?]]
[environ.core :refer [env]]
[taoensso.faraday :as far]
[clj-time.core :as time]
[clojure.tools.logging :refer [warn error]]))
(def voti... | true | (ns hackvoter.data
(:require [cheshire.core :as json]
[clj-http.client :as http]
[clojure.string :refer [blank?]]
[environ.core :refer [env]]
[taoensso.faraday :as far]
[clj-time.core :as time]
[clojure.tools.logging :refer [warn error]]))
(def voti... |
[
{
"context": "ent from login page\n (ui/page {:author \"Bor Hodošček/Hinoki Project\"\n :description",
"end": 895,
"score": 0.9998776316642761,
"start": 883,
"tag": "NAME",
"value": "Bor Hodošček"
},
{
"context": "\n (fn [ctx]\n (ui/pag... | src/cypress_editor/web_server.clj | borh/cypress-editor | 0 | ;; Copyright © 2016, JUXT LTD.
(ns cypress-editor.web-server
(:require
[bidi.bidi :refer [tag]]
[bidi.vhosts :refer [make-handler vhosts-model]]
[clojure.tools.logging :refer :all]
[com.stuartsierra.component :refer [Lifecycle using]]
[clojure.java.io :as io]
[cypress-editor.bulma-ui :as ui]
[sc... | 100232 | ;; Copyright © 2016, JUXT LTD.
(ns cypress-editor.web-server
(:require
[bidi.bidi :refer [tag]]
[bidi.vhosts :refer [make-handler vhosts-model]]
[clojure.tools.logging :refer :all]
[com.stuartsierra.component :refer [Lifecycle using]]
[clojure.java.io :as io]
[cypress-editor.bulma-ui :as ui]
[sc... | true | ;; Copyright © 2016, JUXT LTD.
(ns cypress-editor.web-server
(:require
[bidi.bidi :refer [tag]]
[bidi.vhosts :refer [make-handler vhosts-model]]
[clojure.tools.logging :refer :all]
[com.stuartsierra.component :refer [Lifecycle using]]
[clojure.java.io :as io]
[cypress-editor.bulma-ui :as ui]
[sc... |
[
{
"context": "sql://localhost/addiscore?user=addiscore&password=develop\"\n :patavi-task-silence-ti",
"end": 1048,
"score": 0.9973764419555664,
"start": 1041,
"tag": "PASSWORD",
"value": "develop"
}
] | server-cached/project.clj | ConnorStroomberg/patavi | 0 | (defproject server-cached "0.2.5-1"
:description "Patavi is a distributed system for exposing R as WAMP"
:license {:name "The MIT License"
:url "http://opensource.org/licenses/MIT"
:distribution :repo}
:url "http://patavi.com"
:plugins [[lein-environ "0.4.0"]]
:dependencies [[org.cloju... | 66685 | (defproject server-cached "0.2.5-1"
:description "Patavi is a distributed system for exposing R as WAMP"
:license {:name "The MIT License"
:url "http://opensource.org/licenses/MIT"
:distribution :repo}
:url "http://patavi.com"
:plugins [[lein-environ "0.4.0"]]
:dependencies [[org.cloju... | true | (defproject server-cached "0.2.5-1"
:description "Patavi is a distributed system for exposing R as WAMP"
:license {:name "The MIT License"
:url "http://opensource.org/licenses/MIT"
:distribution :repo}
:url "http://patavi.com"
:plugins [[lein-environ "0.4.0"]]
:dependencies [[org.cloju... |
[
{
"context": "#_(ns ^{:author \"John Alan McDonald\" :date \"2016-08-29\"\n :doc \"Run javadoc on z",
"end": 35,
"score": 0.9998741149902344,
"start": 17,
"tag": "NAME",
"value": "John Alan McDonald"
}
] | src/scripts/clojure/zana/scripts/doc/javadoc.clj | wahpenayo/zana | 2 | #_(ns ^{:author "John Alan McDonald" :date "2016-08-29"
:doc "Run javadoc on zana java source." }
zana.scripts.doc.javadoc)
;;------------------------------------------------------------------------------
;; need to add jdkX.Y.Z_bbb/lib/tools.jar to classpath for this to work.
;; probably easier to use... | 38035 | #_(ns ^{:author "<NAME>" :date "2016-08-29"
:doc "Run javadoc on zana java source." }
zana.scripts.doc.javadoc)
;;------------------------------------------------------------------------------
;; need to add jdkX.Y.Z_bbb/lib/tools.jar to classpath for this to work.
;; probably easier to use maven or a ... | true | #_(ns ^{:author "PI:NAME:<NAME>END_PI" :date "2016-08-29"
:doc "Run javadoc on zana java source." }
zana.scripts.doc.javadoc)
;;------------------------------------------------------------------------------
;; need to add jdkX.Y.Z_bbb/lib/tools.jar to classpath for this to work.
;; probably easier to u... |
[
{
"context": "(time/t -2 1900)\r\n :max (time/t -2 2100)}\r\n\r\n \"teraz\"\r\n \"w tej chwili\"\r\n \"w tym momencie\"\r\n (dateti",
"end": 195,
"score": 0.7857049703598022,
"start": 190,
"tag": "NAME",
"value": "teraz"
},
{
"context": "m momencie\"\r\n (datetime 2013 2 12 4 ... | resources/languages/pl/corpus/time.clj | guivn/duckling | 922 | (
; Context map
; Tuesday Feb 12, 2013 at 4:30am is the "now" for the tests
{:reference-time (time/t -2 2013 2 12 4 30 0)
:min (time/t -2 1900)
:max (time/t -2 2100)}
"teraz"
"w tej chwili"
"w tym momencie"
(datetime 2013 2 12 4 30 00)
"dziś"
"dzis"
"dzisiaj"
"obecnego dnia"
"... | 113855 | (
; Context map
; Tuesday Feb 12, 2013 at 4:30am is the "now" for the tests
{:reference-time (time/t -2 2013 2 12 4 30 0)
:min (time/t -2 1900)
:max (time/t -2 2100)}
"<NAME>"
"w tej chwili"
"w tym momencie"
(datetime 2013 2 12 4 30 00)
"d<NAME>"
"dzis"
"dzisiaj"
"obecnego dnia"... | true | (
; Context map
; Tuesday Feb 12, 2013 at 4:30am is the "now" for the tests
{:reference-time (time/t -2 2013 2 12 4 30 0)
:min (time/t -2 1900)
:max (time/t -2 2100)}
"PI:NAME:<NAME>END_PI"
"w tej chwili"
"w tym momencie"
(datetime 2013 2 12 4 30 00)
"dPI:NAME:<NAME>END_PI"
"dzis"
... |
[
{
"context": "))\n\n(defn clean-vehicle\n [o]\n (let [safe-keys [:id :year :make :model :color :gas_type :license_plate :vin\n :t",
"end": 336,
"score": 0.9207040071487427,
"start": 306,
"tag": "KEY",
"value": "id :year :make :model :color :"
},
{
"context": "let ... | src/api/vehicles.clj | Purple-Services/api-service | 8 | (ns api.vehicles
(:require [common.config :as config]
[common.db :refer [!select !insert mysql-escape-str]]
[common.util :refer [convert-timestamp]]
[clojure.set :refer [rename-keys]]
[clojure.string :as s]))
(defn clean-vehicle
[o]
(let [safe-keys [:id :year :make... | 24251 | (ns api.vehicles
(:require [common.config :as config]
[common.db :refer [!select !insert mysql-escape-str]]
[common.util :refer [convert-timestamp]]
[clojure.set :refer [rename-keys]]
[clojure.string :as s]))
(defn clean-vehicle
[o]
(let [safe-keys [:<KEY>gas_<KEY>... | true | (ns api.vehicles
(:require [common.config :as config]
[common.db :refer [!select !insert mysql-escape-str]]
[common.util :refer [convert-timestamp]]
[clojure.set :refer [rename-keys]]
[clojure.string :as s]))
(defn clean-vehicle
[o]
(let [safe-keys [:PI:KEY:<KEY>EN... |
[
{
"context": "ach test-utils/reset-db-fixture)\n\n(def test-user \"the-user\")\n(def test-pass \"usersecret\")\n\n(def test-admin-u",
"end": 363,
"score": 0.9602493643760681,
"start": 355,
"tag": "USERNAME",
"value": "the-user"
},
{
"context": "ture)\n\n(def test-user \"the-user\")\n... | test/clj/m_cal/booking_tests.clj | jaittola/m-cal | 0 | (ns m-cal.booking-tests
(:require [clojure.test :refer [deftest is testing use-fixtures]]
[clojure.string :refer [blank?]]
[m-cal.test-utils :as test-utils]
[m-cal.config :as app-config]))
(use-fixtures :once test-utils/setup-handler-config-fixture)
(use-fixtures :each test-utils/... | 109366 | (ns m-cal.booking-tests
(:require [clojure.test :refer [deftest is testing use-fixtures]]
[clojure.string :refer [blank?]]
[m-cal.test-utils :as test-utils]
[m-cal.config :as app-config]))
(use-fixtures :once test-utils/setup-handler-config-fixture)
(use-fixtures :each test-utils/... | true | (ns m-cal.booking-tests
(:require [clojure.test :refer [deftest is testing use-fixtures]]
[clojure.string :refer [blank?]]
[m-cal.test-utils :as test-utils]
[m-cal.config :as app-config]))
(use-fixtures :once test-utils/setup-handler-config-fixture)
(use-fixtures :each test-utils/... |
[
{
"context": "key \"YOUR-API-KEY-HERE\"\n ::secret \"testSecret123\"})\n\n (def post-credential-response\n (post-cre",
"end": 4230,
"score": 0.9953624606132507,
"start": 4217,
"tag": "KEY",
"value": "testSecret123"
}
] | src/nuid/clj_example.clj | NuID/clj-example | 1 | (ns nuid.clj-example
(:require
[clj-http.client :as http]
[clojure.data.json :as json]
[nuid.credential :as credential]
[nuid.credential.challenge :as challenge]
[nuid.credential.lib :as credential.lib]
[nuid.zk.protocol :as zk.protocol]))
(def ^:private encode-body
"NOTE: `nuid.credential.lib/st... | 108829 | (ns nuid.clj-example
(:require
[clj-http.client :as http]
[clojure.data.json :as json]
[nuid.credential :as credential]
[nuid.credential.challenge :as challenge]
[nuid.credential.lib :as credential.lib]
[nuid.zk.protocol :as zk.protocol]))
(def ^:private encode-body
"NOTE: `nuid.credential.lib/st... | true | (ns nuid.clj-example
(:require
[clj-http.client :as http]
[clojure.data.json :as json]
[nuid.credential :as credential]
[nuid.credential.challenge :as challenge]
[nuid.credential.lib :as credential.lib]
[nuid.zk.protocol :as zk.protocol]))
(def ^:private encode-body
"NOTE: `nuid.credential.lib/st... |
[
{
"context": ";\n; Copyright 2020 AppsFlyer\n;\n; Licensed under the Apache License, Version 2.",
"end": 28,
"score": 0.9393107891082764,
"start": 19,
"tag": "USERNAME",
"value": "AppsFlyer"
},
{
"context": "dentical both places.\"\n (let [fields {\"name\" \"John Smith\"\n ... | src/test/clojure/com/appsflyer/donkey/client_test.clj | svanburen/donkey | 1 | ;
; Copyright 2020 AppsFlyer
;
; Licensed under the Apache License, Version 2.0 (the "License")
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writing, s... | 83866 | ;
; Copyright 2020 AppsFlyer
;
; Licensed under the Apache License, Version 2.0 (the "License")
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writing, s... | true | ;
; Copyright 2020 AppsFlyer
;
; Licensed under the Apache License, Version 2.0 (the "License")
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writing, s... |
[
{
"context": " \"Code Complete 2nd Edition\"\n :author \"Steve McConnell\"\n :year 2004}\n {:title \"Clea",
"end": 266,
"score": 0.9998973608016968,
"start": 251,
"tag": "NAME",
"value": "Steve McConnell"
},
{
"context": " {:title \"Clean Code\"... | 04-clojure/01-examples/05-get-and-unit-test/test/core/books_test.clj | jersson/microservices-templates | 1 | (ns core.books-test
(:require [clojure.test :refer :all]
[core.books :as books]))
(deftest get-all-books-test
(testing "Should return the same books"
(let [books
[{:title "Code Complete 2nd Edition"
:author "Steve McConnell"
:year 2004}
{:title "Clean Co... | 53524 | (ns core.books-test
(:require [clojure.test :refer :all]
[core.books :as books]))
(deftest get-all-books-test
(testing "Should return the same books"
(let [books
[{:title "Code Complete 2nd Edition"
:author "<NAME>"
:year 2004}
{:title "Clean Code"
... | true | (ns core.books-test
(:require [clojure.test :refer :all]
[core.books :as books]))
(deftest get-all-books-test
(testing "Should return the same books"
(let [books
[{:title "Code Complete 2nd Edition"
:author "PI:NAME:<NAME>END_PI"
:year 2004}
{:title "Cle... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.