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": "y-attribute-conditions\n (let [name-map { :name \"Humedai Motors\" }\n humedai1 (manufacturer/creat",
"end": 3980,
"score": 0.5226654410362244,
"start": 3977,
"tag": "NAME",
"value": "ume"
},
{
"context": "dai :id)]\n (manufacturer/update {:id id :name \"Schm... | test/clj_record/core_test.clj | duelinmarkers/clj-record | 8 | (ns clj-record.core-test
(:require
[clj-record.core :as core]
[clj-record.query :as query]
[clj-record.test-model.manufacturer :as manufacturer]
[clj-record.test-model.product :as product])
(:use clojure.test
clj-record.test-helper))
(deftest table-name-can-be-unconventional-with-table-nam... | 121809 | (ns clj-record.core-test
(:require
[clj-record.core :as core]
[clj-record.query :as query]
[clj-record.test-model.manufacturer :as manufacturer]
[clj-record.test-model.product :as product])
(:use clojure.test
clj-record.test-helper))
(deftest table-name-can-be-unconventional-with-table-nam... | true | (ns clj-record.core-test
(:require
[clj-record.core :as core]
[clj-record.query :as query]
[clj-record.test-model.manufacturer :as manufacturer]
[clj-record.test-model.product :as product])
(:use clojure.test
clj-record.test-helper))
(deftest table-name-can-be-unconventional-with-table-nam... |
[
{
"context": ";; Copyright 2014-2016 Andrey Antukh <niwi@niwi.nz>\n;; Copyright (c) 2017 Denis Shilov",
"end": 36,
"score": 0.9998793601989746,
"start": 23,
"tag": "NAME",
"value": "Andrey Antukh"
},
{
"context": ";; Copyright 2014-2016 Andrey Antukh <niwi@niwi.nz>\n;; Copyright (c) ... | test/buddy/sign/jwk_tests.clj | greut/buddy-sign | 105 | ;; Copyright 2014-2016 Andrey Antukh <niwi@niwi.nz>
;; Copyright (c) 2017 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/licenses/... | 48549 | ;; Copyright 2014-2016 <NAME> <<EMAIL>>
;; Copyright (c) 2017 <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
;;
;; Un... | true | ;; Copyright 2014-2016 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
;; Copyright (c) 2017 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
;;
;; Licensed under the Apache License, Version 2.0 (the "License")
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
... |
[
{
"context": " :subprotocol \"sqlite\"\n :subname \"/Users/mertnuhoglu/projects/study/clj/ex/book_practicalli_clojure_we",
"end": 368,
"score": 0.9919202923774719,
"start": 357,
"tag": "USERNAME",
"value": "mertnuhoglu"
},
{
"context": "st_name, email, phone)\n values (... | clj/ex/book_practicalli_clojure_webapps/p01/src/practicalli/p10.clj | mertnuhoglu/study | 1 | (ns practicalli.p10
(:require [clojure.pprint :as p]
[clojure.java.jdbc :as j]
))
; from: [Clojure and SQLite – Yet Another Blog in Statistical Computing](https://statcompute.wordpress.com/2018/03/12/clojure-and-sqlite/)
(comment
(def db
{:classname "org.sqlite.JDBC"
:subprotoco... | 64727 | (ns practicalli.p10
(:require [clojure.pprint :as p]
[clojure.java.jdbc :as j]
))
; from: [Clojure and SQLite – Yet Another Blog in Statistical Computing](https://statcompute.wordpress.com/2018/03/12/clojure-and-sqlite/)
(comment
(def db
{:classname "org.sqlite.JDBC"
:subprotoco... | true | (ns practicalli.p10
(:require [clojure.pprint :as p]
[clojure.java.jdbc :as j]
))
; from: [Clojure and SQLite – Yet Another Blog in Statistical Computing](https://statcompute.wordpress.com/2018/03/12/clojure-and-sqlite/)
(comment
(def db
{:classname "org.sqlite.JDBC"
:subprotoco... |
[
{
"context": "e\" \"1.6\" \"-Xlint:-options\"]\n :signing {:gpg-key \"7A9D8E91\"}\n :deploy-repositories [[\"releases\" :clojars]\n",
"end": 560,
"score": 0.9951555132865906,
"start": 552,
"tag": "KEY",
"value": "7A9D8E91"
},
{
"context": ":developer\n ... | project.clj | ammanchipavan/Java-web-socket | 0 | (defproject org.java-websocket/java-websocket "1.3.2"
:description "A barebones WebSocket client and server implementation written 100% in Java"
:url "http://java-websocket.org/"
:scm {:name "git"
:url "https://github.com/TooTallNate/Java-WebSocket"}
:license {:name "MIT License"
:url "https... | 93169 | (defproject org.java-websocket/java-websocket "1.3.2"
:description "A barebones WebSocket client and server implementation written 100% in Java"
:url "http://java-websocket.org/"
:scm {:name "git"
:url "https://github.com/TooTallNate/Java-WebSocket"}
:license {:name "MIT License"
:url "https... | true | (defproject org.java-websocket/java-websocket "1.3.2"
:description "A barebones WebSocket client and server implementation written 100% in Java"
:url "http://java-websocket.org/"
:scm {:name "git"
:url "https://github.com/TooTallNate/Java-WebSocket"}
:license {:name "MIT License"
:url "https... |
[
{
"context": " (is (set/subset? #{[\"/scripts/actors.script\" [\"\\\"Will Smith\\\"\"]]\n [\"/scripts/apples",
"end": 8123,
"score": 0.999763548374176,
"start": 8113,
"tag": "NAME",
"value": "Will Smith"
},
{
"context": " [\"/scripts/apple... | editor/test/editor/defold_project_search_test.clj | madwareru/defold | 0 | ;; Copyright 2020 The Defold Foundation
;; 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://www.defold.com/license
;;
;; Unless required by applicable law or agr... | 2099 | ;; Copyright 2020 The Defold Foundation
;; 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://www.defold.com/license
;;
;; Unless required by applicable law or agr... | true | ;; Copyright 2020 The Defold Foundation
;; 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://www.defold.com/license
;;
;; Unless required by applicable law or agr... |
[
{
"context": ";; Copyright (c) 2021 Thomas J. Otterson\n;; \n;; This software is released under the MIT Li",
"end": 40,
"score": 0.9998087882995605,
"start": 22,
"tag": "NAME",
"value": "Thomas J. Otterson"
}
] | src/barandis/euler/p14.clj | Barandis/euler-clojure | 0 | ;; Copyright (c) 2021 Thomas J. Otterson
;;
;; This software is released under the MIT License.
;; https://opensource.org/licenses/MIT
;; Solves Project Euler problem 14:
;;
;; The following iterative sequence is defined for the set of positive integers:
;;
;; n → n/2 (n is even)
;; n → 3n + 1... | 76760 | ;; Copyright (c) 2021 <NAME>
;;
;; This software is released under the MIT License.
;; https://opensource.org/licenses/MIT
;; Solves Project Euler problem 14:
;;
;; The following iterative sequence is defined for the set of positive integers:
;;
;; n → n/2 (n is even)
;; n → 3n + 1 (n is odd)
... | true | ;; Copyright (c) 2021 PI:NAME:<NAME>END_PI
;;
;; This software is released under the MIT License.
;; https://opensource.org/licenses/MIT
;; Solves Project Euler problem 14:
;;
;; The following iterative sequence is defined for the set of positive integers:
;;
;; n → n/2 (n is even)
;; n → 3n +... |
[
{
"context": "il] [:field to-id nil]]]\n col-key \"[\\\"name\\\",\\\"Some Column\\\"]\"\n norm-key {::mb.viz/column-name \"Some",
"end": 6796,
"score": 0.9018890261650085,
"start": 6773,
"tag": "KEY",
"value": "name\\\",\\\"Some Column\\\"]"
}
] | c#-metabase/shared/test/metabase/shared/models/visualization_settings_test.cljc | hanakhry/Crime_Admin | 0 | (ns metabase.shared.models.visualization-settings-test
"Tests for the shared visualization-settings namespace functions"
#?@
(:clj
[(:require [clojure.spec.test.alpha :as stest]
[clojure.test :as t]
[clojure.walk :as walk]
[metabase.shared.models.vi... | 116186 | (ns metabase.shared.models.visualization-settings-test
"Tests for the shared visualization-settings namespace functions"
#?@
(:clj
[(:require [clojure.spec.test.alpha :as stest]
[clojure.test :as t]
[clojure.walk :as walk]
[metabase.shared.models.vi... | true | (ns metabase.shared.models.visualization-settings-test
"Tests for the shared visualization-settings namespace functions"
#?@
(:clj
[(:require [clojure.spec.test.alpha :as stest]
[clojure.test :as t]
[clojure.walk :as walk]
[metabase.shared.models.vi... |
[
{
"context": " content\")\n\n(def ADMIN_AND_WRITER_STONECUTTER_ID \"d-cent-123123\")\n(def OBJECTIVE_OWNER_TWITTER_ID \"twitter-7",
"end": 3208,
"score": 0.6713203191757202,
"start": 3200,
"tag": "USERNAME",
"value": "d-cent-1"
},
{
"context": "\n\n(def ADMIN_AND_WRITER_STONECUTTER_I... | test/objective8/functional/functional_tests.clj | d-cent/objective8 | 23 | (ns objective8.functional.functional-tests
(:require [midje.sweet :refer :all]
[org.httpkit.server :refer [run-server]]
[clj-webdriver.taxi :as wd]
[clojure.java.io :as io]
[clojure.tools.logging :as log]
[clojure.string :as string]
[objective8.c... | 12753 | (ns objective8.functional.functional-tests
(:require [midje.sweet :refer :all]
[org.httpkit.server :refer [run-server]]
[clj-webdriver.taxi :as wd]
[clojure.java.io :as io]
[clojure.tools.logging :as log]
[clojure.string :as string]
[objective8.c... | true | (ns objective8.functional.functional-tests
(:require [midje.sweet :refer :all]
[org.httpkit.server :refer [run-server]]
[clj-webdriver.taxi :as wd]
[clojure.java.io :as io]
[clojure.tools.logging :as log]
[clojure.string :as string]
[objective8.c... |
[
{
"context": "username \"root\"\n :password \"123456\"\n :jdbc-url \"jdbc:mysql://1270.0.01:3",
"end": 1000,
"score": 0.9991805553436279,
"start": 994,
"tag": "PASSWORD",
"value": "123456"
},
{
"context": "se-name \"test_db\"\n ;; :server-name... | lib/ol.hikari-cp.ig/src/ol/hikari_cp/ig.clj | Ramblurr/ol-system | 0 | (ns ol.hikari-cp.ig
(:require
[integrant.core :as ig]
[hikari-cp.core :as cp]
;[next.jdbc.connection :as connection]
[ol.system.ig-utils :as ig-utils]
)
(:import (com.zaxxer.hikari HikariDataSource)))
(defmethod ig/init-key ::hikari-connection
[_ pool-spec]
;(connection/->pool HikariDataSou... | 53040 | (ns ol.hikari-cp.ig
(:require
[integrant.core :as ig]
[hikari-cp.core :as cp]
;[next.jdbc.connection :as connection]
[ol.system.ig-utils :as ig-utils]
)
(:import (com.zaxxer.hikari HikariDataSource)))
(defmethod ig/init-key ::hikari-connection
[_ pool-spec]
;(connection/->pool HikariDataSou... | true | (ns ol.hikari-cp.ig
(:require
[integrant.core :as ig]
[hikari-cp.core :as cp]
;[next.jdbc.connection :as connection]
[ol.system.ig-utils :as ig-utils]
)
(:import (com.zaxxer.hikari HikariDataSource)))
(defmethod ig/init-key ::hikari-connection
[_ pool-spec]
;(connection/->pool HikariDataSou... |
[
{
"context": "; Copyright 2020 Mark Wardle and Eldrix Ltd\n;\n; Licensed under the Apache Li",
"end": 28,
"score": 0.9998562932014465,
"start": 17,
"tag": "NAME",
"value": "Mark Wardle"
}
] | cmd/com/eldrix/hermes/cmd/server.clj | pacharanero/hermes | 0 | ; Copyright 2020 Mark Wardle and Eldrix Ltd
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law ... | 18272 | ; Copyright 2020 <NAME> and Eldrix Ltd
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or ag... | true | ; Copyright 2020 PI:NAME:<NAME>END_PI and Eldrix Ltd
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applic... |
[
{
"context": " :username (System/getenv \"CLOJARS_USER\")\n :password (Syst",
"end": 1540,
"score": 0.7172631025314331,
"start": 1528,
"tag": "USERNAME",
"value": "CLOJARS_USER"
},
{
"context": " :password (... | build.boot | starcity-properties/Dynadoc | 0 | (defn read-deps-edn [aliases-to-include]
(let [{:keys [paths deps aliases]} (-> "deps.edn" slurp clojure.edn/read-string)
deps (->> (select-keys aliases aliases-to-include)
vals
(mapcat :extra-deps)
(into deps)
(reduce
... | 121100 | (defn read-deps-edn [aliases-to-include]
(let [{:keys [paths deps aliases]} (-> "deps.edn" slurp clojure.edn/read-string)
deps (->> (select-keys aliases aliases-to-include)
vals
(mapcat :extra-deps)
(into deps)
(reduce
... | true | (defn read-deps-edn [aliases-to-include]
(let [{:keys [paths deps aliases]} (-> "deps.edn" slurp clojure.edn/read-string)
deps (->> (select-keys aliases aliases-to-include)
vals
(mapcat :extra-deps)
(into deps)
(reduce
... |
[
{
"context": " with hold I\n\n ... elided paragraph last ...\n\n Frost Robert -----------------------\")\n\n(doall\n (map println ",
"end": 233,
"score": 0.9961028099060059,
"start": 221,
"tag": "NAME",
"value": "Frost Robert"
}
] | Task/Reverse-words-in-a-string/Clojure/reverse-words-in-a-string.clj | djgoku/RosettaCodeData | 0 | (def poem
"---------- Ice and Fire ------------
fire, in end will world the say Some
ice. in say Some
desire of tasted I've what From
fire. favor who those with hold I
... elided paragraph last ...
Frost Robert -----------------------")
(doall
(map println (map #(apply str (interpose " " (reve... | 101261 | (def poem
"---------- Ice and Fire ------------
fire, in end will world the say Some
ice. in say Some
desire of tasted I've what From
fire. favor who those with hold I
... elided paragraph last ...
<NAME> -----------------------")
(doall
(map println (map #(apply str (interpose " " (reverse (r... | true | (def poem
"---------- Ice and Fire ------------
fire, in end will world the say Some
ice. in say Some
desire of tasted I've what From
fire. favor who those with hold I
... elided paragraph last ...
PI:NAME:<NAME>END_PI -----------------------")
(doall
(map println (map #(apply str (interpose "... |
[
{
"context": "*\" version)))))\n\n;; from: https://gist.github.com/edw/5128978\n(defn delete-recursively [fname]\n (let [",
"end": 793,
"score": 0.9996387958526611,
"start": 790,
"tag": "USERNAME",
"value": "edw"
},
{
"context": "on-data\n (let [data (make-security-data [{:user \"i... | test/clojure_solr_test.clj | ejschoen/clojure-solr | 1 | (ns clojure-solr-test
(:require [clojure.pprint]
[clojure.java.io :as io]
[clojure.string :as str])
(:import (java.util.jar Manifest))
(:import (org.apache.solr.client.solrj.embedded EmbeddedSolrServer))
(:import (org.apache.solr.core CoreContainer))
(:require [clj-time.core :as t])
... | 67171 | (ns clojure-solr-test
(:require [clojure.pprint]
[clojure.java.io :as io]
[clojure.string :as str])
(:import (java.util.jar Manifest))
(:import (org.apache.solr.client.solrj.embedded EmbeddedSolrServer))
(:import (org.apache.solr.core CoreContainer))
(:require [clj-time.core :as t])
... | true | (ns clojure-solr-test
(:require [clojure.pprint]
[clojure.java.io :as io]
[clojure.string :as str])
(:import (java.util.jar Manifest))
(:import (org.apache.solr.client.solrj.embedded EmbeddedSolrServer))
(:import (org.apache.solr.core CoreContainer))
(:require [clj-time.core :as t])
... |
[
{
"context": "mbinatory logic - internals\n\n; Copyright (c) 2019 Burkhardt Renz, THM. All rights reserved.\n; The use and distribu",
"end": 92,
"score": 0.9998641610145569,
"start": 78,
"tag": "NAME",
"value": "Burkhardt Renz"
}
] | src/lwb/cl/impl.clj | esb-lwb/lwb | 22 | ; lwb Logic WorkBench -- Combinatory logic - internals
; Copyright (c) 2019 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 ag... | 73365 | ; lwb Logic WorkBench -- Combinatory logic - internals
; Copyright (c) 2019 <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 t... | true | ; lwb Logic WorkBench -- Combinatory logic - internals
; Copyright (c) 2019 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 ... |
[
{
"context": ".coerce :refer [to-long]]))\n\n(def month-names\n [\"Gener\"\n \"Febrer\"\n \"Març\"\n \"Abril\"\n \"Maig\"\n \"J",
"end": 203,
"score": 0.9187753200531006,
"start": 198,
"tag": "NAME",
"value": "Gener"
},
{
"context": "fer [to-long]]))\n\n(def month-names\n ... | src/rpi_wall/calendar/build_calendar.cljs | gthar/rpi_wall | 0 | (ns rpi-wall.calendar.build-calendar
(:require [cljs-time.core :refer [day month year date-time day-of-week plus months]]
[cljs-time.coerce :refer [to-long]]))
(def month-names
["Gener"
"Febrer"
"Març"
"Abril"
"Maig"
"Juny"
"Juliol"
"Augost"
"Setembre"
"Octubre"
"Novembr... | 111900 | (ns rpi-wall.calendar.build-calendar
(:require [cljs-time.core :refer [day month year date-time day-of-week plus months]]
[cljs-time.coerce :refer [to-long]]))
(def month-names
["<NAME>"
"<NAME>"
"<NAME>"
"<NAME>"
"<NAME>"
"<NAME>"
"<NAME>"
"<NAME>"
"<NAME>"
"Octubre"
"N... | true | (ns rpi-wall.calendar.build-calendar
(:require [cljs-time.core :refer [day month year date-time day-of-week plus months]]
[cljs-time.coerce :refer [to-long]]))
(def month-names
["PI:NAME:<NAME>END_PI"
"PI:NAME:<NAME>END_PI"
"PI:NAME:<NAME>END_PI"
"PI:NAME:<NAME>END_PI"
"PI:NAME:<NAME>END_... |
[
{
"context": ".ring-buffer)\n\n(defn- make-array* [size]\n ; TODO(Richo): This would probably be faster using a native ar",
"end": 82,
"score": 0.9857151508331299,
"start": 77,
"tag": "NAME",
"value": "Richo"
}
] | middleware/server/src/middleware/device/utils/ring_buffer.cljc | GIRA/PhysicalBits | 2 | (ns middleware.device.utils.ring-buffer)
(defn- make-array* [size]
; TODO(Richo): This would probably be faster using a native array, but for now it works
#?(:clj (apply vector-of :double (repeat size 0))
:cljs (vec (repeat size 0))))
(defn make-ring-buffer [size]
(atom {:array (make-array* size), :index 0... | 2580 | (ns middleware.device.utils.ring-buffer)
(defn- make-array* [size]
; TODO(<NAME>): This would probably be faster using a native array, but for now it works
#?(:clj (apply vector-of :double (repeat size 0))
:cljs (vec (repeat size 0))))
(defn make-ring-buffer [size]
(atom {:array (make-array* size), :index ... | true | (ns middleware.device.utils.ring-buffer)
(defn- make-array* [size]
; TODO(PI:NAME:<NAME>END_PI): This would probably be faster using a native array, but for now it works
#?(:clj (apply vector-of :double (repeat size 0))
:cljs (vec (repeat size 0))))
(defn make-ring-buffer [size]
(atom {:array (make-array* ... |
[
{
"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.9997938275337219,
"start": 50,
"tag": "NAME",
"value": "Richard Hull"
}
] | src/helpmate/sgml.cljc | rm-hull/helpmate | 1 | ;; 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... | 60611 | ;; 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": "using Genetic Algorithms\n;;;;\n;;;; @copyright 2020 Dennis Drown et l'Université du Québec à Montréal\n;;;; -------",
"end": 402,
"score": 0.9998824000358582,
"start": 390,
"tag": "NAME",
"value": "Dennis Drown"
}
] | apps/say_sila/priv/fnode/say/src/say/optimize.clj | dendrown/say_sila | 0 | ;;;; -------------------------------------------------------------------------
;;;;
;;;; _/_/_/ _/_/_/ _/ _/_/
;;;; _/ _/ _/ _/ _/
;;;; _/_/ _/ _/ _/_/_/_/
;;;; _/ _/ _/ _/ _/
;;;; _/_/_/ _/_/_/ _/_/_/_/ _/ _/
;;;;
;;;; Ont... | 61195 | ;;;; -------------------------------------------------------------------------
;;;;
;;;; _/_/_/ _/_/_/ _/ _/_/
;;;; _/ _/ _/ _/ _/
;;;; _/_/ _/ _/ _/_/_/_/
;;;; _/ _/ _/ _/ _/
;;;; _/_/_/ _/_/_/ _/_/_/_/ _/ _/
;;;;
;;;; Ont... | true | ;;;; -------------------------------------------------------------------------
;;;;
;;;; _/_/_/ _/_/_/ _/ _/_/
;;;; _/ _/ _/ _/ _/
;;;; _/_/ _/ _/ _/_/_/_/
;;;; _/ _/ _/ _/ _/
;;;; _/_/_/ _/_/_/ _/_/_/_/ _/ _/
;;;;
;;;; Ont... |
[
{
"context": ";; Copyright (c) Nicola Mometto, Rich Hickey & contributors.\n;; The use and dis",
"end": 33,
"score": 0.9998555779457092,
"start": 19,
"tag": "NAME",
"value": "Nicola Mometto"
},
{
"context": ";; Copyright (c) Nicola Mometto, Rich Hickey & contributors.\n;; The... | src/lucid/legacy/analyzer/ast.clj | willcohen/lucidity | 3 | ;; Copyright (c) Nicola Mometto, Rich Hickey & contributors.
;; The use and distribution terms for this software are covered by the
;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
;; which can be found in the file epl-v10.html at the root of this distribution.
;; By using this s... | 96300 | ;; 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": "word-list.core\n (:gen-class))\n\n(def word-list '(\"Jack\" \"Bauer\" \"Tony\" \"almeida\" ))\n\n(defn random-from-l",
"end": 58,
"score": 0.9998278021812439,
"start": 54,
"tag": "NAME",
"value": "Jack"
},
{
"context": "st.core\n (:gen-class))\n\n(def word-list '(\"Ja... | codes/chap-04/word-list/src/word_list/core.clj | bearrundr/functionalLanguage | 0 | (ns word-list.core
(:gen-class))
(def word-list '("Jack" "Bauer" "Tony" "almeida" ))
(defn random-from-list [list]
(nth list
(rand-int (count list)))
)
(defn infinite-word [word-list]
(cons
(random-from-list word-list)
(lazy-seq (infinite-word word-list))
)
)
(defn bigfile-write []
(wit... | 42400 | (ns word-list.core
(:gen-class))
(def word-list '("<NAME>" "<NAME>" "<NAME>" "<NAME>" ))
(defn random-from-list [list]
(nth list
(rand-int (count list)))
)
(defn infinite-word [word-list]
(cons
(random-from-list word-list)
(lazy-seq (infinite-word word-list))
)
)
(defn bigfile-write []
... | true | (ns word-list.core
(:gen-class))
(def word-list '("PI:NAME:<NAME>END_PI" "PI:NAME:<NAME>END_PI" "PI:NAME:<NAME>END_PI" "PI:NAME:<NAME>END_PI" ))
(defn random-from-list [list]
(nth list
(rand-int (count list)))
)
(defn infinite-word [word-list]
(cons
(random-from-list word-list)
(lazy-seq (inf... |
[
{
"context": " :required true}}}]})\n\n(def json1-item {:name \"Fred\" :info {:odor \"wet dog\" :human? true}})\n\n(deftest",
"end": 2292,
"score": 0.9997529983520508,
"start": 2288,
"tag": "NAME",
"value": "Fred"
},
{
"context": "ired false}}))]\n (is (validate s {:id 1 :name ... | test/closchema/test/core.clj | jaor/closchema | 0 | (ns closchema.test.core
(:require (cheshire [core :as cheshire])
(closchema [core :as closchema :refer [validate]])
(clojure.java [io :as io]))
(:use clojure.test))
(def base-schema {:type "object"
:required true
:properties {:id {:type "number"
... | 78993 | (ns closchema.test.core
(:require (cheshire [core :as cheshire])
(closchema [core :as closchema :refer [validate]])
(clojure.java [io :as io]))
(:use clojure.test))
(def base-schema {:type "object"
:required true
:properties {:id {:type "number"
... | true | (ns closchema.test.core
(:require (cheshire [core :as cheshire])
(closchema [core :as closchema :refer [validate]])
(clojure.java [io :as io]))
(:use clojure.test))
(def base-schema {:type "object"
:required true
:properties {:id {:type "number"
... |
[
{
"context": " ;; Can handle gh:atom/atom, https://github.com/atom/atom.git or git@github.com:atom/atom.git\n ",
"end": 1769,
"score": 0.9993150234222412,
"start": 1765,
"tag": "USERNAME",
"value": "atom"
},
{
"context": " gh:atom/atom, https://github.com/atom/atom.git or gi... | src/cldwalker/bb_clis/cli/misc.clj | cldwalker/bb-clis | 31 | (ns cldwalker.bb-clis.cli.misc
"Misc fns that are useful to bb/clojure clis"
(:require [cldwalker.bb-clis.cli :as cli]
[clojure.edn :as edn]
[clojure.string :as str]
[clojure.java.shell :as shell]))
;; Misc
;; ====
(defn open-url
"Osx specific way to open url in browser"
[ur... | 99763 | (ns cldwalker.bb-clis.cli.misc
"Misc fns that are useful to bb/clojure clis"
(:require [cldwalker.bb-clis.cli :as cli]
[clojure.edn :as edn]
[clojure.string :as str]
[clojure.java.shell :as shell]))
;; Misc
;; ====
(defn open-url
"Osx specific way to open url in browser"
[ur... | true | (ns cldwalker.bb-clis.cli.misc
"Misc fns that are useful to bb/clojure clis"
(:require [cldwalker.bb-clis.cli :as cli]
[clojure.edn :as edn]
[clojure.string :as str]
[clojure.java.shell :as shell]))
;; Misc
;; ====
(defn open-url
"Osx specific way to open url in browser"
[ur... |
[
{
"context": "tests for database functions\n;;\n;; Copyright 2012, F.M. de Waard & Vixu.com <fmw@vixu.com>.\n;;\n;; Licensed under t",
"end": 91,
"score": 0.9998603463172913,
"start": 78,
"tag": "NAME",
"value": "F.M. de Waard"
},
{
"context": "s\n;;\n;; Copyright 2012, F.M. de Waard... | test/alida/test/db.clj | fmw/alida | 6 | ;; test/alida/test/db.clj: tests for database functions
;;
;; Copyright 2012, F.M. de Waard & Vixu.com <fmw@vixu.com>.
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.ap... | 16753 | ;; test/alida/test/db.clj: tests for database functions
;;
;; Copyright 2012, <NAME> & Vixu.com <<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/lic... | true | ;; test/alida/test/db.clj: tests for database functions
;;
;; Copyright 2012, PI:NAME:<NAME>END_PI & Vixu.com <PI:EMAIL:<EMAIL>END_PI>.
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;; ... |
[
{
"context": "he same as R's quantile type=7.\n Transcribed from Jason Davies; https://github.com/jasondavies/science.js/blob/m",
"end": 2757,
"score": 0.9998769760131836,
"start": 2745,
"tag": "NAME",
"value": "Jason Davies"
},
{
"context": "Transcribed from Jason Davies; https://g... | src/cljx/c2/maths.cljx | jlin/c2 | 172 | ^:clj (ns c2.maths
(:use [c2.util :only [combine-with]]))
^:cljs (ns c2.maths
(:use-macros [c2.util :only [combine-with]]))
(def Pi Math/PI)
(def Tau (* 2 Pi))
(def e Math/E)
(def radians-per-degree (/ Pi 180))
(defn rad [x] (* radians-per-degree x))
(defn deg [x] (/ x radians-per-degree))
(defn s... | 64448 | ^:clj (ns c2.maths
(:use [c2.util :only [combine-with]]))
^:cljs (ns c2.maths
(:use-macros [c2.util :only [combine-with]]))
(def Pi Math/PI)
(def Tau (* 2 Pi))
(def e Math/E)
(def radians-per-degree (/ Pi 180))
(defn rad [x] (* radians-per-degree x))
(defn deg [x] (/ x radians-per-degree))
(defn s... | true | ^:clj (ns c2.maths
(:use [c2.util :only [combine-with]]))
^:cljs (ns c2.maths
(:use-macros [c2.util :only [combine-with]]))
(def Pi Math/PI)
(def Tau (* 2 Pi))
(def e Math/E)
(def radians-per-degree (/ Pi 180))
(defn rad [x] (* radians-per-degree x))
(defn deg [x] (/ x radians-per-degree))
(defn s... |
[
{
"context": "exploration-results-original-text\n (str \"N - Yes: Ann, Brenda / No: Charles\\n\"\n \"NE - Yes: Deborah / No: ",
"end": 3832,
"score": 0.9994386434555054,
"start": 3821,
"tag": "NAME",
"value": "Ann, Brenda"
},
{
"context": "s-original-text\n (str \"N - Yes: An... | src/fossa/dungeon.cljs | foobardog/fossa | 1 | (ns fossa.dungeon
(:require [cljs.pprint :as c.pprint]
[brute.entity :as b.entity]
[phzr.button :as p.button]
[phzr.core :as p.core]
[phzr.game-object-factory :as p.factory]
[phzr.loader :as p.loader]
[phzr.point :as p.point]
[phzr.si... | 30709 | (ns fossa.dungeon
(:require [cljs.pprint :as c.pprint]
[brute.entity :as b.entity]
[phzr.button :as p.button]
[phzr.core :as p.core]
[phzr.game-object-factory :as p.factory]
[phzr.loader :as p.loader]
[phzr.point :as p.point]
[phzr.si... | true | (ns fossa.dungeon
(:require [cljs.pprint :as c.pprint]
[brute.entity :as b.entity]
[phzr.button :as p.button]
[phzr.core :as p.core]
[phzr.game-object-factory :as p.factory]
[phzr.loader :as p.loader]
[phzr.point :as p.point]
[phzr.si... |
[
{
"context": "equired\"]))\n(defn fake-db-lookup [email]\n (get {\"me@example.com\" {:first-name \"Me\"}} email))\n(defn email-uniquene",
"end": 476,
"score": 0.999893844127655,
"start": 462,
"tag": "EMAIL",
"value": "me@example.com"
},
{
"context": "ormat-validation]\n ... | test/heckle/core_test.clj | nwallace/heckle | 0 | (ns heckle.core-test
(:require [midje.sweet :refer :all]
[heckle.core :refer :all]))
(defn email-presence-validation [data]
(when (empty? (get data :email "")) [:email "is required"]))
(defn email-format-validation [data]
(when-not (re-find #".@." (get data :email "")) [:email "is invalid"]))
(defn p... | 79794 | (ns heckle.core-test
(:require [midje.sweet :refer :all]
[heckle.core :refer :all]))
(defn email-presence-validation [data]
(when (empty? (get data :email "")) [:email "is required"]))
(defn email-format-validation [data]
(when-not (re-find #".@." (get data :email "")) [:email "is invalid"]))
(defn p... | true | (ns heckle.core-test
(:require [midje.sweet :refer :all]
[heckle.core :refer :all]))
(defn email-presence-validation [data]
(when (empty? (get data :email "")) [:email "is required"]))
(defn email-format-validation [data]
(when-not (re-find #".@." (get data :email "")) [:email "is invalid"]))
(defn p... |
[
{
"context": " {:status 200 :body {:access_token \"foo\" :uid \"mjackson\" :scope [\"uid\"]}}\n {:status 401})))\n\n\n(defn ",
"end": 995,
"score": 0.9877919554710388,
"start": 987,
"tag": "USERNAME",
"value": "mjackson"
},
{
"context": " {:as :json :o... | resources/leiningen/new/cyrus/test/_namespace_/api_test.clj | dryewo/cyrus | 9 | (ns {{namespace}}.api-test
(:require [clojure.test :refer :all]
[mount.lite :as m]
[clj-http.client :as http]{{#swagger1st-oauth2}}
[aleph.http.server]
[ring.middleware.json :refer [wrap-json-response]]{{/swagger1st-oauth2}}
[{{namespace}}.api :refer :all]
... | 42665 | (ns {{namespace}}.api-test
(:require [clojure.test :refer :all]
[mount.lite :as m]
[clj-http.client :as http]{{#swagger1st-oauth2}}
[aleph.http.server]
[ring.middleware.json :refer [wrap-json-response]]{{/swagger1st-oauth2}}
[{{namespace}}.api :refer :all]
... | true | (ns {{namespace}}.api-test
(:require [clojure.test :refer :all]
[mount.lite :as m]
[clj-http.client :as http]{{#swagger1st-oauth2}}
[aleph.http.server]
[ring.middleware.json :refer [wrap-json-response]]{{/swagger1st-oauth2}}
[{{namespace}}.api :refer :all]
... |
[
{
"context": "ns under the License.\n;;\n;; Copyright © 2013-2022, Kenneth Leung. All rights reserved.\n\n(ns czlab.bixby.web.ftl\n\n ",
"end": 597,
"score": 0.9998483657836914,
"start": 584,
"tag": "NAME",
"value": "Kenneth Leung"
}
] | src/main/clojure/czlab/bixby/web/ftl.clj | llnek/skaro | 0 | ;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writing, software
;; distributed ... | 77100 | ;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writing, software
;; distributed ... | true | ;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writing, software
;; distributed ... |
[
{
"context": "s.sqs :as sqs]))\n\n(def config\n {:access-key \"default\"\n :secret-key \"default\"\n :s3-endpoint ",
"end": 278,
"score": 0.9945747256278992,
"start": 271,
"tag": "KEY",
"value": "default"
},
{
"context": "\n {:access-key \"default\"\n :secret-k... | src/clj_sqs_extended/core.clj | Motiva-AI/clj-sqs-extended | 1 | (ns clj-sqs-extended.core
(:require [clojure.core.async :refer [chan <!! thread]]
[clojure.tools.logging :as log]
[clj-sqs-extended.internal.receive :as receive]
[clj-sqs-extended.aws.sqs :as sqs]))
(def config
{:access-key "default"
:secret-key "default"
:s3-endp... | 94454 | (ns clj-sqs-extended.core
(:require [clojure.core.async :refer [chan <!! thread]]
[clojure.tools.logging :as log]
[clj-sqs-extended.internal.receive :as receive]
[clj-sqs-extended.aws.sqs :as sqs]))
(def config
{:access-key "<KEY>"
:secret-key "<KEY>"
:s3-endpoint... | true | (ns clj-sqs-extended.core
(:require [clojure.core.async :refer [chan <!! thread]]
[clojure.tools.logging :as log]
[clj-sqs-extended.internal.receive :as receive]
[clj-sqs-extended.aws.sqs :as sqs]))
(def config
{:access-key "PI:KEY:<KEY>END_PI"
:secret-key "PI:KEY:<K... |
[
{
"context": "-2 1900)\n :max (time/t -2 2100)}\n\n \"sad\"\n \"sada\"\n \"upravo sad\"\n \"ovaj tren\"\n (datetim",
"end": 203,
"score": 0.5127118229866028,
"start": 200,
"tag": "NAME",
"value": "sad"
},
{
"context": " (time/t -2 2100)}\n\n \"sad\"\n \"sada\"... | resources/languages/hr/corpus/time.clj | ksseono/duckling | 922 | (; Context map
; Tuesday Feb 12, 2013 at 4:30am is the "now" for the tests
{:reference-time (time/t -2 2013 2 12 4 30 0)
:min (time/t -2 1900)
:max (time/t -2 2100)}
"sad"
"sada"
"upravo sad"
"ovaj tren"
(datetime 2013 2 12 4 30 00)
"danas"
(datetime 2013 2 12)
"jucer"
... | 62374 | (; Context map
; Tuesday Feb 12, 2013 at 4:30am is the "now" for the tests
{:reference-time (time/t -2 2013 2 12 4 30 0)
:min (time/t -2 1900)
:max (time/t -2 2100)}
"<NAME>"
"sada"
"upravo <NAME>"
"ovaj t<NAME>"
(datetime 2013 2 12 4 30 00)
"<NAME>"
(datetime 2013 2 12)
... | true | (; Context map
; Tuesday Feb 12, 2013 at 4:30am is the "now" for the tests
{:reference-time (time/t -2 2013 2 12 4 30 0)
:min (time/t -2 1900)
:max (time/t -2 2100)}
"PI:NAME:<NAME>END_PI"
"sada"
"upravo PI:NAME:<NAME>END_PI"
"ovaj tPI:NAME:<NAME>END_PI"
(datetime 2013 2 12 4 30... |
[
{
"context": "29 2465 2821 6601])\n\n(deftest ex27-test\n (doseq [carmichael carmichael-numbers]\n (is (ch1/fast-prime? carm",
"end": 25888,
"score": 0.7232185006141663,
"start": 25878,
"tag": "NAME",
"value": "carmichael"
},
{
"context": "ime? carmichael))))\n\n(deftest ex28-tes... | test/sicp/ch1_test.clj | robert-mitchell/SICP | 0 | (ns sicp.ch1-test
(:require [clojure.test :refer [deftest is testing]]
[sicp.ch1 :as ch1]))
(deftest ex1-test
(is (= 10 10))
(is (= 12 (+ 5 3 4)))
(is (= 8 (- 9 1)))
(is (= 3 (/ 6 2)))
(is (= 6 (+ (* 2 4) (- 4 6))))
(let [a 3
b (+ a 1)]
(is (= 3 a))
(is (= 4 b))
(is... | 57866 | (ns sicp.ch1-test
(:require [clojure.test :refer [deftest is testing]]
[sicp.ch1 :as ch1]))
(deftest ex1-test
(is (= 10 10))
(is (= 12 (+ 5 3 4)))
(is (= 8 (- 9 1)))
(is (= 3 (/ 6 2)))
(is (= 6 (+ (* 2 4) (- 4 6))))
(let [a 3
b (+ a 1)]
(is (= 3 a))
(is (= 4 b))
(is... | true | (ns sicp.ch1-test
(:require [clojure.test :refer [deftest is testing]]
[sicp.ch1 :as ch1]))
(deftest ex1-test
(is (= 10 10))
(is (= 12 (+ 5 3 4)))
(is (= 8 (- 9 1)))
(is (= 3 (/ 6 2)))
(is (= 6 (+ (* 2 4) (- 4 6))))
(let [a 3
b (+ a 1)]
(is (= 3 a))
(is (= 4 b))
(is... |
[
{
"context": "- Project definition \n\n; Copyright (c) 2014 - 2020 Burkhardt Renz, THM. All rights reserved.\n; The use and distribu",
"end": 88,
"score": 0.9998579621315002,
"start": 74,
"tag": "NAME",
"value": "Burkhardt Renz"
},
{
"context": " is not available as a maven jar\n; co... | project.clj | esb-lwb/lwb | 22 | ; lwb Logic WorkBench -- Project definition
; Copyright (c) 2014 - 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 agreei... | 34966 | ; lwb Logic WorkBench -- Project definition
; Copyright (c) 2014 - 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... | true | ; lwb Logic WorkBench -- Project definition
; Copyright (c) 2014 - 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 ... |
[
{
"context": "940518bb379ae9c962a7d\",\n :username \"username\",\n :session \"4fb56c501d3340d398bb8d",
"end": 1173,
"score": 0.9995751976966858,
"start": 1165,
"tag": "USERNAME",
"value": "username"
},
{
"context": " :header\n {:msg_id \"... | test/clojupyter/kernel/middleware/execute_test.clj | Pilloxa/clojupyter | 0 | (ns clojupyter.kernel.middleware.execute-test
(:require
[midje.sweet :refer [before fact with-state-changes =>]]
[nrepl.core :as nrepl]
,,
[clojupyter.kernel.init :as init]
[clojupyter.kernel.middleware :as M]
[clojupyter.kernel.state :as state]
[clojupyter.kernel.cljsrv.nrepl-serv... | 113447 | (ns clojupyter.kernel.middleware.execute-test
(:require
[midje.sweet :refer [before fact with-state-changes =>]]
[nrepl.core :as nrepl]
,,
[clojupyter.kernel.init :as init]
[clojupyter.kernel.middleware :as M]
[clojupyter.kernel.state :as state]
[clojupyter.kernel.cljsrv.nrepl-serv... | true | (ns clojupyter.kernel.middleware.execute-test
(:require
[midje.sweet :refer [before fact with-state-changes =>]]
[nrepl.core :as nrepl]
,,
[clojupyter.kernel.init :as init]
[clojupyter.kernel.middleware :as M]
[clojupyter.kernel.state :as state]
[clojupyter.kernel.cljsrv.nrepl-serv... |
[
{
"context": ";;\n;;\n;; Copyright 2013 Netflix, Inc.\n;;\n;; Licensed under the Apache Lic",
"end": 28,
"score": 0.941811740398407,
"start": 25,
"tag": "NAME",
"value": "Net"
}
] | src/test/clojure/pigpen/set_test.clj | magomimmo/PigPen | 1 | ;;
;;
;; Copyright 2013 Netflix, Inc.
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by ap... | 56670 | ;;
;;
;; Copyright 2013 <NAME>flix, Inc.
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by... | true | ;;
;;
;; Copyright 2013 PI:NAME:<NAME>END_PIflix, Inc.
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unle... |
[
{
"context": "1\")))))\n\n(def web-token (auth/generate-web-token 12345 1000 false \"qa@artstor.org\"))\n\n;REPL/unit test op",
"end": 1206,
"score": 0.6096714735031128,
"start": 1202,
"tag": "PASSWORD",
"value": "2345"
},
{
"context": "-token (auth/generate-web-token 12345 1000 fals... | test/artstor_collection_service_os/core_test.clj | ithaka/artstor-collection-service-os | 0 | (ns artstor-collection-service-os.core-test
(:require [artstor-collection-service-os.forum :as forum]
[artstor-collection-service-os.auth :as auth]
[artstor-collection-service-os.core :as core]
[artstor-collection-service-os.repository :as repo]
[artstor-collection-serv... | 84249 | (ns artstor-collection-service-os.core-test
(:require [artstor-collection-service-os.forum :as forum]
[artstor-collection-service-os.auth :as auth]
[artstor-collection-service-os.core :as core]
[artstor-collection-service-os.repository :as repo]
[artstor-collection-serv... | true | (ns artstor-collection-service-os.core-test
(:require [artstor-collection-service-os.forum :as forum]
[artstor-collection-service-os.auth :as auth]
[artstor-collection-service-os.core :as core]
[artstor-collection-service-os.repository :as repo]
[artstor-collection-serv... |
[
{
"context": "/region \"us-west-2\"\n :aws.creds/access-key \"AKIAIU3CQIP2EY643CTA\"\n :aws.creds/secret-key \"J8iCGik2Pg4Jw1mePx",
"end": 3824,
"score": 0.9996215105056763,
"start": 3804,
"tag": "KEY",
"value": "AKIAIU3CQIP2EY643CTA"
},
{
"context": "IAIU3CQIP2EY643CTA\"... | src/cljs-node/rx/node/awsdeploy.cljs | zk/rx-lib | 0 | (ns rx.node.awsdeploy
(:require [rx.kitchen-sink :as ks]
[rx.node.aws :as aws]
[rx.specs :as specs]
[cljs.spec.alpha :as s]
[cljs.core.async
:as async
:refer [put! <! close! chan]
:refer-macros [go]]))
(s/def :aws.lda/function-id ... | 17248 | (ns rx.node.awsdeploy
(:require [rx.kitchen-sink :as ks]
[rx.node.aws :as aws]
[rx.specs :as specs]
[cljs.spec.alpha :as s]
[cljs.core.async
:as async
:refer [put! <! close! chan]
:refer-macros [go]]))
(s/def :aws.lda/function-id ... | true | (ns rx.node.awsdeploy
(:require [rx.kitchen-sink :as ks]
[rx.node.aws :as aws]
[rx.specs :as specs]
[cljs.spec.alpha :as s]
[cljs.core.async
:as async
:refer [put! <! close! chan]
:refer-macros [go]]))
(s/def :aws.lda/function-id ... |
[
{
"context": ";; Copyright (c) Nicola Mometto, Rich Hickey & contributors.\n;; The use and dis",
"end": 33,
"score": 0.9998530149459839,
"start": 19,
"tag": "NAME",
"value": "Nicola Mometto"
},
{
"context": ";; Copyright (c) Nicola Mometto, Rich Hickey & contributors.\n;; The... | src/lucid/legacy/analyzer/passes/constant_lifter.clj | willcohen/lucidity | 3 | ;; Copyright (c) Nicola Mometto, Rich Hickey & contributors.
;; The use and distribution terms for this software are covered by the
;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
;; which can be found in the file epl-v10.html at the root of this distribution.
;; By using this s... | 13788 | ;; 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": "(ns\n ^{:author \"Jeff Sapp\"}\n somnium.congomongo.error\n (:require [somnium",
"end": 26,
"score": 0.9998849630355835,
"start": 17,
"tag": "NAME",
"value": "Jeff Sapp"
}
] | server/target/somnium/congomongo/error.clj | OctavioBR/healthcheck | 0 | (ns
^{:author "Jeff Sapp"}
somnium.congomongo.error
(:require [somnium.congomongo.config :refer [*mongo-config*]])
(:import [com.mongodb DB]))
(defn get-last-error
"Gets the error (if there is one) from the previous operation"
[]
(let [e (into {} (.getLastError ^DB (:db *mongo-config*)))]
(when (e "e... | 33593 | (ns
^{:author "<NAME>"}
somnium.congomongo.error
(:require [somnium.congomongo.config :refer [*mongo-config*]])
(:import [com.mongodb DB]))
(defn get-last-error
"Gets the error (if there is one) from the previous operation"
[]
(let [e (into {} (.getLastError ^DB (:db *mongo-config*)))]
(when (e "err"... | true | (ns
^{:author "PI:NAME:<NAME>END_PI"}
somnium.congomongo.error
(:require [somnium.congomongo.config :refer [*mongo-config*]])
(:import [com.mongodb DB]))
(defn get-last-error
"Gets the error (if there is one) from the previous operation"
[]
(let [e (into {} (.getLastError ^DB (:db *mongo-config*)))]
... |
[
{
"context": "; Copyright (c) 2021 Mikołaj Kuranowski\n; SPDX-License-Identifier: WTFPL\n(ns day4b\n (:re",
"end": 39,
"score": 0.9995522499084473,
"start": 21,
"tag": "NAME",
"value": "Mikołaj Kuranowski"
}
] | src/day04b.clj | MKuranowski/AdventOfCode2020 | 0 | ; Copyright (c) 2021 Mikołaj Kuranowski
; SPDX-License-Identifier: WTFPL
(ns day4b
(:require [core]
[day4a :refer [passports]]))
(def valid-regexes
{"byr" #"^19[2-9][0-9]|200[0-2]$"
"iyr" #"^201[0-9]|2020$"
"eyr" #"^202[0-9]|2030$"
"hgt" #"^(1[5-8][0-9]|19[0-3])cm|(59|6[0-9]|7[0-6])in$"
"hc... | 9285 | ; Copyright (c) 2021 <NAME>
; SPDX-License-Identifier: WTFPL
(ns day4b
(:require [core]
[day4a :refer [passports]]))
(def valid-regexes
{"byr" #"^19[2-9][0-9]|200[0-2]$"
"iyr" #"^201[0-9]|2020$"
"eyr" #"^202[0-9]|2030$"
"hgt" #"^(1[5-8][0-9]|19[0-3])cm|(59|6[0-9]|7[0-6])in$"
"hcl" #"^#[0-9a... | true | ; Copyright (c) 2021 PI:NAME:<NAME>END_PI
; SPDX-License-Identifier: WTFPL
(ns day4b
(:require [core]
[day4a :refer [passports]]))
(def valid-regexes
{"byr" #"^19[2-9][0-9]|200[0-2]$"
"iyr" #"^201[0-9]|2020$"
"eyr" #"^202[0-9]|2030$"
"hgt" #"^(1[5-8][0-9]|19[0-3])cm|(59|6[0-9]|7[0-6])in$"
"... |
[
{
"context": "(def players #{\"Alice\", \"Bob\", \"Kelly\"})\n(println players)\n(def players",
"end": 21,
"score": 0.9998343586921692,
"start": 16,
"tag": "NAME",
"value": "Alice"
},
{
"context": "(def players #{\"Alice\", \"Bob\", \"Kelly\"})\n(println players)\n(def players (conj ... | clojure/sets.clj | scorphus/sparring | 2 | (def players #{"Alice", "Bob", "Kelly"})
(println players)
(def players (conj players "Molly"))
(println players)
(def players (disj players "Bob" "Sal"))
(println players)
(println (contains? players "Molly"))
(println (contains? players "Bob"))
(def new-players ["Tim" "Sue" "Joe"])
(def players (into players new-pla... | 31785 | (def players #{"<NAME>", "<NAME>", "<NAME>"})
(println players)
(def players (conj players "<NAME>"))
(println players)
(def players (disj players "<NAME>" "<NAME>"))
(println players)
(println (contains? players "<NAME>"))
(println (contains? players "<NAME>"))
(def new-players ["<NAME>" "<NAME>" "<NAME>"])
(def play... | true | (def players #{"PI:NAME:<NAME>END_PI", "PI:NAME:<NAME>END_PI", "PI:NAME:<NAME>END_PI"})
(println players)
(def players (conj players "PI:NAME:<NAME>END_PI"))
(println players)
(def players (disj players "PI:NAME:<NAME>END_PI" "PI:NAME:<NAME>END_PI"))
(println players)
(println (contains? players "PI:NAME:<NAME>END_PI")... |
[
{
"context": ";; Copyright (c) 2014-2015, Andrey Antukh <niwi@niwi.nz>\n;; All rights reserved.\n;;\n;; Redi",
"end": 41,
"score": 0.9998800158500671,
"start": 28,
"tag": "NAME",
"value": "Andrey Antukh"
},
{
"context": ";; Copyright (c) 2014-2015, Andrey Antukh <niwi@niwi.nz>\n;; Al... | src/suricatta/dsl.clj | smaant-test3-rename/suricatta | 0 | ;; Copyright (c) 2014-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
;; ... | 121516 | ;; Copyright (c) 2014-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 co... | true | ;; Copyright (c) 2014-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... |
[
{
"context": "(ns ^{:author \"James McClain <jwm@daystrom-data-concepts.com>\"}\n sr33.reconst",
"end": 28,
"score": 0.9998607039451599,
"start": 15,
"tag": "NAME",
"value": "James McClain"
},
{
"context": "(ns ^{:author \"James McClain <jwm@daystrom-data-concepts.com>\"}\n sr33.re... | src/sr33/reconstruct.clj | jamesmcclain/sr33 | 1 | (ns ^{:author "James McClain <jwm@daystrom-data-concepts.com>"}
sr33.reconstruct
(:require [clojure.set :as set]
[clojure.core.memoize :as memo]
[clojure.core.reducers :as r]
[sr33.kdtree :as kdtree]
[sr33.graph_theory :as theory]))
(set! *warn-on-reflection* true)
(... | 106949 | (ns ^{:author "<NAME> <<EMAIL>>"}
sr33.reconstruct
(:require [clojure.set :as set]
[clojure.core.memoize :as memo]
[clojure.core.reducers :as r]
[sr33.kdtree :as kdtree]
[sr33.graph_theory :as theory]))
(set! *warn-on-reflection* true)
(set! *unchecked-math* true)
;... | true | (ns ^{:author "PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>"}
sr33.reconstruct
(:require [clojure.set :as set]
[clojure.core.memoize :as memo]
[clojure.core.reducers :as r]
[sr33.kdtree :as kdtree]
[sr33.graph_theory :as theory]))
(set! *warn-on-reflection* true)
(s... |
[
{
"context": "ke a pucks program that does anything\n;; Student : Nirman Dave\n\n;; Program information\n;; ---\n;; Name : Pucksea ",
"end": 187,
"score": 0.9998847842216492,
"start": 176,
"tag": "NAME",
"value": "Nirman Dave"
}
] | puckseaworld.clj | nddave/Pucksea | 0 | ;; This is my canvas. This is my art.
;; Assignment information
;; ---
;; Class : Artificial Intelligence
;; Assignment : Make a pucks program that does anything
;; Student : Nirman Dave
;; Program information
;; ---
;; Name : Pucksea : The world file
;; Version : 1.0
;; Description : An AI pucks program that has a u... | 99430 | ;; This is my canvas. This is my art.
;; Assignment information
;; ---
;; Class : Artificial Intelligence
;; Assignment : Make a pucks program that does anything
;; Student : <NAME>
;; Program information
;; ---
;; Name : Pucksea : The world file
;; Version : 1.0
;; Description : An AI pucks program that has a user p... | true | ;; This is my canvas. This is my art.
;; Assignment information
;; ---
;; Class : Artificial Intelligence
;; Assignment : Make a pucks program that does anything
;; Student : PI:NAME:<NAME>END_PI
;; Program information
;; ---
;; Name : Pucksea : The world file
;; Version : 1.0
;; Description : An AI pucks program tha... |
[
{
"context": "; Copyright © 2013 - 2016 Dr. Thomas Schank <Thomas.Schank@AlgoCon.ch>\n; Licensed under the t",
"end": 43,
"score": 0.999816358089447,
"start": 30,
"tag": "NAME",
"value": "Thomas Schank"
},
{
"context": "; Copyright © 2013 - 2016 Dr. Thomas Schank <Thomas.Schank@AlgoC... | data/test/clojure/55c9ee0295907ba0f57fb9cece455a378991725dtimeout_sweeper.clj | harshp8l/deep-learning-lang-detection | 84 | ; Copyright © 2013 - 2016 Dr. Thomas Schank <Thomas.Schank@AlgoCon.ch>
; Licensed under the terms of the GNU Affero General Public License v3.
; See the "LICENSE.txt" file provided with this software.
(ns cider-ci.dispatcher.dispatch.timeout-sweeper
(:require
[cider-ci.dispatcher.trials :as trials]
[cider-c... | 96784 | ; Copyright © 2013 - 2016 Dr. <NAME> <<EMAIL>>
; Licensed under the terms of the GNU Affero General Public License v3.
; See the "LICENSE.txt" file provided with this software.
(ns cider-ci.dispatcher.dispatch.timeout-sweeper
(:require
[cider-ci.dispatcher.trials :as trials]
[cider-ci.utils.config :as confi... | true | ; Copyright © 2013 - 2016 Dr. PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
; Licensed under the terms of the GNU Affero General Public License v3.
; See the "LICENSE.txt" file provided with this software.
(ns cider-ci.dispatcher.dispatch.timeout-sweeper
(:require
[cider-ci.dispatcher.trials :as trials]
[ci... |
[
{
"context": " \n {:doc \"compute a file checksum.\"\n :author \"palisades dot lakes at gmail dot com\"\n :version \"2018-01-03\"}\n \n (:require [clojur",
"end": 269,
"score": 0.8297030925750732,
"start": 233,
"tag": "EMAIL",
"value": "palisades dot lakes at gmail dot com"
}
] | src/scripts/clojure/palisades/lakes/curate/scripts/checksum.clj | palisades-lakes/curate | 0 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns palisades.lakes.curate.scripts.checksum
{:doc "compute a file checksum."
:author "palisades dot lakes at gmail dot com"
:version "2018-01-03"}
(:require [clojure... | 33177 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns palisades.lakes.curate.scripts.checksum
{:doc "compute a file checksum."
:author "<EMAIL>"
:version "2018-01-03"}
(:require [clojure.java.io :as io])
(:use [cl... | true | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns palisades.lakes.curate.scripts.checksum
{:doc "compute a file checksum."
:author "PI:EMAIL:<EMAIL>END_PI"
:version "2018-01-03"}
(:require [clojure.java.io :as i... |
[
{
"context": "l password :as request] (update request {:username username :email email :password password}))\n (DELETE (:",
"end": 5032,
"score": 0.9901266098022461,
"start": 5024,
"tag": "USERNAME",
"value": "username"
},
{
"context": "request {:username username :email email :pa... | src/quackers/users.clj | innoq/quackers | 13 | (ns quackers.users
(:require [compojure.core :refer :all]
[quackers.helpers :refer [->int] :as h]
[clojure.tools.logging :as log]
[quackers.database :as db]
[ring.util.response :refer [redirect]]
[bouncer.core :as b]
[bouncer.validators :as v]
... | 64399 | (ns quackers.users
(:require [compojure.core :refer :all]
[quackers.helpers :refer [->int] :as h]
[clojure.tools.logging :as log]
[quackers.database :as db]
[ring.util.response :refer [redirect]]
[bouncer.core :as b]
[bouncer.validators :as v]
... | true | (ns quackers.users
(:require [compojure.core :refer :all]
[quackers.helpers :refer [->int] :as h]
[clojure.tools.logging :as log]
[quackers.database :as db]
[ring.util.response :refer [redirect]]
[bouncer.core :as b]
[bouncer.validators :as v]
... |
[
{
"context": ";; Copyright 2020, Di Sera Luca\n;; Contacts: disera.luca@gmail.com\n;; ",
"end": 31,
"score": 0.9998756647109985,
"start": 19,
"tag": "NAME",
"value": "Di Sera Luca"
},
{
"context": " Copyright 2020, Di Sera Luca\n;; Contacts: disera.luca@gmail.com\n... | pmal/src/pmal/server/routes/core.clj | diseraluca/pmal | 0 | ;; Copyright 2020, Di Sera Luca
;; Contacts: disera.luca@gmail.com
;; https://github.com/diseraluca
;; https://www.linkedin.com/in/luca-di-sera-200023167
;;
;; This code is licensed under the MIT License.
;; More information can be found in the LICENSE file in the root of thi... | 101447 | ;; Copyright 2020, <NAME>
;; Contacts: <EMAIL>
;; https://github.com/diseraluca
;; https://www.linkedin.com/in/luca-di-sera-200023167
;;
;; This code is licensed under the MIT License.
;; More information can be found in the LICENSE file in the root of this repository
(ns pm... | true | ;; Copyright 2020, PI:NAME:<NAME>END_PI
;; Contacts: PI:EMAIL:<EMAIL>END_PI
;; https://github.com/diseraluca
;; https://www.linkedin.com/in/luca-di-sera-200023167
;;
;; This code is licensed under the MIT License.
;; More information can be found in the LICENSE file in the ro... |
[
{
"context": "file is part of esri-api.\n;;;;\n;;;; Copyright 2020 Alexander Dorn\n;;;;\n;;;; Licensed under the Apache License, Vers",
"end": 75,
"score": 0.9998596906661987,
"start": 61,
"tag": "NAME",
"value": "Alexander Dorn"
}
] | test/esri_api/view/properties.clj | e-user/esri-api | 0 | ;;;; This file is part of esri-api.
;;;;
;;;; Copyright 2020 Alexander Dorn
;;;;
;;;; Licensed under the Apache License, Version 2.0 (the "License");
;;;; you may not use this file except in compliance with the License.
;;;; You may obtain a copy of the License at
;;;;
;;;; http://www.apache.org/licenses/LICENSE-2.... | 47923 | ;;;; This file is part of esri-api.
;;;;
;;;; Copyright 2020 <NAME>
;;;;
;;;; Licensed under the Apache License, Version 2.0 (the "License");
;;;; you may not use this file except in compliance with the License.
;;;; You may obtain a copy of the License at
;;;;
;;;; http://www.apache.org/licenses/LICENSE-2.0
;;;;
;... | true | ;;;; This file is part of esri-api.
;;;;
;;;; Copyright 2020 PI:NAME:<NAME>END_PI
;;;;
;;;; Licensed under the Apache License, Version 2.0 (the "License");
;;;; you may not use this file except in compliance with the License.
;;;; You may obtain a copy of the License at
;;;;
;;;; http://www.apache.org/licenses/LICE... |
[
{
"context": "ody\n [:strong (get video :title)]\n [:p \"Jannine Weigel\"]]])\n\n(defn deep-end []\n [:div.window\n ",
"end": 1047,
"score": 0.9998540878295898,
"start": 1033,
"tag": "NAME",
"value": "Jannine Weigel"
}
] | src/deep_end_reagent/core.cljs | wk-j/deep-end-reagent | 0 | (ns deep-end-reagent.core
(:require
[reagent.core :as r]))
;; -------------------------
;; Views
(def videos
[{:source "https://www.youtube.com/embed/NCXfKyfpBKI?ecver=1&autoplay=1&controls=0&showinfo=0&rel=0&modestbranding=1" :title "Deep End"}
{:source "https://www.youtube.com/embed/lBN9VDFDv... | 27518 | (ns deep-end-reagent.core
(:require
[reagent.core :as r]))
;; -------------------------
;; Views
(def videos
[{:source "https://www.youtube.com/embed/NCXfKyfpBKI?ecver=1&autoplay=1&controls=0&showinfo=0&rel=0&modestbranding=1" :title "Deep End"}
{:source "https://www.youtube.com/embed/lBN9VDFDv... | true | (ns deep-end-reagent.core
(:require
[reagent.core :as r]))
;; -------------------------
;; Views
(def videos
[{:source "https://www.youtube.com/embed/NCXfKyfpBKI?ecver=1&autoplay=1&controls=0&showinfo=0&rel=0&modestbranding=1" :title "Deep End"}
{:source "https://www.youtube.com/embed/lBN9VDFDv... |
[
{
"context": " ivan {:xt/id eid, :name \"Ivan\"}\n res (mapv (fn [[va",
"end": 20202,
"score": 0.9987601041793823,
"start": 20198,
"tag": "NAME",
"value": "Ivan"
},
{
"context": "down-bitemp-144\n (let [ivan {:xt/id :ivan :name \"I... | test/test/xtdb/tx_test.clj | juxt/ding | 0 | (ns xtdb.tx-test
(:require [clojure.java.io :as io]
[clojure.string :as string]
[clojure.test :as t]
[clojure.tools.logging.impl :as log-impl]
[xtdb.api :as xt]
[xtdb.bus :as bus]
[xtdb.codec :as c]
[xtdb.db :as db]
[xtdb.... | 82890 | (ns xtdb.tx-test
(:require [clojure.java.io :as io]
[clojure.string :as string]
[clojure.test :as t]
[clojure.tools.logging.impl :as log-impl]
[xtdb.api :as xt]
[xtdb.bus :as bus]
[xtdb.codec :as c]
[xtdb.db :as db]
[xtdb.... | true | (ns xtdb.tx-test
(:require [clojure.java.io :as io]
[clojure.string :as string]
[clojure.test :as t]
[clojure.tools.logging.impl :as log-impl]
[xtdb.api :as xt]
[xtdb.bus :as bus]
[xtdb.codec :as c]
[xtdb.db :as db]
[xtdb.... |
[
{
"context": "alias)]\n {:filename path\n :password password\n :alias key-name}))))\n\n(defn- check-sa",
"end": 4503,
"score": 0.9988777041435242,
"start": 4495,
"tag": "PASSWORD",
"value": "password"
}
] | c#-metabase/enterprise/backend/src/metabase_enterprise/sso/integrations/saml.clj | hanakhry/Crime_Admin | 0 | (ns metabase-enterprise.sso.integrations.saml
"Implementation of the SAML backend for SSO.
The basic flow of of a SAML login is:
1. User attempts to access some `url` but is not authenticated
2. User is redirected to `GET /auth/sso`
3. Metabase issues another redirect to the identity provider URI
4. Us... | 24352 | (ns metabase-enterprise.sso.integrations.saml
"Implementation of the SAML backend for SSO.
The basic flow of of a SAML login is:
1. User attempts to access some `url` but is not authenticated
2. User is redirected to `GET /auth/sso`
3. Metabase issues another redirect to the identity provider URI
4. Us... | true | (ns metabase-enterprise.sso.integrations.saml
"Implementation of the SAML backend for SSO.
The basic flow of of a SAML login is:
1. User attempts to access some `url` but is not authenticated
2. User is redirected to `GET /auth/sso`
3. Metabase issues another redirect to the identity provider URI
4. Us... |
[
{
"context": "b-2.0\"\n [\"host\" \"port\" \"username\" \"password\"\n \"name\" \"db\" \"hostname\" \"url\"])",
"end": 158,
"score": 0.8699628710746765,
"start": 150,
"tag": "PASSWORD",
"value": "password"
}
] | src/claude/mongodb.clj | videlalvaro/claude | 1 | (ns claude.mongodb
(:use claude.core)
(:refer-clojure :exclude [name]))
(expose-service "mongodb-2.0"
["host" "port" "username" "password"
"name" "db" "hostname" "url"]) | 72632 | (ns claude.mongodb
(:use claude.core)
(:refer-clojure :exclude [name]))
(expose-service "mongodb-2.0"
["host" "port" "username" "<PASSWORD>"
"name" "db" "hostname" "url"]) | true | (ns claude.mongodb
(:use claude.core)
(:refer-clojure :exclude [name]))
(expose-service "mongodb-2.0"
["host" "port" "username" "PI:PASSWORD:<PASSWORD>END_PI"
"name" "db" "hostname" "url"]) |
[
{
"context": ";; Copyright (c) Alan Dipert and Micha Niskin. All rights reserved.\n;; The use",
"end": 28,
"score": 0.9998751878738403,
"start": 17,
"tag": "NAME",
"value": "Alan Dipert"
},
{
"context": ";; Copyright (c) Alan Dipert and Micha Niskin. All rights reserved.\n;; The use ... | gh-pages/index.html.out/javelin/core.cljs | thedavidmeister/cljs-ntp | 8 | ;; Copyright (c) Alan Dipert and Micha Niskin. 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 soft... | 111236 | ;; Copyright (c) <NAME> and <NAME>. All rights reserved.
;; The use and distribution terms for this software are covered by the
;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
;; which can be found in the file epl-v10.html at the root of this distribution.
;; By using this software in any... | true | ;; Copyright (c) PI:NAME:<NAME>END_PI and 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.
;; B... |
[
{
"context": "))\n\n(def federer\n (match-tree-by-player matches \"roger-federer\"))\n\n;;; The new functions start here\n\n(defn take-",
"end": 3104,
"score": 0.9798375964164734,
"start": 3091,
"tag": "USERNAME",
"value": "roger-federer"
},
{
"context": " [:winner_slug :loser_slug]... | Chapter07/Exercise7.04/tennis_history.clj | transducer/The-Clojure-Workshop | 55 | (ns packt-clj.tennis
(:require
[clojure.data.csv :as csv]
[clojure.java.io :as io]
[clojure.math.numeric-tower :as math]
[semantic-csv.core :as sc]))
;;; The first part of this file comes from the tennis_history.clj
;;; from Exercise 5.03.
(defn match-probability [player-1-rating player-2-rating]
(/ 1
... | 1434 | (ns packt-clj.tennis
(:require
[clojure.data.csv :as csv]
[clojure.java.io :as io]
[clojure.math.numeric-tower :as math]
[semantic-csv.core :as sc]))
;;; The first part of this file comes from the tennis_history.clj
;;; from Exercise 5.03.
(defn match-probability [player-1-rating player-2-rating]
(/ 1
... | true | (ns packt-clj.tennis
(:require
[clojure.data.csv :as csv]
[clojure.java.io :as io]
[clojure.math.numeric-tower :as math]
[semantic-csv.core :as sc]))
;;; The first part of this file comes from the tennis_history.clj
;;; from Exercise 5.03.
(defn match-probability [player-1-rating player-2-rating]
(/ 1
... |
[
{
"context": "; Copyright (c) Rich Hickey. All rights reserved.\n; The use and distributio",
"end": 29,
"score": 0.9998738765716553,
"start": 18,
"tag": "NAME",
"value": "Rich Hickey"
},
{
"context": "tice, or any other, from this software.\n\n; Author: Frantisek Sodomka\n\n\n(ns... | ThirdParty/clojure-1.1.0/test/clojure/test_clojure/other_functions.clj | allertonm/Couverjure | 3 | ; 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 ... | 96526 | ; 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": "(ns ^{:author \"Bruno Bonacci (@BrunoBonacci)\"\n :doc\n \"\nLogging libra",
"end": 28,
"score": 0.9998576045036316,
"start": 15,
"tag": "NAME",
"value": "Bruno Bonacci"
},
{
"context": "(ns ^{:author \"Bruno Bonacci (@BrunoBonacci)\"\n :doc\n \"\nLo... | mulog-core/src/com/brunobonacci/mulog.clj | updcon/mulog | 0 | (ns ^{:author "Bruno Bonacci (@BrunoBonacci)"
:doc
"
Logging library designed to log data events instead of plain words.
This namespace provides the core functions of ***μ/log***.
The purpose of ***μ/log*** is provide the ability to generate events
directly from your code. The instrumentation process is v... | 19480 | (ns ^{:author "<NAME> (@BrunoBonacci)"
:doc
"
Logging library designed to log data events instead of plain words.
This namespace provides the core functions of ***μ/log***.
The purpose of ***μ/log*** is provide the ability to generate events
directly from your code. The instrumentation process is very sim... | true | (ns ^{:author "PI:NAME:<NAME>END_PI (@BrunoBonacci)"
:doc
"
Logging library designed to log data events instead of plain words.
This namespace provides the core functions of ***μ/log***.
The purpose of ***μ/log*** is provide the ability to generate events
directly from your code. The instrumentation proce... |
[
{
"context": " (jwt/sign {:h \"hi\"} secret )\n (jwt/unsign\n\n \"eyJhbGciOiJIUzI1NiJ9.eyJpZCI6IjEiLCJmaXJzdF9uYW1lIjoidXNlciIsImxhc3RfbmFtZSI6Imxhc3RuYW1lIiwiZW1haWwiOiJ1c2VyQGdtYWlsLmNvbSIsImFkbWluIjpmYWxzZX0.VRfUKLtuYmIMZOYBXwhp9gg39xM5RviM48-r3UgvqxA\"\n secret )\n (wrap-jwt-authentication (fn [req"... | workspace/moviebookingappv5datomicgraphql/src/clj/moviebookingappv5datomicgraphql/users/jwt_util.clj | muthuishere/clojure-web-fundamentals | 0 | (ns moviebookingappv5datomicgraphql.users.jwt-util
(:require
[buddy.auth :refer [authenticated?]]
[buddy.sign.jwt :as jwt]
[clj-time.core :as time]
[buddy.sign.util :as util]
[buddy.auth.backends :as backends]
[buddy.auth.middleware :refer [wrap-authentication]]
)
)
(def secret "mysec... | 107554 | (ns moviebookingappv5datomicgraphql.users.jwt-util
(:require
[buddy.auth :refer [authenticated?]]
[buddy.sign.jwt :as jwt]
[clj-time.core :as time]
[buddy.sign.util :as util]
[buddy.auth.backends :as backends]
[buddy.auth.middleware :refer [wrap-authentication]]
)
)
(def secret "mysec... | true | (ns moviebookingappv5datomicgraphql.users.jwt-util
(:require
[buddy.auth :refer [authenticated?]]
[buddy.sign.jwt :as jwt]
[clj-time.core :as time]
[buddy.sign.util :as util]
[buddy.auth.backends :as backends]
[buddy.auth.middleware :refer [wrap-authentication]]
)
)
(def secret "mysec... |
[
{
"context": "middle-forearm\" :size 3}\n {:name \"abdomen\" :size 6}\n {:name \"middle-kidney\"",
"end": 3316,
"score": 0.7153250575065613,
"start": 3309,
"tag": "NAME",
"value": "abdomen"
},
{
"context": "rm\" :size 3}\n {... | test/brave_clojure/chapter3_test.clj | trilliput/brave-clojure-on-aws | 0 | (ns brave-clojure.chapter3-test
"Tests for the exercises from Chapter 3"
(:require [clojure.test :refer [deftest is testing]]
[brave-clojure.chapter3 :as sut]
[clojure.data]))
(defn is-no-diff
"Test, that the diff between a and b is nil,
otherwise print out things-only-in-a thin... | 105670 | (ns brave-clojure.chapter3-test
"Tests for the exercises from Chapter 3"
(:require [clojure.test :refer [deftest is testing]]
[brave-clojure.chapter3 :as sut]
[clojure.data]))
(defn is-no-diff
"Test, that the diff between a and b is nil,
otherwise print out things-only-in-a thin... | true | (ns brave-clojure.chapter3-test
"Tests for the exercises from Chapter 3"
(:require [clojure.test :refer [deftest is testing]]
[brave-clojure.chapter3 :as sut]
[clojure.data]))
(defn is-no-diff
"Test, that the diff between a and b is nil,
otherwise print out things-only-in-a thin... |
[
{
"context": ")\n :password (describe s/Str \"User password\")\n :admin (describe s/Bool",
"end": 1499,
"score": 0.991656482219696,
"start": 1486,
"tag": "PASSWORD",
"value": "User password"
}
] | src/copa/http/schemas.clj | hjrnunes/copa | 2 | (ns copa.http.schemas
(:require [schema.core :as s]
[schema.coerce :as sc]
[ring.swagger.schema :as rs :refer [describe]]))
(s/defschema BaseEntity
{(s/optional-key :recipe_id) (describe s/Str "Database id")})
(s/defschema Measurement
(merge BaseEntity {:ingredient (descri... | 33009 | (ns copa.http.schemas
(:require [schema.core :as s]
[schema.coerce :as sc]
[ring.swagger.schema :as rs :refer [describe]]))
(s/defschema BaseEntity
{(s/optional-key :recipe_id) (describe s/Str "Database id")})
(s/defschema Measurement
(merge BaseEntity {:ingredient (descri... | true | (ns copa.http.schemas
(:require [schema.core :as s]
[schema.coerce :as sc]
[ring.swagger.schema :as rs :refer [describe]]))
(s/defschema BaseEntity
{(s/optional-key :recipe_id) (describe s/Str "Database id")})
(s/defschema Measurement
(merge BaseEntity {:ingredient (descri... |
[
{
"context": "int (meta (database/create \"test-DB\" [{:username \"test-user\"}])))\n (cla-core/set-default-db! \"test-DB\"))\n\n(",
"end": 328,
"score": 0.9992924332618713,
"start": 319,
"tag": "USERNAME",
"value": "test-user"
},
{
"context": "eyword k) v]) data)))\n\n(def test-us... | test/clarango/test/user.clj | Lepetere/clarango | 25 | (ns clarango.test.user
(:require [clojure.test :refer :all]
[clarango.core :as cla-core]
[clarango.database :as database]
[clarango.user :as cla-user])
(:use clojure.pprint))
(defn setup []
(cla-core/set-connection!)
(pprint (meta (database/create "test-DB" [{:username "t... | 121617 | (ns clarango.test.user
(:require [clojure.test :refer :all]
[clarango.core :as cla-core]
[clarango.database :as database]
[clarango.user :as cla-user])
(:use clojure.pprint))
(defn setup []
(cla-core/set-connection!)
(pprint (meta (database/create "test-DB" [{:username "t... | true | (ns clarango.test.user
(:require [clojure.test :refer :all]
[clarango.core :as cla-core]
[clarango.database :as database]
[clarango.user :as cla-user])
(:use clojure.pprint))
(defn setup []
(cla-core/set-connection!)
(pprint (meta (database/create "test-DB" [{:username "t... |
[
{
"context": " db-name \"postgres\", user \"postgres\", password \"postgres\"\n params [\"-E\" \"SQL_ASCII\" \"--locale=C\" ",
"end": 1065,
"score": 0.9995735883712769,
"start": 1057,
"tag": "PASSWORD",
"value": "postgres"
}
] | examples/pg/src/embedded_pg.clj | dm3/everest | 4 | (ns embedded-pg
(:import [ru.yandex.qatools.embed.postgresql EmbeddedPostgres]
[de.flapdoodle.embed.process.distribution IVersion]
[ru.yandex.qatools.embed.postgresql.util SocketUtil]))
(defn- ->iversion [version]
(if (instance? IVersion version)
version
(reify IVersion
(asInDow... | 120311 | (ns embedded-pg
(:import [ru.yandex.qatools.embed.postgresql EmbeddedPostgres]
[de.flapdoodle.embed.process.distribution IVersion]
[ru.yandex.qatools.embed.postgresql.util SocketUtil]))
(defn- ->iversion [version]
(if (instance? IVersion version)
version
(reify IVersion
(asInDow... | true | (ns embedded-pg
(:import [ru.yandex.qatools.embed.postgresql EmbeddedPostgres]
[de.flapdoodle.embed.process.distribution IVersion]
[ru.yandex.qatools.embed.postgresql.util SocketUtil]))
(defn- ->iversion [version]
(if (instance? IVersion version)
version
(reify IVersion
(asInDow... |
[
{
"context": "; Copyright (c) Rich Hickey. All rights reserved.\n; The use and distributio",
"end": 29,
"score": 0.9998728632926941,
"start": 18,
"tag": "NAME",
"value": "Rich Hickey"
},
{
"context": "tice, or any other, from this software.\n\n; Author: Stuart Halloway, Daniel So... | Chapter 07 Code/niko/clojure/test/clojure/test_clojure/vectors.clj | PacktPublishing/Clojure-Programming-Cookbook | 14 | ; Copyright (c) Rich Hickey. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
; which can be found in the file epl-v10.html at the root of this distribution.
; By using this software in any ... | 51995 | ; 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": "tion/json\"}\n :body (json/write-str '(\"Curie, Marie, marie.curie@radium.org, orange, 7/7/1867\"))}\n ",
"end": 708,
"score": 0.9980289340019226,
"start": 696,
"tag": "NAME",
"value": "Curie, Marie"
},
{
"context": " :body (json/write-str '(\"C... | test/webmain_test.clj | coyotesqrl/rec-sorter | 0 | (ns webmain-test
(:require [clojure.test :refer [are deftest is use-fixtures]]
[webmain :as web]
[clojure.data.json :as json]
[ring.mock.request :as mock]))
(defn prep-data
[f]
(reset! webmain/data '())
(f))
(use-fixtures :each prep-data)
(deftest empty-sorts
(are [end-p... | 106069 | (ns webmain-test
(:require [clojure.test :refer [are deftest is use-fixtures]]
[webmain :as web]
[clojure.data.json :as json]
[ring.mock.request :as mock]))
(defn prep-data
[f]
(reset! webmain/data '())
(f))
(use-fixtures :each prep-data)
(deftest empty-sorts
(are [end-p... | true | (ns webmain-test
(:require [clojure.test :refer [are deftest is use-fixtures]]
[webmain :as web]
[clojure.data.json :as json]
[ring.mock.request :as mock]))
(defn prep-data
[f]
(reset! webmain/data '())
(f))
(use-fixtures :each prep-data)
(deftest empty-sorts
(are [end-p... |
[
{
"context": ";; Copyright © 2015-2021 Esko Luontola\n;; This software is released under the Apache Lic",
"end": 38,
"score": 0.9998833537101746,
"start": 25,
"tag": "NAME",
"value": "Esko Luontola"
}
] | src/territory_bro/gis/gis_sync.clj | 3breadt/territory-bro | 2 | ;; Copyright © 2015-2021 Esko Luontola
;; This software is released under the Apache License 2.0.
;; The license text is at http://www.apache.org/licenses/LICENSE-2.0
(ns territory-bro.gis.gis-sync
(:require [clojure.java.jdbc :as jdbc]
[clojure.tools.logging :as log]
[mount.core :as mount]
... | 55397 | ;; Copyright © 2015-2021 <NAME>
;; This software is released under the Apache License 2.0.
;; The license text is at http://www.apache.org/licenses/LICENSE-2.0
(ns territory-bro.gis.gis-sync
(:require [clojure.java.jdbc :as jdbc]
[clojure.tools.logging :as log]
[mount.core :as mount]
... | true | ;; Copyright © 2015-2021 PI:NAME:<NAME>END_PI
;; This software is released under the Apache License 2.0.
;; The license text is at http://www.apache.org/licenses/LICENSE-2.0
(ns territory-bro.gis.gis-sync
(:require [clojure.java.jdbc :as jdbc]
[clojure.tools.logging :as log]
[mount.core :as m... |
[
{
"context": " common-names\n {:female #{\"anjali\" \"divya\" \"ishita\" \"priya\" \"priyanka\"\n \"riya\" \"",
"end": 425,
"score": 0.5465091466903687,
"start": 422,
"tag": "NAME",
"value": "ish"
},
{
"context": "reya\" \"tanvi\" \"tanya\" \"vani\"},\n :male... | src/simple_experiments/db/patient.cljs | simpledotorg/simple-experiments | 7 | (ns simple-experiments.db.patient
(:require [clojure.spec.alpha :as s]
[clojure.string :as string]
[clojure.test.check]
[cljs-time.core :as time]
[cljs-time.coerce :as timec]
[cljs-time.format :as timef]
[clojure.test.check.generators :as tcgen]
... | 5283 | (ns simple-experiments.db.patient
(:require [clojure.spec.alpha :as s]
[clojure.string :as string]
[clojure.test.check]
[cljs-time.core :as time]
[cljs-time.coerce :as timec]
[cljs-time.format :as timef]
[clojure.test.check.generators :as tcgen]
... | true | (ns simple-experiments.db.patient
(:require [clojure.spec.alpha :as s]
[clojure.string :as string]
[clojure.test.check]
[cljs-time.core :as time]
[cljs-time.coerce :as timec]
[cljs-time.format :as timef]
[clojure.test.check.generators :as tcgen]
... |
[
{
"context": "ct\n (fn use-query-effect []\n (let [key (rand)]\n (d/listen! conn key listener)\n ",
"end": 9102,
"score": 0.3521166741847992,
"start": 9098,
"tag": "KEY",
"value": "rand"
}
] | src/homebase/react.cljs | mchaudhry05/homebase-react | 0 | (ns homebase.react
(:require
["react" :as react]
[clojure.string]
[cljs.reader]
[goog.object]
[clojure.set]
[homebase.js :as hbjs]
[datascript.core :as d]
[datascript.impl.entity :as de]))
(defn try-hook [hook-name f]
(if hbjs/*debug*
(f)
(try (f)
(catch js/Error e
... | 44054 | (ns homebase.react
(:require
["react" :as react]
[clojure.string]
[cljs.reader]
[goog.object]
[clojure.set]
[homebase.js :as hbjs]
[datascript.core :as d]
[datascript.impl.entity :as de]))
(defn try-hook [hook-name f]
(if hbjs/*debug*
(f)
(try (f)
(catch js/Error e
... | true | (ns homebase.react
(:require
["react" :as react]
[clojure.string]
[cljs.reader]
[goog.object]
[clojure.set]
[homebase.js :as hbjs]
[datascript.core :as d]
[datascript.impl.entity :as de]))
(defn try-hook [hook-name f]
(if hbjs/*debug*
(f)
(try (f)
(catch js/Error e
... |
[
{
"context": "star_wars))\n (def mega_blaster_wars {:ep1 {:old \"Yoyoda\" :crazy \"Maul\" :master \"Qigon Jin\"} :ep3 {:vader ",
"end": 212,
"score": 0.9611355662345886,
"start": 206,
"tag": "NAME",
"value": "Yoyoda"
},
{
"context": "ef mega_blaster_wars {:ep1 {:old \"Yoyoda\" :craz... | let-the-noob-be-with-you/src/let_the_noob_be_with_you/core.clj | naomijub/Noobing | 0 | (ns let-the-noob-be-with-you.core
(:gen-class))
(defn -main
[& args]
(def star_wars {:best "Chewwie" :last "Luke" :power "Leia"})
(println (:power star_wars))
(def mega_blaster_wars {:ep1 {:old "Yoyoda" :crazy "Maul" :master "Qigon Jin"} :ep3 {:vader "Darth Vader"}})
(println (:crazy (:ep1 mega_blaster_war... | 37157 | (ns let-the-noob-be-with-you.core
(:gen-class))
(defn -main
[& args]
(def star_wars {:best "Chewwie" :last "Luke" :power "Leia"})
(println (:power star_wars))
(def mega_blaster_wars {:ep1 {:old "<NAME>" :crazy "<NAME>" :master "<NAME>"} :ep3 {:vader "D<NAME> Vader"}})
(println (:crazy (:ep1 mega_blaster_wa... | true | (ns let-the-noob-be-with-you.core
(:gen-class))
(defn -main
[& args]
(def star_wars {:best "Chewwie" :last "Luke" :power "Leia"})
(println (:power star_wars))
(def mega_blaster_wars {:ep1 {:old "PI:NAME:<NAME>END_PI" :crazy "PI:NAME:<NAME>END_PI" :master "PI:NAME:<NAME>END_PI"} :ep3 {:vader "DPI:NAME:<NAME>E... |
[
{
"context": ";; Copyright (c) Andrew A. Raines\n;;\n;; Permission is hereby granted, free of charg",
"end": 33,
"score": 0.9998785853385925,
"start": 17,
"tag": "NAME",
"value": "Andrew A. Raines"
}
] | src/postal/support.clj | guv/postal | 0 | ;; Copyright (c) Andrew A. Raines
;;
;; Permission is hereby granted, free of charge, to any person
;; obtaining a copy of this software and associated documentation
;; files (the "Software"), to deal in the Software without
;; restriction, including without limitation the rights to use,
;; copy, modify, merge, publish... | 71919 | ;; Copyright (c) <NAME>
;;
;; Permission is hereby granted, free of charge, to any person
;; obtaining a copy of this software and associated documentation
;; files (the "Software"), to deal in the Software without
;; restriction, including without limitation the rights to use,
;; copy, modify, merge, publish, distribu... | true | ;; Copyright (c) PI:NAME:<NAME>END_PI
;;
;; Permission is hereby granted, free of charge, to any person
;; obtaining a copy of this software and associated documentation
;; files (the "Software"), to deal in the Software without
;; restriction, including without limitation the rights to use,
;; copy, modify, merge, pub... |
[
{
"context": "92b3523a6c\",\n :author-ident {:email-address \"z@caudate.me\",\n :name \"Chris Zheng\",\n ",
"end": 903,
"score": 0.9999222159385681,
"start": 891,
"tag": "EMAIL",
"value": "z@caudate.me"
},
{
"context": "dress \"z@caudate.me\",\n ... | test/lucid/git_test.clj | willcohen/lucidity | 3 | (ns lucid.git-test
(:require [clojure.test :refer :all]
[lucid.git :refer :all]))
(comment
(first (git :log ))
(git :status)
(git :checkout :name "gh-pages")
(git)
[:add :apply :archive :blame :branch :checkout :cherry :clean :clone :commit :describe :diff :fetch :gc :init :log :ls ... | 42040 | (ns lucid.git-test
(:require [clojure.test :refer :all]
[lucid.git :refer :all]))
(comment
(first (git :log ))
(git :status)
(git :checkout :name "gh-pages")
(git)
[:add :apply :archive :blame :branch :checkout :cherry :clean :clone :commit :describe :diff :fetch :gc :init :log :ls ... | true | (ns lucid.git-test
(:require [clojure.test :refer :all]
[lucid.git :refer :all]))
(comment
(first (git :log ))
(git :status)
(git :checkout :name "gh-pages")
(git)
[:add :apply :archive :blame :branch :checkout :cherry :clean :clone :commit :describe :diff :fetch :gc :init :log :ls ... |
[
{
"context": "; :db/id idkeyword\n;; :user/name \"Sam\"\n;; :user/authorization-role roleIDs\n;; ",
"end": 1115,
"score": 0.430899053812027,
"start": 1112,
"tag": "NAME",
"value": "Sam"
},
{
"context": "uthorization-role roleIDs\n;; :user/email \"sam@... | specs/seeddata/sample.clj | fulcro-legacy/fulcro-datomic | 6 | ;; Sample file for generating seed data. You can use full-blown clojure in here.
;; In general, test will depend on this data, so once a seed file is committed, it generally should
;; not be modified; however, you can base a new seed file on an existing one simply by pulling it
;; into your new one.
;; Set your namesp... | 88179 | ;; Sample file for generating seed data. You can use full-blown clojure in here.
;; In general, test will depend on this data, so once a seed file is committed, it generally should
;; not be modified; however, you can base a new seed file on an existing one simply by pulling it
;; into your new one.
;; Set your namesp... | true | ;; Sample file for generating seed data. You can use full-blown clojure in here.
;; In general, test will depend on this data, so once a seed file is committed, it generally should
;; not be modified; however, you can base a new seed file on an existing one simply by pulling it
;; into your new one.
;; Set your namesp... |
[
{
"context": "ctus-cactus-garden-cactus-plant-291544/\n; Photo by Abhinav Goswami from Pexels\n; Cactus\n\n; https://www.pexels.com/ph",
"end": 109,
"score": 0.9998930096626282,
"start": 94,
"tag": "NAME",
"value": "Abhinav Goswami"
},
{
"context": "; Photo by Kaboompics .com from Pe... | src/garden_sprites/atoms/plants.cljs | mes32/garden-sprites | 1 | ; https://www.pexels.com/photo/botanical-cactus-cactus-garden-cactus-plant-291544/
; Photo by Abhinav Goswami from Pexels
; Cactus
; https://www.pexels.com/photo/basil-in-the-cup-5818/
; Photo by Kaboompics .com from Pexels
; Photo by Maureen Bekker from Pexels
; Echeveria 'Fleur Blanc'
; This plant grows as a rosett... | 41344 | ; https://www.pexels.com/photo/botanical-cactus-cactus-garden-cactus-plant-291544/
; Photo by <NAME> from Pexels
; Cactus
; https://www.pexels.com/photo/basil-in-the-cup-5818/
; Photo by Kaboompics .com from Pexels
; Photo by <NAME> from Pexels
; Echeveria '<NAME>'
; This plant grows as a rosette of succulent lobes. ... | true | ; https://www.pexels.com/photo/botanical-cactus-cactus-garden-cactus-plant-291544/
; Photo by PI:NAME:<NAME>END_PI from Pexels
; Cactus
; https://www.pexels.com/photo/basil-in-the-cup-5818/
; Photo by Kaboompics .com from Pexels
; Photo by PI:NAME:<NAME>END_PI from Pexels
; Echeveria 'PI:NAME:<NAME>END_PI'
; This pla... |
[
{
"context": "o-blocks and threads.\n;;;\n;;; Inspired by: http://martintrojer.github.io/clojure/2013/07/07/coreasync-and-blocki",
"end": 96,
"score": 0.7726662755012512,
"start": 84,
"tag": "USERNAME",
"value": "martintrojer"
},
{
"context": "ojure/2013/07/07/coreasync-and-blocking-... | 2017/clojure-blocking-async/src/clojure_blocking_async/http_client.clj | mikiec84/code-for-blog | 1,199 | ;;; Concurrent HTTP client using go-blocks and threads.
;;;
;;; Inspired by: http://martintrojer.github.io/clojure/2013/07/07/coreasync-and-blocking-io
;;;
;;; Eli Bendersky [http://eli.thegreenplace.net]
;;; This code is in the public domain.
(ns clojure-blocking-async.http-client
(:require [clojure.core.async :as a... | 57410 | ;;; Concurrent HTTP client using go-blocks and threads.
;;;
;;; Inspired by: http://martintrojer.github.io/clojure/2013/07/07/coreasync-and-blocking-io
;;;
;;; <NAME> [http://eli.thegreenplace.net]
;;; This code is in the public domain.
(ns clojure-blocking-async.http-client
(:require [clojure.core.async :as async])
... | true | ;;; Concurrent HTTP client using go-blocks and threads.
;;;
;;; Inspired by: http://martintrojer.github.io/clojure/2013/07/07/coreasync-and-blocking-io
;;;
;;; PI:NAME:<NAME>END_PI [http://eli.thegreenplace.net]
;;; This code is in the public domain.
(ns clojure-blocking-async.http-client
(:require [clojure.core.asyn... |
[
{
"context": " nil\n\n(def customer-ref\n (ref\n {:makoto {:name \"Makoto Hashimoto\" :country \"Japan\"}\n :nico {:name \"Nicolas Modrz",
"end": 1958,
"score": 0.9998666644096375,
"start": 1942,
"tag": "NAME",
"value": "Makoto Hashimoto"
},
{
"context": "oto Hashimoto\" :country... | Chapter 08 Code/liberator-example/src/liberator_example/example.clj | PacktPublishing/Clojure-Programming-Cookbook | 14 | (ns liberator-example.example
(:require
[liberator.core :refer [resource defresource]]
[ring.adapter.jetty :refer [run-jetty]]
[ring.middleware.params :refer [wrap-params]]
[compojure.core :refer
[defroutes ANY GET PUT POST DELETE OPTIONS]]
[clj-http.client :as client]
[cheshire.core :refer [parse-stri... | 20274 | (ns liberator-example.example
(:require
[liberator.core :refer [resource defresource]]
[ring.adapter.jetty :refer [run-jetty]]
[ring.middleware.params :refer [wrap-params]]
[compojure.core :refer
[defroutes ANY GET PUT POST DELETE OPTIONS]]
[clj-http.client :as client]
[cheshire.core :refer [parse-stri... | true | (ns liberator-example.example
(:require
[liberator.core :refer [resource defresource]]
[ring.adapter.jetty :refer [run-jetty]]
[ring.middleware.params :refer [wrap-params]]
[compojure.core :refer
[defroutes ANY GET PUT POST DELETE OPTIONS]]
[clj-http.client :as client]
[cheshire.core :refer [parse-stri... |
[
{
"context": "))))\n\n(def wall? (partial = \\#))\n\n(def key? (set \"abcdefghijklmnopqrstuvwxyz\"))\n\n(def door? (set \"ABCDEFGHIJKLMNOPQRSTUVWXYZ\")",
"end": 1342,
"score": 0.9911338686943054,
"start": 1316,
"tag": "KEY",
"value": "abcdefghijklmnopqrstuvwxyz"
}
] | src/adventofcode2019/day18.clj | agriffis/adventofcode2019 | 0 | (ns adventofcode2019.day18
(:require [adventofcode2019.contrib :refer [cond-let]]
[adventofcode2019.graph :refer [trim-non-path-nodes join-hallways]]
[clojure.string :as str]
[ubergraph.core :as uber]
[ubergraph.alg :as alg]))
;!zprint {:format :skip}
(def example1 "
#... | 27534 | (ns adventofcode2019.day18
(:require [adventofcode2019.contrib :refer [cond-let]]
[adventofcode2019.graph :refer [trim-non-path-nodes join-hallways]]
[clojure.string :as str]
[ubergraph.core :as uber]
[ubergraph.alg :as alg]))
;!zprint {:format :skip}
(def example1 "
#... | true | (ns adventofcode2019.day18
(:require [adventofcode2019.contrib :refer [cond-let]]
[adventofcode2019.graph :refer [trim-non-path-nodes join-hallways]]
[clojure.string :as str]
[ubergraph.core :as uber]
[ubergraph.alg :as alg]))
;!zprint {:format :skip}
(def example1 "
#... |
[
{
"context": "ntent \"\"}]\n [:meta {:name \"author\" :content \"Adrian Smith\"}]\n\n ;; <link rel=\"icon\" href=\"../../favicon",
"end": 12232,
"score": 0.9984460473060608,
"start": 12220,
"tag": "NAME",
"value": "Adrian Smith"
},
{
"context": " [:a.nav-link {:hre... | src/blog/mdown.clj | rgkirch/blog | 2 | (ns blog.mdown
(:require [clojure.zip :as z]
[membrane.ui :as ui
:refer [horizontal-layout
vertical-layout
spacer
on]]
[membrane.skia :as skia]
[membrane.component :refer [defui defeffect]
:as ... | 3429 | (ns blog.mdown
(:require [clojure.zip :as z]
[membrane.ui :as ui
:refer [horizontal-layout
vertical-layout
spacer
on]]
[membrane.skia :as skia]
[membrane.component :refer [defui defeffect]
:as ... | true | (ns blog.mdown
(:require [clojure.zip :as z]
[membrane.ui :as ui
:refer [horizontal-layout
vertical-layout
spacer
on]]
[membrane.skia :as skia]
[membrane.component :refer [defui defeffect]
:as ... |
[
{
"context": ";;\n;; Copyright © 2011-2014 Carlo Sciolla\n;;\n;; Licensed under the Apache License, Version ",
"end": 41,
"score": 0.9998534321784973,
"start": 28,
"tag": "NAME",
"value": "Carlo Sciolla"
},
{
"context": "tions under the License.\n;;\n;; Contributors:\n;; Carlo Sci... | project.clj | deas/lambdalf | 1 | ;;
;; Copyright © 2011-2014 Carlo Sciolla
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or a... | 107566 | ;;
;; Copyright © 2011-2014 <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 t... | true | ;;
;; Copyright © 2011-2014 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 l... |
[
{
"context": "reScript REPL with nREPL tooling.\"\n :author \"Chas Emerick\"}\n cemerick.piggieback\n (:require [clojure.t",
"end": 130,
"score": 0.9998847842216492,
"start": 118,
"tag": "NAME",
"value": "Chas Emerick"
}
] | server/target/cemerick/piggieback.clj | OctavioBR/healthcheck | 0 | (ns ^{:doc "nREPL middleware enabling the transparent use of a ClojureScript REPL with nREPL tooling."
:author "Chas Emerick"}
cemerick.piggieback
(:require [clojure.tools.nrepl :as nrepl]
(clojure.tools.nrepl [transport :as transport]
[server :as server]
... | 38393 | (ns ^{:doc "nREPL middleware enabling the transparent use of a ClojureScript REPL with nREPL tooling."
:author "<NAME>"}
cemerick.piggieback
(:require [clojure.tools.nrepl :as nrepl]
(clojure.tools.nrepl [transport :as transport]
[server :as server]
... | true | (ns ^{:doc "nREPL middleware enabling the transparent use of a ClojureScript REPL with nREPL tooling."
:author "PI:NAME:<NAME>END_PI"}
cemerick.piggieback
(:require [clojure.tools.nrepl :as nrepl]
(clojure.tools.nrepl [transport :as transport]
[server :as server... |
[
{
"context": "\" \"VipObject.0.Person.0.DateOfBirth.1\"\n \"Barak\" \"VipObject.0.Person.0.FirstName.2\"\n \"Obama",
"end": 2217,
"score": 0.677727222442627,
"start": 2215,
"tag": "NAME",
"value": "ak"
}
] | test/vip/data_processor/db/translations/v5_2/people_postgres_test.clj | votinginfoproject/data-processor | 10 | (ns vip.data-processor.db.translations.v5-2.people-postgres-test
(:require [clojure.test :refer :all]
[vip.data-processor.test-helpers :refer :all]
[vip.data-processor.db.postgres :as postgres]
[vip.data-processor.db.translations.v5-2.people :as p]
[vip.data-processor.e... | 115294 | (ns vip.data-processor.db.translations.v5-2.people-postgres-test
(:require [clojure.test :refer :all]
[vip.data-processor.test-helpers :refer :all]
[vip.data-processor.db.postgres :as postgres]
[vip.data-processor.db.translations.v5-2.people :as p]
[vip.data-processor.e... | true | (ns vip.data-processor.db.translations.v5-2.people-postgres-test
(:require [clojure.test :refer :all]
[vip.data-processor.test-helpers :refer :all]
[vip.data-processor.db.postgres :as postgres]
[vip.data-processor.db.translations.v5-2.people :as p]
[vip.data-processor.e... |
[
{
"context": " \"3\"} [1 3])\n\n (are\n [q ret]\n (= (grep q [\"fred\" \"bob\" \"ethel\"]) ret)\n\n 'fred [\"fred\"]\n 'b",
"end": 345,
"score": 0.9950394630432129,
"start": 341,
"tag": "NAME",
"value": "fred"
},
{
"context": "\n (are\n [q ret]\n (= (grep q [\"fr... | test/riverford/datagrep/core_test.clj | riverford/datagrep | 18 | (ns riverford.datagrep.core-test
(:require [clojure.test :refer :all]
[riverford.datagrep.core :refer :all]))
(deftest sanity-test
(are
[q ret]
(= (grep q [1 2 3]) ret)
some? [1 2 3]
1 [1]
2 [2]
3 [3]
even? [2]
'(< 2) [1]
"2" [2]
#{1 "3"} [1 3])
(are
[q r... | 89271 | (ns riverford.datagrep.core-test
(:require [clojure.test :refer :all]
[riverford.datagrep.core :refer :all]))
(deftest sanity-test
(are
[q ret]
(= (grep q [1 2 3]) ret)
some? [1 2 3]
1 [1]
2 [2]
3 [3]
even? [2]
'(< 2) [1]
"2" [2]
#{1 "3"} [1 3])
(are
[q r... | true | (ns riverford.datagrep.core-test
(:require [clojure.test :refer :all]
[riverford.datagrep.core :refer :all]))
(deftest sanity-test
(are
[q ret]
(= (grep q [1 2 3]) ret)
some? [1 2 3]
1 [1]
2 [2]
3 [3]
even? [2]
'(< 2) [1]
"2" [2]
#{1 "3"} [1 3])
(are
[q r... |
[
{
"context": " :body {:data [{:id \"1\", :attributes {:name \"foo\", :id 1}, :type \"bars\"}]\n :jsonapi {",
"end": 510,
"score": 0.755476713180542,
"start": 507,
"tag": "NAME",
"value": "foo"
},
{
"context": "}\n {:status 200\n :body [{:id 1, :name \"foo... | test/ring/middleware/jsonapi_test.clj | scij/ring.middleware.jsonapi | 0 | (ns ring.middleware.jsonapi-test
(:require [clojure.test :as t]
[jsonapi.core :as jsonapi]
[ring.middleware.jsonapi :as m-jsonapi]))
(t/deftest wrap-response-test
(t/testing "should work with default options"
(t/are [expected response]
(= expected
(let [handler (m-jso... | 5815 | (ns ring.middleware.jsonapi-test
(:require [clojure.test :as t]
[jsonapi.core :as jsonapi]
[ring.middleware.jsonapi :as m-jsonapi]))
(t/deftest wrap-response-test
(t/testing "should work with default options"
(t/are [expected response]
(= expected
(let [handler (m-jso... | true | (ns ring.middleware.jsonapi-test
(:require [clojure.test :as t]
[jsonapi.core :as jsonapi]
[ring.middleware.jsonapi :as m-jsonapi]))
(t/deftest wrap-response-test
(t/testing "should work with default options"
(t/are [expected response]
(= expected
(let [handler (m-jso... |
[
{
"context": " protected (wrap-allow-ips handler {:allow-list [\"10.0.0.0/8\"]})]\n (testing \"remote-addr only\"\n (is ",
"end": 300,
"score": 0.9993929862976074,
"start": 292,
"tag": "IP_ADDRESS",
"value": "10.0.0.0"
},
{
"context": " (is (= 200 (:status (protected {:rem... | test/ring_firewall_middleware/core_test.clj | RutledgePaulV/ring-firewall-middleware | 13 | (ns ring-firewall-middleware.core-test
(:require [clojure.test :refer :all]
[ring-firewall-middleware.core :refer :all]))
(deftest wrap-allow-ips-test
(let [handler (fn [req] {:status 200 :body "You have access!"})
protected (wrap-allow-ips handler {:allow-list ["10.0.0.0/8"]})]
(testing... | 81554 | (ns ring-firewall-middleware.core-test
(:require [clojure.test :refer :all]
[ring-firewall-middleware.core :refer :all]))
(deftest wrap-allow-ips-test
(let [handler (fn [req] {:status 200 :body "You have access!"})
protected (wrap-allow-ips handler {:allow-list ["10.0.0.0/8"]})]
(testing... | true | (ns ring-firewall-middleware.core-test
(:require [clojure.test :refer :all]
[ring-firewall-middleware.core :refer :all]))
(deftest wrap-allow-ips-test
(let [handler (fn [req] {:status 200 :body "You have access!"})
protected (wrap-allow-ips handler {:allow-list ["10.0.0.0/8"]})]
(testing... |
[
{
"context": "power \"AC\"}\n {:name \"Luke\"\n :home_world \"Tato",
"end": 788,
"score": 0.9950241446495056,
"start": 784,
"tag": "NAME",
"value": "Luke"
},
{
"context": " \"Tatooine\"\n :name \... | test/com/walmartlabs/lacinia/fragments_tests.clj | gusbicalho/lacinia | 0 | (ns com.walmartlabs.lacinia.fragments-tests
(:require
[clojure.test :refer [deftest is]]
[com.walmartlabs.lacinia :refer [execute]]
[com.walmartlabs.lacinia.schema :as schema]
[com.walmartlabs.test-utils :as utils]))
(defn ^:private resolve-characters
[_ _ _]
[(schema/tag-with-type {:name "R2-D2"... | 41504 | (ns com.walmartlabs.lacinia.fragments-tests
(:require
[clojure.test :refer [deftest is]]
[com.walmartlabs.lacinia :refer [execute]]
[com.walmartlabs.lacinia.schema :as schema]
[com.walmartlabs.test-utils :as utils]))
(defn ^:private resolve-characters
[_ _ _]
[(schema/tag-with-type {:name "R2-D2"... | true | (ns com.walmartlabs.lacinia.fragments-tests
(:require
[clojure.test :refer [deftest is]]
[com.walmartlabs.lacinia :refer [execute]]
[com.walmartlabs.lacinia.schema :as schema]
[com.walmartlabs.test-utils :as utils]))
(defn ^:private resolve-characters
[_ _ _]
[(schema/tag-with-type {:name "R2-D2"... |
[
{
"context": ";; Copyright 2017 7bridges s.r.l.\n;;\n;; Licensed under the Apache License, V",
"end": 26,
"score": 0.8890994191169739,
"start": 18,
"tag": "USERNAME",
"value": "7bridges"
},
{
"context": "[:operation 1]\n [:session-id -1]\n [:username username]\n [:password p... | src/clj_odbp/operations/db.clj | 7BridgesEu/clj-odbp | 0 | ;; Copyright 2017 7bridges s.r.l.
;;
;; 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 ... | 100421 | ;; Copyright 2017 7bridges s.r.l.
;;
;; 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 ... | true | ;; Copyright 2017 7bridges s.r.l.
;;
;; 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 ... |
[
{
"context": "til/camel->kebab \"AbaCaba\"))))\n\n\n;; Copyright 2018 Frederic Merizen\n;;\n;; Licensed under the Apache License, Version ",
"end": 1447,
"score": 0.9998766183853149,
"start": 1431,
"tag": "NAME",
"value": "Frederic Merizen"
}
] | test/ferje/util_test.clj | chourave/clojyday | 0 | ;; Copyright and license information at end of file
(ns ferje.util-test
(:require
[clojure.test :refer [deftest is testing use-fixtures]]
[ferje.spec-test-utils :refer [instrument-fixture]]
[ferje.util :as util]
[orchestra.spec.test :refer [instrument]]))
;; Fixtures
(use-fixtures :once instrument-fi... | 102085 | ;; Copyright and license information at end of file
(ns ferje.util-test
(:require
[clojure.test :refer [deftest is testing use-fixtures]]
[ferje.spec-test-utils :refer [instrument-fixture]]
[ferje.util :as util]
[orchestra.spec.test :refer [instrument]]))
;; Fixtures
(use-fixtures :once instrument-fi... | true | ;; Copyright and license information at end of file
(ns ferje.util-test
(:require
[clojure.test :refer [deftest is testing use-fixtures]]
[ferje.spec-test-utils :refer [instrument-fixture]]
[ferje.util :as util]
[orchestra.spec.test :refer [instrument]]))
;; Fixtures
(use-fixtures :once instrument-fi... |
[
{
"context": "ns under the License.\n;;\n;; Copyright © 2013-2022, Kenneth Leung. All rights reserved.\n\n(ns czlab.basal.core\n\n \"U",
"end": 597,
"score": 0.9998613595962524,
"start": 584,
"tag": "NAME",
"value": "Kenneth Leung"
}
] | src/main/clojure/czlab/basal/core.clj | llnek/xlib | 0 | ;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writing, software
;; distributed ... | 643 | ;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writing, software
;; distributed ... | true | ;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writing, software
;; distributed ... |
[
{
"context": ";; Copyright (c) 2014-2016 Andrey Antukh <niwi@niwi.nz>\n;; Copyright (c) 2014-2016 Alejand",
"end": 40,
"score": 0.9998930096626282,
"start": 27,
"tag": "NAME",
"value": "Andrey Antukh"
},
{
"context": ";; Copyright (c) 2014-2016 Andrey Antukh <niwi@niwi.nz>\n;; Copyri... | src/cats/labs/channel.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... | 9878 | ;; 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": "d\n {:access-key \"aws-access-key\"\n :secret-key \"aws-secret-key\"\n :endpoint \"http://localhost:8000",
"end": 1114,
"score": 0.6475479006767273,
"start": 1111,
"tag": "KEY",
"value": "aws"
},
{
"context": " (try\n (send-command :user/register {:name \"B... | test/cqrs_server/simple_dynamo_test.clj | Yuppiechef/cqrs-server | 227 | (ns cqrs-server.simple-dynamo-test
(:require
[schema.core :as s]
[clojure.core.async :as a]
[clojure.test :refer :all]
[clojure.tools.logging :as log]
[taoensso.faraday :as far]
[taoensso.nippy :as nippy]
[cqrs-server.cqrs :as cqrs]
[cqrs-server.simple :as simple]
[cqrs-server.async... | 17624 | (ns cqrs-server.simple-dynamo-test
(:require
[schema.core :as s]
[clojure.core.async :as a]
[clojure.test :refer :all]
[clojure.tools.logging :as log]
[taoensso.faraday :as far]
[taoensso.nippy :as nippy]
[cqrs-server.cqrs :as cqrs]
[cqrs-server.simple :as simple]
[cqrs-server.async... | true | (ns cqrs-server.simple-dynamo-test
(:require
[schema.core :as s]
[clojure.core.async :as a]
[clojure.test :refer :all]
[clojure.tools.logging :as log]
[taoensso.faraday :as far]
[taoensso.nippy :as nippy]
[cqrs-server.cqrs :as cqrs]
[cqrs-server.simple :as simple]
[cqrs-server.async... |
[
{
"context": "os ix flipped pending])\r\n\r\n(def chicken {:name \"Chickn\" :anim-key \"chicken-idle\" :path [[-1 0] [0 1] [1",
"end": 103,
"score": 0.56037437915802,
"start": 100,
"tag": "NAME",
"value": "ick"
}
] | src/main/app/game.cljs | MattRoelle/LD49 | 0 | (ns app.game)
(defrecord FarmAnimal [id atype pos ix flipped pending])
(def chicken {:name "Chickn" :anim-key "chicken-idle" :path [[-1 0] [0 1] [1 0] [0 -1]]})
(def chicken2 {:name "Brown Chickn" :anim-key "chicken2-idle" :path [[1 0] [1 0] [-1 0] [-1 0]]})
(def cow {:name "Cow" :anim-key "cow-idle" :path [[0 ... | 76540 | (ns app.game)
(defrecord FarmAnimal [id atype pos ix flipped pending])
(def chicken {:name "Ch<NAME>n" :anim-key "chicken-idle" :path [[-1 0] [0 1] [1 0] [0 -1]]})
(def chicken2 {:name "Brown Chickn" :anim-key "chicken2-idle" :path [[1 0] [1 0] [-1 0] [-1 0]]})
(def cow {:name "Cow" :anim-key "cow-idle" :path [... | true | (ns app.game)
(defrecord FarmAnimal [id atype pos ix flipped pending])
(def chicken {:name "ChPI:NAME:<NAME>END_PIn" :anim-key "chicken-idle" :path [[-1 0] [0 1] [1 0] [0 -1]]})
(def chicken2 {:name "Brown Chickn" :anim-key "chicken2-idle" :path [[1 0] [1 0] [-1 0] [-1 0]]})
(def cow {:name "Cow" :anim-key "cow... |
[
{
"context": " :account-id (:id (find-account ctx \"Medicare\"))\n ",
"end": 9239,
"score": 0.8626505732536316,
"start": 9231,
"tag": "NAME",
"value": "Medicare"
}
] | test/clj_money/models/scheduled_transactions_test.clj | dgknght/clj-money | 5 | (ns clj-money.models.scheduled-transactions-test
(:require [clojure.test :refer [deftest is use-fixtures]]
[clj-time.core :as t]
[stowaway.core :refer [tag]]
[dgknght.app-lib.test]
[clj-money.models :as models]
[clj-money.test-helpers :refer [reset-db]]
... | 85845 | (ns clj-money.models.scheduled-transactions-test
(:require [clojure.test :refer [deftest is use-fixtures]]
[clj-time.core :as t]
[stowaway.core :refer [tag]]
[dgknght.app-lib.test]
[clj-money.models :as models]
[clj-money.test-helpers :refer [reset-db]]
... | true | (ns clj-money.models.scheduled-transactions-test
(:require [clojure.test :refer [deftest is use-fixtures]]
[clj-time.core :as t]
[stowaway.core :refer [tag]]
[dgknght.app-lib.test]
[clj-money.models :as models]
[clj-money.test-helpers :refer [reset-db]]
... |
[
{
"context": ".\"\n [payload ts key ^String secret]\n (let [key (javax.crypto.spec.SecretKeySpec. (.getBytes secret) \"HmacSHA1\")\n bs (-> (",
"end": 7663,
"score": 0.6977858543395996,
"start": 7632,
"tag": "KEY",
"value": "javax.crypto.spec.SecretKeySpec"
},
{
"context": ... | src/raven/client.clj | exoscale/raven | 15 | (ns raven.client
"A netty-based Sentry client."
(:import java.lang.Throwable
java.lang.Exception)
(:require [aleph.http :as http]
[manifold.deferred :as d]
[jsonista.core :as json]
[clojure.string :as str]
[clojure.spec.alpha... | 51791 | (ns raven.client
"A netty-based Sentry client."
(:import java.lang.Throwable
java.lang.Exception)
(:require [aleph.http :as http]
[manifold.deferred :as d]
[jsonista.core :as json]
[clojure.string :as str]
[clojure.spec.alpha... | true | (ns raven.client
"A netty-based Sentry client."
(:import java.lang.Throwable
java.lang.Exception)
(:require [aleph.http :as http]
[manifold.deferred :as d]
[jsonista.core :as json]
[clojure.string :as str]
[clojure.spec.alpha... |
[
{
"context": ";; Copyright 2014-2020 King\n;; Copyright 2009-2014 Ragnar Svensson, Christian Murray\n;; Licensed under the Defold Li",
"end": 111,
"score": 0.9997995495796204,
"start": 96,
"tag": "NAME",
"value": "Ragnar Svensson"
},
{
"context": "-2020 King\n;; Copyright 2009-2014 R... | editor/test/editor/field_expression_test.clj | cmarincia/defold | 0 | ;; Copyright 2020-2022 The Defold Foundation
;; Copyright 2014-2020 King
;; Copyright 2009-2014 Ragnar Svensson, Christian Murray
;; Licensed under the Defold License version 1.0 (the "License"); you may not use
;; this file except in compliance with the License.
;;
;; You may obtain a copy of the License, together wi... | 78792 | ;; Copyright 2020-2022 The Defold Foundation
;; Copyright 2014-2020 King
;; Copyright 2009-2014 <NAME>, <NAME>
;; Licensed under the Defold License version 1.0 (the "License"); you may not use
;; this file except in compliance with the License.
;;
;; You may obtain a copy of the License, together with FAQs at
;; https... | true | ;; Copyright 2020-2022 The Defold Foundation
;; Copyright 2014-2020 King
;; Copyright 2009-2014 PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI
;; Licensed under the Defold License version 1.0 (the "License"); you may not use
;; this file except in compliance with the License.
;;
;; You may obtain a copy of the License, to... |
[
{
"context": ";; Copyright 2018 Chris Rink\n;;\n;; Licensed under the Apache License, Version ",
"end": 28,
"score": 0.9998436570167542,
"start": 18,
"tag": "NAME",
"value": "Chris Rink"
},
{
"context": " :as req}]\n (if-let [{:keys [oauth_access_token app_user_id]}\n ... | src/clojure/slackbot/middleware.clj | chrisrink10/slackbot-clj | 0 | ;; Copyright 2018 Chris Rink
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in w... | 37982 | ;; Copyright 2018 <NAME>
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writi... | true | ;; Copyright 2018 PI:NAME:<NAME>END_PI
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agre... |
[
{
"context": " [clojure.data.json :as json]\n [robert.bruce :refer [try-try-again]])\n (:gen-class))\n\n(def ap",
"end": 420,
"score": 0.8652188777923584,
"start": 408,
"tag": "USERNAME",
"value": "robert.bruce"
},
{
"context": "offset offset\n ... | src/event_data_landing_page_sampler/sample_crossref.clj | CrossRef/event-data-landing-page-sampler | 0 | (ns event-data-landing-page-sampler.sample-crossref
"Collect a representative sample of DOIs per member from Crossref.
As Crossref has an internal sample function, use this to collect random samples."
(:require [org.httpkit.client :as client]
[event-data-landing-page-sampler.http :as http]
... | 6024 | (ns event-data-landing-page-sampler.sample-crossref
"Collect a representative sample of DOIs per member from Crossref.
As Crossref has an internal sample function, use this to collect random samples."
(:require [org.httpkit.client :as client]
[event-data-landing-page-sampler.http :as http]
... | true | (ns event-data-landing-page-sampler.sample-crossref
"Collect a representative sample of DOIs per member from Crossref.
As Crossref has an internal sample function, use this to collect random samples."
(:require [org.httpkit.client :as client]
[event-data-landing-page-sampler.http :as http]
... |
[
{
"context": "tr \"ID\")\n(def titlestr \"OTSIKKO\")\n(def authorstr \"TEKIJÄ\")\n(def yearstr \"VUOSI\")\n(def greetingstr \"Tervetu",
"end": 399,
"score": 0.9989849925041199,
"start": 393,
"tag": "NAME",
"value": "TEKIJÄ"
},
{
"context": "int-entries))\n (.setText result-f... | src/kirjakanta/ui.clj | otjura/kirjakanta | 0 | (ns kirjakanta.ui
(:gen-class)
(:require [kirjakanta.db :as db]
[clojure.pprint :as pprint])
(:import [javax.swing JFrame JPanel JLabel JButton JTextField JTextArea]
[java.awt.event ActionListener]
[java.awt GridLayout]))
(declare print-entries add-entry delete-entry edit-entry ... | 25525 | (ns kirjakanta.ui
(:gen-class)
(:require [kirjakanta.db :as db]
[clojure.pprint :as pprint])
(:import [javax.swing JFrame JPanel JLabel JButton JTextField JTextArea]
[java.awt.event ActionListener]
[java.awt GridLayout]))
(declare print-entries add-entry delete-entry edit-entry ... | true | (ns kirjakanta.ui
(:gen-class)
(:require [kirjakanta.db :as db]
[clojure.pprint :as pprint])
(:import [javax.swing JFrame JPanel JLabel JButton JTextField JTextArea]
[java.awt.event ActionListener]
[java.awt GridLayout]))
(declare print-entries add-entry delete-entry edit-entry ... |
[
{
"context": "ers\" [\"*\"] {})\n ;; remove chriscourier@test.com\n (remove #(in? [\"9eadx6i",
"end": 2331,
"score": 0.9999069571495056,
"start": 2310,
"tag": "EMAIL",
"value": "chriscourier@test.com"
},
{
"context": "'Content-Type: a... | src/dashboard/users.clj | Purple-Services/dashboard-service | 3 | (ns dashboard.users
(:require [bouncer.core :as b]
[bouncer.validators :as v]
[clojure.edn :as edn]
[clojure.set :refer [join]]
[clojure.string :as s]
[crypto.password.bcrypt :as bcrypt]
[common.db :refer [mysql-escape-str !select !update !insert... | 3621 | (ns dashboard.users
(:require [bouncer.core :as b]
[bouncer.validators :as v]
[clojure.edn :as edn]
[clojure.set :refer [join]]
[clojure.string :as s]
[crypto.password.bcrypt :as bcrypt]
[common.db :refer [mysql-escape-str !select !update !insert... | true | (ns dashboard.users
(:require [bouncer.core :as b]
[bouncer.validators :as v]
[clojure.edn :as edn]
[clojure.set :refer [join]]
[clojure.string :as s]
[crypto.password.bcrypt :as bcrypt]
[common.db :refer [mysql-escape-str !select !update !insert... |
[
{
"context": " (ok\n (POST (api \"/authors\")\n {:name \"Li2\"\n :email \"li2@test.com\"\n :nickname ",
"end": 391,
"score": 0.7304717302322388,
"start": 388,
"tag": "USERNAME",
"value": "Li2"
},
{
"context": "uthors\")\n {:name \"Li2\"\n :emai... | wiz.blog.api/test/wiz/blog/api/end_to_end/authors_test.clj | vladkotu/edge-clj-rest-api-example | 0 | (ns wiz.blog.api.end-to-end.authors-test
(:require
[clojure.test :as t :refer [deftest is use-fixtures]]
[restpect.core :refer [created not-found ok]]
[restpect.json :refer [DELETE GET POST PUT]]
[wiz.blog.api.setup :refer [setup-fixtures api]]
[clojure.tools.logging :as log]))
(setup-fixtures)
(deft... | 25564 | (ns wiz.blog.api.end-to-end.authors-test
(:require
[clojure.test :as t :refer [deftest is use-fixtures]]
[restpect.core :refer [created not-found ok]]
[restpect.json :refer [DELETE GET POST PUT]]
[wiz.blog.api.setup :refer [setup-fixtures api]]
[clojure.tools.logging :as log]))
(setup-fixtures)
(deft... | true | (ns wiz.blog.api.end-to-end.authors-test
(:require
[clojure.test :as t :refer [deftest is use-fixtures]]
[restpect.core :refer [created not-found ok]]
[restpect.json :refer [DELETE GET POST PUT]]
[wiz.blog.api.setup :refer [setup-fixtures api]]
[clojure.tools.logging :as log]))
(setup-fixtures)
(deft... |
[
{
"context": "y %2) (cons nil b) (range)) \n a)))\n;;;;;;\n\n;; Lee Spector, 20130101\n\n;; buttons to float answer (on stack) ",
"end": 3149,
"score": 0.9996471405029297,
"start": 3138,
"tag": "NAME",
"value": "Lee Spector"
}
] | data/clojure/88fa4ec506d8a16b185c928408f6281e_calc.clj | maxim5/code-inspector | 5 | (ns clojush.experimental.calc
(:use [clojush.pushgp.pushgp]
[clojush.pushstate]
[clojush.interpreter]
[clojush.random]
[clojush.util]
[clojush.instructions.tag]
[clojure.math.numeric-tower]
;[incanter.stats :as stats]
))
;;;;;;;;
(defn compute-next-row
... | 106580 | (ns clojush.experimental.calc
(:use [clojush.pushgp.pushgp]
[clojush.pushstate]
[clojush.interpreter]
[clojush.random]
[clojush.util]
[clojush.instructions.tag]
[clojure.math.numeric-tower]
;[incanter.stats :as stats]
))
;;;;;;;;
(defn compute-next-row
... | true | (ns clojush.experimental.calc
(:use [clojush.pushgp.pushgp]
[clojush.pushstate]
[clojush.interpreter]
[clojush.random]
[clojush.util]
[clojush.instructions.tag]
[clojure.math.numeric-tower]
;[incanter.stats :as stats]
))
;;;;;;;;
(defn compute-next-row
... |
[
{
"context": "; Copyright (c) Rich Hickey. All rights reserved.\n; The use and distributio",
"end": 29,
"score": 0.9998217225074768,
"start": 18,
"tag": "NAME",
"value": "Rich Hickey"
}
] | ext/clojure-clojurescript-bef56a7/src/clj/cljs/compiler.clj | yokolet/clementine | 35 | ; Copyright (c) Rich Hickey. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
; which can be found in the file epl-v10.html at the root of this distribution.
; By using this software in any ... | 87983 | ; 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": "])\n\n;; Multi-field comparators\n(def john1 {:name \"John\", :salary 35000.00, :company \"Acme\"})\n(def mary ",
"end": 574,
"score": 0.999723494052887,
"start": 570,
"tag": "NAME",
"value": "John"
},
{
"context": "e \"John\", :salary 35000.00, :company \"Acme\"})\n(d... | language-learning/clojure/functions/comparators.clj | imteekay/programming-language-research | 627 | ;; Resource: https://clojure.org/guides/comparators
;; compare works for many types of values, ordering them in one particular way:
;; - increasing numeric order for numbers;
;; - lexicographic order (aka dictionary order) for strings, symbols, and keywords;
;; - shortest-to-longest order by Clojure vectors, with lexic... | 121650 | ;; Resource: https://clojure.org/guides/comparators
;; compare works for many types of values, ordering them in one particular way:
;; - increasing numeric order for numbers;
;; - lexicographic order (aka dictionary order) for strings, symbols, and keywords;
;; - shortest-to-longest order by Clojure vectors, with lexic... | true | ;; Resource: https://clojure.org/guides/comparators
;; compare works for many types of values, ordering them in one particular way:
;; - increasing numeric order for numbers;
;; - lexicographic order (aka dictionary order) for strings, symbols, and keywords;
;; - shortest-to-longest order by Clojure vectors, with lexic... |
[
{
"context": " [:p {:class \"home-text\"} \n \"Hi I'm Maria, thanks for visiting my website where you can fin",
"end": 1089,
"score": 0.9982912540435791,
"start": 1084,
"tag": "NAME",
"value": "Maria"
},
{
"context": " [:p {:class \"home-text\"} \n \"Hola ... | src/cljs/galacart_gallery/views.cljs | lucasgut/galacart-gallery | 0 | (ns galacart-gallery.views
(:require
[re-frame.core :as re-frame]
[galacart-gallery.subs :as subs]
[galacart-gallery.events :as events]
))
;; Product image modal, hidden by default
(defn product-image-modal []
(let [product-image-modal (re-frame/subscribe [::subs/product-image-modal])]
[:div ... | 99837 | (ns galacart-gallery.views
(:require
[re-frame.core :as re-frame]
[galacart-gallery.subs :as subs]
[galacart-gallery.events :as events]
))
;; Product image modal, hidden by default
(defn product-image-modal []
(let [product-image-modal (re-frame/subscribe [::subs/product-image-modal])]
[:div ... | true | (ns galacart-gallery.views
(:require
[re-frame.core :as re-frame]
[galacart-gallery.subs :as subs]
[galacart-gallery.events :as events]
))
;; Product image modal, hidden by default
(defn product-image-modal []
(let [product-image-modal (re-frame/subscribe [::subs/product-image-modal])]
[:div ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.