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": "ame` of the given `full-name`.\n Ex: (last-name '(John Smith Jr. MD)) = Smith\"\n (loop [full-name full-name]\n ",
"end": 226,
"score": 0.9967221021652222,
"start": 216,
"tag": "NAME",
"value": "John Smith"
},
{
"context": "ll-name`.\n Ex: (last-name '(John Smith Jr.... | src/paip_clj/chap_1/ex_1.clj | benwtrent/paip-clj | 1 | (ns paip-clj.chap-1.ex-1
(:require [clojure.string :as str]))
(defn last-name [full-name]
"Exercise 1.1: an improved version of `last-name`.
Gives the `last-name` of the given `full-name`.
Ex: (last-name '(John Smith Jr. MD)) = Smith"
(loop [full-name full-name]
(let [s-name (str (last full-name))]
... | 15876 | (ns paip-clj.chap-1.ex-1
(:require [clojure.string :as str]))
(defn last-name [full-name]
"Exercise 1.1: an improved version of `last-name`.
Gives the `last-name` of the given `full-name`.
Ex: (last-name '(<NAME> Jr. MD)) = <NAME>"
(loop [full-name full-name]
(let [s-name (str (last full-name))]
(... | true | (ns paip-clj.chap-1.ex-1
(:require [clojure.string :as str]))
(defn last-name [full-name]
"Exercise 1.1: an improved version of `last-name`.
Gives the `last-name` of the given `full-name`.
Ex: (last-name '(PI:NAME:<NAME>END_PI Jr. MD)) = PI:NAME:<NAME>END_PI"
(loop [full-name full-name]
(let [s-name (st... |
[
{
"context": ";; Copyright (c) 2016 Tom Marble\n;;\n;; This software is licensed under the terms o",
"end": 32,
"score": 0.9998618960380554,
"start": 22,
"tag": "NAME",
"value": "Tom Marble"
}
] | test/testing/webica/core.clj | BadAlgorithm/webica | 61 | ;; Copyright (c) 2016 Tom Marble
;;
;; This software is licensed under the terms of the
;; Apache License, Version 2.0 which can be found in
;; the file LICENSE at the root of this distribution.
(ns testing.webica.core
(:require [clojure.string :as string]
[clojure.test :refer [deftest testing is]]
... | 20052 | ;; Copyright (c) 2016 <NAME>
;;
;; This software is licensed under the terms of the
;; Apache License, Version 2.0 which can be found in
;; the file LICENSE at the root of this distribution.
(ns testing.webica.core
(:require [clojure.string :as string]
[clojure.test :refer [deftest testing is]]
... | true | ;; Copyright (c) 2016 PI:NAME:<NAME>END_PI
;;
;; This software is licensed under the terms of the
;; Apache License, Version 2.0 which can be found in
;; the file LICENSE at the root of this distribution.
(ns testing.webica.core
(:require [clojure.string :as string]
[clojure.test :refer [deftest testing ... |
[
{
"context": "\"\n :repositories [{:url \"git@github.com:nikolap/kit.git\"\n ",
"end": 5106,
"score": 0.9952336549758911,
"start": 5092,
"tag": "EMAIL",
"value": "git@github.com"
},
{
"context": " :repositories [{:url... | libs/kit-generator/src/kit/generator/modules/generator.clj | eelkevanfoeken/kit | 0 | (ns kit.generator.modules.generator
(:require
[kit.generator.io :as io]
[kit.generator.modules :as modules]
[kit.generator.modules.injections :as ij]
[kit.generator.renderer :as renderer]
[clojure.java.io :as jio]
[clojure.pprint :refer [pprint]]
[rewrite-clj.zip :as z])
(:import java.io... | 22023 | (ns kit.generator.modules.generator
(:require
[kit.generator.io :as io]
[kit.generator.modules :as modules]
[kit.generator.modules.injections :as ij]
[kit.generator.renderer :as renderer]
[clojure.java.io :as jio]
[clojure.pprint :refer [pprint]]
[rewrite-clj.zip :as z])
(:import java.io... | true | (ns kit.generator.modules.generator
(:require
[kit.generator.io :as io]
[kit.generator.modules :as modules]
[kit.generator.modules.injections :as ij]
[kit.generator.renderer :as renderer]
[clojure.java.io :as jio]
[clojure.pprint :refer [pprint]]
[rewrite-clj.zip :as z])
(:import java.io... |
[
{
"context": "tegory-str))]\n [:meta {:name \"author\" :content \"Ed Porras\"}]\n [:meta {:name \"description\"\n :con",
"end": 6086,
"score": 0.9998900294303894,
"start": 6077,
"tag": "NAME",
"value": "Ed Porras"
},
{
"context": "Twitter at \" (link-data->html (twitter... | src/nosoup_clj/core.clj | edporras/nosoup-clj | 0 | (ns nosoup-clj.core
(:require [nosoup-clj.init :as init]
[nosoup-clj.util :as util]
[nosoup-clj.spec :as spec]
[clojure.spec.alpha :as s]
[clojure.java.io :as io]
[clojure.string :as str]
[hiccup.core... | 19927 | (ns nosoup-clj.core
(:require [nosoup-clj.init :as init]
[nosoup-clj.util :as util]
[nosoup-clj.spec :as spec]
[clojure.spec.alpha :as s]
[clojure.java.io :as io]
[clojure.string :as str]
[hiccup.core... | true | (ns nosoup-clj.core
(:require [nosoup-clj.init :as init]
[nosoup-clj.util :as util]
[nosoup-clj.spec :as spec]
[clojure.spec.alpha :as s]
[clojure.java.io :as io]
[clojure.string :as str]
[hiccup.core... |
[
{
"context": "lti1\n \n {:doc \"defmultis for sets.\"\n :author \"palisades dot lakes at gmail dot com\"\n :since \"2017-04-20\"\n :version \"2017-06-02\"}",
"end": 262,
"score": 0.9504379630088806,
"start": 226,
"tag": "EMAIL",
"value": "palisades dot lakes at gmail dot com"
}
] | src/main/clojure/palisades/lakes/elements/sets/multi1.clj | palisades-lakes/les-elemens | 0 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns palisades.lakes.elements.sets.multi1
{:doc "defmultis for sets."
:author "palisades dot lakes at gmail dot com"
:since "2017-04-20"
:version "2017-06-02"}
(:... | 65729 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns palisades.lakes.elements.sets.multi1
{:doc "defmultis for sets."
:author "<EMAIL>"
:since "2017-04-20"
:version "2017-06-02"}
(:refer-clojure :exclude [conta... | true | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns palisades.lakes.elements.sets.multi1
{:doc "defmultis for sets."
:author "PI:EMAIL:<EMAIL>END_PI"
:since "2017-04-20"
:version "2017-06-02"}
(:refer-clojure ... |
[
{
"context": "; SPDX-FileCopyrightText: 2021 Orcro Ltd. team@orcro.co.uk\n; \n; SPDX-License-Identifier: Apache-2.0\n\n\n\n\n(req",
"end": 58,
"score": 0.9999306797981262,
"start": 42,
"tag": "EMAIL",
"value": "team@orcro.co.uk"
}
] | src/urltester/scratch.clj | Orcro/urltester | 1 | ; SPDX-FileCopyrightText: 2021 Orcro Ltd. team@orcro.co.uk
;
; SPDX-License-Identifier: Apache-2.0
(require '[clj-http.client :as client]) ; for repl dev
; for development testing, notice there's no ns
;(clojure.string/replace urls #"https:\/\/|http:\/\/" "www."))
;(def secondmatch (clojure.string/replace f... | 15438 | ; SPDX-FileCopyrightText: 2021 Orcro Ltd. <EMAIL>
;
; SPDX-License-Identifier: Apache-2.0
(require '[clj-http.client :as client]) ; for repl dev
; for development testing, notice there's no ns
;(clojure.string/replace urls #"https:\/\/|http:\/\/" "www."))
;(def secondmatch (clojure.string/replace firstmatch... | true | ; SPDX-FileCopyrightText: 2021 Orcro Ltd. PI:EMAIL:<EMAIL>END_PI
;
; SPDX-License-Identifier: Apache-2.0
(require '[clj-http.client :as client]) ; for repl dev
; for development testing, notice there's no ns
;(clojure.string/replace urls #"https:\/\/|http:\/\/" "www."))
;(def secondmatch (clojure.string/rep... |
[
{
"context": "key\\\",\n \\\"public-key\\\" : \\\"-----BEGIN PGP PUBLIC KEY BLOCK-----\\n\\\",\n \\\"private-",
"end": 244,
"score": 0.6788126230239868,
"start": 228,
"tag": "KEY",
"value": "BEGIN PGP PUBLIC"
},
{
"context": " \\\"public-key\\... | code/src/sixsq/nuvla/server/resources/credential_gpg_key.clj | nuvla/server | 6 | (ns sixsq.nuvla.server.resources.credential-gpg-key
"
This represents a GPG key.
```json
{
\"template\" : {
\"href\" : \"credential-template/generate-gpg-key\",
\"public-key\" : \"-----BEGIN PGP PUBLIC KEY BLOCK-----\n\",
\"private-key\": \"-----BEGIN PGP PR... | 124504 | (ns sixsq.nuvla.server.resources.credential-gpg-key
"
This represents a GPG key.
```json
{
\"template\" : {
\"href\" : \"credential-template/generate-gpg-key\",
\"public-key\" : \"-----<KEY> KEY <KEY>\",
\"private-key\": \"-----<KEY>
}
}
```... | true | (ns sixsq.nuvla.server.resources.credential-gpg-key
"
This represents a GPG key.
```json
{
\"template\" : {
\"href\" : \"credential-template/generate-gpg-key\",
\"public-key\" : \"-----PI:KEY:<KEY>END_PI KEY PI:KEY:<KEY>END_PI\",
\"private-key\": \"-----PI:K... |
[
{
"context": "; Copyright 2012 Hubert Iwaniuk\n;\n; Licensed under the Apache License, Version 2.",
"end": 31,
"score": 0.9998852610588074,
"start": 17,
"tag": "NAME",
"value": "Hubert Iwaniuk"
},
{
"context": "ronous HTTP Client - Clojure - Utils\"\n {:author \"Hubert Iwaniuk / And... | src/clj/http/async/client/cert.clj | pelerkejepit/async | 0 | ; Copyright 2012 Hubert Iwaniuk
;
; 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,... | 87407 | ; Copyright 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 writing, softwar... | true | ; Copyright 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 agreed to in wr... |
[
{
"context": ";; Copyright 2014-2020 King\n;; Copyright 2009-2014 Ragnar Svensson, Christian Murray\n;; Licensed under the Defold Li",
"end": 111,
"score": 0.9998113512992859,
"start": 96,
"tag": "NAME",
"value": "Ragnar Svensson"
},
{
"context": "-2020 King\n;; Copyright 2009-2014 R... | defold-robot/src/lein_plugins/tar_install.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... | 42531 | ;; 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": "tes play-options]}]\n [:div.main-panel\n [:h1 \"Bienvenides \"\n [main-panel-name {:names names :curre",
"end": 2002,
"score": 0.5474616289138794,
"start": 1999,
"tag": "NAME",
"value": "env"
},
{
"context": "ils/parse-names)\n [\"Ano... | src/bienvenides/views.cljs | Thoughtworks-Spain/bienvenides | 3 | (ns bienvenides.views
(:require
[clojure.string :as string]
[re-frame.core :as re-frame]
[bienvenides.events :as events]
[bienvenides.subs :as subs]
[bienvenides.utils :as utils]
[reagent.core :as r]))
(def letter-class "main-panel__letter")
(def letter-class-active (str letter-class " " "main-pane... | 123105 | (ns bienvenides.views
(:require
[clojure.string :as string]
[re-frame.core :as re-frame]
[bienvenides.events :as events]
[bienvenides.subs :as subs]
[bienvenides.utils :as utils]
[reagent.core :as r]))
(def letter-class "main-panel__letter")
(def letter-class-active (str letter-class " " "main-pane... | true | (ns bienvenides.views
(:require
[clojure.string :as string]
[re-frame.core :as re-frame]
[bienvenides.events :as events]
[bienvenides.subs :as subs]
[bienvenides.utils :as utils]
[reagent.core :as r]))
(def letter-class "main-panel__letter")
(def letter-class-active (str letter-class " " "main-pane... |
[
{
"context": "bar\")\n(def LOGIN-CHALLENGE \"foobar2\")\n(def EMAIL \"foo@bar.com\")\n(def register-payload\n {:attestation \"o2NmbXRm",
"end": 1661,
"score": 0.9999251365661621,
"start": 1650,
"tag": "EMAIL",
"value": "foo@bar.com"
},
{
"context": "bar.com\")\n(def register-payload... | test/cljwebauthn/sample_app_test.clj | terop/cljwebauthn | 0 | (ns cljwebauthn.sample-app-test
(:gen-class)
(:require [clojure.test :refer :all]
[cljwebauthn.core :as webauthn]
[buddy.auth.accessrules :refer [restrict]]
[buddy.auth.backends.session :refer [session-backend]]
[buddy.auth.middleware :refer [wrap-authentication wrap-... | 62032 | (ns cljwebauthn.sample-app-test
(:gen-class)
(:require [clojure.test :refer :all]
[cljwebauthn.core :as webauthn]
[buddy.auth.accessrules :refer [restrict]]
[buddy.auth.backends.session :refer [session-backend]]
[buddy.auth.middleware :refer [wrap-authentication wrap-... | true | (ns cljwebauthn.sample-app-test
(:gen-class)
(:require [clojure.test :refer :all]
[cljwebauthn.core :as webauthn]
[buddy.auth.accessrules :refer [restrict]]
[buddy.auth.backends.session :refer [session-backend]]
[buddy.auth.middleware :refer [wrap-authentication wrap-... |
[
{
"context": ")\n (recur (zip/down loc))\n loc))\n\n;; Thanks, Raynes!\n;;\n;; https://github.com/Raynes/laser/blob/e1beb",
"end": 785,
"score": 0.9981590509414673,
"start": 779,
"tag": "NAME",
"value": "Raynes"
},
{
"context": "oc))\n\n;; Thanks, Raynes!\n;;\n;; https://github... | cascalog-core/src/clj/cascalog/logic/zip.clj | nightlord/cascalog | 397 | (ns cascalog.logic.zip
(:require [clojure.zip :as zip]
[jackknife.seq :refer (collectify)]))
(defprotocol TreeNode
(branch? [node] "Is it possible for node to have children?")
(children [node] "Return children of this node.")
(make-node [node children] "Makes new node from existing node and new chi... | 50607 | (ns cascalog.logic.zip
(:require [clojure.zip :as zip]
[jackknife.seq :refer (collectify)]))
(defprotocol TreeNode
(branch? [node] "Is it possible for node to have children?")
(children [node] "Return children of this node.")
(make-node [node children] "Makes new node from existing node and new chi... | true | (ns cascalog.logic.zip
(:require [clojure.zip :as zip]
[jackknife.seq :refer (collectify)]))
(defprotocol TreeNode
(branch? [node] "Is it possible for node to have children?")
(children [node] "Return children of this node.")
(make-node [node children] "Makes new node from existing node and new chi... |
[
{
"context": "il, :id nil, :nickname nil, :avatar nil, :password nil, :books (do book {})})\n\n(def database {:sessions ",
"end": 456,
"score": 0.8479969501495361,
"start": 453,
"tag": "PASSWORD",
"value": "nil"
}
] | src/app/schema.cljs | TopixIM/brookress | 0 |
(ns app.schema )
(def note {:id "", :content "", :time 0, :at-page 0})
(def book
{:id "", :name "", :total-pages 0, :progress 0, :notes (do note {}), :sort-key "", :time 0})
(def router {:name nil, :title nil, :data {}, :router nil})
(def session
{:user-id nil,
:id nil,
:nickname nil,
:router (do rout... | 46266 |
(ns app.schema )
(def note {:id "", :content "", :time 0, :at-page 0})
(def book
{:id "", :name "", :total-pages 0, :progress 0, :notes (do note {}), :sort-key "", :time 0})
(def router {:name nil, :title nil, :data {}, :router nil})
(def session
{:user-id nil,
:id nil,
:nickname nil,
:router (do rout... | true |
(ns app.schema )
(def note {:id "", :content "", :time 0, :at-page 0})
(def book
{:id "", :name "", :total-pages 0, :progress 0, :notes (do note {}), :sort-key "", :time 0})
(def router {:name nil, :title nil, :data {}, :router nil})
(def session
{:user-id nil,
:id nil,
:nickname nil,
:router (do rout... |
[
{
"context": "t-db\n {:name \"balao_pocket\"\n :items [{:name \"Remdeeeuiooo\"}\n {:name \"Livro\"}\n {:nam",
"end": 85,
"score": 0.9990482330322266,
"start": 73,
"tag": "NAME",
"value": "Remdeeeuiooo"
},
{
"context": "ms [{:name \"Remdeeeuiooo\"}\n ... | ui/src/cljs/ui/db.cljs | felipemocruha/balao_pocket | 0 | (ns ui.db)
(def default-db
{:name "balao_pocket"
:items [{:name "Remdeeeuiooo"}
{:name "Livro"}
{:name "Carregador"}
{:name "Remdeeeuiooo"}
{:name "Livro"}
{:name "Carregador"}
{:name "Remdeeeuiooo"}
{:name "Livro"}
... | 119441 | (ns ui.db)
(def default-db
{:name "balao_pocket"
:items [{:name "<NAME>"}
{:name "<NAME>"}
{:name "<NAME>"}
{:name "<NAME>"}
{:name "<NAME>"}
{:name "<NAME>"}
{:name "<NAME>"}
{:name "<NAME>"}
{:name "<NAME>"... | true | (ns ui.db)
(def default-db
{:name "balao_pocket"
:items [{:name "PI:NAME:<NAME>END_PI"}
{:name "PI:NAME:<NAME>END_PI"}
{:name "PI:NAME:<NAME>END_PI"}
{:name "PI:NAME:<NAME>END_PI"}
{:name "PI:NAME:<NAME>END_PI"}
{:name "PI:NAME:<NAME>END_PI"}
... |
[
{
"context": " (build-grain :barley-flaked {:name \"Barley, Flaked\"\n :potential ",
"end": 2736,
"score": 0.950040340423584,
"start": 2722,
"tag": "NAME",
"value": "Barley, Flaked"
},
{
"context": "aw\n (build-grain :barley-raw {:nam... | src/common_beer_format/data/fermentables/grains.cljc | Wall-Brew-Co/common-beer-format | 1 | (ns common-beer-format.data.fermentables.grains
"Data for malt barley and core grains")
(def ^:private grain-defaults
{:version 1
:amount 0.0
:type "Grain"})
(defn ^:private build-grain
[grain-key grain-data]
{grain-key (merge grain-data grain-defaults)})
(def acid-malt
(build-grain :acid-malt... | 125086 | (ns common-beer-format.data.fermentables.grains
"Data for malt barley and core grains")
(def ^:private grain-defaults
{:version 1
:amount 0.0
:type "Grain"})
(defn ^:private build-grain
[grain-key grain-data]
{grain-key (merge grain-data grain-defaults)})
(def acid-malt
(build-grain :acid-malt... | true | (ns common-beer-format.data.fermentables.grains
"Data for malt barley and core grains")
(def ^:private grain-defaults
{:version 1
:amount 0.0
:type "Grain"})
(defn ^:private build-grain
[grain-key grain-data]
{grain-key (merge grain-data grain-defaults)})
(def acid-malt
(build-grain :acid-malt... |
[
{
"context": "--------------------------------\n;; Copyright 2017 Greg Haskins\n;;\n;; SPDX-License-Identifier: Apache-2.0\n;;-----",
"end": 110,
"score": 0.9998092651367188,
"start": 98,
"tag": "NAME",
"value": "Greg Haskins"
}
] | examples/example02/client/cljs/src/example02/api.cljs | simonmulser/fabric-chaintool | 138 | ;;-----------------------------------------------------------------------------
;; Copyright 2017 Greg Haskins
;;
;; SPDX-License-Identifier: Apache-2.0
;;-----------------------------------------------------------------------------
(ns example02.api
(:require [example02.protobuf :as pb]
[example02.rpc :a... | 74410 | ;;-----------------------------------------------------------------------------
;; Copyright 2017 <NAME>
;;
;; SPDX-License-Identifier: Apache-2.0
;;-----------------------------------------------------------------------------
(ns example02.api
(:require [example02.protobuf :as pb]
[example02.rpc :as rpc]... | true | ;;-----------------------------------------------------------------------------
;; Copyright 2017 PI:NAME:<NAME>END_PI
;;
;; SPDX-License-Identifier: Apache-2.0
;;-----------------------------------------------------------------------------
(ns example02.api
(:require [example02.protobuf :as pb]
[example0... |
[
{
"context": "(case (auth/helper-token-matches-role auth-token \"sysadmin-role\")\n true\n (if (db/blocksmap-exists? db websi",
"end": 2036,
"score": 0.9073359966278076,
"start": 2023,
"tag": "PASSWORD",
"value": "sysadmin-role"
}
] | data/test/clojure/e5962d7ff9853a486b3f8e647b3930084439232ahandler.clj | harshp8l/deep-learning-lang-detection | 84 | (ns frontier.blocksmap.handler
(:require [frontier.blocksmap.db :as db]
[frontier.common :as common]
[frontier.auth.handler :as auth]
[clojure.tools.logging :as log]))
(defn get-handler
"Returns blocksmap entities that the requesting user, represented by auth-token, is allowed t... | 58815 | (ns frontier.blocksmap.handler
(:require [frontier.blocksmap.db :as db]
[frontier.common :as common]
[frontier.auth.handler :as auth]
[clojure.tools.logging :as log]))
(defn get-handler
"Returns blocksmap entities that the requesting user, represented by auth-token, is allowed t... | true | (ns frontier.blocksmap.handler
(:require [frontier.blocksmap.db :as db]
[frontier.common :as common]
[frontier.auth.handler :as auth]
[clojure.tools.logging :as log]))
(defn get-handler
"Returns blocksmap entities that the requesting user, represented by auth-token, is allowed t... |
[
{
"context": "request \"AKIDEXAMPLE\"\n \"wJalrXUtnFEMI/K7MDENG+bPxRfiCYEXAMPLEKEY\"\n \"us-east-1\"\n ",
"end": 4008,
"score": 0.8712138533592224,
"start": 3969,
"tag": "KEY",
"value": "JalrXUtnFEMI/K7MDENG+bPxRfiCYEXAMPLEKEY"
},
... | spec/http_kit_aws4/http_kit_spec.clj | Yleisradio/http-kit-aws4 | 10 | (ns http-kit-aws4.http-kit-spec
(:require [speclj.core :refer :all]
[http-kit-aws4.http-kit :refer [canonical-request signed-request]])
(:import (org.joda.time DateTimeZone DateTime)))
(describe "normalized-headers"
(it "omits header with nil value"
(should=
[["x-not-borked" "foo"]]
(... | 62165 | (ns http-kit-aws4.http-kit-spec
(:require [speclj.core :refer :all]
[http-kit-aws4.http-kit :refer [canonical-request signed-request]])
(:import (org.joda.time DateTimeZone DateTime)))
(describe "normalized-headers"
(it "omits header with nil value"
(should=
[["x-not-borked" "foo"]]
(... | true | (ns http-kit-aws4.http-kit-spec
(:require [speclj.core :refer :all]
[http-kit-aws4.http-kit :refer [canonical-request signed-request]])
(:import (org.joda.time DateTimeZone DateTime)))
(describe "normalized-headers"
(it "omits header with nil value"
(should=
[["x-not-borked" "foo"]]
(... |
[
{
"context": " :port 5672\n :username \"guest\"\n :password \"guest\"\n ",
"end": 710,
"score": 0.9706147313117981,
"start": 705,
"tag": "USERNAME",
"value": "guest"
},
{
"context": "rname \"guest\"\n :pass... | test/ziggurat/messaging/rabbitmq_cluster_wrapper_test.clj | WickedBrat/ziggurat | 0 | (ns ziggurat.messaging.rabbitmq-cluster-wrapper-test
(:require [clojure.test :refer :all]
[ziggurat.messaging.rabbitmq-cluster-wrapper :as rmqcw]
[ziggurat.messaging.rabbitmq.cluster.connection :as rmq-cluster-connection]
[ziggurat.fixtures :as fix]
[ziggurat.config :as... | 88713 | (ns ziggurat.messaging.rabbitmq-cluster-wrapper-test
(:require [clojure.test :refer :all]
[ziggurat.messaging.rabbitmq-cluster-wrapper :as rmqcw]
[ziggurat.messaging.rabbitmq.cluster.connection :as rmq-cluster-connection]
[ziggurat.fixtures :as fix]
[ziggurat.config :as... | true | (ns ziggurat.messaging.rabbitmq-cluster-wrapper-test
(:require [clojure.test :refer :all]
[ziggurat.messaging.rabbitmq-cluster-wrapper :as rmqcw]
[ziggurat.messaging.rabbitmq.cluster.connection :as rmq-cluster-connection]
[ziggurat.fixtures :as fix]
[ziggurat.config :as... |
[
{
"context": "ple-results/domain.key\")\n :password \"secret\"\n :certificat-file (java.io.File. \"e",
"end": 2267,
"score": 0.9995816349983215,
"start": 2261,
"tag": "PASSWORD",
"value": "secret"
}
] | src-unused/pem_to_keystore.clj | pink-gorilla/webly | 6 | (ns demo.pem-to-keystore)
;; Concept:
;;
;; Converts a .pem and a .crt to a keystore.jks (p12) file. The first
;; two files are the result of a letsencrypt process, while the latter
;; format is required for Java web servers like Jetty.
;;
;; Based on this example: https://stackoverflow.com/a/26678732
(when (nil? (ja... | 37291 | (ns demo.pem-to-keystore)
;; Concept:
;;
;; Converts a .pem and a .crt to a keystore.jks (p12) file. The first
;; two files are the result of a letsencrypt process, while the latter
;; format is required for Java web servers like Jetty.
;;
;; Based on this example: https://stackoverflow.com/a/26678732
(when (nil? (ja... | true | (ns demo.pem-to-keystore)
;; Concept:
;;
;; Converts a .pem and a .crt to a keystore.jks (p12) file. The first
;; two files are the result of a letsencrypt process, while the latter
;; format is required for Java web servers like Jetty.
;;
;; Based on this example: https://stackoverflow.com/a/26678732
(when (nil? (ja... |
[
{
"context": "ef db-password (or (System/getenv \"DB_PASSWORD\") \"open-bank\"))\n\n(defn datasource-options\n [db-port db-hostna",
"end": 446,
"score": 0.9686856865882874,
"start": 437,
"tag": "PASSWORD",
"value": "open-bank"
},
{
"context": "r \"postgresql\"\n :userna... | command-handler/src/nl/openweb/command_handler/db.clj | AYCHSave/OpenBank | 97 | (ns nl.openweb.command-handler.db
(:require
[hikari-cp.core :as h]
[nl.openweb.topology.value-generator :as vg]
[next.jdbc :as j]
[next.jdbc.sql :as sql])
(:import (nl.openweb.data ConfirmMoneyTransfer)
(java.util UUID)))
(def db-port (read-string (or (System/getenv "DB_PORT") "5432")))
... | 25483 | (ns nl.openweb.command-handler.db
(:require
[hikari-cp.core :as h]
[nl.openweb.topology.value-generator :as vg]
[next.jdbc :as j]
[next.jdbc.sql :as sql])
(:import (nl.openweb.data ConfirmMoneyTransfer)
(java.util UUID)))
(def db-port (read-string (or (System/getenv "DB_PORT") "5432")))
... | true | (ns nl.openweb.command-handler.db
(:require
[hikari-cp.core :as h]
[nl.openweb.topology.value-generator :as vg]
[next.jdbc :as j]
[next.jdbc.sql :as sql])
(:import (nl.openweb.data ConfirmMoneyTransfer)
(java.util UUID)))
(def db-port (read-string (or (System/getenv "DB_PORT") "5432")))
... |
[
{
"context": "t-value]}]\n (dom/li #js {:key (str id opt-value)\n :onClick (fn",
"end": 1537,
"score": 0.6343775987625122,
"start": 1535,
"tag": "KEY",
"value": "id"
}
] | src/main/studygate/ui.cljs | awkay/studygate | 0 | (ns studygate.ui
(:require [fulcro.client.primitives :as prim :refer [defsc]]
[fulcro.client.mutations :as mut :refer [defmutation]]
[studygate.api :as api]
[fulcro.i18n :refer [tr trf]]
yahoo.intl-messageformat-with-locales
[fulcro.client.alpha.dom :as dom]... | 59049 | (ns studygate.ui
(:require [fulcro.client.primitives :as prim :refer [defsc]]
[fulcro.client.mutations :as mut :refer [defmutation]]
[studygate.api :as api]
[fulcro.i18n :refer [tr trf]]
yahoo.intl-messageformat-with-locales
[fulcro.client.alpha.dom :as dom]... | true | (ns studygate.ui
(:require [fulcro.client.primitives :as prim :refer [defsc]]
[fulcro.client.mutations :as mut :refer [defmutation]]
[studygate.api :as api]
[fulcro.i18n :refer [tr trf]]
yahoo.intl-messageformat-with-locales
[fulcro.client.alpha.dom :as dom]... |
[
{
"context": " :amount 5000\n :recipient \"Vincent Adultman\"\n :id 687}))\n\n(def test-expens",
"end": 476,
"score": 0.9998573660850525,
"start": 460,
"tag": "NAME",
"value": "Vincent Adultman"
},
{
"context": " :amount -5000\n ... | test/cljs/my_money/app/controller/config_test.cljs | Juholei/my-money | 1 | (ns my-money.app.controller.config-test
(:require [cljs.test :refer-macros [is are deftest testing use-fixtures]]
[my-money.app.controller.config :as cc]
[tuck.core :as tuck]))
(def test-config {:starting-amount 10000
:recipients #{"Bank" "Another Bank"}})
(def test-events ... | 43228 | (ns my-money.app.controller.config-test
(:require [cljs.test :refer-macros [is are deftest testing use-fixtures]]
[my-money.app.controller.config :as cc]
[tuck.core :as tuck]))
(def test-config {:starting-amount 10000
:recipients #{"Bank" "Another Bank"}})
(def test-events ... | true | (ns my-money.app.controller.config-test
(:require [cljs.test :refer-macros [is are deftest testing use-fixtures]]
[my-money.app.controller.config :as cc]
[tuck.core :as tuck]))
(def test-config {:starting-amount 10000
:recipients #{"Bank" "Another Bank"}})
(def test-events ... |
[
{
"context": ";\n; Copyright 2019 Peter Monks\n; SPDX-License-Identifier: Apache-2.0\n;\n; License",
"end": 30,
"score": 0.999699592590332,
"start": 19,
"tag": "NAME",
"value": "Peter Monks"
}
] | src/clojars_dependencies/main.clj | pmonks/clojars-dependencies | 0 | ;
; Copyright 2019 Peter Monks
; SPDX-License-Identifier: Apache-2.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 ... | 53911 | ;
; Copyright 2019 <NAME>
; SPDX-License-Identifier: Apache-2.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 appli... | true | ;
; Copyright 2019 PI:NAME:<NAME>END_PI
; SPDX-License-Identifier: Apache-2.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 req... |
[
{
"context": " false))))\n\n(defn fix-tx \"hack/fix for github.com/untangled-web/untangled-spec/issues/6\"\n [tx] (mapcat #(if (seq",
"end": 28071,
"score": 0.996999979019165,
"start": 28058,
"tag": "USERNAME",
"value": "untangled-web"
},
{
"context": "r] \"999-9999\")\n ... | src/test/untangled/ui/forms_spec.cljs | AlloyCSS/untangled-components | 0 | (ns untangled.ui.forms-spec
(:require
[om.next :as om :refer [defui]]
[untangled-spec.core :refer-macros [behavior specification assertions component when-mocking provided]]
[untangled.client.core :as uc]
[untangled.client.logging :as log]
[untangled.client.mutations :as m]
[untangled.ui.forms... | 29392 | (ns untangled.ui.forms-spec
(:require
[om.next :as om :refer [defui]]
[untangled-spec.core :refer-macros [behavior specification assertions component when-mocking provided]]
[untangled.client.core :as uc]
[untangled.client.logging :as log]
[untangled.client.mutations :as m]
[untangled.ui.forms... | true | (ns untangled.ui.forms-spec
(:require
[om.next :as om :refer [defui]]
[untangled-spec.core :refer-macros [behavior specification assertions component when-mocking provided]]
[untangled.client.core :as uc]
[untangled.client.logging :as log]
[untangled.client.mutations :as m]
[untangled.ui.forms... |
[
{
"context": "e and gradient, I'll optimize it!\" \n :author \"Aria Haghighi <me@aria42.com>\"}\n (:use [clojure.contrib.def :o",
"end": 838,
"score": 0.9998877048492432,
"start": 825,
"tag": "NAME",
"value": "Aria Haghighi"
},
{
"context": " I'll optimize it!\" \n :author \... | src/infer/optimize.clj | robertpfeiffer/infer | 1 | (ns infer.optimize
^{:doc "Standard functions for numerical optimziation. Only very marginally tuned
for performance. Lots of optional configurability. Defaults are optimized for
either gradient descent or quasi-Newton methods, which is what you'll end up doing
for many batch trained ML algorithms.
... | 100887 | (ns infer.optimize
^{:doc "Standard functions for numerical optimziation. Only very marginally tuned
for performance. Lots of optional configurability. Defaults are optimized for
either gradient descent or quasi-Newton methods, which is what you'll end up doing
for many batch trained ML algorithms.
... | true | (ns infer.optimize
^{:doc "Standard functions for numerical optimziation. Only very marginally tuned
for performance. Lots of optional configurability. Defaults are optimized for
either gradient descent or quasi-Newton methods, which is what you'll end up doing
for many batch trained ML algorithms.
... |
[
{
"context": "r [go]]))\n\n(def users [{:id 1\n :name \"John Doe\"\n :email \"jd@example.com\"\n ",
"end": 292,
"score": 0.9998226761817932,
"start": 284,
"tag": "NAME",
"value": "John Doe"
},
{
"context": " :name \"John Doe\"\n ... | frontend/test/warehouse/indexeddb_test.cljs | nenadalm/warehouse | 0 | (ns warehouse.indexeddb-test
(:require
[warehouse.indexeddb :as indexeddb]
[cljs.test :refer-macros [deftest is testing use-fixtures async]]
[cljs.core.async :refer [<!]])
(:require-macros
[cljs.core.async.macros :refer [go]]))
(def users [{:id 1
:name "John Doe"
:email "jd@ex... | 75503 | (ns warehouse.indexeddb-test
(:require
[warehouse.indexeddb :as indexeddb]
[cljs.test :refer-macros [deftest is testing use-fixtures async]]
[cljs.core.async :refer [<!]])
(:require-macros
[cljs.core.async.macros :refer [go]]))
(def users [{:id 1
:name "<NAME>"
:email "<EMAIL>... | true | (ns warehouse.indexeddb-test
(:require
[warehouse.indexeddb :as indexeddb]
[cljs.test :refer-macros [deftest is testing use-fixtures async]]
[cljs.core.async :refer [<!]])
(:require-macros
[cljs.core.async.macros :refer [go]]))
(def users [{:id 1
:name "PI:NAME:<NAME>END_PI"
:... |
[
{
"context": "file is part of esri-api.\n;;;;\n;;;; Copyright 2020 Alexander Dorn\n;;;;\n;;;; Licensed under the Apache License, Vers",
"end": 75,
"score": 0.9998575448989868,
"start": 61,
"tag": "NAME",
"value": "Alexander Dorn"
}
] | test/esri_api/data/properties.clj | e-user/esri-api | 0 | ;;;; This file is part of esri-api.
;;;;
;;;; Copyright 2020 Alexander Dorn
;;;;
;;;; 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.... | 55951 | ;;;; This file is part of esri-api.
;;;;
;;;; 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
;;;;
;... | true | ;;;; This file is part of esri-api.
;;;;
;;;; 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/LICE... |
[
{
"context": "\"))\n\n(defn update-ping-from-message! [{user-name \"userName\" room-name \"roomName\" :as message}]\n (do\n (wh",
"end": 4589,
"score": 0.9992380142211914,
"start": 4581,
"tag": "USERNAME",
"value": "userName"
},
{
"context": "e room-name\n :joi... | src/pando/core.clj | clarkenciel/Pando | 0 | (ns pando.core
(:gen-class)
(:require
[compojure.core :as compojure
:refer [DELETE PUT GET POST context]]
[compojure.route :as route]
[ring.middleware.params :as params]
[ring.middleware.resource :as resource]
[ring.middleware.file-info :as file-info]
[ring.middleware.content-type :as content]... | 75300 | (ns pando.core
(:gen-class)
(:require
[compojure.core :as compojure
:refer [DELETE PUT GET POST context]]
[compojure.route :as route]
[ring.middleware.params :as params]
[ring.middleware.resource :as resource]
[ring.middleware.file-info :as file-info]
[ring.middleware.content-type :as content]... | true | (ns pando.core
(:gen-class)
(:require
[compojure.core :as compojure
:refer [DELETE PUT GET POST context]]
[compojure.route :as route]
[ring.middleware.params :as params]
[ring.middleware.resource :as resource]
[ring.middleware.file-info :as file-info]
[ring.middleware.content-type :as content]... |
[
{
"context": " [wis-ul\n [[input-login login-input [:username]\n \"请输入账号\" \"text\" \"user\" \"iconfont icon",
"end": 1333,
"score": 0.5038387179374695,
"start": 1325,
"tag": "USERNAME",
"value": "username"
},
{
"context": "input [:password]\n \"请输入密... | src/wise/auth/login.cljs | wiseloong/auth | 1 | (ns wise.auth.login
(:require [reagent.core :as r]
[reagent.cookies :as cookies]
[ajax.core :refer [POST]]
[clojure.string :as cstr]
[goog.string :as gstr]
[goog.uri.utils :as guu]))
(def ^:private login-input (r/atom {:username nil :password nil}))
(defn-... | 58487 | (ns wise.auth.login
(:require [reagent.core :as r]
[reagent.cookies :as cookies]
[ajax.core :refer [POST]]
[clojure.string :as cstr]
[goog.string :as gstr]
[goog.uri.utils :as guu]))
(def ^:private login-input (r/atom {:username nil :password nil}))
(defn-... | true | (ns wise.auth.login
(:require [reagent.core :as r]
[reagent.cookies :as cookies]
[ajax.core :refer [POST]]
[clojure.string :as cstr]
[goog.string :as gstr]
[goog.uri.utils :as guu]))
(def ^:private login-input (r/atom {:username nil :password nil}))
(defn-... |
[
{
"context": "a.db :as db]))\n\n(def user-id 1)\n\n(def user-email \"user@foo.com\")\n(def user-password \"123456\")\n\n(defn init-settin",
"end": 702,
"score": 0.9998995065689087,
"start": 690,
"tag": "EMAIL",
"value": "user@foo.com"
},
{
"context": "ef user-email \"user@foo.com\")\... | test/jsk/test_data.clj | e85th/jsk | 0 | (ns jsk.test-data
(:require [clojure.repl :refer :all]
[clojure.pprint :refer [pprint]]
[clojure.tools.namespace.repl :refer [refresh]]
[clojure.java.io :as io]
[com.stuartsierra.component :as component]
[datomic.api :as d]
[e85th.commons.datomic... | 23468 | (ns jsk.test-data
(:require [clojure.repl :refer :all]
[clojure.pprint :refer [pprint]]
[clojure.tools.namespace.repl :refer [refresh]]
[clojure.java.io :as io]
[com.stuartsierra.component :as component]
[datomic.api :as d]
[e85th.commons.datomic... | true | (ns jsk.test-data
(:require [clojure.repl :refer :all]
[clojure.pprint :refer [pprint]]
[clojure.tools.namespace.repl :refer [refresh]]
[clojure.java.io :as io]
[com.stuartsierra.component :as component]
[datomic.api :as d]
[e85th.commons.datomic... |
[
{
"context": "ple rules\n ;; result-text is multiline, e.g.: \"151.101.129.69 via 10.0.2.2 dev enp0s3 src 10.0.2.15 uid 0 \\n ",
"end": 2797,
"score": 0.999727189540863,
"start": 2783,
"tag": "IP_ADDRESS",
"value": "151.101.129.69"
},
{
"context": "sult-text is multiline, e.g.: ... | main/src/dda/pallet/dda_serverspec_crate/infra/fact/iproute.clj | DomainDrivenArchitecture/dda-servertest-crate | 13 | ; Licensed to the Apache Software Foundation (ASF) under one
; or more contributor license agreements. See the NOTICE file
; distributed with this work for additional information
; regarding copyright ownership. The ASF licenses this file
; to you under the Apache License, Version 2.0 (the
; "License"); you may not use... | 122908 | ; Licensed to the Apache Software Foundation (ASF) under one
; or more contributor license agreements. See the NOTICE file
; distributed with this work for additional information
; regarding copyright ownership. The ASF licenses this file
; to you under the Apache License, Version 2.0 (the
; "License"); you may not use... | true | ; Licensed to the Apache Software Foundation (ASF) under one
; or more contributor license agreements. See the NOTICE file
; distributed with this work for additional information
; regarding copyright ownership. The ASF licenses this file
; to you under the Apache License, Version 2.0 (the
; "License"); you may not use... |
[
{
"context": ";;; Copyright 2013 Mitchell Kember. Subject to the MIT License.\n;;; 2010 Canadian Co",
"end": 34,
"score": 0.9998875856399536,
"start": 19,
"tag": "NAME",
"value": "Mitchell Kember"
}
] | src/ccc/y2010/j2.clj | mk12/ccc | 0 | ;;; Copyright 2013 Mitchell Kember. Subject to the MIT License.
;;; 2010 Canadian Computing Competition: Junior Division
;;; Problem J2: Up and Down
(ns ccc.y2010.j2
(:import java.lang.Math))
(defn displacement
"Calculates the displacement after going forward x steps and backward y steps
repeatedly for a total ... | 107261 | ;;; Copyright 2013 <NAME>. Subject to the MIT License.
;;; 2010 Canadian Computing Competition: Junior Division
;;; Problem J2: Up and Down
(ns ccc.y2010.j2
(:import java.lang.Math))
(defn displacement
"Calculates the displacement after going forward x steps and backward y steps
repeatedly for a total of s step... | true | ;;; Copyright 2013 PI:NAME:<NAME>END_PI. Subject to the MIT License.
;;; 2010 Canadian Computing Competition: Junior Division
;;; Problem J2: Up and Down
(ns ccc.y2010.j2
(:import java.lang.Math))
(defn displacement
"Calculates the displacement after going forward x steps and backward y steps
repeatedly for a t... |
[
{
"context": "\n :pass \"foobar\"\n :sendI",
"end": 780,
"score": 0.9994946718215942,
"start": 774,
"tag": "PASSWORD",
"value": "foobar"
},
{
"context": "\n :pas... | src/flowdock_xmpp/flowdock.cljs | osener/flowdock-xmpp | 2 | (ns flowdock-xmpp.flowdock
(:require-macros [cljs.core.async.macros :refer [go]])
(:require [clojure.string :as str]
[cljs.nodejs :as node]
[cljs.core.async :refer [chan put! <!] :as async]
[flowdock-xmpp.utils :refer [request error?]]))
(def Session (.-Session (node/require "fl... | 7601 | (ns flowdock-xmpp.flowdock
(:require-macros [cljs.core.async.macros :refer [go]])
(:require [clojure.string :as str]
[cljs.nodejs :as node]
[cljs.core.async :refer [chan put! <!] :as async]
[flowdock-xmpp.utils :refer [request error?]]))
(def Session (.-Session (node/require "fl... | true | (ns flowdock-xmpp.flowdock
(:require-macros [cljs.core.async.macros :refer [go]])
(:require [clojure.string :as str]
[cljs.nodejs :as node]
[cljs.core.async :refer [chan put! <!] :as async]
[flowdock-xmpp.utils :refer [request error?]]))
(def Session (.-Session (node/require "fl... |
[
{
"context": ";; Copyright (c) 2010 Tom Crayford,\n;;\n;; Redistribution and use in source and binar",
"end": 34,
"score": 0.9998195767402649,
"start": 22,
"tag": "NAME",
"value": "Tom Crayford"
}
] | src/clojure_refactoring/destructuring.clj | tcrayford/clojure-refactoring | 6 | ;; Copyright (c) 2010 Tom Crayford,
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions
;; are met:
;;
;; Redistributions of source code must retain the above copyright
;; notice, this list of conditions and the following... | 92345 | ;; Copyright (c) 2010 <NAME>,
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions
;; are met:
;;
;; Redistributions of source code must retain the above copyright
;; notice, this list of conditions and the following discl... | true | ;; Copyright (c) 2010 PI:NAME:<NAME>END_PI,
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions
;; are met:
;;
;; Redistributions of source code must retain the above copyright
;; notice, this list of conditions and the f... |
[
{
"context": "tabase:5432/hello_world\"\n :user \"benchmarkdbuser\"\n :password \"benchmarkdbpass\"\n ",
"end": 1880,
"score": 0.9733406901359558,
"start": 1865,
"tag": "USERNAME",
"value": "benchmarkdbuser"
},
{
"context": "er \"benchmarkdbuser\"\n... | frameworks/Clojure/reitit/src/hello/handler.clj | euri10/FrameworkBenchmarks | 0 | (ns hello.handler
(:require [immutant.web :as web]
[hikari-cp.core :as hikari]
[reitit.ring :as ring]
[porsas.core :as p]
[porsas.async :as pa]
[jsonista.core :as j])
(:import (java.util.concurrent ThreadLocalRandom))
(:gen-class))
(defn random []
(un... | 76968 | (ns hello.handler
(:require [immutant.web :as web]
[hikari-cp.core :as hikari]
[reitit.ring :as ring]
[porsas.core :as p]
[porsas.async :as pa]
[jsonista.core :as j])
(:import (java.util.concurrent ThreadLocalRandom))
(:gen-class))
(defn random []
(un... | true | (ns hello.handler
(:require [immutant.web :as web]
[hikari-cp.core :as hikari]
[reitit.ring :as ring]
[porsas.core :as p]
[porsas.async :as pa]
[jsonista.core :as j])
(:import (java.util.concurrent ThreadLocalRandom))
(:gen-class))
(defn random []
(un... |
[
{
"context": "tamp.\"\n [context rules]\n (let [current-keyname \"filter-rules/current.json\"\n timestamp-keyname (str \"filter-rules/\" (",
"end": 1772,
"score": 0.9724110960960388,
"start": 1747,
"tag": "KEY",
"value": "filter-rules/current.json"
}
] | src/event_data_twitter_agent/rules.clj | CrossRef/event-data-twitter-agent-retired | 0 | (ns event-data-twitter-agent.rules
"Handle Gnip's subscription rules."
(:require [baleen.stash :as baleen-stash]
[baleen.context :as baleen-context]
[baleen.time :as baleen-time]
[baleen.reverse :as baleen-reverse])
(:require [clojure.set :as set]
[cloj... | 123883 | (ns event-data-twitter-agent.rules
"Handle Gnip's subscription rules."
(:require [baleen.stash :as baleen-stash]
[baleen.context :as baleen-context]
[baleen.time :as baleen-time]
[baleen.reverse :as baleen-reverse])
(:require [clojure.set :as set]
[cloj... | true | (ns event-data-twitter-agent.rules
"Handle Gnip's subscription rules."
(:require [baleen.stash :as baleen-stash]
[baleen.context :as baleen-context]
[baleen.time :as baleen-time]
[baleen.reverse :as baleen-reverse])
(:require [clojure.set :as set]
[cloj... |
[
{
"context": "; Copyright (c) Rich Hickey. All rights reserved.\n; The use and distributio",
"end": 29,
"score": 0.9998134970664978,
"start": 18,
"tag": "NAME",
"value": "Rich Hickey"
}
] | Chapter 07 Code/niko/clojure/test/clojure/test_clojure/java/shell.clj | PacktPublishing/Clojure-Programming-Cookbook | 14 | ; Copyright (c) Rich Hickey. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
; which can be found in the file epl-v10.html at the root of this distribution.
; By using this software in any ... | 123320 | ; 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": "lements.java.numbers.sum.Kahan, etc.\"\n :author \"palisades dot lakes at gmail dot com\"\n :since \"2017-04-07\"\n :version \"2019-10-17\"}",
"end": 308,
"score": 0.9239307641983032,
"start": 272,
"tag": "EMAIL",
"value": "palisades dot lakes at gmail dot com"
}
] | src/main/clojure/palisades/lakes/elements/numbers/sum.clj | palisades-lakes/les-elemens | 0 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns palisades.lakes.elements.numbers.sum
{:doc "Wrapper for palisades.lakes.elements.java.numbers.sum.Kahan, etc."
:author "palisades dot lakes at gmail dot com"
:since ... | 72177 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns palisades.lakes.elements.numbers.sum
{:doc "Wrapper for palisades.lakes.elements.java.numbers.sum.Kahan, etc."
:author "<EMAIL>"
:since "2017-04-07"
:version "201... | true | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns palisades.lakes.elements.numbers.sum
{:doc "Wrapper for palisades.lakes.elements.java.numbers.sum.Kahan, etc."
:author "PI:EMAIL:<EMAIL>END_PI"
:since "2017-04-07"
... |
[
{
"context": "\\\"/home/user/src/elasticsearch-source\\\"\n \\\"git@github.com:elastic/elasticsearch.git\\\")\n\n cli: git clone gi",
"end": 5150,
"score": 0.9776977300643921,
"start": 5136,
"tag": "EMAIL",
"value": "git@github.com"
},
{
"context": "c/elasticsearch-source\\\"... | src/clj/clj_git/core.clj | ddillinger/runbld | 6 | (ns clj-git.core
(:require
[clojure.edn :as edn]
[clojure.java.io :as io]
[clojure.java.shell :as sh]
[clojure.string :as str]
[clojure.zip :as zip]
[instaparse.core :as i])
(:import
(java.time Instant ZoneOffset)))
(defrecord Repository [path])
(defrecord Author [name email time])
(defrecor... | 112708 | (ns clj-git.core
(:require
[clojure.edn :as edn]
[clojure.java.io :as io]
[clojure.java.shell :as sh]
[clojure.string :as str]
[clojure.zip :as zip]
[instaparse.core :as i])
(:import
(java.time Instant ZoneOffset)))
(defrecord Repository [path])
(defrecord Author [name email time])
(defrecor... | true | (ns clj-git.core
(:require
[clojure.edn :as edn]
[clojure.java.io :as io]
[clojure.java.shell :as sh]
[clojure.string :as str]
[clojure.zip :as zip]
[instaparse.core :as i])
(:import
(java.time Instant ZoneOffset)))
(defrecord Repository [path])
(defrecord Author [name email time])
(defrecor... |
[
{
"context": "pdate-user-secrets! \"unrelated\" {:ega {:api-key \"789\"}})))\n (is (= {:success true}\n (use",
"end": 1943,
"score": 0.8194922804832458,
"start": 1942,
"tag": "KEY",
"value": "8"
},
{
"context": " {:api-key \"123\"}})))\n (is (= {:ega {:api-key \"789\"... | test/clj/rems/db/test_user_secrets.clj | tjb/rems | 31 | (ns ^:integration rems.db.test-user-secrets
(:require [clojure.test :refer [deftest is testing use-fixtures]]
[rems.db.testing :refer [rollback-db-fixture test-db-fixture]]
[rems.db.user-secrets :as user-secrets]
[rems.db.users :as users]))
(use-fixtures :once test-db-fixture)
(us... | 75679 | (ns ^:integration rems.db.test-user-secrets
(:require [clojure.test :refer [deftest is testing use-fixtures]]
[rems.db.testing :refer [rollback-db-fixture test-db-fixture]]
[rems.db.user-secrets :as user-secrets]
[rems.db.users :as users]))
(use-fixtures :once test-db-fixture)
(us... | true | (ns ^:integration rems.db.test-user-secrets
(:require [clojure.test :refer [deftest is testing use-fixtures]]
[rems.db.testing :refer [rollback-db-fixture test-db-fixture]]
[rems.db.user-secrets :as user-secrets]
[rems.db.users :as users]))
(use-fixtures :once test-db-fixture)
(us... |
[
{
"context": ";; Copyright 2014-2020 King\n;; Copyright 2009-2014 Ragnar Svensson, Christian Murray\n;; Licensed under the Defold Li",
"end": 111,
"score": 0.9998179078102112,
"start": 96,
"tag": "NAME",
"value": "Ragnar Svensson"
},
{
"context": "-2020 King\n;; Copyright 2009-2014 R... | editor/test/editor/protobuf_test.clj | cmarincia/defold | 0 | ;; Copyright 2020-2022 The Defold Foundation
;; Copyright 2014-2020 King
;; Copyright 2009-2014 Ragnar Svensson, Christian Murray
;; Licensed under the Defold License version 1.0 (the "License"); you may not use
;; this file except in compliance with the License.
;;
;; You may obtain a copy of the License, together wi... | 23236 | ;; 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": "rs {:env {:database-url \"postgres://arcane_user:password1@127.0.0.1:5432/arcane\"}}\n :test-env-vars {:env {:",
"end": 71,
"score": 0.7175249457359314,
"start": 62,
"tag": "PASSWORD",
"value": "password1"
},
{
"context": "{:database-url \"postgres://arcane_user:pass... | profiles.clj | chinmaydd/Arcane | 0 | {:dev-env-vars {:env {:database-url "postgres://arcane_user:password1@127.0.0.1:5432/arcane"}}
:test-env-vars {:env {:database-url "postgres://arcane_user:password1@127.0.0.1:5432/arcane_test"}}} | 1077 | {:dev-env-vars {:env {:database-url "postgres://arcane_user:<PASSWORD>@127.0.0.1:5432/arcane"}}
:test-env-vars {:env {:database-url "postgres://arcane_user:<PASSWORD>@127.0.0.1:5432/arcane_test"}}} | true | {:dev-env-vars {:env {:database-url "postgres://arcane_user:PI:PASSWORD:<PASSWORD>END_PI@127.0.0.1:5432/arcane"}}
:test-env-vars {:env {:database-url "postgres://arcane_user:PI:PASSWORD:<PASSWORD>END_PI@127.0.0.1:5432/arcane_test"}}} |
[
{
"context": "ndex.html\n(def provinces\n {7\n {:name\n {:fi \"Päijät-Häme\", :en \"Päijät-Häme\", :se \"Päijänne-Tavastland\"}},",
"end": 1237,
"score": 0.9988428354263306,
"start": 1226,
"tag": "NAME",
"value": "Päijät-Häme"
},
{
"context": "inces\n {7\n {:name\n {:fi \... | webapp/src/cljc/lipas/data/cities.cljc | lipas-liikuntapaikat/lipas | 49 | (ns lipas.data.cities
(:require
[lipas.utils :as utils]))
;; 7 Regional State Administrative Agencies (AVI)
;; https://www.tilastokeskus.fi/meta/luokitukset/avi/001-2019/index.html
(def avi-areas
{1
{:name {:fi "Etelä-Suomen AVI", :en "Etelä-Suomen AVI", :se "Södra Finland"},
:provinces #{7 1 9 5 8}},
... | 118062 | (ns lipas.data.cities
(:require
[lipas.utils :as utils]))
;; 7 Regional State Administrative Agencies (AVI)
;; https://www.tilastokeskus.fi/meta/luokitukset/avi/001-2019/index.html
(def avi-areas
{1
{:name {:fi "Etelä-Suomen AVI", :en "Etelä-Suomen AVI", :se "Södra Finland"},
:provinces #{7 1 9 5 8}},
... | true | (ns lipas.data.cities
(:require
[lipas.utils :as utils]))
;; 7 Regional State Administrative Agencies (AVI)
;; https://www.tilastokeskus.fi/meta/luokitukset/avi/001-2019/index.html
(def avi-areas
{1
{:name {:fi "Etelä-Suomen AVI", :en "Etelä-Suomen AVI", :se "Södra Finland"},
:provinces #{7 1 9 5 8}},
... |
[
{
"context": " :target \"_blank\"} \"NAVIS\"))\n (dom/p nil \"Part of \"\n ",
"end": 8574,
"score": 0.9937929511070251,
"start": 8569,
"tag": "NAME",
"value": "NAVIS"
}
] | src/client/untangled-todomvc/ui.cljs | chrismurrph/todomvc | 0 | (ns untangled-todomvc.ui
(:require [om.next :as om :refer-macros [defui]]
[untangled.client.mutations :as mut]
[untangled.i18n :refer-macros [tr trf]]
yahoo.intl-messageformat-with-locales
[om.dom :as dom]))
(defn is-enter? [evt] (= 13 (.-keyCode evt)))
(defn is-escape... | 27295 | (ns untangled-todomvc.ui
(:require [om.next :as om :refer-macros [defui]]
[untangled.client.mutations :as mut]
[untangled.i18n :refer-macros [tr trf]]
yahoo.intl-messageformat-with-locales
[om.dom :as dom]))
(defn is-enter? [evt] (= 13 (.-keyCode evt)))
(defn is-escape... | true | (ns untangled-todomvc.ui
(:require [om.next :as om :refer-macros [defui]]
[untangled.client.mutations :as mut]
[untangled.i18n :refer-macros [tr trf]]
yahoo.intl-messageformat-with-locales
[om.dom :as dom]))
(defn is-enter? [evt] (= 13 (.-keyCode evt)))
(defn is-escape... |
[
{
"context": "/submit+await-tx [[::xt/put {:xt/id :ivan, :name \"Ivna\"}]])\n\n (let [all-names-query '{:find [?name]\n ",
"end": 512,
"score": 0.9978643655776978,
"start": 508,
"tag": "NAME",
"value": "Ivna"
},
{
"context": "db\n [[::xt/put {:xt/id :ivan, :name \"Iva... | core/test/xtdb/fork_test.clj | aleksandersumowski/xtdb | 1,500 | (ns xtdb.fork-test
(:require [clojure.test :as t]
[xtdb.api :as xt]
[xtdb.db :as db]
[xtdb.fixtures :as fix :refer [*api*]]
[xtdb.tx :as tx])
(:import java.util.Date))
(t/use-fixtures :each fix/with-node)
(t/deftest test-empty-fork
(let [db (-> (xt/db *api*)
... | 42722 | (ns xtdb.fork-test
(:require [clojure.test :as t]
[xtdb.api :as xt]
[xtdb.db :as db]
[xtdb.fixtures :as fix :refer [*api*]]
[xtdb.tx :as tx])
(:import java.util.Date))
(t/use-fixtures :each fix/with-node)
(t/deftest test-empty-fork
(let [db (-> (xt/db *api*)
... | true | (ns xtdb.fork-test
(:require [clojure.test :as t]
[xtdb.api :as xt]
[xtdb.db :as db]
[xtdb.fixtures :as fix :refer [*api*]]
[xtdb.tx :as tx])
(:import java.util.Date))
(t/use-fixtures :each fix/with-node)
(t/deftest test-empty-fork
(let [db (-> (xt/db *api*)
... |
[
{
"context": "(def instance-tag-key (env \"INETANCE_TAG_KEY\" \"EKS-NODE-POOL\"))\n(def instance-tag-value (env \"INETANC",
"end": 3373,
"score": 0.576911211013794,
"start": 3373,
"tag": "KEY",
"value": ""
},
{
"context": "instance-tag-key (env \"INETANCE_TAG_KEY\" \"EKS-NODE-POOL\")... | src/eks_static_ip/core.clj | hden/eks-static-ip | 2 | (ns eks-static-ip.core
(:require [cognitect.aws.client.api :as aws]
[datascript.core :as datascript]
[taoensso.timbre :as timbre])
(:import [com.amazonaws.services.lambda.runtime RequestHandler])
(:gen-class
:name eks.StaticIPHandler
:implements [com.amazonaws.services.lambda.runti... | 81105 | (ns eks-static-ip.core
(:require [cognitect.aws.client.api :as aws]
[datascript.core :as datascript]
[taoensso.timbre :as timbre])
(:import [com.amazonaws.services.lambda.runtime RequestHandler])
(:gen-class
:name eks.StaticIPHandler
:implements [com.amazonaws.services.lambda.runti... | true | (ns eks-static-ip.core
(:require [cognitect.aws.client.api :as aws]
[datascript.core :as datascript]
[taoensso.timbre :as timbre])
(:import [com.amazonaws.services.lambda.runtime RequestHandler])
(:gen-class
:name eks.StaticIPHandler
:implements [com.amazonaws.services.lambda.runti... |
[
{
"context": "a/css/bootstrap.min.css\"\n :integrity \"sha384-/Y6pD6FV/Vv2HJnA6t+vslU6fwYXjCFtcEpHbNJ0lyAFsXTsjBbfaDjzALeQsN6M\"\n :crossorigin \"anonymous\"}]]\n [:b",
"end": 679,
"score": 0.9976144433021545,
"start": 608,
"tag": "KEY",
"value": "sha384-/Y6pD6FV/V... | examples/bootstrap/src/example/core.clj | ayato-p/kuuga | 23 | (ns example.core
(:gen-class)
(:require [hiccup2.core :as hiccup]
[kuuga.growing :as growing]
[kuuga.tool :as tool]
[kuuga.ultimate :as ultimate]
[ring.adapter.jetty :as jetty]
[ring.util.response :as response]))
(defonce server (atom nil))
(defn layout ... | 5909 | (ns example.core
(:gen-class)
(:require [hiccup2.core :as hiccup]
[kuuga.growing :as growing]
[kuuga.tool :as tool]
[kuuga.ultimate :as ultimate]
[ring.adapter.jetty :as jetty]
[ring.util.response :as response]))
(defonce server (atom nil))
(defn layout ... | true | (ns example.core
(:gen-class)
(:require [hiccup2.core :as hiccup]
[kuuga.growing :as growing]
[kuuga.tool :as tool]
[kuuga.ultimate :as ultimate]
[ring.adapter.jetty :as jetty]
[ring.util.response :as response]))
(defonce server (atom nil))
(defn layout ... |
[
{
"context": "ur)\n\n(enable-console-print!)\n\n(def passphrases\n \"bdwdjjo avricm cjbmj ran lmfsom ivsof\nmxonybc fndyzzi gmdp gdfyoi inrvhr k",
"end": 95,
"score": 0.7475754022598267,
"start": 71,
"tag": "KEY",
"value": "bdwdjjo avricm cjbmj ran"
}
] | src/advent_of_code/four.cljs | dirv/advent-of-code-2017 | 0 | (ns advent-of-code.four)
(enable-console-print!)
(def passphrases
"bdwdjjo avricm cjbmj ran lmfsom ivsof
mxonybc fndyzzi gmdp gdfyoi inrvhr kpuueel wdpga vkq
bneh ylltsc vhryov lsd hmruxy ebnh pdln vdprrky
fumay zbccai qymavw zwoove hqpd rcxyvy
bcuo khhkkro mpt dxrebym qwum zqp lhmbma esmr qiyomu
qjs giedut mzsubkn... | 121919 | (ns advent-of-code.four)
(enable-console-print!)
(def passphrases
"<KEY> lmfsom ivsof
mxonybc fndyzzi gmdp gdfyoi inrvhr kpuueel wdpga vkq
bneh ylltsc vhryov lsd hmruxy ebnh pdln vdprrky
fumay zbccai qymavw zwoove hqpd rcxyvy
bcuo khhkkro mpt dxrebym qwum zqp lhmbma esmr qiyomu
qjs giedut mzsubkn rcbugk voxk yrlp r... | true | (ns advent-of-code.four)
(enable-console-print!)
(def passphrases
"PI:KEY:<KEY>END_PI lmfsom ivsof
mxonybc fndyzzi gmdp gdfyoi inrvhr kpuueel wdpga vkq
bneh ylltsc vhryov lsd hmruxy ebnh pdln vdprrky
fumay zbccai qymavw zwoove hqpd rcxyvy
bcuo khhkkro mpt dxrebym qwum zqp lhmbma esmr qiyomu
qjs giedut mzsubkn rcbug... |
[
{
"context": "me-body []\n (h/div\n {:id \"content\"}\n [(h/h1 \"John Jacobsen ...\")\n (h/div {:class \"figure\"}\n [(h",
"end": 221,
"score": 0.9958058595657349,
"start": 208,
"tag": "NAME",
"value": "John Jacobsen"
},
{
"context": " (h/p [(h/a {:href \... | src/organa/pages.clj | eigenhombre/organa | 14 | (ns organa.pages
(:require [organa.html :as h]))
(defn blog-body []
(h/div {:id "content"} ["Hi, I'm a blog!"])
(h/div {:id "blogposts"} []))
(defn home-body []
(h/div
{:id "content"}
[(h/h1 "John Jacobsen ...")
(h/div {:class "figure"}
[(h/a {:href "view-from-skylab-cropped-large.png"
... | 115495 | (ns organa.pages
(:require [organa.html :as h]))
(defn blog-body []
(h/div {:id "content"} ["Hi, I'm a blog!"])
(h/div {:id "blogposts"} []))
(defn home-body []
(h/div
{:id "content"}
[(h/h1 "<NAME> ...")
(h/div {:class "figure"}
[(h/a {:href "view-from-skylab-cropped-large.png"
... | true | (ns organa.pages
(:require [organa.html :as h]))
(defn blog-body []
(h/div {:id "content"} ["Hi, I'm a blog!"])
(h/div {:id "blogposts"} []))
(defn home-body []
(h/div
{:id "content"}
[(h/h1 "PI:NAME:<NAME>END_PI ...")
(h/div {:class "figure"}
[(h/a {:href "view-from-skylab-cropped-large.... |
[
{
"context": "\n(def data [{:name \"Panu\", :dad \"Mikko\", :mom \"Podo\"}\n {:name \"H",
"end": 24,
"score": 0.9997943639755249,
"start": 20,
"tag": "NAME",
"value": "Panu"
},
{
"context": "\n(def data [{:name \"Panu\", :dad \"Mikko\", :mom \"Podo\"}\n {:name \"H... | 4-iteration/ex-1.clj | pkalliok/fp-presentation | 1 |
(def data [{:name "Panu", :dad "Mikko", :mom "Podo"}
{:name "Henna", :dad "Matti", :mom "Heidi"}
{:name "Riikka", :dad "?", :mom "Tuula"}
{:name "Martta", :dad "Martti", :mom "Tiina"}
{:name "Kaneli", :dad "Panu", :mom "Martta"}
{:name "Peikko", :dad "Panu", :mom ... | 76215 |
(def data [{:name "<NAME>", :dad "<NAME>", :mom "<NAME>"}
{:name "<NAME>", :dad "<NAME>", :mom "<NAME>"}
{:name "<NAME>", :dad "?", :mom "<NAME>"}
{:name "<NAME>", :dad "<NAME>", :mom "<NAME>"}
{:name "<NAME>", :dad "<NAME>", :mom "<NAME>"}
{:name "<NAME>", :dad "... | true |
(def data [{:name "PI:NAME:<NAME>END_PI", :dad "PI:NAME:<NAME>END_PI", :mom "PI:NAME:<NAME>END_PI"}
{:name "PI:NAME:<NAME>END_PI", :dad "PI:NAME:<NAME>END_PI", :mom "PI:NAME:<NAME>END_PI"}
{:name "PI:NAME:<NAME>END_PI", :dad "?", :mom "PI:NAME:<NAME>END_PI"}
{:name "PI:NAME:<NAME>END_P... |
[
{
"context": "-resource state)))))))\n\n(deftest alexa-belsky\n ;; Alexa Belsky\n (do-game\n (new-game\n (default-contestan",
"end": 2921,
"score": 0.9994800686836243,
"start": 2909,
"tag": "NAME",
"value": "Alexa Belsky"
},
{
"context": "do-game\n (new-game\n (defa... | test/clj/game_test/cards/sites.clj | SylvanSign/cardnum | 0 | (ns game-test.cards.hardware
(:require [game.core :as core]
[game-test.core :refer :all]
[game-test.utils :refer :all]
[game-test.macros :refer :all]
[clojure.test :refer :all]))
(use-fixtures :once load-all-cards (partial reset-card-defs "sites"))
(deftest adonis-cam... | 94595 | (ns game-test.cards.hardware
(:require [game.core :as core]
[game-test.core :refer :all]
[game-test.utils :refer :all]
[game-test.macros :refer :all]
[clojure.test :refer :all]))
(use-fixtures :once load-all-cards (partial reset-card-defs "sites"))
(deftest adonis-cam... | true | (ns game-test.cards.hardware
(:require [game.core :as core]
[game-test.core :refer :all]
[game-test.utils :refer :all]
[game-test.macros :refer :all]
[clojure.test :refer :all]))
(use-fixtures :once load-all-cards (partial reset-card-defs "sites"))
(deftest adonis-cam... |
[
{
"context": "; Copyright (C) 2008 - 2011 Stefan Marr <mail@stefan-marr.de>\n; \n; Permission is hereby g",
"end": 39,
"score": 0.9998882412910461,
"start": 28,
"tag": "NAME",
"value": "Stefan Marr"
},
{
"context": "; Copyright (C) 2008 - 2011 Stefan Marr <mail@stefan-marr.de>\n; \n;... | Clojure/src/snake/board.clj | smarr/Snake | 4 | ; Copyright (C) 2008 - 2011 Stefan Marr <mail@stefan-marr.de>
;
; Permission is hereby granted, free of charge, to any person obtaining a copy
; of this software and associated documentation files (the "Software"), to
; deal in the Software without restriction, including without limitation the
; rights to use, copy, m... | 48682 | ; Copyright (C) 2008 - 2011 <NAME> <<EMAIL>>
;
; Permission is hereby granted, free of charge, to any person obtaining a copy
; of this software and associated documentation files (the "Software"), to
; deal in the Software without restriction, including without limitation the
; rights to use, copy, modify, merge, pub... | true | ; Copyright (C) 2008 - 2011 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
;
; Permission is hereby granted, free of charge, to any person obtaining a copy
; of this software and associated documentation files (the "Software"), to
; deal in the Software without restriction, including without limitation the
; rights to ... |
[
{
"context": "city: https://velocity.apache.org\"\n :author \"Paul Landes\"}\n zensols.mkproj.velocity\n (:import [org.apa",
"end": 103,
"score": 0.9998736381530762,
"start": 92,
"tag": "NAME",
"value": "Paul Landes"
}
] | src/clojure/zensols/mkproj/velocity.clj | plandes/clj-mkproj | 0 | (ns ^{:doc "A Clojure library to wrap Velocity: https://velocity.apache.org"
:author "Paul Landes"}
zensols.mkproj.velocity
(:import [org.apache.velocity VelocityContext Template]
[org.apache.velocity.app Velocity]
[org.apache.velocity.runtime RuntimeSingleton]
[org.apache.v... | 78394 | (ns ^{:doc "A Clojure library to wrap Velocity: https://velocity.apache.org"
:author "<NAME>"}
zensols.mkproj.velocity
(:import [org.apache.velocity VelocityContext Template]
[org.apache.velocity.app Velocity]
[org.apache.velocity.runtime RuntimeSingleton]
[org.apache.veloci... | true | (ns ^{:doc "A Clojure library to wrap Velocity: https://velocity.apache.org"
:author "PI:NAME:<NAME>END_PI"}
zensols.mkproj.velocity
(:import [org.apache.velocity VelocityContext Template]
[org.apache.velocity.app Velocity]
[org.apache.velocity.runtime RuntimeSingleton]
[org... |
[
{
"context": "s props]\n (dom/div\n (ui-person {:person/name \"Joe\" :person/age 23})))\n",
"end": 348,
"score": 0.9996619820594788,
"start": 345,
"tag": "NAME",
"value": "Joe"
}
] | clj/ex/study_fulcro/app02/src/app/ui.cljs | mertnuhoglu/study | 1 | (ns app.ui
(:require
[com.fulcrologic.fulcro.components :as comp :refer [defsc]]
[com.fulcrologic.fulcro.dom :as dom]))
(defsc Person [this {:person/keys [name age]}]
(dom/div
(dom/p "Name: " name)
(dom/p "Age: " age)))
(def ui-person (comp/factory Person))
(defsc Root [this props]
(dom/div
(... | 56243 | (ns app.ui
(:require
[com.fulcrologic.fulcro.components :as comp :refer [defsc]]
[com.fulcrologic.fulcro.dom :as dom]))
(defsc Person [this {:person/keys [name age]}]
(dom/div
(dom/p "Name: " name)
(dom/p "Age: " age)))
(def ui-person (comp/factory Person))
(defsc Root [this props]
(dom/div
(... | true | (ns app.ui
(:require
[com.fulcrologic.fulcro.components :as comp :refer [defsc]]
[com.fulcrologic.fulcro.dom :as dom]))
(defsc Person [this {:person/keys [name age]}]
(dom/div
(dom/p "Name: " name)
(dom/p "Age: " age)))
(def ui-person (comp/factory Person))
(defsc Root [this props]
(dom/div
(... |
[
{
"context": " \"sáu\" 6 \"linh sáu\" 6 \"lẻ sáu\" 6 \"bảy\" 7 \"linh bảy\" 7 \"lẻ bảy\" 7 \n \"tám\"",
"end": 1018,
"score": 0.5122019052505493,
"start": 1017,
"tag": "NAME",
"value": "y"
},
{
"context": "nh bảy\" 7 \"lẻ bảy\" 7 \n \"tám\"... | resources/languages/vi/rules/numbers.clj | sebastianmika/duckling | 0 | (
"intersect"
[(dim :number :grain #(> (:grain %) 1)) (dim :number)] ; grain 1 are taken care of by specific rule
(compose-numbers %1 %2)
"intersect (with and)"
[(dim :number :grain #(> (:grain %) 1)) #"(?i)and" (dim :number)] ; grain 1 are taken care of by specific rule
(compose-numbers %1 %3)
;;
;; I... | 111555 | (
"intersect"
[(dim :number :grain #(> (:grain %) 1)) (dim :number)] ; grain 1 are taken care of by specific rule
(compose-numbers %1 %2)
"intersect (with and)"
[(dim :number :grain #(> (:grain %) 1)) #"(?i)and" (dim :number)] ; grain 1 are taken care of by specific rule
(compose-numbers %1 %3)
;;
;; I... | true | (
"intersect"
[(dim :number :grain #(> (:grain %) 1)) (dim :number)] ; grain 1 are taken care of by specific rule
(compose-numbers %1 %2)
"intersect (with and)"
[(dim :number :grain #(> (:grain %) 1)) #"(?i)and" (dim :number)] ; grain 1 are taken care of by specific rule
(compose-numbers %1 %3)
;;
;; I... |
[
{
"context": "tings [] { :session { :store (cookie-store {:key \"40c5db5c4b13bbb2\"})\n :cookie-",
"end": 746,
"score": 0.9997380971908569,
"start": 730,
"tag": "KEY",
"value": "40c5db5c4b13bbb2"
}
] | src/places_annotations/settings.clj | benjaminbergstein/vote-with-your-dollar | 0 | (ns places-annotations.settings
(:require [ring.middleware.defaults :refer :all])
(:use ring.middleware.session.cookie))
(defmacro defenv
([env-def env-key default-value]
`(def ~env-def (or (System/getenv ~env-key) ~default-value)))
([env-def env-key]
`(def ~env-def (System/getenv ~env-key))))
(defe... | 21878 | (ns places-annotations.settings
(:require [ring.middleware.defaults :refer :all])
(:use ring.middleware.session.cookie))
(defmacro defenv
([env-def env-key default-value]
`(def ~env-def (or (System/getenv ~env-key) ~default-value)))
([env-def env-key]
`(def ~env-def (System/getenv ~env-key))))
(defe... | true | (ns places-annotations.settings
(:require [ring.middleware.defaults :refer :all])
(:use ring.middleware.session.cookie))
(defmacro defenv
([env-def env-key default-value]
`(def ~env-def (or (System/getenv ~env-key) ~default-value)))
([env-def env-key]
`(def ~env-def (System/getenv ~env-key))))
(defe... |
[
{
"context": "})\n\n(def expected-registry\n {\"name1\" {:name \"name1\" :restUrl \"http://url1.com/rest\"\n :act",
"end": 1641,
"score": 0.5285012722015381,
"start": 1640,
"tag": "NAME",
"value": "1"
},
{
"context": "nizationUrl \"http://url1.com\"}\n \"name2\" {:name ... | data/train/clojure/02600903e9744c3814e8a6f6f63da38b4fb41deeregistry_test.clj | harshp8l/deep-learning-lang-detection | 84 | (ns ppi-query.interaction.psicquic.registry-test
(:require [clojure.test :refer :all]
[clojure.test.check.generators :as gen]
[clojure.spec.alpha :as s]
[clojure.spec.test.alpha :as stest]
[ppi-query.test.utils :refer :all]
[ppi-query.interaction.psicquic.re... | 93517 | (ns ppi-query.interaction.psicquic.registry-test
(:require [clojure.test :refer :all]
[clojure.test.check.generators :as gen]
[clojure.spec.alpha :as s]
[clojure.spec.test.alpha :as stest]
[ppi-query.test.utils :refer :all]
[ppi-query.interaction.psicquic.re... | true | (ns ppi-query.interaction.psicquic.registry-test
(:require [clojure.test :refer :all]
[clojure.test.check.generators :as gen]
[clojure.spec.alpha :as s]
[clojure.spec.test.alpha :as stest]
[ppi-query.test.utils :refer :all]
[ppi-query.interaction.psicquic.re... |
[
{
"context": "/sites.google.com/site/williamdnordhaus/dice-rice\nNordhaus, W. (2017). Revisiting the Social Cost of Carbon. PN",
"end": 631,
"score": 0.8185182809829712,
"start": 620,
"tag": "NAME",
"value": "Nordhaus, W"
},
{
"context": " Carbon. PNAS, 114(7): 1518-1523.\"\n :a... | src/dice_simulator/models/dice2016.clj | shchipts/dice-simulator | 0 | ; Copyright (c) 2021 International Institute for Applied Systems Analysis.
; All rights reserved. The use and distribution terms for this software
; are covered by the MIT License (http://opensource.org/licenses/MIT)
; which can be found in the file LICENSE at the root of this distribution.
; By using this so... | 111369 | ; Copyright (c) 2021 International Institute for Applied Systems Analysis.
; All rights reserved. The use and distribution terms for this software
; are covered by the MIT License (http://opensource.org/licenses/MIT)
; which can be found in the file LICENSE at the root of this distribution.
; By using this so... | true | ; Copyright (c) 2021 International Institute for Applied Systems Analysis.
; All rights reserved. The use and distribution terms for this software
; are covered by the MIT License (http://opensource.org/licenses/MIT)
; which can be found in the file LICENSE at the root of this distribution.
; By using this so... |
[
{
"context": "\n :port 465\n :user \"hiron@fastmail.fm\"\n :pass \"XXXXXXXXXXXXXXXX\"\n ",
"end": 1009,
"score": 0.9999309778213501,
"start": 992,
"tag": "EMAIL",
"value": "hiron@fastmail.fm"
},
{
"context": " :user \"hiron@fastmail.... | src/towncrier/output/email.clj | atowndata/towncrier | 2 | (ns towncrier.output.email
(:use postal.core)
(:use [clojure.string :only [join]])
(:require [towncrier.output.protocols :as protos]))
(defrecord EmailAlertOutput [smtp-conf from-email to-emails subject-fn body-fn]
protos/AlertOutput
(init! [this])
(alert! [this alert]
(let [send-msg (if (some? (:smtp-... | 86449 | (ns towncrier.output.email
(:use postal.core)
(:use [clojure.string :only [join]])
(:require [towncrier.output.protocols :as protos]))
(defrecord EmailAlertOutput [smtp-conf from-email to-emails subject-fn body-fn]
protos/AlertOutput
(init! [this])
(alert! [this alert]
(let [send-msg (if (some? (:smtp-... | true | (ns towncrier.output.email
(:use postal.core)
(:use [clojure.string :only [join]])
(:require [towncrier.output.protocols :as protos]))
(defrecord EmailAlertOutput [smtp-conf from-email to-emails subject-fn body-fn]
protos/AlertOutput
(init! [this])
(alert! [this alert]
(let [send-msg (if (some? (:smtp-... |
[
{
"context": "tellar data ingestion module.\n;;\n;; Copyright 2017 CSIRO Data61\n;;\n;; Licensed under the Apache License, V",
"end": 176,
"score": 0.9166369438171387,
"start": 171,
"tag": "NAME",
"value": "CSIRO"
},
{
"context": " data ingestion module.\n;;\n;; Copyright 2017 CSIRO ... | src/stellar_ingest/schema.clj | huyph/stellar-ingest | 0 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; This file is part of stellar-ingest, Stellar data ingestion module.
;;
;; Copyright 2017 CSIRO Data61
;;
;; Licensed under the Apache License, Version 2.0 (the "License"); you may not
;; use this file except in compliance with the License... | 55766 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; This file is part of stellar-ingest, Stellar data ingestion module.
;;
;; Copyright 2017 <NAME> Data61
;;
;; Licensed under the Apache License, Version 2.0 (the "License"); you may not
;; use this file except in compliance with the Licens... | true | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; This file is part of stellar-ingest, Stellar data ingestion module.
;;
;; Copyright 2017 PI:NAME:<NAME>END_PI Data61
;;
;; Licensed under the Apache License, Version 2.0 (the "License"); you may not
;; use this file except in compliance w... |
[
{
"context": ";; Authors: Sung Pae <self@sungpae.com>\n\n(ns vim-clojure-static.update",
"end": 20,
"score": 0.9998781681060791,
"start": 12,
"tag": "NAME",
"value": "Sung Pae"
},
{
"context": ";; Authors: Sung Pae <self@sungpae.com>\n\n(ns vim-clojure-static.update\n (:require [clo... | clj/src/vim_clojure_static/update.clj | amacdougall/vim-clojure-static | 0 | ;; Authors: Sung Pae <self@sungpae.com>
(ns vim-clojure-static.update
(:require [clojure.string :as string]
[clojure.java.shell :as shell]))
(defn update-vim!
"Update Vim repository runtime files in dst/runtime"
[src dst]
(let [join (fn [& args] (string/join \/ args))
indent-file (join dst... | 84877 | ;; Authors: <NAME> <<EMAIL>>
(ns vim-clojure-static.update
(:require [clojure.string :as string]
[clojure.java.shell :as shell]))
(defn update-vim!
"Update Vim repository runtime files in dst/runtime"
[src dst]
(let [join (fn [& args] (string/join \/ args))
indent-file (join dst "runtime/d... | true | ;; Authors: PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
(ns vim-clojure-static.update
(:require [clojure.string :as string]
[clojure.java.shell :as shell]))
(defn update-vim!
"Update Vim repository runtime files in dst/runtime"
[src dst]
(let [join (fn [& args] (string/join \/ args))
ind... |
[
{
"context": "ntities\n {:user\n {:email \"john+manager@company.Io\",\n :email_personal \"mypersonal-email",
"end": 1977,
"score": 0.9998803734779358,
"start": 1954,
"tag": "EMAIL",
"value": "john+manager@company.Io"
},
{
"context": "nager@company... | src/cljc/scimmer/services/resource.cljc | elarous/scimmer | 1 | (ns scimmer.services.resource
"Create the resource based on the given schema and entities filled with values"
(:require [scimmer.services.schema :as sch]
[malli.provider :as mp]
[malli.util :as mu]))
(defn value-by-key [entities ns-k]
(let [ns (keyword (namespace ns-k))
k (keyword... | 73698 | (ns scimmer.services.resource
"Create the resource based on the given schema and entities filled with values"
(:require [scimmer.services.schema :as sch]
[malli.provider :as mp]
[malli.util :as mu]))
(defn value-by-key [entities ns-k]
(let [ns (keyword (namespace ns-k))
k (keyword... | true | (ns scimmer.services.resource
"Create the resource based on the given schema and entities filled with values"
(:require [scimmer.services.schema :as sch]
[malli.provider :as mp]
[malli.util :as mu]))
(defn value-by-key [entities ns-k]
(let [ns (keyword (namespace ns-k))
k (keyword... |
[
{
"context": "ile is part of tempest-cljs\n;; Copyright (c) 2012, Trevor Bentley\n;; All rights reserved.\n;; See LICENSE file for d",
"end": 77,
"score": 0.9998506903648376,
"start": 63,
"tag": "NAME",
"value": "Trevor Bentley"
}
] | tempest/tempest/util.cljs | mrmekon/tempest-cljs | 5 | ;;
;; This file is part of tempest-cljs
;; Copyright (c) 2012, Trevor Bentley
;; All rights reserved.
;; See LICENSE file for details.
;;
(ns ^{:doc "Small utility and math helper functions."}
tempest.util)
(defn rad-to-deg
"Convert radians to degrees"
[rad]
(/ (* rad 180) 3.14159265358979))
(defn deg-to-rad... | 103652 | ;;
;; This file is part of tempest-cljs
;; Copyright (c) 2012, <NAME>
;; All rights reserved.
;; See LICENSE file for details.
;;
(ns ^{:doc "Small utility and math helper functions."}
tempest.util)
(defn rad-to-deg
"Convert radians to degrees"
[rad]
(/ (* rad 180) 3.14159265358979))
(defn deg-to-rad
"Conv... | true | ;;
;; This file is part of tempest-cljs
;; Copyright (c) 2012, PI:NAME:<NAME>END_PI
;; All rights reserved.
;; See LICENSE file for details.
;;
(ns ^{:doc "Small utility and math helper functions."}
tempest.util)
(defn rad-to-deg
"Convert radians to degrees"
[rad]
(/ (* rad 180) 3.14159265358979))
(defn deg-... |
[
{
"context": ";;\n;;\n;; Copyright 2013-2015 Netflix, Inc.\n;;\n;; Licensed under the Apache Lic",
"end": 33,
"score": 0.9459168314933777,
"start": 30,
"tag": "NAME",
"value": "Net"
}
] | pigpen-pig/src/main/clojure/pigpen/pig.clj | ombagus/Netflix | 327 | ;;
;;
;; Copyright 2013-2015 Netflix, Inc.
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required ... | 93305 | ;;
;;
;; Copyright 2013-2015 <NAME>flix, Inc.
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless requir... | true | ;;
;;
;; Copyright 2013-2015 PI:NAME:<NAME>END_PIflix, Inc.
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; ... |
[
{
"context": " )\n )\n )\n\n; {:identity : {:first_name user, :last_name lastname, :email user@gmail.com, :adm",
"end": 984,
"score": 0.9860923886299133,
"start": 980,
"tag": "NAME",
"value": "user"
},
{
"context": " )\n\n; {:identity : {:first_name user, :last_name la... | workspace/movieapp/src/clj/movieapp/users/auth.clj | muthuishere/clojure-workshop-web-template | 0 | (ns movieapp.users.auth
(:require
[buddy.sign.jwt :as jwt]
[movieapp.config :refer [env]]
[clj-time.core :as time]
[buddy.auth.middleware :refer [wrap-authentication]]
[buddy.auth.backends :as backends]
[buddy.auth :refer [authenticated?]]
)
)
(def secret "mysecret" )
(defn get-expira... | 66113 | (ns movieapp.users.auth
(:require
[buddy.sign.jwt :as jwt]
[movieapp.config :refer [env]]
[clj-time.core :as time]
[buddy.auth.middleware :refer [wrap-authentication]]
[buddy.auth.backends :as backends]
[buddy.auth :refer [authenticated?]]
)
)
(def secret "mysecret" )
(defn get-expira... | true | (ns movieapp.users.auth
(:require
[buddy.sign.jwt :as jwt]
[movieapp.config :refer [env]]
[clj-time.core :as time]
[buddy.auth.middleware :refer [wrap-authentication]]
[buddy.auth.backends :as backends]
[buddy.auth :refer [authenticated?]]
)
)
(def secret "mysecret" )
(defn get-expira... |
[
{
"context": " (assoc-in [:context :users] [{:login \"confirmed@email.com\" :confirmed? true :role (:untrusted config/roles)",
"end": 1680,
"score": 0.999921977519989,
"start": 1661,
"tag": "EMAIL",
"value": "confirmed@email.com"
},
{
"context": " ... | test/stonecutter/test/view/user_list.clj | d-cent/stonecutter | 39 | (ns stonecutter.test.view.user-list
(:require [midje.sweet :refer :all]
[net.cgrand.enlive-html :as html]
[stonecutter.test.view.test-helpers :as th]
[stonecutter.routes :as r]
[stonecutter.view.user-list :refer [user-list]]
[stonecutter.translation :as t]
... | 34563 | (ns stonecutter.test.view.user-list
(:require [midje.sweet :refer :all]
[net.cgrand.enlive-html :as html]
[stonecutter.test.view.test-helpers :as th]
[stonecutter.routes :as r]
[stonecutter.view.user-list :refer [user-list]]
[stonecutter.translation :as t]
... | true | (ns stonecutter.test.view.user-list
(:require [midje.sweet :refer :all]
[net.cgrand.enlive-html :as html]
[stonecutter.test.view.test-helpers :as th]
[stonecutter.routes :as r]
[stonecutter.view.user-list :refer [user-list]]
[stonecutter.translation :as t]
... |
[
{
"context": "m Library for Clojure\"\n :url \"https://github.com/xsc/pandect\"\n :license {:name \"MIT License\"\n ",
"end": 132,
"score": 0.9995660781860352,
"start": 129,
"tag": "USERNAME",
"value": "xsc"
},
{
"context": "ses/MIT\"\n :year 2014\n :ke... | project.clj | projetoeureka/pandect | 0 | (defproject pandect "0.6.2-SNAPSHOT"
:description "Message Digest and Checksum Library for Clojure"
:url "https://github.com/xsc/pandect"
:license {:name "MIT License"
:url "https://opensource.org/licenses/MIT"
:year 2014
:key "mit"}
:dependencies [[org.clojure/clojure "1.8.0... | 64892 | (defproject pandect "0.6.2-SNAPSHOT"
:description "Message Digest and Checksum Library for Clojure"
:url "https://github.com/xsc/pandect"
:license {:name "MIT License"
:url "https://opensource.org/licenses/MIT"
:year 2014
:key "<KEY>"}
:dependencies [[org.clojure/clojure "1.8... | true | (defproject pandect "0.6.2-SNAPSHOT"
:description "Message Digest and Checksum Library for Clojure"
:url "https://github.com/xsc/pandect"
:license {:name "MIT License"
:url "https://opensource.org/licenses/MIT"
:year 2014
:key "PI:KEY:<KEY>END_PI"}
:dependencies [[org.clojure... |
[
{
"context": "ey)))))\n\n(comment\n (get-api-key)\n (set-api-key \"123123123asdf!!!\")\n (delete-api-key)\n\n )\n\n",
"end": 1066,
"score": 0.9557015895843506,
"start": 1048,
"tag": "KEY",
"value": "123123123asdf!!!\")"
}
] | src/sharetribe/flex_cli/credential_store.cljs | sharetribe/flex-cli | 2 | (ns sharetribe.flex-cli.credential-store
(:require [cljs.reader :refer [read-string]]
[sharetribe.flex-cli.exception :as exception]
[sharetribe.flex-cli.xdg :as xdg]
[sharetribe.flex-cli.io-util :as io-util]
[clojure.string :as str]))
(def ^:const auth-file "auth.edn")... | 19610 | (ns sharetribe.flex-cli.credential-store
(:require [cljs.reader :refer [read-string]]
[sharetribe.flex-cli.exception :as exception]
[sharetribe.flex-cli.xdg :as xdg]
[sharetribe.flex-cli.io-util :as io-util]
[clojure.string :as str]))
(def ^:const auth-file "auth.edn")... | true | (ns sharetribe.flex-cli.credential-store
(:require [cljs.reader :refer [read-string]]
[sharetribe.flex-cli.exception :as exception]
[sharetribe.flex-cli.xdg :as xdg]
[sharetribe.flex-cli.io-util :as io-util]
[clojure.string :as str]))
(def ^:const auth-file "auth.edn")... |
[
{
"context": "1\",\n :name \"foo\",\n :stack 20",
"end": 1141,
"score": 0.9275280237197876,
"start": 1138,
"tag": "NAME",
"value": "foo"
}
] | test/cljs/poker/components/panel_cards.cljs | DogLooksGood/holdem | 98 | (ns poker.components.panel-cards
(:require
[nubank.workspaces.core :as ws]
[nubank.workspaces.card-types.react :as ct.react]
[poker.components.panel :as sut]
[reagent.core :as reagent]))
(ws/defcard runner-button-group
(ct.react/react-card
(reagent/as-element
[sut/runner-button-group {:pot-val ... | 118512 | (ns poker.components.panel-cards
(:require
[nubank.workspaces.core :as ws]
[nubank.workspaces.card-types.react :as ct.react]
[poker.components.panel :as sut]
[reagent.core :as reagent]))
(ws/defcard runner-button-group
(ct.react/react-card
(reagent/as-element
[sut/runner-button-group {:pot-val ... | true | (ns poker.components.panel-cards
(:require
[nubank.workspaces.core :as ws]
[nubank.workspaces.card-types.react :as ct.react]
[poker.components.panel :as sut]
[reagent.core :as reagent]))
(ws/defcard runner-button-group
(ct.react/react-card
(reagent/as-element
[sut/runner-button-group {:pot-val ... |
[
{
"context": ";; Copyright © 2014-2019 Robin Heggelund Hansen.\n;; Distributed under the MIT License (http://ope",
"end": 47,
"score": 0.9985377192497253,
"start": 25,
"tag": "NAME",
"value": "Robin Heggelund Hansen"
},
{
"context": "differ/vec}\n map-test (with-meta {:name ... | test/differ/core_test.cljc | Skinney/differ | 44 | ;; Copyright © 2014-2019 Robin Heggelund Hansen.
;; Distributed under the MIT License (http://opensource.org/licenses/MIT).
(ns differ.core-test
(:require [differ.core :as core]
#?(:clj [clojure.test :refer [is deftest testing]]
:cljs [cljs.test :refer-macros [is deftest testing]])))
(let... | 11534 | ;; Copyright © 2014-2019 <NAME>.
;; Distributed under the MIT License (http://opensource.org/licenses/MIT).
(ns differ.core-test
(:require [differ.core :as core]
#?(:clj [clojure.test :refer [is deftest testing]]
:cljs [cljs.test :refer-macros [is deftest testing]])))
(let [old-state {:mo... | true | ;; Copyright © 2014-2019 PI:NAME:<NAME>END_PI.
;; Distributed under the MIT License (http://opensource.org/licenses/MIT).
(ns differ.core-test
(:require [differ.core :as core]
#?(:clj [clojure.test :refer [is deftest testing]]
:cljs [cljs.test :refer-macros [is deftest testing]])))
(let [... |
[
{
"context": "rooms/afterlife.edn\"}\n {:user/name \"Starry\" :user/avatar \"web/avatars/a1.jpg\"}\n ",
"end": 879,
"score": 0.9978740215301514,
"start": 873,
"tag": "NAME",
"value": "Starry"
},
{
"context": "\"web/avatars/a1.jpg\"}\n {:user/na... | catchat/src/main/catchat/plugin/mock_api.cljs | itarck/fancoil-example | 1 | (ns catchat.plugin.mock-api
(:require
[applied-science.js-interop :as j]
[cljs.reader]
[cljs.core.async :refer [go go-loop >! <! chan] :as async]
[datascript.core :as d]
[fancoil.base :as base]
[catchat.util :as u])
(:import
[goog.net XhrIo]))
(enable-console-print!)
(def fixtures [{:room/ti... | 96936 | (ns catchat.plugin.mock-api
(:require
[applied-science.js-interop :as j]
[cljs.reader]
[cljs.core.async :refer [go go-loop >! <! chan] :as async]
[datascript.core :as d]
[fancoil.base :as base]
[catchat.util :as u])
(:import
[goog.net XhrIo]))
(enable-console-print!)
(def fixtures [{:room/ti... | true | (ns catchat.plugin.mock-api
(:require
[applied-science.js-interop :as j]
[cljs.reader]
[cljs.core.async :refer [go go-loop >! <! chan] :as async]
[datascript.core :as d]
[fancoil.base :as base]
[catchat.util :as u])
(:import
[goog.net XhrIo]))
(enable-console-print!)
(def fixtures [{:room/ti... |
[
{
"context": "erged metadata.\n \n (meta/merge o {:author \\\"Brian\\\" :lang :en-ca})\n\"\n [o & maps]\n (let [all (appl",
"end": 527,
"score": 0.9998085498809814,
"start": 522,
"tag": "NAME",
"value": "Brian"
},
{
"context": "he new metadata.\n \n (meta/assoc o :autho... | src/such/metadata.clj | marick/suchwow | 70 | (ns such.metadata
"Convenience functions for working with metadata. Intended to be used with
`(:require [such.metadata :as meta])`."
(:refer-clojure :exclude [merge assoc get contains?]))
(defn get
"Equivalent to `(get (meta o) k)` or `(get (meta o) k default)`."
([o k default]
(clojure.core/get (meta o... | 64813 | (ns such.metadata
"Convenience functions for working with metadata. Intended to be used with
`(:require [such.metadata :as meta])`."
(:refer-clojure :exclude [merge assoc get contains?]))
(defn get
"Equivalent to `(get (meta o) k)` or `(get (meta o) k default)`."
([o k default]
(clojure.core/get (meta o... | true | (ns such.metadata
"Convenience functions for working with metadata. Intended to be used with
`(:require [such.metadata :as meta])`."
(:refer-clojure :exclude [merge assoc get contains?]))
(defn get
"Equivalent to `(get (meta o) k)` or `(get (meta o) k default)`."
([o k default]
(clojure.core/get (meta o... |
[
{
"context": " \"fa-chevron-circle-right\")\n {:keys [public_users private_user_count all_recipients_count]} @recipi",
"end": 11565,
"score": 0.611648678779602,
"start": 11560,
"tag": "KEY",
"value": "users"
},
{
"context": "-embed])\n image_file\n {:name ... | src/cljs/salava/badge/ui/social.cljs | discendum/salava | 17 | (ns salava.badge.ui.social
(:require
[clojure.string :refer [upper-case replace blank?]]
[reagent.core :refer [cursor atom create-class force-update]]
[reagent.session :as session]
[salava.badge.ui.helper :refer [badge-expired?]]
[salava.badge.ui.settings :refer [update-settings set-visibility save-set... | 94288 | (ns salava.badge.ui.social
(:require
[clojure.string :refer [upper-case replace blank?]]
[reagent.core :refer [cursor atom create-class force-update]]
[reagent.session :as session]
[salava.badge.ui.helper :refer [badge-expired?]]
[salava.badge.ui.settings :refer [update-settings set-visibility save-set... | true | (ns salava.badge.ui.social
(:require
[clojure.string :refer [upper-case replace blank?]]
[reagent.core :refer [cursor atom create-class force-update]]
[reagent.session :as session]
[salava.badge.ui.helper :refer [badge-expired?]]
[salava.badge.ui.settings :refer [update-settings set-visibility save-set... |
[
{
"context": "-provider-user-id \"twitter-TWITTER_ID\" :username \"username\"})]\n user => (contains {:auth_provi",
"end": 2355,
"score": 0.9976364374160767,
"start": 2347,
"tag": "USERNAME",
"value": "username"
},
{
"context": "_ID\"\n ... | test/objective8/unit/storage/mappings_test.clj | d-cent/objective8 | 23 | (ns objective8.unit.storage.mappings-test
(:refer-clojure :exclude [comment])
(:require [midje.sweet :refer :all]
[objective8.back-end.storage.mappings :refer :all]))
(defn json-type? [thing]
(and (= (type thing) org.postgresql.util.PGobject)
(= (.getType thing) "json")))
(defn has-postgr... | 100177 | (ns objective8.unit.storage.mappings-test
(:refer-clojure :exclude [comment])
(:require [midje.sweet :refer :all]
[objective8.back-end.storage.mappings :refer :all]))
(defn json-type? [thing]
(and (= (type thing) org.postgresql.util.PGobject)
(= (.getType thing) "json")))
(defn has-postgr... | true | (ns objective8.unit.storage.mappings-test
(:refer-clojure :exclude [comment])
(:require [midje.sweet :refer :all]
[objective8.back-end.storage.mappings :refer :all]))
(defn json-type? [thing]
(and (= (type thing) org.postgresql.util.PGobject)
(= (.getType thing) "json")))
(defn has-postgr... |
[
{
"context": "intln \n (xml \n (:book\n (:authors\n (:author \"Travis\")\n (:author \"sbt\")))))\n(println \n (xml \n (:us",
"end": 388,
"score": 0.9981213212013245,
"start": 382,
"tag": "NAME",
"value": "Travis"
},
{
"context": "t\")))))\n(println \n (xml \n (:user\n (:... | macros/dsl.clj | travism26/random_clojure_stuff | 0 | (defn xml-helper [form]
(if (not (seq? form))
(str form)
(let [name (first form)
children (rest form)]
(str "<" name ">"
(apply str (map xml-helper children))
"</" name ">"))))
(defmacro xml [form]
(xml-helper form))
;(println (macroexpand-1 '(xml "<hello>travis</hell... | 12051 | (defn xml-helper [form]
(if (not (seq? form))
(str form)
(let [name (first form)
children (rest form)]
(str "<" name ">"
(apply str (map xml-helper children))
"</" name ">"))))
(defmacro xml [form]
(xml-helper form))
;(println (macroexpand-1 '(xml "<hello>travis</hell... | true | (defn xml-helper [form]
(if (not (seq? form))
(str form)
(let [name (first form)
children (rest form)]
(str "<" name ">"
(apply str (map xml-helper children))
"</" name ">"))))
(defmacro xml [form]
(xml-helper form))
;(println (macroexpand-1 '(xml "<hello>travis</hell... |
[
{
"context": "(ns about)\n\n;; <!-- https://github.com/weavejester/hiccup/wiki/Converting-html-to-hiccup -->\n\n(defn ",
"end": 50,
"score": 0.9996000528335571,
"start": 39,
"tag": "USERNAME",
"value": "weavejester"
},
{
"context": "p://schema.org/BlogPosting\"}\n [:meta {:content ... | src/about.clj | schmudde/netart.today | 1 | (ns about)
;; <!-- https://github.com/weavejester/hiccup/wiki/Converting-html-to-hiccup -->
(defn about-article [root]
[:article {:itemscope "itemscope", :itemtype "http://schema.org/BlogPosting"}
[:meta {:content "David Schmudde", :itemprop "author"}]
[:p "Welcome to Gallery 404. We exclusively specialize in... | 107806 | (ns about)
;; <!-- https://github.com/weavejester/hiccup/wiki/Converting-html-to-hiccup -->
(defn about-article [root]
[:article {:itemscope "itemscope", :itemtype "http://schema.org/BlogPosting"}
[:meta {:content "<NAME>", :itemprop "author"}]
[:p "Welcome to Gallery 404. We exclusively specialize in broken ... | true | (ns about)
;; <!-- https://github.com/weavejester/hiccup/wiki/Converting-html-to-hiccup -->
(defn about-article [root]
[:article {:itemscope "itemscope", :itemtype "http://schema.org/BlogPosting"}
[:meta {:content "PI:NAME:<NAME>END_PI", :itemprop "author"}]
[:p "Welcome to Gallery 404. We exclusively special... |
[
{
"context": "; Copyright (c) Rich Hickey. All rights reserved.\r\n; The use and distributi",
"end": 29,
"score": 0.9998656511306763,
"start": 18,
"tag": "NAME",
"value": "Rich Hickey"
},
{
"context": "doc \"The core Clojure language.\"\r\n :author \"Rich Hickey\"}\r\n clo... | tests/test.clj | Ifiht/Chameleon-Theme | 0 | ; 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 ... | 6852 | ; 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 f... | 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 sof... |
[
{
"context": "(ns cwchriswilliams.meal-planner-app.db\n (:require [cljs.r",
"end": 9,
"score": 0.5567179322242737,
"start": 4,
"tag": "USERNAME",
"value": "cwchr"
},
{
"context": " \"5b216f0b-b7a3-4276-a75e-966591fbe2d0\") {:title \"Bob\" :position 7}\n (uuid \"5b216f0b-b7a3-4276... | src/cwchriswilliams/meal_planner_app/db.cljs | cwchriswilliams/meal-planner-app | 0 | (ns cwchriswilliams.meal-planner-app.db
(:require [cljs.reader]
[cljs.spec.alpha :as s]
[re-frame.core :as rf]))
(def example-meal-items
{(uuid "5b216f0b-b7a3-4276-a75e-966591fbe2d0") {:name "Potatoes"}
(uuid "b081afbd-efb0-4ad9-9724-0c1b742a3220") {:name "Chicken"
... | 9754 | (ns cwchriswilliams.meal-planner-app.db
(:require [cljs.reader]
[cljs.spec.alpha :as s]
[re-frame.core :as rf]))
(def example-meal-items
{(uuid "5b216f0b-b7a3-4276-a75e-966591fbe2d0") {:name "Potatoes"}
(uuid "b081afbd-efb0-4ad9-9724-0c1b742a3220") {:name "Chicken"
... | true | (ns cwchriswilliams.meal-planner-app.db
(:require [cljs.reader]
[cljs.spec.alpha :as s]
[re-frame.core :as rf]))
(def example-meal-items
{(uuid "5b216f0b-b7a3-4276-a75e-966591fbe2d0") {:name "Potatoes"}
(uuid "b081afbd-efb0-4ad9-9724-0c1b742a3220") {:name "Chicken"
... |
[
{
"context": "\n :admin-user [\"IW_ADMIN_USER\"\n \"victorbjelkholm@gmail.com\"]\n\n :smtp-host [\"IW_SMTP_HOST\"\n \"",
"end": 1395,
"score": 0.9999212026596069,
"start": 1370,
"tag": "EMAIL",
"value": "victorbjelkholm@gmail.com"
},
{
"context": "ns-... | src/instant_website/config.clj | instantwebsite/core-api | 0 | (ns instant-website.config
(:require [dotenv :as dotenv]))
(defn env-or-default [k default-value]
(or (System/getenv k)
(dotenv/env k)
default-value))
;; Tuple is: [env var, default value]
(def vars
{:db-path ["IW_DB_PATH"
"/tmp/rocksdb"]
:storage-path ["IW_STORAGE_PATH"
... | 104813 | (ns instant-website.config
(:require [dotenv :as dotenv]))
(defn env-or-default [k default-value]
(or (System/getenv k)
(dotenv/env k)
default-value))
;; Tuple is: [env var, default value]
(def vars
{:db-path ["IW_DB_PATH"
"/tmp/rocksdb"]
:storage-path ["IW_STORAGE_PATH"
... | true | (ns instant-website.config
(:require [dotenv :as dotenv]))
(defn env-or-default [k default-value]
(or (System/getenv k)
(dotenv/env k)
default-value))
;; Tuple is: [env var, default value]
(def vars
{:db-path ["IW_DB_PATH"
"/tmp/rocksdb"]
:storage-path ["IW_STORAGE_PATH"
... |
[
{
"context": "; Try POH\n; author: Leonardone @ NEETSDKASU\n(def gs read-line)\n(defn gi [] (read",
"end": 30,
"score": 0.9867945313453674,
"start": 20,
"tag": "NAME",
"value": "Leonardone"
},
{
"context": "; Try POH\n; author: Leonardone @ NEETSDKASU\n(def gs read-line)\n(defn gi []... | POH7/SantaFuku/Main.clj | neetsdkasu/Paiza-POH-MyAnswers | 3 | ; Try POH
; author: Leonardone @ NEETSDKASU
(def gs read-line)
(defn gi [] (read-string (gs)))
(defn gss [] (list* (.split (gs) " "))) ; gisのmapがlistを返すのでgssも揃える
(defn gis [] (map read-string (gss)))
(defn ngt [n f] (reverse (loop [c n r []] (if (= c 0) r (recur (dec c) (cons (f) r)))))) ; forやmapだと遅延評価で読み込み順が狂うう
(def... | 106142 | ; Try POH
; author: <NAME> @ NEETSDKASU
(def gs read-line)
(defn gi [] (read-string (gs)))
(defn gss [] (list* (.split (gs) " "))) ; gisのmapがlistを返すのでgssも揃える
(defn gis [] (map read-string (gss)))
(defn ngt [n f] (reverse (loop [c n r []] (if (= c 0) r (recur (dec c) (cons (f) r)))))) ; forやmapだと遅延評価で読み込み順が狂うう
(defn ng... | true | ; Try POH
; author: PI:NAME:<NAME>END_PI @ NEETSDKASU
(def gs read-line)
(defn gi [] (read-string (gs)))
(defn gss [] (list* (.split (gs) " "))) ; gisのmapがlistを返すのでgssも揃える
(defn gis [] (map read-string (gss)))
(defn ngt [n f] (reverse (loop [c n r []] (if (= c 0) r (recur (dec c) (cons (f) r)))))) ; forやmapだと遅延評価で読み込み... |
[
{
"context": "me\"]\n [wizard-field [:auth :password] \"HTTP Basic Auth Password\"])\n (= :com.yetanalytics.dave.workbook.data/",
"end": 3715,
"score": 0.998210608959198,
"start": 3691,
"tag": "PASSWORD",
"value": "HTTP Basic Auth Password"
}
] | src/com/yetanalytics/dave/ui/views/wizard.cljs | blakeplock/dave-1 | 0 | (ns com.yetanalytics.dave.ui.views.wizard
(:require [re-frame.core :refer [dispatch subscribe]]
[com.yetanalytics.dave.ui.views.form.textfield
:as textfield]
[com.yetanalytics.dave.ui.views.form.select
:as select]
[com.yetanalytics.dave.ui.views.workbook.q... | 43766 | (ns com.yetanalytics.dave.ui.views.wizard
(:require [re-frame.core :refer [dispatch subscribe]]
[com.yetanalytics.dave.ui.views.form.textfield
:as textfield]
[com.yetanalytics.dave.ui.views.form.select
:as select]
[com.yetanalytics.dave.ui.views.workbook.q... | true | (ns com.yetanalytics.dave.ui.views.wizard
(:require [re-frame.core :refer [dispatch subscribe]]
[com.yetanalytics.dave.ui.views.form.textfield
:as textfield]
[com.yetanalytics.dave.ui.views.form.select
:as select]
[com.yetanalytics.dave.ui.views.workbook.q... |
[
{
"context": "ns under the License.\n;;\n;; Copyright © 2013-2020, Kenneth Leung. All rights reserved.\n\n(ns czlab.shimoji.afx.geo\n",
"end": 597,
"score": 0.9998567700386047,
"start": 584,
"tag": "NAME",
"value": "Kenneth Leung"
}
] | attic/afx/geo.cljs | llnek/czlabio | 0 | ;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writing, software
;; distributed ... | 27705 | ;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writing, software
;; distributed ... | true | ;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writing, software
;; distributed ... |
[
{
"context": "es client-side application state.\"\n :author \"Eric Weinstein <eric.q.weinstein@gmail.com>\"}\n cityshelf.sessio",
"end": 81,
"score": 0.9998815655708313,
"start": 67,
"tag": "NAME",
"value": "Eric Weinstein"
},
{
"context": "pplication state.\"\n :author \"... | src/cityshelf/session.cljs | ericqweinstein/cityshelf | 0 | (ns ^{:doc "Manages client-side application state."
:author "Eric Weinstein <eric.q.weinstein@gmail.com>"}
cityshelf.session
(:require [reagent.core :as reagent]))
(defonce state
(reagent/atom {}))
(defn get!
"Retrieves information from the application's state."
[k & [default]]
(get @state k default... | 1540 | (ns ^{:doc "Manages client-side application state."
:author "<NAME> <<EMAIL>>"}
cityshelf.session
(:require [reagent.core :as reagent]))
(defonce state
(reagent/atom {}))
(defn get!
"Retrieves information from the application's state."
[k & [default]]
(get @state k default))
(defn put!
"Updates a... | true | (ns ^{:doc "Manages client-side application state."
:author "PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>"}
cityshelf.session
(:require [reagent.core :as reagent]))
(defonce state
(reagent/atom {}))
(defn get!
"Retrieves information from the application's state."
[k & [default]]
(get @state k defau... |
[
{
"context": "ns ^{:doc \"Sticky menu component.\"\n :author \"Eric Weinstein <eric.q.weinstein@gmail.com>\"}\n cityshelf.compon",
"end": 65,
"score": 0.9998875856399536,
"start": 51,
"tag": "NAME",
"value": "Eric Weinstein"
},
{
"context": "y menu component.\"\n :author \... | src/cityshelf/components/sticky_menu.cljs | ericqweinstein/cityshelf | 0 | (ns ^{:doc "Sticky menu component."
:author "Eric Weinstein <eric.q.weinstein@gmail.com>"}
cityshelf.components.sticky-menu
(:require [cityshelf.components.anchor :refer [anchor]]))
(defn sticky-menu
"Sticky menu, because what site _doesn't_ have one? :)"
[]
[:div#menu
[:div.logo
[:img {:src "im... | 121717 | (ns ^{:doc "Sticky menu component."
:author "<NAME> <<EMAIL>>"}
cityshelf.components.sticky-menu
(:require [cityshelf.components.anchor :refer [anchor]]))
(defn sticky-menu
"Sticky menu, because what site _doesn't_ have one? :)"
[]
[:div#menu
[:div.logo
[:img {:src "img/cs_logo.svg"}]]
[ancho... | true | (ns ^{:doc "Sticky menu component."
:author "PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>"}
cityshelf.components.sticky-menu
(:require [cityshelf.components.anchor :refer [anchor]]))
(defn sticky-menu
"Sticky menu, because what site _doesn't_ have one? :)"
[]
[:div#menu
[:div.logo
[:img {:src "... |
[
{
"context": "! *unchecked-math* :warn-on-boxed)\n(ns ^{:author \"John Alan McDonald\" :date \"2017-01-04\"\n :doc \"factory functions",
"end": 105,
"score": 0.999873161315918,
"start": 87,
"tag": "NAME",
"value": "John Alan McDonald"
}
] | src/main/clojure/zana/stats/accumulators.clj | wahpenayo/zana | 2 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "John Alan McDonald" :date "2017-01-04"
:doc "factory functions for Accumulator classes from
zana.java.accumulator." }
zana.stats.accumulators
(:require [zana.commons.core :as cc]))
;;-----------------... | 69431 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "<NAME>" :date "2017-01-04"
:doc "factory functions for Accumulator classes from
zana.java.accumulator." }
zana.stats.accumulators
(:require [zana.commons.core :as cc]))
;;-----------------------------... | true | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "PI:NAME:<NAME>END_PI" :date "2017-01-04"
:doc "factory functions for Accumulator classes from
zana.java.accumulator." }
zana.stats.accumulators
(:require [zana.commons.core :as cc]))
;;---------------... |
[
{
"context": "clojure implementation of FQL 2.11.0\"\n {:author \"Michael McClintock\"}\n (:refer-clojure\n :exclude\n [ref get rem",
"end": 96,
"score": 0.9998279809951782,
"start": 78,
"tag": "NAME",
"value": "Michael McClintock"
},
{
"context": "\"\n [ref password] ^:op\n... | src/mrmcc3/fauna/query.clj | mrmcc3/faunadb-clj | 0 | (ns mrmcc3.fauna.query
"A clojure implementation of FQL 2.11.0"
{:author "Michael McClintock"}
(:refer-clojure
:exclude
[ref get remove replace update merge to-array count
distinct drop take max min map filter reduce range
not and or identity keys])
(:require
[clojure.core :as c]))
;; Bas... | 39825 | (ns mrmcc3.fauna.query
"A clojure implementation of FQL 2.11.0"
{:author "<NAME>"}
(:refer-clojure
:exclude
[ref get remove replace update merge to-array count
distinct drop take max min map filter reduce range
not and or identity keys])
(:require
[clojure.core :as c]))
;; Basic
(defn at... | true | (ns mrmcc3.fauna.query
"A clojure implementation of FQL 2.11.0"
{:author "PI:NAME:<NAME>END_PI"}
(:refer-clojure
:exclude
[ref get remove replace update merge to-array count
distinct drop take max min map filter reduce range
not and or identity keys])
(:require
[clojure.core :as c]))
;; B... |
[
{
"context": ";; Copyright (c) 2015 Parker Harris Emerson\n\n(ns capstone.gui\n (use [seesaw.core])\n (requir",
"end": 43,
"score": 0.9998519420623779,
"start": 22,
"tag": "NAME",
"value": "Parker Harris Emerson"
}
] | src/capstone/gui.clj | emersonp/capstone | 3 | ;; Copyright (c) 2015 Parker Harris Emerson
(ns capstone.gui
(use [seesaw.core])
(require [capstone.query-interface :as qi]))
;;
;; Declarations
;;
(declare convert-to-stop_time)
(declare convert-from-seconds)
;;
;; Primary GUI Code
;;
(defn make-print-list
"Takes a collection and converts it to a string, in... | 61933 | ;; Copyright (c) 2015 <NAME>
(ns capstone.gui
(use [seesaw.core])
(require [capstone.query-interface :as qi]))
;;
;; Declarations
;;
(declare convert-to-stop_time)
(declare convert-from-seconds)
;;
;; Primary GUI Code
;;
(defn make-print-list
"Takes a collection and converts it to a string, interposing a new... | true | ;; Copyright (c) 2015 PI:NAME:<NAME>END_PI
(ns capstone.gui
(use [seesaw.core])
(require [capstone.query-interface :as qi]))
;;
;; Declarations
;;
(declare convert-to-stop_time)
(declare convert-from-seconds)
;;
;; Primary GUI Code
;;
(defn make-print-list
"Takes a collection and converts it to a string, int... |
[
{
"context": "tion borrored liberally from\n; https://github.com/michaelbromley/angularUtils/tree/master/src/directives/paginatio",
"end": 4481,
"score": 0.9996486902236938,
"start": 4467,
"tag": "USERNAME",
"value": "michaelbromley"
},
{
"context": " k)\n toggle-key (keyword... | extensions/bond/ui/client/src/main/sawtooth/components/core.cljs | gabykyei/GC_BlockChain_T_Rec | 1 | ; Copyright 2016 Intel Corporation
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in wri... | 43248 | ; Copyright 2016 Intel Corporation
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in wri... | true | ; Copyright 2016 Intel Corporation
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in wri... |
[
{
"context": "e was founded by \" [:a {:href \"http://twitter.com/mtgred\" :target \"_blank\"} \"@mtgred\"]\n \", an av",
"end": 984,
"score": 0.9996452331542969,
"start": 978,
"tag": "USERNAME",
"value": "mtgred"
},
{
"context": "href \"http://twitter.com/mtgred\" :target ... | src/cljs/nr/about.cljs | NBKelly/netrunner-onr | 854 | (ns nr.about
(:require-macros [cljs.core.async.macros :refer [go]])
(:require
[cljs.core.async :refer [<!]]
[nr.ajax :refer [GET]]
[nr.appstate :refer [app-state]]
[nr.utils :refer [set-scroll-top store-scroll-top]]
[reagent.core :as r]))
(defn- single-artist [info]
^{:key (:name info)}
[:li [:a... | 119772 | (ns nr.about
(:require-macros [cljs.core.async.macros :refer [go]])
(:require
[cljs.core.async :refer [<!]]
[nr.ajax :refer [GET]]
[nr.appstate :refer [app-state]]
[nr.utils :refer [set-scroll-top store-scroll-top]]
[reagent.core :as r]))
(defn- single-artist [info]
^{:key (:name info)}
[:li [:a... | true | (ns nr.about
(:require-macros [cljs.core.async.macros :refer [go]])
(:require
[cljs.core.async :refer [<!]]
[nr.ajax :refer [GET]]
[nr.appstate :refer [app-state]]
[nr.utils :refer [set-scroll-top store-scroll-top]]
[reagent.core :as r]))
(defn- single-artist [info]
^{:key (:name info)}
[:li [:a... |
[
{
"context": "firstName ?person ?firstName)\n (:ab.lastName ?lastName)\n (:ab.address ?address)\n (:ab.postalCode",
"end": 865,
"score": 0.8343434929847717,
"start": 857,
"tag": "NAME",
"value": "lastName"
},
{
"context": "ter\n (and (= ?person :ab.i0432) (= ?lastName... | test/documentation/internals.clj | tkaryadis/louna-local | 0 | (ns documentation.internals
(:use louna.louna
louna.louna-util
documentation.shared-functions))
;;Used in BGP tutorial
(def menuDB {:meal.name
[[1 "eggs with potatoes"]
[2 "fried rice with eggs"]
[3 "chicken soup"]
[4 "shrimp soup"]
... | 80442 | (ns documentation.internals
(:use louna.louna
louna.louna-util
documentation.shared-functions))
;;Used in BGP tutorial
(def menuDB {:meal.name
[[1 "eggs with potatoes"]
[2 "fried rice with eggs"]
[3 "chicken soup"]
[4 "shrimp soup"]
... | true | (ns documentation.internals
(:use louna.louna
louna.louna-util
documentation.shared-functions))
;;Used in BGP tutorial
(def menuDB {:meal.name
[[1 "eggs with potatoes"]
[2 "fried rice with eggs"]
[3 "chicken soup"]
[4 "shrimp soup"]
... |
[
{
"context": "-------------------\n;; File cont.clj\n;; Written by Chris Frisz\n;; \n;; Created 1 Apr 2012\n;; Last modified 5 No",
"end": 115,
"score": 0.9998273849487305,
"start": 104,
"tag": "NAME",
"value": "Chris Frisz"
}
] | src/ctco/expr/cont.clj | cjfrisz/clojure-tco | 64 | ;;----------------------------------------------------------------------
;; File cont.clj
;; Written by Chris Frisz
;;
;; Created 1 Apr 2012
;; Last modified 5 Nov 2012
;;
;; Defines the Cont, AppCont, and AppContAbs record types for
;; continuations, continuation application, and continuation
;; application abstra... | 96369 | ;;----------------------------------------------------------------------
;; File cont.clj
;; Written by <NAME>
;;
;; Created 1 Apr 2012
;; Last modified 5 Nov 2012
;;
;; Defines the Cont, AppCont, and AppContAbs record types for
;; continuations, continuation application, and continuation
;; application abstracted ... | true | ;;----------------------------------------------------------------------
;; File cont.clj
;; Written by PI:NAME:<NAME>END_PI
;;
;; Created 1 Apr 2012
;; Last modified 5 Nov 2012
;;
;; Defines the Cont, AppCont, and AppContAbs record types for
;; continuations, continuation application, and continuation
;; applicati... |
[
{
"context": "es the interface for a pubsub provider\n;;; Author: Santanu Chakrabarti\n;;; Email to: santanu.chakrabarti@gmail.com\n;;; D",
"end": 84,
"score": 0.9998874664306641,
"start": 65,
"tag": "NAME",
"value": "Santanu Chakrabarti"
},
{
"context": "ider\n;;; Author: Santanu Ch... | src/main/clojure/san/pubsub_api.clj | foss-santanu/lib-pubsub | 0 | ;;; This defines the interface for a pubsub provider
;;; Author: Santanu Chakrabarti
;;; Email to: santanu.chakrabarti@gmail.com
;;; Date: 24/04/2015 1:26 AM
(ns san.pubsub-api
"Interface for a pubsub provider")
(defprotocol pubsub-provider
"Defines API contracts for pubsub support"
(start-topic [this topic-... | 96212 | ;;; This defines the interface for a pubsub provider
;;; Author: <NAME>
;;; Email to: <EMAIL>
;;; Date: 24/04/2015 1:26 AM
(ns san.pubsub-api
"Interface for a pubsub provider")
(defprotocol pubsub-provider
"Defines API contracts for pubsub support"
(start-topic [this topic-name] [this topic-name is-closed]
... | true | ;;; This defines the interface for a pubsub provider
;;; Author: PI:NAME:<NAME>END_PI
;;; Email to: PI:EMAIL:<EMAIL>END_PI
;;; Date: 24/04/2015 1:26 AM
(ns san.pubsub-api
"Interface for a pubsub provider")
(defprotocol pubsub-provider
"Defines API contracts for pubsub support"
(start-topic [this topic-name] ... |
[
{
"context": "nes\n \n {:doc \"de-dupe music files.\"\n :author \"palisades dot lakes at gmail dot com\"\n :version \"2021-11-11\"}\n \n (:require [clojur",
"end": 263,
"score": 0.8935959339141846,
"start": 227,
"tag": "EMAIL",
"value": "palisades dot lakes at gmail dot com"
}
] | src/scripts/clojure/palisades/lakes/curate/scripts/itunes.clj | palisades-lakes/curate | 0 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns palisades.lakes.curate.scripts.itunes
{:doc "de-dupe music files."
:author "palisades dot lakes at gmail dot com"
:version "2021-11-11"}
(:require [clojure.java.... | 72361 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns palisades.lakes.curate.scripts.itunes
{:doc "de-dupe music files."
:author "<EMAIL>"
:version "2021-11-11"}
(:require [clojure.java.io :as io]
[cloju... | true | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns palisades.lakes.curate.scripts.itunes
{:doc "de-dupe music files."
:author "PI:EMAIL:<EMAIL>END_PI"
:version "2021-11-11"}
(:require [clojure.java.io :as io]
... |
[
{
"context": "(ns ^{:author \"Adam Berger\"} ulvm.re-loaders.builtin-project-file-re-loader\n",
"end": 26,
"score": 0.9998618960380554,
"start": 15,
"tag": "NAME",
"value": "Adam Berger"
}
] | src/ulvm/re_loaders/builtin_project_file_re_loader.clj | abrgr/ulvm | 0 | (ns ^{:author "Adam Berger"} ulvm.re-loaders.builtin-project-file-re-loader
"ULVM builtin project file runnable environment loader"
(:require [ulvm.re-loaders :as l]
[ulvm.core :as ucore]
[ulvm.reader :as reader]
[ulvm.project :as uprj]
[ulvm.env-keypaths :as k]
... | 4909 | (ns ^{:author "<NAME>"} ulvm.re-loaders.builtin-project-file-re-loader
"ULVM builtin project file runnable environment loader"
(:require [ulvm.re-loaders :as l]
[ulvm.core :as ucore]
[ulvm.reader :as reader]
[ulvm.project :as uprj]
[ulvm.env-keypaths :as k]
... | true | (ns ^{:author "PI:NAME:<NAME>END_PI"} ulvm.re-loaders.builtin-project-file-re-loader
"ULVM builtin project file runnable environment loader"
(:require [ulvm.re-loaders :as l]
[ulvm.core :as ucore]
[ulvm.reader :as reader]
[ulvm.project :as uprj]
[ulvm.env-keypaths :as... |
[
{
"context": "runner))))\n (prompt-choice :corp (find-card \"Patron\" (:deck (get-runner))))\n ;; try starting ove",
"end": 10370,
"score": 0.9678876399993896,
"start": 10364,
"tag": "NAME",
"value": "Patron"
},
{
"context": "art over\")\n (prompt-choice :corp (find-ca... | test/clj/game_test/cards/ice.clj | Odie/netrunner | 0 | (ns game-test.cards.ice
(:require [game.core :as core]
[game.utils :refer :all]
[game-test.core :refer :all]
[game-test.utils :refer :all]
[game-test.macros :refer :all]
[clojure.test :refer :all]))
(use-fixtures :once load-all-cards)
(deftest end-the-run
... | 123371 | (ns game-test.cards.ice
(:require [game.core :as core]
[game.utils :refer :all]
[game-test.core :refer :all]
[game-test.utils :refer :all]
[game-test.macros :refer :all]
[clojure.test :refer :all]))
(use-fixtures :once load-all-cards)
(deftest end-the-run
... | true | (ns game-test.cards.ice
(:require [game.core :as core]
[game.utils :refer :all]
[game-test.core :refer :all]
[game-test.utils :refer :all]
[game-test.macros :refer :all]
[clojure.test :refer :all]))
(use-fixtures :once load-all-cards)
(deftest end-the-run
... |
[
{
"context": " {:id 1\n :name \"Ivan\"\n :surname \"Iva",
"end": 141,
"score": 0.9997677803039551,
"start": 137,
"tag": "NAME",
"value": "Ivan"
},
{
"context": "van\"\n :surname \"Iv... | src/crudik2/db.cljs | deniskolosov/crudik2 | 0 | (ns crudik2.db
(:require [re-frame.core :as rf]))
(def initial-app-db {:patients {1 {:id 1
:name "Ivan"
:surname "Ivanov"
:birthdate "1990-10-10"
:insurance-no "F3O1O3B3A7R"}
... | 75097 | (ns crudik2.db
(:require [re-frame.core :as rf]))
(def initial-app-db {:patients {1 {:id 1
:name "<NAME>"
:surname "<NAME>"
:birthdate "1990-10-10"
:insurance-no "F3O1O3B3A7R"}... | true | (ns crudik2.db
(:require [re-frame.core :as rf]))
(def initial-app-db {:patients {1 {:id 1
:name "PI:NAME:<NAME>END_PI"
:surname "PI:NAME:<NAME>END_PI"
:birthdate "1990-10-10"
... |
[
{
"context": "ient/wrap-basic-auth\n {:basic-auth [\"Aladdin\" \"open sesame\"]}\n {:headers {\"a",
"end": 37470,
"score": 0.5583439469337463,
"start": 37468,
"tag": "USERNAME",
"value": "Al"
},
{
"context": "nt/wrap-basic-auth\n {:basic-auth [\... | test/clj_http/test/client_test.clj | nhan/clj-http | 0 | (ns clj-http.test.client-test
(:require [cheshire.core :as json]
[clj-http.client :as client]
[clj-http.conn-mgr :as conn]
[clj-http.test.core-test :refer [run-server]]
[clj-http.util :as util]
[clojure.string :as str]
[clojure.java.io :refer [re... | 66623 | (ns clj-http.test.client-test
(:require [cheshire.core :as json]
[clj-http.client :as client]
[clj-http.conn-mgr :as conn]
[clj-http.test.core-test :refer [run-server]]
[clj-http.util :as util]
[clojure.string :as str]
[clojure.java.io :refer [re... | true | (ns clj-http.test.client-test
(:require [cheshire.core :as json]
[clj-http.client :as client]
[clj-http.conn-mgr :as conn]
[clj-http.test.core-test :refer [run-server]]
[clj-http.util :as util]
[clojure.string :as str]
[clojure.java.io :refer [re... |
[
{
"context": "r-data (json/parse-string \"{\\\"id\\\":234,\\\"name\\\":\\\"Parveke\\\",\\\"temperature\\\":8.1}\"))\n\n(def parsed-minimal-",
"end": 489,
"score": 0.7439674735069275,
"start": 484,
"tag": "NAME",
"value": "Parve"
}
] | test/data_collector/tellstick_test.clj | kotio-home-automation/data-collector | 0 | (ns data-collector.tellstick-test
(:require [clojure.test :refer :all]
[cheshire.core :as json]
[data-collector.tellstick :as tellstick]
[data-collector.test-utils :as test-utils]))
(def full-sensor-data (json/parse-string "{\"id\":123,\"name\":\"Olohuone\",\"temperature\":21.1,\"humidi... | 36597 | (ns data-collector.tellstick-test
(:require [clojure.test :refer :all]
[cheshire.core :as json]
[data-collector.tellstick :as tellstick]
[data-collector.test-utils :as test-utils]))
(def full-sensor-data (json/parse-string "{\"id\":123,\"name\":\"Olohuone\",\"temperature\":21.1,\"humidi... | true | (ns data-collector.tellstick-test
(:require [clojure.test :refer :all]
[cheshire.core :as json]
[data-collector.tellstick :as tellstick]
[data-collector.test-utils :as test-utils]))
(def full-sensor-data (json/parse-string "{\"id\":123,\"name\":\"Olohuone\",\"temperature\":21.1,\"humidi... |
[
{
"context": "(comment \n re-core, Copyright 2012 Ronen Narkis, narkisr.com\n Licensed under the Apache License,",
"end": 48,
"score": 0.9998822212219238,
"start": 36,
"tag": "NAME",
"value": "Ronen Narkis"
},
{
"context": "comment \n re-core, Copyright 2012 Ronen Narkis, narkisr.... | src/openstack/volumes.clj | celestial-ops/core | 1 | (comment
re-core, Copyright 2012 Ronen Narkis, narkisr.com
Licensed under the Apache License,
Version 2.0 (the "License") you may not use this file except in compliance with the License.
You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | 90040 | (comment
re-core, Copyright 2012 <NAME>, n<EMAIL>
Licensed under the Apache License,
Version 2.0 (the "License") you may not use this file except in compliance with the License.
You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to ... | true | (comment
re-core, Copyright 2012 PI:NAME:<NAME>END_PI, nPI:EMAIL:<EMAIL>END_PI
Licensed under the Apache License,
Version 2.0 (the "License") you may not use this file except in compliance with the License.
You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.