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": "without needing to duplicate them\"\n :author \"Sam Aaron\"}\n overtone.libs.asset\n (:use [clojure.java.io ",
"end": 381,
"score": 0.9998889565467834,
"start": 372,
"tag": "NAME",
"value": "Sam Aaron"
}
] | src/overtone/libs/asset.clj | rosejn/overtone | 4 | (ns
^{:doc "A simple local file system-cached asset management system. Assets
are specified as URLs which are then cached by being copied to a
centralised place in the file system if not already there. This
allows assets to be shared by multiple projects on the same system
... | 56300 | (ns
^{:doc "A simple local file system-cached asset management system. Assets
are specified as URLs which are then cached by being copied to a
centralised place in the file system if not already there. This
allows assets to be shared by multiple projects on the same system
... | true | (ns
^{:doc "A simple local file system-cached asset management system. Assets
are specified as URLs which are then cached by being copied to a
centralised place in the file system if not already there. This
allows assets to be shared by multiple projects on the same system
... |
[
{
"context": "lurp \"test/ca_cert.edn\"))))\n\n(def ca-key (gen-key 65537 (read-string (slurp \"test/ca_key.edn\"))))\n\n(def s",
"end": 1386,
"score": 0.9744812846183777,
"start": 1381,
"tag": "KEY",
"value": "65537"
},
{
"context": "st/server_cert.edn\"))))\n\n(def server-key (gen-... | test/aleph/tcp_ssl_test.clj | 7theta/aleph | 0 | (ns aleph.tcp-ssl-test
(:use
[clojure test])
(:require [aleph.tcp-test :refer [with-server]]
[aleph.tcp :as tcp]
[aleph.netty :as netty]
[manifold.stream :as s]
[byte-streams.core :as bs])
(:import
[java.security KeyFactory PrivateKey]
[java.security.cert CertificateFactory X509Certifica... | 80374 | (ns aleph.tcp-ssl-test
(:use
[clojure test])
(:require [aleph.tcp-test :refer [with-server]]
[aleph.tcp :as tcp]
[aleph.netty :as netty]
[manifold.stream :as s]
[byte-streams.core :as bs])
(:import
[java.security KeyFactory PrivateKey]
[java.security.cert CertificateFactory X509Certifica... | true | (ns aleph.tcp-ssl-test
(:use
[clojure test])
(:require [aleph.tcp-test :refer [with-server]]
[aleph.tcp :as tcp]
[aleph.netty :as netty]
[manifold.stream :as s]
[byte-streams.core :as bs])
(:import
[java.security KeyFactory PrivateKey]
[java.security.cert CertificateFactory X509Certifica... |
[
{
"context": "gent\",\n \"name\" \"xAPI mbox\",\n \"mbox\" \"mailto:xapi@adlnet.gov\"},\n \"verb\"\n {\"id\" \"http://adlnet.gov/expapi/v",
"end": 1025,
"score": 0.9996930360794067,
"start": 1010,
"tag": "EMAIL",
"value": "xapi@adlnet.gov"
},
{
"context": "hments\"\n [sig... | src/test/com/yetanalytics/lrs/pedestal/interceptor/xapi/statements/attachment_test.cljc | yetanalytics/lrs | 1 | (ns com.yetanalytics.lrs.pedestal.interceptor.xapi.statements.attachment-test
(:require [clojure.test :refer [deftest testing is] :include-macros true]
[clojure.spec.test.alpha :as stest :include-macros true]
[com.yetanalytics.test-support :refer [failures stc-opts]]
[com.yetanalyt... | 88786 | (ns com.yetanalytics.lrs.pedestal.interceptor.xapi.statements.attachment-test
(:require [clojure.test :refer [deftest testing is] :include-macros true]
[clojure.spec.test.alpha :as stest :include-macros true]
[com.yetanalytics.test-support :refer [failures stc-opts]]
[com.yetanalyt... | true | (ns com.yetanalytics.lrs.pedestal.interceptor.xapi.statements.attachment-test
(:require [clojure.test :refer [deftest testing is] :include-macros true]
[clojure.spec.test.alpha :as stest :include-macros true]
[com.yetanalytics.test-support :refer [failures stc-opts]]
[com.yetanalyt... |
[
{
"context": " (is (= [\"Email to <https://site.com/customers?q=arthur@dent.com|arthur@dent.com> from support@site.com was reject",
"end": 608,
"score": 0.9996117949485779,
"start": 593,
"tag": "EMAIL",
"value": "arthur@dent.com"
},
{
"context": " to <https://site.com/customers?q=ar... | test/slack_hooks/service/mandrill_test.clj | papertrail/slack-hooks | 15 | (ns slack-hooks.service.mandrill-test
(:use clojure.test)
(:require [slack-hooks.service.mandrill :as mandrill]
[clojure.data.json :as json]))
(deftest formatted-message-test
(with-redefs [mandrill/customer-search-base-url "https://site.com/customers?q="]
(testing "Formatting a rejected Mandrill ... | 30786 | (ns slack-hooks.service.mandrill-test
(:use clojure.test)
(:require [slack-hooks.service.mandrill :as mandrill]
[clojure.data.json :as json]))
(deftest formatted-message-test
(with-redefs [mandrill/customer-search-base-url "https://site.com/customers?q="]
(testing "Formatting a rejected Mandrill ... | true | (ns slack-hooks.service.mandrill-test
(:use clojure.test)
(:require [slack-hooks.service.mandrill :as mandrill]
[clojure.data.json :as json]))
(deftest formatted-message-test
(with-redefs [mandrill/customer-search-base-url "https://site.com/customers?q="]
(testing "Formatting a rejected Mandrill ... |
[
{
"context": " [[:type-code \"Tyyppikoodi\"]\n [:name \"Nimi\"]\n [:main-category \"Pääluokka\"]\n ",
"end": 9671,
"score": 0.946590781211853,
"start": 9667,
"tag": "NAME",
"value": "Nimi"
},
{
"context": " :on-click #(==> [::events/edit-user [:email] \... | webapp/src/cljs/lipas/ui/admin/views.cljs | lipas-liikuntapaikat/lipas | 49 | (ns lipas.ui.admin.views
(:require
[clojure.spec.alpha :as s]
[lipas.data.styles :as styles]
[lipas.ui.admin.events :as events]
[lipas.ui.admin.subs :as subs]
[lipas.ui.components :as lui]
[lipas.ui.mui :as mui]
[lipas.ui.utils :refer [<== ==>] :as utils]))
(defn magic-link-dialog [{:keys [tr]}]... | 23193 | (ns lipas.ui.admin.views
(:require
[clojure.spec.alpha :as s]
[lipas.data.styles :as styles]
[lipas.ui.admin.events :as events]
[lipas.ui.admin.subs :as subs]
[lipas.ui.components :as lui]
[lipas.ui.mui :as mui]
[lipas.ui.utils :refer [<== ==>] :as utils]))
(defn magic-link-dialog [{:keys [tr]}]... | true | (ns lipas.ui.admin.views
(:require
[clojure.spec.alpha :as s]
[lipas.data.styles :as styles]
[lipas.ui.admin.events :as events]
[lipas.ui.admin.subs :as subs]
[lipas.ui.components :as lui]
[lipas.ui.mui :as mui]
[lipas.ui.utils :refer [<== ==>] :as utils]))
(defn magic-link-dialog [{:keys [tr]}]... |
[
{
"context": "t [fd (select-api-version 520)\n key \\\"foo\\\"\n value \\\"bar\\\"]\n (with-open [db (open",
"end": 1860,
"score": 0.7748504281044006,
"start": 1857,
"tag": "KEY",
"value": "foo"
},
{
"context": " (let [fd (select-api-version 520)\n key \... | src/clj_foundationdb/core.clj | tirkarthi/clj-foundationdb | 16 | (ns clj-foundationdb.core
(:require [clojure.spec.alpha :as spec]
[clj-foundationdb.utils :refer :all])
(:import (com.apple.foundationdb Database
FDB
Range
KeySelector
... | 119345 | (ns clj-foundationdb.core
(:require [clojure.spec.alpha :as spec]
[clj-foundationdb.utils :refer :all])
(:import (com.apple.foundationdb Database
FDB
Range
KeySelector
... | true | (ns clj-foundationdb.core
(:require [clojure.spec.alpha :as spec]
[clj-foundationdb.utils :refer :all])
(:import (com.apple.foundationdb Database
FDB
Range
KeySelector
... |
[
{
"context": "lojure.\"))\n args))\n\n;; https://github.com/bhb/expound/issues/8\n(deftest expound-output-ends-in-",
"end": 1341,
"score": 0.9994348883628845,
"start": 1338,
"tag": "USERNAME",
"value": "bhb"
},
{
"context": " (expound/expound-str :and-spec/names [\"bob\" ... | data/test/clojure/84c700e06159320f16617b4e09ac4babe4c7a11dalpha_test.cljc | harshp8l/deep-learning-lang-detection | 84 | (ns expound.alpha-test
(:require #?@(:clj
;; just to include the specs
[[clojure.core.specs.alpha]
[ring.core.spec]
[onyx.spec]])
[clojure.spec.alpha :as s]
[clojure.spec.test.alpha :as st]
[clojure.string :as string... | 30190 | (ns expound.alpha-test
(:require #?@(:clj
;; just to include the specs
[[clojure.core.specs.alpha]
[ring.core.spec]
[onyx.spec]])
[clojure.spec.alpha :as s]
[clojure.spec.test.alpha :as st]
[clojure.string :as string... | true | (ns expound.alpha-test
(:require #?@(:clj
;; just to include the specs
[[clojure.core.specs.alpha]
[ring.core.spec]
[onyx.spec]])
[clojure.spec.alpha :as s]
[clojure.spec.test.alpha :as st]
[clojure.string :as string... |
[
{
"context": ";; Copyright © 2015-2019 Esko Luontola\n;; This software is released under the Apache Lic",
"end": 38,
"score": 0.9998803734779358,
"start": 25,
"tag": "NAME",
"value": "Esko Luontola"
},
{
"context": "\"schema is missing\")\n (assert database-username \"username is mi... | src/territory_bro/gis/qgis.clj | orfjackal/territory-bro | 2 | ;; 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.gis.qgis
(:require [clojure.java.io :as io]
[clojure.string :as str]))
(def project-template (io/resource "template-ter... | 61928 | ;; 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.gis.qgis
(:require [clojure.java.io :as io]
[clojure.string :as str]))
(def project-template (io/resource "template-territorie... | 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.gis.qgis
(:require [clojure.java.io :as io]
[clojure.string :as str]))
(def project-template (io/resource "templ... |
[
{
"context": ";; Copyright (c) Stephen C. Gilardi. All rights reserved. The use and\n;; distributi",
"end": 36,
"score": 0.9998700618743896,
"start": 18,
"tag": "NAME",
"value": "Stephen C. Gilardi"
},
{
"context": ";\n;; clojure.contrib.condition.example.clj\n;;\n;; scgilardi (... | ThirdParty/clojure-contrib-1.1.0/src/clojure/contrib/condition/example.clj | allertonm/Couverjure | 3 | ;; Copyright (c) Stephen C. Gilardi. 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... | 10425 | ;; Copyright (c) <NAME>. All rights reserved. The use and
;; distribution terms for this software are covered by the Eclipse Public
;; License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) which can
;; be found in the file epl-v10.html at the root of this distribution. By
;; using this software in any fas... | true | ;; Copyright (c) PI:NAME:<NAME>END_PI. All rights reserved. The use and
;; distribution terms for this software are covered by the Eclipse Public
;; License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) which can
;; be found in the file epl-v10.html at the root of this distribution. By
;; using this softw... |
[
{
"context": "; Written by Raju\n; Run using following command\n; clojure fiboSerie",
"end": 17,
"score": 0.9998443722724915,
"start": 13,
"tag": "NAME",
"value": "Raju"
}
] | Chapter09/fiboSeries.clj | PacktPublishing/Learning-Functional-Data-Structures-and-Algorithms | 31 | ; Written by Raju
; Run using following command
; clojure fiboSeries.clj
;Fibonacci Series in Clojure
(defn fiboSeries [x y]
(lazy-seq (cons x (fiboSeries y (+ x y)))))
(println (take 5 (fiboSeries 0 1)))
(println (take 5 (fiboSeries 1 1)))
| 45216 | ; Written by <NAME>
; Run using following command
; clojure fiboSeries.clj
;Fibonacci Series in Clojure
(defn fiboSeries [x y]
(lazy-seq (cons x (fiboSeries y (+ x y)))))
(println (take 5 (fiboSeries 0 1)))
(println (take 5 (fiboSeries 1 1)))
| true | ; Written by PI:NAME:<NAME>END_PI
; Run using following command
; clojure fiboSeries.clj
;Fibonacci Series in Clojure
(defn fiboSeries [x y]
(lazy-seq (cons x (fiboSeries y (+ x y)))))
(println (take 5 (fiboSeries 0 1)))
(println (take 5 (fiboSeries 1 1)))
|
[
{
"context": "ethod-def\n {:oid \"M01\"\n :name \"foo\"\n :type :other\n :odm/descript",
"end": 644,
"score": 0.7888591885566711,
"start": 641,
"tag": "NAME",
"value": "foo"
}
] | data/train/clojure/a3d9b950460247d5f435247ee42a7e0c471502cfmethod_def_test.cljc | harshp8l/deep-learning-lang-detection | 84 | (ns odm.method-def-test
(:require
#?@(:clj
[[clojure.spec.alpha :as s]
[clojure.spec.test.alpha :as st]
[clojure.test :refer :all]
[odm-spec.test-util :refer [given-problems]]]
:cljs
[[cljs.spec.alpha :as s]
[cljs.spec.test.alpha :as st]
[cljs.t... | 31033 | (ns odm.method-def-test
(:require
#?@(:clj
[[clojure.spec.alpha :as s]
[clojure.spec.test.alpha :as st]
[clojure.test :refer :all]
[odm-spec.test-util :refer [given-problems]]]
:cljs
[[cljs.spec.alpha :as s]
[cljs.spec.test.alpha :as st]
[cljs.t... | true | (ns odm.method-def-test
(:require
#?@(:clj
[[clojure.spec.alpha :as s]
[clojure.spec.test.alpha :as st]
[clojure.test :refer :all]
[odm-spec.test-util :refer [given-problems]]]
:cljs
[[cljs.spec.alpha :as s]
[cljs.spec.test.alpha :as st]
[cljs.t... |
[
{
"context": " :family \"Doe\"}]}))\n \"Doe, \")))\n\n (testing \"with one given name\"\n (i",
"end": 3451,
"score": 0.9471195340156555,
"start": 3448,
"tag": "NAME",
"value": "Doe"
},
{
"context": "amily \"Doe\"\n :give... | modules/fhir-path/test/blaze/fhir_path_test.clj | samply/blaze | 50 | (ns blaze.fhir-path-test
"See: http://hl7.org/fhirpath/index.html"
(:refer-clojure :exclude [eval])
(:require
[blaze.fhir-path :as fhir-path]
[blaze.fhir-path-spec]
[blaze.fhir.spec :as fhir-spec]
[blaze.fhir.spec.type]
[blaze.fhir.spec.type.system :as system]
[clojure.spec.test.alpha :as ... | 23017 | (ns blaze.fhir-path-test
"See: http://hl7.org/fhirpath/index.html"
(:refer-clojure :exclude [eval])
(:require
[blaze.fhir-path :as fhir-path]
[blaze.fhir-path-spec]
[blaze.fhir.spec :as fhir-spec]
[blaze.fhir.spec.type]
[blaze.fhir.spec.type.system :as system]
[clojure.spec.test.alpha :as ... | true | (ns blaze.fhir-path-test
"See: http://hl7.org/fhirpath/index.html"
(:refer-clojure :exclude [eval])
(:require
[blaze.fhir-path :as fhir-path]
[blaze.fhir-path-spec]
[blaze.fhir.spec :as fhir-spec]
[blaze.fhir.spec.type]
[blaze.fhir.spec.type.system :as system]
[clojure.spec.test.alpha :as ... |
[
{
"context": "sers\n (let [user (u/create {:name \"Test\" :email \"user@example.com\" :password \"s3cr3t\"})]\n\n (testing \"Authenticat",
"end": 342,
"score": 0.9999211430549622,
"start": 326,
"tag": "EMAIL",
"value": "user@example.com"
},
{
"context": ":name \"Test\" :email \"u... | restful-clojure/test/restful_clojure/auth_test.clj | joaobertacchi/restful-clojure | 65 | (ns restful-clojure.auth-test
(:use clojure.test
restful-clojure.test-core)
(:require [restful-clojure.auth :as auth]
[restful-clojure.models.users :as u]
[korma.core :as sql]))
(use-fixtures :each with-rollback)
(deftest authenticating-users
(let [user (u/create {:name "Test" :e... | 121847 | (ns restful-clojure.auth-test
(:use clojure.test
restful-clojure.test-core)
(:require [restful-clojure.auth :as auth]
[restful-clojure.models.users :as u]
[korma.core :as sql]))
(use-fixtures :each with-rollback)
(deftest authenticating-users
(let [user (u/create {:name "Test" :e... | true | (ns restful-clojure.auth-test
(:use clojure.test
restful-clojure.test-core)
(:require [restful-clojure.auth :as auth]
[restful-clojure.models.users :as u]
[korma.core :as sql]))
(use-fixtures :each with-rollback)
(deftest authenticating-users
(let [user (u/create {:name "Test" :e... |
[
{
"context": ";; Copyright 2018 Chris Rink\n;;\n;; Licensed under the Apache License, Version ",
"end": 28,
"score": 0.9998311996459961,
"start": 18,
"tag": "NAME",
"value": "Chris Rink"
}
] | src/clojure/slackbot/routes/slash_command/stinkypinky.clj | chrisrink10/slackbot-clj | 0 | ;; Copyright 2018 Chris Rink
;;
;; 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... | 101264 | ;; Copyright 2018 <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 writi... | true | ;; Copyright 2018 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 agre... |
[
{
"context": "(ns maximgb.re-service.core\n {:author \"Maxim Bazhenov\"})\n\n\n(defmacro def-re-service\n \"Defines a servic",
"end": 54,
"score": 0.9998569488525391,
"start": 40,
"tag": "NAME",
"value": "Maxim Bazhenov"
}
] | src/maximgb/re_service/core.clj | MaximGB/re-service | 1 | (ns maximgb.re-service.core
{:author "Maxim Bazhenov"})
(defmacro def-re-service
"Defines a service with the given `service-id`."
[service-id]
`(register-service ~service-id))
(defmacro def-re-service-command
"Defines a command with the given `command-id` for service designated by `service-id`.
Comman... | 81971 | (ns maximgb.re-service.core
{:author "<NAME>"})
(defmacro def-re-service
"Defines a service with the given `service-id`."
[service-id]
`(register-service ~service-id))
(defmacro def-re-service-command
"Defines a command with the given `command-id` for service designated by `service-id`.
Command reciev... | true | (ns maximgb.re-service.core
{:author "PI:NAME:<NAME>END_PI"})
(defmacro def-re-service
"Defines a service with the given `service-id`."
[service-id]
`(register-service ~service-id))
(defmacro def-re-service-command
"Defines a command with the given `command-id` for service designated by `service-id`.
... |
[
{
"context": "/lawyerAssoc/\") n))\n\n(def lawyerAssocMap { \n\t:name fullname\n\t:profession profession\n\t:city city})\n\n(defrecord",
"end": 344,
"score": 0.9134289026260376,
"start": 336,
"tag": "NAME",
"value": "fullname"
},
{
"context": "defmethod convert :lawyerAssoc [x type]\... | src/clojsesame/integration/lawyer_assoc.clj | hotlib/datanest2rdf | 0 | (ns clojsesame.integration.lawyer_assoc
(:require
[clojsesame.vocabulary :refer :all]
[clojsesame.sesame :refer :all]))
(def lawyerAssocInfo {:filename "dumps/lawyer_associates-dump.csv" :type :lawyerAssoc})
(defn- lawyerAssocURI [{ n :name}]
(createURI (str basicNamespace "/lawyerAssoc/") n))
(def lawyerAss... | 96187 | (ns clojsesame.integration.lawyer_assoc
(:require
[clojsesame.vocabulary :refer :all]
[clojsesame.sesame :refer :all]))
(def lawyerAssocInfo {:filename "dumps/lawyer_associates-dump.csv" :type :lawyerAssoc})
(defn- lawyerAssocURI [{ n :name}]
(createURI (str basicNamespace "/lawyerAssoc/") n))
(def lawyerAss... | true | (ns clojsesame.integration.lawyer_assoc
(:require
[clojsesame.vocabulary :refer :all]
[clojsesame.sesame :refer :all]))
(def lawyerAssocInfo {:filename "dumps/lawyer_associates-dump.csv" :type :lawyerAssoc})
(defn- lawyerAssocURI [{ n :name}]
(createURI (str basicNamespace "/lawyerAssoc/") n))
(def lawyerAss... |
[
{
"context": "ons to various java SAM interfaces.\"\n :author \"Vladimir Tsanev\"}\n reactor-core.util.function\n (:import\n (ja",
"end": 712,
"score": 0.9998278617858887,
"start": 697,
"tag": "NAME",
"value": "Vladimir Tsanev"
}
] | src/reactor_core/util/function.clj | jaju/reactor-core-clojure | 2 | ;
; Copyright 2018 the original author or authors.
;
; 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 ... | 34286 | ;
; Copyright 2018 the original author or authors.
;
; 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 2018 the original author or authors.
;
; 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": "esses) using standard sim tools.\"\r\n :author \"Lucy Bridges\"}\r\n simulator.simulations.normal\r\n (:use simula",
"end": 128,
"score": 0.9998748898506165,
"start": 116,
"tag": "NAME",
"value": "Lucy Bridges"
}
] | src/patient-simulator/sims/normal.clj | connectedhealthcities/anytown | 0 | (ns ^{:doc "A simulator of normal patients (having no chronic illnesses) using standard sim tools."
:author "Lucy Bridges"}
simulator.simulations.normal
(:use simulator.simulation
[simulator.utils :only (rand-range)]
[simulator.simulation utils standard]
simulator.simulation.codi... | 121311 | (ns ^{:doc "A simulator of normal patients (having no chronic illnesses) using standard sim tools."
:author "<NAME>"}
simulator.simulations.normal
(:use simulator.simulation
[simulator.utils :only (rand-range)]
[simulator.simulation utils standard]
simulator.simulation.coding.rea... | true | (ns ^{:doc "A simulator of normal patients (having no chronic illnesses) using standard sim tools."
:author "PI:NAME:<NAME>END_PI"}
simulator.simulations.normal
(:use simulator.simulation
[simulator.utils :only (rand-range)]
[simulator.simulation utils standard]
simulator.simulat... |
[
{
"context": "nCall \"HelloWorld\"\n\n [:String \"Johnny\"]]]])\n\n (ast-to-ir [:FunDef {:args [], :fn-name ",
"end": 14809,
"score": 0.8082499504089355,
"start": 14803,
"tag": "NAME",
"value": "Johnny"
},
{
"context": "ype :string}\n [:FunCall \"Hello\" [... | src/lasm/ast.clj | nabacg/lasm | 0 | (ns lasm.ast
(:require [clojure.string :as string]
[clojure.reflect :as reflect]))
(defn error [expr & [msg ]]
(throw (ex-info (str "Invalid-expression: " msg)
{:expr expr
:msg msg})))
(defn errorf [msg & args]
(throw (ex-info (apply format msg args)
... | 103328 | (ns lasm.ast
(:require [clojure.string :as string]
[clojure.reflect :as reflect]))
(defn error [expr & [msg ]]
(throw (ex-info (str "Invalid-expression: " msg)
{:expr expr
:msg msg})))
(defn errorf [msg & args]
(throw (ex-info (apply format msg args)
... | true | (ns lasm.ast
(:require [clojure.string :as string]
[clojure.reflect :as reflect]))
(defn error [expr & [msg ]]
(throw (ex-info (str "Invalid-expression: " msg)
{:expr expr
:msg msg})))
(defn errorf [msg & args]
(throw (ex-info (apply format msg args)
... |
[
{
"context": "{ \"Manifest-Version\" \"1.0\"\n \"Created-By\" (str \"Bill \" (or (build/bill-version) (System/getProperty \"b",
"end": 349,
"score": 0.9243289232254028,
"start": 345,
"tag": "NAME",
"value": "Bill"
}
] | data/test/clojure/bb06199ef6ebba05c4fc3b8e56f912d653bd96d4jar.clj | harshp8l/deep-learning-lang-detection | 84 | (ns bill.tasks.jar
(:use bill.task)
(:require [bill.build :as build]
[clojure.java.io :as java-io]
[clojure.string :as string])
(:import [java.io ByteArrayInputStream File]
[java.util.jar Manifest JarEntry JarOutputStream]))
(defn default-manifest []
{ "Manifest-Version" "1.0... | 121851 | (ns bill.tasks.jar
(:use bill.task)
(:require [bill.build :as build]
[clojure.java.io :as java-io]
[clojure.string :as string])
(:import [java.io ByteArrayInputStream File]
[java.util.jar Manifest JarEntry JarOutputStream]))
(defn default-manifest []
{ "Manifest-Version" "1.0... | true | (ns bill.tasks.jar
(:use bill.task)
(:require [bill.build :as build]
[clojure.java.io :as java-io]
[clojure.string :as string])
(:import [java.io ByteArrayInputStream File]
[java.util.jar Manifest JarEntry JarOutputStream]))
(defn default-manifest []
{ "Manifest-Version" "1.0... |
[
{
"context": "?fname } . }\"))\n\n\n;;x gmane\n;;:_.node1cpd80gefx2 \"Bob\"\n;;:_.node1cpd80gefx1 \"Alice\"\n\n;;x fname\n;;:_.nod",
"end": 946,
"score": 0.9998262524604797,
"start": 943,
"tag": "NAME",
"value": "Bob"
},
{
"context": "\n;;:_.node1cpd80gefx2 \"Bob\"\n;;:_.node1cpd80ge... | test/temp_test/jena.clj | tkaryadis/louna-local | 0 | (ns temp-test.jena
(:use louna.louna
louna.louna-util)
(:require state.db-settings
benchmark.jena-run
benchmark.benchmark-info
benchmark.sparql-queries))
#_(def sparql-str (str " PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX vcard: <http:/... | 116191 | (ns temp-test.jena
(:use louna.louna
louna.louna-util)
(:require state.db-settings
benchmark.jena-run
benchmark.benchmark-info
benchmark.sparql-queries))
#_(def sparql-str (str " PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX vcard: <http:/... | true | (ns temp-test.jena
(:use louna.louna
louna.louna-util)
(:require state.db-settings
benchmark.jena-run
benchmark.benchmark-info
benchmark.sparql-queries))
#_(def sparql-str (str " PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX vcard: <http:/... |
[
{
"context": "following kind of structure:\n {:user {:userid \\\"developer\\\"\n :email \\\"developer@e.mail\\\"\n ",
"end": 702,
"score": 0.99747234582901,
"start": 693,
"tag": "USERNAME",
"value": "developer"
},
{
"context": "{:user {:userid \\\"developer\\\"\n ... | src/cljs/rems/identity.cljs | MalinAhlberg/rems | 0 | (ns rems.identity
(:require [re-frame.core :as rf]
[rems.roles :as roles]))
;;; subscriptions
(rf/reg-sub
:identity
(fn [db _]
(:identity db)))
(rf/reg-sub
:user
(fn [db _]
(get-in db [:identity :user])))
(rf/reg-sub
:roles
(fn [db _]
(get-in db [:identity :roles])))
(rf/reg-sub
:logg... | 8135 | (ns rems.identity
(:require [re-frame.core :as rf]
[rems.roles :as roles]))
;;; subscriptions
(rf/reg-sub
:identity
(fn [db _]
(:identity db)))
(rf/reg-sub
:user
(fn [db _]
(get-in db [:identity :user])))
(rf/reg-sub
:roles
(fn [db _]
(get-in db [:identity :roles])))
(rf/reg-sub
:logg... | true | (ns rems.identity
(:require [re-frame.core :as rf]
[rems.roles :as roles]))
;;; subscriptions
(rf/reg-sub
:identity
(fn [db _]
(:identity db)))
(rf/reg-sub
:user
(fn [db _]
(get-in db [:identity :user])))
(rf/reg-sub
:roles
(fn [db _]
(get-in db [:identity :roles])))
(rf/reg-sub
:logg... |
[
{
"context": "! *unchecked-math* :warn-on-boxed)\n(ns ^{:author \"John Alan McDonald, Kristina Lisa Klinkner\" :date \"2017-01-03\"\n ",
"end": 105,
"score": 0.9998779296875,
"start": 87,
"tag": "NAME",
"value": "John Alan McDonald"
},
{
"context": ":warn-on-boxed)\n(ns ^{:author... | src/main/clojure/taiga/split/object/categorical/cluster.clj | wahpenayo/taiga | 4 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "John Alan McDonald, Kristina Lisa Klinkner" :date "2017-01-03"
:doc "Used in bottom up category cluster for heuristic split generation." }
taiga.split.object.categorical.cluster
(:refer-clojure :exclude [merge])
... | 104258 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "<NAME>, <NAME>" :date "2017-01-03"
:doc "Used in bottom up category cluster for heuristic split generation." }
taiga.split.object.categorical.cluster
(:refer-clojure :exclude [merge])
(:require [clojure.set :as ... | 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 "2017-01-03"
:doc "Used in bottom up category cluster for heuristic split generation." }
taiga.split.object.categorical.cluster
(:refer-clojure :exclude [merge])
... |
[
{
"context": "e F to York St.\"\n :ci_email \"democracy@example.com\"\n :ci_fax \"555-555-5FAX\"\n ",
"end": 816,
"score": 0.9998978972434998,
"start": 795,
"tag": "EMAIL",
"value": "democracy@example.com"
},
{
"context": "_source \"Sean\"\... | test/vip/data_processor/db/translations/v5_2/departments_test.clj | votinginfoproject/data-processor | 10 | (ns vip.data-processor.db.translations.v5-2.departments-test
(:require [clojure.test :refer :all]
[vip.data-processor.test-helpers :refer :all]
[vip.data-processor.db.translations.v5-2.departments :as departments]
[vip.data-processor.db.translations.util :as util]))
(deftest depar... | 109134 | (ns vip.data-processor.db.translations.v5-2.departments-test
(:require [clojure.test :refer :all]
[vip.data-processor.test-helpers :refer :all]
[vip.data-processor.db.translations.v5-2.departments :as departments]
[vip.data-processor.db.translations.util :as util]))
(deftest depar... | true | (ns vip.data-processor.db.translations.v5-2.departments-test
(:require [clojure.test :refer :all]
[vip.data-processor.test-helpers :refer :all]
[vip.data-processor.db.translations.v5-2.departments :as departments]
[vip.data-processor.db.translations.util :as util]))
(deftest depar... |
[
{
"context": "d 1\n ; fetcher\n source-key \"claronte:test:source\"\n backup-key \"claronte:test:backup\"\n ",
"end": 791,
"score": 0.9985678791999817,
"start": 771,
"tag": "KEY",
"value": "claronte:test:source"
},
{
"context": "ey \"claronte:test:so... | test/claronte/transport/transporter_test.clj | jordillonch/claronte | 1 | (ns claronte.transport.transporter-test
(:require [clojure.test :refer :all]
[claronte.config.claronte-config :refer :all]
[claronte.transport.fetcher.redis.fetcher :refer :all]
[claronte.transport.sender.rabbitmq.sender :refer :all]
[claronte.transport.sender.rabbitmq.... | 1148 | (ns claronte.transport.transporter-test
(:require [clojure.test :refer :all]
[claronte.config.claronte-config :refer :all]
[claronte.transport.fetcher.redis.fetcher :refer :all]
[claronte.transport.sender.rabbitmq.sender :refer :all]
[claronte.transport.sender.rabbitmq.... | true | (ns claronte.transport.transporter-test
(:require [clojure.test :refer :all]
[claronte.config.claronte-config :refer :all]
[claronte.transport.fetcher.redis.fetcher :refer :all]
[claronte.transport.sender.rabbitmq.sender :refer :all]
[claronte.transport.sender.rabbitmq.... |
[
{
"context": "ssage} other {messages}}\")\n\n(def values\n {:name \"Eric\" :unreadCount 100})\n\n(defn example-app []\n [:p\n ",
"end": 247,
"score": 0.9995977282524109,
"start": 243,
"tag": "NAME",
"value": "Eric"
}
] | src/app/main.cljs | dfuenzalida/cljs-react-intl | 1 | (ns app.main
(:require ["react-intl" :as intl]
[reagent.core :as r]))
;; App
(def defaultMessage
"Hello {name}, you have {unreadCount, number}
{unreadCount, plural, one {message} other {messages}}")
(def values
{:name "Eric" :unreadCount 100})
(defn example-app []
[:p
[:> intl/IntlProvider... | 30306 | (ns app.main
(:require ["react-intl" :as intl]
[reagent.core :as r]))
;; App
(def defaultMessage
"Hello {name}, you have {unreadCount, number}
{unreadCount, plural, one {message} other {messages}}")
(def values
{:name "<NAME>" :unreadCount 100})
(defn example-app []
[:p
[:> intl/IntlProvid... | true | (ns app.main
(:require ["react-intl" :as intl]
[reagent.core :as r]))
;; App
(def defaultMessage
"Hello {name}, you have {unreadCount, number}
{unreadCount, plural, one {message} other {messages}}")
(def values
{:name "PI:NAME:<NAME>END_PI" :unreadCount 100})
(defn example-app []
[:p
[:> i... |
[
{
"context": ";;;\n;;; Copyright 2020 David Edwards\n;;;\n;;; Licensed under the Apache License, Versio",
"end": 36,
"score": 0.9998024106025696,
"start": 23,
"tag": "NAME",
"value": "David Edwards"
}
] | src/rpn/loader.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... | 60201 | ;;;
;;; 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": ";;\n;;\n;; Copyright 2013 Netflix, Inc.\n;;\n;; Licensed under the Apache Lic",
"end": 28,
"score": 0.9615586400032043,
"start": 25,
"tag": "NAME",
"value": "Net"
}
] | src/main/clojure/pigpen/extensions/test.clj | magomimmo/PigPen | 1 | ;;
;;
;; Copyright 2013 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 by ap... | 26398 | ;;
;;
;; Copyright 2013 <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 required by... | true | ;;
;;
;; Copyright 2013 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
;;
;; Unle... |
[
{
"context": " [\"one\", \"two\"]\n plaintext-password \"Plaintext-password-1\"\n\n no-href-create {:template (ltu/st",
"end": 2173,
"score": 0.9994199872016907,
"start": 2153,
"tag": "PASSWORD",
"value": "Plaintext-password-1"
},
{
"context": " ... | code/test/sixsq/nuvla/server/resources/user_username_password_lifecycle_test.clj | nuvla/server | 0 | (ns sixsq.nuvla.server.resources.user-username-password-lifecycle-test
(:require
[clojure.data.json :as json]
[clojure.test :refer [deftest is use-fixtures]]
[peridot.core :refer [content-type header request session]]
[ring.util.codec :as rc]
[sixsq.nuvla.server.app.params :as p]
[sixsq.nuvla.... | 33736 | (ns sixsq.nuvla.server.resources.user-username-password-lifecycle-test
(:require
[clojure.data.json :as json]
[clojure.test :refer [deftest is use-fixtures]]
[peridot.core :refer [content-type header request session]]
[ring.util.codec :as rc]
[sixsq.nuvla.server.app.params :as p]
[sixsq.nuvla.... | true | (ns sixsq.nuvla.server.resources.user-username-password-lifecycle-test
(:require
[clojure.data.json :as json]
[clojure.test :refer [deftest is use-fixtures]]
[peridot.core :refer [content-type header request session]]
[ring.util.codec :as rc]
[sixsq.nuvla.server.app.params :as p]
[sixsq.nuvla.... |
[
{
"context": "; Copyright (c) Laurent Petit and others, March 2009. All rights reserved.\n\n; ",
"end": 31,
"score": 0.9998970031738281,
"start": 18,
"tag": "NAME",
"value": "Laurent Petit"
},
{
"context": ": feel free to add to this lib\n\n(ns\n #^{:author \"Laurent Petit (and o... | ThirdParty/clojure-contrib-1.1.0/src/clojure/contrib/core.clj | allertonm/Couverjure | 3 | ; Copyright (c) Laurent Petit and others, March 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)
; which can be found in the file epl-v10.html at the root of this
; distribution.
; ... | 19624 | ; Copyright (c) <NAME> and others, March 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)
; which can be found in the file epl-v10.html at the root of this
; distribution.
; By usi... | true | ; Copyright (c) PI:NAME:<NAME>END_PI and others, March 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)
; which can be found in the file epl-v10.html at the root of this
; distributi... |
[
{
"context": "oded\")\n (mock/body \"username=admin&password=admin\"))\n response (test-auth-h",
"end": 879,
"score": 0.9958597421646118,
"start": 874,
"tag": "USERNAME",
"value": "admin"
},
{
"context": " (mock/body \"username=admin&passwor... | src/test/clj/planted/auth_test.clj | jandorfer/planted | 2 | (ns planted.auth-test
(:require [cemerick.friend :as friend]
[clojure.test :refer :all]
[clojure.tools.logging :as log]
[compojure.core :refer (POST defroutes)]
[planted.auth :refer :all]
[ring.mock.request :as mock]
[ring.util.response :refer [r... | 103628 | (ns planted.auth-test
(:require [cemerick.friend :as friend]
[clojure.test :refer :all]
[clojure.tools.logging :as log]
[compojure.core :refer (POST defroutes)]
[planted.auth :refer :all]
[ring.mock.request :as mock]
[ring.util.response :refer [r... | true | (ns planted.auth-test
(:require [cemerick.friend :as friend]
[clojure.test :refer :all]
[clojure.tools.logging :as log]
[compojure.core :refer (POST defroutes)]
[planted.auth :refer :all]
[ring.mock.request :as mock]
[ring.util.response :refer [r... |
[
{
"context": "; Copyright (C) 2015 Dr. Thomas Schank (DrTom@schank.ch, Thomas.Schank@algocon.ch)\n\n(ns",
"end": 38,
"score": 0.9997551441192627,
"start": 25,
"tag": "NAME",
"value": "Thomas Schank"
},
{
"context": "; Copyright (C) 2015 Dr. Thomas Schank (DrTom@schank.ch, Thomas.Sc... | src/json_roa_demo/resources.clj | json-roa/json-roa_demo-app | 0 | ; Copyright (C) 2015 Dr. Thomas Schank (DrTom@schank.ch, Thomas.Schank@algocon.ch)
(ns json-roa-demo.resources
(:require
[clojure.tools.logging :as logging]
[clojure.walk :refer [keywordize-keys]]
[compojure.core :as cpj]
[compojure.handler :as cpj.handler]
[compojure.route :as cpj.route]
[c... | 22495 | ; Copyright (C) 2015 Dr. <NAME> (<EMAIL>, <EMAIL>)
(ns json-roa-demo.resources
(:require
[clojure.tools.logging :as logging]
[clojure.walk :refer [keywordize-keys]]
[compojure.core :as cpj]
[compojure.handler :as cpj.handler]
[compojure.route :as cpj.route]
[compojure.route :as route]
[d... | true | ; Copyright (C) 2015 Dr. PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI, PI:EMAIL:<EMAIL>END_PI)
(ns json-roa-demo.resources
(:require
[clojure.tools.logging :as logging]
[clojure.walk :refer [keywordize-keys]]
[compojure.core :as cpj]
[compojure.handler :as cpj.handler]
[compojure.route :as cpj.r... |
[
{
"context": "\n\n(defn ^:private round-ability\n [char {:keys [id name]}]\n (let [{hl-char-id :character, hl-ability-id ",
"end": 813,
"score": 0.7797082662582397,
"start": 809,
"tag": "NAME",
"value": "name"
}
] | src/app/renderer/combat_tracker/timeline.cljs | allison-casey/combat-tracker | 0 | (ns app.renderer.combat-tracker.timeline
(:require [re-frame.core :as rf]
[app.renderer.subs :as subs]))
(defn line
[x1 y1 x2 y2]
[:line {:style {:stroke "black", :stroke-width 1, :fill "none"}
:x1 x1, :x2 x2, :y1 y1, :y2 y2}])
(defn circle
[cx cy r]
[:circle {:style {:stroke "black" :... | 73447 | (ns app.renderer.combat-tracker.timeline
(:require [re-frame.core :as rf]
[app.renderer.subs :as subs]))
(defn line
[x1 y1 x2 y2]
[:line {:style {:stroke "black", :stroke-width 1, :fill "none"}
:x1 x1, :x2 x2, :y1 y1, :y2 y2}])
(defn circle
[cx cy r]
[:circle {:style {:stroke "black" :... | true | (ns app.renderer.combat-tracker.timeline
(:require [re-frame.core :as rf]
[app.renderer.subs :as subs]))
(defn line
[x1 y1 x2 y2]
[:line {:style {:stroke "black", :stroke-width 1, :fill "none"}
:x1 x1, :x2 x2, :y1 y1, :y2 y2}])
(defn circle
[cx cy r]
[:circle {:style {:stroke "black" :... |
[
{
"context": "orm title\"}]\n :handlers [{:userid \"bob\"} {:userid \"carl\"}]}]\n (testing \"valid form\"",
"end": 1304,
"score": 0.5494828820228577,
"start": 1301,
"tag": "USERNAME",
"value": "bob"
},
{
"context": " :handlers [{:userid \"bob\"} {:use... | test/cljs/rems/administration/test_create_workflow.cljs | MalinAhlberg/rems | 0 | (ns rems.administration.test-create-workflow
(:require [cljs.test :refer-macros [deftest is testing]]
[rems.administration.create-workflow :refer [build-create-request build-edit-request]]))
(deftest build-create-request-test
(testing "all workflows"
(let [form {:organization {:organization/id "abc... | 82928 | (ns rems.administration.test-create-workflow
(:require [cljs.test :refer-macros [deftest is testing]]
[rems.administration.create-workflow :refer [build-create-request build-edit-request]]))
(deftest build-create-request-test
(testing "all workflows"
(let [form {:organization {:organization/id "abc... | true | (ns rems.administration.test-create-workflow
(:require [cljs.test :refer-macros [deftest is testing]]
[rems.administration.create-workflow :refer [build-create-request build-edit-request]]))
(deftest build-create-request-test
(testing "all workflows"
(let [form {:organization {:organization/id "abc... |
[
{
"context": "rkBench -- Natural deduction\n\n; Copyright (c) 2015 Tobias Völzel, THM. All rights reserved.\n; The use and distribu",
"end": 78,
"score": 0.9998260140419006,
"start": 65,
"tag": "NAME",
"value": "Tobias Völzel"
}
] | src/lwb/nd/proof.clj | esb-lwb/lwb | 22 | ; lwb Logic WorkBench -- Natural deduction
; Copyright (c) 2015 Tobias Völzel, THM. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php).
; By using this software in any fashion, you are agreeing to be b... | 16771 | ; lwb Logic WorkBench -- Natural deduction
; Copyright (c) 2015 <NAME>, THM. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php).
; By using this software in any fashion, you are agreeing to be bound by... | true | ; lwb Logic WorkBench -- Natural deduction
; Copyright (c) 2015 PI:NAME:<NAME>END_PI, THM. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php).
; By using this software in any fashion, you are agreeing ... |
[
{
"context": "c44950c0a6\" 0],\n :rx.jot/focus [\"fc12e0d887cd46a3b9b33bc44950c0a6\" 0]}}}]]]\n\n [sg/section opts",
"end": 11323,
"score": 0.5435968637466431,
"start": 11313,
"tag": "KEY",
"value": "d887cd46a3"
},
{
"context": "0],\n :rx.jot/focus [\"fc12e... | src/cljs-browser/rx/browser/jot_styleguide.cljs | zk/rx-lib | 0 | (ns rx.browser.jot-styleguide
(:require [rx.kitchen-sink :as ks]
[rx.browser.styleguide :as sg]
[rx.browser.jot :as bjot]
[rx.browser :as browser]
[rx.browser.util :as bu]
[rx.browser.youtube :as yt]
[rx.browser.components :as cmp]
[r... | 70160 | (ns rx.browser.jot-styleguide
(:require [rx.kitchen-sink :as ks]
[rx.browser.styleguide :as sg]
[rx.browser.jot :as bjot]
[rx.browser :as browser]
[rx.browser.util :as bu]
[rx.browser.youtube :as yt]
[rx.browser.components :as cmp]
[r... | true | (ns rx.browser.jot-styleguide
(:require [rx.kitchen-sink :as ks]
[rx.browser.styleguide :as sg]
[rx.browser.jot :as bjot]
[rx.browser :as browser]
[rx.browser.util :as bu]
[rx.browser.youtube :as yt]
[rx.browser.components :as cmp]
[r... |
[
{
"context": "type \"text\"\n :placeholder \"john@doe.com\"\n :on-change #(swap! state",
"end": 3384,
"score": 0.9999067187309265,
"start": 3372,
"tag": "EMAIL",
"value": "john@doe.com"
}
] | frontend/src/haskell_bazaar_frontend/views/modal.cljs | Chouffe/haskell-bazaar | 23 | (ns haskell-bazaar-frontend.views.modal
(:require
[clojure.string :as string]
[reagent.core :as reagent]
[re-frame.core :as re-frame]
[haskell-bazaar-frontend.utils :as utils]
[haskell-bazaar-frontend.ui :as ui]))
(defn mailing-list-form
[]
(let [state (reagent/atom {:email nil :sent? false... | 85423 | (ns haskell-bazaar-frontend.views.modal
(:require
[clojure.string :as string]
[reagent.core :as reagent]
[re-frame.core :as re-frame]
[haskell-bazaar-frontend.utils :as utils]
[haskell-bazaar-frontend.ui :as ui]))
(defn mailing-list-form
[]
(let [state (reagent/atom {:email nil :sent? false... | true | (ns haskell-bazaar-frontend.views.modal
(:require
[clojure.string :as string]
[reagent.core :as reagent]
[re-frame.core :as re-frame]
[haskell-bazaar-frontend.utils :as utils]
[haskell-bazaar-frontend.ui :as ui]))
(defn mailing-list-form
[]
(let [state (reagent/atom {:email nil :sent? false... |
[
{
"context": " nil\n :values {\"domain\" \"mydomain2.com\"\n \"operatingsystem\" \"De",
"end": 44968,
"score": 0.7568356990814209,
"start": 44963,
"tag": "EMAIL",
"value": "2.com"
}
] | test/puppetlabs/puppetdb/command_test.clj | wkalt/puppetdb | 0 | (ns puppetlabs.puppetdb.command-test
(:require [me.raynes.fs :as fs]
[clj-http.client :as client]
[clojure.java.jdbc :as sql]
[cheshire.core :as json]
[puppetlabs.puppetdb.scf.storage :as scf-store]
[puppetlabs.puppetdb.scf.storage-utils :as sutils]
... | 20092 | (ns puppetlabs.puppetdb.command-test
(:require [me.raynes.fs :as fs]
[clj-http.client :as client]
[clojure.java.jdbc :as sql]
[cheshire.core :as json]
[puppetlabs.puppetdb.scf.storage :as scf-store]
[puppetlabs.puppetdb.scf.storage-utils :as sutils]
... | true | (ns puppetlabs.puppetdb.command-test
(:require [me.raynes.fs :as fs]
[clj-http.client :as client]
[clojure.java.jdbc :as sql]
[cheshire.core :as json]
[puppetlabs.puppetdb.scf.storage :as scf-store]
[puppetlabs.puppetdb.scf.storage-utils :as sutils]
... |
[
{
"context": "d use something like [environ](https://github.com/weavejester/environ)\nto store these values locally outside of",
"end": 729,
"score": 0.994905412197113,
"start": 718,
"tag": "USERNAME",
"value": "weavejester"
},
{
"context": " :coinbase_accou... | src/coinbase_pro_clj/core.clj | bpringe/coinbase-pro-clojure | 21 | (ns coinbase-pro-clj.core
"Public and private endpoint functions and websocket feed functionality. In all function signatures, `client` is a map with the following keys:
- `:url` - rest URL
- `:key` - optional - your Coinbase Pro API key
- `:secret` - optional - your Coinbase Pro API key
- `:passphrase` - optional - ... | 86064 | (ns coinbase-pro-clj.core
"Public and private endpoint functions and websocket feed functionality. In all function signatures, `client` is a map with the following keys:
- `:url` - rest URL
- `:key` - optional - your Coinbase Pro API key
- `:secret` - optional - your Coinbase Pro API key
- `:passphrase` - optional - ... | true | (ns coinbase-pro-clj.core
"Public and private endpoint functions and websocket feed functionality. In all function signatures, `client` is a map with the following keys:
- `:url` - rest URL
- `:key` - optional - your Coinbase Pro API key
- `:secret` - optional - your Coinbase Pro API key
- `:passphrase` - optional - ... |
[
{
"context": " (compile-query test1)\n [[:person {:age 34 :name \"Mary\" :other true :test 123}]\n [:person {:age 67 :nam",
"end": 5442,
"score": 0.9996603727340698,
"start": 5438,
"tag": "NAME",
"value": "Mary"
},
{
"context": "other true :test 123}]\n [:person {:age 67 :name \"Pe... | onyx-stream-sql/src/onyx_stream_sql/core.clj | lemonteaa/onyx-streaming-sql | 0 | (ns onyx-stream-sql.core
(:require [onyx-local-rt.api :as api]
[clojure.pprint :as pp]))
;; ^:export the function if using in ClojureScript.
(defn ^:export my-inc [segment]
(update-in segment [:n] inc))
(def job
{:workflow [[:in :inc] [:inc :out]]
:catalog [{:onyx/name :in
:onyx/typ... | 40430 | (ns onyx-stream-sql.core
(:require [onyx-local-rt.api :as api]
[clojure.pprint :as pp]))
;; ^:export the function if using in ClojureScript.
(defn ^:export my-inc [segment]
(update-in segment [:n] inc))
(def job
{:workflow [[:in :inc] [:inc :out]]
:catalog [{:onyx/name :in
:onyx/typ... | true | (ns onyx-stream-sql.core
(:require [onyx-local-rt.api :as api]
[clojure.pprint :as pp]))
;; ^:export the function if using in ClojureScript.
(defn ^:export my-inc [segment]
(update-in segment [:n] inc))
(def job
{:workflow [[:in :inc] [:inc :out]]
:catalog [{:onyx/name :in
:onyx/typ... |
[
{
"context": "4-74838d6ba8ef\"\n :userName \"karim\"\n :locale \"en\"\n ",
"end": 364,
"score": 0.9996086359024048,
"start": 359,
"tag": "USERNAME",
"value": "karim"
},
{
"context": "n\"\n :name {:family... | src/cljs/scimmer/app_db.cljs | elarous/scimmer | 1 | (ns scimmer.app-db
(:require [malli.util :as mu]
[malli.core :as m]))
(def db
{:schema nil
:schema-saved? true
:schemas nil
:extensions {}
:resource {:id "0ea136ad-061d-45f1-8d92-db5627a156f2"
:externalId "8a61fbf4-543c-4ed2-94a4-74838d6ba... | 47365 | (ns scimmer.app-db
(:require [malli.util :as mu]
[malli.core :as m]))
(def db
{:schema nil
:schema-saved? true
:schemas nil
:extensions {}
:resource {:id "0ea136ad-061d-45f1-8d92-db5627a156f2"
:externalId "8a61fbf4-543c-4ed2-94a4-74838d6ba... | true | (ns scimmer.app-db
(:require [malli.util :as mu]
[malli.core :as m]))
(def db
{:schema nil
:schema-saved? true
:schemas nil
:extensions {}
:resource {:id "0ea136ad-061d-45f1-8d92-db5627a156f2"
:externalId "8a61fbf4-543c-4ed2-94a4-74838d6ba... |
[
{
"context": "e-prefixed-test\n (is (= {:user/id 1 :user/login \"user\"} (f/ensure-prefixed :user {:id 1 :login \"user\"})",
"end": 924,
"score": 0.8792320489883423,
"start": 920,
"tag": "USERNAME",
"value": "user"
},
{
"context": "n \"user\"} (f/ensure-prefixed :user {:id 1 :login ... | test/norm/sql/format_test.clj | kurbatov/norm | 4 | (ns norm.sql.format-test
(:require [clojure.test :as t :refer [deftest testing is]]
[norm.sql.format :as f]
[norm.sql :as sql]))
(deftest prefix-test
(is (= :user/id (f/prefix :user :id)))
(is (= :supervisor.person/id (f/prefix :supervisor :person/id)))
(is (= :employee.supervisor/id (f... | 54166 | (ns norm.sql.format-test
(:require [clojure.test :as t :refer [deftest testing is]]
[norm.sql.format :as f]
[norm.sql :as sql]))
(deftest prefix-test
(is (= :user/id (f/prefix :user :id)))
(is (= :supervisor.person/id (f/prefix :supervisor :person/id)))
(is (= :employee.supervisor/id (f... | true | (ns norm.sql.format-test
(:require [clojure.test :as t :refer [deftest testing is]]
[norm.sql.format :as f]
[norm.sql :as sql]))
(deftest prefix-test
(is (= :user/id (f/prefix :user :id)))
(is (= :supervisor.person/id (f/prefix :supervisor :person/id)))
(is (= :employee.supervisor/id (f... |
[
{
"context": ";;\n;;\n;; Copyright 2013 Netflix, Inc.\n;;\n;; Licensed under the Apache Lic",
"end": 28,
"score": 0.8075883984565735,
"start": 25,
"tag": "NAME",
"value": "Net"
}
] | src/test/clojure/pigpen/functional/map_test.clj | magomimmo/PigPen | 1 | ;;
;;
;; Copyright 2013 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 by ap... | 12069 | ;;
;;
;; Copyright 2013 <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 required by... | true | ;;
;;
;; Copyright 2013 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
;;
;; Unle... |
[
{
"context": " interpolating \n polynomials\"\n :author \"palisades dot lakes at gmail dot com\"\n :version \"2018-10-18\"}\n \n (:require [clojur",
"end": 360,
"score": 0.950040876865387,
"start": 324,
"tag": "EMAIL",
"value": "palisades dot lakes at gmail dot com"
}
] | src/scripts/clojure/mudstone/scripts/expresso.clj | palisades-lakes/mudstone | 0 | ;; clj src/scripts/clojure/mudstone/scripts/plots.clj
(set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns mudstone.scripts.expresso
{:doc "solve symbolic systems of equations for interpolating
polynomials"
:auth... | 69992 | ;; clj src/scripts/clojure/mudstone/scripts/plots.clj
(set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns mudstone.scripts.expresso
{:doc "solve symbolic systems of equations for interpolating
polynomials"
:auth... | true | ;; clj src/scripts/clojure/mudstone/scripts/plots.clj
(set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns mudstone.scripts.expresso
{:doc "solve symbolic systems of equations for interpolating
polynomials"
:auth... |
[
{
"context": "; Written by Raju\n; Run using following command\n; clojure arithmeti",
"end": 17,
"score": 0.9998317360877991,
"start": 13,
"tag": "NAME",
"value": "Raju"
}
] | Chapter09/arithmeticProgression.clj | PacktPublishing/Learning-Functional-Data-Structures-and-Algorithms | 31 | ; Written by Raju
; Run using following command
; clojure arithmeticProgression.clj
;Arithmetic progression in Clojure
(defn arithmeticProgression [ft cd]
( lazy-seq (cons ft (arithmeticProgression (+ ft cd) cd))))
(println (take 10 (arithmeticProgression 2 3)))
| 56349 | ; Written by <NAME>
; Run using following command
; clojure arithmeticProgression.clj
;Arithmetic progression in Clojure
(defn arithmeticProgression [ft cd]
( lazy-seq (cons ft (arithmeticProgression (+ ft cd) cd))))
(println (take 10 (arithmeticProgression 2 3)))
| true | ; Written by PI:NAME:<NAME>END_PI
; Run using following command
; clojure arithmeticProgression.clj
;Arithmetic progression in Clojure
(defn arithmeticProgression [ft cd]
( lazy-seq (cons ft (arithmeticProgression (+ ft cd) cd))))
(println (take 10 (arithmeticProgression 2 3)))
|
[
{
"context": "hey [this x]\n (str \"Bonjour \" x \"!\")))\n my-spy (protocol/spy Greeter p",
"end": 484,
"score": 0.9814656376838684,
"start": 477,
"tag": "NAME",
"value": "Bonjour"
},
{
"context": "]\n\n (is (spy/not-called? hey-spy))\n (is... | test/clj/spy/protocol_test.clj | zyegfryed/spy | 1 | (ns spy.protocol-test
(:require [clojure.test :refer [deftest is testing]]
[spy.core :as spy]
[spy.protocol :as protocol]
[spy.my-protocol :as my-protocol]))
(defprotocol Greeter
(hey [this x]))
(defrecord KeywordGreeter []
Greeter
(hey [this x]
(keyword (str "hello-" (... | 34466 | (ns spy.protocol-test
(:require [clojure.test :refer [deftest is testing]]
[spy.core :as spy]
[spy.protocol :as protocol]
[spy.my-protocol :as my-protocol]))
(defprotocol Greeter
(hey [this x]))
(defrecord KeywordGreeter []
Greeter
(hey [this x]
(keyword (str "hello-" (... | true | (ns spy.protocol-test
(:require [clojure.test :refer [deftest is testing]]
[spy.core :as spy]
[spy.protocol :as protocol]
[spy.my-protocol :as my-protocol]))
(defprotocol Greeter
(hey [this x]))
(defrecord KeywordGreeter []
Greeter
(hey [this x]
(keyword (str "hello-" (... |
[
{
"context": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n; Copyright 2015 Xebia B.V.\n;\n; Licensed under the Apache License, Version 2",
"end": 107,
"score": 0.9965744614601135,
"start": 98,
"tag": "NAME",
"value": "Xebia B.V"
}
] | src/integration/clojure/com/xebia/visualreview/itest_util.clj | andstepanuk/VisualReview | 290 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright 2015 Xebia B.V.
;
; Licensed under the Apache License, Version 2.0 (the "License")
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licen... | 107676 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright 2015 <NAME>.
;
; Licensed under the Apache License, Version 2.0 (the "License")
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses... | true | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright 2015 PI:NAME:<NAME>END_PI.
;
; Licensed under the Apache License, Version 2.0 (the "License")
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apach... |
[
{
"context": "t.com/#narrow/stream/194466-crux\")\n(def url-mail \"crux@juxt.pro\")\n(def url-examples-gist \"https://gist.githubuser",
"end": 222,
"score": 0.9999228715896606,
"start": 209,
"tag": "EMAIL",
"value": "crux@juxt.pro"
},
{
"context": "examples-gist \"https://gist.github... | crux-console/src/crux_ui/config.cljs | iojtaylor/crux | 13 | (ns crux-ui.config
(:require ["./ua-regexp.js" :as ua-rgx]))
(def url-docs "https://juxt.pro/crux/docs/index.html")
(def url-chat "https://juxt-oss.zulipchat.com/#narrow/stream/194466-crux")
(def url-mail "crux@juxt.pro")
(def url-examples-gist "https://gist.githubusercontent.com/spacegangster/b68f72e3c81524a71af1f3... | 16765 | (ns crux-ui.config
(:require ["./ua-regexp.js" :as ua-rgx]))
(def url-docs "https://juxt.pro/crux/docs/index.html")
(def url-chat "https://juxt-oss.zulipchat.com/#narrow/stream/194466-crux")
(def url-mail "<EMAIL>")
(def url-examples-gist "https://gist.githubusercontent.com/spacegangster/b68f72e3c81524a71af1f3033ea7... | true | (ns crux-ui.config
(:require ["./ua-regexp.js" :as ua-rgx]))
(def url-docs "https://juxt.pro/crux/docs/index.html")
(def url-chat "https://juxt-oss.zulipchat.com/#narrow/stream/194466-crux")
(def url-mail "PI:EMAIL:<EMAIL>END_PI")
(def url-examples-gist "https://gist.githubusercontent.com/spacegangster/b68f72e3c8152... |
[
{
"context": "\"name\" \"\")\n (aset $scope \"name_input\" {:label \"姓名\" :max-length 6})\n ))\n\t\n\n(ng/value \"hello\" \"hipho",
"end": 1637,
"score": 0.8521796464920044,
"start": 1635,
"tag": "NAME",
"value": "姓名"
}
] | hello_world/src/hello_world/core.cljs | hackerzhuli/clojure-front | 0 | (ns hello-world.core
(:require-macros [hello-world.macros :as ng]))
(enable-console-print!)
(println "Hello world!")
(println (.guid js/jshelper))
;英文字符算1个字节
;其他字符算3个字节
;因为其他字符,一般情况是中文,在utf-8(数据库的存储格式)中,是3个字节
(defn str-byte-length [s]
(reduce +
(map #(if (> (.charCodeAt s %) 0xff) 3 1)
(range (.-leng... | 65902 | (ns hello-world.core
(:require-macros [hello-world.macros :as ng]))
(enable-console-print!)
(println "Hello world!")
(println (.guid js/jshelper))
;英文字符算1个字节
;其他字符算3个字节
;因为其他字符,一般情况是中文,在utf-8(数据库的存储格式)中,是3个字节
(defn str-byte-length [s]
(reduce +
(map #(if (> (.charCodeAt s %) 0xff) 3 1)
(range (.-leng... | true | (ns hello-world.core
(:require-macros [hello-world.macros :as ng]))
(enable-console-print!)
(println "Hello world!")
(println (.guid js/jshelper))
;英文字符算1个字节
;其他字符算3个字节
;因为其他字符,一般情况是中文,在utf-8(数据库的存储格式)中,是3个字节
(defn str-byte-length [s]
(reduce +
(map #(if (> (.charCodeAt s %) 0xff) 3 1)
(range (.-leng... |
[
{
"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.7687832713127136,
"start": 87,
"tag": "EMAIL",
"value": "wahpenayo at gmail dot com"
}
] | src/scripts/clojure/taiga/scripts/quantiles/measure.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 "Train a probability measure regression forest,
given a mean regression forest."}
taiga.scripts.quantiles.measure
(:... | 30975 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "<EMAIL>"
:since "2017-11-10"
:date "2017-11-15"
:doc "Train a probability measure regression forest,
given a mean regression forest."}
taiga.scripts.quantiles.measure
(:require [zana.api :... | 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 "Train a probability measure regression forest,
given a mean regression forest."}
taiga.scripts.quantiles.measure
(:requ... |
[
{
"context": " MBQL filter clauses. Neat!\"\n (is (= [\"Festa\" \"Fred 62\"]\n (chain-filter venues.name {venues.pr",
"end": 2445,
"score": 0.9093740582466125,
"start": 2438,
"tag": "NAME",
"value": "Fred 62"
},
{
"context": " \"Edwards Air Force Base\"\n ... | c#-metabase/test/metabase/models/params/chain_filter_test.clj | hanakhry/Crime_Admin | 0 | (ns metabase.models.params.chain-filter-test
(:require [clojure.test :refer :all]
[metabase.models :refer [FieldValues]]
[metabase.models.params.chain-filter :as chain-filter]
[metabase.test :as mt]
[toucan.db :as db]))
(defmacro chain-filter [field field->value & opti... | 32500 | (ns metabase.models.params.chain-filter-test
(:require [clojure.test :refer :all]
[metabase.models :refer [FieldValues]]
[metabase.models.params.chain-filter :as chain-filter]
[metabase.test :as mt]
[toucan.db :as db]))
(defmacro chain-filter [field field->value & opti... | true | (ns metabase.models.params.chain-filter-test
(:require [clojure.test :refer :all]
[metabase.models :refer [FieldValues]]
[metabase.models.params.chain-filter :as chain-filter]
[metabase.test :as mt]
[toucan.db :as db]))
(defmacro chain-filter [field field->value & opti... |
[
{
"context": " (info \"address: \" address)\n (info \"password: \" password)\n (info \"web3: \" web3)\n\n\n {:web3/call {:web",
"end": 1030,
"score": 0.9989548921585083,
"start": 1022,
"tag": "PASSWORD",
"value": "password"
},
{
"context": "ize])\n (rf/dispatch [:blockchain... | src/cljs/ethervine/events.cljs | mohamedhayibor/ethervine | 0 | (ns ethervine.events
(:require [re-frame.core :as rf]
[ethervine.db :as init-db]
[ajax.core :as ajax]
[day8.re-frame.http-fx]
[cljsjs.web3]
[cljs-web3.core :as web3]
[cljs-web3.eth :as web3-eth]
[cljs-web3.personal :as web3-personal]... | 15181 | (ns ethervine.events
(:require [re-frame.core :as rf]
[ethervine.db :as init-db]
[ajax.core :as ajax]
[day8.re-frame.http-fx]
[cljsjs.web3]
[cljs-web3.core :as web3]
[cljs-web3.eth :as web3-eth]
[cljs-web3.personal :as web3-personal]... | true | (ns ethervine.events
(:require [re-frame.core :as rf]
[ethervine.db :as init-db]
[ajax.core :as ajax]
[day8.re-frame.http-fx]
[cljsjs.web3]
[cljs-web3.core :as web3]
[cljs-web3.eth :as web3-eth]
[cljs-web3.personal :as web3-personal]... |
[
{
"context": "SNAPSHOT\"\n :description \"DemocracyWorks Project - Chris Roeder - April 2016\"\n :url \"http://example.com/FIXME\"\n ",
"end": 92,
"score": 0.9998166561126709,
"start": 80,
"tag": "NAME",
"value": "Chris Roeder"
}
] | todo-list/project.clj | croeder/To-Do-List | 0 | (defproject todo-list "0.1.0-SNAPSHOT"
:description "DemocracyWorks Project - Chris Roeder - April 2016"
:url "http://example.com/FIXME"
:min-lein-version "2.0.0"
:dependencies [[org.clojure/clojure "1.7.0"]
[compojure "1.5.0"]
[ring/ring-defaults "0.1.5"]
[hiccup "1.0.5"]... | 96182 | (defproject todo-list "0.1.0-SNAPSHOT"
:description "DemocracyWorks Project - <NAME> - April 2016"
:url "http://example.com/FIXME"
:min-lein-version "2.0.0"
:dependencies [[org.clojure/clojure "1.7.0"]
[compojure "1.5.0"]
[ring/ring-defaults "0.1.5"]
[hiccup "1.0.5"]
... | true | (defproject todo-list "0.1.0-SNAPSHOT"
:description "DemocracyWorks Project - PI:NAME:<NAME>END_PI - April 2016"
:url "http://example.com/FIXME"
:min-lein-version "2.0.0"
:dependencies [[org.clojure/clojure "1.7.0"]
[compojure "1.5.0"]
[ring/ring-defaults "0.1.5"]
[hiccup ... |
[
{
"context": "ns under the License.\n;;\n;; Copyright © 2013-2022, Kenneth Leung. All rights reserved.\n\n(ns czlab.bixby.cons.con7\n",
"end": 597,
"score": 0.9998470544815063,
"start": 584,
"tag": "NAME",
"value": "Kenneth Leung"
}
] | src/main/clojure/czlab/bixby/cons/con7.clj | llnek/skaro | 0 | ;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writing, software
;; distributed ... | 35454 | ;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writing, software
;; distributed ... | true | ;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writing, software
;; distributed ... |
[
{
"context": ";;\n;; Copyright Christophe Roeder, August 2014\n\n\n(ns clojure-craft.craft-pos)\n(use ",
"end": 33,
"score": 0.9998748898506165,
"start": 16,
"tag": "NAME",
"value": "Christophe Roeder"
}
] | src/clojure_craft/craft_pos.clj | croeder/clojure_craft | 0 | ;;
;; Copyright Christophe Roeder, August 2014
(ns clojure-craft.craft-pos)
(use 'clojure.java.io)
(use '[clojure.string :only (join split)])
(use 'clojure.xml)
;(def pos-base "/home/croeder/git/craft/craft-1.0/genia-xml/pos")
;(def txt-base "/home/croeder/git/craft/craft-1.0/articles/txt")
;;(def sample-pos-file (st... | 29366 | ;;
;; Copyright <NAME>, August 2014
(ns clojure-craft.craft-pos)
(use 'clojure.java.io)
(use '[clojure.string :only (join split)])
(use 'clojure.xml)
;(def pos-base "/home/croeder/git/craft/craft-1.0/genia-xml/pos")
;(def txt-base "/home/croeder/git/craft/craft-1.0/articles/txt")
;;(def sample-pos-file (str pos-base ... | true | ;;
;; Copyright PI:NAME:<NAME>END_PI, August 2014
(ns clojure-craft.craft-pos)
(use 'clojure.java.io)
(use '[clojure.string :only (join split)])
(use 'clojure.xml)
;(def pos-base "/home/croeder/git/craft/craft-1.0/genia-xml/pos")
;(def txt-base "/home/croeder/git/craft/craft-1.0/articles/txt")
;;(def sample-pos-file ... |
[
{
"context": "ources/data/sample.tsv has records like:\n;; ...\n;; brown\tbrian\t:m\t:child\t:east\n;; smith\tbill\t:f\t:child\t:so",
"end": 185,
"score": 0.9663559794425964,
"start": 180,
"tag": "NAME",
"value": "brown"
},
{
"context": "data/sample.tsv has records like:\n;; ...\n;; ... | src/m_clj/c3/io.clj | PacktPublishing/Mastering-Clojure | 12 | (ns m-clj.c3.io
(:require [iota :as i]
[clojure.string :as cs]
[clojure.core.reducers :as r]))
;;; resources/data/sample.tsv has records like:
;; ...
;; brown brian :m :child :east
;; smith bill :f :child :south
;; jones jill :f :parent :west
;; ...
;; user> (time (def file-as-seq (i/seq "re... | 115494 | (ns m-clj.c3.io
(:require [iota :as i]
[clojure.string :as cs]
[clojure.core.reducers :as r]))
;;; resources/data/sample.tsv has records like:
;; ...
;; <NAME> <NAME> :m :child :east
;; <NAME> <NAME> :f :child :south
;; <NAME> <NAME> :f :parent :west
;; ...
;; user> (time (def file-as-seq (i... | true | (ns m-clj.c3.io
(:require [iota :as i]
[clojure.string :as cs]
[clojure.core.reducers :as r]))
;;; resources/data/sample.tsv has records like:
;; ...
;; PI:NAME:<NAME>END_PI PI:NAME:<NAME>END_PI :m :child :east
;; PI:NAME:<NAME>END_PI PI:NAME:<NAME>END_PI :f :child :south
;; PI:NAME:<NAME>END... |
[
{
"context": "ge.login.subs :as l-s]))\n\n(def valid-private-key \"MIICXAIBAAKBgHbEH/pdZfQqUDmkt5xX+gSH8aKPdDaDJs7pBmh9R9D6F+46oaMouMekrb4VLBQRP3OhrP+D+RmJUmQD0OOiUl32RosEAC3DGfjIRgYCNK5oWL/dcg+jCDXg4no19KrvVUkNkE3dqp2JMhIJF/d2k47xUdh5OoIlLl2MeveLpg+VAgMBAAECgYBu2Mf71ZYlmCR+WHUiT55DAlqNXZSamDftX+IiPeN8cR9KsqBP9... | test/cljs/bilgge/login/events_test.cljs | brsyuksel/bilgge-ui | 9 | (ns bilgge.login.events-test
(:require [cljs.test :refer-macros [deftest testing is]]
[re-frame.core :as rf]
[day8.re-frame.test :as rf-test]
[bilgge.events :as e]
[bilgge.subs :as s]
[bilgge.login.events :as l-e]
[bilgge.login.subs :as l-s]))
(... | 10457 | (ns bilgge.login.events-test
(:require [cljs.test :refer-macros [deftest testing is]]
[re-frame.core :as rf]
[day8.re-frame.test :as rf-test]
[bilgge.events :as e]
[bilgge.subs :as s]
[bilgge.login.events :as l-e]
[bilgge.login.subs :as l-s]))
(... | true | (ns bilgge.login.events-test
(:require [cljs.test :refer-macros [deftest testing is]]
[re-frame.core :as rf]
[day8.re-frame.test :as rf-test]
[bilgge.events :as e]
[bilgge.subs :as s]
[bilgge.login.events :as l-e]
[bilgge.login.subs :as l-s]))
(... |
[
{
"context": "g/lxc\")\n certfile (<< \"~{root}/servercerts/127.0.0.1.crt\")\n out (<< \"~{root}/certificate.p12\")\n",
"end": 1276,
"score": 0.9995772242546082,
"start": 1267,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": " {:keys [password bind]} lxd\n ... | src/re_cipes/infra/lxd.clj | re-ops/re-cipes | 7 | (ns re-cipes.infra.lxd
"Setting up lxd locally and adding it to the local lxc client"
(:require
re-cipes.hardening
[re-cog.resources.ufw :refer (add-interface enable-forwarding)]
[re-cog.facts.config :refer (configuration)]
[re-cog.resources.file :refer (template)]
[re-cog.common.recipe :refer (requi... | 101363 | (ns re-cipes.infra.lxd
"Setting up lxd locally and adding it to the local lxc client"
(:require
re-cipes.hardening
[re-cog.resources.ufw :refer (add-interface enable-forwarding)]
[re-cog.facts.config :refer (configuration)]
[re-cog.resources.file :refer (template)]
[re-cog.common.recipe :refer (requi... | true | (ns re-cipes.infra.lxd
"Setting up lxd locally and adding it to the local lxc client"
(:require
re-cipes.hardening
[re-cog.resources.ufw :refer (add-interface enable-forwarding)]
[re-cog.facts.config :refer (configuration)]
[re-cog.resources.file :refer (template)]
[re-cog.common.recipe :refer (requi... |
[
{
"context": " be used in real-time.\n Code based on research by Franky of scene.at\n\n Parameters:\n * length (number)",
"end": 19266,
"score": 0.5520531535148621,
"start": 19261,
"tag": "NAME",
"value": "Frank"
}
] | src/phzr/math.cljs | dparis/phzr | 120 | (ns phzr.math
(:require [phzr.impl.utils.core :refer [clj->phaser phaser->clj]]
[phzr.impl.extend :as ex]
[cljsjs.phaser])
(:refer-clojure :exclude [min max]))
(defn angle-between-
"Find the angle of a segment from (x1, y1) -> (x2, y2).
Parameters:
* x-1 (number) - No description
... | 36711 | (ns phzr.math
(:require [phzr.impl.utils.core :refer [clj->phaser phaser->clj]]
[phzr.impl.extend :as ex]
[cljsjs.phaser])
(:refer-clojure :exclude [min max]))
(defn angle-between-
"Find the angle of a segment from (x1, y1) -> (x2, y2).
Parameters:
* x-1 (number) - No description
... | true | (ns phzr.math
(:require [phzr.impl.utils.core :refer [clj->phaser phaser->clj]]
[phzr.impl.extend :as ex]
[cljsjs.phaser])
(:refer-clojure :exclude [min max]))
(defn angle-between-
"Find the angle of a segment from (x1, y1) -> (x2, y2).
Parameters:
* x-1 (number) - No description
... |
[
{
"context": "eftest test-modify-vals\n (let [resource {:ip \"1.2.3.4\"\n :url \"http://1.2.3.4/uri\"\n ",
"end": 664,
"score": 0.9916224479675293,
"start": 657,
"tag": "IP_ADDRESS",
"value": "1.2.3.4"
},
{
"context": ":ip \"1.2.3.4\"\n :ur... | cimi-tools/test/com/sixsq/slipstream/tools/cli/utils_test.clj | slipstream/SlipStreamServer | 6 | (ns com.sixsq.slipstream.tools.cli.utils-test
(:require
[clojure.set :as set]
[clojure.test :refer [are deftest is]]
[clojure.tools.cli :as cli]
[com.sixsq.slipstream.tools.cli.ssconfig :as ss]
[com.sixsq.slipstream.tools.cli.utils :as u])
(:import
(java.util.regex Pattern)))
(deftest chec... | 121179 | (ns com.sixsq.slipstream.tools.cli.utils-test
(:require
[clojure.set :as set]
[clojure.test :refer [are deftest is]]
[clojure.tools.cli :as cli]
[com.sixsq.slipstream.tools.cli.ssconfig :as ss]
[com.sixsq.slipstream.tools.cli.utils :as u])
(:import
(java.util.regex Pattern)))
(deftest chec... | true | (ns com.sixsq.slipstream.tools.cli.utils-test
(:require
[clojure.set :as set]
[clojure.test :refer [are deftest is]]
[clojure.tools.cli :as cli]
[com.sixsq.slipstream.tools.cli.ssconfig :as ss]
[com.sixsq.slipstream.tools.cli.utils :as u])
(:import
(java.util.regex Pattern)))
(deftest chec... |
[
{
"context": "; Copyright 2016 David O'Meara\n;\n; Licensed under the Apache License, Version 2.",
"end": 30,
"score": 0.9998475313186646,
"start": 17,
"tag": "NAME",
"value": "David O'Meara"
}
] | src-clr/core/cross_app_domain_compiler.clj | davidomeara/fnedit | 0 | ; Copyright 2016 David O'Meara
;
; 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... | 121886 | ; 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, software
... | 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 to in writ... |
[
{
"context": ")\n :password (or (env :patavi-broker-password) \"guest\")})\n\n(def ^:const failed \"failed\")\n\n(defn- send-u",
"end": 746,
"score": 0.9969365000724792,
"start": 741,
"tag": "PASSWORD",
"value": "guest"
}
] | worker/src/patavi/worker/amqp.clj | DanielReid/patavi | 1 | (ns patavi.worker.amqp
(:require [langohr.core :as rmq]
[langohr.channel :as lch]
[langohr.queue :as lq]
[langohr.consumers :as lc]
[langohr.basic :as lb]
[langohr.exchange :as le]
[cheshire.core :as json]
[clojure.cor... | 82175 | (ns patavi.worker.amqp
(:require [langohr.core :as rmq]
[langohr.channel :as lch]
[langohr.queue :as lq]
[langohr.consumers :as lc]
[langohr.basic :as lb]
[langohr.exchange :as le]
[cheshire.core :as json]
[clojure.cor... | true | (ns patavi.worker.amqp
(:require [langohr.core :as rmq]
[langohr.channel :as lch]
[langohr.queue :as lq]
[langohr.consumers :as lc]
[langohr.basic :as lb]
[langohr.exchange :as le]
[cheshire.core :as json]
[clojure.cor... |
[
{
"context": "amples Satisfiability of LTL\n\n; Copyright (c) 2016 Burkhardt Renz, THM. All rights reserved.\n; The use and distribu",
"end": 115,
"score": 0.9998697638511658,
"start": 101,
"tag": "NAME",
"value": "Burkhardt Renz"
}
] | src/lwb/ltl/examples/sat.clj | esb-lwb/lwb | 22 | ; lwb Logic WorkBench -- Linear Temporal Logic: Examples Satisfiability of 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 ... | 39766 | ; lwb Logic WorkBench -- Linear Temporal Logic: Examples Satisfiability of 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 fash... | true | ; lwb Logic WorkBench -- Linear Temporal Logic: Examples Satisfiability of 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 softwa... |
[
{
"context": "; Copyright (c) Rich Hickey. All rights reserved.\n; The use and distributio",
"end": 30,
"score": 0.999849259853363,
"start": 19,
"tag": "NAME",
"value": "Rich Hickey"
},
{
"context": "tice, or any other, from this software.\n\n; Author: Stuart Halloway\n\n(ns clo... | Clojure/clojure/test_clojure/rt.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... | 64012 | ; 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": "graal-bin \"/home/user/Downloads/graalvm-ce-java11-19.3.0.2\"\n :opts [\"--verbose\"\n ",
"end": 321,
"score": 0.7913398742675781,
"start": 313,
"tag": "IP_ADDRESS",
"value": "19.3.0.2"
}
] | project.clj | victorb/cljfx-graalvm | 1 | (defproject cljfx-graalvm "0.1.0-SNAPSHOT"
:dependencies [[org.clojure/clojure "1.10.1-patch_38bafca9_clj_1472_3"]
[cljfx "1.6.1"]]
:plugins [[io.taylorwood/lein-native-image "0.3.1"]]
:native-image {:name "cljfx-graalvm"
:graal-bin "/home/user/Downloads/graalvm-ce-java11-19.3.0.... | 19592 | (defproject cljfx-graalvm "0.1.0-SNAPSHOT"
:dependencies [[org.clojure/clojure "1.10.1-patch_38bafca9_clj_1472_3"]
[cljfx "1.6.1"]]
:plugins [[io.taylorwood/lein-native-image "0.3.1"]]
:native-image {:name "cljfx-graalvm"
:graal-bin "/home/user/Downloads/graalvm-ce-java11-172.16.... | true | (defproject cljfx-graalvm "0.1.0-SNAPSHOT"
:dependencies [[org.clojure/clojure "1.10.1-patch_38bafca9_clj_1472_3"]
[cljfx "1.6.1"]]
:plugins [[io.taylorwood/lein-native-image "0.3.1"]]
:native-image {:name "cljfx-graalvm"
:graal-bin "/home/user/Downloads/graalvm-ce-java11-PI:IP_A... |
[
{
"context": "-url \"https://redcap.example.com/api/\"\n :token \"ABCDEFGHIJKLMNOPQRSTUVWXYZ123456\"})\n\n(defn init []\n (println \"Running sample init",
"end": 225,
"score": 0.9962389469146729,
"start": 193,
"tag": "KEY",
"value": "ABCDEFGHIJKLMNOPQRSTUVWXYZ123456"
}
] | dev/user.clj | bmds-researchsoftware/clj-redcap | 0 | (ns user
(:require
[clojure.string :as str]
[clojure.pprint :refer (pprint)]
[mvt-clj.tools :refer [refresh]]))
(def config
{:api-url "https://redcap.example.com/api/"
:token "ABCDEFGHIJKLMNOPQRSTUVWXYZ123456"})
(defn init []
(println "Running sample init"))
(defn reset []
(refresh :after 'user/i... | 22691 | (ns user
(:require
[clojure.string :as str]
[clojure.pprint :refer (pprint)]
[mvt-clj.tools :refer [refresh]]))
(def config
{:api-url "https://redcap.example.com/api/"
:token "<KEY>"})
(defn init []
(println "Running sample init"))
(defn reset []
(refresh :after 'user/init))
| true | (ns user
(:require
[clojure.string :as str]
[clojure.pprint :refer (pprint)]
[mvt-clj.tools :refer [refresh]]))
(def config
{:api-url "https://redcap.example.com/api/"
:token "PI:KEY:<KEY>END_PI"})
(defn init []
(println "Running sample init"))
(defn reset []
(refresh :after 'user/init))
|
[
{
"context": ";; Copyright 2014-2020 King\n;; Copyright 2009-2014 Ragnar Svensson, Christian Murray\n;; Licensed under the Defold Li",
"end": 111,
"score": 0.9998119473457336,
"start": 96,
"tag": "NAME",
"value": "Ragnar Svensson"
},
{
"context": "-2020 King\n;; Copyright 2009-2014 R... | editor/src/clj/dynamo/graph.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... | 270 | ;; 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": " ])})))\n\n;; [\n;; \"v=0\n;; o=william 0 0 IN IP4 139.19.186.120\n;; s=-\n;; c=IN IP4 139.19.186.120\n;; t=0 0\n;; ",
"end": 6811,
"score": 0.9997488856315613,
"start": 6797,
"tag": "IP_ADDRESS",
"value": "139.19.186.120"
},
{
"context": "am 0 0 IN IP4 139.19.18... | src/herd_node/sip.cljs | herd1/herd | 0 | (ns herd-node.sip
(:require [cljs.core :as cljs]
[cljs.nodejs :as node]
[cljs.core.async :refer [chan <! >!]]
[clojure.string :as str]
[clojure.walk :as walk]
[herd-node.log :as log]
[herd-node.buf :as b]
[herd-node.parse :as conv]
... | 55722 | (ns herd-node.sip
(:require [cljs.core :as cljs]
[cljs.nodejs :as node]
[cljs.core.async :refer [chan <! >!]]
[clojure.string :as str]
[clojure.walk :as walk]
[herd-node.log :as log]
[herd-node.buf :as b]
[herd-node.parse :as conv]
... | true | (ns herd-node.sip
(:require [cljs.core :as cljs]
[cljs.nodejs :as node]
[cljs.core.async :refer [chan <! >!]]
[clojure.string :as str]
[clojure.walk :as walk]
[herd-node.log :as log]
[herd-node.buf :as b]
[herd-node.parse :as conv]
... |
[
{
"context": "style style\n :id id\n :name name}\n [:> flexbox {:justify-content \"between\"\n ",
"end": 4154,
"score": 0.9982097148895264,
"start": 4150,
"tag": "NAME",
"value": "name"
}
] | src/cljs/my_website/components/navbar.cljs | sansarip/my-website | 0 | (ns my-website.components.navbar
(:require [reagent.core :as r]
[my-website.utilities :refer [word-concat wrap-all-children omit-nil-keyword-args on-unit]]
[my-website.components.flexbox :refer [flexbox]]
[my-website.styles :refer [color-palette font-families]]
[spade.c... | 34842 | (ns my-website.components.navbar
(:require [reagent.core :as r]
[my-website.utilities :refer [word-concat wrap-all-children omit-nil-keyword-args on-unit]]
[my-website.components.flexbox :refer [flexbox]]
[my-website.styles :refer [color-palette font-families]]
[spade.c... | true | (ns my-website.components.navbar
(:require [reagent.core :as r]
[my-website.utilities :refer [word-concat wrap-all-children omit-nil-keyword-args on-unit]]
[my-website.components.flexbox :refer [flexbox]]
[my-website.styles :refer [color-palette font-families]]
[spade.c... |
[
{
"context": "ample from the SC book (actually taken from one of Sam Aaron's videos)\n(definst wobble [noise-rate 3 freq-mul ",
"end": 139,
"score": 0.986670196056366,
"start": 130,
"tag": "NAME",
"value": "Sam Aaron"
},
{
"context": " and receiving them on port 8000, i.e. 'acosc.exe... | data/train/clojure/a7e76d14c80c0e6ce4f36079cec32d571ccfca13demo.clj | harshp8l/deep-learning-lang-detection | 84 | (ns demo
(:use [overtone.device.audiocubes]
[overtone.live]))
;; Example from the SC book (actually taken from one of Sam Aaron's videos)
(definst wobble [noise-rate 3 freq-mul 15 variance 3 base-note 80 wobble-mul 1 echo 2]
(let [noise (lf-noise1 noise-rate)
saws (mul-add (lf-saw (* wobble-mul 5)... | 49358 | (ns demo
(:use [overtone.device.audiocubes]
[overtone.live]))
;; Example from the SC book (actually taken from one of <NAME>'s videos)
(definst wobble [noise-rate 3 freq-mul 15 variance 3 base-note 80 wobble-mul 1 echo 2]
(let [noise (lf-noise1 noise-rate)
saws (mul-add (lf-saw (* wobble-mul 5)) v... | true | (ns demo
(:use [overtone.device.audiocubes]
[overtone.live]))
;; Example from the SC book (actually taken from one of PI:NAME:<NAME>END_PI's videos)
(definst wobble [noise-rate 3 freq-mul 15 variance 3 base-note 80 wobble-mul 1 echo 2]
(let [noise (lf-noise1 noise-rate)
saws (mul-add (lf-saw (* wo... |
[
{
"context": ";; (c) Copyright 2014-2015 David Pollak (@dpp, feeder.of.the.bears at gmail)\n;;\n;; http:/",
"end": 39,
"score": 0.9998388290405273,
"start": 27,
"tag": "NAME",
"value": "David Pollak"
},
{
"context": ";; (c) Copyright 2014-2015 David Pollak (@dpp, feeder.of.the.bears ... | test/visi/core/runtime_test.clj | visicorp/visi-core | 7 | ;; (c) Copyright 2014-2015 David Pollak (@dpp, feeder.of.the.bears at gmail)
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writing, software
;; distributed under the License is distributed on an "AS IS" BASIS,
;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, ei... | 36668 | ;; (c) Copyright 2014-2015 <NAME> (@dpp, feeder.of.the.bears at gmail)
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writing, software
;; distributed under the License is distributed on an "AS IS" BASIS,
;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either e... | true | ;; (c) Copyright 2014-2015 PI:NAME:<NAME>END_PI (@dpp, feeder.of.the.bears at gmail)
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writing, software
;; distributed under the License is distributed on an "AS IS" BASIS,
;; WITHOUT WARRANTIES OR CONDITIONS OF ANY ... |
[
{
"context": ";;\n;;\n;; Copyright 2013-2015 Netflix, Inc.\n;;\n;; Licensed under the Apache Lic",
"end": 33,
"score": 0.92864990234375,
"start": 30,
"tag": "NAME",
"value": "Net"
}
] | pigpen-core/src/test/clojure/pigpen/functional/set_test.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 ... | 1047 | ;;
;;
;; 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": "ilability \" :description c-name :duration 0 :key \"retData\"})\r\n ;(swap! app-state assoc-in [:param-sel] [])",
"end": 3330,
"score": 0.9451630115509033,
"start": 3323,
"tag": "KEY",
"value": "retData"
}
] | src/weblarda3/core.cljs | lacros-tropos/weblarda3 | 0 | (ns weblarda3.core
(:require
[reagent.core :as reagent]
[cljs.core.async :as async]
[cljs-http.client :as http]
[antizer.reagent :as ant]
[clojure.string :as string]
[clojure.set :as set]
[goog.iter]
[weblarda3.vis :as vis]))
;; tiny helpers
;; (in-ns 'weblarda3.core)
(d... | 91683 | (ns weblarda3.core
(:require
[reagent.core :as reagent]
[cljs.core.async :as async]
[cljs-http.client :as http]
[antizer.reagent :as ant]
[clojure.string :as string]
[clojure.set :as set]
[goog.iter]
[weblarda3.vis :as vis]))
;; tiny helpers
;; (in-ns 'weblarda3.core)
(d... | true | (ns weblarda3.core
(:require
[reagent.core :as reagent]
[cljs.core.async :as async]
[cljs-http.client :as http]
[antizer.reagent :as ant]
[clojure.string :as string]
[clojure.set :as set]
[goog.iter]
[weblarda3.vis :as vis]))
;; tiny helpers
;; (in-ns 'weblarda3.core)
(d... |
[
{
"context": " `({:entity ~person-schema :tuples ~(list {:name \"John Doe\" :Address {:Address1 \"123 Main\" :City \"Springfiel",
"end": 1194,
"score": 0.9997431635856628,
"start": 1186,
"tag": "NAME",
"value": "John Doe"
},
{
"context": "ema :tuples [\"name,Address.Address1,Address.... | test/blutwurst/tuple_formatter_test.clj | michaeljmcd/blutwurst | 0 | (ns blutwurst.tuple-formatter-test
(:import (java.time ZonedDateTime OffsetDateTime ZoneOffset Instant LocalDate))
(:require [clojure.test :refer :all]
[clojure.pprint :refer :all]
[blutwurst.logging-fixture :refer :all]
[blutwurst.tuple-formatter :refer :all]))
(use-fixtures :e... | 23085 | (ns blutwurst.tuple-formatter-test
(:import (java.time ZonedDateTime OffsetDateTime ZoneOffset Instant LocalDate))
(:require [clojure.test :refer :all]
[clojure.pprint :refer :all]
[blutwurst.logging-fixture :refer :all]
[blutwurst.tuple-formatter :refer :all]))
(use-fixtures :e... | true | (ns blutwurst.tuple-formatter-test
(:import (java.time ZonedDateTime OffsetDateTime ZoneOffset Instant LocalDate))
(:require [clojure.test :refer :all]
[clojure.pprint :refer :all]
[blutwurst.logging-fixture :refer :all]
[blutwurst.tuple-formatter :refer :all]))
(use-fixtures :e... |
[
{
"context": "ment for ClojureScript\"\n :url \"http://github.com/nrepl/weasel\"\n :license {:name \"Unlicense\"\n ",
"end": 120,
"score": 0.9990707039833069,
"start": 115,
"tag": "USERNAME",
"value": "nrepl"
},
{
"context": "scm {:name \"git\"\n :url \"https://git... | project.clj | FelipeCortez/weasel | 0 | (defproject weasel "0.7.2"
:description "websocket REPL environment for ClojureScript"
:url "http://github.com/nrepl/weasel"
:license {:name "Unlicense"
:url "http://unlicense.org/UNLICENSE"
:distribution :repo}
:scm {:name "git"
:url "https://github.com/nrepl/weasel"}
:depend... | 86363 | (defproject weasel "0.7.2"
:description "websocket REPL environment for ClojureScript"
:url "http://github.com/nrepl/weasel"
:license {:name "Unlicense"
:url "http://unlicense.org/UNLICENSE"
:distribution :repo}
:scm {:name "git"
:url "https://github.com/nrepl/weasel"}
:depend... | true | (defproject weasel "0.7.2"
:description "websocket REPL environment for ClojureScript"
:url "http://github.com/nrepl/weasel"
:license {:name "Unlicense"
:url "http://unlicense.org/UNLICENSE"
:distribution :repo}
:scm {:name "git"
:url "https://github.com/nrepl/weasel"}
:depend... |
[
{
"context": "IMEOUT (seconds 5))\n(def ^:const LAUNCH_TASK_KEY \"diracLaunchTask\")\n(def ^:const LAUNCH_TASK_MESSAGE \"dirac-launch-",
"end": 1378,
"score": 0.9933149218559265,
"start": 1363,
"tag": "KEY",
"value": "diracLaunchTask"
},
{
"context": " 22555)\n\n(def ^:const AUTOMATI... | src/settings/dirac/settings.clj | pvinis/dirac | 0 | (ns dirac.settings
(:require [environ.core :refer [env]]))
; we want this stuff to be accessible both from clojure and clojurescript
; -- time -------------------------------------------------------------------------------------------------------------------
(def ^:const SECOND 1000)
(def ^:const MINUTE (* 60 SECO... | 66018 | (ns dirac.settings
(:require [environ.core :refer [env]]))
; we want this stuff to be accessible both from clojure and clojurescript
; -- time -------------------------------------------------------------------------------------------------------------------
(def ^:const SECOND 1000)
(def ^:const MINUTE (* 60 SECO... | true | (ns dirac.settings
(:require [environ.core :refer [env]]))
; we want this stuff to be accessible both from clojure and clojurescript
; -- time -------------------------------------------------------------------------------------------------------------------
(def ^:const SECOND 1000)
(def ^:const MINUTE (* 60 SECO... |
[
{
"context": "fmethod for performance experiments.\"\n :author \"palisades dot lakes at gmail dot com\"\n :since \"2017",
"end": 269,
"score": 0.7179064750671387,
"start": 266,
"tag": "EMAIL",
"value": "pal"
},
{
"context": "thod for performance experiments.\"\n :author \"palis... | src/main/clojure/palisades/lakes/elements/generic/dynamic2.clj | palisades-lakes/les-elemens | 0 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns palisades.lakes.elements.generic.dynamic2
{:doc "Fork of defmulti/defmethod for performance experiments."
:author "palisades dot lakes at gmail dot com"
:since "2017-... | 120867 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns palisades.lakes.elements.generic.dynamic2
{:doc "Fork of defmulti/defmethod for performance experiments."
:author "<EMAIL> <NAME> <EMAIL>"
:since "2017-06-02"
:ver... | true | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns palisades.lakes.elements.generic.dynamic2
{:doc "Fork of defmulti/defmethod for performance experiments."
:author "PI:EMAIL:<EMAIL>END_PI PI:NAME:<NAME>END_PI PI:EMAIL:<... |
[
{
"context": "eckbuilder-bg\"}\n {:name \"Dyson Mem Chip\" :ref \"cardbrowser-bg\"}\n ",
"end": 4649,
"score": 0.9586717486381531,
"start": 4635,
"tag": "NAME",
"value": "Dyson Mem Chip"
}
] | src/cljs/netrunner/account.cljs | erbridge/netrunner | 0 | (ns netrunner.account
(:require-macros [cljs.core.async.macros :refer [go]])
(:require [om.core :as om :include-macros true]
[sablono.core :as sab :include-macros true]
[cljs.core.async :refer [chan put!] :as async]
[netrunner.auth :refer [authenticated avatar] :as auth]
... | 23503 | (ns netrunner.account
(:require-macros [cljs.core.async.macros :refer [go]])
(:require [om.core :as om :include-macros true]
[sablono.core :as sab :include-macros true]
[cljs.core.async :refer [chan put!] :as async]
[netrunner.auth :refer [authenticated avatar] :as auth]
... | true | (ns netrunner.account
(:require-macros [cljs.core.async.macros :refer [go]])
(:require [om.core :as om :include-macros true]
[sablono.core :as sab :include-macros true]
[cljs.core.async :refer [chan put!] :as async]
[netrunner.auth :refer [authenticated avatar] :as auth]
... |
[
{
"context": "s true, :name \"name\", :type \"text\", :placeholder \"Your Nick\"}]]\n [:div.flex.flex-col\n {:style {:font-s",
"end": 1530,
"score": 0.988055944442749,
"start": 1521,
"tag": "NAME",
"value": "Your Nick"
}
] | src/cljs/poker/pages/index.cljc | DogLooksGood/holdem | 98 | (ns poker.pages.index
"Page for index.
Signup & login."
#?@(:node []
:cljs [(:require
[re-frame.core :as re-frame]
[poker.events.account]
[poker.subs.account]
[clojure.string :as str])]))
#?(:clj
(defn on-signup [])
:node
(defn on-sign... | 118510 | (ns poker.pages.index
"Page for index.
Signup & login."
#?@(:node []
:cljs [(:require
[re-frame.core :as re-frame]
[poker.events.account]
[poker.subs.account]
[clojure.string :as str])]))
#?(:clj
(defn on-signup [])
:node
(defn on-sign... | true | (ns poker.pages.index
"Page for index.
Signup & login."
#?@(:node []
:cljs [(:require
[re-frame.core :as re-frame]
[poker.events.account]
[poker.subs.account]
[clojure.string :as str])]))
#?(:clj
(defn on-signup [])
:node
(defn on-sign... |
[
{
"context": "reload\n\n(def schema-version \"0\")\n(def schema-key \"chv-schema-version\")\n(def state-key \"chv-state\")\n\n(defn update-versi",
"end": 474,
"score": 0.9982163310050964,
"start": 456,
"tag": "KEY",
"value": "chv-schema-version"
},
{
"context": " schema-key \"chv-sch... | src/chronverna/core.cljs | dphilipson/chronverna | 2 | (ns chronverna.core
(:require [reagent.core :as reagent :refer [atom]]
[chronverna.setup :as setup]
[chronverna.game :as game]
[chronverna.components :as components]
[cljs.reader :as reader]))
(enable-console-print!)
(println "Edits to this text should show up in your... | 47830 | (ns chronverna.core
(:require [reagent.core :as reagent :refer [atom]]
[chronverna.setup :as setup]
[chronverna.game :as game]
[chronverna.components :as components]
[cljs.reader :as reader]))
(enable-console-print!)
(println "Edits to this text should show up in your... | true | (ns chronverna.core
(:require [reagent.core :as reagent :refer [atom]]
[chronverna.setup :as setup]
[chronverna.game :as game]
[chronverna.components :as components]
[cljs.reader :as reader]))
(enable-console-print!)
(println "Edits to this text should show up in your... |
[
{
"context": " \"Clojure i18n library\"\n :url \"http://github.com/puppetlabs/clj-i18n\"\n :license {:name \"Apache License, Vers",
"end": 119,
"score": 0.9347796440124512,
"start": 109,
"tag": "USERNAME",
"value": "puppetlabs"
},
{
"context": "e\n ... | project.clj | janelu2/clj-i18n | 0 | (defproject puppetlabs/i18n "0.4.1-SNAPSHOT"
:description "Clojure i18n library"
:url "http://github.com/puppetlabs/clj-i18n"
:license {:name "Apache License, Version 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0"}
:pedantic? :abort
:dependencies [[org.clojure/clojure "1.6.0"]
... | 12412 | (defproject puppetlabs/i18n "0.4.1-SNAPSHOT"
:description "Clojure i18n library"
:url "http://github.com/puppetlabs/clj-i18n"
:license {:name "Apache License, Version 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0"}
:pedantic? :abort
:dependencies [[org.clojure/clojure "1.6.0"]
... | true | (defproject puppetlabs/i18n "0.4.1-SNAPSHOT"
:description "Clojure i18n library"
:url "http://github.com/puppetlabs/clj-i18n"
:license {:name "Apache License, Version 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0"}
:pedantic? :abort
:dependencies [[org.clojure/clojure "1.6.0"]
... |
[
{
"context": "(assoc (UUID/randomUUID) {:name \"HAI!\" :password \"A password\"})\n ",
"end": 938,
"score": 0.9993205070495605,
"start": 928,
"tag": "PASSWORD",
"value": "A password"
}
] | src/docker_testing_demo/core.clj | lfn3/clojure-docker-integration-testing | 1 | (ns docker-testing-demo.core
(:require [clojure.test :as t]
[org.httpkit.server :as srv]
[clojure.edn :as edn]
[org.httpkit.client :as c])
(:gen-class)
(:import (java.util UUID)))
(defn server-handler [req]
(case (:uri req)
"/users" {:body (-> @(c/get "http://database/us... | 31380 | (ns docker-testing-demo.core
(:require [clojure.test :as t]
[org.httpkit.server :as srv]
[clojure.edn :as edn]
[org.httpkit.client :as c])
(:gen-class)
(:import (java.util UUID)))
(defn server-handler [req]
(case (:uri req)
"/users" {:body (-> @(c/get "http://database/us... | true | (ns docker-testing-demo.core
(:require [clojure.test :as t]
[org.httpkit.server :as srv]
[clojure.edn :as edn]
[org.httpkit.client :as c])
(:gen-class)
(:import (java.util UUID)))
(defn server-handler [req]
(case (:uri req)
"/users" {:body (-> @(c/get "http://database/us... |
[
{
"context": "ername :env/nexus_jenkins_username\n :password :env/nexus_jenkins_password\n :sign-releases false })\n\n(def heap-size-from-",
"end": 164,
"score": 0.8707956075668335,
"start": 138,
"tag": "PASSWORD",
"value": "env/nexus_jenkins_password"
},
{
"context": "server-r... | project.clj | adreyer/puppetserver | 0 | (def ps-version "6.0.0-master-SNAPSHOT")
(defn deploy-info
[url]
{ :url url
:username :env/nexus_jenkins_username
:password :env/nexus_jenkins_password
:sign-releases false })
(def heap-size-from-profile-clj
(let [profile-clj (io/file (System/getenv "HOME") ".lein" "profiles.clj")]
(if (.exists ... | 56825 | (def ps-version "6.0.0-master-SNAPSHOT")
(defn deploy-info
[url]
{ :url url
:username :env/nexus_jenkins_username
:password :<PASSWORD>
:sign-releases false })
(def heap-size-from-profile-clj
(let [profile-clj (io/file (System/getenv "HOME") ".lein" "profiles.clj")]
(if (.exists profile-clj)
... | true | (def ps-version "6.0.0-master-SNAPSHOT")
(defn deploy-info
[url]
{ :url url
:username :env/nexus_jenkins_username
:password :PI:PASSWORD:<PASSWORD>END_PI
:sign-releases false })
(def heap-size-from-profile-clj
(let [profile-clj (io/file (System/getenv "HOME") ".lein" "profiles.clj")]
(if (.exist... |
[
{
"context": "--------------\n;; rel\n\n(defrel man p)\n\n(fact man 'Bob)\n(fact man 'John)\n(fact man 'Ricky)\n\n(defrel woma",
"end": 24411,
"score": 0.9926538467407227,
"start": 24408,
"tag": "NAME",
"value": "Bob"
},
{
"context": "; rel\n\n(defrel man p)\n\n(fact man 'Bob)\n(fact... | src/test/clojure/clojure/core/logic/tests.clj | cgrand/core.logic | 1 | (ns clojure.core.logic.tests
(:refer-clojure :exclude [==])
(:use [clojure.core.logic :exclude [is]] :reload)
(:use clojure.test))
;; =============================================================================
;; unify
;; -----------------------------------------------------------------------------
;; nil
(d... | 63500 | (ns clojure.core.logic.tests
(:refer-clojure :exclude [==])
(:use [clojure.core.logic :exclude [is]] :reload)
(:use clojure.test))
;; =============================================================================
;; unify
;; -----------------------------------------------------------------------------
;; nil
(d... | true | (ns clojure.core.logic.tests
(:refer-clojure :exclude [==])
(:use [clojure.core.logic :exclude [is]] :reload)
(:use clojure.test))
;; =============================================================================
;; unify
;; -----------------------------------------------------------------------------
;; nil
(d... |
[
{
"context": "el increase-by}))\n\n(increase-cuddle-hunger-level @fred 10)\n;; => {:cuddle-hunger-level 16, :percent-dete",
"end": 945,
"score": 0.8607107400894165,
"start": 941,
"tag": "USERNAME",
"value": "fred"
},
{
"context": "ddle-hunger-level 26, :percent-deteriorated 61}\n\n@f... | code/clojure-noob/src/clojure_noob/ch10.clj | itsrainingmani/learn-clojure-in-public | 7 | (ns clojure-noob.ch10
(:require [clojure.repl :refer :all])
(:gen-class))
(defn- ch10 [] (println "Welcome to Ch10"))
(ch10)
(def fred (atom {:cuddle-hunger-level 0
:percent-deteriorated 60}))
(println @fred) ;; doesn't block
(let [zombie-state @fred]
(if (>= (:percent-deteriorated zombie-st... | 38059 | (ns clojure-noob.ch10
(:require [clojure.repl :refer :all])
(:gen-class))
(defn- ch10 [] (println "Welcome to Ch10"))
(ch10)
(def fred (atom {:cuddle-hunger-level 0
:percent-deteriorated 60}))
(println @fred) ;; doesn't block
(let [zombie-state @fred]
(if (>= (:percent-deteriorated zombie-st... | true | (ns clojure-noob.ch10
(:require [clojure.repl :refer :all])
(:gen-class))
(defn- ch10 [] (println "Welcome to Ch10"))
(ch10)
(def fred (atom {:cuddle-hunger-level 0
:percent-deteriorated 60}))
(println @fred) ;; doesn't block
(let [zombie-state @fred]
(if (>= (:percent-deteriorated zombie-st... |
[
{
"context": "ge, London, All rights reserved.\n;\n; Contributors: Jony Hudson\n;\n; Released under the MIT license..\n;\n\n(ns darwi",
"end": 134,
"score": 0.9997614622116089,
"start": 123,
"tag": "NAME",
"value": "Jony Hudson"
}
] | src/darwin/utility/random.clj | drcode/darwin | 22 | ;
; This file is part of darwin.
;
; Copyright (C) 2014-, Imperial College, London, All rights reserved.
;
; Contributors: Jony Hudson
;
; Released under the MIT license..
;
(ns darwin.utility.random
"Random number generators and associated functions. These mirror the functions in clojure.core, but
use java's Thre... | 83104 | ;
; This file is part of darwin.
;
; Copyright (C) 2014-, Imperial College, London, All rights reserved.
;
; Contributors: <NAME>
;
; Released under the MIT license..
;
(ns darwin.utility.random
"Random number generators and associated functions. These mirror the functions in clojure.core, but
use java's ThreadLoc... | true | ;
; This file is part of darwin.
;
; Copyright (C) 2014-, Imperial College, London, All rights reserved.
;
; Contributors: PI:NAME:<NAME>END_PI
;
; Released under the MIT license..
;
(ns darwin.utility.random
"Random number generators and associated functions. These mirror the functions in clojure.core, but
use ja... |
[
{
"context": "the command line from user input.\"\n :author \"Paul Landes\"}\n zensols.cisql.read\n (:import [java.util.re",
"end": 90,
"score": 0.9998750686645508,
"start": 79,
"tag": "NAME",
"value": "Paul Landes"
}
] | src/clojure/zensols/cisql/read.clj | plandes/cisql | 12 | (ns ^{:doc "Process query at the command line from user input."
:author "Paul Landes"}
zensols.cisql.read
(:import [java.util.regex Matcher])
(:require [clojure.tools.logging :as log]
[clojure.string :as s]
[instaparse.core :as insta]
[zensols.cisql.conf :as conf]))
(d... | 52775 | (ns ^{:doc "Process query at the command line from user input."
:author "<NAME>"}
zensols.cisql.read
(:import [java.util.regex Matcher])
(:require [clojure.tools.logging :as log]
[clojure.string :as s]
[instaparse.core :as insta]
[zensols.cisql.conf :as conf]))
(def ^:... | true | (ns ^{:doc "Process query at the command line from user input."
:author "PI:NAME:<NAME>END_PI"}
zensols.cisql.read
(:import [java.util.regex Matcher])
(:require [clojure.tools.logging :as log]
[clojure.string :as s]
[instaparse.core :as insta]
[zensols.cisql.conf :as co... |
[
{
"context": "))\n\n(deftest jobs-permissions-test\n (let [token \"NO_PERMISSIONS_TOKEN\"]\n (assert-invalid-permissions (url/mdb-jobs-u",
"end": 2474,
"score": 0.9892242550849915,
"start": 2454,
"tag": "PASSWORD",
"value": "NO_PERMISSIONS_TOKEN"
}
] | system-int-test/test/cmr/system_int_test/misc/jobs_test.clj | jaybarra/Common-Metadata-Repository | 0 | (ns cmr.system-int-test.misc.jobs-test
"This tests the jobs api."
(:require
[cheshire.core :as json]
[clj-http.client :as client]
[clojure.test :refer :all]
[cmr.system-int-test.system :as s]
[cmr.system-int-test.utils.url-helper :as url]
[cmr.transmit.config :as transmit-config]))
(defn- perform... | 111985 | (ns cmr.system-int-test.misc.jobs-test
"This tests the jobs api."
(:require
[cheshire.core :as json]
[clj-http.client :as client]
[clojure.test :refer :all]
[cmr.system-int-test.system :as s]
[cmr.system-int-test.utils.url-helper :as url]
[cmr.transmit.config :as transmit-config]))
(defn- perform... | true | (ns cmr.system-int-test.misc.jobs-test
"This tests the jobs api."
(:require
[cheshire.core :as json]
[clj-http.client :as client]
[clojure.test :refer :all]
[cmr.system-int-test.system :as s]
[cmr.system-int-test.utils.url-helper :as url]
[cmr.transmit.config :as transmit-config]))
(defn- perform... |
[
{
"context": ";; Copyright © 2015-2019 Esko Luontola\n;; This software is released under the Apache Lic",
"end": 38,
"score": 0.9998839497566223,
"start": 25,
"tag": "NAME",
"value": "Esko Luontola"
}
] | test/territory_bro/event_store_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.event-store-test
(:require [clojure.java.jdbc :as jdbc]
[clojure.string :as str]
[clojure.test :refer :all]
... | 64712 | ;; 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.event-store-test
(:require [clojure.java.jdbc :as jdbc]
[clojure.string :as str]
[clojure.test :refer :all]
... | 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.event-store-test
(:require [clojure.java.jdbc :as jdbc]
[clojure.string :as str]
[clojure.test :refer... |
[
{
"context": "(ns ^{:author \"Sean Dawson\"\n :doc \"Parses a nanoweave transform express",
"end": 26,
"score": 0.9998635053634644,
"start": 15,
"tag": "NAME",
"value": "Sean Dawson"
}
] | src/nanoweave/parsers/expr.clj | NoxHarmonium/nanoweave | 0 | (ns ^{:author "Sean Dawson"
:doc "Parses a nanoweave transform expression.\n An expression combines all the other parsers together and is recursive\n to allow complex transforms to be parsed."}
nanoweave.parsers.expr
(:require [blancas.kern.core :refer [<:> <|> fwd]]
[blancas.... | 93781 | (ns ^{:author "<NAME>"
:doc "Parses a nanoweave transform expression.\n An expression combines all the other parsers together and is recursive\n to allow complex transforms to be parsed."}
nanoweave.parsers.expr
(:require [blancas.kern.core :refer [<:> <|> fwd]]
[blancas.kern.... | true | (ns ^{:author "PI:NAME:<NAME>END_PI"
:doc "Parses a nanoweave transform expression.\n An expression combines all the other parsers together and is recursive\n to allow complex transforms to be parsed."}
nanoweave.parsers.expr
(:require [blancas.kern.core :refer [<:> <|> fwd]]
... |
[
{
"context": ";\n; Copyright © 2021 Peter Monks\n;\n; Licensed under the Apache License, Version 2.",
"end": 32,
"score": 0.9998865127563477,
"start": 21,
"tag": "NAME",
"value": "Peter Monks"
},
{
"context": " :url \"https://github.com/pmonks/CLJ-2253\"\n ... | pbr.clj | pmonks/CLJ-2253 | 0 | ;
; 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... | 118320 | ;
; 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": "456\")\n\n\n(def participant {:_id USER_ID :username \"username\" :writer-records []})\n(def writer-for-objective {",
"end": 804,
"score": 0.9996299147605896,
"start": 796,
"tag": "USERNAME",
"value": "username"
},
{
"context": "def writer-for-objective {:_id USER_ID :u... | test/objective8/integration/front_end/validations.clj | d-cent/objective8 | 23 | (ns objective8.integration.front-end.validations
(:require [midje.sweet :refer :all]
[peridot.core :as p]
[oauth.client :as oauth]
[objective8.front-end.api.http :as http-api]
[objective8.integration.integration-helpers :as ih]
[objective8.config :as config]... | 65018 | (ns objective8.integration.front-end.validations
(:require [midje.sweet :refer :all]
[peridot.core :as p]
[oauth.client :as oauth]
[objective8.front-end.api.http :as http-api]
[objective8.integration.integration-helpers :as ih]
[objective8.config :as config]... | true | (ns objective8.integration.front-end.validations
(:require [midje.sweet :refer :all]
[peridot.core :as p]
[oauth.client :as oauth]
[objective8.front-end.api.http :as http-api]
[objective8.integration.integration-helpers :as ih]
[objective8.config :as config]... |
[
{
"context": "/app {:health-handler ::invalid}})\n :key := :blaze.handler/app\n :reason := ::ig/build-failed-spec\n [:e",
"end": 1573,
"score": 0.9664848446846008,
"start": 1556,
"tag": "KEY",
"value": "blaze.handler/app"
}
] | test/blaze/handler/app_test.clj | samply/blaze | 50 | (ns blaze.handler.app-test
(:require
[blaze.async.comp :as ac]
[blaze.handler.app]
[blaze.test-util :refer [given-thrown with-system]]
[clojure.spec.alpha :as s]
[clojure.spec.test.alpha :as st]
[clojure.test :as test :refer [deftest testing]]
[integrant.core :as ig]
[juxt.iota :refer ... | 108692 | (ns blaze.handler.app-test
(:require
[blaze.async.comp :as ac]
[blaze.handler.app]
[blaze.test-util :refer [given-thrown with-system]]
[clojure.spec.alpha :as s]
[clojure.spec.test.alpha :as st]
[clojure.test :as test :refer [deftest testing]]
[integrant.core :as ig]
[juxt.iota :refer ... | true | (ns blaze.handler.app-test
(:require
[blaze.async.comp :as ac]
[blaze.handler.app]
[blaze.test-util :refer [given-thrown with-system]]
[clojure.spec.alpha :as s]
[clojure.spec.test.alpha :as st]
[clojure.test :as test :refer [deftest testing]]
[integrant.core :as ig]
[juxt.iota :refer ... |
[
{
"context": " (is (= (f/transform-stream-item [:insert {:name \"John\"}]) {:event-type :insert :new {:name \"John\"}}))\n ",
"end": 297,
"score": 0.9997923970222473,
"start": 293,
"tag": "NAME",
"value": "John"
},
{
"context": ":name \"John\"}]) {:event-type :insert :new {:name \"Jo... | data/train/clojure/cd15bd9d1e013544bbef556fcb034bba264cf531functions_test.clj | harshp8l/deep-learning-lang-detection | 84 | (ns onyx.plugin.functions-test
(:require [clojure.test :refer [deftest is testing]]
[onyx.plugin.functions :as f]))
(deftest test-cases-for-stream-transducer
(testing "Given an insert payload resembling a dynamodb stream"
(is (= (f/transform-stream-item [:insert {:name "John"}]) {:event-type :inse... | 20511 | (ns onyx.plugin.functions-test
(:require [clojure.test :refer [deftest is testing]]
[onyx.plugin.functions :as f]))
(deftest test-cases-for-stream-transducer
(testing "Given an insert payload resembling a dynamodb stream"
(is (= (f/transform-stream-item [:insert {:name "<NAME>"}]) {:event-type :in... | true | (ns onyx.plugin.functions-test
(:require [clojure.test :refer [deftest is testing]]
[onyx.plugin.functions :as f]))
(deftest test-cases-for-stream-transducer
(testing "Given an insert payload resembling a dynamodb stream"
(is (= (f/transform-stream-item [:insert {:name "PI:NAME:<NAME>END_PI"}]) {:... |
[
{
"context": "ook chapter))\n\n(defroute \"/\" [] (dispatch-verses \"Matthew\" 1))\n\n(defn mount-root []\n (re-frame/clear-s",
"end": 914,
"score": 0.9636551141738892,
"start": 911,
"tag": "NAME",
"value": "Mat"
},
{
"context": " chapter))\n\n(defroute \"/\" [] (dispatch-verses \"M... | data/test/clojure/87f3b9ffcfb150fcc9b64d0e72bbb043c56fcea4core.cljs | harshp8l/deep-learning-lang-detection | 84 | (ns ad-fontes.core
(:require
[reagent.core :as reagent]
[re-frame.core :as re-frame]
[re-frisk.core :refer [enable-re-frisk!]]
[secretary.core :as secretary :refer-macros [defroute]]
[ad-fontes.events]
[ad-fontes.subs]
[ad-fontes.views :as views]
[ad-fontes.config :as config]))
(defn dev-setu... | 121215 | (ns ad-fontes.core
(:require
[reagent.core :as reagent]
[re-frame.core :as re-frame]
[re-frisk.core :refer [enable-re-frisk!]]
[secretary.core :as secretary :refer-macros [defroute]]
[ad-fontes.events]
[ad-fontes.subs]
[ad-fontes.views :as views]
[ad-fontes.config :as config]))
(defn dev-setu... | true | (ns ad-fontes.core
(:require
[reagent.core :as reagent]
[re-frame.core :as re-frame]
[re-frisk.core :refer [enable-re-frisk!]]
[secretary.core :as secretary :refer-macros [defroute]]
[ad-fontes.events]
[ad-fontes.subs]
[ad-fontes.views :as views]
[ad-fontes.config :as config]))
(defn dev-setu... |
[
{
"context": "rams {:id \"foo\"\n :name \"bar\"\n :url \"baz\"}\n ",
"end": 604,
"score": 0.518403172492981,
"start": 601,
"tag": "NAME",
"value": "bar"
},
{
"context": ":id \"foo\"\n :name \"... | test/bob/handlers/build_repo_handler_test.clj | lyeung/bob-clj | 0 | (ns bob.handlers.build-repo-handler-test
(:require
[bob.db.build-repo :as build-repo]
[bob.handlers.build-repo-handler :as h]
[bob.mock :refer [defmocktest
mocking
stubbing
verify-call-times-for
verify-first-call-args-for
... | 78175 | (ns bob.handlers.build-repo-handler-test
(:require
[bob.db.build-repo :as build-repo]
[bob.handlers.build-repo-handler :as h]
[bob.mock :refer [defmocktest
mocking
stubbing
verify-call-times-for
verify-first-call-args-for
... | true | (ns bob.handlers.build-repo-handler-test
(:require
[bob.db.build-repo :as build-repo]
[bob.handlers.build-repo-handler :as h]
[bob.mock :refer [defmocktest
mocking
stubbing
verify-call-times-for
verify-first-call-args-for
... |
[
{
"context": "st test-application-api-session\n (let [username \"alice\"\n cookie (login-with-cookies username)\n ",
"end": 2608,
"score": 0.9729512929916382,
"start": 2603,
"tag": "USERNAME",
"value": "alice"
},
{
"context": "eftest test-application-commands\n (let [user-... | test/clj/rems/api/test_applications.clj | dycons/rems | 0 | (ns ^:integration rems.api.test-applications
(:require [clj-time.core :as time]
[clojure.java.io :as io]
[clojure.string :as str]
[clojure.test :refer :all]
[rems.api.services.catalogue :as catalogue]
[rems.api.testing :refer :all]
[rems.db.appli... | 87360 | (ns ^:integration rems.api.test-applications
(:require [clj-time.core :as time]
[clojure.java.io :as io]
[clojure.string :as str]
[clojure.test :refer :all]
[rems.api.services.catalogue :as catalogue]
[rems.api.testing :refer :all]
[rems.db.appli... | true | (ns ^:integration rems.api.test-applications
(:require [clj-time.core :as time]
[clojure.java.io :as io]
[clojure.string :as str]
[clojure.test :refer :all]
[rems.api.services.catalogue :as catalogue]
[rems.api.testing :refer :all]
[rems.db.appli... |
[
{
"context": "urity tokens,\n and related secrets.\"\n {:author \"Isaak Uchakaev\"\n :last-update-date \"19-10-2021\"}\n (:import (o",
"end": 241,
"score": 0.9998928308486938,
"start": 227,
"tag": "NAME",
"value": "Isaak Uchakaev"
}
] | src/secrets/core.clj | lk-geimfari/secrets.clj | 66 | (ns secrets.core
"The secrets module is used for generating cryptographically strong random numbers
suitable for managing data such as passwords, account authentication, security tokens,
and related secrets."
{:author "Isaak Uchakaev"
:last-update-date "19-10-2021"}
(:import (org.apache.commons.codec.binar... | 99213 | (ns secrets.core
"The secrets module is used for generating cryptographically strong random numbers
suitable for managing data such as passwords, account authentication, security tokens,
and related secrets."
{:author "<NAME>"
:last-update-date "19-10-2021"}
(:import (org.apache.commons.codec.binary Base64... | true | (ns secrets.core
"The secrets module is used for generating cryptographically strong random numbers
suitable for managing data such as passwords, account authentication, security tokens,
and related secrets."
{:author "PI:NAME:<NAME>END_PI"
:last-update-date "19-10-2021"}
(:import (org.apache.commons.codec... |
[
{
"context": "s/\" id \"/people\")\n {:params {:name name}\n :format :json\n :respon",
"end": 426,
"score": 0.9859796166419983,
"start": 422,
"tag": "NAME",
"value": "name"
}
] | src/cljs/avalon/pages/home.cljs | baritonehands/avalon | 5 | (ns avalon.pages.home
(:require [ajax.core :refer [POST]]
[reagent.core :as r]
[avalon.utils :refer [row col show-error make-styles]]
[avalon.pages.games :as games]
[accountant.core :as route]
[material-ui :as ui]
[reagent.session :as session]))
... | 51366 | (ns avalon.pages.home
(:require [ajax.core :refer [POST]]
[reagent.core :as r]
[avalon.utils :refer [row col show-error make-styles]]
[avalon.pages.games :as games]
[accountant.core :as route]
[material-ui :as ui]
[reagent.session :as session]))
... | true | (ns avalon.pages.home
(:require [ajax.core :refer [POST]]
[reagent.core :as r]
[avalon.utils :refer [row col show-error make-styles]]
[avalon.pages.games :as games]
[accountant.core :as route]
[material-ui :as ui]
[reagent.session :as session]))
... |
[
{
"context": ";;\n;;\n;; Copyright 2013 Netflix, Inc.\n;;\n;; Licensed under the Apache License",
"end": 32,
"score": 0.8192288875579834,
"start": 25,
"tag": "NAME",
"value": "Netflix"
}
] | src/main/clojure/pigpen/core.clj | magomimmo/PigPen | 1 | ;;
;;
;; Copyright 2013 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 by ap... | 5609 | ;;
;;
;; Copyright 2013 <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 app... | true | ;;
;;
;; Copyright 2013 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 r... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.