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": " 8080\n :ssl-host \"0.0.0.0\"\n :ssl-port 8081\n ", "end": 812, "score": 0.9858319163322449, "start": 805, "tag": "IP_ADDRESS", "value": "0.0.0.0" }, { "context": "/truststore.jks\"\n :key-pass...
test/clj/puppetlabs/trapperkeeper/testutils/webserver/common.clj
jonathannewman/trapperkeeper-webserver-jetty9
0
(ns puppetlabs.trapperkeeper.testutils.webserver.common (:require [puppetlabs.http.client.sync :as http-client]) (:import (appender TestListAppender))) (defn http-get ([url] (http-get url {:as :text})) ([url options] (http-client/get url options))) (defn http-put [url options] (http-client/p...
111991
(ns puppetlabs.trapperkeeper.testutils.webserver.common (:require [puppetlabs.http.client.sync :as http-client]) (:import (appender TestListAppender))) (defn http-get ([url] (http-get url {:as :text})) ([url options] (http-client/get url options))) (defn http-put [url options] (http-client/p...
true
(ns puppetlabs.trapperkeeper.testutils.webserver.common (:require [puppetlabs.http.client.sync :as http-client]) (:import (appender TestListAppender))) (defn http-get ([url] (http-get url {:as :text})) ([url options] (http-client/get url options))) (defn http-put [url options] (http-client/p...
[ { "context": "in (:username distro)\n (:password distro)\n (:url distro)))))\n\n(defn creat", "end": 24934, "score": 0.9722012281417847, "start": 24928, "tag": "PASSWORD", "value": "distro" } ]
ch16/swarmpit/src/clj/swarmpit/api.clj
vincestorm/Docker-on-Amazon-Web-Services
0
(ns swarmpit.api (:require [clojure.set :refer [rename-keys]] [buddy.hashers :as hashers] [digest :refer [digest]] [swarmpit.utils :refer [merge-data]] [swarmpit.config :as cfg] [swarmpit.stats :as stats] [swarmpit.yaml :as yaml :refer [->yaml]] ...
31746
(ns swarmpit.api (:require [clojure.set :refer [rename-keys]] [buddy.hashers :as hashers] [digest :refer [digest]] [swarmpit.utils :refer [merge-data]] [swarmpit.config :as cfg] [swarmpit.stats :as stats] [swarmpit.yaml :as yaml :refer [->yaml]] ...
true
(ns swarmpit.api (:require [clojure.set :refer [rename-keys]] [buddy.hashers :as hashers] [digest :refer [digest]] [swarmpit.utils :refer [merge-data]] [swarmpit.config :as cfg] [swarmpit.stats :as stats] [swarmpit.yaml :as yaml :refer [->yaml]] ...
[ { "context": "; Copyright (c) Anna Shchiptsova, IIASA. All rights reserved.\r\n; The use and dis", "end": 34, "score": 0.9998904466629028, "start": 18, "tag": "NAME", "value": "Anna Shchiptsova" }, { "context": "to string using a custom format.\"\r\n :author \"Anna Shchiptso...
src/utilities_clj/format.clj
shchipts/utilities-clj
0
; Copyright (c) Anna Shchiptsova, IIASA. All rights reserved. ; The use and distribution terms for this software are covered by the ; MIT License (http://opensource.org/licenses/MIT) ; which can be found in the file LICENSE at the root of this distribution. ; By using this software in any fashion, you are...
5184
; Copyright (c) <NAME>, IIASA. All rights reserved. ; The use and distribution terms for this software are covered by the ; MIT License (http://opensource.org/licenses/MIT) ; which can be found in the file LICENSE at the root of this distribution. ; By using this software in any fashion, you are agreeing ...
true
; Copyright (c) PI:NAME:<NAME>END_PI, IIASA. All rights reserved. ; The use and distribution terms for this software are covered by the ; MIT License (http://opensource.org/licenses/MIT) ; which can be found in the file LICENSE at the root of this distribution. ; By using this software in any fashion, you...
[ { "context": "\n(def ^:private dummy-factory-fn\n (fn [] {:name \"Alice\"}))\n\n(s/def ::name string?)\n(s/def ::with-name (s", "end": 233, "score": 0.9421542286872864, "start": 228, "tag": "NAME", "value": "Alice" }, { "context": "ild-args {:registered {:y 2020 :m 2 :d 29} :name \"...
test/factory_squid/core_test.cljc
gavinkflam/factory-squid
1
(ns factory-squid.core-test (:require [clojure.spec.alpha :as s] [clojure.test :refer [deftest testing is]] [factory-squid.core :as fs])) ;; Test data (def ^:private dummy-factory-fn (fn [] {:name "Alice"})) (s/def ::name string?) (s/def ::with-name (s/keys :req-un [::name])) ;; Utilitie...
23582
(ns factory-squid.core-test (:require [clojure.spec.alpha :as s] [clojure.test :refer [deftest testing is]] [factory-squid.core :as fs])) ;; Test data (def ^:private dummy-factory-fn (fn [] {:name "<NAME>"})) (s/def ::name string?) (s/def ::with-name (s/keys :req-un [::name])) ;; Utiliti...
true
(ns factory-squid.core-test (:require [clojure.spec.alpha :as s] [clojure.test :refer [deftest testing is]] [factory-squid.core :as fs])) ;; Test data (def ^:private dummy-factory-fn (fn [] {:name "PI:NAME:<NAME>END_PI"})) (s/def ::name string?) (s/def ::with-name (s/keys :req-un [::name]...
[ { "context": ";;\n;; Copyright © 2020 Sam Ritchie.\n;; This work is based on the Scmutils system of ", "end": 34, "score": 0.9998251795768738, "start": 23, "tag": "NAME", "value": "Sam Ritchie" } ]
test/numerical/quadrature/riemann_test.cljc
dynamic-notebook/functional-numerics
4
;; ;; Copyright © 2020 Sam Ritchie. ;; This work is based on the Scmutils system of MIT/GNU Scheme: ;; Copyright © 2002 Massachusetts Institute of Technology ;; ;; This is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by ;; the Free Software F...
28640
;; ;; Copyright © 2020 <NAME>. ;; This work is based on the Scmutils system of MIT/GNU Scheme: ;; Copyright © 2002 Massachusetts Institute of Technology ;; ;; This is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by ;; the Free Software Founda...
true
;; ;; Copyright © 2020 PI:NAME:<NAME>END_PI. ;; This work is based on the Scmutils system of MIT/GNU Scheme: ;; Copyright © 2002 Massachusetts Institute of Technology ;; ;; This is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by ;; the Free S...
[ { "context": "ommon repo from github\"\n []\n (sh \"git\" \"clone\" \"git@github.com:exercism/x-common\"))\n\n(defn load-test-data\n \"Clo", "end": 598, "score": 0.9975396394729614, "start": 584, "tag": "EMAIL", "value": "git@github.com" }, { "context": " github\"\n []\n (sh \"g...
_src/generator.clj
SaschaMann/clojure
93
(ns generator (:require [cheshire.core :as json] [clojure.java.shell :refer [sh]] [clojure.java.io :refer [reader]] [stencil.core :as stencil]) (:import (java.io File IOException))) (defn file-exists? "Helper function to determine if a given file exists." [path] (.exists (...
61146
(ns generator (:require [cheshire.core :as json] [clojure.java.shell :refer [sh]] [clojure.java.io :refer [reader]] [stencil.core :as stencil]) (:import (java.io File IOException))) (defn file-exists? "Helper function to determine if a given file exists." [path] (.exists (...
true
(ns generator (:require [cheshire.core :as json] [clojure.java.shell :refer [sh]] [clojure.java.io :refer [reader]] [stencil.core :as stencil]) (:import (java.io File IOException))) (defn file-exists? "Helper function to determine if a given file exists." [path] (.exists (...
[ { "context": "ext\n :name \"pass\"\n :placeholder \"password\"}]\n [:input\n {:type :submit\n :value ", "end": 678, "score": 0.9913879036903381, "start": 670, "tag": "PASSWORD", "value": "password" } ]
auth-example/src/auth_example/routes.cljs
macchiato-framework/examples
33
(ns auth-example.routes (:require [bidi.bidi :as bidi] [hiccups.runtime] [macchiato.middleware.anti-forgery :as af] [macchiato.util.response :as r]) (:require-macros [hiccups.core :refer [html]])) (defn logged-in? [{:keys [identity]}] (boolean identity)) (defn login-form [] [:div [:h3 "...
54016
(ns auth-example.routes (:require [bidi.bidi :as bidi] [hiccups.runtime] [macchiato.middleware.anti-forgery :as af] [macchiato.util.response :as r]) (:require-macros [hiccups.core :refer [html]])) (defn logged-in? [{:keys [identity]}] (boolean identity)) (defn login-form [] [:div [:h3 "...
true
(ns auth-example.routes (:require [bidi.bidi :as bidi] [hiccups.runtime] [macchiato.middleware.anti-forgery :as af] [macchiato.util.response :as r]) (:require-macros [hiccups.core :refer [html]])) (defn logged-in? [{:keys [identity]}] (boolean identity)) (defn login-form [] [:div [:h3 "...
[ { "context": ":id :name] {:id 1})\n (where {:name \"John Doe\"})\n (where {:role \"admin\"})\n ", "end": 1533, "score": 0.9997612237930298, "start": 1525, "tag": "NAME", "value": "John Doe" }, { "context": "sers/person-id :people/id}) (where {:people...
test/norm/sql_test.clj
kurbatov/norm
4
(ns norm.sql-test (:require [clojure.test :as t :refer [deftest testing is]] [clojure.string :as str] [next.jdbc :as jdbc] [norm.core :as norm :refer [where order skip limit fetch! fetch-count!]] [norm.sql :as sql] [norm.sql.jdbc :refer [instance-meta]] ...
12326
(ns norm.sql-test (:require [clojure.test :as t :refer [deftest testing is]] [clojure.string :as str] [next.jdbc :as jdbc] [norm.core :as norm :refer [where order skip limit fetch! fetch-count!]] [norm.sql :as sql] [norm.sql.jdbc :refer [instance-meta]] ...
true
(ns norm.sql-test (:require [clojure.test :as t :refer [deftest testing is]] [clojure.string :as str] [next.jdbc :as jdbc] [norm.core :as norm :refer [where order skip limit fetch! fetch-count!]] [norm.sql :as sql] [norm.sql.jdbc :refer [instance-meta]] ...
[ { "context": "lose anything in processing.\n\n Partially based on Marin Atanasov Nikolov's tutorial at\n http://dnaeon.github.io/recursively", "end": 802, "score": 0.9986940622329712, "start": 778, "tag": "NAME", "value": "Marin Atanasov Nikolov's" } ]
api/test/wfl/unit/routes_test.clj
broadinstitute/wfl
15
(ns wfl.unit.routes-test (:require [clojure.test :refer [deftest is testing]] [wfl.api.routes :as routes])) (def sample-endpoints [["/some/unauth/endpoint" {:get {:handler identity}}] ["/api/some/auth/endpoint" {:get {:handler identity}}] ["/api/some/other/auth/endpoint" {:get {:handl...
14034
(ns wfl.unit.routes-test (:require [clojure.test :refer [deftest is testing]] [wfl.api.routes :as routes])) (def sample-endpoints [["/some/unauth/endpoint" {:get {:handler identity}}] ["/api/some/auth/endpoint" {:get {:handler identity}}] ["/api/some/other/auth/endpoint" {:get {:handl...
true
(ns wfl.unit.routes-test (:require [clojure.test :refer [deftest is testing]] [wfl.api.routes :as routes])) (def sample-endpoints [["/some/unauth/endpoint" {:get {:handler identity}}] ["/api/some/auth/endpoint" {:get {:handler identity}}] ["/api/some/other/auth/endpoint" {:get {:handl...
[ { "context": "zy relational algebra\"\n :url \"https://github.com/Workiva/lazy-tables\"\n :license {:name \"Apache License, V", "end": 138, "score": 0.9994897842407227, "start": 131, "tag": "USERNAME", "value": "Workiva" }, { "context": "jars_username\n :pas...
project.clj
Workiva/lazy-tables
1
(defproject com.workiva/lazy-tables "0.1.2" :description "A set of tools for lazy relational algebra" :url "https://github.com/Workiva/lazy-tables" :license {:name "Apache License, Version 2.0"} :plugins [[lein-shell "0.5.0"] [lein-codox "0.10.6"] [lein-cljfmt "0.6.4"]] :dependencies [...
120456
(defproject com.workiva/lazy-tables "0.1.2" :description "A set of tools for lazy relational algebra" :url "https://github.com/Workiva/lazy-tables" :license {:name "Apache License, Version 2.0"} :plugins [[lein-shell "0.5.0"] [lein-codox "0.10.6"] [lein-cljfmt "0.6.4"]] :dependencies [...
true
(defproject com.workiva/lazy-tables "0.1.2" :description "A set of tools for lazy relational algebra" :url "https://github.com/Workiva/lazy-tables" :license {:name "Apache License, Version 2.0"} :plugins [[lein-shell "0.5.0"] [lein-codox "0.10.6"] [lein-cljfmt "0.6.4"]] :dependencies [...
[ { "context": "(fn [{db :db} [_ error]]\n ;; TODO: [2022-05-15, ilshat@sultanov.team] Show notification\n (log/info :news/rss-channe", "end": 522, "score": 0.9998663067817688, "start": 502, "tag": "EMAIL", "value": "ilshat@sultanov.team" } ]
src/main/clojure/metaverse/renderer/news/events.cljs
sultanov-team/metaverse
1
(ns metaverse.renderer.news.events (:require [metaverse.common.logger :as log :include-macros true] [re-frame.core :as rf])) (rf/reg-event-fx :news/rss-channels->success (fn [{db :db} [_ rss-channels]] (log/info :news/rss-channels->success rss-channels) {:db (assoc-in db [:news :rss-channe...
41348
(ns metaverse.renderer.news.events (:require [metaverse.common.logger :as log :include-macros true] [re-frame.core :as rf])) (rf/reg-event-fx :news/rss-channels->success (fn [{db :db} [_ rss-channels]] (log/info :news/rss-channels->success rss-channels) {:db (assoc-in db [:news :rss-channe...
true
(ns metaverse.renderer.news.events (:require [metaverse.common.logger :as log :include-macros true] [re-frame.core :as rf])) (rf/reg-event-fx :news/rss-channels->success (fn [{db :db} [_ rss-channels]] (log/info :news/rss-channels->success rss-channels) {:db (assoc-in db [:news :rss-channe...
[ { "context": " :username \"must be present\" :password \"must be present\" \n :endpoint \"must be present\" :managm", "end": 1002, "score": 0.9991579055786133, "start": 987, "tag": "PASSWORD", "value": "must be present" } ]
test/re_core/test/config.clj
celestial-ops/core
1
(ns re-core.test.config (:require [re-core.fixtures.data :refer (local-prox)] [flatland.useful.map :refer (dissoc-in*)] [re-core.config :refer (validate-conf)]) (:use midje.sweet)) (defn validate-missing [& ks] (validate-conf (dissoc-in* local-prox ks))) (fact "legal configuration" (validate-...
75984
(ns re-core.test.config (:require [re-core.fixtures.data :refer (local-prox)] [flatland.useful.map :refer (dissoc-in*)] [re-core.config :refer (validate-conf)]) (:use midje.sweet)) (defn validate-missing [& ks] (validate-conf (dissoc-in* local-prox ks))) (fact "legal configuration" (validate-...
true
(ns re-core.test.config (:require [re-core.fixtures.data :refer (local-prox)] [flatland.useful.map :refer (dissoc-in*)] [re-core.config :refer (validate-conf)]) (:use midje.sweet)) (defn validate-missing [& ks] (validate-conf (dissoc-in* local-prox ks))) (fact "legal configuration" (validate-...
[ { "context": "c License - Version 1.0\" :url \"https://github.com/nathanmarz/storm/blob/master/LICENSE.html\"}\n :mailing-list ", "end": 398, "score": 0.9934245347976685, "start": 388, "tag": "USERNAME", "value": "nathanmarz" }, { "context": "gle.com/group/storm-user\"\n ...
project.clj
raikon/SocialEyeser
0
(def VERSION (.trim (slurp "VERSION"))) (def MODULES (-> "MODULES" slurp (.split "\n"))) (def DEPENDENCIES (for [m MODULES] [(symbol (str "storm/" m)) VERSION])) (eval `(defproject storm/storm ~VERSION :url "http://storm-project.net" :description "Distributed and fault-tolerant realtime computation" :license {:n...
71504
(def VERSION (.trim (slurp "VERSION"))) (def MODULES (-> "MODULES" slurp (.split "\n"))) (def DEPENDENCIES (for [m MODULES] [(symbol (str "storm/" m)) VERSION])) (eval `(defproject storm/storm ~VERSION :url "http://storm-project.net" :description "Distributed and fault-tolerant realtime computation" :license {:n...
true
(def VERSION (.trim (slurp "VERSION"))) (def MODULES (-> "MODULES" slurp (.split "\n"))) (def DEPENDENCIES (for [m MODULES] [(symbol (str "storm/" m)) VERSION])) (eval `(defproject storm/storm ~VERSION :url "http://storm-project.net" :description "Distributed and fault-tolerant realtime computation" :license {:n...
[ { "context": "factory fseq]]))\n\n(defseq :email [n] (str \"user\" n \"@test.com\"))\n(defseq :password [n] (str \"password\" n))\n(def", "end": 136, "score": 0.8916504979133606, "start": 126, "tag": "EMAIL", "value": "\"@test.com" }, { "context": "user\" n \"@test.com\"))\n(defseq :...
test/clj/villagebook/factory.clj
sathia27/villagebook
0
(ns villagebook.factory (:use [clj-factory.core :only [deffactory defseq factory fseq]])) (defseq :email [n] (str "user" n "@test.com")) (defseq :password [n] (str "password" n)) (defseq :nickname [n] (str "nickname" n)) (defseq :name [n] (str "name" n)) (defseq :orgname [n] (str "organisation" n)) (defseq :orgcolor...
122123
(ns villagebook.factory (:use [clj-factory.core :only [deffactory defseq factory fseq]])) (defseq :email [n] (str "user" n <EMAIL>")) (defseq :password [n] (str "<PASSWORD>" n)) (defseq :nickname [n] (str "nickname" n)) (defseq :name [n] (str "name" n)) (defseq :orgname [n] (str "organisation" n)) (defseq :orgcolor ...
true
(ns villagebook.factory (:use [clj-factory.core :only [deffactory defseq factory fseq]])) (defseq :email [n] (str "user" n PI:EMAIL:<EMAIL>END_PI")) (defseq :password [n] (str "PI:PASSWORD:<PASSWORD>END_PI" n)) (defseq :nickname [n] (str "nickname" n)) (defseq :name [n] (str "name" n)) (defseq :orgname [n] (str "org...
[ { "context": "the standby validators from privnet\n(def wifs\n [\"KxyjQ8eUa4FHt3Gvioyt1Wz29cTUrE4eTqX3yFSk1YFCsPL8uNsY\"\n \"KzfPUYDC9n2yf4fK5ro4C8KMcdeXtFuEnStycbZgX3Go", "end": 668, "score": 0.9963130354881287, "start": 616, "tag": "KEY", "value": "KxyjQ8eUa4FHt3Gvioyt1Wz29cTUrE4eTqX3yF...
src/neo_clj/wallet.clj
effectai/neo-clojure-clr
5
(ns neo-clj.wallet (:require [neo-clj.blockchain :as blockchain] [neo-clj.crypto :as crypto] [clojure.string :as str]) (:import [System.IO File Directory] [Neo Fixed8 Helper] Neo.Implementations.Wallets.EntityFramework.UserWallet [Neo.Core TransactionOutput ContractTransaction Blockchain Cl...
82229
(ns neo-clj.wallet (:require [neo-clj.blockchain :as blockchain] [neo-clj.crypto :as crypto] [clojure.string :as str]) (:import [System.IO File Directory] [Neo Fixed8 Helper] Neo.Implementations.Wallets.EntityFramework.UserWallet [Neo.Core TransactionOutput ContractTransaction Blockchain Cl...
true
(ns neo-clj.wallet (:require [neo-clj.blockchain :as blockchain] [neo-clj.crypto :as crypto] [clojure.string :as str]) (:import [System.IO File Directory] [Neo Fixed8 Helper] Neo.Implementations.Wallets.EntityFramework.UserWallet [Neo.Core TransactionOutput ContractTransaction Blockchain Cl...
[ { "context": ";;;;;;;;;;;;;;;;;;;;;;;;;;;\n;; Copyright (c) 2008, J. Bester\n;; All rights reserved.\n;;\n;; Redistribution and ", "end": 430, "score": 0.9998810291290283, "start": 421, "tag": "NAME", "value": "J. Bester" } ]
src/cljext/str.clj
jbester/cljext
9
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; File : str.clj ;; Function : String library ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Send comments or questions to code at freshlime dot org ;; $Id: 951f79ebab7f8fd78373db72b3d031c7892369b8 $ ;...
9352
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; File : str.clj ;; Function : String library ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Send comments or questions to code at freshlime dot org ;; $Id: 951f79ebab7f8fd78373db72b3d031c7892369b8 $ ;...
true
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; File : str.clj ;; Function : String library ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Send comments or questions to code at freshlime dot org ;; $Id: 951f79ebab7f8fd78373db72b3d031c7892369b8 $ ;...
[ { "context": "n 16 9876)\n\n(println @n)\n\n(def data (atom {:name \"t-rav\" :email \"mtravis@ca.abc.com\"} :error-mode :contin", "end": 162, "score": 0.706855833530426, "start": 157, "tag": "USERNAME", "value": "t-rav" }, { "context": "intln @n)\n\n(def data (atom {:name \"t-rav\" :...
state-management/validators.clj
travism26/random_clojure_stuff
0
(def eh 15) (println eh) (def n (atom 15 :validator pos?)) (println @n) (swap! n inc) (compare-and-set! n 16 9876) (println @n) (def data (atom {:name "t-rav" :email "mtravis@ca.abc.com"} :error-mode :continue)) (set-validator! data :email) ;(swap! data dissoc :email) (println @data) (def nums (atom [2 4 8] :vali...
71773
(def eh 15) (println eh) (def n (atom 15 :validator pos?)) (println @n) (swap! n inc) (compare-and-set! n 16 9876) (println @n) (def data (atom {:name "t-rav" :email "<EMAIL>"} :error-mode :continue)) (set-validator! data :email) ;(swap! data dissoc :email) (println @data) (def nums (atom [2 4 8] :validator #(eve...
true
(def eh 15) (println eh) (def n (atom 15 :validator pos?)) (println @n) (swap! n inc) (compare-and-set! n 16 9876) (println @n) (def data (atom {:name "t-rav" :email "PI:EMAIL:<EMAIL>END_PI"} :error-mode :continue)) (set-validator! data :email) ;(swap! data dissoc :email) (println @data) (def nums (atom [2 4 8] :...
[ { "context": "\"password='' query='..'\")))\n (is (= \"password='******'\" (mask-password-in-string \"password='secret'\")))", "end": 8018, "score": 0.8913796544075012, "start": 8018, "tag": "PASSWORD", "value": "" }, { "context": "ord='******'\" (mask-password-in-string \"passwor...
test/parsec/helpers_test.clj
ExpediaGroup/parsec
1
(ns parsec.helpers-test (:require [clojure.test :refer :all] [parsec.helpers :refer :all] [parsec.test-helpers :refer :all])) (deftest always-predicate-test (testing "with nil" (is (true? (always-predicate nil nil))))) (deftest any-pred?-test (testing "with nils" (is (false? (any...
81974
(ns parsec.helpers-test (:require [clojure.test :refer :all] [parsec.helpers :refer :all] [parsec.test-helpers :refer :all])) (deftest always-predicate-test (testing "with nil" (is (true? (always-predicate nil nil))))) (deftest any-pred?-test (testing "with nils" (is (false? (any...
true
(ns parsec.helpers-test (:require [clojure.test :refer :all] [parsec.helpers :refer :all] [parsec.test-helpers :refer :all])) (deftest always-predicate-test (testing "with nil" (is (true? (always-predicate nil nil))))) (deftest any-pred?-test (testing "with nils" (is (false? (any...
[ { "context": "th headers and status\"\n (is (= {:body {:email \"foo@bar.com\", :id 1}, :status 201, :headers {:content-type :a", "end": 1077, "score": 0.999914824962616, "start": 1066, "tag": "EMAIL", "value": "foo@bar.com" }, { "context": "on/json}}\n (try-to-create-use...
test/rop/core_test.clj
staifa/rop
0
(ns rop.core-test (:require [clojure.string :refer [blank? lower-case]] [clojure.test :refer [deftest is testing]] [cats.core :as m] [struct.core :as st] [rop.core :as rop])) (defn- format-email [input] (update input :email lower-case)) (defn- validate-email [input] (if (-> input :emai...
18837
(ns rop.core-test (:require [clojure.string :refer [blank? lower-case]] [clojure.test :refer [deftest is testing]] [cats.core :as m] [struct.core :as st] [rop.core :as rop])) (defn- format-email [input] (update input :email lower-case)) (defn- validate-email [input] (if (-> input :emai...
true
(ns rop.core-test (:require [clojure.string :refer [blank? lower-case]] [clojure.test :refer [deftest is testing]] [cats.core :as m] [struct.core :as st] [rop.core :as rop])) (defn- format-email [input] (update input :email lower-case)) (defn- validate-email [input] (if (-> input :emai...
[ { "context": "-page-match\n :params {\"__token\" \"invalid-token-175424\" \"_count\" \"1\"\n \"__t\" \"1", "end": 17506, "score": 0.9286680221557617, "start": 17486, "tag": "KEY", "value": "invalid-token-175424" }, { "context": "[:issue 0 :d...
modules/interaction/test/blaze/interaction/search_type_test.clj
samply/blaze
50
(ns blaze.interaction.search-type-test "Specifications relevant for the FHIR search interaction: https://www.hl7.org/fhir/http.html#search" (:require [blaze.db.api-stub :refer [mem-node-system with-system-data]] [blaze.fhir.spec.type :as type] [blaze.interaction.search-type] [blaze.interaction.se...
63184
(ns blaze.interaction.search-type-test "Specifications relevant for the FHIR search interaction: https://www.hl7.org/fhir/http.html#search" (:require [blaze.db.api-stub :refer [mem-node-system with-system-data]] [blaze.fhir.spec.type :as type] [blaze.interaction.search-type] [blaze.interaction.se...
true
(ns blaze.interaction.search-type-test "Specifications relevant for the FHIR search interaction: https://www.hl7.org/fhir/http.html#search" (:require [blaze.db.api-stub :refer [mem-node-system with-system-data]] [blaze.fhir.spec.type :as type] [blaze.interaction.search-type] [blaze.interaction.se...
[ { "context": "; Copyright (c) Rich Hickey. All rights reserved.\n; The use and distributio", "end": 29, "score": 0.9998610615730286, "start": 18, "tag": "NAME", "value": "Rich Hickey" }, { "context": "es.clj: unit tests for fixtures in test.clj\n\n;; by Stuart Sierra\n;; March 28...
Clojure/clojure/test_clojure/test_fixtures.clj
AydarLukmanov/ArcadiaGodot
328
; 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 ...
92016
; 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": "09/04/understanding-y-combinator.html\n;; Thanks to Jeff Foster\n\n;; The mysterious and brain-shattering Y combina", "end": 102, "score": 0.9998906850814819, "start": 91, "tag": "NAME", "value": "Jeff Foster" } ]
func-prog/fp-oo/old-code/sources/Y.clj
tannerwelsh/code-training
0
;; Taken from http://www.fatvat.co.uk/2009/04/understanding-y-combinator.html ;; Thanks to Jeff Foster ;; The mysterious and brain-shattering Y combinator! (defn Y [r] ((fn [f] (f f)) (fn [f] (r (fn [x] ((f f) x)))))) ;; Defining factorial with Y (Y (fn [factorial] (fn [n] (if (or (= 0 n) (= 1...
8626
;; Taken from http://www.fatvat.co.uk/2009/04/understanding-y-combinator.html ;; Thanks to <NAME> ;; The mysterious and brain-shattering Y combinator! (defn Y [r] ((fn [f] (f f)) (fn [f] (r (fn [x] ((f f) x)))))) ;; Defining factorial with Y (Y (fn [factorial] (fn [n] (if (or (= 0 n) (= 1 n)) ...
true
;; Taken from http://www.fatvat.co.uk/2009/04/understanding-y-combinator.html ;; Thanks to PI:NAME:<NAME>END_PI ;; The mysterious and brain-shattering Y combinator! (defn Y [r] ((fn [f] (f f)) (fn [f] (r (fn [x] ((f f) x)))))) ;; Defining factorial with Y (Y (fn [factorial] (fn [n] (if (or (= ...
[ { "context": "s event-data-percolator.consts)\n\n(def user-agent \"CrossrefEventDataBot (eventdata@crossref.org)\")\n(def user-agent-for-ro", "end": 72, "score": 0.952051043510437, "start": 52, "tag": "USERNAME", "value": "CrossrefEventDataBot" }, { "context": "r.consts)\n\n(def user...
src/event_data_percolator/consts.clj
CrossRef/event-data-percolator
2
(ns event-data-percolator.consts) (def user-agent "CrossrefEventDataBot (eventdata@crossref.org)") (def user-agent-for-robots "CrossrefEventDataBot")
105319
(ns event-data-percolator.consts) (def user-agent "CrossrefEventDataBot (<EMAIL>)") (def user-agent-for-robots "CrossrefEventDataBot")
true
(ns event-data-percolator.consts) (def user-agent "CrossrefEventDataBot (PI:EMAIL:<EMAIL>END_PI)") (def user-agent-for-robots "CrossrefEventDataBot")
[ { "context": "(ns ^{:author \"Adam Berger\"} ulvm.flows\n \"Flow operations\"\n (:require [clo", "end": 26, "score": 0.9998617172241211, "start": 15, "tag": "NAME", "value": "Adam Berger" } ]
src/ulvm/flows.clj
abrgr/ulvm
0
(ns ^{:author "Adam Berger"} ulvm.flows "Flow operations" (:require [clojure.spec :as s] [ulvm.core :as ucore] [ulvm.utils :as u] [ulvm.project :as uprj] [clojure.set :as cset] [cats.monad.either :as e])) (defn module-for-invocation "The module that the...
1063
(ns ^{:author "<NAME>"} ulvm.flows "Flow operations" (:require [clojure.spec :as s] [ulvm.core :as ucore] [ulvm.utils :as u] [ulvm.project :as uprj] [clojure.set :as cset] [cats.monad.either :as e])) (defn module-for-invocation "The module that the give...
true
(ns ^{:author "PI:NAME:<NAME>END_PI"} ulvm.flows "Flow operations" (:require [clojure.spec :as s] [ulvm.core :as ucore] [ulvm.utils :as u] [ulvm.project :as uprj] [clojure.set :as cset] [cats.monad.either :as e])) (defn module-for-invocation "The module...
[ { "context": " (edn-set \\\"/tmp/secrets.edn\\\" [:lxc :pass] \\\"password\\\")\n \"\n [dest ks v]\n (let [data (clojure.edn/re", "end": 8340, "score": 0.878866970539093, "start": 8332, "tag": "PASSWORD", "value": "password" } ]
src/re_cog/resources/file.clj
re-ops/re-cog
5
(ns re-cog.resources.file "File resources" (:require [clojure.core.strint :refer (<<)] [re-cog.common.resources :refer (run-)] [re-cog.common.functions :refer (require-functions)] [re-cog.common.defs :refer (def-serial)])) (require-functions) (def-serial directory "Directory resource: (directory...
83906
(ns re-cog.resources.file "File resources" (:require [clojure.core.strint :refer (<<)] [re-cog.common.resources :refer (run-)] [re-cog.common.functions :refer (require-functions)] [re-cog.common.defs :refer (def-serial)])) (require-functions) (def-serial directory "Directory resource: (directory...
true
(ns re-cog.resources.file "File resources" (:require [clojure.core.strint :refer (<<)] [re-cog.common.resources :refer (run-)] [re-cog.common.functions :refer (require-functions)] [re-cog.common.defs :refer (def-serial)])) (require-functions) (def-serial directory "Directory resource: (directory...
[ { "context": "; Copyright (C) 2014 Joseph Fosco. All Rights Reserved\n;\n; This program is free ", "end": 37, "score": 0.999840259552002, "start": 25, "tag": "NAME", "value": "Joseph Fosco" } ]
data/test/clojure/318eb273721045b435e8d5b41186ea279c53377acore_test.clj
harshp8l/deep-learning-lang-detection
84
; Copyright (C) 2014 Joseph Fosco. All Rights Reserved ; ; This program is free software: you can redistribute it and/or modify ; it under the terms of the GNU General Public License as published by ; the Free Software Foundation, either version 3 of the License, or ; (at your option) any later version....
106819
; Copyright (C) 2014 <NAME>. All Rights Reserved ; ; This program is free software: you can redistribute it and/or modify ; it under the terms of the GNU General Public License as published by ; the Free Software Foundation, either version 3 of the License, or ; (at your option) any later version. ; ; ...
true
; Copyright (C) 2014 PI:NAME:<NAME>END_PI. All Rights Reserved ; ; This program is free software: you can redistribute it and/or modify ; it under the terms of the GNU General Public License as published by ; the Free Software Foundation, either version 3 of the License, or ; (at your option) any later ...
[ { "context": "me]\n :initial-state {:person/id 1 :person/name \"Tony\"}\n :extra-data 42}\n (dom/div \"TODO\"))\n\n(def", "end": 548, "score": 0.9995893836021423, "start": 544, "tag": "NAME", "value": "Tony" }, { "context": "e (fn [{:keys [id]}] {:person/id id :person/name \"...
src/test/com/fulcrologic/fulcro/components_spec.cljc
mruzekw/fulcro
43
(ns com.fulcrologic.fulcro.components-spec (:require [com.fulcrologic.fulcro.components :as comp :refer [defsc]] [com.fulcrologic.fulcro.algorithms.denormalize :as fdn] #?(:clj [com.fulcrologic.fulcro.dom-server :as dom] :cljs [com.fulcrologic.fulcro.dom :as dom]) #?(:cljs [goog.object :as gob...
40159
(ns com.fulcrologic.fulcro.components-spec (:require [com.fulcrologic.fulcro.components :as comp :refer [defsc]] [com.fulcrologic.fulcro.algorithms.denormalize :as fdn] #?(:clj [com.fulcrologic.fulcro.dom-server :as dom] :cljs [com.fulcrologic.fulcro.dom :as dom]) #?(:cljs [goog.object :as gob...
true
(ns com.fulcrologic.fulcro.components-spec (:require [com.fulcrologic.fulcro.components :as comp :refer [defsc]] [com.fulcrologic.fulcro.algorithms.denormalize :as fdn] #?(:clj [com.fulcrologic.fulcro.dom-server :as dom] :cljs [com.fulcrologic.fulcro.dom :as dom]) #?(:cljs [goog.object :as gob...
[ { "context": " ;; un-specified keys\n (is (match? {:name/first \"Alfredo\"}\n {:name/first \"Alfredo\"\n ", "end": 1734, "score": 0.999748170375824, "start": 1727, "tag": "NAME", "value": "Alfredo" }, { "context": "ame/first \"Alfredo\"}\n {:name/f...
dev/matcher_combinators/readme_examples.clj
clojure-land/matcher-combinators
284
(ns matcher-combinators.readme-examples) (require '[clojure.test :refer [deftest is]] '[matcher-combinators.test] ;; adds support for `match?` and `thrown-match?` in `is` expressions '[matcher-combinators.matchers :as m]) (deftest test-matching-with-explict-matchers (is (match? (m/equals 37) (+ 29...
114898
(ns matcher-combinators.readme-examples) (require '[clojure.test :refer [deftest is]] '[matcher-combinators.test] ;; adds support for `match?` and `thrown-match?` in `is` expressions '[matcher-combinators.matchers :as m]) (deftest test-matching-with-explict-matchers (is (match? (m/equals 37) (+ 29...
true
(ns matcher-combinators.readme-examples) (require '[clojure.test :refer [deftest is]] '[matcher-combinators.test] ;; adds support for `match?` and `thrown-match?` in `is` expressions '[matcher-combinators.matchers :as m]) (deftest test-matching-with-explict-matchers (is (match? (m/equals 37) (+ 29...
[ { "context": "; Copyright (c) 2017-present Walmart, Inc.\n;\n; Licensed under the Apache License, Vers", "end": 36, "score": 0.8312142491340637, "start": 29, "tag": "NAME", "value": "Walmart" } ]
src/com/walmartlabs/lacinia/parser/docs.clj
hagenek/lacinia
1,762
; Copyright (c) 2017-present Walmart, Inc. ; ; Licensed under the Apache License, Version 2.0 (the "License") ; you may not use this file except in compliance with the License. ; You may obtain a copy of the License at ; ; http://www.apache.org/licenses/LICENSE-2.0 ; ; Unless required by applicable law or agreed to...
21977
; Copyright (c) 2017-present <NAME>, Inc. ; ; Licensed under the Apache License, Version 2.0 (the "License") ; you may not use this file except in compliance with the License. ; You may obtain a copy of the License at ; ; http://www.apache.org/licenses/LICENSE-2.0 ; ; Unless required by applicable law or agreed to ...
true
; Copyright (c) 2017-present PI:NAME:<NAME>END_PI, Inc. ; ; Licensed under the Apache License, Version 2.0 (the "License") ; you may not use this file except in compliance with the License. ; You may obtain a copy of the License at ; ; http://www.apache.org/licenses/LICENSE-2.0 ; ; Unless required by applicable law...
[ { "context": " file and\n returns a component map.\"\n {:author \"Sameer Rahmani (@lxsameer)\"}\n (:require\n [clojure.spec.alpha ", "end": 365, "score": 0.9998664259910583, "start": 351, "tag": "NAME", "value": "Sameer Rahmani" }, { "context": "turns a component map.\"\n {:aut...
http/src/clj/hellhound/components/webserver.clj
Codamic/hell-hound
34
(ns hellhound.components.webserver "The default web/websocket server component of **HellHound**. This component provides a webserver based on [aleph](//aleph.io). In order this use this component simply call the `factory` function. It's going to get the configuration from the environment edn file and returns...
34770
(ns hellhound.components.webserver "The default web/websocket server component of **HellHound**. This component provides a webserver based on [aleph](//aleph.io). In order this use this component simply call the `factory` function. It's going to get the configuration from the environment edn file and returns...
true
(ns hellhound.components.webserver "The default web/websocket server component of **HellHound**. This component provides a webserver based on [aleph](//aleph.io). In order this use this component simply call the `factory` function. It's going to get the configuration from the environment edn file and returns...
[ { "context": "rname=\" user)\n (str \"--password=\" password)\n \"update\"]))]\n (when-not (ze", "end": 556, "score": 0.9989917874336243, "start": 548, "tag": "PASSWORD", "value": "password" } ]
api/test/wfl/tools/liquibase.clj
broadinstitute/wfl
15
(ns wfl.tools.liquibase (:require [wfl.service.postgres :as postgres]) (:import [liquibase.integration.commandline Main] [clojure.lang ExceptionInfo])) (defn run-liquibase "Migrate the database schema using Liquibase." [changelog {:keys [user password connection-uri]}] (let [status (Main/run ...
110587
(ns wfl.tools.liquibase (:require [wfl.service.postgres :as postgres]) (:import [liquibase.integration.commandline Main] [clojure.lang ExceptionInfo])) (defn run-liquibase "Migrate the database schema using Liquibase." [changelog {:keys [user password connection-uri]}] (let [status (Main/run ...
true
(ns wfl.tools.liquibase (:require [wfl.service.postgres :as postgres]) (:import [liquibase.integration.commandline Main] [clojure.lang ExceptionInfo])) (defn run-liquibase "Migrate the database schema using Liquibase." [changelog {:keys [user password connection-uri]}] (let [status (Main/run ...
[ { "context": " (mock/json-body {:name \"Renan\" :job \"SW\"})))]\n (is (= (:status response) 2", "end": 491, "score": 0.9998421669006348, "start": 486, "tag": "NAME", "value": "Renan" }, { "context": " (is (= (:body response) \"{\\\"id\\\":1,\\\"name\...
simple-api/test/simple_api/employers_api_test.clj
renanmarcos/clj-examples
0
(ns simple-api.employers-api-test (:require [clojure.test :refer :all] [ring.mock.request :as mock] [simple-api.handler :refer :all])) (deftest app-test (testing "GET Employers" (let [response (app (mock/request :get "/employers"))] (is (= (:status response) 200)) (is (= (:b...
68948
(ns simple-api.employers-api-test (:require [clojure.test :refer :all] [ring.mock.request :as mock] [simple-api.handler :refer :all])) (deftest app-test (testing "GET Employers" (let [response (app (mock/request :get "/employers"))] (is (= (:status response) 200)) (is (= (:b...
true
(ns simple-api.employers-api-test (:require [clojure.test :refer :all] [ring.mock.request :as mock] [simple-api.handler :refer :all])) (deftest app-test (testing "GET Employers" (let [response (app (mock/request :get "/employers"))] (is (= (:status response) 200)) (is (= (:b...
[ { "context": " is testing]]))\n\n(def matches \n [{:winner-name \"Kvitova P.\",\n :loser-name \"Ostapenko J.\",\n :tournament \"", "end": 156, "score": 0.9993794560432434, "start": 147, "tag": "NAME", "value": "Kvitova P" }, { "context": " \n [{:winner-name \"Kvitova P.\",\n...
Chapter05/tests/packt-clj.chapter-5-tests/test/packt_clj/chapter_5_tests/exercise_5_04_test.clj
transducer/The-Clojure-Workshop
55
(ns packt-clj.chapter-5-tests.exercise-5-04-test (:require [clojure.test :as t :refer [deftest is testing]])) (def matches [{:winner-name "Kvitova P.", :loser-name "Ostapenko J.", :tournament "US Open", :location "New York", :date "2016-08-29"} {:winner-name "Kvitova P.", :loser-name "Buy...
44352
(ns packt-clj.chapter-5-tests.exercise-5-04-test (:require [clojure.test :as t :refer [deftest is testing]])) (def matches [{:winner-name "<NAME>.", :loser-name "<NAME>.", :tournament "US Open", :location "New York", :date "2016-08-29"} {:winner-name "<NAME>.", :loser-name "<NAME>.", ...
true
(ns packt-clj.chapter-5-tests.exercise-5-04-test (:require [clojure.test :as t :refer [deftest is testing]])) (def matches [{:winner-name "PI:NAME:<NAME>END_PI.", :loser-name "PI:NAME:<NAME>END_PI.", :tournament "US Open", :location "New York", :date "2016-08-29"} {:winner-name "PI:NAME:<NAME...
[ { "context": "r :refer :all]))\n\n(def mock-data\n [{:id 1 :name \"Foo\"}\n {:id 2 :name \"Bar\"}])\n\n(deftest render-test\n", "end": 144, "score": 0.9968588352203369, "start": 141, "tag": "NAME", "value": "Foo" }, { "context": "mock-data\n [{:id 1 :name \"Foo\"}\n {:id 2 :nam...
test/clj/meetup/renderer_test.clj
jocrau/clojure-meetup
7
(ns meetup.renderer-test (:require [clojure.test :refer :all] [meetup.renderer :refer :all])) (def mock-data [{:id 1 :name "Foo"} {:id 2 :name "Bar"}]) (deftest render-test (testing "transforming items into a HTML list" (let [result (render-list mock-data)] (clojure.pprint/pprint result...
57961
(ns meetup.renderer-test (:require [clojure.test :refer :all] [meetup.renderer :refer :all])) (def mock-data [{:id 1 :name "<NAME>"} {:id 2 :name "<NAME>"}]) (deftest render-test (testing "transforming items into a HTML list" (let [result (render-list mock-data)] (clojure.pprint/pprint ...
true
(ns meetup.renderer-test (:require [clojure.test :refer :all] [meetup.renderer :refer :all])) (def mock-data [{:id 1 :name "PI:NAME:<NAME>END_PI"} {:id 2 :name "PI:NAME:<NAME>END_PI"}]) (deftest render-test (testing "transforming items into a HTML list" (let [result (render-list mock-data)] ...
[ { "context": "ame (str\n (rand-nth [\"Oscar\" \"Karen\" \"Vlad\" \"Rebecca\" \"Conrad\"]) \" \"\n ", "end": 956, "score": 0.9998378157615662, "start": 951, "tag": "NAME", "value": "Oscar" }, { "context": "\n (rand-nth [\"...
notebooks/pagination.clj
fuse-code/clerk
1
;; # Pagination (ns notebooks.pagination (:require [babashka.fs :as fs])) #_(nextjournal.clerk/show! "notebooks/pagination.clj") (range) (def notebooks (clojure.java.io/file "notebooks")) (def words-path "/usr/share/dict/words") (when-let [words (and (fs/exists? words-path) (slurp words-path))] (subs words 0...
52897
;; # Pagination (ns notebooks.pagination (:require [babashka.fs :as fs])) #_(nextjournal.clerk/show! "notebooks/pagination.clj") (range) (def notebooks (clojure.java.io/file "notebooks")) (def words-path "/usr/share/dict/words") (when-let [words (and (fs/exists? words-path) (slurp words-path))] (subs words 0...
true
;; # Pagination (ns notebooks.pagination (:require [babashka.fs :as fs])) #_(nextjournal.clerk/show! "notebooks/pagination.clj") (range) (def notebooks (clojure.java.io/file "notebooks")) (def words-path "/usr/share/dict/words") (when-let [words (and (fs/exists? words-path) (slurp words-path))] (subs words 0...
[ { "context": " form-validation []\n (let [state (atom {:email \"a@b.c\"\n :phone \"+7913 000 0000\"\n", "end": 1664, "score": 0.5422419309616089, "start": 1664, "tag": "EMAIL", "value": "" } ]
pages/prais2/examples/form_validation.cljs
WintonCentre/prais2cljs
1
(ns prais2.examples.form-validation (:require [rum.core :as rum] [prais2.examples.core :as core])) (rum/defc validating-input < rum/reactive [ref fn] [:input {:type "text" :style {:width 170 :background-color (when-not (fn (rum/react ref)) ...
91529
(ns prais2.examples.form-validation (:require [rum.core :as rum] [prais2.examples.core :as core])) (rum/defc validating-input < rum/reactive [ref fn] [:input {:type "text" :style {:width 170 :background-color (when-not (fn (rum/react ref)) ...
true
(ns prais2.examples.form-validation (:require [rum.core :as rum] [prais2.examples.core :as core])) (rum/defc validating-input < rum/reactive [ref fn] [:input {:type "text" :style {:width 170 :background-color (when-not (fn (rum/react ref)) ...
[ { "context": "; MIT License\n;\n; Copyright (c) 2017 Frederic Merizen & Kenny Williams\n;\n; Permission is hereby granted", "end": 53, "score": 0.9998394846916199, "start": 37, "tag": "NAME", "value": "Frederic Merizen" }, { "context": " License\n;\n; Copyright (c) 2017 Frederic Meri...
src/plumula/mimolette/impl.cljc
plumula/mimolette
3
; MIT License ; ; Copyright (c) 2017 Frederic Merizen & Kenny Williams ; ; Permission is hereby granted, free of charge, to any person obtaining a copy ; of this software and associated documentation files (the "Software"), to deal ; in the Software without restriction, including without limitation the rights ; to use,...
31158
; MIT License ; ; Copyright (c) 2017 <NAME> & <NAME> ; ; Permission is hereby granted, free of charge, to any person obtaining a copy ; of this software and associated documentation files (the "Software"), to deal ; in the Software without restriction, including without limitation the rights ; to use, copy, modify, mer...
true
; MIT License ; ; Copyright (c) 2017 PI:NAME:<NAME>END_PI & PI:NAME:<NAME>END_PI ; ; Permission is hereby granted, free of charge, to any person obtaining a copy ; of this software and associated documentation files (the "Software"), to deal ; in the Software without restriction, including without limitation the rights...
[ { "context": "e]\n ))\n\n#_(template/eval \"<%= name %>\" {:name \"Nate\"})\n", "end": 109, "score": 0.9991288185119629, "start": 105, "tag": "NAME", "value": "Nate" } ]
src/lib/comb.clj
justone/bb-scripts
24
(ns lib.comb (:require [comb.template :as template] )) #_(template/eval "<%= name %>" {:name "Nate"})
81818
(ns lib.comb (:require [comb.template :as template] )) #_(template/eval "<%= name %>" {:name "<NAME>"})
true
(ns lib.comb (:require [comb.template :as template] )) #_(template/eval "<%= name %>" {:name "PI:NAME:<NAME>END_PI"})
[ { "context": " :placeholder \"Your Name\"\n ", "end": 1433, "score": 0.9962713718414307, "start": 1424, "tag": "NAME", "value": "Your Name" }, { "context": " :placehol...
src/app/views/register.cljs
skilbjo/compojure
1
(ns app.views.register (:require [app.views.util :as util] [reagent.core :as reagent] [re-frame.core :refer [subscribe dispatch]])) ;; -- register ---------------------------------------------------------------- #_(defn register-user [event registration] (.preventDefault event) (dispa...
103179
(ns app.views.register (:require [app.views.util :as util] [reagent.core :as reagent] [re-frame.core :refer [subscribe dispatch]])) ;; -- register ---------------------------------------------------------------- #_(defn register-user [event registration] (.preventDefault event) (dispa...
true
(ns app.views.register (:require [app.views.util :as util] [reagent.core :as reagent] [re-frame.core :refer [subscribe dispatch]])) ;; -- register ---------------------------------------------------------------- #_(defn register-user [event registration] (.preventDefault event) (dispa...
[ { "context": ";; Exercise 1.6\n\n\n;; Alyssa P. Hacker doesn't see why if needs to be provided as", "end": 29, "score": 0.8802472352981567, "start": 21, "tag": "NAME", "value": "Alyssa P" }, { "context": ";; Exercise 1.6\n\n\n;; Alyssa P. Hacker doesn't see why if needs to be provide...
src/sicp/chapter1/ex1_6.clj
yzernik/sicp-clojure
0
;; Exercise 1.6 ;; Alyssa P. Hacker doesn't see why if needs to be provided as a special form. ``Why ;; can't I just define it as an ordinary procedure in terms of cond?'' she asks. ;; Alyssa's friend Eva Lu Ator claims this can indeed be done, and she defines a new ;; version of if: (defn new-if [predicate then-cl...
91863
;; Exercise 1.6 ;; <NAME>. H<NAME> doesn't see why if needs to be provided as a special form. ``Why ;; can't I just define it as an ordinary procedure in terms of cond?'' she asks. ;; Alyssa's friend <NAME> claims this can indeed be done, and she defines a new ;; version of if: (defn new-if [predicate then-clause e...
true
;; Exercise 1.6 ;; PI:NAME:<NAME>END_PI. HPI:NAME:<NAME>END_PI doesn't see why if needs to be provided as a special form. ``Why ;; can't I just define it as an ordinary procedure in terms of cond?'' she asks. ;; Alyssa's friend PI:NAME:<NAME>END_PI claims this can indeed be done, and she defines a new ;; version of i...
[ { "context": "! [{:db/id 1\n :name \"Herbert\"\n :occupation \"Chimney Sweep\"}]", "end": 1826, "score": 0.9997449517250061, "start": 1819, "tag": "NAME", "value": "Herbert" }, { "context": "e \"Herbert\"\n :occup...
re_view/test/re_view/state_test.cljs
braintripping/re-view
32
(ns re-view.state-test (:require [cljs.test :refer [deftest is are testing]] [re-db.d :as d] [re-view.core :as v :refer [defview]])) (def append-el #(js/document.body.appendChild (js/document.createElement "div"))) (deftest local-state (let [el (append-el) render #(v/render-to-dom % el)] (...
97875
(ns re-view.state-test (:require [cljs.test :refer [deftest is are testing]] [re-db.d :as d] [re-view.core :as v :refer [defview]])) (def append-el #(js/document.body.appendChild (js/document.createElement "div"))) (deftest local-state (let [el (append-el) render #(v/render-to-dom % el)] (...
true
(ns re-view.state-test (:require [cljs.test :refer [deftest is are testing]] [re-db.d :as d] [re-view.core :as v :refer [defview]])) (def append-el #(js/document.body.appendChild (js/document.createElement "div"))) (deftest local-state (let [el (append-el) render #(v/render-to-dom % el)] (...
[ { "context": ";; Copyright 2014-2020 King\n;; Copyright 2009-2014 Ragnar Svensson, Christian Murray\n;; Licensed under the Defold Li", "end": 111, "score": 0.9998028874397278, "start": 96, "tag": "NAME", "value": "Ragnar Svensson" }, { "context": "-2020 King\n;; Copyright 2009-2014 R...
editor/src/clj/editor/curve_grid.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...
44412
;; 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": ":reference-time (time/t -2 2013 2 12 4 30 0)}\n\n \"subito\"\n \"immediatamente\"\n \"in questo momento\"\n (date", "end": 139, "score": 0.9512903094291687, "start": 133, "tag": "NAME", "value": "subito" }, { "context": "desso\"\n \"in giornata\"\n (datetime 2013 ...
resources/languages/it/corpus/time.clj
sebastianmika/duckling
0
( ; Context map ; Tuesday Feb 12, 2013 at 4:30am is the "now" for the tests {:reference-time (time/t -2 2013 2 12 4 30 0)} "subito" "immediatamente" "in questo momento" (datetime 2013 2 12 4 30 00) "ora" "di oggi" "oggi" "adesso" "in giornata" (datetime 2013 2 12) "ieri" (datetime 2013 ...
67322
( ; Context map ; Tuesday Feb 12, 2013 at 4:30am is the "now" for the tests {:reference-time (time/t -2 2013 2 12 4 30 0)} "<NAME>" "immediatamente" "in questo momento" (datetime 2013 2 12 4 30 00) "ora" "di oggi" "oggi" "adesso" "in giornata" (datetime 2013 2 12) "<NAME>" (datetime 201...
true
( ; Context map ; Tuesday Feb 12, 2013 at 4:30am is the "now" for the tests {:reference-time (time/t -2 2013 2 12 4 30 0)} "PI:NAME:<NAME>END_PI" "immediatamente" "in questo momento" (datetime 2013 2 12 4 30 00) "ora" "di oggi" "oggi" "adesso" "in giornata" (datetime 2013 2 12) "PI:NAME:<...
[ { "context": "ibility\\\":\\\"missing-required-key\\\",\\\"password\\\":\\\"missing-required-key\\\"}}\"))\n\n (fact \"visibility must be valid\"\n ", "end": 2235, "score": 0.9834877848625183, "start": 2215, "tag": "PASSWORD", "value": "missing-required-key" }, { "context": " (...
test_old/clj/salava/page/settings_test.clj
Vilikkki/salava
17
(ns salava.page.settings-test (:require [midje.sweet :refer :all] [salava.core.migrator :as migrator] [salava.test-utils :refer [test-api-request login! logout! test-user-credentials]] [salava.core.helper :refer [dump]])) (def test-user 1) (def page-id 1) (def page-owned-by-anot...
14035
(ns salava.page.settings-test (:require [midje.sweet :refer :all] [salava.core.migrator :as migrator] [salava.test-utils :refer [test-api-request login! logout! test-user-credentials]] [salava.core.helper :refer [dump]])) (def test-user 1) (def page-id 1) (def page-owned-by-anot...
true
(ns salava.page.settings-test (:require [midje.sweet :refer :all] [salava.core.migrator :as migrator] [salava.test-utils :refer [test-api-request login! logout! test-user-credentials]] [salava.core.helper :refer [dump]])) (def test-user 1) (def page-id 1) (def page-owned-by-anot...
[ { "context": "tests for crawling functions\n;;\n;; Copyright 2012, F.M. de Waard & Vixu.com <fmw@vixu.com>.\n;;\n;; Licensed under t", "end": 94, "score": 0.9998586177825928, "start": 81, "tag": "NAME", "value": "F.M. de Waard" }, { "context": "s\n;;\n;; Copyright 2012, F.M. de Waard...
test/alida/test/crawl.clj
fmw/alida
6
;; test/alida/test/crawl.clj: tests for crawling functions ;; ;; Copyright 2012, F.M. de Waard & Vixu.com <fmw@vixu.com>. ;; ;; Licensed under the Apache License, Version 2.0 (the "License"); ;; you may not use this file except in compliance with the License. ;; You may obtain a copy of the License at ;; ;; http://www...
32392
;; test/alida/test/crawl.clj: tests for crawling functions ;; ;; Copyright 2012, <NAME> & Vixu.com <<EMAIL>>. ;; ;; Licensed under the Apache License, Version 2.0 (the "License"); ;; you may not use this file except in compliance with the License. ;; You may obtain a copy of the License at ;; ;; http://www.apache.org/...
true
;; test/alida/test/crawl.clj: tests for crawling functions ;; ;; Copyright 2012, PI:NAME:<NAME>END_PI & Vixu.com <PI:EMAIL:<EMAIL>END_PI>. ;; ;; Licensed under the Apache License, Version 2.0 (the "License"); ;; you may not use this file except in compliance with the License. ;; You may obtain a copy of the License at ...
[ { "context": "llo \" name))\n\n(defn bad [name]\n (.endsWith name \" Smith\"))\n", "end": 173, "score": 0.9772918224334717, "start": 168, "tag": "NAME", "value": "Smith" } ]
gradle-clojure-plugin/src/compatTest/projects/LeinClojureProjectTest/src/basic_project/core.clj
rdsr/gradle-clojure
53
(ns basic-project.core) (defprotocol ITest) (defn hello [name] (println "Generating message for" name) (str "Hello " name)) (defn bad [name] (.endsWith name " Smith"))
17839
(ns basic-project.core) (defprotocol ITest) (defn hello [name] (println "Generating message for" name) (str "Hello " name)) (defn bad [name] (.endsWith name " <NAME>"))
true
(ns basic-project.core) (defprotocol ITest) (defn hello [name] (println "Generating message for" name) (str "Hello " name)) (defn bad [name] (.endsWith name " PI:NAME:<NAME>END_PI"))
[ { "context": "oot parser written with parsec\n Copyright : (c) Karl Cronburg, 2018\n License : BSD3\n Maintainer : karl@c", "end": 180, "score": 0.9998966455459595, "start": 167, "tag": "NAME", "value": "Karl Cronburg" }, { "context": "ronburg, 2018\n License : BSD3\n ...
src/Language/ANTLR4/Boot/Parser.hs.boot
jsarracino/antlr-haskell
46
{-#LANGUAGE QuasiQuotes, TemplateHaskell#-} {-| Module : Language.ANTLR4.Boot.Parser Description : ANTLR4 boot parser written with parsec Copyright : (c) Karl Cronburg, 2018 License : BSD3 Maintainer : karl@cs.tufts.edu Stability : experimental Portability : POSIX -} module Language.ANTLR4.B...
101795
{-#LANGUAGE QuasiQuotes, TemplateHaskell#-} {-| Module : Language.ANTLR4.Boot.Parser Description : ANTLR4 boot parser written with parsec Copyright : (c) <NAME>, 2018 License : BSD3 Maintainer : <EMAIL> Stability : experimental Portability : POSIX -} module Language.ANTLR4.Boot.Parser where ...
true
{-#LANGUAGE QuasiQuotes, TemplateHaskell#-} {-| Module : Language.ANTLR4.Boot.Parser Description : ANTLR4 boot parser written with parsec Copyright : (c) PI:NAME:<NAME>END_PI, 2018 License : BSD3 Maintainer : PI:EMAIL:<EMAIL>END_PI Stability : experimental Portability : POSIX -} module Langu...
[ { "context": "hy\n (u/update-user (merge foo {:username \"foo\" :password \"123\"}))\n (u/get-user id) => (", "end": 675, "score": 0.9861178994178772, "start": 672, "tag": "USERNAME", "value": "foo" }, { "context": "pdate-user (merge foo {:username \"foo\" :password \...
test/re_core/integration/persistency.clj
celestial-ops/core
1
(ns re-core.integration.persistency "Integration test for persistency that use a redis instance" (:refer-clojure :exclude [type]) (:import clojure.lang.ExceptionInfo) (:require [re-core.fixtures.data :refer (foo)] [re-core.fixtures.core :refer (with-conf is-type?)] [re-core.fixtures.populate :refer...
86414
(ns re-core.integration.persistency "Integration test for persistency that use a redis instance" (:refer-clojure :exclude [type]) (:import clojure.lang.ExceptionInfo) (:require [re-core.fixtures.data :refer (foo)] [re-core.fixtures.core :refer (with-conf is-type?)] [re-core.fixtures.populate :refer...
true
(ns re-core.integration.persistency "Integration test for persistency that use a redis instance" (:refer-clojure :exclude [type]) (:import clojure.lang.ExceptionInfo) (:require [re-core.fixtures.data :refer (foo)] [re-core.fixtures.core :refer (with-conf is-type?)] [re-core.fixtures.populate :refer...
[ { "context": "ns under the License.\n;;\n;; Copyright © 2013-2022, Kenneth Leung. All rights reserved.\n\n(ns czlab.bixby.plugs.file", "end": 597, "score": 0.9998542666435242, "start": 584, "tag": "NAME", "value": "Kenneth Leung" } ]
src/main/clojure/czlab/bixby/plugs/files.clj
llnek/skaro
0
;; Licensed under the Apache License, Version 2.0 (the "License"); ;; you may not use this file except in compliance with the License. ;; You may obtain a copy of the License at ;; ;; http://www.apache.org/licenses/LICENSE-2.0 ;; ;; Unless required by applicable law or agreed to in writing, software ;; distributed ...
76906
;; Licensed under the Apache License, Version 2.0 (the "License"); ;; you may not use this file except in compliance with the License. ;; You may obtain a copy of the License at ;; ;; http://www.apache.org/licenses/LICENSE-2.0 ;; ;; Unless required by applicable law or agreed to in writing, software ;; distributed ...
true
;; Licensed under the Apache License, Version 2.0 (the "License"); ;; you may not use this file except in compliance with the License. ;; You may obtain a copy of the License at ;; ;; http://www.apache.org/licenses/LICENSE-2.0 ;; ;; Unless required by applicable law or agreed to in writing, software ;; distributed ...
[ { "context": " :threadID \"t_1\"\n :threadName \"Jing and Bill\"\n :authorName \"Bill\"\n ", "end": 422, "score": 0.9991786479949951, "start": 409, "tag": "NAME", "value": "Jing and Bill" }, { "context": "Name \"Jing and Bill\"\n ...
src/om_chat/core.cljs
colinf/om-chat-base
5
(ns om-chat.core (:require-macros [cljs.core.async.macros :refer [go]]) (:require [goog.dom :as gdom] [om.next :as om :refer-macros [defui]] [om.dom :as dom] [cljs-time.core :as dt] [cljs-time.coerce :as dt2])) (enable-console-print!) (def raw-data [ ...
73535
(ns om-chat.core (:require-macros [cljs.core.async.macros :refer [go]]) (:require [goog.dom :as gdom] [om.next :as om :refer-macros [defui]] [om.dom :as dom] [cljs-time.core :as dt] [cljs-time.coerce :as dt2])) (enable-console-print!) (def raw-data [ ...
true
(ns om-chat.core (:require-macros [cljs.core.async.macros :refer [go]]) (:require [goog.dom :as gdom] [om.next :as om :refer-macros [defui]] [om.dom :as dom] [cljs-time.core :as dt] [cljs-time.coerce :as dt2])) (enable-console-print!) (def raw-data [ ...
[ { "context": "(def config-meta\n {:entity/legolas ^:elf {:name \"Legolas\" :age 2931}})\n\n(deftest lazy-read-test\n (testing", "end": 259, "score": 0.9992977380752563, "start": 252, "tag": "NAME", "value": "Legolas" } ]
test/integrant_tools/edn_test.clj
mhondshorst/integrant-tools
2
(ns integrant-tools.edn-test (:require [clojure.test :refer :all] [integrant-tools.edn :as it.edn])) (def config-str "#:lotr{:quote #it/str [\"Not all those who wander are lost.\"]}") (def config-meta {:entity/legolas ^:elf {:name "Legolas" :age 2931}}) (deftest lazy-read-test (testing "Test that...
56289
(ns integrant-tools.edn-test (:require [clojure.test :refer :all] [integrant-tools.edn :as it.edn])) (def config-str "#:lotr{:quote #it/str [\"Not all those who wander are lost.\"]}") (def config-meta {:entity/legolas ^:elf {:name "<NAME>" :age 2931}}) (deftest lazy-read-test (testing "Test that ...
true
(ns integrant-tools.edn-test (:require [clojure.test :refer :all] [integrant-tools.edn :as it.edn])) (def config-str "#:lotr{:quote #it/str [\"Not all those who wander are lost.\"]}") (def config-meta {:entity/legolas ^:elf {:name "PI:NAME:<NAME>END_PI" :age 2931}}) (deftest lazy-read-test (testi...
[ { "context": ";; Copyright (c) Stephen C. Gilardi. All rights reserved. The use and\n;; distributi", "end": 36, "score": 0.9998637437820435, "start": 18, "tag": "NAME", "value": "Stephen C. Gilardi" }, { "context": "nternal definitions for clojure.contrib.sql\n;;\n;; scgilardi (g...
ThirdParty/clojure-contrib-1.1.0/src/clojure/contrib/sql/internal.clj
allertonm/Couverjure
3
;; Copyright (c) Stephen C. Gilardi. 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...
3849
;; 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 fas...
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 softw...
[ { "context": "; Copyright (c) 2021 Mikołaj Kuranowski\n; SPDX-License-Identifier: WTFPL\n(ns day12a\n (:r", "end": 39, "score": 0.9995422959327698, "start": 21, "tag": "NAME", "value": "Mikołaj Kuranowski" } ]
src/day12a.clj
MKuranowski/AdventOfCode2020
0
; Copyright (c) 2021 Mikołaj Kuranowski ; SPDX-License-Identifier: WTFPL (ns day12a (:require [core] [clojure.math.numeric-tower :refer [abs]])) (def rot-lookup {\N {90 \E, 180 \S, 270 \W} \E {90 \S, 180 \W, 270 \N} \S {90 \W, 180 \N, 270 \E} \W {90 \N, 180 \E, 270 \S}}) (defn read-navi [file...
115805
; Copyright (c) 2021 <NAME> ; SPDX-License-Identifier: WTFPL (ns day12a (:require [core] [clojure.math.numeric-tower :refer [abs]])) (def rot-lookup {\N {90 \E, 180 \S, 270 \W} \E {90 \S, 180 \W, 270 \N} \S {90 \W, 180 \N, 270 \E} \W {90 \N, 180 \E, 270 \S}}) (defn read-navi [filename] (->>...
true
; Copyright (c) 2021 PI:NAME:<NAME>END_PI ; SPDX-License-Identifier: WTFPL (ns day12a (:require [core] [clojure.math.numeric-tower :refer [abs]])) (def rot-lookup {\N {90 \E, 180 \S, 270 \W} \E {90 \S, 180 \W, 270 \N} \S {90 \W, 180 \N, 270 \E} \W {90 \N, 180 \E, 270 \S}}) (defn read-navi [fi...
[ { "context": "id3.basics-util :as util]\n ))\n\n(def cursor-key :b07-make-raw-elements)\n\n(def height 100)\n(def width 100)\n\n(defn example", "end": 189, "score": 0.8745425343513489, "start": 168, "tag": "KEY", "value": "b07-make-raw-elements" } ]
src/basics/rid3/b07_make_raw_elements.cljs
ryanechternacht/rid3
153
(ns rid3.b07-make-raw-elements (:require [reagent.core :as reagent] [rid3.core :as rid3 :refer [rid3->]] [rid3.basics-util :as util] )) (def cursor-key :b07-make-raw-elements) (def height 100) (def width 100) (defn example [app-state] (let [viz-ratom (reagent/cursor app-state [cursor-key])] (fn [...
35237
(ns rid3.b07-make-raw-elements (:require [reagent.core :as reagent] [rid3.core :as rid3 :refer [rid3->]] [rid3.basics-util :as util] )) (def cursor-key :<KEY>) (def height 100) (def width 100) (defn example [app-state] (let [viz-ratom (reagent/cursor app-state [cursor-key])] (fn [app-state] ...
true
(ns rid3.b07-make-raw-elements (:require [reagent.core :as reagent] [rid3.core :as rid3 :refer [rid3->]] [rid3.basics-util :as util] )) (def cursor-key :PI:KEY:<KEY>END_PI) (def height 100) (def width 100) (defn example [app-state] (let [viz-ratom (reagent/cursor app-state [cursor-key])] (fn [app...
[ { "context": ";; The MIT License\r\n;; \r\n;; Copyright (c) 2011 John Svazic\r\n;; \r\n;; Permission is hereby granted, free of ch", "end": 58, "score": 0.9998143315315247, "start": 47, "tag": "NAME", "value": "John Svazic" } ]
clojure/src/net/auxesia/core.clj
Srivani-Y/Hello-wolrld
159
;; The MIT License ;; ;; Copyright (c) 2011 John Svazic ;; ;; Permission is hereby granted, free of charge, to any person obtaining a copy ;; of this software and associated documentation files (the "Software"), to deal ;; in the Software without restriction, including without limitation the rights ;; to use, ...
63608
;; The MIT License ;; ;; Copyright (c) 2011 <NAME> ;; ;; Permission is hereby granted, free of charge, to any person obtaining a copy ;; of this software and associated documentation files (the "Software"), to deal ;; in the Software without restriction, including without limitation the rights ;; to use, copy,...
true
;; The MIT License ;; ;; Copyright (c) 2011 PI:NAME:<NAME>END_PI ;; ;; Permission is hereby granted, free of charge, to any person obtaining a copy ;; of this software and associated documentation files (the "Software"), to deal ;; in the Software without restriction, including without limitation the rights ;;...
[ { "context": ";-\n; Copyright 2009-2015 © Meikel Brandmeyer.\n; All rights reserved.\n;\n; Licensed under the EU", "end": 44, "score": 0.9998763799667358, "start": 27, "tag": "NAME", "value": "Meikel Brandmeyer" } ]
src/main/resources/clojuresque/util.clj
chali/nebula-clojure-plugin
18
;- ; Copyright 2009-2015 © Meikel Brandmeyer. ; All rights reserved. ; ; Licensed under the EUPL V.1.1 (cf. file EUPL-1.1 distributed with the ; source code.) Translations in other european languages available at ; https://joinup.ec.europa.eu/software/page/eupl. ; ; Alternatively, you may choose to use the software und...
52599
;- ; Copyright 2009-2015 © <NAME>. ; All rights reserved. ; ; Licensed under the EUPL V.1.1 (cf. file EUPL-1.1 distributed with the ; source code.) Translations in other european languages available at ; https://joinup.ec.europa.eu/software/page/eupl. ; ; Alternatively, you may choose to use the software under the MIT ...
true
;- ; Copyright 2009-2015 © PI:NAME:<NAME>END_PI. ; All rights reserved. ; ; Licensed under the EUPL V.1.1 (cf. file EUPL-1.1 distributed with the ; source code.) Translations in other european languages available at ; https://joinup.ec.europa.eu/software/page/eupl. ; ; Alternatively, you may choose to use the software ...
[ { "context": "; Map\n(def book {\"title\" \"Oliver Twist\" \"author\" \"Dickens\" \"published\" 1838})\n(get book \"title\") ;=> \"Olive", "end": 885, "score": 0.9995222687721252, "start": 878, "tag": "NAME", "value": "Dickens" }, { "context": "(def another-book {:title \"Oliver Twis...
cheatsheets/clojure.clj
peterprotwell/dotfiles
0
;; Clojure ;; Commas are always whitespace ;; () != nil in Clojure ;; Don't quote the empty list ;; In the repl, _ from irb is called *1 ;; Run one test: lein test :only namespace_name/test_name ;; Number 42 ;; String "hello" ;; Character \a ;; Boolean, only false and nil are falsy (if true (println "Yep")) ;; Sym...
19314
;; Clojure ;; Commas are always whitespace ;; () != nil in Clojure ;; Don't quote the empty list ;; In the repl, _ from irb is called *1 ;; Run one test: lein test :only namespace_name/test_name ;; Number 42 ;; String "hello" ;; Character \a ;; Boolean, only false and nil are falsy (if true (println "Yep")) ;; Sym...
true
;; Clojure ;; Commas are always whitespace ;; () != nil in Clojure ;; Don't quote the empty list ;; In the repl, _ from irb is called *1 ;; Run one test: lein test :only namespace_name/test_name ;; Number 42 ;; String "hello" ;; Character \a ;; Boolean, only false and nil are falsy (if true (println "Yep")) ;; Sym...
[ { "context": "ns to help work with musical time.\"\n :author \"Jeff Rose\"}\n overtone.music.rhythm\n (:use [overtone.music", "end": 80, "score": 0.9998738169670105, "start": 71, "tag": "NAME", "value": "Jeff Rose" } ]
src/overtone/music/rhythm.clj
samaaron/overtone
2
(ns ^{:doc "Functions to help work with musical time." :author "Jeff Rose"} overtone.music.rhythm (:use [overtone.music time])) ; Rhythm ; * a resting heart rate is 60-80 bpm ; * around 150 induces an excited state ; A rhythm system should let us refer to time in terms of rhythmic units like beat, bar, m...
76449
(ns ^{:doc "Functions to help work with musical time." :author "<NAME>"} overtone.music.rhythm (:use [overtone.music time])) ; Rhythm ; * a resting heart rate is 60-80 bpm ; * around 150 induces an excited state ; A rhythm system should let us refer to time in terms of rhythmic units like beat, bar, meas...
true
(ns ^{:doc "Functions to help work with musical time." :author "PI:NAME:<NAME>END_PI"} overtone.music.rhythm (:use [overtone.music time])) ; Rhythm ; * a resting heart rate is 60-80 bpm ; * around 150 induces an excited state ; A rhythm system should let us refer to time in terms of rhythmic units like b...
[ { "context": "db/id {:comments [:db/id :title {:author [:db/id :username]}]}] (::dfi/query ready-state)))))\n\n (behavior \"", "end": 3402, "score": 0.7307901382446289, "start": 3394, "tag": "USERNAME", "value": "username" }, { "context": "x 1}) {:comments [:db/id :title {:author [:...
src/test/fulcro/client/data_fetch_spec.cljs
weirp/fulcrodev
0
(ns fulcro.client.data-fetch-spec (:require [fulcro.client.data-fetch :as df] [fulcro.client.impl.data-fetch :as dfi] [fulcro.client.util :as util] [goog.log :as glog] [om.next :as om :refer [defui]] [cljs.test :refer-macros [is are]] [fulcro-spec.core :refer [specification behavior a...
111915
(ns fulcro.client.data-fetch-spec (:require [fulcro.client.data-fetch :as df] [fulcro.client.impl.data-fetch :as dfi] [fulcro.client.util :as util] [goog.log :as glog] [om.next :as om :refer [defui]] [cljs.test :refer-macros [is are]] [fulcro-spec.core :refer [specification behavior a...
true
(ns fulcro.client.data-fetch-spec (:require [fulcro.client.data-fetch :as df] [fulcro.client.impl.data-fetch :as dfi] [fulcro.client.util :as util] [goog.log :as glog] [om.next :as om :refer [defui]] [cljs.test :refer-macros [is are]] [fulcro-spec.core :refer [specification behavior a...
[ { "context": " for multiple dispatch alternatives.\"\n :author \"palisades dot lakes at gmail dot com\"\n :version \"2017-12-15\"}\n \n (:require [palisa", "end": 287, "score": 0.7936733365058899, "start": 251, "tag": "EMAIL", "value": "palisades dot lakes at gmail dot com" } ]
src/scripts/clojure/palisades/lakes/collex/scripts/defs.clj
palisades-lakes/collection-experiments
0
(set! *warn-on-reflection* true) (set! *unchecked-math* :warn-on-boxed) ;;---------------------------------------------------------------- (ns palisades.lakes.collex.scripts.defs {:doc "Benchmarks for multiple dispatch alternatives." :author "palisades dot lakes at gmail dot com" :version "2017-12-15"} ...
107556
(set! *warn-on-reflection* true) (set! *unchecked-math* :warn-on-boxed) ;;---------------------------------------------------------------- (ns palisades.lakes.collex.scripts.defs {:doc "Benchmarks for multiple dispatch alternatives." :author "<EMAIL>" :version "2017-12-15"} (:require [palisades.lakes.be...
true
(set! *warn-on-reflection* true) (set! *unchecked-math* :warn-on-boxed) ;;---------------------------------------------------------------- (ns palisades.lakes.collex.scripts.defs {:doc "Benchmarks for multiple dispatch alternatives." :author "PI:EMAIL:<EMAIL>END_PI" :version "2017-12-15"} (:require [pal...
[ { "context": "re :as r]\n ))\n\n(defonce r-node-address (r/atom \"3.80.184.123:26657\"))\n(defonce r-node-status (r/atom {}))\n\n(de", "end": 344, "score": 0.9997124075889587, "start": 332, "tag": "IP_ADDRESS", "value": "3.80.184.123" } ]
src/tenderflow/core.cljs
kevlubkcm/tenderflow
6
(ns ^:figwheel-hooks tenderflow.core (:require-macros [cljs.core.async.macros :refer [go]]) (:require [goog.dom :as gdom] [cljsjs.d3] [cljs-http.client :as http] [cljs.core.async :refer [<!]] [wscljs.client :as ws] [wscljs.format :as fmt] [reagent.core :as r] )) (defonce r-node-addre...
76261
(ns ^:figwheel-hooks tenderflow.core (:require-macros [cljs.core.async.macros :refer [go]]) (:require [goog.dom :as gdom] [cljsjs.d3] [cljs-http.client :as http] [cljs.core.async :refer [<!]] [wscljs.client :as ws] [wscljs.format :as fmt] [reagent.core :as r] )) (defonce r-node-addre...
true
(ns ^:figwheel-hooks tenderflow.core (:require-macros [cljs.core.async.macros :refer [go]]) (:require [goog.dom :as gdom] [cljsjs.d3] [cljs-http.client :as http] [cljs.core.async :refer [<!]] [wscljs.client :as ws] [wscljs.format :as fmt] [reagent.core :as r] )) (defonce r-node-addre...
[ { "context": "l://localhost/inviteyoself?user=postgres&password=password\"}\n :plugins\n [[lein-ring \"0.8.10\"]\n [lein-env", "end": 388, "score": 0.9994731545448303, "start": 380, "tag": "PASSWORD", "value": "password" }, { "context": " true :db-user-name \"postgres\" :db-user-...
project.clj
Lance0312/inviteyoself
23
(defproject inviteyoself "0.1.0-SNAPSHOT" :description "Allow people to invite themselves to your slack team." :ring {:handler inviteyoself.handler/app, :init inviteyoself.handler/init, :destroy inviteyoself.handler/destroy} :ragtime {:migrations ragtime.sql.files/migrations, :database "jdbc...
90106
(defproject inviteyoself "0.1.0-SNAPSHOT" :description "Allow people to invite themselves to your slack team." :ring {:handler inviteyoself.handler/app, :init inviteyoself.handler/init, :destroy inviteyoself.handler/destroy} :ragtime {:migrations ragtime.sql.files/migrations, :database "jdbc...
true
(defproject inviteyoself "0.1.0-SNAPSHOT" :description "Allow people to invite themselves to your slack team." :ring {:handler inviteyoself.handler/app, :init inviteyoself.handler/init, :destroy inviteyoself.handler/destroy} :ragtime {:migrations ragtime.sql.files/migrations, :database "jdbc...
[ { "context": "gned data cell.\n \n Uses Ed25519.\"\n\n {:author \"Adam Helinski\"}\n\n (:import (convex.core.crypto AKeyPair\n ", "end": 269, "score": 0.9989038705825806, "start": 256, "tag": "NAME", "value": "Adam Helinski" } ]
project/net/src/clj/main/convex/sign.clj
rosejn/convex.cljc
30
(ns convex.sign "Signing cells using public key cryptography, most notably transactions as required prior to submission. More precisely, is signed the hash of the encoding of the cell, producing a signed data cell. Uses Ed25519." {:author "Adam Helinski"} (:import (convex.core.crypto AKeyPair ...
122500
(ns convex.sign "Signing cells using public key cryptography, most notably transactions as required prior to submission. More precisely, is signed the hash of the encoding of the cell, producing a signed data cell. Uses Ed25519." {:author "<NAME>"} (:import (convex.core.crypto AKeyPair ...
true
(ns convex.sign "Signing cells using public key cryptography, most notably transactions as required prior to submission. More precisely, is signed the hash of the encoding of the cell, producing a signed data cell. Uses Ed25519." {:author "PI:NAME:<NAME>END_PI"} (:import (convex.core.crypto AKeyPair ...
[ { "context": "; Copyright (c) Rich Hickey. All rights reserved.\n; The use and distributio", "end": 29, "score": 0.9998584985733032, "start": 18, "tag": "NAME", "value": "Rich Hickey" }, { "context": "es.clj: unit tests for fixtures in test.clj\n\n;; by Stuart Sierra\n;; March 28...
ThirdParty/clojure-1.1.0/test/clojure/test_clojure/test_fixtures.clj
allertonm/Couverjure
3
; 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 ...
5875
; 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": "-machine\n {:initial :a\n :context {:first-name \"Peter\"\n :last-name \"Muys\"}\n :entry [:e", "end": 250, "score": 0.999566912651062, "start": 245, "tag": "NAME", "value": "Peter" }, { "context": "xt {:first-name \"Peter\"\n :last-name ...
test/glasgolia/glas_state/service_test.cljc
glasgolia/glas-state
5
(ns glasgolia.glas-state.service-test (:require [clojure.test :refer :all] [glasgolia.glas-state.stateless :as sl] [glasgolia.glas-state.service :refer :all])) (def the-machine {:initial :a :context {:first-name "Peter" :last-name "Muys"} :entry [:entry-a (sl/assign (f...
70310
(ns glasgolia.glas-state.service-test (:require [clojure.test :refer :all] [glasgolia.glas-state.stateless :as sl] [glasgolia.glas-state.service :refer :all])) (def the-machine {:initial :a :context {:first-name "<NAME>" :last-name "<NAME>"} :entry [:entry-a (sl/assign...
true
(ns glasgolia.glas-state.service-test (:require [clojure.test :refer :all] [glasgolia.glas-state.stateless :as sl] [glasgolia.glas-state.service :refer :all])) (def the-machine {:initial :a :context {:first-name "PI:NAME:<NAME>END_PI" :last-name "PI:NAME:<NAME>END_PI"} :...
[ { "context": ";; The MIT License (MIT)\n;;\n;; Copyright (c) 2015 Richard Hull\n;;\n;; Permission is hereby granted, free of charg", "end": 62, "score": 0.9997876286506653, "start": 50, "tag": "NAME", "value": "Richard Hull" }, { "context": "ake-context)\n (assoc :trace true)\n (quer...
test/wam/compiler_test.clj
rm-hull/wam
23
;; The MIT License (MIT) ;; ;; Copyright (c) 2015 Richard Hull ;; ;; Permission is hereby granted, free of charge, to any person obtaining a copy ;; of this software and associated documentation files (the "Software"), to deal ;; in the Software without restriction, including without limitation the rights ;; to use, co...
91355
;; The MIT License (MIT) ;; ;; Copyright (c) 2015 <NAME> ;; ;; Permission is hereby granted, free of charge, to any person obtaining a copy ;; of this software and associated documentation files (the "Software"), to deal ;; in the Software without restriction, including without limitation the rights ;; to use, copy, mo...
true
;; The MIT License (MIT) ;; ;; Copyright (c) 2015 PI:NAME:<NAME>END_PI ;; ;; Permission is hereby granted, free of charge, to any person obtaining a copy ;; of this software and associated documentation files (the "Software"), to deal ;; in the Software without restriction, including without limitation the rights ;; to...
[ { "context": ": Add this boost to your gauge.\"]\n :ryu-tatsu [\"Tatsumaki Senpukyaku\"\n \"Special\n Speed 3.\n", "end": 1838, "score": 0.9569891691207886, "start": 1818, "tag": "NAME", "value": "Tatsumaki Senpukyaku" }, { "context": " Power and +1 Spee...
src/cljs/exceed/cards/season_three.cljs
Jungorend/gekiha
2
(ns exceed.cards.season-three) (def ryu "Contains the names and descriptions for Ryu's cards. Each is a tuple of `name` and then the card `description`" {:ryu ["Ryu" "As an action, you may Move 1.\nExceed Cost: 1"] :ryu-donkey-kick ["Donkey Kick" "Special S...
49918
(ns exceed.cards.season-three) (def ryu "Contains the names and descriptions for Ryu's cards. Each is a tuple of `name` and then the card `description`" {:ryu ["Ryu" "As an action, you may Move 1.\nExceed Cost: 1"] :ryu-donkey-kick ["Donkey Kick" "Special S...
true
(ns exceed.cards.season-three) (def ryu "Contains the names and descriptions for Ryu's cards. Each is a tuple of `name` and then the card `description`" {:ryu ["Ryu" "As an action, you may Move 1.\nExceed Cost: 1"] :ryu-donkey-kick ["Donkey Kick" "Special S...
[ { "context": " Dexterity Vest\", :sell-in 9, :quality 0} {:name \"Aged Brie\", :sell-in 1, :quality 1} {:name \"Elixir of the M", "end": 352, "score": 0.907465398311615, "start": 343, "tag": "NAME", "value": "Aged Brie" } ]
clojure/spec/gilded_rose/core_spec.clj
santosh79/gilded-rose
0
(ns gilded-rose.core-spec (:require [speclj.core :refer :all] [clojure.test :refer :all] [gilded-rose.core :refer [update-quality]])) (deftest a-test (testing "base case" (let [ result '({:name "+5 Dexterity Vest", :sell-in 9, :quality 19} {:name "+6 Dexterity Vest", :sell-in ...
78415
(ns gilded-rose.core-spec (:require [speclj.core :refer :all] [clojure.test :refer :all] [gilded-rose.core :refer [update-quality]])) (deftest a-test (testing "base case" (let [ result '({:name "+5 Dexterity Vest", :sell-in 9, :quality 19} {:name "+6 Dexterity Vest", :sell-in ...
true
(ns gilded-rose.core-spec (:require [speclj.core :refer :all] [clojure.test :refer :all] [gilded-rose.core :refer [update-quality]])) (deftest a-test (testing "base case" (let [ result '({:name "+5 Dexterity Vest", :sell-in 9, :quality 19} {:name "+6 Dexterity Vest", :sell-in ...
[ { "context": " of the templated target project.\"\n :author \"Paul Landes\"}\n zensols.mkproj.make-project\n (:require [cl", "end": 115, "score": 0.9998815655708313, "start": 104, "tag": "NAME", "value": "Paul Landes" } ]
src/clojure/zensols/mkproj/make_project.clj
plandes/clj-mkproj
0
(ns ^{:doc "The library that orchestrates the creation of the templated target project." :author "Paul Landes"} zensols.mkproj.make-project (:require [clojure.java.io :as io] [clojure.tools.logging :as log] [clj-yaml.core :as yaml]) (:require [zensols.mkproj.velocity :as v] ...
84837
(ns ^{:doc "The library that orchestrates the creation of the templated target project." :author "<NAME>"} zensols.mkproj.make-project (:require [clojure.java.io :as io] [clojure.tools.logging :as log] [clj-yaml.core :as yaml]) (:require [zensols.mkproj.velocity :as v] ...
true
(ns ^{:doc "The library that orchestrates the creation of the templated target project." :author "PI:NAME:<NAME>END_PI"} zensols.mkproj.make-project (:require [clojure.java.io :as io] [clojure.tools.logging :as log] [clj-yaml.core :as yaml]) (:require [zensols.mkproj.velocity :as v...
[ { "context": " api-endpoint \"/api\")\n(def csrf-token-header-key \"X-TEST-HELPER-CSRF\")\n\n;; fulcro doesn't append charset=UTF-8 to tran", "end": 321, "score": 0.9681361317634583, "start": 303, "tag": "KEY", "value": "X-TEST-HELPER-CSRF" } ]
test/server/com/grzm/sorty/server/test/api_helpers.clj
grzm/sorty
0
(ns com.grzm.sorty.server.test.api-helpers (:require [clojure.test :refer [is]] [cognitect.transit :as ct] [com.grzm.sorty.server.fulcro-util :as fu] [fulcro.server :as fs] [io.pedestal.log :as log] [peridot.core :as p])) (def api-endpoint "/api") (def csrf-token-header-key "X-TEST-HELPER-CSR...
18835
(ns com.grzm.sorty.server.test.api-helpers (:require [clojure.test :refer [is]] [cognitect.transit :as ct] [com.grzm.sorty.server.fulcro-util :as fu] [fulcro.server :as fs] [io.pedestal.log :as log] [peridot.core :as p])) (def api-endpoint "/api") (def csrf-token-header-key "<KEY>") ;; fulcr...
true
(ns com.grzm.sorty.server.test.api-helpers (:require [clojure.test :refer [is]] [cognitect.transit :as ct] [com.grzm.sorty.server.fulcro-util :as fu] [fulcro.server :as fs] [io.pedestal.log :as log] [peridot.core :as p])) (def api-endpoint "/api") (def csrf-token-header-key "PI:KEY:<KEY>END_P...
[ { "context": "ions date-opts\n :initiator {:name \"My epic name\"\n :email \"me@example.c", "end": 2380, "score": 0.9977262020111084, "start": 2368, "tag": "NAME", "value": "My epic name" }, { "context": "My epic name\"\n ...
src/doodlebot/api.clj
Akeboshiwind/tg-doodlebot
0
(ns doodlebot.api (:require [org.httpkit.client :as http] [cheshire.core :refer [generate-string parse-string]] [clj-time.core :as t] [clj-time.coerce :as c] [clj-time.periodic :as p] [doodlebot.utils :refer :all]) (:import [javax.net.ssl SSLEn...
36143
(ns doodlebot.api (:require [org.httpkit.client :as http] [cheshire.core :refer [generate-string parse-string]] [clj-time.core :as t] [clj-time.coerce :as c] [clj-time.periodic :as p] [doodlebot.utils :refer :all]) (:import [javax.net.ssl SSLEn...
true
(ns doodlebot.api (:require [org.httpkit.client :as http] [cheshire.core :refer [generate-string parse-string]] [clj-time.core :as t] [clj-time.coerce :as c] [clj-time.periodic :as p] [doodlebot.utils :refer :all]) (:import [javax.net.ssl SSLEn...
[ { "context": "ame\\\"\n :password \\\"a_bad_password\\\"}))\"\n [spec]\n (assoc spec\n :subprotoco", "end": 621, "score": 0.9994848370552063, "start": 607, "tag": "PASSWORD", "value": "a_bad_password" } ]
src/bedquilt/core.clj
BedquiltDB/clj-bedquilt
7
(ns bedquilt.core (:require [clojure.java.jdbc :as j] [cheshire.core :as json] [bedquilt.utils :as utils]) (:refer-clojure :exclude [find count remove distinct])) (defn make-db-spec "Build a connection spec, same as a clojure.java.jdbc spec. This function will add the appropriate Postgr...
104491
(ns bedquilt.core (:require [clojure.java.jdbc :as j] [cheshire.core :as json] [bedquilt.utils :as utils]) (:refer-clojure :exclude [find count remove distinct])) (defn make-db-spec "Build a connection spec, same as a clojure.java.jdbc spec. This function will add the appropriate Postgr...
true
(ns bedquilt.core (:require [clojure.java.jdbc :as j] [cheshire.core :as json] [bedquilt.utils :as utils]) (:refer-clojure :exclude [find count remove distinct])) (defn make-db-spec "Build a connection spec, same as a clojure.java.jdbc spec. This function will add the appropriate Postgr...
[ { "context": "figuration\n [user-domain-config]\n (let [{:keys [hashed-password clear-password gpg ssh-authorized-keys s", "end": 1965, "score": 0.9809753894805908, "start": 1959, "tag": "PASSWORD", "value": "hashed" }, { "context": "ion\n [user-domain-config]\n (let [{:keys [has...
main/src/dda/pallet/dda_user_crate/convention.clj
DomainDrivenArchitecture/dda-user-crate
3
; 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...
102185
; 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": "ogether form the well-known `eval`.\"\n\n {:author \"Adam Helinski\"}\n\n (:require [convex.cell :as $.cell]\n ", "end": 558, "score": 0.9996340274810791, "start": 545, "tag": "NAME", "value": "Adam Helinski" } ]
project/recipe/src/clj/main/convex/recipe/cvm.clj
rosejn/convex.cljc
30
(ns convex.recipe.cvm "The CVM (Convex Virtual Machine) is the execution engine of the Convex network. Whenever a query or a transaction is submitted to a peer, as seen in `convex.recipe.client`, peers execute code given as a cell using the CVM. This example provides an overview to get an idea of what i...
118711
(ns convex.recipe.cvm "The CVM (Convex Virtual Machine) is the execution engine of the Convex network. Whenever a query or a transaction is submitted to a peer, as seen in `convex.recipe.client`, peers execute code given as a cell using the CVM. This example provides an overview to get an idea of what i...
true
(ns convex.recipe.cvm "The CVM (Convex Virtual Machine) is the execution engine of the Convex network. Whenever a query or a transaction is submitted to a peer, as seen in `convex.recipe.client`, peers execute code given as a cell using the CVM. This example provides an overview to get an idea of what i...
[ { "context": ":div \"Password:\" [:br]\n (form/password-field \"password\")]\n [:div (form/submit-button \"Log in\")]\n [", "end": 4463, "score": 0.9937905669212341, "start": 4455, "tag": "PASSWORD", "value": "password" }, { "context": "rification!\n [user-id email]\n (le...
src/auth_template/service.clj
cjbarre/auth-template
51
(ns auth-template.service (:require [io.pedestal.http :as http] [io.pedestal.http.body-params :refer [body-params]] [io.pedestal.http.secure-headers :as sec-headers] [io.pedestal.http.csrf :as csrf] [clojure.string :as str] [ring.util.response :as ring-respo...
74392
(ns auth-template.service (:require [io.pedestal.http :as http] [io.pedestal.http.body-params :refer [body-params]] [io.pedestal.http.secure-headers :as sec-headers] [io.pedestal.http.csrf :as csrf] [clojure.string :as str] [ring.util.response :as ring-respo...
true
(ns auth-template.service (:require [io.pedestal.http :as http] [io.pedestal.http.body-params :refer [body-params]] [io.pedestal.http.secure-headers :as sec-headers] [io.pedestal.http.csrf :as csrf] [clojure.string :as str] [ring.util.response :as ring-respo...
[ { "context": "supplied TSV files\n;; interactively in emacs using Jack Rusher's tsv-to-sexp lisp function:\n;;\n;;;; (defun tsv", "end": 176, "score": 0.735090434551239, "start": 167, "tag": "NAME", "value": "Jack Rush" } ]
src/vdquil/chapter4/ch4data.clj
Jjunior130/vdquil
33
;; Data for exercises in Chapter 4 (ns vdquil.chapter4.ch4data) ;; Data (locations, names) was extracted from the supplied TSV files ;; interactively in emacs using Jack Rusher's tsv-to-sexp lisp function: ;; ;;;; (defun tsv-to-sexp (tsv) ;;;; "Parses the string `tsv` as a tab-separated-value file, ;;;; returning a...
11739
;; Data for exercises in Chapter 4 (ns vdquil.chapter4.ch4data) ;; Data (locations, names) was extracted from the supplied TSV files ;; interactively in emacs using <NAME>er's tsv-to-sexp lisp function: ;; ;;;; (defun tsv-to-sexp (tsv) ;;;; "Parses the string `tsv` as a tab-separated-value file, ;;;; returning a se...
true
;; Data for exercises in Chapter 4 (ns vdquil.chapter4.ch4data) ;; Data (locations, names) was extracted from the supplied TSV files ;; interactively in emacs using PI:NAME:<NAME>END_PIer's tsv-to-sexp lisp function: ;; ;;;; (defun tsv-to-sexp (tsv) ;;;; "Parses the string `tsv` as a tab-separated-value file, ;;;; ...
[ { "context": "; Copyright 2020 Mark Wardle and Eldrix Ltd\n;\n; Licensed under the Apache Li", "end": 28, "score": 0.9998632669448853, "start": 17, "tag": "NAME", "value": "Mark Wardle" } ]
src/com/eldrix/hermes/core.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 ...
84857
; 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": "(let [s \"Hello, World\"]\n (println s))\n", "end": 21, "score": 0.7204849720001221, "start": 16, "tag": "NAME", "value": "World" } ]
clojure/hello-world.clj
AnselAtoms/blog-snippets
0
(let [s "Hello, World"] (println s))
45913
(let [s "Hello, <NAME>"] (println s))
true
(let [s "Hello, PI:NAME:<NAME>END_PI"] (println s))
[ { "context": ";;;; Copyright © 2011 Paul Stadig\n;;;;\n;;;; Licensed under the Apache License, Vers", "end": 33, "score": 0.9998817443847656, "start": 22, "tag": "NAME", "value": "Paul Stadig" } ]
test/migratus/test/core.clj
aclaimant/migratus
0
;;;; Copyright © 2011 Paul Stadig ;;;; ;;;; 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 l...
110462
;;;; Copyright © 2011 <NAME> ;;;; ;;;; Licensed under the Apache License, Version 2.0 (the "License"); you may not ;;;; use this file except in compliance with the License. You may obtain a copy ;;;; of the License at ;;;; ;;;; http://www.apache.org/licenses/LICENSE-2.0 ;;;; ;;;; Unless required by applicable law or...
true
;;;; Copyright © 2011 PI:NAME:<NAME>END_PI ;;;; ;;;; Licensed under the Apache License, Version 2.0 (the "License"); you may not ;;;; use this file except in compliance with the License. You may obtain a copy ;;;; of the License at ;;;; ;;;; http://www.apache.org/licenses/LICENSE-2.0 ;;;; ;;;; Unless required by app...
[ { "context": " #{}))\n #{\"County Cork\" \"County Laois\" \"Leinster\" \"Ulster\" \"County Waterford\" \"County Meath\"\n ", "end": 1959, "score": 0.9784228801727295, "start": 1951, "tag": "NAME", "value": "Leinster" }, { "context": " #{\"County Cork\" \"County La...
test/mundaneum/core_test.clj
den1k/mundaneum
0
(ns mundaneum.core-test (:require [clojure.test :refer :all] [mundaneum.query :refer [property entity describe query]] [backtick :refer [template]])) (deftest property-and-entity-tests (testing "Property lookups" (is (= (property :instance-of) "P31")) (is (= (property :par...
11350
(ns mundaneum.core-test (:require [clojure.test :refer :all] [mundaneum.query :refer [property entity describe query]] [backtick :refer [template]])) (deftest property-and-entity-tests (testing "Property lookups" (is (= (property :instance-of) "P31")) (is (= (property :par...
true
(ns mundaneum.core-test (:require [clojure.test :refer :all] [mundaneum.query :refer [property entity describe query]] [backtick :refer [template]])) (deftest property-and-entity-tests (testing "Property lookups" (is (= (property :instance-of) "P31")) (is (= (property :par...
[ { "context": "0] (encode nil [100.00])))\n (is (= [\"{\\\"name\\\":\\\"Bruce\\\"}\"] (encode nil [{:name \"Bruce\"}])))\n (is (= [[", "end": 825, "score": 0.9929302334785461, "start": 820, "tag": "NAME", "value": "Bruce" }, { "context": " (= [\"{\\\"name\\\":\\\"Bruce\\\"}\"] (enco...
test/unit/restql/core/encoders/core_test.clj
caiorcferreira/restQL-clojure
0
(ns restql.core.encoders.core-test (:require [slingshot.slingshot :refer [try+]] [clojure.test :refer [deftest is]]) (:use restql.core.encoders.core)) (deftest test-simple-values (is (= 10 (encode base-encoders 10))) (is (= true (encode base-encoders true))) (is (= "[\"a\",\"b\"]" (encode base-...
41308
(ns restql.core.encoders.core-test (:require [slingshot.slingshot :refer [try+]] [clojure.test :refer [deftest is]]) (:use restql.core.encoders.core)) (deftest test-simple-values (is (= 10 (encode base-encoders 10))) (is (= true (encode base-encoders true))) (is (= "[\"a\",\"b\"]" (encode base-...
true
(ns restql.core.encoders.core-test (:require [slingshot.slingshot :refer [try+]] [clojure.test :refer [deftest is]]) (:use restql.core.encoders.core)) (deftest test-simple-values (is (= 10 (encode base-encoders 10))) (is (= true (encode base-encoders true))) (is (= "[\"a\",\"b\"]" (encode base-...
[ { "context": "ring-serialization\n (testing \"v0\"\n (let [b58 \"Qmd8kgzaFLGYtTS1zfF37qKGgYQd5yKcQMyBeSa8UkUz4W\"\n ", "end": 3994, "score": 0.57588791847229, "start": 3990, "tag": "KEY", "value": "Qmd8" }, { "context": "erialization\n (testing \"v0\"\n (let [b58 \"Qmd8k...
test/multiformats/cid_test.cljc
aria42/clj-multiformats
0
(ns multiformats.cid-test (:require [alphabase.bytes :as b :refer [bytes=]] [clojure.string :as str] #?(:clj [clojure.test :refer [deftest testing is]] :cljs [cljs.test :refer-macros [deftest testing is]]) [multiformats.cid :as cid] [multiformats.hash :as mhash]) #?(:clj (:import ...
108780
(ns multiformats.cid-test (:require [alphabase.bytes :as b :refer [bytes=]] [clojure.string :as str] #?(:clj [clojure.test :refer [deftest testing is]] :cljs [cljs.test :refer-macros [deftest testing is]]) [multiformats.cid :as cid] [multiformats.hash :as mhash]) #?(:clj (:import ...
true
(ns multiformats.cid-test (:require [alphabase.bytes :as b :refer [bytes=]] [clojure.string :as str] #?(:clj [clojure.test :refer [deftest testing is]] :cljs [cljs.test :refer-macros [deftest testing is]]) [multiformats.cid :as cid] [multiformats.hash :as mhash]) #?(:clj (:import ...
[ { "context": ";;; Copyright 2013 Mitchell Kember. Subject to the MIT License.\n;;; 2010 Canadian Co", "end": 34, "score": 0.9998847246170044, "start": 19, "tag": "NAME", "value": "Mitchell Kember" } ]
src/ccc/y2010/s4_old.clj
mk12/ccc
0
;;; Copyright 2013 Mitchell Kember. Subject to the MIT License. ;;; 2010 Canadian Computing Competition: Senior Division ;;; Problem S4: Animal Farm (ns ccc.y2010.s4-old (:require [clojure.set :as s])) ;;; A "node" is an integer representing a point on an undirected graph. ;;; An "edge" is a collection of exactly t...
122056
;;; Copyright 2013 <NAME>. Subject to the MIT License. ;;; 2010 Canadian Computing Competition: Senior Division ;;; Problem S4: Animal Farm (ns ccc.y2010.s4-old (:require [clojure.set :as s])) ;;; A "node" is an integer representing a point on an undirected graph. ;;; An "edge" is a collection of exactly two nodes,...
true
;;; Copyright 2013 PI:NAME:<NAME>END_PI. Subject to the MIT License. ;;; 2010 Canadian Computing Competition: Senior Division ;;; Problem S4: Animal Farm (ns ccc.y2010.s4-old (:require [clojure.set :as s])) ;;; A "node" is an integer representing a point on an undirected graph. ;;; An "edge" is a collection of exac...
[ { "context": " ; values with metadata\n(log (Person. \"John Doe\" \"Office 33\\n27 Colmore Row\\nBirmingham\\nEngland\"", "end": 2821, "score": 0.9996363520622253, "start": 2813, "tag": "NAME", "value": "John Doe" } ]
examples/lein/src/demo/devtools_sample/core.cljs
MawiraIke/cljs-devtools
1,125
(ns devtools-sample.core (:require-macros [devtools-sample.logging :refer [log]]) (:require [clojure.string :as string] [devtools-sample.boot :refer [boot!]] [devtools.formatters.markup :refer [<standard-body>]] [devtools.formatters.templating :refer [render-markup]] ...
52986
(ns devtools-sample.core (:require-macros [devtools-sample.logging :refer [log]]) (:require [clojure.string :as string] [devtools-sample.boot :refer [boot!]] [devtools.formatters.markup :refer [<standard-body>]] [devtools.formatters.templating :refer [render-markup]] ...
true
(ns devtools-sample.core (:require-macros [devtools-sample.logging :refer [log]]) (:require [clojure.string :as string] [devtools-sample.boot :refer [boot!]] [devtools.formatters.markup :refer [<standard-body>]] [devtools.formatters.templating :refer [render-markup]] ...
[ { "context": ";; The MIT License (MIT)\n;;\n;; Copyright (c) 2016 Richard Hull\n;;\n;; Permission is hereby granted, free of charg", "end": 62, "score": 0.9998857378959656, "start": 50, "tag": "NAME", "value": "Richard Hull" }, { "context": "ented by the Greek letter ρ (rho).\n\n De...
src/clustering/distance/pearson.cljc
CharlesHD/clustering
17
;; The MIT License (MIT) ;; ;; Copyright (c) 2016 Richard Hull ;; ;; Permission is hereby granted, free of charge, to any person obtaining a copy ;; of this software and associated documentation files (the "Software"), to deal ;; in the Software without restriction, including without limitation the rights ;; to use, co...
31198
;; The MIT License (MIT) ;; ;; Copyright (c) 2016 <NAME> ;; ;; Permission is hereby granted, free of charge, to any person obtaining a copy ;; of this software and associated documentation files (the "Software"), to deal ;; in the Software without restriction, including without limitation the rights ;; to use, copy, mo...
true
;; The MIT License (MIT) ;; ;; Copyright (c) 2016 PI:NAME:<NAME>END_PI ;; ;; Permission is hereby granted, free of charge, to any person obtaining a copy ;; of this software and associated documentation files (the "Software"), to deal ;; in the Software without restriction, including without limitation the rights ;; to...
[ { "context": " Based on article \"A data.table and dplyr tour\" by Atrebas dated March 3, 2019\n;; https://atrebas.github.io/", "end": 394, "score": 0.992941677570343, "start": 387, "tag": "NAME", "value": "Atrebas" }, { "context": "ata.table\n\n;; DT[, V1 := V1^2]\n;; DT\n\n;; TODO ...
resources/notebooks/datatable_dplyr.clj
pink-gorilla/clojisr-gorilla
1
(ns techtest.datatable-dplyr (:require [tech.ml.dataset :as ds] [tech.ml.dataset.column :as col] [tech.v2.datatype.functional :as dfn] [tech.v2.datatype :as dtype] [fastmath.core :as m] [clojure.string :as str])) ;; Comparizon of tech.ml.dataset with datata...
115249
(ns techtest.datatable-dplyr (:require [tech.ml.dataset :as ds] [tech.ml.dataset.column :as col] [tech.v2.datatype.functional :as dfn] [tech.v2.datatype :as dtype] [fastmath.core :as m] [clojure.string :as str])) ;; Comparizon of tech.ml.dataset with datata...
true
(ns techtest.datatable-dplyr (:require [tech.ml.dataset :as ds] [tech.ml.dataset.column :as col] [tech.v2.datatype.functional :as dfn] [tech.v2.datatype :as dtype] [fastmath.core :as m] [clojure.string :as str])) ;; Comparizon of tech.ml.dataset with datata...
[ { "context": "n-name]\n (let [user1-token (e/login (s/context) \"user1\")\n {:keys [status body]} (search/retrieve-", "end": 2607, "score": 0.6633791923522949, "start": 2602, "tag": "USERNAME", "value": "user1" }, { "context": "tryTitle \"entry-title1\"})\n {:to...
system-int-test/test/cmr/system_int_test/search/subscription/concept_retrieval_test.clj
chris-durbin/Common-Metadata-Repository
294
(ns cmr.system-int-test.search.subscription.concept-retrieval-test "Integration test for subscription retrieval via the following endpoints: * /concepts/:concept-id * /concepts/:concept-id/:revision-id" (:require [cheshire.core :as json] [clojure.test :refer :all] [cmr.access-control.test.util :as ac-...
111694
(ns cmr.system-int-test.search.subscription.concept-retrieval-test "Integration test for subscription retrieval via the following endpoints: * /concepts/:concept-id * /concepts/:concept-id/:revision-id" (:require [cheshire.core :as json] [clojure.test :refer :all] [cmr.access-control.test.util :as ac-...
true
(ns cmr.system-int-test.search.subscription.concept-retrieval-test "Integration test for subscription retrieval via the following endpoints: * /concepts/:concept-id * /concepts/:concept-id/:revision-id" (:require [cheshire.core :as json] [clojure.test :refer :all] [cmr.access-control.test.util :as ac-...
[ { "context": "I\n; Date: February 25, 2016.\n; Authors:\n; A01020319 Fernando Gómez Herrera\n;-----------------", "end": 145, "score": 0.505190372467041, "start": 144, "tag": "USERNAME", "value": "A" }, { "context": "February 25, 2016.\n; Authors:\n; A01020319 Ferna...
sequences.clj
gomezhyuuga/CEM_tc2006
1
;---------------------------------------------------------- ; Activity: Using the Sequence API ; Date: February 25, 2016. ; Authors: ; A01020319 Fernando Gómez Herrera ;---------------------------------------------------------- (use 'clojure.test) (defn positives "Takes a list of numbers lst as its argumen...
75167
;---------------------------------------------------------- ; Activity: Using the Sequence API ; Date: February 25, 2016. ; Authors: ; A01020319 <NAME> ;---------------------------------------------------------- (use 'clojure.test) (defn positives "Takes a list of numbers lst as its argument, and returns a...
true
;---------------------------------------------------------- ; Activity: Using the Sequence API ; Date: February 25, 2016. ; Authors: ; A01020319 PI:NAME:<NAME>END_PI ;---------------------------------------------------------- (use 'clojure.test) (defn positives "Takes a list of numbers lst as its argument,...
[ { "context": "----------------\n;; File project.clj\n;; Written by Chris Frisz\n;; \n;; Created 4 Feb 2012\n;; Last modified 3 Se", "end": 118, "score": 0.9998686909675598, "start": 107, "tag": "NAME", "value": "Chris Frisz" }, { "context": "ant-space tail calls.\"\n :url \"https:...
project.clj
cjfrisz/clojure-tco
64
;;---------------------------------------------------------------------- ;; File project.clj ;; Written by Chris Frisz ;; ;; Created 4 Feb 2012 ;; Last modified 3 Sep 2013 ;; ;; Project declaration for clojure-tco. ;;---------------------------------------------------------------------- (defproject chrisfrisz.com...
26667
;;---------------------------------------------------------------------- ;; File project.clj ;; Written by <NAME> ;; ;; Created 4 Feb 2012 ;; Last modified 3 Sep 2013 ;; ;; Project declaration for clojure-tco. ;;---------------------------------------------------------------------- (defproject chrisfrisz.com/ctco...
true
;;---------------------------------------------------------------------- ;; File project.clj ;; Written by PI:NAME:<NAME>END_PI ;; ;; Created 4 Feb 2012 ;; Last modified 3 Sep 2013 ;; ;; Project declaration for clojure-tco. ;;---------------------------------------------------------------------- (defproject chris...
[ { "context": "guration (sanitize (config/config config) [\"pwd\" \"passwd\"])}]\n (assoc\n (s/aggregate-", "end": 2013, "score": 0.9195526242256165, "start": 2007, "tag": "PASSWORD", "value": "passwd" } ]
core/src/gorillalabs/tesla/component/appstate.clj
gorillalabs/tesla
7
(ns gorillalabs.tesla.component.appstate (:require [mount.core :as mnt] [de.otto.status :as s] [clojure.data.json :as json] [clojure.tools.logging :as log] [clojure.string :as str] [clj-time.local :as local-time] [gorillalabs.tesla.component.configuration :as config] [cloju...
112072
(ns gorillalabs.tesla.component.appstate (:require [mount.core :as mnt] [de.otto.status :as s] [clojure.data.json :as json] [clojure.tools.logging :as log] [clojure.string :as str] [clj-time.local :as local-time] [gorillalabs.tesla.component.configuration :as config] [cloju...
true
(ns gorillalabs.tesla.component.appstate (:require [mount.core :as mnt] [de.otto.status :as s] [clojure.data.json :as json] [clojure.tools.logging :as log] [clojure.string :as str] [clj-time.local :as local-time] [gorillalabs.tesla.component.configuration :as config] [cloju...
[ { "context": "; Copyright (c) 2011-2013, Tom Van Cutsem, Vrije Universiteit Brussel\n; All rights reserved", "end": 41, "score": 0.9998576641082764, "start": 27, "tag": "NAME", "value": "Tom Van Cutsem" }, { "context": "Clojure\n;; Multicore Programming\n;; (c) 2011-2013, Tom Van Cut...
stm/v1_simple.clj
tvcutsem/stm-in-clojure
33
; Copyright (c) 2011-2013, Tom Van Cutsem, Vrije Universiteit Brussel ; 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 ; n...
112105
; Copyright (c) 2011-2013, <NAME>, Vrije Universiteit Brussel ; 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, t...
true
; Copyright (c) 2011-2013, PI:NAME:<NAME>END_PI, Vrije Universiteit Brussel ; All rights reserved. ; ; Redistribution and use in source and binary forms, with or without ; modification, are permitted provided that the following conditions are met: ; * Redistributions of source code must retain the above copyright ; ...
[ { "context": "; Copyright (c) Rich Hickey. All rights reserved.\n; The use and distributio", "end": 29, "score": 0.9998689889907837, "start": 18, "tag": "NAME", "value": "Rich Hickey" }, { "context": ":doc \"The core Clojure language.\"\n :author \"Rich Hickey\"}\n clojure...
ThirdParty/clojure-1.1.0/src/clj/clojure/core.clj
allertonm/Couverjure
3
; 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 ...
121580
; 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": "cts, Adaptation and Vulnerability\"\n :authors [\"Nicholls, R.J\" \"P.P. Wong\" \"V.R. Burkett\", \"J.O. Codignotto\", \"", "end": 8124, "score": 0.9998821020126343, "start": 8111, "tag": "NAME", "value": "Nicholls, R.J" }, { "context": "and Vulnerability\"\n :aut...
data/test/clojure/75f0ca13a1f335459f80a35a575d45901882b26bsite.clj
harshp8l/deep-learning-lang-detection
84
(ns clad.views.site) (def ^{:doc "Sitemap: Structure Page Title Sections Section Title Headings Heading Title From selector To selector"} sitemap [{:title "Home" :file "Home.html" :sections [{:ti...
51616
(ns clad.views.site) (def ^{:doc "Sitemap: Structure Page Title Sections Section Title Headings Heading Title From selector To selector"} sitemap [{:title "Home" :file "Home.html" :sections [{:ti...
true
(ns clad.views.site) (def ^{:doc "Sitemap: Structure Page Title Sections Section Title Headings Heading Title From selector To selector"} sitemap [{:title "Home" :file "Home.html" :sections [{:ti...
[ { "context": "bonacci\")\n :github-user \"BrunoBonacci\"\n :author \"Bruno Bo", "end": 2561, "score": 0.9992084503173828, "start": 2549, "tag": "USERNAME", "value": "BrunoBonacci" }, { "context": "oBonacci\"\n :a...
src/leiningen/new/my_project.clj
BrunoBonacci/my-project-template
0
(ns leiningen.new.my-project (:require [leiningen.new.templates :refer [renderer name-to-path ->files]] [leiningen.core.main :as main] [clj-http.client :as http] [clojure.string :as str])) (def ^:const CLOJARS_URL "https://clojars.org/api/artifacts/%s") (def ^:const MAVEN_URL "...
19344
(ns leiningen.new.my-project (:require [leiningen.new.templates :refer [renderer name-to-path ->files]] [leiningen.core.main :as main] [clj-http.client :as http] [clojure.string :as str])) (def ^:const CLOJARS_URL "https://clojars.org/api/artifacts/%s") (def ^:const MAVEN_URL "...
true
(ns leiningen.new.my-project (:require [leiningen.new.templates :refer [renderer name-to-path ->files]] [leiningen.core.main :as main] [clj-http.client :as http] [clojure.string :as str])) (def ^:const CLOJARS_URL "https://clojars.org/api/artifacts/%s") (def ^:const MAVEN_URL "...
[ { "context": "(ns\n ^{:author edgar}\n clojure_tutorial.macro.start\n (require '(cloj", "end": 21, "score": 0.998816728591919, "start": 16, "tag": "USERNAME", "value": "edgar" }, { "context": "e]\n (list 'println name))\n\n(macroexpand '(hello \"Brian\"))\n;;(println \"Brian\")\n...
src/clojure_tutorial/macro/start.clj
edgar615/clojure-tutorial
1
(ns ^{:author edgar} clojure_tutorial.macro.start (require '(clojure [string :as str] [walk :as walk]))) ;(defmacro foreach [[sym coll] & body] ; `(loop [coll# ~coll] ; (when-let [[~sym & xs#] (seq coll#)] ; ~@body ; (recure xs#)))) ; ;(foreach [x [1 2 3]] ; (println x)) (defmacr...
118196
(ns ^{:author edgar} clojure_tutorial.macro.start (require '(clojure [string :as str] [walk :as walk]))) ;(defmacro foreach [[sym coll] & body] ; `(loop [coll# ~coll] ; (when-let [[~sym & xs#] (seq coll#)] ; ~@body ; (recure xs#)))) ; ;(foreach [x [1 2 3]] ; (println x)) (defmacr...
true
(ns ^{:author edgar} clojure_tutorial.macro.start (require '(clojure [string :as str] [walk :as walk]))) ;(defmacro foreach [[sym coll] & body] ; `(loop [coll# ~coll] ; (when-let [[~sym & xs#] (seq coll#)] ; ~@body ; (recure xs#)))) ; ;(foreach [x [1 2 3]] ; (println x)) (defmacr...
[ { "context": " by the first name. For\ninstance, if the array [\\\"Ken\\\" \\\"Anderson\\\"] is passed in,\nthe key \\\"AndersonK", "end": 800, "score": 0.9948668479919434, "start": 797, "tag": "NAME", "value": "Ken" }, { "context": "first name. For\ninstance, if the array [\\\"Ken\\...
src/sort_names/core.clj
kenbod/sort_names
0
(ns sort-names.core) (defn read-file "Returns the contents of file f as a string." [f] (slurp f)) (defn lines "Splits a string by line endings and returns a sequence of lines." [body] (clojure.string/split-lines body)) (defn parts " Takes a sequence of strings containing first and last names and return...
47931
(ns sort-names.core) (defn read-file "Returns the contents of file f as a string." [f] (slurp f)) (defn lines "Splits a string by line endings and returns a sequence of lines." [body] (clojure.string/split-lines body)) (defn parts " Takes a sequence of strings containing first and last names and return...
true
(ns sort-names.core) (defn read-file "Returns the contents of file f as a string." [f] (slurp f)) (defn lines "Splits a string by line endings and returns a sequence of lines." [body] (clojure.string/split-lines body)) (defn parts " Takes a sequence of strings containing first and last names and return...
[ { "context": " :user_id (mt/user->id :crowberto)\n :model ", "end": 1686, "score": 0.9979169964790344, "start": 1677, "tag": "USERNAME", "value": "crowberto" }, { "context": " :name ...
c#-metabase/test/metabase/api/activity_test.clj
hanakhry/Crime_Admin
0
(ns metabase.api.activity-test "Tests for /api/activity endpoints." (:require [clojure.test :refer :all] [metabase.api.activity :as activity-api] [metabase.db :as mdb] [metabase.models.activity :refer [Activity]] [metabase.models.card :refer [Card]] [metab...
78405
(ns metabase.api.activity-test "Tests for /api/activity endpoints." (:require [clojure.test :refer :all] [metabase.api.activity :as activity-api] [metabase.db :as mdb] [metabase.models.activity :refer [Activity]] [metabase.models.card :refer [Card]] [metab...
true
(ns metabase.api.activity-test "Tests for /api/activity endpoints." (:require [clojure.test :refer :all] [metabase.api.activity :as activity-api] [metabase.db :as mdb] [metabase.models.activity :refer [Activity]] [metabase.models.card :refer [Card]] [metab...
[ { "context": "{:subprotocol \"mysql\"\n; :subname \"//127.0.0.1:3306/clojure_test\"\n; :user \"clojure", "end": 577, "score": 0.9994456768035889, "start": 568, "tag": "IP_ADDRESS", "value": "127.0.0.1" }, { "context": " :user \"clojure_test\"\n; ...
src/clj_datastore/sql.clj
theJenix/clj-datastore
0
(ns clj-datastore.sql (:require [clojure.string :as s] [clojure.tools.logging :as log] [clj-datastore.datastore :as d] [clojure.java.jdbc :as j] [clj-datastore.sql-spec :refer :all] [clj-datastore.util :refer [<-> seq-or-bust]]) (:import [java.sql BatchUpd...
1291
(ns clj-datastore.sql (:require [clojure.string :as s] [clojure.tools.logging :as log] [clj-datastore.datastore :as d] [clojure.java.jdbc :as j] [clj-datastore.sql-spec :refer :all] [clj-datastore.util :refer [<-> seq-or-bust]]) (:import [java.sql BatchUpd...
true
(ns clj-datastore.sql (:require [clojure.string :as s] [clojure.tools.logging :as log] [clj-datastore.datastore :as d] [clojure.java.jdbc :as j] [clj-datastore.sql-spec :refer :all] [clj-datastore.util :refer [<-> seq-or-bust]]) (:import [java.sql BatchUpd...
[ { "context": "a swagger definition.\"\n :url \"https://github.com/zalando/swagger1st\"\n\n :license {:name \"ISC License\"\n ", "end": 168, "score": 0.9997127056121826, "start": 161, "tag": "USERNAME", "value": "zalando" }, { "context": "\"\n :distribution :repo}\n\n ...
project.clj
oporkka/swagger1st
0
(defproject org.zalando/swagger1st "0.26.0-SNAPSHOT" :description "A ring handler that does routing based on a swagger definition." :url "https://github.com/zalando/swagger1st" :license {:name "ISC License" :url "http://opensource.org/licenses/ISC" :distribution :repo} :scm {:url "git@...
29349
(defproject org.zalando/swagger1st "0.26.0-SNAPSHOT" :description "A ring handler that does routing based on a swagger definition." :url "https://github.com/zalando/swagger1st" :license {:name "ISC License" :url "http://opensource.org/licenses/ISC" :distribution :repo} :scm {:url "<EMA...
true
(defproject org.zalando/swagger1st "0.26.0-SNAPSHOT" :description "A ring handler that does routing based on a swagger definition." :url "https://github.com/zalando/swagger1st" :license {:name "ISC License" :url "http://opensource.org/licenses/ISC" :distribution :repo} :scm {:url "PI:E...
[ { "context": "nfig/load!)]\n (send-email\n {:from \"noreply@spreadviz.org\"\n :to \"fbielejec@gmail.com\"\n ", "end": 1600, "score": 0.9999111294746399, "start": 1579, "tag": "EMAIL", "value": "noreply@spreadviz.org" }, { "context": " \"noreply@...
src/clj/api/emailer/sendgrid.clj
fbielejec/SPREAD
12
(ns api.emailer.sendgrid (:require [clj-http.client :as http])) (defonce ^:private sendgrid-public-api "https://api.sendgrid.com/v3/mail/send") (defn send-email [{:keys [from to subject content dynamic-template-data template-id api-key print-mode?]}] (if (and (not api-key) (not print-mode?)) (thr...
56738
(ns api.emailer.sendgrid (:require [clj-http.client :as http])) (defonce ^:private sendgrid-public-api "https://api.sendgrid.com/v3/mail/send") (defn send-email [{:keys [from to subject content dynamic-template-data template-id api-key print-mode?]}] (if (and (not api-key) (not print-mode?)) (thr...
true
(ns api.emailer.sendgrid (:require [clj-http.client :as http])) (defonce ^:private sendgrid-public-api "https://api.sendgrid.com/v3/mail/send") (defn send-email [{:keys [from to subject content dynamic-template-data template-id api-key print-mode?]}] (if (and (not api-key) (not print-mode?)) (thr...