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": ";;; Copyright 2019 Mitchell Kember. Subject to the MIT License.\n\n;;; This code is ta",
"end": 34,
"score": 0.999889075756073,
"start": 19,
"tag": "NAME",
"value": "Mitchell Kember"
}
] | dev/user.clj | mk12/twenty48 | 0 | ;;; Copyright 2019 Mitchell Kember. Subject to the MIT License.
;;; This code is taken from Stuart Sierra's blog post:
;;; http://thinkrelevance.com/blog/2013/06/04/clojure-workflow-reloaded
(ns user
(:require [clojure.tools.namespace.repl :refer [refresh]]
[twenty48.system :as s]))
(def system nil)
(... | 64036 | ;;; Copyright 2019 <NAME>. Subject to the MIT License.
;;; This code is taken from Stuart Sierra's blog post:
;;; http://thinkrelevance.com/blog/2013/06/04/clojure-workflow-reloaded
(ns user
(:require [clojure.tools.namespace.repl :refer [refresh]]
[twenty48.system :as s]))
(def system nil)
(defn init... | true | ;;; Copyright 2019 PI:NAME:<NAME>END_PI. Subject to the MIT License.
;;; This code is taken from Stuart Sierra's blog post:
;;; http://thinkrelevance.com/blog/2013/06/04/clojure-workflow-reloaded
(ns user
(:require [clojure.tools.namespace.repl :refer [refresh]]
[twenty48.system :as s]))
(def system ni... |
[
{
"context": "(comment\n re-core, Copyright 2012 Ronen Narkis, narkisr.com\n Licensed under the Apache License,",
"end": 47,
"score": 0.9998836517333984,
"start": 35,
"tag": "NAME",
"value": "Ronen Narkis"
},
{
"context": "(comment\n re-core, Copyright 2012 Ronen Narkis, narkisr.c... | src/re_core/persistency/systems.clj | celestial-ops/core | 1 | (comment
re-core, Copyright 2012 Ronen Narkis, narkisr.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.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or ag... | 62278 | (comment
re-core, Copyright 2012 <NAME>, n<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
Unless required by applicable law or agreed to i... | true | (comment
re-core, Copyright 2012 PI:NAME:<NAME>END_PI, nPI: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 http://www.apache.org/licenses/LICENSE-2.0
Unless required by ... |
[
{
"context": ";; Copyright 2014 Timothy Brooks\n;;\n;; Licensed under the Apache License, Version ",
"end": 32,
"score": 0.9998677372932434,
"start": 18,
"tag": "NAME",
"value": "Timothy Brooks"
}
] | src/beehive/async.clj | tbrooks8/fault | 2 | ;; Copyright 2014 Timothy Brooks
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in w... | 81103 | ;; Copyright 2014 <NAME>
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writing, ... | true | ;; Copyright 2014 PI:NAME:<NAME>END_PI
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed t... |
[
{
"context": "sername or password\"\n (token {:username \"fail\" :password \"fail\"} \"nginx\")))))\n",
"end": 377,
"score": 0.7635136842727661,
"start": 373,
"tag": "USERNAME",
"value": "fail"
},
{
"context": "rd\"\n (token {:username \"fail\" :password \"fail\"} \... | ch16/swarmpit/test/clj/swarmpit/docker/auth/client_test.clj | vincestorm/Docker-on-Amazon-Web-Services | 0 | (ns swarmpit.docker.auth.client-test
(:require [clojure.test :refer :all]
[swarmpit.docker.auth.client :refer :all])
(:import (clojure.lang ExceptionInfo)))
(deftest ^:integration dockerauth-test
(testing "invalid login"
(is (thrown-with-msg?
ExceptionInfo #"Docker auth error: incorrec... | 118810 | (ns swarmpit.docker.auth.client-test
(:require [clojure.test :refer :all]
[swarmpit.docker.auth.client :refer :all])
(:import (clojure.lang ExceptionInfo)))
(deftest ^:integration dockerauth-test
(testing "invalid login"
(is (thrown-with-msg?
ExceptionInfo #"Docker auth error: incorrec... | true | (ns swarmpit.docker.auth.client-test
(:require [clojure.test :refer :all]
[swarmpit.docker.auth.client :refer :all])
(:import (clojure.lang ExceptionInfo)))
(deftest ^:integration dockerauth-test
(testing "invalid login"
(is (thrown-with-msg?
ExceptionInfo #"Docker auth error: incorrec... |
[
{
"context": " \"If you are unable to contact a curator, contact help@firecloud.org.\"]]})\n :onClick #(modal/push-moda",
"end": 14718,
"score": 0.9997288584709167,
"start": 14700,
"tag": "EMAIL",
"value": "help@firecloud.org"
}
] | src/cljs/main/broadfcui/page/workspace/summary/tab.cljs | epam/firecloud-ui | 0 | (ns broadfcui.page.workspace.summary.tab
(:require
[dmohs.react :as react]
[clojure.string :as string]
[broadfcui.common :as common]
[broadfcui.common.components :as comps]
[broadfcui.common.icons :as icons]
[broadfcui.common.links :as links]
[broadfcui.common.markdown :refer [MarkdownView Markdo... | 57035 | (ns broadfcui.page.workspace.summary.tab
(:require
[dmohs.react :as react]
[clojure.string :as string]
[broadfcui.common :as common]
[broadfcui.common.components :as comps]
[broadfcui.common.icons :as icons]
[broadfcui.common.links :as links]
[broadfcui.common.markdown :refer [MarkdownView Markdo... | true | (ns broadfcui.page.workspace.summary.tab
(:require
[dmohs.react :as react]
[clojure.string :as string]
[broadfcui.common :as common]
[broadfcui.common.components :as comps]
[broadfcui.common.icons :as icons]
[broadfcui.common.links :as links]
[broadfcui.common.markdown :refer [MarkdownView Markdo... |
[
{
"context": " {:authorizationData [{:authorizationToken \"QVdTOnBhc3N3b3Jk\"}]}]\n (is (= {:username ",
"end": 1045,
"score": 0.8336284160614014,
"start": 1029,
"tag": "PASSWORD",
"value": "QVdTOnBhc3N3b3Jk"
},
{
"context": "AWS\"\n ... | test/vessel/jib/credentials_test.clj | nubank/vessel | 32 | (ns vessel.jib.credentials-test
(:require [clojure.test :refer :all]
[cognitect.aws.client.api :as aws]
[matcher-combinators.standalone :as standalone]
[mockfn.macros :refer [providing]]
[vessel.jib.credentials :as credentials])
(:import [com.google.cloud.tools.jib.ap... | 62182 | (ns vessel.jib.credentials-test
(:require [clojure.test :refer :all]
[cognitect.aws.client.api :as aws]
[matcher-combinators.standalone :as standalone]
[mockfn.macros :refer [providing]]
[vessel.jib.credentials :as credentials])
(:import [com.google.cloud.tools.jib.ap... | true | (ns vessel.jib.credentials-test
(:require [clojure.test :refer :all]
[cognitect.aws.client.api :as aws]
[matcher-combinators.standalone :as standalone]
[mockfn.macros :refer [providing]]
[vessel.jib.credentials :as credentials])
(:import [com.google.cloud.tools.jib.ap... |
[
{
"context": " :meta {:abc \"123\" :email \"test@example.com\"}\n :synonyms [\"abc\" \"XXXX\"]\n ",
"end": 1040,
"score": 0.9999229311943054,
"start": 1024,
"tag": "EMAIL",
"value": "test@example.com"
},
{
"context": " \"test-id\"\n ... | test/beagle/dictionary_optimization_test.clj | tokenmill/beagle | 46 | (ns beagle.dictionary-optimization-test
(:require [clojure.test :refer [deftest is]]
[beagle.dictionary-optimizer :as optimizer]
[beagle.phrases :as phrases]))
(deftest meta-merge-test
(is (optimizer/mergeable-meta? nil {:meta {:email "123"}}))
(is (optimizer/mergeable-meta? {:meta {}} {:... | 116531 | (ns beagle.dictionary-optimization-test
(:require [clojure.test :refer [deftest is]]
[beagle.dictionary-optimizer :as optimizer]
[beagle.phrases :as phrases]))
(deftest meta-merge-test
(is (optimizer/mergeable-meta? nil {:meta {:email "123"}}))
(is (optimizer/mergeable-meta? {:meta {}} {:... | true | (ns beagle.dictionary-optimization-test
(:require [clojure.test :refer [deftest is]]
[beagle.dictionary-optimizer :as optimizer]
[beagle.phrases :as phrases]))
(deftest meta-merge-test
(is (optimizer/mergeable-meta? nil {:meta {:email "123"}}))
(is (optimizer/mergeable-meta? {:meta {}} {:... |
[
{
"context": ";; Copyright 2015 Andrey Antukh <niwi@niwi.nz>\n;;\n;; Licensed under the Apache Li",
"end": 31,
"score": 0.9998849034309387,
"start": 18,
"tag": "NAME",
"value": "Andrey Antukh"
},
{
"context": ";; Copyright 2015 Andrey Antukh <niwi@niwi.nz>\n;;\n;; Licensed under the ... | test/buddy/core/padding_tests.clj | shilder/buddy-core | 121 | ;; Copyright 2015 Andrey Antukh <niwi@niwi.nz>
;;
;; 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 ... | 59869 | ;; Copyright 2015 <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
;;
;; Unless required by applicable law or agreed to... | true | ;; Copyright 2015 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
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required b... |
[
{
"context": "sing with ImageJ/FIJI\"\n :url \"https://github.com/funimagej/fun.imagel\"\n :license {:name \"Apache v2.0\"\n ",
"end": 149,
"score": 0.997048556804657,
"start": 140,
"tag": "USERNAME",
"value": "funimagej"
},
{
"context": "Apache v2.0\"\n :url \"https... | project.clj | funimagej/fun.imagej | 1 | (defproject fun.imagej/fun.imagej "0.4.2-SNAPSHOT"
:description "Functional Image Processing with ImageJ/FIJI"
:url "https://github.com/funimagej/fun.imagel"
:license {:name "Apache v2.0"
:url "https://github.com/funimagej/fun.imagej/LICENSE"}
:pom-addition ([:developers [:developer
... | 63729 | (defproject fun.imagej/fun.imagej "0.4.2-SNAPSHOT"
:description "Functional Image Processing with ImageJ/FIJI"
:url "https://github.com/funimagej/fun.imagel"
:license {:name "Apache v2.0"
:url "https://github.com/funimagej/fun.imagej/LICENSE"}
:pom-addition ([:developers [:developer
... | true | (defproject fun.imagej/fun.imagej "0.4.2-SNAPSHOT"
:description "Functional Image Processing with ImageJ/FIJI"
:url "https://github.com/funimagej/fun.imagel"
:license {:name "Apache v2.0"
:url "https://github.com/funimagej/fun.imagej/LICENSE"}
:pom-addition ([:developers [:developer
... |
[
{
"context": "arameters, we can\"\n (let [id 1\n name \"My event\"\n description \"This is my event\"\n ",
"end": 254,
"score": 0.8238863945007324,
"start": 246,
"tag": "NAME",
"value": "My event"
},
{
"context": "he creation fails\"\n (let [id 1\n ... | test/baoqu/types/event_test.clj | baoqu/baoqu-core | 2 | (ns baoqu.types.event-test
(:require [clojure.test :refer :all]
[baoqu.types.event :as et]))
(deftest event-creation
(testing "That if we try to create an event with the correct parameters, we can"
(let [id 1
name "My event"
description "This is my event"
circle-size 3... | 6499 | (ns baoqu.types.event-test
(:require [clojure.test :refer :all]
[baoqu.types.event :as et]))
(deftest event-creation
(testing "That if we try to create an event with the correct parameters, we can"
(let [id 1
name "<NAME>"
description "This is my event"
circle-size 3
... | true | (ns baoqu.types.event-test
(:require [clojure.test :refer :all]
[baoqu.types.event :as et]))
(deftest event-creation
(testing "That if we try to create an event with the correct parameters, we can"
(let [id 1
name "PI:NAME:<NAME>END_PI"
description "This is my event"
c... |
[
{
"context": "\" nil)\n(def ^:dynamic *username* \"Username\" \"root\")\n(def ^:dynamic *p",
"end": 965,
"score": 0.9979209303855896,
"start": 957,
"tag": "USERNAME",
"value": "Username"
},
{
"context": "mic *username* \"Username\" ... | linearizable/jepsen/src/jepsen/control.clj | isabella232/comdb2 | 1 | (ns jepsen.control
"Provides SSH control over a remote node. There's a lot of dynamically bound
state in this namespace because we want to make it as simple as possible for
scripts to open connections to various nodes."
(:require [clj-ssh.ssh :as ssh]
[jepsen.util :as util :refer [real-pmap
... | 101940 | (ns jepsen.control
"Provides SSH control over a remote node. There's a lot of dynamically bound
state in this namespace because we want to make it as simple as possible for
scripts to open connections to various nodes."
(:require [clj-ssh.ssh :as ssh]
[jepsen.util :as util :refer [real-pmap
... | true | (ns jepsen.control
"Provides SSH control over a remote node. There's a lot of dynamically bound
state in this namespace because we want to make it as simple as possible for
scripts to open connections to various nodes."
(:require [clj-ssh.ssh :as ssh]
[jepsen.util :as util :refer [real-pmap
... |
[
{
"context": "\n (.withS3Key \"clojider.jar\")))))\n\n(defn- create-lambda-fn [lambda-name bucke",
"end": 5558,
"score": 0.8886201977729797,
"start": 5546,
"tag": "KEY",
"value": "clojider.jar"
},
{
"context": " (.wi... | src/clojider/aws.clj | mhjort/clojider | 76 | (ns clojider.aws
(:require [cheshire.core :refer [generate-string]])
(:import [com.amazonaws.services.identitymanagement AmazonIdentityManagementClient]
[com.amazonaws.services.identitymanagement.model AttachRolePolicyRequest
CreatePolicyRequest... | 98995 | (ns clojider.aws
(:require [cheshire.core :refer [generate-string]])
(:import [com.amazonaws.services.identitymanagement AmazonIdentityManagementClient]
[com.amazonaws.services.identitymanagement.model AttachRolePolicyRequest
CreatePolicyRequest... | true | (ns clojider.aws
(:require [cheshire.core :refer [generate-string]])
(:import [com.amazonaws.services.identitymanagement AmazonIdentityManagementClient]
[com.amazonaws.services.identitymanagement.model AttachRolePolicyRequest
CreatePolicyRequest... |
[
{
"context": "r as\n ; default.\n\n :user-name \"Sam\", ; This is the name that Overtone will use to r",
"end": 612,
"score": 0.6871851086616516,
"start": 609,
"tag": "NAME",
"value": "Sam"
}
] | docs/config.clj | ABaldwinHunter/overtone | 3,870 | ;; Example Overtone Config.
;; ========================
;;
;; This lives in ~/.overtone/config.clj
;;
;; This example shouldn't be perceived as being typical - it's a
;; contrived example which uses all the possible keys (typically with
;; their default values) in an attempt to introduce their existence
;; and explain ... | 17593 | ;; Example Overtone Config.
;; ========================
;;
;; This lives in ~/.overtone/config.clj
;;
;; This example shouldn't be perceived as being typical - it's a
;; contrived example which uses all the possible keys (typically with
;; their default values) in an attempt to introduce their existence
;; and explain ... | true | ;; Example Overtone Config.
;; ========================
;;
;; This lives in ~/.overtone/config.clj
;;
;; This example shouldn't be perceived as being typical - it's a
;; contrived example which uses all the possible keys (typically with
;; their default values) in an attempt to introduce their existence
;; and explain ... |
[
{
"context": "5c8b567dc185a756e97c982164fe25859e0d1dcc1475c80a615b2123af1f5f94c11e3e9402c3ac558f500199d95b6d3e30175",
"end": 860,
"score": 0.5757166147232056,
"start": 859,
"tag": "KEY",
"value": "5"
},
{
"context": "8b567dc185a756e97c982164fe25859e0d1dcc1475c80a615b2123af1f5f94c11e3... | src/tests/rust.clj | fragcolor-xyz/chainblocks | 12 | ; SPDX-License-Identifier: BSD-3-Clause
; Copyright © 2021 Fragcolor Pte. Ltd.
(def Root (Node))
(schedule
Root
(Chain
"test"
"MY SECRET" (Hash.Keccak-256) = .chakey
"Hello World, how are you?"
(ChaChaPoly.Encrypt .chakey)
(Log)
(ChaChaPoly.Decrypt .chakey)
(BytesToString)
(Log)
(Assert.Is "Hello... | 29482 | ; SPDX-License-Identifier: BSD-3-Clause
; Copyright © 2021 Fragcolor Pte. Ltd.
(def Root (Node))
(schedule
Root
(Chain
"test"
"MY SECRET" (Hash.Keccak-256) = .chakey
"Hello World, how are you?"
(ChaChaPoly.Encrypt .chakey)
(Log)
(ChaChaPoly.Decrypt .chakey)
(BytesToString)
(Log)
(Assert.Is "Hello... | true | ; SPDX-License-Identifier: BSD-3-Clause
; Copyright © 2021 Fragcolor Pte. Ltd.
(def Root (Node))
(schedule
Root
(Chain
"test"
"MY SECRET" (Hash.Keccak-256) = .chakey
"Hello World, how are you?"
(ChaChaPoly.Encrypt .chakey)
(Log)
(ChaChaPoly.Decrypt .chakey)
(BytesToString)
(Log)
(Assert.Is "Hello... |
[
{
"context": " (take 3 (:deck corp))) card nil))}}))\n\n(defcard \"Ad Blitz\"\n (letfn [(ab [n total]\n (when (< n t",
"end": 2036,
"score": 0.9991562366485596,
"start": 2028,
"tag": "NAME",
"value": "Ad Blitz"
},
{
"context": "ect-completed state side eid))))))}}))\n\n(d... | src/clj/game/cards/operations.clj | cmsd2/netrunner | 0 | (ns game.cards.operations
(:require [game.core :refer :all]
[game.utils :refer :all]
[jinteki.utils :refer :all]
[clojure.string :as string]))
;; Card definitions
(defcard "24/7 News Cycle"
{:on-play
{:req (req (pos? (count (:scored corp))))
:additional-cost [:forfeit]
... | 28710 | (ns game.cards.operations
(:require [game.core :refer :all]
[game.utils :refer :all]
[jinteki.utils :refer :all]
[clojure.string :as string]))
;; Card definitions
(defcard "24/7 News Cycle"
{:on-play
{:req (req (pos? (count (:scored corp))))
:additional-cost [:forfeit]
... | true | (ns game.cards.operations
(:require [game.core :refer :all]
[game.utils :refer :all]
[jinteki.utils :refer :all]
[clojure.string :as string]))
;; Card definitions
(defcard "24/7 News Cycle"
{:on-play
{:req (req (pos? (count (:scored corp))))
:additional-cost [:forfeit]
... |
[
{
"context": " [{dashboard-id :id, :as dashboard} {:name \"Test Dashboard\"}]\n Card ",
"end": 5058,
"score": 0.5454035401344299,
"start": 5054,
"tag": "NAME",
"value": "Test"
},
{
"context": "e! Dashboard dashboard-id\n :name \"Rev... | c#-metabase/test/metabase/models/dashboard_test.clj | hanakhry/Crime_Admin | 0 | (ns metabase.models.dashboard-test
(:require [clojure.test :refer :all]
[metabase.api.common :as api]
[metabase.automagic-dashboards.core :as magic]
[metabase.models.card :refer [Card]]
[metabase.models.collection :as collection :refer [Collection]]
[metabas... | 81907 | (ns metabase.models.dashboard-test
(:require [clojure.test :refer :all]
[metabase.api.common :as api]
[metabase.automagic-dashboards.core :as magic]
[metabase.models.card :refer [Card]]
[metabase.models.collection :as collection :refer [Collection]]
[metabas... | true | (ns metabase.models.dashboard-test
(:require [clojure.test :refer :all]
[metabase.api.common :as api]
[metabase.automagic-dashboards.core :as magic]
[metabase.models.card :refer [Card]]
[metabase.models.collection :as collection :refer [Collection]]
[metabas... |
[
{
"context": "l\" :type \"email\" :col-width \"col-6\" :placeholder \"pevita@gmail.com\"}\n :password {:label \"Password\" :type \"password",
"end": 315,
"score": 0.9999204277992249,
"start": 299,
"tag": "EMAIL",
"value": "pevita@gmail.com"
},
{
"context": "eholder \"pevita@gmail.c... | src/client/ebtanas/ui/login.cljs | codxse/ebtanas-untangled | 0 | (ns ebtanas.ui.login
(:require [om.next :as om :refer-macros [defui]]
[om.dom :as dom]
[untangled.client.core :as uc]
[ebtanas.state.routes :refer [page-data]]))
(defonce input-text-data
{:email {:label "Email" :type "email" :col-width "col-6" :placeholder "pevita@gmail.com"}
... | 48814 | (ns ebtanas.ui.login
(:require [om.next :as om :refer-macros [defui]]
[om.dom :as dom]
[untangled.client.core :as uc]
[ebtanas.state.routes :refer [page-data]]))
(defonce input-text-data
{:email {:label "Email" :type "email" :col-width "col-6" :placeholder "<EMAIL>"}
:passwor... | true | (ns ebtanas.ui.login
(:require [om.next :as om :refer-macros [defui]]
[om.dom :as dom]
[untangled.client.core :as uc]
[ebtanas.state.routes :refer [page-data]]))
(defonce input-text-data
{:email {:label "Email" :type "email" :col-width "col-6" :placeholder "PI:EMAIL:<EMAIL>END_P... |
[
{
"context": "\n(def mock-ctx {:request {:params {:businessName \"Johnys Pizza\"\n :zipCodes \"323",
"end": 279,
"score": 0.9998736381530762,
"start": 267,
"tag": "NAME",
"value": "Johnys Pizza"
},
{
"context": "ipCodes \"32345\"\n :... | test/unit/fbi_api/handlers/inspections_test.clj | CodeforSouth/fbi-api | 8 | (ns unit.fbi-api.handlers.inspections-test
(:require [clojure.test :refer :all]
[fbi-api.handlers.inspections :refer :all]))
;; =========================== MOCK DATA ===================================
(def mock-ctx {:request {:params {:businessName "Johnys Pizza"
:zipC... | 58767 | (ns unit.fbi-api.handlers.inspections-test
(:require [clojure.test :refer :all]
[fbi-api.handlers.inspections :refer :all]))
;; =========================== MOCK DATA ===================================
(def mock-ctx {:request {:params {:businessName "<NAME>"
:zipCodes "... | true | (ns unit.fbi-api.handlers.inspections-test
(:require [clojure.test :refer :all]
[fbi-api.handlers.inspections :refer :all]))
;; =========================== MOCK DATA ===================================
(def mock-ctx {:request {:params {:businessName "PI:NAME:<NAME>END_PI"
... |
[
{
"context": "(def person\n {:first-name \"Kelly\"\n :last-name \"Keen\"\n :age 32\n :occupation \"",
"end": 33,
"score": 0.9997334480285645,
"start": 28,
"tag": "NAME",
"value": "Kelly"
},
{
"context": "(def person\n {:first-name \"Kelly\"\n :last-name \"Keen\"\n :age 32... | clojure/maps_again.clj | scorphus/sparring | 2 | (def person
{:first-name "Kelly"
:last-name "Keen"
:age 32
:occupation "Programmer"})
(println person)
(println (keys person))
(println (vals person))
(println (get person :occupation))
(println (person :occupation))
(println (:occupation person))
(println (:favorite-color person "green"))
(def person (asso... | 36633 | (def person
{:first-name "<NAME>"
:last-name "<NAME>"
:age 32
:occupation "Programmer"})
(println person)
(println (keys person))
(println (vals person))
(println (get person :occupation))
(println (person :occupation))
(println (:occupation person))
(println (:favorite-color person "green"))
(def person (a... | true | (def person
{:first-name "PI:NAME:<NAME>END_PI"
:last-name "PI:NAME:<NAME>END_PI"
:age 32
:occupation "Programmer"})
(println person)
(println (keys person))
(println (vals person))
(println (get person :occupation))
(println (person :occupation))
(println (:occupation person))
(println (:favorite-color pers... |
[
{
"context": "-and-exit 1)))\n {:host (env :pdb-test-db-host \"127.0.0.1\")\n :port (env :pdb-test-db-port 5432)\n :u",
"end": 1205,
"score": 0.9997338056564331,
"start": 1196,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": "ort (env :pdb-test-db-port 5432)\n ... | test/puppetlabs/puppetdb/testutils/db.clj | senior/puppetdb | 0 | (ns puppetlabs.puppetdb.testutils.db
(:require [clojure.java.jdbc :as sql]
[clojure.string :as str]
[environ.core :refer [env]]
[puppetlabs.kitchensink.core :as kitchensink]
[puppetlabs.puppetdb.config :as conf]
[puppetlabs.puppetdb.jdbc :as jdbc]
... | 18257 | (ns puppetlabs.puppetdb.testutils.db
(:require [clojure.java.jdbc :as sql]
[clojure.string :as str]
[environ.core :refer [env]]
[puppetlabs.kitchensink.core :as kitchensink]
[puppetlabs.puppetdb.config :as conf]
[puppetlabs.puppetdb.jdbc :as jdbc]
... | true | (ns puppetlabs.puppetdb.testutils.db
(:require [clojure.java.jdbc :as sql]
[clojure.string :as str]
[environ.core :refer [env]]
[puppetlabs.kitchensink.core :as kitchensink]
[puppetlabs.puppetdb.config :as conf]
[puppetlabs.puppetdb.jdbc :as jdbc]
... |
[
{
"context": "g developed for the CLASS Project\n;;\n;; Copyright: Roi Sucasas Font, Atos Research and Innovation, 2018.\n;;\n;; This c",
"end": 167,
"score": 0.9998156428337097,
"start": 151,
"tag": "NAME",
"value": "Roi Sucasas Font"
}
] | clojure old project/src/atos/class/logs/logs.clj | class-rotterdam/Rotterdam | 0 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; This code is being developed for the CLASS Project
;;
;; Copyright: Roi Sucasas Font, Atos Research and Innovation, 2018.
;;
;; This code is licensed under an Apache 2.0 license. Please, refer to the
;; LICENSE.TXT file for more informat... | 88547 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; This code is being developed for the CLASS Project
;;
;; Copyright: <NAME>, Atos Research and Innovation, 2018.
;;
;; This code is licensed under an Apache 2.0 license. Please, refer to the
;; LICENSE.TXT file for more information
;;;;;;... | true | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; This code is being developed for the CLASS Project
;;
;; Copyright: PI:NAME:<NAME>END_PI, Atos Research and Innovation, 2018.
;;
;; This code is licensed under an Apache 2.0 license. Please, refer to the
;; LICENSE.TXT file for more info... |
[
{
"context": "; Copyright (c) 2006 Parth Malwankar\n; All rights reserved.\n;\n; A small script to gene",
"end": 36,
"score": 0.9998952746391296,
"start": 21,
"tag": "NAME",
"value": "Parth Malwankar"
},
{
"context": "jure's core\n; functions. The script was written by Parth Malwanka... | bin/gen-completions.clj | vivrass/dotvim | 0 | ; Copyright (c) 2006 Parth Malwankar
; All rights reserved.
;
; A small script to generate a dictionary of Clojure's core
; functions. The script was written by Parth Malwankar. It
; is included in VimClojure with his permission.
; -- Meikel Brandmeyer, 16 August 2008
; Frankfurt am Main, Germany
;
; See also: htt... | 114944 | ; Copyright (c) 2006 <NAME>
; All rights reserved.
;
; A small script to generate a dictionary of Clojure's core
; functions. The script was written by <NAME>. It
; is included in VimClojure with his permission.
; -- <NAME>, 16 August 2008
; Frankfurt am Main, Germany
;
; See also: http://en.wikibooks.org/wiki/Clo... | true | ; Copyright (c) 2006 PI:NAME:<NAME>END_PI
; All rights reserved.
;
; A small script to generate a dictionary of Clojure's core
; functions. The script was written by PI:NAME:<NAME>END_PI. It
; is included in VimClojure with his permission.
; -- PI:NAME:<NAME>END_PI, 16 August 2008
; Frankfurt am Main, Germany
;
; ... |
[
{
"context": "nder the License.\n;\n; Based on https://github.com/richhickey/clojure/blob/4bea7a529bb14b99d48758cfaf0d71af0997",
"end": 619,
"score": 0.9989837408065796,
"start": 609,
"tag": "USERNAME",
"value": "richhickey"
},
{
"context": "lj\n; Original copyright notice\n;\n; Co... | src/main/clj/com/climate/shell.clj | aykuznetsova/lemur | 21 | ;Copyright 2012 The Climate Corporation
;
;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 wri... | 121826 | ;Copyright 2012 The Climate Corporation
;
;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 wri... | true | ;Copyright 2012 The Climate Corporation
;
;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 wri... |
[
{
"context": "name :winner_rating :loser_rating]))]\n (is (= \"Roger Federer\" (:winner_name (first history))))\n (is (= \"Gui",
"end": 845,
"score": 0.9998364448547363,
"start": 832,
"tag": "NAME",
"value": "Roger Federer"
},
{
"context": "rer\" (:winner_name (first history)))... | Chapter07/tests/packt-clj.chapter-7-tests/test/packt_clj/chapter_7_tests/activity_7_01_test.clj | transducer/The-Clojure-Workshop | 55 | (ns packt-clj.chapter-7-tests.activity-7-01-test
(:require [packt-clj.chapter-7-tests.activity-7-01 :as act]
[clojure.test :as t :refer [deftest is testing]]
[clojure.java.io :as io]
[packt-clj.chapter-7-tests.exercise-7-05 :as exo]
[packt-clj.chapter-7-tests.exercise-7... | 30180 | (ns packt-clj.chapter-7-tests.activity-7-01-test
(:require [packt-clj.chapter-7-tests.activity-7-01 :as act]
[clojure.test :as t :refer [deftest is testing]]
[clojure.java.io :as io]
[packt-clj.chapter-7-tests.exercise-7-05 :as exo]
[packt-clj.chapter-7-tests.exercise-7... | true | (ns packt-clj.chapter-7-tests.activity-7-01-test
(:require [packt-clj.chapter-7-tests.activity-7-01 :as act]
[clojure.test :as t :refer [deftest is testing]]
[clojure.java.io :as io]
[packt-clj.chapter-7-tests.exercise-7-05 :as exo]
[packt-clj.chapter-7-tests.exercise-7... |
[
{
"context": "\"\n (is (= \"base-url-195241/Observation?__token=AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA&__t=195312\"\n @(nav/token-url page-store",
"end": 5451,
"score": 0.9637441635131836,
"start": 5419,
"tag": "KEY",
"value": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
},
{
"context":... | modules/interaction/test/blaze/interaction/search/nav_test.clj | samply/blaze | 50 | (ns blaze.interaction.search.nav-test
(:require
[blaze.async.comp :as ac]
[blaze.interaction.search.nav :as nav]
[blaze.interaction.search.nav-spec]
[blaze.page-store.protocols :as p]
[clojure.spec.test.alpha :as st]
[clojure.test :as test :refer [deftest is testing]]
[cuerdas.core :as str... | 41445 | (ns blaze.interaction.search.nav-test
(:require
[blaze.async.comp :as ac]
[blaze.interaction.search.nav :as nav]
[blaze.interaction.search.nav-spec]
[blaze.page-store.protocols :as p]
[clojure.spec.test.alpha :as st]
[clojure.test :as test :refer [deftest is testing]]
[cuerdas.core :as str... | true | (ns blaze.interaction.search.nav-test
(:require
[blaze.async.comp :as ac]
[blaze.interaction.search.nav :as nav]
[blaze.interaction.search.nav-spec]
[blaze.page-store.protocols :as p]
[clojure.spec.test.alpha :as st]
[clojure.test :as test :refer [deftest is testing]]
[cuerdas.core :as str... |
[
{
"context": "(ns\n ^{:author \"Zach Tellman\"\n :doc \"This namespace contains methods for co",
"end": 29,
"score": 0.9997984766960144,
"start": 17,
"tag": "NAME",
"value": "Zach Tellman"
}
] | src/manifold/time.clj | benmoss/manifold | 0 | (ns
^{:author "Zach Tellman"
:doc "This namespace contains methods for converting units of time, with milliseconds as the base representation, and for deferring execution of functions to some time in the future. In practice, the methods here are not necessary to use Manifold effectively - `manifold.deferred/time... | 122547 | (ns
^{:author "<NAME>"
:doc "This namespace contains methods for converting units of time, with milliseconds as the base representation, and for deferring execution of functions to some time in the future. In practice, the methods here are not necessary to use Manifold effectively - `manifold.deferred/timeout` a... | true | (ns
^{:author "PI:NAME:<NAME>END_PI"
:doc "This namespace contains methods for converting units of time, with milliseconds as the base representation, and for deferring execution of functions to some time in the future. In practice, the methods here are not necessary to use Manifold effectively - `manifold.defer... |
[
{
"context": ";; author: Mark W. Naylor\n;; file: chapter01.clj\n;; date: 2021-Jan-10\n(ns",
"end": 25,
"score": 0.999873161315918,
"start": 11,
"tag": "NAME",
"value": "Mark W. Naylor"
},
{
"context": " :else (sum-of-squares y z)))\n\n\n;; Exercise 1.6. Alyssa P. Hacker doesn't ... | src/org/mark_naylor_1701/sicp/chapter01.clj | mark-naylor-1701/clojure-sicp | 0 | ;; author: Mark W. Naylor
;; file: chapter01.clj
;; date: 2021-Jan-10
(ns org.mark-naylor-1701.sicp.chapter01)
;; Examples
;; Trivial, but used in later examples and exercises.
(defn square
"Return the result of a number muliplied by itself."
[x]
(* x x))
(defn sum-of-squares
""
[x y]
(+ (square x) (sq... | 30048 | ;; author: <NAME>
;; file: chapter01.clj
;; date: 2021-Jan-10
(ns org.mark-naylor-1701.sicp.chapter01)
;; Examples
;; Trivial, but used in later examples and exercises.
(defn square
"Return the result of a number muliplied by itself."
[x]
(* x x))
(defn sum-of-squares
""
[x y]
(+ (square x) (square y))... | true | ;; author: PI:NAME:<NAME>END_PI
;; file: chapter01.clj
;; date: 2021-Jan-10
(ns org.mark-naylor-1701.sicp.chapter01)
;; Examples
;; Trivial, but used in later examples and exercises.
(defn square
"Return the result of a number muliplied by itself."
[x]
(* x x))
(defn sum-of-squares
""
[x y]
(+ (square ... |
[
{
"context": ";; Copyright © 2015-2022 Esko Luontola\n;; This software is released under the Apache Lic",
"end": 38,
"score": 0.9998838901519775,
"start": 25,
"tag": "NAME",
"value": "Esko Luontola"
}
] | test/territory_bro/test/testutil.clj | 3breadt/territory-bro | 0 | ;; Copyright © 2015-2022 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.test.testutil
(:require [clojure.test :refer :all]
[territory-bro.commands :as commands]
[territory-bro.even... | 92448 | ;; Copyright © 2015-2022 <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.test.testutil
(:require [clojure.test :refer :all]
[territory-bro.commands :as commands]
[territory-bro.events :as ... | true | ;; Copyright © 2015-2022 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.test.testutil
(:require [clojure.test :refer :all]
[territory-bro.commands :as commands]
[territory-b... |
[
{
"context": "! *unchecked-math* :warn-on-boxed)\n(ns ^{:author \"Kristina Lisa Klinkner, John Alan McDonald\" :date \"2016-11-08\"\n :do",
"end": 109,
"score": 0.9998824596405029,
"start": 87,
"tag": "NAME",
"value": "Kristina Lisa Klinkner"
},
{
"context": "n-on-boxed)\n(ns ^{... | src/test/clojure/taiga/test/classify/iris/mincount.clj | wahpenayo/taiga | 4 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "Kristina Lisa Klinkner, John Alan McDonald" :date "2016-11-08"
:doc "Iris data probability forest example." }
taiga.test.classify.iris.mincount
(:require [clojure.test :as test]
[zana.api :as z]
... | 83898 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "<NAME>, <NAME>" :date "2016-11-08"
:doc "Iris data probability forest example." }
taiga.test.classify.iris.mincount
(:require [clojure.test :as test]
[zana.api :as z]
[taiga.api :as taiga]
... | true | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI" :date "2016-11-08"
:doc "Iris data probability forest example." }
taiga.test.classify.iris.mincount
(:require [clojure.test :as test]
[zana.api :as z]
... |
[
{
"context": "est test-create-user\n (if (user/get-user \"test_user42\")\n (user/delete-user (user/get-user \"te",
"end": 811,
"score": 0.992453932762146,
"start": 800,
"tag": "USERNAME",
"value": "test_user42"
},
{
"context": "42\")\n (user/delete-user (u... | test/joiner/test/core.clj | jalpedersen/couch-joiner | 0 | (ns joiner.test.core
(:require [joiner.core :as core]
[joiner.admin :as admin]
[joiner.design :as design]
[joiner.user :as user]
[joiner.resource :as resource]
[joiner.utils :as utils]
[joiner.search :as search]
[joiner.ring :as ring]... | 78819 | (ns joiner.test.core
(:require [joiner.core :as core]
[joiner.admin :as admin]
[joiner.design :as design]
[joiner.user :as user]
[joiner.resource :as resource]
[joiner.utils :as utils]
[joiner.search :as search]
[joiner.ring :as ring]... | true | (ns joiner.test.core
(:require [joiner.core :as core]
[joiner.admin :as admin]
[joiner.design :as design]
[joiner.user :as user]
[joiner.resource :as resource]
[joiner.utils :as utils]
[joiner.search :as search]
[joiner.ring :as ring]... |
[
{
"context": ";;;;;;;;;;;;;;;;;;;;;;;;\n;; core.async snippets\n;; Ed Sumitra\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n\n;; type the follow",
"end": 66,
"score": 0.9998669624328613,
"start": 56,
"tag": "NAME",
"value": "Ed Sumitra"
}
] | src/reagent_webapp/async.cljs | boston-clojure/reagent-webapp | 3 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; core.async snippets
;; Ed Sumitra
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; type the following in figwheel clojurescript repl
;; required libraries and macros
(require '[cljs.core.async :as async])
(require-macros '[cljs.core.async.macros :refer [go go-loop]])
(enable-console-print!)
;;; -----... | 116271 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; core.async snippets
;; <NAME>
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; type the following in figwheel clojurescript repl
;; required libraries and macros
(require '[cljs.core.async :as async])
(require-macros '[cljs.core.async.macros :refer [go go-loop]])
(enable-console-print!)
;;; ---------... | true | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; core.async snippets
;; PI:NAME:<NAME>END_PI
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; type the following in figwheel clojurescript repl
;; required libraries and macros
(require '[cljs.core.async :as async])
(require-macros '[cljs.core.async.macros :refer [go go-loop]])
(enable-console-print!)
... |
[
{
"context": "id3.basics-util :as util]\n ))\n\n(def cursor-key :b03-add-element-on-top)\n\n(def height 100)\n(def width 100)\n\n(defn example",
"end": 191,
"score": 0.9061684012413025,
"start": 169,
"tag": "KEY",
"value": "b03-add-element-on-top"
}
] | src/basics/rid3/b03_add_element_on_top.cljs | ryanechternacht/rid3 | 153 | (ns rid3.b03-add-element-on-top
(:require
[reagent.core :as reagent]
[rid3.core :as rid3 :refer [rid3->]]
[rid3.basics-util :as util]
))
(def cursor-key :b03-add-element-on-top)
(def height 100)
(def width 100)
(defn example [app-state]
(let [viz-ratom (reagent/cursor app-state [cursor-key])]
(fn... | 40822 | (ns rid3.b03-add-element-on-top
(:require
[reagent.core :as reagent]
[rid3.core :as rid3 :refer [rid3->]]
[rid3.basics-util :as util]
))
(def cursor-key :<KEY>)
(def height 100)
(def width 100)
(defn example [app-state]
(let [viz-ratom (reagent/cursor app-state [cursor-key])]
(fn [app-state]
... | true | (ns rid3.b03-add-element-on-top
(:require
[reagent.core :as reagent]
[rid3.core :as rid3 :refer [rid3->]]
[rid3.basics-util :as util]
))
(def cursor-key :PI:KEY:<KEY>END_PI)
(def height 100)
(def width 100)
(defn example [app-state]
(let [viz-ratom (reagent/cursor app-state [cursor-key])]
(fn [ap... |
[
{
"context": " definition.\n(defn hie\n [person message]\n (str \"Hie, \" person \" : \" message))\n\n;; What does it look l",
"end": 5570,
"score": 0.8855299353599548,
"start": 5567,
"tag": "NAME",
"value": "Hie"
},
{
"context": " [4]\n(defn hie [person message] (str \... | src/clojure_by_example/ex00_introduction.clj | paprbackwritr/clojure-by-example | 0 | (ns clojure-by-example.ex00-introduction)
;; IMPORTANT:
;; - The README file explains why this project exists.
;; - Begin in this "ex00..." file, and work through it step by step.
;; - Once you are done with "ex00...", open the next file and repeat.
;; - Keep going this way, until you have worked through all the file... | 85549 | (ns clojure-by-example.ex00-introduction)
;; IMPORTANT:
;; - The README file explains why this project exists.
;; - Begin in this "ex00..." file, and work through it step by step.
;; - Once you are done with "ex00...", open the next file and repeat.
;; - Keep going this way, until you have worked through all the file... | true | (ns clojure-by-example.ex00-introduction)
;; IMPORTANT:
;; - The README file explains why this project exists.
;; - Begin in this "ex00..." file, and work through it step by step.
;; - Once you are done with "ex00...", open the next file and repeat.
;; - Keep going this way, until you have worked through all the file... |
[
{
"context": "--------------------------------\n;; Copyright 2017 Greg Haskins\n;;\n;; SPDX-License-Identifier: Apache-2.0\n;;-----",
"end": 110,
"score": 0.9997881054878235,
"start": 98,
"tag": "NAME",
"value": "Greg Haskins"
}
] | examples/example02/client/cljs/src/example02/connection.cljs | simonmulser/fabric-chaintool | 138 | ;;-----------------------------------------------------------------------------
;; Copyright 2017 Greg Haskins
;;
;; SPDX-License-Identifier: Apache-2.0
;;-----------------------------------------------------------------------------
(ns example02.connection
(:require [fabric-sdk.core :as fabric]
[fabric-s... | 109585 | ;;-----------------------------------------------------------------------------
;; Copyright 2017 <NAME>
;;
;; SPDX-License-Identifier: Apache-2.0
;;-----------------------------------------------------------------------------
(ns example02.connection
(:require [fabric-sdk.core :as fabric]
[fabric-sdk.cha... | true | ;;-----------------------------------------------------------------------------
;; Copyright 2017 PI:NAME:<NAME>END_PI
;;
;; SPDX-License-Identifier: Apache-2.0
;;-----------------------------------------------------------------------------
(ns example02.connection
(:require [fabric-sdk.core :as fabric]
[... |
[
{
"context": "test-\" user-id)\n :username (str \"username-load-test-\" user-id)\n :email-address (str ",
"end": 1026,
"score": 0.9994804263114929,
"start": 1008,
"tag": "USERNAME",
"value": "username-load-test"
},
{
"context": " (assoc-in [:session... | dev/dev_helpers/stub_twitter_and_stonecutter.clj | d-cent/objective8 | 23 | (ns dev-helpers.stub-twitter-and-stonecutter
(:require [bidi.ring :refer [make-handler]]
[clojure.tools.logging :as log]
[ring.util.response :as response]
[objective8.front-end.workflows.sign-up :refer [sign-up-workflow authorise]]
[objective8.front-end.api.http :as htt... | 72704 | (ns dev-helpers.stub-twitter-and-stonecutter
(:require [bidi.ring :refer [make-handler]]
[clojure.tools.logging :as log]
[ring.util.response :as response]
[objective8.front-end.workflows.sign-up :refer [sign-up-workflow authorise]]
[objective8.front-end.api.http :as htt... | true | (ns dev-helpers.stub-twitter-and-stonecutter
(:require [bidi.ring :refer [make-handler]]
[clojure.tools.logging :as log]
[ring.util.response :as response]
[objective8.front-end.workflows.sign-up :refer [sign-up-workflow authorise]]
[objective8.front-end.api.http :as htt... |
[
{
"context": " author {:id, :name, :email}.\"\n (is (= {:id \"id-01\"\n :name \"author\"\n :email \"a",
"end": 738,
"score": 0.6096539497375488,
"start": 736,
"tag": "USERNAME",
"value": "01"
},
{
"context": "ail}.\"\n (is (= {:id \"id-01\"\n :n... | day6/tests.clj | joaopaulomoraes/7-days-of-clojure | 8 | (ns seven-days-of-clojure.tests
(:require [clojure.test :refer :all]
[seven-days-of-clojure.some-functions :refer :all]))
(deftest one-test
(testing "Should return 1."
(is (= 1 (seven-days-of-clojure.some-functions/one)))))
(deftest floating-point-test
(testing "Should return 7.7."
(is (= 7.... | 53787 | (ns seven-days-of-clojure.tests
(:require [clojure.test :refer :all]
[seven-days-of-clojure.some-functions :refer :all]))
(deftest one-test
(testing "Should return 1."
(is (= 1 (seven-days-of-clojure.some-functions/one)))))
(deftest floating-point-test
(testing "Should return 7.7."
(is (= 7.... | true | (ns seven-days-of-clojure.tests
(:require [clojure.test :refer :all]
[seven-days-of-clojure.some-functions :refer :all]))
(deftest one-test
(testing "Should return 1."
(is (= 1 (seven-days-of-clojure.some-functions/one)))))
(deftest floating-point-test
(testing "Should return 7.7."
(is (= 7.... |
[
{
"context": "\n [c/Menu\n [c/MenuItem {:name \"editorials\"\n :active (= @active-i",
"end": 5162,
"score": 0.7081933617591858,
"start": 5156,
"tag": "NAME",
"value": "editor"
},
{
"context": "[c/Checkbox {:slider true}]]\n [c/TableCell... | dev/semantic_ui_reagent/collections.cljs | toyokumo/semantic-ui-reagent | 2 | (ns semantic-ui-reagent.collections
(:require [reagent.core :as r]
[semantic-ui-reagent.core :as c]))
(defn Breadcrumb []
[:div.examples
[c/Header {:as :h2} "Breadcrumb"]
[:div.ex
[c/Breadcrumb
[c/BreadcrumbSection {:link true} "Home"]
[c/BreadcrumbDivider {:icon "right angle"}]
... | 96295 | (ns semantic-ui-reagent.collections
(:require [reagent.core :as r]
[semantic-ui-reagent.core :as c]))
(defn Breadcrumb []
[:div.examples
[c/Header {:as :h2} "Breadcrumb"]
[:div.ex
[c/Breadcrumb
[c/BreadcrumbSection {:link true} "Home"]
[c/BreadcrumbDivider {:icon "right angle"}]
... | true | (ns semantic-ui-reagent.collections
(:require [reagent.core :as r]
[semantic-ui-reagent.core :as c]))
(defn Breadcrumb []
[:div.examples
[c/Header {:as :h2} "Breadcrumb"]
[:div.ex
[c/Breadcrumb
[c/BreadcrumbSection {:link true} "Home"]
[c/BreadcrumbDivider {:icon "right angle"}]
... |
[
{
"context": "d\"\r\n :for \"user-name\"} \"User Name\"]]\r\n (text-field {:class \"for",
"end": 4217,
"score": 0.8326089382171631,
"start": 4208,
"tag": "NAME",
"value": "User Name"
},
{
"context": "\"true\"\r\n ... | src/clj/cwiki/layouts/admin.clj | clartaq/cwiki | 3 | ;;;
;;; This namespace includes layouts normally available only to admin users.
;;;
(ns cwiki.layouts.admin
(:require [clojure.string :as s]
[cwiki.layouts.base :as base]
[cwiki.util.req-info :as ri]
[cwiki.models.wiki-db :as db]
[hiccup.form :refer [drop-down... | 6303 | ;;;
;;; This namespace includes layouts normally available only to admin users.
;;;
(ns cwiki.layouts.admin
(:require [clojure.string :as s]
[cwiki.layouts.base :as base]
[cwiki.util.req-info :as ri]
[cwiki.models.wiki-db :as db]
[hiccup.form :refer [drop-down... | true | ;;;
;;; This namespace includes layouts normally available only to admin users.
;;;
(ns cwiki.layouts.admin
(:require [clojure.string :as s]
[cwiki.layouts.base :as base]
[cwiki.util.req-info :as ri]
[cwiki.models.wiki-db :as db]
[hiccup.form :refer [drop-down... |
[
{
"context": ")]\n [:updated (:date post)]\n [:author [:name \"Jon Woods\"]]\n [:link {:href (str \"http://jonoflayham.com\"",
"end": 171,
"score": 0.9996675848960876,
"start": 162,
"tag": "NAME",
"value": "Jon Woods"
}
] | src/blog_gen/rss.clj | jonoflayham/blog-gen | 0 | (ns blog-gen.rss
(:require [clojure.data.xml :as xml]))
(defn- entry [post]
[:entry
[:title (:title post)]
[:updated (:date post)]
[:author [:name "Jon Woods"]]
[:link {:href (str "http://jonoflayham.com" (:path post))}]
[:id (str "urn:jonoflayham-io:feed:post:" (:title post))]
[:content {:type "... | 26346 | (ns blog-gen.rss
(:require [clojure.data.xml :as xml]))
(defn- entry [post]
[:entry
[:title (:title post)]
[:updated (:date post)]
[:author [:name "<NAME>"]]
[:link {:href (str "http://jonoflayham.com" (:path post))}]
[:id (str "urn:jonoflayham-io:feed:post:" (:title post))]
[:content {:type "htm... | true | (ns blog-gen.rss
(:require [clojure.data.xml :as xml]))
(defn- entry [post]
[:entry
[:title (:title post)]
[:updated (:date post)]
[:author [:name "PI:NAME:<NAME>END_PI"]]
[:link {:href (str "http://jonoflayham.com" (:path post))}]
[:id (str "urn:jonoflayham-io:feed:post:" (:title post))]
[:conte... |
[
{
"context": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n; Copyright 2015 Xebia B.V.\n;\n; Licensed under the Apache License, Version 2",
"end": 107,
"score": 0.9854002594947815,
"start": 98,
"tag": "NAME",
"value": "Xebia B.V"
}
] | src/test/clojure/com/xebia/visualreview/service/screenshot_test.clj | andstepanuk/VisualReview | 290 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright 2015 Xebia B.V.
;
; 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... | 51595 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright 2015 <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/LI... | true | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright 2015 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.o... |
[
{
"context": "y\n;because the buffers are large.\n(ns ^{ :author \"Alex Seewald\" }\n philharmonia-samples.sampled-viola\n (:use [",
"end": 198,
"score": 0.9998720288276672,
"start": 186,
"tag": "NAME",
"value": "Alex Seewald"
}
] | data/test/clojure/87b86486660ebcf6344b6d638627f001276a14c3sampled_viola.clj | harshp8l/deep-learning-lang-detection | 84 | ;the sense in making a file for each instrument is that people can include them in their own namespaces individually, which can be costly
;because the buffers are large.
(ns ^{ :author "Alex Seewald" }
philharmonia-samples.sampled-viola
(:use [philharmonia-samples.sample-utils]
[overtone.live]))
(def viola... | 120571 | ;the sense in making a file for each instrument is that people can include them in their own namespaces individually, which can be costly
;because the buffers are large.
(ns ^{ :author "<NAME>" }
philharmonia-samples.sampled-viola
(:use [philharmonia-samples.sample-utils]
[overtone.live]))
(def viola-sampl... | true | ;the sense in making a file for each instrument is that people can include them in their own namespaces individually, which can be costly
;because the buffers are large.
(ns ^{ :author "PI:NAME:<NAME>END_PI" }
philharmonia-samples.sampled-viola
(:use [philharmonia-samples.sample-utils]
[overtone.live]))
(d... |
[
{
"context": ";; Copyright (c) 2014, Paul Mucur (http://mudge.name)\n;; Released under the Eclipse",
"end": 33,
"score": 0.9998564124107361,
"start": 23,
"tag": "NAME",
"value": "Paul Mucur"
}
] | data/train/clojure/2e9fb6d51bd33d36cfe4550e714e931660ab5f51reader.clj | harshp8l/deep-learning-lang-detection | 84 | ;; Copyright (c) 2014, Paul Mucur (http://mudge.name)
;; Released under the Eclipse Public License:
;; http://www.eclipse.org/legal/epl-v10.html
(ns php_clj.reader
(:require [clojure.string :as s])
(:import [java.io ByteArrayInputStream BufferedInputStream]))
(defn buffered-input-stream
"Returns a BufferedInput... | 112965 | ;; Copyright (c) 2014, <NAME> (http://mudge.name)
;; Released under the Eclipse Public License:
;; http://www.eclipse.org/legal/epl-v10.html
(ns php_clj.reader
(:require [clojure.string :as s])
(:import [java.io ByteArrayInputStream BufferedInputStream]))
(defn buffered-input-stream
"Returns a BufferedInputStre... | true | ;; Copyright (c) 2014, PI:NAME:<NAME>END_PI (http://mudge.name)
;; Released under the Eclipse Public License:
;; http://www.eclipse.org/legal/epl-v10.html
(ns php_clj.reader
(:require [clojure.string :as s])
(:import [java.io ByteArrayInputStream BufferedInputStream]))
(defn buffered-input-stream
"Returns a Buf... |
[
{
"context": " around\n with orchestrate.io and thinking about ted dziuba's thoughts on\n REVAT (http://teddziuba.gith",
"end": 131,
"score": 0.5892882347106934,
"start": 127,
"tag": "NAME",
"value": "ed d"
}
] | src/orch/atom.clj | joegallo/orch | 1 | (ns orch.atom
"this is just a little tech demo that i created while playing around
with orchestrate.io and thinking about ted dziuba's thoughts on
REVAT (http://teddziuba.github.io/2014/08/18/the-s-in-rest/) -- this
is obviously not a fully-featured client, it's just a toy"
(:refer-clojure :exclude [atom swap... | 61488 | (ns orch.atom
"this is just a little tech demo that i created while playing around
with orchestrate.io and thinking about t<NAME>ziuba's thoughts on
REVAT (http://teddziuba.github.io/2014/08/18/the-s-in-rest/) -- this
is obviously not a fully-featured client, it's just a toy"
(:refer-clojure :exclude [atom sw... | true | (ns orch.atom
"this is just a little tech demo that i created while playing around
with orchestrate.io and thinking about tPI:NAME:<NAME>END_PIziuba's thoughts on
REVAT (http://teddziuba.github.io/2014/08/18/the-s-in-rest/) -- this
is obviously not a fully-featured client, it's just a toy"
(:refer-clojure :ex... |
[
{
"context": " :password password\n :usern",
"end": 1598,
"score": 0.8631311655044556,
"start": 1590,
"tag": "PASSWORD",
"value": "password"
}
] | code/src/sixsq/nuvla/server/resources/user_username_password.clj | nuvla/server | 6 | (ns sixsq.nuvla.server.resources.user-username-password
"
Provides the functions necessary to create a `user` resource from a username,
password, and other given information."
(:require
[sixsq.nuvla.server.resources.common.utils :as u]
[sixsq.nuvla.server.resources.spec.user]
[sixsq.nuvla.server.resourc... | 794 | (ns sixsq.nuvla.server.resources.user-username-password
"
Provides the functions necessary to create a `user` resource from a username,
password, and other given information."
(:require
[sixsq.nuvla.server.resources.common.utils :as u]
[sixsq.nuvla.server.resources.spec.user]
[sixsq.nuvla.server.resourc... | true | (ns sixsq.nuvla.server.resources.user-username-password
"
Provides the functions necessary to create a `user` resource from a username,
password, and other given information."
(:require
[sixsq.nuvla.server.resources.common.utils :as u]
[sixsq.nuvla.server.resources.spec.user]
[sixsq.nuvla.server.resourc... |
[
{
"context": "id (ref/new 1755))\n (restaurant-name (ref/new \"Venezia\"))\n (customer-name (ref/new \"Jan Kowalski\")",
"end": 2904,
"score": 0.5629533529281616,
"start": 2900,
"tag": "NAME",
"value": "Vene"
},
{
"context": "(ref/new \"Venezia\"))\n (customer-name (ref/new ... | example/index.clj | zyla/random-lisp | 0 | ; Unit
; (Array Int)
; (-> [(Array a) (Array a)] (Array a))
; (forall [a b c] (-> (-> [a] b) (-> [b] c) (-> [a] c)))
(declare print : (forall [a] (-> [a] Unit)))
; print :: forall a. a -> Unit
(declare concat : (-> [String String] String))
(declare array/concat : (forall [a] (-> [(Array a) (Array a)] (Array a))))
(d... | 69343 | ; Unit
; (Array Int)
; (-> [(Array a) (Array a)] (Array a))
; (forall [a b c] (-> (-> [a] b) (-> [b] c) (-> [a] c)))
(declare print : (forall [a] (-> [a] Unit)))
; print :: forall a. a -> Unit
(declare concat : (-> [String String] String))
(declare array/concat : (forall [a] (-> [(Array a) (Array a)] (Array a))))
(d... | true | ; Unit
; (Array Int)
; (-> [(Array a) (Array a)] (Array a))
; (forall [a b c] (-> (-> [a] b) (-> [b] c) (-> [a] c)))
(declare print : (forall [a] (-> [a] Unit)))
; print :: forall a. a -> Unit
(declare concat : (-> [String String] String))
(declare array/concat : (forall [a] (-> [(Array a) (Array a)] (Array a))))
(d... |
[
{
"context": "c\n :highlight/next inc})\n\n(def ex0-ui\n [\" Alan Kay\"\n \" J.C.R. Licklider\"\n \" John McCarthy\" ]",
"end": 959,
"score": 0.9998307228088379,
"start": 951,
"tag": "NAME",
"value": "Alan Kay"
},
{
"context": "ext inc})\n\n(def ex0-ui\n [\" A... | data/train/clojure/be613c8b04e8bba0c4673da41837613128e88702core.cljs | harshp8l/deep-learning-lang-detection | 84 | (ns extracting-processes.core
(:use [promise_stream.pstream :only [mapd* filter* concat* reductions*
zip* promise fmap]]
[jayq.core :only [$ on text]])
(:require [clojure.string :as string]
[promise_stream.pstream :as ps]
[promise_stream.sources... | 16582 | (ns extracting-processes.core
(:use [promise_stream.pstream :only [mapd* filter* concat* reductions*
zip* promise fmap]]
[jayq.core :only [$ on text]])
(:require [clojure.string :as string]
[promise_stream.pstream :as ps]
[promise_stream.sources... | true | (ns extracting-processes.core
(:use [promise_stream.pstream :only [mapd* filter* concat* reductions*
zip* promise fmap]]
[jayq.core :only [$ on text]])
(:require [clojure.string :as string]
[promise_stream.pstream :as ps]
[promise_stream.sources... |
[
{
"context": ";; Copyright 2014-2020 King\n;; Copyright 2009-2014 Ragnar Svensson, Christian Murray\n;; Licensed under the Defold Li",
"end": 111,
"score": 0.9997965693473816,
"start": 96,
"tag": "NAME",
"value": "Ragnar Svensson"
},
{
"context": "-2020 King\n;; Copyright 2009-2014 R... | editor/.jokerd/linter.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... | 80981 | ;; 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": " \"0.1.2\"]])\n\n\n;; Example from: https://github.com/boutros/matsu/blob/master/doc/example.clj\n;; Original cop",
"end": 162,
"score": 0.9973132014274597,
"start": 155,
"tag": "USERNAME",
"value": "boutros"
},
{
"context": "pyright and license statement:\n;; Copyright... | overview/Script26.clj | clarkparsia/semtech2014 | 1 | #_(defdeps
[[org.clojure/clojure "1.6.0"]
[clj-http "0.6.3"]
[cheshire "5.0.1"]
[matsu "0.1.2"]])
;; Example from: https://github.com/boutros/matsu/blob/master/doc/example.clj
;; Original copyright and license statement:
;; Copyright © 2012 Petter Goksøyr Åsen
;;
;; Distributed under the Eclipse Pu... | 16111 | #_(defdeps
[[org.clojure/clojure "1.6.0"]
[clj-http "0.6.3"]
[cheshire "5.0.1"]
[matsu "0.1.2"]])
;; Example from: https://github.com/boutros/matsu/blob/master/doc/example.clj
;; Original copyright and license statement:
;; Copyright © 2012 <NAME>
;;
;; Distributed under the Eclipse Public License,... | true | #_(defdeps
[[org.clojure/clojure "1.6.0"]
[clj-http "0.6.3"]
[cheshire "5.0.1"]
[matsu "0.1.2"]])
;; Example from: https://github.com/boutros/matsu/blob/master/doc/example.clj
;; Original copyright and license statement:
;; Copyright © 2012 PI:NAME:<NAME>END_PI
;;
;; Distributed under the Eclipse P... |
[
{
"context": ";; Copyright 2014-2020 King\n;; Copyright 2009-2014 Ragnar Svensson, Christian Murray\n;; Licensed under the Defold Li",
"end": 111,
"score": 0.9998135566711426,
"start": 96,
"tag": "NAME",
"value": "Ragnar Svensson"
},
{
"context": "-2020 King\n;; Copyright 2009-2014 R... | editor/src/clj/editor/analytics.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... | 55513 | ;; 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": " Logic SAT\n; Examples: jabeh\n\n; Copyright (c) 2016 Burkhardt Renz, Marco Stephan, THM. All rights reserved.\n; The u",
"end": 103,
"score": 0.9998559951782227,
"start": 89,
"tag": "NAME",
"value": "Burkhardt Renz"
},
{
"context": "mples: jabeh\n\n; Copyright (c) 2016... | src/lwb/prop/examples/jabeh.clj | esb-lwb/lwb | 22 | ; lwb Logic WorkBench -- Propositional Logic SAT
; Examples: jabeh
; Copyright (c) 2016 Burkhardt Renz, Marco Stephan, THM. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php).
; By using this software ... | 52783 | ; lwb Logic WorkBench -- Propositional Logic SAT
; Examples: jabeh
; Copyright (c) 2016 <NAME>, <NAME>, THM. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php).
; By using this software in any fashion,... | true | ; lwb Logic WorkBench -- Propositional Logic SAT
; Examples: jabeh
; Copyright (c) 2016 PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI, THM. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php).
; By using t... |
[
{
"context": ";;;; Copyright 2015 Peter Stephens. All Rights Reserved.\r\n;;;;\r\n;;;; Licensed unde",
"end": 36,
"score": 0.9997657537460327,
"start": 22,
"tag": "NAME",
"value": "Peter Stephens"
}
] | src/common/normalizer/filesystem.cljs | pstephens/kingjames.bible | 23 | ;;;; Copyright 2015 Peter Stephens. All Rights Reserved.
;;;;
;;;; 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
... | 51152 | ;;;; Copyright 2015 <NAME>. All Rights Reserved.
;;;;
;;;; 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
;;;;
;;... | true | ;;;; Copyright 2015 PI:NAME:<NAME>END_PI. All Rights Reserved.
;;;;
;;;; 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... |
[
{
"context": "ckupSource\"\n :encrypted-passwd \"WIwn6jIUt2Rbc\"}}))\n\n(def desktop-minimal-settings\n #{:install-",
"end": 4214,
"score": 0.9981997609138489,
"start": 4201,
"tag": "PASSWORD",
"value": "WIwn6jIUt2Rbc"
},
{
"context": "kturama {:app-download-url \"... | main/src/dda/pallet/dda_managed_vm/domain.clj | DomainDrivenArchitecture/dda-managed-vm | 5 | ; Licensed to the Apache Software Foundation (ASF) under one
; or more contributor license agreements. See the NOTICE file
; distributed with this work for additional information
; regarding copyright ownership. The ASF licenses this file
; to you under the Apache License, Version 2.0 (the
; "License"); you may not use... | 50779 | ; Licensed to the Apache Software Foundation (ASF) under one
; or more contributor license agreements. See the NOTICE file
; distributed with this work for additional information
; regarding copyright ownership. The ASF licenses this file
; to you under the Apache License, Version 2.0 (the
; "License"); you may not use... | true | ; Licensed to the Apache Software Foundation (ASF) under one
; or more contributor license agreements. See the NOTICE file
; distributed with this work for additional information
; regarding copyright ownership. The ASF licenses this file
; to you under the Apache License, Version 2.0 (the
; "License"); you may not use... |
[
{
"context": " :uname uname\n :pwd pwd}}}))\n(rf/reg-event-fx\n :join-org-signup-return\n (",
"end": 2026,
"score": 0.9985630512237549,
"start": 2023,
"tag": "PASSWORD",
"value": "pwd"
},
{
"context": "{:error (= @bad-input& :uname)}\n [:label \... | src/cljs/app/vetd_app/common/pages/join_org_signup.cljs | jaydeesimon/vetd-app | 98 | (ns vetd-app.common.pages.join-org-signup
(:require [vetd-app.ui :as ui]
[vetd-app.util :as util]
[reagent.core :as r]
[re-frame.core :as rf]
[clojure.string :as s]))
;; Events
(rf/reg-event-fx
:nav-join-org-signup
(fn [_ [_ link-key]]
{:nav {:path (str "/signup-b... | 117172 | (ns vetd-app.common.pages.join-org-signup
(:require [vetd-app.ui :as ui]
[vetd-app.util :as util]
[reagent.core :as r]
[re-frame.core :as rf]
[clojure.string :as s]))
;; Events
(rf/reg-event-fx
:nav-join-org-signup
(fn [_ [_ link-key]]
{:nav {:path (str "/signup-b... | true | (ns vetd-app.common.pages.join-org-signup
(:require [vetd-app.ui :as ui]
[vetd-app.util :as util]
[reagent.core :as r]
[re-frame.core :as rf]
[clojure.string :as s]))
;; Events
(rf/reg-event-fx
:nav-join-org-signup
(fn [_ [_ link-key]]
{:nav {:path (str "/signup-b... |
[
{
"context": "TRUCTURES ####################\n;{\n;\"first-name\": \"Stojan\",\n;\"last-name\" : \"Jakotyc\",\n;\"age\":38,\n;\"phones\":",
"end": 2237,
"score": 0.9998208284378052,
"start": 2231,
"tag": "NAME",
"value": "Stojan"
},
{
"context": "#####\n;{\n;\"first-name\": \"Stojan\... | clj/src/clj/code1.clj | jbalaty/reveal.js | 0 | (ns clj.code1
(:require [clj-http.client :as http])
(:require [hiccup.core :as hiccup])
(:require [clojure.core.async
:as a
:refer [>! <! >!! <!! go chan buffer close! thread go-loop
alts! alts!! timeout]])
(:use clojure.repl)
(:use clojure.pprint))
;; #########... | 15359 | (ns clj.code1
(:require [clj-http.client :as http])
(:require [hiccup.core :as hiccup])
(:require [clojure.core.async
:as a
:refer [>! <! >!! <!! go chan buffer close! thread go-loop
alts! alts!! timeout]])
(:use clojure.repl)
(:use clojure.pprint))
;; #########... | true | (ns clj.code1
(:require [clj-http.client :as http])
(:require [hiccup.core :as hiccup])
(:require [clojure.core.async
:as a
:refer [>! <! >!! <!! go chan buffer close! thread go-loop
alts! alts!! timeout]])
(:use clojure.repl)
(:use clojure.pprint))
;; #########... |
[
{
"context": ";; Copyright (c) Stuart Sierra, 2012. All rights reserved. The use and\n;; distri",
"end": 30,
"score": 0.999853253364563,
"start": 17,
"tag": "NAME",
"value": "Stuart Sierra"
}
] | output/conjure_deps/toolsnamespace/v0v3v1/clojure/tools/namespace/file.clj | Olical/conjure-deps | 4 | ;; Copyright (c) Stuart Sierra, 2012. 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 a... | 39531 | ;; Copyright (c) <NAME>, 2012. 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, 2012. 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": "> % (.toLowerCase %) (.indexOf text) (> -1))\n [\"Alice\" \"Alan\" \"Bob\" \"Beth\" \"Jim\" \"Jane\" \"Kim\" \"Rob\" \"Zo",
"end": 613,
"score": 0.9998546242713928,
"start": 608,
"tag": "NAME",
"value": "Alice"
},
{
"context": "LowerCase %) (.indexOf text) (> -1))\n ... | resources/public/js/forms_example/view_one.cljs | pariyatti/reagent-playground | 0 | (ns forms-example.view-one
(:require [json-html.core :refer [edn->hiccup]]
[reagent.core :as reagent :refer [atom]]
[reagent-forms.core :refer [bind-fields init-field value-of]]))
(defn row [label input]
[:div.row
[:div.col-md-2 [:label label]]
[:div.col-md-5 input]])
(defn radio [la... | 34041 | (ns forms-example.view-one
(:require [json-html.core :refer [edn->hiccup]]
[reagent.core :as reagent :refer [atom]]
[reagent-forms.core :refer [bind-fields init-field value-of]]))
(defn row [label input]
[:div.row
[:div.col-md-2 [:label label]]
[:div.col-md-5 input]])
(defn radio [la... | true | (ns forms-example.view-one
(:require [json-html.core :refer [edn->hiccup]]
[reagent.core :as reagent :refer [atom]]
[reagent-forms.core :refer [bind-fields init-field value-of]]))
(defn row [label input]
[:div.row
[:div.col-md-2 [:label label]]
[:div.col-md-5 input]])
(defn radio [la... |
[
{
"context": "create {:user-email email\n :password password\n :user-name (str \"extractor-\" (str ",
"end": 198,
"score": 0.9974759817123413,
"start": 190,
"tag": "PASSWORD",
"value": "password"
},
{
"context": "run -m kulu-backend.scripts.add-extractor-u... | src/kulu_backend/scripts/add_extractor_user.clj | vkrmis/kulu-backend | 3 | (ns kulu-backend.scripts.add-extractor-user
(:require [kulu-backend.organizations.model :as org]))
(defn create [email password]
(org/create {:user-email email
:password password
:user-name (str "extractor-" (str (java.util.UUID/randomUUID)))
:organization-name "transcr... | 122242 | (ns kulu-backend.scripts.add-extractor-user
(:require [kulu-backend.organizations.model :as org]))
(defn create [email password]
(org/create {:user-email email
:password <PASSWORD>
:user-name (str "extractor-" (str (java.util.UUID/randomUUID)))
:organization-name "trans... | true | (ns kulu-backend.scripts.add-extractor-user
(:require [kulu-backend.organizations.model :as org]))
(defn create [email password]
(org/create {:user-email email
:password PI:PASSWORD:<PASSWORD>END_PI
:user-name (str "extractor-" (str (java.util.UUID/randomUUID)))
:organi... |
[
{
"context": " :primary-contact (rand-nth [\"John Smith 715 642-2111\"\n ",
"end": 2406,
"score": 0.9998643398284912,
"start": 2396,
"tag": "NAME",
"value": "John Smith"
},
{
"context": " ... | PROJECTNAMESPACE.PROJECTNAME/src/PROJECTNAMESPACE/PROJECTNAME/frontend/devcards/components.cljs | armincerf/clojure-template | 1 | (ns PROJECTNAMESPACE.PROJECTNAME.frontend.devcards.components
(:require
[reagent.core :as r]
[PROJECTNAMESPACE.PROJECTNAME.frontend.dashboard.components :as components]
[PROJECTNAMESPACE.PROJECTNAME.frontend.uikit.table :as table]
[devcards.core :refer [defcard-rg]]))
(defcard-rg breadcrumb
[:div {:sty... | 3207 | (ns PROJECTNAMESPACE.PROJECTNAME.frontend.devcards.components
(:require
[reagent.core :as r]
[PROJECTNAMESPACE.PROJECTNAME.frontend.dashboard.components :as components]
[PROJECTNAMESPACE.PROJECTNAME.frontend.uikit.table :as table]
[devcards.core :refer [defcard-rg]]))
(defcard-rg breadcrumb
[:div {:sty... | true | (ns PROJECTNAMESPACE.PROJECTNAME.frontend.devcards.components
(:require
[reagent.core :as r]
[PROJECTNAMESPACE.PROJECTNAME.frontend.dashboard.components :as components]
[PROJECTNAMESPACE.PROJECTNAME.frontend.uikit.table :as table]
[devcards.core :refer [defcard-rg]]))
(defcard-rg breadcrumb
[:div {:sty... |
[
{
"context": " ;;\n;; Author: Jon Anthony ",
"end": 1839,
"score": 0.999825656414032,
"start": 1828,
"tag": "NAME",
"value": "Jon Anthony"
}
] | src/aerial/utils/math.clj | jsa-aerial/aerial.utils | 5 | ;;--------------------------------------------------------------------------;;
;; ;;
;; U T I L S . M A T H ;;
;; ;;
;; P... | 82622 | ;;--------------------------------------------------------------------------;;
;; ;;
;; U T I L S . M A T H ;;
;; ;;
;; P... | true | ;;--------------------------------------------------------------------------;;
;; ;;
;; U T I L S . M A T H ;;
;; ;;
;; P... |
[
{
"context": "s\n ^{:doc \"AST dumper diagnostic tool.\", :author \"Sean Dawson\"}\n nanoweave.diagnostics.ast-dumper\n (:require\n ",
"end": 63,
"score": 0.9998567700386047,
"start": 52,
"tag": "NAME",
"value": "Sean Dawson"
}
] | src/nanoweave/diagnostics/ast_dumper.clj | NoxHarmonium/nanoweave | 0 | (ns
^{:doc "AST dumper diagnostic tool.", :author "Sean Dawson"}
nanoweave.diagnostics.ast-dumper
(:require
[rhizome.viz :as r]
[nanoweave.utils :refer [read-json-with-doubles]]
[nanoweave.transformers.file-transformer :as transformer]
[clojure.pprint :as pp])
(:import (nanoweave.ast.literals StringLi... | 18501 | (ns
^{:doc "AST dumper diagnostic tool.", :author "<NAME>"}
nanoweave.diagnostics.ast-dumper
(:require
[rhizome.viz :as r]
[nanoweave.utils :refer [read-json-with-doubles]]
[nanoweave.transformers.file-transformer :as transformer]
[clojure.pprint :as pp])
(:import (nanoweave.ast.literals StringLit Flo... | true | (ns
^{:doc "AST dumper diagnostic tool.", :author "PI:NAME:<NAME>END_PI"}
nanoweave.diagnostics.ast-dumper
(:require
[rhizome.viz :as r]
[nanoweave.utils :refer [read-json-with-doubles]]
[nanoweave.transformers.file-transformer :as transformer]
[clojure.pprint :as pp])
(:import (nanoweave.ast.literals... |
[
{
"context": "License\n\nFor js-joda software\n\nCopyright (c) 2016, Philipp Thürwächter & Pattrick Hüper\n \nAll rights reserved.\n \nRedistr",
"end": 1737,
"score": 0.9998714327812195,
"start": 1718,
"tag": "NAME",
"value": "Philipp Thürwächter"
},
{
"context": "oftware\n\nCopyrigh... | src/cljs/wkok/buy2let/legal/opensource/bsd.cljs | wkok/re-frame-buy2let | 0 | (ns wkok.buy2let.legal.opensource.bsd)
(def bsd-3
{:name "BSD 3-Clause License"
:text "
BSD 3-Clause License
Copyright (c) [year], [fullname]
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. Re... | 104806 | (ns wkok.buy2let.legal.opensource.bsd)
(def bsd-3
{:name "BSD 3-Clause License"
:text "
BSD 3-Clause License
Copyright (c) [year], [fullname]
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. Re... | true | (ns wkok.buy2let.legal.opensource.bsd)
(def bsd-3
{:name "BSD 3-Clause License"
:text "
BSD 3-Clause License
Copyright (c) [year], [fullname]
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. Re... |
[
{
"context": "thod nvpm]\n (let [m (assoc nvpm\n :user user\n :pwd password\n :signature ",
"end": 196,
"score": 0.9677543044090271,
"start": 192,
"tag": "USERNAME",
"value": "user"
},
{
"context": "assoc nvpm\n :user user\n :pw... | src/zutil/paypal.clj | zakwilson/zutil-clj | 5 | (ns zutil.paypal
(:refer-clojure :exclude [get])
(:use clj-http.client zutil.web))
(defn make-paypal-query [user password key version method nvpm]
(let [m (assoc nvpm
:user user
:pwd password
:signature key
:version version)
q (str "method=" method "&"
... | 92804 | (ns zutil.paypal
(:refer-clojure :exclude [get])
(:use clj-http.client zutil.web))
(defn make-paypal-query [user password key version method nvpm]
(let [m (assoc nvpm
:user user
:pwd <PASSWORD>
:signature key
:version version)
q (str "method=" method "&"
... | true | (ns zutil.paypal
(:refer-clojure :exclude [get])
(:use clj-http.client zutil.web))
(defn make-paypal-query [user password key version method nvpm]
(let [m (assoc nvpm
:user user
:pwd PI:PASSWORD:<PASSWORD>END_PI
:signature key
:version version)
q (str "meth... |
[
{
"context": ")\n \"Hello joe\" \"Hello $name$\" {\"name\" \"joe\"}\n 'foo-baz 'foo-$name$ {\"name\" \"baz\"}",
"end": 877,
"score": 0.9591983556747437,
"start": 874,
"tag": "NAME",
"value": "joe"
}
] | src/me/zzp/sqlet/id.clj | redraiment/sqlet | 1 | (ns me.zzp.sqlet.id
"标识(identifier)相关函数
包括:symbol、keyword、namespace"
(:require [clojure
[string :as cs]
[test :refer [are]]]))
(defn ns?
"是否为Clojure命名空间对象"
[o]
(instance? clojure.lang.Namespace o))
(defn id?
"字符串或符号或关键字或命名空间"
[o]
(or (string? o)
(symbol? o)
(key... | 41992 | (ns me.zzp.sqlet.id
"标识(identifier)相关函数
包括:symbol、keyword、namespace"
(:require [clojure
[string :as cs]
[test :refer [are]]]))
(defn ns?
"是否为Clojure命名空间对象"
[o]
(instance? clojure.lang.Namespace o))
(defn id?
"字符串或符号或关键字或命名空间"
[o]
(or (string? o)
(symbol? o)
(key... | true | (ns me.zzp.sqlet.id
"标识(identifier)相关函数
包括:symbol、keyword、namespace"
(:require [clojure
[string :as cs]
[test :refer [are]]]))
(defn ns?
"是否为Clojure命名空间对象"
[o]
(instance? clojure.lang.Namespace o))
(defn id?
"字符串或符号或关键字或命名空间"
[o]
(or (string? o)
(symbol? o)
(key... |
[
{
"context": ";; Copyright 2014-2020 King\n;; Copyright 2009-2014 Ragnar Svensson, Christian Murray\n;; Licensed under the Defold Li",
"end": 111,
"score": 0.9998111128807068,
"start": 96,
"tag": "NAME",
"value": "Ragnar Svensson"
},
{
"context": "-2020 King\n;; Copyright 2009-2014 R... | editor/test/editor/gl/vertex_test.clj | cmarincia/defold | 0 | ;; Copyright 2020-2022 The Defold Foundation
;; Copyright 2014-2020 King
;; Copyright 2009-2014 Ragnar Svensson, Christian Murray
;; Licensed under the Defold License version 1.0 (the "License"); you may not use
;; this file except in compliance with the License.
;;
;; You may obtain a copy of the License, together wi... | 113439 | ;; 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": "(ns\n #^{:author \"Matt Revelle\"\n :doc \"OAuth client library for Clojure.\"}",
"end": 32,
"score": 0.9998887181282043,
"start": 20,
"tag": "NAME",
"value": "Matt Revelle"
}
] | src/oauth/signature.clj | mpenet/clj-oauth | 3 | (ns
#^{:author "Matt Revelle"
:doc "OAuth client library for Clojure."}
oauth.signature
(:require
[oauth.digest :as digest]
[clojure.string :refer [join]]))
(declare rand-str
base-string
sign
url-encode
oauth-params)
(defn- named? [a]
(instance? clojure.lang.... | 124708 | (ns
#^{:author "<NAME>"
:doc "OAuth client library for Clojure."}
oauth.signature
(:require
[oauth.digest :as digest]
[clojure.string :refer [join]]))
(declare rand-str
base-string
sign
url-encode
oauth-params)
(defn- named? [a]
(instance? clojure.lang.Named ... | true | (ns
#^{:author "PI:NAME:<NAME>END_PI"
:doc "OAuth client library for Clojure."}
oauth.signature
(:require
[oauth.digest :as digest]
[clojure.string :refer [join]]))
(declare rand-str
base-string
sign
url-encode
oauth-params)
(defn- named? [a]
(instance? cloju... |
[
{
"context": "ogging.clj -- delegated logging for Clojure\n\n;; by Alex Taggart\n;; July 27, 2009\n\n;; Copyright (c) Alex Taggart, ",
"end": 68,
"score": 0.9998823404312134,
"start": 56,
"tag": "NAME",
"value": "Alex Taggart"
},
{
"context": "by Alex Taggart\n;; July 27, 2009\n\n;; ... | data/clojure/306d96740f5db73924b9bb61f4af3c74_logging.clj | maxim5/code-inspector | 5 | ;;; logging.clj -- delegated logging for Clojure
;; by Alex Taggart
;; July 27, 2009
;; Copyright (c) Alex Taggart, July 2009. All rights reserved. The use
;; and distribution terms for this software are covered by the Eclipse
;; Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
;; which can be fou... | 76471 | ;;; logging.clj -- delegated logging for Clojure
;; by <NAME>
;; July 27, 2009
;; Copyright (c) <NAME>, July 2009. All rights reserved. The use
;; and distribution terms for this software are covered by the Eclipse
;; Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
;; which can be found in the fi... | true | ;;; logging.clj -- delegated logging for Clojure
;; by PI:NAME:<NAME>END_PI
;; July 27, 2009
;; Copyright (c) PI:NAME:<NAME>END_PI, July 2009. All rights reserved. The use
;; and distribution terms for this software are covered by the Eclipse
;; Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
;; ... |
[
{
"context": "eTagAuto\"\n :key \"imageTagAuto\"\n :searchText (:tag val",
"end": 1613,
"score": 0.5855410099029541,
"start": 1601,
"tag": "KEY",
"value": "imageTagAuto"
}
] | ch16/swarmpit/src/cljs/swarmpit/component/service/form_settings.cljs | vincestorm/Docker-on-Amazon-Web-Services | 0 | (ns swarmpit.component.service.form-settings
(:require [material.component :as comp]
[material.component.form :as form]
[swarmpit.component.state :as state]
[swarmpit.component.service.form-ports :as ports]
[swarmpit.component.parser :refer [parse-int]]
[swa... | 15433 | (ns swarmpit.component.service.form-settings
(:require [material.component :as comp]
[material.component.form :as form]
[swarmpit.component.state :as state]
[swarmpit.component.service.form-ports :as ports]
[swarmpit.component.parser :refer [parse-int]]
[swa... | true | (ns swarmpit.component.service.form-settings
(:require [material.component :as comp]
[material.component.form :as form]
[swarmpit.component.state :as state]
[swarmpit.component.service.form-ports :as ports]
[swarmpit.component.parser :refer [parse-int]]
[swa... |
[
{
"context": "mal super permutation\"\n :url \"https://github.com/deltam/clj-superpermutation\"\n :license {:name \"MIT Lice",
"end": 131,
"score": 0.9995574355125427,
"start": 125,
"tag": "USERNAME",
"value": "deltam"
},
{
"context": "l \"none\"\n :year 2019\n ... | project.clj | deltam/clj-superpermutation | 0 | (defproject clj-superpermutation "0.1.0-SNAPSHOT"
:description "Find minimal super permutation"
:url "https://github.com/deltam/clj-superpermutation"
:license {:name "MIT License"
:url "none"
:year 2019
:key "mit"}
:dependencies [[org.clojure/clojure "1.10.0"]
... | 7778 | (defproject clj-superpermutation "0.1.0-SNAPSHOT"
:description "Find minimal super permutation"
:url "https://github.com/deltam/clj-superpermutation"
:license {:name "MIT License"
:url "none"
:year 2019
:key "<KEY>"}
:dependencies [[org.clojure/clojure "1.10.0"]
... | true | (defproject clj-superpermutation "0.1.0-SNAPSHOT"
:description "Find minimal super permutation"
:url "https://github.com/deltam/clj-superpermutation"
:license {:name "MIT License"
:url "none"
:year 2019
:key "PI:KEY:<KEY>END_PI"}
:dependencies [[org.clojure/clojure "1.10.0"]
... |
[
{
"context": "ome? val)\n {:from \"admin@helpinghands.com\"\n :to (:to tx-dat",
"end": 1862,
"score": 0.9999252557754517,
"start": 1840,
"tag": "EMAIL",
"value": "admin@helpinghands.com"
},
{
"context": " :ssl... | Chapter10/helping-hands-alert/src/clj/helping_hands/alert/core.clj | ryanorsinger/Microservices-with-Clojure | 37 | (ns helping-hands.alert.core
"Initializes Helping Hands Alert Service"
(:require [cheshire.core :as jp]
[clojure.string :as s]
[postal.core :as postal]
[helping-hands.alert.persistence :as p]
[io.pedestal.interceptor.chain :as chain])
(:import [java.io IOException]
... | 62934 | (ns helping-hands.alert.core
"Initializes Helping Hands Alert Service"
(:require [cheshire.core :as jp]
[clojure.string :as s]
[postal.core :as postal]
[helping-hands.alert.persistence :as p]
[io.pedestal.interceptor.chain :as chain])
(:import [java.io IOException]
... | true | (ns helping-hands.alert.core
"Initializes Helping Hands Alert Service"
(:require [cheshire.core :as jp]
[clojure.string :as s]
[postal.core :as postal]
[helping-hands.alert.persistence :as p]
[io.pedestal.interceptor.chain :as chain])
(:import [java.io IOException]
... |
[
{
"context": " :username \"postgres\"\n :password ",
"end": 600,
"score": 0.9941633343696594,
"start": 592,
"tag": "USERNAME",
"value": "postgres"
},
{
"context": " :password ... | clojure/pedestal/src/server.clj | graphqlize/graphqlize-demo | 11 | (ns server
(:require [hikari-cp.core :as hikari]
[io.pedestal.http :as server]
[com.walmartlabs.lacinia.pedestal :as lacinia-pedestal]
[graphqlize.lacinia.core :as l]))
(def db-spec (hikari/make-datasource {:adapter "postgresql"
:dat... | 114463 | (ns server
(:require [hikari-cp.core :as hikari]
[io.pedestal.http :as server]
[com.walmartlabs.lacinia.pedestal :as lacinia-pedestal]
[graphqlize.lacinia.core :as l]))
(def db-spec (hikari/make-datasource {:adapter "postgresql"
:dat... | true | (ns server
(:require [hikari-cp.core :as hikari]
[io.pedestal.http :as server]
[com.walmartlabs.lacinia.pedestal :as lacinia-pedestal]
[graphqlize.lacinia.core :as l]))
(def db-spec (hikari/make-datasource {:adapter "postgresql"
:dat... |
[
{
"context": "015\n :user \"test-user\"\n :authdb \"te",
"end": 1688,
"score": 0.9991963505744934,
"start": 1679,
"tag": "USERNAME",
"value": "test-user"
},
{
"context": "db\"\n :pass ... | c#-metabase/modules/drivers/mongo/test/metabase/driver/mongo/util_test.clj | hanakhry/Crime_Admin | 0 | (ns metabase.driver.mongo.util-test
(:require [clojure.test :refer :all]
[metabase.driver.mongo.util :as mongo-util]
[metabase.driver.util :as driver.u]
[metabase.test :as mt])
(:import [com.mongodb DB MongoClient MongoClientException MongoClientOptions$Builder ReadPreference Ser... | 79613 | (ns metabase.driver.mongo.util-test
(:require [clojure.test :refer :all]
[metabase.driver.mongo.util :as mongo-util]
[metabase.driver.util :as driver.u]
[metabase.test :as mt])
(:import [com.mongodb DB MongoClient MongoClientException MongoClientOptions$Builder ReadPreference Ser... | true | (ns metabase.driver.mongo.util-test
(:require [clojure.test :refer :all]
[metabase.driver.mongo.util :as mongo-util]
[metabase.driver.util :as driver.u]
[metabase.test :as mt])
(:import [com.mongodb DB MongoClient MongoClientException MongoClientOptions$Builder ReadPreference Ser... |
[
{
"context": "#########\n\n(ns cljfind.findsettings\n #^{:author \"Cary Clark\",\n :doc \"Defines the settings for a given fin",
"end": 296,
"score": 0.9998405575752258,
"start": 286,
"tag": "NAME",
"value": "Cary Clark"
}
] | clojure/cljfind/src/cljfind/findsettings.clj | clarkcb/xfind | 0 | ;;; ############################################################################
;;;
;;; findsettings.clj
;;;
;;; Defines the settings for a given find instance
;;;
;;; ############################################################################
(ns cljfind.findsettings
#^{:author "Cary Clark",
:doc "Defines th... | 110636 | ;;; ############################################################################
;;;
;;; findsettings.clj
;;;
;;; Defines the settings for a given find instance
;;;
;;; ############################################################################
(ns cljfind.findsettings
#^{:author "<NAME>",
:doc "Defines the se... | true | ;;; ############################################################################
;;;
;;; findsettings.clj
;;;
;;; Defines the settings for a given find instance
;;;
;;; ############################################################################
(ns cljfind.findsettings
#^{:author "PI:NAME:<NAME>END_PI",
:doc "... |
[
{
"context": ";;; Copyright 2013 Mitchell Kember. Subject to the MIT License.\n\n(ns mini-pinions.ve",
"end": 34,
"score": 0.999890923500061,
"start": 19,
"tag": "NAME",
"value": "Mitchell Kember"
}
] | src/mini_pinions/vector.clj | mk12/mini-pinions | 1 | ;;; Copyright 2013 Mitchell Kember. Subject to the MIT License.
(ns mini-pinions.vector
"Provides essential Euclidean vector operations."
(:import java.lang.Math))
;;; These functions are elegant, but very, very inefficient. That being said,
;;; "We should forget about small efficiencies, say about 97% of the tim... | 112876 | ;;; Copyright 2013 <NAME>. Subject to the MIT License.
(ns mini-pinions.vector
"Provides essential Euclidean vector operations."
(:import java.lang.Math))
;;; These functions are elegant, but very, very inefficient. That being said,
;;; "We should forget about small efficiencies, say about 97% of the time:
;;; pr... | true | ;;; Copyright 2013 PI:NAME:<NAME>END_PI. Subject to the MIT License.
(ns mini-pinions.vector
"Provides essential Euclidean vector operations."
(:import java.lang.Math))
;;; These functions are elegant, but very, very inefficient. That being said,
;;; "We should forget about small efficiencies, say about 97% of th... |
[
{
"context": "(let [;; Create User\n user {\"user/name\" \"Karen Smith\"\n \"user/email\" \"smithka@testing.co",
"end": 7848,
"score": 0.9994227886199951,
"start": 7837,
"tag": "NAME",
"value": "Karen Smith"
},
{
"context": "name\" \"Karen Smith\"\n ... | test/pe_fp_rest/resource/price_stream/price_stream_res_test.clj | evanspa/pe-gasjot-rest | 0 | (ns pe-fp-rest.resource.price-stream.price-stream-res-test
(:require [clojure.test :refer :all]
[clojure.data.json :as json]
[clj-time.core :as t]
[clj-time.coerce :as c]
[clojure.tools.logging :as log]
[compojure.core :refer [defroutes ANY]]
[ri... | 78622 | (ns pe-fp-rest.resource.price-stream.price-stream-res-test
(:require [clojure.test :refer :all]
[clojure.data.json :as json]
[clj-time.core :as t]
[clj-time.coerce :as c]
[clojure.tools.logging :as log]
[compojure.core :refer [defroutes ANY]]
[ri... | true | (ns pe-fp-rest.resource.price-stream.price-stream-res-test
(:require [clojure.test :refer :all]
[clojure.data.json :as json]
[clj-time.core :as t]
[clj-time.coerce :as c]
[clojure.tools.logging :as log]
[compojure.core :refer [defroutes ANY]]
[ri... |
[
{
"context": "; Copyright 2018-2021 Rahul De\n;\n; Use of this source code is governed by an MIT",
"end": 30,
"score": 0.9998619556427002,
"start": 22,
"tag": "NAME",
"value": "Rahul De"
},
{
"context": " :password db-password}}\n ... | common/src/common/system.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.system
(:require [com.stuartsierra.component :as component]
[environ.core :as env]
[taoensso.timbre :a... | 65431 | ; 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.system
(:require [com.stuartsierra.component :as component]
[environ.core :as env]
[taoensso.timbre :as ... | 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.system
(:require [com.stuartsierra.component :as component]
[environ.core :as env]
[taoens... |
[
{
"context": " :user \"sa\"\n :password \"\"})\n\n(def accounts [\n [\"admin\" \"not admin\"]\n [\"mario\" \"ariom\"]\n [\"luigi\" \"mar",
"end": 246,
"score": 0.8917853832244873,
"start": 241,
"tag": "USERNAME",
"value": "admin"
},
{
"context": "\"\"})\n\n(def accounts [\n [\"a... | src/sqlilab/core.clj | caligin/sqlilab | 0 | (ns sqlilab.core
(:require [clojure.java.jdbc :as j])
(:import (java.net URLEncoder)))
(def db {
:classname "org.h2.Driver"
:subprotocol "h2:mem"
:subname "lab;DB_CLOSE_DELAY=-1"
:user "sa"
:password ""})
(def accounts [
["admin" "not admin"]
["mario" "ariom"]
["luigi" "mario"]
["another user ju... | 38573 | (ns sqlilab.core
(:require [clojure.java.jdbc :as j])
(:import (java.net URLEncoder)))
(def db {
:classname "org.h2.Driver"
:subprotocol "h2:mem"
:subname "lab;DB_CLOSE_DELAY=-1"
:user "sa"
:password ""})
(def accounts [
["admin" "not admin"]
["mario" "ariom"]
["luigi" "mario"]
["another user ju... | true | (ns sqlilab.core
(:require [clojure.java.jdbc :as j])
(:import (java.net URLEncoder)))
(def db {
:classname "org.h2.Driver"
:subprotocol "h2:mem"
:subname "lab;DB_CLOSE_DELAY=-1"
:user "sa"
:password ""})
(def accounts [
["admin" "not admin"]
["mario" "ariom"]
["luigi" "mario"]
["another user ju... |
[
{
"context": "circle excitation tension loss))\"\n contributor \"Roger Allen\"))\n\n(defexamples membrane-hexagon\n (:mouse\n \"U",
"end": 797,
"score": 0.9998852610588074,
"start": 786,
"tag": "NAME",
"value": "Roger Allen"
},
{
"context": "exagon excitation tension loss))\"\n ... | src/overtone/sc/examples/membrane.clj | ABaldwinHunter/overtone | 3,870 | (ns overtone.sc.examples.membrane
(:use [overtone.sc.machinery defexample]
[overtone.sc ugens envelope]))
(defexamples membrane-circle
(:mouse
"Use mouse button, X and Y locations to play a drum."
"The mouse button drives the excitation input of the membrane. The
mouse X location drives the tens... | 90483 | (ns overtone.sc.examples.membrane
(:use [overtone.sc.machinery defexample]
[overtone.sc ugens envelope]))
(defexamples membrane-circle
(:mouse
"Use mouse button, X and Y locations to play a drum."
"The mouse button drives the excitation input of the membrane. The
mouse X location drives the tens... | true | (ns overtone.sc.examples.membrane
(:use [overtone.sc.machinery defexample]
[overtone.sc ugens envelope]))
(defexamples membrane-circle
(:mouse
"Use mouse button, X and Y locations to play a drum."
"The mouse button drives the excitation input of the membrane. The
mouse X location drives the tens... |
[
{
"context": "rnative multimethod implementations.\"\n {:author \"palisades dot lakes at gmail dot com\"\n :since \"2017-08-30\"\n :version \"2017-08-31\"}",
"end": 293,
"score": 0.9053258895874023,
"start": 257,
"tag": "EMAIL",
"value": "palisades dot lakes at gmail dot com"
}
] | src/scripts/clojure/palisades/lakes/multix/diameter/bench2.clj | palisades-lakes/multimethod-experiments | 5 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns palisades.lakes.multix.diameter.bench2
"Use criterium for alternative multimethod implementations."
{:author "palisades dot lakes at gmail dot com"
:since "2017-08-30"
... | 18402 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns palisades.lakes.multix.diameter.bench2
"Use criterium for alternative multimethod implementations."
{:author "<EMAIL>"
:since "2017-08-30"
:version "2017-08-31"}
(:r... | true | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns palisades.lakes.multix.diameter.bench2
"Use criterium for alternative multimethod implementations."
{:author "PI:EMAIL:<EMAIL>END_PI"
:since "2017-08-30"
:version "201... |
[
{
"context": ":updated \"Päivitetty\",\n :name \"Nimi\",\n :reported \"Ilmoitettu\",\n :type ",
"end": 7532,
"score": 0.9086786508560181,
"start": 7528,
"tag": "NAME",
"value": "Nimi"
},
{
"context": "rjaudu salasanalla\",\n :password ... | webapp/src/cljc/lipas/i18n/generated.cljc | lipas-liikuntapaikat/lipas | 49 | (ns lipas.i18n.generated)
;; From csv ;;
(def dicts
{:fi
{:analysis
{:headline "Analyysityökalu (beta)"
:description "Analyysityökalulla voi arvioida liikuntaolosuhteiden tarjontaa ja saavutettavuutta vertailemalla liikuntapaikan etäisyyttä ja matkustusaikoja suhteessa m... | 5463 | (ns lipas.i18n.generated)
;; From csv ;;
(def dicts
{:fi
{:analysis
{:headline "Analyysityökalu (beta)"
:description "Analyysityökalulla voi arvioida liikuntaolosuhteiden tarjontaa ja saavutettavuutta vertailemalla liikuntapaikan etäisyyttä ja matkustusaikoja suhteessa m... | true | (ns lipas.i18n.generated)
;; From csv ;;
(def dicts
{:fi
{:analysis
{:headline "Analyysityökalu (beta)"
:description "Analyysityökalulla voi arvioida liikuntaolosuhteiden tarjontaa ja saavutettavuutta vertailemalla liikuntapaikan etäisyyttä ja matkustusaikoja suhteessa m... |
[
{
"context": ":class \"inverse line-height\"}\n \"HI, my name is Sepehr, and I'm coo coo for creative programming! From f",
"end": 858,
"score": 0.9998447299003601,
"start": 852,
"tag": "NAME",
"value": "Sepehr"
}
] | src/cljs/my_website/views/about/panel.cljs | sansarip/my-website | 0 | (ns my-website.views.about.panel
(:require [my-website.styles :refer [color-palette screen-sizes font-sizes spacing-sizes]]
[my-website.utilities :refer [->css-grid-areas word-concat]]
[my-website.components.flexbox :refer [flexbox]]
[my-website.components.image :refer [image]]
... | 118354 | (ns my-website.views.about.panel
(:require [my-website.styles :refer [color-palette screen-sizes font-sizes spacing-sizes]]
[my-website.utilities :refer [->css-grid-areas word-concat]]
[my-website.components.flexbox :refer [flexbox]]
[my-website.components.image :refer [image]]
... | true | (ns my-website.views.about.panel
(:require [my-website.styles :refer [color-palette screen-sizes font-sizes spacing-sizes]]
[my-website.utilities :refer [->css-grid-areas word-concat]]
[my-website.components.flexbox :refer [flexbox]]
[my-website.components.image :refer [image]]
... |
[
{
"context": ";;\n;;\n;; Copyright 2013-2015 Netflix, Inc.\n;;\n;; Licensed under the Apache Lic",
"end": 33,
"score": 0.9373519420623779,
"start": 30,
"tag": "NAME",
"value": "Net"
},
{
"context": "te]\n \"-- Generated by PigPen: https://github.com/Netflix/PigPen\\n\\n\")\n\n(... | pigpen-pig/src/main/clojure/pigpen/pig/script.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 ... | 94745 | ;;
;;
;; 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": "rds {:pits [1]} :items {:arrows [1]} :players {\"joe\" {}})]\n (should= {1 {}} (:caverns game))\n ",
"end": 752,
"score": 0.5010281801223755,
"start": 751,
"tag": "NAME",
"value": "e"
},
{
"context": "\"\n (dosync\n (alter @game kill-player \"Thor\" \... | hunt_the_wumpus/spec/hunt_the_wumpus/model/game_spec.clj | trptcolin/clojureslim | 5 | (ns hunt-the-wumpus.model.game-spec
(:use
[speclj.core]
[hunt-the-wumpus.model.game]
[hunt-the-wumpus.model.report :only (hazard-report player-report item-report game-over-report)]
[hunt-the-wumpus.model.item :only (items-of items-in place-item)]
[hunt-the-wumpus.model.player :only (place-player k... | 36224 | (ns hunt-the-wumpus.model.game-spec
(:use
[speclj.core]
[hunt-the-wumpus.model.game]
[hunt-the-wumpus.model.report :only (hazard-report player-report item-report game-over-report)]
[hunt-the-wumpus.model.item :only (items-of items-in place-item)]
[hunt-the-wumpus.model.player :only (place-player k... | true | (ns hunt-the-wumpus.model.game-spec
(:use
[speclj.core]
[hunt-the-wumpus.model.game]
[hunt-the-wumpus.model.report :only (hazard-report player-report item-report game-over-report)]
[hunt-the-wumpus.model.item :only (items-of items-in place-item)]
[hunt-the-wumpus.model.player :only (place-player k... |
[
{
"context": "cription \"Timetracker\"\n :url \"https://github.com/lshift/timetracker-web\"\n :license {:name \"Proprietary\"}",
"end": 95,
"score": 0.999455451965332,
"start": 89,
"tag": "USERNAME",
"value": "lshift"
},
{
"context": "act-with-addons \"15.2.1-0\"]\n ... | project.clj | lshift/timetracker | 0 | (defproject time-tracker "1.0.0"
:description "Timetracker"
:url "https://github.com/lshift/timetracker-web"
:license {:name "Proprietary"}
:min-lein-version "2.0.0"
;; Note to developer. Please keep these sorted in alphabetical order.
:dependencies [[ch.qos.logback/logback-classic "1.1.6"]
... | 51456 | (defproject time-tracker "1.0.0"
:description "Timetracker"
:url "https://github.com/lshift/timetracker-web"
:license {:name "Proprietary"}
:min-lein-version "2.0.0"
;; Note to developer. Please keep these sorted in alphabetical order.
:dependencies [[ch.qos.logback/logback-classic "1.1.6"]
... | true | (defproject time-tracker "1.0.0"
:description "Timetracker"
:url "https://github.com/lshift/timetracker-web"
:license {:name "Proprietary"}
:min-lein-version "2.0.0"
;; Note to developer. Please keep these sorted in alphabetical order.
:dependencies [[ch.qos.logback/logback-classic "1.1.6"]
... |
[
{
"context": " (if username\n [id (assoc settings :username username :password password)]\n [id settings])))\n\n(def",
"end": 1122,
"score": 0.5443965792655945,
"start": 1114,
"tag": "USERNAME",
"value": "username"
},
{
"context": " password (.readPassword (System/co... | test/conflicts/mined/leiningen-0e132292b715c0f59fe22f5556025ab6183655da-153eda65b7f8be8e0744d1cdc65ca227f03eff3/B.clj | nazrhom/vcs-clojure | 3 | (ns leiningen.deploy
"Build and deploy jar to remote repository."
(:require [cemerick.pomegranate.aether :as aether]
[leiningen.core.classpath :as classpath]
[leiningen.core.main :as main]
[leiningen.core.eval :as eval]
[leiningen.core.user :as user]
[lein... | 108872 | (ns leiningen.deploy
"Build and deploy jar to remote repository."
(:require [cemerick.pomegranate.aether :as aether]
[leiningen.core.classpath :as classpath]
[leiningen.core.main :as main]
[leiningen.core.eval :as eval]
[leiningen.core.user :as user]
[lein... | true | (ns leiningen.deploy
"Build and deploy jar to remote repository."
(:require [cemerick.pomegranate.aether :as aether]
[leiningen.core.classpath :as classpath]
[leiningen.core.main :as main]
[leiningen.core.eval :as eval]
[leiningen.core.user :as user]
[lein... |
[
{
"context": "03-12-13T18:30:02Z</updated>\n <author>\n <name>John Doe</name>\n </author>\n <id>urn:uuid:60a76c80-d399-1",
"end": 1480,
"score": 0.9997835755348206,
"start": 1472,
"tag": "NAME",
"value": "John Doe"
}
] | clj-rome/test/clj_rome/parser_test.clj | mmcgrana/clj-garden | 8 | (ns clj-rome.parser-test
(:use clj-unit.core
clj-rome.parser)
(:import (java.io ByteArrayInputStream)))
(def +rss-example-str+
"<?xml version=\"1.0\"?>
<rss version=\"2.0\">
<channel>
<title>Example Channel</title>
<link>http://example.com/</link>
<description>My example channel</description>... | 74155 | (ns clj-rome.parser-test
(:use clj-unit.core
clj-rome.parser)
(:import (java.io ByteArrayInputStream)))
(def +rss-example-str+
"<?xml version=\"1.0\"?>
<rss version=\"2.0\">
<channel>
<title>Example Channel</title>
<link>http://example.com/</link>
<description>My example channel</description>... | true | (ns clj-rome.parser-test
(:use clj-unit.core
clj-rome.parser)
(:import (java.io ByteArrayInputStream)))
(def +rss-example-str+
"<?xml version=\"1.0\"?>
<rss version=\"2.0\">
<channel>
<title>Example Channel</title>
<link>http://example.com/</link>
<description>My example channel</description>... |
[
{
"context": "e]\n (let [data [{:id 1000\n :name \"Luke\"\n :home_planet \"Tatooine\"\n ",
"end": 1136,
"score": 0.9991436004638672,
"start": 1132,
"tag": "NAME",
"value": "Luke"
},
{
"context": "\"]}\n {:id 2000\n :nam... | resources/leiningen/new/luminus/graphql/src/services.clj | spradnyesh/luminus-template | 0 | (ns <<project-ns>>.routes.services
(:require [com.walmartlabs.lacinia.util :refer [attach-resolvers]]
[com.walmartlabs.lacinia.schema :as schema]
[com.walmartlabs.lacinia :as lacinia]
[clojure.data.json :as json]
[clojure.edn :as edn]
[ring.util.http-respons... | 45501 | (ns <<project-ns>>.routes.services
(:require [com.walmartlabs.lacinia.util :refer [attach-resolvers]]
[com.walmartlabs.lacinia.schema :as schema]
[com.walmartlabs.lacinia :as lacinia]
[clojure.data.json :as json]
[clojure.edn :as edn]
[ring.util.http-respons... | true | (ns <<project-ns>>.routes.services
(:require [com.walmartlabs.lacinia.util :refer [attach-resolvers]]
[com.walmartlabs.lacinia.schema :as schema]
[com.walmartlabs.lacinia :as lacinia]
[clojure.data.json :as json]
[clojure.edn :as edn]
[ring.util.http-respons... |
[
{
"context": "\n \n {:doc \"fix reduce latex output\"\n :author \"palisades dot lakes at gmail dot com\"\n :version \"2018-10-29\"}\n \n (:require [clojur",
"end": 307,
"score": 0.9641649723052979,
"start": 271,
"tag": "EMAIL",
"value": "palisades dot lakes at gmail dot com"
}
] | src/scripts/clojure/sicpplus/scripts/reduce.clj | palisades-lakes/sicpplus | 0 | ;; clj src/scripts/clojure/sicpplus/scripts/reduce.clj
(set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns sicpplus.scripts.reduce
{:doc "fix reduce latex output"
:author "palisades dot lakes at gmail dot com"
:version... | 12877 | ;; clj src/scripts/clojure/sicpplus/scripts/reduce.clj
(set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns sicpplus.scripts.reduce
{:doc "fix reduce latex output"
:author "<EMAIL>"
:version "2018-10-29"}
(:require... | true | ;; clj src/scripts/clojure/sicpplus/scripts/reduce.clj
(set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns sicpplus.scripts.reduce
{:doc "fix reduce latex output"
:author "PI:EMAIL:<EMAIL>END_PI"
:version "2018-10-29"}... |
[
{
"context": "(ns cs253.GPproject)\n\n;; Keith Denning and Rajwol Joshi\n\n;; Initialization\n\n(defn rand-f",
"end": 38,
"score": 0.9998583793640137,
"start": 25,
"tag": "NAME",
"value": "Keith Denning"
},
{
"context": "(ns cs253.GPproject)\n\n;; Keith Denning and Rajwol Joshi\n\n;;... | GP-Project/GPproject.clj | denningk/cs253Project | 1 | (ns cs253.GPproject)
;; Keith Denning and Rajwol Joshi
;; Initialization
(defn rand-frontier-tree
"This function generates a random subtree with one function
and its arguments."
[terminal-set function-set]
(list (rand-nth function-set) (rand-nth terminal-set) (rand-nth terminal-set)))
(defn rand-terminal
... | 42835 | (ns cs253.GPproject)
;; <NAME> and <NAME>
;; Initialization
(defn rand-frontier-tree
"This function generates a random subtree with one function
and its arguments."
[terminal-set function-set]
(list (rand-nth function-set) (rand-nth terminal-set) (rand-nth terminal-set)))
(defn rand-terminal
"This functio... | true | (ns cs253.GPproject)
;; PI:NAME:<NAME>END_PI and PI:NAME:<NAME>END_PI
;; Initialization
(defn rand-frontier-tree
"This function generates a random subtree with one function
and its arguments."
[terminal-set function-set]
(list (rand-nth function-set) (rand-nth terminal-set) (rand-nth terminal-set)))
(defn r... |
[
{
"context": "#(/ % 3) [1 2 3])))\n\n(def stooges [\"Moe\" \"Larry\" \"Curly\" \"Shemp\"])\n(first stooges) ; -> \"Moe\"\n(second s",
"end": 1232,
"score": 0.5765084624290466,
"start": 1229,
"tag": "NAME",
"value": "Cur"
},
{
"context": "(first stooges) ; -> \"Moe\"\n(second stooges)... | src/main/scripts/basic.clj | johnnywale/clojure-learning | 0 | (in-ns 'user)
(defn hello [name]
(println "hello" name))
(hello "dfaf")
(def vowel? (set "aeiou"))
(defn pig-latin [word]
(let [first-letter (first word)]
(if (vowel? first-letter)
(str word "ay")
(str (subs word 1) first-letter "ay")
))
)
(println (pig-latin "red"))
(println (pig-lat... | 65727 | (in-ns 'user)
(defn hello [name]
(println "hello" name))
(hello "dfaf")
(def vowel? (set "aeiou"))
(defn pig-latin [word]
(let [first-letter (first word)]
(if (vowel? first-letter)
(str word "ay")
(str (subs word 1) first-letter "ay")
))
)
(println (pig-latin "red"))
(println (pig-lat... | true | (in-ns 'user)
(defn hello [name]
(println "hello" name))
(hello "dfaf")
(def vowel? (set "aeiou"))
(defn pig-latin [word]
(let [first-letter (first word)]
(if (vowel? first-letter)
(str word "ay")
(str (subs word 1) first-letter "ay")
))
)
(println (pig-latin "red"))
(println (pig-lat... |
[
{
"context": ":authorize-url \"https://login.microsoftonline.com/60c86d26-b84a-4f67-b697-ce6ed68d1552/oauth2/v2.0/au",
"end": 427,
"score": 0.47527411580085754,
"start": 426,
"tag": "KEY",
"value": "6"
},
{
"context": "authorize-url \"https://login.microsoftonline.com/60c86d26-b84a-4... | src/app/domain/settings.cljc | Cukac/shadow-electron-starter | 0 | (ns app.domain.settings
#?(:cljs (:require-macros [app.domain.settings :refer [env-var]])))
#?(:clj
(defmacro env-var [env-var-name]
(System/getenv env-var-name)))
(def backend-endpoint (env-var "BACKEND_URL"))
(def jwt-ls-name "als-education-jwt")
(def ad-id-token-ls-name "ad-id-token")
(def ad-access-to... | 86 | (ns app.domain.settings
#?(:cljs (:require-macros [app.domain.settings :refer [env-var]])))
#?(:clj
(defmacro env-var [env-var-name]
(System/getenv env-var-name)))
(def backend-endpoint (env-var "BACKEND_URL"))
(def jwt-ls-name "als-education-jwt")
(def ad-id-token-ls-name "ad-id-token")
(def ad-access-to... | true | (ns app.domain.settings
#?(:cljs (:require-macros [app.domain.settings :refer [env-var]])))
#?(:clj
(defmacro env-var [env-var-name]
(System/getenv env-var-name)))
(def backend-endpoint (env-var "BACKEND_URL"))
(def jwt-ls-name "als-education-jwt")
(def ad-id-token-ls-name "ad-id-token")
(def ad-access-to... |
[
{
"context": ";;\n;;\n;; Copyright 2013-2015 Netflix, Inc.\n;;\n;; Licensed under the Apache Lic",
"end": 33,
"score": 0.9699524641036987,
"start": 30,
"tag": "NAME",
"value": "Net"
}
] | pigpen-core/src/main/clojure/pigpen/runtime.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 ... | 75054 | ;;
;;
;; 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": "est namespacefy-map\n (is (= (namespacefy {:name \"Seppo\" :id 1}\n {:ns :product.domai",
"end": 661,
"score": 0.995566189289093,
"start": 656,
"tag": "NAME",
"value": "Seppo"
},
{
"context": "n.person})\n {:product.domain.person/name \"Sep... | test/namespacefy/core_test.clj | Jarzka/namespacefy | 18 | (ns namespacefy.core-test
(:require
[clojure.test :refer :all]
[namespacefy.core :refer [namespacefy unnamespacefy
get-un assoc-un]]))
; Namespacefy
(deftest namespacefy-keyword
(is (= (namespacefy :address {:ns :product.domain}) :product.domain/address))
(is (= (namespacef... | 67440 | (ns namespacefy.core-test
(:require
[clojure.test :refer :all]
[namespacefy.core :refer [namespacefy unnamespacefy
get-un assoc-un]]))
; Namespacefy
(deftest namespacefy-keyword
(is (= (namespacefy :address {:ns :product.domain}) :product.domain/address))
(is (= (namespacef... | true | (ns namespacefy.core-test
(:require
[clojure.test :refer :all]
[namespacefy.core :refer [namespacefy unnamespacefy
get-un assoc-un]]))
; Namespacefy
(deftest namespacefy-keyword
(is (= (namespacefy :address {:ns :product.domain}) :product.domain/address))
(is (= (namespacef... |
[
{
"context": "name card))))\n\n;; <languagelist>\n;; <card name=\"Goblin Arsonist\">\n;; <set code=\"APC\">\n;; <name></name>\n",
"end": 2318,
"score": 0.9998757839202881,
"start": 2303,
"tag": "NAME",
"value": "Goblin Arsonist"
}
] | src/loa/format/language_xml.clj | karmag/loa | 4 | (ns loa.format.language-xml
(:use (loa.util (xml :only (tag tag-attr)))))
(defn- language->xml [set-name lang-data]
(tag-attr :set
{:name set-name}
(when (:name lang-data)
(tag :name (:name lang-data)))
(when (:typelist lang-data)
(tag :type (:typelis... | 110371 | (ns loa.format.language-xml
(:use (loa.util (xml :only (tag tag-attr)))))
(defn- language->xml [set-name lang-data]
(tag-attr :set
{:name set-name}
(when (:name lang-data)
(tag :name (:name lang-data)))
(when (:typelist lang-data)
(tag :type (:typelis... | true | (ns loa.format.language-xml
(:use (loa.util (xml :only (tag tag-attr)))))
(defn- language->xml [set-name lang-data]
(tag-attr :set
{:name set-name}
(when (:name lang-data)
(tag :name (:name lang-data)))
(when (:typelist lang-data)
(tag :type (:typelis... |
[
{
"context": ";\n;; },\n\n\n ;; [^{:type String, :default \"Jones\", :notify false, :read-only true, :attrsync true}",
"end": 4910,
"score": 0.9986749887466431,
"start": 4905,
"tag": "NAME",
"value": "Jones"
},
{
"context": "r doc string here\"\n [^{:type String, :default... | testx/miraj.clj | mobileink/-polymirage | 17 | (ns test.miraj
(:require [miraj.core :refer :all]
[miraj.html :as h :refer :all]
[hiccup.page :refer [html5]]
[clojure.tools.logging :as log :only [trace debug error info]]
[clojure.pprint :as pp]
[clojure.tools.reader :as reader]
[clojure.tools.... | 103269 | (ns test.miraj
(:require [miraj.core :refer :all]
[miraj.html :as h :refer :all]
[hiccup.page :refer [html5]]
[clojure.tools.logging :as log :only [trace debug error info]]
[clojure.pprint :as pp]
[clojure.tools.reader :as reader]
[clojure.tools.... | true | (ns test.miraj
(:require [miraj.core :refer :all]
[miraj.html :as h :refer :all]
[hiccup.page :refer [html5]]
[clojure.tools.logging :as log :only [trace debug error info]]
[clojure.pprint :as pp]
[clojure.tools.reader :as reader]
[clojure.tools.... |
[
{
"context": "rrible multiplicity of possible\n;; configurations. Tom White, in the wonderful [Hadoop: The Definitive\n;; Guid",
"end": 2601,
"score": 0.9892014265060425,
"start": 2592,
"tag": "NAME",
"value": "Tom White"
},
{
"context": "://goo.gl/Bh4zU) page... I have to\n;; say, t... | src/pallet/crate/hadoop.clj | solackerman/hadoop-crate | 0 | ;; Licensed to the Apache Software Foundation (ASF) under one or more
;; contributor license agreements. See the NOTICE file distributed
;; with this work for additional information regarding copyright
;; ownership. The ASF licenses this file to you under the Apache
;; License, Version 2.0 (the "License"); you may no... | 116625 | ;; Licensed to the Apache Software Foundation (ASF) under one or more
;; contributor license agreements. See the NOTICE file distributed
;; with this work for additional information regarding copyright
;; ownership. The ASF licenses this file to you under the Apache
;; License, Version 2.0 (the "License"); you may no... | true | ;; Licensed to the Apache Software Foundation (ASF) under one or more
;; contributor license agreements. See the NOTICE file distributed
;; with this work for additional information regarding copyright
;; ownership. The ASF licenses this file to you under the Apache
;; License, Version 2.0 (the "License"); you may no... |
[
{
"context": "ence 2))\n(println (average 1 3))\n(println (greet \"Bob\"))\n(println (s2dhms 90061))\n(println (dhms2s 1 1 ",
"end": 501,
"score": 0.9880030155181885,
"start": 498,
"tag": "NAME",
"value": "Bob"
}
] | COMP1005/t1/t1.clj | hansolo669/Class | 0 | (ns t1)
(defn -main [& args])
(defn kilometers2miles [d] (* d 0.62137))
(defn circumference [r] (* (* 2 3.1415) r))
(defn average [x y] (/ (+ x y) 2))
(defn greet [name] (str "Hi, " name))
(defn s2dhms [t] [ (int (/ (/ (/ t 60) 60) 24)) (int (mod (/ (/ t 60) 60) 24)) (int (mod (/ t 60) 60)) (int (mod t 60)) ])
(... | 7478 | (ns t1)
(defn -main [& args])
(defn kilometers2miles [d] (* d 0.62137))
(defn circumference [r] (* (* 2 3.1415) r))
(defn average [x y] (/ (+ x y) 2))
(defn greet [name] (str "Hi, " name))
(defn s2dhms [t] [ (int (/ (/ (/ t 60) 60) 24)) (int (mod (/ (/ t 60) 60) 24)) (int (mod (/ t 60) 60)) (int (mod t 60)) ])
(... | true | (ns t1)
(defn -main [& args])
(defn kilometers2miles [d] (* d 0.62137))
(defn circumference [r] (* (* 2 3.1415) r))
(defn average [x y] (/ (+ x y) 2))
(defn greet [name] (str "Hi, " name))
(defn s2dhms [t] [ (int (/ (/ (/ t 60) 60) 24)) (int (mod (/ (/ t 60) 60) 24)) (int (mod (/ t 60) 60)) (int (mod t 60)) ])
(... |
[
{
"context": "; Copyright 2016 David O'Meara\n;\n; Licensed under the Apache License, Version 2.",
"end": 30,
"score": 0.9998534321784973,
"start": 17,
"tag": "NAME",
"value": "David O'Meara"
}
] | src-cljs/ui/coordination.cljs | davidomeara/fnedit | 0 | ; Copyright 2016 David O'Meara
;
; 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, so... | 113449 | ; Copyright 2016 <NAME>
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writing, software
... | true | ; Copyright 2016 PI:NAME:<NAME>END_PI
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writ... |
[
{
"context": "[service-id service-context]]\n [robert.hooke :as rh]\n [slingshot.slingshot :refer [",
"end": 3133,
"score": 0.5941591858863831,
"start": 3128,
"tag": "NAME",
"value": "hooke"
}
] | src/puppetlabs/puppetdb/cli/services.clj | grimradical/puppetdb | 0 | (ns puppetlabs.puppetdb.cli.services
"Main entrypoint
PuppetDB consists of several, cooperating components:
* Command processing
PuppetDB uses a CQRS pattern for making changes to its domain
objects (facts, catalogs, etc). Instead of simply submitting data
to PuppetDB and having it figure out ... | 71718 | (ns puppetlabs.puppetdb.cli.services
"Main entrypoint
PuppetDB consists of several, cooperating components:
* Command processing
PuppetDB uses a CQRS pattern for making changes to its domain
objects (facts, catalogs, etc). Instead of simply submitting data
to PuppetDB and having it figure out ... | true | (ns puppetlabs.puppetdb.cli.services
"Main entrypoint
PuppetDB consists of several, cooperating components:
* Command processing
PuppetDB uses a CQRS pattern for making changes to its domain
objects (facts, catalogs, etc). Instead of simply submitting data
to PuppetDB and having it figure out ... |
[
{
"context": "{}\n\n \"0\"\n \"nic\"\n \"zero\"\n (number 0)\n\n \"1\"\n \"jeden\"\n \"pojedynczy\"\n (number 1)\n\n \"2\"\n \"dwa\"\n \"pa",
"end": 75,
"score": 0.6830440759658813,
"start": 70,
"tag": "NAME",
"value": "jeden"
},
{
"context": "\"nic\"\n \"zero\"\n (numbe... | resources/languages/pl/corpus/numbers.clj | guivn/duckling | 922 | (
; Context map
{}
"0"
"nic"
"zero"
(number 0)
"1"
"jeden"
"pojedynczy"
(number 1)
"2"
"dwa"
"para"
(number 2)
"33"
"trzydzieści trzy"
"0033"
(number 33)
"14"
"czternaście"
(number 14)
"16"
"szesnaście"
(number 16)
"17"
"siedemnaście"
(number 17)
"18"
"o... | 64445 | (
; Context map
{}
"0"
"nic"
"zero"
(number 0)
"1"
"<NAME>"
"po<NAME>zy"
(number 1)
"2"
"dwa"
"para"
(number 2)
"33"
"trzydzieści trzy"
"0033"
(number 33)
"14"
"cz<NAME>ście"
(number 14)
"16"
"<NAME>"
(number 16)
"17"
"<NAME>"
(number 17)
"18"
"os<NAME>"... | true | (
; Context map
{}
"0"
"nic"
"zero"
(number 0)
"1"
"PI:NAME:<NAME>END_PI"
"poPI:NAME:<NAME>END_PIzy"
(number 1)
"2"
"dwa"
"para"
(number 2)
"33"
"trzydzieści trzy"
"0033"
(number 33)
"14"
"czPI:NAME:<NAME>END_PIście"
(number 14)
"16"
"PI:NAME:<NAME>END_PI"
(number 1... |
[
{
"context": ":as str]))\n\n(def welcome-help\n (str \"🤖 WELCOME TO DISTRAN HUMAN 🤖\\n\"\n \"* I organize breakfast for every Mon",
"end": 381,
"score": 0.6581488847732544,
"start": 368,
"tag": "NAME",
"value": "DISTRAN HUMAN"
},
{
"context": " \"Study the code on [Github]... | src/breakfastbot/handlers/common.clj | studer-l/breakfastbot | 0 | (ns breakfastbot.handlers.common
(:require [breakfastbot.date-utils :refer [next-monday]]
[breakfastbot.markdown :as md]
[clojure.tools.logging :refer [info debug]]
[breakfastbot.handlers.eliza :refer [get-eliza-reply]]
[java-time :as jt]
[clojure.string :as... | 44448 | (ns breakfastbot.handlers.common
(:require [breakfastbot.date-utils :refer [next-monday]]
[breakfastbot.markdown :as md]
[clojure.tools.logging :refer [info debug]]
[breakfastbot.handlers.eliza :refer [get-eliza-reply]]
[java-time :as jt]
[clojure.string :as... | true | (ns breakfastbot.handlers.common
(:require [breakfastbot.date-utils :refer [next-monday]]
[breakfastbot.markdown :as md]
[clojure.tools.logging :refer [info debug]]
[breakfastbot.handlers.eliza :refer [get-eliza-reply]]
[java-time :as jt]
[clojure.string :as... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.