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": "List) person))\n\n; Data seeds\n(def wille (Person. \"Wille\"))\n(def becka (Person. \"Becka\"))\n(def jacob (Pers",
"end": 509,
"score": 0.9711285829544067,
"start": 504,
"tag": "NAME",
"value": "Wille"
},
{
"context": "def wille (Person. \"Wille\"))\n(def becka (Perso... | contact_list.clj | buren/polyglot-contact-list | 0 | (ns contactlist)
(defrecord Person [name])
(defn sayHiTo [person otherPerson]
(str "Hi " (:name person) ", my name is " (:name otherPerson) "."))
(defrecord ContactList [owner contacts])
(defn getContactsByName [contactList name]
(filter #(.startsWith (.name %) name) (:contacts contactList)))
(defn getContactByNa... | 85300 | (ns contactlist)
(defrecord Person [name])
(defn sayHiTo [person otherPerson]
(str "Hi " (:name person) ", my name is " (:name otherPerson) "."))
(defrecord ContactList [owner contacts])
(defn getContactsByName [contactList name]
(filter #(.startsWith (.name %) name) (:contacts contactList)))
(defn getContactByNa... | true | (ns contactlist)
(defrecord Person [name])
(defn sayHiTo [person otherPerson]
(str "Hi " (:name person) ", my name is " (:name otherPerson) "."))
(defrecord ContactList [owner contacts])
(defn getContactsByName [contactList name]
(filter #(.startsWith (.name %) name) (:contacts contactList)))
(defn getContactByNa... |
[
{
"context": "; Copyright (c) Rich Hickey. All rights reserved.\n; The use and distributio",
"end": 29,
"score": 0.9998058676719666,
"start": 18,
"tag": "NAME",
"value": "Rich Hickey"
}
] | server/target/clojure/uuid.clj | OctavioBR/healthcheck | 14 | ; Copyright (c) Rich Hickey. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
; which can be found in the file epl-v10.html at the root of this distribution.
; By using this software in any ... | 79954 | ; Copyright (c) <NAME>. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
; which can be found in the file epl-v10.html at the root of this distribution.
; By using this software in any fashi... | true | ; Copyright (c) PI:NAME:<NAME>END_PI. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
; which can be found in the file epl-v10.html at the root of this distribution.
; By using this softwar... |
[
{
"context": "env (rand-env \"prod\")\n :key (rand-key \"service1\")\n :version \"1",
"end": 721,
"score": 0.8012000918388367,
"start": 717,
"tag": "KEY",
"value": "rand"
},
{
"context": "env \"prod\")\n :key (rand-key \"... | 1config-core/test/com/brunobonacci/oneconfig/backend_test.clj | obohrer/1config | 1 | (ns com.brunobonacci.oneconfig.backend-test
(:refer-clojure :exclude [find load list])
(:require [com.brunobonacci.oneconfig.backend :refer :all]
[com.brunobonacci.oneconfig.backends.in-memory :refer [in-memory-config-backend]]
[com.brunobonacci.oneconfig.backends.dynamo :refer [dynamo-confi... | 85332 | (ns com.brunobonacci.oneconfig.backend-test
(:refer-clojure :exclude [find load list])
(:require [com.brunobonacci.oneconfig.backend :refer :all]
[com.brunobonacci.oneconfig.backends.in-memory :refer [in-memory-config-backend]]
[com.brunobonacci.oneconfig.backends.dynamo :refer [dynamo-confi... | true | (ns com.brunobonacci.oneconfig.backend-test
(:refer-clojure :exclude [find load list])
(:require [com.brunobonacci.oneconfig.backend :refer :all]
[com.brunobonacci.oneconfig.backends.in-memory :refer [in-memory-config-backend]]
[com.brunobonacci.oneconfig.backends.dynamo :refer [dynamo-confi... |
[
{
"context": "->field :key :value Setting)]\n (if (= key \"settings-last-updated\")\n (cache/update-settings-last-updated!)",
"end": 1402,
"score": 0.9798887372016907,
"start": 1381,
"tag": "KEY",
"value": "settings-last-updated"
}
] | c#-metabase/src/metabase/cmd/rotate_encryption_key.clj | hanakhry/Crime_Admin | 0 | (ns metabase.cmd.rotate-encryption-key
(:require [cheshire.core :as json]
[clojure.java.jdbc :as jdbc]
[metabase.db :as mdb]
[metabase.db.connection :as mdb.conn]
[metabase.models :refer [Database Setting]]
[metabase.models.setting.cache :as cache]
... | 13712 | (ns metabase.cmd.rotate-encryption-key
(:require [cheshire.core :as json]
[clojure.java.jdbc :as jdbc]
[metabase.db :as mdb]
[metabase.db.connection :as mdb.conn]
[metabase.models :refer [Database Setting]]
[metabase.models.setting.cache :as cache]
... | true | (ns metabase.cmd.rotate-encryption-key
(:require [cheshire.core :as json]
[clojure.java.jdbc :as jdbc]
[metabase.db :as mdb]
[metabase.db.connection :as mdb.conn]
[metabase.models :refer [Database Setting]]
[metabase.models.setting.cache :as cache]
... |
[
{
"context": ".test.std\n\n \"Testing `convex.std`.\"\n\n {:author \"Adam Helinski\"}\n\n (:refer-clojure :exclude [+\n ",
"end": 73,
"score": 0.9984833002090454,
"start": 60,
"tag": "NAME",
"value": "Adam Helinski"
}
] | project/cvm/src/clj/test/convex/test/std.clj | rosejn/convex.cljc | 30 | (ns convex.test.std
"Testing `convex.std`."
{:author "Adam Helinski"}
(:refer-clojure :exclude [+
-
*
<
<=
==
>=
>
... | 34768 | (ns convex.test.std
"Testing `convex.std`."
{:author "<NAME>"}
(:refer-clojure :exclude [+
-
*
<
<=
==
>=
>
... | true | (ns convex.test.std
"Testing `convex.std`."
{:author "PI:NAME:<NAME>END_PI"}
(:refer-clojure :exclude [+
-
*
<
<=
==
>=
... |
[
{
"context": "1505 -118.274 2 101.0]\n [98 \"Lucky Baldwin's Pub\" 7 34.1454 -118.149 2 100.0]]\n ",
"end": 6270,
"score": 0.6239919662475586,
"start": 6264,
"tag": "NAME",
"value": "aldwin"
},
{
"context": "lated columns play well with joins\"\n (is (=... | c#-metabase/test/metabase/query_processor_test/expressions_test.clj | hanakhry/Crime_Admin | 0 | (ns metabase.query-processor-test.expressions-test
"Tests for expressions (calculated columns)."
(:require [clojure.java.jdbc :as jdbc]
[clojure.string :as str]
[clojure.test :refer :all]
[java-time :as t]
[medley.core :as m]
[metabase.driver :as driver]
... | 49429 | (ns metabase.query-processor-test.expressions-test
"Tests for expressions (calculated columns)."
(:require [clojure.java.jdbc :as jdbc]
[clojure.string :as str]
[clojure.test :refer :all]
[java-time :as t]
[medley.core :as m]
[metabase.driver :as driver]
... | true | (ns metabase.query-processor-test.expressions-test
"Tests for expressions (calculated columns)."
(:require [clojure.java.jdbc :as jdbc]
[clojure.string :as str]
[clojure.test :refer :all]
[java-time :as t]
[medley.core :as m]
[metabase.driver :as driver]
... |
[
{
"context": "ith-temporary-setting-values [email-from-address \"metamailman@metabase.com\"]\n (mt/with-fake-inbox\n (with-redefs ",
"end": 2294,
"score": 0.9999294281005859,
"start": 2270,
"tag": "EMAIL",
"value": "metamailman@metabase.com"
},
{
"context": " (let [r... | c#-metabase/enterprise/backend/test/metabase_enterprise/sandbox/pulse_test.clj | hanakhry/Crime_Admin | 0 | (ns metabase-enterprise.sandbox.pulse-test
(:require [clojure.data.csv :as csv]
[clojure.java.io :as io]
[clojure.test :refer :all]
[medley.core :as m]
[metabase.email.messages :as messages]
[metabase.models :refer [Card Pulse PulseCard PulseChannel PulseCha... | 57255 | (ns metabase-enterprise.sandbox.pulse-test
(:require [clojure.data.csv :as csv]
[clojure.java.io :as io]
[clojure.test :refer :all]
[medley.core :as m]
[metabase.email.messages :as messages]
[metabase.models :refer [Card Pulse PulseCard PulseChannel PulseCha... | true | (ns metabase-enterprise.sandbox.pulse-test
(:require [clojure.data.csv :as csv]
[clojure.java.io :as io]
[clojure.test :refer :all]
[medley.core :as m]
[metabase.email.messages :as messages]
[metabase.models :refer [Card Pulse PulseCard PulseChannel PulseCha... |
[
{
"context": "d is not\n `reduced`\n\n ```clojure\n (-> {:name \\\"Ivan\\\" :age 17}\n (then #(update % :age inc)))\n =",
"end": 9218,
"score": 0.9996825456619263,
"start": 9214,
"tag": "NAME",
"value": "Ivan"
},
{
"context": "\n (then #(update % :age inc)))\n => {:nam... | src/main/ribelo/fatum.cljc | ribelo/fatum | 6 | (ns ribelo.fatum
(:refer-clojure :exclude [-> ->> isa? and or every? some])
#?(:cljs
(:require-macros [ribelo.fatum :refer [catching catch-errors attempt -> ->> when-ok if-ok and or]]))
(:require
#?(:clj [clojure.core :as core]
:cljs [cljs.core :as core]))
#?(:clj (:import
(ribelo.fatum ... | 57352 | (ns ribelo.fatum
(:refer-clojure :exclude [-> ->> isa? and or every? some])
#?(:cljs
(:require-macros [ribelo.fatum :refer [catching catch-errors attempt -> ->> when-ok if-ok and or]]))
(:require
#?(:clj [clojure.core :as core]
:cljs [cljs.core :as core]))
#?(:clj (:import
(ribelo.fatum ... | true | (ns ribelo.fatum
(:refer-clojure :exclude [-> ->> isa? and or every? some])
#?(:cljs
(:require-macros [ribelo.fatum :refer [catching catch-errors attempt -> ->> when-ok if-ok and or]]))
(:require
#?(:clj [clojure.core :as core]
:cljs [cljs.core :as core]))
#?(:clj (:import
(ribelo.fatum ... |
[
{
"context": "ns under the License.\n;;\n;; Copyright © 2013-2022, Kenneth Leung. All rights reserved.\n\n(ns czlab.test.nettio.file",
"end": 597,
"score": 0.9998586773872375,
"start": 584,
"tag": "NAME",
"value": "Kenneth Leung"
}
] | src/test/clojure/czlab/test/nettio/files.clj | llnek/nettio | 0 | ;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writing, software
;; distributed ... | 85460 | ;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writing, software
;; distributed ... | true | ;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writing, software
;; distributed ... |
[
{
"context": "\n (:refer-clojure :exclude [byte])\n #^{:author \"Nurullah Akkaya\",\n :doc \"Firmata Library for Clojure.\"}\n (:u",
"end": 85,
"score": 0.9998813271522522,
"start": 70,
"tag": "NAME",
"value": "Nurullah Akkaya"
}
] | src/clodiuno/firmata.clj | rwaldron/clodiuno | 0 | (ns clodiuno.firmata
(:refer-clojure :exclude [byte])
#^{:author "Nurullah Akkaya",
:doc "Firmata Library for Clojure."}
(:use clodiuno.core)
(:import (java.io InputStream)
(gnu.io SerialPort CommPortIdentifier
SerialPortEventListener SerialPortEvent
NoSuchPortException)))
(def DIGITAL-MESSA... | 61821 | (ns clodiuno.firmata
(:refer-clojure :exclude [byte])
#^{:author "<NAME>",
:doc "Firmata Library for Clojure."}
(:use clodiuno.core)
(:import (java.io InputStream)
(gnu.io SerialPort CommPortIdentifier
SerialPortEventListener SerialPortEvent
NoSuchPortException)))
(def DIGITAL-MESSAGE 0x90)... | true | (ns clodiuno.firmata
(:refer-clojure :exclude [byte])
#^{:author "PI:NAME:<NAME>END_PI",
:doc "Firmata Library for Clojure."}
(:use clodiuno.core)
(:import (java.io InputStream)
(gnu.io SerialPort CommPortIdentifier
SerialPortEventListener SerialPortEvent
NoSuchPortException)))
(def DIGITAL-... |
[
{
"context": "ter-key.json\"))\n(def token-expiring-in-year-2515 \"eyJraWQiOiJ0ZXN0LWtleSIsImFsZyI6IlJTMjU2In0.eyJpc3MiOiJJU1NVRVIiLCJhdWQiOiJDTElFTlRfSUQiLCJleHAiOjE3MjA3OTkzMjUyLCJpYXQiOjE0Mzk5OTI3NDAsInN1YiI6IlNVQkpFQ1QiLCJyb2xlIjoiYWRtaW4iLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiZW1haWwiOiJlbWFpbEBhZGRyZXNzLmNvbSJ9.... | test/objective8/unit/workflows/stonecutter_test.clj | d-cent/objective8 | 23 | (ns objective8.unit.workflows.stonecutter-test
(:require [midje.sweet :refer :all]
[stonecutter-oauth.client :as soc]
[stonecutter-oauth.jwt :as so-jwt]
[objective8.utils :as utils]
[objective8.front-end.workflows.stonecutter :refer :all]
[objective8.config ... | 41185 | (ns objective8.unit.workflows.stonecutter-test
(:require [midje.sweet :refer :all]
[stonecutter-oauth.client :as soc]
[stonecutter-oauth.jwt :as so-jwt]
[objective8.utils :as utils]
[objective8.front-end.workflows.stonecutter :refer :all]
[objective8.config ... | true | (ns objective8.unit.workflows.stonecutter-test
(:require [midje.sweet :refer :all]
[stonecutter-oauth.client :as soc]
[stonecutter-oauth.jwt :as so-jwt]
[objective8.utils :as utils]
[objective8.front-end.workflows.stonecutter :refer :all]
[objective8.config ... |
[
{
"context": "D)\n :name (rand-nth [\"Ivan\" \"Petr\" \"Sergei\" \"Oleg\" \"Yuri\" \"Dmitry\" \"Fedor\" \"",
"end": 886,
"score": 0.999793529510498,
"start": 882,
"tag": "NAME",
"value": "Ivan"
},
{
"context": " :name (rand-nth [\"I... | test/crux/fixtures.clj | keesterbrugge/crux | 0 | (ns crux.fixtures
(:require [clojure.test :as t]
[clojure.test.check.clojure-test :as tcct]
[clojure.java.io :as io]
[crux.bootstrap :as b]
[crux.codec :as c]
[crux.db :as db]
[crux.http-server :as srv]
[crux.io :as cio]
[... | 106467 | (ns crux.fixtures
(:require [clojure.test :as t]
[clojure.test.check.clojure-test :as tcct]
[clojure.java.io :as io]
[crux.bootstrap :as b]
[crux.codec :as c]
[crux.db :as db]
[crux.http-server :as srv]
[crux.io :as cio]
[... | true | (ns crux.fixtures
(:require [clojure.test :as t]
[clojure.test.check.clojure-test :as tcct]
[clojure.java.io :as io]
[crux.bootstrap :as b]
[crux.codec :as c]
[crux.db :as db]
[crux.http-server :as srv]
[crux.io :as cio]
[... |
[
{
"context": "! *unchecked-math* :warn-on-boxed)\n(ns ^{:author \"John Alan McDonald\" :date \"2016-11-09\"\n :doc \"Bootstrap aggrega",
"end": 105,
"score": 0.9998735189437866,
"start": 87,
"tag": "NAME",
"value": "John Alan McDonald"
}
] | src/test/clojure/taiga/test/bagging.clj | wahpenayo/taiga | 4 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "John Alan McDonald" :date "2016-11-09"
:doc "Bootstrap aggregation (bagging) checks." }
taiga.test.bagging
(:require [clojure.pprint :as pp]
[clojure.test :as test]
[zana.api :as z]
... | 6718 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "<NAME>" :date "2016-11-09"
:doc "Bootstrap aggregation (bagging) checks." }
taiga.test.bagging
(:require [clojure.pprint :as pp]
[clojure.test :as test]
[zana.api :as z]
[taiga.... | true | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "PI:NAME:<NAME>END_PI" :date "2016-11-09"
:doc "Bootstrap aggregation (bagging) checks." }
taiga.test.bagging
(:require [clojure.pprint :as pp]
[clojure.test :as test]
[zana.api :as z]
... |
[
{
"context": ";; Copyright (c) 2015 Parker Harris Emerson\n\n(ns capstone.query-interface\n (:use java-jdbc.s",
"end": 43,
"score": 0.9998455047607422,
"start": 22,
"tag": "NAME",
"value": "Parker Harris Emerson"
}
] | src/capstone/query_interface.clj | emersonp/capstone | 3 | ;; Copyright (c) 2015 Parker Harris Emerson
(ns capstone.query-interface
(:use java-jdbc.sql)
(:require [clojure.java.jdbc :as jdbc])
(:refer-clojure :exclude [find])
(:require [clojure.set :refer [union]])
(:require [honeysql.core :as sql]
[honeysql.helpers :as sqlhelp]))
(def ^:private pgdb
... | 9141 | ;; Copyright (c) 2015 <NAME>
(ns capstone.query-interface
(:use java-jdbc.sql)
(:require [clojure.java.jdbc :as jdbc])
(:refer-clojure :exclude [find])
(:require [clojure.set :refer [union]])
(:require [honeysql.core :as sql]
[honeysql.helpers :as sqlhelp]))
(def ^:private pgdb
{ :subprotocol ... | true | ;; Copyright (c) 2015 PI:NAME:<NAME>END_PI
(ns capstone.query-interface
(:use java-jdbc.sql)
(:require [clojure.java.jdbc :as jdbc])
(:refer-clojure :exclude [find])
(:require [clojure.set :refer [union]])
(:require [honeysql.core :as sql]
[honeysql.helpers :as sqlhelp]))
(def ^:private pgdb
{... |
[
{
"context": "; Copyright (c) Rich Hickey. All rights reserved.\n; The use and distributio",
"end": 29,
"score": 0.9998140335083008,
"start": 18,
"tag": "NAME",
"value": "Rich Hickey"
}
] | resources/public/cljs-out/dev/clojure/core/protocols.cljs | 23trastos/REPLiCA | 0 | ; Copyright (c) Rich Hickey. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
; which can be found in the file epl-v10.html at the root of this distribution.
; By using this software in any ... | 37567 | ; Copyright (c) <NAME>. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
; which can be found in the file epl-v10.html at the root of this distribution.
; By using this software in any fashi... | true | ; Copyright (c) PI:NAME:<NAME>END_PI. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
; which can be found in the file epl-v10.html at the root of this distribution.
; By using this softwar... |
[
{
"context": ";;;;;;;;;;;;;;;;;;;;;\n;; Functional Composition by Chris Ford (@ctford) ;;\n;; ThoughtWorks ",
"end": 103,
"score": 0.9998454451560974,
"start": 93,
"tag": "NAME",
"value": "Chris Ford"
},
{
"context": ";;;;;;;;;;\n;; Functional Composition by Chris... | src/goldberg/variations/canone_alla_quarta.clj | ctford/functional-composition | 97 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Functional Composition by Chris Ford (@ctford) ;;
;; ThoughtWorks ;;
;; ;;
;; http://github.com/ctford/functional-composition ;;
... | 31225 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Functional Composition by <NAME> (@ctford) ;;
;; ThoughtWorks ;;
;; ;;
;; http://github.com/ctford/functional-composition ;;
;; h... | true | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Functional Composition by PI:NAME:<NAME>END_PI (@ctford) ;;
;; ThoughtWorks ;;
;; ;;
;; http://github.com/ctford/functional-composition ... |
[
{
"context": " (b/button {:key \"ok-button\" :className \"btn-fill\" :kind :info\n ",
"end": 9830,
"score": 0.8245311975479126,
"start": 9824,
"tag": "KEY",
"value": "button"
},
{
"context": " (b/button {:key \"canc... | src/main/org/edgexfoundry/ui/manager/ui/devices.cljs | jpwhitemn/edgex-ui-clojure | 0 | ;;; Copyright (c) 2018
;;; IoTech Ltd
;;; SPDX-License-Identifier: Apache-2.0
(ns org.edgexfoundry.ui.manager.ui.devices
(:require [fulcro.client.primitives :as prim :refer [defui defsc]]
[fulcro.i18n :refer [tr]]
[fulcro.client.dom :as dom]
[fulcro.client.mutations :as m :refer [... | 14796 | ;;; Copyright (c) 2018
;;; IoTech Ltd
;;; SPDX-License-Identifier: Apache-2.0
(ns org.edgexfoundry.ui.manager.ui.devices
(:require [fulcro.client.primitives :as prim :refer [defui defsc]]
[fulcro.i18n :refer [tr]]
[fulcro.client.dom :as dom]
[fulcro.client.mutations :as m :refer [... | true | ;;; Copyright (c) 2018
;;; IoTech Ltd
;;; SPDX-License-Identifier: Apache-2.0
(ns org.edgexfoundry.ui.manager.ui.devices
(:require [fulcro.client.primitives :as prim :refer [defui defsc]]
[fulcro.i18n :refer [tr]]
[fulcro.client.dom :as dom]
[fulcro.client.mutations :as m :refer [... |
[
{
"context": "serverTimezone=UTC\")\n :user db-user\n :password db-password\n :sql \"database/ebdb.sql\"})\n\n(def ebdb-test-con",
"end": 737,
"score": 0.9986637234687805,
"start": 726,
"tag": "PASSWORD",
"value": "db-password"
},
{
"context": "ne=UTC\")\n :user db-user... | test/dashboard/test/db_tools.clj | Purple-Services/dashboard-service | 3 | (ns dashboard.test.db-tools
(:require [common.db :as db]
[environ.core :refer [env]]
[clojure.java.jdbc :refer [with-connection do-commands]]
[clojure.test :refer [use-fixtures deftest is test-ns testing]]))
(defn ebdb-config
"Given a map of the form
{:db-host <str> ; hostnam... | 1011 | (ns dashboard.test.db-tools
(:require [common.db :as db]
[environ.core :refer [env]]
[clojure.java.jdbc :refer [with-connection do-commands]]
[clojure.test :refer [use-fixtures deftest is test-ns testing]]))
(defn ebdb-config
"Given a map of the form
{:db-host <str> ; hostnam... | true | (ns dashboard.test.db-tools
(:require [common.db :as db]
[environ.core :refer [env]]
[clojure.java.jdbc :refer [with-connection do-commands]]
[clojure.test :refer [use-fixtures deftest is test-ns testing]]))
(defn ebdb-config
"Given a map of the form
{:db-host <str> ; hostnam... |
[
{
"context": "type\" 2})\n (document/create-with-key {:name \"Bob\" :age 28} \"bob-key\" :people)\n (document/crea",
"end": 1055,
"score": 0.9996239542961121,
"start": 1052,
"tag": "NAME",
"value": "Bob"
},
{
"context": " :people)\n (document/create-with-key {:name \"P... | test/clarango/test/query.clj | Lepetere/clarango | 25 | (ns clarango.test.query
(:require [clojure.test :refer :all]
[clarango.core :as cla-core]
[clarango.document :as document]
[clarango.collection :as collection]
[clarango.database :as database]
[clarango.query :as query])
(:use clojure.pprint)
(:use clara... | 122285 | (ns clarango.test.query
(:require [clojure.test :refer :all]
[clarango.core :as cla-core]
[clarango.document :as document]
[clarango.collection :as collection]
[clarango.database :as database]
[clarango.query :as query])
(:use clojure.pprint)
(:use clara... | true | (ns clarango.test.query
(:require [clojure.test :refer :all]
[clarango.core :as cla-core]
[clarango.document :as document]
[clarango.collection :as collection]
[clarango.database :as database]
[clarango.query :as query])
(:use clojure.pprint)
(:use clara... |
[
{
"context": ";; Copyright © 2015-2020 Esko Luontola\n;; This software is released under the Apache Lic",
"end": 38,
"score": 0.9998871684074402,
"start": 25,
"tag": "NAME",
"value": "Esko Luontola"
}
] | test/territory_bro/infra/user_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 ^:slow territory-bro.infra.user-test
(:require [clojure.java.jdbc :as jdbc]
[clojure.test :refer :all]
[territory-bro.infr... | 112680 | ;; 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 ^:slow territory-bro.infra.user-test
(:require [clojure.java.jdbc :as jdbc]
[clojure.test :refer :all]
[territory-bro.infra.db :a... | 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 ^:slow territory-bro.infra.user-test
(:require [clojure.java.jdbc :as jdbc]
[clojure.test :refer :all]
[territory-b... |
[
{
"context": "(ns ^{:author \"Janos Erdos\"} erdos.sample\n (:require [erdos.sample.avl :a",
"end": 26,
"score": 0.9998729825019836,
"start": 15,
"tag": "NAME",
"value": "Janos Erdos"
}
] | src/erdos/sample.clj | erdos/erdos.sample | 2 | (ns ^{:author "Janos Erdos"} erdos.sample
(:require [erdos.sample.avl :as avl]))
(defn sample-seq
"Given a map of [sample probability] pairs, returns a lazy seq
of random samples."
[kps]
(assert (map? kps))
(assert (every? number? (vals kps)))
(let [vkps (map float (vals kps))
sum (reduce + vk... | 34919 | (ns ^{:author "<NAME>"} erdos.sample
(:require [erdos.sample.avl :as avl]))
(defn sample-seq
"Given a map of [sample probability] pairs, returns a lazy seq
of random samples."
[kps]
(assert (map? kps))
(assert (every? number? (vals kps)))
(let [vkps (map float (vals kps))
sum (reduce + vkps)
... | true | (ns ^{:author "PI:NAME:<NAME>END_PI"} erdos.sample
(:require [erdos.sample.avl :as avl]))
(defn sample-seq
"Given a map of [sample probability] pairs, returns a lazy seq
of random samples."
[kps]
(assert (map? kps))
(assert (every? number? (vals kps)))
(let [vkps (map float (vals kps))
sum (re... |
[
{
"context": "omposition))\n\n; Example data\n(def cars\n [{:name \"Ferrari FF\"\n :horsepower 660\n :dollar-value 700000\n ",
"end": 163,
"score": 0.9992900490760803,
"start": 153,
"tag": "NAME",
"value": "Ferrari FF"
},
{
"context": "ollar-value 700000\n :in-stock true}... | test/clojuring/mostly_adequate/ch5/composition_test.clj | ilmotta/clojuring | 4 | (ns clojuring.mostly-adequate.ch5.composition-test
(:use expectations clojuring.mostly-adequate.ch5.composition))
; Example data
(def cars
[{:name "Ferrari FF"
:horsepower 660
:dollar-value 700000
:in-stock true}
{:name "Spyker C12 Zagato"
:horsepower 650
:dollar-value 648000
:in-stock f... | 111643 | (ns clojuring.mostly-adequate.ch5.composition-test
(:use expectations clojuring.mostly-adequate.ch5.composition))
; Example data
(def cars
[{:name "<NAME>"
:horsepower 660
:dollar-value 700000
:in-stock true}
{:name "<NAME>"
:horsepower 650
:dollar-value 648000
:in-stock false}
{:name... | true | (ns clojuring.mostly-adequate.ch5.composition-test
(:use expectations clojuring.mostly-adequate.ch5.composition))
; Example data
(def cars
[{:name "PI:NAME:<NAME>END_PI"
:horsepower 660
:dollar-value 700000
:in-stock true}
{:name "PI:NAME:<NAME>END_PI"
:horsepower 650
:dollar-value 648000
... |
[
{
"context": "Column {:width 6}\n [ui/Embed {:id \"yYJ6laT_6M4\"\n :placeholder \"https://i",
"end": 2311,
"score": 0.6496841311454773,
"start": 2307,
"tag": "USERNAME",
"value": "yYJ6"
},
{
"context": " {:width 6}\n [ui/Embed {:id \"yYJ... | code/src/cljs/sixsq/nuvla/ui/welcome/views.cljs | nuvla/ui | 8 | (ns sixsq.nuvla.ui.welcome.views
(:require
[clojure.string :as str]
[re-frame.core :refer [dispatch subscribe]]
[sixsq.nuvla.ui.history.events :as history-events]
[sixsq.nuvla.ui.i18n.subs :as i18n-subs]
[sixsq.nuvla.ui.main.subs :as main-subs]
[sixsq.nuvla.ui.panel :as panel]
[sixsq.nuvla... | 39750 | (ns sixsq.nuvla.ui.welcome.views
(:require
[clojure.string :as str]
[re-frame.core :refer [dispatch subscribe]]
[sixsq.nuvla.ui.history.events :as history-events]
[sixsq.nuvla.ui.i18n.subs :as i18n-subs]
[sixsq.nuvla.ui.main.subs :as main-subs]
[sixsq.nuvla.ui.panel :as panel]
[sixsq.nuvla... | true | (ns sixsq.nuvla.ui.welcome.views
(:require
[clojure.string :as str]
[re-frame.core :refer [dispatch subscribe]]
[sixsq.nuvla.ui.history.events :as history-events]
[sixsq.nuvla.ui.i18n.subs :as i18n-subs]
[sixsq.nuvla.ui.main.subs :as main-subs]
[sixsq.nuvla.ui.panel :as panel]
[sixsq.nuvla... |
[
{
"context": " {:type :name-changed :data {:name \"jarvis\"}}\n {:type :sk",
"end": 478,
"score": 0.9960737824440002,
"start": 472,
"tag": "NAME",
"value": "jarvis"
},
{
"context": "quence 2 :data {:type :name-changed :data {:name \"ja... | data/test/clojure/dbb510a66bd6b83e94efadb5b802e6e73632e5feevent_store_test.clj | harshp8l/deep-learning-lang-detection | 84 | (ns jarvis.event-store-test
(require [clojure.test :refer :all]
[jarvis.event_store :refer :all])
(:import (jarvis.event MidAirCollision)
(jarvis.event_store InMemory SqlStore)))
(deftest in-memory-eventstore
(testing "append and retrieve events"
(let [store (-> (InMemory.)
... | 87794 | (ns jarvis.event-store-test
(require [clojure.test :refer :all]
[jarvis.event_store :refer :all])
(:import (jarvis.event MidAirCollision)
(jarvis.event_store InMemory SqlStore)))
(deftest in-memory-eventstore
(testing "append and retrieve events"
(let [store (-> (InMemory.)
... | true | (ns jarvis.event-store-test
(require [clojure.test :refer :all]
[jarvis.event_store :refer :all])
(:import (jarvis.event MidAirCollision)
(jarvis.event_store InMemory SqlStore)))
(deftest in-memory-eventstore
(testing "append and retrieve events"
(let [store (-> (InMemory.)
... |
[
{
"context": "maps are seq-able\n(def contact-info {:first-name \"Elvis\" :last-name \"Presley\" :address \"Graceland\" :city ",
"end": 1026,
"score": 0.9997361302375793,
"start": 1021,
"tag": "NAME",
"value": "Elvis"
},
{
"context": "def contact-info {:first-name \"Elvis\" :last-nam... | clojure/sequences/sequences.clj | miroadamy/language-matrix | 15 | ; A list, set, map are sequences and can be operated on
; by a common set of sequence functions. Keep in mind that all
; sequence functions will return an `ISeq`, a java representation
; of a `Seq` (sequence) pronounced 'Seek'. `Seq` looks much like a list
; on the console but it is indeed an implementation of a `S... | 96341 | ; A list, set, map are sequences and can be operated on
; by a common set of sequence functions. Keep in mind that all
; sequence functions will return an `ISeq`, a java representation
; of a `Seq` (sequence) pronounced 'Seek'. `Seq` looks much like a list
; on the console but it is indeed an implementation of a `S... | true | ; A list, set, map are sequences and can be operated on
; by a common set of sequence functions. Keep in mind that all
; sequence functions will return an `ISeq`, a java representation
; of a `Seq` (sequence) pronounced 'Seek'. `Seq` looks much like a list
; on the console but it is indeed an implementation of a `S... |
[
{
"context": ";; The MIT License\n;; \n;; Copyright (c) 2011 John Svazic\n;; \n;; Permission is hereby granted, free of char",
"end": 56,
"score": 0.999848484992981,
"start": 45,
"tag": "NAME",
"value": "John Svazic"
}
] | clojure/test/net/auxesia/test/chromosome.clj | Srivani-Y/Hello-wolrld | 159 | ;; The MIT License
;;
;; Copyright (c) 2011 John Svazic
;;
;; 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, m... | 10511 | ;; The MIT License
;;
;; Copyright (c) 2011 <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... | true | ;; The MIT License
;;
;; Copyright (c) 2011 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... |
[
{
"context": "(ns vismod-reframe.db)\n\n(def default-db\n {:name \"Ryan\"\n :open-main-menu false \n :active-solver :mul",
"end": 54,
"score": 0.6950135231018066,
"start": 50,
"tag": "NAME",
"value": "Ryan"
}
] | src/cljs/vismod_reframe/db.cljs | rozifus/vismod-reframe | 0 | (ns vismod-reframe.db)
(def default-db
{:name "Ryan"
:open-main-menu false
:active-solver :multorder
})
| 105863 | (ns vismod-reframe.db)
(def default-db
{:name "<NAME>"
:open-main-menu false
:active-solver :multorder
})
| true | (ns vismod-reframe.db)
(def default-db
{:name "PI:NAME:<NAME>END_PI"
:open-main-menu false
:active-solver :multorder
})
|
[
{
"context": "(ns tollbooth.core)\n\n; Joe Einertson\n; CSci 4651 Spring 2012 - Problem Set 8\n; http://",
"end": 36,
"score": 0.9998583793640137,
"start": 23,
"tag": "NAME",
"value": "Joe Einertson"
},
{
"context": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n; Copyright (c) Rich Hickey. Al... | src/tollbooth/core.clj | royaldark/clojure-tollbooth | 0 | (ns tollbooth.core)
; Joe Einertson
; CSci 4651 Spring 2012 - Problem Set 8
; http://cda.morris.umn.edu/~elenam/4651spring2012/psets/ps8.html
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; car sim ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright (c) Rich Hickey. All rights reserved.
; The use and distribution terms for this s... | 117457 | (ns tollbooth.core)
; <NAME>
; CSci 4651 Spring 2012 - Problem Set 8
; http://cda.morris.umn.edu/~elenam/4651spring2012/psets/ps8.html
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; car sim ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright (c) <NAME>. All rights reserved.
; The use and distribution terms for this software are ... | true | (ns tollbooth.core)
; PI:NAME:<NAME>END_PI
; CSci 4651 Spring 2012 - Problem Set 8
; http://cda.morris.umn.edu/~elenam/4651spring2012/psets/ps8.html
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; car sim ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright (c) PI:NAME:<NAME>END_PI. All rights reserved.
; The use and distribution ... |
[
{
"context": "\n(def opts\n {:values {:email \"foobar\" :password \"p@sswOad\"}\n :errors {:email \"please input your email add",
"end": 587,
"score": 0.999417245388031,
"start": 579,
"tag": "PASSWORD",
"value": "p@sswOad"
},
{
"context": " {:type :password :name :password :pla... | examples/cljs/src-cljs/example/core.cljs | ayato-p/kuuga | 23 | (ns example.core
(:require [kuuga.ultimate :as ultimate :include-macros true]
[rum.core :as rum]))
(defn invalid-feedback [opts tagopts]
(let [err-msg (get-in opts [:errors (:name tagopts)])]
[:div.invalid-feedback err-msg]))
(defn update-input-opts [opts tagopts]
(let [{:keys [values errors]} o... | 38931 | (ns example.core
(:require [kuuga.ultimate :as ultimate :include-macros true]
[rum.core :as rum]))
(defn invalid-feedback [opts tagopts]
(let [err-msg (get-in opts [:errors (:name tagopts)])]
[:div.invalid-feedback err-msg]))
(defn update-input-opts [opts tagopts]
(let [{:keys [values errors]} o... | true | (ns example.core
(:require [kuuga.ultimate :as ultimate :include-macros true]
[rum.core :as rum]))
(defn invalid-feedback [opts tagopts]
(let [err-msg (get-in opts [:errors (:name tagopts)])]
[:div.invalid-feedback err-msg]))
(defn update-input-opts [opts tagopts]
(let [{:keys [values errors]} o... |
[
{
"context": " (fn [_] {:host \"smtp@example.com\"\n :",
"end": 1815,
"score": 0.9998413324356079,
"start": 1799,
"tag": "EMAIL",
"value": "smtp@example.com"
},
{
"context": " ... | code/test/sixsq/nuvla/server/resources/user_email_password_2fa_lifecycle_test.clj | nuvla/server | 0 | (ns sixsq.nuvla.server.resources.user-email-password-2fa-lifecycle-test
(:require
[clojure.data.json :as json]
[clojure.string :as str]
[clojure.test :refer [deftest is use-fixtures]]
[one-time.core :as ot]
[peridot.core :refer [content-type header request session]]
[postal.core :as postal]
... | 37137 | (ns sixsq.nuvla.server.resources.user-email-password-2fa-lifecycle-test
(:require
[clojure.data.json :as json]
[clojure.string :as str]
[clojure.test :refer [deftest is use-fixtures]]
[one-time.core :as ot]
[peridot.core :refer [content-type header request session]]
[postal.core :as postal]
... | true | (ns sixsq.nuvla.server.resources.user-email-password-2fa-lifecycle-test
(:require
[clojure.data.json :as json]
[clojure.string :as str]
[clojure.test :refer [deftest is use-fixtures]]
[one-time.core :as ot]
[peridot.core :refer [content-type header request session]]
[postal.core :as postal]
... |
[
{
"context": "]}]\n (let [geometry {:href \"https://github.com/reagent-project/reagent/tree/master/examples/geometry\"}\n j",
"end": 1000,
"score": 0.8746428489685059,
"start": 987,
"tag": "USERNAME",
"value": "agent-project"
},
{
"context": "metry\"}\n jonase {:href \... | demo/reagentdemo/news/anyargs.cljs | nberger/reagent | 0 | (ns reagentdemo.news.anyargs
(:require [reagent.core :as r]
[reagent.debug :refer-macros [dbg println]]
[reagentdemo.syntax :as s]
[sitetools.core :as tools :refer [link]]
[reagentdemo.common :as common :refer [demo-component]]
[geometry.core :as geometry]))... | 70402 | (ns reagentdemo.news.anyargs
(:require [reagent.core :as r]
[reagent.debug :refer-macros [dbg println]]
[reagentdemo.syntax :as s]
[sitetools.core :as tools :refer [link]]
[reagentdemo.common :as common :refer [demo-component]]
[geometry.core :as geometry]))... | true | (ns reagentdemo.news.anyargs
(:require [reagent.core :as r]
[reagent.debug :refer-macros [dbg println]]
[reagentdemo.syntax :as s]
[sitetools.core :as tools :refer [link]]
[reagentdemo.common :as common :refer [demo-component]]
[geometry.core :as geometry]))... |
[
{
"context": ";\n; Copyright 2018 Peter Monks\n; SPDX-License-Identifier: Apache-2.0\n;\n; License",
"end": 30,
"score": 0.9996762871742249,
"start": 19,
"tag": "NAME",
"value": "Peter Monks"
}
] | test/clj_symphony/test.clj | pmonks/clj-symphony | 4 | ;
; Copyright 2018 Peter Monks
; SPDX-License-Identifier: Apache-2.0
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by ... | 63543 | ;
; Copyright 2018 <NAME>
; SPDX-License-Identifier: Apache-2.0
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by appli... | true | ;
; Copyright 2018 PI:NAME:<NAME>END_PI
; SPDX-License-Identifier: Apache-2.0
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless req... |
[
{
"context": "\"]\n :LastName \"Smith\"}]}\n {:ShortName \"LPDAAC\"\n ",
"end": 2134,
"score": 0.9997661113739014,
"start": 2129,
"tag": "NAME",
"value": "Smith"
},
{
"context": "\"]\n :LastNa... | system-int-test/test/cmr/system_int_test/ingest/bulk_update/bulk_update_test.clj | indiejames/Common-Metadata-Repository | 0 | (ns cmr.system-int-test.ingest.bulk-update.bulk-update-test
"CMR bulk update. Test the actual update "
(:require
[cheshire.core :as json]
[clojure.test :refer :all]
[clojure.java.io :as io]
[cmr.common-app.test.side-api :as side]
[cmr.common.time-keeper :as time-keeper]
[cmr.common.util :as util :... | 63069 | (ns cmr.system-int-test.ingest.bulk-update.bulk-update-test
"CMR bulk update. Test the actual update "
(:require
[cheshire.core :as json]
[clojure.test :refer :all]
[clojure.java.io :as io]
[cmr.common-app.test.side-api :as side]
[cmr.common.time-keeper :as time-keeper]
[cmr.common.util :as util :... | true | (ns cmr.system-int-test.ingest.bulk-update.bulk-update-test
"CMR bulk update. Test the actual update "
(:require
[cheshire.core :as json]
[clojure.test :refer :all]
[clojure.java.io :as io]
[cmr.common-app.test.side-api :as side]
[cmr.common.time-keeper :as time-keeper]
[cmr.common.util :as util :... |
[
{
"context": "edis-conn (redis-core/create {:host host :password password})\n data (redis-core/wcar redis-conn (redis",
"end": 297,
"score": 0.774488627910614,
"start": 289,
"tag": "PASSWORD",
"value": "password"
}
] | kafka-clj/src/kafka_clj/apputils/cmd_work_queue.clj | gerritjvv/kafka-fast | 152 | (ns kafka-clj.apputils.cmd-work-queue
(:require [kafka-clj.redis.protocol :as redis-api]
[kafka-clj.redis.core :as redis-core]))
(defn read-redis-queue [[host from limit & {:strs [password] :or {password nil}}]]
(let [redis-conn (redis-core/create {:host host :password password})
data (redis-... | 114926 | (ns kafka-clj.apputils.cmd-work-queue
(:require [kafka-clj.redis.protocol :as redis-api]
[kafka-clj.redis.core :as redis-core]))
(defn read-redis-queue [[host from limit & {:strs [password] :or {password nil}}]]
(let [redis-conn (redis-core/create {:host host :password <PASSWORD>})
data (redi... | true | (ns kafka-clj.apputils.cmd-work-queue
(:require [kafka-clj.redis.protocol :as redis-api]
[kafka-clj.redis.core :as redis-core]))
(defn read-redis-queue [[host from limit & {:strs [password] :or {password nil}}]]
(let [redis-conn (redis-core/create {:host host :password PI:PASSWORD:<PASSWORD>END_PI})
... |
[
{
"context": "(:clj (vec (sort (su/get-port-names)))\n ; TODO(Richo): Implement this!\n :cljs []))\n\n(defonce ^:pri",
"end": 252,
"score": 0.9954589605331421,
"start": 247,
"tag": "NAME",
"value": "Richo"
}
] | middleware/server/src/middleware/device/ports/scanner.cljc | GIRA/UziScript | 15 | (ns middleware.device.ports.scanner
(:require [clojure.core.async :refer [chan <! >! go-loop timeout alts! close!]]
#?(:clj [serial.util :as su])))
(defn- get-available-ports []
#?(:clj (vec (sort (su/get-port-names)))
; TODO(Richo): Implement this!
:cljs []))
(defonce ^:private cancel-token ... | 61957 | (ns middleware.device.ports.scanner
(:require [clojure.core.async :refer [chan <! >! go-loop timeout alts! close!]]
#?(:clj [serial.util :as su])))
(defn- get-available-ports []
#?(:clj (vec (sort (su/get-port-names)))
; TODO(<NAME>): Implement this!
:cljs []))
(defonce ^:private cancel-token... | true | (ns middleware.device.ports.scanner
(:require [clojure.core.async :refer [chan <! >! go-loop timeout alts! close!]]
#?(:clj [serial.util :as su])))
(defn- get-available-ports []
#?(:clj (vec (sort (su/get-port-names)))
; TODO(PI:NAME:<NAME>END_PI): Implement this!
:cljs []))
(defonce ^:privat... |
[
{
"context": "me}\n {:name \"toucan\"\n :database-type \"OB",
"end": 1008,
"score": 0.9861062169075012,
"start": 1002,
"tag": "NAME",
"value": "toucan"
},
{
"context": "}}}\n {:name ... | c#-metabase/test/metabase/test/mock/toucanery.clj | hanakhry/Crime_Admin | 0 | (ns metabase.test.mock.toucanery
"A document style database mocked for testing. This is a dynamic schema db with `:nested-fields`. Most notably meant
to serve as a representation of a Mongo database."
(:require [medley.core :as m]
[metabase.driver :as driver]
[metabase.test.mock.util :as m... | 18877 | (ns metabase.test.mock.toucanery
"A document style database mocked for testing. This is a dynamic schema db with `:nested-fields`. Most notably meant
to serve as a representation of a Mongo database."
(:require [medley.core :as m]
[metabase.driver :as driver]
[metabase.test.mock.util :as m... | true | (ns metabase.test.mock.toucanery
"A document style database mocked for testing. This is a dynamic schema db with `:nested-fields`. Most notably meant
to serve as a representation of a Mongo database."
(:require [medley.core :as m]
[metabase.driver :as driver]
[metabase.test.mock.util :as m... |
[
{
"context": "ethods\n(let [private-patient (->PrivatePatient 1 \"Victor\" \"123456\")\n plan-patient (->HealthInsuranceP",
"end": 1199,
"score": 0.9995940923690796,
"start": 1193,
"tag": "NAME",
"value": "Victor"
},
{
"context": ")\n plan-patient (->HealthInsurancePatient ... | hospital_patient/src/hospital_patient/class4.clj | vgeorgo/courses-alura-clojure | 0 | (ns hospital-patient.class4
(:use clojure.pprint))
; Defining records (classes)
(defrecord HealthInsurancePatient [id name document plan])
(defrecord PrivatePatient [id name document])
; Returns anything that will be used to identify what method should be used.
; Not a good practice to return different types (like ... | 49472 | (ns hospital-patient.class4
(:use clojure.pprint))
; Defining records (classes)
(defrecord HealthInsurancePatient [id name document plan])
(defrecord PrivatePatient [id name document])
; Returns anything that will be used to identify what method should be used.
; Not a good practice to return different types (like ... | true | (ns hospital-patient.class4
(:use clojure.pprint))
; Defining records (classes)
(defrecord HealthInsurancePatient [id name document plan])
(defrecord PrivatePatient [id name document])
; Returns anything that will be used to identify what method should be used.
; Not a good practice to return different types (like ... |
[
{
"context": ";;\n;;\n;; Copyright 2013-2015 Netflix, Inc.\n;;\n;; Licensed under the Apache Lic",
"end": 33,
"score": 0.9706907868385315,
"start": 30,
"tag": "NAME",
"value": "Net"
}
] | pigpen-rx/src/test/clojure/pigpen/rx/extensions_test.clj | ombagus/Netflix | 327 | ;;
;;
;; Copyright 2013-2015 Netflix, 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 ... | 22219 | ;;
;;
;; Copyright 2013-2015 <NAME>flix, 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 requir... | true | ;;
;;
;; Copyright 2013-2015 PI:NAME:<NAME>END_PIflix, 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
;;
;; ... |
[
{
"context": ";;; Copyright 2013 Mitchell Kember. Subject to the MIT License.\n;;; 2010 Canadian Co",
"end": 34,
"score": 0.9998852610588074,
"start": 19,
"tag": "NAME",
"value": "Mitchell Kember"
}
] | src/ccc/y2010/s2.clj | mk12/ccc | 0 | ;;; Copyright 2013 Mitchell Kember. Subject to the MIT License.
;;; 2010 Canadian Computing Competition: Senior Division
;;; Problem S2: Huffman Encoding
(ns ccc.y2010.s2)
;;; A "binary sequence" is a string containing only ASCII 0 and 1.
;;; A "code" is a binary sequence that represents a value.
;;; A "value" is a c... | 54876 | ;;; Copyright 2013 <NAME>. Subject to the MIT License.
;;; 2010 Canadian Computing Competition: Senior Division
;;; Problem S2: Huffman Encoding
(ns ccc.y2010.s2)
;;; A "binary sequence" is a string containing only ASCII 0 and 1.
;;; A "code" is a binary sequence that represents a value.
;;; A "value" is a char or a ... | true | ;;; Copyright 2013 PI:NAME:<NAME>END_PI. Subject to the MIT License.
;;; 2010 Canadian Computing Competition: Senior Division
;;; Problem S2: Huffman Encoding
(ns ccc.y2010.s2)
;;; A "binary sequence" is a string containing only ASCII 0 and 1.
;;; A "code" is a binary sequence that represents a value.
;;; A "value" i... |
[
{
"context": "QLException)))\n\n;; Inspired by https://github.com/Shyp/go-dberror/blob/master/error_test.go\n\n(use-fixtur",
"end": 331,
"score": 0.9995995759963989,
"start": 327,
"tag": "USERNAME",
"value": "Shyp"
},
{
"context": "7e99-d616-4d8c-9c02-cbd13bceac60\"))\n(def email-1 \... | test/com/verybigthings/pgerrors/core_test.clj | VeryBigThings/pgerrors | 1 | (ns com.verybigthings.pgerrors.core-test
(:require [clojure.test :refer :all]
[com.verybigthings.pgerrors.test-helpers :as th]
[next.jdbc :as jdbc]
[com.verybigthings.pgerrors.core :refer [extract-data]])
(:import (org.postgresql.util PSQLException)))
;; Inspired by https://gith... | 8459 | (ns com.verybigthings.pgerrors.core-test
(:require [clojure.test :refer :all]
[com.verybigthings.pgerrors.test-helpers :as th]
[next.jdbc :as jdbc]
[com.verybigthings.pgerrors.core :refer [extract-data]])
(:import (org.postgresql.util PSQLException)))
;; Inspired by https://gith... | true | (ns com.verybigthings.pgerrors.core-test
(:require [clojure.test :refer :all]
[com.verybigthings.pgerrors.test-helpers :as th]
[next.jdbc :as jdbc]
[com.verybigthings.pgerrors.core :refer [extract-data]])
(:import (org.postgresql.util PSQLException)))
;; Inspired by https://gith... |
[
{
"context": ".github.protojure/core\"\n :url \"http://github.com/protojure/lib\"\n :license {:name \"Apache License 2.0\"\n ",
"end": 151,
"score": 0.9990233778953552,
"start": 142,
"tag": "USERNAME",
"value": "protojure"
},
{
"context": "0\"\n :year 2022\n ... | modules/io/project.clj | gitslim/lib | 0 | (defproject io.github.protojure/io "2.0.7-SNAPSHOT"
:description "IO library to support io.github.protojure/core"
:url "http://github.com/protojure/lib"
:license {:name "Apache License 2.0"
:url "https://www.apache.org/licenses/LICENSE-2.0"
:year 2022
:key "apache-2.0"}
:plug... | 41221 | (defproject io.github.protojure/io "2.0.7-SNAPSHOT"
:description "IO library to support io.github.protojure/core"
:url "http://github.com/protojure/lib"
:license {:name "Apache License 2.0"
:url "https://www.apache.org/licenses/LICENSE-2.0"
:year 2022
:key "apache-<KEY>0"}
:p... | true | (defproject io.github.protojure/io "2.0.7-SNAPSHOT"
:description "IO library to support io.github.protojure/core"
:url "http://github.com/protojure/lib"
:license {:name "Apache License 2.0"
:url "https://www.apache.org/licenses/LICENSE-2.0"
:year 2022
:key "apache-PI:KEY:<KEY>E... |
[
{
"context": "il (encrypt-email email)\n hashed-password (hash-password password)\n uid (uuid)\n existing-use",
"end": 1537,
"score": 0.7119931578636169,
"start": 1524,
"tag": "PASSWORD",
"value": "hash-password"
},
{
"context": " (insert-user db {:email encrypte... | src/authtest/auth.clj | dspearson/authtest | 0 | (ns authtest.auth
(:require [caesium.magicnonce.secretbox :as msb]
[caesium.crypto.box :as box]
[caesium.byte-bufs :as bb]
[caesium.crypto.pwhash :as pwhash]
[buddy.core.codecs :as codecs]
[clojure.java.io :as io]
[authtest.db :refer :all])
(:g... | 100606 | (ns authtest.auth
(:require [caesium.magicnonce.secretbox :as msb]
[caesium.crypto.box :as box]
[caesium.byte-bufs :as bb]
[caesium.crypto.pwhash :as pwhash]
[buddy.core.codecs :as codecs]
[clojure.java.io :as io]
[authtest.db :refer :all])
(:g... | true | (ns authtest.auth
(:require [caesium.magicnonce.secretbox :as msb]
[caesium.crypto.box :as box]
[caesium.byte-bufs :as bb]
[caesium.crypto.pwhash :as pwhash]
[buddy.core.codecs :as codecs]
[clojure.java.io :as io]
[authtest.db :refer :all])
(:g... |
[
{
"context": " key to use here?\n (hidden-field {:key 0xdeadbeef} \"_method\" method-str)])\n (concat body)\n ",
"end": 5626,
"score": 0.9074881672859192,
"start": 5617,
"tag": "KEY",
"value": "xdeadbeef"
}
] | resources/public/main.out/sablono/core.cljs | drewverlee/garlic | 0 | (ns sablono.core
(:require-macros [sablono.core :refer [defelem gen-input-fields]])
(:require [clojure.string :refer [upper-case]]
[goog.string :as gstring]
[sablono.normalize :as normalize]
[sablono.util :refer [as-str to-uri]]
[sablono.interpreter :as interpreter]
... | 116360 | (ns sablono.core
(:require-macros [sablono.core :refer [defelem gen-input-fields]])
(:require [clojure.string :refer [upper-case]]
[goog.string :as gstring]
[sablono.normalize :as normalize]
[sablono.util :refer [as-str to-uri]]
[sablono.interpreter :as interpreter]
... | true | (ns sablono.core
(:require-macros [sablono.core :refer [defelem gen-input-fields]])
(:require [clojure.string :refer [upper-case]]
[goog.string :as gstring]
[sablono.normalize :as normalize]
[sablono.util :refer [as-str to-uri]]
[sablono.interpreter :as interpreter]
... |
[
{
"context": "dexing-collections\n (is (match? {1 {:id 1 :name \"Foo\"}, 2 {:id 2 :name \"Bar\"}}\n (coll/ind",
"end": 862,
"score": 0.6642709970474243,
"start": 859,
"tag": "NAME",
"value": "Foo"
},
{
"context": "}\n (coll/index-by :id [{:id 1 :name \"Foo\... | test/paprika/collection_test.cljc | mauricioszabo/paprika | 8 | (ns paprika.collection-test
(:require [clojure.test :refer [deftest testing is]]
[paprika.collection :as coll]
[matcher-combinators.test]))
(def some-map {:a 10 :b 20})
(deftest functions-for-maps
(testing "maps keys and values"
(is (match? {"a" "10" "b" "20"}
(coll/map... | 71178 | (ns paprika.collection-test
(:require [clojure.test :refer [deftest testing is]]
[paprika.collection :as coll]
[matcher-combinators.test]))
(def some-map {:a 10 :b 20})
(deftest functions-for-maps
(testing "maps keys and values"
(is (match? {"a" "10" "b" "20"}
(coll/map... | true | (ns paprika.collection-test
(:require [clojure.test :refer [deftest testing is]]
[paprika.collection :as coll]
[matcher-combinators.test]))
(def some-map {:a 10 :b 20})
(deftest functions-for-maps
(testing "maps keys and values"
(is (match? {"a" "10" "b" "20"}
(coll/map... |
[
{
"context": " under the License.\n;;\n;; Copyright (c) 2013-2016, Kenneth Leung. All rights reserved.\n\n(ns ^{:doc \"Various boot-c",
"end": 599,
"score": 0.9998642802238464,
"start": 586,
"tag": "NAME",
"value": "Kenneth Leung"
},
{
"context": "^{:doc \"Various boot-clj helpers.\"... | attic/boot.clj | llnek/jasal | 0 | ;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writing, software
;; distributed ... | 3079 | ;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writing, software
;; distributed ... | true | ;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writing, software
;; distributed ... |
[
{
"context": "\"}\n {:value 2700.0 :type \"revenue\" :comentario \"Bico\" :date \"01/12/2016\"}\n {:value 29.0 :type \"expen",
"end": 215,
"score": 0.9864861965179443,
"start": 211,
"tag": "NAME",
"value": "Bico"
}
] | map-filter-reduce.clj | talesbaz/clojure-playground | 0 | (defn summary [transaction]
(select-keys transaction [:value :type]))
(def transactions
[{:value 33.0 :type "expense" :comentario "Almoço" :date "19/11/2016"}
{:value 2700.0 :type "revenue" :comentario "Bico" :date "01/12/2016"}
{:value 29.0 :type "expense" :comentario "Livro de Clojure" :date "03/12/2016"}]... | 48436 | (defn summary [transaction]
(select-keys transaction [:value :type]))
(def transactions
[{:value 33.0 :type "expense" :comentario "Almoço" :date "19/11/2016"}
{:value 2700.0 :type "revenue" :comentario "<NAME>" :date "01/12/2016"}
{:value 29.0 :type "expense" :comentario "Livro de Clojure" :date "03/12/2016"... | true | (defn summary [transaction]
(select-keys transaction [:value :type]))
(def transactions
[{:value 33.0 :type "expense" :comentario "Almoço" :date "19/11/2016"}
{:value 2700.0 :type "revenue" :comentario "PI:NAME:<NAME>END_PI" :date "01/12/2016"}
{:value 29.0 :type "expense" :comentario "Livro de Clojure" :dat... |
[
{
"context": ", \"W\" 23, \"X\" 24, \"Y\" 25, \"Z\" 26})\n;; (def name1 \"BETTY\")\n;; (println \"name length: \" (count name1))\n\n ;",
"end": 426,
"score": 0.9960281848907471,
"start": 421,
"tag": "NAME",
"value": "BETTY"
}
] | names.clj | kavithaiii/name-scores | 0 | ;; This program uses names.txt
;; execute this program at REPL prompt of clojure
;; copy this file and paste on REPL terminal
(defn sum [x] (reduce + x))
(defn find-char-value [name1]
(def stringmap {"A" 1, "B" 2, "C" 3, "D" 4, "E" 5, "F" 6, "G" 7, "H" 8, "I" 9, "J" 10, "K" 11, "L" 12, "M" 13, "N" 14, "O" 15, "P" ... | 86158 | ;; This program uses names.txt
;; execute this program at REPL prompt of clojure
;; copy this file and paste on REPL terminal
(defn sum [x] (reduce + x))
(defn find-char-value [name1]
(def stringmap {"A" 1, "B" 2, "C" 3, "D" 4, "E" 5, "F" 6, "G" 7, "H" 8, "I" 9, "J" 10, "K" 11, "L" 12, "M" 13, "N" 14, "O" 15, "P" ... | true | ;; This program uses names.txt
;; execute this program at REPL prompt of clojure
;; copy this file and paste on REPL terminal
(defn sum [x] (reduce + x))
(defn find-char-value [name1]
(def stringmap {"A" 1, "B" 2, "C" 3, "D" 4, "E" 5, "F" 6, "G" 7, "H" 8, "I" 9, "J" 10, "K" 11, "L" 12, "M" 13, "N" 14, "O" 15, "P" ... |
[
{
"context": ";; Copyright 2021 Zane Littrell\n;;\n;; Licensed under the Apache License, Version ",
"end": 31,
"score": 0.9998777508735657,
"start": 18,
"tag": "NAME",
"value": "Zane Littrell"
}
] | test/app/cells_test.clj | CapitalistLepton/nomenclature | 0 | ;; Copyright 2021 Zane Littrell
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to i... | 100266 | ;; Copyright 2021 <NAME>
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writi... | true | ;; Copyright 2021 PI:NAME:<NAME>END_PI
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agre... |
[
{
"context": "ge, London, All rights reserved.\n;\n; Contributors: Jony Hudson\n;\n; Released under the MIT license..\n;\n\n(ns darwi",
"end": 134,
"score": 0.9998077154159546,
"start": 123,
"tag": "NAME",
"value": "Jony Hudson"
}
] | src/darwin/evolution/pareto.clj | AlgorithmicScience/darwin | 22 | ;
; This file is part of darwin.
;
; Copyright (C) 2014-, Imperial College, London, All rights reserved.
;
; Contributors: Jony Hudson
;
; Released under the MIT license..
;
(ns darwin.evolution.pareto
"Functions for computing Pareto dominance, rank etc. Currently limited to two-objective
comparison, but the API s... | 68659 | ;
; This file is part of darwin.
;
; Copyright (C) 2014-, Imperial College, London, All rights reserved.
;
; Contributors: <NAME>
;
; Released under the MIT license..
;
(ns darwin.evolution.pareto
"Functions for computing Pareto dominance, rank etc. Currently limited to two-objective
comparison, but the API should... | true | ;
; This file is part of darwin.
;
; Copyright (C) 2014-, Imperial College, London, All rights reserved.
;
; Contributors: PI:NAME:<NAME>END_PI
;
; Released under the MIT license..
;
(ns darwin.evolution.pareto
"Functions for computing Pareto dominance, rank etc. Currently limited to two-objective
comparison, but ... |
[
{
"context": "; Copyright (c) Rich Hickey. All rights reserved.\n; The use and distributio",
"end": 29,
"score": 0.999811053276062,
"start": 18,
"tag": "NAME",
"value": "Rich Hickey"
}
] | data/train/clojure/f6090d961ec94adfe37f359c9d5ceea2afb02869spec_test_instrument_debug.clj | harshp8l/deep-learning-lang-detection | 84 | ; Copyright (c) Rich Hickey. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
; which can be found in the file epl-v10.html at the root of this distribution.
; By using this software in any ... | 20708 | ; Copyright (c) <NAME>. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
; which can be found in the file epl-v10.html at the root of this distribution.
; By using this software in any fashi... | true | ; Copyright (c) PI:NAME:<NAME>END_PI. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
; which can be found in the file epl-v10.html at the root of this distribution.
; By using this softwar... |
[
{
"context": ";; Copyright 2014-2020 King\n;; Copyright 2009-2014 Ragnar Svensson, Christian Murray\n;; Licensed under the Defold Li",
"end": 111,
"score": 0.9998113512992859,
"start": 96,
"tag": "NAME",
"value": "Ragnar Svensson"
},
{
"context": "-2020 King\n;; Copyright 2009-2014 R... | editor/tasks/leiningen/builtins.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... | 43145 | ;; 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": "makes-blood-puns? false, :has-pulse? true :name \"McFishwich\"}\n 1 {:makes-blood-puns? false, :has-pulse? tru",
"end": 89,
"score": 0.9770858883857727,
"start": 79,
"tag": "NAME",
"value": "McFishwich"
},
{
"context": "makes-blood-puns? false, :has-pulse? true :nam... | clojure-noob/src/clojure_noob/vampireHunt.clj | christianzach/chz-clojure | 0 | (def vampire-database
{0 {:makes-blood-puns? false, :has-pulse? true :name "McFishwich"}
1 {:makes-blood-puns? false, :has-pulse? true :name "McMackson"}
2 {:makes-blood-puns? true, :has-pulse? false :name "Damon Salvatore"}
3 {:makes-blood-puns? true, :has-pulse? true :name "Mickey Mouse"}})
(defn v... | 2528 | (def vampire-database
{0 {:makes-blood-puns? false, :has-pulse? true :name "<NAME>"}
1 {:makes-blood-puns? false, :has-pulse? true :name "<NAME>"}
2 {:makes-blood-puns? true, :has-pulse? false :name "<NAME>"}
3 {:makes-blood-puns? true, :has-pulse? true :name "<NAME>"}})
(defn vampire-related-details... | true | (def vampire-database
{0 {:makes-blood-puns? false, :has-pulse? true :name "PI:NAME:<NAME>END_PI"}
1 {:makes-blood-puns? false, :has-pulse? true :name "PI:NAME:<NAME>END_PI"}
2 {:makes-blood-puns? true, :has-pulse? false :name "PI:NAME:<NAME>END_PI"}
3 {:makes-blood-puns? true, :has-pulse? true :name "P... |
[
{
"context": "; Copyright (c) Rich Hickey. All rights reserved.\n; The use and distributio",
"end": 29,
"score": 0.9998208284378052,
"start": 18,
"tag": "NAME",
"value": "Rich Hickey"
}
] | src/clj/cljm/compiler.clj | joshaber/clojurem | 31 | ; Copyright (c) Rich Hickey. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
; which can be found in the file epl-v10.html at the root of this distribution.
; By using this software in any ... | 79540 | ; Copyright (c) <NAME>. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
; which can be found in the file epl-v10.html at the root of this distribution.
; By using this software in any fashi... | true | ; Copyright (c) PI:NAME:<NAME>END_PI. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
; which can be found in the file epl-v10.html at the root of this distribution.
; By using this softwar... |
[
{
"context": "(ns #^{:author \"Mikael Reponen\"}\n cutter.opencv\n (:require [clojure.tools.name",
"end": 30,
"score": 0.9998813271522522,
"start": 16,
"tag": "NAME",
"value": "Mikael Reponen"
}
] | src/cutter/opencv.clj | Viritystila/cutter | 0 | (ns #^{:author "Mikael Reponen"}
cutter.opencv
(:require [clojure.tools.namespace.repl :refer [refresh]]
[watchtower.core :as watcher]
[clojure.java.io :as io]
[while-let.core :as while-let]
[cutter.general :refel :all]
[clojure.core.async
:as... | 61202 | (ns #^{:author "<NAME>"}
cutter.opencv
(:require [clojure.tools.namespace.repl :refer [refresh]]
[watchtower.core :as watcher]
[clojure.java.io :as io]
[while-let.core :as while-let]
[cutter.general :refel :all]
[clojure.core.async
:as async
... | true | (ns #^{:author "PI:NAME:<NAME>END_PI"}
cutter.opencv
(:require [clojure.tools.namespace.repl :refer [refresh]]
[watchtower.core :as watcher]
[clojure.java.io :as io]
[while-let.core :as while-let]
[cutter.general :refel :all]
[clojure.core.async
... |
[
{
"context": "\n ; add dht bootstrap node\n (add-node! \"rkJ0ws6PQz8FU7VvTW~Lelhb6DM=:rkJ0wkX6jrW3HJBNdhuLlWCUPKDAlX8T23lrTOeMGK8=:B5QFqHHlCT5fOA2QWLAlAKba1hIjW-KBt2HCqwtJg8JFa2KnjAzcexyveYT8HOcMB~W6nhwhzQ7~sywFkvcvRkKHbf6LqP0X43q9y2ADFk2t9LpUle-L-x34ZodEEDxQbwWo74f-rX5IemW2-Du-8NH-o124OGvq5N4uT4Pjtxm... | common/clojure/nightweb/torrents_dht.clj | anandprabhakar0507/Nightweb | 136 | (ns nightweb.torrents-dht
(:require [clojure.java.io :as java.io]
[nightweb.constants :as c]
[nightweb.crypto :as crypto]
[nightweb.db :as db]
[nightweb.io :as io]
[nightweb.formats :as f]
[nightweb.torrents :as t])
(:import [net.i2p.data Desti... | 94321 | (ns nightweb.torrents-dht
(:require [clojure.java.io :as java.io]
[nightweb.constants :as c]
[nightweb.crypto :as crypto]
[nightweb.db :as db]
[nightweb.io :as io]
[nightweb.formats :as f]
[nightweb.torrents :as t])
(:import [net.i2p.data Desti... | true | (ns nightweb.torrents-dht
(:require [clojure.java.io :as java.io]
[nightweb.constants :as c]
[nightweb.crypto :as crypto]
[nightweb.db :as db]
[nightweb.io :as io]
[nightweb.formats :as f]
[nightweb.torrents :as t])
(:import [net.i2p.data Desti... |
[
{
"context": "; Copyright 2018-2021 Rahul De\n;\n; Use of this source code is governed by an MIT",
"end": 30,
"score": 0.9998666048049927,
"start": 22,
"tag": "NAME",
"value": "Rahul De"
}
] | common/src/common/errors.clj | bob-cd/bob | 88 | ; Copyright 2018-2021 Rahul De
;
; Use of this source code is governed by an MIT-style
; license that can be found in the LICENSE file or at
; https://opensource.org/licenses/MIT.
(ns common.errors
(:require [langohr.basic :as lb]
[clojure.data.json :as json]
[taoensso.timbre :as log]))
(def... | 20957 | ; Copyright 2018-2021 <NAME>
;
; Use of this source code is governed by an MIT-style
; license that can be found in the LICENSE file or at
; https://opensource.org/licenses/MIT.
(ns common.errors
(:require [langohr.basic :as lb]
[clojure.data.json :as json]
[taoensso.timbre :as log]))
(defn ... | true | ; Copyright 2018-2021 PI:NAME:<NAME>END_PI
;
; Use of this source code is governed by an MIT-style
; license that can be found in the LICENSE file or at
; https://opensource.org/licenses/MIT.
(ns common.errors
(:require [langohr.basic :as lb]
[clojure.data.json :as json]
[taoensso.timbre :as ... |
[
{
"context": ";; Copyright © 2015-2019 Esko Luontola\n;; This software is released under the Apache Lic",
"end": 38,
"score": 0.9998838901519775,
"start": 25,
"tag": "NAME",
"value": "Esko Luontola"
},
{
"context": "\n(def ^:dynamic *user*)\n\n(def user-profile-keys [:sub :name :nick... | src/territory_bro/authentication.clj | JessRoberts/territory_assistant | 0 | ;; Copyright © 2015-2019 Esko Luontola
;; This software is released under the Apache License 2.0.
;; The license text is at http://www.apache.org/licenses/LICENSE-2.0
(ns territory-bro.authentication
(:require [territory-bro.config :refer [env]]))
(def ^:dynamic *user*)
(def user-profile-keys [:sub :name :nickname... | 33199 | ;; Copyright © 2015-2019 <NAME>
;; This software is released under the Apache License 2.0.
;; The license text is at http://www.apache.org/licenses/LICENSE-2.0
(ns territory-bro.authentication
(:require [territory-bro.config :refer [env]]))
(def ^:dynamic *user*)
(def user-profile-keys [:<KEY>email_<KEY>])
(defn ... | true | ;; Copyright © 2015-2019 PI:NAME:<NAME>END_PI
;; This software is released under the Apache License 2.0.
;; The license text is at http://www.apache.org/licenses/LICENSE-2.0
(ns territory-bro.authentication
(:require [territory-bro.config :refer [env]]))
(def ^:dynamic *user*)
(def user-profile-keys [:PI:KEY:<KEY>... |
[
{
"context": "(ns clj-derp.core\n ^{:author \"Frank Shearar\",\n :doc\n\"This file defines the derivative of a",
"end": 44,
"score": 0.9998798370361328,
"start": 31,
"tag": "NAME",
"value": "Frank Shearar"
}
] | src/clj_derp/core.clj | frankshearar/clj-derp | 1 | (ns clj-derp.core
^{:author "Frank Shearar",
:doc
"This file defines the derivative of a context free grammar,
and provides a simple API for parsing streams."}
(:require [clojure.set :as set])
(:require [clojure.string :as string])
(:require [clojure.core.cache :as cache]))
(defn cart-prod [set-one set-two... | 20212 | (ns clj-derp.core
^{:author "<NAME>",
:doc
"This file defines the derivative of a context free grammar,
and provides a simple API for parsing streams."}
(:require [clojure.set :as set])
(:require [clojure.string :as string])
(:require [clojure.core.cache :as cache]))
(defn cart-prod [set-one set-two concat... | true | (ns clj-derp.core
^{:author "PI:NAME:<NAME>END_PI",
:doc
"This file defines the derivative of a context free grammar,
and provides a simple API for parsing streams."}
(:require [clojure.set :as set])
(:require [clojure.string :as string])
(:require [clojure.core.cache :as cache]))
(defn cart-prod [set-one ... |
[
{
"context": " for user\"\n (let [{user-id :id} (get-user \"test@auto.com\")\n response (client/get (str \"http:/",
"end": 1259,
"score": 0.9999175071716309,
"start": 1246,
"tag": "EMAIL",
"value": "test@auto.com"
}
] | test/clarkenciel_site/core_test.clj | clarkenciel/clarkenciel-site | 0 | (ns clarkenciel-site.core-test
(:require [clojure.test :refer :all]
[ring.mock.request :refer :all]
[clarkenciel-site.test-config :refer :all]
[clarkenciel-site.db.core :refer :all]
[clj-http.client :as client]))
(use-fixtures :each (make-app 10003) database-fixture)
... | 37418 | (ns clarkenciel-site.core-test
(:require [clojure.test :refer :all]
[ring.mock.request :refer :all]
[clarkenciel-site.test-config :refer :all]
[clarkenciel-site.db.core :refer :all]
[clj-http.client :as client]))
(use-fixtures :each (make-app 10003) database-fixture)
... | true | (ns clarkenciel-site.core-test
(:require [clojure.test :refer :all]
[ring.mock.request :refer :all]
[clarkenciel-site.test-config :refer :all]
[clarkenciel-site.db.core :refer :all]
[clj-http.client :as client]))
(use-fixtures :each (make-app 10003) database-fixture)
... |
[
{
"context": ";; Copyright © 2015-2020 Esko Luontola\n;; This software is released under the Apache Lic",
"end": 38,
"score": 0.999885082244873,
"start": 25,
"tag": "NAME",
"value": "Esko Luontola"
}
] | src/territory_bro/infra/foreign_key.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.infra.foreign-key
(:require [schema.core :as s]
[schema.macros :as macros]
[schema.spec.core :as spec]
... | 80702 | ;; 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.infra.foreign-key
(:require [schema.core :as s]
[schema.macros :as macros]
[schema.spec.core :as spec]
... | 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.infra.foreign-key
(:require [schema.core :as s]
[schema.macros :as macros]
[schema.spec.core :as spec... |
[
{
"context": ";; Copyright (c) 2015-2022 Michael Schaeffer\n;;\n;; Licensed as below.\n;;\n;; Portions Copyright",
"end": 44,
"score": 0.999794602394104,
"start": 27,
"tag": "NAME",
"value": "Michael Schaeffer"
}
] | src/sql_file/middleware.clj | mschaef/sql-file | 1 | ;; Copyright (c) 2015-2022 Michael Schaeffer
;;
;; Licensed as below.
;;
;; Portions Copyright (c) 2014 KSM Technology Partners
;;
;; 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
;;
;; ... | 30070 | ;; Copyright (c) 2015-2022 <NAME>
;;
;; Licensed as below.
;;
;; Portions Copyright (c) 2014 KSM Technology Partners
;;
;; 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... | true | ;; Copyright (c) 2015-2022 PI:NAME:<NAME>END_PI
;;
;; Licensed as below.
;;
;; Portions Copyright (c) 2014 KSM Technology Partners
;;
;; 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": " [:id \"ptaoussanis\"]\n [:name \"Peter Taoussanis\"]]])\n\n :deploy-repositories {\"releases\" {:url \"h",
"end": 1131,
"score": 0.9998645782470703,
"start": 1115,
"tag": "NAME",
"value": "Peter Taoussanis"
}
] | com.taoensso/nippy/project.clj | juxt/clojars-mirrors | 0 | (defproject pro.juxt.clojars-mirrors.com.taoensso/nippy "3.1.1"
:description "High-performance serialization library for Clojure (mirrored from Clojars by JUXT)"
:url "https://github.com/ptaoussanis/nippy"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:sc... | 41272 | (defproject pro.juxt.clojars-mirrors.com.taoensso/nippy "3.1.1"
:description "High-performance serialization library for Clojure (mirrored from Clojars by JUXT)"
:url "https://github.com/ptaoussanis/nippy"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:sc... | true | (defproject pro.juxt.clojars-mirrors.com.taoensso/nippy "3.1.1"
:description "High-performance serialization library for Clojure (mirrored from Clojars by JUXT)"
:url "https://github.com/ptaoussanis/nippy"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:sc... |
[
{
"context": "(ns\n ^{:doc \"Handy trig fns\"\n :author \"Sam Aaron\"}\n overtone.algo.trig)\n\n(defn cosr\n \"Scaled, sh",
"end": 56,
"score": 0.9998877644538879,
"start": 47,
"tag": "NAME",
"value": "Sam Aaron"
}
] | src/overtone/algo/trig.clj | ABaldwinHunter/overtone | 3,870 | (ns
^{:doc "Handy trig fns"
:author "Sam Aaron"}
overtone.algo.trig)
(defn cosr
"Scaled, shifted (i.e. mul-add) cosine fn with the frequency specified in
terms of the idx (typically representing the beat).
Returns a value at idx along a scaled cosine fn with specified centre and
range. The frequen... | 72708 | (ns
^{:doc "Handy trig fns"
:author "<NAME>"}
overtone.algo.trig)
(defn cosr
"Scaled, shifted (i.e. mul-add) cosine fn with the frequency specified in
terms of the idx (typically representing the beat).
Returns a value at idx along a scaled cosine fn with specified centre and
range. The frequency ... | true | (ns
^{:doc "Handy trig fns"
:author "PI:NAME:<NAME>END_PI"}
overtone.algo.trig)
(defn cosr
"Scaled, shifted (i.e. mul-add) cosine fn with the frequency specified in
terms of the idx (typically representing the beat).
Returns a value at idx along a scaled cosine fn with specified centre and
range. ... |
[
{
"context": "om.dept24c.vivo.test-user)\n\n(def test-identifier \"test@tester.com\")\n(def test-secret \"laughable\")\n(def test-subject",
"end": 70,
"score": 0.9999247789382935,
"start": 55,
"tag": "EMAIL",
"value": "test@tester.com"
}
] | dev/com/dept24c/vivo/test_user.cljc | danmidwood/vivo | 4 | (ns com.dept24c.vivo.test-user)
(def test-identifier "test@tester.com")
(def test-secret "laughable")
(def test-subject-id "f9ba8537-476c-4b4f-86c5-a1263bb26138")
| 55225 | (ns com.dept24c.vivo.test-user)
(def test-identifier "<EMAIL>")
(def test-secret "laughable")
(def test-subject-id "f9ba8537-476c-4b4f-86c5-a1263bb26138")
| true | (ns com.dept24c.vivo.test-user)
(def test-identifier "PI:EMAIL:<EMAIL>END_PI")
(def test-secret "laughable")
(def test-subject-id "f9ba8537-476c-4b4f-86c5-a1263bb26138")
|
[
{
"context": ".core :refer [cond cond->]]))\n\n(def account-id\n \"012345678901\")\n\n(def region\n \"za-south-1\")\n\n(defmulti resolve",
"end": 353,
"score": 0.9958377480506897,
"start": 341,
"tag": "KEY",
"value": "012345678901"
},
{
"context": " (def template\n (json/read-s... | cdk-sfn/source/sinistral/aws_mis/cdk_sfn.clj | sinistral/aws-mis | 1 |
(ns sinistral.aws-mis.cdk-sfn
(:refer-clojure :exclude [cond cond->])
(:require [clojure.data.json :as json]
[clojure.java.io :as io]
[clojure.string :as str]
[clojure.tools.cli :as cli]
[clojure.walk :as walk]
[familiar.alpha.core :refer [cond cond->]]))... | 105916 |
(ns sinistral.aws-mis.cdk-sfn
(:refer-clojure :exclude [cond cond->])
(:require [clojure.data.json :as json]
[clojure.java.io :as io]
[clojure.string :as str]
[clojure.tools.cli :as cli]
[clojure.walk :as walk]
[familiar.alpha.core :refer [cond cond->]]))... | true |
(ns sinistral.aws-mis.cdk-sfn
(:refer-clojure :exclude [cond cond->])
(:require [clojure.data.json :as json]
[clojure.java.io :as io]
[clojure.string :as str]
[clojure.tools.cli :as cli]
[clojure.walk :as walk]
[familiar.alpha.core :refer [cond cond->]]))... |
[
{
"context": " :dbname \"league-stats.db\"\n :username \"sa\"\n :password \"superSecureYou'llNeverGuess\"}",
"end": 980,
"score": 0.9840487241744995,
"start": 978,
"tag": "USERNAME",
"value": "sa"
},
{
"context": "ats.db\"\n :username \"sa\"\n :passwor... | src/league_stats_backend/core.clj | youhavethewrong/league-stats-backend | 1 | (ns league-stats-backend.core
(:require [clojure.java.io :as io]
[taoensso.timbre :as log]
[compojure.core :refer [routes GET POST]]
[compojure.handler :as handler]
[ring.middleware.json :refer [wrap-json-response]]
[ring.middleware.params :refer [wrap-param... | 41779 | (ns league-stats-backend.core
(:require [clojure.java.io :as io]
[taoensso.timbre :as log]
[compojure.core :refer [routes GET POST]]
[compojure.handler :as handler]
[ring.middleware.json :refer [wrap-json-response]]
[ring.middleware.params :refer [wrap-param... | true | (ns league-stats-backend.core
(:require [clojure.java.io :as io]
[taoensso.timbre :as log]
[compojure.core :refer [routes GET POST]]
[compojure.handler :as handler]
[ring.middleware.json :refer [wrap-json-response]]
[ring.middleware.params :refer [wrap-param... |
[
{
"context": ";; Copyright 2014 (c) Diego Souza <dsouza@c0d3.xxx>\n;; Copyright 2014 (c) Alexandre",
"end": 33,
"score": 0.9998773336410522,
"start": 22,
"tag": "NAME",
"value": "Diego Souza"
},
{
"context": ";; Copyright 2014 (c) Diego Souza <dsouza@c0d3.xxx>\n;; Copyright 2014 (c) ... | src/blackbox/src/leela/blackbox/storage/s3.clj | locaweb/leela | 22 | ;; Copyright 2014 (c) Diego Souza <dsouza@c0d3.xxx>
;; Copyright 2014 (c) Alexandre Baaklini <abaaklini@gmail.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.apa... | 48517 | ;; Copyright 2014 (c) <NAME> <<EMAIL>>
;; Copyright 2014 (c) <NAME> <<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/licenses/LICENSE-2.0
;;
;; Un... | true | ;; Copyright 2014 (c) PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
;; Copyright 2014 (c) PI:NAME:<NAME>END_PI <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": " (= @f1 @f2))\n \"mbox::mailto:alicefaux@example.org\"\n \"mbox::mailto:bobfake@example.org\"\n ",
"end": 1174,
"score": 0.999829888343811,
"start": 1153,
"tag": "EMAIL",
"value": "alicefaux@example.org"
},
{
"context": "ilto:alicefaux@ex... | src/test/com/yetanalytics/datasim/sim_test.clj | yetanalytics/datasim | 12 | (ns com.yetanalytics.datasim.sim-test
(:require [clojure.test :refer [deftest testing is are]]
[com.yetanalytics.datasim.sim :refer [build-skeleton sim-seq]]
[com.yetanalytics.datasim.input :as input]
[clojure.spec.alpha :as s]
[xapi-schema.spec :as xs]))
(def valid-in... | 58199 | (ns com.yetanalytics.datasim.sim-test
(:require [clojure.test :refer [deftest testing is are]]
[com.yetanalytics.datasim.sim :refer [build-skeleton sim-seq]]
[com.yetanalytics.datasim.input :as input]
[clojure.spec.alpha :as s]
[xapi-schema.spec :as xs]))
(def valid-in... | true | (ns com.yetanalytics.datasim.sim-test
(:require [clojure.test :refer [deftest testing is are]]
[com.yetanalytics.datasim.sim :refer [build-skeleton sim-seq]]
[com.yetanalytics.datasim.input :as input]
[clojure.spec.alpha :as s]
[xapi-schema.spec :as xs]))
(def valid-in... |
[
{
"context": "st create-list\n (let [user (users/create {:name \"Test user\" :email \"me@mytest.com\" :password \"s3cret\"})]\n\n ",
"end": 356,
"score": 0.9979615211486816,
"start": 347,
"tag": "USERNAME",
"value": "Test user"
},
{
"context": "et [user (users/create {:name \"Test ... | restful-clojure/test/restful_clojure/lists_test.clj | joaobertacchi/restful-clojure | 65 | (ns restful-clojure.lists-test
(:use clojure.test
restful-clojure.test-core)
(:require [restful-clojure.models.lists :as lists]
[restful-clojure.models.products :as products]
[restful-clojure.models.users :as users]))
(use-fixtures :each with-rollback)
(deftest create-list
(let [... | 118503 | (ns restful-clojure.lists-test
(:use clojure.test
restful-clojure.test-core)
(:require [restful-clojure.models.lists :as lists]
[restful-clojure.models.products :as products]
[restful-clojure.models.users :as users]))
(use-fixtures :each with-rollback)
(deftest create-list
(let [... | true | (ns restful-clojure.lists-test
(:use clojure.test
restful-clojure.test-core)
(:require [restful-clojure.models.lists :as lists]
[restful-clojure.models.products :as products]
[restful-clojure.models.users :as users]))
(use-fixtures :each with-rollback)
(deftest create-list
(let [... |
[
{
"context": ":input {:name \"from\"\n :placeholder \"Lähtösana\"\n :type \"text\"\n :clas",
"end": 2176,
"score": 0.7536916732788086,
"start": 2167,
"tag": "NAME",
"value": "Lähtösana"
},
{
"context": " [:input {:name \"to\"\n :... | src/hauskisgeneraattori/core.cljs | tvirolai/hauskisgeneraattori | 0 | (ns hauskisgeneraattori.core
(:require-macros [cljs.core.async.macros :refer [go]])
(:require [reagent.core :as r]
[cljs-http.client :as http]
[cljs.core.async :refer [<! timeout]]
[ajax.core :refer [GET]]
[clojure.string :as str]))
(def state (r/atom {:from ""
... | 122598 | (ns hauskisgeneraattori.core
(:require-macros [cljs.core.async.macros :refer [go]])
(:require [reagent.core :as r]
[cljs-http.client :as http]
[cljs.core.async :refer [<! timeout]]
[ajax.core :refer [GET]]
[clojure.string :as str]))
(def state (r/atom {:from ""
... | true | (ns hauskisgeneraattori.core
(:require-macros [cljs.core.async.macros :refer [go]])
(:require [reagent.core :as r]
[cljs-http.client :as http]
[cljs.core.async :refer [<! timeout]]
[ajax.core :refer [GET]]
[clojure.string :as str]))
(def state (r/atom {:from ""
... |
[
{
"context": ";;; Author: David Goldfarb (deg@degel.com)\n;;; Copyright (c) 2017, David Gol",
"end": 26,
"score": 0.9998875260353088,
"start": 12,
"tag": "NAME",
"value": "David Goldfarb"
},
{
"context": ";;; Author: David Goldfarb (deg@degel.com)\n;;; Copyright (c) 2017, David Goldf... | src/cljs/localist/re_frame_firebase/helpers.cljs | jahenderson777/localist | 0 | ;;; Author: David Goldfarb (deg@degel.com)
;;; Copyright (c) 2017, David Goldfarb
(ns localist.re-frame-firebase.helpers
(:require
[clojure.spec.alpha :as s]
[iron.re-utils :as re-utils]
[iron.utils :as utils]
[localist.re-frame-firebase.core :as core]))
;;; Helper functions that straddle the line betw... | 16651 | ;;; Author: <NAME> (<EMAIL>)
;;; Copyright (c) 2017, <NAME>
(ns localist.re-frame-firebase.helpers
(:require
[clojure.spec.alpha :as s]
[iron.re-utils :as re-utils]
[iron.utils :as utils]
[localist.re-frame-firebase.core :as core]))
;;; Helper functions that straddle the line between this library and I... | true | ;;; Author: PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI)
;;; Copyright (c) 2017, PI:NAME:<NAME>END_PI
(ns localist.re-frame-firebase.helpers
(:require
[clojure.spec.alpha :as s]
[iron.re-utils :as re-utils]
[iron.utils :as utils]
[localist.re-frame-firebase.core :as core]))
;;; Helper functions that s... |
[
{
"context": " :user user\n :password password}))\n\n(defn create-user [user]\n (sql/insert! db :u",
"end": 381,
"score": 0.9990202784538269,
"start": 373,
"tag": "PASSWORD",
"value": "password"
}
] | src/blog/models/db.clj | VitaliyHnatyk/web-app | 0 | (ns blog.models.db
(:require [clojure.java.jdbc :as sql]))
(defn db-url [host port database]
(str "//" host ":" port "/" database))
(let [host "localhost"
port 3306
database "blog"
user "root"
password ""]
(def db {:subprotocol "mysql"
:subname (db-url host port database)
... | 22278 | (ns blog.models.db
(:require [clojure.java.jdbc :as sql]))
(defn db-url [host port database]
(str "//" host ":" port "/" database))
(let [host "localhost"
port 3306
database "blog"
user "root"
password ""]
(def db {:subprotocol "mysql"
:subname (db-url host port database)
... | true | (ns blog.models.db
(:require [clojure.java.jdbc :as sql]))
(defn db-url [host port database]
(str "//" host ":" port "/" database))
(let [host "localhost"
port 3306
database "blog"
user "root"
password ""]
(def db {:subprotocol "mysql"
:subname (db-url host port database)
... |
[
{
"context": "app-state\n (reagent/atom [{:id 1 :first-name \"Jason\" :last-name \"Yates\" :age \"34\"}\n ",
"end": 164,
"score": 0.9997221231460571,
"start": 159,
"tag": "NAME",
"value": "Jason"
},
{
"context": "gent/atom [{:id 1 :first-name \"Jason\" :last-name... | recipes/filter-table/src/cljs/filter_table/core.cljs | yatesj9/reagent-cookbook | 1 | (ns filter-table.core
(:require [reagent.core :as reagent]
[clojure.string :as string]))
(def app-state
(reagent/atom [{:id 1 :first-name "Jason" :last-name "Yates" :age "34"}
{:id 2 :first-name "Chris" :last-name "Wilson" :age "33"}
{:id 3 :first-name "John" ... | 52141 | (ns filter-table.core
(:require [reagent.core :as reagent]
[clojure.string :as string]))
(def app-state
(reagent/atom [{:id 1 :first-name "<NAME>" :last-name "<NAME>" :age "34"}
{:id 2 :first-name "<NAME>" :last-name "<NAME>" :age "33"}
{:id 3 :first-name "<NA... | true | (ns filter-table.core
(:require [reagent.core :as reagent]
[clojure.string :as string]))
(def app-state
(reagent/atom [{:id 1 :first-name "PI:NAME:<NAME>END_PI" :last-name "PI:NAME:<NAME>END_PI" :age "34"}
{:id 2 :first-name "PI:NAME:<NAME>END_PI" :last-name "PI:NAME:<NAME>END_PI... |
[
{
"context": "_CLIENT_ID\"\n :client-secret \"MyMITREidClientSecret\"\n :authorize-url \"https://au",
"end": 1061,
"score": 0.9797096252441406,
"start": 1040,
"tag": "KEY",
"value": "MyMITREidClientSecret"
}
] | code/test/sixsq/nuvla/server/resources/spec/configuration_template_session_mitreid_test.cljc | nuvla/server | 6 | (ns sixsq.nuvla.server.resources.spec.configuration-template-session-mitreid-test
(:require
[clojure.test :refer [deftest]]
[sixsq.nuvla.server.resources.configuration-template :as ct]
[sixsq.nuvla.server.resources.spec.configuration-template-session-mitreid :as cts-mitreid]
[sixsq.nuvla.server.resour... | 26247 | (ns sixsq.nuvla.server.resources.spec.configuration-template-session-mitreid-test
(:require
[clojure.test :refer [deftest]]
[sixsq.nuvla.server.resources.configuration-template :as ct]
[sixsq.nuvla.server.resources.spec.configuration-template-session-mitreid :as cts-mitreid]
[sixsq.nuvla.server.resour... | true | (ns sixsq.nuvla.server.resources.spec.configuration-template-session-mitreid-test
(:require
[clojure.test :refer [deftest]]
[sixsq.nuvla.server.resources.configuration-template :as ct]
[sixsq.nuvla.server.resources.spec.configuration-template-session-mitreid :as cts-mitreid]
[sixsq.nuvla.server.resour... |
[
{
"context": "ef samples (h/gen-samples num-samples))\n\n(def p1 \"Doe John Male Green 1/1/1995\")\n(def p2 \"Doe Jane Female Blue",
"end": 481,
"score": 0.977908194065094,
"start": 471,
"tag": "NAME",
"value": "Doe John M"
},
{
"context": "\n(def p1 \"Doe John Male Green 1/1/1995\")... | test/sorted/core_test.clj | gekkoe/sorted | 0 | (ns sorted.core-test
(:require [clojure.spec.alpha :as s]
[clojure.string :refer [join]]
[clojure.test :refer :all]
[sorted.core :as c]
[sorted.helpers :as h]
[sorted.people :as ppl]
[sorted.person :as p]))
(def num-tests 1000) ; Increase this t... | 110893 | (ns sorted.core-test
(:require [clojure.spec.alpha :as s]
[clojure.string :refer [join]]
[clojure.test :refer :all]
[sorted.core :as c]
[sorted.helpers :as h]
[sorted.people :as ppl]
[sorted.person :as p]))
(def num-tests 1000) ; Increase this t... | true | (ns sorted.core-test
(:require [clojure.spec.alpha :as s]
[clojure.string :refer [join]]
[clojure.test :refer :all]
[sorted.core :as c]
[sorted.helpers :as h]
[sorted.people :as ppl]
[sorted.person :as p]))
(def num-tests 1000) ; Increase this t... |
[
{
"context": "herer-id 123456,\n :rarity \"Common\",\n :artist \"Stabby Stanley\",\n :name \"Uslar\",\n :typelist \"Creature — Bear",
"end": 7973,
"score": 0.9998337030410767,
"start": 7959,
"tag": "NAME",
"value": "Stabby Stanley"
},
{
"context": " \"Common\",\n :artist \"... | src/loa/gatherer/card_details.clj | karmag/loa | 4 | (ns loa.gatherer.card-details
(:require (loa.gatherer (common :as common-))
(loa.util (xml :as xml-))))
(declare translate-image-string)
;;--------------------------------------------------
;; helpers
(defn- get-text [xml]
(-> (xml-/xml-> (xml-/from-xml xml) xml-/text)
first
.trim))
(def... | 102598 | (ns loa.gatherer.card-details
(:require (loa.gatherer (common :as common-))
(loa.util (xml :as xml-))))
(declare translate-image-string)
;;--------------------------------------------------
;; helpers
(defn- get-text [xml]
(-> (xml-/xml-> (xml-/from-xml xml) xml-/text)
first
.trim))
(def... | true | (ns loa.gatherer.card-details
(:require (loa.gatherer (common :as common-))
(loa.util (xml :as xml-))))
(declare translate-image-string)
;;--------------------------------------------------
;; helpers
(defn- get-text [xml]
(-> (xml-/xml-> (xml-/from-xml xml) xml-/text)
first
.trim))
(def... |
[
{
"context": " uri,\n :user user,\n :password password,\n :db db\n :destroy-fn #(.close ",
"end": 1344,
"score": 0.9992249011993408,
"start": 1336,
"tag": "PASSWORD",
"value": "password"
}
] | src/neo4j_clj/core.clj | cloojure/neo4j-clj | 85 | (ns neo4j-clj.core
"This namespace contains the logic to connect to Neo4j instances,
create and run queries as well as creating an in-memory database for
testing."
(:require [neo4j-clj.compatibility :refer [neo4j->clj clj->neo4j]])
(:import (org.neo4j.driver GraphDatabase AuthTokens Config AuthToken Driver Se... | 49797 | (ns neo4j-clj.core
"This namespace contains the logic to connect to Neo4j instances,
create and run queries as well as creating an in-memory database for
testing."
(:require [neo4j-clj.compatibility :refer [neo4j->clj clj->neo4j]])
(:import (org.neo4j.driver GraphDatabase AuthTokens Config AuthToken Driver Se... | true | (ns neo4j-clj.core
"This namespace contains the logic to connect to Neo4j instances,
create and run queries as well as creating an in-memory database for
testing."
(:require [neo4j-clj.compatibility :refer [neo4j->clj clj->neo4j]])
(:import (org.neo4j.driver GraphDatabase AuthTokens Config AuthToken Driver Se... |
[
{
"context": "run --rm --name crux-mysql -e MYSQL_ROOT_PASSWORD=my-secret-pw -p 3306:3306 -d mysql:8.0.21\n ;; mariadb -h ",
"end": 2038,
"score": 0.9991905093193054,
"start": 2026,
"tag": "PASSWORD",
"value": "my-secret-pw"
},
{
"context": " -p 3306:3306 -d mysql:8.0.21\n ... | crux-test/src/crux/fixtures/jdbc.clj | coyotesqrl/crux | 0 | (ns crux.fixtures.jdbc
(:require [clojure.java.io :as io]
[crux.fixtures :as fix]
[crux.jdbc :as j]
[clojure.test :as t])
(:import com.opentable.db.postgres.embedded.EmbeddedPostgres))
(defn- with-jdbc-opts [{:keys [pool-opts dialect db-spec]} f]
(fix/with-opts {::j/connection... | 112555 | (ns crux.fixtures.jdbc
(:require [clojure.java.io :as io]
[crux.fixtures :as fix]
[crux.jdbc :as j]
[clojure.test :as t])
(:import com.opentable.db.postgres.embedded.EmbeddedPostgres))
(defn- with-jdbc-opts [{:keys [pool-opts dialect db-spec]} f]
(fix/with-opts {::j/connection... | true | (ns crux.fixtures.jdbc
(:require [clojure.java.io :as io]
[crux.fixtures :as fix]
[crux.jdbc :as j]
[clojure.test :as t])
(:import com.opentable.db.postgres.embedded.EmbeddedPostgres))
(defn- with-jdbc-opts [{:keys [pool-opts dialect db-spec]} f]
(fix/with-opts {::j/connection... |
[
{
"context": "ring butter\"\n :resource-id \"rafik\"\n :duration 5\n ",
"end": 424,
"score": 0.8051007986068726,
"start": 419,
"tag": "NAME",
"value": "rafik"
},
{
"context": "er on bread\"\n :resource-id \... | test/milestones/dyna_scheduler_test.clj | vinity/milestones | 63 | (ns milestones.dyna-scheduler-test
(:require [milestones.dyna-scheduler :refer :all]
[clojure.test :refer :all]))
(def correct-tasks {1 {:task-name "Bring bread"
:resource-id "mehdi"
:duration 5
:priority 1
:prede... | 11752 | (ns milestones.dyna-scheduler-test
(:require [milestones.dyna-scheduler :refer :all]
[clojure.test :refer :all]))
(def correct-tasks {1 {:task-name "Bring bread"
:resource-id "mehdi"
:duration 5
:priority 1
:prede... | true | (ns milestones.dyna-scheduler-test
(:require [milestones.dyna-scheduler :refer :all]
[clojure.test :refer :all]))
(def correct-tasks {1 {:task-name "Bring bread"
:resource-id "mehdi"
:duration 5
:priority 1
:prede... |
[
{
"context": "-reset.ba.bg-transparent {:name \"password\" :type \"password\"}]]\n [:div.mt3\n [:input.b.",
"end": 3939,
"score": 0.822975754737854,
"start": 3931,
"tag": "PASSWORD",
"value": "password"
},
{
"context": " moment Chili Dog Night is \"\n ... | src/clj/chili_dog_night/views.clj | chili-dog-night/site | 0 | (ns chili-dog-night.views
(:require [hiccup.page :as h]
[hiccup.element :as el]
[clj-rss.core :as rss]
[clj-time.core :as t]
[clj-time.coerce :as c]
[clj-time.format :as f]
[clojure.string :as str]))
(defn link-to [url text]
(el/link-to {:clas... | 88522 | (ns chili-dog-night.views
(:require [hiccup.page :as h]
[hiccup.element :as el]
[clj-rss.core :as rss]
[clj-time.core :as t]
[clj-time.coerce :as c]
[clj-time.format :as f]
[clojure.string :as str]))
(defn link-to [url text]
(el/link-to {:clas... | true | (ns chili-dog-night.views
(:require [hiccup.page :as h]
[hiccup.element :as el]
[clj-rss.core :as rss]
[clj-time.core :as t]
[clj-time.coerce :as c]
[clj-time.format :as f]
[clojure.string :as str]))
(defn link-to [url text]
(el/link-to {:clas... |
[
{
"context": "abase \"cggdb\"\n :username \"cgg_role\"\n :password \"lacinia\"\n ",
"end": 408,
"score": 0.9954491853713989,
"start": 400,
"tag": "USERNAME",
"value": "cgg_role"
},
{
"context": "me \"cgg_role\"\n ... | src/clojure_game_geek/db.clj | hlship/clojure-game-geek | 0 | (ns clojure-game-geek.db
(:require
[com.stuartsierra.component :as component]
[postgres.async :refer [open-db query! close-db!]]
[clojure.core.async :refer [<!!]]))
(defrecord ClojureGameGeekDb [conn]
component/Lifecycle
(start [this]
(assoc this
:conn (open-db {:hostname "localhost"... | 103570 | (ns clojure-game-geek.db
(:require
[com.stuartsierra.component :as component]
[postgres.async :refer [open-db query! close-db!]]
[clojure.core.async :refer [<!!]]))
(defrecord ClojureGameGeekDb [conn]
component/Lifecycle
(start [this]
(assoc this
:conn (open-db {:hostname "localhost"... | true | (ns clojure-game-geek.db
(:require
[com.stuartsierra.component :as component]
[postgres.async :refer [open-db query! close-db!]]
[clojure.core.async :refer [<!!]]))
(defrecord ClojureGameGeekDb [conn]
component/Lifecycle
(start [this]
(assoc this
:conn (open-db {:hostname "localhost"... |
[
{
"context": "an be [found on\n;; GitHub](https://www.github.com/tombooth/painting-in-clojure).\n;; Below is an example of w",
"end": 291,
"score": 0.9982208609580994,
"start": 283,
"tag": "USERNAME",
"value": "tombooth"
},
{
"context": ";; <button id=\"fill\">Fill canvas</button>\n\... | src/uk/co/tombooth/pollock.cljs | tombooth/painting-in-clojure | 20 | (ns uk.co.tombooth.pollock
(:require [quil.core :as q :include-macros true]))
;; ---
;; title: Painting in Clojure
;; ...
;; Learning Clojure by building a digital Jackson Pollock. This
;; article and the source code backing it can be [found on
;; GitHub](https://www.github.com/tombooth/painting-in-clojure).
;; Bel... | 108482 | (ns uk.co.tombooth.pollock
(:require [quil.core :as q :include-macros true]))
;; ---
;; title: Painting in Clojure
;; ...
;; Learning Clojure by building a digital Jackson Pollock. This
;; article and the source code backing it can be [found on
;; GitHub](https://www.github.com/tombooth/painting-in-clojure).
;; Bel... | true | (ns uk.co.tombooth.pollock
(:require [quil.core :as q :include-macros true]))
;; ---
;; title: Painting in Clojure
;; ...
;; Learning Clojure by building a digital Jackson Pollock. This
;; article and the source code backing it can be [found on
;; GitHub](https://www.github.com/tombooth/painting-in-clojure).
;; Bel... |
[
{
"context": ";; Copyright © 2015-2020 Esko Luontola\n;; This software is released under the Apache Lic",
"end": 38,
"score": 0.9998820424079895,
"start": 25,
"tag": "NAME",
"value": "Esko Luontola"
}
] | test/territory_bro/domain/congregation_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.congregation-test
(:require [clojure.test :refer :all]
[territory-bro.domain.congregation :as congregation]
... | 42267 | ;; 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.congregation-test
(:require [clojure.test :refer :all]
[territory-bro.domain.congregation :as congregation]
... | 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.congregation-test
(:require [clojure.test :refer :all]
[territory-bro.domain.congregation :as congregation... |
[
{
"context": "y contained\"\n ; (let [bob {:kind :author :name \"Bob\"}\n ; presentation (legend/present! bob)]\n",
"end": 624,
"score": 0.9983497262001038,
"start": 621,
"tag": "NAME",
"value": "Bob"
},
{
"context": "y contained\"\n ; (let [bob {:kind :author :name \"Bob... | apron/spec/cljc/c3kit/apron/legend_spec.cljc | cleancoders/kit | 1 | (ns c3kit.apron.legend-spec
(:require
[c3kit.apron.schema :as s]
[c3kit.apron.legend :as sut]
[speclj.core #?(:clj :refer :cljs :refer-macros) [context describe it xit should= should-contain
should-not-contain should-throw should-not-be-nil with]]))
... | 6030 | (ns c3kit.apron.legend-spec
(:require
[c3kit.apron.schema :as s]
[c3kit.apron.legend :as sut]
[speclj.core #?(:clj :refer :cljs :refer-macros) [context describe it xit should= should-contain
should-not-contain should-throw should-not-be-nil with]]))
... | true | (ns c3kit.apron.legend-spec
(:require
[c3kit.apron.schema :as s]
[c3kit.apron.legend :as sut]
[speclj.core #?(:clj :refer :cljs :refer-macros) [context describe it xit should= should-contain
should-not-contain should-throw should-not-be-nil with]]))
... |
[
{
"context": "(defproject jstrutz/hashids \"1.0.1\"\n :description \"Generate short",
"end": 16,
"score": 0.5717676281929016,
"start": 12,
"tag": "USERNAME",
"value": "jstr"
},
{
"context": "que ids from integers\"\n :url \"https://github.com/jstrutz/hashids.clj\"\n :scm {:name \"... | project.clj | jstrutz/hashids-clj | 84 | (defproject jstrutz/hashids "1.0.1"
:description "Generate short unique ids from integers"
:url "https://github.com/jstrutz/hashids.clj"
:scm {:name "git"
:url "https://github.com/jstrutz/hashids.clj"}
:license {:name "MIT License"
:url "http://opensource.org/licenses/MIT"}
:signing {:gpg-... | 76893 | (defproject jstrutz/hashids "1.0.1"
:description "Generate short unique ids from integers"
:url "https://github.com/jstrutz/hashids.clj"
:scm {:name "git"
:url "https://github.com/jstrutz/hashids.clj"}
:license {:name "MIT License"
:url "http://opensource.org/licenses/MIT"}
:signing {:gpg-... | true | (defproject jstrutz/hashids "1.0.1"
:description "Generate short unique ids from integers"
:url "https://github.com/jstrutz/hashids.clj"
:scm {:name "git"
:url "https://github.com/jstrutz/hashids.clj"}
:license {:name "MIT License"
:url "http://opensource.org/licenses/MIT"}
:signing {:gpg-... |
[
{
"context": " :password \"hunter2\"}))))\n body (parse-body (:body res",
"end": 899,
"score": 0.9993384480476379,
"start": 892,
"tag": "PASSWORD",
"value": "hunter2"
},
{
"context": " :passwor... | test/pigeon_backend/routes/login_routes_test.clj | rulebased-chat/pigeon-backend | 0 | (ns pigeon-backend.routes.login-routes-test
(:require [clojure.test :refer :all]
[cheshire.core :as cheshire]
[pigeon-backend.handler :refer [app]]
[ring.mock.request :as mock]
[pigeon-backend.test-util :refer :all]
[pigeon-backend.db.migrations :as migratio... | 121314 | (ns pigeon-backend.routes.login-routes-test
(:require [clojure.test :refer :all]
[cheshire.core :as cheshire]
[pigeon-backend.handler :refer [app]]
[ring.mock.request :as mock]
[pigeon-backend.test-util :refer :all]
[pigeon-backend.db.migrations :as migratio... | true | (ns pigeon-backend.routes.login-routes-test
(:require [clojure.test :refer :all]
[cheshire.core :as cheshire]
[pigeon-backend.handler :refer [app]]
[ring.mock.request :as mock]
[pigeon-backend.test-util :refer :all]
[pigeon-backend.db.migrations :as migratio... |
[
{
"context": "org\\\"\n :api-key \\\"EDC33DA4D977CFDF7B90545565E07324\\\"\n :app-id \\\"admi",
"end": 1285,
"score": 0.9997540712356567,
"start": 1253,
"tag": "KEY",
"value": "EDC33DA4D977CFDF7B90545565E07324"
}
] | src/clj_osf/ontology/create.clj | structureddynamics/clj-osf | 4 | (ns clj-osf.ontology.create
"Send a Ontology Create service is used to create/import a new OWL ontology into the
OSF instance.
This service is a web service wrapper over the OWLAPI ontology library. It wraps
all the needed functionalities related to ontology creation/import. Most of the
relatd API has b... | 116083 | (ns clj-osf.ontology.create
"Send a Ontology Create service is used to create/import a new OWL ontology into the
OSF instance.
This service is a web service wrapper over the OWLAPI ontology library. It wraps
all the needed functionalities related to ontology creation/import. Most of the
relatd API has b... | true | (ns clj-osf.ontology.create
"Send a Ontology Create service is used to create/import a new OWL ontology into the
OSF instance.
This service is a web service wrapper over the OWLAPI ontology library. It wraps
all the needed functionalities related to ontology creation/import. Most of the
relatd API has b... |
[
{
"context": "\n :authentication {:username \"zcaudate\"\n :password ",
"end": 2012,
"score": 0.9995166063308716,
"start": 2004,
"tag": "USERNAME",
"value": "zcaudate"
},
{
"context": "\n :p... | test/lucid/aether/remote_repo_test.clj | willcohen/lucidity | 3 | (ns lucid.aether.remote-repo-test
(:use hara.test)
(:require [hara.object :as object])
(:import (org.eclipse.aether.repository RemoteRepository
RemoteRepository$Builder
RepositoryPolicy)))
^{:refer lucid.aether.remote-repo/reposi... | 9322 | (ns lucid.aether.remote-repo-test
(:use hara.test)
(:require [hara.object :as object])
(:import (org.eclipse.aether.repository RemoteRepository
RemoteRepository$Builder
RepositoryPolicy)))
^{:refer lucid.aether.remote-repo/reposi... | true | (ns lucid.aether.remote-repo-test
(:use hara.test)
(:require [hara.object :as object])
(:import (org.eclipse.aether.repository RemoteRepository
RemoteRepository$Builder
RepositoryPolicy)))
^{:refer lucid.aether.remote-repo/reposi... |
[
{
"context": " form \"user-id\")\n password (get form \"password\")\n email (get form \"email\")\n ",
"end": 3188,
"score": 0.6939240097999573,
"start": 3180,
"tag": "PASSWORD",
"value": "password"
},
{
"context": "\" :label \"Password\" :password? tru... | src/cylon/signup/signup.clj | michaelklishin/cylon | 1 | (ns cylon.signup.signup
(:require
[cylon.signup.protocols :refer (render-signup-form send-email render-email-verified Emailer SignupFormRenderer WelcomeRenderer render-welcome)]
[clojure.tools.logging :refer :all]
[cylon.session :refer (session respond-with-new-session! assoc-session-data!)]
[cylon.sessio... | 68374 | (ns cylon.signup.signup
(:require
[cylon.signup.protocols :refer (render-signup-form send-email render-email-verified Emailer SignupFormRenderer WelcomeRenderer render-welcome)]
[clojure.tools.logging :refer :all]
[cylon.session :refer (session respond-with-new-session! assoc-session-data!)]
[cylon.sessio... | true | (ns cylon.signup.signup
(:require
[cylon.signup.protocols :refer (render-signup-form send-email render-email-verified Emailer SignupFormRenderer WelcomeRenderer render-welcome)]
[clojure.tools.logging :refer :all]
[cylon.session :refer (session respond-with-new-session! assoc-session-data!)]
[cylon.sessio... |
[
{
"context": " :new_password (s/maybe (:password User))\n :new_password_ver",
"end": 2700,
"score": 0.6626996397972107,
"start": 2696,
"tag": "PASSWORD",
"value": "User"
},
{
"context": " :new_password_verify (s/maybe (:password U... | src/cljc/salava/user/schemas.cljc | Vilikkki/salava | 17 | (ns salava.user.schemas
(:require [schema.core :as s
:include-macros true] ;; cljs only
[salava.core.schema-helper :as h]
[salava.core.countries :refer [all-countries]]))
(def contact-fields
[{:type "email" :key :user/Emailaddress}
{:type "phone" :key :user/Phonenumber}
... | 30158 | (ns salava.user.schemas
(:require [schema.core :as s
:include-macros true] ;; cljs only
[salava.core.schema-helper :as h]
[salava.core.countries :refer [all-countries]]))
(def contact-fields
[{:type "email" :key :user/Emailaddress}
{:type "phone" :key :user/Phonenumber}
... | true | (ns salava.user.schemas
(:require [schema.core :as s
:include-macros true] ;; cljs only
[salava.core.schema-helper :as h]
[salava.core.countries :refer [all-countries]]))
(def contact-fields
[{:type "email" :key :user/Emailaddress}
{:type "phone" :key :user/Phonenumber}
... |
[
{
"context": " :json-schema/description \"root password for NuvlaBox\"\n\n :json-schema/order 15)))\n\n\n(s/d",
"end": 2007,
"score": 0.7098751068115234,
"start": 2003,
"tag": "PASSWORD",
"value": "uvla"
},
{
"context": "/spec ::core/nonblank-string)\n (assoc :na... | code/src/sixsq/nuvla/server/resources/spec/nuvlabox_0.cljc | 0xbase12/api-server | 6 | (ns sixsq.nuvla.server.resources.spec.nuvlabox-0
(:require
[clojure.spec.alpha :as s]
[sixsq.nuvla.server.resources.spec.common :as common]
[sixsq.nuvla.server.resources.spec.core :as core]
[sixsq.nuvla.server.resources.spec.nuvlabox :as nb]
[sixsq.nuvla.server.util.spec :as su]
[spec-tools.co... | 16538 | (ns sixsq.nuvla.server.resources.spec.nuvlabox-0
(:require
[clojure.spec.alpha :as s]
[sixsq.nuvla.server.resources.spec.common :as common]
[sixsq.nuvla.server.resources.spec.core :as core]
[sixsq.nuvla.server.resources.spec.nuvlabox :as nb]
[sixsq.nuvla.server.util.spec :as su]
[spec-tools.co... | true | (ns sixsq.nuvla.server.resources.spec.nuvlabox-0
(:require
[clojure.spec.alpha :as s]
[sixsq.nuvla.server.resources.spec.common :as common]
[sixsq.nuvla.server.resources.spec.core :as core]
[sixsq.nuvla.server.resources.spec.nuvlabox :as nb]
[sixsq.nuvla.server.util.spec :as su]
[spec-tools.co... |
[
{
"context": "(ns #^{:author \"Roger Allen\"\n :doc \"Shadertone lisp-to-glsl translation",
"end": 27,
"score": 0.9998494386672974,
"start": 16,
"tag": "NAME",
"value": "Roger Allen"
}
] | src/shadertone/translate.clj | baskeboler/shadertone | 304 | (ns #^{:author "Roger Allen"
:doc "Shadertone lisp-to-glsl translation."}
shadertone.translate
(:require [clojure.walk :as walk]
[clojure.string :as string]))
;; This is only a single-pass "lisp" to GLSL translator. Very basic.
;; If useful, then perhaps we can work to improve. Send feedback.
... | 114694 | (ns #^{:author "<NAME>"
:doc "Shadertone lisp-to-glsl translation."}
shadertone.translate
(:require [clojure.walk :as walk]
[clojure.string :as string]))
;; This is only a single-pass "lisp" to GLSL translator. Very basic.
;; If useful, then perhaps we can work to improve. Send feedback.
;;
;;... | true | (ns #^{:author "PI:NAME:<NAME>END_PI"
:doc "Shadertone lisp-to-glsl translation."}
shadertone.translate
(:require [clojure.walk :as walk]
[clojure.string :as string]))
;; This is only a single-pass "lisp" to GLSL translator. Very basic.
;; If useful, then perhaps we can work to improve. Send f... |
[
{
"context": "s!\"\n (let [spreadsheet-id \"1_8g_ItFMIgpCMFIQ1L1CTRhF4oKsjTs4zYe0UMRSd-w\"\n sheet-names (gs/sheet-names! servic",
"end": 1845,
"score": 0.7203706502914429,
"start": 1821,
"tag": "KEY",
"value": "CTRhF4oKsjTs4zYe0UMRSd-w"
}
] | test/zero_one/fxl/google_sheets_test.clj | zackteo/fxl | 114 | (ns zero-one.fxl.google-sheets-test
(:require [clojure.java.io]
[clojure.spec.alpha :as s]
[clojure.string]
[midje.sweet :refer [facts fact => throws]]
[zero-one.fxl.google-sheets :as gs]
[zero-one.fxl.specs :as fs]))
(def google-props
{:credentials "reso... | 48978 | (ns zero-one.fxl.google-sheets-test
(:require [clojure.java.io]
[clojure.spec.alpha :as s]
[clojure.string]
[midje.sweet :refer [facts fact => throws]]
[zero-one.fxl.google-sheets :as gs]
[zero-one.fxl.specs :as fs]))
(def google-props
{:credentials "reso... | true | (ns zero-one.fxl.google-sheets-test
(:require [clojure.java.io]
[clojure.spec.alpha :as s]
[clojure.string]
[midje.sweet :refer [facts fact => throws]]
[zero-one.fxl.google-sheets :as gs]
[zero-one.fxl.specs :as fs]))
(def google-props
{:credentials "reso... |
[
{
"context": ";; The MIT License (MIT)\n;;\n;; Copyright (c) 2015 Richard Hull\n;;\n;; Permission is hereby granted, free of charg",
"end": 62,
"score": 0.999782383441925,
"start": 50,
"tag": "NAME",
"value": "Richard Hull"
}
] | test/wam/grammar_test.clj | rm-hull/wam | 23 | ;; The MIT License (MIT)
;;
;; Copyright (c) 2015 Richard Hull
;;
;; 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, co... | 71633 | ;; The MIT License (MIT)
;;
;; 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, mo... | true | ;; The MIT License (MIT)
;;
;; 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... |
[
{
"context": "; Copyright (c) Rich Hickey. All rights reserved.\n; The use and distributio",
"end": 30,
"score": 0.9997804164886475,
"start": 19,
"tag": "NAME",
"value": "Rich Hickey"
}
] | Clojure/clojure/test_clojure/clr/io.clj | AydarLukmanov/ArcadiaGodot | 1,447 | ; Copyright (c) Rich Hickey. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
; which can be found in the file epl-v10.html at the root of this distribution.
; By using this software in any... | 113181 | ; Copyright (c) <NAME>. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
; which can be found in the file epl-v10.html at the root of this distribution.
; By using this software in any fash... | true | ; Copyright (c) PI:NAME:<NAME>END_PI. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
; which can be found in the file epl-v10.html at the root of this distribution.
; By using this softwa... |
[
{
"context": "3} Or with many arguments\n(= \"Hello to this group: Peter, Paul, Mary!\"\n (hello \"Peter\" \"Paul\" \"Mary\"))\n\n;{4} Multimet",
"end": 8667,
"score": 0.9787507057189941,
"start": 8650,
"tag": "NAME",
"value": "Peter, Paul, Mary"
},
{
"context": "ello to this group:... | clojure/avulsos/clojurescript_koans.clj | micalevisk/x-de-cada-dia | 0 | ;; -------------------------- ;;
;; -------- Equality -------- ;;
;; -------------------------- ;;
;{1} We shall contemplate truth by testing reality, via equality
(= true true)
;{2} To understand reality, we must compare our expectations against reality
(= 2 (+ 1 1))
;{3} You can test equality of many things
(= (+ ... | 68947 | ;; -------------------------- ;;
;; -------- Equality -------- ;;
;; -------------------------- ;;
;{1} We shall contemplate truth by testing reality, via equality
(= true true)
;{2} To understand reality, we must compare our expectations against reality
(= 2 (+ 1 1))
;{3} You can test equality of many things
(= (+ ... | true | ;; -------------------------- ;;
;; -------- Equality -------- ;;
;; -------------------------- ;;
;{1} We shall contemplate truth by testing reality, via equality
(= true true)
;{2} To understand reality, we must compare our expectations against reality
(= 2 (+ 1 1))
;{3} You can test equality of many things
(= (+ ... |
[
{
"context": "produces a bad generator\n ;; --- {\"mbox\" \"mailto:some@email.test\" :objectType \"Agent\"}\n ;; ---- not sure how to e",
"end": 8854,
"score": 0.9997886419296265,
"start": 8839,
"tag": "EMAIL",
"value": "some@email.test"
},
{
"context": "ctType must be specified\n ... | src/com/yetanalytics/dave/func/common.cljc | blakeplock/dave-1 | 25 | (ns com.yetanalytics.dave.func.common
(:require [xapi-schema.spec :as xs]
[clojure.spec.alpha :as s]
[clojure.spec.gen.alpha :as sgen]
[com.yetanalytics.dave.util.spec :as su]
[com.yetanalytics.dave.func.util :as util]))
(s/fdef scale
:args (s/with-gen (s/cat :raw nu... | 20489 | (ns com.yetanalytics.dave.func.common
(:require [xapi-schema.spec :as xs]
[clojure.spec.alpha :as s]
[clojure.spec.gen.alpha :as sgen]
[com.yetanalytics.dave.util.spec :as su]
[com.yetanalytics.dave.func.util :as util]))
(s/fdef scale
:args (s/with-gen (s/cat :raw nu... | true | (ns com.yetanalytics.dave.func.common
(:require [xapi-schema.spec :as xs]
[clojure.spec.alpha :as s]
[clojure.spec.gen.alpha :as sgen]
[com.yetanalytics.dave.util.spec :as su]
[com.yetanalytics.dave.func.util :as util]))
(s/fdef scale
:args (s/with-gen (s/cat :raw nu... |
[
{
"context": ";; Copyright (c) 2015-2016 Andrey Antukh <niwi@niwi.nz>\n;; All rights reserved.\n;;\n;; Redi",
"end": 40,
"score": 0.9998801350593567,
"start": 27,
"tag": "NAME",
"value": "Andrey Antukh"
},
{
"context": ";; Copyright (c) 2015-2016 Andrey Antukh <niwi@niwi.nz>\n;; All ... | src/promesa/impl/scheduler.cljc | laurio/promesa | 0 | ;; Copyright (c) 2015-2016 Andrey Antukh <niwi@niwi.nz>
;; All rights reserved.
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions
;; are met:
;;
;; 1. Redistributions of source code must retain the above copyright
;; notice,... | 100218 | ;; Copyright (c) 2015-2016 <NAME> <<EMAIL>>
;; All rights reserved.
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions
;; are met:
;;
;; 1. Redistributions of source code must retain the above copyright
;; notice, this list o... | true | ;; Copyright (c) 2015-2016 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
;; All rights reserved.
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions
;; are met:
;;
;; 1. Redistributions of source code must retain the above copyri... |
[
{
"context": "500 on server error\n\")\n\n(def valid-key-regex #\"[\\d\\w-_.,]+\")\n\n(defn add-response-header\n \"Add a head",
"end": 1971,
"score": 0.5763851404190063,
"start": 1971,
"tag": "KEY",
"value": ""
},
{
"context": "0 on server error\n\")\n\n(def valid-key-regex #\"[\\d... | src/poky/protocol/http.clj | drsnyder/poky | 2 | (ns poky.protocol.http
(:require [poky.kv.core :as kv]
[poky.util :as util]
[clojure.java.io :as io]
[clojure.tools.logging :refer [infof warnf]]
[clj-logging-config.log4j :refer [set-logger!]]
(compojure [core :refer :all]
[route :as ... | 27174 | (ns poky.protocol.http
(:require [poky.kv.core :as kv]
[poky.util :as util]
[clojure.java.io :as io]
[clojure.tools.logging :refer [infof warnf]]
[clj-logging-config.log4j :refer [set-logger!]]
(compojure [core :refer :all]
[route :as ... | true | (ns poky.protocol.http
(:require [poky.kv.core :as kv]
[poky.util :as util]
[clojure.java.io :as io]
[clojure.tools.logging :refer [infof warnf]]
[clj-logging-config.log4j :refer [set-logger!]]
(compojure [core :refer :all]
[route :as ... |
[
{
"context": "; Copyright (c) Rich Hickey. All rights reserved.\r\n; The use and distributi",
"end": 30,
"score": 0.9998674392700195,
"start": 19,
"tag": "NAME",
"value": "Rich Hickey"
},
{
"context": " other, from this software.\r\n\r\n(ns \r\n ^{:author \"Stuart Halloway\",\r... | Source/clojure/data.clj | pjago/Arcadia | 0 | ; Copyright (c) Rich Hickey. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
; which can be found in the file epl-v10.html at the root of this distribution.
; By using this software in... | 56783 | ; Copyright (c) <NAME>. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
; which can be found in the file epl-v10.html at the root of this distribution.
; By using this software in any ... | true | ; Copyright (c) PI:NAME:<NAME>END_PI. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
; which can be found in the file epl-v10.html at the root of this distribution.
; By using this so... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.