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": "\"))\n\n(def blank-string \"\")\n(def invalid-password \"blah\")\n(def valid-password \"12345678\")\n(def valid-new-",
"end": 616,
"score": 0.9992683529853821,
"start": 612,
"tag": "PASSWORD",
"value": "blah"
},
{
"context": "def invalid-password \"blah\")\n(def valid-p... | test-cljs/stonecutter/test/integration/change_password.cljs | d-cent/stonecutter | 39 | (ns stonecutter.test.integration.change-password
(:require [cemerick.cljs.test]
[stonecutter.js.app :as app]
[stonecutter.js.dom.common :as dom]
[stonecutter.js.dom.change-password :as cpd]
[stonecutter.js.controller.change-password :as cpc]
[stonecutter.tes... | 92845 | (ns stonecutter.test.integration.change-password
(:require [cemerick.cljs.test]
[stonecutter.js.app :as app]
[stonecutter.js.dom.common :as dom]
[stonecutter.js.dom.change-password :as cpd]
[stonecutter.js.controller.change-password :as cpc]
[stonecutter.tes... | true | (ns stonecutter.test.integration.change-password
(:require [cemerick.cljs.test]
[stonecutter.js.app :as app]
[stonecutter.js.dom.common :as dom]
[stonecutter.js.dom.change-password :as cpd]
[stonecutter.js.controller.change-password :as cpc]
[stonecutter.tes... |
[
{
"context": "with allocation and deallocation.\"\n :author \"Sam Aaron\"}\n overtone.sc.machinery.allocator\n (:use [over",
"end": 249,
"score": 0.99989253282547,
"start": 240,
"tag": "NAME",
"value": "Sam Aaron"
}
] | src/overtone/sc/machinery/allocator.clj | rosejn/overtone | 4 | (ns
^{:doc "ID allocator system. Used to return new unique integer IDs in a threadsafe manner. IDs may be freed and therefore reused. Allows action fns to be executed in synchronisation with allocation and deallocation."
:author "Sam Aaron"}
overtone.sc.machinery.allocator
(:use [overtone.sc.machinery def... | 13608 | (ns
^{:doc "ID allocator system. Used to return new unique integer IDs in a threadsafe manner. IDs may be freed and therefore reused. Allows action fns to be executed in synchronisation with allocation and deallocation."
:author "<NAME>"}
overtone.sc.machinery.allocator
(:use [overtone.sc.machinery defaul... | true | (ns
^{:doc "ID allocator system. Used to return new unique integer IDs in a threadsafe manner. IDs may be freed and therefore reused. Allows action fns to be executed in synchronisation with allocation and deallocation."
:author "PI:NAME:<NAME>END_PI"}
overtone.sc.machinery.allocator
(:use [overtone.sc.ma... |
[
{
"context": "rid \"handler\"\n :name \"Hannah Handler\"\n :email \"handler@exa",
"end": 1408,
"score": 0.9997825026512146,
"start": 1394,
"tag": "NAME",
"value": "Hannah Handler"
},
{
"context": "nah Handler\"\n ... | test/clj/rems/email/test_template.clj | dycons/rems | 0 | (ns rems.email.test-template
(:require [clojure.test :refer :all]
[mount.core :as mount]
[rems.application.model :as model]
[rems.config]
[rems.db.user-settings :as user-settings]
[rems.email.template :as template]
[rems.locales])
(:import (org... | 30844 | (ns rems.email.test-template
(:require [clojure.test :refer :all]
[mount.core :as mount]
[rems.application.model :as model]
[rems.config]
[rems.db.user-settings :as user-settings]
[rems.email.template :as template]
[rems.locales])
(:import (org... | true | (ns rems.email.test-template
(:require [clojure.test :refer :all]
[mount.core :as mount]
[rems.application.model :as model]
[rems.config]
[rems.db.user-settings :as user-settings]
[rems.email.template :as template]
[rems.locales])
(:import (org... |
[
{
"context": "\"lasttwo\"]) => \n [{:first \"firstone\" :last \"lastone\"}\n {:first \"fi",
"end": 277,
"score": 0.5296694040298462,
"start": 274,
"tag": "NAME",
"value": "one"
}
] | ClojureExamples/test/mbfpp/test/functional/tr/names.clj | cycle-chen/mbfpp-code | 4 | (ns mbfpp.test.functional.tr.names
(:use [mbfpp.functional.tr.names])
(:use [midje.sweet]))
(fact "Make people makes people from sequences of first and last names."
(make-people ["firstone" "firsttwo"] ["lastone" "lasttwo"]) =>
[{:first "firstone" :last "lastone"}
{:fi... | 36837 | (ns mbfpp.test.functional.tr.names
(:use [mbfpp.functional.tr.names])
(:use [midje.sweet]))
(fact "Make people makes people from sequences of first and last names."
(make-people ["firstone" "firsttwo"] ["lastone" "lasttwo"]) =>
[{:first "first<NAME>" :last "lastone"}
{... | true | (ns mbfpp.test.functional.tr.names
(:use [mbfpp.functional.tr.names])
(:use [midje.sweet]))
(fact "Make people makes people from sequences of first and last names."
(make-people ["firstone" "firsttwo"] ["lastone" "lasttwo"]) =>
[{:first "firstPI:NAME:<NAME>END_PI" :last "lastone"}
... |
[
{
"context": "Gen argument validation functions.\"\n :author \"Jeff Rose & Christophe McKeon\"}\n overtone.sc.machinery.uge",
"end": 74,
"score": 0.9998589158058167,
"start": 65,
"tag": "NAME",
"value": "Jeff Rose"
},
{
"context": "t validation functions.\"\n :author \"Jeff ... | src/overtone/sc/machinery/ugen/check.clj | ABaldwinHunter/overtone | 3,870 | (ns
^{:doc "UGen argument validation functions."
:author "Jeff Rose & Christophe McKeon"}
overtone.sc.machinery.ugen.check
(:use [overtone.helpers.math :only [power-of-two?]]
[overtone.sc.machinery.ugen defaults sc-ugen]
[overtone.helpers.lib :only [overtone-ugen-name]]))
(defn rate-name= [o... | 102402 | (ns
^{:doc "UGen argument validation functions."
:author "<NAME> & <NAME>"}
overtone.sc.machinery.ugen.check
(:use [overtone.helpers.math :only [power-of-two?]]
[overtone.sc.machinery.ugen defaults sc-ugen]
[overtone.helpers.lib :only [overtone-ugen-name]]))
(defn rate-name= [obj rate]
(= ... | true | (ns
^{:doc "UGen argument validation functions."
:author "PI:NAME:<NAME>END_PI & PI:NAME:<NAME>END_PI"}
overtone.sc.machinery.ugen.check
(:use [overtone.helpers.math :only [power-of-two?]]
[overtone.sc.machinery.ugen defaults sc-ugen]
[overtone.helpers.lib :only [overtone-ugen-name]]))
(defn... |
[
{
"context": "(ns ^{:author \"Adam Berger\"} ulvm.docker-utils\n \"ULVM Docker utilities\"\n (",
"end": 26,
"score": 0.9998710751533508,
"start": 15,
"tag": "NAME",
"value": "Adam Berger"
}
] | src/ulvm/docker_utils.clj | abrgr/ulvm | 0 | (ns ^{:author "Adam Berger"} ulvm.docker-utils
"ULVM Docker utilities"
(:require [ulvm.project :as uprj]
[ulvm.func-utils :as futil]
[cats.monad.either :as e])
(:import [com.spotify.docker.client DefaultDockerClient
ProgressHandler
DockerClient$LogsParam
... | 41469 | (ns ^{:author "<NAME>"} ulvm.docker-utils
"ULVM Docker utilities"
(:require [ulvm.project :as uprj]
[ulvm.func-utils :as futil]
[cats.monad.either :as e])
(:import [com.spotify.docker.client DefaultDockerClient
ProgressHandler
DockerClient$LogsParam
... | true | (ns ^{:author "PI:NAME:<NAME>END_PI"} ulvm.docker-utils
"ULVM Docker utilities"
(:require [ulvm.project :as uprj]
[ulvm.func-utils :as futil]
[cats.monad.either :as e])
(:import [com.spotify.docker.client DefaultDockerClient
ProgressHandler
DockerClient$LogsParam... |
[
{
"context": "adge\n {:class (classes :badge)\n :name @name\n :balance @balance\n :dealer? @dealer?",
"end": 1613,
"score": 0.46401751041412354,
"start": 1609,
"tag": "NAME",
"value": "name"
}
] | src/schafkopf/frontend/game/views/player_bar.cljs | ferdinand-beyer/schafkopf | 1 | (ns schafkopf.frontend.game.views.player-bar
(:require [reagent.core :as r :refer [with-let]]
[re-frame.core :as rf]
[mui-bien.core.app-bar :refer [app-bar]]
[mui-bien.core.button :refer [button]]
[mui-bien.core.styles :refer [make-styles]]
[mui-bien.core.t... | 89838 | (ns schafkopf.frontend.game.views.player-bar
(:require [reagent.core :as r :refer [with-let]]
[re-frame.core :as rf]
[mui-bien.core.app-bar :refer [app-bar]]
[mui-bien.core.button :refer [button]]
[mui-bien.core.styles :refer [make-styles]]
[mui-bien.core.t... | true | (ns schafkopf.frontend.game.views.player-bar
(:require [reagent.core :as r :refer [with-let]]
[re-frame.core :as rf]
[mui-bien.core.app-bar :refer [app-bar]]
[mui-bien.core.button :refer [button]]
[mui-bien.core.styles :refer [make-styles]]
[mui-bien.core.t... |
[
{
"context": "ient-config\n {:url server-url\n :username \"username\"\n :password \"password\"})\n\n(deftest client-creat",
"end": 552,
"score": 0.9981533885002136,
"start": 544,
"tag": "USERNAME",
"value": "username"
},
{
"context": " server-url\n :username \"username\"\... | test/clj_concourse/client_test.clj | JDurstberger/clj-concourse | 0 | (ns clj-concourse.client-test
(:require
[clj-concourse.core :as concourse]
[clj-concourse.test-support.api-responses :as api-responses]
[clj-concourse.test-support.data :as data]
[clj-wiremock.core :as wmk]
[clojure.test :refer :all]
[freeport.core :refer [get-free-port!]]))
(def wiremock-por... | 105654 | (ns clj-concourse.client-test
(:require
[clj-concourse.core :as concourse]
[clj-concourse.test-support.api-responses :as api-responses]
[clj-concourse.test-support.data :as data]
[clj-wiremock.core :as wmk]
[clojure.test :refer :all]
[freeport.core :refer [get-free-port!]]))
(def wiremock-por... | true | (ns clj-concourse.client-test
(:require
[clj-concourse.core :as concourse]
[clj-concourse.test-support.api-responses :as api-responses]
[clj-concourse.test-support.data :as data]
[clj-wiremock.core :as wmk]
[clojure.test :refer :all]
[freeport.core :refer [get-free-port!]]))
(def wiremock-por... |
[
{
"context": ";; The MIT License (MIT)\n;;\n;; Copyright (c) 2016 Richard Hull\n;;\n;; Permission is hereby granted, free of charg",
"end": 62,
"score": 0.9997665286064148,
"start": 50,
"tag": "NAME",
"value": "Richard Hull"
}
] | test/clustering/core/hierarchical_test.clj | CharlesHD/clustering | 17 | ;; The MIT License (MIT)
;;
;; Copyright (c) 2016 Richard Hull
;;
;; Permission is hereby granted, free of charge, to any person obtaining a copy
;; of this software and associated documentation files (the "Software"), to deal
;; in the Software without restriction, including without limitation the rights
;; to use, co... | 41427 | ;; The MIT License (MIT)
;;
;; Copyright (c) 2016 <NAME>
;;
;; Permission is hereby granted, free of charge, to any person obtaining a copy
;; of this software and associated documentation files (the "Software"), to deal
;; in the Software without restriction, including without limitation the rights
;; to use, copy, mo... | true | ;; The MIT License (MIT)
;;
;; Copyright (c) 2016 PI:NAME:<NAME>END_PI
;;
;; Permission is hereby granted, free of charge, to any person obtaining a copy
;; of this software and associated documentation files (the "Software"), to deal
;; in the Software without restriction, including without limitation the rights
;; to... |
[
{
"context": "sing the Java Preferences system.\"\n :author \"Paul Landes\"}\n zensols.cisql.pref\n (:import (com.zensols.gu",
"end": 93,
"score": 0.9998716115951538,
"start": 82,
"tag": "NAME",
"value": "Paul Landes"
}
] | src/clojure/zensols/cisql/pref.clj | plandes/cisql | 12 | (ns ^{:doc "Preference support using the Java Preferences system."
:author "Paul Landes"}
zensols.cisql.pref
(:import (com.zensols.gui.pref PrefSupport))
(:require [clojure.tools.logging :as log]))
(definterface PrefNode (_ []))
(def ^:private pref-inst (atom nil))
(def ^:private pref-ns *ns*)
(def driv... | 1826 | (ns ^{:doc "Preference support using the Java Preferences system."
:author "<NAME>"}
zensols.cisql.pref
(:import (com.zensols.gui.pref PrefSupport))
(:require [clojure.tools.logging :as log]))
(definterface PrefNode (_ []))
(def ^:private pref-inst (atom nil))
(def ^:private pref-ns *ns*)
(def driver-co... | true | (ns ^{:doc "Preference support using the Java Preferences system."
:author "PI:NAME:<NAME>END_PI"}
zensols.cisql.pref
(:import (com.zensols.gui.pref PrefSupport))
(:require [clojure.tools.logging :as log]))
(definterface PrefNode (_ []))
(def ^:private pref-inst (atom nil))
(def ^:private pref-ns *ns*)
... |
[
{
"context": "(ns hospital-patient.model)\n\n; From Sean Devlin (https://github.com/seancorfield) examples\n(defpr",
"end": 47,
"score": 0.9998958706855774,
"start": 36,
"tag": "NAME",
"value": "Sean Devlin"
},
{
"context": "nt.model)\n\n; From Sean Devlin (https://github.com/seancor... | hospital_patient/src/hospital_patient/model.clj | vgeorgo/courses-alura-clojure | 0 | (ns hospital-patient.model)
; From Sean Devlin (https://github.com/seancorfield) examples
(defprotocol Datable
(to-ms [this]))
(extend-type java.lang.Number
Datable
(to-ms [this] this))
(extend-type java.util.Date
Datable
(to-ms [this] (.getTime this)))
(extend-type java.util.Calendar
Datable
(to-ms [... | 13320 | (ns hospital-patient.model)
; From <NAME> (https://github.com/seancorfield) examples
(defprotocol Datable
(to-ms [this]))
(extend-type java.lang.Number
Datable
(to-ms [this] this))
(extend-type java.util.Date
Datable
(to-ms [this] (.getTime this)))
(extend-type java.util.Calendar
Datable
(to-ms [this]... | true | (ns hospital-patient.model)
; From PI:NAME:<NAME>END_PI (https://github.com/seancorfield) examples
(defprotocol Datable
(to-ms [this]))
(extend-type java.lang.Number
Datable
(to-ms [this] this))
(extend-type java.util.Date
Datable
(to-ms [this] (.getTime this)))
(extend-type java.util.Calendar
Datable
... |
[
{
"context": "; Copyright (c) Rich Hickey. All rights reserved.\n; The use and distributio",
"end": 29,
"score": 0.9998145699501038,
"start": 18,
"tag": "NAME",
"value": "Rich Hickey"
}
] | ext/clojure-clojurescript-bef56a7/samples/twitterbuzz/src/twitterbuzz/anneal.cljs | yokolet/clementine | 35 | ; Copyright (c) Rich Hickey. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
; which can be found in the file epl-v10.html at the root of this distribution.
; By using this software in any ... | 44155 | ; Copyright (c) <NAME>. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
; which can be found in the file epl-v10.html at the root of this distribution.
; By using this software in any fashi... | true | ; Copyright (c) PI:NAME:<NAME>END_PI. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
; which can be found in the file epl-v10.html at the root of this distribution.
; By using this softwar... |
[
{
"context": "ys invalid\")\n\n(def access-token\n {:access-token \"sesame\"\n :query-param :access_token\n :token-type \"be",
"end": 438,
"score": 0.9857088327407837,
"start": 432,
"tag": "PASSWORD",
"value": "sesame"
},
{
"context": "pe \"bearer\"\n :expires-in 120\n :refr... | test/clj_oauth2/stub.clj | muta93srb/clj-oauth2 | 5 | (ns clj-oauth2.stub
(:require [uri.core :as uri]
[cheshire.core :as json]
[clojure.string :as str]
[ring.adapter.jetty :as ring])
(:import [org.apache.commons.codec.binary Base64]))
(def port 18080)
(def host "localhost")
(def server-uri (str "http://" host ":" port))
(def acce... | 793 | (ns clj-oauth2.stub
(:require [uri.core :as uri]
[cheshire.core :as json]
[clojure.string :as str]
[ring.adapter.jetty :as ring])
(:import [org.apache.commons.codec.binary Base64]))
(def port 18080)
(def host "localhost")
(def server-uri (str "http://" host ":" port))
(def acce... | true | (ns clj-oauth2.stub
(:require [uri.core :as uri]
[cheshire.core :as json]
[clojure.string :as str]
[ring.adapter.jetty :as ring])
(:import [org.apache.commons.codec.binary Base64]))
(def port 18080)
(def host "localhost")
(def server-uri (str "http://" host ":" port))
(def acce... |
[
{
"context": "pes.\n;;;\n;;; Copyright (c) 2014, 2015, 2020, 2021 Pavel Tisnovsky, Red Hat\n;;; All rights reserved.\n;;;\n;;; Redistr",
"end": 112,
"score": 0.9997565150260925,
"start": 97,
"tag": "NAME",
"value": "Pavel Tisnovsky"
},
{
"context": "ULAR PURPOSE ARE\n;;; DISCLAIMED.... | test/cljgfx/draw_test.clj | tisnik/cljgfx | 0 | ;;; Very simple generator for various graph types.
;;;
;;; Copyright (c) 2014, 2015, 2020, 2021 Pavel Tisnovsky, Red Hat
;;; All rights reserved.
;;;
;;; Redistribution and use in source and binary forms, with or without
;;; modification, are permitted provided that the following conditions are met:
;;; * Redistri... | 70388 | ;;; Very simple generator for various graph types.
;;;
;;; Copyright (c) 2014, 2015, 2020, 2021 <NAME>, Red Hat
;;; All rights reserved.
;;;
;;; Redistribution and use in source and binary forms, with or without
;;; modification, are permitted provided that the following conditions are met:
;;; * Redistributions o... | true | ;;; Very simple generator for various graph types.
;;;
;;; Copyright (c) 2014, 2015, 2020, 2021 PI:NAME:<NAME>END_PI, Red Hat
;;; All rights reserved.
;;;
;;; Redistribution and use in source and binary forms, with or without
;;; modification, are permitted provided that the following conditions are met:
;;; * Red... |
[
{
"context": "s (error-on? :password (validate-user {:password \"asd123\"})))\n (is (no-error-on? :password (validate-us",
"end": 846,
"score": 0.9994840621948242,
"start": 840,
"tag": "PASSWORD",
"value": "asd123"
},
{
"context": "no-error-on? :password (validate-user {:password ... | test/cljs/shevek/pages/configuration/users/form_test.cljs | eeng/shevek | 6 | (ns shevek.pages.configuration.users.form-test
(:require [cljs.test :refer-macros [deftest testing is]]
[shevek.asserts :refer [error-on? no-error-on?]]
[shevek.pages.configuration.users.form :refer [user-validations adapt-for-client adapt-for-server]]
[shevek.lib.validation :as v]... | 106146 | (ns shevek.pages.configuration.users.form-test
(:require [cljs.test :refer-macros [deftest testing is]]
[shevek.asserts :refer [error-on? no-error-on?]]
[shevek.pages.configuration.users.form :refer [user-validations adapt-for-client adapt-for-server]]
[shevek.lib.validation :as v]... | true | (ns shevek.pages.configuration.users.form-test
(:require [cljs.test :refer-macros [deftest testing is]]
[shevek.asserts :refer [error-on? no-error-on?]]
[shevek.pages.configuration.users.form :refer [user-validations adapt-for-client adapt-for-server]]
[shevek.lib.validation :as v]... |
[
{
"context": "(ns clojure-polyline.core)\n\n;; Copyright © 2012 Michael Gaare\n;; Distributed under the Eclipse Public License, ",
"end": 61,
"score": 0.9997114539146423,
"start": 48,
"tag": "NAME",
"value": "Michael Gaare"
}
] | src/clojure_polyline/core.clj | Purple-Services/opt | 7 | (ns clojure-polyline.core)
;; Copyright © 2012 Michael Gaare
;; Distributed under the Eclipse Public License, the same as Clojure.
;; -------------------------------------------------------
;; Utility functions
;; -------------------------------------------------------
(defn partition-by-inclusive
"like partition-... | 75853 | (ns clojure-polyline.core)
;; Copyright © 2012 <NAME>
;; Distributed under the Eclipse Public License, the same as Clojure.
;; -------------------------------------------------------
;; Utility functions
;; -------------------------------------------------------
(defn partition-by-inclusive
"like partition-by, but... | true | (ns clojure-polyline.core)
;; Copyright © 2012 PI:NAME:<NAME>END_PI
;; Distributed under the Eclipse Public License, the same as Clojure.
;; -------------------------------------------------------
;; Utility functions
;; -------------------------------------------------------
(defn partition-by-inclusive
"like par... |
[
{
"context": ";; Copyright (c) Nicola Mometto, Rich Hickey & contributors.\n;; The use and dis",
"end": 33,
"score": 0.9998506307601929,
"start": 19,
"tag": "NAME",
"value": "Nicola Mometto"
},
{
"context": ";; Copyright (c) Nicola Mometto, Rich Hickey & contributors.\n;; The... | tools.emitter/clojureRB/resources/tools.emitter.jvm-tools.emitter.jvm-0.1.0-beta5/src/main/clojure/clojure/tools/emitter/jvm/emit.clj | abhi18av/ClojureToolsOCaml | 0 | ;; Copyright (c) Nicola Mometto, Rich Hickey & contributors.
;; The use and distribution terms for this software are covered by the
;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
;; which can be found in the file epl-v10.html at the root of this distribution.
;; By using this s... | 14792 | ;; Copyright (c) <NAME>, <NAME> & contributors.
;; The use and distribution terms for this software are covered by the
;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
;; which can be found in the file epl-v10.html at the root of this distribution.
;; By using this software in an... | true | ;; Copyright (c) PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI & contributors.
;; The use and distribution terms for this software are covered by the
;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
;; which can be found in the file epl-v10.html at the root of this distribution.
;; ... |
[
{
"context": " generating JSON route handlers.\"\n :author \"Simon Brooke\"}\n adl-support.rest-support\n (:require [adl-sup",
"end": 141,
"score": 0.9998890161514282,
"start": 129,
"tag": "NAME",
"value": "Simon Brooke"
},
{
"context": "nse for more details.\n;;;;\n;;;; Copy... | src/adl_support/rest_support.clj | simon-brooke/adl-support | 0 | (ns ^{:doc "Application Description Language support - functions useful in
generating JSON route handlers."
:author "Simon Brooke"}
adl-support.rest-support
(:require [adl-support.core :refer [do-or-log-error do-or-return-reason]]
[clojure.core.memoize :as memo]
[clojure.data.jso... | 11398 | (ns ^{:doc "Application Description Language support - functions useful in
generating JSON route handlers."
:author "<NAME>"}
adl-support.rest-support
(:require [adl-support.core :refer [do-or-log-error do-or-return-reason]]
[clojure.core.memoize :as memo]
[clojure.data.json :as ... | true | (ns ^{:doc "Application Description Language support - functions useful in
generating JSON route handlers."
:author "PI:NAME:<NAME>END_PI"}
adl-support.rest-support
(:require [adl-support.core :refer [do-or-log-error do-or-return-reason]]
[clojure.core.memoize :as memo]
[clojure.... |
[
{
"context": "review object unique id and PIX key itself. ex: \\\"tony@starkbank.com\\\", \\\"722.461.430-04\\\", \\\"20.018.183/0001-80\\\", \\\"",
"end": 298,
"score": 0.9999226927757263,
"start": 280,
"tag": "EMAIL",
"value": "tony@starkbank.com"
},
{
"context": " - `:name` [strin... | src/starkbank/brcode_preview.clj | starkbank/sdk-clojure | 5 | (ns starkbank.brcode-preview
"DEPRECATED
A BrcodePreview is used to get information from a BR Code you received to check the informations before the payment.
## Parameters (required):
- `:id` [string]: BrcodePreview object unique id and PIX key itself. ex: \"tony@starkbank.com\", \"722.461.430-04\"... | 2602 | (ns starkbank.brcode-preview
"DEPRECATED
A BrcodePreview is used to get information from a BR Code you received to check the informations before the payment.
## Parameters (required):
- `:id` [string]: BrcodePreview object unique id and PIX key itself. ex: \"<EMAIL>\", \"722.461.430-04\", \"20.018.... | true | (ns starkbank.brcode-preview
"DEPRECATED
A BrcodePreview is used to get information from a BR Code you received to check the informations before the payment.
## Parameters (required):
- `:id` [string]: BrcodePreview object unique id and PIX key itself. ex: \"PI:EMAIL:<EMAIL>END_PI\", \"722.461.430-... |
[
{
"context": ";; Copyright © 2015-2019 Esko Luontola\n;; This software is released under the Apache Lic",
"end": 38,
"score": 0.999882698059082,
"start": 25,
"tag": "NAME",
"value": "Esko Luontola"
}
] | src/territory_bro/permissions.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.permissions
(:require [medley.core :refer [dissoc-in]])
(:import (territory_bro NoPermitException)))
(defn- path [user-id [permis... | 3571 | ;; 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.permissions
(:require [medley.core :refer [dissoc-in]])
(:import (territory_bro NoPermitException)))
(defn- path [user-id [permission & ... | 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.permissions
(:require [medley.core :refer [dissoc-in]])
(:import (territory_bro NoPermitException)))
(defn- path [user-id ... |
[
{
"context": " :config-edn Path})\n\n(def SmeagolInfra\n {:passwd SmeagolPasswd\n :owner s/Str\n :content-dir s/Str\n :uberjar",
"end": 1580,
"score": 0.9976930022239685,
"start": 1567,
"tag": "PASSWORD",
"value": "SmeagolPasswd"
},
{
"context": "-dir content-dir\n ... | main/src/dda/pallet/dda_smeagol_crate/infra/smeagol.clj | DomainDrivenArchitecture/dda-smeagol-crate | 2 | ; Licensed to the Apache Software Foundation (ASF) under one
; or more contributor license agreements. See the NOTICE file
; distributed with this work for additional information
; regarding copyright ownership. The ASF licenses this file
; to you under the Apache License, Version 2.0 (the
; "License"); you may not use... | 26787 | ; Licensed to the Apache Software Foundation (ASF) under one
; or more contributor license agreements. See the NOTICE file
; distributed with this work for additional information
; regarding copyright ownership. The ASF licenses this file
; to you under the Apache License, Version 2.0 (the
; "License"); you may not use... | true | ; Licensed to the Apache Software Foundation (ASF) under one
; or more contributor license agreements. See the NOTICE file
; distributed with this work for additional information
; regarding copyright ownership. The ASF licenses this file
; to you under the Apache License, Version 2.0 (the
; "License"); you may not use... |
[
{
"context": "ge, London, All rights reserved.\n;\n; Contributors: Jony Hudson\n;\n; Released under the MIT license..\n;\n\n(ns algeb",
"end": 137,
"score": 0.9997612833976746,
"start": 126,
"tag": "NAME",
"value": "Jony Hudson"
}
] | src/algebolic/expression/interpreter.clj | AlgorithmicScience/algebolic | 19 | ;
; This file is part of algebolic.
;
; Copyright (C) 2014-, Imperial College, London, All rights reserved.
;
; Contributors: Jony Hudson
;
; Released under the MIT license..
;
(ns algebolic.expression.interpreter
"Provides a fast interpreter for algebolic expressions.
The core of the interpreter is implemented i... | 113603 | ;
; This file is part of algebolic.
;
; Copyright (C) 2014-, Imperial College, London, All rights reserved.
;
; Contributors: <NAME>
;
; Released under the MIT license..
;
(ns algebolic.expression.interpreter
"Provides a fast interpreter for algebolic expressions.
The core of the interpreter is implemented in Jav... | true | ;
; This file is part of algebolic.
;
; Copyright (C) 2014-, Imperial College, London, All rights reserved.
;
; Contributors: PI:NAME:<NAME>END_PI
;
; Released under the MIT license..
;
(ns algebolic.expression.interpreter
"Provides a fast interpreter for algebolic expressions.
The core of the interpreter is impl... |
[
{
"context": "lient-side CityShelf application.\"\n :author \"Eric Weinstein <eric.q.weinstein@gmail.com>\"\n :figwheel-alw",
"end": 77,
"score": 0.9998774528503418,
"start": 63,
"tag": "NAME",
"value": "Eric Weinstein"
},
{
"context": "helf application.\"\n :author \"... | src/cityshelf/core.cljs | ericqweinstein/cityshelf | 0 | (ns ^{:doc "Client-side CityShelf application."
:author "Eric Weinstein <eric.q.weinstein@gmail.com>"
:figwheel-always true}
cityshelf.core
(:require [cityshelf.session :as session]
[cityshelf.views.book :as book]
[cityshelf.views.home :as home]
[cityshelf.views.searc... | 503 | (ns ^{:doc "Client-side CityShelf application."
:author "<NAME> <<EMAIL>>"
:figwheel-always true}
cityshelf.core
(:require [cityshelf.session :as session]
[cityshelf.views.book :as book]
[cityshelf.views.home :as home]
[cityshelf.views.search :as search]
[... | true | (ns ^{:doc "Client-side CityShelf application."
:author "PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>"
:figwheel-always true}
cityshelf.core
(:require [cityshelf.session :as session]
[cityshelf.views.book :as book]
[cityshelf.views.home :as home]
[cityshelf.views.sea... |
[
{
"context": "========================\n; Copyright (C) 2021-2022 Radislav (Radicchio) Golubtsov\n;\n; (See the LICENSE file at ",
"end": 499,
"score": 0.9980717897415161,
"start": 491,
"tag": "NAME",
"value": "Radislav"
},
{
"context": "=============\n; Copyright (C) 2021-2022 Radis... | project.clj | rgolubtsov/transroutownish-proto-bus-clojure | 0 | ;
; project.clj
; =============================================================================
; Urban bus routing microservice prototype (Clojure port). Version 0.15.1
; =============================================================================
; A daemon written in Clojure, designed and intended to be run
; as a ... | 73062 | ;
; project.clj
; =============================================================================
; Urban bus routing microservice prototype (Clojure port). Version 0.15.1
; =============================================================================
; A daemon written in Clojure, designed and intended to be run
; as a ... | true | ;
; project.clj
; =============================================================================
; Urban bus routing microservice prototype (Clojure port). Version 0.15.1
; =============================================================================
; A daemon written in Clojure, designed and intended to be run
; as a ... |
[
{
"context": ", 15 February 2015 02:32 PM AEDT\n;; Author: Tim Cross <theophilusx AT gmail.com>\n;; Description:\n;;\n\n",
"end": 174,
"score": 0.9998185634613037,
"start": 165,
"tag": "NAME",
"value": "Tim Cross"
},
{
"context": "y 2015 02:32 PM AEDT\n;; Author: Tim ... | data/train/clojure/befc39b7d36ea6d5709828faf1c6a243c98945c8home_page.cljs | harshp8l/deep-learning-lang-detection | 84 | ;; Filename: home_page.cljs
;; Creation Date: Monday, 01 December 2014 06:22 PM AEDT
;; Last Modified: Sunday, 15 February 2015 02:32 PM AEDT
;; Author: Tim Cross <theophilusx AT gmail.com>
;; Description:
;;
(ns mcljs.views.home-page)
(defn home-page []
[:div.container
[:div.row
[:div.col-md-6... | 6578 | ;; Filename: home_page.cljs
;; Creation Date: Monday, 01 December 2014 06:22 PM AEDT
;; Last Modified: Sunday, 15 February 2015 02:32 PM AEDT
;; Author: <NAME> <<EMAIL>x AT g<EMAIL>>
;; Description:
;;
(ns mcljs.views.home-page)
(defn home-page []
[:div.container
[:div.row
[:div.col-md-6
[... | true | ;; Filename: home_page.cljs
;; Creation Date: Monday, 01 December 2014 06:22 PM AEDT
;; Last Modified: Sunday, 15 February 2015 02:32 PM AEDT
;; Author: PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PIx AT gPI:EMAIL:<EMAIL>END_PI>
;; Description:
;;
(ns mcljs.views.home-page)
(defn home-page []
[:div.cont... |
[
{
"context": " ;;\n;; Author: Jon Anthony ",
"end": 1839,
"score": 0.9998742341995239,
"start": 1828,
"tag": "NAME",
"value": "Jon Anthony"
},
{
"context": "handling, logging, caching, etc.\n \"\n\n... | src/aerobio/actions.clj | jsa-aerial/aerobio | 3 | ;;--------------------------------------------------------------------------;;
;; ;;
;; A E R O B I O . A C T I O N S ;;
;; ;;
;; P... | 86031 | ;;--------------------------------------------------------------------------;;
;; ;;
;; A E R O B I O . A C T I O N S ;;
;; ;;
;; P... | true | ;;--------------------------------------------------------------------------;;
;; ;;
;; A E R O B I O . A C T I O N S ;;
;; ;;
;; P... |
[
{
"context": "! *unchecked-math* :warn-on-boxed)\n(ns ^{:author \"John Alan McDonald\" :date \"2016-11-23\"\n :doc \"Enum data type fo",
"end": 105,
"score": 0.9998918771743774,
"start": 87,
"tag": "NAME",
"value": "John Alan McDonald"
}
] | src/scripts/clojure/taiga/scripts/data/primate.clj | wahpenayo/taiga | 4 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "John Alan McDonald" :date "2016-11-23"
:doc "Enum data type for taiga unit tests." }
taiga.scripts.data.primate
(:require [zana.api :as z]))
;;--------------------------------------------------------------------------... | 42648 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "<NAME>" :date "2016-11-23"
:doc "Enum data type for taiga unit tests." }
taiga.scripts.data.primate
(:require [zana.api :as z]))
;;------------------------------------------------------------------------------
(def pr... | true | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "PI:NAME:<NAME>END_PI" :date "2016-11-23"
:doc "Enum data type for taiga unit tests." }
taiga.scripts.data.primate
(:require [zana.api :as z]))
;;------------------------------------------------------------------------... |
[
{
"context": "s))\n\n(def total-de-vidas 6)\n(def palavra-secreta \"MELANCIA\")\n\n(defn perdeu [] (print \"Você perdeu\"))\n(defn g",
"end": 85,
"score": 0.6761451363563538,
"start": 77,
"tag": "NAME",
"value": "MELANCIA"
}
] | alura/clojure/forca/src/forca/core.clj | fabriciofmsilva/labs | 0 | (ns forca.core
(:gen-class))
(def total-de-vidas 6)
(def palavra-secreta "MELANCIA")
(defn perdeu [] (print "Você perdeu"))
(defn ganhou [] (print "Você ganhou!"))
(defn letras-faltantes [palavra acertos]
(remove (fn [letra] (contains? acertos (str letra))) palavra))
(defn acertou-a-palavra-toda? [palavra acert... | 48146 | (ns forca.core
(:gen-class))
(def total-de-vidas 6)
(def palavra-secreta "<NAME>")
(defn perdeu [] (print "Você perdeu"))
(defn ganhou [] (print "Você ganhou!"))
(defn letras-faltantes [palavra acertos]
(remove (fn [letra] (contains? acertos (str letra))) palavra))
(defn acertou-a-palavra-toda? [palavra acertos... | true | (ns forca.core
(:gen-class))
(def total-de-vidas 6)
(def palavra-secreta "PI:NAME:<NAME>END_PI")
(defn perdeu [] (print "Você perdeu"))
(defn ganhou [] (print "Você ganhou!"))
(defn letras-faltantes [palavra acertos]
(remove (fn [letra] (contains? acertos (str letra))) palavra))
(defn acertou-a-palavra-toda? [p... |
[
{
"context": " processing jar files\"\n :url \"https://github.com/irresponsible/unscrew\"\n :scm {:url \"https://github.com/irrespo",
"end": 241,
"score": 0.7160914540290833,
"start": 228,
"tag": "USERNAME",
"value": "irresponsible"
},
{
"context": "sible/unscrew\"\n :scm {:url \"... | build.boot | jjl/unscrew | 1 | ; vim: syntax=clojure
(set-env!
:project 'irresponsible/unscrew
:version "0.2.2"
:resource-paths #{"src" "resources"}
:source-paths #{"src"}
:description "A toolkit for processing jar files"
:url "https://github.com/irresponsible/unscrew"
:scm {:url "https://github.com/irresponsible/unscrew"}
:developer... | 11218 | ; vim: syntax=clojure
(set-env!
:project 'irresponsible/unscrew
:version "0.2.2"
:resource-paths #{"src" "resources"}
:source-paths #{"src"}
:description "A toolkit for processing jar files"
:url "https://github.com/irresponsible/unscrew"
:scm {:url "https://github.com/irresponsible/unscrew"}
:developer... | true | ; vim: syntax=clojure
(set-env!
:project 'irresponsible/unscrew
:version "0.2.2"
:resource-paths #{"src" "resources"}
:source-paths #{"src"}
:description "A toolkit for processing jar files"
:url "https://github.com/irresponsible/unscrew"
:scm {:url "https://github.com/irresponsible/unscrew"}
:developer... |
[
{
"context": " :username \"root\"\n :password \"shadow\"\n :strict-host-key-checking false\n ",
"end": 6686,
"score": 0.9994235038757324,
"start": 6680,
"tag": "PASSWORD",
"value": "shadow"
},
{
"context": " :username \"root\"\n :... | linearizable/jepsen/src/comdb2/core.clj | bowlofstew/comdb2 | 0 | (ns comdb2.core
"Tests for Comdb2"
(:require
[clojure.tools.logging :refer :all]
[clojure.core.reducers :as r]
[clojure.java.io :as io]
[clojure.string :as str]
[clojure.pprint :refer [pprint]]
[jepsen [client :as client]
[core :as jepsen]
[db :as db]
[tests :as tests]
[control :as c :refe... | 11991 | (ns comdb2.core
"Tests for Comdb2"
(:require
[clojure.tools.logging :refer :all]
[clojure.core.reducers :as r]
[clojure.java.io :as io]
[clojure.string :as str]
[clojure.pprint :refer [pprint]]
[jepsen [client :as client]
[core :as jepsen]
[db :as db]
[tests :as tests]
[control :as c :refe... | true | (ns comdb2.core
"Tests for Comdb2"
(:require
[clojure.tools.logging :refer :all]
[clojure.core.reducers :as r]
[clojure.java.io :as io]
[clojure.string :as str]
[clojure.pprint :refer [pprint]]
[jepsen [client :as client]
[core :as jepsen]
[db :as db]
[tests :as tests]
[control :as c :refe... |
[
{
"context": " (map bit-xor message pad))))\n\n\n(let [x (encrypt \"joão canavarro jvcanavarro@gmail.com\")] (def enc_message x))\n(pr",
"end": 537,
"score": 0.9996377825737,
"start": 523,
"tag": "NAME",
"value": "joão canavarro"
},
{
"context": "message pad))))\n\n\n(let [x (encrypt... | Security/Clojure/onetime_pad.clj | jvcanavarro/Classes | 0 | (ns onetime-pad.core)
(defn rand-bytes [size]
(let [rand (java.security.SecureRandom/getInstance "SHA1PRNG")
buffer (make-array Byte/TYPE size)]
(.nextBytes rand buffer)
buffer))
(defn encrypt [m]
(let [message (map int m)
size (count message)
key (rand-bytes size)
enc-me... | 52075 | (ns onetime-pad.core)
(defn rand-bytes [size]
(let [rand (java.security.SecureRandom/getInstance "SHA1PRNG")
buffer (make-array Byte/TYPE size)]
(.nextBytes rand buffer)
buffer))
(defn encrypt [m]
(let [message (map int m)
size (count message)
key (rand-bytes size)
enc-me... | true | (ns onetime-pad.core)
(defn rand-bytes [size]
(let [rand (java.security.SecureRandom/getInstance "SHA1PRNG")
buffer (make-array Byte/TYPE size)]
(.nextBytes rand buffer)
buffer))
(defn encrypt [m]
(let [message (map int m)
size (count message)
key (rand-bytes size)
enc-me... |
[
{
"context": ";; Copyright (c) 2015 Andrey Antukh <niwi@niwi.nz>\n;; All rights reserved.\n;;\n;; Redi",
"end": 35,
"score": 0.9998832941055298,
"start": 22,
"tag": "NAME",
"value": "Andrey Antukh"
},
{
"context": ";; Copyright (c) 2015 Andrey Antukh <niwi@niwi.nz>\n;; All rights res... | src/wydra/util.clj | funcool/wydra | 4 | ;; Copyright (c) 2015 Andrey Antukh <niwi@niwi.nz>
;; All rights reserved.
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions are met:
;;
;; * Redistributions of source code must retain the above copyright notice, this
;; list... | 104699 | ;; Copyright (c) 2015 <NAME> <<EMAIL>>
;; All rights reserved.
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions are met:
;;
;; * Redistributions of source code must retain the above copyright notice, this
;; list of conditio... | true | ;; Copyright (c) 2015 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
;; All rights reserved.
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions are met:
;;
;; * Redistributions of source code must retain the above copyright notic... |
[
{
"context": "; Copyright 2016 David O'Meara\n;\n; Licensed under the Apache License, Version 2.",
"end": 30,
"score": 0.9998598098754883,
"start": 17,
"tag": "NAME",
"value": "David O'Meara"
}
] | src-cljs/ui/events.cljs | 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... | 3721 | ; 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": " -- Natural deduction\n\n; Copyright (c) 2016 - 2020 Burkhardt Renz, THM. All rights reserved.\n; The use and distribu",
"end": 86,
"score": 0.9998661875724792,
"start": 72,
"tag": "NAME",
"value": "Burkhardt Renz"
},
{
"context": "--------------------------------------... | src/lwb/nd/examples/ltl_classical.clj | esb-lwb/lwb | 22 | ; lwb Logic WorkBench -- Natural deduction
; Copyright (c) 2016 - 2020 Burkhardt Renz, THM. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php).
; By using this software in any fashion, you are agreeing... | 30555 | ; lwb Logic WorkBench -- Natural deduction
; Copyright (c) 2016 - 2020 <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 b... | true | ; lwb Logic WorkBench -- Natural deduction
; Copyright (c) 2016 - 2020 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 ag... |
[
{
"context": "(def injectGoogle (GoogleApiWrapper #js {:apiKey \"AIzaSyAM9PWfj-rJDnmyJvh8QNkO4pgGzy5s_Yg\"}))\n(def ui-location-view (interop/hoc-factory Lo",
"end": 1356,
"score": 0.9997769594192505,
"start": 1317,
"tag": "KEY",
"value": "AIzaSyAM9PWfj-rJDnmyJvh8QNkO4pgGzy5s_Yg"
}
] | src/book/book/react_interop/google_maps_example.cljs | eihli/fulcro-developer-guide | 19 | (ns book.react-interop.google-maps-example
(:require
["google-maps-react" :as maps :refer [GoogleApiWrapper Map Marker]]
[com.fulcrologic.fulcro.algorithms.react-interop :as interop :refer [react-factory]]
[com.fulcrologic.fulcro.components :as comp :refer [defsc]]
[com.fulcrologic.fulcro.dom :as dom]... | 33062 | (ns book.react-interop.google-maps-example
(:require
["google-maps-react" :as maps :refer [GoogleApiWrapper Map Marker]]
[com.fulcrologic.fulcro.algorithms.react-interop :as interop :refer [react-factory]]
[com.fulcrologic.fulcro.components :as comp :refer [defsc]]
[com.fulcrologic.fulcro.dom :as dom]... | true | (ns book.react-interop.google-maps-example
(:require
["google-maps-react" :as maps :refer [GoogleApiWrapper Map Marker]]
[com.fulcrologic.fulcro.algorithms.react-interop :as interop :refer [react-factory]]
[com.fulcrologic.fulcro.components :as comp :refer [defsc]]
[com.fulcrologic.fulcro.dom :as dom]... |
[
{
"context": "u to take a flat vector\n(def titles-and-authors [\"Jaws\" \"Benchley\" \"2001\" \"Clarke\"])\n(partition 2 titles",
"end": 3931,
"score": 0.9993187189102173,
"start": 3927,
"tag": "NAME",
"value": "Jaws"
},
{
"context": "ke a flat vector\n(def titles-and-authors [\"Jaw... | cljlrn/src/learn/sequences.clj | lenkite/learn | 0 | ; A seqable is something that the seq function can turn into a sequence.
; The cons function stands for “construct” and takes two arguments, an item
; and a sequence. It returns a new sequence created using the item as its
; first and the sequence as its rest. A sequence created by cons is known as a
; “cons cell... | 41881 | ; A seqable is something that the seq function can turn into a sequence.
; The cons function stands for “construct” and takes two arguments, an item
; and a sequence. It returns a new sequence created using the item as its
; first and the sequence as its rest. A sequence created by cons is known as a
; “cons cell... | true | ; A seqable is something that the seq function can turn into a sequence.
; The cons function stands for “construct” and takes two arguments, an item
; and a sequence. It returns a new sequence created using the item as its
; first and the sequence as its rest. A sequence created by cons is known as a
; “cons cell... |
[
{
"context": "--source-username\" \"foo\"\n \"--source-password\" \"bar\"\n \"--source-backoff-budget\" \"1\"\n \"--source-",
"end": 6711,
"score": 0.999135434627533,
"start": 6708,
"tag": "PASSWORD",
"value": "bar"
},
{
"context": "--target-batch-size\" \"1\"\n \"--targe... | src/test/com/yetanalytics/xapipe/cli/options_test.clj | yetanalytics/xapipe | 3 | (ns com.yetanalytics.xapipe.cli.options-test
(:require [clojure.spec.alpha :as s]
[clojure.test :refer :all]
[clojure.tools.cli :as cli]
[com.yetanalytics.xapipe.cli.options :refer :all]
[com.yetanalytics.xapipe.test-support :as sup]))
(use-fixtures :once (sup/instrume... | 72667 | (ns com.yetanalytics.xapipe.cli.options-test
(:require [clojure.spec.alpha :as s]
[clojure.test :refer :all]
[clojure.tools.cli :as cli]
[com.yetanalytics.xapipe.cli.options :refer :all]
[com.yetanalytics.xapipe.test-support :as sup]))
(use-fixtures :once (sup/instrume... | true | (ns com.yetanalytics.xapipe.cli.options-test
(:require [clojure.spec.alpha :as s]
[clojure.test :refer :all]
[clojure.tools.cli :as cli]
[com.yetanalytics.xapipe.cli.options :refer :all]
[com.yetanalytics.xapipe.test-support :as sup]))
(use-fixtures :once (sup/instrume... |
[
{
"context": "pe images)]\n {:users [(factory :user, {:email \"john@doe.com\"})]\n :images images\n :imports [{:entity-n",
"end": 2555,
"score": 0.9998214840888977,
"start": 2543,
"tag": "EMAIL",
"value": "john@doe.com"
},
{
"context": "y}])\n\n(def ^:private expected-acco... | test/clj_money/import_test.clj | dgknght/clj-money | 5 | (ns clj-money.import-test
(:refer-clojure :exclude [update])
(:require [clojure.test :refer [deftest is use-fixtures testing]]
[clojure.java.io :as io]
[clojure.core.async :refer [go-loop <! chan]]
[clojure.string :as s]
[clj-time.core :as t]
[clj-factory.... | 28242 | (ns clj-money.import-test
(:refer-clojure :exclude [update])
(:require [clojure.test :refer [deftest is use-fixtures testing]]
[clojure.java.io :as io]
[clojure.core.async :refer [go-loop <! chan]]
[clojure.string :as s]
[clj-time.core :as t]
[clj-factory.... | true | (ns clj-money.import-test
(:refer-clojure :exclude [update])
(:require [clojure.test :refer [deftest is use-fixtures testing]]
[clojure.java.io :as io]
[clojure.core.async :refer [go-loop <! chan]]
[clojure.string :as s]
[clj-time.core :as t]
[clj-factory.... |
[
{
"context": "/iota \"0.2.0\"]\n [crypto-password \"0.1.3\"]\n [org.clojure/java.jdbc \"0.4.1\"",
"end": 653,
"score": 0.9953809976577759,
"start": 648,
"tag": "PASSWORD",
"value": "0.1.3"
}
] | project.clj | smailq/happinessmailer | 0 | (defproject happinessmailer "0.1.0-SNAPSHOT"
:dependencies [[org.clojure/clojure "1.7.0"]
[reagent "0.5.0"]
[re-frame "0.4.1"]
[re-com "0.6.1"]
[secretary "1.2.3"]
[garden "1.2.5"]
[clj-http "2.0.0"]
... | 57474 | (defproject happinessmailer "0.1.0-SNAPSHOT"
:dependencies [[org.clojure/clojure "1.7.0"]
[reagent "0.5.0"]
[re-frame "0.4.1"]
[re-com "0.6.1"]
[secretary "1.2.3"]
[garden "1.2.5"]
[clj-http "2.0.0"]
... | true | (defproject happinessmailer "0.1.0-SNAPSHOT"
:dependencies [[org.clojure/clojure "1.7.0"]
[reagent "0.5.0"]
[re-frame "0.4.1"]
[re-com "0.6.1"]
[secretary "1.2.3"]
[garden "1.2.5"]
[clj-http "2.0.0"]
... |
[
{
"context": "-------------------------------\n;;\n;;\n;; Author: PLIQUE Guillaume (Yomguithereal)\n;; Version: 0.1\n;;\n(ns clj-fuzz",
"end": 203,
"score": 0.9998415112495422,
"start": 187,
"tag": "NAME",
"value": "PLIQUE Guillaume"
},
{
"context": "------------\n;;\n;;\n;; Au... | test/clj_fuzzy/nysiis_test.clj | sooheon/clj-fuzzy | 222 | ;; -------------------------------------------------------------------
;; clj-fuzzy NYSIIS Tests
;; -------------------------------------------------------------------
;;
;;
;; Author: PLIQUE Guillaume (Yomguithereal)
;; Version: 0.1
;;
(ns clj-fuzzy.nysiis-test
(:require [clojure.test :refer :all]
[c... | 71665 | ;; -------------------------------------------------------------------
;; clj-fuzzy NYSIIS Tests
;; -------------------------------------------------------------------
;;
;;
;; Author: <NAME> (Yomguithereal)
;; Version: 0.1
;;
(ns clj-fuzzy.nysiis-test
(:require [clojure.test :refer :all]
[clj-fuzzy.n... | true | ;; -------------------------------------------------------------------
;; clj-fuzzy NYSIIS Tests
;; -------------------------------------------------------------------
;;
;;
;; Author: PI:NAME:<NAME>END_PI (Yomguithereal)
;; Version: 0.1
;;
(ns clj-fuzzy.nysiis-test
(:require [clojure.test :refer :all]
... |
[
{
"context": "(ns ^{:author \"Leeor Engel\"}\nchapter-4.chapter-4-q8\n (:require [clojure.zip",
"end": 26,
"score": 0.9998942613601685,
"start": 15,
"tag": "NAME",
"value": "Leeor Engel"
}
] | Clojure/src/chapter_4/chapter_4_q8.clj | Kiandr/crackingcodinginterview | 0 | (ns ^{:author "Leeor Engel"}
chapter-4.chapter-4-q8
(:require [clojure.zip :as zip]
[data-structures.tree :refer :all]))
(defn- parent [n depth]
(let [parent (zip/up n)]
(if (some? parent) [parent (dec depth)] [n depth])))
(defn- first-common-ancestor-helper [n1 n1-depth n2 n2-depth]
(let [[n1-p... | 89814 | (ns ^{:author "<NAME>"}
chapter-4.chapter-4-q8
(:require [clojure.zip :as zip]
[data-structures.tree :refer :all]))
(defn- parent [n depth]
(let [parent (zip/up n)]
(if (some? parent) [parent (dec depth)] [n depth])))
(defn- first-common-ancestor-helper [n1 n1-depth n2 n2-depth]
(let [[n1-parent... | true | (ns ^{:author "PI:NAME:<NAME>END_PI"}
chapter-4.chapter-4-q8
(:require [clojure.zip :as zip]
[data-structures.tree :refer :all]))
(defn- parent [n depth]
(let [parent (zip/up n)]
(if (some? parent) [parent (dec depth)] [n depth])))
(defn- first-common-ancestor-helper [n1 n1-depth n2 n2-depth]
(l... |
[
{
"context": "(ns ^{:author \"Leeor Engel\"}\nchapter-4.chapter-4-q7-test\n (:require [clojur",
"end": 26,
"score": 0.999890148639679,
"start": 15,
"tag": "NAME",
"value": "Leeor Engel"
}
] | Clojure/test/chapter_4/chapter_4_q7_test.clj | Kiandr/crackingcodinginterview | 0 | (ns ^{:author "Leeor Engel"}
chapter-4.chapter-4-q7-test
(:require [clojure.test :refer :all]
[chapter-4.chapter-4-q7 :refer :all]))
(deftest build-order-test
(let [projects [:a :b :c :d :e :f]
dependencies [[:d :a]
[:b :f]
[:d :b]
... | 102521 | (ns ^{:author "<NAME>"}
chapter-4.chapter-4-q7-test
(:require [clojure.test :refer :all]
[chapter-4.chapter-4-q7 :refer :all]))
(deftest build-order-test
(let [projects [:a :b :c :d :e :f]
dependencies [[:d :a]
[:b :f]
[:d :b]
[:... | true | (ns ^{:author "PI:NAME:<NAME>END_PI"}
chapter-4.chapter-4-q7-test
(:require [clojure.test :refer :all]
[chapter-4.chapter-4-q7 :refer :all]))
(deftest build-order-test
(let [projects [:a :b :c :d :e :f]
dependencies [[:d :a]
[:b :f]
[:d :b]
... |
[
{
"context": " :type \"text\"\n :placeholder \"First name\"\n :style {:flex 1}}]\n [:input {:id",
"end": 1091,
"score": 0.6814044713973999,
"start": 1081,
"tag": "NAME",
"value": "First name"
},
{
"context": " :type \"text\"\n ... | resources/templates/database/client.cljs | oakes/Lightmod | 283 | (ns [[name]].client
(:require [cljs.reader :refer [read-string]]
[reagent.core :as r])
(:import goog.net.XhrIo))
; stores the people
(def people (r/atom []))
; gets the people list
(defn get-people []
(.send XhrIo
"/people"
(fn [e]
(reset! people
(-> e .-target .getResponseText... | 113609 | (ns [[name]].client
(:require [cljs.reader :refer [read-string]]
[reagent.core :as r])
(:import goog.net.XhrIo))
; stores the people
(def people (r/atom []))
; gets the people list
(defn get-people []
(.send XhrIo
"/people"
(fn [e]
(reset! people
(-> e .-target .getResponseText... | true | (ns [[name]].client
(:require [cljs.reader :refer [read-string]]
[reagent.core :as r])
(:import goog.net.XhrIo))
; stores the people
(def people (r/atom []))
; gets the people list
(defn get-people []
(.send XhrIo
"/people"
(fn [e]
(reset! people
(-> e .-target .getResponseText... |
[
{
"context": " ldap-password \"password\"\n ldap-us",
"end": 2278,
"score": 0.9994978904724121,
"start": 2270,
"tag": "PASSWORD",
"value": "password"
}
] | c#-metabase/test/metabase/test/integrations/ldap.clj | hanakhry/Crime_Admin | 0 | (ns metabase.test.integrations.ldap
(:require [clojure.java.io :as io]
[metabase.test.util :as tu]
[metabase.util :as u])
(:import [com.unboundid.ldap.listener InMemoryDirectoryServer InMemoryDirectoryServerConfig InMemoryListenerConfig]
com.unboundid.ldap.sdk.schema.Schema
... | 91451 | (ns metabase.test.integrations.ldap
(:require [clojure.java.io :as io]
[metabase.test.util :as tu]
[metabase.util :as u])
(:import [com.unboundid.ldap.listener InMemoryDirectoryServer InMemoryDirectoryServerConfig InMemoryListenerConfig]
com.unboundid.ldap.sdk.schema.Schema
... | true | (ns metabase.test.integrations.ldap
(:require [clojure.java.io :as io]
[metabase.test.util :as tu]
[metabase.util :as u])
(:import [com.unboundid.ldap.listener InMemoryDirectoryServer InMemoryDirectoryServerConfig InMemoryListenerConfig]
com.unboundid.ldap.sdk.schema.Schema
... |
[
{
"context": "(ns ^{:author \"James McClain <jwm@daystrom-data-concepts.com>\"}\n worldtree.in",
"end": 28,
"score": 0.9998478889465332,
"start": 15,
"tag": "NAME",
"value": "James McClain"
},
{
"context": "(ns ^{:author \"James McClain <jwm@daystrom-data-concepts.com>\"}\n worldtr... | src/worldtree/index.clj | jamesmcclain/WorldTree | 1 | (ns ^{:author "James McClain <jwm@daystrom-data-concepts.com>"}
worldtree.index
(:require [clojure.string :as string]
[worldtree.series :as series]))
;; Build a search index for the given dataset in the given directory.
(defn build [dataset dir]
(letfn [(is-dir? [thing] (.isDirectory (java.io.File.... | 116847 | (ns ^{:author "<NAME> <<EMAIL>>"}
worldtree.index
(:require [clojure.string :as string]
[worldtree.series :as series]))
;; Build a search index for the given dataset in the given directory.
(defn build [dataset dir]
(letfn [(is-dir? [thing] (.isDirectory (java.io.File. thing)))
(exists? [... | true | (ns ^{:author "PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>"}
worldtree.index
(:require [clojure.string :as string]
[worldtree.series :as series]))
;; Build a search index for the given dataset in the given directory.
(defn build [dataset dir]
(letfn [(is-dir? [thing] (.isDirectory (java.io.File. ... |
[
{
"context": "IES / TRANSACTIONS\n;; Function: login: (do-login \"rsucasas\" \"password\" \"12\")\n(defn do-login\n [username pa",
"end": 2087,
"score": 0.9994391202926636,
"start": 2079,
"tag": "USERNAME",
"value": "rsucasas"
},
{
"context": "Function: login: (do-login \"rsucasas... | softcare-multimedia-repository/src/softcare/db/h2db.clj | seaclouds-atos/softcare-final-implementation | 0 | ;;
;; Using java.jdbc: http://clojure-doc.org/articles/ecosystem/java_jdbc/home.html
;;
(ns softcare.db.h2db
(:use [softcare.globals]
[softcare.db.schemas])
(:import com.mchange.v2.c3p0.ComboPooledDataSource)
(:require [clojure.java.jdbc :as sql]
[softcare.logs.logs :as log]
... | 107980 | ;;
;; Using java.jdbc: http://clojure-doc.org/articles/ecosystem/java_jdbc/home.html
;;
(ns softcare.db.h2db
(:use [softcare.globals]
[softcare.db.schemas])
(:import com.mchange.v2.c3p0.ComboPooledDataSource)
(:require [clojure.java.jdbc :as sql]
[softcare.logs.logs :as log]
... | true | ;;
;; Using java.jdbc: http://clojure-doc.org/articles/ecosystem/java_jdbc/home.html
;;
(ns softcare.db.h2db
(:use [softcare.globals]
[softcare.db.schemas])
(:import com.mchange.v2.c3p0.ComboPooledDataSource)
(:require [clojure.java.jdbc :as sql]
[softcare.logs.logs :as log]
... |
[
{
"context": "\"\n :description \"Crazy old Professor Gangreen has developed a way to make tomatoes look human f",
"end": 365,
"score": 0.9989743828773499,
"start": 357,
"tag": "NAME",
"value": "Gangreen"
}
] | src/building_re_frame_components/inline_editable_field/student.cljs | lispcast/building-re-frame-components | 11 | (ns building-re-frame-components.inline-editable-field.student
(:require [reagent.core :as reagent]
[reagent.dom :as dom]
[re-frame.core :as rf]))
(rf/reg-event-db
:initialize
(fn [db _]
(assoc db :movies {"tt0095989"
{:title "Return of the Killer Tomatoes!"
... | 80342 | (ns building-re-frame-components.inline-editable-field.student
(:require [reagent.core :as reagent]
[reagent.dom :as dom]
[re-frame.core :as rf]))
(rf/reg-event-db
:initialize
(fn [db _]
(assoc db :movies {"tt0095989"
{:title "Return of the Killer Tomatoes!"
... | true | (ns building-re-frame-components.inline-editable-field.student
(:require [reagent.core :as reagent]
[reagent.dom :as dom]
[re-frame.core :as rf]))
(rf/reg-event-db
:initialize
(fn [db _]
(assoc db :movies {"tt0095989"
{:title "Return of the Killer Tomatoes!"
... |
[
{
"context": "e subname\n :user user\n :password password\n }\n )\n )\n )\n)\n\n(defn pool [spec]\n",
"end": 781,
"score": 0.9902867078781128,
"start": 773,
"tag": "PASSWORD",
"value": "password"
}
] | src/clj/election/db/config.clj | Kineolyan/election | 1 | (ns election.db.config
(:import com.mchange.v2.c3p0.ComboPooledDataSource)
(:require [environ.core :refer [env]]
[clojure.tools.logging :as log]))
(def postgres-url
(env :database-url))
(def postgres-protocol "postgresql")
; If you use a relational DB, using JDBC
(def postgres-jdbc-config
(if (nil? postg... | 88571 | (ns election.db.config
(:import com.mchange.v2.c3p0.ComboPooledDataSource)
(:require [environ.core :refer [env]]
[clojure.tools.logging :as log]))
(def postgres-url
(env :database-url))
(def postgres-protocol "postgresql")
; If you use a relational DB, using JDBC
(def postgres-jdbc-config
(if (nil? postg... | true | (ns election.db.config
(:import com.mchange.v2.c3p0.ComboPooledDataSource)
(:require [environ.core :refer [env]]
[clojure.tools.logging :as log]))
(def postgres-url
(env :database-url))
(def postgres-protocol "postgresql")
; If you use a relational DB, using JDBC
(def postgres-jdbc-config
(if (nil? postg... |
[
{
"context": " a word vector model\n[Example](https://github.com/deeplearning4j/dl4j-examples/blob/master/dl4j-examples/src/main/",
"end": 81,
"score": 0.8903179168701172,
"start": 67,
"tag": "USERNAME",
"value": "deeplearning4j"
},
{
"context": "les/nlp/glove/GloVeExample.java).\"\n... | src/clojure/zensols/nlparse/word_similarity_train.clj | plandes/clj-nlp-wordvec | 0 | (ns ^{:doc "Train a word vector model
[Example](https://github.com/deeplearning4j/dl4j-examples/blob/master/dl4j-examples/src/main/java/org/deeplearning4j/examples/nlp/glove/GloVeExample.java)."
:author "Paul Landes"}
zensols.nlparse.word-similarity-train
(:import [org.deeplearning4j.models.glove Glove$Buil... | 109025 | (ns ^{:doc "Train a word vector model
[Example](https://github.com/deeplearning4j/dl4j-examples/blob/master/dl4j-examples/src/main/java/org/deeplearning4j/examples/nlp/glove/GloVeExample.java)."
:author "<NAME>"}
zensols.nlparse.word-similarity-train
(:import [org.deeplearning4j.models.glove Glove$Builder]
... | true | (ns ^{:doc "Train a word vector model
[Example](https://github.com/deeplearning4j/dl4j-examples/blob/master/dl4j-examples/src/main/java/org/deeplearning4j/examples/nlp/glove/GloVeExample.java)."
:author "PI:NAME:<NAME>END_PI"}
zensols.nlparse.word-similarity-train
(:import [org.deeplearning4j.models.glove G... |
[
{
"context": "annot forth hence\"\n ; (:first-name (->r/student \"alex\" \"kahoun\" \"intro to clojure\")) ;= \"alex\"\n ; (:fi",
"end": 884,
"score": 0.9989038109779358,
"start": 880,
"tag": "NAME",
"value": "alex"
},
{
"context": "orth hence\"\n ; (:first-name (->r/student \"ale... | src/clojure_intro_examples/core.clj | leftofnull/clojure_intro_examples | 0 | (ns clojure-intro-examples.core
(:require [clojure.string :as s]
[clojure-intro-examples.decrementor :as d]
[clojure-intro-examples.simple-functions :as sf]
[clojure-intro-examples.macros :as m]
[clojure-intro-examples.records :as r]
[clojure-intro-examples.... | 41556 | (ns clojure-intro-examples.core
(:require [clojure.string :as s]
[clojure-intro-examples.decrementor :as d]
[clojure-intro-examples.simple-functions :as sf]
[clojure-intro-examples.macros :as m]
[clojure-intro-examples.records :as r]
[clojure-intro-examples.... | true | (ns clojure-intro-examples.core
(:require [clojure.string :as s]
[clojure-intro-examples.decrementor :as d]
[clojure-intro-examples.simple-functions :as sf]
[clojure-intro-examples.macros :as m]
[clojure-intro-examples.records :as r]
[clojure-intro-examples.... |
[
{
"context": ";; The MIT License (MIT)\n;;\n;; Copyright (c) 2016 Richard Hull\n;;\n;; Permission is hereby granted, free of charg",
"end": 62,
"score": 0.9997929930686951,
"start": 50,
"tag": "NAME",
"value": "Richard Hull"
}
] | src/clustering/distance/common.cljc | CharlesHD/clustering | 17 | ;; The MIT License (MIT)
;;
;; Copyright (c) 2016 Richard Hull
;;
;; Permission is hereby granted, free of charge, to any person obtaining a copy
;; of this software and associated documentation files (the "Software"), to deal
;; in the Software without restriction, including without limitation the rights
;; to use, co... | 124952 | ;; The MIT License (MIT)
;;
;; Copyright (c) 2016 <NAME>
;;
;; Permission is hereby granted, free of charge, to any person obtaining a copy
;; of this software and associated documentation files (the "Software"), to deal
;; in the Software without restriction, including without limitation the rights
;; to use, copy, mo... | true | ;; The MIT License (MIT)
;;
;; Copyright (c) 2016 PI:NAME:<NAME>END_PI
;;
;; Permission is hereby granted, free of charge, to any person obtaining a copy
;; of this software and associated documentation files (the "Software"), to deal
;; in the Software without restriction, including without limitation the rights
;; to... |
[
{
"context": " :authentication {:username \\\"zcaudate\\\"\n :password",
"end": 4387,
"score": 0.9995688796043396,
"start": 4379,
"tag": "USERNAME",
"value": "zcaudate"
},
{
"context": " :pa... | src/hara/lib/aether/request.clj | zcaudate/hara | 309 | (ns hara.lib.aether.request
(:require [hara.object :as object]
[hara.lib.aether.artifact :as artifact]
[hara.lib.aether.authentication]
[hara.lib.aether.dependency]
[hara.lib.aether.local-repo]
[hara.lib.aether.remote-repo])
(:import (org.eclipse.aether.co... | 100768 | (ns hara.lib.aether.request
(:require [hara.object :as object]
[hara.lib.aether.artifact :as artifact]
[hara.lib.aether.authentication]
[hara.lib.aether.dependency]
[hara.lib.aether.local-repo]
[hara.lib.aether.remote-repo])
(:import (org.eclipse.aether.co... | true | (ns hara.lib.aether.request
(:require [hara.object :as object]
[hara.lib.aether.artifact :as artifact]
[hara.lib.aether.authentication]
[hara.lib.aether.dependency]
[hara.lib.aether.local-repo]
[hara.lib.aether.remote-repo])
(:import (org.eclipse.aether.co... |
[
{
"context": "ge, London, All rights reserved.\n;\n; Contributors: Jony Hudson\n;\n; Released under the MIT license..\n;\n\n(ns algeb",
"end": 137,
"score": 0.9998090863227844,
"start": 126,
"tag": "NAME",
"value": "Jony Hudson"
}
] | src/algebolic/expression/genetics.clj | AlgorithmicScience/algebolic | 19 | ;
; This file is part of algebolic.
;
; Copyright (C) 2014-, Imperial College, London, All rights reserved.
;
; Contributors: Jony Hudson
;
; Released under the MIT license..
;
(ns algebolic.expression.genetics
"Core genetic operation on expressions. Includes functions for creating expressions."
(:refer-clojure :e... | 83724 | ;
; This file is part of algebolic.
;
; Copyright (C) 2014-, Imperial College, London, All rights reserved.
;
; Contributors: <NAME>
;
; Released under the MIT license..
;
(ns algebolic.expression.genetics
"Core genetic operation on expressions. Includes functions for creating expressions."
(:refer-clojure :exclud... | true | ;
; This file is part of algebolic.
;
; Copyright (C) 2014-, Imperial College, London, All rights reserved.
;
; Contributors: PI:NAME:<NAME>END_PI
;
; Released under the MIT license..
;
(ns algebolic.expression.genetics
"Core genetic operation on expressions. Includes functions for creating expressions."
(:refer-c... |
[
{
"context": ";; Copyright (c) 2014-2016 Andrey Antukh <niwi@niwi.nz>\n;; Copyright (c) 2014-2016 Alejand",
"end": 40,
"score": 0.9998933672904968,
"start": 27,
"tag": "NAME",
"value": "Andrey Antukh"
},
{
"context": ";; Copyright (c) 2014-2016 Andrey Antukh <niwi@niwi.nz>\n;; Copyri... | src/cats/monad/maybe.cljc | klausharbo/cats | 896 | ;; Copyright (c) 2014-2016 Andrey Antukh <niwi@niwi.nz>
;; Copyright (c) 2014-2016 Alejandro Gómez <alejandro@dialelo.com>
;; All rights reserved.
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions
;; are met:
;;
;; 1. Redistrib... | 32447 | ;; Copyright (c) 2014-2016 <NAME> <<EMAIL>>
;; Copyright (c) 2014-2016 <NAME> <<EMAIL>>
;; All rights reserved.
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions
;; are met:
;;
;; 1. Redistributions of source code must retain t... | true | ;; Copyright (c) 2014-2016 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
;; Copyright (c) 2014-2016 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
;; All rights reserved.
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions
;; are ... |
[
{
"context": " \\\"core1\\\"\n :split.key \\\"A!\\\"})\n\n Here all documents having the same route k",
"end": 12536,
"score": 0.7466352581977844,
"start": 12536,
"tag": "KEY",
"value": ""
}
] | src/corona/core_admin.clj | jasonisgraham/corona | 0 | (ns corona.core-admin
(:gen-class)
(:refer-clojure :exclude [swap!])
(:require
[clojure.data.json :as json]
[corona.utils :as utils]
[org.httpkit.client :as http]))
;;; Core Admin API
;; SOURCE: https://lucene.apache.org/solr/guide/7_7/coreadmin-api.html
(defn update!
"CoreAdmin actions can be exe... | 77988 | (ns corona.core-admin
(:gen-class)
(:refer-clojure :exclude [swap!])
(:require
[clojure.data.json :as json]
[corona.utils :as utils]
[org.httpkit.client :as http]))
;;; Core Admin API
;; SOURCE: https://lucene.apache.org/solr/guide/7_7/coreadmin-api.html
(defn update!
"CoreAdmin actions can be exe... | true | (ns corona.core-admin
(:gen-class)
(:refer-clojure :exclude [swap!])
(:require
[clojure.data.json :as json]
[corona.utils :as utils]
[org.httpkit.client :as http]))
;;; Core Admin API
;; SOURCE: https://lucene.apache.org/solr/guide/7_7/coreadmin-api.html
(defn update!
"CoreAdmin actions can be exe... |
[
{
"context": "ng\n;; them as needed.\n(def db-conn (atom nil))\n\n;; @bslawski when this key file was in a def above, like\n;; (d",
"end": 647,
"score": 0.9988393187522888,
"start": 638,
"tag": "USERNAME",
"value": "@bslawski"
},
{
"context": "ool-size 3\n :... | src/sumo_backend/service/mysql.clj | dhoboy/sumo-backend | 0 | (ns sumo-backend.service.mysql)
(require '[clojure.java.jdbc :as jdbc])
(require '[honeysql.core :as sql]
'[honeysql.helpers :refer :all :as helpers])
(require '[cheshire.core :refer :all]) ; parses json
(require '[jdbc.pool.c3p0 :as c3p0])
(require '[sumo-backend.service.mysql-schema :as schema])
(require '[s... | 95775 | (ns sumo-backend.service.mysql)
(require '[clojure.java.jdbc :as jdbc])
(require '[honeysql.core :as sql]
'[honeysql.helpers :refer :all :as helpers])
(require '[cheshire.core :refer :all]) ; parses json
(require '[jdbc.pool.c3p0 :as c3p0])
(require '[sumo-backend.service.mysql-schema :as schema])
(require '[s... | true | (ns sumo-backend.service.mysql)
(require '[clojure.java.jdbc :as jdbc])
(require '[honeysql.core :as sql]
'[honeysql.helpers :refer :all :as helpers])
(require '[cheshire.core :refer :all]) ; parses json
(require '[jdbc.pool.c3p0 :as c3p0])
(require '[sumo-backend.service.mysql-schema :as schema])
(require '[s... |
[
{
"context": "y\"])\n :director (create-string-with \"Asghar Farhadi\")\n :actors (create-string-with \"Peym",
"end": 751,
"score": 0.9997999668121338,
"start": 737,
"tag": "NAME",
"value": "Asghar Farhadi"
},
{
"context": "hadi\")\n :actors (cr... | workspace/movieapp/src/clj/movieapp/movies/routes.clj | muthuishere/clojure-workshop-web-template | 0 | (ns movieapp.movies.routes
(:require [schema.core :as s]
[movieapp.shared.schema-creator :refer :all]
[movieapp.movies.handler :refer :all]
[clojure.spec.alpha :as spec]
))
;Home Assignment
;Fix Swagger Requests
(s/defschema InsertMovieRequest
{
... | 38010 | (ns movieapp.movies.routes
(:require [schema.core :as s]
[movieapp.shared.schema-creator :refer :all]
[movieapp.movies.handler :refer :all]
[clojure.spec.alpha :as spec]
))
;Home Assignment
;Fix Swagger Requests
(s/defschema InsertMovieRequest
{
... | true | (ns movieapp.movies.routes
(:require [schema.core :as s]
[movieapp.shared.schema-creator :refer :all]
[movieapp.movies.handler :refer :all]
[clojure.spec.alpha :as spec]
))
;Home Assignment
;Fix Swagger Requests
(s/defschema InsertMovieRequest
{
... |
[
{
"context": "rrentTimeMillis))\n\n;; Borrowed from Skuld--thanks, Kyle!\n(defn epoch\n \"Returns the delta between the Uni",
"end": 994,
"score": 0.9826408624649048,
"start": 990,
"tag": "NAME",
"value": "Kyle"
}
] | src/flake/utils.clj | maxcountryman/flake | 85 | (ns flake.utils
(:require [primitive-math :as p])
(:import [java.net NetworkInterface]
[java.nio ByteBuffer]))
(def ^{:const true} one-million 1000000)
(def ^{:const true :private true}
base62-alphabet
"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz")
(defn encode
"Encodes n in a... | 104931 | (ns flake.utils
(:require [primitive-math :as p])
(:import [java.net NetworkInterface]
[java.nio ByteBuffer]))
(def ^{:const true} one-million 1000000)
(def ^{:const true :private true}
base62-alphabet
"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz")
(defn encode
"Encodes n in a... | true | (ns flake.utils
(:require [primitive-math :as p])
(:import [java.net NetworkInterface]
[java.nio ByteBuffer]))
(def ^{:const true} one-million 1000000)
(def ^{:const true :private true}
base62-alphabet
"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz")
(defn encode
"Encodes n in a... |
[
{
"context": " a user as a hash map.\n\n(def user\n {:first-name \"John\"\n :last-name \"Doe\"\n :age 31})\n\n;; Now if we w",
"end": 1157,
"score": 0.9998540878295898,
"start": 1153,
"tag": "NAME",
"value": "John"
},
{
"context": ".\n\n(def user\n {:first-name \"John\"\n :la... | src/instructor/05_concurrency.clj | arnaudbos/ratatouille | 0 | (ns instructor.05-concurrency)
;; Vars are automatically derefed when evaluated, so it can seem like they are just a variable.
;; But you can “see” the var itself using the var function or #' shorthand.
(def one-hundred 100)
(var one-hundred)
(deref #'one-hundred)
;; The most common reason you would want to do tha... | 92686 | (ns instructor.05-concurrency)
;; Vars are automatically derefed when evaluated, so it can seem like they are just a variable.
;; But you can “see” the var itself using the var function or #' shorthand.
(def one-hundred 100)
(var one-hundred)
(deref #'one-hundred)
;; The most common reason you would want to do tha... | true | (ns instructor.05-concurrency)
;; Vars are automatically derefed when evaluated, so it can seem like they are just a variable.
;; But you can “see” the var itself using the var function or #' shorthand.
(def one-hundred 100)
(var one-hundred)
(deref #'one-hundred)
;; The most common reason you would want to do tha... |
[
{
"context": "nd an email, cf disk.clj\n ;; (io (email/email \"foo@mcorbin.fr\"))\n ;; tap is used in tests\n (tap :ram-stre",
"end": 751,
"score": 0.9999240636825562,
"start": 737,
"tag": "EMAIL",
"value": "foo@mcorbin.fr"
}
] | mycorp/system/ram.clj | mcorbin/riemann-configuration-example | 1 | (ns mycorp.system.ram
"Check ram"
(:require [riemann.config :refer :all]
[riemann.streams :refer :all]
[riemann.test :refer :all]
[clojure.tools.logging :refer :all]))
;; http://localhost:3000/posts/2017-05-04-simple-check/
;; this variable contains the ram threshold
(def thres... | 106967 | (ns mycorp.system.ram
"Check ram"
(:require [riemann.config :refer :all]
[riemann.streams :refer :all]
[riemann.test :refer :all]
[clojure.tools.logging :refer :all]))
;; http://localhost:3000/posts/2017-05-04-simple-check/
;; this variable contains the ram threshold
(def thres... | true | (ns mycorp.system.ram
"Check ram"
(:require [riemann.config :refer :all]
[riemann.streams :refer :all]
[riemann.test :refer :all]
[clojure.tools.logging :refer :all]))
;; http://localhost:3000/posts/2017-05-04-simple-check/
;; this variable contains the ram threshold
(def thres... |
[
{
"context": "pi.net\n;; Full project source: https://github.com/samaaron/sonic-pi\n;; License: https://github.com/samaaron/",
"end": 110,
"score": 0.9990612864494324,
"start": 102,
"tag": "USERNAME",
"value": "samaaron"
},
{
"context": "/samaaron/sonic-pi\n;; License: https://github... | app/gui/html/cljs/defpi/ringbuffer.cljs | jweather/sonic-pi | 1 | ;;--
;; This file is part of Sonic Pi: http://sonic-pi.net
;; Full project source: https://github.com/samaaron/sonic-pi
;; License: https://github.com/samaaron/sonic-pi/blob/master/LICENSE.md
;;
;; Copyright 2013, 2014 by Sam Aaron (http://sam.aaron.name).
;; All rights reserved.
;;
;; Permission is granted for use, co... | 95013 | ;;--
;; This file is part of Sonic Pi: http://sonic-pi.net
;; Full project source: https://github.com/samaaron/sonic-pi
;; License: https://github.com/samaaron/sonic-pi/blob/master/LICENSE.md
;;
;; Copyright 2013, 2014 by <NAME> (http://sam.aaron.name).
;; All rights reserved.
;;
;; Permission is granted for use, copyi... | true | ;;--
;; This file is part of Sonic Pi: http://sonic-pi.net
;; Full project source: https://github.com/samaaron/sonic-pi
;; License: https://github.com/samaaron/sonic-pi/blob/master/LICENSE.md
;;
;; Copyright 2013, 2014 by PI:NAME:<NAME>END_PI (http://sam.aaron.name).
;; All rights reserved.
;;
;; Permission is granted ... |
[
{
"context": "rson others))\n\n(defn ep4 []\n (let [luke (person \"Luke\" \"Skywalker\")\n obi-wan (person \"Obiwan\" \"K",
"end": 528,
"score": 0.9502778053283691,
"start": 524,
"tag": "NAME",
"value": "Luke"
},
{
"context": "hers))\n\n(defn ep4 []\n (let [luke (person \"Lu... | test/monoid/sut.clj | monoid-us/traci | 0 | (ns monoid.sut
(:require
[monoid.traci :as traci]
[monoid.traci.in-memory :as in-memory]
[clojure.test :refer :all]))
(defn person [first last]
#:person{:first first :last last})
(defn befriend [person new-friend]
(update person :friends (fnil conj #{}) new-friend))
(defn rescue [person other-perso... | 122978 | (ns monoid.sut
(:require
[monoid.traci :as traci]
[monoid.traci.in-memory :as in-memory]
[clojure.test :refer :all]))
(defn person [first last]
#:person{:first first :last last})
(defn befriend [person new-friend]
(update person :friends (fnil conj #{}) new-friend))
(defn rescue [person other-perso... | true | (ns monoid.sut
(:require
[monoid.traci :as traci]
[monoid.traci.in-memory :as in-memory]
[clojure.test :refer :all]))
(defn person [first last]
#:person{:first first :last last})
(defn befriend [person new-friend]
(update person :friends (fnil conj #{}) new-friend))
(defn rescue [person other-perso... |
[
{
"context": "cept CTLs or tspecials>. See RFC2068\"} re-token #\"[!#$%&'*\\-+.0-9A-Z\\^_`a-z\\|~]+\")\n\n(def ^{:private true, :doc \"RFC6265 cookie-oct",
"end": 339,
"score": 0.9577350616455078,
"start": 311,
"tag": "KEY",
"value": "#$%&'*\\-+.0-9A-Z\\^_`a-z\\|~]+"
}
] | src/macchiato/cookies.cljs | adamkl/macchiato-core | 0 | (ns macchiato.cookies
(:require
[cljs.nodejs :as node]))
(def ^:no-doc Cookies (node/require "cookies"))
(def ^:no-doc random-bytes (node/require "random-bytes"))
(def ^:no-doc secret (str (random-bytes. 32)))
(def ^{:doc "HTTP token: 1*<any CHAR except CTLs or tspecials>. See RFC2068"} re-token #"[!#$%&'*\-+... | 75525 | (ns macchiato.cookies
(:require
[cljs.nodejs :as node]))
(def ^:no-doc Cookies (node/require "cookies"))
(def ^:no-doc random-bytes (node/require "random-bytes"))
(def ^:no-doc secret (str (random-bytes. 32)))
(def ^{:doc "HTTP token: 1*<any CHAR except CTLs or tspecials>. See RFC2068"} re-token #"[!<KEY>")
... | true | (ns macchiato.cookies
(:require
[cljs.nodejs :as node]))
(def ^:no-doc Cookies (node/require "cookies"))
(def ^:no-doc random-bytes (node/require "random-bytes"))
(def ^:no-doc secret (str (random-bytes. 32)))
(def ^{:doc "HTTP token: 1*<any CHAR except CTLs or tspecials>. See RFC2068"} re-token #"[!PI:KEY:<K... |
[
{
"context": " (assoc budget-context\n :budgets [{:name \"2016\"\n :period :month\n ",
"end": 3566,
"score": 0.6831271052360535,
"start": 3562,
"tag": "NAME",
"value": "2016"
},
{
"context": "1000M)}\n {:account-id \"R... | test/clj_money/models/budgets_test.clj | dgknght/clj-money | 5 | (ns clj-money.models.budgets-test
(:require [clojure.test :refer [deftest use-fixtures is testing]]
[clj-time.core :as t]
[dgknght.app-lib.test]
[clj-money.models.budgets :as budgets]
[clj-money.test-context :refer [realize
ba... | 107398 | (ns clj-money.models.budgets-test
(:require [clojure.test :refer [deftest use-fixtures is testing]]
[clj-time.core :as t]
[dgknght.app-lib.test]
[clj-money.models.budgets :as budgets]
[clj-money.test-context :refer [realize
ba... | true | (ns clj-money.models.budgets-test
(:require [clojure.test :refer [deftest use-fixtures is testing]]
[clj-time.core :as t]
[dgknght.app-lib.test]
[clj-money.models.budgets :as budgets]
[clj-money.test-context :refer [realize
ba... |
[
{
"context": "touchpoint-modal/new-touchpoint])\n {:keys [shortName]} @(rf/subscribe [:touchpoint-modal/student])]\n ",
"end": 4330,
"score": 0.6341742277145386,
"start": 4321,
"tag": "NAME",
"value": "shortName"
}
] | src-cljs/headmaster/ui/components/touchpoint_modal.cljs | oakmac/headmaster | 1 | (ns headmaster.ui.components.touchpoint-modal
(:require
[clojure.string :as str]
[headmaster.ui.ajax :as ajax]
[headmaster.ui.components.common :as common]
[headmaster.ui.constants :refer [ellipsis]]
[headmaster.ui.util :as util]
[oops.core :refer [ocall oget]]
[re-frame.core :as rf]
[... | 43863 | (ns headmaster.ui.components.touchpoint-modal
(:require
[clojure.string :as str]
[headmaster.ui.ajax :as ajax]
[headmaster.ui.components.common :as common]
[headmaster.ui.constants :refer [ellipsis]]
[headmaster.ui.util :as util]
[oops.core :refer [ocall oget]]
[re-frame.core :as rf]
[... | true | (ns headmaster.ui.components.touchpoint-modal
(:require
[clojure.string :as str]
[headmaster.ui.ajax :as ajax]
[headmaster.ui.components.common :as common]
[headmaster.ui.constants :refer [ellipsis]]
[headmaster.ui.util :as util]
[oops.core :refer [ocall oget]]
[re-frame.core :as rf]
[... |
[
{
"context": "cheshire has boxed math warnings.\n(ns ^{:author [\"wahpenayo at gmail dot com\"\n \"John Alan Mc",
"end": 122,
"score": 0.5597590208053589,
"start": 116,
"tag": "EMAIL",
"value": "wahpen"
},
{
"context": " has boxed math warnings.\n(ns ^{:author [\"wahpen... | src/main/clojure/taiga/forest.clj | wahpenayo/taiga | 4 | (set! *warn-on-reflection* true)
(set! *unchecked-math* false) ;; cheshire has boxed math warnings.
(ns ^{:author ["wahpenayo at gmail dot com"
"John Alan McDonald"
"Kristina Lisa Klinkner"]
:date "2018-04-05"
:doc "Random and other forests." }
taiga.forest
(:re... | 9819 | (set! *warn-on-reflection* true)
(set! *unchecked-math* false) ;; cheshire has boxed math warnings.
(ns ^{:author ["<EMAIL>ay<EMAIL> at g<EMAIL> dot <EMAIL>"
"<NAME>"
"<NAME>"]
:date "2018-04-05"
:doc "Random and other forests." }
taiga.forest
(:require [clojure... | true | (set! *warn-on-reflection* true)
(set! *unchecked-math* false) ;; cheshire has boxed math warnings.
(ns ^{:author ["PI:EMAIL:<EMAIL>END_PIayPI:EMAIL:<EMAIL>END_PI at gPI:EMAIL:<EMAIL>END_PI dot PI:EMAIL:<EMAIL>END_PI"
"PI:NAME:<NAME>END_PI"
"PI:NAME:<NAME>END_PI"]
:date "2018-04-05... |
[
{
"context": "sword\"\n :username \"username\"\n :password \"passw",
"end": 1207,
"score": 0.9995231628417969,
"start": 1199,
"tag": "USERNAME",
"value": "username"
},
{
"context": "rname\"\n :passwor... | code/src/sixsq/nuvla/server/resources/session_template_password.clj | 0xbase12/api-server | 6 | (ns sixsq.nuvla.server.resources.session-template-password
"
Resource that is used to create a session using a username and password for
credentials. This template is guaranteed to be present on all server instances.
"
(:require
[sixsq.nuvla.server.resources.common.std-crud :as std-crud]
[sixsq.nuvla.server... | 96746 | (ns sixsq.nuvla.server.resources.session-template-password
"
Resource that is used to create a session using a username and password for
credentials. This template is guaranteed to be present on all server instances.
"
(:require
[sixsq.nuvla.server.resources.common.std-crud :as std-crud]
[sixsq.nuvla.server... | true | (ns sixsq.nuvla.server.resources.session-template-password
"
Resource that is used to create a session using a username and password for
credentials. This template is guaranteed to be present on all server instances.
"
(:require
[sixsq.nuvla.server.resources.common.std-crud :as std-crud]
[sixsq.nuvla.server... |
[
{
"context": "eplace :exec '(\"aXbaaXbb\")\n :string '(\"Napoleon\" \"he\" \"ere he was able\")\n ",
"end": 25125,
"score": 0.9971644282341003,
"start": 25117,
"tag": "NAME",
"value": "Napoleon"
},
{
"context": " :string-replace :exe... | test/push/instructions/base/string_test.clj | Vaguery/PushInClojure | 29 | (ns push.instructions.base.string_test
(:require [push.core :as push])
(:use midje.sweet)
(:use [push.util.test-helpers])
(:use [push.type.item.string])
(:use [push.type.definitions.quoted])
)
;; a fixture
(def teeny (push/interpreter :config {:max-collection-size 9}))
;; all the conversions
(fact "v... | 99956 | (ns push.instructions.base.string_test
(:require [push.core :as push])
(:use midje.sweet)
(:use [push.util.test-helpers])
(:use [push.type.item.string])
(:use [push.type.definitions.quoted])
)
;; a fixture
(def teeny (push/interpreter :config {:max-collection-size 9}))
;; all the conversions
(fact "v... | true | (ns push.instructions.base.string_test
(:require [push.core :as push])
(:use midje.sweet)
(:use [push.util.test-helpers])
(:use [push.type.item.string])
(:use [push.type.definitions.quoted])
)
;; a fixture
(def teeny (push/interpreter :config {:max-collection-size 9}))
;; all the conversions
(fact "v... |
[
{
"context": "ison of algorithms for polynomial interpolation\\\", A. Macleod,\n https://www.sciencedirect.com/science/articl",
"end": 8561,
"score": 0.9952303171157837,
"start": 8551,
"tag": "NAME",
"value": "A. Macleod"
}
] | src/quadrature/interpolate/polynomial.cljc | dynamic-notebook/functional-numerics | 4 | (ns quadrature.interpolate.polynomial
"This namespace contains a discussion of polynomial interpolation, and different
methods for fitting a polynomial of degree N-1 to N points and evaluating that
polynomial at some different `x`."
(:require [sicmutils.generic :as g]
[quadrature.util.aggregate :as ... | 115878 | (ns quadrature.interpolate.polynomial
"This namespace contains a discussion of polynomial interpolation, and different
methods for fitting a polynomial of degree N-1 to N points and evaluating that
polynomial at some different `x`."
(:require [sicmutils.generic :as g]
[quadrature.util.aggregate :as ... | true | (ns quadrature.interpolate.polynomial
"This namespace contains a discussion of polynomial interpolation, and different
methods for fitting a polynomial of degree N-1 to N points and evaluating that
polynomial at some different `x`."
(:require [sicmutils.generic :as g]
[quadrature.util.aggregate :as ... |
[
{
"context": "; Tyler Palsulich\n; Seven Languages in Seven Weeks, by Bruce A. Tat",
"end": 17,
"score": 0.9998984336853027,
"start": 2,
"tag": "NAME",
"value": "Tyler Palsulich"
},
{
"context": "ler Palsulich\n; Seven Languages in Seven Weeks, by Bruce A. Tate\n; Clojure day 3\n\n; ... | data/test/clojure/72ebf13b1ba07133824b5f597ef7e9ed24face88day3.clj | harshp8l/deep-learning-lang-detection | 84 | ; Tyler Palsulich
; Seven Languages in Seven Weeks, by Bruce A. Tate
; Clojure day 3
; 1) Use refs to create a vector of accounts in memory. Create debit
; and credit functions to change the balance of an account.
; 2) In this section, I’m going to outline a single problem called sleeping
; barber. It was created by ... | 70786 | ; <NAME>
; Seven Languages in Seven Weeks, by <NAME>
; Clojure day 3
; 1) Use refs to create a vector of accounts in memory. Create debit
; and credit functions to change the balance of an account.
; 2) In this section, I’m going to outline a single problem called sleeping
; barber. It was created by <NAME> in 1965. ... | true | ; PI:NAME:<NAME>END_PI
; Seven Languages in Seven Weeks, by PI:NAME:<NAME>END_PI
; Clojure day 3
; 1) Use refs to create a vector of accounts in memory. Create debit
; and credit functions to change the balance of an account.
; 2) In this section, I’m going to outline a single problem called sleeping
; barber. It was... |
[
{
"context": ";; Copyright 2014-2020 King\n;; Copyright 2009-2014 Ragnar Svensson, Christian Murray\n;; Licensed under the Defold Li",
"end": 111,
"score": 0.9998161196708679,
"start": 96,
"tag": "NAME",
"value": "Ragnar Svensson"
},
{
"context": "-2020 King\n;; Copyright 2009-2014 R... | editor/src/clj/editor/collection.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... | 118111 | ;; Copyright 2020-2022 The Defold Foundation
;; Copyright 2014-2020 King
;; Copyright 2009-2014 <NAME>, <NAME>
;; Licensed under the Defold License version 1.0 (the "License"); you may not use
;; this file except in compliance with the License.
;;
;; You may obtain a copy of the License, together with FAQs at
;; https... | true | ;; Copyright 2020-2022 The Defold Foundation
;; Copyright 2014-2020 King
;; Copyright 2009-2014 PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI
;; Licensed under the Defold License version 1.0 (the "License"); you may not use
;; this file except in compliance with the License.
;;
;; You may obtain a copy of the License, to... |
[
{
"context": "type \"text\"\n :name \"full-name\"\n :class \"block w-full h",
"end": 2152,
"score": 0.9992196559906006,
"start": 2143,
"tag": "NAME",
"value": "full-name"
}
] | src/main/clojure/metaverse/renderer/pages/profile.cljs | sultanov-team/metaverse | 1 | (ns metaverse.renderer.pages.profile
(:require
[heroicons.outline :as icons.outline]
[re-frame.core :as rf]))
(def links
{:page/profile {:label "Profile"
:href :page/profile
:icon icons.outline/user-icon}
:page/profile.subs... | 2990 | (ns metaverse.renderer.pages.profile
(:require
[heroicons.outline :as icons.outline]
[re-frame.core :as rf]))
(def links
{:page/profile {:label "Profile"
:href :page/profile
:icon icons.outline/user-icon}
:page/profile.subs... | true | (ns metaverse.renderer.pages.profile
(:require
[heroicons.outline :as icons.outline]
[re-frame.core :as rf]))
(def links
{:page/profile {:label "Profile"
:href :page/profile
:icon icons.outline/user-icon}
:page/profile.subs... |
[
{
"context": "g developed for the CLASS Project\n;;\n;; Copyright: Roi Sucasas Font, Atos Research and Innovation, 2018.\n;;\n;; This c",
"end": 167,
"score": 0.9998442530632019,
"start": 151,
"tag": "NAME",
"value": "Roi Sucasas Font"
}
] | clojure old project/src/atos/class/db/dbk.clj | class-rotterdam/Rotterdam | 0 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; This code is being developed for the CLASS Project
;;
;; Copyright: Roi Sucasas Font, Atos Research and Innovation, 2018.
;;
;; This code is licensed under an Apache 2.0 license. Please, refer to the
;; LICENSE.TXT file for more informat... | 47157 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; This code is being developed for the CLASS Project
;;
;; Copyright: <NAME>, Atos Research and Innovation, 2018.
;;
;; This code is licensed under an Apache 2.0 license. Please, refer to the
;; LICENSE.TXT file for more information
;;;;;;... | true | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; This code is being developed for the CLASS Project
;;
;; Copyright: PI:NAME:<NAME>END_PI, Atos Research and Innovation, 2018.
;;
;; This code is licensed under an Apache 2.0 license. Please, refer to the
;; LICENSE.TXT file for more info... |
[
{
"context": "; Copyright (c) 2017-present Walmart, Inc.\n;\n; Licensed under the Apache License, Vers",
"end": 36,
"score": 0.9142250418663025,
"start": 29,
"tag": "NAME",
"value": "Walmart"
}
] | src/com/walmartlabs/lacinia/resolve.clj | keterobaso/walmartlabs | 0 | ; Copyright (c) 2017-present Walmart, Inc.
;
; Licensed under the Apache License, Version 2.0 (the "License")
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to... | 48156 | ; Copyright (c) 2017-present <NAME>, Inc.
;
; Licensed under the Apache License, Version 2.0 (the "License")
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to ... | true | ; Copyright (c) 2017-present PI:NAME:<NAME>END_PI, Inc.
;
; Licensed under the Apache License, Version 2.0 (the "License")
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law... |
[
{
"context": "...\\\",\n \\\"private-key\\\": \\\"-----BEGIN RSA PRIVATE KEY-----\\n\\\"\n }\n}\n```\n\nWhen successful, the ab",
"end": 576,
"score": 0.8088432550430298,
"start": 546,
"tag": "KEY",
"value": "BEGIN RSA PRIVATE KEY-----\\n\\\""
},
{
"... | code/src/sixsq/nuvla/server/resources/credential_ssh_key.clj | nuvla/server | 6 | (ns sixsq.nuvla.server.resources.credential-ssh-key
"
This represents an SSH key. It is a resource for Nuvla users to
generate and store Nuvla-related SSH credentials.
In some cases, this credential is also used by Nuvla to issue actions
via SSH, towards an existing Infrastructure, like a NuvlaBox.
```json
{
\"te... | 38500 | (ns sixsq.nuvla.server.resources.credential-ssh-key
"
This represents an SSH key. It is a resource for Nuvla users to
generate and store Nuvla-related SSH credentials.
In some cases, this credential is also used by Nuvla to issue actions
via SSH, towards an existing Infrastructure, like a NuvlaBox.
```json
{
\"te... | true | (ns sixsq.nuvla.server.resources.credential-ssh-key
"
This represents an SSH key. It is a resource for Nuvla users to
generate and store Nuvla-related SSH credentials.
In some cases, this credential is also used by Nuvla to issue actions
via SSH, towards an existing Infrastructure, like a NuvlaBox.
```json
{
\"te... |
[
{
"context": ";; Copyright (c) Nicola Mometto, Rich Hickey & contributors.\n;; The use and dis",
"end": 33,
"score": 0.999851644039154,
"start": 19,
"tag": "NAME",
"value": "Nicola Mometto"
},
{
"context": ";; Copyright (c) Nicola Mometto, Rich Hickey & contributors.\n;; The ... | server/target/clojure/tools/analyzer/env.clj | OctavioBR/healthcheck | 15 | ;; Copyright (c) Nicola Mometto, Rich Hickey & contributors.
;; The use and distribution terms for this software are covered by the
;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
;; which can be found in the file epl-v10.html at the root of this distribution.
;; By using this s... | 94511 | ;; Copyright (c) <NAME>, <NAME> & contributors.
;; The use and distribution terms for this software are covered by the
;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
;; which can be found in the file epl-v10.html at the root of this distribution.
;; By using this software in an... | true | ;; Copyright (c) PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI & contributors.
;; The use and distribution terms for this software are covered by the
;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
;; which can be found in the file epl-v10.html at the root of this distribution.
;; ... |
[
{
"context": " \"Hook for templating Convex Lisp.\"\n\n {:author \"Adam Helinski\"}\n\n (:require [clj-kondo.hooks-api :as hook]))\n\n",
"end": 81,
"score": 0.9970559477806091,
"start": 68,
"tag": "NAME",
"value": "Adam Helinski"
}
] | .clj-kondo/hooks/convex.clj | rosejn/convex.cljc | 30 | (ns hooks.convex
"Hook for templating Convex Lisp."
{:author "Adam Helinski"}
(:require [clj-kondo.hooks-api :as hook]))
;;;;;;;;;;
(defn -traverse
"Traverses children and returns the `acc` with all unquoted forms and values."
([child]
(when-some [vect (not-empty (-traverse []
... | 20039 | (ns hooks.convex
"Hook for templating Convex Lisp."
{:author "<NAME>"}
(:require [clj-kondo.hooks-api :as hook]))
;;;;;;;;;;
(defn -traverse
"Traverses children and returns the `acc` with all unquoted forms and values."
([child]
(when-some [vect (not-empty (-traverse []
... | true | (ns hooks.convex
"Hook for templating Convex Lisp."
{:author "PI:NAME:<NAME>END_PI"}
(:require [clj-kondo.hooks-api :as hook]))
;;;;;;;;;;
(defn -traverse
"Traverses children and returns the `acc` with all unquoted forms and values."
([child]
(when-some [vect (not-empty (-traverse []
... |
[
{
"context": "node] %))\n\n;; Test data\n(def user-1 {:user/email \"aaa@example.com\"})\n(def user-2 {:user/email \"bbb@example.com\"})\n\n",
"end": 460,
"score": 0.9999231100082397,
"start": 445,
"tag": "EMAIL",
"value": "aaa@example.com"
},
{
"context": "ail \"aaa@example.com\"})\n... | resources/leiningen/new/luminus/db/test/db/crux_test.clj | javahippie/luminus-template | 0 | (ns <<project-ns>>.db.core-test
(:require
[<<project-ns>>.db.core :as db]
[crux.api :as crux]
[clojure.test :refer :all]
[mount.core :as mount]))
(defn- with-components
[components f]
(apply mount/start components)
(f)
(apply mount/stop components))
(use-fixtures
:each
#(with-components ... | 5581 | (ns <<project-ns>>.db.core-test
(:require
[<<project-ns>>.db.core :as db]
[crux.api :as crux]
[clojure.test :refer :all]
[mount.core :as mount]))
(defn- with-components
[components f]
(apply mount/start components)
(f)
(apply mount/stop components))
(use-fixtures
:each
#(with-components ... | true | (ns <<project-ns>>.db.core-test
(:require
[<<project-ns>>.db.core :as db]
[crux.api :as crux]
[clojure.test :refer :all]
[mount.core :as mount]))
(defn- with-components
[components f]
(apply mount/start components)
(f)
(apply mount/stop components))
(use-fixtures
:each
#(with-components ... |
[
{
"context": "users\" \"u\")\n (dsl/set \"u.username\" \"foobar\")\n (dsl/set \"u.email\" \"foo@bar.com\"",
"end": 966,
"score": 0.9986186027526855,
"start": 960,
"tag": "USERNAME",
"value": "foobar"
},
{
"context": "ame\" \"foobar\")\n (dsl/... | test/suricatta/dsl_test.clj | circleci/suricatta | 51 | (ns suricatta.dsl-test
(:require [clojure.test :refer :all]
[suricatta.core :as sc]
[suricatta.dsl.alpha :as dsl]))
(deftest select-statement-1
(let [qq (-> (dsl/select)
(dsl/from "posts" "p")
(dsl/join "authors" "a" "p.author_id = a.id")
(dsl/fi... | 48082 | (ns suricatta.dsl-test
(:require [clojure.test :refer :all]
[suricatta.core :as sc]
[suricatta.dsl.alpha :as dsl]))
(deftest select-statement-1
(let [qq (-> (dsl/select)
(dsl/from "posts" "p")
(dsl/join "authors" "a" "p.author_id = a.id")
(dsl/fi... | true | (ns suricatta.dsl-test
(:require [clojure.test :refer :all]
[suricatta.core :as sc]
[suricatta.dsl.alpha :as dsl]))
(deftest select-statement-1
(let [qq (-> (dsl/select)
(dsl/from "posts" "p")
(dsl/join "authors" "a" "p.author_id = a.id")
(dsl/fi... |
[
{
"context": "l exception stream.\n\n (exception-stream (email \\\"polito@vonbraun.com\\\")\n (async-queue! :graphite {:core-pool-size 1",
"end": 3005,
"score": 0.999912679195404,
"start": 2986,
"tag": "EMAIL",
"value": "polito@vonbraun.com"
}
] | akwire/conf/Streams.clj | littlenag/akwire | 0 | ;
;
; From common.clj
;
;
(ns akwire.common
(:use [clojure.string :only [split join]]
[riemann.time :only [unix-time]]
clojure.math.numeric-tower))
(defrecord Event [network host observer key value tags time])
(defprotocol Match
(match [pred object]
"Does predicate describe object?"))
(defn ... | 26525 | ;
;
; From common.clj
;
;
(ns akwire.common
(:use [clojure.string :only [split join]]
[riemann.time :only [unix-time]]
clojure.math.numeric-tower))
(defrecord Event [network host observer key value tags time])
(defprotocol Match
(match [pred object]
"Does predicate describe object?"))
(defn ... | true | ;
;
; From common.clj
;
;
(ns akwire.common
(:use [clojure.string :only [split join]]
[riemann.time :only [unix-time]]
clojure.math.numeric-tower))
(defrecord Event [network host observer key value tags time])
(defprotocol Match
(match [pred object]
"Does predicate describe object?"))
(defn ... |
[
{
"context": ";; Copyright (c) Vital Labs, Inc. All rights reserved. The use and\n;; distri",
"end": 27,
"score": 0.987964928150177,
"start": 17,
"tag": "NAME",
"value": "Vital Labs"
}
] | src/clojurecast/component.clj | VitalLabs/clojurecast | 0 | ;; Copyright (c) Vital Labs, Inc. All rights reserved. The use and
;; distribution terms for this software are covered by the MIT
;; License (https://opensource.org/licenses/MIT) which can be found
;; in the file LICENSE at the root of this distribution.
;; By using this software in any fashion, you are agreeing to be... | 106247 | ;; Copyright (c) <NAME>, Inc. All rights reserved. The use and
;; distribution terms for this software are covered by the MIT
;; License (https://opensource.org/licenses/MIT) which can be found
;; in the file LICENSE at the root of this distribution.
;; By using this software in any fashion, you are agreeing to be
;; ... | true | ;; Copyright (c) PI:NAME:<NAME>END_PI, Inc. All rights reserved. The use and
;; distribution terms for this software are covered by the MIT
;; License (https://opensource.org/licenses/MIT) which can be found
;; in the file LICENSE at the root of this distribution.
;; By using this software in any fashion, you are agre... |
[
{
"context": "als\"]\n\n ;; deployment\n :url \"https://github.com/lacuna/artifex\"\n :description \"a library for geometric ",
"end": 1128,
"score": 0.9474301934242249,
"start": 1122,
"tag": "USERNAME",
"value": "lacuna"
},
{
"context": " Maven properties for the Maven God\n :sc... | project.clj | lacuna/artifex | 65 | (defproject io.lacuna/artifex "0.1.0-alpha1"
:dependencies [[io.lacuna/bifurcan "0.1.0"]]
:java-source-paths ["src"]
:profiles {:dev {:dependencies [[org.clojure/clojure "1.8.0"]
[criterium "0.4.3"]
[virgil "0.1.8"]
... | 120355 | (defproject io.lacuna/artifex "0.1.0-alpha1"
:dependencies [[io.lacuna/bifurcan "0.1.0"]]
:java-source-paths ["src"]
:profiles {:dev {:dependencies [[org.clojure/clojure "1.8.0"]
[criterium "0.4.3"]
[virgil "0.1.8"]
... | true | (defproject io.lacuna/artifex "0.1.0-alpha1"
:dependencies [[io.lacuna/bifurcan "0.1.0"]]
:java-source-paths ["src"]
:profiles {:dev {:dependencies [[org.clojure/clojure "1.8.0"]
[criterium "0.4.3"]
[virgil "0.1.8"]
... |
[
{
"context": "lojure.string :as str]))\n\n(def default-students [\"Alice\" \"Bob\" \"Charlie\" \"David\" \"Eve\" \"Fred\" \"Ginny\"\n ",
"end": 93,
"score": 0.9998643398284912,
"start": 88,
"tag": "NAME",
"value": "Alice"
},
{
"context": "tring :as str]))\n\n(def default-students [... | src/kindergarten_garden.clj | tschady/exercism-clojure | 2 | (ns kindergarten-garden
(:require [clojure.string :as str]))
(def default-students ["Alice" "Bob" "Charlie" "David" "Eve" "Fred" "Ginny"
"Harriet" "Ileana" "Joseph" "Kincaid" "Larry"])
(def char->plants {\C :clover
\G :grass
\R :radishes
... | 85156 | (ns kindergarten-garden
(:require [clojure.string :as str]))
(def default-students ["<NAME>" "<NAME>" "<NAME>" "<NAME>" "<NAME>" "<NAME>" "<NAME>"
"<NAME>" "<NAME>" "<NAME>" "<NAME>" "<NAME>"])
(def char->plants {\C :clover
\G :grass
\R :radishes
... | true | (ns kindergarten-garden
(:require [clojure.string :as str]))
(def default-students ["PI:NAME:<NAME>END_PI" "PI:NAME:<NAME>END_PI" "PI:NAME:<NAME>END_PI" "PI:NAME:<NAME>END_PI" "PI:NAME:<NAME>END_PI" "PI:NAME:<NAME>END_PI" "PI:NAME:<NAME>END_PI"
"PI:NAME:<NAME>END_PI" "PI:NAME:<NAME>END_PI" "PI... |
[
{
"context": "e \"4\" \"I’m excited that over on this thread,\n Mike Shulman has proposed a very plausible theory of magnitude",
"end": 2320,
"score": 0.9993033409118652,
"start": 2308,
"tag": "NAME",
"value": "Mike Shulman"
}
] | src/rest_articles/handler.clj | ojd2/rest-lib-client | 0 | ;; Set up some namespaces for the project:
(ns rest-articles.handler
(:use compojure.core)
(:require [compojure.handler :as handler]
[compojure.route :as route]
[liberator.core :refer [resource defresource]]
[liberator.representation :refer [render-map-generic]]
[hicc... | 116985 | ;; Set up some namespaces for the project:
(ns rest-articles.handler
(:use compojure.core)
(:require [compojure.handler :as handler]
[compojure.route :as route]
[liberator.core :refer [resource defresource]]
[liberator.representation :refer [render-map-generic]]
[hicc... | true | ;; Set up some namespaces for the project:
(ns rest-articles.handler
(:use compojure.core)
(:require [compojure.handler :as handler]
[compojure.route :as route]
[liberator.core :refer [resource defresource]]
[liberator.representation :refer [render-map-generic]]
[hicc... |
[
{
"context": ";;;; Copyright 2013-2016 Aviad Reich.\n;;;; The use and distribution terms for this sof",
"end": 36,
"score": 0.9998914003372192,
"start": 25,
"tag": "NAME",
"value": "Aviad Reich"
},
{
"context": "t 18443 :else 8333),\n :rpchost \"http://127.0.0.1\"}\n ... | src/clj_btc/config.clj | mprokopov/clj-btc | 0 | ;;;; Copyright 2013-2016 Aviad Reich.
;;;; The use and distribution terms for this software are covered by
;;;; the Apache License, Version 2.0
;;;; (http://www.apache.org/licenses/LICENSE-2.0.txt), which can be
;;;; found in the file LICENSE at the root of this distribution. By
;;;; using this software in any fashion,... | 6823 | ;;;; Copyright 2013-2016 <NAME>.
;;;; The use and distribution terms for this software are covered by
;;;; the Apache License, Version 2.0
;;;; (http://www.apache.org/licenses/LICENSE-2.0.txt), which can be
;;;; found in the file LICENSE at the root of this distribution. By
;;;; using this software in any fashion, you ... | true | ;;;; Copyright 2013-2016 PI:NAME:<NAME>END_PI.
;;;; The use and distribution terms for this software are covered by
;;;; the Apache License, Version 2.0
;;;; (http://www.apache.org/licenses/LICENSE-2.0.txt), which can be
;;;; found in the file LICENSE at the root of this distribution. By
;;;; using this software in any... |
[
{
"context": ";; Copyright (c) 2014-2018 Andrey Antukh <niwi@niwi.nz>\n;; Copyright (c) 2017-2018 Denis S",
"end": 40,
"score": 0.9998872876167297,
"start": 27,
"tag": "NAME",
"value": "Andrey Antukh"
},
{
"context": ";; Copyright (c) 2014-2018 Andrey Antukh <niwi@niwi.nz>\n;; Copyri... | src/buddy/core/keys/jwk/rsa.clj | shilder/buddy-core | 121 | ;; Copyright (c) 2014-2018 Andrey Antukh <niwi@niwi.nz>
;; Copyright (c) 2017-2018 Denis Shilov <sxp@bk.ru>
;;
;; 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/... | 10690 | ;; Copyright (c) 2014-2018 <NAME> <<EMAIL>>
;; Copyright (c) 2017-2018 <NAME> <<EMAIL>>
;;
;; Licensed under the Apache License, Version 2.0 (the "License")
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0... | true | ;; Copyright (c) 2014-2018 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
;; Copyright (c) 2017-2018 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
;;
;; Licensed under the Apache License, Version 2.0 (the "License")
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the Licen... |
[
{
"context": "e :as core]))\n\n(def ^:private default-key-prefix \"tokeninfo-\")\n(def ^:private default-expire-sec 300)\n\n(defn- ",
"end": 230,
"score": 0.8825930953025818,
"start": 220,
"tag": "KEY",
"value": "tokeninfo-"
}
] | src/ring_gatekeeper/cache/memcached.clj | FundingCircle/gatekeeper | 25 | (ns ring-gatekeeper.cache.memcached
(:refer-clojure :exclude [get set])
(:require [clojurewerkz.spyglass.client :as mem-client]
[ring-gatekeeper.cache.core :as core]))
(def ^:private default-key-prefix "tokeninfo-")
(def ^:private default-expire-sec 300)
(defn- build-key [prefix key]
(str prefix key... | 57789 | (ns ring-gatekeeper.cache.memcached
(:refer-clojure :exclude [get set])
(:require [clojurewerkz.spyglass.client :as mem-client]
[ring-gatekeeper.cache.core :as core]))
(def ^:private default-key-prefix "<KEY>")
(def ^:private default-expire-sec 300)
(defn- build-key [prefix key]
(str prefix key))
(... | true | (ns ring-gatekeeper.cache.memcached
(:refer-clojure :exclude [get set])
(:require [clojurewerkz.spyglass.client :as mem-client]
[ring-gatekeeper.cache.core :as core]))
(def ^:private default-key-prefix "PI:KEY:<KEY>END_PI")
(def ^:private default-expire-sec 300)
(defn- build-key [prefix key]
(str pr... |
[
{
"context": "ms using the swank-rpc protocol.\"\n :author \"Terje Norderhaug <terje@in-progress.com>\"}\n swank.rpc\n (:use (sw",
"end": 213,
"score": 0.9998944401741028,
"start": 197,
"tag": "NAME",
"value": "Terje Norderhaug"
},
{
"context": "-rpc protocol.\"\n :auth... | swank-clojure/swank/rpc.clj | darionyaphet/vim.backup | 1 | ;;; This code has been placed in the Public Domain. All warranties are disclaimed.
(ns #^{:doc "Pass remote calls and responses between lisp systems using the swank-rpc protocol."
:author "Terje Norderhaug <terje@in-progress.com>"}
swank.rpc
(:use (swank util)
(swank.util io))
(:import (java.io Wr... | 106543 | ;;; This code has been placed in the Public Domain. All warranties are disclaimed.
(ns #^{:doc "Pass remote calls and responses between lisp systems using the swank-rpc protocol."
:author "<NAME> <<EMAIL>>"}
swank.rpc
(:use (swank util)
(swank.util io))
(:import (java.io Writer Reader PushbackRead... | true | ;;; This code has been placed in the Public Domain. All warranties are disclaimed.
(ns #^{:doc "Pass remote calls and responses between lisp systems using the swank-rpc protocol."
:author "PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>"}
swank.rpc
(:use (swank util)
(swank.util io))
(:import (java.... |
[
{
"context": "fix\n \"?user=\" user \"&password=db_user_password_here\")\n :mysql (str \"mysql://localhost:3306/\" ",
"end": 1081,
"score": 0.9902773499488831,
"start": 1060,
"tag": "PASSWORD",
"value": "db_user_password_here"
},
{
"context": "fix\n ... | src/leiningen/new/db.clj | matasaru/luminus-template | 0 | (ns leiningen.new.db
(:require [leiningen.new.common :refer :all]))
(defn select-db [{:keys [features]}]
(cond
(some #{"+postgres"} features) :postgres
(some #{"+mysql"} features) :mysql
(some #{"+mongodb"} features) :mongo
(some #{"+datomic"} features) :datomic
(some #{"+xtdb"} features) :xtdb... | 3767 | (ns leiningen.new.db
(:require [leiningen.new.common :refer :all]))
(defn select-db [{:keys [features]}]
(cond
(some #{"+postgres"} features) :postgres
(some #{"+mysql"} features) :mysql
(some #{"+mongodb"} features) :mongo
(some #{"+datomic"} features) :datomic
(some #{"+xtdb"} features) :xtdb... | true | (ns leiningen.new.db
(:require [leiningen.new.common :refer :all]))
(defn select-db [{:keys [features]}]
(cond
(some #{"+postgres"} features) :postgres
(some #{"+mysql"} features) :mysql
(some #{"+mongodb"} features) :mongo
(some #{"+datomic"} features) :datomic
(some #{"+xtdb"} features) :xtdb... |
[
{
"context": "useful in\n generating forms.\"\n :author \"Simon Brooke\"}\n adl-support.forms-support\n (:require [adl-su",
"end": 127,
"score": 0.9998869895935059,
"start": 115,
"tag": "NAME",
"value": "Simon Brooke"
},
{
"context": "nse for more details.\n;;;;\n;;;; Cop... | src/adl_support/forms_support.clj | simon-brooke/adl-support | 0 | (ns ^{:doc "Application Description Language support - functions useful in
generating forms."
:author "Simon Brooke"}
adl-support.forms-support
(:require [adl-support.core :refer :all]
[adl-support.utils :refer [capitalise descendants-with-tag safe-name singularise]]
[clojure.cor... | 30901 | (ns ^{:doc "Application Description Language support - functions useful in
generating forms."
:author "<NAME>"}
adl-support.forms-support
(:require [adl-support.core :refer :all]
[adl-support.utils :refer [capitalise descendants-with-tag safe-name singularise]]
[clojure.core.memo... | true | (ns ^{:doc "Application Description Language support - functions useful in
generating forms."
:author "PI:NAME:<NAME>END_PI"}
adl-support.forms-support
(:require [adl-support.core :refer :all]
[adl-support.utils :refer [capitalise descendants-with-tag safe-name singularise]]
[clo... |
[
{
"context": "mitations under the License.\n;\n\n(ns\n #^{:author \"Chas Emerick, cemerick@snowtide.com\"\n :doc \"A clojure bind",
"end": 816,
"score": 0.9998874664306641,
"start": 804,
"tag": "NAME",
"value": "Chas Emerick"
},
{
"context": "er the License.\n;\n\n(ns\n #^{:aut... | apis/ec2/src/main/clojure/org/jclouds/ec2/ebs2.clj | danbroudy/jclouds | 1 | ;
; Licensed to the Apache Software Foundation (ASF) under one or more
; contributor license agreements. See the NOTICE file distributed with
; this work for additional information regarding copyright ownership.
; The ASF licenses this file to You under the Apache License, Version 2.0
; (the "License"); you may not us... | 60612 | ;
; Licensed to the Apache Software Foundation (ASF) under one or more
; contributor license agreements. See the NOTICE file distributed with
; this work for additional information regarding copyright ownership.
; The ASF licenses this file to You under the Apache License, Version 2.0
; (the "License"); you may not us... | true | ;
; Licensed to the Apache Software Foundation (ASF) under one or more
; contributor license agreements. See the NOTICE file distributed with
; this work for additional information regarding copyright ownership.
; The ASF licenses this file to You under the Apache License, Version 2.0
; (the "License"); you may not us... |
[
{
"context": "michat\"\n \"RMI Chat\"\n \"Sandro Leuchter\"\n \"VAR\"\n 4\n ",
"end": 221,
"score": 0.9998279809951782,
"start": 206,
"tag": "NAME",
"value": "Sandro Leuchter"
},
{
"context": "cords/build-instance 2 \"v... | server/src/var_tool/server/fixtures.clj | jwillem/var-tool | 0 | (ns var-tool.server.fixtures
(:require [var-tool.server.records :as records]))
(def experiments
{"rmichat" (records/build-experiment
"rmichat"
"RMI Chat"
"Sandro Leuchter"
"VAR"
4
{:1 (records/build-instance 1 "var.rmi.chat.... | 106652 | (ns var-tool.server.fixtures
(:require [var-tool.server.records :as records]))
(def experiments
{"rmichat" (records/build-experiment
"rmichat"
"RMI Chat"
"<NAME>"
"VAR"
4
{:1 (records/build-instance 1 "var.rmi.chat.ChatServe... | true | (ns var-tool.server.fixtures
(:require [var-tool.server.records :as records]))
(def experiments
{"rmichat" (records/build-experiment
"rmichat"
"RMI Chat"
"PI:NAME:<NAME>END_PI"
"VAR"
4
{:1 (records/build-instance 1 "var.rmi.... |
[
{
"context": " ]\n (t/signin :user {:username \"foo\" :password \"bar\"}\n\n :on-s",
"end": 849,
"score": 0.9873661994934082,
"start": 846,
"tag": "USERNAME",
"value": "foo"
},
{
"context": " (t/signin :user {:username \"foo\" :password ... | test/trustroots/api_test.cljs | daiyitastic/Trustroots-React-Native | 32 | (ns trustroots.api-test
(:require
[trustroots.test-helper :refer [specs expect do-asserts]]
[cljs.test :refer-macros [async deftest is testing use-fixtures]]
[trustroots.helpers :refer [log]]
[trustroots.api :as t]))
(specs "Test api endpoint helpers"
{ "Signin"
(fn [done]
(let ... | 32655 | (ns trustroots.api-test
(:require
[trustroots.test-helper :refer [specs expect do-asserts]]
[cljs.test :refer-macros [async deftest is testing use-fixtures]]
[trustroots.helpers :refer [log]]
[trustroots.api :as t]))
(specs "Test api endpoint helpers"
{ "Signin"
(fn [done]
(let ... | true | (ns trustroots.api-test
(:require
[trustroots.test-helper :refer [specs expect do-asserts]]
[cljs.test :refer-macros [async deftest is testing use-fixtures]]
[trustroots.helpers :refer [log]]
[trustroots.api :as t]))
(specs "Test api endpoint helpers"
{ "Signin"
(fn [done]
(let ... |
[
{
"context": ";socket.emit('chat message', $('#m').val());,c \n;: WATSON \n(defn speek []\n (->\n (.get js/axios (str ser",
"end": 2281,
"score": 0.9970654845237732,
"start": 2275,
"tag": "NAME",
"value": "WATSON"
},
{
"context": " (.emit socket \"word\" (clj->js {:words data :u... | src/reagenttest/core.cljs | BTBTravis/spoken-frontend | 0 | (ns reagenttest.core
(:require
[reagent.core :as r]
[clojure.string :as str]
[taoensso.timbre :as timbre :refer [spy]]
)
)
;(def server_url "http://localhost:3000")
(def server_url "https://frozen-tor-81390.herokuapp.com")
(def log (.-log js/console))
; TODO: Move randomColor to backend
(defn randomCo... | 84869 | (ns reagenttest.core
(:require
[reagent.core :as r]
[clojure.string :as str]
[taoensso.timbre :as timbre :refer [spy]]
)
)
;(def server_url "http://localhost:3000")
(def server_url "https://frozen-tor-81390.herokuapp.com")
(def log (.-log js/console))
; TODO: Move randomColor to backend
(defn randomCo... | true | (ns reagenttest.core
(:require
[reagent.core :as r]
[clojure.string :as str]
[taoensso.timbre :as timbre :refer [spy]]
)
)
;(def server_url "http://localhost:3000")
(def server_url "https://frozen-tor-81390.herokuapp.com")
(def log (.-log js/console))
; TODO: Move randomColor to backend
(defn randomCo... |
[
{
"context": "s that determine who is allowed to do\n what. E.g. Adam may be authorized to create and delete databases,",
"end": 292,
"score": 0.9819164872169495,
"start": 288,
"tag": "NAME",
"value": "Adam"
},
{
"context": "ime-based-anchors\"\n [user-name]\n {:user (keyword user... | src/clj/carpet/auth.clj | ebellani/carpet | 5 | (ns carpet.auth
"This namespace provides authentication and authorization. These terms are
defined as[1]:
Authentication is the process of ascertaining that somebody really is who he
claims to be.
Authorization refers to rules that determine who is allowed to do
what. E.g. Adam may be authorized to create... | 57757 | (ns carpet.auth
"This namespace provides authentication and authorization. These terms are
defined as[1]:
Authentication is the process of ascertaining that somebody really is who he
claims to be.
Authorization refers to rules that determine who is allowed to do
what. E.g. <NAME> may be authorized to crea... | true | (ns carpet.auth
"This namespace provides authentication and authorization. These terms are
defined as[1]:
Authentication is the process of ascertaining that somebody really is who he
claims to be.
Authorization refers to rules that determine who is allowed to do
what. E.g. PI:NAME:<NAME>END_PI may be auth... |
[
{
"context": "\n;;\n;; RBF kernels\n\n;; https://www.math.unipd.it/~demarchi/RBF/LectureNotes.pdf\n;; http://evoq-eval.sia",
"end": 933,
"score": 0.6658052206039429,
"start": 930,
"tag": "USERNAME",
"value": "dem"
},
{
"context": "(- 1.0 xs) k)))))\n\n\n;; https://www.math.unipd.it/~... | src/fastmath/kernel.clj | mdgrs/fastmath | 170 | (ns fastmath.kernel
"Various kernel functions.
* RBF (double -> double functions)
* vector kernels (vector x vector -> double function; may be positive definite, conditional positive definite, positive semi-definite, mercer)
* density estimation
* some kernel operations"
{:metadoc/categories {:rbf "RBF ker... | 36502 | (ns fastmath.kernel
"Various kernel functions.
* RBF (double -> double functions)
* vector kernels (vector x vector -> double function; may be positive definite, conditional positive definite, positive semi-definite, mercer)
* density estimation
* some kernel operations"
{:metadoc/categories {:rbf "RBF ker... | true | (ns fastmath.kernel
"Various kernel functions.
* RBF (double -> double functions)
* vector kernels (vector x vector -> double function; may be positive definite, conditional positive definite, positive semi-definite, mercer)
* density estimation
* some kernel operations"
{:metadoc/categories {:rbf "RBF ker... |
[
{
"context": "rivate?)\n [:div#import-badge {:key \"new-badge\" :style {:position \"relative\"}}\n [:a",
"end": 4124,
"score": 0.996751606464386,
"start": 4115,
"tag": "KEY",
"value": "new-badge"
}
] | src/cljs/salava/badge/ui/my.cljs | Vilikkki/salava | 0 | (ns salava.badge.ui.my
(:require
[reagent.core :refer [atom create-class]]
[reagent.session :as session]
[reagent-modals.modals :as m]
[clojure.set :as set :refer [intersection]]
[clojure.string :refer [upper-case]]
[salava.core.ui.ajax-utils :as ajax]
[salava.core.ui.helper :as h :refer [... | 62974 | (ns salava.badge.ui.my
(:require
[reagent.core :refer [atom create-class]]
[reagent.session :as session]
[reagent-modals.modals :as m]
[clojure.set :as set :refer [intersection]]
[clojure.string :refer [upper-case]]
[salava.core.ui.ajax-utils :as ajax]
[salava.core.ui.helper :as h :refer [... | true | (ns salava.badge.ui.my
(:require
[reagent.core :refer [atom create-class]]
[reagent.session :as session]
[reagent-modals.modals :as m]
[clojure.set :as set :refer [intersection]]
[clojure.string :refer [upper-case]]
[salava.core.ui.ajax-utils :as ajax]
[salava.core.ui.helper :as h :refer [... |
[
{
"context": "r.clj\n;;; A printer for SNePS 3 terms.\n;;; Author: Daniel R. Schlegel\n;;; Modified: 6/10/2014\n\n(ns zinc.core.printer\n ",
"end": 86,
"score": 0.9998779296875,
"start": 68,
"tag": "NAME",
"value": "Daniel R. Schlegel"
}
] | src/clj/zinc/core/printer.clj | martinodb/Zinc | 0 | ;;; sneps3_printer.clj
;;; A printer for SNePS 3 terms.
;;; Author: Daniel R. Schlegel
;;; Modified: 6/10/2014
(ns zinc.core.printer
(:require [clojure.string :as str]
[zinc.core.contexts :as ct]
[zinc.core :as zinc]
[zinc.core.caseframes :as cf]
[zinc.core.relations :... | 71485 | ;;; sneps3_printer.clj
;;; A printer for SNePS 3 terms.
;;; Author: <NAME>
;;; Modified: 6/10/2014
(ns zinc.core.printer
(:require [clojure.string :as str]
[zinc.core.contexts :as ct]
[zinc.core :as zinc]
[zinc.core.caseframes :as cf]
[zinc.core.relations :as slot])
... | true | ;;; sneps3_printer.clj
;;; A printer for SNePS 3 terms.
;;; Author: PI:NAME:<NAME>END_PI
;;; Modified: 6/10/2014
(ns zinc.core.printer
(:require [clojure.string :as str]
[zinc.core.contexts :as ct]
[zinc.core :as zinc]
[zinc.core.caseframes :as cf]
[zinc.core.relations... |
[
{
"context": "er-assigned-client-id\"\n :public-key \"ABCDEF...\"\n :redirect-url-resource \"callback\"})\n\n\n;;\n;",
"end": 771,
"score": 0.8541170358657837,
"start": 765,
"tag": "KEY",
"value": "ABCDEF"
}
] | code/src/sixsq/nuvla/server/resources/configuration_template_session_oidc.clj | nuvla/server | 6 | (ns sixsq.nuvla.server.resources.configuration-template-session-oidc
(:require
[sixsq.nuvla.server.resources.common.utils :as u]
[sixsq.nuvla.server.resources.configuration-template :as p]
[sixsq.nuvla.server.resources.spec.configuration-template-session-oidc :as cts-oidc]))
(def ^:const service "sessio... | 13174 | (ns sixsq.nuvla.server.resources.configuration-template-session-oidc
(:require
[sixsq.nuvla.server.resources.common.utils :as u]
[sixsq.nuvla.server.resources.configuration-template :as p]
[sixsq.nuvla.server.resources.spec.configuration-template-session-oidc :as cts-oidc]))
(def ^:const service "sessio... | true | (ns sixsq.nuvla.server.resources.configuration-template-session-oidc
(:require
[sixsq.nuvla.server.resources.common.utils :as u]
[sixsq.nuvla.server.resources.configuration-template :as p]
[sixsq.nuvla.server.resources.spec.configuration-template-session-oidc :as cts-oidc]))
(def ^:const service "sessio... |
[
{
"context": "n actually using the language itself.\\\"\n\n-- <cite>Bruce Hauman, [Figwheel](https://github.com/bhauman/lein-figwh",
"end": 1108,
"score": 0.9998399615287781,
"start": 1096,
"tag": "NAME",
"value": "Bruce Hauman"
},
{
"context": "<cite>Bruce Hauman, [Figwheel](https:/... | src/clarc/index.cljs | fdserr/clarc | 2 | (ns clarc.index
(:require
clarc.intro.card1
clarc.intro.card2
clarc.intro.qa
clarc.mini-app.index
clarc.local-db.index
clarc.socket.index
clarc.server.index
clarc.e2e.index
[devcards.core :as dc :include-macros true :refer [defcard deftest]]
[sablono.core :as sab :include-macros true :re... | 14420 | (ns clarc.index
(:require
clarc.intro.card1
clarc.intro.card2
clarc.intro.qa
clarc.mini-app.index
clarc.local-db.index
clarc.socket.index
clarc.server.index
clarc.e2e.index
[devcards.core :as dc :include-macros true :refer [defcard deftest]]
[sablono.core :as sab :include-macros true :re... | true | (ns clarc.index
(:require
clarc.intro.card1
clarc.intro.card2
clarc.intro.qa
clarc.mini-app.index
clarc.local-db.index
clarc.socket.index
clarc.server.index
clarc.e2e.index
[devcards.core :as dc :include-macros true :refer [defcard deftest]]
[sablono.core :as sab :include-macros true :re... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.