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": "d \"tag\" :name \"extensible effect\"}\n {:lastName \"Peyton Jones\" :uuid \"f4ecaa79-5740-432e-82b4-519ba3e750e2\" :ki",
"end": 406,
"score": 0.9998796582221985,
"start": 394,
"tag": "NAME",
"value": "Peyton Jones"
},
{
"context": "32e-82b4-519ba3e750e2\" :kind \"aut... | frontend/src/haskell_bazaar_frontend/stubs.cljs | Chouffe/haskell-bazaar | 23 | (ns haskell-bazaar-frontend.stubs)
(def keywords
[{:kind "tag" :name "type class"}
{:kind "tag" :name "functor"}
{:kind "tag" :name "applicative"}
{:kind "tag" :name "monad"}
{:kind "tag" :name "category theory"}
{:kind "tag" :name "type inference"}
{:kind "tag" :name "free monad"}
{:kind "tag" ... | 54829 | (ns haskell-bazaar-frontend.stubs)
(def keywords
[{:kind "tag" :name "type class"}
{:kind "tag" :name "functor"}
{:kind "tag" :name "applicative"}
{:kind "tag" :name "monad"}
{:kind "tag" :name "category theory"}
{:kind "tag" :name "type inference"}
{:kind "tag" :name "free monad"}
{:kind "tag" ... | true | (ns haskell-bazaar-frontend.stubs)
(def keywords
[{:kind "tag" :name "type class"}
{:kind "tag" :name "functor"}
{:kind "tag" :name "applicative"}
{:kind "tag" :name "monad"}
{:kind "tag" :name "category theory"}
{:kind "tag" :name "type inference"}
{:kind "tag" :name "free monad"}
{:kind "tag" ... |
[
{
"context": "(ns cljnode.core\r\n #^{:authors [\"Maxim Molchanov <elzor.job@gmail.com>\",\r\n \"Duncan",
"end": 51,
"score": 0.9998540878295898,
"start": 36,
"tag": "NAME",
"value": "Maxim Molchanov"
},
{
"context": " cljnode.core\r\n #^{:authors [\"Maxim Molch... | src/clj/cljnode/core.clj | J3T4R0/duplet-public | 0 | (ns cljnode.core
#^{:authors ["Maxim Molchanov <elzor.job@gmail.com>",
"Duncan McGreggor <oubiwann@gmail.com>"],
:doc "Node run point"}
(:require [clojure.tools.logging :as log]
[cljnode.server :as cljnode])
(:gen-class))
(defn -main
[& args]
(log/inf... | 65100 | (ns cljnode.core
#^{:authors ["<NAME> <<EMAIL>>",
"<NAME> <<EMAIL>>"],
:doc "Node run point"}
(:require [clojure.tools.logging :as log]
[cljnode.server :as cljnode])
(:gen-class))
(defn -main
[& args]
(log/info "Starting Clojure node ...")
(cljno... | true | (ns cljnode.core
#^{:authors ["PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>",
"PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>"],
:doc "Node run point"}
(:require [clojure.tools.logging :as log]
[cljnode.server :as cljnode])
(:gen-class))
(defn -main
[& arg... |
[
{
"context": "tils]))\n\n(t/deftest sort-like\n (t/is (= [{:name :pierre :points 10}\n {:name :ana :points 20}\n ",
"end": 244,
"score": 0.9966349601745605,
"start": 238,
"tag": "NAME",
"value": "pierre"
},
{
"context": " {:name :ana :points 20}\n {:name :... | test/capacity/utils_test.cljc | pierrel/capacity-planner | 0 | (ns capacity.utils-test
(:require [capacity.utils :as sut]
#?(:clj [clojure.test :as t]
:cljs [cljs.test :as t :include-macros true]))
(:use [capacity.test-utils]))
(t/deftest sort-like
(t/is (= [{:name :pierre :points 10}
{:name :ana :points 20}
{:name :lola :p... | 37409 | (ns capacity.utils-test
(:require [capacity.utils :as sut]
#?(:clj [clojure.test :as t]
:cljs [cljs.test :as t :include-macros true]))
(:use [capacity.test-utils]))
(t/deftest sort-like
(t/is (= [{:name :<NAME> :points 10}
{:name :ana :points 20}
{:name :<NAME> ... | true | (ns capacity.utils-test
(:require [capacity.utils :as sut]
#?(:clj [clojure.test :as t]
:cljs [cljs.test :as t :include-macros true]))
(:use [capacity.test-utils]))
(t/deftest sort-like
(t/is (= [{:name :PI:NAME:<NAME>END_PI :points 10}
{:name :ana :points 20}
{... |
[
{
"context": " (navigator/delete :user {:id \"thomas\"}))\n status (navigator/status result",
"end": 1871,
"score": 0.6471121907234192,
"start": 1865,
"tag": "USERNAME",
"value": "thomas"
},
{
"context": "ces\n :users (create-us... | test/halboy/navigator_test.clj | bamdadd/halboy | 0 | (ns halboy.navigator-test
(:use org.httpkit.fake)
(:require [clojure.test :refer :all]
[clojure.string :refer [capitalize]]
[halboy.navigator :as navigator]
[halboy.resource :as hal]
[halboy.json :as json]
[halboy.support.api :as stubs]
[halboy... | 32087 | (ns halboy.navigator-test
(:use org.httpkit.fake)
(:require [clojure.test :refer :all]
[clojure.string :refer [capitalize]]
[halboy.navigator :as navigator]
[halboy.resource :as hal]
[halboy.json :as json]
[halboy.support.api :as stubs]
[halboy... | true | (ns halboy.navigator-test
(:use org.httpkit.fake)
(:require [clojure.test :refer :all]
[clojure.string :refer [capitalize]]
[halboy.navigator :as navigator]
[halboy.resource :as hal]
[halboy.json :as json]
[halboy.support.api :as stubs]
[halboy... |
[
{
"context": "solution actual] (some #{solution} actual)\n \"HUMOR\" (sut/simple-solve \"AIELDNTPYG\" \".....\" [\"\" \"RO\" ",
"end": 2769,
"score": 0.9507694244384766,
"start": 2764,
"tag": "NAME",
"value": "HUMOR"
},
{
"context": "\"AIELDNTPYG\" \".....\" [\"\" \"RO\" \"\" \"... | test/core_logic_wordle/core_test.clj | mjul/core-logic-wordle | 0 | (ns core-logic-wordle.core-test
(:require [clojure.test :refer :all]
[clojure.core.logic :as l]
[core-logic-wordle.core :as sut]))
(deftest specific-solve-test
(testing "specific-solve will return at least one five-letter word"
(let [actual (sut/specific-solve)]
(is (every? string... | 87433 | (ns core-logic-wordle.core-test
(:require [clojure.test :refer :all]
[clojure.core.logic :as l]
[core-logic-wordle.core :as sut]))
(deftest specific-solve-test
(testing "specific-solve will return at least one five-letter word"
(let [actual (sut/specific-solve)]
(is (every? string... | true | (ns core-logic-wordle.core-test
(:require [clojure.test :refer :all]
[clojure.core.logic :as l]
[core-logic-wordle.core :as sut]))
(deftest specific-solve-test
(testing "specific-solve will return at least one five-letter word"
(let [actual (sut/specific-solve)]
(is (every? string... |
[
{
"context": "[:attributes attribute]))\n\n\n(def record\n {:name \"Matija\"\n :attributes {:age 23 :weight 75 :height 180 :",
"end": 654,
"score": 0.9989116191864014,
"start": 648,
"tag": "NAME",
"value": "Matija"
},
{
"context": " (merge m part)))\n\n(println (my-assoc-in {:nam... | fonclojure/src/com/matija/chapter5.clj | matija94/show-me-the-code | 1 | (ns com.matija.chapter5)
(defn sum
([vals]
(sum vals 0))
([vals accumulator]
(if (empty? vals)
accumulator
(sum (rest vals) (+ (first vals) accumulator)))))
(println (sum [1 2 3 4 5]))
(println ((comp inc * ) 2 3))
(defn two-comp
[f g]
(fn [& args]
(f (apply g args))))
(println (... | 119473 | (ns com.matija.chapter5)
(defn sum
([vals]
(sum vals 0))
([vals accumulator]
(if (empty? vals)
accumulator
(sum (rest vals) (+ (first vals) accumulator)))))
(println (sum [1 2 3 4 5]))
(println ((comp inc * ) 2 3))
(defn two-comp
[f g]
(fn [& args]
(f (apply g args))))
(println (... | true | (ns com.matija.chapter5)
(defn sum
([vals]
(sum vals 0))
([vals accumulator]
(if (empty? vals)
accumulator
(sum (rest vals) (+ (first vals) accumulator)))))
(println (sum [1 2 3 4 5]))
(println ((comp inc * ) 2 3))
(defn two-comp
[f g]
(fn [& args]
(f (apply g args))))
(println (... |
[
{
"context": " 12.34)\n - `:name` [string]: payer name. ex: \\\"Iron Bank S.A.\\\"\n - `:tax-id` [string]: payer tax ID (CPF or CN",
"end": 625,
"score": 0.9830968976020813,
"start": 612,
"tag": "NAME",
"value": "Iron Bank S.A"
},
{
"context": "ap]\n (let [{\n amount \"... | src/starkbank/invoice.clj | starkbank/sdk-clojure | 5 | (ns starkbank.invoice
"When you initialize an Invoice map, the entity will not be automatically
sent to the Stark Bank API. The 'create' function sends the maps
to the Stark Bank API and returns the list of created maps.
To create scheduled Invoices, which will display the discount, interest, etc. on the final ... | 82822 | (ns starkbank.invoice
"When you initialize an Invoice map, the entity will not be automatically
sent to the Stark Bank API. The 'create' function sends the maps
to the Stark Bank API and returns the list of created maps.
To create scheduled Invoices, which will display the discount, interest, etc. on the final ... | true | (ns starkbank.invoice
"When you initialize an Invoice map, the entity will not be automatically
sent to the Stark Bank API. The 'create' function sends the maps
to the Stark Bank API and returns the list of created maps.
To create scheduled Invoices, which will display the discount, interest, etc. on the final ... |
[
{
"context": ";; Copyright (c) 2015-2016 Andrey Antukh <niwi@niwi.nz>\n;;\n;; Licensed under the Apache Li",
"end": 40,
"score": 0.9998821020126343,
"start": 27,
"tag": "NAME",
"value": "Andrey Antukh"
},
{
"context": ";; Copyright (c) 2015-2016 Andrey Antukh <niwi@niwi.nz>\n;;\n;; L... | src/buddy/sign/util.clj | greut/buddy-sign | 105 | ;; Copyright (c) 2015-2016 Andrey Antukh <niwi@niwi.nz>
;;
;; Licensed under the Apache License, Version 2.0 (the "License")
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applic... | 18655 | ;; Copyright (c) 2015-2016 <NAME> <<EMAIL>>
;;
;; Licensed under the Apache License, Version 2.0 (the "License")
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or ... | true | ;; Copyright (c) 2015-2016 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
;;
;; Licensed under the Apache License, Version 2.0 (the "License")
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless r... |
[
{
"context": "; Copyright (c) Rich Hickey. All rights reserved.\n; The use and distributio",
"end": 29,
"score": 0.9998642802238464,
"start": 18,
"tag": "NAME",
"value": "Rich Hickey"
},
{
"context": "tice, or any other, from this software.\n\n; Author: Stuart Halloway\n\n\n(ns c... | Chapter 07 Code/niko/clojure/test/clojure/test_clojure/main.clj | PacktPublishing/Clojure-Programming-Cookbook | 14 | ; Copyright (c) Rich Hickey. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
; which can be found in the file epl-v10.html at the root of this distribution.
; By using this software in any ... | 118476 | ; 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": "{:auth {:repository-auth {#\"clojars\" {:username \"broad\"\n :password ",
"end": 54,
"score": 0.9976660013198853,
"start": 49,
"tag": "USERNAME",
"value": "broad"
},
{
"context": "\n :password :e... | .lein/profiles.clj | broadinstitute/react-cljs-nav | 2 | {:auth {:repository-auth {#"clojars" {:username "broad"
:password :env/clojars_password}}}}
| 87719 | {:auth {:repository-auth {#"clojars" {:username "broad"
:password :<PASSWORD>}}}}
| true | {:auth {:repository-auth {#"clojars" {:username "broad"
:password :PI:PASSWORD:<PASSWORD>END_PI}}}}
|
[
{
"context": "gresql\"\n :username \"covid\"\n :password \"covidp",
"end": 1550,
"score": 0.9904398322105408,
"start": 1545,
"tag": "USERNAME",
"value": "covid"
},
{
"context": "\"covid\"\n :password ... | src/coronavirus_scrapper_api/components/database.clj | giovanialtelino/coronavirus-api | 2 | (ns coronavirus-scrapper-api.components.database
(:require [com.stuartsierra.component :as component]
[hikari-cp.core :as hikari]))
(def datasource-prod {
:auto-commit true
:read-only false
:connection-timeout 30000
... | 27382 | (ns coronavirus-scrapper-api.components.database
(:require [com.stuartsierra.component :as component]
[hikari-cp.core :as hikari]))
(def datasource-prod {
:auto-commit true
:read-only false
:connection-timeout 30000
... | true | (ns coronavirus-scrapper-api.components.database
(:require [com.stuartsierra.component :as component]
[hikari-cp.core :as hikari]))
(def datasource-prod {
:auto-commit true
:read-only false
:connection-timeout 30000
... |
[
{
"context": " \"basePath\")\n inheriting-key? #{\"parameters\" \"consumes\" \"produces\" \"schemes\" \"security\"}]\n (->>\n ; create request-key / swagger-",
"end": 5635,
"score": 0.8045244812965393,
"start": 5594,
"tag": "KEY",
"value": "\"consumes\" \"produces\" \"schemes\... | src/io/sarnowski/swagger1st/mapper.clj | ethercrow/swagger1st | 0 | (ns io.sarnowski.swagger1st.mapper
(:require [ring.util.response :as r]
[flatland.ordered.map :refer [ordered-map]]
[clojure.walk :as walk]
[clojure.string :as string]
[clojure.tools.logging :as log]
[io.sarnowski.swagger1st.util.api :as api])
(:import (cl... | 110930 | (ns io.sarnowski.swagger1st.mapper
(:require [ring.util.response :as r]
[flatland.ordered.map :refer [ordered-map]]
[clojure.walk :as walk]
[clojure.string :as string]
[clojure.tools.logging :as log]
[io.sarnowski.swagger1st.util.api :as api])
(:import (cl... | true | (ns io.sarnowski.swagger1st.mapper
(:require [ring.util.response :as r]
[flatland.ordered.map :refer [ordered-map]]
[clojure.walk :as walk]
[clojure.string :as string]
[clojure.tools.logging :as log]
[io.sarnowski.swagger1st.util.api :as api])
(:import (cl... |
[
{
"context": "t end))))\n\n\n(defn select-keys-in-order\n \"Thanks [Jay Fields](http://blog.jayfields.com/2011/01/clojure-select",
"end": 19563,
"score": 0.7637946605682373,
"start": 19553,
"tag": "NAME",
"value": "Jay Fields"
},
{
"context": " keyseq)))\n\n(defn select-vals-in-orde... | resources/public/cljs-out/dev/gadjett/collections.cljc | 23trastos/REPLiCA | 0 | (ns gadjett.collections
(:require [clojure.set :refer [union]]
[clojure.walk :refer [postwalk]]
[clojure.string :refer [blank? join split-lines]]
[clojure.zip :as zip]))
(def infinity #?(:cljs js/Infinity
:clj Double/POSITIVE_INFINITY))
(defn abs
"Absolute valu... | 10089 | (ns gadjett.collections
(:require [clojure.set :refer [union]]
[clojure.walk :refer [postwalk]]
[clojure.string :refer [blank? join split-lines]]
[clojure.zip :as zip]))
(def infinity #?(:cljs js/Infinity
:clj Double/POSITIVE_INFINITY))
(defn abs
"Absolute valu... | true | (ns gadjett.collections
(:require [clojure.set :refer [union]]
[clojure.walk :refer [postwalk]]
[clojure.string :refer [blank? join split-lines]]
[clojure.zip :as zip]))
(def infinity #?(:cljs js/Infinity
:clj Double/POSITIVE_INFINITY))
(defn abs
"Absolute valu... |
[
{
"context": "\n (with-redefs [config-nuvla/*stripe-api-key* \"123\"\n a/is-admin? ",
"end": 1049,
"score": 0.9238130450248718,
"start": 1046,
"tag": "KEY",
"value": "123"
},
{
"context": "(with-redefs [config-nuvla/*stripe-api-key* \"123\"\... | code/test/sixsq/nuvla/server/resources/nuvlabox/utils_test.clj | nuvla/server | 0 | (ns sixsq.nuvla.server.resources.nuvlabox.utils-test
(:require
[clojure.test :refer [deftest is testing]]
[sixsq.nuvla.auth.acl-resource :as a]
[sixsq.nuvla.pricing.payment :as payment]
[sixsq.nuvla.server.resources.configuration-nuvla :as config-nuvla]
[sixsq.nuvla.server.resources.nuvlabox.utils... | 49819 | (ns sixsq.nuvla.server.resources.nuvlabox.utils-test
(:require
[clojure.test :refer [deftest is testing]]
[sixsq.nuvla.auth.acl-resource :as a]
[sixsq.nuvla.pricing.payment :as payment]
[sixsq.nuvla.server.resources.configuration-nuvla :as config-nuvla]
[sixsq.nuvla.server.resources.nuvlabox.utils... | true | (ns sixsq.nuvla.server.resources.nuvlabox.utils-test
(:require
[clojure.test :refer [deftest is testing]]
[sixsq.nuvla.auth.acl-resource :as a]
[sixsq.nuvla.pricing.payment :as payment]
[sixsq.nuvla.server.resources.configuration-nuvla :as config-nuvla]
[sixsq.nuvla.server.resources.nuvlabox.utils... |
[
{
"context": ";;; SYNTH.CLJ\n;;; Mark Burger, August - October 2015\n;;;\n;;; To use, simply (lo",
"end": 29,
"score": 0.9998605251312256,
"start": 18,
"tag": "NAME",
"value": "Mark Burger"
},
{
"context": ";;; SYNTH.CLJ\n;;; Mark Burger, August - October 2015\n;;;\n;;; To use, simpl... | data/train/clojure/1569e5c6e602cf6b65b697c3987481d6038365a2Synth.clj | harshp8l/deep-learning-lang-detection | 84 | ;;; SYNTH.CLJ
;;; Mark Burger, August - October 2015
;;;
;;; To use, simply (load-file "../path/to/Synth.clj")
;;;
;;; API EXPLANATION--
;;;
;;; (synth-init)
;;; Defines global variables and opens the synthesizer
;;;
;;; (channel <number>)
;;; returns a channel of the specified number, usually 0 through 15.
;;; ... | 30577 | ;;; SYNTH.CLJ
;;; <NAME>, <NAME> - October 2015
;;;
;;; To use, simply (load-file "../path/to/Synth.clj")
;;;
;;; API EXPLANATION--
;;;
;;; (synth-init)
;;; Defines global variables and opens the synthesizer
;;;
;;; (channel <number>)
;;; returns a channel of the specified number, usually 0 through 15.
;;; Eac... | true | ;;; SYNTH.CLJ
;;; PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI - October 2015
;;;
;;; To use, simply (load-file "../path/to/Synth.clj")
;;;
;;; API EXPLANATION--
;;;
;;; (synth-init)
;;; Defines global variables and opens the synthesizer
;;;
;;; (channel <number>)
;;; returns a channel of the specified number, usua... |
[
{
"context": "is is a test\" \"Das is ein test\",\n \"|Hi, {name}\" \"Hallo, {name}\",\n \"|N: {n, number} ({m, date, long})\"\n ",
"end": 226,
"score": 0.975603461265564,
"start": 221,
"tag": "NAME",
"value": "Hallo"
}
] | src/devguide/app/i18n/de.cljs | goodbobk/untangled | 1 | (ns app.i18n.de (:require untangled.i18n) (:import goog.module.ModuleManager))
;; This file was generated by untangled's i18n leiningen plugin.
(def
translations
{"|This is a test" "Das is ein test",
"|Hi, {name}" "Hallo, {name}",
"|N: {n, number} ({m, date, long})"
"N: {n, number} ({m, date, long})"})
(swap... | 43864 | (ns app.i18n.de (:require untangled.i18n) (:import goog.module.ModuleManager))
;; This file was generated by untangled's i18n leiningen plugin.
(def
translations
{"|This is a test" "Das is ein test",
"|Hi, {name}" "<NAME>, {name}",
"|N: {n, number} ({m, date, long})"
"N: {n, number} ({m, date, long})"})
(swa... | true | (ns app.i18n.de (:require untangled.i18n) (:import goog.module.ModuleManager))
;; This file was generated by untangled's i18n leiningen plugin.
(def
translations
{"|This is a test" "Das is ein test",
"|Hi, {name}" "PI:NAME:<NAME>END_PI, {name}",
"|N: {n, number} ({m, date, long})"
"N: {n, number} ({m, date, l... |
[
{
"context": "urpose: general utilitis\n;;;; Author: mikel evins\n;;;; Copyright: Copyright 2009 by mikel evins",
"end": 236,
"score": 0.9998786449432373,
"start": 225,
"tag": "NAME",
"value": "mikel evins"
},
{
"context": " mikel evins\n;;;; Copyright: Copyright... | 0.2.1/clj/build/classes/xg/categories/utils.clj | mikelevins/categories | 5 | ;;;; ***********************************************************************
;;;; FILE IDENTIFICATION
;;;;
;;;; Name: utils.clj
;;;; Project: Categories
;;;; Purpose: general utilitis
;;;; Author: mikel evins
;;;; Copyright: Copyright 2009 by mikel evins, all rights reserved
;;;; License... | 101356 | ;;;; ***********************************************************************
;;;; FILE IDENTIFICATION
;;;;
;;;; Name: utils.clj
;;;; Project: Categories
;;;; Purpose: general utilitis
;;;; Author: <NAME>
;;;; Copyright: Copyright 2009 by <NAME>, all rights reserved
;;;; License: Li... | true | ;;;; ***********************************************************************
;;;; FILE IDENTIFICATION
;;;;
;;;; Name: utils.clj
;;;; Project: Categories
;;;; Purpose: general utilitis
;;;; Author: PI:NAME:<NAME>END_PI
;;;; Copyright: Copyright 2009 by PI:NAME:<NAME>END_PI, all rights res... |
[
{
"context": "! *unchecked-math* :warn-on-boxed)\n(ns ^{:author \"John Alan McDonald\" :date \"2016-07-06\"\n :doc \"Profile spikes fu",
"end": 105,
"score": 0.999871551990509,
"start": 87,
"tag": "NAME",
"value": "John Alan McDonald"
}
] | src/scripts/clojure/taiga/scripts/profile/spikes.clj | wahpenayo/taiga | 4 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "John Alan McDonald" :date "2016-07-06"
:doc "Profile spikes function probability forest example." }
taiga.scripts.profile.spikes
(:require [clojure.test :as test]
[taiga.test.classify.spikes.majority-v... | 36649 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "<NAME>" :date "2016-07-06"
:doc "Profile spikes function probability forest example." }
taiga.scripts.profile.spikes
(:require [clojure.test :as test]
[taiga.test.classify.spikes.majority-vote-probabil... | true | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "PI:NAME:<NAME>END_PI" :date "2016-07-06"
:doc "Profile spikes function probability forest example." }
taiga.scripts.profile.spikes
(:require [clojure.test :as test]
[taiga.test.classify.spikes.majority... |
[
{
"context": " 2008\n :produced-by \"Jim Morris\",\n :production-company \"Pixar Animat",
"end": 406,
"score": 0.9998927712440491,
"start": 396,
"tag": "NAME",
"value": "Jim Morris"
},
{
"context": "uces a NEW map\n (println (assoc walle :... | Clojure/maps/src/maps/core.clj | rithsuon/LecturesHW | 3 | (ns maps.core
(:gen-class))
(defn -main
[& args]
; a map is a dictionary: a data structure that associates a key with a value.
; {} creates a map; adjacent values in the map declare a key-value pair.
(let [walle {:title "WALL-E", ; the commas are optional but can aid readability... | 105109 | (ns maps.core
(:gen-class))
(defn -main
[& args]
; a map is a dictionary: a data structure that associates a key with a value.
; {} creates a map; adjacent values in the map declare a key-value pair.
(let [walle {:title "WALL-E", ; the commas are optional but can aid readability... | true | (ns maps.core
(:gen-class))
(defn -main
[& args]
; a map is a dictionary: a data structure that associates a key with a value.
; {} creates a map; adjacent values in the map declare a key-value pair.
(let [walle {:title "WALL-E", ; the commas are optional but can aid readability... |
[
{
"context": " https://adventofcode.com/2020/day/5\n;; author: Vitor SRG (vitorssrg@gmail.com)\n;; date: 2021-01-02\n;;",
"end": 225,
"score": 0.9998776912689209,
"start": 216,
"tag": "NAME",
"value": "Vitor SRG"
},
{
"context": "entofcode.com/2020/day/5\n;; author: Vitor ... | aoc2020/d05/main.clj | vitorsrg/advent-of-code | 0 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; domain: Advent of Code 2020
;; challenge: Day 5: Binary Boarding
;; url: https://adventofcode.com/2020/day/5
;; author: Vitor SRG (vitorssrg@gmail.com)
;; date: 2021-01-02
;; execution: $ bash ./aoc2020/run.sh d05 < [IN... | 109222 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; domain: Advent of Code 2020
;; challenge: Day 5: Binary Boarding
;; url: https://adventofcode.com/2020/day/5
;; author: <NAME> (<EMAIL>)
;; date: 2021-01-02
;; execution: $ bash ./aoc2020/run.sh d05 < [INPUT_FILE]
;; ex... | true | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; domain: Advent of Code 2020
;; challenge: Day 5: Binary Boarding
;; url: https://adventofcode.com/2020/day/5
;; author: PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI)
;; date: 2021-01-02
;; execution: $ bash ./aoc2020/ru... |
[
{
"context": " user interface.\n;; Copyright 2011-2013, Vixu.com, F.M. (Filip) de Waard <fmw@vixu.com>.\n;;\n;; Licensed under the Apache L",
"end": 125,
"score": 0.9865292906761169,
"start": 104,
"tag": "NAME",
"value": "F.M. (Filip) de Waard"
},
{
"context": "right 2011-2013, Vixu.... | src/cljs/src/ui.cljs | fmw/vix | 22 | ;; cljs/src/ui.cljs: utility functions related to the user interface.
;; Copyright 2011-2013, Vixu.com, F.M. (Filip) de Waard <fmw@vixu.com>.
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License ... | 68038 | ;; cljs/src/ui.cljs: utility functions related to the user interface.
;; Copyright 2011-2013, Vixu.com, <NAME> <<EMAIL>>.
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www... | true | ;; cljs/src/ui.cljs: utility functions related to the user interface.
;; Copyright 2011-2013, Vixu.com, PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>.
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the... |
[
{
"context": " [name names]\n (let [extensions [{:oid \"2.5.29.17\"\n :value {:dns-name [n",
"end": 1037,
"score": 0.999719500541687,
"start": 1028,
"tag": "IP_ADDRESS",
"value": "2.5.29.17"
}
] | test/utils/puppetlabs/pcp/testutils/certs.clj | rileynewton/pcp-broker | 6 | (ns puppetlabs.pcp.testutils.certs
(:require [me.raynes.fs :as fs]
[puppetlabs.ssl-utils.core :as ssl-utils]
[puppetlabs.ssl-utils.simple :as ssl-simple]))
(def cert-serial-num (atom 0))
(defn save-pems
[ssl-dir cert]
(let [pub-key-dir (fs/file ssl-dir "public_keys")
priv-key-dir... | 110387 | (ns puppetlabs.pcp.testutils.certs
(:require [me.raynes.fs :as fs]
[puppetlabs.ssl-utils.core :as ssl-utils]
[puppetlabs.ssl-utils.simple :as ssl-simple]))
(def cert-serial-num (atom 0))
(defn save-pems
[ssl-dir cert]
(let [pub-key-dir (fs/file ssl-dir "public_keys")
priv-key-dir... | true | (ns puppetlabs.pcp.testutils.certs
(:require [me.raynes.fs :as fs]
[puppetlabs.ssl-utils.core :as ssl-utils]
[puppetlabs.ssl-utils.simple :as ssl-simple]))
(def cert-serial-num (atom 0))
(defn save-pems
[ssl-dir cert]
(let [pub-key-dir (fs/file ssl-dir "public_keys")
priv-key-dir... |
[
{
"context": "ernal:6443\\\"\n {:basic-auth {:username \\\"admin\\\"\n :password \\\"1234\\\"}})\"",
"end": 1360,
"score": 0.9142035841941833,
"start": 1355,
"tag": "USERNAME",
"value": "admin"
},
{
"context": "me \\\"admin\\\"\n ... | src/kubernetes_api/core.clj | deas/k8s-api | 87 | (ns kubernetes-api.core
(:require [kubernetes-api.extensions.custom-resource-definition :as crd]
[kubernetes-api.interceptors.auth :as interceptors.auth]
[kubernetes-api.interceptors.raise :as interceptors.raise]
[kubernetes-api.internals.client :as internals.client]
[k... | 84577 | (ns kubernetes-api.core
(:require [kubernetes-api.extensions.custom-resource-definition :as crd]
[kubernetes-api.interceptors.auth :as interceptors.auth]
[kubernetes-api.interceptors.raise :as interceptors.raise]
[kubernetes-api.internals.client :as internals.client]
[k... | true | (ns kubernetes-api.core
(:require [kubernetes-api.extensions.custom-resource-definition :as crd]
[kubernetes-api.interceptors.auth :as interceptors.auth]
[kubernetes-api.interceptors.raise :as interceptors.raise]
[kubernetes-api.internals.client :as internals.client]
[k... |
[
{
"context": "et! !viewers {})\n\n;; heavily inspired by code from Thomas Heller in shadow-cljs, see\n;; https://github.com/thhelle",
"end": 35186,
"score": 0.9950361251831055,
"start": 35173,
"tag": "NAME",
"value": "Thomas Heller"
},
{
"context": " Heller in shadow-cljs, see\n;; ht... | src/nextjournal/clerk/viewer.cljc | nextjournal/clerk | 598 | (ns nextjournal.clerk.viewer
(:require [clojure.string :as str]
[clojure.pprint :as pprint]
[clojure.datafy :as datafy]
[clojure.set :as set]
[clojure.walk :as w]
#?@(:clj [[clojure.repl :refer [demunge]]
[nextjournal.clerk.config :as c... | 50598 | (ns nextjournal.clerk.viewer
(:require [clojure.string :as str]
[clojure.pprint :as pprint]
[clojure.datafy :as datafy]
[clojure.set :as set]
[clojure.walk :as w]
#?@(:clj [[clojure.repl :refer [demunge]]
[nextjournal.clerk.config :as c... | true | (ns nextjournal.clerk.viewer
(:require [clojure.string :as str]
[clojure.pprint :as pprint]
[clojure.datafy :as datafy]
[clojure.set :as set]
[clojure.walk :as w]
#?@(:clj [[clojure.repl :refer [demunge]]
[nextjournal.clerk.config :as c... |
[
{
"context": "L_CONTROL\n [{:ID \\\"AUTH_KEY\\\" :DisplayName \\\"Some Name\\\"}\n {:URI \\\"http://groups/group-uri\\\"}",
"end": 216,
"score": 0.6656014919281006,
"start": 212,
"tag": "NAME",
"value": "Some"
},
{
"context": "NTROL\n [{:ID \\\"AUTH_KEY\\\" :DisplayNa... | src/io/pithos/acl.clj | exoscale/pithos | 222 | (ns io.pithos.acl
"The purpose of this namespace is to coerce to and from
the internal representation of ACLs.
The current representation is:
{:FULL_CONTROL
[{:ID \"AUTH_KEY\" :DisplayName \"Some Name\"}
{:URI \"http://groups/group-uri\"}]
...}
"
(:require [clojure.data.xml :refe... | 95513 | (ns io.pithos.acl
"The purpose of this namespace is to coerce to and from
the internal representation of ACLs.
The current representation is:
{:FULL_CONTROL
[{:ID \"AUTH_KEY\" :DisplayName \"<NAME> Name\"}
{:URI \"http://groups/group-uri\"}]
...}
"
(:require [clojure.data.xml :re... | true | (ns io.pithos.acl
"The purpose of this namespace is to coerce to and from
the internal representation of ACLs.
The current representation is:
{:FULL_CONTROL
[{:ID \"AUTH_KEY\" :DisplayName \"PI:NAME:<NAME>END_PI Name\"}
{:URI \"http://groups/group-uri\"}]
...}
"
(:require [clojure.da... |
[
{
"context": " :name \"42\"\n ",
"end": 6041,
"score": 0.5310879945755005,
"start": 6040,
"tag": "NAME",
"value": "4"
},
{
"context": " :bearer-token \"fake-token... | test/build_facts/concourse/builds_test.clj | cburgmer/build-facts | 5 | (ns build-facts.concourse.builds-test
(:require [build-facts.concourse.builds :as sut]
[cheshire.core :as j]
[clj-http.fake :as fake]
[clj-time
[coerce :as tc]
[core :as t]]
[clojure.string :as string]
[clojure.test :refer :all]))
... | 65587 | (ns build-facts.concourse.builds-test
(:require [build-facts.concourse.builds :as sut]
[cheshire.core :as j]
[clj-http.fake :as fake]
[clj-time
[coerce :as tc]
[core :as t]]
[clojure.string :as string]
[clojure.test :refer :all]))
... | true | (ns build-facts.concourse.builds-test
(:require [build-facts.concourse.builds :as sut]
[cheshire.core :as j]
[clj-http.fake :as fake]
[clj-time
[coerce :as tc]
[core :as t]]
[clojure.string :as string]
[clojure.test :refer :all]))
... |
[
{
"context": "t Employee :Name :ID)\n (def e (struct Employee \"John\" 1))\n (println \"Employee: \", e)\n)\n(main)\n",
"end": 125,
"score": 0.9975141286849976,
"start": 121,
"tag": "NAME",
"value": "John"
}
] | ed/l/clojure/examples/whatever/struct.clj | cn007b/stash | 0 | (ns clojure.examples.struct
(:gen-class))
(defn main []
(defstruct Employee :Name :ID)
(def e (struct Employee "John" 1))
(println "Employee: ", e)
)
(main)
| 867 | (ns clojure.examples.struct
(:gen-class))
(defn main []
(defstruct Employee :Name :ID)
(def e (struct Employee "<NAME>" 1))
(println "Employee: ", e)
)
(main)
| true | (ns clojure.examples.struct
(:gen-class))
(defn main []
(defstruct Employee :Name :ID)
(def e (struct Employee "PI:NAME:<NAME>END_PI" 1))
(println "Employee: ", e)
)
(main)
|
[
{
"context": "-companies\n (let [game-data {:companies [{:name \"Al\"}\n {:name \"Be\"}\n ",
"end": 1695,
"score": 0.7762704491615295,
"start": 1693,
"tag": "NAME",
"value": "Al"
},
{
"context": "name \"Al\"}\n {:name \"B... | test/starlanes/finance/company_test.clj | oubiwann/clj-starlanes | 1 | (ns starlanes.finance.company-test
(:require [clojure.test :refer :all]
[starlanes.finance.company :as company]
[starlanes.util :as util]))
(deftest test-get-new-company
(let [result (company/get-new-company)]
(is (= (result :name) "")))
(let [result (company/get-new-company "A")]
... | 104660 | (ns starlanes.finance.company-test
(:require [clojure.test :refer :all]
[starlanes.finance.company :as company]
[starlanes.util :as util]))
(deftest test-get-new-company
(let [result (company/get-new-company)]
(is (= (result :name) "")))
(let [result (company/get-new-company "A")]
... | true | (ns starlanes.finance.company-test
(:require [clojure.test :refer :all]
[starlanes.finance.company :as company]
[starlanes.util :as util]))
(deftest test-get-new-company
(let [result (company/get-new-company)]
(is (= (result :name) "")))
(let [result (company/get-new-company "A")]
... |
[
{
"context": "o_world\"\n :user \"benchmarkdbuser\"\n :password \"benchmarkdbpass\"\n :size 1})\n\n(defmacro thread-local [& body]\n ",
"end": 1068,
"score": 0.999316930770874,
"start": 1053,
"tag": "PASSWORD",
"value": "benchmarkdbpass"
}
] | frameworks/Clojure/aleph/src/hello/handler.clj | http4k/FrameworkBenchmarks | 2 | (ns hello.handler
(:require
[aleph.http :as http]
[aleph.netty :as netty]
[byte-streams :as bs]
[clj-async-profiler.core :as prof]
[hiccup.page :as hp]
[hiccup.util :as hu]
[jsonista.core :as json]
[manifold.deferred :... | 30107 | (ns hello.handler
(:require
[aleph.http :as http]
[aleph.netty :as netty]
[byte-streams :as bs]
[clj-async-profiler.core :as prof]
[hiccup.page :as hp]
[hiccup.util :as hu]
[jsonista.core :as json]
[manifold.deferred :... | true | (ns hello.handler
(:require
[aleph.http :as http]
[aleph.netty :as netty]
[byte-streams :as bs]
[clj-async-profiler.core :as prof]
[hiccup.page :as hp]
[hiccup.util :as hu]
[jsonista.core :as json]
[manifold.deferred :... |
[
{
"context": "\n(def update-roles-rules\n {:name [[v/member #{\"merlin\" \"morgana\" \"percival\" \"mordred\" \"oberon\" \"lancelo",
"end": 2014,
"score": 0.9344732761383057,
"start": 2008,
"tag": "NAME",
"value": "merlin"
},
{
"context": "ate-roles-rules\n {:name [[v/member #{... | src/clj/avalon/rules/games.clj | baritonehands/avalon | 5 | (ns avalon.rules.games
(:require [bouncer.core :as b]
[bouncer.validators :as v]
[avalon.models.games :as games]
[avalon.models.crud :as crud]
[avalon.rules.quests :as quests]))
(def good {:specials #{:merlin :percival :good-lancelot1 :good-lancelot2 :twin1 :twin2}
... | 116498 | (ns avalon.rules.games
(:require [bouncer.core :as b]
[bouncer.validators :as v]
[avalon.models.games :as games]
[avalon.models.crud :as crud]
[avalon.rules.quests :as quests]))
(def good {:specials #{:merlin :percival :good-lancelot1 :good-lancelot2 :twin1 :twin2}
... | true | (ns avalon.rules.games
(:require [bouncer.core :as b]
[bouncer.validators :as v]
[avalon.models.games :as games]
[avalon.models.crud :as crud]
[avalon.rules.quests :as quests]))
(def good {:specials #{:merlin :percival :good-lancelot1 :good-lancelot2 :twin1 :twin2}
... |
[
{
"context": "irst-name\n;; (s/with-gen string?\n;; #(s/gen #{\"Steve\" \"Sam\" \"Gretchen\"})))\n\n;; (s/def ::last-name\n;; ",
"end": 1543,
"score": 0.9997563362121582,
"start": 1538,
"tag": "NAME",
"value": "Steve"
},
{
"context": "e\n;; (s/with-gen string?\n;; #(s/gen #{\"... | src/cljc/cube_test/twizzlers/db.cljc | vt5491/cube-test | 1 | (ns cube-test.twizzlers.db
(:require
[re-frame.core :as re-frame]
[clojure.spec.alpha :as s]
[clojure.test.check.generators :as gen]
[clojure.pprint :refer [pprint]]
[cube-test.utils :as utils]))
(def dummy 7)
(comment
(+ 1 1)
(print {:a 7, :b 8})
(pprint (gen/generate (s/gen ::first-name)))
... | 22317 | (ns cube-test.twizzlers.db
(:require
[re-frame.core :as re-frame]
[clojure.spec.alpha :as s]
[clojure.test.check.generators :as gen]
[clojure.pprint :refer [pprint]]
[cube-test.utils :as utils]))
(def dummy 7)
(comment
(+ 1 1)
(print {:a 7, :b 8})
(pprint (gen/generate (s/gen ::first-name)))
... | true | (ns cube-test.twizzlers.db
(:require
[re-frame.core :as re-frame]
[clojure.spec.alpha :as s]
[clojure.test.check.generators :as gen]
[clojure.pprint :refer [pprint]]
[cube-test.utils :as utils]))
(def dummy 7)
(comment
(+ 1 1)
(print {:a 7, :b 8})
(pprint (gen/generate (s/gen ::first-name)))
... |
[
{
"context": "lient-123\"\n :client-secret \"secret-456\"\n :auth-url \"https://o",
"end": 452,
"score": 0.9984269142150879,
"start": 442,
"tag": "KEY",
"value": "secret-456"
}
] | test/objective8/integration/front_end/sign_in.clj | d-cent/objective8 | 23 | (ns objective8.integration.front-end.sign-in
(:require [midje.sweet :refer :all]
[peridot.core :as p]
[objective8.integration.integration-helpers :as helpers]
[objective8.utils :as utils]
[objective8.config :as config]
[objective8.core :as core]
... | 34132 | (ns objective8.integration.front-end.sign-in
(:require [midje.sweet :refer :all]
[peridot.core :as p]
[objective8.integration.integration-helpers :as helpers]
[objective8.utils :as utils]
[objective8.config :as config]
[objective8.core :as core]
... | true | (ns objective8.integration.front-end.sign-in
(:require [midje.sweet :refer :all]
[peridot.core :as p]
[objective8.integration.integration-helpers :as helpers]
[objective8.utils :as utils]
[objective8.config :as config]
[objective8.core :as core]
... |
[
{
"context": "! *unchecked-math* :warn-on-boxed)\n(ns ^{:author \"John Alan McDonald, Kristina Lisa Klinkner\" :date \"2016-10-20\"\n ",
"end": 105,
"score": 0.9998747110366821,
"start": 87,
"tag": "NAME",
"value": "John Alan McDonald"
},
{
"context": ":warn-on-boxed)\n(ns ^{:aut... | src/main/clojure/zana/functions/wrappers.clj | wahpenayo/zana | 2 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "John Alan McDonald, Kristina Lisa Klinkner" :date "2016-10-20"
:doc "Turn Java data structures into Clojure functions.
Really just specialized versions of <code>memoize</code>." }
zana.functions.wrappers
... | 122451 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "<NAME>, <NAME>" :date "2016-10-20"
:doc "Turn Java data structures into Clojure functions.
Really just specialized versions of <code>memoize</code>." }
zana.functions.wrappers
(:refer-clojure :exclude ... | true | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI" :date "2016-10-20"
:doc "Turn Java data structures into Clojure functions.
Really just specialized versions of <code>memoize</code>." }
zana.functions.wrappers
... |
[
{
"context": "esting \"order of token filters\"\n (let [text \"brown foxes\"\n analyzer (analysis/create {:token-fi",
"end": 3899,
"score": 0.7919653654098511,
"start": 3888,
"tag": "NAME",
"value": "brown foxes"
},
{
"context": "oken-strings text analyzer))))\n\n ... | test/lmgrep/lucene/analysis_test.clj | dainiusjocas/lucene-grep | 165 | (ns lmgrep.lucene.analysis-test
(:require [clojure.test :refer [deftest testing is]]
[clojure.string :as str]
[lmgrep.lucene.analyzer :as analysis]
[lmgrep.lucene.text-analysis :as ta]
[jsonista.core :as json]))
(deftest predefined-analyzers
(let [text "The brown fox... | 14725 | (ns lmgrep.lucene.analysis-test
(:require [clojure.test :refer [deftest testing is]]
[clojure.string :as str]
[lmgrep.lucene.analyzer :as analysis]
[lmgrep.lucene.text-analysis :as ta]
[jsonista.core :as json]))
(deftest predefined-analyzers
(let [text "The brown fox... | true | (ns lmgrep.lucene.analysis-test
(:require [clojure.test :refer [deftest testing is]]
[clojure.string :as str]
[lmgrep.lucene.analyzer :as analysis]
[lmgrep.lucene.text-analysis :as ta]
[jsonista.core :as json]))
(deftest predefined-analyzers
(let [text "The brown fox... |
[
{
"context": "apetus\"]]\n [\"Uranus\" [\"Miranda\" \"Ariel\" \"Umbriel\" \"Titania\" \"Oberon\"]]\n ",
"end": 766,
"score": 0.6489079594612122,
"start": 765,
"tag": "NAME",
"value": "A"
}
] | Chapter 08 Code/niko/vaadin2/example01-splitpanel/ex1.clj | PacktPublishing/Clojure-Programming-Cookbook | 14 | (ns ex1
(:import
[com.vaadin.ui
AbstractComponentContainer
Button
Button$ClickEvent
Button$ClickListener
Component
GridLayout
Label
Window
Window$CloseListener
HorizontalSplitPanel
... | 14684 | (ns ex1
(:import
[com.vaadin.ui
AbstractComponentContainer
Button
Button$ClickEvent
Button$ClickListener
Component
GridLayout
Label
Window
Window$CloseListener
HorizontalSplitPanel
... | true | (ns ex1
(:import
[com.vaadin.ui
AbstractComponentContainer
Button
Button$ClickEvent
Button$ClickListener
Component
GridLayout
Label
Window
Window$CloseListener
HorizontalSplitPanel
... |
[
{
"context": "1 :body \"Created user.\"} (wahu/add-person {:name \"Joel Victor\"\n ",
"end": 1066,
"score": 0.9997985363006592,
"start": 1055,
"tag": "NAME",
"value": "Joel Victor"
},
{
"context": "body \"Updated user.\"} (wahu/update-pe... | save-points/8/test/workshop_app/handlers/users_test_2.clj | inclojure-org/intermediate-clojure-workshop | 22 | (ns workshop-app.handlers.users-test-2
(:require [clojure.test :refer :all]
[workshop-app.handlers.users :as wahu]
[workshop-app.db.sqlite :as wads]
[workshop-app.db.in-mem :as wadim]))
;; pattern 2. don't create the connection but instead redefine
;; it to an inmemory implementat... | 102635 | (ns workshop-app.handlers.users-test-2
(:require [clojure.test :refer :all]
[workshop-app.handlers.users :as wahu]
[workshop-app.db.sqlite :as wads]
[workshop-app.db.in-mem :as wadim]))
;; pattern 2. don't create the connection but instead redefine
;; it to an inmemory implementat... | true | (ns workshop-app.handlers.users-test-2
(:require [clojure.test :refer :all]
[workshop-app.handlers.users :as wahu]
[workshop-app.db.sqlite :as wads]
[workshop-app.db.in-mem :as wadim]))
;; pattern 2. don't create the connection but instead redefine
;; it to an inmemory implementat... |
[
{
"context": ";; Copyright (C) 2009-2011 Brendan Ribera. All rights reserved.\n;; Distributed under the MI",
"end": 41,
"score": 0.9998709559440613,
"start": 27,
"tag": "NAME",
"value": "Brendan Ribera"
}
] | src/kdtree.cljc | abscondment/clj-kdtree | 31 | ;; Copyright (C) 2009-2011 Brendan Ribera. All rights reserved.
;; Distributed under the MIT License; see the file LICENSE
;; at the root of this distribution.
(ns kdtree)
(defrecord Node [left right value])
(defrecord Result [point ^double dist-squared])
(defn- dist-squared
"Compute the K-dimensional distance bet... | 62770 | ;; Copyright (C) 2009-2011 <NAME>. All rights reserved.
;; Distributed under the MIT License; see the file LICENSE
;; at the root of this distribution.
(ns kdtree)
(defrecord Node [left right value])
(defrecord Result [point ^double dist-squared])
(defn- dist-squared
"Compute the K-dimensional distance between two... | true | ;; Copyright (C) 2009-2011 PI:NAME:<NAME>END_PI. All rights reserved.
;; Distributed under the MIT License; see the file LICENSE
;; at the root of this distribution.
(ns kdtree)
(defrecord Node [left right value])
(defrecord Result [point ^double dist-squared])
(defn- dist-squared
"Compute the K-dimensional distan... |
[
{
"context": "ct com.alliander.chainsaw/core \"0.1.0\"\n :author \"Alliander NV <https://www.alliander.com/>\"\n :description \"",
"end": 68,
"score": 0.9974281191825867,
"start": 59,
"tag": "NAME",
"value": "Alliander"
},
{
"context": "y for taoensso/timbre\"\n :url \"https://git... | core/project.clj | Alliander/chainsaw | 1 | (defproject com.alliander.chainsaw/core "0.1.0"
:author "Alliander NV <https://www.alliander.com/>"
:description "Data driven logging library for taoensso/timbre"
:url "https://github.com/aliander/chainsaw"
:license {:name "Apache License, Version 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.... | 96257 | (defproject com.alliander.chainsaw/core "0.1.0"
:author "<NAME> NV <https://www.alliander.com/>"
:description "Data driven logging library for taoensso/timbre"
:url "https://github.com/aliander/chainsaw"
:license {:name "Apache License, Version 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0"
... | true | (defproject com.alliander.chainsaw/core "0.1.0"
:author "PI:NAME:<NAME>END_PI NV <https://www.alliander.com/>"
:description "Data driven logging library for taoensso/timbre"
:url "https://github.com/aliander/chainsaw"
:license {:name "Apache License, Version 2.0"
:url "http://www.apache.org/licenses... |
[
{
"context": "temp-file)\n initial-content {\"token-1\" {\"foo1\" \"bar\", \"hello\" \"world1\"}\n ",
"end": 1636,
"score": 0.828902542591095,
"start": 1631,
"tag": "KEY",
"value": "foo1\""
},
{
"context": "le)\n initial-content {\"token-1\" {... | token-syncer/test/token_syncer/commands/backup_test.clj | mokshjawa/waiter | 0 | ;;
;; Copyright (c) Two Sigma Open Source, LLC
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or... | 3100 | ;;
;; Copyright (c) Two Sigma Open Source, LLC
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or... | true | ;;
;; Copyright (c) Two Sigma Open Source, LLC
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or... |
[
{
"context": "\n (dom/p {:style {:margin-top \"150px\"}} \"Conrad\"))\n\n (dom/section\n (dom/p \"As a f",
"end": 8103,
"score": 0.9275715947151184,
"start": 8097,
"tag": "NAME",
"value": "Conrad"
}
] | src/cljs/new_website/talks.cljs | chstan/personal-website | 0 | (ns new-website.talks
(:require [om.core :as om :include-macros true]
[om-tools.dom :as dom :include-macros true]
[om-tools.core :refer-macros [defcomponent defcomponentmethod]]
[dommy.core :as dommy :refer-macros [sel sel1]]
[clojure.string :as str]
[aja... | 5369 | (ns new-website.talks
(:require [om.core :as om :include-macros true]
[om-tools.dom :as dom :include-macros true]
[om-tools.core :refer-macros [defcomponent defcomponentmethod]]
[dommy.core :as dommy :refer-macros [sel sel1]]
[clojure.string :as str]
[aja... | true | (ns new-website.talks
(:require [om.core :as om :include-macros true]
[om-tools.dom :as dom :include-macros true]
[om-tools.core :refer-macros [defcomponent defcomponentmethod]]
[dommy.core :as dommy :refer-macros [sel sel1]]
[clojure.string :as str]
[aja... |
[
{
"context": "ed auto\n }\n ethernet eth1 {\n address 192.168.1.1/24\n description Local\n duplex auto\n",
"end": 1525,
"score": 0.9996820092201233,
"start": 1514,
"tag": "IP_ADDRESS",
"value": "192.168.1.1"
},
{
"context": " authoritative enable\n... | configs/edgerouter/config.boot | fancl20/homeserver-configs | 0 | firewall {
all-ping enable
broadcast-ping disable
ipv6-receive-redirects disable
ipv6-src-route disable
ip-src-route disable
log-martians enable
name WAN_IN {
default-action drop
description "WAN to internal"
rule 10 {
action accept
description... | 99481 | firewall {
all-ping enable
broadcast-ping disable
ipv6-receive-redirects disable
ipv6-src-route disable
ip-src-route disable
log-martians enable
name WAN_IN {
default-action drop
description "WAN to internal"
rule 10 {
action accept
description... | true | firewall {
all-ping enable
broadcast-ping disable
ipv6-receive-redirects disable
ipv6-src-route disable
ip-src-route disable
log-martians enable
name WAN_IN {
default-action drop
description "WAN to internal"
rule 10 {
action accept
description... |
[
{
"context": ";\n; Copyright © 2021 Peter Monks\n;\n; Licensed under the Apache License, Version 2.",
"end": 32,
"score": 0.9995479583740234,
"start": 21,
"tag": "NAME",
"value": "Peter Monks"
}
] | src/lice_comb/deps.clj | pmonks/lice-comb | 3 | ;
; Copyright © 2021 Peter Monks
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writi... | 19827 | ;
; Copyright © 2021 <NAME>
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writing, s... | true | ;
; Copyright © 2021 PI:NAME:<NAME>END_PI
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to... |
[
{
"context": "aiter-url service-id-1)))\n (let [token (str \"^SERVICE-ID#\" service-id-1)\n response (make-request-with-debug-",
"end": 48131,
"score": 0.6569136381149292,
"start": 48104,
"tag": "KEY",
"value": "\"^SERVICE-ID#\" service-id-1"
},
{
"context": "0856... | waiter/integration/waiter/token_request_test.clj | twosigmajab/waiter | 0 | ;;
;; Copyright (c) Two Sigma Open Source, LLC
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or... | 86140 | ;;
;; Copyright (c) Two Sigma Open Source, LLC
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or... | true | ;;
;; Copyright (c) Two Sigma Open Source, LLC
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or... |
[
{
"context": "api]))\n\n;; -- Constants\n\n(def user-pwd-cache-key \"user-pwd\")\n(def db-ignored-keys [:services])\n\n;; -- Middle",
"end": 564,
"score": 0.9882134795188904,
"start": 556,
"tag": "KEY",
"value": "user-pwd"
},
{
"context": "-----------------------\n;; See https://gith... | src/trustroots/handlers.cljs | Trustroots/Trustroots-React-Native | 32 | (ns trustroots.handlers
(:require [clojure.walk :refer [keywordize-keys]]
[reagent.core :as reagent]
[re-frame.core :refer [register-handler after dispatch dispatch-sync]]
[schema.core :as s :include-macros true]
[trustroots.domain.main :as main :refer [app-db schema]... | 48951 | (ns trustroots.handlers
(:require [clojure.walk :refer [keywordize-keys]]
[reagent.core :as reagent]
[re-frame.core :refer [register-handler after dispatch dispatch-sync]]
[schema.core :as s :include-macros true]
[trustroots.domain.main :as main :refer [app-db schema]... | true | (ns trustroots.handlers
(:require [clojure.walk :refer [keywordize-keys]]
[reagent.core :as reagent]
[re-frame.core :refer [register-handler after dispatch dispatch-sync]]
[schema.core :as s :include-macros true]
[trustroots.domain.main :as main :refer [app-db schema]... |
[
{
"context": " primes using a Sieve of Eratosthenes algorithm by Richard Bird.\"\n []\n (letfn [(mltpls [p] (let [p2 (* 2 p)]\n ",
"end": 118,
"score": 0.9997400641441345,
"start": 106,
"tag": "NAME",
"value": "Richard Bird"
}
] | Task/Sieve-of-Eratosthenes/Clojure/sieve-of-eratosthenes-9.clj | LaudateCorpus1/RosettaCodeData | 1 | (defn primes-Bird
"Computes the unbounded sequence of primes using a Sieve of Eratosthenes algorithm by Richard Bird."
[]
(letfn [(mltpls [p] (let [p2 (* 2 p)]
(letfn [(nxtmltpl [c]
(cons c (lazy-seq (nxtmltpl (+ c p2)))))]
(nxtml... | 2785 | (defn primes-Bird
"Computes the unbounded sequence of primes using a Sieve of Eratosthenes algorithm by <NAME>."
[]
(letfn [(mltpls [p] (let [p2 (* 2 p)]
(letfn [(nxtmltpl [c]
(cons c (lazy-seq (nxtmltpl (+ c p2)))))]
(nxtmltpl (*... | true | (defn primes-Bird
"Computes the unbounded sequence of primes using a Sieve of Eratosthenes algorithm by PI:NAME:<NAME>END_PI."
[]
(letfn [(mltpls [p] (let [p2 (* 2 p)]
(letfn [(nxtmltpl [c]
(cons c (lazy-seq (nxtmltpl (+ c p2)))))]
... |
[
{
"context": "f data [(Item. \"Excalibur\" \"The legendary sword of King Arthur\" 12 1024)\n (Item. \"Steel Armor\" \"Protec",
"end": 364,
"score": 0.9074833393096924,
"start": 353,
"tag": "NAME",
"value": "King Arthur"
}
] | Solutions/ChalkPE/Game Shop/1/core.clj | pravin1237/ProgrammingPractice | 32 | (ns game-shop.core)
(defrecord Item [name description weight value])
(defn Describe [item]
(printf "Name = %s%n" (:name item))
(printf "Description = %s%n" (:description item))
(printf "Weight = %s lbs%n" (:weight item))
(printf "Value = %s gold coins%n" (:value item)))
(def data [(Item. "Ex... | 81824 | (ns game-shop.core)
(defrecord Item [name description weight value])
(defn Describe [item]
(printf "Name = %s%n" (:name item))
(printf "Description = %s%n" (:description item))
(printf "Weight = %s lbs%n" (:weight item))
(printf "Value = %s gold coins%n" (:value item)))
(def data [(Item. "Ex... | true | (ns game-shop.core)
(defrecord Item [name description weight value])
(defn Describe [item]
(printf "Name = %s%n" (:name item))
(printf "Description = %s%n" (:description item))
(printf "Weight = %s lbs%n" (:weight item))
(printf "Value = %s gold coins%n" (:value item)))
(def data [(Item. "Ex... |
[
{
"context": "! *unchecked-math* :warn-on-boxed)\n(ns ^{:author \"John Alan McDonald\" :date \"2016-09-09\"\n :doc \"Utilities for HPP",
"end": 105,
"score": 0.9998752474784851,
"start": 87,
"tag": "NAME",
"value": "John Alan McDonald"
}
] | src/main/clojure/zana/collections/hppc.clj | wahpenayo/zana | 2 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "John Alan McDonald" :date "2016-09-09"
:doc "Utilities for HPPC:
High Performance Primitive Collections for Java." }
zana.collections.hppc
(:refer-clojure :exclude [double-array empty? filter frequenci... | 26597 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "<NAME>" :date "2016-09-09"
:doc "Utilities for HPPC:
High Performance Primitive Collections for Java." }
zana.collections.hppc
(:refer-clojure :exclude [double-array empty? filter frequencies get inc k... | true | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "PI:NAME:<NAME>END_PI" :date "2016-09-09"
:doc "Utilities for HPPC:
High Performance Primitive Collections for Java." }
zana.collections.hppc
(:refer-clojure :exclude [double-array empty? filter frequen... |
[
{
"context": "r.transmit.config/echo-system-token (constantly \"zort\")]\n (is (= {:token \"zort\"\n :foo \"ba",
"end": 340,
"score": 0.7869142889976501,
"start": 337,
"tag": "KEY",
"value": "ort"
},
{
"context": "em-token (constantly \"zort\")]\n (is (= {:token \"zo... | transmit-lib/test/cmr/transmit/test/config.clj | sxu123/Common-Metadata-Repository | 0 | (ns cmr.transmit.test.config
(:require
[clojure.test :refer :all]
[cmr.transmit.config :as config]))
(deftest with-echo-system-token-test
(is (= {:token "mock-echo-system-token"
:foo "bar"}
(config/with-echo-system-token {:foo "bar"})))
(with-redefs [cmr.transmit.config/echo-system-tok... | 70876 | (ns cmr.transmit.test.config
(:require
[clojure.test :refer :all]
[cmr.transmit.config :as config]))
(deftest with-echo-system-token-test
(is (= {:token "mock-echo-system-token"
:foo "bar"}
(config/with-echo-system-token {:foo "bar"})))
(with-redefs [cmr.transmit.config/echo-system-tok... | true | (ns cmr.transmit.test.config
(:require
[clojure.test :refer :all]
[cmr.transmit.config :as config]))
(deftest with-echo-system-token-test
(is (= {:token "mock-echo-system-token"
:foo "bar"}
(config/with-echo-system-token {:foo "bar"})))
(with-redefs [cmr.transmit.config/echo-system-tok... |
[
{
"context": "ns under the License.\n;;\n;; Copyright © 2013-2022, Kenneth Leung. All rights reserved.\n\n(ns ^{:doc \"\"\n :autho",
"end": 597,
"score": 0.999875545501709,
"start": 584,
"tag": "NAME",
"value": "Kenneth Leung"
},
{
"context": "ll rights reserved.\n\n(ns ^{:doc \... | src/main/clojure/czlab/loki/player.clj | llnek/loki | 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 ... | 48363 | ;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writing, software
;; distributed ... | true | ;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writing, software
;; distributed ... |
[
{
"context": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n; Copyright 2015 Xebia B.V.\n;\n; Licensed under the Apache License, Version 2",
"end": 107,
"score": 0.9741256833076477,
"start": 98,
"tag": "NAME",
"value": "Xebia B.V"
},
{
"context": "er user\n :password ... | src/main/clojure/com/xebia/visualreview/service/persistence/database.clj | andstepanuk/VisualReview | 290 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright 2015 Xebia B.V.
;
; Licensed under the Apache License, Version 2.0 (the "License")
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licen... | 39773 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright 2015 <NAME>.
;
; Licensed under the Apache License, Version 2.0 (the "License")
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses... | true | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright 2015 PI:NAME:<NAME>END_PI.
;
; Licensed under the Apache License, Version 2.0 (the "License")
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apach... |
[
{
"context": "(ns ^{:author \"Yuji Hamaguchi\"}\n excelAsRDS.Utility\n (:require [clojure.data.",
"end": 29,
"score": 0.9998692870140076,
"start": 15,
"tag": "NAME",
"value": "Yuji Hamaguchi"
}
] | src/excelAsRDS/Utility.clj | yujihamaguchi/excelAsRDS | 1 | (ns ^{:author "Yuji Hamaguchi"}
excelAsRDS.Utility
(:require [clojure.data.json :as json :only [read-json write-str]]
[clojure.java.io :as io :only [reader]]
[clojure.set :refer :all])
(:gen-class
:name excelAsRDS.Utility
:methods [#^{:static true} [isEqualJSONStrAsSet [String Stri... | 67776 | (ns ^{:author "<NAME>"}
excelAsRDS.Utility
(:require [clojure.data.json :as json :only [read-json write-str]]
[clojure.java.io :as io :only [reader]]
[clojure.set :refer :all])
(:gen-class
:name excelAsRDS.Utility
:methods [#^{:static true} [isEqualJSONStrAsSet [String String] Bool... | true | (ns ^{:author "PI:NAME:<NAME>END_PI"}
excelAsRDS.Utility
(:require [clojure.data.json :as json :only [read-json write-str]]
[clojure.java.io :as io :only [reader]]
[clojure.set :refer :all])
(:gen-class
:name excelAsRDS.Utility
:methods [#^{:static true} [isEqualJSONStrAsSet [Strin... |
[
{
"context": ";; Authors: Sung Pae <self@sungpae.com>\n\n(ns vim-clojure-static.test\n ",
"end": 20,
"score": 0.9998809695243835,
"start": 12,
"tag": "NAME",
"value": "Sung Pae"
},
{
"context": ";; Authors: Sung Pae <self@sungpae.com>\n\n(ns vim-clojure-static.test\n (:require [cloj... | dot_vim/bundle/vim-clojure-static/clj/src/vim_clojure_static/test.clj | nyimbi/dot_files | 1 | ;; Authors: Sung Pae <self@sungpae.com>
(ns vim-clojure-static.test
(:require [clojure.edn :as edn]
[clojure.java.io :as io]
[clojure.java.shell :as shell]
[clojure.string :as string]
[clojure.test :as test])
(:import (java.io File)
(java.util List)))
(de... | 69604 | ;; Authors: <NAME> <<EMAIL>>
(ns vim-clojure-static.test
(:require [clojure.edn :as edn]
[clojure.java.io :as io]
[clojure.java.shell :as shell]
[clojure.string :as string]
[clojure.test :as test])
(:import (java.io File)
(java.util List)))
(defn vim-exec... | true | ;; Authors: PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
(ns vim-clojure-static.test
(:require [clojure.edn :as edn]
[clojure.java.io :as io]
[clojure.java.shell :as shell]
[clojure.string :as string]
[clojure.test :as test])
(:import (java.io File)
(java... |
[
{
"context": "; Copyright (c) Rich Hickey. All rights reserved.\n; The use and distributio",
"end": 29,
"score": 0.9998596906661987,
"start": 18,
"tag": "NAME",
"value": "Rich Hickey"
},
{
"context": "ice, or any other, from this software.\n\n;; Author: Shawn Hoover\n\n(ns clojur... | ThirdParty/clojure-1.1.0/test/clojure/test_clojure/agents.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 ... | 4231 | ; 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": " \"--driver\" \"mysql\" \"--host\" \"127.0.0.1\" \"--port\" \"3306\"\n \"--dbuser\"",
"end": 222,
"score": 0.9997088313102722,
"start": 213,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": " \"--dbu... | services/load-genbank.clj | jsa-aerial/aerobio | 3 |
{
:name "load-genbank",
:path "",
:func (fn [dbname dbpwd gbfile]
(if (pg/eoi? gbfile)
(pg/done)
(let [ret (pg/bp_load_genbank
"--driver" "mysql" "--host" "127.0.0.1" "--port" "3306"
"--dbuser" "root" "--dbpass" dbpwd
"... | 6930 |
{
:name "load-genbank",
:path "",
:func (fn [dbname dbpwd gbfile]
(if (pg/eoi? gbfile)
(pg/done)
(let [ret (pg/bp_load_genbank
"--driver" "mysql" "--host" "127.0.0.1" "--port" "3306"
"--dbuser" "root" "--dbpass" <PASSWORD>
... | true |
{
:name "load-genbank",
:path "",
:func (fn [dbname dbpwd gbfile]
(if (pg/eoi? gbfile)
(pg/done)
(let [ret (pg/bp_load_genbank
"--driver" "mysql" "--host" "127.0.0.1" "--port" "3306"
"--dbuser" "root" "--dbpass" PI:PASSWORD:<PASSWORD>END_PI
... |
[
{
"context": "(comment\n re-core, Copyright 2012 Ronen Narkis, narkisr.com\n Licensed under the Apache License",
"end": 48,
"score": 0.9998836517333984,
"start": 36,
"tag": "NAME",
"value": "Ronen Narkis"
},
{
"context": "comment\n re-core, Copyright 2012 Ronen Narkis, narkisr.... | src/re_core/security.clj | celestial-ops/core | 1 | (comment
re-core, Copyright 2012 Ronen Narkis, narkisr.com
Licensed under the Apache License,
Version 2.0 (the "License") you may not use this file except in compliance with the License.
You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law ... | 2348 | (comment
re-core, Copyright 2012 <NAME>, n<EMAIL>
Licensed under the Apache License,
Version 2.0 (the "License") you may not use this file except in compliance with the License.
You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed... | true | (comment
re-core, Copyright 2012 PI:NAME:<NAME>END_PI, nPI:EMAIL:<EMAIL>END_PI
Licensed under the Apache License,
Version 2.0 (the "License") you may not use this file except in compliance with the License.
You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless require... |
[
{
"context": ":doc \"Digest Creation for Pandect\"\n :author \"Yannick Scherer\"}\n pandect.core\n (:require [pandect.buffer :ref",
"end": 71,
"score": 0.9998447895050049,
"start": 56,
"tag": "NAME",
"value": "Yannick Scherer"
}
] | src/clojure/pandect/core.clj | projetoeureka/pandect | 0 | (ns ^{:doc "Digest Creation for Pandect"
:author "Yannick Scherer"}
pandect.core
(:require [pandect.buffer :refer [*buffer-size*]]
[pandect.utils.potemkin :refer [import-vars]]
[pandect.codegen :refer [algorithms algorithm-namespace]]))
(set! *warn-on-reflection* true)
(set! *unchecke... | 104999 | (ns ^{:doc "Digest Creation for Pandect"
:author "<NAME>"}
pandect.core
(:require [pandect.buffer :refer [*buffer-size*]]
[pandect.utils.potemkin :refer [import-vars]]
[pandect.codegen :refer [algorithms algorithm-namespace]]))
(set! *warn-on-reflection* true)
(set! *unchecked-math* t... | true | (ns ^{:doc "Digest Creation for Pandect"
:author "PI:NAME:<NAME>END_PI"}
pandect.core
(:require [pandect.buffer :refer [*buffer-size*]]
[pandect.utils.potemkin :refer [import-vars]]
[pandect.codegen :refer [algorithms algorithm-namespace]]))
(set! *warn-on-reflection* true)
(set! *unc... |
[
{
"context": "ades.lakes.elements.java.numbers.sum\"\n :author \"palisades dot lakes at gmail dot com\"\n :since \"2017-03-27\"\n :version \"2017-04-20\"}",
"end": 303,
"score": 0.9863373041152954,
"start": 267,
"tag": "EMAIL",
"value": "palisades dot lakes at gmail dot com"
}
] | src/test/clojure/palisades/lakes/elements/test/numbers/sum.clj | palisades-lakes/les-elemens | 0 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns palisades.lakes.elements.test.numbers.sum
{:doc "Unit tests for palisades.lakes.elements.java.numbers.sum"
:author "palisades dot lakes at gmail dot com"
:since "2017... | 47976 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns palisades.lakes.elements.test.numbers.sum
{:doc "Unit tests for palisades.lakes.elements.java.numbers.sum"
:author "<EMAIL>"
:since "2017-03-27"
:version "2017-04-... | true | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns palisades.lakes.elements.test.numbers.sum
{:doc "Unit tests for palisades.lakes.elements.java.numbers.sum"
:author "PI:EMAIL:<EMAIL>END_PI"
:since "2017-03-27"
:ve... |
[
{
"context": "]))\n\n(deftest test-outfields-query\n (let [age [[\"nathan\" 25]]]\n (is (= [\"?age\"]\n (get-out-fi",
"end": 257,
"score": 0.9647773504257202,
"start": 251,
"tag": "NAME",
"value": "nathan"
},
{
"context": "sum+1))))\n\n(deftest test-construct\n (let [a... | test/cascalog/api_secondary_test.clj | Factual/cascalog | 1 | (ns cascalog.api-secondary-test
(:use clojure.test
cascalog.api
cascalog.testing)
(:import [cascading.tuple Fields])
(:require [cascalog.ops :as c]
[cascalog.io :as io]))
(deftest test-outfields-query
(let [age [["nathan" 25]]]
(is (= ["?age"]
(get-out-fields
... | 68581 | (ns cascalog.api-secondary-test
(:use clojure.test
cascalog.api
cascalog.testing)
(:import [cascading.tuple Fields])
(:require [cascalog.ops :as c]
[cascalog.io :as io]))
(deftest test-outfields-query
(let [age [["<NAME>" 25]]]
(is (= ["?age"]
(get-out-fields
... | true | (ns cascalog.api-secondary-test
(:use clojure.test
cascalog.api
cascalog.testing)
(:import [cascading.tuple Fields])
(:require [cascalog.ops :as c]
[cascalog.io :as io]))
(deftest test-outfields-query
(let [age [["PI:NAME:<NAME>END_PI" 25]]]
(is (= ["?age"]
(get-out-f... |
[
{
"context": "\n (gen/one-of\n [(gen-rsa-keyspec [1024 2048 4096])\n (gen-ec-keyspec :ecdh pgp-gen/ellipt",
"end": 1685,
"score": 0.9963892102241516,
"start": 1671,
"tag": "KEY",
"value": "1024 2048 4096"
}
] | test/clj_pgp/test/encryption.clj | aclev/clj-pgp | 0 | (ns clj-pgp.test.encryption
(:require
[byte-streams :refer [bytes=]]
[clojure.java.io :as io]
[clojure.test :refer :all]
[clojure.test.check :as check]
[clojure.test.check.generators :as gen]
[clojure.test.check.properties :as prop]
(clj-pgp
[core :as pgp]
[generate :as pgp-gen... | 123367 | (ns clj-pgp.test.encryption
(:require
[byte-streams :refer [bytes=]]
[clojure.java.io :as io]
[clojure.test :refer :all]
[clojure.test.check :as check]
[clojure.test.check.generators :as gen]
[clojure.test.check.properties :as prop]
(clj-pgp
[core :as pgp]
[generate :as pgp-gen... | true | (ns clj-pgp.test.encryption
(:require
[byte-streams :refer [bytes=]]
[clojure.java.io :as io]
[clojure.test :refer :all]
[clojure.test.check :as check]
[clojure.test.check.generators :as gen]
[clojure.test.check.properties :as prop]
(clj-pgp
[core :as pgp]
[generate :as pgp-gen... |
[
{
"context": " for Clojure built on the CERN Colt Library\n\n;; by David Edgar Liebke http://incanter.org\n;; March 11, 2009\n\n;; Copyrig",
"end": 104,
"score": 0.9998950958251953,
"start": 86,
"tag": "NAME",
"value": "David Edgar Liebke"
},
{
"context": "//incanter.org\n;; March 11... | test/conflicts/mined/incanter-29762d615c2538747b46e35d1b7afda14ccb98eb-2b0fbb78144bf68ecc481f9d8a0fdb6267bddb9/O.clj | nazrhom/vcs-clojure | 3 | ;;; stats.clj -- Statistics library for Clojure built on the CERN Colt Library
;; by David Edgar Liebke http://incanter.org
;; March 11, 2009
;; Copyright (c) David Edgar Liebke, 2009. All rights reserved. The use
;; and distribution terms for this software are covered by the Eclipse
;; Public License 1.0 (http://op... | 78088 | ;;; stats.clj -- Statistics library for Clojure built on the CERN Colt Library
;; by <NAME> http://incanter.org
;; March 11, 2009
;; Copyright (c) <NAME>, 2009. All rights reserved. The use
;; and distribution terms for this software are covered by the Eclipse
;; Public License 1.0 (http://opensource.org/licenses/ec... | true | ;;; stats.clj -- Statistics library for Clojure built on the CERN Colt Library
;; by PI:NAME:<NAME>END_PI http://incanter.org
;; March 11, 2009
;; Copyright (c) PI:NAME:<NAME>END_PI, 2009. All rights reserved. The use
;; and distribution terms for this software are covered by the Eclipse
;; Public License 1.0 (http:... |
[
{
"context": "ms query-params\n :key \"page-1\"})\n (map\n (fn [i]\n (let [key (str",
"end": 5799,
"score": 0.8513243198394775,
"start": 5793,
"tag": "KEY",
"value": "page-1"
}
] | src/cljs/wombats_web_client/panels/games.cljs | emilyseibert/battle-bots-web-client | 0 | (ns wombats-web-client.panels.games
(:require [cemerick.url :refer [map->query url]]
[re-frame.core :as re-frame]
[reagent.core :as reagent]
[wombats-web-client.components.cards.game :refer [game-card]]
[wombats-web-client.routes :refer [nav!]]
[wombats-web-... | 90611 | (ns wombats-web-client.panels.games
(:require [cemerick.url :refer [map->query url]]
[re-frame.core :as re-frame]
[reagent.core :as reagent]
[wombats-web-client.components.cards.game :refer [game-card]]
[wombats-web-client.routes :refer [nav!]]
[wombats-web-... | true | (ns wombats-web-client.panels.games
(:require [cemerick.url :refer [map->query url]]
[re-frame.core :as re-frame]
[reagent.core :as reagent]
[wombats-web-client.components.cards.game :refer [game-card]]
[wombats-web-client.routes :refer [nav!]]
[wombats-web-... |
[
{
"context": "nsols.nlparse.config]] namespace.\"\n :author \"Paul Landes\"}\n zensols.nlparse.parse\n (:require [clojure.",
"end": 383,
"score": 0.9998921155929565,
"start": 372,
"tag": "NAME",
"value": "Paul Landes"
},
{
"context": "annotations are [given\n here](https://... | src/clojure/zensols/nlparse/parse.clj | plandes/clj-nlp-parse | 33 | (ns ^{:doc "Parse an utterance using the Stanford CoreNLP and the ClearNLP SRL.
This is the main client entry point to the package. A default out of the box
parser works that comes with components listed
in [[zensols.nlparse.config/all-components]].
If you want to customzie or add your own parser plug in, see
the [[... | 3657 | (ns ^{:doc "Parse an utterance using the Stanford CoreNLP and the ClearNLP SRL.
This is the main client entry point to the package. A default out of the box
parser works that comes with components listed
in [[zensols.nlparse.config/all-components]].
If you want to customzie or add your own parser plug in, see
the [[... | true | (ns ^{:doc "Parse an utterance using the Stanford CoreNLP and the ClearNLP SRL.
This is the main client entry point to the package. A default out of the box
parser works that comes with components listed
in [[zensols.nlparse.config/all-components]].
If you want to customzie or add your own parser plug in, see
the [[... |
[
{
"context": "n\n :email email\n :name name\n :password password\n :enabled? enabled\n :created-at created_a",
"end": 607,
"score": 0.9970733523368835,
"start": 599,
"tag": "PASSWORD",
"value": "password"
}
] | src/cerber/mappers.clj | schmudde/cerber-oauth2-provider | 52 | (ns cerber.mappers
(:require [cerber.helpers :as helpers]
[taoensso.nippy :as nippy]))
(defn row->token
[row]
(when-let [{:keys [client_id user_id login scope secret created_at expires_at]} row]
{:client-id client_id
:user-id user_id
:login login
:scope scope
:secret secret
... | 39934 | (ns cerber.mappers
(:require [cerber.helpers :as helpers]
[taoensso.nippy :as nippy]))
(defn row->token
[row]
(when-let [{:keys [client_id user_id login scope secret created_at expires_at]} row]
{:client-id client_id
:user-id user_id
:login login
:scope scope
:secret secret
... | true | (ns cerber.mappers
(:require [cerber.helpers :as helpers]
[taoensso.nippy :as nippy]))
(defn row->token
[row]
(when-let [{:keys [client_id user_id login scope secret created_at expires_at]} row]
{:client-id client_id
:user-id user_id
:login login
:scope scope
:secret secret
... |
[
{
"context": "----------------------------\n;; Copyright (c) 2011 Basho Technologies, Inc. All Rights Reserved.\n;;\n;; This file is pr",
"end": 111,
"score": 0.8638984560966492,
"start": 93,
"tag": "NAME",
"value": "Basho Technologies"
}
] | src/sumo/mr_helpers.clj | reiddraper/sumo | 3 | ;; -------------------------------------------------------------------
;; Copyright (c) 2011 Basho Technologies, Inc. All Rights Reserved.
;;
;; This file is provided to you under the Apache License,
;; Version 2.0 (the "License"); you may not use this file
;; except in compliance with the License. You may obtain
;; ... | 71832 | ;; -------------------------------------------------------------------
;; Copyright (c) 2011 <NAME>, Inc. All Rights Reserved.
;;
;; This file is provided to you under the Apache License,
;; Version 2.0 (the "License"); you may not use this file
;; except in compliance with the License. You may obtain
;; a copy of th... | true | ;; -------------------------------------------------------------------
;; Copyright (c) 2011 PI:NAME:<NAME>END_PI, Inc. All Rights Reserved.
;;
;; This file is provided to you under the Apache License,
;; Version 2.0 (the "License"); you may not use this file
;; except in compliance with the License. You may obtain
;... |
[
{
"context": " [clojure.spec.alpha :as s]))\n\n(def token \"ZaBpdrqzpzcmbdEzd1kB\")\n\n(def results-db (atom []))\n(def queries (atom ",
"end": 364,
"score": 0.9284830689430237,
"start": 344,
"tag": "KEY",
"value": "ZaBpdrqzpzcmbdEzd1kB"
}
] | GraphQL/implementation/src/gql/fault_finding_experiment.clj | zclj/replication-packages | 8 | (ns gql.fault-finding-experiment
(:require [gql.generators :as gqlgen]
[gql.query-data :as data]
[gql.git-lab-specs :as gspecs]
[clojure.test.check.properties :as prop]
[org.httpkit.client :as http]
[clojure.data.json :as json]
[clojure.spec.alph... | 79944 | (ns gql.fault-finding-experiment
(:require [gql.generators :as gqlgen]
[gql.query-data :as data]
[gql.git-lab-specs :as gspecs]
[clojure.test.check.properties :as prop]
[org.httpkit.client :as http]
[clojure.data.json :as json]
[clojure.spec.alph... | true | (ns gql.fault-finding-experiment
(:require [gql.generators :as gqlgen]
[gql.query-data :as data]
[gql.git-lab-specs :as gspecs]
[clojure.test.check.properties :as prop]
[org.httpkit.client :as http]
[clojure.data.json :as json]
[clojure.spec.alph... |
[
{
"context": "alid-security-token-test\n (is (= {:errors [\"Token ABC123 does not exist\"], :status 401}\n (searc",
"end": 1657,
"score": 0.49447301030158997,
"start": 1654,
"tag": "KEY",
"value": "ABC"
},
{
"context": "-security-token-test\n (is (= {:errors [\"Token ABC123... | system-int-test/test/cmr/system_int_test/search/acls/collection_acl_search_test.clj | mschmele/Common-Metadata-Repository | 0 | (ns cmr.system-int-test.search.acls.collection-acl-search-test
"Tests searching for collections with ACLs in place"
(:require
[cmr.common-app.test.side-api :as side]
[clojure.test :refer :all]
[clojure.string :as str]
[cmr.acl.acl-fetcher :as acl-fetcher]
[cmr.common.services.messages :as msg]
... | 49478 | (ns cmr.system-int-test.search.acls.collection-acl-search-test
"Tests searching for collections with ACLs in place"
(:require
[cmr.common-app.test.side-api :as side]
[clojure.test :refer :all]
[clojure.string :as str]
[cmr.acl.acl-fetcher :as acl-fetcher]
[cmr.common.services.messages :as msg]
... | true | (ns cmr.system-int-test.search.acls.collection-acl-search-test
"Tests searching for collections with ACLs in place"
(:require
[cmr.common-app.test.side-api :as side]
[clojure.test :refer :all]
[clojure.string :as str]
[cmr.acl.acl-fetcher :as acl-fetcher]
[cmr.common.services.messages :as msg]
... |
[
{
"context": "name)\n :user \"sa\"\n :password \"scott_tiger\"})\n\n(with-connection db\n\t(delete-rows :cities [\"i",
"end": 544,
"score": 0.9990989565849304,
"start": 533,
"tag": "PASSWORD",
"value": "scott_tiger"
}
] | mssql/clojure/delete/mssql_delete.clj | ekzemplaro/data_base_language | 3 | ; -----------------------------------------------------------------
;
; mssql_delete.clj
;
; Jul/17/2014
;
; -----------------------------------------------------------------
(use 'clojure.java.jdbc)
;
(println "*** 開始 ***")
(let [db-host "host_mssql;"
db-name "databaseName=city"
id (first *command-line-args*)
... | 37876 | ; -----------------------------------------------------------------
;
; mssql_delete.clj
;
; Jul/17/2014
;
; -----------------------------------------------------------------
(use 'clojure.java.jdbc)
;
(println "*** 開始 ***")
(let [db-host "host_mssql;"
db-name "databaseName=city"
id (first *command-line-args*)
... | true | ; -----------------------------------------------------------------
;
; mssql_delete.clj
;
; Jul/17/2014
;
; -----------------------------------------------------------------
(use 'clojure.java.jdbc)
;
(println "*** 開始 ***")
(let [db-host "host_mssql;"
db-name "databaseName=city"
id (first *command-line-args*)
... |
[
{
"context": " (assoc-in [:session :user-login] \"valid@web.co.uk\")\n profile)]\n ",
"end": 6664,
"score": 0.999919593334198,
"start": 6649,
"tag": "EMAIL",
"value": "valid@web.co.uk"
},
{
"context": " [:.clj--unconfirmed-email]) fir... | test/stonecutter/test/view/profile.clj | d-cent/stonecutter | 39 | (ns stonecutter.test.view.profile
(:require [midje.sweet :refer :all]
[net.cgrand.enlive-html :as html]
[stonecutter.routes :as r]
[stonecutter.test.view.test-helpers :as th]
[stonecutter.translation :as t]
[stonecutter.view.profile :refer [profile]]
... | 40344 | (ns stonecutter.test.view.profile
(:require [midje.sweet :refer :all]
[net.cgrand.enlive-html :as html]
[stonecutter.routes :as r]
[stonecutter.test.view.test-helpers :as th]
[stonecutter.translation :as t]
[stonecutter.view.profile :refer [profile]]
... | true | (ns stonecutter.test.view.profile
(:require [midje.sweet :refer :all]
[net.cgrand.enlive-html :as html]
[stonecutter.routes :as r]
[stonecutter.test.view.test-helpers :as th]
[stonecutter.translation :as t]
[stonecutter.view.profile :refer [profile]]
... |
[
{
"context": "\"Client-side search results view.\"\n :author \"Eric Weinstein <eric.q.weinstein@gmail.com>\"}\n cityshelf.views.",
"end": 75,
"score": 0.9998883008956909,
"start": 61,
"tag": "NAME",
"value": "Eric Weinstein"
},
{
"context": "rch results view.\"\n :author \... | src/cityshelf/views/search.cljs | ericqweinstein/cityshelf | 0 | (ns ^{:doc "Client-side search results view."
:author "Eric Weinstein <eric.q.weinstein@gmail.com>"}
cityshelf.views.search
(:require [cityshelf.components.gallery :refer [gallery]]
[cityshelf.components.search :refer [search]]
[cityshelf.session :as session]))
(defn index
"The cont... | 22067 | (ns ^{:doc "Client-side search results view."
:author "<NAME> <<EMAIL>>"}
cityshelf.views.search
(:require [cityshelf.components.gallery :refer [gallery]]
[cityshelf.components.search :refer [search]]
[cityshelf.session :as session]))
(defn index
"The content for the search results ... | true | (ns ^{:doc "Client-side search results view."
:author "PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>"}
cityshelf.views.search
(:require [cityshelf.components.gallery :refer [gallery]]
[cityshelf.components.search :refer [search]]
[cityshelf.session :as session]))
(defn index
"The co... |
[
{
"context": "ts :is-many :Animal])\n\n(deftest test-diff\n (let [peter (human {:name \"Peter\" :age 17})\n paul (hu",
"end": 8424,
"score": 0.7235901951789856,
"start": 8419,
"tag": "NAME",
"value": "peter"
},
{
"context": "\n\n(deftest test-diff\n (let [peter (human {:nam... | test/spark/spec_tacular_test.clj | SparkFund/spec-tacular | 105 | (ns spark.spec-tacular-test
(:use spark.spec-tacular
clojure.test
[spark.spec-tacular.generators :exclude [prop-check-components]])
(:require [clojure.core.typed :as t]
[clojure.test.check :as tc]
[clojure.test.check.generators :as gen]
[clojure.test.check.propert... | 16591 | (ns spark.spec-tacular-test
(:use spark.spec-tacular
clojure.test
[spark.spec-tacular.generators :exclude [prop-check-components]])
(:require [clojure.core.typed :as t]
[clojure.test.check :as tc]
[clojure.test.check.generators :as gen]
[clojure.test.check.propert... | true | (ns spark.spec-tacular-test
(:use spark.spec-tacular
clojure.test
[spark.spec-tacular.generators :exclude [prop-check-components]])
(:require [clojure.core.typed :as t]
[clojure.test.check :as tc]
[clojure.test.check.generators :as gen]
[clojure.test.check.propert... |
[
{
"context": "redicate Logic, tests\n\n; Copyright (c) 2016 - 2020 Burkhardt Renz, THM. All rights reserved.\n; The use and distribu",
"end": 91,
"score": 0.9998735785484314,
"start": 77,
"tag": "NAME",
"value": "Burkhardt Renz"
}
] | test/lwb/pred/sat_test.clj | esb-lwb/lwb | 22 | ; lwb Logic WorkBench -- Predicate Logic, tests
; Copyright (c) 2016 - 2020 Burkhardt Renz, THM. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php).
; By using this software in any fashion, you are agr... | 4275 | ; lwb Logic WorkBench -- Predicate Logic, tests
; Copyright (c) 2016 - 2020 <NAME>, THM. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php).
; By using this software in any fashion, you are agreeing to... | true | ; lwb Logic WorkBench -- Predicate Logic, tests
; Copyright (c) 2016 - 2020 PI:NAME:<NAME>END_PI, THM. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php).
; By using this software in any fashion, you a... |
[
{
"context": "\"center\"})\n\n(defn header []\n [intro\n [heading \"Aron Strandberg\"]])\n\n(defn about []\n [section\n [heading \"About",
"end": 1158,
"score": 0.9995479583740234,
"start": 1143,
"tag": "NAME",
"value": "Aron Strandberg"
}
] | src/as/components.cljs | aronstrandberg/aron | 0 | (ns as.components
(:require
[reagent.core :as r]
[cljss.reagent :refer-macros [defstyled]]))
(def text-color "#f8f9f8")
(def background "#f92b28")
(defstyled container :div
{:width "100%"
:min-height "100vh"
:display "flex"
:flex-direction "column"
:justify-content "center"
:align-items "cent... | 69742 | (ns as.components
(:require
[reagent.core :as r]
[cljss.reagent :refer-macros [defstyled]]))
(def text-color "#f8f9f8")
(def background "#f92b28")
(defstyled container :div
{:width "100%"
:min-height "100vh"
:display "flex"
:flex-direction "column"
:justify-content "center"
:align-items "cent... | true | (ns as.components
(:require
[reagent.core :as r]
[cljss.reagent :refer-macros [defstyled]]))
(def text-color "#f8f9f8")
(def background "#f92b28")
(defstyled container :div
{:width "100%"
:min-height "100vh"
:display "flex"
:flex-direction "column"
:justify-content "center"
:align-items "cent... |
[
{
"context": ";\n; Copyright 2021, 2022 Dmitrii Pisarenko\n;\n; Permission is hereby granted, free of charge,",
"end": 42,
"score": 0.9998501539230347,
"start": 25,
"tag": "NAME",
"value": "Dmitrii Pisarenko"
}
] | process-engine/src/main/resources/com/dpisarenko/common.clj | mentiflectax/minimal-crypto-exchange | 0 | ;
; Copyright 2021, 2022 Dmitrii Pisarenko
;
; Permission is hereby granted, free of charge, to any person obtaining a
; copy of this software and associated documentation
; files (the "Software"), to deal in the Software without restriction,
; including without limitation the rights to use, copy, modify, merge,
; publ... | 27149 | ;
; Copyright 2021, 2022 <NAME>
;
; Permission is hereby granted, free of charge, to any person obtaining a
; copy of this software and associated documentation
; files (the "Software"), to deal in the Software without restriction,
; including without limitation the rights to use, copy, modify, merge,
; publish, distri... | true | ;
; Copyright 2021, 2022 PI:NAME:<NAME>END_PI
;
; Permission is hereby granted, free of charge, to any person obtaining a
; copy of this software and associated documentation
; files (the "Software"), to deal in the Software without restriction,
; including without limitation the rights to use, copy, modify, merge,
; p... |
[
{
"context": " (env-str :pgdatabase))]\n [\"-U\" \"--username PGUSER\" \"Database User\"\n :default-fn (fn [_]\n ",
"end": 1265,
"score": 0.8978508710861206,
"start": 1259,
"tag": "USERNAME",
"value": "PGUSER"
},
{
"context": " (env-str :pguser))]\n [\"-P\... | src/clj/pgmig/main.clj | borkdude/pgmig | 82 | (ns pgmig.main
(:require [pgmig.migration :as migration]
[environ.core :as environ]
[mount.core :as mount]
[clojure.string :as str]
[clojure.tools.cli :as cli]
[taoensso.timbre :as log]
[pgmig.config :as config]
[clojure.java.io :as i... | 32877 | (ns pgmig.main
(:require [pgmig.migration :as migration]
[environ.core :as environ]
[mount.core :as mount]
[clojure.string :as str]
[clojure.tools.cli :as cli]
[taoensso.timbre :as log]
[pgmig.config :as config]
[clojure.java.io :as i... | true | (ns pgmig.main
(:require [pgmig.migration :as migration]
[environ.core :as environ]
[mount.core :as mount]
[clojure.string :as str]
[clojure.tools.cli :as cli]
[taoensso.timbre :as log]
[pgmig.config :as config]
[clojure.java.io :as i... |
[
{
"context": ";; Copyright (c) Jeffrey Straszheim. All rights reserved. The use and\n;; distributi",
"end": 36,
"score": 0.999872624874115,
"start": 18,
"tag": "NAME",
"value": "Jeffrey Straszheim"
},
{
"context": "ed])))))\n\n(deftest test-reverse-map\n (let [map {:fred 1 :sally... | ThirdParty/clojure-contrib-1.1.0/src/clojure/contrib/datalog/tests/test_util.clj | allertonm/Couverjure | 3 | ;; Copyright (c) Jeffrey Straszheim. 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... | 8695 | ;; 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": "fa-creative-commons-by\"}]]\n [:span \" David Schmudde 2020\"]]]\n [:div.tc.mt3\n ",
"end": 1464,
"score": 0.999865710735321,
"start": 1450,
"tag": "NAME",
"value": "David Schmudde"
},
{
"context": "k.dim\n {:href \"... | src/core.clj | schmudde/netart.today | 1 | (ns core
(:require [about :as about]
[hiccup.page :as page]
[clojure.edn :as edn]))
(def artworks (edn/read-string (slurp "resources/art.edn")))
(def metadata {:domain "netart.today"})
(def jodi "http://asdfg.jodi.org/-------------------------------/-------------------------------/-----------... | 5402 | (ns core
(:require [about :as about]
[hiccup.page :as page]
[clojure.edn :as edn]))
(def artworks (edn/read-string (slurp "resources/art.edn")))
(def metadata {:domain "netart.today"})
(def jodi "http://asdfg.jodi.org/-------------------------------/-------------------------------/-----------... | true | (ns core
(:require [about :as about]
[hiccup.page :as page]
[clojure.edn :as edn]))
(def artworks (edn/read-string (slurp "resources/art.edn")))
(def metadata {:domain "netart.today"})
(def jodi "http://asdfg.jodi.org/-------------------------------/-------------------------------/-----------... |
[
{
"context": " constants for dealing with secrets.\"\n {:author \"Isaak Uchakaev\"\n :last-update-date \"01-04-2021\"})\n\n(def digits",
"end": 116,
"score": 0.9998828768730164,
"start": 102,
"tag": "NAME",
"value": "Isaak Uchakaev"
}
] | src/secrets/constants.clj | lk-geimfari/secrets.clj | 66 | (ns secrets.constants
"This module contains useful constants for dealing with secrets."
{:author "Isaak Uchakaev"
:last-update-date "01-04-2021"})
(def digits "0123456789")
(def octdigits "01234567")
(def hexdigits (str digits "abcdef" "ABCDEF"))
(def ascii-lowercase "abcdefghijklmnopqrstuvwxyz")
(def ascii-upp... | 57203 | (ns secrets.constants
"This module contains useful constants for dealing with secrets."
{:author "<NAME>"
:last-update-date "01-04-2021"})
(def digits "0123456789")
(def octdigits "01234567")
(def hexdigits (str digits "abcdef" "ABCDEF"))
(def ascii-lowercase "abcdefghijklmnopqrstuvwxyz")
(def ascii-uppercase "... | true | (ns secrets.constants
"This module contains useful constants for dealing with secrets."
{:author "PI:NAME:<NAME>END_PI"
:last-update-date "01-04-2021"})
(def digits "0123456789")
(def octdigits "01234567")
(def hexdigits (str digits "abcdef" "ABCDEF"))
(def ascii-lowercase "abcdefghijklmnopqrstuvwxyz")
(def asc... |
[
{
"context": ";; Copyright 2014-2020 King\n;; Copyright 2009-2014 Ragnar Svensson, Christian Murray\n;; Licensed under the Defold Li",
"end": 111,
"score": 0.999798059463501,
"start": 96,
"tag": "NAME",
"value": "Ragnar Svensson"
},
{
"context": "-2020 King\n;; Copyright 2009-2014 Ra... | editor/test/internal/util_test.clj | cmarincia/defold | 0 | ;; Copyright 2020-2022 The Defold Foundation
;; Copyright 2014-2020 King
;; Copyright 2009-2014 Ragnar Svensson, Christian Murray
;; Licensed under the Defold License version 1.0 (the "License"); you may not use
;; this file except in compliance with the License.
;;
;; You may obtain a copy of the License, together wi... | 93733 | ;; 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": "4708-a51a-b3d403c491db\",\n \"actor\" {\"name\" \"Alice Faux\", \"mbox\" \"mailto:alice@example.org\"},\n \"ve",
"end": 1203,
"score": 0.9997813105583191,
"start": 1193,
"tag": "NAME",
"value": "Alice Faux"
},
{
"context": " \"actor\" {\"name\" \"Alice... | src/test/com/yetanalytics/datasim/xapi/profile/template/rule_test.clj | yetanalytics/datasim | 12 | (ns com.yetanalytics.datasim.xapi.profile.template.rule-test
(:require
[clojure.test :refer :all]
[com.yetanalytics.datasim.xapi.profile.template.rule
:refer [parse-rule apply-rules-gen follows-rule?] :as r]
[com.yetanalytics.datasim.input :as input]
[clojure.java.io :as io]
[cheshire.core :as json... | 16554 | (ns com.yetanalytics.datasim.xapi.profile.template.rule-test
(:require
[clojure.test :refer :all]
[com.yetanalytics.datasim.xapi.profile.template.rule
:refer [parse-rule apply-rules-gen follows-rule?] :as r]
[com.yetanalytics.datasim.input :as input]
[clojure.java.io :as io]
[cheshire.core :as json... | true | (ns com.yetanalytics.datasim.xapi.profile.template.rule-test
(:require
[clojure.test :refer :all]
[com.yetanalytics.datasim.xapi.profile.template.rule
:refer [parse-rule apply-rules-gen follows-rule?] :as r]
[com.yetanalytics.datasim.input :as input]
[clojure.java.io :as io]
[cheshire.core :as json... |
[
{
"context": "tion-link id))]\n (send-message conn {:from \"mobile@boundlessgeo.com\"\n :to (str recipient)",
"end": 2160,
"score": 0.9999203085899353,
"start": 2137,
"tag": "EMAIL",
"value": "mobile@boundlessgeo.com"
}
] | server/src/spacon/components/notification/core.clj | martinwilkerson-scisys/spatialconnect-server | 1 | ;; Copyright 2016-2017 Boundless, http://boundlessgeo.com
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applica... | 94464 | ;; Copyright 2016-2017 Boundless, http://boundlessgeo.com
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applica... | true | ;; Copyright 2016-2017 Boundless, http://boundlessgeo.com
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applica... |
[
{
"context": "w-password)\n (check-password re-new-password)\n\n (check-new-passwords-mat",
"end": 5833,
"score": 0.762820839881897,
"start": 5818,
"tag": "PASSWORD",
"value": "re-new-password"
},
{
"context": "4)))\n\n(defn get-auth-user\n... | src/clj/controller/user.clj | wuleicanada/ClojureNews | 254 | (ns clj.controller.user
(:require [liberator.core :refer [resource defresource]]
[clj.util.resource :as resource-util]
[clj.dao.user :as user-dao]
[cljc.validation :as validation]
[cljc.string-util :as string-util]
[pandect.algo.sha256 :as hash]
... | 11770 | (ns clj.controller.user
(:require [liberator.core :refer [resource defresource]]
[clj.util.resource :as resource-util]
[clj.dao.user :as user-dao]
[cljc.validation :as validation]
[cljc.string-util :as string-util]
[pandect.algo.sha256 :as hash]
... | true | (ns clj.controller.user
(:require [liberator.core :refer [resource defresource]]
[clj.util.resource :as resource-util]
[clj.dao.user :as user-dao]
[cljc.validation :as validation]
[cljc.string-util :as string-util]
[pandect.algo.sha256 :as hash]
... |
[
{
"context": ";\n; Copyright © 2021 Peter Monks\n;\n; Licensed under the Apache License, Version 2.",
"end": 32,
"score": 0.9995545744895935,
"start": 21,
"tag": "NAME",
"value": "Peter Monks"
}
] | src/futbot/videos.clj | pmonks/futbot | 3 | ;
; Copyright © 2021 Peter Monks
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writi... | 50765 | ;
; Copyright © 2021 <NAME>
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writing, s... | true | ;
; Copyright © 2021 PI:NAME:<NAME>END_PI
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to... |
[
{
"context": "db-test-env-var :mysql :password)]\n {:password password})\n (when (= context :db)\n {:db database-nam",
"end": 2218,
"score": 0.9990493655204773,
"start": 2210,
"tag": "PASSWORD",
"value": "password"
}
] | c#-metabase/test/metabase/test/data/mysql.clj | hanakhry/Crime_Admin | 0 | (ns metabase.test.data.mysql
"Code for creating / destroying a MySQL database from a `DatabaseDefinition`."
(:require [metabase.test.data.interface :as tx]
[metabase.test.data.sql :as sql.tx]
[metabase.test.data.sql-jdbc :as sql-jdbc.tx]
[metabase.test.data.sql-jdbc.execute :as e... | 42764 | (ns metabase.test.data.mysql
"Code for creating / destroying a MySQL database from a `DatabaseDefinition`."
(:require [metabase.test.data.interface :as tx]
[metabase.test.data.sql :as sql.tx]
[metabase.test.data.sql-jdbc :as sql-jdbc.tx]
[metabase.test.data.sql-jdbc.execute :as e... | true | (ns metabase.test.data.mysql
"Code for creating / destroying a MySQL database from a `DatabaseDefinition`."
(:require [metabase.test.data.interface :as tx]
[metabase.test.data.sql :as sql.tx]
[metabase.test.data.sql-jdbc :as sql-jdbc.tx]
[metabase.test.data.sql-jdbc.execute :as e... |
[
{
"context": " [{:keys [winners]}]\n [:section.winners\n [:h2 \"dzisiejsi zwycięzcy\"]\n (if (seq winners)\n [:ul\n (for [{:ke",
"end": 1859,
"score": 0.9484973549842834,
"start": 1840,
"tag": "NAME",
"value": "dzisiejsi zwycięzcy"
},
{
"context": "asteczek.\"]\n [:... | src/koronalotek/handler.clj | nathell/koronalotek | 2 | (ns koronalotek.handler
(:require [clojure.string :as string]
[hiccup2.core :refer [html]]
[koronalotek.state :refer [state]]
[koronalotek.time :as time]
[ring.middleware.content-type :refer [wrap-content-type]]
[ring.middleware.params :refer [wrap-params]]
... | 559 | (ns koronalotek.handler
(:require [clojure.string :as string]
[hiccup2.core :refer [html]]
[koronalotek.state :refer [state]]
[koronalotek.time :as time]
[ring.middleware.content-type :refer [wrap-content-type]]
[ring.middleware.params :refer [wrap-params]]
... | true | (ns koronalotek.handler
(:require [clojure.string :as string]
[hiccup2.core :refer [html]]
[koronalotek.state :refer [state]]
[koronalotek.time :as time]
[ring.middleware.content-type :refer [wrap-content-type]]
[ring.middleware.params :refer [wrap-params]]
... |
[
{
"context": "et \"list\"))\n\n(generate-string {:friends {:friend \"nico\" :age 15}})\n\n(parse-smile\n (generate-smile {:foo ",
"end": 281,
"score": 0.7809801697731018,
"start": 277,
"tag": "NAME",
"value": "nico"
},
{
"context": "(parse-smile\n (generate-smile {:friends {:friend \... | Chapter 04 Code/code-niko/src/chapter04/somejson.clj | PacktPublishing/Clojure-Programming-Cookbook | 14 | (require '[cheshire.core :refer :all])
(def url
"http://api.openweathermap.org/data/2.5/box/city?bbox=12,32,15,37,10&cluster=yes&appid=2de143494c0b295cca9337e1e96b00e0")
(def slurped
(slurp url))
(-> slurped
parse-string
(get "list"))
(generate-string {:friends {:friend "nico" :age 15}})
(parse-smile
(generate-s... | 10234 | (require '[cheshire.core :refer :all])
(def url
"http://api.openweathermap.org/data/2.5/box/city?bbox=12,32,15,37,10&cluster=yes&appid=2de143494c0b295cca9337e1e96b00e0")
(def slurped
(slurp url))
(-> slurped
parse-string
(get "list"))
(generate-string {:friends {:friend "<NAME>" :age 15}})
(parse-smile
(generate... | true | (require '[cheshire.core :refer :all])
(def url
"http://api.openweathermap.org/data/2.5/box/city?bbox=12,32,15,37,10&cluster=yes&appid=2de143494c0b295cca9337e1e96b00e0")
(def slurped
(slurp url))
(-> slurped
parse-string
(get "list"))
(generate-string {:friends {:friend "PI:NAME:<NAME>END_PI" :age 15}})
(parse-sm... |
[
{
"context": "@verify\n [:> js/ReactRecaptcha {:sitekey \"6Lcmw00UAAAAAOOKJDoeVNEsVuJFJ6ka3dSbGaIV\"\n :verifyCallback ",
"end": 8584,
"score": 0.9996752738952637,
"start": 8544,
"tag": "KEY",
"value": "6Lcmw00UAAAAAOOKJDoeVNEsVuJFJ6ka3dSbGaIV"
}
] | web-app/src/payme/core.cljs | Atul9/payme | 11 | (ns payme.core
(:require [reagent.core :as reagent :refer [atom cursor]]
[cljs.core.async :refer [go <! timeout]]
[cljs-http.client :as http]
[clojure.string :as s]
[cljsjs.react-recaptcha]
[reagent.cookies :as cookies]
[goog.crypt.base64 :as b64... | 87545 | (ns payme.core
(:require [reagent.core :as reagent :refer [atom cursor]]
[cljs.core.async :refer [go <! timeout]]
[cljs-http.client :as http]
[clojure.string :as s]
[cljsjs.react-recaptcha]
[reagent.cookies :as cookies]
[goog.crypt.base64 :as b64... | true | (ns payme.core
(:require [reagent.core :as reagent :refer [atom cursor]]
[cljs.core.async :refer [go <! timeout]]
[cljs-http.client :as http]
[clojure.string :as s]
[cljsjs.react-recaptcha]
[reagent.cookies :as cookies]
[goog.crypt.base64 :as b64... |
[
{
"context": "go crazy when I hear a cymbal\")\n\n(def cipher-key \"ICE\")\n\n(def ciphertext (apply str (u/hexstr->str \"0b3",
"end": 260,
"score": 0.9866009950637817,
"start": 257,
"tag": "KEY",
"value": "ICE"
},
{
"context": "ICE\")\n\n(def ciphertext (apply str (u/hexstr->str \"0... | test/set1/repeating_xor_test.clj | milapsheth/Crypto-Challenges | 3 | (ns set1.repeating-xor-test
(:require [clojure.test :refer :all]
[set1.repeating-xor :refer :all]
[util.tools :as u]))
(def plaintext "Burning 'em, if you ain't quick and nimble
I go crazy when I hear a cymbal")
(def cipher-key "ICE")
(def ciphertext (apply str (u/hexstr->str "0b3637272a2b2... | 34096 | (ns set1.repeating-xor-test
(:require [clojure.test :refer :all]
[set1.repeating-xor :refer :all]
[util.tools :as u]))
(def plaintext "Burning 'em, if you ain't quick and nimble
I go crazy when I hear a cymbal")
(def cipher-key "<KEY>")
(def ciphertext (apply str (u/hexstr->str "<KEY>")))
... | true | (ns set1.repeating-xor-test
(:require [clojure.test :refer :all]
[set1.repeating-xor :refer :all]
[util.tools :as u]))
(def plaintext "Burning 'em, if you ain't quick and nimble
I go crazy when I hear a cymbal")
(def cipher-key "PI:KEY:<KEY>END_PI")
(def ciphertext (apply str (u/hexstr->str... |
[
{
"context": "ith-hystrix {:group-key \"bar\"\n :com",
"end": 3418,
"score": 0.5654412508010864,
"start": 3415,
"tag": "KEY",
"value": "bar"
},
{
"context": " :command-key \"bar\"\n... | test/bulwark/core_test.clj | gojektech/bulwark | 11 | (ns bulwark.core-test
(:require [clojure.test :refer :all]
[bulwark.core :as bulwark]
[clojure.stacktrace :as stacktrace])
(:import (com.netflix.hystrix.exception HystrixRuntimeException)
(org.slf4j MDC)))
(defmacro catch-and-return
[& body]
`(try
~@body
(catch Exce... | 121386 | (ns bulwark.core-test
(:require [clojure.test :refer :all]
[bulwark.core :as bulwark]
[clojure.stacktrace :as stacktrace])
(:import (com.netflix.hystrix.exception HystrixRuntimeException)
(org.slf4j MDC)))
(defmacro catch-and-return
[& body]
`(try
~@body
(catch Exce... | true | (ns bulwark.core-test
(:require [clojure.test :refer :all]
[bulwark.core :as bulwark]
[clojure.stacktrace :as stacktrace])
(:import (com.netflix.hystrix.exception HystrixRuntimeException)
(org.slf4j MDC)))
(defmacro catch-and-return
[& body]
`(try
~@body
(catch Exce... |
[
{
"context": " (testing \"stealth\"\n (is (= {:docs [{:author \"juxt\"}\n {:author \"renewdoit\"}]}\n ",
"end": 2765,
"score": 0.8582171201705933,
"start": 2762,
"tag": "USERNAME",
"value": "uxt"
},
{
"context": "cs [{:author \"juxt\"}\n {:au... | test/juxt/pull/core_test.clj | juxt/pull | 94 | ;; Copyright © 2016, JUXT LTD.
(ns juxt.pull.core-test
(:require
[clojure.test :refer :all]
[juxt.pull.core :refer :all]
[juxt.pull.spec]
[orchestra.spec.test :as stest]))
(use-fixtures :once (fn [f] (stest/instrument) (f) (stest/unstrument)))
(deftest pull-test
(let [data {:name "pull"
... | 52630 | ;; Copyright © 2016, JUXT LTD.
(ns juxt.pull.core-test
(:require
[clojure.test :refer :all]
[juxt.pull.core :refer :all]
[juxt.pull.spec]
[orchestra.spec.test :as stest]))
(use-fixtures :once (fn [f] (stest/instrument) (f) (stest/unstrument)))
(deftest pull-test
(let [data {:name "pull"
... | true | ;; Copyright © 2016, JUXT LTD.
(ns juxt.pull.core-test
(:require
[clojure.test :refer :all]
[juxt.pull.core :refer :all]
[juxt.pull.spec]
[orchestra.spec.test :as stest]))
(use-fixtures :once (fn [f] (stest/instrument) (f) (stest/unstrument)))
(deftest pull-test
(let [data {:name "pull"
... |
[
{
"context": "n-reflection* true)\n\n\n; sente https://github.com/ptaoussanis/sente/blob/master/example-project/src/example/ser",
"end": 989,
"score": 0.9996048808097839,
"start": 978,
"tag": "USERNAME",
"value": "ptaoussanis"
},
{
"context": "servers (:servers state)})\n\n\n; https... | graal/clj/skylobby/server_stub.clj | badosu/skylobby | 7 | (ns skylobby.server-stub
(:require
[clojure.edn :as edn]
[clojure.java.io :as io]
[clojure.spec.alpha :as s]
[hiccup.core :as hiccup]
[muuntaja.core :as m]
org.httpkit.server
[reitit.ring :as ring]
reitit.coercion.spec
[reitit.ring.coercion :as rrc]
[reitit.ring.middleware.exce... | 98299 | (ns skylobby.server-stub
(:require
[clojure.edn :as edn]
[clojure.java.io :as io]
[clojure.spec.alpha :as s]
[hiccup.core :as hiccup]
[muuntaja.core :as m]
org.httpkit.server
[reitit.ring :as ring]
reitit.coercion.spec
[reitit.ring.coercion :as rrc]
[reitit.ring.middleware.exce... | true | (ns skylobby.server-stub
(:require
[clojure.edn :as edn]
[clojure.java.io :as io]
[clojure.spec.alpha :as s]
[hiccup.core :as hiccup]
[muuntaja.core :as m]
org.httpkit.server
[reitit.ring :as ring]
reitit.coercion.spec
[reitit.ring.coercion :as rrc]
[reitit.ring.middleware.exce... |
[
{
"context": "n other languages.\n;;\n;; Examples:\n\n(def my-name \"Chris Oakman\")\n(def your-name \"Jimmy Jimbob\")\n(def num-cookies",
"end": 363,
"score": 0.9998858571052551,
"start": 351,
"tag": "NAME",
"value": "Chris Oakman"
},
{
"context": "es:\n\n(def my-name \"Chris Oakman... | src-cljs/cljs101/exercises/ex101_def_forms.cljs | oakmac/cljs101 | 3 | (ns cljs101.exercises.ex101-def-forms)
(declare my-name your-name my-job my-age your-age)
;;
;; Hello and welcome to the wonderful world of ClojureScript!
;;
;; The most basic of Clojure "forms" are the def forms; def is short for "define"
;; These are similar to const in JavaScript and variables in other languages.
... | 45359 | (ns cljs101.exercises.ex101-def-forms)
(declare my-name your-name my-job my-age your-age)
;;
;; Hello and welcome to the wonderful world of ClojureScript!
;;
;; The most basic of Clojure "forms" are the def forms; def is short for "define"
;; These are similar to const in JavaScript and variables in other languages.
... | true | (ns cljs101.exercises.ex101-def-forms)
(declare my-name your-name my-job my-age your-age)
;;
;; Hello and welcome to the wonderful world of ClojureScript!
;;
;; The most basic of Clojure "forms" are the def forms; def is short for "define"
;; These are similar to const in JavaScript and variables in other languages.
... |
[
{
"context": "dbc/db-set-rollback-only! t-con)\n (let [name \"Sam\"\n _ (db/create-user! t-con {:id name",
"end": 952,
"score": 0.5967755913734436,
"start": 949,
"tag": "NAME",
"value": "Sam"
},
{
"context": " _ (db/create-user! t-con {:id name, :pass \"somepat... | test/clj/plus_minus/test/multiplayer/persist.clj | Liverm0r/plusminus.me | 3 | (ns plus-minus.test.multiplayer.persist
(:require
[plus-minus.db.core :as db]
[luminus-migrations.core :as migrations]
[clojure.test :refer [use-fixtures deftest is testing]]
[clojure.java.jdbc :as jdbc]
[clojure.core.async :refer [>!!]]
[plus-minus.config :refer [env]]
[plus-minus.multiplayer.co... | 20891 | (ns plus-minus.test.multiplayer.persist
(:require
[plus-minus.db.core :as db]
[luminus-migrations.core :as migrations]
[clojure.test :refer [use-fixtures deftest is testing]]
[clojure.java.jdbc :as jdbc]
[clojure.core.async :refer [>!!]]
[plus-minus.config :refer [env]]
[plus-minus.multiplayer.co... | true | (ns plus-minus.test.multiplayer.persist
(:require
[plus-minus.db.core :as db]
[luminus-migrations.core :as migrations]
[clojure.test :refer [use-fixtures deftest is testing]]
[clojure.java.jdbc :as jdbc]
[clojure.core.async :refer [>!!]]
[plus-minus.config :refer [env]]
[plus-minus.multiplayer.co... |
[
{
"context": "showing\" filter. Just the todos.\n;;\n\n(def ls-key \"clchess\") ;; localstore key\n\n(defn themes->local-stor",
"end": 2377,
"score": 0.998626708984375,
"start": 2370,
"tag": "KEY",
"value": "clchess"
}
] | src/cljs/clchess/db.cljs | ageneau/clchess | 6 | (ns clchess.db
(:require [cljs.reader]
[cljs.spec :as s]
[clchess.specs.clchess :as app-spec]
[clchess.specs.chess :as schess]
[clchess.specs.theme :as stheme]
[clchess.specs.chessdb :as schessdb]
[clchess.specs.view :as sview]
[clche... | 112707 | (ns clchess.db
(:require [cljs.reader]
[cljs.spec :as s]
[clchess.specs.clchess :as app-spec]
[clchess.specs.chess :as schess]
[clchess.specs.theme :as stheme]
[clchess.specs.chessdb :as schessdb]
[clchess.specs.view :as sview]
[clche... | true | (ns clchess.db
(:require [cljs.reader]
[cljs.spec :as s]
[clchess.specs.clchess :as app-spec]
[clchess.specs.chess :as schess]
[clchess.specs.theme :as stheme]
[clchess.specs.chessdb :as schessdb]
[clchess.specs.view :as sview]
[clche... |
[
{
"context": "tp://overtone.github.io/\"\n :mailing-list {:name \"overtone\"\n :archive \"https://groups.google",
"end": 2396,
"score": 0.7247207164764404,
"start": 2388,
"tag": "USERNAME",
"value": "overtone"
},
{
"context": " :archive \"https://groups.google.com... | project.clj | jamesblunt/overtone | 1 | (require 'leiningen.core.eval)
(def JVMOPTS
"Per os jvm options. Options common to all cases go under
`:any`. Options specific to one OS go under the key returned by
`leiningen.core.eval/get-os` for that system. Temporarily disabled
options can be kept under `:disabled`."
{:any
["-Xms512m" "-Xmx1g" ... | 32566 | (require 'leiningen.core.eval)
(def JVMOPTS
"Per os jvm options. Options common to all cases go under
`:any`. Options specific to one OS go under the key returned by
`leiningen.core.eval/get-os` for that system. Temporarily disabled
options can be kept under `:disabled`."
{:any
["-Xms512m" "-Xmx1g" ... | true | (require 'leiningen.core.eval)
(def JVMOPTS
"Per os jvm options. Options common to all cases go under
`:any`. Options specific to one OS go under the key returned by
`leiningen.core.eval/get-os` for that system. Temporarily disabled
options can be kept under `:disabled`."
{:any
["-Xms512m" "-Xmx1g" ... |
[
{
"context": "id 1\n :person/name \"Joe\"\n :person/age 20\n ",
"end": 951,
"score": 0.9998050332069397,
"start": 948,
"tag": "NAME",
"value": "Joe"
},
{
"context": " :person/name \"Sally\... | src/book/book/queries/recursive_demo_2.cljs | eihli/fulcro-developer-guide | 0 | (ns book.queries.recursive-demo-2
(:require [com.fulcrologic.fulcro.components :as comp :refer [defsc]]
[com.fulcrologic.fulcro.mutations :refer [defmutation]]
[com.fulcrologic.fulcro.dom :as dom]))
(declare ui-person)
(defmutation make-older [{:keys [id]}]
(action [{:keys [state]}]
(s... | 90012 | (ns book.queries.recursive-demo-2
(:require [com.fulcrologic.fulcro.components :as comp :refer [defsc]]
[com.fulcrologic.fulcro.mutations :refer [defmutation]]
[com.fulcrologic.fulcro.dom :as dom]))
(declare ui-person)
(defmutation make-older [{:keys [id]}]
(action [{:keys [state]}]
(s... | true | (ns book.queries.recursive-demo-2
(:require [com.fulcrologic.fulcro.components :as comp :refer [defsc]]
[com.fulcrologic.fulcro.mutations :refer [defmutation]]
[com.fulcrologic.fulcro.dom :as dom]))
(declare ui-person)
(defmutation make-older [{:keys [id]}]
(action [{:keys [state]}]
(s... |
[
{
"context": "efn auth? [username password]\n (and (= username \"admin\")\n (= password \"pass\")\n {:user userna",
"end": 7194,
"score": 0.9993541836738586,
"start": 7189,
"tag": "USERNAME",
"value": "admin"
},
{
"context": "]\n (and (= username \"admin\")\n (= p... | src/report/core.clj | YannMjl/web-server-clojure | 0 | (ns report.core
(:use [clojure.set]
[clojure.java.io]
[ring.middleware.json]
[compojure.core :refer :all]
[ring.middleware.token-authentication])
(:require [clojure.java.io]
[clojure.data.csv]
[cheshire.core :refer :all]
[compojure.core :refer :a... | 96899 | (ns report.core
(:use [clojure.set]
[clojure.java.io]
[ring.middleware.json]
[compojure.core :refer :all]
[ring.middleware.token-authentication])
(:require [clojure.java.io]
[clojure.data.csv]
[cheshire.core :refer :all]
[compojure.core :refer :a... | true | (ns report.core
(:use [clojure.set]
[clojure.java.io]
[ring.middleware.json]
[compojure.core :refer :all]
[ring.middleware.token-authentication])
(:require [clojure.java.io]
[clojure.data.csv]
[cheshire.core :refer :all]
[compojure.core :refer :a... |
[
{
"context": "nt {:db con}\n {:name \"some author\"\n :text \"some text\"\n",
"end": 2299,
"score": 0.6338924169540405,
"start": 2288,
"tag": "USERNAME",
"value": "some author"
},
{
"context": " (are [k v] (= (k c) v)\n ... | data/test/clojure/b121c8fdc1e9a82fc6ee4de354fa34c06a1f283acomment_sql_datastore_impl_test.clj | harshp8l/deep-learning-lang-detection | 84 | (ns blog.comment.comment-sql-datastore-impl-test
(:require [clojure.test :refer :all]
[blog.comment.comment-sql-datastore-impl :refer :all]
[clojure.java.jdbc :as jdbc]))
; test functions that operate on the database
(deftest database-operations
(let [db-spec {:subprotocol "hsqldb"
... | 121639 | (ns blog.comment.comment-sql-datastore-impl-test
(:require [clojure.test :refer :all]
[blog.comment.comment-sql-datastore-impl :refer :all]
[clojure.java.jdbc :as jdbc]))
; test functions that operate on the database
(deftest database-operations
(let [db-spec {:subprotocol "hsqldb"
... | true | (ns blog.comment.comment-sql-datastore-impl-test
(:require [clojure.test :refer :all]
[blog.comment.comment-sql-datastore-impl :refer :all]
[clojure.java.jdbc :as jdbc]))
; test functions that operate on the database
(deftest database-operations
(let [db-spec {:subprotocol "hsqldb"
... |
[
{
"context": "hange communication\n;;;;\n;;;; @copyright 2017-2020 Dennis Drown et l'Université du Québec à Montréal\n;;;; -------",
"end": 429,
"score": 0.9998820424079895,
"start": 417,
"tag": "NAME",
"value": "Dennis Drown"
}
] | apps/say_sila/priv/fnode/say/src/weka/core.clj | dendrown/say_sila | 0 | ;;;; -------------------------------------------------------------------------
;;;;
;;;; _/_/_/ _/_/_/ _/ _/_/
;;;; _/ _/ _/ _/ _/
;;;; _/_/ _/ _/ _/_/_/_/
;;;; _/ _/ _/ _/ _/
;;;; _/_/_/ _/_/_/ _/_/_/_/ _/ _/
;;;;
;;;; Emo... | 33572 | ;;;; -------------------------------------------------------------------------
;;;;
;;;; _/_/_/ _/_/_/ _/ _/_/
;;;; _/ _/ _/ _/ _/
;;;; _/_/ _/ _/ _/_/_/_/
;;;; _/ _/ _/ _/ _/
;;;; _/_/_/ _/_/_/ _/_/_/_/ _/ _/
;;;;
;;;; Emo... | true | ;;;; -------------------------------------------------------------------------
;;;;
;;;; _/_/_/ _/_/_/ _/ _/_/
;;;; _/ _/ _/ _/ _/
;;;; _/_/ _/ _/ _/_/_/_/
;;;; _/ _/ _/ _/ _/
;;;; _/_/_/ _/_/_/ _/_/_/_/ _/ _/
;;;;
;;;; Emo... |
[
{
"context": "DO NOT MODIFY ;;\n\n\n(def pokemon-results\n (->> [[\"eevee\" 133] [\"vaporeon\" 134] [\"jolteon\" 135] [\"flare",
"end": 285,
"score": 0.4846384525299072,
"start": 283,
"tag": "NAME",
"value": "ee"
},
{
"context": "-results\n (->> [[\"eevee\" 133] [\"vaporeon\" 134] ... | t/pokegen/api_test.clj | Frosku/pokegen | 1 | (ns pokegen.api-test
(:require [clojure.test :refer :all]
[pokegen.api :refer :all]
[cheshire.core :as json]
[clj-http.fake :refer :all]))
;; DATA DEFINITIONS FOR TESTING FAKE HTTP ROUTES, DO NOT MODIFY ;;
(def pokemon-results
(->> [["eevee" 133] ["vaporeon" 134] ["jolteo... | 32162 | (ns pokegen.api-test
(:require [clojure.test :refer :all]
[pokegen.api :refer :all]
[cheshire.core :as json]
[clj-http.fake :refer :all]))
;; DATA DEFINITIONS FOR TESTING FAKE HTTP ROUTES, DO NOT MODIFY ;;
(def pokemon-results
(->> [["<NAME>vee" 133] ["vaporeon" 134] ["<N... | true | (ns pokegen.api-test
(:require [clojure.test :refer :all]
[pokegen.api :refer :all]
[cheshire.core :as json]
[clj-http.fake :refer :all]))
;; DATA DEFINITIONS FOR TESTING FAKE HTTP ROUTES, DO NOT MODIFY ;;
(def pokemon-results
(->> [["PI:NAME:<NAME>END_PIvee" 133] ["vapor... |
[
{
"context": "; Copyright (C) 2008 - 2011 Stefan Marr <mail@stefan-marr.de>\n; \n; Permission is hereby g",
"end": 39,
"score": 0.9998845458030701,
"start": 28,
"tag": "NAME",
"value": "Stefan Marr"
},
{
"context": "; Copyright (C) 2008 - 2011 Stefan Marr <mail@stefan-marr.de>\n; \n;... | Clojure/src/snake/player.clj | smarr/Snake | 4 | ; Copyright (C) 2008 - 2011 Stefan Marr <mail@stefan-marr.de>
;
; Permission is hereby granted, free of charge, to any person obtaining a copy
; of this software and associated documentation files (the "Software"), to
; deal in the Software without restriction, including without limitation the
; rights to use, copy, m... | 79707 | ; Copyright (C) 2008 - 2011 <NAME> <<EMAIL>>
;
; Permission is hereby granted, free of charge, to any person obtaining a copy
; of this software and associated documentation files (the "Software"), to
; deal in the Software without restriction, including without limitation the
; rights to use, copy, modify, merge, pub... | true | ; Copyright (C) 2008 - 2011 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>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 ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.