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": "op\") [])\n (xor\n (seq\n (call \"12D3KooWSD5PToNiLQwKDXsu8JSysCwUt8BVUJEqCHcDe7P5h45e\" (\"op\" \"string_to_b58\") [\"12D3KooWSD5PToNiLQwKDXs",
"end": 254,
"score": 0.994979977607727,
"start": 202,
"tag": "KEY",
"value": "12D3KooWSD5PToNiLQwKDXsu8JSysCwUt8... | air/tests/test_module/issues/scripts/issue_177.clj | fluencelabs/aquavm | 19 | (xor
(seq
(seq
(call %init_peer_id% ("getDataSrv" "-relay-") [] -relay-)
(new $res
(seq
(seq
(seq
(call -relay- ("op" "noop") [])
(xor
(seq
(call "12D3KooWSD5PToNiLQwKDXsu8JSysCwUt8BVUJEqCHcDe7P5h45e" ("op" "string_to_b58") ["12D3KooWSD5PToNiLQwKDXsu8JSysCwUt8BVUJE... | 94869 | (xor
(seq
(seq
(call %init_peer_id% ("getDataSrv" "-relay-") [] -relay-)
(new $res
(seq
(seq
(seq
(call -relay- ("op" "noop") [])
(xor
(seq
(call "<KEY>" ("op" "string_to_b58") ["<KEY>"] k)
(par
(seq
(call "<KEY>" ("kad" "neighborhood"... | true | (xor
(seq
(seq
(call %init_peer_id% ("getDataSrv" "-relay-") [] -relay-)
(new $res
(seq
(seq
(seq
(call -relay- ("op" "noop") [])
(xor
(seq
(call "PI:KEY:<KEY>END_PI" ("op" "string_to_b58") ["PI:KEY:<KEY>END_PI"] k)
(par
(seq
(call "PI... |
[
{
"context": " [clojure.test.check.generators :as gen]\n [com.gfredericks.test.chuck.clojure-test :refer [checking]]",
"end": 123,
"score": 0.6230822801589966,
"start": 119,
"tag": "USERNAME",
"value": "gfre"
},
{
"context": "coder (byte-array [0]))))\n (is (= (key/parse \"0123... | lib/core/test/merkle_db/key_test.clj | greglook/merkle-db | 47 | (ns merkle-db.key-test
(:require
[clojure.test :refer :all]
[clojure.test.check.generators :as gen]
[com.gfredericks.test.chuck.clojure-test :refer [checking]]
[merkle-db.key :as key]))
(deftest printing
(is (= "#merkle-db/key \"012345\"" (pr-str (key/create [0x01 0x23 0x45])))))
(deftest key-pr... | 113625 | (ns merkle-db.key-test
(:require
[clojure.test :refer :all]
[clojure.test.check.generators :as gen]
[com.gfredericks.test.chuck.clojure-test :refer [checking]]
[merkle-db.key :as key]))
(deftest printing
(is (= "#merkle-db/key \"012345\"" (pr-str (key/create [0x01 0x23 0x45])))))
(deftest key-pr... | true | (ns merkle-db.key-test
(:require
[clojure.test :refer :all]
[clojure.test.check.generators :as gen]
[com.gfredericks.test.chuck.clojure-test :refer [checking]]
[merkle-db.key :as key]))
(deftest printing
(is (= "#merkle-db/key \"012345\"" (pr-str (key/create [0x01 0x23 0x45])))))
(deftest key-pr... |
[
{
"context": "Queue]))\n\n(defonce ^:private non-component-keys #{:position :rotation :scale})\n\n(defn print-tree\n ([^Node node]\n (print-tre",
"end": 306,
"score": 0.8260732293128967,
"start": 281,
"tag": "KEY",
"value": "position :rotation :scale"
}
] | src/main/threeagent/impl/virtual_scene.cljs | darwin/threeagent | 0 | (ns threeagent.impl.virtual-scene
(:require [threeagent.impl.util :refer [log]]
[medley.core :as medley]
[reagent.ratom :as ratom]
[reagent.core :as reagent])
(:import [goog.structs PriorityQueue]))
(defonce ^:private non-component-keys #{:position :rotation :scale})
(defn prin... | 13885 | (ns threeagent.impl.virtual-scene
(:require [threeagent.impl.util :refer [log]]
[medley.core :as medley]
[reagent.ratom :as ratom]
[reagent.core :as reagent])
(:import [goog.structs PriorityQueue]))
(defonce ^:private non-component-keys #{:<KEY>})
(defn print-tree
([^Node nod... | true | (ns threeagent.impl.virtual-scene
(:require [threeagent.impl.util :refer [log]]
[medley.core :as medley]
[reagent.ratom :as ratom]
[reagent.core :as reagent])
(:import [goog.structs PriorityQueue]))
(defonce ^:private non-component-keys #{:PI:KEY:<KEY>END_PI})
(defn print-tree
... |
[
{
"context": "er\n :password password}\n :format (json-reque",
"end": 2006,
"score": 0.9990419149398804,
"start": 1998,
"tag": "PASSWORD",
"value": "password"
}
] | src/app/events.cljs | skilbjo/compojure | 1 | (ns app.events
(:require-macros [cljs-log.core :as log])
(:require [app.db :as db]
[app.util :as util]
[ajax.core :refer [json-request-format json-response-format]]
[clojure.string :as string]
[day8.re-frame.http-fx] ;; :http-xhrio self-register with re-frame
... | 73469 | (ns app.events
(:require-macros [cljs-log.core :as log])
(:require [app.db :as db]
[app.util :as util]
[ajax.core :refer [json-request-format json-response-format]]
[clojure.string :as string]
[day8.re-frame.http-fx] ;; :http-xhrio self-register with re-frame
... | true | (ns app.events
(:require-macros [cljs-log.core :as log])
(:require [app.db :as db]
[app.util :as util]
[ajax.core :refer [json-request-format json-response-format]]
[clojure.string :as string]
[day8.re-frame.http-fx] ;; :http-xhrio self-register with re-frame
... |
[
{
"context": "; Copyright 2015 Zalando SE\n;\n; Licensed under the Apache License, Version 2.",
"end": 27,
"score": 0.8787415027618408,
"start": 17,
"tag": "NAME",
"value": "Zalando SE"
},
{
"context": " :tokens {\"http-audit-logger\" [\"uid\"]}}))]\n\n (system/r... | src/org/zalando/stups/kio/core.clj | oporkka/kio | 25 | ; Copyright 2015 Zalando SE
;
; 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, so... | 96108 | ; Copyright 2015 <NAME>
;
; Licensed under the Apache License, Version 2.0 (the "License")
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writing, softwa... | true | ; Copyright 2015 PI:NAME:<NAME>END_PI
;
; Licensed under the Apache License, Version 2.0 (the "License")
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in w... |
[
{
"context": ";; The MIT License (MIT)\n\n;; Copyright (c) 2016 Stuart Sierra\n\n;; Permission is hereby granted, free of charge,",
"end": 61,
"score": 0.999854564666748,
"start": 48,
"tag": "NAME",
"value": "Stuart Sierra"
}
] | test/com/stuartsierra/mapgraph/spec.clj | vimsical/mapgraph | 69 | ;; The MIT License (MIT)
;; Copyright (c) 2016 Stuart Sierra
;; 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,... | 120999 | ;; The MIT License (MIT)
;; Copyright (c) 2016 <NAME>
;; Permission is hereby granted, free of charge, to any person
;; obtaining a copy of this software and associated documentation
;; files (the "Software"), to deal in the Software without
;; restriction, including without limitation the rights to use, copy,
;; mod... | true | ;; The MIT License (MIT)
;; Copyright (c) 2016 PI:NAME:<NAME>END_PI
;; Permission is hereby granted, free of charge, to any person
;; obtaining a copy of this software and associated documentation
;; files (the "Software"), to deal in the Software without
;; restriction, including without limitation the rights to use... |
[
{
"context": "p-tools!)\n (setup-deps!))\n\n\n;; TODO: [2022-02-11, ilshat@sultanov.team] Add a global shortcut to search for a library or",
"end": 2364,
"score": 0.9999113082885742,
"start": 2344,
"tag": "EMAIL",
"value": "ilshat@sultanov.team"
}
] | src/main/clojure/metaverse/runner.cljs | sultanov-team/metaverse | 1 | (ns metaverse.runner
(:require
[clojure.string :as str]
[metaverse.common.logger :as log :include-macros true]
[metaverse.common.supabase :as supabase]
[metaverse.common.utils.transit :as t]
[metaverse.runner.api :as api]
[metaverse.runner.api.auth]
[metaverse.runner.api.news]
[metaver... | 56042 | (ns metaverse.runner
(:require
[clojure.string :as str]
[metaverse.common.logger :as log :include-macros true]
[metaverse.common.supabase :as supabase]
[metaverse.common.utils.transit :as t]
[metaverse.runner.api :as api]
[metaverse.runner.api.auth]
[metaverse.runner.api.news]
[metaver... | true | (ns metaverse.runner
(:require
[clojure.string :as str]
[metaverse.common.logger :as log :include-macros true]
[metaverse.common.supabase :as supabase]
[metaverse.common.utils.transit :as t]
[metaverse.runner.api :as api]
[metaverse.runner.api.auth]
[metaverse.runner.api.news]
[metaver... |
[
{
"context": "d)\n [:div.form-inline\n (fm/text-field :username)\n (fm/submit-button \"OK\")])]])\n\n(defn html-",
"end": 1000,
"score": 0.6561862230300903,
"start": 992,
"tag": "USERNAME",
"value": "username"
},
{
"context": " [:br] [:br]\n (html-table [\"m... | src/api_octopus/web/layout.clj | 0x7c48/dribbble-stats | 2 | (ns api-octopus.web.layout
(:require [ring.util.anti-forgery :refer [anti-forgery-field]]
[hiccup.page :refer [html5 include-css include-js]]
[hiccup
[core :as hi]
[form :as fm]
[element :as el]]))
(defn application [title & content]
(html5 {:ng-app "a... | 8682 | (ns api-octopus.web.layout
(:require [ring.util.anti-forgery :refer [anti-forgery-field]]
[hiccup.page :refer [html5 include-css include-js]]
[hiccup
[core :as hi]
[form :as fm]
[element :as el]]))
(defn application [title & content]
(html5 {:ng-app "a... | true | (ns api-octopus.web.layout
(:require [ring.util.anti-forgery :refer [anti-forgery-field]]
[hiccup.page :refer [html5 include-css include-js]]
[hiccup
[core :as hi]
[form :as fm]
[element :as el]]))
(defn application [title & content]
(html5 {:ng-app "a... |
[
{
"context": "db-fixture)\n\n;; Test content\n\n(def test-username \"DonaldChamberlin123\") ; co-inventor of SQL\n\n(def test-password \"iLove",
"end": 525,
"score": 0.9996387958526611,
"start": 506,
"tag": "USERNAME",
"value": "DonaldChamberlin123"
},
{
"context": "in123\") ; co-inv... | src/test/lrsql/admin/protocol_test.clj | ccasey3/lrsql | 0 | (ns lrsql.admin.protocol-test
"Test the protocol fns of `AdminAccountManager` and `APIKeyManager` directly."
(:require [clojure.test :refer [deftest testing is use-fixtures]]
[com.stuartsierra.component :as component]
[xapi-schema.spec.regex :refer [Base64RegEx]]
[lrsql.admin.pro... | 51200 | (ns lrsql.admin.protocol-test
"Test the protocol fns of `AdminAccountManager` and `APIKeyManager` directly."
(:require [clojure.test :refer [deftest testing is use-fixtures]]
[com.stuartsierra.component :as component]
[xapi-schema.spec.regex :refer [Base64RegEx]]
[lrsql.admin.pro... | true | (ns lrsql.admin.protocol-test
"Test the protocol fns of `AdminAccountManager` and `APIKeyManager` directly."
(:require [clojure.test :refer [deftest testing is use-fixtures]]
[com.stuartsierra.component :as component]
[xapi-schema.spec.regex :refer [Base64RegEx]]
[lrsql.admin.pro... |
[
{
"context": "; Copyright (c) 2019-present Walmart, Inc.\n;\n; Licensed under the Apache License, Vers",
"end": 36,
"score": 0.6879880428314209,
"start": 29,
"tag": "NAME",
"value": "Walmart"
}
] | test/com/walmartlabs/lacinia/field_tests.clj | hagenek/lacinia | 1,762 | ; Copyright (c) 2019-present Walmart, Inc.
;
; Licensed under the Apache License, Version 2.0 (the "License")
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to... | 11768 | ; Copyright (c) 2019-present <NAME>, Inc.
;
; Licensed under the Apache License, Version 2.0 (the "License")
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to ... | true | ; Copyright (c) 2019-present PI:NAME:<NAME>END_PI, Inc.
;
; Licensed under the Apache License, Version 2.0 (the "License")
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law... |
[
{
"context": ";;\n;;\n;; Copyright 2013-2015 Netflix, Inc.\n;;\n;; Licensed under the Apache Lic",
"end": 33,
"score": 0.9036318063735962,
"start": 30,
"tag": "NAME",
"value": "Net"
}
] | pigpen-viz/src/main/clojure/pigpen/viz.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 ... | 11544 | ;;
;;
;; 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": " \"/api\")\n :username \"redshirt\"\n :password \"scotty\"}\n ",
"end": 2706,
"score": 0.9995080828666687,
"start": 2698,
"tag": "USERNAME",
"value": "redshirt"
},
{
"context": "e \"redshirt\"\n ... | test/kale/cloud_foundry_constants.clj | IBM-Watson/kale | 13 | ;;
;; (C) Copyright IBM Corp. 2016 All Rights Reserved.
;;
(ns kale.cloud-foundry-constants)
(def template-response
{:status 200
:headers {"Content-Type" "application/json"}
:request-time 100
:body ""})
(defn service-entity
[guid service-name service-type]
{:guid guid
:name service-name
:last_op... | 59411 | ;;
;; (C) Copyright IBM Corp. 2016 All Rights Reserved.
;;
(ns kale.cloud-foundry-constants)
(def template-response
{:status 200
:headers {"Content-Type" "application/json"}
:request-time 100
:body ""})
(defn service-entity
[guid service-name service-type]
{:guid guid
:name service-name
:last_op... | true | ;;
;; (C) Copyright IBM Corp. 2016 All Rights Reserved.
;;
(ns kale.cloud-foundry-constants)
(def template-response
{:status 200
:headers {"Content-Type" "application/json"}
:request-time 100
:body ""})
(defn service-entity
[guid service-name service-type]
{:guid guid
:name service-name
:last_op... |
[
{
"context": " \"uS\"\n :data-key \"conductivity\"\n :id \"condu",
"end": 1431,
"score": 0.725775420665741,
"start": 1419,
"tag": "KEY",
"value": "conductivity"
}
] | src/main/app/ui/dashboard/conductivity.cljs | joshuawood2894/fulcro_postgresql_mqtt_template | 0 | (ns app.ui.dashboard.conductivity
(:require
[app.model.dashboard.conductivity :as mc]
[app.ui.dashboard.config :as dc]
[app.ui.antd.components :as ant]
[app.ui.data-logger.conductivity :as dl]
[com.fulcrologic.fulcro.components :as comp :refer [defsc]]
[com.fulcrologic.fulcro.dom :as dom :refe... | 27562 | (ns app.ui.dashboard.conductivity
(:require
[app.model.dashboard.conductivity :as mc]
[app.ui.dashboard.config :as dc]
[app.ui.antd.components :as ant]
[app.ui.data-logger.conductivity :as dl]
[com.fulcrologic.fulcro.components :as comp :refer [defsc]]
[com.fulcrologic.fulcro.dom :as dom :refe... | true | (ns app.ui.dashboard.conductivity
(:require
[app.model.dashboard.conductivity :as mc]
[app.ui.dashboard.config :as dc]
[app.ui.antd.components :as ant]
[app.ui.data-logger.conductivity :as dl]
[com.fulcrologic.fulcro.components :as comp :refer [defsc]]
[com.fulcrologic.fulcro.dom :as dom :refe... |
[
{
"context": ";; Copyright 2014-2020 King\n;; Copyright 2009-2014 Ragnar Svensson, Christian Murray\n;; Licensed under the Defold Li",
"end": 111,
"score": 0.9998093247413635,
"start": 96,
"tag": "NAME",
"value": "Ragnar Svensson"
},
{
"context": "-2020 King\n;; Copyright 2009-2014 R... | editor/src/clj/editor/background.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... | 54061 | ;; 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": "; MIT License\n;\n; Copyright (c) 2017 Frederic Merizen & Kenny Williams\n;\n; Permission is hereby granted",
"end": 53,
"score": 0.9998371005058289,
"start": 37,
"tag": "NAME",
"value": "Frederic Merizen"
},
{
"context": " License\n;\n; Copyright (c) 2017 Frederic Meri... | build.boot | plumula/mimolette | 3 | ; MIT License
;
; Copyright (c) 2017 Frederic Merizen & Kenny Williams
;
; Permission is hereby granted, free of charge, to any person obtaining a copy
; of this software and associated documentation files (the "Software"), to deal
; in the Software without restriction, including without limitation the rights
; to use,... | 11693 | ; MIT License
;
; Copyright (c) 2017 <NAME> & <NAME>
;
; Permission is hereby granted, free of charge, to any person obtaining a copy
; of this software and associated documentation files (the "Software"), to deal
; in the Software without restriction, including without limitation the rights
; to use, copy, modify, mer... | true | ; MIT License
;
; Copyright (c) 2017 PI:NAME:<NAME>END_PI & PI:NAME:<NAME>END_PI
;
; Permission is hereby granted, free of charge, to any person obtaining a copy
; of this software and associated documentation files (the "Software"), to deal
; in the Software without restriction, including without limitation the rights... |
[
{
"context": " Rasta\"\n [email attachment]\n (update-in email [\"rasta@metabase.com\" 0] #(update % :body conj attachment)))\n\n\n;;; +--",
"end": 6609,
"score": 0.9999223351478577,
"start": 6591,
"tag": "EMAIL",
"value": "rasta@metabase.com"
},
{
"context": "he assert results\n ... | c#-metabase/test/metabase/pulse_test.clj | hanakhry/Crime_Admin | 0 | (ns metabase.pulse-test
(:require [clojure.java.io :as io]
[clojure.string :as str]
[clojure.test :refer :all]
[medley.core :as m]
[metabase.models :refer [Card Collection Pulse PulseCard PulseChannel PulseChannelRecipient]]
[metabase.models.permissions :as ... | 97094 | (ns metabase.pulse-test
(:require [clojure.java.io :as io]
[clojure.string :as str]
[clojure.test :refer :all]
[medley.core :as m]
[metabase.models :refer [Card Collection Pulse PulseCard PulseChannel PulseChannelRecipient]]
[metabase.models.permissions :as ... | true | (ns metabase.pulse-test
(:require [clojure.java.io :as io]
[clojure.string :as str]
[clojure.test :refer :all]
[medley.core :as m]
[metabase.models :refer [Card Collection Pulse PulseCard PulseChannel PulseChannelRecipient]]
[metabase.models.permissions :as ... |
[
{
"context": ";; Copyright (c) Nicola Mometto, Rich Hickey & contributors.\n;; The use and dis",
"end": 33,
"score": 0.9998549818992615,
"start": 19,
"tag": "NAME",
"value": "Nicola Mometto"
},
{
"context": ";; Copyright (c) Nicola Mometto, Rich Hickey & contributors.\n;; The... | src/lucid/legacy/analyzer/passes/index_vector_nodes.clj | willcohen/lucidity | 3 | ;; Copyright (c) Nicola Mometto, Rich Hickey & contributors.
;; The use and distribution terms for this software are covered by the
;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
;; which can be found in the file epl-v10.html at the root of this distribution.
;; By using this s... | 79083 | ;; Copyright (c) <NAME>, <NAME> & contributors.
;; The use and distribution terms for this software are covered by the
;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
;; which can be found in the file epl-v10.html at the root of this distribution.
;; By using this software in an... | true | ;; Copyright (c) PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI & contributors.
;; The use and distribution terms for this software are covered by the
;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
;; which can be found in the file epl-v10.html at the root of this distribution.
;; ... |
[
{
"context": ";; Copyright © 2015-2019 Esko Luontola\n;; This software is released under the Apache Lic",
"end": 38,
"score": 0.9998798370361328,
"start": 25,
"tag": "NAME",
"value": "Esko Luontola"
}
] | test/territory_bro/db_test.clj | JessRoberts/territory_assistant | 0 | ;; Copyright © 2015-2019 Esko Luontola
;; This software is released under the Apache License 2.0.
;; The license text is at http://www.apache.org/licenses/LICENSE-2.0
(ns territory-bro.db-test
(:require [clojure.test :refer :all]
[territory-bro.db :as db]
[territory-bro.fixtures :refer [db-fi... | 120437 | ;; Copyright © 2015-2019 <NAME>
;; This software is released under the Apache License 2.0.
;; The license text is at http://www.apache.org/licenses/LICENSE-2.0
(ns territory-bro.db-test
(:require [clojure.test :refer :all]
[territory-bro.db :as db]
[territory-bro.fixtures :refer [db-fixture]]... | true | ;; Copyright © 2015-2019 PI:NAME:<NAME>END_PI
;; This software is released under the Apache License 2.0.
;; The license text is at http://www.apache.org/licenses/LICENSE-2.0
(ns territory-bro.db-test
(:require [clojure.test :refer :all]
[territory-bro.db :as db]
[territory-bro.fixtures :refer... |
[
{
"context": "tcp://activemq:61616?user=eva-transactor&password=notasecret&retryInterval=1000&retryIntervalMultiplier=2.0&ma",
"end": 1242,
"score": 0.9994199872016907,
"start": 1232,
"tag": "PASSWORD",
"value": "notasecret"
},
{
"context": "eva-transactor&password=notasecret&retryIn... | server.alpha/test/eva/catalog/server/alpha/handler_test.clj | Workiva/eva-catalog | 1 | ;; Copyright 2018-2019 Workiva Inc.
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agre... | 43866 | ;; Copyright 2018-2019 Workiva Inc.
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agre... | true | ;; Copyright 2018-2019 Workiva Inc.
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agre... |
[
{
"context": "EDVALUE)\n <TOKEN> = #\\\"[\\\\w\\\\.\\\\-]+\\\"\n KEY = TOKEN\n VALUE = TOKEN\n TYPE = #\\\"\\\\w+\\\"\n SUBTYP",
"end": 493,
"score": 0.6697898507118225,
"start": 488,
"tag": "KEY",
"value": "TOKEN"
}
] | src/cayenne/api/conneg.clj | CrossRef/cayenne | 11 | (ns cayenne.api.conneg
(:require [instaparse.core :as insta]
[clojure.string :as string]
[net.cgrand.enlive-html :as enlive]))
;; a simple accept header parser
(def accept-header-parser
(insta/parser
"ACCEPT = ENTRY+
ENTRY = MEDIARANGE PARAM* <[#\"\\s*,\\s*\"]>
<MEDIARANGE> = '*... | 87546 | (ns cayenne.api.conneg
(:require [instaparse.core :as insta]
[clojure.string :as string]
[net.cgrand.enlive-html :as enlive]))
;; a simple accept header parser
(def accept-header-parser
(insta/parser
"ACCEPT = ENTRY+
ENTRY = MEDIARANGE PARAM* <[#\"\\s*,\\s*\"]>
<MEDIARANGE> = '*... | true | (ns cayenne.api.conneg
(:require [instaparse.core :as insta]
[clojure.string :as string]
[net.cgrand.enlive-html :as enlive]))
;; a simple accept header parser
(def accept-header-parser
(insta/parser
"ACCEPT = ENTRY+
ENTRY = MEDIARANGE PARAM* <[#\"\\s*,\\s*\"]>
<MEDIARANGE> = '*... |
[
{
"context": "l://localhost/objective8?user=objective8&password=development\"))\n\n(defproject objective8 \"0.0.1-SNAPSHOT\"\n :de",
"end": 145,
"score": 0.999325156211853,
"start": 134,
"tag": "PASSWORD",
"value": "development"
}
] | project.clj | d-cent/objective8 | 23 | (def database-connection-url
(or (System/getenv "DB_JDBC_URL")
"jdbc:postgresql://localhost/objective8?user=objective8&password=development"))
(defproject objective8 "0.0.1-SNAPSHOT"
:description "Cool new project to do things and stuff"
:min-lein-version "2.0.0"
:test-paths ["test"]
:dependencies [[org.... | 91771 | (def database-connection-url
(or (System/getenv "DB_JDBC_URL")
"jdbc:postgresql://localhost/objective8?user=objective8&password=<PASSWORD>"))
(defproject objective8 "0.0.1-SNAPSHOT"
:description "Cool new project to do things and stuff"
:min-lein-version "2.0.0"
:test-paths ["test"]
:dependencies [[org.c... | true | (def database-connection-url
(or (System/getenv "DB_JDBC_URL")
"jdbc:postgresql://localhost/objective8?user=objective8&password=PI:PASSWORD:<PASSWORD>END_PI"))
(defproject objective8 "0.0.1-SNAPSHOT"
:description "Cool new project to do things and stuff"
:min-lein-version "2.0.0"
:test-paths ["test"]
:de... |
[
{
"context": "e another Dockerfile.\"\n :url \"https://github.com/into-docker/into-docker\"\n :license {:name \"MIT\"\n ",
"end": 121,
"score": 0.9939672946929932,
"start": 110,
"tag": "USERNAME",
"value": "into-docker"
},
{
"context": "ses/mit\"\n :year 2020\... | project.clj | into-docker/into-docker | 83 | (defproject into "1.1.3-SNAPSHOT"
:description "Never write another Dockerfile."
:url "https://github.com/into-docker/into-docker"
:license {:name "MIT"
:url "https://choosealicense.com/licenses/mit"
:year 2020
:key "mit"
:comment "MIT License"}
:dependencies [[or... | 45611 | (defproject into "1.1.3-SNAPSHOT"
:description "Never write another Dockerfile."
:url "https://github.com/into-docker/into-docker"
:license {:name "MIT"
:url "https://choosealicense.com/licenses/mit"
:year 2020
:key "<KEY>"
:comment "MIT License"}
:dependencies [[... | true | (defproject into "1.1.3-SNAPSHOT"
:description "Never write another Dockerfile."
:url "https://github.com/into-docker/into-docker"
:license {:name "MIT"
:url "https://choosealicense.com/licenses/mit"
:year 2020
:key "PI:KEY:<KEY>END_PI"
:comment "MIT License"}
:de... |
[
{
"context": "the publisher of recipe\n(def user (u/->User 2345 \"joesimpson\" \"Joe\"\n \"Simpson\" \"+9199704562",
"end": 2214,
"score": 0.9993590712547302,
"start": 2204,
"tag": "USERNAME",
"value": "joesimpson"
},
{
"context": " of recipe\n(def user (u/->User 2... | src/com/mshiray/recipebcp/spec_test.clj | mshiray/recipebcp | 0 | (ns com.mshiray.recipebcp.spec_test
(:require
[clojure.spec.alpha :as s]
;;Note: [org.clojure/test.check "0.9.0"] need to be added to
;;project.clj dependencies for spec.gen.alpha
[clojure.spec.gen.alpha :as gen]
[clojure.repl :as crpl]
;;This is needed so that all required dependencies are loade... | 80029 | (ns com.mshiray.recipebcp.spec_test
(:require
[clojure.spec.alpha :as s]
;;Note: [org.clojure/test.check "0.9.0"] need to be added to
;;project.clj dependencies for spec.gen.alpha
[clojure.spec.gen.alpha :as gen]
[clojure.repl :as crpl]
;;This is needed so that all required dependencies are loade... | true | (ns com.mshiray.recipebcp.spec_test
(:require
[clojure.spec.alpha :as s]
;;Note: [org.clojure/test.check "0.9.0"] need to be added to
;;project.clj dependencies for spec.gen.alpha
[clojure.spec.gen.alpha :as gen]
[clojure.repl :as crpl]
;;This is needed so that all required dependencies are loade... |
[
{
"context": ";; Copyright (c) Michael Glaesemann\n;; Heavily inspired by congitect.http-client, Cop",
"end": 35,
"score": 0.9998552203178406,
"start": 17,
"tag": "NAME",
"value": "Michael Glaesemann"
}
] | src/com/grzm/aws/http_client.cljc | borkdude/yaaws-api | 1 | ;; Copyright (c) Michael Glaesemann
;; Heavily inspired by congitect.http-client, Copyright (c) Cognitect, Inc.
;; All rights reserved.
(ns com.grzm.aws.http-client
(:require
[clojure.core.async :refer [put!] :as a]
[com.grzm.aws.http-client.client :as client]
[com.grzm.aws.http-client.specs])
(:import
... | 116659 | ;; Copyright (c) <NAME>
;; Heavily inspired by congitect.http-client, Copyright (c) Cognitect, Inc.
;; All rights reserved.
(ns com.grzm.aws.http-client
(:require
[clojure.core.async :refer [put!] :as a]
[com.grzm.aws.http-client.client :as client]
[com.grzm.aws.http-client.specs])
(:import
(clojure.la... | true | ;; Copyright (c) PI:NAME:<NAME>END_PI
;; Heavily inspired by congitect.http-client, Copyright (c) Cognitect, Inc.
;; All rights reserved.
(ns com.grzm.aws.http-client
(:require
[clojure.core.async :refer [put!] :as a]
[com.grzm.aws.http-client.client :as client]
[com.grzm.aws.http-client.specs])
(:import
... |
[
{
"context": "r mocking/expectation framework for Clojure\n\n;; by Matt Clark\n\n;; Copyright (c) Matt Clark, 2009. All rights re",
"end": 106,
"score": 0.9998635053634644,
"start": 96,
"tag": "NAME",
"value": "Matt Clark"
},
{
"context": "rk for Clojure\n\n;; by Matt Clark\n\n;; Cop... | ThirdParty/clojure-contrib-1.1.0/src/clojure/contrib/mock/test_adapter.clj | allertonm/Couverjure | 3 | ;;; test_adapter.clj: clojure.test adapter for mocking/expectation framework for Clojure
;; by Matt Clark
;; Copyright (c) Matt Clark, 2009. All rights reserved. The use
;; and distribution terms for this software are covered by the Eclipse
;; Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php).
;; B... | 78703 | ;;; test_adapter.clj: clojure.test adapter for mocking/expectation framework for Clojure
;; by <NAME>
;; Copyright (c) <NAME>, 2009. All rights reserved. The use
;; and distribution terms for this software are covered by the Eclipse
;; Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php).
;; By using ... | true | ;;; test_adapter.clj: clojure.test adapter for mocking/expectation framework for Clojure
;; by PI:NAME:<NAME>END_PI
;; Copyright (c) PI:NAME:<NAME>END_PI, 2009. All rights reserved. The use
;; and distribution terms for this software are covered by the Eclipse
;; Public License 1.0 (http://opensource.org/licenses/ec... |
[
{
"context": "(t/is (sut/valid-password?\n {:password \"abcde\", :letter \\a, :fst 1, :snd 3}))))\n\n(t/deftest inv",
"end": 292,
"score": 0.9994314908981323,
"start": 287,
"tag": "PASSWORD",
"value": "abcde"
},
{
"context": " (sut/valid-password?\n {:passwor... | test/aoc_2020/day_2/problem_1_test.clj | Camsbury/aoc-2020 | 2 | (ns aoc-2020.day-2.problem-1-test
(:require [aoc-2020.day-2.problem-1 :as sut]
[aoc-2020.day-2.utils :as day-utils]
[clojure.test :as t]))
(t/deftest valid-password-test
(t/testing "validates a password"
(t/is (sut/valid-password?
{:password "abcde", :letter \a, :fst 1, :snd ... | 73106 | (ns aoc-2020.day-2.problem-1-test
(:require [aoc-2020.day-2.problem-1 :as sut]
[aoc-2020.day-2.utils :as day-utils]
[clojure.test :as t]))
(t/deftest valid-password-test
(t/testing "validates a password"
(t/is (sut/valid-password?
{:password "<PASSWORD>", :letter \a, :fst 1, ... | true | (ns aoc-2020.day-2.problem-1-test
(:require [aoc-2020.day-2.problem-1 :as sut]
[aoc-2020.day-2.utils :as day-utils]
[clojure.test :as t]))
(t/deftest valid-password-test
(t/testing "validates a password"
(t/is (sut/valid-password?
{:password "PI:PASSWORD:<PASSWORD>END_PI", :l... |
[
{
"context": "T\")\n; \"/testendpoint\")\n; :user \"testusr\"\n; :password \"testpwd\"\n; }\n; (if-let [",
"end": 1029,
"score": 0.9976038932800293,
"start": 1022,
"tag": "USERNAME",
"value": "testusr"
},
{
"context": "endpoint\")\n; :user \"testusr\"... | src/rhoda_test_clojure/handler.clj | mpiech/rhoda-test-clojure | 0 | (ns rhoda-test-clojure.handler
(:require
[nrepl.server :as nrepl]
[compojure.core :as cpj]
[compojure.route :as cpjroute]
[ring.middleware.defaults :as ring]
[net.cgrand.enlive-html :as enlive]
[clj-time.core :as time]
[clj-time.format :as ftime]
[clj-time.coerce :as ctime]
[clojure.java.jd... | 36346 | (ns rhoda-test-clojure.handler
(:require
[nrepl.server :as nrepl]
[compojure.core :as cpj]
[compojure.route :as cpjroute]
[ring.middleware.defaults :as ring]
[net.cgrand.enlive-html :as enlive]
[clj-time.core :as time]
[clj-time.format :as ftime]
[clj-time.coerce :as ctime]
[clojure.java.jd... | true | (ns rhoda-test-clojure.handler
(:require
[nrepl.server :as nrepl]
[compojure.core :as cpj]
[compojure.route :as cpjroute]
[ring.middleware.defaults :as ring]
[net.cgrand.enlive-html :as enlive]
[clj-time.core :as time]
[clj-time.format :as ftime]
[clj-time.coerce :as ctime]
[clojure.java.jd... |
[
{
"context": "; Copyright (c) Gunnar Völkel. All rights reserved.\n; The use and distribution ",
"end": 29,
"score": 0.9998405575752258,
"start": 16,
"tag": "NAME",
"value": "Gunnar Völkel"
}
] | data/test/clojure/e3dc52d8f4cab21d94c5cc87de6b692d75979e59stream_freezer.clj | harshp8l/deep-learning-lang-detection | 84 | ; Copyright (c) Gunnar Völkel. 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-v1.0.txt at the root of this distribution.
; By using this software in any fashion,... | 33328 | ; 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-v1.0.txt at the root of this distribution.
; By using this software in any fashion, you ar... | 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-v1.0.txt at the root of this distribution.
; By using this software in any f... |
[
{
"context": "p library for Clojure\"\n :url \"https://github.com/t6/from-scala\"\n :license {:name \"MIT License\"\n ",
"end": 125,
"score": 0.8109715580940247,
"start": 123,
"tag": "USERNAME",
"value": "t6"
},
{
"context": " for Clojure\"\n :author \... | project.clj | t6/from-scala | 66 | (defproject t6/from-scala "0.3.1-SNAPSHOT"
:description "A Scala interop library for Clojure"
:url "https://github.com/t6/from-scala"
:license {:name "MIT License"
:url "http://www.opensource.org/licenses/mit-license.php"}
:deploy-repositories [["releases" :clojars]
["snapsho... | 33942 | (defproject t6/from-scala "0.3.1-SNAPSHOT"
:description "A Scala interop library for Clojure"
:url "https://github.com/t6/from-scala"
:license {:name "MIT License"
:url "http://www.opensource.org/licenses/mit-license.php"}
:deploy-repositories [["releases" :clojars]
["snapsho... | true | (defproject t6/from-scala "0.3.1-SNAPSHOT"
:description "A Scala interop library for Clojure"
:url "https://github.com/t6/from-scala"
:license {:name "MIT License"
:url "http://www.opensource.org/licenses/mit-license.php"}
:deploy-repositories [["releases" :clojars]
["snapsho... |
[
{
"context": "sitional Logic, tests\n\n; Copyright (c) 2014 - 2017 Burkhardt Renz, THM. All rights reserved.\n; The use and distribu",
"end": 95,
"score": 0.9998683929443359,
"start": 81,
"tag": "NAME",
"value": "Burkhardt Renz"
}
] | test/lwb/prop/sat_test.clj | esb-lwb/lwb | 22 | ; lwb Logic WorkBench -- Propositional Logic, tests
; Copyright (c) 2014 - 2017 Burkhardt Renz, THM. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php).
; By using this software in any fashion, you are... | 87764 | ; lwb Logic WorkBench -- Propositional Logic, tests
; Copyright (c) 2014 - 2017 <NAME>, THM. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php).
; By using this software in any fashion, you are agreein... | true | ; lwb Logic WorkBench -- Propositional Logic, tests
; Copyright (c) 2014 - 2017 PI:NAME:<NAME>END_PI, THM. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php).
; By using this software in any fashion, y... |
[
{
"context": " rando (new Random))\n(def ^{:private true} idkey \"nextid\")\n(def ^{:private true} epochStart 1387263000)\n\n(",
"end": 522,
"score": 0.8843504786491394,
"start": 516,
"tag": "KEY",
"value": "nextid"
}
] | src/nooz/crypto.clj | codeslinger/nooz | 1 | (ns nooz.crypto
(:require [ring.util.codec :as codec]
[clojure.string :as s]
[redis.core :as redis]
[nooz.time :as nt]
[nooz.db :as db])
(:import org.mindrot.jbcrypt.BCrypt
java.security.SecureRandom
java.security.MessageDigest
java.ma... | 49262 | (ns nooz.crypto
(:require [ring.util.codec :as codec]
[clojure.string :as s]
[redis.core :as redis]
[nooz.time :as nt]
[nooz.db :as db])
(:import org.mindrot.jbcrypt.BCrypt
java.security.SecureRandom
java.security.MessageDigest
java.ma... | true | (ns nooz.crypto
(:require [ring.util.codec :as codec]
[clojure.string :as s]
[redis.core :as redis]
[nooz.time :as nt]
[nooz.db :as db])
(:import org.mindrot.jbcrypt.BCrypt
java.security.SecureRandom
java.security.MessageDigest
java.ma... |
[
{
"context": "error-field\"\n recover-pass-ids [\"reset-password\"]\n query (:qu",
"end": 3231,
"score": 0.7934198379516602,
"start": 3226,
"tag": "PASSWORD",
"value": "reset"
},
{
"context": " :username (get que... | src/cljs/clojurecademy/controller/auth.cljs | harunpehlivan/clojurecademy | 651 | (ns clojurecademy.controller.auth
(:require [clojurecademy.validation :as validation]
[clojurecademy.util :as util]
[cemerick.url :as url]))
(defn- signup-validations
[data]
[[(validation/email? (:email data)) "Email is invalid."]
[(validation/username? (:username data)) "Username is ... | 114295 | (ns clojurecademy.controller.auth
(:require [clojurecademy.validation :as validation]
[clojurecademy.util :as util]
[cemerick.url :as url]))
(defn- signup-validations
[data]
[[(validation/email? (:email data)) "Email is invalid."]
[(validation/username? (:username data)) "Username is ... | true | (ns clojurecademy.controller.auth
(:require [clojurecademy.validation :as validation]
[clojurecademy.util :as util]
[cemerick.url :as url]))
(defn- signup-validations
[data]
[[(validation/email? (:email data)) "Email is invalid."]
[(validation/username? (:username data)) "Username is ... |
[
{
"context": " :joined 1\n :players (\\\"John\\\")\n :deck [\\\"♠A\\\" \\\"♥9\\\" \\\"♦6\\\" \\",
"end": 191,
"score": 0.9988102912902832,
"start": 187,
"tag": "NAME",
"value": "John"
}
] | src/cardgame/network/core.clj | ykarikos/cardgame | 0 | (ns cardgame.network.core
"The network protocol format:
{:command \"state\"
:msg \"Joined.\"}
:params {:game {:playercount 2
:joined 1
:players (\"John\")
:deck [\"♠A\" \"♥9\" \"♦6\" \"♣K\"]}}
"
(:require [manifold.stream :as s]
[cardgame.state ... | 3720 | (ns cardgame.network.core
"The network protocol format:
{:command \"state\"
:msg \"Joined.\"}
:params {:game {:playercount 2
:joined 1
:players (\"<NAME>\")
:deck [\"♠A\" \"♥9\" \"♦6\" \"♣K\"]}}
"
(:require [manifold.stream :as s]
[cardgame.stat... | true | (ns cardgame.network.core
"The network protocol format:
{:command \"state\"
:msg \"Joined.\"}
:params {:game {:playercount 2
:joined 1
:players (\"PI:NAME:<NAME>END_PI\")
:deck [\"♠A\" \"♥9\" \"♦6\" \"♣K\"]}}
"
(:require [manifold.stream :as s]
... |
[
{
"context": ";; The MIT License (MIT)\n\n;; Copyright (c) 2016 Stuart Sierra\n\n;; Permission is hereby granted, free of charge,",
"end": 61,
"score": 0.9998409748077393,
"start": 48,
"tag": "NAME",
"value": "Stuart Sierra"
}
] | src/com/stuartsierra/mapgraph.cljc | vimsical/mapgraph | 69 | ;; The MIT License (MIT)
;; Copyright (c) 2016 Stuart Sierra
;; 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,... | 103902 | ;; The MIT License (MIT)
;; Copyright (c) 2016 <NAME>
;; Permission is hereby granted, free of charge, to any person
;; obtaining a copy of this software and associated documentation
;; files (the "Software"), to deal in the Software without
;; restriction, including without limitation the rights to use, copy,
;; mod... | true | ;; The MIT License (MIT)
;; Copyright (c) 2016 PI:NAME:<NAME>END_PI
;; Permission is hereby granted, free of charge, to any person
;; obtaining a copy of this software and associated documentation
;; files (the "Software"), to deal in the Software without
;; restriction, including without limitation the rights to use... |
[
{
"context": "\n :authentication {:username \"zcaudate\"\n :password ",
"end": 1883,
"score": 0.9995612502098083,
"start": 1875,
"tag": "USERNAME",
"value": "zcaudate"
},
{
"context": "\n :p... | test/hara/lib/aether/remote_repo_test.clj | zcaudate/hara | 309 | (ns hara.lib.aether.remote-repo-test
(:use hara.test)
(:require [hara.object :as object]
[hara.lib.aether.remote-repo])
(:import (org.eclipse.aether.repository RemoteRepository
RemoteRepository$Builder
RepositoryPolicy... | 46225 | (ns hara.lib.aether.remote-repo-test
(:use hara.test)
(:require [hara.object :as object]
[hara.lib.aether.remote-repo])
(:import (org.eclipse.aether.repository RemoteRepository
RemoteRepository$Builder
RepositoryPolicy... | true | (ns hara.lib.aether.remote-repo-test
(:use hara.test)
(:require [hara.object :as object]
[hara.lib.aether.remote-repo])
(:import (org.eclipse.aether.repository RemoteRepository
RemoteRepository$Builder
RepositoryPolicy... |
[
{
"context": ";; Copyright (c) 2014, Andrey Antukh\n;; Copyright (c) 2014, Alejandro Gómez\n;; All rig",
"end": 36,
"score": 0.9998785257339478,
"start": 23,
"tag": "NAME",
"value": "Andrey Antukh"
},
{
"context": "ght (c) 2014, Andrey Antukh\n;; Copyright (c) 2014, Alejandro Gómez\n... | src/cljx/cats/data.cljx | pbaille/cats | 0 | ;; Copyright (c) 2014, Andrey Antukh
;; Copyright (c) 2014, Alejandro Gómez
;; All rights reserved.
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions
;; are met:
;;
;; 1. Redistributions of source code must retain the above cop... | 31057 | ;; Copyright (c) 2014, <NAME>
;; Copyright (c) 2014, <NAME>
;; All rights reserved.
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions
;; are met:
;;
;; 1. Redistributions of source code must retain the above copyright
;; not... | true | ;; Copyright (c) 2014, PI:NAME:<NAME>END_PI
;; Copyright (c) 2014, PI:NAME:<NAME>END_PI
;; All rights reserved.
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions
;; are met:
;;
;; 1. Redistributions of source code must retain t... |
[
{
"context": ") ;; warnings in cheshire.generate\n(ns ^{:author \"wahpenayo at gmail dot com\" \n :since \"2017-11-13\"\n :date \"2017-11-",
"end": 137,
"score": 0.9040859937667847,
"start": 111,
"tag": "EMAIL",
"value": "wahpenayo at gmail dot com"
}
] | src/main/clojure/zana/io/cheshire.clj | wahpenayo/zana | 2 | (set! *warn-on-reflection* true)
(set! *unchecked-math* false) ;; warnings in cheshire.generate
(ns ^{:author "wahpenayo at gmail dot com"
:since "2017-11-13"
:date "2017-11-13"
:doc "Generally useful cheshire (JSON) encoders.
<p>
Decoding (input) not yet supported, because
... | 9127 | (set! *warn-on-reflection* true)
(set! *unchecked-math* false) ;; warnings in cheshire.generate
(ns ^{:author "<EMAIL>"
:since "2017-11-13"
:date "2017-11-13"
:doc "Generally useful cheshire (JSON) encoders.
<p>
Decoding (input) not yet supported, because
obvious J... | true | (set! *warn-on-reflection* true)
(set! *unchecked-math* false) ;; warnings in cheshire.generate
(ns ^{:author "PI:EMAIL:<EMAIL>END_PI"
:since "2017-11-13"
:date "2017-11-13"
:doc "Generally useful cheshire (JSON) encoders.
<p>
Decoding (input) not yet supported, because
... |
[
{
"context": " (:import (java.sql SQLException)))\n\n(def passw \"bcrypt+sha512$a20e2dd70567d58028a5a108ce54b832$12$00a281eb5acd4dd11c37dffadc5f4aeb78288684029268a9\")\n\n(use-fixtures\n :once\n (fn [f]\n (mount/sta",
"end": 427,
"score": 0.9957932233810425,
"start": 329,
"tag": "PASSWORD"... | test/copa/test/db/users.clj | hjrnunes/copa | 2 | (ns copa.test.db.users
(:require [copa.db.core :refer [*db*] :as db]
[luminus-migrations.core :as migrations]
[clojure.test :refer :all]
[clojure.java.jdbc :as jdbc]
[copa.config :refer [env]]
[mount.core :as mount])
(:import (java.sql SQLException)))
(de... | 70912 | (ns copa.test.db.users
(:require [copa.db.core :refer [*db*] :as db]
[luminus-migrations.core :as migrations]
[clojure.test :refer :all]
[clojure.java.jdbc :as jdbc]
[copa.config :refer [env]]
[mount.core :as mount])
(:import (java.sql SQLException)))
(de... | true | (ns copa.test.db.users
(:require [copa.db.core :refer [*db*] :as db]
[luminus-migrations.core :as migrations]
[clojure.test :refer :all]
[clojure.java.jdbc :as jdbc]
[copa.config :refer [env]]
[mount.core :as mount])
(:import (java.sql SQLException)))
(de... |
[
{
"context": " :creator_id (mt/user->id :crowberto)\n :creator (user-detai",
"end": 3565,
"score": 0.9976882934570312,
"start": 3556,
"tag": "USERNAME",
"value": "crowberto"
},
{
"context": "tor (user-details (mt/fetch... | c#-metabase/test/metabase/api/segment_test.clj | hanakhry/Crime_Admin | 0 | (ns metabase.api.segment-test
"Tests for /api/segment endpoints."
(:require [clojure.test :refer :all]
[metabase.http-client :as http]
[metabase.models.database :refer [Database]]
[metabase.models.permissions :as perms]
[metabase.models.permissions-group :as group]
... | 30252 | (ns metabase.api.segment-test
"Tests for /api/segment endpoints."
(:require [clojure.test :refer :all]
[metabase.http-client :as http]
[metabase.models.database :refer [Database]]
[metabase.models.permissions :as perms]
[metabase.models.permissions-group :as group]
... | true | (ns metabase.api.segment-test
"Tests for /api/segment endpoints."
(:require [clojure.test :refer :all]
[metabase.http-client :as http]
[metabase.models.database :refer [Database]]
[metabase.models.permissions :as perms]
[metabase.models.permissions-group :as group]
... |
[
{
"context": " \"Address\"\n \"Customer Name\"\n \"License Plate\"\n ",
"end": 9154,
"score": 0.9155482649803162,
"start": 9141,
"tag": "NAME",
"value": "Customer Name"
}
] | src/dashboard/couriers.clj | Purple-Services/dashboard-service | 3 | (ns dashboard.couriers
(:require [bouncer.core :as b]
[bouncer.validators :as v]
[clojure.string :as s]
[clojure.edn :as edn]
[common.couriers :refer [parse-courier-zones]]
[common.db :refer [conn !select !update mysql-escape-str]]
[common.util :... | 30973 | (ns dashboard.couriers
(:require [bouncer.core :as b]
[bouncer.validators :as v]
[clojure.string :as s]
[clojure.edn :as edn]
[common.couriers :refer [parse-courier-zones]]
[common.db :refer [conn !select !update mysql-escape-str]]
[common.util :... | true | (ns dashboard.couriers
(:require [bouncer.core :as b]
[bouncer.validators :as v]
[clojure.string :as s]
[clojure.edn :as edn]
[common.couriers :refer [parse-courier-zones]]
[common.db :refer [conn !select !update mysql-escape-str]]
[common.util :... |
[
{
"context": ";; Copyright 2016 Timothy Brooks\n;;\n;; Licensed under the Apache License, Version ",
"end": 32,
"score": 0.9998681545257568,
"start": 18,
"tag": "NAME",
"value": "Timothy Brooks"
}
] | test/beehive/metrics_test.clj | tbrooks8/fault | 2 | ;; Copyright 2016 Timothy Brooks
;;
;; 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 w... | 106335 | ;; Copyright 2016 <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, ... | true | ;; Copyright 2016 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 t... |
[
{
"context": "application registry.\"\n :url \"https://github.com/zalando-stups/kio\"\n\n :license {:name \"The Apache License, Vers",
"end": 135,
"score": 0.9984016418457031,
"start": 122,
"tag": "USERNAME",
"value": "zalando-stups"
},
{
"context": ".kio.core\n :uberjar-name \"ki... | project.clj | oporkka/kio | 0 | (defproject org.zalando.stups/kio "0.25.0-SNAPSHOT"
:description "The application registry."
:url "https://github.com/zalando-stups/kio"
:license {:name "The Apache License, Version 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0"}
:min-lein-version "2.0.0"
:dependencies [[org.clojure/cl... | 50620 | (defproject org.zalando.stups/kio "0.25.0-SNAPSHOT"
:description "The application registry."
:url "https://github.com/zalando-stups/kio"
:license {:name "The Apache License, Version 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0"}
:min-lein-version "2.0.0"
:dependencies [[org.clojure/cl... | true | (defproject org.zalando.stups/kio "0.25.0-SNAPSHOT"
:description "The application registry."
:url "https://github.com/zalando-stups/kio"
:license {:name "The Apache License, Version 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0"}
:min-lein-version "2.0.0"
:dependencies [[org.clojure/cl... |
[
{
"context": "lex.arrays\n {:doc \"Array utilities.\"\n :author \"palisades dot lakes at gmail dot com\"\n :version \"2017-12-15\"})\n;;-------------------",
"end": 249,
"score": 0.86777663230896,
"start": 213,
"tag": "EMAIL",
"value": "palisades dot lakes at gmail dot com"
}
] | src/main/clojure/palisades/lakes/collex/arrays.clj | palisades-lakes/collection-experiments | 0 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns palisades.lakes.collex.arrays
{:doc "Array utilities."
:author "palisades dot lakes at gmail dot com"
:version "2017-12-15"})
;;----------------------------------------... | 55583 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns palisades.lakes.collex.arrays
{:doc "Array utilities."
:author "<EMAIL>"
:version "2017-12-15"})
;;----------------------------------------------------------------
;; p... | true | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns palisades.lakes.collex.arrays
{:doc "Array utilities."
:author "PI:EMAIL:<EMAIL>END_PI"
:version "2017-12-15"})
;;------------------------------------------------------... |
[
{
"context": " ;:key-password \"password\"\n ;:ssl-po",
"end": 4930,
"score": 0.9985736608505249,
"start": 4922,
"tag": "PASSWORD",
"value": "password"
}
] | src/master_menu/service.clj | mdgart/clojure_postgres_menu | 3 | (ns master-menu.service
(:require [io.pedestal.http :as http]
[io.pedestal.http.route :as route]
[io.pedestal.http.body-params :as body-params]
[ring.util.response :as ring-resp]
[master-menu.databases.postgres.db :refer [db]]
[master-menu.databases.postgres... | 38900 | (ns master-menu.service
(:require [io.pedestal.http :as http]
[io.pedestal.http.route :as route]
[io.pedestal.http.body-params :as body-params]
[ring.util.response :as ring-resp]
[master-menu.databases.postgres.db :refer [db]]
[master-menu.databases.postgres... | true | (ns master-menu.service
(:require [io.pedestal.http :as http]
[io.pedestal.http.route :as route]
[io.pedestal.http.body-params :as body-params]
[ring.util.response :as ring-resp]
[master-menu.databases.postgres.db :refer [db]]
[master-menu.databases.postgres... |
[
{
"context": "t\" \"Subject\" \"Message\"]\n [\"foo@bar.com\" \"test\" \"msg\"]\n [\"foo2@bar",
"end": 439,
"score": 0.9999189376831055,
"start": 428,
"tag": "EMAIL",
"value": "foo@bar.com"
},
{
"context": "@bar.com\" \"test\" \"msg\"]\n ... | test/appscriptlib/functions_test.cljc | charignon/mailmerge | 3 | (ns appscriptlib.functions-test
(:require
[appscriptlib.functions :as f]
[appscriptlib.protocols :refer :all]
[appscriptlib.fake-google-apis :refer :all]
[clojure.test :refer :all]))
(deftest mail-merge-basics
(testing "Can send email"
(let [log-sheet (fake-sheet [["Date" "Message"]] "Log")
... | 25028 | (ns appscriptlib.functions-test
(:require
[appscriptlib.functions :as f]
[appscriptlib.protocols :refer :all]
[appscriptlib.fake-google-apis :refer :all]
[clojure.test :refer :all]))
(deftest mail-merge-basics
(testing "Can send email"
(let [log-sheet (fake-sheet [["Date" "Message"]] "Log")
... | true | (ns appscriptlib.functions-test
(:require
[appscriptlib.functions :as f]
[appscriptlib.protocols :refer :all]
[appscriptlib.fake-google-apis :refer :all]
[clojure.test :refer :all]))
(deftest mail-merge-basics
(testing "Can send email"
(let [log-sheet (fake-sheet [["Date" "Message"]] "Log")
... |
[
{
"context": "ref) [smaug bilbo gandalf])\n;;({:health 0, :name \"Smaug\"} {:health 294.0770800776351, :name \"Bilbo\"} {:ma",
"end": 5889,
"score": 0.989764392375946,
"start": 5884,
"tag": "NAME",
"value": "Smaug"
},
{
"context": ":name \"Smaug\"} {:health 294.0770800776351, :name \... | src/clojure_tutorial/concurrent/ref.clj | edgar615/clojure-tutorial | 1 | (ns clojure-tutorial.concurrent.ref)
;ref是Clojure提供的协调引用类型。使用它可以保证多个线程可以交互地对这个ref进行操作
; ref会一直保持在一个一致的状态,任何条件下都不会出现外界可见的一致性的状态
; 在多个ref之间不可能会产生竞争条件
; 不需要你手动地去使用锁、monitor或者其他底层的同步原语
; 不可能出现死锁
; 软件事务内存STM是任何对并发修改一系列内存地址的行为进行协调的方法。
; 对于一系列ref的每个修改都是具有事务语义的,而每个STM事务保证对于ref的修改是: 原子的、一致的、隔离的
; Clojure的STM满足ACID属性里面的A、C、I... | 98894 | (ns clojure-tutorial.concurrent.ref)
;ref是Clojure提供的协调引用类型。使用它可以保证多个线程可以交互地对这个ref进行操作
; ref会一直保持在一个一致的状态,任何条件下都不会出现外界可见的一致性的状态
; 在多个ref之间不可能会产生竞争条件
; 不需要你手动地去使用锁、monitor或者其他底层的同步原语
; 不可能出现死锁
; 软件事务内存STM是任何对并发修改一系列内存地址的行为进行协调的方法。
; 对于一系列ref的每个修改都是具有事务语义的,而每个STM事务保证对于ref的修改是: 原子的、一致的、隔离的
; Clojure的STM满足ACID属性里面的A、C、I... | true | (ns clojure-tutorial.concurrent.ref)
;ref是Clojure提供的协调引用类型。使用它可以保证多个线程可以交互地对这个ref进行操作
; ref会一直保持在一个一致的状态,任何条件下都不会出现外界可见的一致性的状态
; 在多个ref之间不可能会产生竞争条件
; 不需要你手动地去使用锁、monitor或者其他底层的同步原语
; 不可能出现死锁
; 软件事务内存STM是任何对并发修改一系列内存地址的行为进行协调的方法。
; 对于一系列ref的每个修改都是具有事务语义的,而每个STM事务保证对于ref的修改是: 原子的、一致的、隔离的
; Clojure的STM满足ACID属性里面的A、C、I... |
[
{
"context": " \n {:doc \"collect software tags.\"\n :author \"palisades dot lakes at gmail dot com\"\n :version \"2018-11-30\"}\n \n (:require [clojur",
"end": 262,
"score": 0.622672438621521,
"start": 229,
"tag": "EMAIL",
"value": "isades dot lakes at gmail dot com"
}
] | src/scripts/clojure/palisades/lakes/curate/scripts/wxh.clj | palisades-lakes/curate | 0 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns palisades.lakes.curate.scripts.wxh
{:doc "collect software tags."
:author "palisades dot lakes at gmail dot com"
:version "2018-11-30"}
(:require [clojure.java.i... | 109648 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns palisades.lakes.curate.scripts.wxh
{:doc "collect software tags."
:author "pal<EMAIL>"
:version "2018-11-30"}
(:require [clojure.java.io :as io]
[clo... | true | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns palisades.lakes.curate.scripts.wxh
{:doc "collect software tags."
:author "palPI:EMAIL:<EMAIL>END_PI"
:version "2018-11-30"}
(:require [clojure.java.io :as io]
... |
[
{
"context": "; Copyright (c) Rich Hickey. All rights reserved.\r\n; The use and distributi",
"end": 30,
"score": 0.999749481678009,
"start": 19,
"tag": "NAME",
"value": "Rich Hickey"
}
] | Source/clojure/spec/test.clj | pjago/Arcadia | 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... | 67861 | ; 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 ... | 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 so... |
[
{
"context": " keyrings \"/usr/share/keyrings\"\n key \"google-chrome-key\"\n repo \"deb [arch=amd64] http://dl.google.",
"end": 729,
"score": 0.6337774991989136,
"start": 712,
"tag": "KEY",
"value": "google-chrome-key"
},
{
"context": "in\"]\n (download url (<<... | src/re_cipes/chrome.clj | re-ops/re-cipes | 7 | (ns re-cipes.chrome
"Google chrome"
(:require
[re-cipes.access :refer (permissions)]
[clojure.core.strint :refer (<<)]
[re-cog.resources.file :refer (file line)]
[re-cog.resources.package :refer (package key-file update-)]
[re-cog.resources.user :refer (group-add)]
[re-cog.resources.download :refe... | 16760 | (ns re-cipes.chrome
"Google chrome"
(:require
[re-cipes.access :refer (permissions)]
[clojure.core.strint :refer (<<)]
[re-cog.resources.file :refer (file line)]
[re-cog.resources.package :refer (package key-file update-)]
[re-cog.resources.user :refer (group-add)]
[re-cog.resources.download :refe... | true | (ns re-cipes.chrome
"Google chrome"
(:require
[re-cipes.access :refer (permissions)]
[clojure.core.strint :refer (<<)]
[re-cog.resources.file :refer (file line)]
[re-cog.resources.package :refer (package key-file update-)]
[re-cog.resources.user :refer (group-add)]
[re-cog.resources.download :refe... |
[
{
"context": ";; Copyright (c) Stuart Sierra, 2012. All rights reserved. The use and\n;; distri",
"end": 30,
"score": 0.9998846054077148,
"start": 17,
"tag": "NAME",
"value": "Stuart Sierra"
},
{
"context": "or any other, from this software.\n\n(ns ^{:author \"Stuart Sierra\"\n ... | server/target/clojure/tools/namespace/parse.clj | OctavioBR/healthcheck | 0 | ;; Copyright (c) Stuart Sierra, 2012. 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 a... | 118565 | ;; Copyright (c) <NAME>, 2012. 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 fash... | true | ;; Copyright (c) PI:NAME:<NAME>END_PI, 2012. 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 softwa... |
[
{
"context": " (:file recording)\n obj-key (str \"facebook-\" user-id \"/\" (oget file :name))\n bucket ",
"end": 918,
"score": 0.8418424129486084,
"start": 908,
"tag": "KEY",
"value": "facebook-\""
},
{
"context": "ording)\n obj-key (str \"facebo... | src/cljs/aws_transcribe_clj/transcribe/fx.cljs | Flexiana/aws-transcribe-clj | 1 | (ns aws-transcribe-clj.transcribe.fx
(:require [cljs.core.async :as a]
[oops.core :refer [oget]]
[re-frame.core :as rf]
[aws-transcribe-clj.aws.sdk :as aws]
[aws-transcribe-clj.common :as c]
[aws-transcribe-clj.transcribe.fx.audio :as audio]
[aws... | 39496 | (ns aws-transcribe-clj.transcribe.fx
(:require [cljs.core.async :as a]
[oops.core :refer [oget]]
[re-frame.core :as rf]
[aws-transcribe-clj.aws.sdk :as aws]
[aws-transcribe-clj.common :as c]
[aws-transcribe-clj.transcribe.fx.audio :as audio]
[aws... | true | (ns aws-transcribe-clj.transcribe.fx
(:require [cljs.core.async :as a]
[oops.core :refer [oget]]
[re-frame.core :as rf]
[aws-transcribe-clj.aws.sdk :as aws]
[aws-transcribe-clj.common :as c]
[aws-transcribe-clj.transcribe.fx.audio :as audio]
[aws... |
[
{
"context": "k combining blocking with CPU-bound tasks.\n;;;\n;;; Eli Bendersky [http://eli.thegreenplace.net]\n;;; This code is i",
"end": 76,
"score": 0.9981199502944946,
"start": 63,
"tag": "NAME",
"value": "Eli Bendersky"
}
] | 2017/clojure-blocking-async/src/clojure_blocking_async/combine_cpubound_blocking.clj | mikiec84/code-for-blog | 1,199 | ;;; Benchmark combining blocking with CPU-bound tasks.
;;;
;;; Eli Bendersky [http://eli.thegreenplace.net]
;;; This code is in the public domain.
(ns clojure-blocking-async.combine-cpubound-blocking
(:require [clojure.core.async :as async]))
(defn factorize
"Naive factorization function; takes an integer n and re... | 65854 | ;;; Benchmark combining blocking with CPU-bound tasks.
;;;
;;; <NAME> [http://eli.thegreenplace.net]
;;; This code is in the public domain.
(ns clojure-blocking-async.combine-cpubound-blocking
(:require [clojure.core.async :as async]))
(defn factorize
"Naive factorization function; takes an integer n and returns a... | true | ;;; Benchmark combining blocking with CPU-bound tasks.
;;;
;;; PI:NAME:<NAME>END_PI [http://eli.thegreenplace.net]
;;; This code is in the public domain.
(ns clojure-blocking-async.combine-cpubound-blocking
(:require [clojure.core.async :as async]))
(defn factorize
"Naive factorization function; takes an integer n... |
[
{
"context": "! reconciler PersonList {:people [(make-person 1 \"Tony\")\n ",
"end": 6251,
"score": 0.9992513656616211,
"start": 6247,
"tag": "NAME",
"value": "Tony"
},
{
"context": " (make-person 2 \"Sall... | src/book/book/queries/union_example_2.cljs | d4hines/fulcro | 0 | (ns book.queries.union-example-2
(:require [fulcro.client.dom :as dom]
[fulcro.client.primitives :as prim :refer [defsc]]
[fulcro.client.cards :refer [defcard-fulcro]]
[fulcro.client :as fc]
[fulcro.client.routing :as r :refer [defrouter]]
[fulcro.client.mut... | 124806 | (ns book.queries.union-example-2
(:require [fulcro.client.dom :as dom]
[fulcro.client.primitives :as prim :refer [defsc]]
[fulcro.client.cards :refer [defcard-fulcro]]
[fulcro.client :as fc]
[fulcro.client.routing :as r :refer [defrouter]]
[fulcro.client.mut... | true | (ns book.queries.union-example-2
(:require [fulcro.client.dom :as dom]
[fulcro.client.primitives :as prim :refer [defsc]]
[fulcro.client.cards :refer [defcard-fulcro]]
[fulcro.client :as fc]
[fulcro.client.routing :as r :refer [defrouter]]
[fulcro.client.mut... |
[
{
"context": ";; Copyright Fabian Schneider and Gunnar Völkel © 2014-2020\n;;\n;; Permission is",
"end": 29,
"score": 0.9998453259468079,
"start": 13,
"tag": "NAME",
"value": "Fabian Schneider"
},
{
"context": ";; Copyright Fabian Schneider and Gunnar Völkel © 2014-2020\n;;\n;; Permi... | src/traqbio/db/migrate.clj | sysbio-bioinf/iBioTraq | 2 | ;; Copyright Fabian Schneider and Gunnar Völkel © 2014-2020
;;
;; Permission is hereby granted, free of charge, to any person obtaining a copy
;; of this software and associated documentation files (the "Software"), to deal
;; in the Software without restriction, including without limitation the rights
;; to use, copy,... | 75829 | ;; Copyright <NAME> and <NAME> © 2014-2020
;;
;; Permission is hereby granted, free of charge, to any person obtaining a copy
;; of this software and associated documentation files (the "Software"), to deal
;; in the Software without restriction, including without limitation the rights
;; to use, copy, modify, merge, p... | true | ;; Copyright PI:NAME:<NAME>END_PI and PI:NAME:<NAME>END_PI © 2014-2020
;;
;; Permission is hereby granted, free of charge, to any person obtaining a copy
;; of this software and associated documentation files (the "Software"), to deal
;; in the Software without restriction, including without limitation the rights
;; to... |
[
{
"context": "st.\"\n (let [m1 {\"key\" \"foo\"\n \"key2\" [\"bar\" \"baz\"]}\n m2 {\"key\" [\"cake\" \"salad\"]}]\n ",
"end": 597,
"score": 0.9658682942390442,
"start": 594,
"tag": "KEY",
"value": "bar"
},
{
"context": " (let [m1 {\"key\" \"foo\"\n \"... | test/cascalog/util_test.clj | Factual/cascalog | 1 | (ns cascalog.util-test
(:use cascalog.util
midje.sweet))
(tabular
(fact "test-all-pairs"
(all-pairs ?input) => ?result)
?input ?result
[1] []
[1 2 3] [[1 2] [1 3] [2 3]]
[1 :a :a 2] [[1 :a] [1 :a] [1 2] [:a :a] [:a 2] [:a 2]])
(facts "count= tests."
(count= [1] []) => false
(... | 36800 | (ns cascalog.util-test
(:use cascalog.util
midje.sweet))
(tabular
(fact "test-all-pairs"
(all-pairs ?input) => ?result)
?input ?result
[1] []
[1 2 3] [[1 2] [1 3] [2 3]]
[1 :a :a 2] [[1 :a] [1 :a] [1 2] [:a :a] [:a 2] [:a 2]])
(facts "count= tests."
(count= [1] []) => false
(... | true | (ns cascalog.util-test
(:use cascalog.util
midje.sweet))
(tabular
(fact "test-all-pairs"
(all-pairs ?input) => ?result)
?input ?result
[1] []
[1 2 3] [[1 2] [1 3] [2 3]]
[1 :a :a 2] [[1 :a] [1 :a] [1 2] [:a :a] [:a 2] [:a 2]])
(facts "count= tests."
(count= [1] []) => false
(... |
[
{
"context": " :as vigenere]))\n\n(let\n [ plaintext \"Beware the Jabberwock, my son! The jaws that bite, the claws that catc",
"end": 146,
"score": 0.5688865184783936,
"start": 137,
"tag": "NAME",
"value": "abberwock"
},
{
"context": " that bite, the claws that catch!\"\n key ... | Task/Vigen-re-cipher/Clojure/vigen-re-cipher-2.clj | mullikine/RosettaCodeData | 1 | (ns org.rosettacode.clojure.test-vigenere
(:require [org.rosettacode.clojure.vigenere :as vigenere]))
(let
[ plaintext "Beware the Jabberwock, my son! The jaws that bite, the claws that catch!"
key "Vigenere cipher"
ciphertext (vigenere/encrypt plaintext key)
recovered (vigenere/decrypt cipherte... | 87260 | (ns org.rosettacode.clojure.test-vigenere
(:require [org.rosettacode.clojure.vigenere :as vigenere]))
(let
[ plaintext "Beware the J<NAME>, my son! The jaws that bite, the claws that catch!"
key "<KEY>"
ciphertext (vigenere/encrypt plaintext key)
recovered (vigenere/decrypt ciphertext key) ]
... | true | (ns org.rosettacode.clojure.test-vigenere
(:require [org.rosettacode.clojure.vigenere :as vigenere]))
(let
[ plaintext "Beware the JPI:NAME:<NAME>END_PI, my son! The jaws that bite, the claws that catch!"
key "PI:KEY:<KEY>END_PI"
ciphertext (vigenere/encrypt plaintext key)
recovered (vigenere/de... |
[
{
"context": "me\n :password encrypted-password})]\n (first found-users)))\n\n",
"end": 214,
"score": 0.97108393907547,
"start": 196,
"tag": "PASSWORD",
"value": "encrypted-password"
}
] | langs/clojure/clojure-in-action/ch02/check-login.clj | danielgrigg/sandbox | 1 | (defn check-login [username password]
(let [encrypted-password (encrypt-string password)
found-users (find-records {:login username
:password encrypted-password})]
(first found-users)))
| 118824 | (defn check-login [username password]
(let [encrypted-password (encrypt-string password)
found-users (find-records {:login username
:password <PASSWORD>})]
(first found-users)))
| true | (defn check-login [username password]
(let [encrypted-password (encrypt-string password)
found-users (find-records {:login username
:password PI:PASSWORD:<PASSWORD>END_PI})]
(first found-users)))
|
[
{
"context": ";; Copyright Copyright © 2017 Colin Smith. MIT License.\n\n(ns algebra.polynomial\n (:import ",
"end": 41,
"score": 0.9998366832733154,
"start": 30,
"tag": "NAME",
"value": "Colin Smith"
}
] | src/algebra/polynomial.clj | littleredcomputer/algebra | 6 | ;; Copyright Copyright © 2017 Colin Smith. MIT License.
(ns algebra.polynomial
(:import (clojure.lang BigInt Ratio))
(:require [algebra :as a]
[clojure.set :as set]
[clojure.string :as string]))
(def coefficient second)
(def exponents first)
;; Monomials
;;
;; We represent a monomial as a... | 82434 | ;; Copyright Copyright © 2017 <NAME>. MIT License.
(ns algebra.polynomial
(:import (clojure.lang BigInt Ratio))
(:require [algebra :as a]
[clojure.set :as set]
[clojure.string :as string]))
(def coefficient second)
(def exponents first)
;; Monomials
;;
;; We represent a monomial as a vect... | true | ;; Copyright Copyright © 2017 PI:NAME:<NAME>END_PI. MIT License.
(ns algebra.polynomial
(:import (clojure.lang BigInt Ratio))
(:require [algebra :as a]
[clojure.set :as set]
[clojure.string :as string]))
(def coefficient second)
(def exponents first)
;; Monomials
;;
;; We represent a mono... |
[
{
"context": "db :as rf-db])\n (swap! rf-db/app-db assoc :name \"Some name\")\n (deref rf-db/app-db))\n",
"end": 1028,
"score": 0.9068663120269775,
"start": 1019,
"tag": "NAME",
"value": "Some name"
}
] | src/medbook/ui/events.cljs | abogoyavlensky/medbook | 0 | (ns medbook.ui.events
(:require [re-frame.core :as re-frame]
[reitit.frontend.controllers :as reitit-controllers]
[reitit.frontend.easy :as reitit-easy]
[medbook.ui.db :as db]))
(re-frame/reg-event-db
::initialize-db
(fn [_ _]
db/default-db))
(re-frame/reg-event-db
::... | 42190 | (ns medbook.ui.events
(:require [re-frame.core :as re-frame]
[reitit.frontend.controllers :as reitit-controllers]
[reitit.frontend.easy :as reitit-easy]
[medbook.ui.db :as db]))
(re-frame/reg-event-db
::initialize-db
(fn [_ _]
db/default-db))
(re-frame/reg-event-db
::... | true | (ns medbook.ui.events
(:require [re-frame.core :as re-frame]
[reitit.frontend.controllers :as reitit-controllers]
[reitit.frontend.easy :as reitit-easy]
[medbook.ui.db :as db]))
(re-frame/reg-event-db
::initialize-db
(fn [_ _]
db/default-db))
(re-frame/reg-event-db
::... |
[
{
"context": "-key (format \"./test-resources/ssl/private_keys/%s.pem\" certname)\n ca-cert \"./test-resources/",
"end": 1546,
"score": 0.6863986849784851,
"start": 1543,
"tag": "KEY",
"value": "pem"
}
] | test/utils/puppetlabs/pcp/testutils/client.clj | rileynewton/pcp-broker | 6 | (ns puppetlabs.pcp.testutils.client
(:require [clojure.test :refer :all]
[puppetlabs.pcp.broker.message :as message]
[clojure.core.async :as async :refer [timeout alts!! chan >!! <!! put!]]
[http.async.client :as http]
[puppetlabs.pcp.message-v1 :as m1]
[pup... | 25839 | (ns puppetlabs.pcp.testutils.client
(:require [clojure.test :refer :all]
[puppetlabs.pcp.broker.message :as message]
[clojure.core.async :as async :refer [timeout alts!! chan >!! <!! put!]]
[http.async.client :as http]
[puppetlabs.pcp.message-v1 :as m1]
[pup... | true | (ns puppetlabs.pcp.testutils.client
(:require [clojure.test :refer :all]
[puppetlabs.pcp.broker.message :as message]
[clojure.core.async :as async :refer [timeout alts!! chan >!! <!! put!]]
[http.async.client :as http]
[puppetlabs.pcp.message-v1 :as m1]
[pup... |
[
{
"context": "; Copyright (c) Rich Hickey. All rights reserved.\n; The use and distributio",
"end": 30,
"score": 0.999846339225769,
"start": 19,
"tag": "NAME",
"value": "Rich Hickey"
},
{
"context": "ice, or any other, from this software.\n\n;; Author: Tassilo Horn\n\n(ns clojur... | Clojure/clojure/test_clojure/reducers.clj | AydarLukmanov/ArcadiaGodot | 123 | ; 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... | 72737 | ; 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 fash... | 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 softwa... |
[
{
"context": "ion was provided\n on the clojure mailing list by Alistair Roche.)\"\n [& {:keys [req req-un opt opt-un] :as args}]",
"end": 1350,
"score": 0.9998852610588074,
"start": 1336,
"tag": "NAME",
"value": "Alistair Roche"
}
] | code/src/sixsq/nuvla/server/util/spec.cljc | nuvla/server | 6 | (ns sixsq.nuvla.server.util.spec
"Utilities that provide common spec definition patterns that aren't
supported directly by the core spec functions and macros."
(:require
[clojure.set :as set]
[clojure.spec.alpha :as s]
[spec-tools.impl :as impl]
[spec-tools.json-schema :as jsc]
[spec-tools.pa... | 27207 | (ns sixsq.nuvla.server.util.spec
"Utilities that provide common spec definition patterns that aren't
supported directly by the core spec functions and macros."
(:require
[clojure.set :as set]
[clojure.spec.alpha :as s]
[spec-tools.impl :as impl]
[spec-tools.json-schema :as jsc]
[spec-tools.pa... | true | (ns sixsq.nuvla.server.util.spec
"Utilities that provide common spec definition patterns that aren't
supported directly by the core spec functions and macros."
(:require
[clojure.set :as set]
[clojure.spec.alpha :as s]
[spec-tools.impl :as impl]
[spec-tools.json-schema :as jsc]
[spec-tools.pa... |
[
{
"context": "akes-blood-hunts? false, :has-pulse? true :name \"Paula\"}\n 1 {:makes-blood-hunts? false, :has-pulse? tr",
"end": 120,
"score": 0.999504566192627,
"start": 115,
"tag": "NAME",
"value": "Paula"
},
{
"context": "akes-blood-hunts? false, :has-pulse? true :name \"Prisc... | vampires/src/vampires/core.clj | naomijub/Noobing | 0 | (ns vampires.core
(:gen-class))
(def vampire-database
{0 {:makes-blood-hunts? false, :has-pulse? true :name "Paula"}
1 {:makes-blood-hunts? false, :has-pulse? true :name "Priscila"}
2 {:makes-blood-hunts? true, :has-pulse? false :name "Dracula"}
3 {:makes-blood-hunts? true, :has-pulse? true :name "Mi... | 108745 | (ns vampires.core
(:gen-class))
(def vampire-database
{0 {:makes-blood-hunts? false, :has-pulse? true :name "<NAME>"}
1 {:makes-blood-hunts? false, :has-pulse? true :name "<NAME>"}
2 {:makes-blood-hunts? true, :has-pulse? false :name "<NAME>"}
3 {:makes-blood-hunts? true, :has-pulse? true :name "<NAM... | true | (ns vampires.core
(:gen-class))
(def vampire-database
{0 {:makes-blood-hunts? false, :has-pulse? true :name "PI:NAME:<NAME>END_PI"}
1 {:makes-blood-hunts? false, :has-pulse? true :name "PI:NAME:<NAME>END_PI"}
2 {:makes-blood-hunts? true, :has-pulse? false :name "PI:NAME:<NAME>END_PI"}
3 {:makes-blood-h... |
[
{
"context": "a.scroll)\n\n;; Copied from https://gist.github.com/jasich/21ab25db923e85e1252bed13cf65f0d8\n;; Copyright Jas",
"end": 77,
"score": 0.9992944002151489,
"start": 71,
"tag": "USERNAME",
"value": "jasich"
},
{
"context": "sich/21ab25db923e85e1252bed13cf65f0d8\n;; Copyright... | src/example/ymir/alpha/scroll.cljs | jonasemueller/ymir | 1 | (ns example.ymir.alpha.scroll)
;; Copied from https://gist.github.com/jasich/21ab25db923e85e1252bed13cf65f0d8
;; Copyright Jason Sich
(defn cur-doc-top []
(+ (.. js/document -body -scrollTop) (.. js/document -documentElement -scrollTop)))
(defn element-top [elem top]
(if (.-offsetParent elem)
(let [client-to... | 743 | (ns example.ymir.alpha.scroll)
;; Copied from https://gist.github.com/jasich/21ab25db923e85e1252bed13cf65f0d8
;; Copyright <NAME>
(defn cur-doc-top []
(+ (.. js/document -body -scrollTop) (.. js/document -documentElement -scrollTop)))
(defn element-top [elem top]
(if (.-offsetParent elem)
(let [client-top (o... | true | (ns example.ymir.alpha.scroll)
;; Copied from https://gist.github.com/jasich/21ab25db923e85e1252bed13cf65f0d8
;; Copyright PI:NAME:<NAME>END_PI
(defn cur-doc-top []
(+ (.. js/document -body -scrollTop) (.. js/document -documentElement -scrollTop)))
(defn element-top [elem top]
(if (.-offsetParent elem)
(let ... |
[
{
"context": "user user\n :password password}}))\n\n(defn- make-replication-param\n [{:keys [net",
"end": 744,
"score": 0.9982033967971802,
"start": 736,
"tag": "PASSWORD",
"value": "password"
},
{
"context": "rd]\n :or {port 9042 user \"cassandra\" ... | tools/scalar-schema/src/scalar_schema/cassandra.clj | y-taka-23/scalardb | 0 | (ns scalar-schema.cassandra
(:require [clojure.tools.logging :as log]
[scalar-schema.common :as common]
[scalar-schema.protocols :as proto]
[qbits.alia :as alia]
[qbits.hayt :refer [->raw]]
[qbits.hayt.dsl.clause :as clause]
[qbits.hayt.dsl.state... | 17050 | (ns scalar-schema.cassandra
(:require [clojure.tools.logging :as log]
[scalar-schema.common :as common]
[scalar-schema.protocols :as proto]
[qbits.alia :as alia]
[qbits.hayt :refer [->raw]]
[qbits.hayt.dsl.clause :as clause]
[qbits.hayt.dsl.state... | true | (ns scalar-schema.cassandra
(:require [clojure.tools.logging :as log]
[scalar-schema.common :as common]
[scalar-schema.protocols :as proto]
[qbits.alia :as alia]
[qbits.hayt :refer [->raw]]
[qbits.hayt.dsl.clause :as clause]
[qbits.hayt.dsl.state... |
[
{
"context": "y EdDSAPublicKey)))\n\n;; From RFC8037\n(def key \"{\\\"kty\\\":\\\"OKP\\\",\\\"crv\\\":\\\"Ed25519\\\",\n\\\"d\\\":\\\"nWGxne_9WmC6hEr",
"end": 412,
"score": 0.9961647987365723,
"start": 404,
"tag": "KEY",
"value": "kty\\\":\\\""
},
{
"context": "ublicKey)))\n\n;; From... | test/buddy/contrib/eddsa_test.clj | shilder/buddy-sign-eddsa | 0 | (ns buddy.contrib.eddsa-test
(:require [clojure.test :refer :all]
[buddy.contrib.jwk :as jwk]
[buddy.contrib.eddsa]
[buddy.core.codecs.base64 :as b64]
[buddy.core.codecs :as codecs]
[buddy.core.dsa :as dsa]
[buddy.sign.jws :as jws])
(:import (n... | 80068 | (ns buddy.contrib.eddsa-test
(:require [clojure.test :refer :all]
[buddy.contrib.jwk :as jwk]
[buddy.contrib.eddsa]
[buddy.core.codecs.base64 :as b64]
[buddy.core.codecs :as codecs]
[buddy.core.dsa :as dsa]
[buddy.sign.jws :as jws])
(:import (n... | true | (ns buddy.contrib.eddsa-test
(:require [clojure.test :refer :all]
[buddy.contrib.jwk :as jwk]
[buddy.contrib.eddsa]
[buddy.core.codecs.base64 :as b64]
[buddy.core.codecs :as codecs]
[buddy.core.dsa :as dsa]
[buddy.sign.jws :as jws])
(:import (n... |
[
{
"context": ";;;\n;;; Copyright 2020 David Edwards\n;;;\n;;; Licensed under the Apache License, Versio",
"end": 36,
"score": 0.9997665882110596,
"start": 23,
"tag": "NAME",
"value": "David Edwards"
}
] | src/rpn/compiler.clj | davidledwards/rpn-clojure | 1 | ;;;
;;; Copyright 2020 David Edwards
;;;
;;; Licensed under the Apache License, Version 2.0 (the "License");
;;; you may not use this file except in compliance with the License.
;;; You may obtain a copy of the License at
;;;
;;; http://www.apache.org/licenses/LICENSE-2.0
;;;
;;; Unless required by applicable law or ag... | 36617 | ;;;
;;; Copyright 2020 <NAME>
;;;
;;; Licensed under the Apache License, Version 2.0 (the "License");
;;; you may not use this file except in compliance with the License.
;;; You may obtain a copy of the License at
;;;
;;; http://www.apache.org/licenses/LICENSE-2.0
;;;
;;; Unless required by applicable law or agreed to... | true | ;;;
;;; Copyright 2020 PI:NAME:<NAME>END_PI
;;;
;;; Licensed under the Apache License, Version 2.0 (the "License");
;;; you may not use this file except in compliance with the License.
;;; You may obtain a copy of the License at
;;;
;;; http://www.apache.org/licenses/LICENSE-2.0
;;;
;;; Unless required by applicable la... |
[
{
"context": "(fact \"search new entries\"\n (let [entry-key \"9999\"\n entry-doc \"latest entry\"\n ",
"end": 2303,
"score": 0.9748064875602722,
"start": 2299,
"tag": "KEY",
"value": "9999"
},
{
"context": "(fact \"search new entries\"\n (let [entry-ke... | test/clucie/t_core.clj | federkasten/clucie | 62 | (ns clucie.t-core
(:require [midje.sweet :refer :all]
[clucie.core :as core]
[clucie.analysis :as analysis]
[clucie.store :as store]
[clucie.t-common :as t-common]
[clucie.t-fixture :as t-fixture])
(:import [java.util UUID]
[org.apache.lucene.qu... | 50596 | (ns clucie.t-core
(:require [midje.sweet :refer :all]
[clucie.core :as core]
[clucie.analysis :as analysis]
[clucie.store :as store]
[clucie.t-common :as t-common]
[clucie.t-fixture :as t-fixture])
(:import [java.util UUID]
[org.apache.lucene.qu... | true | (ns clucie.t-core
(:require [midje.sweet :refer :all]
[clucie.core :as core]
[clucie.analysis :as analysis]
[clucie.store :as store]
[clucie.t-common :as t-common]
[clucie.t-fixture :as t-fixture])
(:import [java.util UUID]
[org.apache.lucene.qu... |
[
{
"context": " kind of structure:\n {:user {:eppn \\\"\\\"eppn\\\" \\\"developer\\\"\n :email \\\"developer@e.mail\\\"\n ",
"end": 9506,
"score": 0.9623945355415344,
"start": 9497,
"tag": "USERNAME",
"value": "developer"
},
{
"context": "eppn \\\"\\\"eppn\\\" \\\"d... | src/cljs/rems/spa.cljs | secureb2share/secureb2share-rems | 0 | (ns rems.spa
(:require [reagent.core :as r]
[re-frame.core :as rf :refer [dispatch reg-event-db reg-event-fx reg-sub reg-fx]]
[secretary.core :as secretary]
[goog.events :as events]
[goog.history.EventType :as HistoryEventType]
[markdown.core :refer [md->htm... | 54545 | (ns rems.spa
(:require [reagent.core :as r]
[re-frame.core :as rf :refer [dispatch reg-event-db reg-event-fx reg-sub reg-fx]]
[secretary.core :as secretary]
[goog.events :as events]
[goog.history.EventType :as HistoryEventType]
[markdown.core :refer [md->htm... | true | (ns rems.spa
(:require [reagent.core :as r]
[re-frame.core :as rf :refer [dispatch reg-event-db reg-event-fx reg-sub reg-fx]]
[secretary.core :as secretary]
[goog.events :as events]
[goog.history.EventType :as HistoryEventType]
[markdown.core :refer [md->htm... |
[
{
"context": " merge\n {:Username username\n :Password passwo",
"end": 745,
"score": 0.997951328754425,
"start": 737,
"tag": "USERNAME",
"value": "username"
},
{
"context": "sername\n :Pas... | data/train/clojure/3e581d9eaca2346edfc67f184959a2b050cc4b7acore.clj | harshp8l/deep-learning-lang-detection | 84 | ;; All jangosmtp api function throws ExceptionInfo whenever there are errors in jangosmtp server. The exception info's data can be accessed by using clojure.core/ex-data
;;
;;
(ns clj-jangosmtp.core
(:require [clj-http.client :as client]
[clojure.data.xml :refer [parse-str]]
[ribol.core :refe... | 122045 | ;; All jangosmtp api function throws ExceptionInfo whenever there are errors in jangosmtp server. The exception info's data can be accessed by using clojure.core/ex-data
;;
;;
(ns clj-jangosmtp.core
(:require [clj-http.client :as client]
[clojure.data.xml :refer [parse-str]]
[ribol.core :refe... | true | ;; All jangosmtp api function throws ExceptionInfo whenever there are errors in jangosmtp server. The exception info's data can be accessed by using clojure.core/ex-data
;;
;;
(ns clj-jangosmtp.core
(:require [clj-http.client :as client]
[clojure.data.xml :refer [parse-str]]
[ribol.core :refe... |
[
{
"context": " update-token (e/login (s/context) \"umm-var-user1\" [update-group-id])\n ;; Grant",
"end": 826,
"score": 0.4959416389465332,
"start": 826,
"tag": "PASSWORD",
"value": ""
}
] | system-int-test/test/cmr/system_int_test/ingest/service_ingest_test.clj | mschmele/Common-Metadata-Repository | 0 | (ns cmr.system-int-test.ingest.service-ingest-test
"CMR service ingest integration tests."
(:require
[clojure.test :refer :all]
[cmr.common.util :refer [are3]]
[cmr.mock-echo.client.echo-util :as e]
[cmr.system-int-test.system :as s]
[cmr.system-int-test.utils.ingest-util :as ingest-util]
[cmr.sys... | 32154 | (ns cmr.system-int-test.ingest.service-ingest-test
"CMR service ingest integration tests."
(:require
[clojure.test :refer :all]
[cmr.common.util :refer [are3]]
[cmr.mock-echo.client.echo-util :as e]
[cmr.system-int-test.system :as s]
[cmr.system-int-test.utils.ingest-util :as ingest-util]
[cmr.sys... | true | (ns cmr.system-int-test.ingest.service-ingest-test
"CMR service ingest integration tests."
(:require
[clojure.test :refer :all]
[cmr.common.util :refer [are3]]
[cmr.mock-echo.client.echo-util :as e]
[cmr.system-int-test.system :as s]
[cmr.system-int-test.utils.ingest-util :as ingest-util]
[cmr.sys... |
[
{
"context": ";; Copyright (c) Nicola Mometto, Rich Hickey & contributors.\n;; The use and dis",
"end": 33,
"score": 0.9998537302017212,
"start": 19,
"tag": "NAME",
"value": "Nicola Mometto"
},
{
"context": ";; Copyright (c) Nicola Mometto, Rich Hickey & contributors.\n;; The... | server/target/clojure/tools/analyzer/ast.clj | OctavioBR/healthcheck | 15 | ;; Copyright (c) Nicola Mometto, Rich Hickey & contributors.
;; The use and distribution terms for this software are covered by the
;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
;; which can be found in the file epl-v10.html at the root of this distribution.
;; By using this s... | 114258 | ;; Copyright (c) <NAME>, <NAME> & contributors.
;; The use and distribution terms for this software are covered by the
;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
;; which can be found in the file epl-v10.html at the root of this distribution.
;; By using this software in an... | true | ;; Copyright (c) PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI & contributors.
;; The use and distribution terms for this software are covered by the
;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
;; which can be found in the file epl-v10.html at the root of this distribution.
;; ... |
[
{
"context": "he rules.\n (insert (Customer. \"Tim\" true)\n (Order. 250)) ",
"end": 760,
"score": 0.9987039566040039,
"start": 757,
"tag": "NAME",
"value": "Tim"
}
] | src/main/clojure/clara/examples/java/shopping.clj | defaultUser4/clara-examples | 50 | (ns clara.examples.java.shopping
(:require [clara.rules.accumulators :as acc]
[clara.rules :refer :all])
(:import [clara.examples.java Customer Order Promotion]))
(defrule awesome-promotion-for-vips
"Creates an awesome promotion for VIPs that spend more than $200"
[Customer (= true VIP)]
[Or... | 61583 | (ns clara.examples.java.shopping
(:require [clara.rules.accumulators :as acc]
[clara.rules :refer :all])
(:import [clara.examples.java Customer Order Promotion]))
(defrule awesome-promotion-for-vips
"Creates an awesome promotion for VIPs that spend more than $200"
[Customer (= true VIP)]
[Or... | true | (ns clara.examples.java.shopping
(:require [clara.rules.accumulators :as acc]
[clara.rules :refer :all])
(:import [clara.examples.java Customer Order Promotion]))
(defrule awesome-promotion-for-vips
"Creates an awesome promotion for VIPs that spend more than $200"
[Customer (= true VIP)]
[Or... |
[
{
"context": "s\n :basic-auth {:user \"61a2666419b8361ae639d5f9\"\n :pass \"",
"end": 5985,
"score": 0.9075126647949219,
"start": 5961,
"tag": "KEY",
"value": "61a2666419b8361ae639d5f9"
},
{
"context": "\"\n ... | components/production-api/src/de/virtual_earth/superdesk_graphql/production_api/core.clj | virtual-earth-de/superdesk-graphql | 0 | ;; Copyright [2021] [virtual earth Gesellschaft für Wissens re/prä sentation mbH]
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;; http://www.apache.org/licenses/LICENSE-2.0
;; Unless r... | 58120 | ;; Copyright [2021] [virtual earth Gesellschaft für Wissens re/prä sentation mbH]
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;; http://www.apache.org/licenses/LICENSE-2.0
;; Unless r... | true | ;; Copyright [2021] [virtual earth Gesellschaft für Wissens re/prä sentation mbH]
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;; http://www.apache.org/licenses/LICENSE-2.0
;; Unless r... |
[
{
"context": "(comment\n Formation, Copyright 2012 Ronen Narkis, narkisr.com\n Licensed under the Apache License,",
"end": 49,
"score": 0.999880313873291,
"start": 37,
"tag": "NAME",
"value": "Ronen Narkis"
},
{
"context": "omment\n Formation, Copyright 2012 Ronen Narkis, narkisr.... | src/formation/core.clj | narkisr/formation | 2 | (comment
Formation, 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 ... | 105312 | (comment
Formation, 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
Formation, 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 b... |
[
{
"context": " {:authorize-url \"https://github.com/login/oauth/authorize\"\n :access-token-url ",
"end": 1990,
"score": 0.9332331418991089,
"start": 1985,
"tag": "USERNAME",
"value": "login"
},
{
"context": " :access-token-url \"https://github.co... | resources/leiningen/new/cyrus/src/_namespace_/authenticator.clj | dryewo/cyrus | 9 | (ns {{namespace}}.authenticator
(:require [mount.lite :as m]
[dovetail.core :as log]
[cyrus-config.core :as cfg]{{#swagger1st-oauth2}}
[fahrscheine-bitte.core :as oauth2]{{/swagger1st-oauth2}}{{#ui-oauth2}}
[cyrus-ui-oauth2.core :as ui-oauth2]{{/ui-oauth2}}))
(cfg/def... | 61343 | (ns {{namespace}}.authenticator
(:require [mount.lite :as m]
[dovetail.core :as log]
[cyrus-config.core :as cfg]{{#swagger1st-oauth2}}
[fahrscheine-bitte.core :as oauth2]{{/swagger1st-oauth2}}{{#ui-oauth2}}
[cyrus-ui-oauth2.core :as ui-oauth2]{{/ui-oauth2}}))
(cfg/def... | true | (ns {{namespace}}.authenticator
(:require [mount.lite :as m]
[dovetail.core :as log]
[cyrus-config.core :as cfg]{{#swagger1st-oauth2}}
[fahrscheine-bitte.core :as oauth2]{{/swagger1st-oauth2}}{{#ui-oauth2}}
[cyrus-ui-oauth2.core :as ui-oauth2]{{/ui-oauth2}}))
(cfg/def... |
[
{
"context": "\"name\": \"new-name\"}\n ;; /update | [{\"name\": \"new-name\", \"id\": 5} {\"name\": \"other\", \"id\": 6}]\n (",
"end": 8643,
"score": 0.6419525742530823,
"start": 8640,
"tag": "NAME",
"value": "new"
},
{
"context": "cause they should just be the id field... ... | src/com/rjmetrics/sweet_liberty/handlers.clj | RJMetrics/sweet-liberty | 114 | (ns com.rjmetrics.sweet-liberty.handlers
(:require [clojure.walk :refer [keywordize-keys]]
[clojure.data.json :as json]
[clojure.tools.logging :as log]
[com.rjmetrics.sweet-liberty.util :as util]
[com.rjmetrics.sweet-liberty.expansion :as expansion]
[com.rjm... | 103503 | (ns com.rjmetrics.sweet-liberty.handlers
(:require [clojure.walk :refer [keywordize-keys]]
[clojure.data.json :as json]
[clojure.tools.logging :as log]
[com.rjmetrics.sweet-liberty.util :as util]
[com.rjmetrics.sweet-liberty.expansion :as expansion]
[com.rjm... | true | (ns com.rjmetrics.sweet-liberty.handlers
(:require [clojure.walk :refer [keywordize-keys]]
[clojure.data.json :as json]
[clojure.tools.logging :as log]
[com.rjmetrics.sweet-liberty.util :as util]
[com.rjmetrics.sweet-liberty.expansion :as expansion]
[com.rjm... |
[
{
"context": "nput#login-password.ui-inited\n {:placeholder \"Password\"\n :name \"password\"\n :type ",
"end": 588,
"score": 0.9623198509216309,
"start": 580,
"tag": "PASSWORD",
"value": "Password"
}
] | src/clj/clojurecademy/view/login.clj | harunpehlivan/clojurecademy | 651 | (ns clojurecademy.view.login
(:require [hiccup.page :refer [include-js include-css html5]]
[hiccup.core :as hiccup]
[clojurecademy.view.common :as view.common]))
(defn username-or-email-field
[]
[:div.form-field
[:div.field.field--text
[:input#login-username-or-email.ui-inited
... | 102046 | (ns clojurecademy.view.login
(:require [hiccup.page :refer [include-js include-css html5]]
[hiccup.core :as hiccup]
[clojurecademy.view.common :as view.common]))
(defn username-or-email-field
[]
[:div.form-field
[:div.field.field--text
[:input#login-username-or-email.ui-inited
... | true | (ns clojurecademy.view.login
(:require [hiccup.page :refer [include-js include-css html5]]
[hiccup.core :as hiccup]
[clojurecademy.view.common :as view.common]))
(defn username-or-email-field
[]
[:div.form-field
[:div.field.field--text
[:input#login-username-or-email.ui-inited
... |
[
{
"context": "parser {}))\n\n(def sample-item\n {:id 42\n :name \"Some Product\"\n :description \"This should be a cool product.\"",
"end": 175,
"score": 0.9135626554489136,
"start": 163,
"tag": "NAME",
"value": "Some Product"
},
{
"context": "d time: 3013.386195 msecs\"\n ; =>... | src-docs/com/wsscode/pathom/book/entities/atom_entities.cljc | agilecreativity/pathom | 0 | (ns com.wsscode.pathom.book.entities.atom-entities
(:require [com.wsscode.pathom.core :as p]))
(def parser (p/parser {}))
(def sample-item
{:id 42
:name "Some Product"
:description "This should be a cool product."})
(defn item-reader [{:keys [ast] :as env}]
#?(:clj (Thread/sleep 1000))
(-> (p/swap-enti... | 116615 | (ns com.wsscode.pathom.book.entities.atom-entities
(:require [com.wsscode.pathom.core :as p]))
(def parser (p/parser {}))
(def sample-item
{:id 42
:name "<NAME>"
:description "This should be a cool product."})
(defn item-reader [{:keys [ast] :as env}]
#?(:clj (Thread/sleep 1000))
(-> (p/swap-entity! en... | true | (ns com.wsscode.pathom.book.entities.atom-entities
(:require [com.wsscode.pathom.core :as p]))
(def parser (p/parser {}))
(def sample-item
{:id 42
:name "PI:NAME:<NAME>END_PI"
:description "This should be a cool product."})
(defn item-reader [{:keys [ast] :as env}]
#?(:clj (Thread/sleep 1000))
(-> (p/s... |
[
{
"context": "st/client_cert.edn\"))))\n(def client-key (gen-key 65537 (read-string (slurp \"test/client_key.edn\"))))\n",
"end": 1556,
"score": 0.5683966875076294,
"start": 1555,
"tag": "KEY",
"value": "5"
}
] | test/aleph/ssl.clj | arnaudgeiser/aleph | 43 | (ns aleph.ssl
(:require [aleph.netty :as netty])
(:import [io.netty.handler.ssl SslContextBuilder ClientAuth]
[java.io ByteArrayInputStream]
[java.security KeyFactory PrivateKey]
[java.security.cert CertificateFactory X509Certificate]
[java.security.spec RSAPrivateCrtKeyS... | 46222 | (ns aleph.ssl
(:require [aleph.netty :as netty])
(:import [io.netty.handler.ssl SslContextBuilder ClientAuth]
[java.io ByteArrayInputStream]
[java.security KeyFactory PrivateKey]
[java.security.cert CertificateFactory X509Certificate]
[java.security.spec RSAPrivateCrtKeyS... | true | (ns aleph.ssl
(:require [aleph.netty :as netty])
(:import [io.netty.handler.ssl SslContextBuilder ClientAuth]
[java.io ByteArrayInputStream]
[java.security KeyFactory PrivateKey]
[java.security.cert CertificateFactory X509Certificate]
[java.security.spec RSAPrivateCrtKeyS... |
[
{
"context": "oc \"L-BFGS optimization for Clojure\"\n :author \"Antoine Choppin\"}\n bozo.core\n (:import [riso.numerical LBFGS])",
"end": 75,
"score": 0.9998669624328613,
"start": 60,
"tag": "NAME",
"value": "Antoine Choppin"
}
] | src/clojure/bozo/core.clj | japonophile/bozo | 3 | (ns
^{:doc "L-BFGS optimization for Clojure"
:author "Antoine Choppin"}
bozo.core
(:import [riso.numerical LBFGS]))
(def ^:private default-params
{:maxit 200
:m 5
:eps 1.0e-5
:xtol 1.0e-16
:iprint [-1 0]})
(defn lbfgs
"
Finds a minimum of the function f, using the L-BFGS algori... | 24232 | (ns
^{:doc "L-BFGS optimization for Clojure"
:author "<NAME>"}
bozo.core
(:import [riso.numerical LBFGS]))
(def ^:private default-params
{:maxit 200
:m 5
:eps 1.0e-5
:xtol 1.0e-16
:iprint [-1 0]})
(defn lbfgs
"
Finds a minimum of the function f, using the L-BFGS algorithm
sta... | true | (ns
^{:doc "L-BFGS optimization for Clojure"
:author "PI:NAME:<NAME>END_PI"}
bozo.core
(:import [riso.numerical LBFGS]))
(def ^:private default-params
{:maxit 200
:m 5
:eps 1.0e-5
:xtol 1.0e-16
:iprint [-1 0]})
(defn lbfgs
"
Finds a minimum of the function f, using the L-BFGS a... |
[
{
"context": "ndler/site {:session {:store (cookie-store {:key \"TOP SECRET\"})}})\n (permacookie \"ring-session\")\n ",
"end": 1389,
"score": 0.5810694694519043,
"start": 1383,
"tag": "KEY",
"value": "TOP SE"
},
{
"context": " [\"-i\" \"--ip\" \"IP to listen\" :de... | src/warmagnet/main.clj | wunderwaffle/warmagnet | 9 | (ns warmagnet.main
(:gen-class)
(:require [clojure.tools.cli :refer [cli]]
[org.httpkit.server :as hk]
[ring.middleware.reload :as reload]
[ring.middleware.session.cookie :refer [cookie-store]]
[ring.util.response :refer [r... | 28472 | (ns warmagnet.main
(:gen-class)
(:require [clojure.tools.cli :refer [cli]]
[org.httpkit.server :as hk]
[ring.middleware.reload :as reload]
[ring.middleware.session.cookie :refer [cookie-store]]
[ring.util.response :refer [r... | true | (ns warmagnet.main
(:gen-class)
(:require [clojure.tools.cli :refer [cli]]
[org.httpkit.server :as hk]
[ring.middleware.reload :as reload]
[ring.middleware.session.cookie :refer [cookie-store]]
[ring.util.response :refer [r... |
[
{
"context": "\n :labels {:user \"test-user\"}\n :mem 1536}]}]\n",
"end": 1605,
"score": 0.9995334148406982,
"start": 1596,
"tag": "USERNAME",
"value": "test-user"
},
{
"context": "l \"http://cook.localtest.me\"\n ... | waiter/test/waiter/scheduler/cook_test.clj | twosigmajab/waiter | 0 | ;;
;; Copyright (c) Two Sigma Open Source, LLC
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or... | 24545 | ;;
;; Copyright (c) Two Sigma Open Source, LLC
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or... | true | ;;
;; Copyright (c) Two Sigma Open Source, LLC
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or... |
[
{
"context": " \"Base schema for a REDCap API request\"\n {:token HashCode128})\n\n(def ExportRecordsRequestParams\n (merge APIRe",
"end": 539,
"score": 0.9949520230293274,
"start": 528,
"tag": "PASSWORD",
"value": "HashCode128"
}
] | data/test/clojure/aa178f629eb9e5c7d9c0fa573edaee31a5745046core.clj | harshp8l/deep-learning-lang-detection | 84 | (ns bordeaux.core
(:require [schema.core :as s]
[org.httpkit.client :as http]))
(def HashCode128
(s/both s/Str (s/pred #(= (count %) 32) 'length-of-32)))
(def URL
(letfn [(valid-url? [s]
(try
(do
(java.net.URL. s)
true)
... | 8559 | (ns bordeaux.core
(:require [schema.core :as s]
[org.httpkit.client :as http]))
(def HashCode128
(s/both s/Str (s/pred #(= (count %) 32) 'length-of-32)))
(def URL
(letfn [(valid-url? [s]
(try
(do
(java.net.URL. s)
true)
... | true | (ns bordeaux.core
(:require [schema.core :as s]
[org.httpkit.client :as http]))
(def HashCode128
(s/both s/Str (s/pred #(= (count %) 32) 'length-of-32)))
(def URL
(letfn [(valid-url? [s]
(try
(do
(java.net.URL. s)
true)
... |
[
{
"context": ")\n;;=> {:crux.db/id :manifest,\n;; :pilot-name \"Johanna\",\n;; :id/rocket \"SB002-sol\",\n;; :id/employe",
"end": 2768,
"score": 0.9991089701652527,
"start": 2761,
"tag": "NAME",
"value": "Johanna"
}
] | tutorials.crux/src/tutorials/crux/pluto.clj | johantonelli/tutorials | 1 | (ns tutorials.crux.pluto
(:require [crux.api :as crux]
[tutorials.crux.earth :refer [manifest]]))
;; Start node
(def node (crux/start-node {}))
;; tag::submit[]
(crux/submit-tx
node
[[:crux.tx/put
{:crux.db/id :commodity/Pu
:common-name "Plutonium"
:type :element/metal
:density 19.816
... | 108623 | (ns tutorials.crux.pluto
(:require [crux.api :as crux]
[tutorials.crux.earth :refer [manifest]]))
;; Start node
(def node (crux/start-node {}))
;; tag::submit[]
(crux/submit-tx
node
[[:crux.tx/put
{:crux.db/id :commodity/Pu
:common-name "Plutonium"
:type :element/metal
:density 19.816
... | true | (ns tutorials.crux.pluto
(:require [crux.api :as crux]
[tutorials.crux.earth :refer [manifest]]))
;; Start node
(def node (crux/start-node {}))
;; tag::submit[]
(crux/submit-tx
node
[[:crux.tx/put
{:crux.db/id :commodity/Pu
:common-name "Plutonium"
:type :element/metal
:density 19.816
... |
[
{
"context": " [1 2 3 4]))\n 4)))\n\n; TODO(Richo): The functions in this namespace rely on the pro",
"end": 460,
"score": 0.9945526123046875,
"start": 455,
"tag": "NAME",
"value": "Richo"
},
{
"context": "ram global]\n (if (contains? global :name) ; TODO(Rich... | middleware/server/src/middleware/compiler/utils/program.clj | kristiank/PhysicalBits | 0 | (ns middleware.compiler.utils.program
(:require [middleware.compiler.emitter :as emit]))
(defn value-size
"Return the number of bytes necessary to encode this value.
If the value is negative or float then the size is 4 bytes. Also, the
max number of bytes is 4."
[value]
(if (or (float? value) (neg? valu... | 79840 | (ns middleware.compiler.utils.program
(:require [middleware.compiler.emitter :as emit]))
(defn value-size
"Return the number of bytes necessary to encode this value.
If the value is negative or float then the size is 4 bytes. Also, the
max number of bytes is 4."
[value]
(if (or (float? value) (neg? valu... | true | (ns middleware.compiler.utils.program
(:require [middleware.compiler.emitter :as emit]))
(defn value-size
"Return the number of bytes necessary to encode this value.
If the value is negative or float then the size is 4 bytes. Also, the
max number of bytes is 4."
[value]
(if (or (float? value) (neg? valu... |
[
{
"context": "(ns effectivejava.find ^{:author \"Federico Tomassetti\"\n :doc \"This namespace contains methods t",
"end": 53,
"score": 0.9998680949211121,
"start": 34,
"tag": "NAME",
"value": "Federico Tomassetti"
}
] | src/effectivejava/find.clj | davidor/effectivejava | 555 | (ns effectivejava.find ^{:author "Federico Tomassetti"
:doc "This namespace contains methods to find elements in a collection of compilation units"}
(:use [effectivejava.model.protocols])
(:use [effectivejava.model.javaparser])
(:use [effectivejava.javaparser.navigation])
(:use [effectivejava.operation... | 69284 | (ns effectivejava.find ^{:author "<NAME>"
:doc "This namespace contains methods to find elements in a collection of compilation units"}
(:use [effectivejava.model.protocols])
(:use [effectivejava.model.javaparser])
(:use [effectivejava.javaparser.navigation])
(:use [effectivejava.operations])
(:use [... | true | (ns effectivejava.find ^{:author "PI:NAME:<NAME>END_PI"
:doc "This namespace contains methods to find elements in a collection of compilation units"}
(:use [effectivejava.model.protocols])
(:use [effectivejava.model.javaparser])
(:use [effectivejava.javaparser.navigation])
(:use [effectivejava.operatio... |
[
{
"context": "3557252d7807\")\n(def ^:private fake-hashed-password \"$2a$10$owKjTym0ZGEEZOpxM0UyjekSvt66y1VvmOJddkAaMB37e0VAIVOX2\")\n\n(s/defn ^:private ldap-login :- (s/maybe {:id ",
"end": 4354,
"score": 0.9994180202484131,
"start": 4293,
"tag": "PASSWORD",
"value": "\"$2a$10$owKjTym0ZGEE... | c#-metabase/src/metabase/api/session.clj | hanakhry/Crime_Admin | 0 | (ns metabase.api.session
"/api/session endpoints"
(:require [cemerick.friend.credentials :as creds]
[clojure.tools.logging :as log]
[compojure.core :refer [DELETE GET POST]]
[metabase.api.common :as api]
[metabase.config :as config]
[metabase.email.message... | 119831 | (ns metabase.api.session
"/api/session endpoints"
(:require [cemerick.friend.credentials :as creds]
[clojure.tools.logging :as log]
[compojure.core :refer [DELETE GET POST]]
[metabase.api.common :as api]
[metabase.config :as config]
[metabase.email.message... | true | (ns metabase.api.session
"/api/session endpoints"
(:require [cemerick.friend.credentials :as creds]
[clojure.tools.logging :as log]
[compojure.core :refer [DELETE GET POST]]
[metabase.api.common :as api]
[metabase.config :as config]
[metabase.email.message... |
[
{
"context": "\n\n; https://graph.facebook.com/v2.7/?access_token=656701554388983|fqJuiXLWOJR6kIvzpijiJgZlUxU&ids=https://example.com1,https://example.com2,htt",
"end": 601,
"score": 0.9735721349716187,
"start": 558,
"tag": "KEY",
"value": "656701554388983|fqJuiXLWOJR6kIvzpijiJgZlUxU"
}
] | src/event_data_facebook_agent/core.clj | CrossRef/event-data-facebook-agent | 0 | (ns event-data-facebook-agent.core
(:require [clojure.tools.logging :as l]
[clojure.java.io :refer [reader writer]]
[clojure.set :refer [map-invert]]
[clojure.data.json :as json])
(:require [org.httpkit.client :as http]
[clj-time.format :as f]
[clj-time.co... | 17512 | (ns event-data-facebook-agent.core
(:require [clojure.tools.logging :as l]
[clojure.java.io :refer [reader writer]]
[clojure.set :refer [map-invert]]
[clojure.data.json :as json])
(:require [org.httpkit.client :as http]
[clj-time.format :as f]
[clj-time.co... | true | (ns event-data-facebook-agent.core
(:require [clojure.tools.logging :as l]
[clojure.java.io :refer [reader writer]]
[clojure.set :refer [map-invert]]
[clojure.data.json :as json])
(:require [org.httpkit.client :as http]
[clj-time.format :as f]
[clj-time.co... |
[
{
"context": "y number scaling and rounding fns\"\n :author \"Sam Aaron\"}\n overtone.algo.scaling)\n\n(defn closest-to\n \"R",
"end": 79,
"score": 0.9998869895935059,
"start": 70,
"tag": "NAME",
"value": "Sam Aaron"
}
] | src/overtone/algo/scaling.clj | ABaldwinHunter/overtone | 3,870 | (ns
^{:doc "Handy number scaling and rounding fns"
:author "Sam Aaron"}
overtone.algo.scaling)
(defn closest-to
"Returns either low or hi depending on which is numerically closer
to n.
(closest-to 4.7 4 6) ;=> 4 (4.7 is closer to 4 than 6"
[n low hi]
(let [low-diff (- n low)
hi-diff (-... | 43699 | (ns
^{:doc "Handy number scaling and rounding fns"
:author "<NAME>"}
overtone.algo.scaling)
(defn closest-to
"Returns either low or hi depending on which is numerically closer
to n.
(closest-to 4.7 4 6) ;=> 4 (4.7 is closer to 4 than 6"
[n low hi]
(let [low-diff (- n low)
hi-diff (- hi... | true | (ns
^{:doc "Handy number scaling and rounding fns"
:author "PI:NAME:<NAME>END_PI"}
overtone.algo.scaling)
(defn closest-to
"Returns either low or hi depending on which is numerically closer
to n.
(closest-to 4.7 4 6) ;=> 4 (4.7 is closer to 4 than 6"
[n low hi]
(let [low-diff (- n low)
h... |
[
{
"context": "reating functions and calling them.\"\n\n {:author \"Adam Helinski\"}\n\n (:require [clojure.test.check.properties :as",
"end": 101,
"score": 0.9987894892692566,
"start": 88,
"tag": "NAME",
"value": "Adam Helinski"
}
] | project/break/src/clj/test/convex/test/break/fn.clj | rosejn/convex.cljc | 30 | (ns convex.test.break.fn
"Testing creating functions and calling them."
{:author "Adam Helinski"}
(:require [clojure.test.check.properties :as TC.prop]
[convex.break]
[convex.clj.eval :as $.clj.eval]
[convex.clj :as $.clj]
[convex... | 124756 | (ns convex.test.break.fn
"Testing creating functions and calling them."
{:author "<NAME>"}
(:require [clojure.test.check.properties :as TC.prop]
[convex.break]
[convex.clj.eval :as $.clj.eval]
[convex.clj :as $.clj]
[convex.clj.ge... | true | (ns convex.test.break.fn
"Testing creating functions and calling them."
{:author "PI:NAME:<NAME>END_PI"}
(:require [clojure.test.check.properties :as TC.prop]
[convex.break]
[convex.clj.eval :as $.clj.eval]
[convex.clj :as $.clj]
... |
[
{
"context": ";; Copyright 2014-2020 King\n;; Copyright 2009-2014 Ragnar Svensson, Christian Murray\n;; Licensed under the Defold Li",
"end": 111,
"score": 0.9998136162757874,
"start": 96,
"tag": "NAME",
"value": "Ragnar Svensson"
},
{
"context": "-2020 King\n;; Copyright 2009-2014 R... | editor/src/clj/editor/gviz.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... | 72319 | ;; Copyright 2020-2022 The Defold Foundation
;; Copyright 2014-2020 King
;; Copyright 2009-2014 <NAME>, <NAME>
;; Licensed under the Defold License version 1.0 (the "License"); you may not use
;; this file except in compliance with the License.
;;
;; You may obtain a copy of the License, together with FAQs at
;; https... | true | ;; Copyright 2020-2022 The Defold Foundation
;; Copyright 2014-2020 King
;; Copyright 2009-2014 PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI
;; Licensed under the Defold License version 1.0 (the "License"); you may not use
;; this file except in compliance with the License.
;;
;; You may obtain a copy of the License, to... |
[
{
"context": ";; Copyright 2013-2016 Andrey Antukh <niwi@niwi.nz>\n;;\n;; Licensed under the Apache Li",
"end": 36,
"score": 0.999882698059082,
"start": 23,
"tag": "NAME",
"value": "Andrey Antukh"
},
{
"context": ";; Copyright 2013-2016 Andrey Antukh <niwi@niwi.nz>\n;;\n;; Licensed u... | src/buddy/auth/backends/token.clj | eipplusone/buddy-auth | 292 | ;; Copyright 2013-2016 Andrey Antukh <niwi@niwi.nz>
;;
;; Licensed under the Apache License, Version 2.0 (the "License")
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable... | 46217 | ;; Copyright 2013-2016 <NAME> <<EMAIL>>
;;
;; Licensed under the Apache License, Version 2.0 (the "License")
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agre... | true | ;; Copyright 2013-2016 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
;;
;; Licensed under the Apache License, Version 2.0 (the "License")
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless requi... |
[
{
"context": "MQ$Poller]))\n\n;;\n;; Simple request-reply broker\n;; Isaiah Peng <issaria@gmail.com>\n;;\n\n(defn -main []\n (let [ct",
"end": 165,
"score": 0.9998581409454346,
"start": 154,
"tag": "NAME",
"value": "Isaiah Peng"
},
{
"context": ";;\n;; Simple request-reply broker\n;... | docs/zeroMQ-guide2/examples/Clojure/rrbroker.clj | krattai/noo-ebs | 2 | (ns rrbroker
(:refer-clojure :exclude [send])
(:require [zhelpers :as mq])
(:import [org.zeromq ZMQ$Poller]))
;;
;; Simple request-reply broker
;; Isaiah Peng <issaria@gmail.com>
;;
(defn -main []
(let [ctx (mq/context 1)
frontend (mq/socket ctx mq/router)
backend (mq/socket ctx mq/dealer)
... | 111621 | (ns rrbroker
(:refer-clojure :exclude [send])
(:require [zhelpers :as mq])
(:import [org.zeromq ZMQ$Poller]))
;;
;; Simple request-reply broker
;; <NAME> <<EMAIL>>
;;
(defn -main []
(let [ctx (mq/context 1)
frontend (mq/socket ctx mq/router)
backend (mq/socket ctx mq/dealer)
items (.po... | true | (ns rrbroker
(:refer-clojure :exclude [send])
(:require [zhelpers :as mq])
(:import [org.zeromq ZMQ$Poller]))
;;
;; Simple request-reply broker
;; PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
;;
(defn -main []
(let [ctx (mq/context 1)
frontend (mq/socket ctx mq/router)
backend (mq/socket ctx ... |
[
{
"context": "tgresql://localhost:60600/test?user=test&password=test\")\n(def last-query-result (atom nil))\n\n(defn displ",
"end": 299,
"score": 0.9986065030097961,
"start": 295,
"tag": "PASSWORD",
"value": "test"
}
] | src/clj/sql/executor.clj | jussijartamo/sql | 0 | (ns sql.executor
(:require [clojure.core.match :refer [match]]
[clojure.pprint :as pp]
[sql.schema :refer [metadata->schema]])
(:import ;(org.postgresql.util PGobject)
(java.sql DriverManager)))
(def url "jdbc:postgresql://localhost:60600/test?user=test&password=test")
(def last-query-re... | 68104 | (ns sql.executor
(:require [clojure.core.match :refer [match]]
[clojure.pprint :as pp]
[sql.schema :refer [metadata->schema]])
(:import ;(org.postgresql.util PGobject)
(java.sql DriverManager)))
(def url "jdbc:postgresql://localhost:60600/test?user=test&password=<PASSWORD>")
(def last-qu... | true | (ns sql.executor
(:require [clojure.core.match :refer [match]]
[clojure.pprint :as pp]
[sql.schema :refer [metadata->schema]])
(:import ;(org.postgresql.util PGobject)
(java.sql DriverManager)))
(def url "jdbc:postgresql://localhost:60600/test?user=test&password=PI:PASSWORD:<PASSWORD>END... |
[
{
"context": "frame.core :as rf]))\n\n(def data [{:db/id 1 :name \"Petr\" :aka [\"Devil\"]}])\n(defonce db (atom (dx/create-d",
"end": 144,
"score": 0.9935077428817749,
"start": 140,
"tag": "NAME",
"value": "Petr"
},
{
"context": "s rf]))\n\n(def data [{:db/id 1 :name \"Petr\" :aka [... | src/rf_doxa/doxa_gist_2.cljs | ribelo/rf-doxa-etude | 0 | (ns rf-doxa.doxa-gist-2
"Adapted from"
(:require [ribelo.doxa :as dx]
[re-frame.core :as rf]))
(def data [{:db/id 1 :name "Petr" :aka ["Devil"]}])
(defonce db (atom (dx/create-dx data)))
(dx/commit! db [[:dx/put {:db/id 2 :name "David2" :aka ["Devil"]}]])
(dx/commit! db [[:dx/put {:db/id 3 :name "David... | 55768 | (ns rf-doxa.doxa-gist-2
"Adapted from"
(:require [ribelo.doxa :as dx]
[re-frame.core :as rf]))
(def data [{:db/id 1 :name "<NAME>" :aka ["<NAME>"]}])
(defonce db (atom (dx/create-dx data)))
(dx/commit! db [[:dx/put {:db/id 2 :name "<NAME>2" :aka ["<NAME>"]}]])
(dx/commit! db [[:dx/put {:db/id 3 :name "... | true | (ns rf-doxa.doxa-gist-2
"Adapted from"
(:require [ribelo.doxa :as dx]
[re-frame.core :as rf]))
(def data [{:db/id 1 :name "PI:NAME:<NAME>END_PI" :aka ["PI:NAME:<NAME>END_PI"]}])
(defonce db (atom (dx/create-dx data)))
(dx/commit! db [[:dx/put {:db/id 2 :name "PI:NAME:<NAME>END_PI2" :aka ["PI:NAME:<NAME... |
[
{
"context": "ISC License\"\n :url \"https://github.com/johanthoren/redbubble-helper\"\n :year 2020\n ",
"end": 138,
"score": 0.9975140690803528,
"start": 127,
"tag": "USERNAME",
"value": "johanthoren"
},
{
"context": " images suitable for Redbubble.\"\n ... | project.clj | johanthoren/redbubble-helper | 2 | (defproject rbh "0.1.1"
:description "Redbubble Helper"
:license {:name "ISC License"
:url "https://github.com/johanthoren/redbubble-helper"
:year 2020
:key "isc"}
:dependencies [[org.clojure/clojure "1.10.1"]
[org.clojure/tools.cli "0.4.2"]
[o... | 103443 | (defproject rbh "0.1.1"
:description "Redbubble Helper"
:license {:name "ISC License"
:url "https://github.com/johanthoren/redbubble-helper"
:year 2020
:key "isc"}
:dependencies [[org.clojure/clojure "1.10.1"]
[org.clojure/tools.cli "0.4.2"]
[o... | true | (defproject rbh "0.1.1"
:description "Redbubble Helper"
:license {:name "ISC License"
:url "https://github.com/johanthoren/redbubble-helper"
:year 2020
:key "isc"}
:dependencies [[org.clojure/clojure "1.10.1"]
[org.clojure/tools.cli "0.4.2"]
[o... |
[
{
"context": "unindexed_csv.csv\")))\n\n(deftest federer\n (is (= \"Roger Federer\"\n (:winner_name (first (ex/federer-wins d",
"end": 422,
"score": 0.9998791813850403,
"start": 409,
"tag": "NAME",
"value": "Roger Federer"
}
] | Chapter04/tests/packt-clj.chapter-4-tests/test/packt_clj/chapter_4_tests/exercise_4_13_test.clj | transducer/The-Clojure-Workshop | 55 | (ns packt-clj.exercise-4-13-test
(:require
[clojure.test :as t :refer [deftest is testing]]
[clojure.data.csv :as csv]
[clojure.java.io :as io]
[semantic-csv.core :as sc]
[packt-clj.chapter-4-tests.exercise-4-13 :as ex]))
;;; For convenience, we reference the csv file as a resource.
(def data (io/fil... | 39937 | (ns packt-clj.exercise-4-13-test
(:require
[clojure.test :as t :refer [deftest is testing]]
[clojure.data.csv :as csv]
[clojure.java.io :as io]
[semantic-csv.core :as sc]
[packt-clj.chapter-4-tests.exercise-4-13 :as ex]))
;;; For convenience, we reference the csv file as a resource.
(def data (io/fil... | true | (ns packt-clj.exercise-4-13-test
(:require
[clojure.test :as t :refer [deftest is testing]]
[clojure.data.csv :as csv]
[clojure.java.io :as io]
[semantic-csv.core :as sc]
[packt-clj.chapter-4-tests.exercise-4-13 :as ex]))
;;; For convenience, we reference the csv file as a resource.
(def data (io/fil... |
[
{
"context": ";;; Copyright 2012 Hubert Iwaniuk\n\n;;; Licensed under the Apache License, Version 2",
"end": 33,
"score": 0.9998844265937805,
"start": 19,
"tag": "NAME",
"value": "Hubert Iwaniuk"
},
{
"context": "TTP Client - Clojure - Multipart API\"\n {:author \"Hubert Iwaniuk\"}\... | src/clj/http/async/client/part.clj | gelatikmannah/cch1 | 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 w... | 67893 | ;;; 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, ... | 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 t... |
[
{
"context": ";; halfstep.clj\n;; (c) 2017 by Milan Gruner\n;; Half-step dubstep rhythm\n;; Original idea by D",
"end": 43,
"score": 0.9998540878295898,
"start": 31,
"tag": "NAME",
"value": "Milan Gruner"
},
{
"context": "er\n;; Half-step dubstep rhythm\n;; Original idea by Darkraqqe... | overtone/src/algorithmuss/halfstep.clj | lemilonkh/algorithmuss | 13 | ;; halfstep.clj
;; (c) 2017 by Milan Gruner
;; Half-step dubstep rhythm
;; Original idea by Darkraqqen
(ns algorithmuss.halfstep
(:require
[overtone.live :refer :all]
[leipzig.live :as live]
[leipzig.melody :refer :all]
[overtone.inst.drum :as drums]))
; Load drum kit
(def kit {
:kick drums/kick2
... | 62171 | ;; halfstep.clj
;; (c) 2017 by <NAME>
;; Half-step dubstep rhythm
;; Original idea by Darkraqqen
(ns algorithmuss.halfstep
(:require
[overtone.live :refer :all]
[leipzig.live :as live]
[leipzig.melody :refer :all]
[overtone.inst.drum :as drums]))
; Load drum kit
(def kit {
:kick drums/kick2
:sna... | true | ;; halfstep.clj
;; (c) 2017 by PI:NAME:<NAME>END_PI
;; Half-step dubstep rhythm
;; Original idea by Darkraqqen
(ns algorithmuss.halfstep
(:require
[overtone.live :refer :all]
[leipzig.live :as live]
[leipzig.melody :refer :all]
[overtone.inst.drum :as drums]))
; Load drum kit
(def kit {
:kick drum... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.