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": "\"//localhost:5432/shorturl\"\n :user \"shorturl\"\n :password \"shorturl\"})\n\n(defn fin",
"end": 180,
"score": 0.6441068053245544,
"start": 172,
"tag": "USERNAME",
"value": "shorturl"
},
{
"context": " :user \"shorturl\"\n ... | src/shorturl/db.clj | pbalduino/shorturl | 1 | (ns shorturl.db
(:require [clojure.java.jdbc :as j]))
(defonce conn {:subprotocol "postgresql"
:subname "//localhost:5432/shorturl"
:user "shorturl"
:password "shorturl"})
(defn find-by-id [id]
(j/with-db-connection [conn conn]
(some-> conn
(j/query... | 12073 | (ns shorturl.db
(:require [clojure.java.jdbc :as j]))
(defonce conn {:subprotocol "postgresql"
:subname "//localhost:5432/shorturl"
:user "shorturl"
:password "<PASSWORD>"})
(defn find-by-id [id]
(j/with-db-connection [conn conn]
(some-> conn
(j/que... | true | (ns shorturl.db
(:require [clojure.java.jdbc :as j]))
(defonce conn {:subprotocol "postgresql"
:subname "//localhost:5432/shorturl"
:user "shorturl"
:password "PI:PASSWORD:<PASSWORD>END_PI"})
(defn find-by-id [id]
(j/with-db-connection [conn conn]
(some-> conn
... |
[
{
"context": " \"http://localhost:\" (:port @test-env))}) {:name \"Jane Doe\"})]\n (is (= \"Hello, Jane Doe\" (:message resp",
"end": 2200,
"score": 0.9995622634887695,
"start": 2192,
"tag": "NAME",
"value": "Jane Doe"
},
{
"context": "-env))}) {:name \"Jane Doe\"})]\n (is ... | examples/hello/test/hello/core_test.clj | ghaskins/protojure-protoc-plugin | 28 | (ns hello.core-test
(:require [clojure.test :refer :all]
[clojure.pprint :refer [pprint]]
[io.pedestal.test :refer :all]
[io.pedestal.http :as bootstrap]
[hello.service :as service]
[hello.test.utils :as test.utils]
[protojure.pedestal.core :as p... | 61968 | (ns hello.core-test
(:require [clojure.test :refer :all]
[clojure.pprint :refer [pprint]]
[io.pedestal.test :refer :all]
[io.pedestal.http :as bootstrap]
[hello.service :as service]
[hello.test.utils :as test.utils]
[protojure.pedestal.core :as p... | true | (ns hello.core-test
(:require [clojure.test :refer :all]
[clojure.pprint :refer [pprint]]
[io.pedestal.test :refer :all]
[io.pedestal.http :as bootstrap]
[hello.service :as service]
[hello.test.utils :as test.utils]
[protojure.pedestal.core :as p... |
[
{
"context": "odel.session/log-in\n {::account/username username\n ::account/password password\n ",
"end": 5654,
"score": 0.5903723835945129,
"start": 5646,
"tag": "USERNAME",
"value": "username"
},
{
"context": "/username username\n ::account/... | src/main/violit/model/session.cljs | eoogbe/violit-clj | 0 | ;;; Copyright 2022 Google LLC
;;; Licensed under the Apache License, Version 2.0 (the "License");
;;; you may not use this file except in compliance with the License.
;;; You may obtain a copy of the License at
;;;
;;; http://www.apache.org/licenses/LICENSE-2.0
;;;
;;; Unless required by applicable law or agreed ... | 674 | ;;; Copyright 2022 Google LLC
;;; Licensed under the Apache License, Version 2.0 (the "License");
;;; you may not use this file except in compliance with the License.
;;; You may obtain a copy of the License at
;;;
;;; http://www.apache.org/licenses/LICENSE-2.0
;;;
;;; Unless required by applicable law or agreed ... | true | ;;; Copyright 2022 Google LLC
;;; Licensed under the Apache License, Version 2.0 (the "License");
;;; you may not use this file except in compliance with the License.
;;; You may obtain a copy of the License at
;;;
;;; http://www.apache.org/licenses/LICENSE-2.0
;;;
;;; Unless required by applicable law or agreed ... |
[
{
"context": "(ns ^{:author \"Leeor Engel\"}\n chapter-3.chapter-3-q5\n (:require [data-stru",
"end": 26,
"score": 0.9998924136161804,
"start": 15,
"tag": "NAME",
"value": "Leeor Engel"
}
] | Clojure/src/chapter_3/chapter_3_q5.clj | Kiandr/crackingcodinginterview | 0 | (ns ^{:author "Leeor Engel"}
chapter-3.chapter-3-q5
(:require [data-structures.stack :refer :all]
[data-structures.persistent-stack :refer :all]))
(defn- insert-in-sorted-position [x s t]
(loop [new-s s
new-t t]
(if (and (not (stack-empty? new-t)) (> x (stack-peek new-t)))
(recur (... | 75786 | (ns ^{:author "<NAME>"}
chapter-3.chapter-3-q5
(:require [data-structures.stack :refer :all]
[data-structures.persistent-stack :refer :all]))
(defn- insert-in-sorted-position [x s t]
(loop [new-s s
new-t t]
(if (and (not (stack-empty? new-t)) (> x (stack-peek new-t)))
(recur (stack... | true | (ns ^{:author "PI:NAME:<NAME>END_PI"}
chapter-3.chapter-3-q5
(:require [data-structures.stack :refer :all]
[data-structures.persistent-stack :refer :all]))
(defn- insert-in-sorted-position [x s t]
(loop [new-s s
new-t t]
(if (and (not (stack-empty? new-t)) (> x (stack-peek new-t)))
... |
[
{
"context": "rnative multimethod implementations.\"\n {:author \"palisades dot lakes at gmail dot com\"\n :since \"2017-09-18\"\n :version \"2017-09-18\"}",
"end": 291,
"score": 0.9493078589439392,
"start": 255,
"tag": "EMAIL",
"value": "palisades dot lakes at gmail dot com"
}
] | src/scripts/clojure/palisades/lakes/multix/contains/msec.clj | palisades-lakes/multimethod-experiments | 5 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns palisades.lakes.multix.contains.msec
"Use criterium for alternative multimethod implementations."
{:author "palisades dot lakes at gmail dot com"
:since "2017-09-18"
:... | 45783 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns palisades.lakes.multix.contains.msec
"Use criterium for alternative multimethod implementations."
{:author "<EMAIL>"
:since "2017-09-18"
:version "2017-09-18"}
(:req... | true | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns palisades.lakes.multix.contains.msec
"Use criterium for alternative multimethod implementations."
{:author "PI:EMAIL:<EMAIL>END_PI"
:since "2017-09-18"
:version "2017-... |
[
{
"context": "andomUUID))\n \"command\" \"hello world\"\n \"name\" \"my-cool-job\"\n \"priority\" 66\n \"max_retries\" 100\n \"cpus\" ",
"end": 3108,
"score": 0.9797587394714355,
"start": 3097,
"tag": "USERNAME",
"value": "my-cool-job"
},
{
"context": "n\"}\n ... | scheduler/test/cook/test/mesos/api.clj | yueri/Cook | 0 | ;;
;; Copyright (c) Two Sigma Open Source, LLC
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or... | 121440 | ;;
;; Copyright (c) Two Sigma Open Source, LLC
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or... | true | ;;
;; Copyright (c) Two Sigma Open Source, LLC
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or... |
[
{
"context": " true\n :user \"camsaul\"\n :sslmode \"disa",
"end": 2800,
"score": 0.9996207356452942,
"start": 2793,
"tag": "USERNAME",
"value": "camsaul"
},
{
"context": " :dbname \"bird_sightings\"\n ... | c#-metabase/test/metabase/driver/postgres_test.clj | hanakhry/Crime_Admin | 0 | (ns metabase.driver.postgres-test
"Tests for features/capabilities specific to PostgreSQL driver, such as support for Postgres UUID or enum types."
(:require [clojure.java.jdbc :as jdbc]
[clojure.string :as str]
[clojure.test :refer :all]
[honeysql.core :as hsql]
[met... | 56610 | (ns metabase.driver.postgres-test
"Tests for features/capabilities specific to PostgreSQL driver, such as support for Postgres UUID or enum types."
(:require [clojure.java.jdbc :as jdbc]
[clojure.string :as str]
[clojure.test :refer :all]
[honeysql.core :as hsql]
[met... | true | (ns metabase.driver.postgres-test
"Tests for features/capabilities specific to PostgreSQL driver, such as support for Postgres UUID or enum types."
(:require [clojure.java.jdbc :as jdbc]
[clojure.string :as str]
[clojure.test :refer :all]
[honeysql.core :as hsql]
[met... |
[
{
"context": "p://schema.org/BlogPosting\"}\n [:meta {:content \"David Schmudde\", :itemprop \"author\"}]\n [:h1 {:id \"our-collecti",
"end": 155,
"score": 0.999882698059082,
"start": 141,
"tag": "NAME",
"value": "David Schmudde"
}
] | src/artists.clj | schmudde/netart.today | 1 | (ns artists)
(defn artists-page [root]
[:article {:itemscope "itemscope", :itemtype "http://schema.org/BlogPosting"}
[:meta {:content "David Schmudde", :itemprop "author"}]
[:h1 {:id "our-collection"}
"Our Collection"]
])
| 114615 | (ns artists)
(defn artists-page [root]
[:article {:itemscope "itemscope", :itemtype "http://schema.org/BlogPosting"}
[:meta {:content "<NAME>", :itemprop "author"}]
[:h1 {:id "our-collection"}
"Our Collection"]
])
| true | (ns artists)
(defn artists-page [root]
[:article {:itemscope "itemscope", :itemtype "http://schema.org/BlogPosting"}
[:meta {:content "PI:NAME:<NAME>END_PI", :itemprop "author"}]
[:h1 {:id "our-collection"}
"Our Collection"]
])
|
[
{
"context": "hole1 \"hole2\" hole2})\n\n(comment\n (printer :name \"Joey\" :scores [42 18]))\n",
"end": 1069,
"score": 0.9987573623657227,
"start": 1065,
"tag": "NAME",
"value": "Joey"
}
] | src/functions/core.cljc | priyatam/thinking-clojurescript | 4 | (ns ^{:doc "All about functions and their scope"}
functions.core)
;; Apply: the ultimate function!
(apply str ["hello" " " "world"])
(max 1 2 3)
(apply max [1 2 3])
(map (partial apply +) [[1 2] [3 4]])
;; Regular Functions
(defn foo [str]
(println "hello " str))
(def foo (fn [] true))
;; Multi Arity
(... | 85179 | (ns ^{:doc "All about functions and their scope"}
functions.core)
;; Apply: the ultimate function!
(apply str ["hello" " " "world"])
(max 1 2 3)
(apply max [1 2 3])
(map (partial apply +) [[1 2] [3 4]])
;; Regular Functions
(defn foo [str]
(println "hello " str))
(def foo (fn [] true))
;; Multi Arity
(... | true | (ns ^{:doc "All about functions and their scope"}
functions.core)
;; Apply: the ultimate function!
(apply str ["hello" " " "world"])
(max 1 2 3)
(apply max [1 2 3])
(map (partial apply +) [[1 2] [3 4]])
;; Regular Functions
(defn foo [str]
(println "hello " str))
(def foo (fn [] true))
;; Multi Arity
(... |
[
{
"context": ";;\n;;\n;; Copyright 2013 Netflix, Inc.\n;;\n;; Licensed under the Apache Lic",
"end": 28,
"score": 0.8387075066566467,
"start": 25,
"tag": "NAME",
"value": "Net"
}
] | src/test/clojure/pigpen/fold_test.clj | magomimmo/PigPen | 1 | ;;
;;
;; Copyright 2013 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 by ap... | 55377 | ;;
;;
;; Copyright 2013 <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 required by... | true | ;;
;;
;; Copyright 2013 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
;;
;; Unle... |
[
{
"context": "IsLoggedIn true)\n (setEnvEmail \"dev@example.org\")\n ;; (setEnvVersionId \"0.1.0\")",
"end": 841,
"score": 0.9999250173568726,
"start": 826,
"tag": "EMAIL",
"value": "dev@example.org"
},
{
"context": " (is (= true (gae/gaeUserLogged... | env/test/org/mobileink/migae/env_test.clj | mobileink/migae | 0 | (ns org.mobileink.migae.env-test
; (:refer-clojure :exclude (contains? get))
(:import [com.google.appengine.tools.development.testing
LocalServiceTestHelper
LocalServiceTestConfig
LocalUserServiceTestConfig])
(:use clojure.test
[org.mobileink.migae.env :as gae]))
;; (:... | 123378 | (ns org.mobileink.migae.env-test
; (:refer-clojure :exclude (contains? get))
(:import [com.google.appengine.tools.development.testing
LocalServiceTestHelper
LocalServiceTestConfig
LocalUserServiceTestConfig])
(:use clojure.test
[org.mobileink.migae.env :as gae]))
;; (:... | true | (ns org.mobileink.migae.env-test
; (:refer-clojure :exclude (contains? get))
(:import [com.google.appengine.tools.development.testing
LocalServiceTestHelper
LocalServiceTestConfig
LocalUserServiceTestConfig])
(:use clojure.test
[org.mobileink.migae.env :as gae]))
;; (:... |
[
{
"context": " \"User-Agent\" \"CrossRefDOICheckerBot (labs@crossref.org)\"}}))\n _ (locking *out* (prn \"-> \" doi))",
"end": 3352,
"score": 0.9998906254768372,
"start": 3335,
"tag": "EMAIL",
"value": "labs@crossref.org"
}
] | src/member_domains/core.clj | CrossRef/member-domains | 0 | (ns member-domains.core
(:require [member-domains.state :as state]
[member-domains.db :as db]
[member-domains.etld :as etld]
[member-domains.gcs :as gcs]
[member-domains.lookup :as lookup]
[member-domains.server :as server])
(:require [crossref.util.doi :a... | 55557 | (ns member-domains.core
(:require [member-domains.state :as state]
[member-domains.db :as db]
[member-domains.etld :as etld]
[member-domains.gcs :as gcs]
[member-domains.lookup :as lookup]
[member-domains.server :as server])
(:require [crossref.util.doi :a... | true | (ns member-domains.core
(:require [member-domains.state :as state]
[member-domains.db :as db]
[member-domains.etld :as etld]
[member-domains.gcs :as gcs]
[member-domains.lookup :as lookup]
[member-domains.server :as server])
(:require [crossref.util.doi :a... |
[
{
"context": "e-data-tx (d/transact conn {:tx-data [{:inv/name \"adam\"\n ",
"end": 873,
"score": 0.9228768348693848,
"start": 869,
"tag": "NAME",
"value": "adam"
},
{
"context": " {:inv/name \"david\... | src/datomic/fixing_bad_data.clj | michelemendel/datomic-playground | 0 | (ns datomic.fixing-bad-data
(:require [datomic.client.api :as d]
[clojure.pprint :as pp]))
;; Based on Stuff Happens: Fixing Bad Data in Datomic
;; https://blog.datomic.com/2014/08/stuff-happens-fixing-bad-data-in-datomic.html
(def cfg {:server-type :dev-local
:system "datomic-tutorial"})
(def... | 19780 | (ns datomic.fixing-bad-data
(:require [datomic.client.api :as d]
[clojure.pprint :as pp]))
;; Based on Stuff Happens: Fixing Bad Data in Datomic
;; https://blog.datomic.com/2014/08/stuff-happens-fixing-bad-data-in-datomic.html
(def cfg {:server-type :dev-local
:system "datomic-tutorial"})
(def... | true | (ns datomic.fixing-bad-data
(:require [datomic.client.api :as d]
[clojure.pprint :as pp]))
;; Based on Stuff Happens: Fixing Bad Data in Datomic
;; https://blog.datomic.com/2014/08/stuff-happens-fixing-bad-data-in-datomic.html
(def cfg {:server-type :dev-local
:system "datomic-tutorial"})
(def... |
[
{
"context": " :errors [\"Excessive query rate. Please contact support@earthdata.nasa.gov.\"]}\n (search/make-raw-search-query :gra",
"end": 29328,
"score": 0.9999099969863892,
"start": 29302,
"tag": "EMAIL",
"value": "support@earthdata.nasa.gov"
}
] | system-int-test/test/cmr/system_int_test/search/granule_search_test.clj | daniel-zamora/Common-Metadata-Repository | 294 | (ns cmr.system-int-test.search.granule-search-test
"Integration test for CMR granule search"
(:require
[clojure.string :as s]
[clojure.test :refer :all]
[cmr.common-app.services.search.messages :as cmsg]
[cmr.common-app.services.search.messages :as vmsg]
[cmr.common.services.messages :as msg]
... | 45824 | (ns cmr.system-int-test.search.granule-search-test
"Integration test for CMR granule search"
(:require
[clojure.string :as s]
[clojure.test :refer :all]
[cmr.common-app.services.search.messages :as cmsg]
[cmr.common-app.services.search.messages :as vmsg]
[cmr.common.services.messages :as msg]
... | true | (ns cmr.system-int-test.search.granule-search-test
"Integration test for CMR granule search"
(:require
[clojure.string :as s]
[clojure.test :refer :all]
[cmr.common-app.services.search.messages :as cmsg]
[cmr.common-app.services.search.messages :as vmsg]
[cmr.common.services.messages :as msg]
... |
[
{
"context": "ed assertions API for Clojure/Script\"\n {:author \"Peter Taoussanis (@ptaoussanis)\"}\n ",
"end": 100,
"score": 0.9998869895935059,
"start": 84,
"tag": "NAME",
"value": "Peter Taoussanis"
},
{
"context": "I for Clojure/Script\"\n {:auth... | extensions/mktplace/navigator/client/resources/public/js/compiled/out/taoensso/truss.cljs | gabykyei/GC_BlockChain_T_Rec | 1 | (ns taoensso.truss
"An opinionated assertions API for Clojure/Script"
{:author "Peter Taoussanis (@ptaoussanis)"}
(:require [taoensso.truss.impl :as impl :refer-macros (-invariant)]))
(comment (require '[taoensso.encore :as enc ... | 122860 | (ns taoensso.truss
"An opinionated assertions API for Clojure/Script"
{:author "<NAME> (@ptaoussanis)"}
(:require [taoensso.truss.impl :as impl :refer-macros (-invariant)]))
(comment (require '[taoensso.encore :as enc :refer (qb... | true | (ns taoensso.truss
"An opinionated assertions API for Clojure/Script"
{:author "PI:NAME:<NAME>END_PI (@ptaoussanis)"}
(:require [taoensso.truss.impl :as impl :refer-macros (-invariant)]))
(comment (require '[taoensso.encore :as ... |
[
{
"context": " :key \"APP65\"}\n ",
"end": 20175,
"score": 0.5764608383178711,
"start": 20173,
"tag": "KEY",
"value": "65"
},
{
"context": " :key \"APP65\"}\n... | test/kintone_client/app_test.cljs | toyokumo/kintone-clj | 5 | (ns kintone-client.app-test
(:require [cljs.core.async :refer [<!] :refer-macros [go]]
[cljs.test :refer-macros [async deftest is]]
[kintone-client.app :as app]
[kintone-client.test-helper :as h]
[kintone-client.types :as t]))
(def ^:private app (rand-int 100))
(defte... | 47026 | (ns kintone-client.app-test
(:require [cljs.core.async :refer [<!] :refer-macros [go]]
[cljs.test :refer-macros [async deftest is]]
[kintone-client.app :as app]
[kintone-client.test-helper :as h]
[kintone-client.types :as t]))
(def ^:private app (rand-int 100))
(defte... | true | (ns kintone-client.app-test
(:require [cljs.core.async :refer [<!] :refer-macros [go]]
[cljs.test :refer-macros [async deftest is]]
[kintone-client.app :as app]
[kintone-client.test-helper :as h]
[kintone-client.types :as t]))
(def ^:private app (rand-int 100))
(defte... |
[
{
"context": "y\n(defn linq56 []\n (let [sorted-records [{:name \"Alice\", :score 50}\n {:name \"Bob\"",
"end": 651,
"score": 0.9998632669448853,
"start": 646,
"tag": "NAME",
"value": "Alice"
},
{
"context": "lice\", :score 50}\n {:name ... | src/clj_linq/linq_conversions.clj | neurot/clojure-linq-examples | 89 | (ns clj-linq.linq-conversions
(:require [clj-linq.data :refer :all]))
;; linq54: ToArray
(defn linq54 []
(let [dbls [1.7 2.3 1.9 4.1 2.9]
sorted-doubles (->> dbls sort reverse)]
(println "Every other double from highest to lowest:")
(doseq [d (take-nth 2 sorted-doubles)] (println d))))
;;linq55: T... | 114083 | (ns clj-linq.linq-conversions
(:require [clj-linq.data :refer :all]))
;; linq54: ToArray
(defn linq54 []
(let [dbls [1.7 2.3 1.9 4.1 2.9]
sorted-doubles (->> dbls sort reverse)]
(println "Every other double from highest to lowest:")
(doseq [d (take-nth 2 sorted-doubles)] (println d))))
;;linq55: T... | true | (ns clj-linq.linq-conversions
(:require [clj-linq.data :refer :all]))
;; linq54: ToArray
(defn linq54 []
(let [dbls [1.7 2.3 1.9 4.1 2.9]
sorted-doubles (->> dbls sort reverse)]
(println "Every other double from highest to lowest:")
(doseq [d (take-nth 2 sorted-doubles)] (println d))))
;;linq55: T... |
[
{
"context": "aoensso/timbre \"5.1.2\"]\n [com.fzakaria/slf4j-timbre \"0.3.21\"]\n\n ; re-ops",
"end": 683,
"score": 0.5614137053489685,
"start": 679,
"tag": "USERNAME",
"value": "aria"
},
{
"context": "; 379CE192D401AB61\n com.hie... | project.clj | re-ops/re-core | 35 | (defproject re-core "0.17.0"
:description "A launching pad for virtualized applications"
:url "https://github.com/re-core-ops/re-core-core"
:license {:name "Apache License, Version 2.0" :url "http://www.apache.org/licenses/LICENSE-2.0.html"}
:dependencies [[org.clojure/clojure "1.10.3"]
[org... | 85883 | (defproject re-core "0.17.0"
:description "A launching pad for virtualized applications"
:url "https://github.com/re-core-ops/re-core-core"
:license {:name "Apache License, Version 2.0" :url "http://www.apache.org/licenses/LICENSE-2.0.html"}
:dependencies [[org.clojure/clojure "1.10.3"]
[org... | true | (defproject re-core "0.17.0"
:description "A launching pad for virtualized applications"
:url "https://github.com/re-core-ops/re-core-core"
:license {:name "Apache License, Version 2.0" :url "http://www.apache.org/licenses/LICENSE-2.0.html"}
:dependencies [[org.clojure/clojure "1.10.3"]
[org... |
[
{
"context": "all]))\n\n\n(defn setup\n []\n (h/create-test-user! \"success+2@simulator.amazonses.com\")\n (h/create-test-user! \"success+3@simulator.ama",
"end": 337,
"score": 0.9999195337295532,
"start": 304,
"tag": "EMAIL",
"value": "success+2@simulator.amazonses.com"
},
{
"con... | api/test/feature/flow/command/finalise_authorisation_attempt_test.clj | kgxsz/flow | 0 | (ns flow.command.finalise-authorisation-attempt-test
(:require [flow.core :refer :all]
[flow.entity.authorisation :as authorisation]
[flow.entity.user :as user]
[flow.helpers :as h]
[clojure.test :refer :all]))
(defn setup
[]
(h/create-test-user! "success+2@simula... | 98768 | (ns flow.command.finalise-authorisation-attempt-test
(:require [flow.core :refer :all]
[flow.entity.authorisation :as authorisation]
[flow.entity.user :as user]
[flow.helpers :as h]
[clojure.test :refer :all]))
(defn setup
[]
(h/create-test-user! "<EMAIL>")
(h/c... | true | (ns flow.command.finalise-authorisation-attempt-test
(:require [flow.core :refer :all]
[flow.entity.authorisation :as authorisation]
[flow.entity.user :as user]
[flow.helpers :as h]
[clojure.test :refer :all]))
(defn setup
[]
(h/create-test-user! "PI:EMAIL:<EMAIL>... |
[
{
"context": "https://adventofcode.com/2020/day/18\n;; author: Vitor SRG (vitorssrg@gmail.com)\n;; date: 2021-01-12\n;;",
"end": 211,
"score": 0.9998866319656372,
"start": 202,
"tag": "NAME",
"value": "Vitor SRG"
},
{
"context": "ntofcode.com/2020/day/18\n;; author: Vitor ... | aoc2020/d18/main.clj | vitorsrg/advent-of-code | 0 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; domain: Advent of Code 2020
;; challenge: Day 18:
;; url: https://adventofcode.com/2020/day/18
;; author: Vitor SRG (vitorssrg@gmail.com)
;; date: 2021-01-12
;; execution: $ bash ./aoc2020/run.sh d18 < [INPUT_FILE]
;; e... | 76377 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; domain: Advent of Code 2020
;; challenge: Day 18:
;; url: https://adventofcode.com/2020/day/18
;; author: <NAME> (<EMAIL>)
;; date: 2021-01-12
;; execution: $ bash ./aoc2020/run.sh d18 < [INPUT_FILE]
;; example:
;; ... | true | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; domain: Advent of Code 2020
;; challenge: Day 18:
;; url: https://adventofcode.com/2020/day/18
;; author: PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI)
;; date: 2021-01-12
;; execution: $ bash ./aoc2020/run.sh d18 < [IN... |
[
{
"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.9998732209205627,
"start": 56,
"tag": "NAME",
"value": "Alex Taggart"
},
{
"context": "by Alex Taggart\n;; July 27, 2009\n\n;; ... | server/target/clojure/tools/logging.clj | OctavioBR/healthcheck | 0 | ;;; 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... | 48605 | ;;; 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": "----------------------------\n;; Copyright (c) 2011 Basho Technologies, Inc. All Rights Reserved.\n;;\n;; This file is pr",
"end": 111,
"score": 0.7844972610473633,
"start": 93,
"tag": "NAME",
"value": "Basho Technologies"
}
] | src/knockbox/registers.clj | reiddraper/knockbox | 34 | ;; -------------------------------------------------------------------
;; Copyright (c) 2011 Basho Technologies, Inc. All Rights Reserved.
;;
;; This file is provided to you under the Apache License,
;; Version 2.0 (the "License"); you may not use this file
;; except in compliance with the License. You may obtain
;; ... | 14268 | ;; -------------------------------------------------------------------
;; Copyright (c) 2011 <NAME>, Inc. All Rights Reserved.
;;
;; This file is provided to you 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 th... | true | ;; -------------------------------------------------------------------
;; Copyright (c) 2011 PI:NAME:<NAME>END_PI, Inc. All Rights Reserved.
;;
;; This file is provided to you under the Apache License,
;; Version 2.0 (the "License"); you may not use this file
;; except in compliance with the License. You may obtain
;... |
[
{
"context": ";;; Copyright (C) 2012 Christian Pohlmann\n;;;\n;;; Licensed under The MIT License (see LICEN",
"end": 41,
"score": 0.9996960759162903,
"start": 23,
"tag": "NAME",
"value": "Christian Pohlmann"
}
] | src/runver/test.clj | christianpohlmann/runver | 0 | ;;; Copyright (C) 2012 Christian Pohlmann
;;;
;;; Licensed under The MIT License (see LICENSE)
(ns runver.test
(:use [runver.core]
[runver.ltl]
[runver.util :only [set-atom!]]))
;; [clojure.contrib.pprint :only (pprint)]))
(init-rv)
;; A simple example using LTL3
;; Define two ev... | 104184 | ;;; Copyright (C) 2012 <NAME>
;;;
;;; Licensed under The MIT License (see LICENSE)
(ns runver.test
(:use [runver.core]
[runver.ltl]
[runver.util :only [set-atom!]]))
;; [clojure.contrib.pprint :only (pprint)]))
(init-rv)
;; A simple example using LTL3
;; Define two events:
;; 1... | true | ;;; Copyright (C) 2012 PI:NAME:<NAME>END_PI
;;;
;;; Licensed under The MIT License (see LICENSE)
(ns runver.test
(:use [runver.core]
[runver.ltl]
[runver.util :only [set-atom!]]))
;; [clojure.contrib.pprint :only (pprint)]))
(init-rv)
;; A simple example using LTL3
;; Define two ... |
[
{
"context": "ogic: Büchi automaton\n\n; Copyright (c) 2016 - 2017 Burkhardt Renz, THM. All rights reserved.\n; The use and distribu",
"end": 107,
"score": 0.9998939037322998,
"start": 93,
"tag": "NAME",
"value": "Burkhardt Renz"
},
{
"context": ", \n;; implemented at NASA Ames resea... | src/lwb/ltl/buechi.clj | esb-lwb/lwb | 22 | ; lwb Logic WorkBench -- Linear Temporal Logic: Büchi automaton
; Copyright (c) 2016 - 2017 Burkhardt Renz, THM. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php).
; By using this software in any fash... | 82040 | ; lwb Logic WorkBench -- Linear Temporal Logic: Büchi automaton
; Copyright (c) 2016 - 2017 <NAME>, THM. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php).
; By using this software in any fashion, you... | true | ; lwb Logic WorkBench -- Linear Temporal Logic: Büchi automaton
; Copyright (c) 2016 - 2017 PI:NAME:<NAME>END_PI, THM. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php).
; By using this software in an... |
[
{
"context": "a {:href \"http://mindingourway.com/randometer/\"} \"Nate Soares' original blog post\"]\n \". You can also che",
"end": 6629,
"score": 0.9858055114746094,
"start": 6618,
"tag": "NAME",
"value": "Nate Soares"
},
{
"context": " out the \"\n [:a {:href \"http... | src/randometer/core.cljs | luanthe/Randometer.cljs | 0 | (ns ^:figwheel-always randometer.core
(:require
[reagent.core :as reagent :refer [atom]]))
(enable-console-print!)
(def size [24 6])
(defn show-trial [x]
(if x "●" "○"))
(defn trial []
(> 0.5 (rand)))
(defn biased-trial [propensity]
(> propensity (rand)))
(defn muted-trial [propensity memo... | 4976 | (ns ^:figwheel-always randometer.core
(:require
[reagent.core :as reagent :refer [atom]]))
(enable-console-print!)
(def size [24 6])
(defn show-trial [x]
(if x "●" "○"))
(defn trial []
(> 0.5 (rand)))
(defn biased-trial [propensity]
(> propensity (rand)))
(defn muted-trial [propensity memo... | true | (ns ^:figwheel-always randometer.core
(:require
[reagent.core :as reagent :refer [atom]]))
(enable-console-print!)
(def size [24 6])
(defn show-trial [x]
(if x "●" "○"))
(defn trial []
(> 0.5 (rand)))
(defn biased-trial [propensity]
(> propensity (rand)))
(defn muted-trial [propensity memo... |
[
{
"context": "acl\n\n :author \"someone\"\n :commit \"wip",
"end": 848,
"score": 0.9965107440948486,
"start": 841,
"tag": "USERNAME",
"value": "someone"
},
{
"context": " :volume-options {:o ... | code/test/sixsq/nuvla/server/resources/spec/module_component_test.cljc | nuvla/server | 6 | (ns sixsq.nuvla.server.resources.spec.module-component-test
(:require
[clojure.test :refer [deftest]]
[sixsq.nuvla.server.resources.module-component :as t]
[sixsq.nuvla.server.resources.spec.module-component :as module-component]
[sixsq.nuvla.server.resources.spec.spec-test-utils :as stu]))
(def val... | 1394 | (ns sixsq.nuvla.server.resources.spec.module-component-test
(:require
[clojure.test :refer [deftest]]
[sixsq.nuvla.server.resources.module-component :as t]
[sixsq.nuvla.server.resources.spec.module-component :as module-component]
[sixsq.nuvla.server.resources.spec.spec-test-utils :as stu]))
(def val... | true | (ns sixsq.nuvla.server.resources.spec.module-component-test
(:require
[clojure.test :refer [deftest]]
[sixsq.nuvla.server.resources.module-component :as t]
[sixsq.nuvla.server.resources.spec.module-component :as module-component]
[sixsq.nuvla.server.resources.spec.spec-test-utils :as stu]))
(def val... |
[
{
"context": "=> true\n(get #{:a :b} :a)\n;; => :a\n(get #{:a :b} \"kurt vonnegut\")\n;; => nil\n\n;; Functions\n((first [+ 0]) 1 2 3)\n;",
"end": 1888,
"score": 0.999640166759491,
"start": 1875,
"tag": "NAME",
"value": "kurt vonnegut"
}
] | code/clojure-noob/src/clojure_noob/ch3.clj | itsrainingmani/learn-clojure-in-public | 7 | (ns clojure-noob.ch3
(:require
[clojure.string :as s]))
; Boolean Ops
; and returns the first falsey value or the last truthy value if no vals are falsey
; or returns either the first truthy value or the last value
(or false nil :large_I_mean_venti)
(or (= 0 1) (= "yes" "no"))
; Data Structures are immutable
;... | 86476 | (ns clojure-noob.ch3
(:require
[clojure.string :as s]))
; Boolean Ops
; and returns the first falsey value or the last truthy value if no vals are falsey
; or returns either the first truthy value or the last value
(or false nil :large_I_mean_venti)
(or (= 0 1) (= "yes" "no"))
; Data Structures are immutable
;... | true | (ns clojure-noob.ch3
(:require
[clojure.string :as s]))
; Boolean Ops
; and returns the first falsey value or the last truthy value if no vals are falsey
; or returns either the first truthy value or the last value
(or false nil :large_I_mean_venti)
(or (= 0 1) (= "yes" "no"))
; Data Structures are immutable
;... |
[
{
"context": " :return-values :all-new\n :key {\"user-id\" {:S \"Moe\"}}\n :return-item-collection-me",
"end": 4379,
"score": 0.8100252747535706,
"start": 4372,
"tag": "KEY",
"value": "user-id"
},
{
"context": "rn-values :all-new\n :key {\"user-id\"... | test/hildebrand/test/internal/request.cljc | nervous-systems/hildebrand | 74 | (ns hildebrand.test.internal.request
(:require #? (:clj
[clojure.test :refer [deftest is]]
:cljs
[cljs.test :refer-macros [deftest is]])
[clojure.walk :as walk]
[hildebrand.internal.request :refer [restructure-request]]))
(def gs-index-out
{:i... | 102234 | (ns hildebrand.test.internal.request
(:require #? (:clj
[clojure.test :refer [deftest is]]
:cljs
[cljs.test :refer-macros [deftest is]])
[clojure.walk :as walk]
[hildebrand.internal.request :refer [restructure-request]]))
(def gs-index-out
{:i... | true | (ns hildebrand.test.internal.request
(:require #? (:clj
[clojure.test :refer [deftest is]]
:cljs
[cljs.test :refer-macros [deftest is]])
[clojure.walk :as walk]
[hildebrand.internal.request :refer [restructure-request]]))
(def gs-index-out
{:i... |
[
{
"context": "l Address\" login-data]\n [c/password-input \"密码\" :password \"输入密码\" login-data]\n [:input#sub",
"end": 1848,
"score": 0.9878807067871094,
"start": 1846,
"tag": "PASSWORD",
"value": "密码"
},
{
"context": "n-data]\n [c/password-input \"密码\" :password... | src/cljs/soul_talk/login.cljs | yuppieghost/soul-talk | 0 | (ns soul-talk.login
(:require [domina :as dom]
[domina.events :as ev]
[reagent.core :as reagent :refer [atom]]
[soul-talk.auth-validate :refer [login-errors] :as validate]
[ajax.core :as ajax :refer [POST]]
[taoensso.timbre :as log]
[soul-talk.co... | 59086 | (ns soul-talk.login
(:require [domina :as dom]
[domina.events :as ev]
[reagent.core :as reagent :refer [atom]]
[soul-talk.auth-validate :refer [login-errors] :as validate]
[ajax.core :as ajax :refer [POST]]
[taoensso.timbre :as log]
[soul-talk.co... | true | (ns soul-talk.login
(:require [domina :as dom]
[domina.events :as ev]
[reagent.core :as reagent :refer [atom]]
[soul-talk.auth-validate :refer [login-errors] :as validate]
[ajax.core :as ajax :refer [POST]]
[taoensso.timbre :as log]
[soul-talk.co... |
[
{
"context": "ut \"12 34 56 78\"})]\n ; Invocation with user alice, successful\n (let [task-metadata {:command",
"end": 6822,
"score": 0.5132946372032166,
"start": 6817,
"tag": "NAME",
"value": "alice"
},
{
"context": "ful\n (let [task-metadata {:command {:user \... | scheduler/test/cook/test/kubernetes/api.clj | nsinkov/Cook | 0 | (ns cook.test.kubernetes.api
(:require [clj-time.core :as t]
[clojure.java.shell :as sh]
[clojure.set :as set]
[clojure.test :refer :all]
[cook.config :as config]
[cook.kubernetes.api :as api]
[cook.scheduler.constraints :as constraints]
... | 39379 | (ns cook.test.kubernetes.api
(:require [clj-time.core :as t]
[clojure.java.shell :as sh]
[clojure.set :as set]
[clojure.test :refer :all]
[cook.config :as config]
[cook.kubernetes.api :as api]
[cook.scheduler.constraints :as constraints]
... | true | (ns cook.test.kubernetes.api
(:require [clj-time.core :as t]
[clojure.java.shell :as sh]
[clojure.set :as set]
[clojure.test :refer :all]
[cook.config :as config]
[cook.kubernetes.api :as api]
[cook.scheduler.constraints :as constraints]
... |
[
{
"context": "item based on the given key\n (find-item people :andy)\n => {:name :andy}\"\n {:added \"2.2\"}\n [{:keys ",
"end": 745,
"score": 0.7414067387580872,
"start": 741,
"tag": "NAME",
"value": "andy"
},
{
"context": "ven key\n (find-item people :andy)\n => {:name :a... | src/hara/group.clj | ikitommi/hara | 0 | (ns hara.group
(:require [hara.data.map :as map]
[hara.common.string :as string]))
(defrecord Group [])
(defmethod print-method
Group
[{:keys [tag] :as v} ^java.io.Writer w]
(.write w (str (if tag
(str "#" (string/to-string tag))
"")
(into ... | 26099 | (ns hara.group
(:require [hara.data.map :as map]
[hara.common.string :as string]))
(defrecord Group [])
(defmethod print-method
Group
[{:keys [tag] :as v} ^java.io.Writer w]
(.write w (str (if tag
(str "#" (string/to-string tag))
"")
(into ... | true | (ns hara.group
(:require [hara.data.map :as map]
[hara.common.string :as string]))
(defrecord Group [])
(defmethod print-method
Group
[{:keys [tag] :as v} ^java.io.Writer w]
(.write w (str (if tag
(str "#" (string/to-string tag))
"")
(into ... |
[
{
"context": " lazy sequence of search results.\"\n :author \"Kevin Neaton\"}\n overtone.samples.freesound.search-results\n (",
"end": 131,
"score": 0.9998853206634521,
"start": 119,
"tag": "NAME",
"value": "Kevin Neaton"
}
] | src/overtone/samples/freesound/search_results.clj | ABaldwinHunter/overtone | 1 | (ns ^{:doc "A custom datatype and helper functions for working with a lazy sequence of search results."
:author "Kevin Neaton"}
overtone.samples.freesound.search-results
(:use [overtone.samples.freesound.url :only [build-url]]))
(deftype SearchResults [n-results results-seq]
clojure.lang.Sequential
cloju... | 85335 | (ns ^{:doc "A custom datatype and helper functions for working with a lazy sequence of search results."
:author "<NAME>"}
overtone.samples.freesound.search-results
(:use [overtone.samples.freesound.url :only [build-url]]))
(deftype SearchResults [n-results results-seq]
clojure.lang.Sequential
clojure.lan... | true | (ns ^{:doc "A custom datatype and helper functions for working with a lazy sequence of search results."
:author "PI:NAME:<NAME>END_PI"}
overtone.samples.freesound.search-results
(:use [overtone.samples.freesound.url :only [build-url]]))
(deftype SearchResults [n-results results-seq]
clojure.lang.Sequential... |
[
{
"context": "o/\n []\n (def funcionarios [\n {\n :name \"Ana Julia\"\n :salario_base 3000.00\n :base_horas 22",
"end": 3076,
"score": 0.9998119473457336,
"start": 3067,
"tag": "NAME",
"value": "Ana Julia"
},
{
"context": "sagens de R$5,20\n }\n }\n {\... | src/folhadepagamento/core.clj | kaiocesar/playground-clojure | 0 | (ns folhadepagamento.core)
(def porcentagem-vale-refeicao 0.2)
(def salario-minimo-nacional 998)
(defn aplicar-desconto [valor_desconto_porc valor]
"aplicar o desconto proporcinal"
(* valor (/ valor_desconto_porc 100)))
(defn aplicar-irrf [salario_base valor_dependentes valor_inss porc_irrf valor_deducao]
"a... | 52504 | (ns folhadepagamento.core)
(def porcentagem-vale-refeicao 0.2)
(def salario-minimo-nacional 998)
(defn aplicar-desconto [valor_desconto_porc valor]
"aplicar o desconto proporcinal"
(* valor (/ valor_desconto_porc 100)))
(defn aplicar-irrf [salario_base valor_dependentes valor_inss porc_irrf valor_deducao]
"a... | true | (ns folhadepagamento.core)
(def porcentagem-vale-refeicao 0.2)
(def salario-minimo-nacional 998)
(defn aplicar-desconto [valor_desconto_porc valor]
"aplicar o desconto proporcinal"
(* valor (/ valor_desconto_porc 100)))
(defn aplicar-irrf [salario_base valor_dependentes valor_inss porc_irrf valor_deducao]
"a... |
[
{
"context": " \"bad horse\"\n ",
"end": 1089,
"score": 0.69002765417099,
"start": 1084,
"tag": "PASSWORD",
"value": "horse"
},
{
"context": " nil\n :password ... | test/clj_libssh2/test_authentication.clj | conormcd/clj-libssh2 | 3 | (ns clj-libssh2.test-authentication
(:require [clojure.test :refer :all]
[clj-libssh2.libssh2 :as libssh2]
[clj-libssh2.libssh2.userauth :as libssh2-userauth]
[clj-libssh2.test-utils :as test])
(:use clj-libssh2.authentication))
(test/fixtures)
; This is more fully tested in cl... | 35374 | (ns clj-libssh2.test-authentication
(:require [clojure.test :refer :all]
[clj-libssh2.libssh2 :as libssh2]
[clj-libssh2.libssh2.userauth :as libssh2-userauth]
[clj-libssh2.test-utils :as test])
(:use clj-libssh2.authentication))
(test/fixtures)
; This is more fully tested in cl... | true | (ns clj-libssh2.test-authentication
(:require [clojure.test :refer :all]
[clj-libssh2.libssh2 :as libssh2]
[clj-libssh2.libssh2.userauth :as libssh2-userauth]
[clj-libssh2.test-utils :as test])
(:use clj-libssh2.authentication))
(test/fixtures)
; This is more fully tested in cl... |
[
{
"context": " .-value))\n :placeholder \"bob@example.com\"}]]\n [:submit.button\n ",
"end": 2625,
"score": 0.9999294281005859,
"start": 2610,
"tag": "EMAIL",
"value": "bob@example.com"
},
{
"context": " email]])\n ... | src/main/pages/login.cljs | instantwebsite/dashboard | 3 | (ns pages.login
(:require
[reagent.core :as r]
[clojure.pprint :refer [pprint]]
[state :refer [app-state]]
[auth :refer [do-login]]))
(def description
"InstantWebsite.app uses passwordless login, so once you've submitted your
email, we'll send you a link you can use once to your inbox for complet... | 72437 | (ns pages.login
(:require
[reagent.core :as r]
[clojure.pprint :refer [pprint]]
[state :refer [app-state]]
[auth :refer [do-login]]))
(def description
"InstantWebsite.app uses passwordless login, so once you've submitted your
email, we'll send you a link you can use once to your inbox for complet... | true | (ns pages.login
(:require
[reagent.core :as r]
[clojure.pprint :refer [pprint]]
[state :refer [app-state]]
[auth :refer [do-login]]))
(def description
"InstantWebsite.app uses passwordless login, so once you've submitted your
email, we'll send you a link you can use once to your inbox for complet... |
[
{
"context": "efn app-entry []\n [:div.container-fluid\n [:h1 \"Thomas's Favorite Albums\"]\n [sorting-buttons sorti",
"end": 4096,
"score": 0.9943349361419678,
"start": 4094,
"tag": "NAME",
"value": "Th"
},
{
"context": "n app-entry []\n [:div.container-fluid\n [:h1 \"Thomas... | src/frontend/core.cljs | tanelso2/favorite-albums-webapp | 0 | (ns frontend.core
(:require
[cljs-http.client :as http]
[cljs.core.async :refer [<! go]]
[clojure.string :as str]
[reagent.core :as r]))
;; -------------------------
;; State
(defonce albums (r/atom nil))
(defonce sorting (r/atom :artist-name))
(defonce grouping (r/atom :none))
;; -----... | 44243 | (ns frontend.core
(:require
[cljs-http.client :as http]
[cljs.core.async :refer [<! go]]
[clojure.string :as str]
[reagent.core :as r]))
;; -------------------------
;; State
(defonce albums (r/atom nil))
(defonce sorting (r/atom :artist-name))
(defonce grouping (r/atom :none))
;; -----... | true | (ns frontend.core
(:require
[cljs-http.client :as http]
[cljs.core.async :refer [<! go]]
[clojure.string :as str]
[reagent.core :as r]))
;; -------------------------
;; State
(defonce albums (r/atom nil))
(defonce sorting (r/atom :artist-name))
(defonce grouping (r/atom :none))
;; -----... |
[
{
"context": "uccessful\"\n (let [request {:params {:name \"Rook\"}}]\n (should-be-valid request (validate-",
"end": 943,
"score": 0.9969930052757263,
"start": 939,
"tag": "NAME",
"value": "Rook"
},
{
"context": "onal keys\"\n (let [request {:params {:name \"Ro... | spec/rook/validation_spec.clj | curious-attempt-bunny/rook | 0 | (ns rook.validation-spec
(:import (javax.servlet.http HttpServletResponse)
(java.util Date TimeZone Calendar UUID)
(java.text SimpleDateFormat))
(:use
speclj.core
ring.mock.request
io.aviso.rook
io.aviso.rook.schema-validation)
(:require
[clojure.core.async :refer [<!!]]
... | 55354 | (ns rook.validation-spec
(:import (javax.servlet.http HttpServletResponse)
(java.util Date TimeZone Calendar UUID)
(java.text SimpleDateFormat))
(:use
speclj.core
ring.mock.request
io.aviso.rook
io.aviso.rook.schema-validation)
(:require
[clojure.core.async :refer [<!!]]
... | true | (ns rook.validation-spec
(:import (javax.servlet.http HttpServletResponse)
(java.util Date TimeZone Calendar UUID)
(java.text SimpleDateFormat))
(:use
speclj.core
ring.mock.request
io.aviso.rook
io.aviso.rook.schema-validation)
(:require
[clojure.core.async :refer [<!!]]
... |
[
{
"context": " :ide-headers {\"apikey\" \"mean mister mustard\"}\n :subscripti",
"end": 1571,
"score": 0.9916602969169617,
"start": 1552,
"tag": "KEY",
"value": "mean mister mustard"
}
] | dev-resources/demo.clj | dissoc/lacinia-immutant | 0 | (ns demo
"Used to demonstrate a simple GraphQL application."
(:require
[com.walmartlabs.lacinia.pedestal :as lp]
[clojure.java.io :as io]
[clojure.core.async :refer [chan close! go alt! timeout]]
[com.walmartlabs.lacinia.schema :as schema]
[clojure.edn :as edn]
[io.pedestal.http :as http]
... | 63677 | (ns demo
"Used to demonstrate a simple GraphQL application."
(:require
[com.walmartlabs.lacinia.pedestal :as lp]
[clojure.java.io :as io]
[clojure.core.async :refer [chan close! go alt! timeout]]
[com.walmartlabs.lacinia.schema :as schema]
[clojure.edn :as edn]
[io.pedestal.http :as http]
... | true | (ns demo
"Used to demonstrate a simple GraphQL application."
(:require
[com.walmartlabs.lacinia.pedestal :as lp]
[clojure.java.io :as io]
[clojure.core.async :refer [chan close! go alt! timeout]]
[com.walmartlabs.lacinia.schema :as schema]
[clojure.edn :as edn]
[io.pedestal.http :as http]
... |
[
{
"context": "(c/new-id \"http://xmlns.com/foaf/0.1/firstName\") \"Pablo\"]]}\n '{:find [e]\n ",
"end": 2728,
"score": 0.9996792674064636,
"start": 2723,
"tag": "NAME",
"value": "Pablo"
},
{
"context": "e #crux/id \"http://xmlns.com/foaf/0.1/firstName\"... | crux-core/test/crux/codec_test.clj | deobald/crux | 0 | (ns crux.codec-test
(:require [clojure.test :as t]
[crux.codec :as c]
[crux.memory :as mem]
[crux.fixtures :as fix]
[clojure.test.check.clojure-test :as tcct]
[clojure.test.check.generators :as gen]
[clojure.test.check.properties :as prop]
... | 72940 | (ns crux.codec-test
(:require [clojure.test :as t]
[crux.codec :as c]
[crux.memory :as mem]
[crux.fixtures :as fix]
[clojure.test.check.clojure-test :as tcct]
[clojure.test.check.generators :as gen]
[clojure.test.check.properties :as prop]
... | true | (ns crux.codec-test
(:require [clojure.test :as t]
[crux.codec :as c]
[crux.memory :as mem]
[crux.fixtures :as fix]
[clojure.test.check.clojure-test :as tcct]
[clojure.test.check.generators :as gen]
[clojure.test.check.properties :as prop]
... |
[
{
"context": "relative-date-query\n (long-str \"SELECT 0 AS id, 'damon' AS name, timestamp '2006-01-02 15:04:05.123' AS ",
"end": 1291,
"score": 0.9950456619262695,
"start": 1286,
"tag": "NAME",
"value": "damon"
},
{
"context": "\"\n \"UNION ALL\"\n \"SELECT 1,... | test/metabase/driver/athena_test.clj | kostyaplis/metabase-athena-driver | 206 | (ns metabase.driver.athena-test
(:require [clojure.test :refer :all]
[metabase.driver :as driver]
[metabase.test :as mt]
[metabase.test.data :as data]
[metabase.test.data
[datasets :as datasets]]
[metabase.test.util :as tu]
[metabase... | 110253 | (ns metabase.driver.athena-test
(:require [clojure.test :refer :all]
[metabase.driver :as driver]
[metabase.test :as mt]
[metabase.test.data :as data]
[metabase.test.data
[datasets :as datasets]]
[metabase.test.util :as tu]
[metabase... | true | (ns metabase.driver.athena-test
(:require [clojure.test :refer :all]
[metabase.driver :as driver]
[metabase.test :as mt]
[metabase.test.data :as data]
[metabase.test.data
[datasets :as datasets]]
[metabase.test.util :as tu]
[metabase... |
[
{
"context": "unt generation\"\n (logic/new-account customer-id \"Abel\") => (just {:id uuid?\n ",
"end": 275,
"score": 0.917868971824646,
"start": 271,
"tag": "NAME",
"value": "Abel"
},
{
"context": " :name \"Abel\... | test/basic_microservice_example/logic_test.clj | miguelemosreverte/basic-microservice-example | 3 | (ns basic-microservice-example.logic-test
(:require [midje.sweet :refer :all]
[basic-microservice-example.logic :as logic])
(:import [java.util UUID]))
(def customer-id (UUID/randomUUID))
(fact "New account generation"
(logic/new-account customer-id "Abel") => (just {:id uuid?
... | 93244 | (ns basic-microservice-example.logic-test
(:require [midje.sweet :refer :all]
[basic-microservice-example.logic :as logic])
(:import [java.util UUID]))
(def customer-id (UUID/randomUUID))
(fact "New account generation"
(logic/new-account customer-id "<NAME>") => (just {:id uuid?
... | true | (ns basic-microservice-example.logic-test
(:require [midje.sweet :refer :all]
[basic-microservice-example.logic :as logic])
(:import [java.util UUID]))
(def customer-id (UUID/randomUUID))
(fact "New account generation"
(logic/new-account customer-id "PI:NAME:<NAME>END_PI") => (just {:id uui... |
[
{
"context": ";; Copyright (c) Rich Hickey. All rights reserved.\n;; The use and distributio",
"end": 29,
"score": 0.9998740553855896,
"start": 18,
"tag": "NAME",
"value": "Rich Hickey"
},
{
"context": " string back to the server Loop!\"\n\n :author \"Bobby Calderwood and Alex... | ext/clojure-clojurescript-bef56a7/src/cljs/clojure/browser/repl.cljs | yokolet/clementine | 35 | ;; Copyright (c) Rich Hickey. All rights reserved.
;; The use and distribution terms for this software are covered by the
;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
;; which can be found in the file epl-v10.html at the root of this distribution.
;; By using this software in any ... | 61367 | ;; Copyright (c) <NAME>. All rights reserved.
;; The use and distribution terms for this software are covered by the
;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
;; which can be found in the file epl-v10.html at the root of this distribution.
;; By using this software in any fashi... | true | ;; Copyright (c) PI:NAME:<NAME>END_PI. All rights reserved.
;; The use and distribution terms for this software are covered by the
;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
;; which can be found in the file epl-v10.html at the root of this distribution.
;; By using this softwar... |
[
{
"context": "r-mode :hsb 1.0)\n (q/frame-rate 20)\n (q/text \"By halvarsu\" (- (q/width) 80) (- (q/height) 10))\n (q/stroke-",
"end": 784,
"score": 0.7079865336418152,
"start": 776,
"tag": "NAME",
"value": "halvarsu"
}
] | quil/sketches/src/stuff/flower_petals_clicker.clj | halvarsu/old-clojure-stuff | 0 | (ns stuff.flower-petals-clicker
(:require [quil.core :as q]))
(def petal-count (atom 30))
(defn draw []
(q/background 0 0 0.5)
(q/no-loop)
(q/fill 0.3 0.5 0.5)
(let [x (/ (q/width) 2)
y (/ (q/height) 2 )
r 480
n @petal-count
dt (/ (* 2 Math/PI) n)]
(q/begin-sha... | 64909 | (ns stuff.flower-petals-clicker
(:require [quil.core :as q]))
(def petal-count (atom 30))
(defn draw []
(q/background 0 0 0.5)
(q/no-loop)
(q/fill 0.3 0.5 0.5)
(let [x (/ (q/width) 2)
y (/ (q/height) 2 )
r 480
n @petal-count
dt (/ (* 2 Math/PI) n)]
(q/begin-sha... | true | (ns stuff.flower-petals-clicker
(:require [quil.core :as q]))
(def petal-count (atom 30))
(defn draw []
(q/background 0 0 0.5)
(q/no-loop)
(q/fill 0.3 0.5 0.5)
(let [x (/ (q/width) 2)
y (/ (q/height) 2 )
r 480
n @petal-count
dt (/ (* 2 Math/PI) n)]
(q/begin-sha... |
[
{
"context": "e/png\", :sizes \"192x192\"}]\n :author \"Jun Shang\"\n :hidden false\n :id \"6",
"end": 5608,
"score": 0.9992014765739441,
"start": 5599,
"tag": "NAME",
"value": "Jun Shang"
}
] | plugins/reports/ballgown2exp.clj | yqsongGitHub/tservice-quartet-plugins | 0 | (ns plugins.reports.ballgown2exp
(:require [clojure.core.async :as async]
[clojure.data.json :as json]
[clojure.spec.alpha :as s]
[clojure.tools.logging :as log]
[plugins.libs.commons :as comm]
[plugins.wrappers.merge-exp :as me]
[plugins.wrapper... | 119456 | (ns plugins.reports.ballgown2exp
(:require [clojure.core.async :as async]
[clojure.data.json :as json]
[clojure.spec.alpha :as s]
[clojure.tools.logging :as log]
[plugins.libs.commons :as comm]
[plugins.wrappers.merge-exp :as me]
[plugins.wrapper... | true | (ns plugins.reports.ballgown2exp
(:require [clojure.core.async :as async]
[clojure.data.json :as json]
[clojure.spec.alpha :as s]
[clojure.tools.logging :as log]
[plugins.libs.commons :as comm]
[plugins.wrappers.merge-exp :as me]
[plugins.wrapper... |
[
{
"context": "labels [] [\"Person\"])\n (asMap [] {\"firstName\" \"Neo\"\n \"lastName\" \"Anderson\"})))\n\n(def n",
"end": 307,
"score": 0.9998433589935303,
"start": 304,
"tag": "NAME",
"value": "Neo"
},
{
"context": " [] {\"firstName\" \"Neo\"\n \"las... | test/neo4clj/convert_test.clj | AncaIO/neo4clj | 0 | (ns neo4clj.convert-test
(:require [clojure.test :as t]
[java-time :as time]
[neo4clj.convert :as sut]))
(def neo4j-node
"Mock object to represent a Neo4J Node"
(proxy [org.neo4j.driver.v1.types.Node] []
(id [] 1)
(labels [] ["Person"])
(asMap [] {"firstName" "Neo"
... | 64657 | (ns neo4clj.convert-test
(:require [clojure.test :as t]
[java-time :as time]
[neo4clj.convert :as sut]))
(def neo4j-node
"Mock object to represent a Neo4J Node"
(proxy [org.neo4j.driver.v1.types.Node] []
(id [] 1)
(labels [] ["Person"])
(asMap [] {"firstName" "<NAME>"
... | true | (ns neo4clj.convert-test
(:require [clojure.test :as t]
[java-time :as time]
[neo4clj.convert :as sut]))
(def neo4j-node
"Mock object to represent a Neo4J Node"
(proxy [org.neo4j.driver.v1.types.Node] []
(id [] 1)
(labels [] ["Person"])
(asMap [] {"firstName" "PI:NAME:<NAME>EN... |
[
{
"context": "name :env/clojars_jenkins_username\n :password :env/clojars_jenkins_password\n :sign-releases false})\n\n(defproject puppetlab",
"end": 126,
"score": 0.9924399852752686,
"start": 98,
"tag": "PASSWORD",
"value": "env/clojars_jenkins_password"
},
{
"context": "ls \"... | project.clj | mwaggett/jvm-ssl-utils | 0 | (defn deploy-info
[url]
{ :url url
:username :env/clojars_jenkins_username
:password :env/clojars_jenkins_password
:sign-releases false})
(defproject puppetlabs/ssl-utils "3.0.6-SNAPSHOT"
:url "http://www.github.com/puppetlabs/jvm-ssl-utils"
:description "SSL certificate management on the JVM."
... | 79218 | (defn deploy-info
[url]
{ :url url
:username :env/clojars_jenkins_username
:password :<PASSWORD>
:sign-releases false})
(defproject puppetlabs/ssl-utils "3.0.6-SNAPSHOT"
:url "http://www.github.com/puppetlabs/jvm-ssl-utils"
:description "SSL certificate management on the JVM."
:min-lein-version... | true | (defn deploy-info
[url]
{ :url url
:username :env/clojars_jenkins_username
:password :PI:PASSWORD:<PASSWORD>END_PI
:sign-releases false})
(defproject puppetlabs/ssl-utils "3.0.6-SNAPSHOT"
:url "http://www.github.com/puppetlabs/jvm-ssl-utils"
:description "SSL certificate management on the JVM."
... |
[
{
"context": " s/Str\n :user {:name s/Keyword\n :passwd user/ClearPassword\n :ssh user/Ssh}\n :git-cr",
"end": 1269,
"score": 0.9123919010162354,
"start": 1265,
"tag": "PASSWORD",
"value": "user"
},
{
"context": "\n :user {:name s/Keyword\n :passwd us... | main/src/dda/pallet/dda_smeagol_crate/domain.clj | DomainDrivenArchitecture/dda-smeagol-crate | 2 | ; 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... | 14219 | ; Licensed to the Apache Software Foundation (ASF) under one
; or more contributor license agreements. See the NOTICE file
; distributed with this work for additional information
; regarding copyright ownership. The ASF licenses this file
; to you under the Apache License, Version 2.0 (the
; "License"); you may not use... | true | ; Licensed to the Apache Software Foundation (ASF) under one
; or more contributor license agreements. See the NOTICE file
; distributed with this work for additional information
; regarding copyright ownership. The ASF licenses this file
; to you under the Apache License, Version 2.0 (the
; "License"); you may not use... |
[
{
"context": ";; Copyright 2014 Rich Hickey. All Rights Reserved.\n;;\n;; Licensed under the Ap",
"end": 29,
"score": 0.9998342990875244,
"start": 18,
"tag": "NAME",
"value": "Rich Hickey"
}
] | test/transit/test_with_meta.clj | myguidingstar/transit-clj | 282 | ;; Copyright 2014 Rich Hickey. 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
;;
;; Unless required by applicab... | 3653 | ;; Copyright 2014 <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
;;
;; Unless required by applicable la... | true | ;; Copyright 2014 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-2.0
;;
;; Unless required by... |
[
{
"context": "e-object [this snapshot k]\n (let [doc-key (c/->id-buffer k)\n seek-k (c/encode-doc-key-to (",
"end": 624,
"score": 0.6429542899131775,
"start": 622,
"tag": "KEY",
"value": "id"
},
{
"context": "e-object [this _ k]\n (let [doc-key (str (c/new-id k))\n ... | crux-core/src/crux/object_store.clj | neuromantik33/crux | 0 | (ns crux.object-store
(:require [clojure.java.io :as io]
[crux.codec :as c]
[crux.db :as db]
[crux.index :as i]
[crux.kv :as kv]
[crux.lru :as lru]
[crux.memory :as mem]
[taoensso.nippy :as nippy])
(:import [java.io Closeable DataIn... | 122765 | (ns crux.object-store
(:require [clojure.java.io :as io]
[crux.codec :as c]
[crux.db :as db]
[crux.index :as i]
[crux.kv :as kv]
[crux.lru :as lru]
[crux.memory :as mem]
[taoensso.nippy :as nippy])
(:import [java.io Closeable DataIn... | true | (ns crux.object-store
(:require [clojure.java.io :as io]
[crux.codec :as c]
[crux.db :as db]
[crux.index :as i]
[crux.kv :as kv]
[crux.lru :as lru]
[crux.memory :as mem]
[taoensso.nippy :as nippy])
(:import [java.io Closeable DataIn... |
[
{
"context": ";;\n;;\n;; Copyright 2014-2015 Netflix, Inc.\n;;\n;; Licensed under the Apache Lic",
"end": 33,
"score": 0.9582703113555908,
"start": 30,
"tag": "NAME",
"value": "Net"
}
] | pigpen-avro-pig/src/test/clojure/pigpen/pig/avro_test.clj | ombagus/Netflix | 327 | ;;
;;
;; Copyright 2014-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 ... | 14068 | ;;
;;
;; Copyright 2014-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 2014-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": "ption\n \"The ZorgRank API is part of the project ‘Gepast Verwijzen’. The project aims\n to help a general practitio",
"end": 1743,
"score": 0.881417453289032,
"start": 1727,
"tag": "NAME",
"value": "Gepast Verwijzen"
},
{
"context": " and demo purposes, you can use ... | src/nl/mediquest/zorgrank/routes/services.clj | mediquest-nl/zorgrank | 0 | (ns nl.mediquest.zorgrank.routes.services
(:require
[muuntaja.middleware]
[nl.mediquest.zorgrank.config :refer [clients env]]
[nl.mediquest.zorgrank.middleware.authentication :refer [wrap-authentication]]
[nl.mediquest.zorgrank.middleware.cors :as cors]
[nl.mediquest.zorgrank.middleware.exception :as e... | 60546 | (ns nl.mediquest.zorgrank.routes.services
(:require
[muuntaja.middleware]
[nl.mediquest.zorgrank.config :refer [clients env]]
[nl.mediquest.zorgrank.middleware.authentication :refer [wrap-authentication]]
[nl.mediquest.zorgrank.middleware.cors :as cors]
[nl.mediquest.zorgrank.middleware.exception :as e... | true | (ns nl.mediquest.zorgrank.routes.services
(:require
[muuntaja.middleware]
[nl.mediquest.zorgrank.config :refer [clients env]]
[nl.mediquest.zorgrank.middleware.authentication :refer [wrap-authentication]]
[nl.mediquest.zorgrank.middleware.cors :as cors]
[nl.mediquest.zorgrank.middleware.exception :as e... |
[
{
"context": "; Copyright (c) 2017-present Walmart, Inc.\n;\n; Licensed under the Apache License",
"end": 30,
"score": 0.6498730182647705,
"start": 29,
"tag": "NAME",
"value": "W"
}
] | test/com/walmartlabs/lacinia/pedestal/subscriptions_test.clj | dissoc/lacinia-immutant | 0 | ; Copyright (c) 2017-present Walmart, Inc.
;
; Licensed under the Apache License, Version 2.0 (the "License")
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to... | 66687 | ; Copyright (c) 2017-present <NAME>almart, Inc.
;
; Licensed under the Apache License, Version 2.0 (the "License")
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agre... | true | ; Copyright (c) 2017-present PI:NAME:<NAME>END_PIalmart, Inc.
;
; Licensed under the Apache License, Version 2.0 (the "License")
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicab... |
[
{
"context": "----------------------------\n;; Copyright (c) 2011 Basho Technologies, Inc. All Rights Reserved.\n;;\n;; This file is pr",
"end": 111,
"score": 0.9239675998687744,
"start": 93,
"tag": "NAME",
"value": "Basho Technologies"
}
] | src/knockbox/core.clj | reiddraper/knockbox | 34 | ;; -------------------------------------------------------------------
;; Copyright (c) 2011 Basho Technologies, Inc. All Rights Reserved.
;;
;; This file is provided to you under the Apache License,
;; Version 2.0 (the "License"); you may not use this file
;; except in compliance with the License. You may obtain
;; ... | 47701 | ;; -------------------------------------------------------------------
;; Copyright (c) 2011 <NAME>, Inc. All Rights Reserved.
;;
;; This file is provided to you 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 th... | true | ;; -------------------------------------------------------------------
;; Copyright (c) 2011 PI:NAME:<NAME>END_PI, Inc. All Rights Reserved.
;;
;; This file is provided to you under the Apache License,
;; Version 2.0 (the "License"); you may not use this file
;; except in compliance with the License. You may obtain
;... |
[
{
"context": "(comment\n re-core, Copyright 2012 Ronen Narkis, narkisr.com\n Licensed under the Apache License",
"end": 48,
"score": 0.9998617172241211,
"start": 36,
"tag": "NAME",
"value": "Ronen Narkis"
},
{
"context": "comment\n re-core, Copyright 2012 Ronen Narkis, narkisr.... | src/hypervisors/networking.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 ... | 50101 | (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... | 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 require... |
[
{
"context": "es {\"user\" 5, \"price\" 1}}\n (is (= #{[nil \"Quentin Sören\" 45] [1 \"Quentin Sören\" 10]}\n (set",
"end": 21017,
"score": 0.9998345971107483,
"start": 21004,
"tag": "NAME",
"value": "Quentin Sören"
},
{
"context": "}}\n (is (= #{[nil \... | c#-metabase/enterprise/backend/test/metabase_enterprise/sandbox/query_processor/middleware/row_level_restrictions_test.clj | hanakhry/Crime_Admin | 0 | (ns metabase-enterprise.sandbox.query-processor.middleware.row-level-restrictions-test
(:require [clojure.core.async :as a]
[clojure.string :as str]
[clojure.test :refer :all]
[honeysql.core :as hsql]
[medley.core :as m]
[metabase-enterprise.sandbox.models.g... | 72347 | (ns metabase-enterprise.sandbox.query-processor.middleware.row-level-restrictions-test
(:require [clojure.core.async :as a]
[clojure.string :as str]
[clojure.test :refer :all]
[honeysql.core :as hsql]
[medley.core :as m]
[metabase-enterprise.sandbox.models.g... | true | (ns metabase-enterprise.sandbox.query-processor.middleware.row-level-restrictions-test
(:require [clojure.core.async :as a]
[clojure.string :as str]
[clojure.test :refer :all]
[honeysql.core :as hsql]
[medley.core :as m]
[metabase-enterprise.sandbox.models.g... |
[
{
"context": "ta\"\n (audit/create-event\n {:username \"authUserName\"}\n {:hostname \"hostname\" :reason \"schoko-r",
"end": 406,
"score": 0.9995568990707397,
"start": 394,
"tag": "USERNAME",
"value": "authUserName"
},
{
"context": "ames \"allowed1,allowed2\",\n ... | test/org/zalando/stups/even/audit_test.clj | zalando-stups/even | 43 | (ns org.zalando.stups.even.audit-test
(:import java.net.InetAddress)
(:require [clojure.test :refer :all]
[midje.sweet :refer :all]
[org.zalando.stups.even.audit :as audit]))
(deftest ^:unit test-create-event
(facts "about creating audittrail events"
(fact "creates valid audittrail ev... | 68866 | (ns org.zalando.stups.even.audit-test
(:import java.net.InetAddress)
(:require [clojure.test :refer :all]
[midje.sweet :refer :all]
[org.zalando.stups.even.audit :as audit]))
(deftest ^:unit test-create-event
(facts "about creating audittrail events"
(fact "creates valid audittrail ev... | true | (ns org.zalando.stups.even.audit-test
(:import java.net.InetAddress)
(:require [clojure.test :refer :all]
[midje.sweet :refer :all]
[org.zalando.stups.even.audit :as audit]))
(deftest ^:unit test-create-event
(facts "about creating audittrail events"
(fact "creates valid audittrail ev... |
[
{
"context": "om/\"]\n {:title title\n :description \"Blog of Andrey Bogoyavlensky mostly about programming\"\n :keywords [\"blog\" ",
"end": 1112,
"score": 0.9997411966323853,
"start": 1092,
"tag": "NAME",
"value": "Andrey Bogoyavlensky"
},
{
"context": "le)\n :link l... | src/blog/app.clj | abogoyavlensky/abogoyavlensky.github.io | 2 | (ns blog.app
(:require [clojure.java.io :as io]
[clojure.xml :as xml]
[compojure.core :refer [defroutes GET]]
[compojure.route :as route]
[com.stuartsierra.component :as component]
[rum.core :as rum]
[blog.server :refer [new-server]]
... | 57134 | (ns blog.app
(:require [clojure.java.io :as io]
[clojure.xml :as xml]
[compojure.core :refer [defroutes GET]]
[compojure.route :as route]
[com.stuartsierra.component :as component]
[rum.core :as rum]
[blog.server :refer [new-server]]
... | true | (ns blog.app
(:require [clojure.java.io :as io]
[clojure.xml :as xml]
[compojure.core :refer [defroutes GET]]
[compojure.route :as route]
[com.stuartsierra.component :as component]
[rum.core :as rum]
[blog.server :refer [new-server]]
... |
[
{
"context": "/db {:bolha_id bolha-id})\n bolha-key (str \"playlist-bolha-\" bolha-id)\n votos-bolha-key (str \"playlist-",
"end": 11641,
"score": 0.9006745219230652,
"start": 11625,
"tag": "KEY",
"value": "playlist-bolha-\""
},
{
"context": "t-bolha-\" bolha-id)\n ... | src/bolha_musical_api/general_functions/spotify/track.clj | LeafarDev/bolha-musical-api | 1 | (ns bolha-musical-api.general-functions.spotify.track
(:require [clj-http.client :as client]
[clj-spotify.core :as sptfy]
[bolha-musical-api.util :refer [partition-by-max-sized-piece]]
[bolha-musical-api.query-defs :as query]
[clj-time.core :as time-clj]
[cl... | 66518 | (ns bolha-musical-api.general-functions.spotify.track
(:require [clj-http.client :as client]
[clj-spotify.core :as sptfy]
[bolha-musical-api.util :refer [partition-by-max-sized-piece]]
[bolha-musical-api.query-defs :as query]
[clj-time.core :as time-clj]
[cl... | true | (ns bolha-musical-api.general-functions.spotify.track
(:require [clj-http.client :as client]
[clj-spotify.core :as sptfy]
[bolha-musical-api.util :refer [partition-by-max-sized-piece]]
[bolha-musical-api.query-defs :as query]
[clj-time.core :as time-clj]
[cl... |
[
{
"context": ";; Copyright (c) 2010 Tom Crayford,\n;;\n;; Redistribution and use in source and binar",
"end": 34,
"score": 0.9998222589492798,
"start": 22,
"tag": "NAME",
"value": "Tom Crayford"
}
] | src/clojure_refactoring/support/core.clj | tcrayford/clojure-refactoring | 6 | ;; Copyright (c) 2010 Tom Crayford,
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions
;; are met:
;;
;; Redistributions of source code must retain the above copyright
;; notice, this list of conditions and the following... | 108662 | ;; Copyright (c) 2010 <NAME>,
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions
;; are met:
;;
;; Redistributions of source code must retain the above copyright
;; notice, this list of conditions and the following discl... | true | ;; Copyright (c) 2010 PI:NAME:<NAME>END_PI,
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions
;; are met:
;;
;; Redistributions of source code must retain the above copyright
;; notice, this list of conditions and the f... |
[
{
"context": "; Copyright 2020 Mark Wardle and Eldrix Ltd\n;\n; Licensed under the Apache Li",
"end": 28,
"score": 0.999863862991333,
"start": 17,
"tag": "NAME",
"value": "Mark Wardle"
}
] | src/com/eldrix/hermes/ext/uk/dmd/import.clj | sidharthramesh/hermes | 0 | ; Copyright 2020 Mark Wardle and Eldrix Ltd
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law ... | 65706 | ; Copyright 2020 <NAME> and Eldrix Ltd
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or ag... | true | ; Copyright 2020 PI:NAME:<NAME>END_PI and Eldrix Ltd
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applic... |
[
{
"context": ";;;;;;;;;;;;;;;\n;; crypto_O Copyright (C) [2016] [Seth Schroeder] ;;\n;; ",
"end": 132,
"score": 0.9998720288276672,
"start": 118,
"tag": "NAME",
"value": "Seth Schroeder"
}
] | src/crypto_O/core.clj | foogoof/crypto_O | 0 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; crypto_O Copyright (C) [2016] [Seth Schroeder] ;;
;; ;;
;; http://www.samiam.org was the basis for much of this code. Proble... | 2883 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; crypto_O Copyright (C) [2016] [<NAME>] ;;
;; ;;
;; http://www.samiam.org was the basis for much of this code. Problems are m... | true | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; crypto_O Copyright (C) [2016] [PI:NAME:<NAME>END_PI] ;;
;; ;;
;; http://www.samiam.org was the basis for much of this code. ... |
[
{
"context": "email-smtp-security :tls\n :email-smtp-username \"munchkin\"\n :email-smtp-password \"gobble gobble\"\n :emai",
"end": 1359,
"score": 0.9996687769889832,
"start": 1351,
"tag": "USERNAME",
"value": "munchkin"
},
{
"context": "smtp-username \"munchkin\"\n :email-s... | c#-metabase/test/metabase/api/email_test.clj | hanakhry/Crime_Admin | 0 | (ns metabase.api.email-test
(:require [clojure.test :refer :all]
[metabase.api.email :as api.email]
[metabase.email :as email]
[metabase.models.setting :as setting]
[metabase.test :as mt]
[metabase.test.util :as tu]
[metabase.util :as u]))
(deft... | 44681 | (ns metabase.api.email-test
(:require [clojure.test :refer :all]
[metabase.api.email :as api.email]
[metabase.email :as email]
[metabase.models.setting :as setting]
[metabase.test :as mt]
[metabase.test.util :as tu]
[metabase.util :as u]))
(deft... | true | (ns metabase.api.email-test
(:require [clojure.test :refer :all]
[metabase.api.email :as api.email]
[metabase.email :as email]
[metabase.models.setting :as setting]
[metabase.test :as mt]
[metabase.test.util :as tu]
[metabase.util :as u]))
(deft... |
[
{
"context": "(ns maximgb.re-state.core\n {:author \"Maxim Bazhenov\"})\n\n\n(defmacro def-machine\n \"Defines a var which",
"end": 52,
"score": 0.9998546242713928,
"start": 38,
"tag": "NAME",
"value": "Maxim Bazhenov"
}
] | src/cljs/maximgb/re_state/core.clj | MaximGB/re-state | 54 | (ns maximgb.re-state.core
{:author "Maxim Bazhenov"})
(defmacro def-machine
"Defines a var which is a reference to XState based state machine with given config."
[var-name config]
`(def ~var-name (machine! ~config)))
(defmacro let-machine
"Creates machine with `config`, binds it to a local var `var-name` ... | 89106 | (ns maximgb.re-state.core
{:author "<NAME>"})
(defmacro def-machine
"Defines a var which is a reference to XState based state machine with given config."
[var-name config]
`(def ~var-name (machine! ~config)))
(defmacro let-machine
"Creates machine with `config`, binds it to a local var `var-name` using `l... | true | (ns maximgb.re-state.core
{:author "PI:NAME:<NAME>END_PI"})
(defmacro def-machine
"Defines a var which is a reference to XState based state machine with given config."
[var-name config]
`(def ~var-name (machine! ~config)))
(defmacro let-machine
"Creates machine with `config`, binds it to a local var `var-... |
[
{
"context": "goptions :options,\n :pgpassword :password,\n ;; int string\n :pgport :port,\n ",
"end": 2104,
"score": 0.9992260932922363,
"start": 2096,
"tag": "PASSWORD",
"value": "password"
},
{
"context": " :dbname :database\n :host :host\n :... | src/com/grzm/pique/alpha/env/environment.clj | Vertalo/pique.alpha | 2 | (ns com.grzm.pique.alpha.env.environment
(:require
[clojure.set :as set]
[clojure.string :as str]
[clojure.tools.logging :as log]
[com.grzm.pique.alpha.env.password :as password])
(:import
(clojure.lang ExceptionInfo)))
(defprotocol EnvironmentReader
(-system-env [er])
;; password
(-env-passwo... | 105946 | (ns com.grzm.pique.alpha.env.environment
(:require
[clojure.set :as set]
[clojure.string :as str]
[clojure.tools.logging :as log]
[com.grzm.pique.alpha.env.password :as password])
(:import
(clojure.lang ExceptionInfo)))
(defprotocol EnvironmentReader
(-system-env [er])
;; password
(-env-passwo... | true | (ns com.grzm.pique.alpha.env.environment
(:require
[clojure.set :as set]
[clojure.string :as str]
[clojure.tools.logging :as log]
[com.grzm.pique.alpha.env.password :as password])
(:import
(clojure.lang ExceptionInfo)))
(defprotocol EnvironmentReader
(-system-env [er])
;; password
(-env-passwo... |
[
{
"context": " [config.core :refer [env]]\n [robert.bruce :refer [try-try-again]]\n [clj-time.for",
"end": 780,
"score": 0.9421053528785706,
"start": 768,
"tag": "USERNAME",
"value": "robert.bruce"
},
{
"context": "agent-name \"hypothesis-agent\")\n(def... | src/event_data_agents/agents/hypothesis/core.clj | CrossRef/event-data-agents | 3 | (ns event-data-agents.agents.hypothesis.core
"Process every Hypothes.is annotation.
Schedule and checkpointing:
Connect to Hypothes.is API every S hours and get all results since the last run."
(:require [event-data-agents.util :as util]
[event-data-common.checkpoint :as checkpoint]
[... | 67999 | (ns event-data-agents.agents.hypothesis.core
"Process every Hypothes.is annotation.
Schedule and checkpointing:
Connect to Hypothes.is API every S hours and get all results since the last run."
(:require [event-data-agents.util :as util]
[event-data-common.checkpoint :as checkpoint]
[... | true | (ns event-data-agents.agents.hypothesis.core
"Process every Hypothes.is annotation.
Schedule and checkpointing:
Connect to Hypothes.is API every S hours and get all results since the last run."
(:require [event-data-agents.util :as util]
[event-data-common.checkpoint :as checkpoint]
[... |
[
{
"context": ")))\n nil))\n\n(def wp-generate-password-chars\n \"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789\")\n\n(defn wp-generate-password\n \"https://github.c",
"end": 1118,
"score": 0.8741664290428162,
"start": 1056,
"tag": "PASSWORD",
"value": "abcdefghijklmnopq... | static-wp-daemon/src/io/staticweb/static_wp_daemon/util.clj | staticweb-io/staticweb-open-wp | 5 | (ns io.staticweb.static-wp-daemon.util
(:require [clojure.edn :as edn]
[clojure.java.io :as io]
[clojure.java.shell :as sh :refer (sh)]
[clojure.pprint :refer (pprint)]
[clojure.string :as str]))
(defn get-config []
(edn/read-string (slurp "/opt/staticweb/config.edn"... | 33684 | (ns io.staticweb.static-wp-daemon.util
(:require [clojure.edn :as edn]
[clojure.java.io :as io]
[clojure.java.shell :as sh :refer (sh)]
[clojure.pprint :refer (pprint)]
[clojure.string :as str]))
(defn get-config []
(edn/read-string (slurp "/opt/staticweb/config.edn"... | true | (ns io.staticweb.static-wp-daemon.util
(:require [clojure.edn :as edn]
[clojure.java.io :as io]
[clojure.java.shell :as sh :refer (sh)]
[clojure.pprint :refer (pprint)]
[clojure.string :as str]))
(defn get-config []
(edn/read-string (slurp "/opt/staticweb/config.edn"... |
[
{
"context": " (member.name = ? and member.email = ?) limit 1\" \"test\" \"test@test.com\"]\n (sql/sql-vec :pg {} ",
"end": 1750,
"score": 0.9992294907569885,
"start": 1746,
"tag": "USERNAME",
"value": "test"
},
{
"context": "r.name = ? and member.email = ?) limit 1\" \"tes... | test/lighthouse/sql_test.clj | coast-framework/lighthouse | 20 | (ns lighthouse.sql-test
(:require [lighthouse.sql :as sql]
[clojure.test :refer [deftest testing is use-fixtures]]
[pjstadig.humane-test-output :as humane-test-output]))
(defn setup [f]
(humane-test-output/activate!)
(f))
(use-fixtures :once setup)
(deftest where-test
(testing "where ... | 41431 | (ns lighthouse.sql-test
(:require [lighthouse.sql :as sql]
[clojure.test :refer [deftest testing is use-fixtures]]
[pjstadig.humane-test-output :as humane-test-output]))
(defn setup [f]
(humane-test-output/activate!)
(f))
(use-fixtures :once setup)
(deftest where-test
(testing "where ... | true | (ns lighthouse.sql-test
(:require [lighthouse.sql :as sql]
[clojure.test :refer [deftest testing is use-fixtures]]
[pjstadig.humane-test-output :as humane-test-output]))
(defn setup [f]
(humane-test-output/activate!)
(f))
(use-fixtures :once setup)
(deftest where-test
(testing "where ... |
[
{
"context": "pe \"password\"\n :username \"testing@cheffy.app\"\n :password \"\"\n ",
"end": 442,
"score": 0.999912679195404,
"start": 424,
"tag": "EMAIL",
"value": "testing@cheffy.app"
}
] | src/clj/cheffy/auth0.clj | kelvin-mai/clj-cheffy | 2 | (ns cheffy.auth0
(:require [clj-http.client :as http]
[muuntaja.core :as m]))
(defn get-test-token []
(->> {:content-type :json
:cookie-policy :standard
:body (m/encode "application/json"
{:client_id ""
:audience "https://kelvin-cheffy.us... | 7602 | (ns cheffy.auth0
(:require [clj-http.client :as http]
[muuntaja.core :as m]))
(defn get-test-token []
(->> {:content-type :json
:cookie-policy :standard
:body (m/encode "application/json"
{:client_id ""
:audience "https://kelvin-cheffy.us... | true | (ns cheffy.auth0
(:require [clj-http.client :as http]
[muuntaja.core :as m]))
(defn get-test-token []
(->> {:content-type :json
:cookie-policy :standard
:body (m/encode "application/json"
{:client_id ""
:audience "https://kelvin-cheffy.us... |
[
{
"context": "perspectral_images_of_natural_scenes_04.html\n;; by Noah C. Benson\n\n(ns brainardlab.nben.retina.hyperspectral\n (:us",
"end": 520,
"score": 0.9998487830162048,
"start": 506,
"tag": "NAME",
"value": "Noah C. Benson"
}
] | src/main/clojure/brainardlab/nben/retina/hyperspectral.clj | DavidBrainard/ReceptorLearning | 1 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; hyperspectral.clj
;; Hyperspectral image loaders and processors for dealing with these hyperspectral iamge databases:
;; 1) Parragas1998: http://www.cvc.uab.es/color_calibration/Bristol_Hyper/
;; 2) Chakrabarti20... | 104037 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; hyperspectral.clj
;; Hyperspectral image loaders and processors for dealing with these hyperspectral iamge databases:
;; 1) Parragas1998: http://www.cvc.uab.es/color_calibration/Bristol_Hyper/
;; 2) Chakrabarti20... | true | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; hyperspectral.clj
;; Hyperspectral image loaders and processors for dealing with these hyperspectral iamge databases:
;; 1) Parragas1998: http://www.cvc.uab.es/color_calibration/Bristol_Hyper/
;; 2) Chakrabarti20... |
[
{
"context": "; Copyright (c) Chris Houser, Sep 2008-Jan 2009. All rights reserved.\n; The ",
"end": 30,
"score": 0.9997897744178772,
"start": 18,
"tag": "NAME",
"value": "Chris Houser"
}
] | ThirdParty/clojure-contrib-1.1.0/clojurescript/src/clojure/contrib/clojurescript.clj | allertonm/Couverjure | 3 | ; Copyright (c) Chris Houser, Sep 2008-Jan 2009. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
; which can be found in the file epl-v10.html at the root of this distribution.
; By using t... | 82215 | ; Copyright (c) <NAME>, Sep 2008-Jan 2009. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
; which can be found in the file epl-v10.html at the root of this distribution.
; By using this so... | true | ; Copyright (c) PI:NAME:<NAME>END_PI, Sep 2008-Jan 2009. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
; which can be found in the file epl-v10.html at the root of this distribution.
; By... |
[
{
"context": " ;;\n;; Author: Jon Anthony ",
"end": 2076,
"score": 0.9998570680618286,
"start": 2065,
"tag": "NAME",
"value": "Jon Anthony"
},
{
"context": "1574413,\n \\\"C\\\" 0.1363044691006... | src/edu/bc/bio/sequtils/dists.clj | jsa-aerial/gaisr | 1 | ;;--------------------------------------------------------------------------;;
;; ;;
;; S E Q U T I L S . D I S T S ;;
;; ;;
;; ... | 122837 | ;;--------------------------------------------------------------------------;;
;; ;;
;; S E Q U T I L S . D I S T S ;;
;; ;;
;; ... | true | ;;--------------------------------------------------------------------------;;
;; ;;
;; S E Q U T I L S . D I S T S ;;
;; ;;
;; ... |
[
{
"context": ";; Copyright (c) Nicola Mometto, Rich Hickey & contributors.\n;; The use and dis",
"end": 33,
"score": 0.9998525977134705,
"start": 19,
"tag": "NAME",
"value": "Nicola Mometto"
},
{
"context": ";; Copyright (c) Nicola Mometto, Rich Hickey & contributors.\n;; The... | src/lucid/legacy/analyzer/passes/jvm/annotate_tag.clj | willcohen/lucidity | 3 | ;; Copyright (c) Nicola Mometto, Rich Hickey & contributors.
;; The use and distribution terms for this software are covered by the
;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
;; which can be found in the file epl-v10.html at the root of this distribution.
;; By using this s... | 44765 | ;; Copyright (c) <NAME>, <NAME> & contributors.
;; The use and distribution terms for this software are covered by the
;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
;; which can be found in the file epl-v10.html at the root of this distribution.
;; By using this software in an... | true | ;; Copyright (c) PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI & contributors.
;; The use and distribution terms for this software are covered by the
;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
;; which can be found in the file epl-v10.html at the root of this distribution.
;; ... |
[
{
"context": " a map of controls by key, like:\n `{k1 [{:keys #{k1 k2} :event [evt] :id ctrl-id}]\n k2 [{:keys #{k1 k",
"end": 4581,
"score": 0.7893915772438049,
"start": 4576,
"tag": "KEY",
"value": "k1 k2"
},
{
"context": " k2} :event [evt] :id ctrl-id}]\n k2 [{:keys #{k1 k2... | src/games/controls/re_pressed.cljs | russmatney/reframe-games | 29 | (ns games.controls.re-pressed
(:require
[re-frame.core :as rf]
[re-pressed.core :as rp]))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Key Data and maps
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(def key-label->re-pressed-key
"Map... | 108683 | (ns games.controls.re-pressed
(:require
[re-frame.core :as rf]
[re-pressed.core :as rp]))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Key Data and maps
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(def key-label->re-pressed-key
"Map... | true | (ns games.controls.re-pressed
(:require
[re-frame.core :as rf]
[re-pressed.core :as rp]))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Key Data and maps
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(def key-label->re-pressed-key
"Map... |
[
{
"context": " {:exit 0\n :out \"test1@N.EXAMPLE.COM\\ntest2@N.EXAMPLE.COM\"})]\n (is (= #{\"test1\" \"",
"end": 1219,
"score": 0.9996035695075989,
"start": 1200,
"tag": "EMAIL",
"value": "test1@N.EXAMPLE.COM"
},
{
"context": " ... | waiter/test/waiter/auth/kerberos_test.clj | pandashadopan/waiter | 0 | ;;
;; Copyright (c) Two Sigma Open Source, LLC
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or... | 28554 | ;;
;; Copyright (c) Two Sigma Open Source, LLC
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or... | true | ;;
;; Copyright (c) Two Sigma Open Source, LLC
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or... |
[
{
"context": " :dbname \"srdb\"\n :host \"172.20.0.2\" ;;comment this line out on non-docker/manual ins",
"end": 176,
"score": 0.9996477365493774,
"start": 166,
"tag": "IP_ADDRESS",
"value": "172.20.0.2"
},
{
"context": " :user \"sruser\"\n ... | src/supremereality/database.clj | 8b2eef7c901269e8e9a6ec532d57b6b1/supremereality | 4 | (in-ns 'supremereality.core)
;; Database connection info (change the password)
(def db-spec {:dbtype "postgresql"
:dbname "srdb"
:host "172.20.0.2" ;;comment this line out on non-docker/manual installations
:user "sruser"
:password "srpass"})
;;db functions
(d... | 93896 | (in-ns 'supremereality.core)
;; Database connection info (change the password)
(def db-spec {:dbtype "postgresql"
:dbname "srdb"
:host "172.20.0.2" ;;comment this line out on non-docker/manual installations
:user "sruser"
:password "<PASSWORD>"})
;;db functions... | true | (in-ns 'supremereality.core)
;; Database connection info (change the password)
(def db-spec {:dbtype "postgresql"
:dbname "srdb"
:host "172.20.0.2" ;;comment this line out on non-docker/manual installations
:user "sruser"
:password "PI:PASSWORD:<PASSWORD>END_PI"... |
[
{
"context": "euntes\" 9 \"neunten\" 9 \"neuntem\" 9 \n \"zehnte\" 10 \"zehnter\" 10 \"zehntes\" 10 \"zehnten\" 10 \"zehnt",
"end": 6823,
"score": 0.6965804696083069,
"start": 6817,
"tag": "NAME",
"value": "zehnte"
},
{
"context": "eunten\" 9 \"neuntem\" 9 \n ... | duckling-time/src/main/resources/languages/de/rules/numbers.clj | redlink-gmbh/redlink-nlp | 0 | (
"intersect"
[(dim :number :grain #(> (:grain %) 1)) (dim :number)] ; grain 1 are taken care of by specific rule
(compose-numbers %1 %2)
"intersect (with and)"
[(dim :number :grain #(> (:grain %) 1)) #"(?i)und" (dim :number)] ; grain 1 are taken care of by specific rule
(compose-numbers %1 %3)
;;
;;... | 113246 | (
"intersect"
[(dim :number :grain #(> (:grain %) 1)) (dim :number)] ; grain 1 are taken care of by specific rule
(compose-numbers %1 %2)
"intersect (with and)"
[(dim :number :grain #(> (:grain %) 1)) #"(?i)und" (dim :number)] ; grain 1 are taken care of by specific rule
(compose-numbers %1 %3)
;;
;;... | true | (
"intersect"
[(dim :number :grain #(> (:grain %) 1)) (dim :number)] ; grain 1 are taken care of by specific rule
(compose-numbers %1 %2)
"intersect (with and)"
[(dim :number :grain #(> (:grain %) 1)) #"(?i)und" (dim :number)] ; grain 1 are taken care of by specific rule
(compose-numbers %1 %3)
;;
;;... |
[
{
"context": "refix \"__status__day__\")\n(def pubsub-key \"__status__pubsub__\")\n\n(defn filter-at-4-levels\n \"Walk a nes",
"end": 1827,
"score": 0.6234883666038513,
"start": 1827,
"tag": "KEY",
"value": ""
}
] | src/event_data_status_service/core.clj | CrossRef/event-data-status-service | 0 | (ns event-data-status-service.core
"Status Service. Keeps per-minute counts of service/component/facet activity. Examples:
- wikipedia/input-stream/input-event
- wikipedia/restbase/request
- wikipedia/restbase/response-ok
- wikipedia/restbase/reponse-error
- wikipedia/events/evidence-created
- wikip... | 35740 | (ns event-data-status-service.core
"Status Service. Keeps per-minute counts of service/component/facet activity. Examples:
- wikipedia/input-stream/input-event
- wikipedia/restbase/request
- wikipedia/restbase/response-ok
- wikipedia/restbase/reponse-error
- wikipedia/events/evidence-created
- wikip... | true | (ns event-data-status-service.core
"Status Service. Keeps per-minute counts of service/component/facet activity. Examples:
- wikipedia/input-stream/input-event
- wikipedia/restbase/request
- wikipedia/restbase/response-ok
- wikipedia/restbase/reponse-error
- wikipedia/events/evidence-created
- wikip... |
[
{
"context": "ion]))\n\n;; ## Fixtures\n\n(def opts\n {:username \"abc\"\n :passphrase \"def\"\n :region \"ghi\"\n :pa",
"end": 363,
"score": 0.9973279237747192,
"start": 360,
"tag": "USERNAME",
"value": "abc"
},
{
"context": "s\n\n(def opts\n {:username \"abc\"\n :... | ancient-clj/test/ancient_clj/io/s3_test.clj | danielcompton/lein-ancient | 0 | (ns ancient-clj.io.s3-test
(:require [midje.sweet :refer :all]
[ancient-clj.io
[s3 :refer [s3-loader]]
[xml :refer [metadata-uri]]
[xml-test :as xml]]
[clojure.set :refer [rename-keys]])
(:import [com.amazonaws.services.s3.model AmazonS3Exception]))
;;... | 5378 | (ns ancient-clj.io.s3-test
(:require [midje.sweet :refer :all]
[ancient-clj.io
[s3 :refer [s3-loader]]
[xml :refer [metadata-uri]]
[xml-test :as xml]]
[clojure.set :refer [rename-keys]])
(:import [com.amazonaws.services.s3.model AmazonS3Exception]))
;;... | true | (ns ancient-clj.io.s3-test
(:require [midje.sweet :refer :all]
[ancient-clj.io
[s3 :refer [s3-loader]]
[xml :refer [metadata-uri]]
[xml-test :as xml]]
[clojure.set :refer [rename-keys]])
(:import [com.amazonaws.services.s3.model AmazonS3Exception]))
;;... |
[
{
"context": " ;;\n;; Author: Jon Anthony ",
"end": 1839,
"score": 0.9998326301574707,
"start": 1828,
"tag": "NAME",
"value": "Jon Anthony"
}
] | src/aerobio/params.clj | jsa-aerial/aerobio | 3 | ;;--------------------------------------------------------------------------;;
;; ;;
;; A E R O B I O . P A R A M S ;;
;; ;;
;; P... | 39285 | ;;--------------------------------------------------------------------------;;
;; ;;
;; A E R O B I O . P A R A M S ;;
;; ;;
;; P... | true | ;;--------------------------------------------------------------------------;;
;; ;;
;; A E R O B I O . P A R A M S ;;
;; ;;
;; P... |
[
{
"context": "ms\n (transform-params {\"api-key\" \"api_key\" :q \"Sunday Igboho\" :output :html :engine :baidu}))\n \n (validate-p",
"end": 1132,
"score": 0.8472626209259033,
"start": 1119,
"tag": "KEY",
"value": "Sunday Igboho"
}
] | src/serpapi/schema.clj | Flexiana/google-search-results-clojure | 2 | (ns serpapi.schema
(:require [malli.core :as m]
[malli.transform :as mt]
[malli.error :as me]))
(def ApiKey ["api_key" [:string {:min 1}]])
(def Output ["output" {:optional true} [:enum {:default "json"} "json" "html"]])
(def SearchParams
[:map
["engine" [:enum {:default "google"} "... | 49523 | (ns serpapi.schema
(:require [malli.core :as m]
[malli.transform :as mt]
[malli.error :as me]))
(def ApiKey ["api_key" [:string {:min 1}]])
(def Output ["output" {:optional true} [:enum {:default "json"} "json" "html"]])
(def SearchParams
[:map
["engine" [:enum {:default "google"} "... | true | (ns serpapi.schema
(:require [malli.core :as m]
[malli.transform :as mt]
[malli.error :as me]))
(def ApiKey ["api_key" [:string {:min 1}]])
(def Output ["output" {:optional true} [:enum {:default "json"} "json" "html"]])
(def SearchParams
[:map
["engine" [:enum {:default "google"} "... |
[
{
"context": " :handlers [{:userid \"bob\"} {:userid \"carl\"}]}]\n (testing \"valid form\"\n (is (= {",
"end": 1460,
"score": 0.8182482719421387,
"start": 1456,
"tag": "NAME",
"value": "carl"
},
{
"context": " :type :dynamic\n :handlers [\"bob\... | test/cljs/rems/test/administration/workflow.cljs | secureb2share/secureb2share-rems | 0 | (ns rems.test.administration.workflow
(:require [cljs.test :refer-macros [deftest is testing]]
[rems.administration.workflow :refer [build-request]]))
(deftest build-request-test
(testing "all workflows"
(let [form {:organization "abc"
:title "workflow title"
:type :... | 84459 | (ns rems.test.administration.workflow
(:require [cljs.test :refer-macros [deftest is testing]]
[rems.administration.workflow :refer [build-request]]))
(deftest build-request-test
(testing "all workflows"
(let [form {:organization "abc"
:title "workflow title"
:type :... | true | (ns rems.test.administration.workflow
(:require [cljs.test :refer-macros [deftest is testing]]
[rems.administration.workflow :refer [build-request]]))
(deftest build-request-test
(testing "all workflows"
(let [form {:organization "abc"
:title "workflow title"
:type :... |
[
{
"context": "problem-url\n \"https://docs.google.com/forms/d/e/1FAIpQLSdC_SMeYaVpx-60rxR6XXhDiDHoJLltJNXC3MAmxS8PgMb",
"end": 3808,
"score": 0.5742195248603821,
"start": 3806,
"tag": "KEY",
"value": "FA"
},
{
"context": "lem-url\n \"https://docs.google.com/forms/d/e/1FAIpQLSdC_SMe... | src/password_helper/util.cljs | psyho/let-me-pass | 0 | (ns password-helper.util
(:require [cljs.core.async :as async :refer [>! go]]))
(goog-define debugging true)
(goog-define running-inline false)
(defn- debug
"Prints a debug message if debugging is enabled"
[message & args]
(if debugging (apply js/console.log message args)))
(defn ignore-errors
"Executes ... | 99043 | (ns password-helper.util
(:require [cljs.core.async :as async :refer [>! go]]))
(goog-define debugging true)
(goog-define running-inline false)
(defn- debug
"Prints a debug message if debugging is enabled"
[message & args]
(if debugging (apply js/console.log message args)))
(defn ignore-errors
"Executes ... | true | (ns password-helper.util
(:require [cljs.core.async :as async :refer [>! go]]))
(goog-define debugging true)
(goog-define running-inline false)
(defn- debug
"Prints a debug message if debugging is enabled"
[message & args]
(if debugging (apply js/console.log message args)))
(defn ignore-errors
"Executes ... |
[
{
"context": "! *unchecked-math* :warn-on-boxed)\n(ns ^{:author \"wahpenayo at gmail dot com\"\n :date \"2018-01-31",
"end": 88,
"score": 0.43789076805114746,
"start": 87,
"tag": "EMAIL",
"value": "w"
},
{
"context": "unchecked-math* :warn-on-boxed)\n(ns ^{:author \"wahpenayo at... | src/test/clojure/zana/test/data/binaryio.clj | wahpenayo/zana | 2 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "wahpenayo at gmail dot com"
:date "2018-01-31"
:doc "Tests for zana.data.datum." }
zana.test.data.binaryio
(:require [clojure.java.io :as io]
[clojure.test :as test]
[zana.api :as z]
... | 113311 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "<EMAIL>ah<EMAIL>ayo at gmail dot com"
:date "2018-01-31"
:doc "Tests for zana.data.datum." }
zana.test.data.binaryio
(:require [clojure.java.io :as io]
[clojure.test :as test]
[zana.a... | true | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "PI:EMAIL:<EMAIL>END_PIahPI:EMAIL:<EMAIL>END_PIayo at gmail dot com"
:date "2018-01-31"
:doc "Tests for zana.data.datum." }
zana.test.data.binaryio
(:require [clojure.java.io :as io]
[clojure.test... |
[
{
"context": "person open-key data-center-name]\n (let [{:keys [FirstName MiddleName LastName NonDataCenterAffiliation Cont",
"end": 5420,
"score": 0.7604518532752991,
"start": 5411,
"tag": "NAME",
"value": "FirstName"
},
{
"context": "en-key data-center-name]\n (let [{:keys [First... | umm-spec-lib/src/cmr/umm_spec/umm_to_xml_mappings/iso19115_2/data_contact.clj | daniel-zamora/Common-Metadata-Repository | 294 | (ns cmr.umm-spec.umm-to-xml-mappings.iso19115-2.data-contact
"Functions for generating ISO19115-2 XML elements from UMM DataCenters, ContactPersons and ContactGroups."
(:require
[clojure.set :as set]
[clojure.string :as str]
[cmr.common.xml.gen :refer :all]
[cmr.umm-spec.iso19115-2-util :as iso]
[cmr... | 110855 | (ns cmr.umm-spec.umm-to-xml-mappings.iso19115-2.data-contact
"Functions for generating ISO19115-2 XML elements from UMM DataCenters, ContactPersons and ContactGroups."
(:require
[clojure.set :as set]
[clojure.string :as str]
[cmr.common.xml.gen :refer :all]
[cmr.umm-spec.iso19115-2-util :as iso]
[cmr... | true | (ns cmr.umm-spec.umm-to-xml-mappings.iso19115-2.data-contact
"Functions for generating ISO19115-2 XML elements from UMM DataCenters, ContactPersons and ContactGroups."
(:require
[clojure.set :as set]
[clojure.string :as str]
[cmr.common.xml.gen :refer :all]
[cmr.umm-spec.iso19115-2-util :as iso]
[cmr... |
[
{
"context": "ility functions.\n;; Copyright 2011-2012, Vixu.com, F.M. (Filip) de Waard <fmw@vixu.com>.\n;;\n;; Licensed und",
"end": 97,
"score": 0.9859895706176758,
"start": 94,
"tag": "NAME",
"value": "F.M"
},
{
"context": "unctions.\n;; Copyright 2011-2012, Vixu.com, F.M. (Filip)... | test/clj/vix/test/util.clj | fmw/vix | 22 | ;; test/vix/test/util.clj tests for misc utility functions.
;; Copyright 2011-2012, Vixu.com, F.M. (Filip) de Waard <fmw@vixu.com>.
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; h... | 119347 | ;; test/vix/test/util.clj tests for misc utility functions.
;; Copyright 2011-2012, Vixu.com, <NAME>. (<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.a... | true | ;; test/vix/test/util.clj tests for misc utility functions.
;; Copyright 2011-2012, Vixu.com, PI:NAME:<NAME>END_PI. (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 ... |
[
{
"context": "DKV Client in Clojure\"\n :url \"https://github.com/flipkart-incubator/dkv\"\n :license {:name \"Apache License 2.0\"\n ",
"end": 133,
"score": 0.9983073472976685,
"start": 115,
"tag": "USERNAME",
"value": "flipkart-incubator"
},
{
"context": "NSE-2.0\"\n ... | clients/clj/dkv-client/project.clj | manishankarbalu/dkv | 57 | (defproject dkv-client "0.1.0-SNAPSHOT"
:description "Official DKV Client in Clojure"
:url "https://github.com/flipkart-incubator/dkv"
:license {:name "Apache License 2.0"
:url "https://www.apache.org/licenses/LICENSE-2.0"
:year 2020
:key "apache-2.0"}
:main dkv-client.core
... | 122932 | (defproject dkv-client "0.1.0-SNAPSHOT"
:description "Official DKV Client in Clojure"
:url "https://github.com/flipkart-incubator/dkv"
:license {:name "Apache License 2.0"
:url "https://www.apache.org/licenses/LICENSE-2.0"
:year 2020
:key "<KEY>"}
:main dkv-client.core
:pro... | true | (defproject dkv-client "0.1.0-SNAPSHOT"
:description "Official DKV Client in Clojure"
:url "https://github.com/flipkart-incubator/dkv"
:license {:name "Apache License 2.0"
:url "https://www.apache.org/licenses/LICENSE-2.0"
:year 2020
:key "PI:KEY:<KEY>END_PI"}
:main dkv-clien... |
[
{
"context": ";; Copyright 2014-2020 King\n;; Copyright 2009-2014 Ragnar Svensson, Christian Murray\n;; Licensed under the Defold Li",
"end": 111,
"score": 0.9998195767402649,
"start": 96,
"tag": "NAME",
"value": "Ragnar Svensson"
},
{
"context": "-2020 King\n;; Copyright 2009-2014 R... | editor/src/clj/editor/code/data.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... | 106862 | ;; 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": "eed generation and seed resource IO.\"\n :author \"wahpenayo at gmail dot com\"\n :since \"2017-11-01\"\n",
"end": 235,
"score": 0.380787193775177,
"start": 234,
"tag": "USERNAME",
"value": "w"
},
{
"context": "ration and seed resource IO.\"\n :author \"wahpenayo ... | src/main/clojure/zana/prob/seed.clj | wahpenayo/zana | 2 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns zana.prob.seed
{:doc "Independent seed generation and seed resource IO."
:author "wahpenayo at gmail dot com"
:since "2017-11-01"
:date "2017-11-05"}
(:refer... | 61297 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns zana.prob.seed
{:doc "Independent seed generation and seed resource IO."
:author "wahpenay<EMAIL> at g<EMAIL>"
:since "2017-11-01"
:date "2017-11-05"}
(:refe... | true | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns zana.prob.seed
{:doc "Independent seed generation and seed resource IO."
:author "wahpenayPI:EMAIL:<EMAIL>END_PI at gPI:EMAIL:<EMAIL>END_PI"
:since "2017-11-01"
:... |
[
{
"context": "dmin,o=cloud\"\n :password \"secret\"\n :ssl? false\n ",
"end": 471,
"score": 0.9994124174118042,
"start": 465,
"tag": "PASSWORD",
"value": "secret"
}
] | jar/src/main/clojure/eu/stratuslab/authn/ldap.clj | StratusLab/cimi | 0 | (ns eu.stratuslab.authn.ldap
"Functions to allow Friend authentication against an LDAP database."
(:require
[clojure.tools.logging :as log]
[clojure.string :as str]
[clojure.set :as set]
[clj-ldap.client :as ldap]
[schema.core :as s]))
(def ^:dynamic *ldap-connection-pool* nil)
(def ldap-param... | 98574 | (ns eu.stratuslab.authn.ldap
"Functions to allow Friend authentication against an LDAP database."
(:require
[clojure.tools.logging :as log]
[clojure.string :as str]
[clojure.set :as set]
[clj-ldap.client :as ldap]
[schema.core :as s]))
(def ^:dynamic *ldap-connection-pool* nil)
(def ldap-param... | true | (ns eu.stratuslab.authn.ldap
"Functions to allow Friend authentication against an LDAP database."
(:require
[clojure.tools.logging :as log]
[clojure.string :as str]
[clojure.set :as set]
[clj-ldap.client :as ldap]
[schema.core :as s]))
(def ^:dynamic *ldap-connection-pool* nil)
(def ldap-param... |
[
{
"context": ";\n; Copyright (C) 2011,2012 Carlo Sciolla, Peter Monks\n;\n; Licensed under the Apache Licens",
"end": 41,
"score": 0.9998447299003601,
"start": 28,
"tag": "NAME",
"value": "Carlo Sciolla"
},
{
"context": ";\n; Copyright (C) 2011,2012 Carlo Sciolla, Peter Monks\n;\n; L... | src/clojure/alfresco/nodes.clj | lambdalf/lambdalf | 11 | ;
; Copyright (C) 2011,2012 Carlo Sciolla, Peter Monks
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law... | 16168 | ;
; Copyright (C) 2011,2012 <NAME>, <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 t... | true | ;
; Copyright (C) 2011,2012 PI:NAME:<NAME>END_PI, 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 b... |
[
{
"context": "t can be done on two expressions.\"\n :author \"Sean Dawson\"}\n nanoweave.parsers.binary-functions\n (:require",
"end": 135,
"score": 0.9998506307601929,
"start": 124,
"tag": "NAME",
"value": "Sean Dawson"
}
] | src/nanoweave/parsers/binary_functions.clj | NoxHarmonium/nanoweave | 0 | (ns ^{:doc "Parses functional programming style operations
that can be done on two expressions."
:author "Sean Dawson"}
nanoweave.parsers.binary-functions
(:require [blancas.kern.core :refer [bind <|> <?> return]]
[blancas.kern.lexer.java-style :refer [token]]
[nanoweave.ast... | 93361 | (ns ^{:doc "Parses functional programming style operations
that can be done on two expressions."
:author "<NAME>"}
nanoweave.parsers.binary-functions
(:require [blancas.kern.core :refer [bind <|> <?> return]]
[blancas.kern.lexer.java-style :refer [token]]
[nanoweave.ast.bina... | true | (ns ^{:doc "Parses functional programming style operations
that can be done on two expressions."
:author "PI:NAME:<NAME>END_PI"}
nanoweave.parsers.binary-functions
(:require [blancas.kern.core :refer [bind <|> <?> return]]
[blancas.kern.lexer.java-style :refer [token]]
[nano... |
[
{
"context": "or working with geometric shapes.\"\n :author \"Jude Payne\"}\n loom-viz.geometry)\n\n\n(defn overlaps?\n \"Ret",
"end": 84,
"score": 0.9998771548271179,
"start": 74,
"tag": "NAME",
"value": "Jude Payne"
}
] | src/loom_viz/geometry.cljc | judepayne/loom-viz | 0 | (ns ^{:doc "Facilities for working with geometric shapes."
:author "Jude Payne"}
loom-viz.geometry)
(defn overlaps?
"Returns true if m1 and m2 are in collision with each other.
sep is a single distance to be taken into consideration."
[sep m1 m2]
(and (< (:x m1) (+ (:x m2) (:w m2) sep))
(> (... | 117906 | (ns ^{:doc "Facilities for working with geometric shapes."
:author "<NAME>"}
loom-viz.geometry)
(defn overlaps?
"Returns true if m1 and m2 are in collision with each other.
sep is a single distance to be taken into consideration."
[sep m1 m2]
(and (< (:x m1) (+ (:x m2) (:w m2) sep))
(> (+ (:... | true | (ns ^{:doc "Facilities for working with geometric shapes."
:author "PI:NAME:<NAME>END_PI"}
loom-viz.geometry)
(defn overlaps?
"Returns true if m1 and m2 are in collision with each other.
sep is a single distance to be taken into consideration."
[sep m1 m2]
(and (< (:x m1) (+ (:x m2) (:w m2) sep))
... |
[
{
"context": "(System/getenv \"SDK_KEY\"))\n(def FEATURE_FLAG_KEY \"a-boolean-feature\")\n\n(defn- ld-value ^LDValue []\n (-> (LDValue/bui",
"end": 238,
"score": 0.9645510911941528,
"start": 221,
"tag": "KEY",
"value": "a-boolean-feature"
},
{
"context": "ient. SDK_KEY)\n use... | src/launchdarkly_hello_clojure/core.clj | parkside-securities/launchdarkly-hello-clojure | 0 | (ns launchdarkly-hello-clojure.core
(:import [com.launchdarkly.client LDClient LDUser LDUser$Builder]
[com.launchdarkly.client.value LDValue]))
(def SDK_KEY (System/getenv "SDK_KEY"))
(def FEATURE_FLAG_KEY "a-boolean-feature")
(defn- ld-value ^LDValue []
(-> (LDValue/buildArray)
(.add "beta_teste... | 102536 | (ns launchdarkly-hello-clojure.core
(:import [com.launchdarkly.client LDClient LDUser LDUser$Builder]
[com.launchdarkly.client.value LDValue]))
(def SDK_KEY (System/getenv "SDK_KEY"))
(def FEATURE_FLAG_KEY "<KEY>")
(defn- ld-value ^LDValue []
(-> (LDValue/buildArray)
(.add "beta_testers")
(... | true | (ns launchdarkly-hello-clojure.core
(:import [com.launchdarkly.client LDClient LDUser LDUser$Builder]
[com.launchdarkly.client.value LDValue]))
(def SDK_KEY (System/getenv "SDK_KEY"))
(def FEATURE_FLAG_KEY "PI:KEY:<KEY>END_PI")
(defn- ld-value ^LDValue []
(-> (LDValue/buildArray)
(.add "beta_test... |
[
{
"context": "iameter\" 0.1 \"segments\" 16)\n key-str (str \"prj-\" idx)\n projectile (bjs/MeshBuilder.Create",
"end": 245,
"score": 0.6598488092422485,
"start": 242,
"tag": "KEY",
"value": "prj"
},
{
"context": " 250})\n\n(defn dispose [idx]\n (let [key-str (str \"pr... | src/cljs/cube_test/projectile.cljs | vt5491/cube-test | 1 | (ns cube-test.projectile
(:require
[re-frame.core :as re-frame]
[babylonjs :as bjs]
[cube-test.main-scene :as main-scene]))
(defn create [idx init-pos vel]
(let [parms (js-obj "diameter" 0.1 "segments" 16)
key-str (str "prj-" idx)
projectile (bjs/MeshBuilder.CreateSphere key-str parms)]
... | 12910 | (ns cube-test.projectile
(:require
[re-frame.core :as re-frame]
[babylonjs :as bjs]
[cube-test.main-scene :as main-scene]))
(defn create [idx init-pos vel]
(let [parms (js-obj "diameter" 0.1 "segments" 16)
key-str (str "<KEY>-" idx)
projectile (bjs/MeshBuilder.CreateSphere key-str parms)]
... | true | (ns cube-test.projectile
(:require
[re-frame.core :as re-frame]
[babylonjs :as bjs]
[cube-test.main-scene :as main-scene]))
(defn create [idx init-pos vel]
(let [parms (js-obj "diameter" 0.1 "segments" 16)
key-str (str "PI:KEY:<KEY>END_PI-" idx)
projectile (bjs/MeshBuilder.CreateSphere key... |
[
{
"context": ";; @author Lee Barney\n;; @copyright 2021 Lee Barney licensed under the ",
"end": 21,
"score": 0.9998846054077148,
"start": 11,
"tag": "NAME",
"value": "Lee Barney"
},
{
"context": ";; @author Lee Barney\n;; @copyright 2021 Lee Barney licensed under the <a>\n;; r... | docs/week03/provided_solutions/tasks/456.clj | byui-cse/cse382-course | 0 | ;; @author Lee Barney
;; @copyright 2021 Lee Barney licensed under the <a>
;; rel="license"
;; href="http://creativecommons.org/licenses/by/4.0/"
;; target="_blank">
;; Creative Commons Attribution 4.0 International License</a>
;;
;;
;; These solutions are not intended to be ideal solutions.... | 73876 | ;; @author <NAME>
;; @copyright 2021 <NAME> licensed under the <a>
;; rel="license"
;; href="http://creativecommons.org/licenses/by/4.0/"
;; target="_blank">
;; Creative Commons Attribution 4.0 International License</a>
;;
;;
;; These solutions are not intended to be ideal solutions. Instead... | true | ;; @author PI:NAME:<NAME>END_PI
;; @copyright 2021 PI:NAME:<NAME>END_PI licensed under the <a>
;; rel="license"
;; href="http://creativecommons.org/licenses/by/4.0/"
;; target="_blank">
;; Creative Commons Attribution 4.0 International License</a>
;;
;;
;; These solutions are not intended to... |
[
{
"context": "pattern\n;; matching. It uses an algorithm based on Luc Maranget's paper\n;; \"Compiling Pattern Matching t",
"end": 440,
"score": 0.6846554279327393,
"start": 437,
"tag": "NAME",
"value": "Luc"
},
{
"context": "but in map destructuring seq? is tested\n;; first - David\... | server/target/clojure/core/match.clj | OctavioBR/healthcheck | 0 | (ns clojure.core.match
(:refer-clojure :exclude [compile])
(:use [clojure.core.match.protocols])
(:require [clojure.set :as set])
(:import [java.io Writer]
[clojure.core.match.protocols IExistentialPattern]))
;; =============================================================================
;; # Intro... | 47766 | (ns clojure.core.match
(:refer-clojure :exclude [compile])
(:use [clojure.core.match.protocols])
(:require [clojure.set :as set])
(:import [java.io Writer]
[clojure.core.match.protocols IExistentialPattern]))
;; =============================================================================
;; # Intro... | true | (ns clojure.core.match
(:refer-clojure :exclude [compile])
(:use [clojure.core.match.protocols])
(:require [clojure.set :as set])
(:import [java.io Writer]
[clojure.core.match.protocols IExistentialPattern]))
;; =============================================================================
;; # Intro... |
[
{
"context": "ses fired events in a thread pool.\"\n :author \"Jeff Rose\"}\n overtone.libs.event\n (:import (java.util.con",
"end": 106,
"score": 0.9998804330825806,
"start": 97,
"tag": "NAME",
"value": "Jeff Rose"
}
] | src/overtone/libs/event.clj | samaaron/overtone | 2 | (ns
^{:doc "A simple event system that processes fired events in a thread pool."
:author "Jeff Rose"}
overtone.libs.event
(:import (java.util.concurrent Executors LinkedBlockingQueue))
(:use [overtone.util lib]
[clojure.stacktrace]
[clojure.set :only [intersection difference]])
(:require ... | 10627 | (ns
^{:doc "A simple event system that processes fired events in a thread pool."
:author "<NAME>"}
overtone.libs.event
(:import (java.util.concurrent Executors LinkedBlockingQueue))
(:use [overtone.util lib]
[clojure.stacktrace]
[clojure.set :only [intersection difference]])
(:require [ov... | true | (ns
^{:doc "A simple event system that processes fired events in a thread pool."
:author "PI:NAME:<NAME>END_PI"}
overtone.libs.event
(:import (java.util.concurrent Executors LinkedBlockingQueue))
(:use [overtone.util lib]
[clojure.stacktrace]
[clojure.set :only [intersection difference]])
... |
[
{
"context": "))\n\n(def +fake-user-data+\n {\"developer\" {\"eppn\" \"developer\" \"mail\" \"deve@lo.per\" \"commonName\" \"Deve Loper\"}\n",
"end": 500,
"score": 0.9468033909797668,
"start": 491,
"tag": "NAME",
"value": "developer"
},
{
"context": "-data+\n {\"developer\" {\"eppn... | src/clj/rems/db/test_data.clj | JerryTraskelin/rems | 0 | (ns rems.db.test-data
"Populating the database with nice test data."
(:require [clj-time.core :as time]
[rems.context :as context]
[rems.db.applications :as applications]
[rems.db.core :as db]
[rems.db.roles :as roles]
[rems.db.users :as users]
... | 35924 | (ns rems.db.test-data
"Populating the database with nice test data."
(:require [clj-time.core :as time]
[rems.context :as context]
[rems.db.applications :as applications]
[rems.db.core :as db]
[rems.db.roles :as roles]
[rems.db.users :as users]
... | true | (ns rems.db.test-data
"Populating the database with nice test data."
(:require [clj-time.core :as time]
[rems.context :as context]
[rems.db.applications :as applications]
[rems.db.core :as db]
[rems.db.roles :as roles]
[rems.db.users :as users]
... |
[
{
"context": "de is provided in the docs:\n;; https://github.com/Day8/re-frame/blob/master/docs/CodeWalkthrough.md\n\n;; ",
"end": 229,
"score": 0.9994648694992065,
"start": 225,
"tag": "USERNAME",
"value": "Day8"
},
{
"context": "Date.)\n :time-color \"#f34\"\n :users [{:name ... | src/reframe_demo/core.cljs | ergenekonyigit/reframe-demo | 1 | (ns reframe-demo.core
(:require [reagent.core :as r]
[re-frame.core :as rf]
[clojure.string :as str]))
;; A detailed walk-through of this source code is provided in the docs:
;; https://github.com/Day8/re-frame/blob/master/docs/CodeWalkthrough.md
;; -- Domino 1 - Event Dispatch ------------... | 9791 | (ns reframe-demo.core
(:require [reagent.core :as r]
[re-frame.core :as rf]
[clojure.string :as str]))
;; A detailed walk-through of this source code is provided in the docs:
;; https://github.com/Day8/re-frame/blob/master/docs/CodeWalkthrough.md
;; -- Domino 1 - Event Dispatch ------------... | true | (ns reframe-demo.core
(:require [reagent.core :as r]
[re-frame.core :as rf]
[clojure.string :as str]))
;; A detailed walk-through of this source code is provided in the docs:
;; https://github.com/Day8/re-frame/blob/master/docs/CodeWalkthrough.md
;; -- Domino 1 - Event Dispatch ------------... |
[
{
"context": ";; Copyright (c) 2014-2015, Andrey Antukh <niwi@niwi.nz>\n;; All rights reserved.\n;;\n;; Redi",
"end": 41,
"score": 0.9998814463615417,
"start": 28,
"tag": "NAME",
"value": "Andrey Antukh"
},
{
"context": ";; Copyright (c) 2014-2015, Andrey Antukh <niwi@niwi.nz>\n;; Al... | src/suricatta/dsl/pgsql.clj | smaant-test3-rename/suricatta | 0 | ;; Copyright (c) 2014-2015, Andrey Antukh <niwi@niwi.nz>
;; All rights reserved.
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions are met:
;;
;; * Redistributions of source code must retain the above copyright notice, this
;; ... | 9750 | ;; Copyright (c) 2014-2015, <NAME> <<EMAIL>>
;; All rights reserved.
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions are met:
;;
;; * Redistributions of source code must retain the above copyright notice, this
;; list of co... | true | ;; Copyright (c) 2014-2015, PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
;; All rights reserved.
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions are met:
;;
;; * Redistributions of source code must retain the above copyright... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.