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": ";; Copyright 2014-2020 King\n;; Copyright 2009-2014 Ragnar Svensson, Christian Murray\n;; Licensed under the Defold Li",
"end": 111,
"score": 0.9998077750205994,
"start": 96,
"tag": "NAME",
"value": "Ragnar Svensson"
},
{
"context": "-2020 King\n;; Copyright 2009-2014 R... | editor/test/editor/fs_test.clj | cmarincia/defold | 0 | ;; Copyright 2020-2022 The Defold Foundation
;; Copyright 2014-2020 King
;; Copyright 2009-2014 Ragnar Svensson, Christian Murray
;; Licensed under the Defold License version 1.0 (the "License"); you may not use
;; this file except in compliance with the License.
;;
;; You may obtain a copy of the License, together wi... | 35679 | ;; 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": "/init-placeholder-data!)\n (user/create! \"user1\" \"password1\")\n (let [token (invoke-login {:username \"user1\" ",
"end": 759,
"score": 0.7882088422775269,
"start": 750,
"tag": "PASSWORD",
"value": "password1"
},
{
"context": "ssword1\")\n (let [token (invoke-logi... | test/clj/memento/test/routes/api/reminder.clj | ricardojmendez/memento | 2 | (ns memento.test.routes.api.reminder
(:require [clojure.test :refer :all]
[clj-time.coerce :as c]
[clj-time.core :as t]
[memento.handler :refer [app]]
[memento.db.user :as user]
[memento.test.db.user :as tdu]
[memento.test.db.core :as tdb]
... | 8684 | (ns memento.test.routes.api.reminder
(:require [clojure.test :refer :all]
[clj-time.coerce :as c]
[clj-time.core :as t]
[memento.handler :refer [app]]
[memento.db.user :as user]
[memento.test.db.user :as tdu]
[memento.test.db.core :as tdb]
... | true | (ns memento.test.routes.api.reminder
(:require [clojure.test :refer :all]
[clj-time.coerce :as c]
[clj-time.core :as t]
[memento.handler :refer [app]]
[memento.db.user :as user]
[memento.test.db.user :as tdu]
[memento.test.db.core :as tdb]
... |
[
{
"context": "; Copyright (c) Rich Hickey. All rights reserved.\n; The use and distributio",
"end": 29,
"score": 0.9998160004615784,
"start": 18,
"tag": "NAME",
"value": "Rich Hickey"
}
] | ext/clojure-clojurescript-bef56a7/src/clj/cljs/closure.clj | yokolet/clementine | 35 | ; 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 ... | 110415 | ; Copyright (c) <NAME>. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
; which can be found in the file epl-v10.html at the root of this distribution.
; By using this software in any fashi... | true | ; Copyright (c) PI:NAME:<NAME>END_PI. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
; which can be found in the file epl-v10.html at the root of this distribution.
; By using this softwar... |
[
{
"context": "alisation of formulae\n\n; Copyright (c) 2016 - 2017 Burkhardt Renz, Juan Markowich THM. \n; All rights reserved.\n; Th",
"end": 94,
"score": 0.9998602271080017,
"start": 80,
"tag": "NAME",
"value": "Burkhardt Renz"
},
{
"context": "mulae\n\n; Copyright (c) 2016 - 2017 ... | src/lwb/vis.clj | esb-lwb/lwb | 22 | ; lwb Logic WorkBench -- Visualisation of formulae
; Copyright (c) 2016 - 2017 Burkhardt Renz, Juan Markowich 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... | 5907 | ; lwb Logic WorkBench -- Visualisation of formulae
; Copyright (c) 2016 - 2017 <NAME>, <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 ar... | true | ; lwb Logic WorkBench -- Visualisation of formulae
; Copyright (c) 2016 - 2017 PI:NAME:<NAME>END_PI, 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 sof... |
[
{
"context": "code\n [ctx]\n (let [username (-> ctx :user :user/username)\n _ (log/info (str \"Repl Eval reque",
"end": 7391,
"score": 0.8497355580329895,
"start": 7383,
"tag": "USERNAME",
"value": "username"
},
{
"context": " :password ... | src/clj/clojurecademy/controller/course/core.clj | harunpehlivan/clojurecademy | 0 | (ns clojurecademy.controller.course.core
(:require [clojurecademy.dao.course :as course.dao]
[clojurecademy.dao.progress :as progress.dao]
[clojurecademy.dao.sub-chapter :as sub-chapter.dao]
[clojurecademy.dao.subject :as subject.dao]
[clojurecademy.controller.course.ev... | 54528 | (ns clojurecademy.controller.course.core
(:require [clojurecademy.dao.course :as course.dao]
[clojurecademy.dao.progress :as progress.dao]
[clojurecademy.dao.sub-chapter :as sub-chapter.dao]
[clojurecademy.dao.subject :as subject.dao]
[clojurecademy.controller.course.ev... | true | (ns clojurecademy.controller.course.core
(:require [clojurecademy.dao.course :as course.dao]
[clojurecademy.dao.progress :as progress.dao]
[clojurecademy.dao.sub-chapter :as sub-chapter.dao]
[clojurecademy.dao.subject :as subject.dao]
[clojurecademy.controller.course.ev... |
[
{
"context": ";\n; Copyright Β© 2021 Peter Monks\n;\n; Licensed under the Apache License, Version 2.",
"end": 32,
"score": 0.9996048808097839,
"start": 21,
"tag": "NAME",
"value": "Peter Monks"
},
{
"context": "ant to look up. For example: `\" cmd/prefix \"lookup Santa Claus`\")))))\n... | src/ctac_bot/commands.clj | pmonks/ctac-bot | 2 | ;
; Copyright Β© 2021 Peter Monks
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writi... | 47001 | ;
; Copyright Β© 2021 <NAME>
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writing, s... | true | ;
; Copyright Β© 2021 PI:NAME:<NAME>END_PI
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to... |
[
{
"context": "y with the \r\n;; preprocessed result\r\n;;\r\n;; Autor: Christian Meichsner\r\n\r\n(ns org.lambdaroyal.util.localcache\r\n\t(:gen-cl",
"end": 259,
"score": 0.9998248219490051,
"start": 240,
"tag": "NAME",
"value": "Christian Meichsner"
}
] | src/main/clojure/org/lambdaroyal/util/localcache.clj | gixxi/clojure-util | 1 | ;; Aspect Local Caching. Provides shared access to a cached result of a function call.
;; The call is blocking if the function call is not yet realized otherwise the call returns immediatly with the
;; preprocessed result
;;
;; Autor: Christian Meichsner
(ns org.lambdaroyal.util.localcache
(:gen-class))
(d... | 96258 | ;; Aspect Local Caching. Provides shared access to a cached result of a function call.
;; The call is blocking if the function call is not yet realized otherwise the call returns immediatly with the
;; preprocessed result
;;
;; Autor: <NAME>
(ns org.lambdaroyal.util.localcache
(:gen-class))
(def #^{:doc "G... | true | ;; Aspect Local Caching. Provides shared access to a cached result of a function call.
;; The call is blocking if the function call is not yet realized otherwise the call returns immediatly with the
;; preprocessed result
;;
;; Autor: PI:NAME:<NAME>END_PI
(ns org.lambdaroyal.util.localcache
(:gen-class))
(... |
[
{
"context": "st\")))\n (is (= \"δΈε½\\tζ±θ\\tθε·\\t\" (find-geography \"180.117.51.245\")))\n (is (= \"δΈε½\\tδΈζ΅·\\tδΈζ΅·\\t\" (find-geography \"11",
"end": 573,
"score": 0.9997270703315735,
"start": 559,
"tag": "IP_ADDRESS",
"value": "180.117.51.245"
},
{
"context": "45\")))\n (is (... | version-2/test/ip_service/test/ip.clj | killme2008/ip-service | 65 | (ns ip-service.test.ip
(:require [clojure.test :refer :all]
[ip-service.ip :refer :all]
[clojure.data.json :as json]
[ring.mock.request :as mock]))
(deftest test-find-geography
(testing "find-geography"
(is (thrown-with-msg?
clojure.lang.ExceptionInfo #"llegal addre... | 120356 | (ns ip-service.test.ip
(:require [clojure.test :refer :all]
[ip-service.ip :refer :all]
[clojure.data.json :as json]
[ring.mock.request :as mock]))
(deftest test-find-geography
(testing "find-geography"
(is (thrown-with-msg?
clojure.lang.ExceptionInfo #"llegal addre... | true | (ns ip-service.test.ip
(:require [clojure.test :refer :all]
[ip-service.ip :refer :all]
[clojure.data.json :as json]
[ring.mock.request :as mock]))
(deftest test-find-geography
(testing "find-geography"
(is (thrown-with-msg?
clojure.lang.ExceptionInfo #"llegal addre... |
[
{
"context": ";; Copyright (c) 2015-2017 Andrey Antukh <niwi@niwi.nz>\n;; All rights reserved.\n;;\n;; Redi",
"end": 40,
"score": 0.9998835325241089,
"start": 27,
"tag": "NAME",
"value": "Andrey Antukh"
},
{
"context": ";; Copyright (c) 2015-2017 Andrey Antukh <niwi@niwi.nz>\n;; All ... | src/datoteka/storages.clj | kiramclean/datoteka | 0 | ;; Copyright (c) 2015-2017 Andrey Antukh <niwi@niwi.nz>
;; All rights reserved.
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions are met:
;;
;; * Redistributions of source code must retain the above copyright notice, this
;; ... | 61834 | ;; Copyright (c) 2015-2017 <NAME> <<EMAIL>>
;; All rights reserved.
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions are met:
;;
;; * Redistributions of source code must retain the above copyright notice, this
;; list of con... | true | ;; Copyright (c) 2015-2017 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>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:
;;
;; * Redistributions of source code must retain the above copyright ... |
[
{
"context": "lue \"LEVEL1-3\", :count 2}]}]}]}]}]}\n {:value \"TORNADO\",\n :count 2,\n :subfields [\"topic\"],\n ",
"end": 35306,
"score": 0.7264914512634277,
"start": 35299,
"tag": "NAME",
"value": "TORNADO"
}
] | system-int-test/test/cmr/system_int_test/search/facets/facet_responses.clj | indiejames/Common-Metadata-Repository | 0 | (ns cmr.system-int-test.search.facets.facet-responses
"Contains vars with large facet response examples used in tests.")
(def expected-v2-facets-apply-links
"Expected facets to be returned in the facets v2 response. The structure of the v2 facet response
is documented in https://wiki.earthdata.nasa.gov/display/C... | 108190 | (ns cmr.system-int-test.search.facets.facet-responses
"Contains vars with large facet response examples used in tests.")
(def expected-v2-facets-apply-links
"Expected facets to be returned in the facets v2 response. The structure of the v2 facet response
is documented in https://wiki.earthdata.nasa.gov/display/C... | true | (ns cmr.system-int-test.search.facets.facet-responses
"Contains vars with large facet response examples used in tests.")
(def expected-v2-facets-apply-links
"Expected facets to be returned in the facets v2 response. The structure of the v2 facet response
is documented in https://wiki.earthdata.nasa.gov/display/C... |
[
{
"context": ";; author: Mark W. Naylor\n;; file: day03.clj\n;; date: 2021-May-28\n(ns adv",
"end": 25,
"score": 0.9998757243156433,
"start": 11,
"tag": "NAME",
"value": "Mark W. Naylor"
},
{
"context": "----\n;; BSD 3-Clause License\n\n;; Copyright Β© 2021, Mark W. Naylor\n;; All r... | src/advent_2020/day03.clj | mark-naylor-1701/advent_2020 | 0 | ;; author: Mark W. Naylor
;; file: day03.clj
;; date: 2021-May-28
(ns advent-2020.day03
(:require [advent-2020.core :refer [input] ]))
(def right-amount 3) ; Right step amount for Part 1.
(def down-amount 1) ; Down step amount for Part 1.
(def tree-char \#)
(def input-file "d... | 61664 | ;; author: <NAME>
;; file: day03.clj
;; date: 2021-May-28
(ns advent-2020.day03
(:require [advent-2020.core :refer [input] ]))
(def right-amount 3) ; Right step amount for Part 1.
(def down-amount 1) ; Down step amount for Part 1.
(def tree-char \#)
(def input-file "day03.txt... | true | ;; author: PI:NAME:<NAME>END_PI
;; file: day03.clj
;; date: 2021-May-28
(ns advent-2020.day03
(:require [advent-2020.core :refer [input] ]))
(def right-amount 3) ; Right step amount for Part 1.
(def down-amount 1) ; Down step amount for Part 1.
(def tree-char \#)
(def input-f... |
[
{
"context": "ef splunk-auth-map\n {:form-params\n {:username \"restclient\" :password \"restC0der\" :output_mode \"json\"}})\n(\n ",
"end": 1799,
"score": 0.9992148876190186,
"start": 1789,
"tag": "USERNAME",
"value": "restclient"
},
{
"context": "form-params\n {:username \"res... | src/splunk_clojure_client/main.clj | dconnett-splunk/splunk-clojure-client | 0 | (ns splunk-clojure-client.main
(:require [clojure.string]
[clj-http.client :as client]
[clojure.pprint]
[clj-http.conn-mgr]
[clj-http.core]
[clj-http.cookies]))
(use 'clojure.set)
;; Merge maps of data recusrively, I use this to compose HTTP params.
(defn ... | 3576 | (ns splunk-clojure-client.main
(:require [clojure.string]
[clj-http.client :as client]
[clojure.pprint]
[clj-http.conn-mgr]
[clj-http.core]
[clj-http.cookies]))
(use 'clojure.set)
;; Merge maps of data recusrively, I use this to compose HTTP params.
(defn ... | true | (ns splunk-clojure-client.main
(:require [clojure.string]
[clj-http.client :as client]
[clojure.pprint]
[clj-http.conn-mgr]
[clj-http.core]
[clj-http.cookies]))
(use 'clojure.set)
;; Merge maps of data recusrively, I use this to compose HTTP params.
(defn ... |
[
{
"context": "l for a deeper Clojure integration.\"\n\n {:author \"Adam Helinski\"}\n\n (:import (convex.core.data ABlob\n ",
"end": 298,
"score": 0.9992245435714722,
"start": 285,
"tag": "NAME",
"value": "Adam Helinski"
}
] | project/cvm/src/clj/main/convex/clj.clj | rosejn/convex.cljc | 30 | (ns convex.clj
"Convert cells to Clojure types.
Sometimes lossy since some cells do not have equivalents in Clojure. For instance, addresses are converted to long.
Recursive when it comes to collection.
Mainly useful for a deeper Clojure integration."
{:author "Adam Helinski"}
(:import (convex... | 92359 | (ns convex.clj
"Convert cells to Clojure types.
Sometimes lossy since some cells do not have equivalents in Clojure. For instance, addresses are converted to long.
Recursive when it comes to collection.
Mainly useful for a deeper Clojure integration."
{:author "<NAME>"}
(:import (convex.core.d... | true | (ns convex.clj
"Convert cells to Clojure types.
Sometimes lossy since some cells do not have equivalents in Clojure. For instance, addresses are converted to long.
Recursive when it comes to collection.
Mainly useful for a deeper Clojure integration."
{:author "PI:NAME:<NAME>END_PI"}
(:import ... |
[
{
"context": "http://foo.bar.com\"\n :authenticated-user-email \"foo@bar.com\"})\n\n(deftest test-login\n (let [request {:params ",
"end": 303,
"score": 0.9999160766601562,
"start": 292,
"tag": "EMAIL",
"value": "foo@bar.com"
},
{
"context": "(testing \"user placed in session\"\n ... | test/ring/ring_okta/session_test.clj | bostonaholic/ring-okta | 9 | (ns ring.ring-okta.session-test
(:require [clojure.test :refer [deftest testing is]]
[ring.ring-okta.saml :as saml]
[ring.ring-okta.session :as session]))
(defn- stub-respond-to-okta-post [& args]
{:redirect-url "http://foo.bar.com"
:authenticated-user-email "foo@bar.com"})
(deftest tes... | 56089 | (ns ring.ring-okta.session-test
(:require [clojure.test :refer [deftest testing is]]
[ring.ring-okta.saml :as saml]
[ring.ring-okta.session :as session]))
(defn- stub-respond-to-okta-post [& args]
{:redirect-url "http://foo.bar.com"
:authenticated-user-email "<EMAIL>"})
(deftest test-lo... | true | (ns ring.ring-okta.session-test
(:require [clojure.test :refer [deftest testing is]]
[ring.ring-okta.saml :as saml]
[ring.ring-okta.session :as session]))
(defn- stub-respond-to-okta-post [& args]
{:redirect-url "http://foo.bar.com"
:authenticated-user-email "PI:EMAIL:<EMAIL>END_PI"})
(... |
[
{
"context": "doc \"Text manipulation utilities.\"\n :author \"Kyle Burton\"}\n clj-etl-utils.text\n (:use [clj-etl-utils.lan",
"end": 72,
"score": 0.9998714923858643,
"start": 61,
"tag": "NAME",
"value": "Kyle Burton"
}
] | data/clojure/e106da13afc209a2a9f2b391ad29173d_text.clj | maxim5/code-inspector | 5 | (ns
^{:doc "Text manipulation utilities."
:author "Kyle Burton"}
clj-etl-utils.text
(:use [clj-etl-utils.lang-utils :only [raise]])
(:require [clojure.string :as str-utils])
(:import [org.apache.commons.lang WordUtils]
[java.text NumberFormat DecimalFormat]
[org.apache... | 108044 | (ns
^{:doc "Text manipulation utilities."
:author "<NAME>"}
clj-etl-utils.text
(:use [clj-etl-utils.lang-utils :only [raise]])
(:require [clojure.string :as str-utils])
(:import [org.apache.commons.lang WordUtils]
[java.text NumberFormat DecimalFormat]
[org.apache.comm... | true | (ns
^{:doc "Text manipulation utilities."
:author "PI:NAME:<NAME>END_PI"}
clj-etl-utils.text
(:use [clj-etl-utils.lang-utils :only [raise]])
(:require [clojure.string :as str-utils])
(:import [org.apache.commons.lang WordUtils]
[java.text NumberFormat DecimalFormat]
[o... |
[
{
"context": " :commodity-id \"USD\"}\n {:name \"Dining\"\n :type :expense\n :co",
"end": 767,
"score": 0.6142892837524414,
"start": 761,
"tag": "NAME",
"value": "Dining"
}
] | test/clj_money/models/lots_test.clj | dgknght/clj-money | 5 | (ns clj-money.models.lots-test
(:require [clojure.test :refer [deftest use-fixtures is]]
[clj-time.core :as t]
[clj-factory.core :refer [factory]]
[dgknght.app-lib.test]
[clj-money.factories.user-factory]
[clj-money.test-context :refer [realize
... | 79517 | (ns clj-money.models.lots-test
(:require [clojure.test :refer [deftest use-fixtures is]]
[clj-time.core :as t]
[clj-factory.core :refer [factory]]
[dgknght.app-lib.test]
[clj-money.factories.user-factory]
[clj-money.test-context :refer [realize
... | true | (ns clj-money.models.lots-test
(:require [clojure.test :refer [deftest use-fixtures is]]
[clj-time.core :as t]
[clj-factory.core :refer [factory]]
[dgknght.app-lib.test]
[clj-money.factories.user-factory]
[clj-money.test-context :refer [realize
... |
[
{
"context": " \"?user=db_user_name_here&password=db_user_password_here\")\n :mysql (str \"mysql://localhost:3306/\" sa",
"end": 873,
"score": 0.9985952973365784,
"start": 852,
"tag": "PASSWORD",
"value": "db_user_password_here"
},
{
"context": " \... | src/leiningen/new/db.clj | spradnyesh/luminus-template | 0 | (ns leiningen.new.db
(:require [leiningen.new.common :refer :all]))
(defn select-db [{:keys [features]}]
(cond
(some #{"+postgres"} features) :postgres
(some #{"+mysql"} features) :mysql
(some #{"+mongodb"} features) :mongo
(some #{"+datomic"} features) :datomic
(some #{"+h2"} features) :h2
... | 11197 | (ns leiningen.new.db
(:require [leiningen.new.common :refer :all]))
(defn select-db [{:keys [features]}]
(cond
(some #{"+postgres"} features) :postgres
(some #{"+mysql"} features) :mysql
(some #{"+mongodb"} features) :mongo
(some #{"+datomic"} features) :datomic
(some #{"+h2"} features) :h2
... | true | (ns leiningen.new.db
(:require [leiningen.new.common :refer :all]))
(defn select-db [{:keys [features]}]
(cond
(some #{"+postgres"} features) :postgres
(some #{"+mysql"} features) :mysql
(some #{"+mongodb"} features) :mongo
(some #{"+datomic"} features) :datomic
(some #{"+h2"} features) :h2
... |
[
{
"context": ";;\n;; Clusterers\n;; @author Antonio Garrote\n;;\n\n(ns #^{:author \"Antonio Garrote <antoniogarro",
"end": 43,
"score": 0.999893844127655,
"start": 28,
"tag": "NAME",
"value": "Antonio Garrote"
},
{
"context": "rs\n;; @author Antonio Garrote\n;;\n\n(ns #^{:author \"An... | src/clj_ml/clusterers.clj | yogsototh/clj-ml | 0 | ;;
;; Clusterers
;; @author Antonio Garrote
;;
(ns #^{:author "Antonio Garrote <antoniogarrote@gmail.com>"}
clj-ml.clusterers
"This namespace contains several functions for
building clusterers using different clustering algorithms. K-means, Cobweb and
Expectation maximization algorithms are currently support... | 47500 | ;;
;; Clusterers
;; @author <NAME>
;;
(ns #^{:author "<NAME> <<EMAIL>>"}
clj-ml.clusterers
"This namespace contains several functions for
building clusterers using different clustering algorithms. K-means, Cobweb and
Expectation maximization algorithms are currently supported.
Some of these algorithms su... | true | ;;
;; Clusterers
;; @author PI:NAME:<NAME>END_PI
;;
(ns #^{:author "PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>"}
clj-ml.clusterers
"This namespace contains several functions for
building clusterers using different clustering algorithms. K-means, Cobweb and
Expectation maximization algorithms are currently... |
[
{
"context": " (b/button {:key \"add-button\" :className \"btn-fill\" :kind :info\n ",
"end": 12868,
"score": 0.8054378032684326,
"start": 12862,
"tag": "KEY",
"value": "button"
},
{
"context": " (b/button {:key \"ca... | src/main/org/edgexfoundry/ui/manager/ui/exports.cljs | jpwhitemn/edgex-ui-clojure | 0 | ;;; Copyright (c) 2018
;;; IoTech Ltd
;;; SPDX-License-Identifier: Apache-2.0
(ns org.edgexfoundry.ui.manager.ui.exports
(:require [fulcro.client.primitives :as prim :refer [defui defsc]]
[fulcro.i18n :refer [tr]]
[fulcro.client.dom :as dom]
[fulcro.client.data-fetch :as df :refer... | 25369 | ;;; Copyright (c) 2018
;;; IoTech Ltd
;;; SPDX-License-Identifier: Apache-2.0
(ns org.edgexfoundry.ui.manager.ui.exports
(:require [fulcro.client.primitives :as prim :refer [defui defsc]]
[fulcro.i18n :refer [tr]]
[fulcro.client.dom :as dom]
[fulcro.client.data-fetch :as df :refer... | true | ;;; Copyright (c) 2018
;;; IoTech Ltd
;;; SPDX-License-Identifier: Apache-2.0
(ns org.edgexfoundry.ui.manager.ui.exports
(:require [fulcro.client.primitives :as prim :refer [defui defsc]]
[fulcro.i18n :refer [tr]]
[fulcro.client.dom :as dom]
[fulcro.client.data-fetch :as df :refer... |
[
{
"context": "r owner :home)\n :tab-index -1}\n \"Kanopi\"]]))))\n\n(defmethod left-team-dropdown :spa.authen",
"end": 2621,
"score": 0.9916031360626221,
"start": 2615,
"tag": "NAME",
"value": "Kanopi"
}
] | data/train/clojure/4d0d00e281a64c327c39cbc7cd22b560c075ad18header.cljs | harshp8l/deep-learning-lang-detection | 84 | (ns kanopi.view.header
(:require [om.core :as om]
[taoensso.timbre :as timbre
:refer-macros (log trace debug info warn error fatal report)]
[kanopi.util.browser :as browser]
[kanopi.view.widgets.selector.dropdown :as dropdown]
[kanopi.view.widgets.typeahead... | 7218 | (ns kanopi.view.header
(:require [om.core :as om]
[taoensso.timbre :as timbre
:refer-macros (log trace debug info warn error fatal report)]
[kanopi.util.browser :as browser]
[kanopi.view.widgets.selector.dropdown :as dropdown]
[kanopi.view.widgets.typeahead... | true | (ns kanopi.view.header
(:require [om.core :as om]
[taoensso.timbre :as timbre
:refer-macros (log trace debug info warn error fatal report)]
[kanopi.util.browser :as browser]
[kanopi.view.widgets.selector.dropdown :as dropdown]
[kanopi.view.widgets.typeahead... |
[
{
"context": "r for the Thrift IDL.\"\n :url \"https://github.com/sritchie/thrift-clj\"\n :license {:name \"Apache 2\"\n ",
"end": 139,
"score": 0.999464750289917,
"start": 131,
"tag": "USERNAME",
"value": "sritchie"
},
{
"context": " [:developer\n ... | project.clj | sritchie/thrift-clj | 1 | (defproject com.twitter/thrift-clj "0.1.0-SNAPSHOT"
:description "Clojure parser for the Thrift IDL."
:url "https://github.com/sritchie/thrift-clj"
:license {:name "Apache 2"
:url "http://www.apache.org/licenses/LICENSE-2.0.html"
:distribution :repo
:comments "A business-friend... | 31762 | (defproject com.twitter/thrift-clj "0.1.0-SNAPSHOT"
:description "Clojure parser for the Thrift IDL."
:url "https://github.com/sritchie/thrift-clj"
:license {:name "Apache 2"
:url "http://www.apache.org/licenses/LICENSE-2.0.html"
:distribution :repo
:comments "A business-friend... | true | (defproject com.twitter/thrift-clj "0.1.0-SNAPSHOT"
:description "Clojure parser for the Thrift IDL."
:url "https://github.com/sritchie/thrift-clj"
:license {:name "Apache 2"
:url "http://www.apache.org/licenses/LICENSE-2.0.html"
:distribution :repo
:comments "A business-friend... |
[
{
"context": " the generalized English auction.\"\n :author \"Anna Shchiptsova\"}\n phosphorus-markets.simulator\n (:require [comm",
"end": 635,
"score": 0.9998882412910461,
"start": 619,
"tag": "NAME",
"value": "Anna Shchiptsova"
}
] | clj/phosphorus-markets/src/phosphorus_markets/simulator.clj | shchipts/phosphorus-affordability | 0 | ; Copyright (c) 2020 International Institute for Applied Systems Analysis.
; All rights reserved. The use and distribution terms for this software
; are covered by the MIT License (http://opensource.org/licenses/MIT)
; which can be found in the file LICENSE at the root of this distribution.
; By using this so... | 6245 | ; Copyright (c) 2020 International Institute for Applied Systems Analysis.
; All rights reserved. The use and distribution terms for this software
; are covered by the MIT License (http://opensource.org/licenses/MIT)
; which can be found in the file LICENSE at the root of this distribution.
; By using this so... | true | ; Copyright (c) 2020 International Institute for Applied Systems Analysis.
; All rights reserved. The use and distribution terms for this software
; are covered by the MIT License (http://opensource.org/licenses/MIT)
; which can be found in the file LICENSE at the root of this distribution.
; By using this so... |
[
{
"context": ";; My first code in Clojure\n;; Manoel Vilela\n\n;; solution of problem001\n(defn solution [x]\n ",
"end": 44,
"score": 0.9998888969421387,
"start": 31,
"tag": "NAME",
"value": "Manoel Vilela"
}
] | Problem001/Clojure/solution_1.clj | drocha87/ProjectEuler | 167 | ;; My first code in Clojure
;; Manoel Vilela
;; solution of problem001
(defn solution [x]
(reduce + (filter (fn [n] (or (= (mod n 5) 0) (= (mod n 3) 0))) (range 1 x)))
)
(println (solution 1000))
| 54870 | ;; My first code in Clojure
;; <NAME>
;; solution of problem001
(defn solution [x]
(reduce + (filter (fn [n] (or (= (mod n 5) 0) (= (mod n 3) 0))) (range 1 x)))
)
(println (solution 1000))
| true | ;; My first code in Clojure
;; PI:NAME:<NAME>END_PI
;; solution of problem001
(defn solution [x]
(reduce + (filter (fn [n] (or (= (mod n 5) 0) (= (mod n 3) 0))) (range 1 x)))
)
(println (solution 1000))
|
[
{
"context": ";; Copyright 2014-2020 King\n;; Copyright 2009-2014 Ragnar Svensson, Christian Murray\n;; Licensed under the Defold Li",
"end": 111,
"score": 0.9998164772987366,
"start": 96,
"tag": "NAME",
"value": "Ragnar Svensson"
},
{
"context": "-2020 King\n;; Copyright 2009-2014 R... | editor/src/clj/internal/graph/error_values.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... | 44413 | ;; 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": "jks\"\n ;:key-password \"password\"\n ;:ssl-port 8443\n ",
"end": 2013,
"score": 0.9989415407180786,
"start": 2005,
"tag": "PASSWORD",
"value": "password"
}
] | vase/src/eiga/service.clj | defndaines/eiga | 0 | (ns eiga.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]
[com.cognitect.vase :as vase]))
(defn about-page
[request]
(ring-resp/response (format "Cloju... | 116349 | (ns eiga.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]
[com.cognitect.vase :as vase]))
(defn about-page
[request]
(ring-resp/response (format "Cloju... | true | (ns eiga.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]
[com.cognitect.vase :as vase]))
(defn about-page
[request]
(ring-resp/response (format "Cloju... |
[
{
"context": "\n(deftest dump-opts\n (let [data [{:age 33 :name \"jon\"} {:age 44 :name \"boo\"}]]\n\n (is (= \"- age: 33\\",
"end": 265,
"score": 0.9992175102233887,
"start": 262,
"tag": "NAME",
"value": "jon"
},
{
"context": "(let [data [{:age 33 :name \"jon\"} {:age 44 :name \... | test/yaml/writer_test.clj | camsaul/yaml | 73 | (ns yaml.writer-test
(:require [clojure.test :refer :all]
[yaml.writer :refer :all]
[flatland.ordered.set :refer [ordered-set]]
[flatland.ordered.map :refer [ordered-map]]))
(deftest dump-opts
(let [data [{:age 33 :name "jon"} {:age 44 :name "boo"}]]
(is (= "- age: 33\n na... | 94306 | (ns yaml.writer-test
(:require [clojure.test :refer :all]
[yaml.writer :refer :all]
[flatland.ordered.set :refer [ordered-set]]
[flatland.ordered.map :refer [ordered-map]]))
(deftest dump-opts
(let [data [{:age 33 :name "<NAME>"} {:age 44 :name "<NAME>"}]]
(is (= "- age: 33... | true | (ns yaml.writer-test
(:require [clojure.test :refer :all]
[yaml.writer :refer :all]
[flatland.ordered.set :refer [ordered-set]]
[flatland.ordered.map :refer [ordered-map]]))
(deftest dump-opts
(let [data [{:age 33 :name "PI:NAME:<NAME>END_PI"} {:age 44 :name "PI:NAME:<NAME>END_P... |
[
{
"context": "ate :runner)\n (play-from-hand state :corp \"Caprice Nisei\" \"Server 1\")\n (is (= 11 (:credit (get-corp",
"end": 5098,
"score": 0.9992964863777161,
"start": 5085,
"tag": "NAME",
"value": "Caprice Nisei"
}
] | test/clj/game_test/games/scenarios.clj | Odie/netrunner | 0 | (ns game-test.games.scenarios
(:require [game.core :as core]
[game-test.core :refer :all]
[game-test.utils :refer :all]
[game-test.macros :refer :all]
[clojure.test :refer :all]))
(use-fixtures :once load-all-cards)
(deftest minigame-prevent-netdmg-resourcetrash
(te... | 7026 | (ns game-test.games.scenarios
(:require [game.core :as core]
[game-test.core :refer :all]
[game-test.utils :refer :all]
[game-test.macros :refer :all]
[clojure.test :refer :all]))
(use-fixtures :once load-all-cards)
(deftest minigame-prevent-netdmg-resourcetrash
(te... | true | (ns game-test.games.scenarios
(:require [game.core :as core]
[game-test.core :refer :all]
[game-test.utils :refer :all]
[game-test.macros :refer :all]
[clojure.test :refer :all]))
(use-fixtures :once load-all-cards)
(deftest minigame-prevent-netdmg-resourcetrash
(te... |
[
{
"context": " expected-organizations)\n (assoc :personnel personnel)\n ;; DIF only support some portion of the ",
"end": 6921,
"score": 0.6845988035202026,
"start": 6912,
"tag": "NAME",
"value": "personnel"
},
{
"context": " <Role>TECHNICAL CONTACT</Role>\n <First... | umm-lib/test/cmr/umm/test/dif/dif_collection_tests.clj | eereiter/Common-Metadata-Repository | 0 | (ns cmr.umm.test.dif.dif-collection-tests
"Tests parsing and generating DIF Collection XML."
(:require [clojure.test :refer :all]
; [clojure.test.check.clojure-test :refer [defspec]]
;; Temporarily included to use the fixed defspec. Remove once issue is fixed.
[cmr.common.test.t... | 65140 | (ns cmr.umm.test.dif.dif-collection-tests
"Tests parsing and generating DIF Collection XML."
(:require [clojure.test :refer :all]
; [clojure.test.check.clojure-test :refer [defspec]]
;; Temporarily included to use the fixed defspec. Remove once issue is fixed.
[cmr.common.test.t... | true | (ns cmr.umm.test.dif.dif-collection-tests
"Tests parsing and generating DIF Collection XML."
(:require [clojure.test :refer :all]
; [clojure.test.check.clojure-test :refer [defspec]]
;; Temporarily included to use the fixed defspec. Remove once issue is fixed.
[cmr.common.test.t... |
[
{
"context": " 1\n ::person-name \"Joe\"\n ::phone-numbers [{:db",
"end": 3267,
"score": 0.9993941783905029,
"start": 3264,
"tag": "NAME",
"value": "Joe"
},
{
"context": "/pristine-state form-config) => {::person-name \"Joe\"... | src/test/com/fulcrologic/fulcro/algorithms/form_state_spec.cljc | janezj/fulcro | 0 | (ns com.fulcrologic.fulcro.algorithms.form-state-spec
(:require
[com.fulcrologic.fulcro.components :as comp :refer [defsc]]
[com.fulcrologic.fulcro.raw.components :as rc]
[com.fulcrologic.fulcro.algorithms.form-state :as fs]
[com.fulcrologic.fulcro.algorithms.tempid :as tempid]
[com.fulcrologic.fu... | 105586 | (ns com.fulcrologic.fulcro.algorithms.form-state-spec
(:require
[com.fulcrologic.fulcro.components :as comp :refer [defsc]]
[com.fulcrologic.fulcro.raw.components :as rc]
[com.fulcrologic.fulcro.algorithms.form-state :as fs]
[com.fulcrologic.fulcro.algorithms.tempid :as tempid]
[com.fulcrologic.fu... | true | (ns com.fulcrologic.fulcro.algorithms.form-state-spec
(:require
[com.fulcrologic.fulcro.components :as comp :refer [defsc]]
[com.fulcrologic.fulcro.raw.components :as rc]
[com.fulcrologic.fulcro.algorithms.form-state :as fs]
[com.fulcrologic.fulcro.algorithms.tempid :as tempid]
[com.fulcrologic.fu... |
[
{
"context": "(ns ^{:author \"Abhinav Sharma (@abhi18av)\"\n :doc \"Wraps the api for FIX",
"end": 29,
"score": 0.9998809695243835,
"start": 15,
"tag": "NAME",
"value": "Abhinav Sharma"
},
{
"context": "(ns ^{:author \"Abhinav Sharma (@abhi18av)\"\n :doc \"Wraps the a... | src/app/external_api/scratch.cljs | abhi18av/fulcro-frontend-template | 1 | (ns ^{:author "Abhinav Sharma (@abhi18av)"
:doc "Wraps the api for FIXME"}
app.external-api.scratch
(:require [app.secrets :as secrets]
[app.utils :as utils :refer [namespaced-keys pull-namespaced pull-key update-if]]
[clojure.core.async :refer [go timeout <! take!]]
[... | 122861 | (ns ^{:author "<NAME> (@abhi18av)"
:doc "Wraps the api for FIXME"}
app.external-api.scratch
(:require [app.secrets :as secrets]
[app.utils :as utils :refer [namespaced-keys pull-namespaced pull-key update-if]]
[clojure.core.async :refer [go timeout <! take!]]
[clojure.... | true | (ns ^{:author "PI:NAME:<NAME>END_PI (@abhi18av)"
:doc "Wraps the api for FIXME"}
app.external-api.scratch
(:require [app.secrets :as secrets]
[app.utils :as utils :refer [namespaced-keys pull-namespaced pull-key update-if]]
[clojure.core.async :refer [go timeout <! take!]]
... |
[
{
"context": "! *unchecked-math* :warn-on-boxed)\n(ns ^{:author \"John Alan McDonald, Kristina Lisa Klinkner\" :date \"2016-12-30\"\n ",
"end": 105,
"score": 0.9998700022697449,
"start": 87,
"tag": "NAME",
"value": "John Alan McDonald"
},
{
"context": ":warn-on-boxed)\n(ns ^{:aut... | src/main/clojure/taiga/split/api.clj | wahpenayo/taiga | 4 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "John Alan McDonald, Kristina Lisa Klinkner" :date "2016-12-30"
:doc "Greedy decision tree splitting." }
taiga.split.api
(:require [zana.api :as z]
[taiga.split.numerical.categorical.scored :as numerica... | 33028 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "<NAME>, <NAME>" :date "2016-12-30"
:doc "Greedy decision tree splitting." }
taiga.split.api
(:require [zana.api :as z]
[taiga.split.numerical.categorical.scored :as numerical-categorical]
[... | true | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI" :date "2016-12-30"
:doc "Greedy decision tree splitting." }
taiga.split.api
(:require [zana.api :as z]
[taiga.split.numerical.categorical.scored :as numerica... |
[
{
"context": "(testing \"Successful creation\"\n (let [tag-key \"tag1\"\n tag (tags/make-tag {:tag-key tag-key})",
"end": 3205,
"score": 0.993882417678833,
"start": 3201,
"tag": "KEY",
"value": "tag1"
},
{
"context": "ag {:tag-key \"MixedCaseTagKey\"})\n tag-key \"... | system-int-test/test/cmr/system_int_test/search/tagging/tag_crud_test.clj | sxu123/Common-Metadata-Repository | 0 | (ns cmr.system-int-test.search.tagging.tag-crud-test
"This tests the CMR Search API's tagging capabilities"
(:require [clojure.test :refer :all]
[clojure.string :as str]
[cmr.common.util :refer [are2]]
[cmr.system-int-test.utils.ingest-util :as ingest]
[cmr.system-int... | 113269 | (ns cmr.system-int-test.search.tagging.tag-crud-test
"This tests the CMR Search API's tagging capabilities"
(:require [clojure.test :refer :all]
[clojure.string :as str]
[cmr.common.util :refer [are2]]
[cmr.system-int-test.utils.ingest-util :as ingest]
[cmr.system-int... | true | (ns cmr.system-int-test.search.tagging.tag-crud-test
"This tests the CMR Search API's tagging capabilities"
(:require [clojure.test :refer :all]
[clojure.string :as str]
[cmr.common.util :refer [are2]]
[cmr.system-int-test.utils.ingest-util :as ingest]
[cmr.system-int... |
[
{
"context": "sys))))\n\n(defn signup\n [user]\n (let [password (:password user)\n user-id (-> (http.helper/post! @htt",
"end": 2868,
"score": 0.8782147169113159,
"start": 2860,
"tag": "PASSWORD",
"value": "password"
},
{
"context": "\n(defn signup\n [user]\n (let [passwor... | test/integration/thoughts/adapter/http/http_test.clj | kmyokoyama/thoughts-clj | 3 | (ns integration.thoughts.adapter.http.http-test
(:require [clojure.test :refer :all]
[com.stuartsierra.component :as component]
[integration.thoughts.adapter.http.helper :as http.helper]
[thoughts.adapter.cache.in-mem :as a.cache.in-mem]
[thoughts.adapter.cache.redis :a... | 119312 | (ns integration.thoughts.adapter.http.http-test
(:require [clojure.test :refer :all]
[com.stuartsierra.component :as component]
[integration.thoughts.adapter.http.helper :as http.helper]
[thoughts.adapter.cache.in-mem :as a.cache.in-mem]
[thoughts.adapter.cache.redis :a... | true | (ns integration.thoughts.adapter.http.http-test
(:require [clojure.test :refer :all]
[com.stuartsierra.component :as component]
[integration.thoughts.adapter.http.helper :as http.helper]
[thoughts.adapter.cache.in-mem :as a.cache.in-mem]
[thoughts.adapter.cache.redis :a... |
[
{
"context": "weights)\n\t (map vector preds)\n\t (into {}))))\n\n\n;;; Mira Reranking\n\n(defn mira-diff-vec-and-loss [weigh",
"end": 3138,
"score": 0.6285568475723267,
"start": 3137,
"tag": "NAME",
"value": "M"
}
] | src/infer/sparse_reranking.clj | robertpfeiffer/infer | 1 | (ns infer.sparse-reranking
^{:doc "In sparse reranking each instance comes with several possible labels, but
in contrast to classification, the labels are instance-specific, rather than fixed
set of labels. So you can think of there being a global set of predicates rather than
separate features for each l... | 53722 | (ns infer.sparse-reranking
^{:doc "In sparse reranking each instance comes with several possible labels, but
in contrast to classification, the labels are instance-specific, rather than fixed
set of labels. So you can think of there being a global set of predicates rather than
separate features for each l... | true | (ns infer.sparse-reranking
^{:doc "In sparse reranking each instance comes with several possible labels, but
in contrast to classification, the labels are instance-specific, rather than fixed
set of labels. So you can think of there being a global set of predicates rather than
separate features for each l... |
[
{
"context": "; Copyright 2015 Zalando SE\n;\n; Licensed under the Apache License, Version 2.",
"end": 27,
"score": 0.8918332457542419,
"start": 17,
"tag": "NAME",
"value": "Zalando SE"
},
{
"context": " :db-user \"postgres\"\n :db-password \"postgres\"\n :db-init-sql... | src/org/zalando/stups/kio/sql.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... | 9368 | ; 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": ";;;;;;;\n;;\n;; MIT License\n;;\n;; Copyright (c) 2017 Andrew Cheng\n;;\n;; Permission is hereby granted, free of charg",
"end": 352,
"score": 0.9998319745063782,
"start": 340,
"tag": "NAME",
"value": "Andrew Cheng"
},
{
"context": "ies or substantial portions of the So... | src/cljs/paredit_cm/core.cljs | devurandom/saite | 108 | (ns paredit-cm.core
"paredit operations (exported)"
(:require [clojure.string :as str]
[cljsjs.codemirror]
[cljsjs.codemirror.mode.clojure]
[cljsjs.codemirror.keymap.emacs]))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;; MIT License
;;
;;... | 78558 | (ns paredit-cm.core
"paredit operations (exported)"
(:require [clojure.string :as str]
[cljsjs.codemirror]
[cljsjs.codemirror.mode.clojure]
[cljsjs.codemirror.keymap.emacs]))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;; MIT License
;;
;;... | true | (ns paredit-cm.core
"paredit operations (exported)"
(:require [clojure.string :as str]
[cljsjs.codemirror]
[cljsjs.codemirror.mode.clojure]
[cljsjs.codemirror.keymap.emacs]))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;; MIT License
;;
;;... |
[
{
"context": " (rf/dispatch [::events/add-todo-list {:name @name}])\n (reset! name \"\"))",
"end": 3681,
"score": 0.8948689103126526,
"start": 3677,
"tag": "NAME",
"value": "name"
},
{
"context": ":type \"text\"\n :placeholder \"n... | src/cljs/doit/views.cljs | nilenso/do.it | 1 | (ns doit.views
(:refer-clojure :exclude [subs])
(:require [re-frame.core :as rf]
[reagent.core :as reagent]
[doit.subs :as subs]
[doit.auth :as auth]
[doit.config :as config]
[doit.events :as events]))
(defn sign-out-btn []
[:a {:href "#"
:on... | 85783 | (ns doit.views
(:refer-clojure :exclude [subs])
(:require [re-frame.core :as rf]
[reagent.core :as reagent]
[doit.subs :as subs]
[doit.auth :as auth]
[doit.config :as config]
[doit.events :as events]))
(defn sign-out-btn []
[:a {:href "#"
:on... | true | (ns doit.views
(:refer-clojure :exclude [subs])
(:require [re-frame.core :as rf]
[reagent.core :as reagent]
[doit.subs :as subs]
[doit.auth :as auth]
[doit.config :as config]
[doit.events :as events]))
(defn sign-out-btn []
[:a {:href "#"
:on... |
[
{
"context": "t \"expected static fields\"\n (rdd/app-name) => \"Geni App\"\n (rdd/value (rdd/broadcast [1 2 3])) => [1 2 ",
"end": 1550,
"score": 0.7601265907287598,
"start": 1542,
"tag": "USERNAME",
"value": "Geni App"
},
{
"context": "\"at no cost and with\" 0.1\n ... | test/zero_one/geni/rdd_test.clj | WaqasAliAbbasi/geni | 233 | (ns zero-one.geni.rdd-test
(:require
[clojure.java.io :as io]
[clojure.string :as string]
[midje.sweet :refer [facts fact =>]]
[zero-one.geni.aot-functions :as aot]
[zero-one.geni.defaults]
[zero-one.geni.partitioner :as partitioner]
[zero-one.geni.rdd :as rdd]
[zero-one.geni.test-resources :r... | 122958 | (ns zero-one.geni.rdd-test
(:require
[clojure.java.io :as io]
[clojure.string :as string]
[midje.sweet :refer [facts fact =>]]
[zero-one.geni.aot-functions :as aot]
[zero-one.geni.defaults]
[zero-one.geni.partitioner :as partitioner]
[zero-one.geni.rdd :as rdd]
[zero-one.geni.test-resources :r... | true | (ns zero-one.geni.rdd-test
(:require
[clojure.java.io :as io]
[clojure.string :as string]
[midje.sweet :refer [facts fact =>]]
[zero-one.geni.aot-functions :as aot]
[zero-one.geni.defaults]
[zero-one.geni.partitioner :as partitioner]
[zero-one.geni.rdd :as rdd]
[zero-one.geni.test-resources :r... |
[
{
"context": "rones name for any input that someone\n\n;; Input: \"Peter DePaulo\"\n;; Output: \"Peterys DePagaryn\" \"Petobb DePabathe",
"end": 194,
"score": 0.9998524188995361,
"start": 181,
"tag": "NAME",
"value": "Peter DePaulo"
},
{
"context": "at someone\n\n;; Input: \"Peter De... | src/name_of_thrones/thronesify.cljs | pndpo/name-of-thrones | 1 | (ns name-of-thrones.thronesify
(:require [clojure.string :as str]))
;; Name of Thrones generator
;; Goal: generate a Game of thrones name for any input that someone
;; Input: "Peter DePaulo"
;; Output: "Peterys DePagaryn" "Petobb DePabatheon"
;; Constants
(def vowels (set (str/split "aeiouy" #"")))
;; TO... | 109263 | (ns name-of-thrones.thronesify
(:require [clojure.string :as str]))
;; Name of Thrones generator
;; Goal: generate a Game of thrones name for any input that someone
;; Input: "<NAME>"
;; Output: "<NAME>" "<NAME>"
;; Constants
(def vowels (set (str/split "aeiouy" #"")))
;; TODO: Extend and simplify how th... | true | (ns name-of-thrones.thronesify
(:require [clojure.string :as str]))
;; Name of Thrones generator
;; Goal: generate a Game of thrones name for any input that someone
;; Input: "PI:NAME:<NAME>END_PI"
;; Output: "PI:NAME:<NAME>END_PI" "PI:NAME:<NAME>END_PI"
;; Constants
(def vowels (set (str/split "aeiouy" #... |
[
{
"context": "i (.expandCollapse cy (clj->js {:layoutBy {:name \"dagre\"\n ",
"end": 1007,
"score": 0.9851945638656616,
"start": 1002,
"tag": "NAME",
"value": "dagre"
}
] | src/cljs/com/billpiel/guildsman/cytoscape.cljs | bpiel/guildsman | 135 | (ns guildsman.cytoscape
(:require [re-frame.core :as rf]
[reagent.core :as r]
[re-com.core :as rc]))
(def c1 (volatile! nil))
(def a1 (atom nil))
(def last-node-click (volatile! [nil 0]))
(defn now-ts [] (.getTime (js/Date.)))
(defn on-click-node
[xc-api evt-js]
(def evt-js1 evt-js)
... | 71911 | (ns guildsman.cytoscape
(:require [re-frame.core :as rf]
[reagent.core :as r]
[re-com.core :as rc]))
(def c1 (volatile! nil))
(def a1 (atom nil))
(def last-node-click (volatile! [nil 0]))
(defn now-ts [] (.getTime (js/Date.)))
(defn on-click-node
[xc-api evt-js]
(def evt-js1 evt-js)
... | true | (ns guildsman.cytoscape
(:require [re-frame.core :as rf]
[reagent.core :as r]
[re-com.core :as rc]))
(def c1 (volatile! nil))
(def a1 (atom nil))
(def last-node-click (volatile! [nil 0]))
(defn now-ts [] (.getTime (js/Date.)))
(defn on-click-node
[xc-api evt-js]
(def evt-js1 evt-js)
... |
[
{
"context": "ns under the License.\n;;\n;; Copyright Β© 2013-2022, Kenneth Leung. All rights reserved.\n\n(ns\n\n czlab.cljant.antlib",
"end": 597,
"score": 0.9998566508293152,
"start": 584,
"tag": "NAME",
"value": "Kenneth Leung"
}
] | src/main/clojure/czlab/cljant/antlib.clj | llnek/cljant | 0 | ;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writing, software
;; distributed ... | 52642 | ;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writing, software
;; distributed ... | true | ;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writing, software
;; distributed ... |
[
{
"context": "(ns ^{:author \"Leeor Engel\"}\n chapter-4.chapter-4-q3)\n\n(defn list-of-depths",
"end": 26,
"score": 0.9998974800109863,
"start": 15,
"tag": "NAME",
"value": "Leeor Engel"
}
] | Clojure/src/chapter_4/chapter_4_q3.clj | Kiandr/crackingcodinginterview | 0 | (ns ^{:author "Leeor Engel"}
chapter-4.chapter-4-q3)
(defn list-of-depths-helper [node depth]
(if (some? node)
(merge-with concat
{depth (list (:data node))}
(list-of-depths-helper (:left node) (inc depth))
(list-of-depths-helper (:right node) (inc depth)))
n... | 13321 | (ns ^{:author "<NAME>"}
chapter-4.chapter-4-q3)
(defn list-of-depths-helper [node depth]
(if (some? node)
(merge-with concat
{depth (list (:data node))}
(list-of-depths-helper (:left node) (inc depth))
(list-of-depths-helper (:right node) (inc depth)))
nil))
... | true | (ns ^{:author "PI:NAME:<NAME>END_PI"}
chapter-4.chapter-4-q3)
(defn list-of-depths-helper [node depth]
(if (some? node)
(merge-with concat
{depth (list (:data node))}
(list-of-depths-helper (:left node) (inc depth))
(list-of-depths-helper (:right node) (inc depth... |
[
{
"context": "! *unchecked-math* :warn-on-boxed)\n(ns ^{:author \"wahpenayo at gmail dot com\" \n :since \"2017-11-10\"\n :date \"2017-11-",
"end": 113,
"score": 0.8058697581291199,
"start": 87,
"tag": "EMAIL",
"value": "wahpenayo at gmail dot com"
}
] | src/scripts/clojure/taiga/scripts/quantiles/all.clj | wahpenayo/taiga | 4 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "wahpenayo at gmail dot com"
:since "2017-11-10"
:date "2017-11-15"
:doc "Complete data generation, train, test."}
taiga.scripts.quantiles.all
(:require [zana.api :as z]
[taiga.scripts.quan... | 70526 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "<EMAIL>"
:since "2017-11-10"
:date "2017-11-15"
:doc "Complete data generation, train, test."}
taiga.scripts.quantiles.all
(:require [zana.api :as z]
[taiga.scripts.quantiles.defs :as defs... | true | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "PI:EMAIL:<EMAIL>END_PI"
:since "2017-11-10"
:date "2017-11-15"
:doc "Complete data generation, train, test."}
taiga.scripts.quantiles.all
(:require [zana.api :as z]
[taiga.scripts.quantile... |
[
{
"context": "\"Namn pΓ₯ finska\"}\n \"name-localized.se\"\n {:fi \"Nimi ruotsiksi\" :en \"Swedish name\" :se \"Namn pΓ₯ svenska\"}\n \"ma",
"end": 1657,
"score": 0.9986452460289001,
"start": 1643,
"tag": "NAME",
"value": "Nimi ruotsiksi"
},
{
"context": "e \"Namn pΓ₯ svenska\"}\n... | webapp/src/cljc/lipas/reports.cljc | lipas-liikuntapaikat/lipas | 49 | (ns lipas.reports
(:require
[lipas.utils :as utils]
[lipas.data.prop-types :as prop-types]))
(defn- all-energy-data-exists? [{:keys [energy-consumption]}]
(let [{:keys [electricity-mwh heat-mwh water-m3]} energy-consumption]
(and
(some? electricity-mwh)
(some? heat-mwh)
(some? water-m3))))... | 52614 | (ns lipas.reports
(:require
[lipas.utils :as utils]
[lipas.data.prop-types :as prop-types]))
(defn- all-energy-data-exists? [{:keys [energy-consumption]}]
(let [{:keys [electricity-mwh heat-mwh water-m3]} energy-consumption]
(and
(some? electricity-mwh)
(some? heat-mwh)
(some? water-m3))))... | true | (ns lipas.reports
(:require
[lipas.utils :as utils]
[lipas.data.prop-types :as prop-types]))
(defn- all-energy-data-exists? [{:keys [energy-consumption]}]
(let [{:keys [electricity-mwh heat-mwh water-m3]} energy-consumption]
(and
(some? electricity-mwh)
(some? heat-mwh)
(some? water-m3))))... |
[
{
"context": "po/\"\n :authentication {:username \"zcaudate\"\n :password \"hel",
"end": 3936,
"score": 0.9996137022972107,
"start": 3928,
"tag": "USERNAME",
"value": "zcaudate"
},
{
"context": "ate\"\n ... | test/lucid/aether_test.clj | willcohen/lucidity | 3 | (ns lucid.aether-test
(:use hara.test)
(:require [lucid.aether :refer :all]))
^{:refer lucid.aether/resolve-hierarchy :added "1.1"}
(fact " shows the dependency hierachy for all packages"
(resolve-hierarchy '[midje "1.6.3"])
=> '{[midje/midje "1.6.3"]
[{[ordered/ordered "1.2.0"] []}
{[org.clo... | 63126 | (ns lucid.aether-test
(:use hara.test)
(:require [lucid.aether :refer :all]))
^{:refer lucid.aether/resolve-hierarchy :added "1.1"}
(fact " shows the dependency hierachy for all packages"
(resolve-hierarchy '[midje "1.6.3"])
=> '{[midje/midje "1.6.3"]
[{[ordered/ordered "1.2.0"] []}
{[org.clo... | true | (ns lucid.aether-test
(:use hara.test)
(:require [lucid.aether :refer :all]))
^{:refer lucid.aether/resolve-hierarchy :added "1.1"}
(fact " shows the dependency hierachy for all packages"
(resolve-hierarchy '[midje "1.6.3"])
=> '{[midje/midje "1.6.3"]
[{[ordered/ordered "1.2.0"] []}
{[org.clo... |
[
{
"context": "-value-pairs [:id :surname :year :group_id] [\"1\" \"Ivanov\" \"1996\"])\n;; => (:id \"1\" :surname \"Ivanov\" :year ",
"end": 525,
"score": 0.9963240623474121,
"start": 519,
"tag": "NAME",
"value": "Ivanov"
},
{
"context": "] [\"1\" \"Ivanov\" \"1996\"])\n;; => (:id \"... | 1st_week/task01/src/csvdb/core.clj | Seryiza/clojurecourse-soulutions | 0 | (ns csvdb.core
(:require [clojure-csv.core :as csv]))
(defn- parse-int [int-str]
(Integer/parseInt int-str))
(def student-tbl (csv/parse-csv (slurp "student.csv")))
(def subject-tbl (csv/parse-csv (slurp "subject.csv")))
(def student-subject-tbl (csv/parse-csv (slurp "student_subject.csv")))
;; (table-keys stud... | 15426 | (ns csvdb.core
(:require [clojure-csv.core :as csv]))
(defn- parse-int [int-str]
(Integer/parseInt int-str))
(def student-tbl (csv/parse-csv (slurp "student.csv")))
(def subject-tbl (csv/parse-csv (slurp "subject.csv")))
(def student-subject-tbl (csv/parse-csv (slurp "student_subject.csv")))
;; (table-keys stud... | true | (ns csvdb.core
(:require [clojure-csv.core :as csv]))
(defn- parse-int [int-str]
(Integer/parseInt int-str))
(def student-tbl (csv/parse-csv (slurp "student.csv")))
(def subject-tbl (csv/parse-csv (slurp "subject.csv")))
(def student-subject-tbl (csv/parse-csv (slurp "student_subject.csv")))
;; (table-keys stud... |
[
{
"context": "deftest can-get-hello\n (is (= (get-hello {:name \"Friboo\"} nil nil)\n {:status 200\n :head",
"end": 226,
"score": 0.8567919135093689,
"start": 220,
"tag": "NAME",
"value": "Friboo"
},
{
"context": "ication/json\"}\n :body {:message \"Hel... | resources/leiningen/new/friboo/api_test.clj | dryewo/friboo-template | 0 | (ns {{namespace}}.api-test
(:require
[clojure.test :refer :all]
[{{namespace}}.db :as db]
[{{namespace}}.api :refer :all]
[midje.sweet :refer :all]))
(deftest can-get-hello
(is (= (get-hello {:name "Friboo"} nil nil)
{:status 200
:headers {"Content-Type" "application/json"}
... | 43187 | (ns {{namespace}}.api-test
(:require
[clojure.test :refer :all]
[{{namespace}}.db :as db]
[{{namespace}}.api :refer :all]
[midje.sweet :refer :all]))
(deftest can-get-hello
(is (= (get-hello {:name "<NAME>"} nil nil)
{:status 200
:headers {"Content-Type" "application/json"}
... | true | (ns {{namespace}}.api-test
(:require
[clojure.test :refer :all]
[{{namespace}}.db :as db]
[{{namespace}}.api :refer :all]
[midje.sweet :refer :all]))
(deftest can-get-hello
(is (= (get-hello {:name "PI:NAME:<NAME>END_PI"} nil nil)
{:status 200
:headers {"Content-Type" "applicati... |
[
{
"context": "nse.\n;;\n;; This is a derivative work, modified by Edward Ross.\n;; The modifications are Copyright 2012 Edward ",
"end": 659,
"score": 0.9995584487915039,
"start": 648,
"tag": "NAME",
"value": "Edward Ross"
},
{
"context": "ard Ross.\n;; The modifications are Copyr... | src/leiningen/antlr4.clj | eddingtonross/lein-antlr4 | 0 | ;; Copyright 2010 Revelytix, 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 agr... | 80839 | ;; Copyright 2010 Revelytix, 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 agr... | true | ;; Copyright 2010 Revelytix, 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 agr... |
[
{
"context": "\n (* 0.1 (sin-osc freq)))\"\n contributed-by \"Sam Aaron\"))\n\n(defexamples dbrown\n (:rand-walk\n \"Random ",
"end": 1225,
"score": 0.9998767375946045,
"start": 1216,
"tag": "NAME",
"value": "Sam Aaron"
},
{
"context": "\n (* 0.1 (sin-osc freq)))\"\n c... | src/overtone/sc/examples/demand.clj | rosejn/overtone | 4 | (ns overtone.sc.examples.demand
(:use [overtone.sc.machinery defexample]
[overtone.sc ugens]
[overtone.sc.cgens demand]))
(defexamples dibrown
(:rand-walk
"Random whole number walk through freqs with rate determined by mouse-x"
"Here we use dibrown to create an infinite sequence of values bet... | 37282 | (ns overtone.sc.examples.demand
(:use [overtone.sc.machinery defexample]
[overtone.sc ugens]
[overtone.sc.cgens demand]))
(defexamples dibrown
(:rand-walk
"Random whole number walk through freqs with rate determined by mouse-x"
"Here we use dibrown to create an infinite sequence of values bet... | true | (ns overtone.sc.examples.demand
(:use [overtone.sc.machinery defexample]
[overtone.sc ugens]
[overtone.sc.cgens demand]))
(defexamples dibrown
(:rand-walk
"Random whole number walk through freqs with rate determined by mouse-x"
"Here we use dibrown to create an infinite sequence of values bet... |
[
{
"context": "[n]\n (partition-all n))\n\n(def base {:first-name :jim :second-name :spence :amount 100 :ccy :usd})\n\n(de",
"end": 178,
"score": 0.997154951095581,
"start": 175,
"tag": "NAME",
"value": "jim"
},
{
"context": "ll n))\n\n(def base {:first-name :jim :second-name :spence... | src/whopper/elasticsearch.clj | madmacfrosty/whopper | 0 | (ns whopper.elasticsearch
(:require [clojure.data.json :as json]
[whopper.generator :as gen]))
(defn batch
[n]
(partition-all n))
(def base {:first-name :jim :second-name :spence :amount 100 :ccy :usd})
(def id (atom 0))
(defn tx-id
[]
(str (swap! id inc)))
(defn add-type
[m t]
(map json/... | 87420 | (ns whopper.elasticsearch
(:require [clojure.data.json :as json]
[whopper.generator :as gen]))
(defn batch
[n]
(partition-all n))
(def base {:first-name :<NAME> :second-name :<NAME> :amount 100 :ccy :usd})
(def id (atom 0))
(defn tx-id
[]
(str (swap! id inc)))
(defn add-type
[m t]
(map js... | true | (ns whopper.elasticsearch
(:require [clojure.data.json :as json]
[whopper.generator :as gen]))
(defn batch
[n]
(partition-all n))
(def base {:first-name :PI:NAME:<NAME>END_PI :second-name :PI:NAME:<NAME>END_PI :amount 100 :ccy :usd})
(def id (atom 0))
(defn tx-id
[]
(str (swap! id inc)))
(def... |
[
{
"context": "kv-store *api*)\n [{:crux.db/id :a1 :user/name \"patrik\" :user/post 1 :post/cost 30}\n {:crux.db/id",
"end": 379,
"score": 0.6287389993667603,
"start": 376,
"tag": "USERNAME",
"value": "pat"
},
{
"context": "store *api*)\n [{:crux.db/id :a1 :user/name \"patri... | test/crux/decorators/aggregation_test.clj | keesterbrugge/crux | 0 | (ns crux.decorators.aggregation-test
(:require [crux.decorators.aggregation.alpha :as aggr]
[crux.fixtures :as f :refer [*api*]]
[crux.api :as api]
[clojure.test :as t]))
(t/use-fixtures :each f/with-standalone-system)
(t/deftest test-count-aggregation
(f/transact-entity-maps!
... | 35687 | (ns crux.decorators.aggregation-test
(:require [crux.decorators.aggregation.alpha :as aggr]
[crux.fixtures :as f :refer [*api*]]
[crux.api :as api]
[clojure.test :as t]))
(t/use-fixtures :each f/with-standalone-system)
(t/deftest test-count-aggregation
(f/transact-entity-maps!
... | true | (ns crux.decorators.aggregation-test
(:require [crux.decorators.aggregation.alpha :as aggr]
[crux.fixtures :as f :refer [*api*]]
[crux.api :as api]
[clojure.test :as t]))
(t/use-fixtures :each f/with-standalone-system)
(t/deftest test-count-aggregation
(f/transact-entity-maps!
... |
[
{
"context": "47c68c581362de8\"\n whirlpool \"d4b3ad3619bc70157376c5426b558dbdad30654cf441ab21d7c08e993873256becc80f32448d0218d5b1aab30bf4209e20e3928df002d3cbcfbe501a184680a8\")))\n",
"end": 3329,
"score": 0.9888800978660583,
"start": 3209,
"tag": "KEY",
"value": "19bc70157376c5... | test/pandect/hash_test.clj | projetoeureka/pandect | 0 | (ns pandect.hash-test
(:import java.io.File)
(:require [clojure.test :refer :all]
[pandect.core :refer :all]
[clojure.java.io :as io]))
(def test-string "Hello World!")
(let [inputs {:string identity
:bytes #(.getBytes ^String % "UTF-8")
:stream #(java.io.Byte... | 42771 | (ns pandect.hash-test
(:import java.io.File)
(:require [clojure.test :refer :all]
[pandect.core :refer :all]
[clojure.java.io :as io]))
(def test-string "Hello World!")
(let [inputs {:string identity
:bytes #(.getBytes ^String % "UTF-8")
:stream #(java.io.Byte... | true | (ns pandect.hash-test
(:import java.io.File)
(:require [clojure.test :refer :all]
[pandect.core :refer :all]
[clojure.java.io :as io]))
(def test-string "Hello World!")
(let [inputs {:string identity
:bytes #(.getBytes ^String % "UTF-8")
:stream #(java.io.Byte... |
[
{
"context": "s/document.getElementById \"app\"))\n \"<h1>Hello Chestnut!</h1>\")\n",
"end": 125,
"score": 0.8140649199485779,
"start": 117,
"tag": "NAME",
"value": "Chestnut"
}
] | src/cljs/clojagar/core.cljs | lpan/clojagar | 0 | (ns clojagar.core)
(enable-console-print!)
(set! (.-innerHTML (js/document.getElementById "app"))
"<h1>Hello Chestnut!</h1>")
| 72129 | (ns clojagar.core)
(enable-console-print!)
(set! (.-innerHTML (js/document.getElementById "app"))
"<h1>Hello <NAME>!</h1>")
| true | (ns clojagar.core)
(enable-console-print!)
(set! (.-innerHTML (js/document.getElementById "app"))
"<h1>Hello PI:NAME:<NAME>END_PI!</h1>")
|
[
{
"context": " 1487219645,\n :author-ident {:email-address \"z@caudate.me\",\n :name \"Chris Zheng\",\n ",
"end": 4650,
"score": 0.9999243021011353,
"start": 4638,
"tag": "EMAIL",
"value": "z@caudate.me"
},
{
"context": "dress \"z@caudate.me\",\n ... | test/documentation/lucid_git.clj | willcohen/lucidity | 3 | (ns documentation.lucid-git
(:require [lucid.git :as git]))
[[:chapter {:title "Introduction"}]]
"`lucid.git` is used to as an interface to [jgit](https://eclipse.org/jgit/).
The aims of this project are:
- self-directed exploration of the jgit library
- simple and easy to use interface
"
[[:section {:title "Ins... | 83891 | (ns documentation.lucid-git
(:require [lucid.git :as git]))
[[:chapter {:title "Introduction"}]]
"`lucid.git` is used to as an interface to [jgit](https://eclipse.org/jgit/).
The aims of this project are:
- self-directed exploration of the jgit library
- simple and easy to use interface
"
[[:section {:title "Ins... | true | (ns documentation.lucid-git
(:require [lucid.git :as git]))
[[:chapter {:title "Introduction"}]]
"`lucid.git` is used to as an interface to [jgit](https://eclipse.org/jgit/).
The aims of this project are:
- self-directed exploration of the jgit library
- simple and easy to use interface
"
[[:section {:title "Ins... |
[
{
"context": "(comment \n re-core, Copyright 2012 Ronen Narkis, narkisr.com\n Licensed under the Apache License",
"end": 49,
"score": 0.9998823404312134,
"start": 37,
"tag": "NAME",
"value": "Ronen Narkis"
},
{
"context": "omment \n re-core, Copyright 2012 Ronen Narkis, narkisr... | src/hooks/consul.clj | celestial-ops/core | 1 | (comment
re-core, Copyright 2012 Ronen Narkis, narkisr.com
Licensed under the Apache License,
Version 2.0 (the "License") you may not use this file except in compliance with the License.
You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law... | 21274 | (comment
re-core, Copyright 2012 <NAME>, n<EMAIL>
Licensed under the Apache License,
Version 2.0 (the "License") you may not use this file except in compliance with the License.
You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agree... | true | (comment
re-core, Copyright 2012 PI:NAME:<NAME>END_PI, nPI:EMAIL:<EMAIL>END_PI
Licensed under the Apache License,
Version 2.0 (the "License") you may not use this file except in compliance with the License.
You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless requir... |
[
{
"context": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n; Copyright 2015 Xebia B.V.\n;\n; Licensed under the Apache License, Version 2",
"end": 107,
"score": 0.9699687361717224,
"start": 98,
"tag": "NAME",
"value": "Xebia B.V"
}
] | src/integration/clojure/com/xebia/visualreview/itest/run_test.clj | andstepanuk/VisualReview | 290 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright 2015 Xebia B.V.
;
; Licensed under the Apache License, Version 2.0 (the "License")
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses... | 69039 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright 2015 <NAME>.
;
; Licensed under the Apache License, Version 2.0 (the "License")
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LI... | true | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright 2015 PI:NAME:<NAME>END_PI.
;
; Licensed under the Apache License, Version 2.0 (the "License")
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.o... |
[
{
"context": "in (time/t -2 1900)\n :max (time/t -2 2100)}\n\n \"nu\"\n \"just nu\"\n (datetime 2013 2 12 4 30 00)\n\n \"i",
"end": 185,
"score": 0.6206521987915039,
"start": 183,
"tag": "NAME",
"value": "nu"
},
{
"context": "u\"\n \"just nu\"\n (datetime 2013 2 12 4 30 00)\n... | resources/languages/sv/corpus/time.clj | guivn/duckling | 922 | (
; Context map
; Tuesday Feb 12, 2013 at 4:30am is the "now" for the tests
{:reference-time (time/t -2 2013 2 12 4 30 0)
:min (time/t -2 1900)
:max (time/t -2 2100)}
"nu"
"just nu"
(datetime 2013 2 12 4 30 00)
"idag"
(datetime 2013 2 12)
"igΓ₯r"
(datetime 2013 2 11)
"imorgon"
(datetime... | 23035 | (
; Context map
; Tuesday Feb 12, 2013 at 4:30am is the "now" for the tests
{:reference-time (time/t -2 2013 2 12 4 30 0)
:min (time/t -2 1900)
:max (time/t -2 2100)}
"<NAME>"
"just nu"
(datetime 2013 2 12 4 30 00)
"<NAME>"
(datetime 2013 2 12)
"<NAME>"
(datetime 2013 2 11)
"<NAME>"
(d... | true | (
; Context map
; Tuesday Feb 12, 2013 at 4:30am is the "now" for the tests
{:reference-time (time/t -2 2013 2 12 4 30 0)
:min (time/t -2 1900)
:max (time/t -2 2100)}
"PI:NAME:<NAME>END_PI"
"just nu"
(datetime 2013 2 12 4 30 00)
"PI:NAME:<NAME>END_PI"
(datetime 2013 2 12)
"PI:NAME:<NAME>END_P... |
[
{
"context": "-cert-pem]\n (when ca-cert-pem\n (let [ts-pass (random-password 4)\n ;; insert the ca cert in th",
"end": 2788,
"score": 0.5049930810928345,
"start": 2782,
"tag": "PASSWORD",
"value": "random"
},
{
"context": "eystore\" ks-pass)\n :ssl.keystore.passw... | src/com/viooh/kafka_ssl_helper/core.clj | VIOOH/kafka-ssl-helper | 2 | ;;
;; Copyright 2019-2020 VIOOH Ltd
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed ... | 68610 | ;;
;; Copyright 2019-2020 VIOOH Ltd
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed ... | true | ;;
;; Copyright 2019-2020 VIOOH Ltd
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed ... |
[
{
"context": ";;\n;; User interface utilities\n;; @author Antonio Garrote\n;;\n\n(ns #^{:author \"Antonio Garrote <antoniogarro",
"end": 57,
"score": 0.9998941421508789,
"start": 42,
"tag": "NAME",
"value": "Antonio Garrote"
},
{
"context": "es\n;; @author Antonio Garrote\n;;\n\n(ns ... | src/clj_ml/ui.clj | bmabey/clj-ml | 7 | ;;
;; User interface utilities
;; @author Antonio Garrote
;;
(ns #^{:author "Antonio Garrote <antoniogarrote@gmail.com>"}
clj-ml.ui
"Namespace containing functions for plotting classifiers, clusterers and data sets."
(:use (clj-ml data utils clusterers)
(incanter core stats charts))
(:import (weka.clus... | 22189 | ;;
;; User interface utilities
;; @author <NAME>
;;
(ns #^{:author "<NAME> <<EMAIL>>"}
clj-ml.ui
"Namespace containing functions for plotting classifiers, clusterers and data sets."
(:use (clj-ml data utils clusterers)
(incanter core stats charts))
(:import (weka.clusterers ClusterEvaluation SimpleKMea... | true | ;;
;; User interface utilities
;; @author PI:NAME:<NAME>END_PI
;;
(ns #^{:author "PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>"}
clj-ml.ui
"Namespace containing functions for plotting classifiers, clusterers and data sets."
(:use (clj-ml data utils clusterers)
(incanter core stats charts))
(:import (w... |
[
{
"context": "tion, check for unify in ltl\n\n; Copyright (c) 2016 Burkhardt Renz, THM. All rights reserved.\n; The use and distribu",
"end": 103,
"score": 0.9998711943626404,
"start": 89,
"tag": "NAME",
"value": "Burkhardt Renz"
}
] | src/lwb/nd/swap/ltl.clj | esb-lwb/lwb | 22 | ; lwb Logic WorkBench -- Natural deduction, check for unify in ltl
; Copyright (c) 2016 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,... | 22198 | ; lwb Logic WorkBench -- Natural deduction, check for unify in ltl
; Copyright (c) 2016 <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... | true | ; lwb Logic WorkBench -- Natural deduction, check for unify in ltl
; Copyright (c) 2016 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 fa... |
[
{
"context": ";; Copyright (c) Rich Hickey and contributors. All rights reserved.\n;; The u",
"end": 30,
"score": 0.9998468160629272,
"start": 19,
"tag": "NAME",
"value": "Rich Hickey"
}
] | resources/public/js/out/cljs/core/async/impl/buffers.cljs | yuppieghost/soul-talk | 135 | ;; Copyright (c) Rich Hickey and contributors. 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... | 6385 | ;; Copyright (c) <NAME> and contributors. 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... | true | ;; Copyright (c) PI:NAME:<NAME>END_PI and contributors. All rights reserved.
;; The use and distribution terms for this software are covered by the
;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
;; which can be found in the file epl-v10.html at the root of this distribution.
;; ... |
[
{
"context": "entVector.java:153)\n(def location\n {{:x 1 :y 1} \"Nico\" {:x 1 :y 2} \"John\" {:x 2 :y 1} \"Makoto\" \n {:x ",
"end": 2036,
"score": 0.9997479915618896,
"start": 2032,
"tag": "NAME",
"value": "Nico"
},
{
"context": "\n(def location\n {{:x 1 :y 1} \"Nico\" {:x 1 :y... | Chapter 02 Code/src/chapter02/accessing.clj | PacktPublishing/Clojure-Programming-Cookbook | 14 | (ns chapter02.accessing)
(nth [1 2 3 4 5] 1)
;;=> 2
(nth '("a" "b" "c" "d" "e") 3)
;;=> "d"
(nth [1 2 3] 3)
;;=> IndexOutOfBoundsException clojure.lang.PersistentVector.arrayFor (PersistentVector.java:153)
(nth [1 2 3] 3 nil)
;;=> nil
(get {:a 1 :b 2 :c 3 :d 4 :e 5} :c)
;;=> 3
(get {:a 1 :b 2 :c 3 :d 4 :e 5} :f)
;;... | 97399 | (ns chapter02.accessing)
(nth [1 2 3 4 5] 1)
;;=> 2
(nth '("a" "b" "c" "d" "e") 3)
;;=> "d"
(nth [1 2 3] 3)
;;=> IndexOutOfBoundsException clojure.lang.PersistentVector.arrayFor (PersistentVector.java:153)
(nth [1 2 3] 3 nil)
;;=> nil
(get {:a 1 :b 2 :c 3 :d 4 :e 5} :c)
;;=> 3
(get {:a 1 :b 2 :c 3 :d 4 :e 5} :f)
;;... | true | (ns chapter02.accessing)
(nth [1 2 3 4 5] 1)
;;=> 2
(nth '("a" "b" "c" "d" "e") 3)
;;=> "d"
(nth [1 2 3] 3)
;;=> IndexOutOfBoundsException clojure.lang.PersistentVector.arrayFor (PersistentVector.java:153)
(nth [1 2 3] 3 nil)
;;=> nil
(get {:a 1 :b 2 :c 3 :d 4 :e 5} :c)
;;=> 3
(get {:a 1 :b 2 :c 3 :d 4 :e 5} :f)
;;... |
[
{
"context": " leak!\"]\n [:div {:class \"inboxnumbertext\"} \"work-email@fakemail.com\"]]]\n [:div {:class \"iteminboxdiv\"}\n [:di",
"end": 9846,
"score": 0.9998472929000854,
"start": 9823,
"tag": "EMAIL",
"value": "work-email@fakemail.com"
},
{
"context": " leak!\"]... | PROJECTNAMESPACE.PROJECTNAME/src/PROJECTNAMESPACE/PROJECTNAME/frontend/app/views.cljs | armincerf/clojure-template | 1 | (ns PROJECTNAMESPACE.PROJECTNAME.frontend.app.views
(:require
[re-frame.core :as rf]
[reagent.core :as r]
[fork.re-frame :as fork]
[PROJECTNAMESPACE.PROJECTNAME.frontend.common :as common]
[PROJECTNAMESPACE.PROJECTNAME.common :as common-shared]
[PROJECTNAMESPACE.PROJECTNAME.frontend.app.components :... | 65939 | (ns PROJECTNAMESPACE.PROJECTNAME.frontend.app.views
(:require
[re-frame.core :as rf]
[reagent.core :as r]
[fork.re-frame :as fork]
[PROJECTNAMESPACE.PROJECTNAME.frontend.common :as common]
[PROJECTNAMESPACE.PROJECTNAME.common :as common-shared]
[PROJECTNAMESPACE.PROJECTNAME.frontend.app.components :... | true | (ns PROJECTNAMESPACE.PROJECTNAME.frontend.app.views
(:require
[re-frame.core :as rf]
[reagent.core :as r]
[fork.re-frame :as fork]
[PROJECTNAMESPACE.PROJECTNAME.frontend.common :as common]
[PROJECTNAMESPACE.PROJECTNAME.common :as common-shared]
[PROJECTNAMESPACE.PROJECTNAME.frontend.app.components :... |
[
{
"context": "ro execution engines.\"\n :url \"https://github.com/xsc/claro.circuit-breaker\"\n :license {:name \"MIT Lic",
"end": 154,
"score": 0.9914443492889404,
"start": 151,
"tag": "USERNAME",
"value": "xsc"
},
{
"context": "opensource.org/licenses/MIT\"\n :author \... | project.clj | xsc/claro.circuit-breaker | 3 | (defproject claro/circuit-breaker "0.1.1-SNAPSHOT"
:description "Circuit-breaker middleware for claro execution engines."
:url "https://github.com/xsc/claro.circuit-breaker"
:license {:name "MIT License"
:url "https://opensource.org/licenses/MIT"
:author "Yannick Scherer"
:year... | 22763 | (defproject claro/circuit-breaker "0.1.1-SNAPSHOT"
:description "Circuit-breaker middleware for claro execution engines."
:url "https://github.com/xsc/claro.circuit-breaker"
:license {:name "MIT License"
:url "https://opensource.org/licenses/MIT"
:author "<NAME>"
:year 2017
... | true | (defproject claro/circuit-breaker "0.1.1-SNAPSHOT"
:description "Circuit-breaker middleware for claro execution engines."
:url "https://github.com/xsc/claro.circuit-breaker"
:license {:name "MIT License"
:url "https://opensource.org/licenses/MIT"
:author "PI:NAME:<NAME>END_PI"
... |
[
{
"context": " \";USER=GUEST;PASSWORD=guest\"))})\n\n(defmethod sql.tx/pk-sql-type :h2 [_] \"BIGI",
"end": 3039,
"score": 0.999019980430603,
"start": 3034,
"tag": "PASSWORD",
"value": "guest"
},
{
"context": "out\n \"CREATE USER IF NOT EXISTS GUEST PASSWO... | c#-metabase/test/metabase/test/data/h2.clj | hanakhry/Crime_Admin | 0 | (ns metabase.test.data.h2
"Code for creating / destroying an H2 database from a `DatabaseDefinition`."
(:require [clojure.string :as str]
[metabase.db :as mdb]
[metabase.db.spec :as dbspec]
[metabase.driver.sql.util :as sql.u]
[metabase.models.database :refer [Databas... | 37787 | (ns metabase.test.data.h2
"Code for creating / destroying an H2 database from a `DatabaseDefinition`."
(:require [clojure.string :as str]
[metabase.db :as mdb]
[metabase.db.spec :as dbspec]
[metabase.driver.sql.util :as sql.u]
[metabase.models.database :refer [Databas... | true | (ns metabase.test.data.h2
"Code for creating / destroying an H2 database from a `DatabaseDefinition`."
(:require [clojure.string :as str]
[metabase.db :as mdb]
[metabase.db.spec :as dbspec]
[metabase.driver.sql.util :as sql.u]
[metabase.models.database :refer [Databas... |
[
{
"context": "creen name\")\n (control password-field :pass \"Password\")\n (control password-field :pass1 \"Retype Pa",
"end": 995,
"score": 0.9947616457939148,
"start": 987,
"tag": "PASSWORD",
"value": "Password"
},
{
"context": "\"Password\")\n (control password-fie... | src/blog/routes/auth.clj | VukTheBeast/Blog | 0 | (ns blog.routes.auth
(:require [compojure.core :refer [defroutes GET POST]]
[blog.views.admin :as admin]
[blog.views.layout :as layout]
[hiccup.form :refer
[form-to label text-field password-field submit-button]]
[noir.response :refer [redirect]]
... | 5514 | (ns blog.routes.auth
(:require [compojure.core :refer [defroutes GET POST]]
[blog.views.admin :as admin]
[blog.views.layout :as layout]
[hiccup.form :refer
[form-to label text-field password-field submit-button]]
[noir.response :refer [redirect]]
... | true | (ns blog.routes.auth
(:require [compojure.core :refer [defroutes GET POST]]
[blog.views.admin :as admin]
[blog.views.layout :as layout]
[hiccup.form :refer
[form-to label text-field password-field submit-button]]
[noir.response :refer [redirect]]
... |
[
{
"context": "\"+egg +bacon -spam\" \"id:\\\"2019/12\\\"\" \"applicant:\\\"alice@example.com\\\"\"\n \"resource:\\\"urn:fi:abcd\\\"\"]\n (",
"end": 2415,
"score": 0.9999078512191772,
"start": 2398,
"tag": "EMAIL",
"value": "alice@example.com"
}
] | src/cljs/rems/search.cljs | ossilva/rems | 0 | (ns rems.search
(:require [reagent.core :as r]
[rems.atoms :refer [close-symbol]]
[rems.spinner :as spinner]
[rems.text :refer [text]]
[rems.util :refer [fetch focus-when-collapse-opened]]))
(defn search-field [{:keys [id on-search searching? info]}]
(let [input-valu... | 124995 | (ns rems.search
(:require [reagent.core :as r]
[rems.atoms :refer [close-symbol]]
[rems.spinner :as spinner]
[rems.text :refer [text]]
[rems.util :refer [fetch focus-when-collapse-opened]]))
(defn search-field [{:keys [id on-search searching? info]}]
(let [input-valu... | true | (ns rems.search
(:require [reagent.core :as r]
[rems.atoms :refer [close-symbol]]
[rems.spinner :as spinner]
[rems.text :refer [text]]
[rems.util :refer [fetch focus-when-collapse-opened]]))
(defn search-field [{:keys [id on-search searching? info]}]
(let [input-valu... |
[
{
"context": " \"User-Agent\" \"CrossRefDOICheckerBot (labs@crossref.org)\"}}))]\n (let [doi-urls (set (conj (-> @resul",
"end": 7152,
"score": 0.9998480677604675,
"start": 7135,
"tag": "EMAIL",
"value": "labs@crossref.org"
},
{
"context": " \"User-Agent... | src/event_data_reverse/lookup.clj | VladimirAlexiev/event-data-reverse | 6 | (ns event-data-reverse.lookup
(:require [event-data-reverse.structured-extraction :as structured-extraction]
[event-data-reverse.unstructured-extraction :as unstructured-extraction])
(:require [crossref.util.doi :as crdoi])
(:require [clojure.string :as string])
(:require [clojure.tools.logging :ref... | 80536 | (ns event-data-reverse.lookup
(:require [event-data-reverse.structured-extraction :as structured-extraction]
[event-data-reverse.unstructured-extraction :as unstructured-extraction])
(:require [crossref.util.doi :as crdoi])
(:require [clojure.string :as string])
(:require [clojure.tools.logging :ref... | true | (ns event-data-reverse.lookup
(:require [event-data-reverse.structured-extraction :as structured-extraction]
[event-data-reverse.unstructured-extraction :as unstructured-extraction])
(:require [crossref.util.doi :as crdoi])
(:require [clojure.string :as string])
(:require [clojure.tools.logging :ref... |
[
{
"context": " kandan-client (kandan-api/make-client api-key \"http://localhost:3000/remote/faye\")\n channels (:kandan-channels uti",
"end": 3565,
"score": 0.9385260343551636,
"start": 3532,
"tag": "KEY",
"value": "http://localhost:3000/remote/faye"
}
] | src/omchaya/core.cljs | sgrove/omchaya | 66 | (ns omchaya.core
(:require [cljs.core.async :as async :refer [>! <! alts! chan sliding-buffer put! close!]]
[clojure.string :as string]
[dommy.core :as dommy]
[omchaya.api.mock :as api]
[omchaya.components.app :as app]
[omchaya.controllers.controls :as contr... | 45608 | (ns omchaya.core
(:require [cljs.core.async :as async :refer [>! <! alts! chan sliding-buffer put! close!]]
[clojure.string :as string]
[dommy.core :as dommy]
[omchaya.api.mock :as api]
[omchaya.components.app :as app]
[omchaya.controllers.controls :as contr... | true | (ns omchaya.core
(:require [cljs.core.async :as async :refer [>! <! alts! chan sliding-buffer put! close!]]
[clojure.string :as string]
[dommy.core :as dommy]
[omchaya.api.mock :as api]
[omchaya.components.app :as app]
[omchaya.controllers.controls :as contr... |
[
{
"context": "))\n\n(def sample-input (str \"SSL_KEYSTORE_PASSWORD=keypass1234\\n\"\n \"SSL_TRUSTSTORE_PASSWORD=",
"end": 250,
"score": 0.9982037544250488,
"start": 237,
"tag": "PASSWORD",
"value": "keypass1234\\n"
},
{
"context": "\"\n \"S... | test/kpow/secure_test.clj | operatr-io/kpow-secure | 3 | (ns kpow.secure-test
(:require [clojure.test :refer [deftest is testing]]
[kpow.secure :as secure]
[kpow.secure.key :as key])
(:import (io.kpow.secure Decoder)))
(def sample-input (str "SSL_KEYSTORE_PASSWORD=keypass1234\n"
"SSL_TRUSTSTORE_PASSWORD=trustpass1234"))
(d... | 100142 | (ns kpow.secure-test
(:require [clojure.test :refer [deftest is testing]]
[kpow.secure :as secure]
[kpow.secure.key :as key])
(:import (io.kpow.secure Decoder)))
(def sample-input (str "SSL_KEYSTORE_PASSWORD=<PASSWORD>"
"SSL_TRUSTSTORE_PASSWORD=<PASSWORD>"))
(deftest... | true | (ns kpow.secure-test
(:require [clojure.test :refer [deftest is testing]]
[kpow.secure :as secure]
[kpow.secure.key :as key])
(:import (io.kpow.secure Decoder)))
(def sample-input (str "SSL_KEYSTORE_PASSWORD=PI:PASSWORD:<PASSWORD>END_PI"
"SSL_TRUSTSTORE_PASSWORD=PI:PA... |
[
{
"context": "rmat-simple-type-edn holiday))\n\n\n;; Copyright 2018 Frederic Merizen\n;;\n;; Licensed under the Apache License, Version ",
"end": 17094,
"score": 0.9998658299446106,
"start": 17078,
"tag": "NAME",
"value": "Frederic Merizen"
}
] | src/ferje/config/edn.clj | chourave/clojyday | 0 | ;; Copyright and license information at end of file
(ns ferje.config.edn
(:require
[clojure.spec.alpha :as s]
[ferje.config.core :as config]
[ferje.config.raw :as raw]
[ferje.place :as place])
(:import
(de.jollyday.datasource ConfigurationDataSource)
(de.jollyday.parameter BaseManagerParameter ... | 48773 | ;; Copyright and license information at end of file
(ns ferje.config.edn
(:require
[clojure.spec.alpha :as s]
[ferje.config.core :as config]
[ferje.config.raw :as raw]
[ferje.place :as place])
(:import
(de.jollyday.datasource ConfigurationDataSource)
(de.jollyday.parameter BaseManagerParameter ... | true | ;; Copyright and license information at end of file
(ns ferje.config.edn
(:require
[clojure.spec.alpha :as s]
[ferje.config.core :as config]
[ferje.config.raw :as raw]
[ferje.place :as place])
(:import
(de.jollyday.datasource ConfigurationDataSource)
(de.jollyday.parameter BaseManagerParameter ... |
[
{
"context": "find [?x]\n :where [[?x :vcard/FN \"John Smith\"]]})\n (sparql/sparql->datalog\n ",
"end": 429,
"score": 0.9994014501571655,
"start": 419,
"tag": "NAME",
"value": "John Smith"
},
{
"context": " ?x <http://www.w3.org/2001/vcard-rdf/3.0#... | crux-rdf/test/crux/sparql_test.clj | neuromantik33/crux | 0 | (ns crux.sparql-test
(:require [clojure.test :as t]
[clojure.java.io :as io]
[crux.io :as cio]
[crux.rdf :as rdf]
[crux.sparql :as sparql]))
(t/deftest test-can-parse-sparql-to-datalog
(t/testing "Apacha Jena Tutorial"
(t/is (= (rdf/with-prefix {:vcard "http://ww... | 40615 | (ns crux.sparql-test
(:require [clojure.test :as t]
[clojure.java.io :as io]
[crux.io :as cio]
[crux.rdf :as rdf]
[crux.sparql :as sparql]))
(t/deftest test-can-parse-sparql-to-datalog
(t/testing "Apacha Jena Tutorial"
(t/is (= (rdf/with-prefix {:vcard "http://ww... | true | (ns crux.sparql-test
(:require [clojure.test :as t]
[clojure.java.io :as io]
[crux.io :as cio]
[crux.rdf :as rdf]
[crux.sparql :as sparql]))
(t/deftest test-can-parse-sparql-to-datalog
(t/testing "Apacha Jena Tutorial"
(t/is (= (rdf/with-prefix {:vcard "http://ww... |
[
{
"context": " :private-key-password \"Password\"\n :agent-forwa",
"end": 1725,
"score": 0.9989977478981018,
"start": 1717,
"tag": "PASSWORD",
"value": "Password"
}
] | test/org/zalando/stups/even/ssh_test.clj | zalando-stups/even | 43 | (ns org.zalando.stups.even.ssh-test
(:require
[clojure.test :refer :all]
[org.zalando.stups.even.ssh :refer :all]
[clj-ssh.ssh :refer :all]
[clojure.java.io :as io]
[clojure.string :as str])
(:import (org.testcontainers.images.builder ImageFromDockerfile)
(org.testcontainers.container... | 103674 | (ns org.zalando.stups.even.ssh-test
(:require
[clojure.test :refer :all]
[org.zalando.stups.even.ssh :refer :all]
[clj-ssh.ssh :refer :all]
[clojure.java.io :as io]
[clojure.string :as str])
(:import (org.testcontainers.images.builder ImageFromDockerfile)
(org.testcontainers.container... | true | (ns org.zalando.stups.even.ssh-test
(:require
[clojure.test :refer :all]
[org.zalando.stups.even.ssh :refer :all]
[clj-ssh.ssh :refer :all]
[clojure.java.io :as io]
[clojure.string :as str])
(:import (org.testcontainers.images.builder ImageFromDockerfile)
(org.testcontainers.container... |
[
{
"context": "all]))\n\n\n(defn setup\n []\n (h/create-test-user! \"success+2@simulator.amazonses.com\" \"Test\" #{:customer :admin})\n (h/create-test-use",
"end": 315,
"score": 0.9999278783798218,
"start": 282,
"tag": "EMAIL",
"value": "success+2@simulator.amazonses.com"
},
{
"co... | api/test/feature/flow/command/add_user_test.clj | kgxsz/flow | 0 | (ns flow.command.add-user-test
(:require [flow.core :refer :all]
[flow.entity.authorisation :as authorisation]
[flow.entity.user :as user]
[flow.helpers :as h]
[clojure.test :refer :all]))
(defn setup
[]
(h/create-test-user! "success+2@simulator.amazonses.com" "Te... | 28320 | (ns flow.command.add-user-test
(:require [flow.core :refer :all]
[flow.entity.authorisation :as authorisation]
[flow.entity.user :as user]
[flow.helpers :as h]
[clojure.test :refer :all]))
(defn setup
[]
(h/create-test-user! "<EMAIL>" "Test" #{:customer :admin})
... | true | (ns flow.command.add-user-test
(:require [flow.core :refer :all]
[flow.entity.authorisation :as authorisation]
[flow.entity.user :as user]
[flow.helpers :as h]
[clojure.test :refer :all]))
(defn setup
[]
(h/create-test-user! "PI:EMAIL:<EMAIL>END_PI" "Test" #{:cust... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.