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": "(ns qrays.qrays)\n\"\"\"\n(cl) K. Urner, MIT License 2015\nPython -> Java -> Clojure curri",
"end": 34,
"score": 0.9998885989189148,
"start": 26,
"tag": "NAME",
"value": "K. Urner"
},
{
"context": "ipedia.org/wiki/Quadray_coordinates\nwith thanks to Mark Engelberg for h... | qrays.clj | 4dsolutions/synmods | 0 | (ns qrays.qrays)
"""
(cl) K. Urner, MIT License 2015
Python -> Java -> Clojure curriculum
Topic: Martian Math
http://wikieducator.org/Martian_Math
http://www.grunch.net/synergetics/quadintro.html
https://en.wikipedia.org/wiki/Quadray_coordinates
with thanks to Mark Engelberg for helping a beginner
"""
(defprotocol V... | 28 | (ns qrays.qrays)
"""
(cl) <NAME>, MIT License 2015
Python -> Java -> Clojure curriculum
Topic: Martian Math
http://wikieducator.org/Martian_Math
http://www.grunch.net/synergetics/quadintro.html
https://en.wikipedia.org/wiki/Quadray_coordinates
with thanks to <NAME> for helping a beginner
"""
(defprotocol VectorOps
... | true | (ns qrays.qrays)
"""
(cl) PI:NAME:<NAME>END_PI, MIT License 2015
Python -> Java -> Clojure curriculum
Topic: Martian Math
http://wikieducator.org/Martian_Math
http://www.grunch.net/synergetics/quadintro.html
https://en.wikipedia.org/wiki/Quadray_coordinates
with thanks to PI:NAME:<NAME>END_PI for helping a beginner
"... |
[
{
"context": "as dailycred]))\n\n(defn valid? [email username pass pass1]\n (vali/rule (vali/has-value? email)\n ",
"end": 300,
"score": 0.7049291729927063,
"start": 295,
"tag": "PASSWORD",
"value": "pass1"
},
{
"context": "egistration.html\"\n {:email email\n :user... | src/leiningen/new/luminus/dailycred/auth.clj | magomimmo/luminus-template | 1 | (ns {{name}}.routes.auth
(:use compojure.core)
(:require [{{name}}.views.layout :as layout]
[noir.session :as session]
[noir.response :as resp]
[noir.validation :as vali]
[{{name}}.dailycred :as dailycred]))
(defn valid? [email username pass pass1]
(vali/rule (vali... | 97350 | (ns {{name}}.routes.auth
(:use compojure.core)
(:require [{{name}}.views.layout :as layout]
[noir.session :as session]
[noir.response :as resp]
[noir.validation :as vali]
[{{name}}.dailycred :as dailycred]))
(defn valid? [email username pass <PASSWORD>]
(vali/rule ... | true | (ns {{name}}.routes.auth
(:use compojure.core)
(:require [{{name}}.views.layout :as layout]
[noir.session :as session]
[noir.response :as resp]
[noir.validation :as vali]
[{{name}}.dailycred :as dailycred]))
(defn valid? [email username pass PI:PASSWORD:<PASSWORD>END... |
[
{
"context": ")\n\n;; This is how you 'instantiate' it\n(->Person \"foo bar\" \"foobar@foobar.com\" \"100 Mission St, San Fracisc",
"end": 631,
"score": 0.8287553787231445,
"start": 624,
"tag": "NAME",
"value": "foo bar"
},
{
"context": " is how you 'instantiate' it\n(->Person \"foo ... | src/data/records.cljc | priyatam/thinking-clojurescript | 4 | (ns data.records)
;; Cljc doesn't support traditional OOP programming; however at its
;; heart, OO foundations exist: Interfaces, Polymorphism, and light-weight 'records'
;; for holding data together. Once you grasp these basics, you'll notice that
;; they play well with the standard built-in functions and sequences, ... | 107636 | (ns data.records)
;; Cljc doesn't support traditional OOP programming; however at its
;; heart, OO foundations exist: Interfaces, Polymorphism, and light-weight 'records'
;; for holding data together. Once you grasp these basics, you'll notice that
;; they play well with the standard built-in functions and sequences, ... | true | (ns data.records)
;; Cljc doesn't support traditional OOP programming; however at its
;; heart, OO foundations exist: Interfaces, Polymorphism, and light-weight 'records'
;; for holding data together. Once you grasp these basics, you'll notice that
;; they play well with the standard built-in functions and sequences, ... |
[
{
"context": "arent])\n\n\n(deftest basics\n (let [alice (Author. \"Alice\")\n bob (Author. \"Bob\")\n charlie (Au",
"end": 609,
"score": 0.9997721314430237,
"start": 604,
"tag": "NAME",
"value": "Alice"
},
{
"context": "et [alice (Author. \"Alice\")\n bob (Auth... | test/test/appengine_magic/services/datastore.clj | jonromero/appengine-magic | 1 | (ns test.appengine-magic.services.datastore
(:use clojure.test)
(:require [appengine-magic.services.datastore :as ds]
[appengine-magic.testing :as ae-testing])
(:import com.google.appengine.api.datastore.KeyFactory))
(use-fixtures :each (ae-testing/local-services :all))
(ds/defentity Author [^:key... | 115846 | (ns test.appengine-magic.services.datastore
(:use clojure.test)
(:require [appengine-magic.services.datastore :as ds]
[appengine-magic.testing :as ae-testing])
(:import com.google.appengine.api.datastore.KeyFactory))
(use-fixtures :each (ae-testing/local-services :all))
(ds/defentity Author [^:key... | true | (ns test.appengine-magic.services.datastore
(:use clojure.test)
(:require [appengine-magic.services.datastore :as ds]
[appengine-magic.testing :as ae-testing])
(:import com.google.appengine.api.datastore.KeyFactory))
(use-fixtures :each (ae-testing/local-services :all))
(ds/defentity Author [^:key... |
[
{
"context": ";\n; Copyright © 2020 Peter Monks\n;\n; Licensed under the Apache License, Version 2.",
"end": 32,
"score": 0.9995467066764832,
"start": 21,
"tag": "NAME",
"value": "Peter Monks"
},
{
"context": "lit reader macro to aero - see https://github.com/juxt/aero/issues/55\n(de... | src/futbot/config.clj | pmonks/futbot | 3 | ;
; Copyright © 2020 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... | 43903 | ;
; Copyright © 2020 <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 © 2020 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": "llegal dispatch values cause errors.\"\n :author \"palisades dot lakes at gmail dot com\"\n :since \"2017-10-06\"\n :version \"2017-10-06\"}",
"end": 295,
"score": 0.9665802121162415,
"start": 259,
"tag": "EMAIL",
"value": "palisades dot lakes at gmail dot com"
}
] | src/test/clojure/palisades/lakes/multimethods/test/illegal.clj | palisades-lakes/faster-multimethods | 13 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns palisades.lakes.multimethods.test.illegal
{:doc "check that illegal dispatch values cause errors."
:author "palisades dot lakes at gmail dot com"
:since "2017-10-06"
... | 57370 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns palisades.lakes.multimethods.test.illegal
{:doc "check that illegal dispatch values cause errors."
:author "<EMAIL>"
:since "2017-10-06"
:version "2017-10-06"}
(... | true | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns palisades.lakes.multimethods.test.illegal
{:doc "check that illegal dispatch values cause errors."
:author "PI:EMAIL:<EMAIL>END_PI"
:since "2017-10-06"
:version "2... |
[
{
"context": "arams {:email email\n :password password}\n :handler (fn [data]\n (co",
"end": 4763,
"score": 0.9986743927001953,
"start": 4755,
"tag": "PASSWORD",
"value": "password"
},
{
"context": " schemas/LoginUser {:email @email-atom :pa... | src/cljs/salava/user/ui/login.cljs | Vilikkki/salava | 0 | (ns salava.user.ui.login
(:require [reagent.core :refer [atom cursor]]
[reagent.session :as session]
[reagent-modals.modals :as m]
[clojure.string :as string]
[salava.core.helper :as h]
[salava.core.ui.ajax-utils :as ajax]
[salava.user.ui.input :... | 107274 | (ns salava.user.ui.login
(:require [reagent.core :refer [atom cursor]]
[reagent.session :as session]
[reagent-modals.modals :as m]
[clojure.string :as string]
[salava.core.helper :as h]
[salava.core.ui.ajax-utils :as ajax]
[salava.user.ui.input :... | true | (ns salava.user.ui.login
(:require [reagent.core :refer [atom cursor]]
[reagent.session :as session]
[reagent-modals.modals :as m]
[clojure.string :as string]
[salava.core.helper :as h]
[salava.core.ui.ajax-utils :as ajax]
[salava.user.ui.input :... |
[
{
"context": "dc-please-work:8443\"\n :user \"foo-user\"\n :password \"foo-password\"\n ",
"end": 1266,
"score": 0.998995840549469,
"start": 1258,
"tag": "USERNAME",
"value": "foo-user"
},
{
"context": ":user \"foo-user\"\n ... | test/sch/asdc_client_test.clj | onap/dcaegen2-platform-servicechange-handler | 0 | ; ============LICENSE_START=======================================================
; org.onap.dcae
; ================================================================================
; Copyright (c) 2017-2018 AT&T Intellectual Property. All rights reserved.
; =============================================================... | 34261 | ; ============LICENSE_START=======================================================
; org.onap.dcae
; ================================================================================
; Copyright (c) 2017-2018 AT&T Intellectual Property. All rights reserved.
; =============================================================... | true | ; ============LICENSE_START=======================================================
; org.onap.dcae
; ================================================================================
; Copyright (c) 2017-2018 AT&T Intellectual Property. All rights reserved.
; =============================================================... |
[
{
"context": " go-loop onto-chan timeout)]))\n\n(def submit-key {:op \"_submit\"})\n\n(defn submit-failed [measurements va",
"end": 313,
"score": 0.7505402565002441,
"start": 311,
"tag": "KEY",
"value": "op"
},
{
"context": "o-loop onto-chan timeout)]))\n\n(def submit-key {:op \"_sub... | src/borda_clj/client.clj | getlantern/borda-clj | 1 | (ns borda-clj.client
(:use [slingshot.slingshot :only [throw+ try+]])
(:require [aleph.http :as http]
[byte-streams :as bs]
[cheshire.core :as json]
[clojure.core.async :as async :refer (<! >! >!! <!! alts! chan close! go go-loop onto-chan timeout)]))
(def submit-key {:op "_subm... | 84480 | (ns borda-clj.client
(:use [slingshot.slingshot :only [throw+ try+]])
(:require [aleph.http :as http]
[byte-streams :as bs]
[cheshire.core :as json]
[clojure.core.async :as async :refer (<! >! >!! <!! alts! chan close! go go-loop onto-chan timeout)]))
(def submit-key {:<KEY> <KE... | true | (ns borda-clj.client
(:use [slingshot.slingshot :only [throw+ try+]])
(:require [aleph.http :as http]
[byte-streams :as bs]
[cheshire.core :as json]
[clojure.core.async :as async :refer (<! >! >!! <!! alts! chan close! go go-loop onto-chan timeout)]))
(def submit-key {:PI:KEY:<K... |
[
{
"context": "(ns ^{ :doc \"Thrift Type Import\"\n :author \"Yannick Scherer\" }\n thrift-clj.gen.types\n (:use [clojure.tools.",
"end": 64,
"score": 0.9998571872711182,
"start": 49,
"tag": "NAME",
"value": "Yannick Scherer"
}
] | src/thrift_clj/gen/types.clj | ipostelnik/thrift-clj | 35 | (ns ^{ :doc "Thrift Type Import"
:author "Yannick Scherer" }
thrift-clj.gen.types
(:use [clojure.tools.logging :only [debug info warn error]])
(:require [thrift-clj.gen.core :as c]
[thrift-clj.thrift.types :as t]
[thrift-clj.utils.symbols :as u]
[thrift-clj.utils.namespa... | 62773 | (ns ^{ :doc "Thrift Type Import"
:author "<NAME>" }
thrift-clj.gen.types
(:use [clojure.tools.logging :only [debug info warn error]])
(:require [thrift-clj.gen.core :as c]
[thrift-clj.thrift.types :as t]
[thrift-clj.utils.symbols :as u]
[thrift-clj.utils.namespaces :as n... | true | (ns ^{ :doc "Thrift Type Import"
:author "PI:NAME:<NAME>END_PI" }
thrift-clj.gen.types
(:use [clojure.tools.logging :only [debug info warn error]])
(:require [thrift-clj.gen.core :as c]
[thrift-clj.thrift.types :as t]
[thrift-clj.utils.symbols :as u]
[thrift-clj.utils.na... |
[
{
"context": "\n (wrap-session {:store (cookie-store {:key \"a 16-byte secret\"})})\n (wrap-resource \"public\")))\n",
"end": 656,
"score": 0.9983206987380981,
"start": 640,
"tag": "KEY",
"value": "a 16-byte secret"
}
] | src/server/ring.clj | CodingAgainstChaos/web-template | 0 | (ns server.ring
(:require [ring.middleware.json :refer [wrap-json-response wrap-json-body]]
[ring.middleware.resource :refer [wrap-resource]]
[ring.middleware.reload :refer [wrap-reload]]
[ring.middleware.params :refer [wrap-params]]
[ring.middleware.session :refer [wra... | 72614 | (ns server.ring
(:require [ring.middleware.json :refer [wrap-json-response wrap-json-body]]
[ring.middleware.resource :refer [wrap-resource]]
[ring.middleware.reload :refer [wrap-reload]]
[ring.middleware.params :refer [wrap-params]]
[ring.middleware.session :refer [wra... | true | (ns server.ring
(:require [ring.middleware.json :refer [wrap-json-response wrap-json-body]]
[ring.middleware.resource :refer [wrap-resource]]
[ring.middleware.reload :refer [wrap-reload]]
[ring.middleware.params :refer [wrap-params]]
[ring.middleware.session :refer [wra... |
[
{
"context": "Caps\n; Date: March 31, 2016.\n; Authors:\n; A01371743 Luis Eduardo Ballinas Aguilar\n;------------------",
"end": 142,
"score": 0.9918375015258789,
"start": 133,
"tag": "USERNAME",
"value": "A01371743"
},
{
"context": "e: March 31, 2016.\n; Authors:\n; ... | 4clojure/problem_29.clj | lu15v/TC2006 | 0 | ;----------------------------------------------------------
; Problem 29: Get the Caps
; Date: March 31, 2016.
; Authors:
; A01371743 Luis Eduardo Ballinas Aguilar
;----------------------------------------------------------
(use 'clojure.test)
(require '[clojure.string :as str] )
(defn problem29
[str]
... | 101199 | ;----------------------------------------------------------
; Problem 29: Get the Caps
; Date: March 31, 2016.
; Authors:
; A01371743 <NAME>
;----------------------------------------------------------
(use 'clojure.test)
(require '[clojure.string :as str] )
(defn problem29
[str]
(str/join
(filt... | true | ;----------------------------------------------------------
; Problem 29: Get the Caps
; Date: March 31, 2016.
; Authors:
; A01371743 PI:NAME:<NAME>END_PI
;----------------------------------------------------------
(use 'clojure.test)
(require '[clojure.string :as str] )
(defn problem29
[str]
(str/jo... |
[
{
"context": "lifted from \" [:a {:href \"https://gist.github.com/ruanbekker/a1506f06aa1df06c5a9501cb393626ea\"}\n ",
"end": 766,
"score": 0.999629020690918,
"start": 756,
"tag": "USERNAME",
"value": "ruanbekker"
},
{
"context": " \"https://gist.g... | src/reveal/slides.cljs | wmatson/cw-devcon2019-repl-as-tool | 0 | (ns reveal.slides
(:require-macros [reveal.macros :refer [slurp-resource]])
(:require [reveal.example-data :as ed]
[reveal.klipse :as rk]
[reveal.vendored-medley :as vm]
[clojure.pprint :as pp]))
(defn- stringify-code [quoted-code]
(with-out-str
(pp/with-pprint-dispatch
... | 21051 | (ns reveal.slides
(:require-macros [reveal.macros :refer [slurp-resource]])
(:require [reveal.example-data :as ed]
[reveal.klipse :as rk]
[reveal.vendored-medley :as vm]
[clojure.pprint :as pp]))
(defn- stringify-code [quoted-code]
(with-out-str
(pp/with-pprint-dispatch
... | true | (ns reveal.slides
(:require-macros [reveal.macros :refer [slurp-resource]])
(:require [reveal.example-data :as ed]
[reveal.klipse :as rk]
[reveal.vendored-medley :as vm]
[clojure.pprint :as pp]))
(defn- stringify-code [quoted-code]
(with-out-str
(pp/with-pprint-dispatch
... |
[
{
"context": "HOT\"\n :description \"\"\n :url \"https://github.com/MikeHardIce/2Minutes\"\n :license {:name \"MIT License\"\n ",
"end": 97,
"score": 0.99384605884552,
"start": 86,
"tag": "USERNAME",
"value": "MikeHardIce"
},
{
"context": "license {:name \"MIT License\"\n ... | project.clj | MikeHardIce/2Minutes | 0 | (defproject two-minutes "0.1.0-SNAPSHOT"
:description ""
:url "https://github.com/MikeHardIce/2Minutes"
:license {:name "MIT License"
:author "MikeHardIce"
:url "none"
:year 2021
:key "mit"}
:dependencies [[org.clojure/clojure "1.10.3"]
[strigui "... | 64062 | (defproject two-minutes "0.1.0-SNAPSHOT"
:description ""
:url "https://github.com/MikeHardIce/2Minutes"
:license {:name "MIT License"
:author "MikeHardIce"
:url "none"
:year 2021
:key "<KEY>"}
:dependencies [[org.clojure/clojure "1.10.3"]
[strigui... | true | (defproject two-minutes "0.1.0-SNAPSHOT"
:description ""
:url "https://github.com/MikeHardIce/2Minutes"
:license {:name "MIT License"
:author "MikeHardIce"
:url "none"
:year 2021
:key "PI:KEY:<KEY>END_PI"}
:dependencies [[org.clojure/clojure "1.10.3"]
... |
[
{
"context": "ername\t[message]\t(get-in message [:parent-header :username]))\n(defn message-parent-version\t[message]\t(get-in",
"end": 4838,
"score": 0.7353079319000244,
"start": 4830,
"tag": "USERNAME",
"value": "username"
},
{
"context": "e-id,\n :msg_type msgtype,\n ... | src/clojupyter/messages.clj | krukow/clojupyter | 1 | (ns clojupyter.messages
(:require [clojupyter.jupmsg-specs :as jsp]
[clojupyter.specs :as sp]
[clojupyter.kernel.stacktrace :as stacktrace]
[clojupyter.kernel.version :as ver]
[clojupyter.log :as log]
[clojupyter.messages-specs :as msp]
[clojupyt... | 51923 | (ns clojupyter.messages
(:require [clojupyter.jupmsg-specs :as jsp]
[clojupyter.specs :as sp]
[clojupyter.kernel.stacktrace :as stacktrace]
[clojupyter.kernel.version :as ver]
[clojupyter.log :as log]
[clojupyter.messages-specs :as msp]
[clojupyt... | true | (ns clojupyter.messages
(:require [clojupyter.jupmsg-specs :as jsp]
[clojupyter.specs :as sp]
[clojupyter.kernel.stacktrace :as stacktrace]
[clojupyter.kernel.version :as ver]
[clojupyter.log :as log]
[clojupyter.messages-specs :as msp]
[clojupyt... |
[
{
"context": ")\n\n;;; Card definitions\n(def card-definitions\n {\"Aaron Marrón\"\n (let [am {:effect (effect (add-counter card :",
"end": 2879,
"score": 0.9997631311416626,
"start": 2867,
"tag": "NAME",
"value": "Aaron Marrón"
},
{
"context": "ystem-msg :runner (str \"places 2 p... | src/clj/game/cards/resources.clj | nathanj/netrunner | 0 | (ns game.cards.resources
(:require [game.core :refer :all]
[game.utils :refer :all]
[game.macros :refer [effect req msg wait-for continue-ability]]
[clojure.string :refer [split-lines split join lower-case includes? starts-with?]]
[clojure.stacktrace :refer [print-stack... | 18481 | (ns game.cards.resources
(:require [game.core :refer :all]
[game.utils :refer :all]
[game.macros :refer [effect req msg wait-for continue-ability]]
[clojure.string :refer [split-lines split join lower-case includes? starts-with?]]
[clojure.stacktrace :refer [print-stack... | true | (ns game.cards.resources
(:require [game.core :refer :all]
[game.utils :refer :all]
[game.macros :refer [effect req msg wait-for continue-ability]]
[clojure.string :refer [split-lines split join lower-case includes? starts-with?]]
[clojure.stacktrace :refer [print-stack... |
[
{
"context": "; Copyright (c) Rich Hickey. All rights reserved.\n; The use and distributio",
"end": 29,
"score": 0.9997981786727905,
"start": 18,
"tag": "NAME",
"value": "Rich Hickey"
}
] | clojure-tools/src/clojure/tools/deps/alpha/extensions/deps.clj | FundingCircle/ein.alpha | 5 | ; 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 ... | 45782 | ; 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": ";; Written by Paul Landes -- Dec 2014\n\n(ns ^{:doc\n \"A utility library ",
"end": 25,
"score": 0.9998964071273804,
"start": 14,
"tag": "NAME",
"value": "Paul Landes"
},
{
"context": "nsols.model.execute-classifier]].\"\n :author \"Paul Landes\"}\n zensols... | src/clojure/zensols/model/classifier.clj | plandes/clj-ml-model | 6 | ;; Written by Paul Landes -- Dec 2014
(ns ^{:doc
"A utility library that wraps Weka library. This library works
with [[zensols.model.weka]] do the following:
* Cross validate models
* Manage and sort results (i.e. cross validations)
* Train models
* Read/write ARFF files
This namspace uses the [res... | 82022 | ;; Written by <NAME> -- Dec 2014
(ns ^{:doc
"A utility library that wraps Weka library. This library works
with [[zensols.model.weka]] do the following:
* Cross validate models
* Manage and sort results (i.e. cross validations)
* Train models
* Read/write ARFF files
This namspace uses the [resource... | true | ;; Written by PI:NAME:<NAME>END_PI -- Dec 2014
(ns ^{:doc
"A utility library that wraps Weka library. This library works
with [[zensols.model.weka]] do the following:
* Cross validate models
* Manage and sort results (i.e. cross validations)
* Train models
* Read/write ARFF files
This namspace uses... |
[
{
"context": " :registrar-abuse-contact-email \"abusecomplaints@markmonitor.com\",\n :tech-organization \"Bei",
"end": 1995,
"score": 0.999896764755249,
"start": 1964,
"tag": "EMAIL",
"value": "abusecomplaints@markmonitor.com"
},
{
"context": "... | test/difft/diff_test.clj | ntestoc3/difft | 0 | (ns difft.diff-test
(:require [difft.diff :refer :all]
[midje.sweet :refer :all]))
(comment
;;; bench
(use 'criterium.core)
(with-progress-reporting
(quick-bench
(diff->html (diff {:registrant-organization "Beijing Baidu Netcom Science Technology Co., Ltd.",
:dnsse... | 4924 | (ns difft.diff-test
(:require [difft.diff :refer :all]
[midje.sweet :refer :all]))
(comment
;;; bench
(use 'criterium.core)
(with-progress-reporting
(quick-bench
(diff->html (diff {:registrant-organization "Beijing Baidu Netcom Science Technology Co., Ltd.",
:dnsse... | true | (ns difft.diff-test
(:require [difft.diff :refer :all]
[midje.sweet :refer :all]))
(comment
;;; bench
(use 'criterium.core)
(with-progress-reporting
(quick-bench
(diff->html (diff {:registrant-organization "Beijing Baidu Netcom Science Technology Co., Ltd.",
:dnsse... |
[
{
"context": " default-ssl-key \"test-resources/puppetserver/ssl/private_keys/localhost.pem\")\n\n(pls/defn-validated get-ssl",
"end": 8997,
"score": 0.5126063227653503,
"start": 8990,
"tag": "KEY",
"value": "private"
},
{
"context": "-resources/puppetserver/ssl/private_keys/localhos... | test/puppetlabs/puppetdb/testutils/services.clj | er0ck/puppetdb | 0 | (ns puppetlabs.puppetdb.testutils.services
(:refer-clojure :exclude [get])
(:require [clj-time.core :as t]
[clj-time.coerce :as time-coerce]
[puppetlabs.kitchensink.core :as kitchensink]
[puppetlabs.puppetdb.testutils :as testutils]
[puppetlabs.puppetdb.testutils.db :... | 80013 | (ns puppetlabs.puppetdb.testutils.services
(:refer-clojure :exclude [get])
(:require [clj-time.core :as t]
[clj-time.coerce :as time-coerce]
[puppetlabs.kitchensink.core :as kitchensink]
[puppetlabs.puppetdb.testutils :as testutils]
[puppetlabs.puppetdb.testutils.db :... | true | (ns puppetlabs.puppetdb.testutils.services
(:refer-clojure :exclude [get])
(:require [clj-time.core :as t]
[clj-time.coerce :as time-coerce]
[puppetlabs.kitchensink.core :as kitchensink]
[puppetlabs.puppetdb.testutils :as testutils]
[puppetlabs.puppetdb.testutils.db :... |
[
{
"context": "R_ID\"\n :username \"testname1\" :some-key \"some-value\"}\n ",
"end": 1459,
"score": 0.9996116757392883,
"start": 1450,
"tag": "USERNAME",
"value": "testname1"
},
{
"context": " ... | test/objective8/integration/db/storage.clj | d-cent/objective8 | 23 | (ns objective8.integration.db.storage
(:require [midje.sweet :refer :all]
[objective8.back-end.storage.storage :as storage]
[objective8.back-end.storage.database :as db]
[objective8.integration.integration-helpers :refer [truncate-tables
... | 69483 | (ns objective8.integration.db.storage
(:require [midje.sweet :refer :all]
[objective8.back-end.storage.storage :as storage]
[objective8.back-end.storage.database :as db]
[objective8.integration.integration-helpers :refer [truncate-tables
... | true | (ns objective8.integration.db.storage
(:require [midje.sweet :refer :all]
[objective8.back-end.storage.storage :as storage]
[objective8.back-end.storage.database :as db]
[objective8.integration.integration-helpers :refer [truncate-tables
... |
[
{
"context": "? string}\n\n API Documented:\n https://github.com/ErikKalkoken/slackApiDoc/blob/master/users.admin.invite.md\"\n ",
"end": 4013,
"score": 0.9997479915618896,
"start": 4001,
"tag": "USERNAME",
"value": "ErikKalkoken"
},
{
"context": "arams)\n :body)))\n\n; (s... | src/slack_signup/core.clj | jayzawrotny/clj-slack-signup | 0 | (ns slack-signup.core
(:require [clj-http.client :as client]
[environ.core :refer [env]]))
;; Read ENV variables
(def slack-token (env :slack-token))
(def channel-id (env :channel-id))
(def email-regex
#"^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9]... | 98190 | (ns slack-signup.core
(:require [clj-http.client :as client]
[environ.core :refer [env]]))
;; Read ENV variables
(def slack-token (env :slack-token))
(def channel-id (env :channel-id))
(def email-regex
#"^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9]... | true | (ns slack-signup.core
(:require [clj-http.client :as client]
[environ.core :refer [env]]))
;; Read ENV variables
(def slack-token (env :slack-token))
(def channel-id (env :channel-id))
(def email-regex
#"^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9]... |
[
{
"context": "[reagent.core :as r]))\n\n(def data [{:id 0 ,:name \"Burj Khalifa\",:height 828},{:id 1 ,:name \"Shanghai Tower\",:hei",
"end": 109,
"score": 0.9998742341995239,
"start": 97,
"tag": "NAME",
"value": "Burj Khalifa"
},
{
"context": "name \"Shanghai Tower\",:height 632},{:... | src/buildings_reagent/core.cljs | reshmisaji/buildings-data-visualization-clojure | 0 | (ns buildings-reagent.core
(:require
[reagent.core :as r]))
(def data [{:id 0 ,:name "Burj Khalifa",:height 828},{:id 1 ,:name "Shanghai Tower",:height 632},{:id 2,
:name "Abraj Al-Bait Clock Tower",:height 601
},
{:id 3,
:name "Ping An Finance Center",:height 599
},
{:id 4,
:name "Goldin Finance 117",:heigh... | 24188 | (ns buildings-reagent.core
(:require
[reagent.core :as r]))
(def data [{:id 0 ,:name "<NAME>",:height 828},{:id 1 ,:name "Shanghai Tower",:height 632},{:id 2,
:name "<NAME>ower",:height 601
},
{:id 3,
:name "Ping An Finance Center",:height 599
},
{:id 4,
:name "Goldin Finance 117",:height 596
},{:id 5,
:name... | true | (ns buildings-reagent.core
(:require
[reagent.core :as r]))
(def data [{:id 0 ,:name "PI:NAME:<NAME>END_PI",:height 828},{:id 1 ,:name "Shanghai Tower",:height 632},{:id 2,
:name "PI:NAME:<NAME>END_PIower",:height 601
},
{:id 3,
:name "Ping An Finance Center",:height 599
},
{:id 4,
:name "Goldin Finance 117"... |
[
{
"context": "\t:subname (str \"//\" db-host \"/\" db-name)\n\t\t:user \"scott\"\n\t\t:password \"tiger\"})\n\t(with-connection db\n\t\t(wi",
"end": 553,
"score": 0.9616000652313232,
"start": 548,
"tag": "USERNAME",
"value": "scott"
},
{
"context": "db-host \"/\" db-name)\n\t\t:user ... | drizzle/clojure/read/drizzle_read.clj | ekzemplaro/data_base_language | 3 | ; -----------------------------------------------------------------
;
; drizzle_read.clj
;
; Jul/17/2014
;
; -----------------------------------------------------------------
(load-file "/var/www/data_base/common/clojure_common/sql_manipulate.clj")
; ----------------------------------------------------------------... | 116874 | ; -----------------------------------------------------------------
;
; drizzle_read.clj
;
; Jul/17/2014
;
; -----------------------------------------------------------------
(load-file "/var/www/data_base/common/clojure_common/sql_manipulate.clj")
; ----------------------------------------------------------------... | true | ; -----------------------------------------------------------------
;
; drizzle_read.clj
;
; Jul/17/2014
;
; -----------------------------------------------------------------
(load-file "/var/www/data_base/common/clojure_common/sql_manipulate.clj")
; ----------------------------------------------------------------... |
[
{
"context": "nt @!font\n text \"Hey ZK\"\n x 0\n ",
"end": 1999,
"score": 0.5334824323654175,
"start": 1997,
"tag": "NAME",
"value": "ey"
},
{
"context": " helpers to \"\n [:a {:href \"https://github.com/open... | src/cljs-browser/rx/browser/opentype.cljs | zk/rx-lib | 0 | (ns rx.browser.opentype
(:require [rx.kitchen-sink :as ks]
[rx.browser :as browser]
[rx.browser.canvas :as canvas]
[rx.annie :as annie]
[rx.browser.forms :as forms]
[rx.browser.ui :as ui]
[rx.browser.buttons :as btn]
[rx.browser.style... | 29309 | (ns rx.browser.opentype
(:require [rx.kitchen-sink :as ks]
[rx.browser :as browser]
[rx.browser.canvas :as canvas]
[rx.annie :as annie]
[rx.browser.forms :as forms]
[rx.browser.ui :as ui]
[rx.browser.buttons :as btn]
[rx.browser.style... | true | (ns rx.browser.opentype
(:require [rx.kitchen-sink :as ks]
[rx.browser :as browser]
[rx.browser.canvas :as canvas]
[rx.annie :as annie]
[rx.browser.forms :as forms]
[rx.browser.ui :as ui]
[rx.browser.buttons :as btn]
[rx.browser.style... |
[
{
"context": " ([objective-id invited-by-id]\n {:writer-name \"Mel\"\n :writer-email \"writer@email.com\"\n :reason",
"end": 894,
"score": 0.9977837204933167,
"start": 891,
"tag": "NAME",
"value": "Mel"
},
{
"context": "-by-id]\n {:writer-name \"Mel\"\n :writer-email \"... | test/objective8/integration/back_end/invitations.clj | d-cent/objective8 | 23 | (ns objective8.integration.back-end.invitations
(:require [peridot.core :as p]
[midje.sweet :refer :all]
[cheshire.core :as json]
[objective8.config :as config]
[objective8.utils :as utils]
[objective8.integration.integration-helpers :as helpers]
... | 86913 | (ns objective8.integration.back-end.invitations
(:require [peridot.core :as p]
[midje.sweet :refer :all]
[cheshire.core :as json]
[objective8.config :as config]
[objective8.utils :as utils]
[objective8.integration.integration-helpers :as helpers]
... | true | (ns objective8.integration.back-end.invitations
(:require [peridot.core :as p]
[midje.sweet :refer :all]
[cheshire.core :as json]
[objective8.config :as config]
[objective8.utils :as utils]
[objective8.integration.integration-helpers :as helpers]
... |
[
{
"context": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n; Copyright 2015 Xebia B.V.\n;\n; Licensed under the Apache License, Version 2",
"end": 107,
"score": 0.9782924056053162,
"start": 98,
"tag": "NAME",
"value": "Xebia B.V"
}
] | src/main/clojure/com/xebia/visualreview/service/suite.clj | andstepanuk/VisualReview | 290 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright 2015 Xebia B.V.
;
; Licensed under the Apache License, Version 2.0 (the "License")
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses... | 116298 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright 2015 <NAME>.
;
; Licensed under the Apache License, Version 2.0 (the "License")
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LI... | true | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright 2015 PI:NAME:<NAME>END_PI.
;
; Licensed under the Apache License, Version 2.0 (the "License")
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.o... |
[
{
"context": ";; Copyright © 2015-2020 Esko Luontola\n;; This software is released under the Apache Lic",
"end": 38,
"score": 0.9998812079429626,
"start": 25,
"tag": "NAME",
"value": "Esko Luontola"
}
] | src/territory_bro/projections.clj | orfjackal/territory-bro | 2 | ;; Copyright © 2015-2020 Esko Luontola
;; This software is released under the Apache License 2.0.
;; The license text is at http://www.apache.org/licenses/LICENSE-2.0
(ns territory-bro.projections
(:require [clojure.tools.logging :as log]
[mount.core :as mount]
[territory-bro.dispatcher :as d... | 96289 | ;; Copyright © 2015-2020 <NAME>
;; This software is released under the Apache License 2.0.
;; The license text is at http://www.apache.org/licenses/LICENSE-2.0
(ns territory-bro.projections
(:require [clojure.tools.logging :as log]
[mount.core :as mount]
[territory-bro.dispatcher :as dispatch... | true | ;; Copyright © 2015-2020 PI:NAME:<NAME>END_PI
;; This software is released under the Apache License 2.0.
;; The license text is at http://www.apache.org/licenses/LICENSE-2.0
(ns territory-bro.projections
(:require [clojure.tools.logging :as log]
[mount.core :as mount]
[territory-bro.dispatche... |
[
{
"context": ";; Copyright 2014-2020 King\n;; Copyright 2009-2014 Ragnar Svensson, Christian Murray\n;; Licensed under the Defold Li",
"end": 111,
"score": 0.9998078942298889,
"start": 96,
"tag": "NAME",
"value": "Ragnar Svensson"
},
{
"context": "-2020 King\n;; Copyright 2009-2014 R... | editor/src/clj/prof.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... | 71275 | ;; 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": "; Copyright (c) Rich Hickey and Michael Fogus. All rights reserved.\n; The u",
"end": 29,
"score": 0.9998450875282288,
"start": 18,
"tag": "NAME",
"value": "Rich Hickey"
},
{
"context": "; Copyright (c) Rich Hickey and Michael Fogus. All rights reserved.\n; The ... | src/lucid/legacy/memoize.clj | willcohen/lucidity | 3 | ; Copyright (c) Rich Hickey and Michael Fogus. 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 thi... | 13604 | ; Copyright (c) <NAME> and <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 i... | true | ; Copyright (c) PI:NAME:<NAME>END_PI and 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.
... |
[
{
"context": "(t/testing \"build-args-map\"\n (t/is (= '{?name \"Ivan\"}\n (-> (dx/parse-query '[:where [?e :",
"end": 1169,
"score": 0.9987645149230957,
"start": 1165,
"tag": "NAME",
"value": "Ivan"
},
{
"context": " :in ?name]\n \"... | test/ribelo/doxa_test.cljc | fnumatic/doxa | 0 | (ns ribelo.doxa-test
;; #?(:cljs (:require-macros [ribelo.doxa-test :refer [generate-matched-tests]]))
(:require
[ribelo.doxa :as dx]
[clojure.test :as t]
[meander.epsilon :as m]))
;; * datalog->meander
(t/deftest parse-query
(t/testing "find"
(t/is (= {:find '[?x ?y]}
(dx/parse-find '... | 9681 | (ns ribelo.doxa-test
;; #?(:cljs (:require-macros [ribelo.doxa-test :refer [generate-matched-tests]]))
(:require
[ribelo.doxa :as dx]
[clojure.test :as t]
[meander.epsilon :as m]))
;; * datalog->meander
(t/deftest parse-query
(t/testing "find"
(t/is (= {:find '[?x ?y]}
(dx/parse-find '... | true | (ns ribelo.doxa-test
;; #?(:cljs (:require-macros [ribelo.doxa-test :refer [generate-matched-tests]]))
(:require
[ribelo.doxa :as dx]
[clojure.test :as t]
[meander.epsilon :as m]))
;; * datalog->meander
(t/deftest parse-query
(t/testing "find"
(t/is (= {:find '[?x ?y]}
(dx/parse-find '... |
[
{
"context": ";; Copyright © 2015-2020 Esko Luontola\n;; This software is released under the Apache Lic",
"end": 38,
"score": 0.9998869895935059,
"start": 25,
"tag": "NAME",
"value": "Esko Luontola"
}
] | src/territory_bro/domain/congregation.clj | 3breadt/territory-bro | 2 | ;; Copyright © 2015-2020 Esko Luontola
;; This software is released under the Apache License 2.0.
;; The license text is at http://www.apache.org/licenses/LICENSE-2.0
(ns territory-bro.domain.congregation
(:require [clojure.set :as set]
[clojure.string :as str]
[territory-bro.infra.permission... | 109932 | ;; Copyright © 2015-2020 <NAME>
;; This software is released under the Apache License 2.0.
;; The license text is at http://www.apache.org/licenses/LICENSE-2.0
(ns territory-bro.domain.congregation
(:require [clojure.set :as set]
[clojure.string :as str]
[territory-bro.infra.permissions :as p... | true | ;; Copyright © 2015-2020 PI:NAME:<NAME>END_PI
;; This software is released under the Apache License 2.0.
;; The license text is at http://www.apache.org/licenses/LICENSE-2.0
(ns territory-bro.domain.congregation
(:require [clojure.set :as set]
[clojure.string :as str]
[territory-bro.infra.per... |
[
{
"context": "; Copyright 2018-2021 Rahul De\n;\n; Use of this source code is governed by an MIT",
"end": 30,
"score": 0.9998787641525269,
"start": 22,
"tag": "NAME",
"value": "Rahul De"
},
{
"context": " :params {:repo \"https://github.com/bob-cd/bob\"\n ... | entities/test/entities/pipeline_test.clj | bob-cd/bob | 88 | ; Copyright 2018-2021 Rahul De
;
; Use of this source code is governed by an MIT-style
; license that can be found in the LICENSE file or at
; https://opensource.org/licenses/MIT.
(ns entities.pipeline-test
(:require [clojure.test :refer [deftest testing is]]
[xtdb.api :as xt]
[entities.util ... | 21970 | ; Copyright 2018-2021 <NAME>
;
; Use of this source code is governed by an MIT-style
; license that can be found in the LICENSE file or at
; https://opensource.org/licenses/MIT.
(ns entities.pipeline-test
(:require [clojure.test :refer [deftest testing is]]
[xtdb.api :as xt]
[entities.util :a... | true | ; Copyright 2018-2021 PI:NAME:<NAME>END_PI
;
; Use of this source code is governed by an MIT-style
; license that can be found in the LICENSE file or at
; https://opensource.org/licenses/MIT.
(ns entities.pipeline-test
(:require [clojure.test :refer [deftest testing is]]
[xtdb.api :as xt]
[en... |
[
{
"context": "; Copyright (C) 2013-2015 Joseph Fosco. All Rights Reserved\n;\n; This program is free ",
"end": 42,
"score": 0.9998200535774231,
"start": 30,
"tag": "NAME",
"value": "Joseph Fosco"
}
] | data/train/clojure/6531fcda61645c2e2c8981b6040da211a6d94269instrument.clj | harshp8l/deep-learning-lang-detection | 84 | ; Copyright (C) 2013-2015 Joseph Fosco. All Rights Reserved
;
; This program is free software: you can redistribute it and/or modify
; it under the terms of the GNU General Public License as published by
; the Free Software Foundation, either version 3 of the License, or
; (at your option) any later ver... | 20955 | ; Copyright (C) 2013-2015 <NAME>. All Rights Reserved
;
; This program is free software: you can redistribute it and/or modify
; it under the terms of the GNU General Public License as published by
; the Free Software Foundation, either version 3 of the License, or
; (at your option) any later version.
... | true | ; Copyright (C) 2013-2015 PI:NAME:<NAME>END_PI. All Rights Reserved
;
; This program is free software: you can redistribute it and/or modify
; it under the terms of the GNU General Public License as published by
; the Free Software Foundation, either version 3 of the License, or
; (at your option) any l... |
[
{
"context": ")\n\n(def admin-login \"admin\")\n(def admin-password \"secretadmin\")\n(def auth-server-url (minikube-keycloak-service",
"end": 534,
"score": 0.9992600083351135,
"start": 523,
"tag": "PASSWORD",
"value": "secretadmin"
},
{
"context": "odified-1\") =in=> (select-keys to... | test/keycloak/reconciliation_test.clj | borkdude/keycloak-clojure | 0 | (ns keycloak.reconciliation-test
(:require
[clojure.test :as t :refer :all]
[clojure.tools.logging :as log :refer [info]]
[clojure.pprint :as pp]
[testit.core :refer :all]
[keycloak.admin :as admin]
[keycloak.user :as user]
[keycloak.deployment :as deployment]
[keycloak.reconciliation :refer ... | 114992 | (ns keycloak.reconciliation-test
(:require
[clojure.test :as t :refer :all]
[clojure.tools.logging :as log :refer [info]]
[clojure.pprint :as pp]
[testit.core :refer :all]
[keycloak.admin :as admin]
[keycloak.user :as user]
[keycloak.deployment :as deployment]
[keycloak.reconciliation :refer ... | true | (ns keycloak.reconciliation-test
(:require
[clojure.test :as t :refer :all]
[clojure.tools.logging :as log :refer [info]]
[clojure.pprint :as pp]
[testit.core :refer :all]
[keycloak.admin :as admin]
[keycloak.user :as user]
[keycloak.deployment :as deployment]
[keycloak.reconciliation :refer ... |
[
{
"context": "\n(comment\n9x9 multiplication table in Clojure\nCC0, Wei-Lun Chao <bluebat@member.fsf.org>, 2021.\n)\n;; ./mt9x9.clj ",
"end": 81,
"score": 0.9998363852500916,
"start": 69,
"tag": "NAME",
"value": "Wei-Lun Chao"
},
{
"context": "ultiplication table in Clojure\nCC0, Wei... | mt9x9.clj | bluebat/mt9x9 | 0 | #!/usr/bin/clojure
(comment
9x9 multiplication table in Clojure
CC0, Wei-Lun Chao <bluebat@member.fsf.org>, 2021.
)
;; ./mt9x9.clj || clojure mt9x9.clj
(doseq [i (range 1 10 3) j (range 1 10) k [i (+ i 1) (+ i 2)]]
(printf "%dx%d=%2d" k j (* k j))
(print (if (not= k (+ i 2)) "\t" (if (= j 9) "\n\n" "\n")))
)
| 89136 | #!/usr/bin/clojure
(comment
9x9 multiplication table in Clojure
CC0, <NAME> <<EMAIL>>, 2021.
)
;; ./mt9x9.clj || clojure mt9x9.clj
(doseq [i (range 1 10 3) j (range 1 10) k [i (+ i 1) (+ i 2)]]
(printf "%dx%d=%2d" k j (* k j))
(print (if (not= k (+ i 2)) "\t" (if (= j 9) "\n\n" "\n")))
)
| true | #!/usr/bin/clojure
(comment
9x9 multiplication table in Clojure
CC0, PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>, 2021.
)
;; ./mt9x9.clj || clojure mt9x9.clj
(doseq [i (range 1 10 3) j (range 1 10) k [i (+ i 1) (+ i 2)]]
(printf "%dx%d=%2d" k j (* k j))
(print (if (not= k (+ i 2)) "\t" (if (= j 9) "\n\n" "\n... |
[
{
"context": "(ns ^{:author \"avr. alex gherega\"} memoservice.utils\n (:require [clojure.string",
"end": 32,
"score": 0.9997376203536987,
"start": 15,
"tag": "NAME",
"value": "avr. alex gherega"
}
] | memoservice/src/memoservice/utils.clj | alex-gherega/clawing | 0 | (ns ^{:author "avr. alex gherega"} memoservice.utils
(:require [clojure.string :as string]))
(defn fetch-raw-html [url]
(slurp url))
(defn make-test-question [html-question]
(string/replace html-question "#33FF33" "#FFFFFF"))
(defn contains? [v l]
(some #{v} l))
| 42761 | (ns ^{:author "<NAME>"} memoservice.utils
(:require [clojure.string :as string]))
(defn fetch-raw-html [url]
(slurp url))
(defn make-test-question [html-question]
(string/replace html-question "#33FF33" "#FFFFFF"))
(defn contains? [v l]
(some #{v} l))
| true | (ns ^{:author "PI:NAME:<NAME>END_PI"} memoservice.utils
(:require [clojure.string :as string]))
(defn fetch-raw-html [url]
(slurp url))
(defn make-test-question [html-question]
(string/replace html-question "#33FF33" "#FFFFFF"))
(defn contains? [v l]
(some #{v} l))
|
[
{
"context": "{\n :nick \"fake-salmon\"\n :pass \"fake-pass\"\n :realname \"Not realy a bot\"\n",
"end": 21,
"score": 0.953910768032074,
"start": 10,
"tag": "USERNAME",
"value": "fake-salmon"
},
{
"context": "{\n :nick \"fake-salmon\"\n :pass \"fake-pass\"\n :realname \"Not realy a b... | resources/config.example.clj | iomonad/salmon | 2 | {
:nick "fake-salmon"
:pass "fake-pass"
:realname "Not realy a bot"
:username "fake-salmon"
:server {:host "irc.freenode.net"
:port 6667
:channels ["#bottest"]}
:mongo {:host "127.0.0.1"
:port 27017
:db "salmon"
:collections {:buffer "buffer"
:... | 78071 | {
:nick "fake-salmon"
:pass "<PASSWORD>"
:realname "Not realy a bot"
:username "fake-salmon"
:server {:host "irc.freenode.net"
:port 6667
:channels ["#bottest"]}
:mongo {:host "127.0.0.1"
:port 27017
:db "salmon"
:collections {:buffer "buffer"
... | true | {
:nick "fake-salmon"
:pass "PI:PASSWORD:<PASSWORD>END_PI"
:realname "Not realy a bot"
:username "fake-salmon"
:server {:host "irc.freenode.net"
:port 6667
:channels ["#bottest"]}
:mongo {:host "127.0.0.1"
:port 27017
:db "salmon"
:collections {:buffer "buffer"
... |
[
{
"context": ";; Ben Fry's Visualizing Data, Chapter 3 (Data on a Map), mous",
"end": 12,
"score": 0.990571141242981,
"start": 3,
"tag": "NAME",
"value": "Ben Fry's"
},
{
"context": "onverted from Processing to Quil as an exercise by Dave Liepmann\n\n(ns vdquil.ch3.mouse\n (:use [qu... | src/vdquil/chapter3/mouse.clj | Jjunior130/vdquil | 33 | ;; Ben Fry's Visualizing Data, Chapter 3 (Data on a Map), mouse rollover
;; Converted from Processing to Quil as an exercise by Dave Liepmann
(ns vdquil.ch3.mouse
(:use [quil.core]
[vdquil.chapter3.ch3data]
[vdquil.util]))
(def data-min (apply min (map second random-data)))
(def data-max (apply max ... | 120551 | ;; <NAME> Visualizing Data, Chapter 3 (Data on a Map), mouse rollover
;; Converted from Processing to Quil as an exercise by <NAME>
(ns vdquil.ch3.mouse
(:use [quil.core]
[vdquil.chapter3.ch3data]
[vdquil.util]))
(def data-min (apply min (map second random-data)))
(def data-max (apply max (map secon... | true | ;; PI:NAME:<NAME>END_PI Visualizing Data, Chapter 3 (Data on a Map), mouse rollover
;; Converted from Processing to Quil as an exercise by PI:NAME:<NAME>END_PI
(ns vdquil.ch3.mouse
(:use [quil.core]
[vdquil.chapter3.ch3data]
[vdquil.util]))
(def data-min (apply min (map second random-data)))
(def da... |
[
{
"context": " :value nil}}}))\n\n(def api-key \"6735e7359a43946795090a880c89c67d\")\n\n(defn handle-response [resp]\n (let [today (ge",
"end": 606,
"score": 0.9997538328170776,
"start": 574,
"tag": "KEY",
"value": "6735e7359a43946795090a880c89c67d"
}
] | cljs-weather/src/cljs_weather/core.cljs | alvinsim/learn-cljs | 0 | (ns cljs-weather.core
(:require
[reagent.core :as reagent :refer [atom]]
[reagent.dom :as rd]
[ajax.core :refer [GET]]))
(enable-console-print!)
(defonce app-state (atom {:title "WhichWeather"
:postal-code ""
:data-received? false
... | 90562 | (ns cljs-weather.core
(:require
[reagent.core :as reagent :refer [atom]]
[reagent.dom :as rd]
[ajax.core :refer [GET]]))
(enable-console-print!)
(defonce app-state (atom {:title "WhichWeather"
:postal-code ""
:data-received? false
... | true | (ns cljs-weather.core
(:require
[reagent.core :as reagent :refer [atom]]
[reagent.dom :as rd]
[ajax.core :refer [GET]]))
(enable-console-print!)
(defonce app-state (atom {:title "WhichWeather"
:postal-code ""
:data-received? false
... |
[
{
"context": "(ns mercadelo.core\n (:gen-class)\n ;; XXX: aleph, sente, datomic, auth\n (:require [compojure.co",
"end": 47,
"score": 0.7930263876914978,
"start": 44,
"tag": "NAME",
"value": "ale"
},
{
"context": "(ns mercadelo.core\n (:gen-class)\n ;; XXX: aleph, sente, datomic... | src/clj/mercadelo/core.clj | euccastro/mercadelo | 1 | (ns mercadelo.core
(:gen-class)
;; XXX: aleph, sente, datomic, auth
(:require [compojure.core :refer (defroutes GET POST)]
[compojure.route :refer (files not-found resources)]
[mercadelo.util :as util]
[ring.middleware.defaults :refer (wrap-defaults site-defaults)]
... | 116443 | (ns mercadelo.core
(:gen-class)
;; XXX: <NAME>ph, <NAME>, datomic, auth
(:require [compojure.core :refer (defroutes GET POST)]
[compojure.route :refer (files not-found resources)]
[mercadelo.util :as util]
[ring.middleware.defaults :refer (wrap-defaults site-defaults)]
... | true | (ns mercadelo.core
(:gen-class)
;; XXX: PI:NAME:<NAME>END_PIph, PI:NAME:<NAME>END_PI, datomic, auth
(:require [compojure.core :refer (defroutes GET POST)]
[compojure.route :refer (files not-found resources)]
[mercadelo.util :as util]
[ring.middleware.defaults :refer (wrap-defau... |
[
{
"context": "ion that builds data projections.\"\n :author \"christian.meichsner@live.com\"}\n lambdaroyal.memory.abstraction.test-reverse",
"end": 157,
"score": 0.9995976090431213,
"start": 129,
"tag": "EMAIL",
"value": "christian.meichsner@live.com"
}
] | test/lambdaroyal/memory/abstraction/test_reverse_search_projection.clj | gixxi/lambdaroyal-memory | 24 | (ns
^{:doc "(Performance) Unittests for lambdaroyal memory search abstraction that builds data projections."
:author "christian.meichsner@live.com"}
lambdaroyal.memory.abstraction.test-reverse-search-projection
(:require [midje.sweet :refer :all]
[lambdaroyal.memory.core.tx :refer :all]
... | 73366 | (ns
^{:doc "(Performance) Unittests for lambdaroyal memory search abstraction that builds data projections."
:author "<EMAIL>"}
lambdaroyal.memory.abstraction.test-reverse-search-projection
(:require [midje.sweet :refer :all]
[lambdaroyal.memory.core.tx :refer :all]
[lambdaroyal... | true | (ns
^{:doc "(Performance) Unittests for lambdaroyal memory search abstraction that builds data projections."
:author "PI:EMAIL:<EMAIL>END_PI"}
lambdaroyal.memory.abstraction.test-reverse-search-projection
(:require [midje.sweet :refer :all]
[lambdaroyal.memory.core.tx :refer :all]
... |
[
{
"context": "r from the supplied user map {:name name :password password}\"\n [user]\n (println \"add-user user: \" user)\n (",
"end": 686,
"score": 0.988989531993866,
"start": 678,
"tag": "PASSWORD",
"value": "password"
}
] | src/clojure_web/users.clj | BigAirJosh/clojure-web | 0 | (ns clojure-web.users
(:use [korma.db]
[korma.core]
[ring.util.response])
(:require [clojure.tools.logging :as log]))
(defn init-users [db]
(declare users)
(defentity users
(pk :id)
(table :users)
(database db)
(entity-fields :id :name :password)))
(defn get-users []
"gets a... | 109424 | (ns clojure-web.users
(:use [korma.db]
[korma.core]
[ring.util.response])
(:require [clojure.tools.logging :as log]))
(defn init-users [db]
(declare users)
(defentity users
(pk :id)
(table :users)
(database db)
(entity-fields :id :name :password)))
(defn get-users []
"gets a... | true | (ns clojure-web.users
(:use [korma.db]
[korma.core]
[ring.util.response])
(:require [clojure.tools.logging :as log]))
(defn init-users [db]
(declare users)
(defentity users
(pk :id)
(table :users)
(database db)
(entity-fields :id :name :password)))
(defn get-users []
"gets a... |
[
{
"context": "; Copyright (C) 2015 Dr. Thomas Schank (DrTom@schank.ch, Thomas.Schank@algocon.ch)\n\n(ns",
"end": 38,
"score": 0.9998151659965515,
"start": 25,
"tag": "NAME",
"value": "Thomas Schank"
},
{
"context": "; Copyright (C) 2015 Dr. Thomas Schank (DrTom@schank.ch, Thomas.Sc... | src/json_roa_demo/basic_auth.clj | json-roa/json-roa_demo-app | 0 | ; Copyright (C) 2015 Dr. Thomas Schank (DrTom@schank.ch, Thomas.Schank@algocon.ch)
(ns json-roa-demo.basic-auth
(:require
[cider-ci.open-session.bcrypt :refer [checkpw!]]
[clojure.data.codec.base64 :as base64]
[clojure.java.jdbc :as jdbc]
[clojure.tools.logging :as logging]
[drtom.logbug.thrown ... | 121509 | ; Copyright (C) 2015 Dr. <NAME> (<EMAIL>, <EMAIL>)
(ns json-roa-demo.basic-auth
(:require
[cider-ci.open-session.bcrypt :refer [checkpw!]]
[clojure.data.codec.base64 :as base64]
[clojure.java.jdbc :as jdbc]
[clojure.tools.logging :as logging]
[drtom.logbug.thrown :as thrown]
[json-roa-demo.r... | true | ; Copyright (C) 2015 Dr. PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI, PI:EMAIL:<EMAIL>END_PI)
(ns json-roa-demo.basic-auth
(:require
[cider-ci.open-session.bcrypt :refer [checkpw!]]
[clojure.data.codec.base64 :as base64]
[clojure.java.jdbc :as jdbc]
[clojure.tools.logging :as logging]
[drtom.lo... |
[
{
"context": " :key-password \"123456\"\n :",
"end": 3107,
"score": 0.9902971386909485,
"start": 3101,
"tag": "PASSWORD",
"value": "123456"
},
{
"context": "let [u \"高性能HTTPServer和Client\"\n url \"... | test/org/httpkit/client_test.clj | pubnub/http-k | 0 | (ns org.httpkit.client-test
(:use clojure.test
[ring.adapter.jetty :only [run-jetty]]
[org.httpkit.server :only [run-server]]
org.httpkit.test-util
[clojure.string :only [split]]
(compojure [core :only [defroutes GET PUT PATCH DELETE POST HEAD
DE... | 118306 | (ns org.httpkit.client-test
(:use clojure.test
[ring.adapter.jetty :only [run-jetty]]
[org.httpkit.server :only [run-server]]
org.httpkit.test-util
[clojure.string :only [split]]
(compojure [core :only [defroutes GET PUT PATCH DELETE POST HEAD
DE... | true | (ns org.httpkit.client-test
(:use clojure.test
[ring.adapter.jetty :only [run-jetty]]
[org.httpkit.server :only [run-server]]
org.httpkit.test-util
[clojure.string :only [split]]
(compojure [core :only [defroutes GET PUT PATCH DELETE POST HEAD
DE... |
[
{
"context": " :swagger/default \"Martin scorcose\"\n }\n ",
"end": 964,
"score": 0.9998953938484192,
"start": 949,
"tag": "NAME",
"value": "Martin scorcose"
},
{
"context": " :actors (creat... | workspace/moviebookingappv3auth/src/clj/moviebookingappv3auth/movies/routes.clj | muthuishere/clojure-web-fundamentals | 0 | (ns moviebookingappv3auth.movies.routes
(:require [schema.core :as s]
[clojure.spec.alpha :as spec]
[spec-tools.core :as spec-core]
[moviebookingappv3auth.movies.handler :refer :all]
)
)
(defn create-with-default [default]
(spec-core/spec
... | 108391 | (ns moviebookingappv3auth.movies.routes
(:require [schema.core :as s]
[clojure.spec.alpha :as spec]
[spec-tools.core :as spec-core]
[moviebookingappv3auth.movies.handler :refer :all]
)
)
(defn create-with-default [default]
(spec-core/spec
... | true | (ns moviebookingappv3auth.movies.routes
(:require [schema.core :as s]
[clojure.spec.alpha :as spec]
[spec-tools.core :as spec-core]
[moviebookingappv3auth.movies.handler :refer :all]
)
)
(defn create-with-default [default]
(spec-core/spec
... |
[
{
"context": "in (time/t -2 1900)\n :max (time/t -2 2100)}\n\n \"anois\"\n (datetime 2013 2 12 4 30 00)\n\n \"inniu\"\n (dat",
"end": 188,
"score": 0.9989504218101501,
"start": 183,
"tag": "NAME",
"value": "anois"
},
{
"context": "0)}\n\n \"anois\"\n (datetime 2013 2 12 4 30 ... | resources/languages/ga/corpus/time.clj | guivn/duckling | 922 | (
; Context map
; Tuesday Feb 12, 2013 at 4:30am is the "now" for the tests
{:reference-time (time/t -2 2013 2 12 4 30 0)
:min (time/t -2 1900)
:max (time/t -2 2100)}
"anois"
(datetime 2013 2 12 4 30 00)
"inniu"
(datetime 2013 2 12)
"inné"
(datetime 2013 2 11)
"arú inné"
(datetime 2013 2... | 61988 | (
; Context map
; Tuesday Feb 12, 2013 at 4:30am is the "now" for the tests
{:reference-time (time/t -2 2013 2 12 4 30 0)
:min (time/t -2 1900)
:max (time/t -2 2100)}
"<NAME>"
(datetime 2013 2 12 4 30 00)
"<NAME>"
(datetime 2013 2 12)
"<NAME>"
(datetime 2013 2 11)
"<NAME>"
(datetime 2013... | true | (
; Context map
; Tuesday Feb 12, 2013 at 4:30am is the "now" for the tests
{:reference-time (time/t -2 2013 2 12 4 30 0)
:min (time/t -2 1900)
:max (time/t -2 2100)}
"PI:NAME:<NAME>END_PI"
(datetime 2013 2 12 4 30 00)
"PI:NAME:<NAME>END_PI"
(datetime 2013 2 12)
"PI:NAME:<NAME>END_PI"
(dateti... |
[
{
"context": " shadow-vertex (.addVertex g (into-array [\"name\" \"The Shadow\"]))\r\n moe-vertex (-> g (.addVertex (into-a",
"end": 395,
"score": 0.8182709217071533,
"start": 385,
"tag": "NAME",
"value": "The Shadow"
},
{
"context": "moe-vertex (-> g (.addVertex (into-array [... | src/tinkerpopbuilder_poc/core.clj | michaeljmcd/tinkerpopbuilder-poc | 0 | (ns tinkerpopbuilder-poc.core
(:import (org.apache.tinkerpop.gremlin.tinkergraph.structure TinkerGraph)
(org.apache.tinkerpop.gremlin.structure.io IoCore))
(:gen-class))
(defn -main
"Build a simple graph of The Shadow's agents and write it out to a .kryo file"
[& args]
(let [g (TinkerGraph... | 67558 | (ns tinkerpopbuilder-poc.core
(:import (org.apache.tinkerpop.gremlin.tinkergraph.structure TinkerGraph)
(org.apache.tinkerpop.gremlin.structure.io IoCore))
(:gen-class))
(defn -main
"Build a simple graph of The Shadow's agents and write it out to a .kryo file"
[& args]
(let [g (TinkerGraph... | true | (ns tinkerpopbuilder-poc.core
(:import (org.apache.tinkerpop.gremlin.tinkergraph.structure TinkerGraph)
(org.apache.tinkerpop.gremlin.structure.io IoCore))
(:gen-class))
(defn -main
"Build a simple graph of The Shadow's agents and write it out to a .kryo file"
[& args]
(let [g (TinkerGraph... |
[
{
"context": "NAME\")]\n {:first (:data (get-first name-data \"GIVN\"))\n :last (:data (get-first name-data \"SURN\"",
"end": 488,
"score": 0.498056024312973,
"start": 486,
"tag": "NAME",
"value": "IV"
},
{
"context": " \"GIVN\"))\n :last (:data (get-first name-data \"SURN... | src/suku_backend/gedcom.clj | jleh/suku-backend | 0 | (ns suku-backend.gedcom
(:require [gedcom.core :as gedcom]))
(defn read-data [path]
(gedcom/parse-gedcom path))
(defn data []
(read-data "suku.ged"))
(defn get-individual-keys [data]
(filter #(re-matches #"@I.*" %) (keys data)))
(defn get-individuals [data]
(map #(get data %) (get-individual-keys data)))
... | 68912 | (ns suku-backend.gedcom
(:require [gedcom.core :as gedcom]))
(defn read-data [path]
(gedcom/parse-gedcom path))
(defn data []
(read-data "suku.ged"))
(defn get-individual-keys [data]
(filter #(re-matches #"@I.*" %) (keys data)))
(defn get-individuals [data]
(map #(get data %) (get-individual-keys data)))
... | true | (ns suku-backend.gedcom
(:require [gedcom.core :as gedcom]))
(defn read-data [path]
(gedcom/parse-gedcom path))
(defn data []
(read-data "suku.ged"))
(defn get-individual-keys [data]
(filter #(re-matches #"@I.*" %) (keys data)))
(defn get-individuals [data]
(map #(get data %) (get-individual-keys data)))
... |
[
{
"context": "; Copyright (C) 2017 Joseph Fosco. All Rights Reserved\n;\n; This program is free ",
"end": 37,
"score": 0.9998372793197632,
"start": 25,
"tag": "NAME",
"value": "Joseph Fosco"
}
] | data/test/clojure/30bd2494934b5f7e69c0b940574dacef8431668dmelody_event.clj | harshp8l/deep-learning-lang-detection | 84 | ; Copyright (C) 2017 Joseph Fosco. All Rights Reserved
;
; This program is free software: you can redistribute it and/or modify
; it under the terms of the GNU General Public License as published by
; the Free Software Foundation, either version 3 of the License, or
; (at your option) any later version.... | 20310 | ; Copyright (C) 2017 <NAME>. All Rights Reserved
;
; This program is free software: you can redistribute it and/or modify
; it under the terms of the GNU General Public License as published by
; the Free Software Foundation, either version 3 of the License, or
; (at your option) any later version.
;
; ... | true | ; Copyright (C) 2017 PI:NAME:<NAME>END_PI. All Rights Reserved
;
; This program is free software: you can redistribute it and/or modify
; it under the terms of the GNU General Public License as published by
; the Free Software Foundation, either version 3 of the License, or
; (at your option) any later ... |
[
{
"context": "gorySignificance\" \"/Normal\"]]\n\t\t(keyval \"eventId=757012 mrt=1122339894099 categorySignificance=/Normal\")\n",
"end": 824,
"score": 0.7472437620162964,
"start": 819,
"tag": "KEY",
"value": "57012"
}
] | test/cefp/test/core.clj | hpsec/cefp | 4 | (ns cefp.test.core
(:use [cefp.cefp :only (cef-parse find-kv keyval symval)])
(:use [clojure.test]))
(deftest test-find-kv
(is (= "k=v" (find-kv "|||||||k=v")))
(is (= "ka=v k2=v\\|" (find-kv "|||||||ka=v k2=v\\|")))
(is (= "kb=v\\|k3=4" (find-kv "|||||||kb=v\\|k3=4")))
)
(deftest test-keyval
(is (=... | 22353 | (ns cefp.test.core
(:use [cefp.cefp :only (cef-parse find-kv keyval symval)])
(:use [clojure.test]))
(deftest test-find-kv
(is (= "k=v" (find-kv "|||||||k=v")))
(is (= "ka=v k2=v\\|" (find-kv "|||||||ka=v k2=v\\|")))
(is (= "kb=v\\|k3=4" (find-kv "|||||||kb=v\\|k3=4")))
)
(deftest test-keyval
(is (=... | true | (ns cefp.test.core
(:use [cefp.cefp :only (cef-parse find-kv keyval symval)])
(:use [clojure.test]))
(deftest test-find-kv
(is (= "k=v" (find-kv "|||||||k=v")))
(is (= "ka=v k2=v\\|" (find-kv "|||||||ka=v k2=v\\|")))
(is (= "kb=v\\|k3=4" (find-kv "|||||||kb=v\\|k3=4")))
)
(deftest test-keyval
(is (=... |
[
{
"context": "tartrek.components.database.interface\n {:author \"David Harrigan\"}\n (:require\n [startrek.components.database.im",
"end": 69,
"score": 0.999878466129303,
"start": 55,
"tag": "NAME",
"value": "David Harrigan"
}
] | src/startrek/components/database/interface.clj | dharrigan/startrek | 17 | (ns startrek.components.database.interface
{:author "David Harrigan"}
(:require
[startrek.components.database.impl :as db]))
(set! *warn-on-reflection* true)
;;
;; Alphabetical order please!
;;
(defn execute
"Execute (and return a single result from) a `sql` side-effecting action on the `datasource`."
([s... | 33924 | (ns startrek.components.database.interface
{:author "<NAME>"}
(:require
[startrek.components.database.impl :as db]))
(set! *warn-on-reflection* true)
;;
;; Alphabetical order please!
;;
(defn execute
"Execute (and return a single result from) a `sql` side-effecting action on the `datasource`."
([sql datas... | true | (ns startrek.components.database.interface
{:author "PI:NAME:<NAME>END_PI"}
(:require
[startrek.components.database.impl :as db]))
(set! *warn-on-reflection* true)
;;
;; Alphabetical order please!
;;
(defn execute
"Execute (and return a single result from) a `sql` side-effecting action on the `datasource`."... |
[
{
"context": " :password password\n ",
"end": 1820,
"score": 0.9989069700241089,
"start": 1812,
"tag": "PASSWORD",
"value": "password"
},
{
"context": "(deftest child-account-validations\n (let [... | test/portal/test/accounts.clj | Purple-Services/portal-service | 4 | (ns portal.test.accounts
(:require [bouncer.core :as b]
[clojure.test :refer [use-fixtures is run-tests deftest testing]]
[common.db :as db]
[common.util :as util]
[portal.accounts :as accounts]
[portal.login :as login]
[portal.users :as users]
... | 103646 | (ns portal.test.accounts
(:require [bouncer.core :as b]
[clojure.test :refer [use-fixtures is run-tests deftest testing]]
[common.db :as db]
[common.util :as util]
[portal.accounts :as accounts]
[portal.login :as login]
[portal.users :as users]
... | true | (ns portal.test.accounts
(:require [bouncer.core :as b]
[clojure.test :refer [use-fixtures is run-tests deftest testing]]
[common.db :as db]
[common.util :as util]
[portal.accounts :as accounts]
[portal.login :as login]
[portal.users :as users]
... |
[
{
"context": "role #:db{:id 17592186045421},\n :password/salt \"��u`sY�\u0006�\u0013�l�EDq\",\n :account/id #uuid\"ffffffff-ffff-ffff-ffff-00",
"end": 915,
"score": 0.9992302060127258,
"start": 899,
"tag": "PASSWORD",
"value": "��u`sY�\u0006�\u0013�l�EDq"
},
{
"context": ":accoun... | src/datomic/com/example/components/database_queries.clj | borkdude/rss-reader-fulcro-demo | 0 | (ns com.example.components.database-queries
(:require
[com.fulcrologic.rad.database-adapters.datomic :as datomic]
[datomic.api :as d]
[taoensso.timbre :as log]
[taoensso.encore :as enc]
[feedly :as f]))
(defn get-all-accounts
[env query-params]
(if-let [db (some-> (get-in env [::datomic/datab... | 41964 | (ns com.example.components.database-queries
(:require
[com.fulcrologic.rad.database-adapters.datomic :as datomic]
[datomic.api :as d]
[taoensso.timbre :as log]
[taoensso.encore :as enc]
[feedly :as f]))
(defn get-all-accounts
[env query-params]
(if-let [db (some-> (get-in env [::datomic/datab... | true | (ns com.example.components.database-queries
(:require
[com.fulcrologic.rad.database-adapters.datomic :as datomic]
[datomic.api :as d]
[taoensso.timbre :as log]
[taoensso.encore :as enc]
[feedly :as f]))
(defn get-all-accounts
[env query-params]
(if-let [db (some-> (get-in env [::datomic/datab... |
[
{
"context": ";; Copyright 2014 Andrey Antukh <niwi@niwi.be>\n;;\n;; Licensed under the Apache Li",
"end": 31,
"score": 0.9998897314071655,
"start": 18,
"tag": "NAME",
"value": "Andrey Antukh"
},
{
"context": ";; Copyright 2014 Andrey Antukh <niwi@niwi.be>\n;;\n;; Licensed under the ... | src/jdbc/pool/dbcp.clj | niwibe/clojure.jdbc-dbcp | 0 | ;; Copyright 2014 Andrey Antukh <niwi@niwi.be>
;;
;; 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 ... | 120854 | ;; Copyright 2014 <NAME> <<EMAIL>>
;;
;; Licensed under the Apache License, Version 2.0 (the "License")
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to... | true | ;; Copyright 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
;;
;; Licensed under the Apache License, Version 2.0 (the "License")
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required b... |
[
{
"context": "ed?, :args any?, :ret boolean?)\n\n;; Copyright 2018 Frederic Merizen\n;;\n;; Licensed under the Apache License, Version ",
"end": 607,
"score": 0.9998759031295776,
"start": 591,
"tag": "NAME",
"value": "Frederic Merizen"
}
] | src/ferje/localized.clj | chourave/clojyday | 0 | ;; Copyright and license information at end of file
(ns ferje.localized
"Protocol for adding a localized description to Jollyday-generated objects"
(:require
[clojure.spec.alpha :as s]))
(defprotocol Localized
"Things that have a :description that can be localized."
(-localize [_ resource-util locale]
... | 89780 | ;; Copyright and license information at end of file
(ns ferje.localized
"Protocol for adding a localized description to Jollyday-generated objects"
(:require
[clojure.spec.alpha :as s]))
(defprotocol Localized
"Things that have a :description that can be localized."
(-localize [_ resource-util locale]
... | true | ;; Copyright and license information at end of file
(ns ferje.localized
"Protocol for adding a localized description to Jollyday-generated objects"
(:require
[clojure.spec.alpha :as s]))
(defprotocol Localized
"Things that have a :description that can be localized."
(-localize [_ resource-util locale]
... |
[
{
"context": ";;; Copyright 2019 Mitchell Kember. Subject to the MIT License.\n\n(ns twenty48.common",
"end": 34,
"score": 0.9998887181282043,
"start": 19,
"tag": "NAME",
"value": "Mitchell Kember"
}
] | src/twenty48/common.clj | mk12/twenty48 | 0 | ;;; Copyright 2019 Mitchell Kember. Subject to the MIT License.
(ns twenty48.common
"Some common functions used by other modules."
(:require [clojure.math.numeric-tower :as math]))
(defn round
"Rounds a number to the nearest integer."
[x]
(int (math/round x)))
(defn interpolate
"Linearly interpolate betw... | 12573 | ;;; Copyright 2019 <NAME>. Subject to the MIT License.
(ns twenty48.common
"Some common functions used by other modules."
(:require [clojure.math.numeric-tower :as math]))
(defn round
"Rounds a number to the nearest integer."
[x]
(int (math/round x)))
(defn interpolate
"Linearly interpolate between two n... | true | ;;; Copyright 2019 PI:NAME:<NAME>END_PI. Subject to the MIT License.
(ns twenty48.common
"Some common functions used by other modules."
(:require [clojure.math.numeric-tower :as math]))
(defn round
"Rounds a number to the nearest integer."
[x]
(int (math/round x)))
(defn interpolate
"Linearly interpolate... |
[
{
"context": "ount)))))\n\n(deftest apply-log\n (is (= (comment [\"Sally:\" :c])\n (apply dev/log\n (i",
"end": 863,
"score": 0.9989648461341858,
"start": 858,
"tag": "NAME",
"value": "Sally"
},
{
"context": " (if (= :a :a)\n [\... | test/default_db_format/test_helpers.clj | chrismurrph/default-db-format | 7 | (ns default-db-format.test-helpers
(:require [clojure.test :refer :all]
[default-db-format.helpers :as help]
[examples.gases :as gases]
[default-db-format.hof :as hof]
[default-db-format.dev :as dev]))
(deftest is-ident
(is (= true
(help/ident-like? [:my/by-... | 87745 | (ns default-db-format.test-helpers
(:require [clojure.test :refer :all]
[default-db-format.helpers :as help]
[examples.gases :as gases]
[default-db-format.hof :as hof]
[default-db-format.dev :as dev]))
(deftest is-ident
(is (= true
(help/ident-like? [:my/by-... | true | (ns default-db-format.test-helpers
(:require [clojure.test :refer :all]
[default-db-format.helpers :as help]
[examples.gases :as gases]
[default-db-format.hof :as hof]
[default-db-format.dev :as dev]))
(deftest is-ident
(is (= true
(help/ident-like? [:my/by-... |
[
{
"context": " steps\n;;;;\n\n(def age\n [\n ;; [person age]\n [\"alice\" 28]\n [\"bob\" 33]\n [\"chris\" 40]\n [\"david\" 25",
"end": 1529,
"score": 0.9994705319404602,
"start": 1524,
"tag": "NAME",
"value": "alice"
},
{
"context": "f age\n [\n ;; [person age]\n [\"a... | nosql/hadoop/cascalog/src/main/clojure/aos/cascalog/core.clj | xuzhikethinker/t4f-data | 1 | /****************************************************************
* Licensed to the AOS Community (AOS) under one or more *
* contributor license agreements. See the NOTICE file *
* distributed with this work for additional information *
* regarding copyright ownership. The AOS licenses this... | 55387 | /****************************************************************
* Licensed to the AOS Community (AOS) under one or more *
* contributor license agreements. See the NOTICE file *
* distributed with this work for additional information *
* regarding copyright ownership. The AOS licenses this... | true | /****************************************************************
* Licensed to the AOS Community (AOS) under one or more *
* contributor license agreements. See the NOTICE file *
* distributed with this work for additional information *
* regarding copyright ownership. The AOS licenses this... |
[
{
"context": "> (s/keys)]\n (let [params #::m.users{:password password :name name}]\n (try\n (a.authenticati",
"end": 1400,
"score": 0.9985081553459167,
"start": 1392,
"tag": "PASSWORD",
"value": "password"
}
] | src/main/dinsro/model/authentication.cljc | duck1123/dinsro | 2 | (ns dinsro.model.authentication
(:require
[clojure.spec.alpha :as s]
[com.fulcrologic.fulcro.components :as comp :refer [defsc]]
#?(:cljs [com.fulcrologic.fulcro.mutations :as fm])
#?(:clj [com.fulcrologic.fulcro.server.api-middleware :refer [augment-response]])
#?(:cljs [com.fulcrologic.fulcro.ui-stat... | 87272 | (ns dinsro.model.authentication
(:require
[clojure.spec.alpha :as s]
[com.fulcrologic.fulcro.components :as comp :refer [defsc]]
#?(:cljs [com.fulcrologic.fulcro.mutations :as fm])
#?(:clj [com.fulcrologic.fulcro.server.api-middleware :refer [augment-response]])
#?(:cljs [com.fulcrologic.fulcro.ui-stat... | true | (ns dinsro.model.authentication
(:require
[clojure.spec.alpha :as s]
[com.fulcrologic.fulcro.components :as comp :refer [defsc]]
#?(:cljs [com.fulcrologic.fulcro.mutations :as fm])
#?(:clj [com.fulcrologic.fulcro.server.api-middleware :refer [augment-response]])
#?(:cljs [com.fulcrologic.fulcro.ui-stat... |
[
{
"context": ";\n; Copyright (C) 2011,2012 Carlo Sciolla\n;\n; Licensed under the Apache License, Version 2.",
"end": 41,
"score": 0.9998420476913452,
"start": 28,
"tag": "NAME",
"value": "Carlo Sciolla"
}
] | src/clojure/alfresco/zip.clj | lambdalf/lambdalf | 11 | ;
; Copyright (C) 2011,2012 Carlo Sciolla
;
; 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... | 104899 | ;
; Copyright (C) 2011,2012 <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 wri... | true | ;
; Copyright (C) 2011,2012 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 ag... |
[
{
"context": "\n (read-geojson test-file) => [{:scientificName \"Aphelandra longiflora\" :decimalLatitude 10.10 :decimalLongitude 20.20 :",
"end": 277,
"score": 0.999883234500885,
"start": 256,
"tag": "NAME",
"value": "Aphelandra longiflora"
},
{
"context": "\n ... | test/dwc_io/geojson_test.clj | biodivdev/dwc | 0 | (ns dwc-io.geojson-test
(:use midje.sweet)
(:use [clojure.data.json :only [read-str write-str]])
(:use dwc-io.geojson))
(def test-file "resources/dwc.geojson")
(fact "Can read geojson into hash-map"
(read-geojson test-file) => [{:scientificName "Aphelandra longiflora" :decimalLatitude 10.10 :decimalLongitude ... | 108106 | (ns dwc-io.geojson-test
(:use midje.sweet)
(:use [clojure.data.json :only [read-str write-str]])
(:use dwc-io.geojson))
(def test-file "resources/dwc.geojson")
(fact "Can read geojson into hash-map"
(read-geojson test-file) => [{:scientificName "<NAME>" :decimalLatitude 10.10 :decimalLongitude 20.20 :locality... | true | (ns dwc-io.geojson-test
(:use midje.sweet)
(:use [clojure.data.json :only [read-str write-str]])
(:use dwc-io.geojson))
(def test-file "resources/dwc.geojson")
(fact "Can read geojson into hash-map"
(read-geojson test-file) => [{:scientificName "PI:NAME:<NAME>END_PI" :decimalLatitude 10.10 :decimalLongitude 2... |
[
{
"context": "on Properties\"\n {:address Address\n :bidder-name Name\n :bidder-address Address\n :offer-date DateTim",
"end": 391,
"score": 0.9736218452453613,
"start": 387,
"tag": "NAME",
"value": "Name"
},
{
"context": "ers on Offers\"\n {:address Address\n :bidder-name ... | example/real_estate/base_relvars.clj | yanatan16/fyra | 30 | (ns real-estate.base-relvars
(:require [fyra.sweet :refer (defrelvar)]
[real-estate.types :refer :all]))
(defrelvar Property
"Basic property information"
{:address Address
:price Price
:photo Filename
:agent Agent
:date-registered DateTime}
:candidate [:address])
(defrelvar Offer
"Of... | 45214 | (ns real-estate.base-relvars
(:require [fyra.sweet :refer (defrelvar)]
[real-estate.types :refer :all]))
(defrelvar Property
"Basic property information"
{:address Address
:price Price
:photo Filename
:agent Agent
:date-registered DateTime}
:candidate [:address])
(defrelvar Offer
"Of... | true | (ns real-estate.base-relvars
(:require [fyra.sweet :refer (defrelvar)]
[real-estate.types :refer :all]))
(defrelvar Property
"Basic property information"
{:address Address
:price Price
:photo Filename
:agent Agent
:date-registered DateTime}
:candidate [:address])
(defrelvar Offer
"Of... |
[
{
"context": "\n (testing :feed\n (is (= (-> pf :author) \"gonzih@gmail.com (Max Gonzih)\"))\n (is (= (-> pf :categories) ",
"end": 529,
"score": 0.9999231696128845,
"start": 513,
"tag": "EMAIL",
"value": "gonzih@gmail.com"
},
{
"context": "d\n (is (= (-> pf :author... | test/feedparser_clj/test/core.clj | audiogum-forks/feedparser-clj | 2 | (ns feedparser-clj.test.core
(:require [clj-time.core :as t]
[clojure.test :refer :all]
[feedparser-clj.core :refer :all :reload true])
(:import [com.rometools.rome.io SyndFeedInput XmlReader]
java.io.InputStreamReader
java.net.URL))
(defn load-feed-fixture [name]
(s... | 37471 | (ns feedparser-clj.test.core
(:require [clj-time.core :as t]
[clojure.test :refer :all]
[feedparser-clj.core :refer :all :reload true])
(:import [com.rometools.rome.io SyndFeedInput XmlReader]
java.io.InputStreamReader
java.net.URL))
(defn load-feed-fixture [name]
(s... | true | (ns feedparser-clj.test.core
(:require [clj-time.core :as t]
[clojure.test :refer :all]
[feedparser-clj.core :refer :all :reload true])
(:import [com.rometools.rome.io SyndFeedInput XmlReader]
java.io.InputStreamReader
java.net.URL))
(defn load-feed-fixture [name]
(s... |
[
{
"context": ";; Copyright 2014-2020 King\n;; Copyright 2009-2014 Ragnar Svensson, Christian Murray\n;; Licensed under the Defold Li",
"end": 111,
"score": 0.9997950196266174,
"start": 96,
"tag": "NAME",
"value": "Ragnar Svensson"
},
{
"context": "-2020 King\n;; Copyright 2009-2014 R... | editor/tasks/leiningen/check_and_exit.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... | 10085 | ;; 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": " {:Type \"Email\" :Value \"cmr@nasa.gov\"}]\n :Add",
"end": 4085,
"score": 0.9999014735221863,
"start": 4073,
"tag": "EMAIL",
"value": "cmr@nasa.gov"
},
{
"context": "ntry \"U.S.A.\"}]}\n ... | umm-spec-lib/test/cmr/umm_spec/test/migration/version/collection.clj | CayvonH/Common-Metadata-Repository | 0 | (ns cmr.umm-spec.test.migration.version.collection
(:require
[clojure.test :refer :all]
[clojure.test.check.generators :as gen]
[cmr.common.mime-types :as mt]
[cmr.common.test.test-check-ext :as ext :refer [defspec]]
[cmr.common.util :refer [remove-empty-maps]]
[cmr.umm-spec.json-schema :as js]
[... | 40672 | (ns cmr.umm-spec.test.migration.version.collection
(:require
[clojure.test :refer :all]
[clojure.test.check.generators :as gen]
[cmr.common.mime-types :as mt]
[cmr.common.test.test-check-ext :as ext :refer [defspec]]
[cmr.common.util :refer [remove-empty-maps]]
[cmr.umm-spec.json-schema :as js]
[... | true | (ns cmr.umm-spec.test.migration.version.collection
(:require
[clojure.test :refer :all]
[clojure.test.check.generators :as gen]
[cmr.common.mime-types :as mt]
[cmr.common.test.test-check-ext :as ext :refer [defspec]]
[cmr.common.util :refer [remove-empty-maps]]
[cmr.umm-spec.json-schema :as js]
[... |
[
{
"context": "name does not already\r\n exist.\"\r\n [{{username \"user-name\" password \"password\"\r\n user-role \"user-role\" ",
"end": 6118,
"score": 0.9996716976165771,
"start": 6109,
"tag": "USERNAME",
"value": "user-name"
},
{
"context": "\r\n exist.\"\r\n [{{username... | src/clj/cwiki/routes/admin.clj | clartaq/cwiki | 3 | ;;;;
;;;; This namespace contains functionality that only an admin user should
;;;; have access to.
;;;;
(ns cwiki.routes.admin
(:require [buddy.hashers :as hashers]
[clj-time.coerce :as c]
[clj-time.core :as t]
[clojure.string :as s]
[compojure.core :refer :... | 51350 | ;;;;
;;;; This namespace contains functionality that only an admin user should
;;;; have access to.
;;;;
(ns cwiki.routes.admin
(:require [buddy.hashers :as hashers]
[clj-time.coerce :as c]
[clj-time.core :as t]
[clojure.string :as s]
[compojure.core :refer :... | true | ;;;;
;;;; This namespace contains functionality that only an admin user should
;;;; have access to.
;;;;
(ns cwiki.routes.admin
(:require [buddy.hashers :as hashers]
[clj-time.coerce :as c]
[clj-time.core :as t]
[clojure.string :as s]
[compojure.core :refer :... |
[
{
"context": ";; Copyright Fabian Schneider and Gunnar Völkel © 2014-2020\n;;\n;; Permission is",
"end": 29,
"score": 0.9998500347137451,
"start": 13,
"tag": "NAME",
"value": "Fabian Schneider"
},
{
"context": ";; Copyright Fabian Schneider and Gunnar Völkel © 2014-2020\n;;\n;; Permi... | src/traqbio/common.clj | sysbio-bioinf/iBioTraq | 2 | ;; Copyright Fabian Schneider and Gunnar Völkel © 2014-2020
;;
;; 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,... | 23146 | ;; Copyright <NAME> and <NAME> © 2014-2020
;;
;; 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... | true | ;; Copyright PI:NAME:<NAME>END_PI and PI:NAME:<NAME>END_PI © 2014-2020
;;
;; Permission is hereby granted, free of charge, to any person obtaining a copy
;; of this software and associated documentation files (the "Software"), to deal
;; in the Software without restriction, including without limitation the rights
;; to... |
[
{
"context": "ate :corp)\n (play-from-hand state :runner \"Gravedigger\")\n (let [credits (:credit (get-co",
"end": 2157,
"score": 0.7347122430801392,
"start": 2155,
"tag": "USERNAME",
"value": "Gr"
},
{
"context": "e :corp)\n (play-from-hand state :runner \"Grav... | test/clj/game/cards/assets_test.clj | bagl/netrunner | 0 | (ns game.cards.assets-test
(:require [game.core :as core]
[game.core.card :refer :all]
[game.utils :as utils]
[game.core-test :refer :all]
[game.utils-test :refer :all]
[game.macros-test :refer :all]
[clojure.test :refer :all]))
(deftest adonis-... | 101206 | (ns game.cards.assets-test
(:require [game.core :as core]
[game.core.card :refer :all]
[game.utils :as utils]
[game.core-test :refer :all]
[game.utils-test :refer :all]
[game.macros-test :refer :all]
[clojure.test :refer :all]))
(deftest adonis-... | true | (ns game.cards.assets-test
(:require [game.core :as core]
[game.core.card :refer :all]
[game.utils :as utils]
[game.core-test :refer :all]
[game.utils-test :refer :all]
[game.macros-test :refer :all]
[clojure.test :refer :all]))
(deftest adonis-... |
[
{
"context": ";; Copyright (c) 2013-2017, Kenneth Leung. All rights reserved.\n;; The use and distribution",
"end": 41,
"score": 0.9998770952224731,
"start": 28,
"tag": "NAME",
"value": "Kenneth Leung"
},
{
"context": "from this software.\n\n(ns ^{:doc \"\"\n :author \"Kenneth L... | src/test/clojure/czlab/test/loki/test.clj | llnek/loki | 0 | ;; Copyright (c) 2013-2017, Kenneth Leung. 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... | 121237 | ;; Copyright (c) 2013-2017, <NAME>. All rights reserved.
;; The use and distribution terms for this software are covered by the
;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
;; which can be found in the file epl-v10.html at the root of this distribution.
;; By using this software in any... | true | ;; Copyright (c) 2013-2017, 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 s... |
[
{
"context": "! *unchecked-math* :warn-on-boxed)\n(ns ^{:author \"wahpenayo at gmail dot com\" \n :date \"2018-02-09\"\n ",
"end": 96,
"score": 0.7338429093360901,
"start": 87,
"tag": "EMAIL",
"value": "wahpenayo"
},
{
"context": "-math* :warn-on-boxed)\n(ns ^{:author \"wahp... | src/main/clojure/zana/collections/generic.clj | wahpenayo/zana | 2 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "wahpenayo at gmail dot com"
:date "2018-02-09"
:doc
"Generic versions of clojure functions.
Some implemented with defmulti, some with defprotocol,
some by hand.
<br>
Naming convention:... | 38261 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "<EMAIL> at <EMAIL>"
:date "2018-02-09"
:doc
"Generic versions of clojure functions.
Some implemented with defmulti, some with defprotocol,
some by hand.
<br>
Naming convention:
... | true | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "PI:EMAIL:<EMAIL>END_PI at PI:EMAIL:<EMAIL>END_PI"
:date "2018-02-09"
:doc
"Generic versions of clojure functions.
Some implemented with defmulti, some with defprotocol,
some by hand.
<br>
... |
[
{
"context": "n common]))\n\n;; /**\n;; \"Unpack FFT\" UGens (c) 2007 Dan Stowell.\n;; Magical UGens for treating FFT data as demand",
"end": 150,
"score": 0.9989993572235107,
"start": 139,
"tag": "NAME",
"value": "Dan Stowell"
}
] | src/overtone/sc/machinery/ugen/metadata/fft_unpacking.clj | samaaron/overtone | 2 | (ns overtone.sc.machinery.ugen.metadata.fft-unpacking
(:use [overtone.sc.machinery.ugen common]))
;; /**
;; "Unpack FFT" UGens (c) 2007 Dan Stowell.
;; Magical UGens for treating FFT data as demand-rate streams.
;; */
(def specs
[
;; // Actually this just wraps up a bundle of Unpack1FFT UGens
;; Un... | 62120 | (ns overtone.sc.machinery.ugen.metadata.fft-unpacking
(:use [overtone.sc.machinery.ugen common]))
;; /**
;; "Unpack FFT" UGens (c) 2007 <NAME>.
;; Magical UGens for treating FFT data as demand-rate streams.
;; */
(def specs
[
;; // Actually this just wraps up a bundle of Unpack1FFT UGens
;; UnpackF... | true | (ns overtone.sc.machinery.ugen.metadata.fft-unpacking
(:use [overtone.sc.machinery.ugen common]))
;; /**
;; "Unpack FFT" UGens (c) 2007 PI:NAME:<NAME>END_PI.
;; Magical UGens for treating FFT data as demand-rate streams.
;; */
(def specs
[
;; // Actually this just wraps up a bundle of Unpack1FFT UGens
... |
[
{
"context": "esponse-B (make-request :post \"/planets\" {\"name\" \"Alderaan\", \"climate\" \"temperate\", \"terrain\" 1})\n ",
"end": 2162,
"score": 0.9832298755645752,
"start": 2154,
"tag": "NAME",
"value": "Alderaan"
},
{
"context": "esponse-C (make-request :post \"/plan... | test/test_planets_api/e2e/planets_test.clj | cirochang/planets-api | 0 | (ns test-planets-api.e2e.planets-test
(:require [clojure.test :refer :all]
[test-planets-api.helpers.fixtures :refer [tmp-db-init tmp-db-clean]]
[test-planets-api.helpers.utils :refer [make-request submap?]]
[test-planets-api.helpers.factories :as factory]
[cheshire.cor... | 76756 | (ns test-planets-api.e2e.planets-test
(:require [clojure.test :refer :all]
[test-planets-api.helpers.fixtures :refer [tmp-db-init tmp-db-clean]]
[test-planets-api.helpers.utils :refer [make-request submap?]]
[test-planets-api.helpers.factories :as factory]
[cheshire.cor... | true | (ns test-planets-api.e2e.planets-test
(:require [clojure.test :refer :all]
[test-planets-api.helpers.fixtures :refer [tmp-db-init tmp-db-clean]]
[test-planets-api.helpers.utils :refer [make-request submap?]]
[test-planets-api.helpers.factories :as factory]
[cheshire.cor... |
[
{
"context": "-json)\n (res)))\n\n(def ^{:href-params {:user \"user\" :pass \"pass\"}}\nbasic-auth \"Challenges HTTPBasic ",
"end": 7331,
"score": 0.9948132634162903,
"start": 7327,
"tag": "USERNAME",
"value": "user"
},
{
"context": "(res)))\n\n(def ^{:href-params {:user \"user\... | cljsbin/src/cljsbin/endpoints.cljs | macchiato-framework/examples | 33 | (ns cljsbin.endpoints
(:require
[clojure.string]
[cljs.nodejs :as node]
[macchiato.middleware.node-middleware :refer [wrap-node-middleware]]
[macchiato.util.response :as r]
[macchiato.util.request :refer [request-url body-string]]
[camel-snake-kebab.core :refer [->HTTP-Header-Case]]
[cljsb... | 91596 | (ns cljsbin.endpoints
(:require
[clojure.string]
[cljs.nodejs :as node]
[macchiato.middleware.node-middleware :refer [wrap-node-middleware]]
[macchiato.util.response :as r]
[macchiato.util.request :refer [request-url body-string]]
[camel-snake-kebab.core :refer [->HTTP-Header-Case]]
[cljsb... | true | (ns cljsbin.endpoints
(:require
[clojure.string]
[cljs.nodejs :as node]
[macchiato.middleware.node-middleware :refer [wrap-node-middleware]]
[macchiato.util.response :as r]
[macchiato.util.request :refer [request-url body-string]]
[camel-snake-kebab.core :refer [->HTTP-Header-Case]]
[cljsb... |
[
{
"context": "(defproject bbakersmith/simple-batch-processor \"2.0.0\"\n :description \"A ",
"end": 23,
"score": 0.995099663734436,
"start": 12,
"tag": "USERNAME",
"value": "bbakersmith"
},
{
"context": "m to batch processor.\"\n :url \"https://github.com/bbakersmith/simple-batch-p... | project.clj | bbakersmith/simple-batch-processor | 0 | (defproject bbakersmith/simple-batch-processor "2.0.0"
:description "A simple Clojure stream to batch processor."
:url "https://github.com/bbakersmith/simple-batch-processor"
:license {:name "Apache License"
:url "http://www.apache.org/licenses/LICENSE-2.0"}
:dependencies [[org.clojure/clojure "1.7.... | 72381 | (defproject bbakersmith/simple-batch-processor "2.0.0"
:description "A simple Clojure stream to batch processor."
:url "https://github.com/bbakersmith/simple-batch-processor"
:license {:name "Apache License"
:url "http://www.apache.org/licenses/LICENSE-2.0"}
:dependencies [[org.clojure/clojure "1.7.... | true | (defproject bbakersmith/simple-batch-processor "2.0.0"
:description "A simple Clojure stream to batch processor."
:url "https://github.com/bbakersmith/simple-batch-processor"
:license {:name "Apache License"
:url "http://www.apache.org/licenses/LICENSE-2.0"}
:dependencies [[org.clojure/clojure "1.7.... |
[
{
"context": " :seq 23\n :attachments [{:title \"Daniel's Location\"\n :url \"",
"end": 2719,
"score": 0.864270031452179,
"start": 2711,
"tag": "NAME",
"value": "Daniel's"
}
] | test/bartbot/fb/core_test.clj | taeold/bartbot | 0 | (ns bartbot.fb.core-test
(:require
[clojure.test :refer :all]
[clj-http.client :as client]
[bartbot.config :refer [config]]
[bartbot.core :as core]
[bartbot.fb.core :as fcore]
[bartbot.fb.templates :as tmpl]))
(deftest test-send-message
(with-redefs [config (delay {:api {:fb {:graph {:page-... | 110646 | (ns bartbot.fb.core-test
(:require
[clojure.test :refer :all]
[clj-http.client :as client]
[bartbot.config :refer [config]]
[bartbot.core :as core]
[bartbot.fb.core :as fcore]
[bartbot.fb.templates :as tmpl]))
(deftest test-send-message
(with-redefs [config (delay {:api {:fb {:graph {:page-... | true | (ns bartbot.fb.core-test
(:require
[clojure.test :refer :all]
[clj-http.client :as client]
[bartbot.config :refer [config]]
[bartbot.core :as core]
[bartbot.fb.core :as fcore]
[bartbot.fb.templates :as tmpl]))
(deftest test-send-message
(with-redefs [config (delay {:api {:fb {:graph {:page-... |
[
{
"context": "(:status (app (request :post \"/users\" {:password \"password\"}))) => 406\n (:status (app (request :post ",
"end": 368,
"score": 0.9995480179786682,
"start": 360,
"tag": "PASSWORD",
"value": "password"
},
{
"context": "(:status (app (request :post \"/users\" {:u... | test/ebay/test/routes/users.clj | bocuma/ebby-sniper-api | 2 | (ns ebay.test.routes.users
(:use midje.sweet
ring.mock.request
ebay.test.support.helpers
ebay.handler))
(with-state-changes [(after :facts (delete-recursively))]
(facts "the users api"
(facts "POST /users"
(facts "when sending an invalid user it returns 406"
(:status (... | 55009 | (ns ebay.test.routes.users
(:use midje.sweet
ring.mock.request
ebay.test.support.helpers
ebay.handler))
(with-state-changes [(after :facts (delete-recursively))]
(facts "the users api"
(facts "POST /users"
(facts "when sending an invalid user it returns 406"
(:status (... | true | (ns ebay.test.routes.users
(:use midje.sweet
ring.mock.request
ebay.test.support.helpers
ebay.handler))
(with-state-changes [(after :facts (delete-recursively))]
(facts "the users api"
(facts "POST /users"
(facts "when sending an invalid user it returns 406"
(:status (... |
[
{
"context": "d tests\n(delete-all token-table)\n\n(def api-token \"ba7d93beb5de7820764e\")\n\n(def test-token {:username \"timgluz\"\n ",
"end": 4299,
"score": 0.9319984912872314,
"start": 4279,
"tag": "PASSWORD",
"value": "ba7d93beb5de7820764e"
},
{
"context": "7d93beb5de78... | data/train/clojure/1fd032697d98c6aa9215f4ef861148fda1ad4a56manage_api_test.clj | harshp8l/deep-learning-lang-detection | 84 | (ns herald.tests.use-cases.manage-api-test
(:require [midje.sweet :refer :all]
[clj-sql-up.migrate :refer [migrate rollback]]
[herald.db :as db]
[herald.use-cases.manage-api :as uc-api]
[herald.models [api :as api-mdl]
[token :as token-mdl]
... | 112524 | (ns herald.tests.use-cases.manage-api-test
(:require [midje.sweet :refer :all]
[clj-sql-up.migrate :refer [migrate rollback]]
[herald.db :as db]
[herald.use-cases.manage-api :as uc-api]
[herald.models [api :as api-mdl]
[token :as token-mdl]
... | true | (ns herald.tests.use-cases.manage-api-test
(:require [midje.sweet :refer :all]
[clj-sql-up.migrate :refer [migrate rollback]]
[herald.db :as db]
[herald.use-cases.manage-api :as uc-api]
[herald.models [api :as api-mdl]
[token :as token-mdl]
... |
[
{
"context": "ault-user (ebay.models.user/map->User {:username \"username\" :password \"password\" :user-id 8}))\n\n(facts \"abou",
"end": 147,
"score": 0.9994310736656189,
"start": 139,
"tag": "USERNAME",
"value": "username"
},
{
"context": "s.user/map->User {:username \"username\" ... | test/ebay/test/models/user.clj | bocuma/ebby-sniper-api | 2 | (ns ebay.test.models.user
(:use midje.sweet)
(:require [ebay.models.user]))
(def default-user (ebay.models.user/map->User {:username "username" :password "password" :user-id 8}))
(facts "about the user model"
(let [user default-user]
(facts "it stores the username"
(:username user) => "username")
... | 74561 | (ns ebay.test.models.user
(:use midje.sweet)
(:require [ebay.models.user]))
(def default-user (ebay.models.user/map->User {:username "username" :password "<PASSWORD>" :user-id 8}))
(facts "about the user model"
(let [user default-user]
(facts "it stores the username"
(:username user) => "username")
... | true | (ns ebay.test.models.user
(:use midje.sweet)
(:require [ebay.models.user]))
(def default-user (ebay.models.user/map->User {:username "username" :password "PI:PASSWORD:<PASSWORD>END_PI" :user-id 8}))
(facts "about the user model"
(let [user default-user]
(facts "it stores the username"
(:username user)... |
[
{
"context": "filename product.jar \\\\\n :username \\\"LKJOI...\\\" :passphrase \\\"lklkasjdl...\\\"\n\"))\n\n(defn merg",
"end": 3377,
"score": 0.9770190119743347,
"start": 3372,
"tag": "USERNAME",
"value": "LKJOI"
},
{
"context": " :username \\\"LKJOI...\\... | data/test/clojure/80e490f75f093548798c786634ef3d20a2452d04s3_repo.clj | harshp8l/deep-learning-lang-detection | 84 | (ns leiningen.s3-repo
(:require [leiningen.core.main :as main]
[leiningen.core.classpath :refer [add-repo-auth]]
[clojure.java.io :as io]
[cemerick.pomegranate.aether :as aether]))
(def +USERNAME-ENV-VAR+ "S3_REPO_USERNAME")
(def +PASSPHRASE-ENV-VAR+ "S3_REPO_PASSPHRASE")
;; Sn... | 111275 | (ns leiningen.s3-repo
(:require [leiningen.core.main :as main]
[leiningen.core.classpath :refer [add-repo-auth]]
[clojure.java.io :as io]
[cemerick.pomegranate.aether :as aether]))
(def +USERNAME-ENV-VAR+ "S3_REPO_USERNAME")
(def +PASSPHRASE-ENV-VAR+ "S3_REPO_PASSPHRASE")
;; Sn... | true | (ns leiningen.s3-repo
(:require [leiningen.core.main :as main]
[leiningen.core.classpath :refer [add-repo-auth]]
[clojure.java.io :as io]
[cemerick.pomegranate.aether :as aether]))
(def +USERNAME-ENV-VAR+ "S3_REPO_USERNAME")
(def +PASSPHRASE-ENV-VAR+ "S3_REPO_PASSPHRASE")
;; Sn... |
[
{
"context": "an \"Italian\"]\n restaurants [{:name \"Test 1\" :address \"Address 1\" :city \"City\" :zip \"12345\" :",
"end": 4459,
"score": 0.5106067061424255,
"start": 4458,
"tag": "NAME",
"value": "1"
}
] | test/nosoup_clj/util_test.clj | edporras/nosoup-clj | 0 | (ns nosoup-clj.util-test
(:require [clojure.java.io :as io]
[clojure.string :as str]
[clojure.test :refer [deftest is are testing use-fixtures]]
[java-time :as t]
[nosoup-clj.core :as nosoup]
[nosoup-clj.util :as sut]
... | 124042 | (ns nosoup-clj.util-test
(:require [clojure.java.io :as io]
[clojure.string :as str]
[clojure.test :refer [deftest is are testing use-fixtures]]
[java-time :as t]
[nosoup-clj.core :as nosoup]
[nosoup-clj.util :as sut]
... | true | (ns nosoup-clj.util-test
(:require [clojure.java.io :as io]
[clojure.string :as str]
[clojure.test :refer [deftest is are testing use-fixtures]]
[java-time :as t]
[nosoup-clj.core :as nosoup]
[nosoup-clj.util :as sut]
... |
[
{
"context": "ID_AUTH_API_HOST\")})\n (let [secret \"my super secret password\"\n verified-credential (zk \"verifiableFromS",
"end": 850,
"score": 0.9721471071243286,
"start": 826,
"tag": "PASSWORD",
"value": "my super secret password"
}
] | test/nuid/sdk/api/auth_test.clj | NuID/sdk-clojure | 2 | (ns nuid.sdk.api.auth-test
(:require
[clojure.java.shell :as shell]
[clojure.string :as string]
[clojure.test :as t]
[dotenv :refer [env]]
[jsonista.core :as json]
[nuid.base64 :as base64]
[nuid.sdk.api.auth :as auth]))
(defn zk
[command & args]
(->> (json/write-value-as-string args)
... | 8479 | (ns nuid.sdk.api.auth-test
(:require
[clojure.java.shell :as shell]
[clojure.string :as string]
[clojure.test :as t]
[dotenv :refer [env]]
[jsonista.core :as json]
[nuid.base64 :as base64]
[nuid.sdk.api.auth :as auth]))
(defn zk
[command & args]
(->> (json/write-value-as-string args)
... | true | (ns nuid.sdk.api.auth-test
(:require
[clojure.java.shell :as shell]
[clojure.string :as string]
[clojure.test :as t]
[dotenv :refer [env]]
[jsonista.core :as json]
[nuid.base64 :as base64]
[nuid.sdk.api.auth :as auth]))
(defn zk
[command & args]
(->> (json/write-value-as-string args)
... |
[
{
"context": " under the License.\r\n;;\r\n;; Copyright © 2013-2022, Kenneth Leung. All rights reserved.\r\n\r\n(ns czlab.bixby.demo.pop",
"end": 609,
"score": 0.9998708963394165,
"start": 596,
"tag": "NAME",
"value": "Kenneth Leung"
}
] | src/main/clojure/czlab/bixby/demo/pop3/core.clj | llnek/skaro | 0 | ;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writing, software
;; distr... | 34171 | ;; 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
;; distr... | 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
;; distr... |
[
{
"context": " for clojure projects.\"\n :url \"http://github.com/iotemplates/clojure-template\"\n :license {:name \"Apache Licen",
"end": 139,
"score": 0.9996184706687927,
"start": 128,
"tag": "USERNAME",
"value": "iotemplates"
},
{
"context": "NSE-2.0\"\n :year 2020\n ... | project.clj | iotemplates/clojure-template | 0 | (defproject clojure-template "0.1.0-SNAPSHOT"
:description "A basic template for clojure projects."
:url "http://github.com/iotemplates/clojure-template"
:license {:name "Apache License 2.0"
:url "https://www.apache.org/licenses/LICENSE-2.0"
:year 2020
:key "apache-2.0"}
:dep... | 23299 | (defproject clojure-template "0.1.0-SNAPSHOT"
:description "A basic template for clojure projects."
:url "http://github.com/iotemplates/clojure-template"
:license {:name "Apache License 2.0"
:url "https://www.apache.org/licenses/LICENSE-2.0"
:year 2020
:key "<KEY>"}
:dependen... | true | (defproject clojure-template "0.1.0-SNAPSHOT"
:description "A basic template for clojure projects."
:url "http://github.com/iotemplates/clojure-template"
:license {:name "Apache License 2.0"
:url "https://www.apache.org/licenses/LICENSE-2.0"
:year 2020
:key "PI:KEY:<KEY>END_PI"... |
[
{
"context": "asks, they require task-specific\n;; architectures. Devlin, Jacob, et al proposed BERT (Bidirectional\n;; Enc",
"end": 2586,
"score": 0.9997581243515015,
"start": 2580,
"tag": "NAME",
"value": "Devlin"
},
{
"context": "ey require task-specific\n;; architectures. Devlin,... | contrib/clojure-package/examples/bert/src/bert/bert_sentence_classification.clj | mchoi8739/incubator-mxnet | 48 | ;;
;; Licensed to the Apache Software Foundation (ASF) under one or more
;; contributor license agreements. See the NOTICE file distributed with
;; this work for additional information regarding copyright ownership.
;; The ASF licenses this file to You under the Apache License, Version 2.0
;; (the "License"); you may ... | 10491 | ;;
;; Licensed to the Apache Software Foundation (ASF) under one or more
;; contributor license agreements. See the NOTICE file distributed with
;; this work for additional information regarding copyright ownership.
;; The ASF licenses this file to You under the Apache License, Version 2.0
;; (the "License"); you may ... | true | ;;
;; Licensed to the Apache Software Foundation (ASF) under one or more
;; contributor license agreements. See the NOTICE file distributed with
;; this work for additional information regarding copyright ownership.
;; The ASF licenses this file to You under the Apache License, Version 2.0
;; (the "License"); you may ... |
[
{
"context": "go-exoscale-white-201711.svg\")\n\n(def enter-key\n 13)\n\n(defn epoch->age\n [epoch]\n (.fromNow (js/mome",
"end": 331,
"score": 0.7753434181213379,
"start": 330,
"tag": "KEY",
"value": "3"
}
] | src/cljs/pullq/views.cljs | exoscale/pullq | 9 | (ns pullq.views
(:require
[clojure.string :as str]
[re-frame.core :as re-frame]
[pullq.events :as events]
[pullq.subs :as subs]
[soda-ash.core :as sa]
[reagent.core :as reagent]
[cljsjs.moment]))
(def exoscale-logo
"https://www.exoscale.com/static/img/logo-exoscale-white-201711.svg")
(def ent... | 62550 | (ns pullq.views
(:require
[clojure.string :as str]
[re-frame.core :as re-frame]
[pullq.events :as events]
[pullq.subs :as subs]
[soda-ash.core :as sa]
[reagent.core :as reagent]
[cljsjs.moment]))
(def exoscale-logo
"https://www.exoscale.com/static/img/logo-exoscale-white-201711.svg")
(def ent... | true | (ns pullq.views
(:require
[clojure.string :as str]
[re-frame.core :as re-frame]
[pullq.events :as events]
[pullq.subs :as subs]
[soda-ash.core :as sa]
[reagent.core :as reagent]
[cljsjs.moment]))
(def exoscale-logo
"https://www.exoscale.com/static/img/logo-exoscale-white-201711.svg")
(def ent... |
[
{
"context": ";; Copyright (c) Andrew A. Raines\n;;\n;; Permission is hereby granted, free of charg",
"end": 33,
"score": 0.9998752474784851,
"start": 17,
"tag": "NAME",
"value": "Andrew A. Raines"
}
] | test/postal/test/stress.clj | poenneby/postal | 371 | ;; Copyright (c) Andrew A. Raines
;;
;; 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... | 111721 | ;; Copyright (c) <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, distribu... | true | ;; Copyright (c) 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, pub... |
[
{
"context": ";; Copyright © 2013-2019, Kenneth Leung. All rights reserved.\n;; The use and distribution",
"end": 39,
"score": 0.9998855590820312,
"start": 26,
"tag": "NAME",
"value": "Kenneth Leung"
},
{
"context": "\"Country-codes and country-names.\"\n :author \"Kenneth Leung... | attic/codes.clj | llnek/skaro | 0 | ;; Copyright © 2013-2019, Kenneth Leung. 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 i... | 7444 | ;; Copyright © 2013-2019, <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 f... | true | ;; Copyright © 2013-2019, 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 sof... |
[
{
"context": "native/functions.cljs#L128-L145\n; Copyright © 2014 Chris Zheng\n(defn js-equals [v1 v2]\n (or (= v1 v2)\n (or",
"end": 825,
"score": 0.9996691942214966,
"start": 814,
"tag": "NAME",
"value": "Chris Zheng"
}
] | test/src/tests/devtools/tests/utils/test.cljs | MawiraIke/cljs-devtools | 1,125 | (ns devtools.tests.utils.test
(:require-macros [devtools.oops :refer [oset oget unchecked-aget]])
(:require [cljs.test :refer-macros [is]]
[clojure.walk :refer [postwalk]]
[cljs.pprint :refer [pprint]]
[goog.array :as garr]
[goog.object :as gobj]
[devtools... | 49602 | (ns devtools.tests.utils.test
(:require-macros [devtools.oops :refer [oset oget unchecked-aget]])
(:require [cljs.test :refer-macros [is]]
[clojure.walk :refer [postwalk]]
[cljs.pprint :refer [pprint]]
[goog.array :as garr]
[goog.object :as gobj]
[devtools... | true | (ns devtools.tests.utils.test
(:require-macros [devtools.oops :refer [oset oget unchecked-aget]])
(:require [cljs.test :refer-macros [is]]
[clojure.walk :refer [postwalk]]
[cljs.pprint :refer [pprint]]
[goog.array :as garr]
[goog.object :as gobj]
[devtools... |
[
{
"context": "2.11.1\"]]\n\n :env {:phoenix-password \"api$pass7!\"\n :phoenix-user \"api@foxcommer",
"end": 751,
"score": 0.9993101358413696,
"start": 742,
"tag": "PASSWORD",
"value": "api$pass7"
},
{
"context": " \"api$pass7!\"\n ... | messaging/project.clj | FoxComm/highlander | 10 | (defproject
foxcomm_messaging
"0.1.0"
:plugins [
[lein-environ "1.1.0"]
[lein-cljfmt "0.5.6"]
]
:target-path "target/%s/"
:compile-path "%s/classy-files"
:clean-targets [:target-path :compile-path]
:profiles {:uberjar {:target-path "target/"
:aot :all}
:dev
... | 91337 | (defproject
foxcomm_messaging
"0.1.0"
:plugins [
[lein-environ "1.1.0"]
[lein-cljfmt "0.5.6"]
]
:target-path "target/%s/"
:compile-path "%s/classy-files"
:clean-targets [:target-path :compile-path]
:profiles {:uberjar {:target-path "target/"
:aot :all}
:dev
... | true | (defproject
foxcomm_messaging
"0.1.0"
:plugins [
[lein-environ "1.1.0"]
[lein-cljfmt "0.5.6"]
]
:target-path "target/%s/"
:compile-path "%s/classy-files"
:clean-targets [:target-path :compile-path]
:profiles {:uberjar {:target-path "target/"
:aot :all}
:dev
... |
[
{
"context": "[make-url]]))\n\n(def url :fake-url)\n(def username :fake-username)\n(def password :fake-password)\n(def org-name :fak",
"end": 307,
"score": 0.9984541535377502,
"start": 294,
"tag": "USERNAME",
"value": "fake-username"
},
{
"context": "url)\n(def username :fake-usernam... | test/clj/milia/api/organization_test.clj | onaio/milia | 9 | (ns milia.api.organization-test
(:refer-clojure :exclude [update])
(:require [midje.sweet :refer :all]
[milia.api.organization :refer :all]
[milia.api.http :refer [parse-http]]
[milia.utils.remote :refer [make-url]]))
(def url :fake-url)
(def username :fake-username)
(def passwo... | 3636 | (ns milia.api.organization-test
(:refer-clojure :exclude [update])
(:require [midje.sweet :refer :all]
[milia.api.organization :refer :all]
[milia.api.http :refer [parse-http]]
[milia.utils.remote :refer [make-url]]))
(def url :fake-url)
(def username :fake-username)
(def passwo... | true | (ns milia.api.organization-test
(:refer-clojure :exclude [update])
(:require [midje.sweet :refer :all]
[milia.api.organization :refer :all]
[milia.api.http :refer [parse-http]]
[milia.utils.remote :refer [make-url]]))
(def url :fake-url)
(def username :fake-username)
(def passwo... |
[
{
"context": " :href \"manual-fr\"}\n :author #::h{:name \"John Smith\" ;; <meta name=\"author\">John Smith</meta>\n ",
"end": 6402,
"score": 0.9997786283493042,
"start": 6392,
"tag": "NAME",
"value": "John Smith"
},
{
"context": " #::h{:name \"John Smith\" ;; <meta ... | test/system/clj/miraj/html/test_meta.clj | miraj-project/miraj.html | 2 | (ns miraj.html.test-meta
(:require [miraj.co-dom :as codom]
[miraj.html :as h]
[miraj.html.x.apple :as apple]
[miraj.html.x.ms :as ms]
;; [miraj.polymer :as p]
:reload))
(def apple-meta
#::apple{:mobile #::apple{:status-bar-style :black
... | 71589 | (ns miraj.html.test-meta
(:require [miraj.co-dom :as codom]
[miraj.html :as h]
[miraj.html.x.apple :as apple]
[miraj.html.x.ms :as ms]
;; [miraj.polymer :as p]
:reload))
(def apple-meta
#::apple{:mobile #::apple{:status-bar-style :black
... | true | (ns miraj.html.test-meta
(:require [miraj.co-dom :as codom]
[miraj.html :as h]
[miraj.html.x.apple :as apple]
[miraj.html.x.ms :as ms]
;; [miraj.polymer :as p]
:reload))
(def apple-meta
#::apple{:mobile #::apple{:status-bar-style :black
... |
[
{
"context": "ion\n; Lineare temporale Logik\n; Copyright (c) 2017 Burkhardt Renz, THM. All rights reserved.\n\n(ns pres.ltl\n (:requ",
"end": 99,
"score": 0.9998676180839539,
"start": 85,
"tag": "NAME",
"value": "Burkhardt Renz"
}
] | src/pres/ltl.clj | esb-lwb/lwb | 22 | ; lwb Logic WorkBench -- Präsentation
; Lineare temporale Logik
; Copyright (c) 2017 Burkhardt Renz, THM. All rights reserved.
(ns pres.ltl
(:require [lwb.ltl :refer :all])
(:require [lwb.ltl.eval :refer :all])
(:require [lwb.ltl.kripke :as kripke])
(:require [lwb.ltl.sat :refer [sat sat? valid?]])
)
; Synt... | 38073 | ; lwb Logic WorkBench -- Präsentation
; Lineare temporale Logik
; Copyright (c) 2017 <NAME>, THM. All rights reserved.
(ns pres.ltl
(:require [lwb.ltl :refer :all])
(:require [lwb.ltl.eval :refer :all])
(:require [lwb.ltl.kripke :as kripke])
(:require [lwb.ltl.sat :refer [sat sat? valid?]])
)
; Syntax =====... | true | ; lwb Logic WorkBench -- Präsentation
; Lineare temporale Logik
; Copyright (c) 2017 PI:NAME:<NAME>END_PI, THM. All rights reserved.
(ns pres.ltl
(:require [lwb.ltl :refer :all])
(:require [lwb.ltl.eval :refer :all])
(:require [lwb.ltl.kripke :as kripke])
(:require [lwb.ltl.sat :refer [sat sat? valid?]])
)
... |
[
{
"context": " (s/context)\n \"user1\"\n [plain-group-concept-id2 pla",
"end": 2652,
"score": 0.9787894487380981,
"start": 2647,
"tag": "USERNAME",
"value": "user1"
},
{
"context": "in-group-concept-id])\n non-existant-toke... | system-int-test/test/cmr/system_int_test/ingest/provider_ingest_permissions_test.clj | mschmele/Common-Metadata-Repository | 0 | (ns cmr.system-int-test.ingest.provider-ingest-permissions-test
"Verifies the correct provider ingest permissions are enforced"
(:require
[clojure.test :refer :all]
[cmr.mock-echo.client.echo-util :as e]
[cmr.system-int-test.data2.core :as d]
[cmr.system-int-test.data2.granule :as dg]
[cmr.syste... | 106286 | (ns cmr.system-int-test.ingest.provider-ingest-permissions-test
"Verifies the correct provider ingest permissions are enforced"
(:require
[clojure.test :refer :all]
[cmr.mock-echo.client.echo-util :as e]
[cmr.system-int-test.data2.core :as d]
[cmr.system-int-test.data2.granule :as dg]
[cmr.syste... | true | (ns cmr.system-int-test.ingest.provider-ingest-permissions-test
"Verifies the correct provider ingest permissions are enforced"
(:require
[clojure.test :refer :all]
[cmr.mock-echo.client.echo-util :as e]
[cmr.system-int-test.data2.core :as d]
[cmr.system-int-test.data2.granule :as dg]
[cmr.syste... |
[
{
"context": ";; Copyright (c) 2015, Dmitry Kozlov <kozlov.dmitry.a@gmail.com>\n;; Code is published ",
"end": 36,
"score": 0.999873161315918,
"start": 23,
"tag": "NAME",
"value": "Dmitry Kozlov"
},
{
"context": ";; Copyright (c) 2015, Dmitry Kozlov <kozlov.dmitry.a@gmail.com>\n;; Co... | src/illya/config.clj | dkz/illya | 2 | ;; Copyright (c) 2015, Dmitry Kozlov <kozlov.dmitry.a@gmail.com>
;; Code is published under BSD 2-clause license
(ns illya.config)
(def configuration-properties (new java.util.Properties))
(def configuration-defaults
{"orient-db.url" "remote:localhost/Illya"
"orient-db.user" "root"
"orient-db.pass" "root"
... | 1358 | ;; Copyright (c) 2015, <NAME> <<EMAIL>>
;; Code is published under BSD 2-clause license
(ns illya.config)
(def configuration-properties (new java.util.Properties))
(def configuration-defaults
{"orient-db.url" "remote:localhost/Illya"
"orient-db.user" "root"
"orient-db.pass" "<PASSWORD>"
"control.key" "<KE... | true | ;; Copyright (c) 2015, PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
;; Code is published under BSD 2-clause license
(ns illya.config)
(def configuration-properties (new java.util.Properties))
(def configuration-defaults
{"orient-db.url" "remote:localhost/Illya"
"orient-db.user" "root"
"orient-db.pass" "PI:P... |
[
{
"context": "urce.org/licenses/MIT\"}\n :url \"http://github.com/ParkerICI/blockoid\"\n :dependencies [[org.clojure/clojure \"",
"end": 213,
"score": 0.9898556470870972,
"start": 204,
"tag": "USERNAME",
"value": "ParkerICI"
},
{
"context": "es [[\"github\" {:url \"https://maven.pk... | project.clj | maacl/blockoid | 31 | (defproject org.parkerici/blockoid "0.3.5"
:description "Clojurescript shim for Blockly"
:license {:name "MIT License"
:url "http://opensource.org/licenses/MIT"}
:url "http://github.com/ParkerICI/blockoid"
:dependencies [[org.clojure/clojure "1.10.1"]
[org.clojure/data.xml "0.2.0-al... | 115906 | (defproject org.parkerici/blockoid "0.3.5"
:description "Clojurescript shim for Blockly"
:license {:name "MIT License"
:url "http://opensource.org/licenses/MIT"}
:url "http://github.com/ParkerICI/blockoid"
:dependencies [[org.clojure/clojure "1.10.1"]
[org.clojure/data.xml "0.2.0-al... | true | (defproject org.parkerici/blockoid "0.3.5"
:description "Clojurescript shim for Blockly"
:license {:name "MIT License"
:url "http://opensource.org/licenses/MIT"}
:url "http://github.com/ParkerICI/blockoid"
:dependencies [[org.clojure/clojure "1.10.1"]
[org.clojure/data.xml "0.2.0-al... |
[
{
"context": "f [Stuart's component library](https://github.com/stuartsierra/component), since\n we won't be covering that in ",
"end": 973,
"score": 0.9994462132453918,
"start": 961,
"tag": "USERNAME",
"value": "stuartsierra"
},
{
"context": " (value [env id params] {:db/id id :per... | src/devguide/fulcro_devguide/I_Building_A_Server.cljs | weirp/fulcrodev | 0 | (ns fulcro-devguide.I-Building-A-Server
(:require [devcards.core :as dc :refer-macros [defcard defcard-doc]]))
(defcard-doc
"
# Building a Server
Fulcro comes with pre-built server components. These allow you to very quickly get the server side of your
application up and running. There are two main ways to ... | 9441 | (ns fulcro-devguide.I-Building-A-Server
(:require [devcards.core :as dc :refer-macros [defcard defcard-doc]]))
(defcard-doc
"
# Building a Server
Fulcro comes with pre-built server components. These allow you to very quickly get the server side of your
application up and running. There are two main ways to ... | true | (ns fulcro-devguide.I-Building-A-Server
(:require [devcards.core :as dc :refer-macros [defcard defcard-doc]]))
(defcard-doc
"
# Building a Server
Fulcro comes with pre-built server components. These allow you to very quickly get the server side of your
application up and running. There are two main ways to ... |
[
{
"context": "s about the portuguese hyphenation patterns\n ask Lailson Bandeira (lailsonbm at gmail dot com)\n based on LaTeX pa",
"end": 187,
"score": 0.9998736381530762,
"start": 171,
"tag": "NAME",
"value": "Lailson Bandeira"
},
{
"context": "ese hyphenation patterns\n ask ... | src/clj_hyphenate/patterns/pt.cljc | Deraen/clj-hyphenate | 7 | (ns clj-hyphenate.patterns.pt
"This pattern is imported from Hyphenator.js. Original comment follows:
For questions about the portuguese hyphenation patterns
ask Lailson Bandeira (lailsonbm at gmail dot com)
based on LaTeX patterns in Portuguese, by Pedro J. de Rezende and J.Joao Dias Almeida (http://www.ct... | 53998 | (ns clj-hyphenate.patterns.pt
"This pattern is imported from Hyphenator.js. Original comment follows:
For questions about the portuguese hyphenation patterns
ask <NAME> (<EMAIL> at g<EMAIL> dot com)
based on LaTeX patterns in Portuguese, by <NAME> and <NAME> (http://www.ctan.org/tex-archive/language/hyph-ut... | true | (ns clj-hyphenate.patterns.pt
"This pattern is imported from Hyphenator.js. Original comment follows:
For questions about the portuguese hyphenation patterns
ask PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI at gPI:EMAIL:<EMAIL>END_PI dot com)
based on LaTeX patterns in Portuguese, by PI:NAME:<NAME>END_PI an... |
[
{
"context": ".py4j.invoke-namespace]] library.\"\n :author \"Paul Landes\"}\n zensols.py4j.gateway\n (:import [py4j Gatew",
"end": 302,
"score": 0.9998809099197388,
"start": 291,
"tag": "NAME",
"value": "Paul Landes"
}
] | src/clojure/zensols/py4j/gateway.clj | plandes/clj-py4j | 5 | (ns ^{:doc "Controller application to help with invoking Clojure funcrtions
from python. This uses the [py4j](https://www.py4j.org) Java Gateway server
library unmarshall requests. This namespace then services the request via
the [[zensols.py4j.invoke-namespace]] library."
:author "Paul Landes"}
zensols.py4... | 81529 | (ns ^{:doc "Controller application to help with invoking Clojure funcrtions
from python. This uses the [py4j](https://www.py4j.org) Java Gateway server
library unmarshall requests. This namespace then services the request via
the [[zensols.py4j.invoke-namespace]] library."
:author "<NAME>"}
zensols.py4j.gat... | true | (ns ^{:doc "Controller application to help with invoking Clojure funcrtions
from python. This uses the [py4j](https://www.py4j.org) Java Gateway server
library unmarshall requests. This namespace then services the request via
the [[zensols.py4j.invoke-namespace]] library."
:author "PI:NAME:<NAME>END_PI"}
ze... |
[
{
"context": "2 {:provider {:uri \"http://192.168.17.26/\"\n ",
"end": 1679,
"score": 0.515221893787384,
"start": 1678,
"tag": "IP_ADDRESS",
"value": "9"
},
{
"context": " {:provider {:uri \"http://192.168.17... | src/wise/auth/core.cljc | wiseloong/auth | 1 | (ns wise.auth.core
(:require
#?(:clj [wise.auth.auth :as auth]
:cljs [wise.auth.login :as login])))
;; 后端服务-------------------
#?(:clj
(defn oauth-wise-user-id "oauth方式获取用户ID"
[data]
(-> data auth/oauth-wise-user :id)))
#?(:clj
(defn sign-token "编译信息为token"
[claim... | 53939 | (ns wise.auth.core
(:require
#?(:clj [wise.auth.auth :as auth]
:cljs [wise.auth.login :as login])))
;; 后端服务-------------------
#?(:clj
(defn oauth-wise-user-id "oauth方式获取用户ID"
[data]
(-> data auth/oauth-wise-user :id)))
#?(:clj
(defn sign-token "编译信息为token"
[claim... | true | (ns wise.auth.core
(:require
#?(:clj [wise.auth.auth :as auth]
:cljs [wise.auth.login :as login])))
;; 后端服务-------------------
#?(:clj
(defn oauth-wise-user-id "oauth方式获取用户ID"
[data]
(-> data auth/oauth-wise-user :id)))
#?(:clj
(defn sign-token "编译信息为token"
[claim... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.