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": "user]\n :user/userId 100\n :user/userEmail \"paul@cognitect.com\"}\n {:db/id #db/id[:db.part/user]\n :user/us",
"end": 3208,
"score": 0.9999279975891113,
"start": 3190,
"tag": "EMAIL",
"value": "paul@cognitect.com"
},
{
"context": "user]\n :user/userI... | vendor/vase/test/com/cognitect/vase/test_db_helper.clj | mtnygard/growing-one-system | 4 | (ns com.cognitect.vase.test-db-helper
(:require [clojure.test :as t]
[datomic.api :as d])
(:import [java.util UUID]))
(defn new-database
"This generates a new, empty Datomic database for use within unit tests."
[txes]
(let [uri (str "datomic:mem://test" (UUID/randomUUID))
_ (d/creat... | 43664 | (ns com.cognitect.vase.test-db-helper
(:require [clojure.test :as t]
[datomic.api :as d])
(:import [java.util UUID]))
(defn new-database
"This generates a new, empty Datomic database for use within unit tests."
[txes]
(let [uri (str "datomic:mem://test" (UUID/randomUUID))
_ (d/creat... | true | (ns com.cognitect.vase.test-db-helper
(:require [clojure.test :as t]
[datomic.api :as d])
(:import [java.util UUID]))
(defn new-database
"This generates a new, empty Datomic database for use within unit tests."
[txes]
(let [uri (str "datomic:mem://test" (UUID/randomUUID))
_ (d/creat... |
[
{
"context": "csrf-paths]\n (fn [request]\n (let [auth-token \"auth-token\"]\n (log/info (str \"Request path: \" (:uri req",
"end": 496,
"score": 0.86149662733078,
"start": 486,
"tag": "PASSWORD",
"value": "auth-token"
}
] | src/clj/clojurecademy/middleware/session_and_cookie.clj | harunpehlivan/clojurecademy | 651 | (ns clojurecademy.middleware.session-and-cookie
(:require [clojurecademy.util.resource :as resource.util]
[clojurecademy.middleware.anti-forgery :as anti-forgery]
[clojure.tools.logging :as log]
[kezban.core :refer :all]))
(defn- get-request?
[{method :request-method}]
(or (=... | 11320 | (ns clojurecademy.middleware.session-and-cookie
(:require [clojurecademy.util.resource :as resource.util]
[clojurecademy.middleware.anti-forgery :as anti-forgery]
[clojure.tools.logging :as log]
[kezban.core :refer :all]))
(defn- get-request?
[{method :request-method}]
(or (=... | true | (ns clojurecademy.middleware.session-and-cookie
(:require [clojurecademy.util.resource :as resource.util]
[clojurecademy.middleware.anti-forgery :as anti-forgery]
[clojure.tools.logging :as log]
[kezban.core :refer :all]))
(defn- get-request?
[{method :request-method}]
(or (=... |
[
{
"context": " \"0\"\n \"0\"\n \"skynet\"\n \"192.168.1.6\"\n \"8452\"\n \"8\"\n \"1\"\n ",
"end": 1188,
"score": 0.9997192025184631,
"start": 1179,
"tag": "IP_ADDRESS",
"value": "192.168.1"
},
{
"context": "ler/parse-battleopene... | test/clj/spring_lobby/client/handler_test.clj | badosu/skylobby | 7 | (ns spring-lobby.client.handler-test
(:require
[clojure.test :refer [deftest is testing]]
[skylobby.util :as u]
[spring-lobby.client.handler :as handler]
[spring-lobby.client.message :as message]
[spring-lobby.client.util :as cu]))
(set! *warn-on-reflection* true)
(deftest parse-addbot
(is (... | 65000 | (ns spring-lobby.client.handler-test
(:require
[clojure.test :refer [deftest is testing]]
[skylobby.util :as u]
[spring-lobby.client.handler :as handler]
[spring-lobby.client.message :as message]
[spring-lobby.client.util :as cu]))
(set! *warn-on-reflection* true)
(deftest parse-addbot
(is (... | true | (ns spring-lobby.client.handler-test
(:require
[clojure.test :refer [deftest is testing]]
[skylobby.util :as u]
[spring-lobby.client.handler :as handler]
[spring-lobby.client.message :as message]
[spring-lobby.client.util :as cu]))
(set! *warn-on-reflection* true)
(deftest parse-addbot
(is (... |
[
{
"context": "g Call\")\n (prompt-select :corp (find-card \"Oaktown Renovation\" (:hand (get-corp))))\n (prompt-choice :cor",
"end": 10104,
"score": 0.8116592764854431,
"start": 10086,
"tag": "NAME",
"value": "Oaktown Renovation"
},
{
"context": "t-corp))]\n (trash... | test/clj/game_test/cards/operations.clj | Odie/netrunner | 0 | (ns game-test.cards.operations
(:require [game.core :as core]
[game-test.core :refer :all]
[game-test.utils :refer :all]
[game-test.macros :refer :all]
[clojure.test :refer :all]))
(use-fixtures :once load-all-cards)
(deftest twenty-four-seven-news-cycle-breaking-news... | 25321 | (ns game-test.cards.operations
(:require [game.core :as core]
[game-test.core :refer :all]
[game-test.utils :refer :all]
[game-test.macros :refer :all]
[clojure.test :refer :all]))
(use-fixtures :once load-all-cards)
(deftest twenty-four-seven-news-cycle-breaking-news... | true | (ns game-test.cards.operations
(:require [game.core :as core]
[game-test.core :refer :all]
[game-test.utils :refer :all]
[game-test.macros :refer :all]
[clojure.test :refer :all]))
(use-fixtures :once load-all-cards)
(deftest twenty-four-seven-news-cycle-breaking-news... |
[
{
"context": ";; Copyright (c) 2020-2021 Saidone\n\n(ns ^:figwheel-hooks wa-tor.core\n (:require\n ",
"end": 34,
"score": 0.9984233379364014,
"start": 27,
"tag": "NAME",
"value": "Saidone"
}
] | src/wa_tor/core.cljs | saidone75/wa-tor | 6 | ;; Copyright (c) 2020-2021 Saidone
(ns ^:figwheel-hooks wa-tor.core
(:require
[goog.dom :as gdom]
[reagent.dom :as rdom]
[wa-tor.board :as board]))
(defonce app-state (board/create-board!))
(defn get-app-element []
(gdom/getElement "app"))
(defn board []
[:div {:class "outer-div"}
[:div.board {:id... | 100739 | ;; Copyright (c) 2020-2021 <NAME>
(ns ^:figwheel-hooks wa-tor.core
(:require
[goog.dom :as gdom]
[reagent.dom :as rdom]
[wa-tor.board :as board]))
(defonce app-state (board/create-board!))
(defn get-app-element []
(gdom/getElement "app"))
(defn board []
[:div {:class "outer-div"}
[:div.board {:id ... | true | ;; Copyright (c) 2020-2021 PI:NAME:<NAME>END_PI
(ns ^:figwheel-hooks wa-tor.core
(:require
[goog.dom :as gdom]
[reagent.dom :as rdom]
[wa-tor.board :as board]))
(defonce app-state (board/create-board!))
(defn get-app-element []
(gdom/getElement "app"))
(defn board []
[:div {:class "outer-div"}
[:d... |
[
{
"context": ";; Copyright (c) Andrew A. Raines\n;;\n;; Permission is hereby granted, free of charg",
"end": 33,
"score": 0.9998757839202881,
"start": 17,
"tag": "NAME",
"value": "Andrew A. Raines"
},
{
"context": "0\n :threads 1}\n {:from \"foo@lolz.dom\"\n... | src/postal/core.clj | poenneby/postal | 371 | ;; 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... | 86319 | ;; 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": ")))\n\n(def ui-person (prim/factory Person {:keyfn :db/id}))\n\n(defsc People [this {:keys [people]}]\n {:ini",
"end": 2183,
"score": 0.788163959980011,
"start": 2178,
"tag": "KEY",
"value": "db/id"
}
] | src/book/book/demos/loading_data_basics.cljs | levitanong/fulcro | 0 | (ns book.demos.loading-data-basics
(:require
[fulcro.client :as fc]
[fulcro.client.data-fetch :as df]
[book.demos.util :refer [now]]
[fulcro.client.mutations :as m]
[fulcro.client.dom :as dom]
[fulcro.client.primitives :as prim :refer [defsc InitialAppState initial-state]]
[fulcro.client.d... | 64868 | (ns book.demos.loading-data-basics
(:require
[fulcro.client :as fc]
[fulcro.client.data-fetch :as df]
[book.demos.util :refer [now]]
[fulcro.client.mutations :as m]
[fulcro.client.dom :as dom]
[fulcro.client.primitives :as prim :refer [defsc InitialAppState initial-state]]
[fulcro.client.d... | true | (ns book.demos.loading-data-basics
(:require
[fulcro.client :as fc]
[fulcro.client.data-fetch :as df]
[book.demos.util :refer [now]]
[fulcro.client.mutations :as m]
[fulcro.client.dom :as dom]
[fulcro.client.primitives :as prim :refer [defsc InitialAppState initial-state]]
[fulcro.client.d... |
[
{
"context": ";; Copyright 2020, Di Sera Luca\n;; Contacts: disera.luca@gmail.com\n;; ",
"end": 31,
"score": 0.9998773336410522,
"start": 19,
"tag": "NAME",
"value": "Di Sera Luca"
},
{
"context": " Copyright 2020, Di Sera Luca\n;; Contacts: disera.luca@gmail.com\n... | pmal/test/mock/core_test.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... | 89334 | ;; 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 mo... | 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": "-------------------------------------------\n;; (C) Vassil Kateliev, 2021 \t\t(http://www.kateliev.com)\n;;-------------",
"end": 199,
"score": 0.999884307384491,
"start": 184,
"tag": "NAME",
"value": "Vassil Kateliev"
}
] | cli/clojure/fr-gs-kern-clean/src/fr_gs_kern_clean/core.clj | kateliev/FontRig | 0 | ;; SCRIPT: FontRig: fr-gs-kern-clean
;; NOTE: Clean kerning values withing given range - Glyphs app font format
;; -----------------------------------------------------------
;; (C) Vassil Kateliev, 2021 (http://www.kateliev.com)
;;------------------------------------------------------------
;; No warranties. By u... | 93331 | ;; SCRIPT: FontRig: fr-gs-kern-clean
;; NOTE: Clean kerning values withing given range - Glyphs app font format
;; -----------------------------------------------------------
;; (C) <NAME>, 2021 (http://www.kateliev.com)
;;------------------------------------------------------------
;; No warranties. By using this... | true | ;; SCRIPT: FontRig: fr-gs-kern-clean
;; NOTE: Clean kerning values withing given range - Glyphs app font format
;; -----------------------------------------------------------
;; (C) PI:NAME:<NAME>END_PI, 2021 (http://www.kateliev.com)
;;------------------------------------------------------------
;; No warranties.... |
[
{
"context": "test.clj\n\n \"Testing core features.\"\n\n {:author \"Adam Helinski\"}\n\n (:require [clojure.test :as T]\n [",
"end": 74,
"score": 0.9994447231292725,
"start": 61,
"tag": "NAME",
"value": "Adam Helinski"
}
] | project/clojurify/src/clj/test/convex/test/clj.clj | rosejn/convex.cljc | 30 | (ns convex.test.clj
"Testing core features."
{:author "Adam Helinski"}
(:require [clojure.test :as T]
[convex.clj :as $.clj]))
;;;;;;;;;;
(T/deftest foo
(T/is (= 4
(+ 2
2))))
| 26478 | (ns convex.test.clj
"Testing core features."
{:author "<NAME>"}
(:require [clojure.test :as T]
[convex.clj :as $.clj]))
;;;;;;;;;;
(T/deftest foo
(T/is (= 4
(+ 2
2))))
| true | (ns convex.test.clj
"Testing core features."
{:author "PI:NAME:<NAME>END_PI"}
(:require [clojure.test :as T]
[convex.clj :as $.clj]))
;;;;;;;;;;
(T/deftest foo
(T/is (= 4
(+ 2
2))))
|
[
{
"context": "]]\n \n ])\n\n(defcard reagent-component\n \"lorenz ipsum\"\n (reagent/as-element [reagent-component-example",
"end": 467,
"score": 0.914070725440979,
"start": 455,
"tag": "NAME",
"value": "lorenz ipsum"
}
] | env/dev/clj/pinkgorilla/bongo.cljs | agilecreativity/gorilla-notebook | 0 |
(ns pinkgorilla.bongo
(:require
[devcards.core]
[reagent.core :as reagent])
(:require-macros
[devcards.core :as dc :refer [defcard defcard-rg defcard-doc]]))
(defn reagent-component-example []
[:div "hey there"
[:div.flex-auto.sans-serif.f6.bg-white.bb.b--near-white.bw2
[:div.sans-serif.pa2.f... | 88770 |
(ns pinkgorilla.bongo
(:require
[devcards.core]
[reagent.core :as reagent])
(:require-macros
[devcards.core :as dc :refer [defcard defcard-rg defcard-doc]]))
(defn reagent-component-example []
[:div "hey there"
[:div.flex-auto.sans-serif.f6.bg-white.bb.b--near-white.bw2
[:div.sans-serif.pa2.f... | true |
(ns pinkgorilla.bongo
(:require
[devcards.core]
[reagent.core :as reagent])
(:require-macros
[devcards.core :as dc :refer [defcard defcard-rg defcard-doc]]))
(defn reagent-component-example []
[:div "hey there"
[:div.flex-auto.sans-serif.f6.bg-white.bb.b--near-white.bw2
[:div.sans-serif.pa2.f... |
[
{
"context": " Rothko Chapel 2\" (:title data)))\n ; (is (= \"William Winant, Deborah Dietrich, Karen Rosenak, David Abel\" (:c",
"end": 406,
"score": 0.9997957944869995,
"start": 392,
"tag": "NAME",
"value": "William Winant"
},
{
"context": "2\" (:title data)))\n ; (is (= ... | test/now_playing_api/feed_test.clj | bhoggard/now-playing-api | 0 | (ns now-playing-api.feed-test
(:require [clojure.test :refer :all]
[cheshire.core :refer :all]
[clojure.xml :as xml]
[now-playing-api.feed :refer :all]))
(deftest test-feed
; (testing "earwaves parsing"
; (let [data (translate-somafm (xml/parse "test/data/earwaves.xml"))]
... | 57879 | (ns now-playing-api.feed-test
(:require [clojure.test :refer :all]
[cheshire.core :refer :all]
[clojure.xml :as xml]
[now-playing-api.feed :refer :all]))
(deftest test-feed
; (testing "earwaves parsing"
; (let [data (translate-somafm (xml/parse "test/data/earwaves.xml"))]
... | true | (ns now-playing-api.feed-test
(:require [clojure.test :refer :all]
[cheshire.core :refer :all]
[clojure.xml :as xml]
[now-playing-api.feed :refer :all]))
(deftest test-feed
; (testing "earwaves parsing"
; (let [data (translate-somafm (xml/parse "test/data/earwaves.xml"))]
... |
[
{
"context": "be derived from very simple assumptions, just like Sherlock Holmes does.\"\n\n \"(We can also decouple complex s",
"end": 835,
"score": 0.552267849445343,
"start": 827,
"tag": "NAME",
"value": "Sherlock"
},
{
"context": "om very simple assumptions, just like Sherlock H... | devcards/src/minikusari/tutorial2.cljs | frankiesardo/minikusari | 48 | (ns minikusari.tutorial2
(:require
[minikusari.core :refer [r]]
[devcards.core]
[datascript.core :as d])
(:require-macros
[devcards.core :as dc :refer [defcard-doc deftest]]
[cljs.test :refer [testing is]]))
(defcard-doc
"# Forward Chaining Inference for the modern detective"
"> Key concep... | 34571 | (ns minikusari.tutorial2
(:require
[minikusari.core :refer [r]]
[devcards.core]
[datascript.core :as d])
(:require-macros
[devcards.core :as dc :refer [defcard-doc deftest]]
[cljs.test :refer [testing is]]))
(defcard-doc
"# Forward Chaining Inference for the modern detective"
"> Key concep... | true | (ns minikusari.tutorial2
(:require
[minikusari.core :refer [r]]
[devcards.core]
[datascript.core :as d])
(:require-macros
[devcards.core :as dc :refer [defcard-doc deftest]]
[cljs.test :refer [testing is]]))
(defcard-doc
"# Forward Chaining Inference for the modern detective"
"> Key concep... |
[
{
"context": " data))))))\n\n (.emit socket \"conn\" #js {:nick \"notbrent-cljs\"\n :username \"notbren",
"end": 654,
"score": 0.7498388290405273,
"start": 641,
"tag": "USERNAME",
"value": "notbrent-cljs"
},
{
"context": "nt-cljs\"\n ... | client/cljs/src/shout_client/socket.cljs | brentvatne/shout-cljs-client | 0 | (ns shout-client.socket
(:require-macros [cljs.core.async.macros :refer [go]])
(:require [cljs.core.async :as async]
[clojure.walk :refer [keywordize-keys]]
[flux.dispatcher :as dispatcher :refer [dispatch!]]))
(def events
["msg" "error" "join" "nick" "network"])
(defn join [socket {:key... | 2944 | (ns shout-client.socket
(:require-macros [cljs.core.async.macros :refer [go]])
(:require [cljs.core.async :as async]
[clojure.walk :refer [keywordize-keys]]
[flux.dispatcher :as dispatcher :refer [dispatch!]]))
(def events
["msg" "error" "join" "nick" "network"])
(defn join [socket {:key... | true | (ns shout-client.socket
(:require-macros [cljs.core.async.macros :refer [go]])
(:require [cljs.core.async :as async]
[clojure.walk :refer [keywordize-keys]]
[flux.dispatcher :as dispatcher :refer [dispatch!]]))
(def events
["msg" "error" "join" "nick" "network"])
(defn join [socket {:key... |
[
{
"context": "flasj-slsajes___secret___\")\n\n(defonce users {\"user-1\" \"pass-1\"})\n\n(defonce permissions {\"user-1\" \"all\"",
"end": 392,
"score": 0.8587669134140015,
"start": 391,
"tag": "USERNAME",
"value": "1"
},
{
"context": "-slsajes___secret___\")\n\n(defonce users {\"use... | src/clj/fullstack/api.clj | danielmarreirosdeoliveira/fullstack-clj | 0 | (ns fullstack.api
(:require [ring.util.response :refer [resource-response]]
[ring.middleware.json :refer [wrap-json-response wrap-json-body]]
[compojure.core :as c]
[compojure.route :as route]
[fullstack.auth :as auth]
[fullstack.dispatch :as dispatch]))
(d... | 68961 | (ns fullstack.api
(:require [ring.util.response :refer [resource-response]]
[ring.middleware.json :refer [wrap-json-response wrap-json-body]]
[compojure.core :as c]
[compojure.route :as route]
[fullstack.auth :as auth]
[fullstack.dispatch :as dispatch]))
(d... | true | (ns fullstack.api
(:require [ring.util.response :refer [resource-response]]
[ring.middleware.json :refer [wrap-json-response wrap-json-body]]
[compojure.core :as c]
[compojure.route :as route]
[fullstack.auth :as auth]
[fullstack.dispatch :as dispatch]))
(d... |
[
{
"context": "onfig-val)\n)\n\n(def accounts {\n\t\"ac1\" (ref {:name \"Rajesh\" :balance 5000}) \n\t\"ac2\" (ref {:name \"Brijesh\" :b",
"end": 623,
"score": 0.9996976852416992,
"start": 617,
"tag": "NAME",
"value": "Rajesh"
},
{
"context": "ame \"Rajesh\" :balance 5000}) \n\t\"ac2\... | proj-b/src/apptest2/core.clj | jayaraj-poroor/clojure-training | 1 | (ns apptest2.core
(:gen-class)
;Illustrates modular development - requiring from another file.
(:require [apptest2.accounts :as acc] [apptest2.mod.employees :as emp])
(:import (java.io File FileReader))
(:use clojure.tools.trace)
)
;invoking functions "require'ed from another namespace.
(acc/f)
;(emp/f)... | 11044 | (ns apptest2.core
(:gen-class)
;Illustrates modular development - requiring from another file.
(:require [apptest2.accounts :as acc] [apptest2.mod.employees :as emp])
(:import (java.io File FileReader))
(:use clojure.tools.trace)
)
;invoking functions "require'ed from another namespace.
(acc/f)
;(emp/f)... | true | (ns apptest2.core
(:gen-class)
;Illustrates modular development - requiring from another file.
(:require [apptest2.accounts :as acc] [apptest2.mod.employees :as emp])
(:import (java.io File FileReader))
(:use clojure.tools.trace)
)
;invoking functions "require'ed from another namespace.
(acc/f)
;(emp/f)... |
[
{
"context": "y\n;because the buffers are large.\n(ns ^{ :author \"Alex Seewald\" }\n philharmonia-samples.sampled-saxophone\n (:u",
"end": 198,
"score": 0.9998767971992493,
"start": 186,
"tag": "NAME",
"value": "Alex Seewald"
}
] | data/train/clojure/57956302bee4d91f1bcbf2831e9c936eb228d4e1sampled_saxophone.clj | harshp8l/deep-learning-lang-detection | 84 | ;the sense in making a file for each instrument is that people can include them in their own namespaces individually, which can be costly
;because the buffers are large.
(ns ^{ :author "Alex Seewald" }
philharmonia-samples.sampled-saxophone
(:use [philharmonia-samples.sample-utils]
[overtone.live]))
(def s... | 14070 | ;the sense in making a file for each instrument is that people can include them in their own namespaces individually, which can be costly
;because the buffers are large.
(ns ^{ :author "<NAME>" }
philharmonia-samples.sampled-saxophone
(:use [philharmonia-samples.sample-utils]
[overtone.live]))
(def saxopho... | true | ;the sense in making a file for each instrument is that people can include them in their own namespaces individually, which can be costly
;because the buffers are large.
(ns ^{ :author "PI:NAME:<NAME>END_PI" }
philharmonia-samples.sampled-saxophone
(:use [philharmonia-samples.sample-utils]
[overtone.live]))... |
[
{
"context": "r 176)\n :data-key \"water-temperature\"\n :id \"water",
"end": 1488,
"score": 0.8572607040405273,
"start": 1471,
"tag": "KEY",
"value": "water-temperature"
}
] | src/main/app/ui/dashboard/water_temperature.cljs | joshuawood2894/fulcro_postgresql_mqtt_template | 0 | (ns app.ui.dashboard.water-temperature
(:require
[app.model.dashboard.water-temperature :as mwt]
[app.ui.dashboard.config :as dc]
[app.ui.antd.components :as ant]
[app.ui.data-logger.water-temperature :as dl]
[com.fulcrologic.fulcro.components :as comp :refer [defsc]]
[com.fulcrologic.fulcro.d... | 5223 | (ns app.ui.dashboard.water-temperature
(:require
[app.model.dashboard.water-temperature :as mwt]
[app.ui.dashboard.config :as dc]
[app.ui.antd.components :as ant]
[app.ui.data-logger.water-temperature :as dl]
[com.fulcrologic.fulcro.components :as comp :refer [defsc]]
[com.fulcrologic.fulcro.d... | true | (ns app.ui.dashboard.water-temperature
(:require
[app.model.dashboard.water-temperature :as mwt]
[app.ui.dashboard.config :as dc]
[app.ui.antd.components :as ant]
[app.ui.data-logger.water-temperature :as dl]
[com.fulcrologic.fulcro.components :as comp :refer [defsc]]
[com.fulcrologic.fulcro.d... |
[
{
"context": "on.types ObjectId]))\n\n(def uid \"mongo\")\n(def pwd \"secret\")\n\n(DateTimeZone/setDefault DateTimeZone/UTC)\n\n(d",
"end": 672,
"score": 0.9994483590126038,
"start": 666,
"tag": "PASSWORD",
"value": "secret"
}
] | src/notes/handler.clj | citerus/notes | 3 | (ns notes.handler
(:use [notes.paas]
[compojure.core]
[hiccup.core]
[hiccup.form]
[hiccup.page]
[hiccup.element]
[hiccup.util]
[ring.util.response]
[clj-time.core :only [now]])
(:require [clojure.string :as s]
[compojure.handler :as handler]
... | 86861 | (ns notes.handler
(:use [notes.paas]
[compojure.core]
[hiccup.core]
[hiccup.form]
[hiccup.page]
[hiccup.element]
[hiccup.util]
[ring.util.response]
[clj-time.core :only [now]])
(:require [clojure.string :as s]
[compojure.handler :as handler]
... | true | (ns notes.handler
(:use [notes.paas]
[compojure.core]
[hiccup.core]
[hiccup.form]
[hiccup.page]
[hiccup.element]
[hiccup.util]
[ring.util.response]
[clj-time.core :only [now]])
(:require [clojure.string :as s]
[compojure.handler :as handler]
... |
[
{
"context": ";;\n;; Author:: Adam Jacob (<adam@opscode.com>)\n;; Copyright:: Copyright (c)",
"end": 25,
"score": 0.9998548626899719,
"start": 15,
"tag": "NAME",
"value": "Adam Jacob"
},
{
"context": ";;\n;; Author:: Adam Jacob (<adam@opscode.com>)\n;; Copyright:: Copyright (c) 2011 ... | config/software/chef-server-cookbooks.clj | racker/omnibus | 2 | ;;
;; Author:: Adam Jacob (<adam@opscode.com>)
;; Copyright:: Copyright (c) 2011 Opscode, Inc.
;; License:: Apache License, Version 2.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
;; ... | 71143 | ;;
;; Author:: <NAME> (<<EMAIL>>)
;; Copyright:: Copyright (c) 2011 Opscode, Inc.
;; License:: Apache License, Version 2.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:... | true | ;;
;; Author:: PI:NAME:<NAME>END_PI (<PI:EMAIL:<EMAIL>END_PI>)
;; Copyright:: Copyright (c) 2011 Opscode, Inc.
;; License:: Apache License, Version 2.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 th... |
[
{
"context": " :swagger/default \"Martin scorcose\"\n }\n ",
"end": 1661,
"score": 0.999876081943512,
"start": 1646,
"tag": "NAME",
"value": "Martin scorcose"
},
{
"context": " :actors (crea... | workspace/moviebookingappv1/src/clj/moviebookingappv1/routes/apis.clj | muthuishere/clojure-web-fundamentals | 0 | (ns moviebookingappv1.routes.apis
(:require
[reitit.swagger :as swagger]
[clojure.java.io :as io]
[reitit.swagger-ui :as swagger-ui]
[reitit.ring.coercion :as coercion]
[reitit.coercion.spec :as spec-coercion]
[reitit.ring.middleware.muuntaja :as muuntaja]
[reitit.ring.middleware.multipart... | 7790 | (ns moviebookingappv1.routes.apis
(:require
[reitit.swagger :as swagger]
[clojure.java.io :as io]
[reitit.swagger-ui :as swagger-ui]
[reitit.ring.coercion :as coercion]
[reitit.coercion.spec :as spec-coercion]
[reitit.ring.middleware.muuntaja :as muuntaja]
[reitit.ring.middleware.multipart... | true | (ns moviebookingappv1.routes.apis
(:require
[reitit.swagger :as swagger]
[clojure.java.io :as io]
[reitit.swagger-ui :as swagger-ui]
[reitit.ring.coercion :as coercion]
[reitit.coercion.spec :as spec-coercion]
[reitit.ring.middleware.muuntaja :as muuntaja]
[reitit.ring.middleware.multipart... |
[
{
"context": "test round-trips-docs\n (let [alice {:crux.db/id :alice, :name \"Alice\"}\n alice-key (c/new-id alice",
"end": 210,
"score": 0.5926448702812195,
"start": 205,
"tag": "USERNAME",
"value": "alice"
},
{
"context": "ps-docs\n (let [alice {:crux.db/id :alice, :name ... | crux-test/src/crux/doc_store_test.clj | deobald/crux | 0 | (ns crux.doc-store-test
(:require [clojure.test :as t]
[crux.db :as db]
[crux.codec :as c]))
(def ^:dynamic *doc-store*)
(t/deftest round-trips-docs
(let [alice {:crux.db/id :alice, :name "Alice"}
alice-key (c/new-id alice)
bob {:crux.db/id :bob, :name "Bob"}
bob-ke... | 1873 | (ns crux.doc-store-test
(:require [clojure.test :as t]
[crux.db :as db]
[crux.codec :as c]))
(def ^:dynamic *doc-store*)
(t/deftest round-trips-docs
(let [alice {:crux.db/id :alice, :name "<NAME>"}
alice-key (c/new-id alice)
bob {:crux.db/id :bob, :name "<NAME>"}
bo... | true | (ns crux.doc-store-test
(:require [clojure.test :as t]
[crux.db :as db]
[crux.codec :as c]))
(def ^:dynamic *doc-store*)
(t/deftest round-trips-docs
(let [alice {:crux.db/id :alice, :name "PI:NAME:<NAME>END_PI"}
alice-key (c/new-id alice)
bob {:crux.db/id :bob, :name "PI:NA... |
[
{
"context": "advance-counter 1 {:placed true}))}]})\n\n(defcard \"Award Bait\"\n {:flags {:rd-reveal (req true)}\n :access {:a",
"end": 9603,
"score": 0.9655091762542725,
"start": 9593,
"tag": "NAME",
"value": "Award Bait"
},
{
"context": "range-rd\n :stolen arrange-rd})))\... | src/clj/game/cards/agendas.clj | cmsd2/netrunner | 0 | (ns game.cards.agendas
(:require [game.core :refer :all]
[game.utils :refer :all]
[jinteki.utils :refer :all]
[clojure.string :as string]
[clojure.set :as clj-set]))
(defn ice-boost-agenda [subtype]
(letfn [(count-ice [corp]
(reduce (fn [c server]
... | 55506 | (ns game.cards.agendas
(:require [game.core :refer :all]
[game.utils :refer :all]
[jinteki.utils :refer :all]
[clojure.string :as string]
[clojure.set :as clj-set]))
(defn ice-boost-agenda [subtype]
(letfn [(count-ice [corp]
(reduce (fn [c server]
... | true | (ns game.cards.agendas
(:require [game.core :refer :all]
[game.utils :refer :all]
[jinteki.utils :refer :all]
[clojure.string :as string]
[clojure.set :as clj-set]))
(defn ice-boost-agenda [subtype]
(letfn [(count-ice [corp]
(reduce (fn [c server]
... |
[
{
"context": "ays of looping and doing recursion.\"\n\n {:author \"Adam Helinski\"}\n\n (:require [clojure.test.check.generators :as",
"end": 111,
"score": 0.9991143345832825,
"start": 98,
"tag": "NAME",
"value": "Adam Helinski"
}
] | project/break/src/clj/test/convex/test/break/loop.clj | rosejn/convex.cljc | 30 | (ns convex.test.break.loop
"Testing various ways of looping and doing recursion."
{:author "Adam Helinski"}
(:require [clojure.test.check.generators :as TC.gen]
[clojure.test.check.properties :as TC.prop]
[convex.break]
[convex.clj.eval :as $.clj.eval]
... | 54011 | (ns convex.test.break.loop
"Testing various ways of looping and doing recursion."
{:author "<NAME>"}
(:require [clojure.test.check.generators :as TC.gen]
[clojure.test.check.properties :as TC.prop]
[convex.break]
[convex.clj.eval :as $.clj.eval]
[co... | true | (ns convex.test.break.loop
"Testing various ways of looping and doing recursion."
{:author "PI:NAME:<NAME>END_PI"}
(:require [clojure.test.check.generators :as TC.gen]
[clojure.test.check.properties :as TC.prop]
[convex.break]
[convex.clj.eval :as $.clj.eval]
... |
[
{
"context": "(ns ^{:doc \"TODO\"\n :author \"Jude Payne\"}\n loom-viz.graph\n (:require [rhizome.dot ",
"end": 43,
"score": 0.9998888373374939,
"start": 33,
"tag": "NAME",
"value": "Jude Payne"
}
] | src/loom_viz/graph.cljc | judepayne/loom-viz | 0 | (ns ^{:doc "TODO"
:author "Jude Payne"}
loom-viz.graph
(:require [rhizome.dot :as rhidot]
[loom.graph :as loom.graph]
[extra-loom.multigraph :as extra-loom]
[loom.attr :as loom.attr]
... | 93111 | (ns ^{:doc "TODO"
:author "<NAME>"}
loom-viz.graph
(:require [rhizome.dot :as rhidot]
[loom.graph :as loom.graph]
[extra-loom.multigraph :as extra-loom]
[loom.attr :as loom.attr]
... | true | (ns ^{:doc "TODO"
:author "PI:NAME:<NAME>END_PI"}
loom-viz.graph
(:require [rhizome.dot :as rhidot]
[loom.graph :as loom.graph]
[extra-loom.multigraph :as extra-loom]
[loom.attr :as loom.attr... |
[
{
"context": "outes namespace.\n;; Copyright 2011-2012, Vixu.com, F.M. (Filip) de Waard <fmw@vixu.com>.\n;;\n;; Licensed und",
"end": 93,
"score": 0.9989639520645142,
"start": 90,
"tag": "NAME",
"value": "F.M"
},
{
"context": "amespace.\n;; Copyright 2011-2012, Vixu.com, F.M. (Filip)... | test/clj/vix/test/routes.clj | fmw/vix | 22 | ;; test/vix/test/routes.clj tests for routes namespace.
;; Copyright 2011-2012, Vixu.com, F.M. (Filip) de Waard <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:... | 11926 | ;; test/vix/test/routes.clj tests for routes namespace.
;; Copyright 2011-2012, Vixu.com, <NAME>. (<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.apach... | true | ;; test/vix/test/routes.clj tests for routes namespace.
;; Copyright 2011-2012, Vixu.com, PI:NAME:<NAME>END_PI. (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 co... |
[
{
"context": "(ns com.github.hindol.fire-tools\n (:require [rum.core :as rum]\n ",
"end": 21,
"score": 0.8181939721107483,
"start": 15,
"tag": "USERNAME",
"value": "hindol"
},
{
"context": "tainer-fluid\n [:a.navbar-brand {:href \"#\"} \"F.I.R.E. Tools\"]\n (NavbarTo... | src/com/github/hindol/fire_tools.cljs | hindol/fire-tools | 0 | (ns com.github.hindol.fire-tools
(:require [rum.core :as rum]
[citrus.core :as citrus]))
(def initial-state 0)
(defmulti control (fn [event] event))
(defmethod control :init
[]
{:local-storage
{:method :get
:key :counter
:on-read :init-ready}})
(defmethod control :init-ready
[_ [... | 39201 | (ns com.github.hindol.fire-tools
(:require [rum.core :as rum]
[citrus.core :as citrus]))
(def initial-state 0)
(defmulti control (fn [event] event))
(defmethod control :init
[]
{:local-storage
{:method :get
:key :counter
:on-read :init-ready}})
(defmethod control :init-ready
[_ [... | true | (ns com.github.hindol.fire-tools
(:require [rum.core :as rum]
[citrus.core :as citrus]))
(def initial-state 0)
(defmulti control (fn [event] event))
(defmethod control :init
[]
{:local-storage
{:method :get
:key :counter
:on-read :init-ready}})
(defmethod control :init-ready
[_ [... |
[
{
"context": " :type \"test_type\"\n :id \"HaShMe\"\n :source {:first-name \"Kelis\"\n ",
"end": 2791,
"score": 0.5371279716491699,
"start": 2789,
"tag": "USERNAME",
"value": "Me"
},
{
"context": " :id \"HaShMe\"\n :source {:first-na... | qanal/src/qanal/elasticsearch.clj | samsara/samsara | 146 | ;; Licensed to the Apache Software Foundation (ASF) under one
;; or more contributor license agreements. See the NOTICE file
;; distributed with this work for additional information
;; regarding copyright ownership. The ASF licenses this file
;; to you under the Apache License, Version 2.0 (the
;; "License"); you may... | 92029 | ;; Licensed to the Apache Software Foundation (ASF) under one
;; or more contributor license agreements. See the NOTICE file
;; distributed with this work for additional information
;; regarding copyright ownership. The ASF licenses this file
;; to you under the Apache License, Version 2.0 (the
;; "License"); you may... | true | ;; Licensed to the Apache Software Foundation (ASF) under one
;; or more contributor license agreements. See the NOTICE file
;; distributed with this work for additional information
;; regarding copyright ownership. The ASF licenses this file
;; to you under the Apache License, Version 2.0 (the
;; "License"); you may... |
[
{
"context": "their description of\n the SME algorithm.\n\n [1] Falkenhainer, Forbus & Gentner (1989). The structure-mapping e",
"end": 374,
"score": 0.9998536109924316,
"start": 362,
"tag": "NAME",
"value": "Falkenhainer"
},
{
"context": "ion of\n the SME algorithm.\n\n [1] ... | src/sme_clj/example/simple_heat_water.clj | svdm/SME-clj | 6 |
(ns sme-clj.example.simple-heat-water
"Example adapted from SME literature [1], of an analogy between the flow of
water from a large beaker through a pipe to a small vial, and the flow of
heat from a cup of coffee through a bar into an ice cube.
This is the running example Falkenhainer et al. use in their des... | 8516 |
(ns sme-clj.example.simple-heat-water
"Example adapted from SME literature [1], of an analogy between the flow of
water from a large beaker through a pipe to a small vial, and the flow of
heat from a cup of coffee through a bar into an ice cube.
This is the running example Falkenhainer et al. use in their des... | true |
(ns sme-clj.example.simple-heat-water
"Example adapted from SME literature [1], of an analogy between the flow of
water from a large beaker through a pipe to a small vial, and the flow of
heat from a cup of coffee through a bar into an ice cube.
This is the running example Falkenhainer et al. use in their des... |
[
{
"context": "or IPersistentMap IPersistentList ISeq)))\n\n; Thx @ Alex Miller! http://www.ibm.com/developerworks/library/j-tree",
"end": 207,
"score": 0.999462902545929,
"start": 196,
"tag": "NAME",
"value": "Alex Miller"
}
] | src/main/rksm/cloxp_trace/transform.clj | rksm/cloxp-trace | 2 | (ns rksm.cloxp-trace.transform
(:require [clojure.zip :as z]
[clojure.pprint :refer :all])
(:import (clojure.lang IPersistentVector IPersistentMap IPersistentList ISeq)))
; Thx @ Alex Miller! http://www.ibm.com/developerworks/library/j-treevisit/
(defmulti tree-branch? class)
(defmethod tree-branch? :... | 88137 | (ns rksm.cloxp-trace.transform
(:require [clojure.zip :as z]
[clojure.pprint :refer :all])
(:import (clojure.lang IPersistentVector IPersistentMap IPersistentList ISeq)))
; Thx @ <NAME>! http://www.ibm.com/developerworks/library/j-treevisit/
(defmulti tree-branch? class)
(defmethod tree-branch? :defau... | true | (ns rksm.cloxp-trace.transform
(:require [clojure.zip :as z]
[clojure.pprint :refer :all])
(:import (clojure.lang IPersistentVector IPersistentMap IPersistentList ISeq)))
; Thx @ PI:NAME:<NAME>END_PI! http://www.ibm.com/developerworks/library/j-treevisit/
(defmulti tree-branch? class)
(defmethod tree-... |
[
{
"context": "all]))\n\n\n(defn setup\n []\n (h/create-test-user! \"success+1@simulator.amazonses.com\")\n (h/create-test-user! \"success+2@simulator.ama",
"end": 319,
"score": 0.9999262094497681,
"start": 286,
"tag": "EMAIL",
"value": "success+1@simulator.amazonses.com"
},
{
"con... | api/test/feature/flow/query/authorisations_test.clj | kgxsz/flow | 0 | (ns flow.query.authorisations-test
(:require [flow.core :refer :all]
[flow.entity.authorisation :as authorisation]
[flow.entity.user :as user]
[flow.helpers :as h]
[clojure.test :refer :all]))
(defn setup
[]
(h/create-test-user! "success+1@simulator.amazonses.com"... | 5334 | (ns flow.query.authorisations-test
(:require [flow.core :refer :all]
[flow.entity.authorisation :as authorisation]
[flow.entity.user :as user]
[flow.helpers :as h]
[clojure.test :refer :all]))
(defn setup
[]
(h/create-test-user! "<EMAIL>")
(h/create-test-user! "... | true | (ns flow.query.authorisations-test
(:require [flow.core :refer :all]
[flow.entity.authorisation :as authorisation]
[flow.entity.user :as user]
[flow.helpers :as h]
[clojure.test :refer :all]))
(defn setup
[]
(h/create-test-user! "PI:EMAIL:<EMAIL>END_PI")
(h/crea... |
[
{
"context": "s \"Hello\" from client, replies with \"World\"\n;;\n;; Isaiah Peng <issaria@gmail.com>\n;;\n\n(ns hwserver\n (:refer-cl",
"end": 146,
"score": 0.9998601078987122,
"start": 135,
"tag": "NAME",
"value": "Isaiah Peng"
},
{
"context": " client, replies with \"World\"\n;;... | docs/zeroMQ-guide2/examples/Clojure/hwserver.clj | krattai/noo-ebs | 2 | ;;
;; Hello World server in Clojure
;; Binds REP socket to tcp://*:5555
;; Expects "Hello" from client, replies with "World"
;;
;; Isaiah Peng <issaria@gmail.com>
;;
(ns hwserver
(:refer-clojure :exclude [send])
(:require [zhelpers :as mq]))
(defn -main []
(let [sock (-> 1 mq/context (mq/socket mq/rep))]
... | 55002 | ;;
;; Hello World server in Clojure
;; Binds REP socket to tcp://*:5555
;; Expects "Hello" from client, replies with "World"
;;
;; <NAME> <<EMAIL>>
;;
(ns hwserver
(:refer-clojure :exclude [send])
(:require [zhelpers :as mq]))
(defn -main []
(let [sock (-> 1 mq/context (mq/socket mq/rep))]
(mq/bind sock... | true | ;;
;; Hello World server in Clojure
;; Binds REP socket to tcp://*:5555
;; Expects "Hello" from client, replies with "World"
;;
;; PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
;;
(ns hwserver
(:refer-clojure :exclude [send])
(:require [zhelpers :as mq]))
(defn -main []
(let [sock (-> 1 mq/context (mq/socke... |
[
{
"context": "t [ msg ]\n (.get xhr (str \"http://admin:Pa$$w0rd@127.0.0.1:5984/\" msg)\n (fn [err res body]\n ",
"end": 513,
"score": 0.9997073411941528,
"start": 504,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": "t [ msg ]\n (.put xhr (str \"http://ad... | src/server/util.cljs | tecumsehcommunications/Website | 0 | (ns server.util
(:require [cljs.nodejs :as node])
(:import goog.dom))
(def root "/usr/local/lib/node_modules/")
; (def fs (node/require "fs"))
; (def gm (node/require (str root "gm")))
; (def parser (node/require (str root "node-html-parser")))
(def mongodb (node/require (str root "mongodb")))
(def wss (node... | 100083 | (ns server.util
(:require [cljs.nodejs :as node])
(:import goog.dom))
(def root "/usr/local/lib/node_modules/")
; (def fs (node/require "fs"))
; (def gm (node/require (str root "gm")))
; (def parser (node/require (str root "node-html-parser")))
(def mongodb (node/require (str root "mongodb")))
(def wss (node... | true | (ns server.util
(:require [cljs.nodejs :as node])
(:import goog.dom))
(def root "/usr/local/lib/node_modules/")
; (def fs (node/require "fs"))
; (def gm (node/require (str root "gm")))
; (def parser (node/require (str root "node-html-parser")))
(def mongodb (node/require (str root "mongodb")))
(def wss (node... |
[
{
"context": ";; Copyright (c) 2019, 2020 Will Cohen\n;;\n;; Licensed under the Apache License, Version ",
"end": 38,
"score": 0.9997742772102356,
"start": 28,
"tag": "NAME",
"value": "Will Cohen"
}
] | src/aurelius/census.clj | willcohen/aurelius | 10 | ;; Copyright (c) 2019, 2020 Will Cohen
;;
;; 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... | 25455 | ;; Copyright (c) 2019, 2020 <NAME>
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in... | true | ;; Copyright (c) 2019, 2020 PI:NAME:<NAME>END_PI
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law o... |
[
{
"context": "ks like and feels like. Design is how it works. -- Steve Jobs\"))\n\n\n;; general card view om componnet\n(defn card",
"end": 3475,
"score": 0.9956686496734619,
"start": 3465,
"tag": "NAME",
"value": "Steve Jobs"
}
] | src/assistant/core.cljs | 29decibel/assistant | 306 | (ns assistant.core
(:require-macros [cljs.core.async.macros :refer [go]])
(:require [cljs-http.client :as http]
[cljs.reader :as reader]
[garden.core :refer [css]]
[cognitect.transit :as t]
[cljs.core.async :refer [<! >! chan]]
[hickory.core :as hk]
... | 86073 | (ns assistant.core
(:require-macros [cljs.core.async.macros :refer [go]])
(:require [cljs-http.client :as http]
[cljs.reader :as reader]
[garden.core :refer [css]]
[cognitect.transit :as t]
[cljs.core.async :refer [<! >! chan]]
[hickory.core :as hk]
... | true | (ns assistant.core
(:require-macros [cljs.core.async.macros :refer [go]])
(:require [cljs-http.client :as http]
[cljs.reader :as reader]
[garden.core :refer [css]]
[cognitect.transit :as t]
[cljs.core.async :refer [<! >! chan]]
[hickory.core :as hk]
... |
[
{
"context": "1em482svs0uojb8u7kmooulmmj\"}\n {:username \"zk+test-rx@heyzk.com\"\n :password \"Test1234\"})\n <?\n ",
"end": 916,
"score": 0.9997372627258301,
"start": 896,
"tag": "EMAIL",
"value": "zk+test-rx@heyzk.com"
},
{
"context": "rname \"zk+test-rx... | src/cljs-node/rx/node/box/sync_server_test.cljs | zk/rx-lib | 0 | (ns rx.node.box.sync-server-test
(:require [rx.kitchen-sink :as ks]
[rx.node.box.sync-server :as r]
[rx.res :as res]
[rx.node.aws :as aws]
[rx.test :as test
:refer-macros [deftest <deftest]]
[rx.anom :as anom :refer-macros [<defn <?]]
... | 46075 | (ns rx.node.box.sync-server-test
(:require [rx.kitchen-sink :as ks]
[rx.node.box.sync-server :as r]
[rx.res :as res]
[rx.node.aws :as aws]
[rx.test :as test
:refer-macros [deftest <deftest]]
[rx.anom :as anom :refer-macros [<defn <?]]
... | true | (ns rx.node.box.sync-server-test
(:require [rx.kitchen-sink :as ks]
[rx.node.box.sync-server :as r]
[rx.res :as res]
[rx.node.aws :as aws]
[rx.test :as test
:refer-macros [deftest <deftest]]
[rx.anom :as anom :refer-macros [<defn <?]]
... |
[
{
"context": " Map is a form, see map/Maps.clj\n(println {:name \"Cesar\" :age 50})\n\n;A Set is a form, sett set/Sets.clj\n(",
"end": 802,
"score": 0.9998660087585449,
"start": 797,
"tag": "NAME",
"value": "Cesar"
},
{
"context": "\n\n;A Set is a form, sett set/Sets.clj\n(println #{... | clojure/forms/forms.clj | miroadamy/language-matrix | 15 | ; Chunks of data read by the clojure reader.
; A number is a form, see number/Numbers.clj
(println 22)
(println 44.3)
; A Vector is a form, see vector/Vector.clj
(println [1 2 3])
; A List is a form see list/Lists.clj
(println 1 2 3)
; A List with a function is also a form, see function/Functions.clj
; Having the +... | 18793 | ; Chunks of data read by the clojure reader.
; A number is a form, see number/Numbers.clj
(println 22)
(println 44.3)
; A Vector is a form, see vector/Vector.clj
(println [1 2 3])
; A List is a form see list/Lists.clj
(println 1 2 3)
; A List with a function is also a form, see function/Functions.clj
; Having the +... | true | ; Chunks of data read by the clojure reader.
; A number is a form, see number/Numbers.clj
(println 22)
(println 44.3)
; A Vector is a form, see vector/Vector.clj
(println [1 2 3])
; A List is a form see list/Lists.clj
(println 1 2 3)
; A List with a function is also a form, see function/Functions.clj
; Having the +... |
[
{
"context": "tart as opposed to waiting for it to finish\n(force jackson-5-delay)\n;; => \"First deref: Just call my name and I'll b",
"end": 2099,
"score": 0.8903940320014954,
"start": 2084,
"tag": "USERNAME",
"value": "jackson-5-delay"
},
{
"context": "re\"\n;; => \"Just call my n... | code/clojure-noob/src/clojure_noob/ch9.clj | itsrainingmani/learn-clojure-in-public | 7 | (ns clojure-noob.ch9
(:require [clojure.string :as str]
[clojure.repl :as repl])
(:import (java.net URLEncoder))
(:gen-class))
;; Concurrency - managing more than one task at the same time
;; Parallelism - executing more than one task at the same time
(let [result (future (println "this prints once"... | 73348 | (ns clojure-noob.ch9
(:require [clojure.string :as str]
[clojure.repl :as repl])
(:import (java.net URLEncoder))
(:gen-class))
;; Concurrency - managing more than one task at the same time
;; Parallelism - executing more than one task at the same time
(let [result (future (println "this prints once"... | true | (ns clojure-noob.ch9
(:require [clojure.string :as str]
[clojure.repl :as repl])
(:import (java.net URLEncoder))
(:gen-class))
;; Concurrency - managing more than one task at the same time
;; Parallelism - executing more than one task at the same time
(let [result (future (println "this prints once"... |
[
{
"context": ";; copyright (c) 2021 Michaël Salihi, all rights reserved\n\n(ns usermanager.system\n (:",
"end": 36,
"score": 0.9998747110366821,
"start": 22,
"tag": "NAME",
"value": "Michaël Salihi"
}
] | src/usermanager/system.clj | prestancedesign/usermanager-inertia-example | 3 | ;; copyright (c) 2021 Michaël Salihi, all rights reserved
(ns usermanager.system
(:require [integrant.core :as ig]
[next.jdbc :as jdbc]
[next.jdbc.result-set :as rs]
[ring.adapter.jetty :refer [run-jetty]]
[usermanager.handler :as handler]
[usermanager.mode... | 107833 | ;; copyright (c) 2021 <NAME>, all rights reserved
(ns usermanager.system
(:require [integrant.core :as ig]
[next.jdbc :as jdbc]
[next.jdbc.result-set :as rs]
[ring.adapter.jetty :refer [run-jetty]]
[usermanager.handler :as handler]
[usermanager.model.user-m... | true | ;; copyright (c) 2021 PI:NAME:<NAME>END_PI, all rights reserved
(ns usermanager.system
(:require [integrant.core :as ig]
[next.jdbc :as jdbc]
[next.jdbc.result-set :as rs]
[ring.adapter.jetty :refer [run-jetty]]
[usermanager.handler :as handler]
[usermanage... |
[
{
"context": "! *unchecked-math* :warn-on-boxed)\n(ns ^{:author \"John Alan McDonald\" :date \"2015-11-18\"\n :doc \"Unit tests for za",
"end": 105,
"score": 0.9998773336410522,
"start": 87,
"tag": "NAME",
"value": "John Alan McDonald"
}
] | src/test/clojure/zana/test/math/prng.clj | wahpenayo/zana | 2 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "John Alan McDonald" :date "2015-11-18"
:doc "Unit tests for zana.stats.prng." }
zana.test.math.prng
(:require [clojure.test :as test]
[zana.stats.prng :as prng])
(:import [org.uncommons.maths.bin... | 71384 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "<NAME>" :date "2015-11-18"
:doc "Unit tests for zana.stats.prng." }
zana.test.math.prng
(:require [clojure.test :as test]
[zana.stats.prng :as prng])
(:import [org.uncommons.maths.binary BinaryUt... | true | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "PI:NAME:<NAME>END_PI" :date "2015-11-18"
:doc "Unit tests for zana.stats.prng." }
zana.test.math.prng
(:require [clojure.test :as test]
[zana.stats.prng :as prng])
(:import [org.uncommons.maths.b... |
[
{
"context": " (str v)] {:key (str \"gae-s-\" v)}))\n v-schema)",
"end": 4336,
"score": 0.6351317763328552,
"start": 4329,
"tag": "KEY",
"value": "gae-s-\""
}
] | src/cljs/cocdan/modals/general_attr_editor.cljs | chaomi1998/cocdan | 3 | (ns cocdan.modals.general-attr-editor
(:require
[reagent.core :as r]
[cocdan.auxiliary :as aux]
[re-frame.core :as rf]))
(defonce active? (r/atom false))
(defonce attrs (r/atom nil))
(defonce col-keys (r/atom nil))
(defonce base-key (r/atom nil))
(defonce schema (r/atom {}))
(sort (:substage @schema))
(au... | 40497 | (ns cocdan.modals.general-attr-editor
(:require
[reagent.core :as r]
[cocdan.auxiliary :as aux]
[re-frame.core :as rf]))
(defonce active? (r/atom false))
(defonce attrs (r/atom nil))
(defonce col-keys (r/atom nil))
(defonce base-key (r/atom nil))
(defonce schema (r/atom {}))
(sort (:substage @schema))
(au... | true | (ns cocdan.modals.general-attr-editor
(:require
[reagent.core :as r]
[cocdan.auxiliary :as aux]
[re-frame.core :as rf]))
(defonce active? (r/atom false))
(defonce attrs (r/atom nil))
(defonce col-keys (r/atom nil))
(defonce base-key (r/atom nil))
(defonce schema (r/atom {}))
(sort (:substage @schema))
(au... |
[
{
"context": ";; Copyright © 2015-2021 Esko Luontola\n;; This software is released under the Apache Lic",
"end": 38,
"score": 0.999875545501709,
"start": 25,
"tag": "NAME",
"value": "Esko Luontola"
},
{
"context": "ong/parseLong port)\n :user user\n :password password\n :... | test/territory_bro/api_test.clj | luontola/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 ^:slow territory-bro.api-test
(:require [clj-xpath.core :as xpath]
[clojure.java.io :as io]
[clojure.java.jdbc :as jdbc]
... | 80511 | ;; 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 ^:slow territory-bro.api-test
(:require [clj-xpath.core :as xpath]
[clojure.java.io :as io]
[clojure.java.jdbc :as jdbc]
... | 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 ^:slow territory-bro.api-test
(:require [clj-xpath.core :as xpath]
[clojure.java.io :as io]
[clojure.java.jdbc :as ... |
[
{
"context": " (map :itemLabel)\n;; (into #{}))\n;;=> #{\"Marcus Furius Camillus\" \"Avianus\" \"Porcia Catonis\" \"Faustina the Elder\" ",
"end": 2647,
"score": 0.9998204708099365,
"start": 2625,
"tag": "NAME",
"value": "Marcus Furius Camillus"
},
{
"context": " (into #... | src/mundaneum/examples.clj | ngrunwald/mundaneum | 0 | (ns mundaneum.examples
(:require [mundaneum.query :refer [describe entity label property query stringify-query *default-language*]]
[backtick :refer [template]]
[clj-time.format :as tf]))
;; To understand what's happening here, it would be a good idea to
;; read through thi... | 30640 | (ns mundaneum.examples
(:require [mundaneum.query :refer [describe entity label property query stringify-query *default-language*]]
[backtick :refer [template]]
[clj-time.format :as tf]))
;; To understand what's happening here, it would be a good idea to
;; read through thi... | true | (ns mundaneum.examples
(:require [mundaneum.query :refer [describe entity label property query stringify-query *default-language*]]
[backtick :refer [template]]
[clj-time.format :as tf]))
;; To understand what's happening here, it would be a good idea to
;; read through thi... |
[
{
"context": "(ns ^{:author \"Leeor Engel\"}\n chapter-3.chapter-3-q1\n (:import (clojure.la",
"end": 26,
"score": 0.9998949766159058,
"start": 15,
"tag": "NAME",
"value": "Leeor Engel"
}
] | Clojure/src/chapter_3/chapter_3_q1.clj | Kiandr/crackingcodinginterview | 0 | (ns ^{:author "Leeor Engel"}
chapter-3.chapter-3-q1
(:import (clojure.lang Atom)))
(defprotocol Stacks
(stack-pop [this stack-num])
(stack-peek [this stack-num])
(stack-push [this stack-num x])
(stack-empty? [this stack-num]))
(defn- peek-with-fn [n stack-num stacks post-peek-fn]
{:pre [(<= 1 stack-num ... | 33820 | (ns ^{:author "<NAME>"}
chapter-3.chapter-3-q1
(:import (clojure.lang Atom)))
(defprotocol Stacks
(stack-pop [this stack-num])
(stack-peek [this stack-num])
(stack-push [this stack-num x])
(stack-empty? [this stack-num]))
(defn- peek-with-fn [n stack-num stacks post-peek-fn]
{:pre [(<= 1 stack-num 3)]}
... | true | (ns ^{:author "PI:NAME:<NAME>END_PI"}
chapter-3.chapter-3-q1
(:import (clojure.lang Atom)))
(defprotocol Stacks
(stack-pop [this stack-num])
(stack-peek [this stack-num])
(stack-push [this stack-num x])
(stack-empty? [this stack-num]))
(defn- peek-with-fn [n stack-num stacks post-peek-fn]
{:pre [(<= 1 s... |
[
{
"context": ":latitude \"6457.934248,N\"})\n\n(def valid-password \"joujou\")\n(def valid-password-params {:X-foobar \"bar\",\n ",
"end": 488,
"score": 0.9995114803314209,
"start": 482,
"tag": "PASSWORD",
"value": "joujou"
},
{
"context": "6.100084,E\",\n ... | test/ruuvi_server/tracker_security_test.clj | RuuviTracker/ruuvitracker_server | 1 | (ns ruuvi-server.tracker-security-test
(:use midje.sweet
ruuvi-server.tracker-security)
)
(def valid-mac "17e4ccf60f766710d0695348d7fda63cee0a3d46")
(def valid-params {:X-foobar "bar",
:tracker_code "foobar",
:longitude "02536.100084,E",
:mac valid-m... | 87914 | (ns ruuvi-server.tracker-security-test
(:use midje.sweet
ruuvi-server.tracker-security)
)
(def valid-mac "17e4ccf60f766710d0695348d7fda63cee0a3d46")
(def valid-params {:X-foobar "bar",
:tracker_code "foobar",
:longitude "02536.100084,E",
:mac valid-m... | true | (ns ruuvi-server.tracker-security-test
(:use midje.sweet
ruuvi-server.tracker-security)
)
(def valid-mac "17e4ccf60f766710d0695348d7fda63cee0a3d46")
(def valid-params {:X-foobar "bar",
:tracker_code "foobar",
:longitude "02536.100084,E",
:mac valid-m... |
[
{
"context": "j -- simple call-tracing macros for Clojure\n\n;; by Stuart Sierra, http://stuartsierra.com/\n;; December 3, 2008\n\n;;",
"end": 76,
"score": 0.9998924136161804,
"start": 63,
"tag": "NAME",
"value": "Stuart Sierra"
},
{
"context": "tsierra.com/\n;; December 3, 2008\n\n;... | ThirdParty/clojure-contrib-1.1.0/src/clojure/contrib/trace.clj | allertonm/Couverjure | 3 | ;;; trace.clj -- simple call-tracing macros for Clojure
;; by Stuart Sierra, http://stuartsierra.com/
;; December 3, 2008
;; Copyright (c) Stuart Sierra, 2008. All rights reserved. The use
;; and distribution terms for this software are covered by the Eclipse
;; Public License 1.0 (http://opensource.org/licenses/ecl... | 107182 | ;;; trace.clj -- simple call-tracing macros for Clojure
;; by <NAME>, http://stuartsierra.com/
;; December 3, 2008
;; Copyright (c) <NAME>, 2008. 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)
... | true | ;;; trace.clj -- simple call-tracing macros for Clojure
;; by PI:NAME:<NAME>END_PI, http://stuartsierra.com/
;; December 3, 2008
;; Copyright (c) PI:NAME:<NAME>END_PI, 2008. All rights reserved. The use
;; and distribution terms for this software are covered by the Eclipse
;; Public License 1.0 (http://opensource.or... |
[
{
"context": " load-file from ~/.clojure/deps.edn\n\n Stolen from Sean Corfield's configurations https://github.com/seancorfield/",
"end": 86,
"score": 0.9998881816864014,
"start": 73,
"tag": "NAME",
"value": "Sean Corfield"
},
{
"context": "Sean Corfield's configurations https://gi... | clojure/dev.clj | wandersoncferreira/dotfiles | 37 | (ns dev
"Invoked via load-file from ~/.clojure/deps.edn
Stolen from Sean Corfield's configurations https://github.com/seancorfield/dot-clojure"
(:require [clojure.string :as str]
[clojure.repl :refer [demunge]]))
(defn- ellipsis [s n] (if (< n (count s)) (str "..." (subs s (- (count s) n))) s))
(de... | 22208 | (ns dev
"Invoked via load-file from ~/.clojure/deps.edn
Stolen from <NAME>'s configurations https://github.com/seancorfield/dot-clojure"
(:require [clojure.string :as str]
[clojure.repl :refer [demunge]]))
(defn- ellipsis [s n] (if (< n (count s)) (str "..." (subs s (- (count s) n))) s))
(defn- cle... | true | (ns dev
"Invoked via load-file from ~/.clojure/deps.edn
Stolen from PI:NAME:<NAME>END_PI's configurations https://github.com/seancorfield/dot-clojure"
(:require [clojure.string :as str]
[clojure.repl :refer [demunge]]))
(defn- ellipsis [s n] (if (< n (count s)) (str "..." (subs s (- (count s) n))) s... |
[
{
"context": ";;\n;;\n;; Copyright 2013-2015 Netflix, Inc.\n;;\n;; Licensed under the Apache Lic",
"end": 33,
"score": 0.9106675982475281,
"start": 30,
"tag": "NAME",
"value": "Net"
},
{
"context": "roup-by, and pig/cogroup.\n\nSee https://github.com/Netflix/PigPen/wiki/Folding-... | pigpen-core/src/main/clojure/pigpen/fold.clj | ombagus/Netflix | 327 | ;;
;;
;; Copyright 2013-2015 Netflix, Inc.
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required ... | 22218 | ;;
;;
;; Copyright 2013-2015 <NAME>flix, Inc.
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless requir... | true | ;;
;;
;; Copyright 2013-2015 PI:NAME:<NAME>END_PIflix, Inc.
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; ... |
[
{
"context": "! *unchecked-math* :warn-on-boxed)\n(ns ^{:author \"wahpenayo at gmail dot com\" \n :since \"2016-11-03\"\n ",
"end": 97,
"score": 0.6720846891403198,
"start": 88,
"tag": "EMAIL",
"value": "wahpenayo"
},
{
"context": "ath* :warn-on-boxed)\n(ns ^{:author \"wahpen... | src/scripts/clojure/taigabench/scripts/ontime/distinct.clj | wahpenayo/taigabench | 0 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "wahpenayo at gmail dot com"
:since "2016-11-03"
:date "2017-11-21"
:doc "Determine possible values for enums in
public airline ontime data benchmark:
https://www.r-bloggers.com/benchmarking... | 106064 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "<EMAIL> at g<EMAIL> dot <EMAIL>"
:since "2016-11-03"
:date "2017-11-21"
:doc "Determine possible values for enums in
public airline ontime data benchmark:
https://www.r-bloggers.com/benchma... | true | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "PI:EMAIL:<EMAIL>END_PI at gPI:EMAIL:<EMAIL>END_PI dot PI:EMAIL:<EMAIL>END_PI"
:since "2016-11-03"
:date "2017-11-21"
:doc "Determine possible values for enums in
public airline ontime data benchmark:
... |
[
{
"context": "ta structure with ease\"\n :url \"http://github.com/rm-hull/table\"\n :license {\n :name \"The MIT License\"\n ",
"end": 145,
"score": 0.9996429085731506,
"start": 138,
"tag": "USERNAME",
"value": "rm-hull"
},
{
"context": "-ns table.core}\n :dependencies [ ]\n :... | project.clj | bbqbaron/table | 0 | (defproject rm-hull/table "0.7.0"
:description "Display ascii tables for almost any data structure with ease"
:url "http://github.com/rm-hull/table"
:license {
:name "The MIT License"
:url "http://opensource.org/licenses/MIT"}
:repl-options {
:init-ns table.core}
:dependencies [ ]
:scm {:url "g... | 86339 | (defproject rm-hull/table "0.7.0"
:description "Display ascii tables for almost any data structure with ease"
:url "http://github.com/rm-hull/table"
:license {
:name "The MIT License"
:url "http://opensource.org/licenses/MIT"}
:repl-options {
:init-ns table.core}
:dependencies [ ]
:scm {:url "<... | true | (defproject rm-hull/table "0.7.0"
:description "Display ascii tables for almost any data structure with ease"
:url "http://github.com/rm-hull/table"
:license {
:name "The MIT License"
:url "http://opensource.org/licenses/MIT"}
:repl-options {
:init-ns table.core}
:dependencies [ ]
:scm {:url "P... |
[
{
"context": "\n(ns #^{:author \"al3xandr3 <al3xandr3@gmail.com>\"\n :doc \"Cov3, a custo",
"end": 26,
"score": 0.999708354473114,
"start": 17,
"tag": "USERNAME",
"value": "al3xandr3"
},
{
"context": "\n(ns #^{:author \"al3xandr3 <al3xandr3@gmail.com>\"\n :doc \"Cov3, a c... | data/train/clojure/a681fb8487a85a3b55b7433570d5d890573a9ff6cov3.clj | harshp8l/deep-learning-lang-detection | 84 |
(ns #^{:author "al3xandr3 <al3xandr3@gmail.com>"
:doc "Cov3, a custom crawler" }
cov3)
(require '[clojure.zip :as zip])
(require '[clojure.xml :as xml])
(require '[clojure.contrib.string :as string])
(require '[clojure.contrib.duck-streams :as stream])
(use 'clojure.set)
(use 'clojure.contrib.zip-filter.xm... | 54034 |
(ns #^{:author "al3xandr3 <<EMAIL>>"
:doc "Cov3, a custom crawler" }
cov3)
(require '[clojure.zip :as zip])
(require '[clojure.xml :as xml])
(require '[clojure.contrib.string :as string])
(require '[clojure.contrib.duck-streams :as stream])
(use 'clojure.set)
(use 'clojure.contrib.zip-filter.xml)
(import... | true |
(ns #^{:author "al3xandr3 <PI:EMAIL:<EMAIL>END_PI>"
:doc "Cov3, a custom crawler" }
cov3)
(require '[clojure.zip :as zip])
(require '[clojure.xml :as xml])
(require '[clojure.contrib.string :as string])
(require '[clojure.contrib.duck-streams :as stream])
(use 'clojure.set)
(use 'clojure.contrib.zip-filter... |
[
{
"context": ";; autodub.clj\n;; (c) 2017 by Milan Gruner\n;; Part of project \"AlgorithMuss\"\n\n(ns algorithmu",
"end": 42,
"score": 0.9998547434806824,
"start": 30,
"tag": "NAME",
"value": "Milan Gruner"
}
] | overtone/src/algorithmuss/autodub.clj | lemilonkh/algorithmuss | 13 | ;; autodub.clj
;; (c) 2017 by Milan Gruner
;; Part of project "AlgorithMuss"
(ns algorithmuss.autodub)
(use 'overtone.live)
(let [
bpm 120
;; create pool of notes as seed for random base line sequence
notes [40 41 28 28 28 27 25 35 78]
;; create an impulse trigger firing once per bar
trig ... | 26640 | ;; autodub.clj
;; (c) 2017 by <NAME>
;; Part of project "AlgorithMuss"
(ns algorithmuss.autodub)
(use 'overtone.live)
(let [
bpm 120
;; create pool of notes as seed for random base line sequence
notes [40 41 28 28 28 27 25 35 78]
;; create an impulse trigger firing once per bar
trig (imp... | true | ;; autodub.clj
;; (c) 2017 by PI:NAME:<NAME>END_PI
;; Part of project "AlgorithMuss"
(ns algorithmuss.autodub)
(use 'overtone.live)
(let [
bpm 120
;; create pool of notes as seed for random base line sequence
notes [40 41 28 28 28 27 25 35 78]
;; create an impulse trigger firing once per bar
... |
[
{
"context": ":instance \"Malcolm\"\n :annotations {\"default\" \"Bob\"}\n :type \"string\"\n :valid? true}\n (v/v",
"end": 436,
"score": 0.9985981583595276,
"start": 433,
"tag": "NAME",
"value": "Bob"
},
{
"context": "v/validate\n {\"type\" \"string\"\n \"def... | test/juxt/jinx/annotation_test.cljc | The-Alchemist/jinx | 73 | ;; Copyright © 2019, JUXT LTD.
(ns juxt.jinx.annotation-test
(:require
[juxt.jinx.alpha.validate :as v]
[juxt.jinx.alpha.schema :refer [schema]]
#?(:clj
[clojure.test :refer [deftest is testing]]
:cljs
[cljs.test :refer-macros [deftest is testing run-tests]]
[cljs.core :refer [Except... | 102863 | ;; Copyright © 2019, JUXT LTD.
(ns juxt.jinx.annotation-test
(:require
[juxt.jinx.alpha.validate :as v]
[juxt.jinx.alpha.schema :refer [schema]]
#?(:clj
[clojure.test :refer [deftest is testing]]
:cljs
[cljs.test :refer-macros [deftest is testing run-tests]]
[cljs.core :refer [Except... | true | ;; Copyright © 2019, JUXT LTD.
(ns juxt.jinx.annotation-test
(:require
[juxt.jinx.alpha.validate :as v]
[juxt.jinx.alpha.schema :refer [schema]]
#?(:clj
[clojure.test :refer [deftest is testing]]
:cljs
[cljs.test :refer-macros [deftest is testing run-tests]]
[cljs.core :refer [Except... |
[
{
"context": " :username \"muthuishere@gmail.com\"\n; :passw",
"end": 5546,
"score": 0.999909520149231,
"start": 5525,
"tag": "EMAIL",
"value": "muthuishere@gmail.com"
},
{
"context": " ... | workspace/datomic-dev-client/src/datomic_dev_client/core.clj | muthuishere/clojure-web-fundamentals | 0 | (ns datomic-dev-client.core
(:require
[datomic.client.api :as d]
[datomic-dev-client.data :refer [movie-schema default-movie-data]]
)
)
(def cfg {:server-type :dev-local
:system "dev"
}
)
(def movie-db-name "movies")
(def client (d/client cfg))
(defn cre... | 23557 | (ns datomic-dev-client.core
(:require
[datomic.client.api :as d]
[datomic-dev-client.data :refer [movie-schema default-movie-data]]
)
)
(def cfg {:server-type :dev-local
:system "dev"
}
)
(def movie-db-name "movies")
(def client (d/client cfg))
(defn cre... | true | (ns datomic-dev-client.core
(:require
[datomic.client.api :as d]
[datomic-dev-client.data :refer [movie-schema default-movie-data]]
)
)
(def cfg {:server-type :dev-local
:system "dev"
}
)
(def movie-db-name "movies")
(def client (d/client cfg))
(defn cre... |
[
{
"context": "---------------------\nCopyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved.\n\nThis fi",
"end": 109,
"score": 0.6258668899536133,
"start": 108,
"tag": "NAME",
"value": "o"
}
] | client_tests/clojure/clj-s3/test/java_s3_tests/test/client.clj | sharp/riak_cs | 1 | (comment
---------------------------------------------------------------------
Copyright (c) 2007-2013 Basho Technologies, Inc. All Rights Reserved.
This file is provided to you 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 c... | 56885 | (comment
---------------------------------------------------------------------
Copyright (c) 2007-2013 Bash<NAME> Technologies, Inc. All Rights Reserved.
This file is provided to you under the Apache License,
Version 2.0 (the "License"); you may not use this file
except in compliance with the License. You may obtai... | true | (comment
---------------------------------------------------------------------
Copyright (c) 2007-2013 BashPI:NAME:<NAME>END_PI Technologies, Inc. All Rights Reserved.
This file is provided to you under the Apache License,
Version 2.0 (the "License"); you may not use this file
except in compliance with the License. ... |
[
{
"context": "\"https://unpkg.com/htmx.org@1.0.2\")\n [:title \"Lagosta\"]\n [:meta\n {:charset \"utf-8\",\n :na",
"end": 3403,
"score": 0.7551254034042358,
"start": 3396,
"tag": "NAME",
"value": "Lagosta"
}
] | src/jcpsantiago/ui.clj | jcpsantiago/htmx-clj-dashboard | 3 | (ns jcpsantiago.ui
(:require
[ring.util.anti-forgery :refer [anti-forgery-field]]
[hiccup.page :refer [html5 include-css include-js]]))
(defn spinner
"SVG spinner used as htmx-indicator
originally from https://samherbert.net/svg-loaders/"
[id size]
[:img {:id id
:src "/img/tail-spin.svg" ... | 69008 | (ns jcpsantiago.ui
(:require
[ring.util.anti-forgery :refer [anti-forgery-field]]
[hiccup.page :refer [html5 include-css include-js]]))
(defn spinner
"SVG spinner used as htmx-indicator
originally from https://samherbert.net/svg-loaders/"
[id size]
[:img {:id id
:src "/img/tail-spin.svg" ... | true | (ns jcpsantiago.ui
(:require
[ring.util.anti-forgery :refer [anti-forgery-field]]
[hiccup.page :refer [html5 include-css include-js]]))
(defn spinner
"SVG spinner used as htmx-indicator
originally from https://samherbert.net/svg-loaders/"
[id size]
[:img {:id id
:src "/img/tail-spin.svg" ... |
[
{
"context": ";; Original author Hirokuni Kim\n;; Modifications by Kevin Kredit\n;; Licensed unde",
"end": 31,
"score": 0.9997178316116333,
"start": 19,
"tag": "NAME",
"value": "Hirokuni Kim"
},
{
"context": "; Original author Hirokuni Kim\n;; Modifications by Kevin Kredit\n;; Licens... | clojure/p09-if/src/p09_if/core.clj | kkredit/pl-study | 0 | ;; Original author Hirokuni Kim
;; Modifications by Kevin Kredit
;; Licensed under https://www.apache.org/licenses/LICENSE-2.0
;; See https://kimh.github.io/clojure-by-example/#if
(ns p09-if.core)
(defn positive-number [numbers]
(if-let [pos-nums (not-empty (filter pos? numbers))]
pos-nums
"no positive numb... | 98581 | ;; Original author <NAME>
;; Modifications by <NAME>
;; Licensed under https://www.apache.org/licenses/LICENSE-2.0
;; See https://kimh.github.io/clojure-by-example/#if
(ns p09-if.core)
(defn positive-number [numbers]
(if-let [pos-nums (not-empty (filter pos? numbers))]
pos-nums
"no positive numbers"))
(def... | true | ;; Original author PI:NAME:<NAME>END_PI
;; Modifications by PI:NAME:<NAME>END_PI
;; Licensed under https://www.apache.org/licenses/LICENSE-2.0
;; See https://kimh.github.io/clojure-by-example/#if
(ns p09-if.core)
(defn positive-number [numbers]
(if-let [pos-nums (not-empty (filter pos? numbers))]
pos-nums
"... |
[
{
"context": "as q]\n [quil.middleware :as m]))\n\n; x = Asin(at + phi)\n; y = Bsin(bt)\n\n(def size 300)\n(def t-s",
"end": 98,
"score": 0.906277060508728,
"start": 94,
"tag": "NAME",
"value": "Asin"
},
{
"context": "il.middleware :as m]))\n\n; x = Asin(at + phi)\n; y = B... | src/lissajous/core.clj | nathandao/lissajous | 0 | (ns lissajous.core
(:require [quil.core :as q]
[quil.middleware :as m]))
; x = Asin(at + phi)
; y = Bsin(bt)
(def size 300)
(def t-scale 100)
(def lissajous-box-size (/ size 2))
(def ds 0.1)
(def amp (/ size 4))
(def ch1 {:amp amp :freq 2.5})
(def ch2 {:amp amp :freq 3})
(def phi (q/radians 0))
(defn ... | 87006 | (ns lissajous.core
(:require [quil.core :as q]
[quil.middleware :as m]))
; x = <NAME>(at + phi)
; y = <NAME>(bt)
(def size 300)
(def t-scale 100)
(def lissajous-box-size (/ size 2))
(def ds 0.1)
(def amp (/ size 4))
(def ch1 {:amp amp :freq 2.5})
(def ch2 {:amp amp :freq 3})
(def phi (q/radians 0))
(d... | true | (ns lissajous.core
(:require [quil.core :as q]
[quil.middleware :as m]))
; x = PI:NAME:<NAME>END_PI(at + phi)
; y = PI:NAME:<NAME>END_PI(bt)
(def size 300)
(def t-scale 100)
(def lissajous-box-size (/ size 2))
(def ds 0.1)
(def amp (/ size 4))
(def ch1 {:amp amp :freq 2.5})
(def ch2 {:amp amp :freq 3})... |
[
{
"context": "file\"\n (c/gen-config! {:var-a \"blah\" :var-b \"dave\"} [:var-a \"Var a description\" :var-b \"Var b de",
"end": 1105,
"score": 0.5985892415046692,
"start": 1104,
"tag": "NAME",
"value": "d"
}
] | test/stonecutter/test/config.clj | d-cent/stonecutter | 39 | (ns stonecutter.test.config
(:require [midje.sweet :refer :all]
[stonecutter.config :as c]
[clojure.java.io :as io]))
(fact "get-env throws an exception when the requested key isn't in the env-vars set"
(c/get-env {:env-key "env-var"} :some-key-that-isnt-in-env-vars) => (throws Excepti... | 106806 | (ns stonecutter.test.config
(:require [midje.sweet :refer :all]
[stonecutter.config :as c]
[clojure.java.io :as io]))
(fact "get-env throws an exception when the requested key isn't in the env-vars set"
(c/get-env {:env-key "env-var"} :some-key-that-isnt-in-env-vars) => (throws Excepti... | true | (ns stonecutter.test.config
(:require [midje.sweet :refer :all]
[stonecutter.config :as c]
[clojure.java.io :as io]))
(fact "get-env throws an exception when the requested key isn't in the env-vars set"
(c/get-env {:env-key "env-var"} :some-key-that-isnt-in-env-vars) => (throws Excepti... |
[
{
"context": "(comment \n re-core, Copyright 2012 Ronen Narkis, narkisr.com\n Licensed under the Apache License",
"end": 49,
"score": 0.9998820424079895,
"start": 37,
"tag": "NAME",
"value": "Ronen Narkis"
},
{
"context": "omment \n re-core, Copyright 2012 Ronen Narkis, narkisr... | src/remote/ruby.clj | celestial-ops/core | 1 | (comment
re-core, Copyright 2012 Ronen Narkis, narkisr.com
Licensed under the Apache License,
Version 2.0 (the "License") you may not use this file except in compliance with the License.
You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law... | 103813 | (comment
re-core, Copyright 2012 <NAME>, n<EMAIL>
Licensed under the Apache License,
Version 2.0 (the "License") you may not use this file except in compliance with the License.
You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agree... | true | (comment
re-core, Copyright 2012 PI:NAME:<NAME>END_PI, nPI:EMAIL:<EMAIL>END_PI
Licensed under the Apache License,
Version 2.0 (the "License") you may not use this file except in compliance with the License.
You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless requir... |
[
{
"context": "ied from buddy\n\n(deftest pal-hashers\n (let [pwd \"my-test-password\"]\n (are [alg]\n (let [result (hashers/en",
"end": 292,
"score": 0.997409999370575,
"start": 276,
"tag": "PASSWORD",
"value": "my-test-password"
},
{
"context": "\n(deftest confirm-check-f... | test/pal/hashers_test.cljs | leppert/pal-hashers | 1 | (ns pal.hashers-test
(:require [cljs.test :refer-macros [deftest testing is are]]
[pal.hashers :as hashers]
[pal.core.nonce :as nonce]
[pal.core.codecs :refer [bytes->hex]]))
;; tests copied from buddy
(deftest pal-hashers
(let [pwd "my-test-password"]
(are [alg]
(l... | 29853 | (ns pal.hashers-test
(:require [cljs.test :refer-macros [deftest testing is are]]
[pal.hashers :as hashers]
[pal.core.nonce :as nonce]
[pal.core.codecs :refer [bytes->hex]]))
;; tests copied from buddy
(deftest pal-hashers
(let [pwd "<PASSWORD>"]
(are [alg]
(let [re... | true | (ns pal.hashers-test
(:require [cljs.test :refer-macros [deftest testing is are]]
[pal.hashers :as hashers]
[pal.core.nonce :as nonce]
[pal.core.codecs :refer [bytes->hex]]))
;; tests copied from buddy
(deftest pal-hashers
(let [pwd "PI:PASSWORD:<PASSWORD>END_PI"]
(are [alg... |
[
{
"context": " for building recurrent error maps.\"\n\n {:author \"Adam Helinski\"}\n\n (:import (convex.core.data ACell\n ",
"end": 323,
"score": 0.9993088245391846,
"start": 310,
"tag": "NAME",
"value": "Adam Helinski"
}
] | project/run/src/clj/main/convex/run/err.clj | rosejn/convex.cljc | 30 | (ns convex.run.err
"Errors are CVX maps, either mappified CVM exceptions or built from scratch.
Using [[convex.run.exec/fail]], they are reported back to the CVX executing environment
and can be handled from CVX.
This namespace provides functions for building recurrent error maps."
{:author "Adam Helin... | 112942 | (ns convex.run.err
"Errors are CVX maps, either mappified CVM exceptions or built from scratch.
Using [[convex.run.exec/fail]], they are reported back to the CVX executing environment
and can be handled from CVX.
This namespace provides functions for building recurrent error maps."
{:author "<NAME>"}
... | true | (ns convex.run.err
"Errors are CVX maps, either mappified CVM exceptions or built from scratch.
Using [[convex.run.exec/fail]], they are reported back to the CVX executing environment
and can be handled from CVX.
This namespace provides functions for building recurrent error maps."
{:author "PI:NAME:<N... |
[
{
"context": "quire [clojure.test :refer :all]))\n\n(def api-key \"sk_test_7GJV4OR48SPEoZgndbJjpU8s\")\n\n(def tokens\n {:valid-token \"",
"end": 116,
"score": 0.9986547827720642,
"start": 84,
"tag": "KEY",
"value": "sk_test_7GJV4OR48SPEoZgndbJjpU8s"
},
{
"context":... | test/zebra/helpers/constants.clj | Global-Online-Health/zebra | 5 | (ns zebra.helpers.constants
(:require [clojure.test :refer :all]))
(def api-key "sk_test_7GJV4OR48SPEoZgndbJjpU8s")
(def tokens
{:valid-token "tok_visa"
:three-d-secure-required "tok_threeDSecureRequired"
:three-d-secure-not-supported "tok_amex_threeDSecureNotSupported"})
| 112297 | (ns zebra.helpers.constants
(:require [clojure.test :refer :all]))
(def api-key "<KEY>")
(def tokens
{:valid-token "tok_<PASSWORD>"
:three-d-secure-required "tok_threeDSecureRequired"
:three-d-secure-not-supported "tok_amex_threeDSecureNotSupported"})
| true | (ns zebra.helpers.constants
(:require [clojure.test :refer :all]))
(def api-key "PI:KEY:<KEY>END_PI")
(def tokens
{:valid-token "tok_PI:PASSWORD:<PASSWORD>END_PI"
:three-d-secure-required "tok_threeDSecureRequired"
:three-d-secure-not-supported "tok_amex_threeDSecureNotSupported"})
|
[
{
"context": "; Copyright (c) Rich Hickey, Reid Draper, and contributors.\n; All rights re",
"end": 29,
"score": 0.9998601675033569,
"start": 18,
"tag": "NAME",
"value": "Rich Hickey"
},
{
"context": "; Copyright (c) Rich Hickey, Reid Draper, and contributors.\n; All rights r... | gh-pages/index.html.out/clojure/test/check/random/doubles.cljs | thedavidmeister/cljs-ntp | 4 | ; Copyright (c) Rich Hickey, Reid Draper, and contributors.
; All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
; which can be found in the file epl-v10.html at the root of this distribution.... | 78499 | ; Copyright (c) <NAME>, <NAME>, and contributors.
; All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
; which can be found in the file epl-v10.html at the root of this distribution.
; By us... | true | ; Copyright (c) PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI, and contributors.
; All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
; which can be found in the file epl-v10.html at the root of ... |
[
{
"context": ";; Copyright © 2015-2019 Esko Luontola\n;; This software is released under the Apache Lic",
"end": 38,
"score": 0.9998807311058044,
"start": 25,
"tag": "NAME",
"value": "Esko Luontola"
}
] | src/territory_bro/json.clj | JessRoberts/territory_assistant | 0 | ;; Copyright © 2015-2019 Esko Luontola
;; This software is released under the Apache License 2.0.
;; The license text is at http://www.apache.org/licenses/LICENSE-2.0
(ns territory-bro.json
(:require [jsonista.core :as j])
(:import (com.fasterxml.jackson.databind ObjectMapper)))
(def ^ObjectMapper mapper
(j/obj... | 35311 | ;; Copyright © 2015-2019 <NAME>
;; This software is released under the Apache License 2.0.
;; The license text is at http://www.apache.org/licenses/LICENSE-2.0
(ns territory-bro.json
(:require [jsonista.core :as j])
(:import (com.fasterxml.jackson.databind ObjectMapper)))
(def ^ObjectMapper mapper
(j/object-map... | true | ;; Copyright © 2015-2019 PI:NAME:<NAME>END_PI
;; This software is released under the Apache License 2.0.
;; The license text is at http://www.apache.org/licenses/LICENSE-2.0
(ns territory-bro.json
(:require [jsonista.core :as j])
(:import (com.fasterxml.jackson.databind ObjectMapper)))
(def ^ObjectMapper mapper
... |
[
{
"context": "anipulating and testing sequences\"\n :author \"Sam Aaron\"}\n overtone.helpers.seq\n (:require [clojure.zip",
"end": 97,
"score": 0.9998886585235596,
"start": 88,
"tag": "NAME",
"value": "Sam Aaron"
}
] | src/overtone/helpers/seq.clj | ABaldwinHunter/overtone | 3,870 | (ns
^{:doc "Helper functions for manipulating and testing sequences"
:author "Sam Aaron"}
overtone.helpers.seq
(:require [clojure.zip :as zip]))
(defn consecutive-ints?
"Checks whether seq s consists of consecutive integers
(consecutive-ints? [1 2 3 4 5]) ;=> true
(consecutive-ints? [1 2 3 5 4]) ... | 109150 | (ns
^{:doc "Helper functions for manipulating and testing sequences"
:author "<NAME>"}
overtone.helpers.seq
(:require [clojure.zip :as zip]))
(defn consecutive-ints?
"Checks whether seq s consists of consecutive integers
(consecutive-ints? [1 2 3 4 5]) ;=> true
(consecutive-ints? [1 2 3 5 4]) ;=>... | true | (ns
^{:doc "Helper functions for manipulating and testing sequences"
:author "PI:NAME:<NAME>END_PI"}
overtone.helpers.seq
(:require [clojure.zip :as zip]))
(defn consecutive-ints?
"Checks whether seq s consists of consecutive integers
(consecutive-ints? [1 2 3 4 5]) ;=> true
(consecutive-ints? [1... |
[
{
"context": " (is (nil? (<? (h/get-item! creds table {:name \"rofl\"}))))))))\n\n(deftest put+get\n (with-local-dynamo!",
"end": 1852,
"score": 0.8660544157028198,
"start": 1848,
"tag": "USERNAME",
"value": "rofl"
},
{
"context": "leeping}\n :bad \"good\"}\n {:nick [:... | test/hildebrand/test/core.cljc | nervous-systems/hildebrand | 74 | (ns hildebrand.test.core
(:require [clojure.walk :as walk]
[hildebrand.core :as h]
[glossop.util]
[glossop.core #? (:clj :refer :cljs :refer-macros) [go-catching <?]]
[hildebrand.test.common :as test.common
:refer [table create-table-default creds
... | 70353 | (ns hildebrand.test.core
(:require [clojure.walk :as walk]
[hildebrand.core :as h]
[glossop.util]
[glossop.core #? (:clj :refer :cljs :refer-macros) [go-catching <?]]
[hildebrand.test.common :as test.common
:refer [table create-table-default creds
... | true | (ns hildebrand.test.core
(:require [clojure.walk :as walk]
[hildebrand.core :as h]
[glossop.util]
[glossop.core #? (:clj :refer :cljs :refer-macros) [go-catching <?]]
[hildebrand.test.common :as test.common
:refer [table create-table-default creds
... |
[
{
"context": "ue})\n\n(def flat-app-state (atom {:a 1 :user/name \"Sam\" :c 99}))\n\n(defn flat-state-read [{:keys [state p",
"end": 16770,
"score": 0.9331925511360168,
"start": 16767,
"tag": "NAME",
"value": "Sam"
},
{
"context": " (my-parser {:state flat-app-state} '[:a {:user [:us... | src/devguide/untangled_devguide/I_Building_A_Server.cljs | pholas/untangled-devguide | 43 | (ns untangled-devguide.I-Building-A-Server
(:require-macros [cljs.test :refer [is]])
(:require [om.next :as om :refer-macros [defui]]
[om.dom :as dom]
[untangled-devguide.state-reads.parser-1 :as parser1]
[untangled-devguide.state-reads.parser-2 :as parser2]
[untangle... | 99587 | (ns untangled-devguide.I-Building-A-Server
(:require-macros [cljs.test :refer [is]])
(:require [om.next :as om :refer-macros [defui]]
[om.dom :as dom]
[untangled-devguide.state-reads.parser-1 :as parser1]
[untangled-devguide.state-reads.parser-2 :as parser2]
[untangle... | true | (ns untangled-devguide.I-Building-A-Server
(:require-macros [cljs.test :refer [is]])
(:require [om.next :as om :refer-macros [defui]]
[om.dom :as dom]
[untangled-devguide.state-reads.parser-1 :as parser1]
[untangled-devguide.state-reads.parser-2 :as parser2]
[untangle... |
[
{
"context": "; Copyright (c) 2021 Mikołaj Kuranowski\n; SPDX-License-Identifier: WTFPL\n(ns day13b\n (:r",
"end": 39,
"score": 0.999570369720459,
"start": 21,
"tag": "NAME",
"value": "Mikołaj Kuranowski"
}
] | src/day13b.clj | MKuranowski/AdventOfCode2020 | 0 | ; Copyright (c) 2021 Mikołaj Kuranowski
; SPDX-License-Identifier: WTFPL
(ns day13b
(:require [core]
[clojure.string :refer [split]]))
(defn parse-bus-lines
[file-line] (->> (split file-line #",")
(map list (iterate inc 0)) ;; similar to Python 'enumerate'
(filter ... | 4994 | ; Copyright (c) 2021 <NAME>
; SPDX-License-Identifier: WTFPL
(ns day13b
(:require [core]
[clojure.string :refer [split]]))
(defn parse-bus-lines
[file-line] (->> (split file-line #",")
(map list (iterate inc 0)) ;; similar to Python 'enumerate'
(filter #(not= (seco... | true | ; Copyright (c) 2021 PI:NAME:<NAME>END_PI
; SPDX-License-Identifier: WTFPL
(ns day13b
(:require [core]
[clojure.string :refer [split]]))
(defn parse-bus-lines
[file-line] (->> (split file-line #",")
(map list (iterate inc 0)) ;; similar to Python 'enumerate'
(filte... |
[
{
"context": "(comment \n re-core, Copyright 2012 Ronen Narkis, narkisr.com\n Licensed under the Apache License",
"end": 49,
"score": 0.9998836517333984,
"start": 37,
"tag": "NAME",
"value": "Ronen Narkis"
},
{
"context": "(comment \n re-core, Copyright 2012 Ronen Narkis, narki... | src/es/core.clj | celestial-ops/core | 1 | (comment
re-core, Copyright 2012 Ronen Narkis, narkisr.com
Licensed under the Apache License,
Version 2.0 (the "License") you may not use this file except in compliance with the License.
You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law... | 44730 | (comment
re-core, Copyright 2012 <NAME>, <EMAIL>
Licensed under the Apache License,
Version 2.0 (the "License") you may not use this file except in compliance with the License.
You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed... | true | (comment
re-core, Copyright 2012 PI:NAME:<NAME>END_PI, PI:EMAIL:<EMAIL>END_PI
Licensed under the Apache License,
Version 2.0 (the "License") you may not use this file except in compliance with the License.
You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless require... |
[
{
"context": " [clj-http \"3.9.0\"]\n [jarohen/chime \"0.2.2\"]]\n :profiles {:uberjar {:main chic",
"end": 1558,
"score": 0.7917730808258057,
"start": 1554,
"tag": "USERNAME",
"value": "ohen"
},
{
"context": "gresql://localhost:5432/chick?user=chick&passwor... | project.clj | harehare/chick-japanese-api | 0 | (defproject chick "0.1.0-SNAPSHOT"
:description "Japanese morphological analysis API for Chick"
:license {:name "MIT"
:url "https://opensource.org/licenses/MIT"}
:ring {:handler chick.handler/app :async? true}
:uberjar-name "chick.jar"
:source-paths ["src/clojure"]
:java-source-paths ["src/... | 19143 | (defproject chick "0.1.0-SNAPSHOT"
:description "Japanese morphological analysis API for Chick"
:license {:name "MIT"
:url "https://opensource.org/licenses/MIT"}
:ring {:handler chick.handler/app :async? true}
:uberjar-name "chick.jar"
:source-paths ["src/clojure"]
:java-source-paths ["src/... | true | (defproject chick "0.1.0-SNAPSHOT"
:description "Japanese morphological analysis API for Chick"
:license {:name "MIT"
:url "https://opensource.org/licenses/MIT"}
:ring {:handler chick.handler/app :async? true}
:uberjar-name "chick.jar"
:source-paths ["src/clojure"]
:java-source-paths ["src/... |
[
{
"context": " :dbpedia.resource/Pablo-Picasso ; id\n :name \"Pablo\"\n :last-name \"Picasso\"\n :location \"Spain\"",
"end": 833,
"score": 0.9995059967041016,
"start": 828,
"tag": "NAME",
"value": "Pablo"
},
{
"context": "-Picasso ; id\n :name \"Pablo\"\n :last-n... | example/repl-walkthrough/walkthrough.clj | souenzzo/crux | 0 | ; load a repl with the latest Crux dependency, e.g. using clj:
; $ clj -Sdeps '{:deps {juxt/crux {:mvn/version "19.06-1.1.0-alpha"}}}'
(ns walkthrough.crux-standalone
(:require [crux.api :as crux])
(:import (crux.api ICruxAPI)))
; this standalone configuration is the easiest way to try Crux, no Kafka needed
(de... | 48745 | ; load a repl with the latest Crux dependency, e.g. using clj:
; $ clj -Sdeps '{:deps {juxt/crux {:mvn/version "19.06-1.1.0-alpha"}}}'
(ns walkthrough.crux-standalone
(:require [crux.api :as crux])
(:import (crux.api ICruxAPI)))
; this standalone configuration is the easiest way to try Crux, no Kafka needed
(de... | true | ; load a repl with the latest Crux dependency, e.g. using clj:
; $ clj -Sdeps '{:deps {juxt/crux {:mvn/version "19.06-1.1.0-alpha"}}}'
(ns walkthrough.crux-standalone
(:require [crux.api :as crux])
(:import (crux.api ICruxAPI)))
; this standalone configuration is the easiest way to try Crux, no Kafka needed
(de... |
[
{
"context": "yerPartner/\") n))\n\n(def lawyerPartnerMap { \n\t:name fullname\n\t:type type\n\t:city city})\n\n(defrecord LawyerPartn",
"end": 363,
"score": 0.993579626083374,
"start": 355,
"tag": "NAME",
"value": "fullname"
}
] | src/clojsesame/integration/lawyer_partnerships.clj | hotlib/datanest2rdf | 0 | (ns clojsesame.integration.lawyer_partnerships
(:require
[clojsesame.vocabulary :refer :all]
[clojsesame.sesame :refer :all]))
(def lawyerPartnerInfo {:filename "dumps/lawyer_partnerships-dump.csv" :type :lawyerPartner})
(defn- lawyerPartnerURI [{ n :name}]
(createURI (str basicNamespace "/lawyerPartner/") n)... | 58633 | (ns clojsesame.integration.lawyer_partnerships
(:require
[clojsesame.vocabulary :refer :all]
[clojsesame.sesame :refer :all]))
(def lawyerPartnerInfo {:filename "dumps/lawyer_partnerships-dump.csv" :type :lawyerPartner})
(defn- lawyerPartnerURI [{ n :name}]
(createURI (str basicNamespace "/lawyerPartner/") n)... | true | (ns clojsesame.integration.lawyer_partnerships
(:require
[clojsesame.vocabulary :refer :all]
[clojsesame.sesame :refer :all]))
(def lawyerPartnerInfo {:filename "dumps/lawyer_partnerships-dump.csv" :type :lawyerPartner})
(defn- lawyerPartnerURI [{ n :name}]
(createURI (str basicNamespace "/lawyerPartner/") n)... |
[
{
"context": " handling, logging, caching, etc.\n \"\n {:author \"Jon Anthony\"}\n\n (:gen-class)\n\n (:require [clojure.string :a",
"end": 164,
"score": 0.9998712539672852,
"start": 153,
"tag": "NAME",
"value": "Jon Anthony"
}
] | src/iobio/core.clj | jsa-aerial/clj-iobio | 1 | (ns iobio.core
"A robust, flexible clj iobio with full tree graphs, function nodes,
superior error handling, logging, caching, etc.
"
{:author "Jon Anthony"}
(:gen-class)
(:require [clojure.string :as cstr]
[clojure.java.io :as io]
[cpath-clj.core :as cp] ; Extract Jar resources
... | 22718 | (ns iobio.core
"A robust, flexible clj iobio with full tree graphs, function nodes,
superior error handling, logging, caching, etc.
"
{:author "<NAME>"}
(:gen-class)
(:require [clojure.string :as cstr]
[clojure.java.io :as io]
[cpath-clj.core :as cp] ; Extract Jar resources
... | true | (ns iobio.core
"A robust, flexible clj iobio with full tree graphs, function nodes,
superior error handling, logging, caching, etc.
"
{:author "PI:NAME:<NAME>END_PI"}
(:gen-class)
(:require [clojure.string :as cstr]
[clojure.java.io :as io]
[cpath-clj.core :as cp] ; Extract Jar r... |
[
{
"context": ";; Copyright © 2017 Douglas P. Fields, Jr. All Rights Reserved.\n;; Web: https://symboli",
"end": 37,
"score": 0.999852180480957,
"start": 20,
"tag": "NAME",
"value": "Douglas P. Fields"
},
{
"context": "; Web: https://symbolics.lisp.engineer/\n;; E-mail: symbolics@lisp... | src/engineer/lisp/fast_atom/core.clj | LispEngineer/fast-atom | 0 | ;; Copyright © 2017 Douglas P. Fields, Jr. All Rights Reserved.
;; Web: https://symbolics.lisp.engineer/
;; E-mail: symbolics@lisp.engineer
;; Twitter: @LispEngineer
(ns engineer.lisp.fast-atom.core)
(defn foo
"I don't do a whole lot."
[x]
(println x "Hello, World!"))
| 52088 | ;; Copyright © 2017 <NAME>, Jr. All Rights Reserved.
;; Web: https://symbolics.lisp.engineer/
;; E-mail: <EMAIL>
;; Twitter: @LispEngineer
(ns engineer.lisp.fast-atom.core)
(defn foo
"I don't do a whole lot."
[x]
(println x "Hello, World!"))
| true | ;; Copyright © 2017 PI:NAME:<NAME>END_PI, Jr. All Rights Reserved.
;; Web: https://symbolics.lisp.engineer/
;; E-mail: PI:EMAIL:<EMAIL>END_PI
;; Twitter: @LispEngineer
(ns engineer.lisp.fast-atom.core)
(defn foo
"I don't do a whole lot."
[x]
(println x "Hello, World!"))
|
[
{
"context": "; Copyright (c) Chris Houser, Dec 2008. All rights reserved.\r\n; The use and ",
"end": 31,
"score": 0.9998650550842285,
"start": 19,
"tag": "NAME",
"value": "Chris Houser"
},
{
"context": "ed interactively at the REPL\r\n\r\n(ns\r\n ^{:author \"Chris Houser, Chri... | Source/clojure/repl.clj | pjago/Arcadia | 0 | ; Copyright (c) Chris Houser, Dec 2008. All rights reserved.
; The use and distribution terms for this software are covered by the
; Common Public License 1.0 (http://opensource.org/licenses/cpl.php)
; which can be found in the file CPL.TXT at the root of this distribution.
; By using this software in an... | 73600 | ; Copyright (c) <NAME>, Dec 2008. All rights reserved.
; The use and distribution terms for this software are covered by the
; Common Public License 1.0 (http://opensource.org/licenses/cpl.php)
; which can be found in the file CPL.TXT at the root of this distribution.
; By using this software in any fash... | true | ; Copyright (c) PI:NAME:<NAME>END_PI, Dec 2008. All rights reserved.
; The use and distribution terms for this software are covered by the
; Common Public License 1.0 (http://opensource.org/licenses/cpl.php)
; which can be found in the file CPL.TXT at the root of this distribution.
; By using this softwa... |
[
{
"context": "clj (config/get-in path default-value)\n ; TODO(Richo): Make the CLJS version work for real...\n :clj",
"end": 1089,
"score": 0.9569216370582581,
"start": 1084,
"tag": "NAME",
"value": "Richo"
},
{
"context": " (ports/disconnect! conn)\n ; TODO(Ric... | middleware/server/src/middleware/device/controller.cljc | GIRA/PhysicalBits | 2 | (ns middleware.device.controller
(:require #?(:clj [clojure.tools.logging :as log])
[middleware.device.ports.scanner :as port-scanner]
[clojure.core.async :as a :refer [<! >! go go-loop timeout]]
[middleware.device.ports.common :as ports]
[middleware.device.protocol :as... | 3826 | (ns middleware.device.controller
(:require #?(:clj [clojure.tools.logging :as log])
[middleware.device.ports.scanner :as port-scanner]
[clojure.core.async :as a :refer [<! >! go go-loop timeout]]
[middleware.device.ports.common :as ports]
[middleware.device.protocol :as... | true | (ns middleware.device.controller
(:require #?(:clj [clojure.tools.logging :as log])
[middleware.device.ports.scanner :as port-scanner]
[clojure.core.async :as a :refer [<! >! go go-loop timeout]]
[middleware.device.ports.common :as ports]
[middleware.device.protocol :as... |
[
{
"context": "\n [pass\n (-> pMap\n (assoc :password pass)\n )\n ]\n )\n )\n(defn- setup-indicie",
"end": 4108,
"score": 0.8353391885757446,
"start": 4104,
"tag": "PASSWORD",
"value": "pass"
}
] | src/hphelper/server/live/control.clj | lsenjov/hphelper | 2 | (ns hphelper.server.live.control
(:require [hphelper.server.shared.sql :as sql]
[hphelper.server.shared.saveload :as sl]
[hphelper.server.shared.unique :as uni]
[hphelper.server.shared.indicies :as indicies]
[taoensso.timbre :as log]
[clojure.spec.alpha :as ... | 34087 | (ns hphelper.server.live.control
(:require [hphelper.server.shared.sql :as sql]
[hphelper.server.shared.saveload :as sl]
[hphelper.server.shared.unique :as uni]
[hphelper.server.shared.indicies :as indicies]
[taoensso.timbre :as log]
[clojure.spec.alpha :as ... | true | (ns hphelper.server.live.control
(:require [hphelper.server.shared.sql :as sql]
[hphelper.server.shared.saveload :as sl]
[hphelper.server.shared.unique :as uni]
[hphelper.server.shared.indicies :as indicies]
[taoensso.timbre :as log]
[clojure.spec.alpha :as ... |
[
{
"context": "tdb/wipe-database! *db*)\n (user/create! \"user1\" \"password1\")\n (testing \"We get a login token when authentic",
"end": 866,
"score": 0.9954404830932617,
"start": 857,
"tag": "PASSWORD",
"value": "password1"
},
{
"context": "data] (post-request \"/api/auth/login\"... | test/clj/memento/test/routes/api/auth.clj | ricardojmendez/memento | 2 | (ns memento.test.routes.api.auth
(:require [clojure.test :refer :all]
[clj-time.core :as t]
[memento.handler :refer [app]]
[memento.config :refer [env]]
[memento.db.user :as user]
[memento.test.db.core :as tdb]
[memento.test.routes.helpers :refer... | 70073 | (ns memento.test.routes.api.auth
(:require [clojure.test :refer :all]
[clj-time.core :as t]
[memento.handler :refer [app]]
[memento.config :refer [env]]
[memento.db.user :as user]
[memento.test.db.core :as tdb]
[memento.test.routes.helpers :refer... | true | (ns memento.test.routes.api.auth
(:require [clojure.test :refer :all]
[clj-time.core :as t]
[memento.handler :refer [app]]
[memento.config :refer [env]]
[memento.db.user :as user]
[memento.test.db.core :as tdb]
[memento.test.routes.helpers :refer... |
[
{
"context": " [clojure.pprint :refer [pprint]]))\n\n; NOTE(Richo): Cache to avoid parsing the same file several ti",
"end": 236,
"score": 0.7293053865432739,
"start": 235,
"tag": "NAME",
"value": "o"
}
] | middleware/server/src/middleware/compiler/linker.clj | kristiank/PhysicalBits | 0 | (ns middleware.compiler.linker
(:require [middleware.compiler.utils.ast :as ast-utils]
[clojure.java.io :as io]
[middleware.parser.parser :as parser]
[clojure.pprint :refer [pprint]]))
; NOTE(Richo): Cache to avoid parsing the same file several times if it didn't change.
(def pars... | 24566 | (ns middleware.compiler.linker
(:require [middleware.compiler.utils.ast :as ast-utils]
[clojure.java.io :as io]
[middleware.parser.parser :as parser]
[clojure.pprint :refer [pprint]]))
; NOTE(Rich<NAME>): Cache to avoid parsing the same file several times if it didn't change.
(def... | true | (ns middleware.compiler.linker
(:require [middleware.compiler.utils.ast :as ast-utils]
[clojure.java.io :as io]
[middleware.parser.parser :as parser]
[clojure.pprint :refer [pprint]]))
; NOTE(RichPI:NAME:<NAME>END_PI): Cache to avoid parsing the same file several times if it didn'... |
[
{
"context": ")\n\n(def vconcat (comp vec concat))\n\n;; copied from Ben Sless - posted in clojurians slack\n#?(:clj (defn compar",
"end": 2716,
"score": 0.9995463490486145,
"start": 2707,
"tag": "NAME",
"value": "Ben Sless"
},
{
"context": "; update to use this setup:\n;; https://gi... | src/dev/space/matterandvoid/util.cljc | dvingo/malli-code-gen | 16 | (ns space.matterandvoid.util
; todo make sure this won't overlap with the util ns from src, maybe name this dev-util?
(:refer-clojure :exclude [uuid])
(:require
[malli.core :as m]
[malli.error :as me]
[malli.registry :as mr]
[space.matterandvoid.data-model.db :as db]
[taoensso.timbre :as log])... | 56743 | (ns space.matterandvoid.util
; todo make sure this won't overlap with the util ns from src, maybe name this dev-util?
(:refer-clojure :exclude [uuid])
(:require
[malli.core :as m]
[malli.error :as me]
[malli.registry :as mr]
[space.matterandvoid.data-model.db :as db]
[taoensso.timbre :as log])... | true | (ns space.matterandvoid.util
; todo make sure this won't overlap with the util ns from src, maybe name this dev-util?
(:refer-clojure :exclude [uuid])
(:require
[malli.core :as m]
[malli.error :as me]
[malli.registry :as mr]
[space.matterandvoid.data-model.db :as db]
[taoensso.timbre :as log])... |
[
{
"context": "s state :corp)\n (play-from-hand state :runner \"Djinn\")\n (is (= 3 (:memory (get-runner))))\n (let ",
"end": 6891,
"score": 0.9901599884033203,
"start": 6886,
"tag": "NAME",
"value": "Djinn"
},
{
"context": "s state :corp)\n (play-from-hand state :runner \... | src/clj/test/cards/programs.clj | erbridge/netrunner | 0 | (ns test.cards.programs
(:require [game.core :as core]
[game.utils :refer :all]
[test.core :refer :all]
[test.utils :refer :all]
[test.macros :refer :all]
[clojure.test :refer :all]))
(deftest au-revoir
;; Au Revoir - Gain 1 credit every time you jack ou... | 25926 | (ns test.cards.programs
(:require [game.core :as core]
[game.utils :refer :all]
[test.core :refer :all]
[test.utils :refer :all]
[test.macros :refer :all]
[clojure.test :refer :all]))
(deftest au-revoir
;; Au Revoir - Gain 1 credit every time you jack ou... | true | (ns test.cards.programs
(:require [game.core :as core]
[game.utils :refer :all]
[test.core :refer :all]
[test.utils :refer :all]
[test.macros :refer :all]
[clojure.test :refer :all]))
(deftest au-revoir
;; Au Revoir - Gain 1 credit every time you jack ou... |
[
{
"context": "ls.cli/parse-opts\n args [[\"-u\" \"--username USERNAME\" \"Hive username - required\"\n :miss",
"end": 2353,
"score": 0.9291775226593018,
"start": 2345,
"tag": "USERNAME",
"value": "USERNAME"
},
{
"context": "ername missing.\"]\n [\... | hive.clj | philjackson/hive.bb | 0 | #!/usr/bin/env bb
(require '[babashka.curl :as curl]
'[clojure.pprint :refer [pprint]])
(import 'java.time.format.DateTimeFormatter
'java.time.ZonedDateTime)
(def beekeeper-base "https://beekeeper.hivehome.com")
(defn extract-config [data]
(select-keys data [:token :accessToken :refreshToken]))
... | 17471 | #!/usr/bin/env bb
(require '[babashka.curl :as curl]
'[clojure.pprint :refer [pprint]])
(import 'java.time.format.DateTimeFormatter
'java.time.ZonedDateTime)
(def beekeeper-base "https://beekeeper.hivehome.com")
(defn extract-config [data]
(select-keys data [:token :accessToken :refreshToken]))
... | true | #!/usr/bin/env bb
(require '[babashka.curl :as curl]
'[clojure.pprint :refer [pprint]])
(import 'java.time.format.DateTimeFormatter
'java.time.ZonedDateTime)
(def beekeeper-base "https://beekeeper.hivehome.com")
(defn extract-config [data]
(select-keys data [:token :accessToken :refreshToken]))
... |
[
{
"context": "ATED-AT \"2020-06-14T12:47:38.000Z\")\n\n(def AUTHOR \"fred-astaire\")\n\n(def AUTHOR2 \"ginger-rogers\")\n\n(def DELETED-AT",
"end": 1370,
"score": 0.947488009929657,
"start": 1358,
"tag": "NAME",
"value": "fred-astaire"
},
{
"context": "00Z\")\n\n(def AUTHOR \"fred-as... | src/workspaces/violit/threads/thread_cards.cljs | eoogbe/violit-clj | 0 | ;;; Copyright 2022 Google LLC
;;; Licensed under the Apache License, Version 2.0 (the "License");
;;; you may not use this file except in compliance with the License.
;;; You may obtain a copy of the License at
;;;
;;; http://www.apache.org/licenses/LICENSE-2.0
;;;
;;; Unless required by applicable law or agreed ... | 44006 | ;;; Copyright 2022 Google LLC
;;; Licensed under the Apache License, Version 2.0 (the "License");
;;; you may not use this file except in compliance with the License.
;;; You may obtain a copy of the License at
;;;
;;; http://www.apache.org/licenses/LICENSE-2.0
;;;
;;; Unless required by applicable law or agreed ... | true | ;;; Copyright 2022 Google LLC
;;; Licensed under the Apache License, Version 2.0 (the "License");
;;; you may not use this file except in compliance with the License.
;;; You may obtain a copy of the License at
;;;
;;; http://www.apache.org/licenses/LICENSE-2.0
;;;
;;; Unless required by applicable law or agreed ... |
[
{
"context": "expected# [actual#])}))\n result#)))\n\n; TODO(Richo): Change implementation for sets and vectors so t",
"end": 831,
"score": 0.9820833802223206,
"start": 826,
"tag": "NAME",
"value": "Richo"
}
] | middleware/server/test/middleware/test_utils.clj | kristiank/PhysicalBits | 0 | (ns middleware.test-utils
(:require [clojure.test :refer :all]
[clojure.data :as data]
;[ultra.test :as ultra-test]
))
#_(defmethod assert-expr 'equivalent? [msg form]
(let [args (rest form)
pred (first form)]
`(let [values# (list ~@args)
result# (apply ~p... | 41067 | (ns middleware.test-utils
(:require [clojure.test :refer :all]
[clojure.data :as data]
;[ultra.test :as ultra-test]
))
#_(defmethod assert-expr 'equivalent? [msg form]
(let [args (rest form)
pred (first form)]
`(let [values# (list ~@args)
result# (apply ~p... | true | (ns middleware.test-utils
(:require [clojure.test :refer :all]
[clojure.data :as data]
;[ultra.test :as ultra-test]
))
#_(defmethod assert-expr 'equivalent? [msg form]
(let [args (rest form)
pred (first form)]
`(let [values# (list ~@args)
result# (apply ~p... |
[
{
"context": "]\n [:footer [:p \"Copyright (c) 2011 Warren Strange\"]]]]))\n\n; Standard layout - no additional javascr",
"end": 4651,
"score": 0.9998929500579834,
"start": 4637,
"tag": "NAME",
"value": "Warren Strange"
}
] | data/train/clojure/0d781f9e395e4ac5e29c58ab53f3e1ea9b45a152common.clj | harshp8l/deep-learning-lang-detection | 84 | (ns cloauth.views.common
(:use noir.core
hiccup.core
hiccup.page-helpers
hiccup.form-helpers)
(:require [cloauth.models.kdb :as db]
[noir.session :as session]
[gitauth.gitkit :as gitkit]
))
; Define all of the CSS and JS includes that we might need
(def ... | 103904 | (ns cloauth.views.common
(:use noir.core
hiccup.core
hiccup.page-helpers
hiccup.form-helpers)
(:require [cloauth.models.kdb :as db]
[noir.session :as session]
[gitauth.gitkit :as gitkit]
))
; Define all of the CSS and JS includes that we might need
(def ... | true | (ns cloauth.views.common
(:use noir.core
hiccup.core
hiccup.page-helpers
hiccup.form-helpers)
(:require [cloauth.models.kdb :as db]
[noir.session :as session]
[gitauth.gitkit :as gitkit]
))
; Define all of the CSS and JS includes that we might need
(def ... |
[
{
"context": "\\\"SubscriberId\\\":\\\"post-user\\\",\\\"EmailAddress\\\":\\\"someEmail@gmail.com\\\",\\\"CollectionConceptId\\\":\\\"C1200000018-PROV1\\\",\\",
"end": 407,
"score": 0.999911367893219,
"start": 388,
"tag": "EMAIL",
"value": "someEmail@gmail.com"
}
] | ingest-app/test/cmr/ingest/api/subscriptions_test.clj | chris-durbin/Common-Metadata-Repository | 294 | (ns cmr.ingest.api.subscriptions-test
(:require
[cheshire.core :as json]
[clojure.string :as string]
[clojure.test :refer :all]
[cmr.ingest.api.core :as api-core]
[cmr.ingest.api.subscriptions :as subscriptions]))
(deftest generate-native-id-test
(let [concept {:metadata
"{\"Name\":... | 75040 | (ns cmr.ingest.api.subscriptions-test
(:require
[cheshire.core :as json]
[clojure.string :as string]
[clojure.test :refer :all]
[cmr.ingest.api.core :as api-core]
[cmr.ingest.api.subscriptions :as subscriptions]))
(deftest generate-native-id-test
(let [concept {:metadata
"{\"Name\":... | true | (ns cmr.ingest.api.subscriptions-test
(:require
[cheshire.core :as json]
[clojure.string :as string]
[clojure.test :refer :all]
[cmr.ingest.api.core :as api-core]
[cmr.ingest.api.subscriptions :as subscriptions]))
(deftest generate-native-id-test
(let [concept {:metadata
"{\"Name\":... |
[
{
"context": " file is part of music-compojure.\n; Copyright (c) Matthew Howlett 2009\n;\n; music-compojure is free software: you c",
"end": 73,
"score": 0.9997990131378174,
"start": 58,
"tag": "NAME",
"value": "Matthew Howlett"
}
] | data/test/clojure/b1874e62e035e1106a1d03e4dd0712e3a37468a4event_creation.clj | harshp8l/deep-learning-lang-detection | 84 | ; This file is part of music-compojure.
; Copyright (c) Matthew Howlett 2009
;
; music-compojure is free software: you can redistribute it and/or modify
; it under the terms of the GNU General Public License as published by
; the Free Software Foundation, either version 3 of the License, or
; (at your option) any... | 117573 | ; This file is part of music-compojure.
; Copyright (c) <NAME> 2009
;
; music-compojure is free software: you can redistribute it and/or modify
; it under the terms of the GNU General Public License as published by
; the Free Software Foundation, either version 3 of the License, or
; (at your option) any later ve... | true | ; This file is part of music-compojure.
; Copyright (c) PI:NAME:<NAME>END_PI 2009
;
; music-compojure is free software: you can redistribute it and/or modify
; it under the terms of the GNU General Public License as published by
; the Free Software Foundation, either version 3 of the License, or
; (at your option... |
[
{
"context": " (d/transact! [{:db/id 1\n :name \"Peter\"}\n {:db/id 2\n :nam",
"end": 339,
"score": 0.9994349479675293,
"start": 334,
"tag": "NAME",
"value": "Peter"
},
{
"context": " {:db/id 2\n :name \"V... | re_db/test/re_db/reactivity_test.cljs | braintripping/re-view | 32 | (ns re-db.reactivity-test
(:require [cljs.test :refer-macros [deftest is testing]]
[re-db.d :as d]
[re-db.patterns :as patterns :include-macros true])
(:require-macros [re-db.test-helpers :refer [throws]]))
(def eval-count (atom 0))
(deftest reactivity
(d/transact! [{:db/id 1
... | 60271 | (ns re-db.reactivity-test
(:require [cljs.test :refer-macros [deftest is testing]]
[re-db.d :as d]
[re-db.patterns :as patterns :include-macros true])
(:require-macros [re-db.test-helpers :refer [throws]]))
(def eval-count (atom 0))
(deftest reactivity
(d/transact! [{:db/id 1
... | true | (ns re-db.reactivity-test
(:require [cljs.test :refer-macros [deftest is testing]]
[re-db.d :as d]
[re-db.patterns :as patterns :include-macros true])
(:require-macros [re-db.test-helpers :refer [throws]]))
(def eval-count (atom 0))
(deftest reactivity
(d/transact! [{:db/id 1
... |
[
{
"context": "r)))))\n\n(def santa-path (let [r (reader \"D:/users/thomas.ribo/GitRepos/adventofcode/day3.input.txt\")]\n (se",
"end": 918,
"score": 0.4776507318019867,
"start": 912,
"tag": "NAME",
"value": "thomas"
},
{
"context": "\n(def santa-path (let [r (reader \"D:/users/thomas... | day3.clj | tharibo/adventofcode | 0 | (use 'clojure.java.io)
(defn walk-left [[x y]]
[(dec x) y])
(defn walk-right [[x y]]
[(inc x) y])
(defn walk-up [[x y]]
[x (dec y)])
(defn walk-down [[x y]]
[x (inc y)])
(defn- walk [path step]
(conj (seq path) (let [last-pos (first path)]
(cond (= step \<) (walk-left last-pos)
... | 79836 | (use 'clojure.java.io)
(defn walk-left [[x y]]
[(dec x) y])
(defn walk-right [[x y]]
[(inc x) y])
(defn walk-up [[x y]]
[x (dec y)])
(defn walk-down [[x y]]
[x (inc y)])
(defn- walk [path step]
(conj (seq path) (let [last-pos (first path)]
(cond (= step \<) (walk-left last-pos)
... | true | (use 'clojure.java.io)
(defn walk-left [[x y]]
[(dec x) y])
(defn walk-right [[x y]]
[(inc x) y])
(defn walk-up [[x y]]
[x (dec y)])
(defn walk-down [[x y]]
[x (inc y)])
(defn- walk [path step]
(conj (seq path) (let [last-pos (first path)]
(cond (= step \<) (walk-left last-pos)
... |
[
{
"context": ";; Copyright 2013-2016 Andrey Antukh <niwi@niwi.nz>\n;;\n;; Licensed under the Apache Li",
"end": 36,
"score": 0.9998781085014343,
"start": 23,
"tag": "NAME",
"value": "Andrey Antukh"
},
{
"context": ";; Copyright 2013-2016 Andrey Antukh <niwi@niwi.nz>\n;;\n;; Licensed ... | src/buddy/auth/protocols.clj | eipplusone/buddy-auth | 292 | ;; Copyright 2013-2016 Andrey Antukh <niwi@niwi.nz>
;;
;; Licensed under the Apache License, Version 2.0 (the "License")
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable... | 72911 | ;; Copyright 2013-2016 <NAME> <<EMAIL>>
;;
;; Licensed under the Apache License, Version 2.0 (the "License")
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agre... | true | ;; Copyright 2013-2016 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
;;
;; Licensed under the Apache License, Version 2.0 (the "License")
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless requi... |
[
{
"context": "hres\")\n punctuation (get-words \"Nächster \\\"Charlie Hebdo\\\" wieder mit Mohammed-Karikaturen\")]\n (testing",
"end": 640,
"score": 0.9997159838676453,
"start": 627,
"tag": "NAME",
"value": "Charlie Hebdo"
},
{
"context": "(testing\n (let [words (get-... | test/time_slip/text_test.clj | BrackCurly/time-slip | 0 | (ns time-slip.text-test
(:require [clojure.test :refer :all]
[time-slip.text :refer :all]))
(deftest get-words-test
(testing "split string into words stop-words and seperators"
(is (= (get-words "Die Taucher bergen Stimmenrekorder der AirAsia-Maschine")
'(["Die" :stop] ["Taucher" :... | 12614 | (ns time-slip.text-test
(:require [clojure.test :refer :all]
[time-slip.text :refer :all]))
(deftest get-words-test
(testing "split string into words stop-words and seperators"
(is (= (get-words "Die Taucher bergen Stimmenrekorder der AirAsia-Maschine")
'(["Die" :stop] ["Taucher" :... | true | (ns time-slip.text-test
(:require [clojure.test :refer :all]
[time-slip.text :refer :all]))
(deftest get-words-test
(testing "split string into words stop-words and seperators"
(is (= (get-words "Die Taucher bergen Stimmenrekorder der AirAsia-Maschine")
'(["Die" :stop] ["Taucher" :... |
[
{
"context": ";=> #'chapter01.src.chapter01.defns/hello\n(hello \"Nico\")\n;;=> \"Hello world Nico !\"\n(hello \"Makoto\")\n;;=>",
"end": 138,
"score": 0.9946681261062622,
"start": 134,
"tag": "NAME",
"value": "Nico"
},
{
"context": "ter01.defns/hello\n(hello \"Nico\")\n;;=> \"Hello ... | Chapter 01 Code/chapter01/src/chapter01/defns.clj | PacktPublishing/Clojure-Programming-Cookbook | 14 | (ns chapter01.src.chapter01.defns)
(defn hello [s]
(str "Hello world " s " !"))
;;=> #'chapter01.src.chapter01.defns/hello
(hello "Nico")
;;=> "Hello world Nico !"
(hello "Makoto")
;;=> "Hello world Makoto !"
(defn simple-adder [x y]
(+ x y)
)
;;=> #'chapter01.src.chapter01.defns/simple-adder
(simple-adder 2 3... | 35612 | (ns chapter01.src.chapter01.defns)
(defn hello [s]
(str "Hello world " s " !"))
;;=> #'chapter01.src.chapter01.defns/hello
(hello "<NAME>")
;;=> "Hello world <NAME> !"
(hello "<NAME>")
;;=> "Hello world <NAME> !"
(defn simple-adder [x y]
(+ x y)
)
;;=> #'chapter01.src.chapter01.defns/simple-adder
(simple-adder ... | true | (ns chapter01.src.chapter01.defns)
(defn hello [s]
(str "Hello world " s " !"))
;;=> #'chapter01.src.chapter01.defns/hello
(hello "PI:NAME:<NAME>END_PI")
;;=> "Hello world PI:NAME:<NAME>END_PI !"
(hello "PI:NAME:<NAME>END_PI")
;;=> "Hello world PI:NAME:<NAME>END_PI !"
(defn simple-adder [x y]
(+ x y)
)
;;=> #'ch... |
[
{
"context": "(def emp1 (GeneratedUtils/createEmployee \"12345\" \"Jhon\" (Integer. 2000)))\n(GeneratedUtils/pPrint emp1)\n(",
"end": 957,
"score": 0.9997187852859497,
"start": 953,
"tag": "NAME",
"value": "Jhon"
}
] | src/org/apache/gora/clojure/gora_clj.clj | renato2099/GoraJython | 1 | (comment Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you ma... | 57107 | (comment Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you ma... | true | (comment Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you ma... |
[
{
"context": "font-awesome/5.15.4/css/all.min.css\\\" integrity=\\\"sha512-1ycn6IcaQQ40/MKBW2W4Rhis/DbILU74C1vSrLJxCq57o941Ym01SwNsOMqvEBFlcgUa6xLiPY/NS5R+E6ztJQ==\\\" crossorigin=\\\"anonymous\\\" referrerpolicy=\\\"no-r",
"end": 5256,
"score": 0.9995859861373901,
"start": 5161,
"tag": "KEY",
... | handlers/dashboard.cljs | cyppan/simple-site-analytics | 19 | (ns statistics
(:require [promesa.core :as p]
[reagent.dom.server :as srv]
["@aws-sdk/client-dynamodb" :as dynamo]
["date-fns" :as date-fns]
["crypto" :as crypto]))
(def dynamo-client (delay (dynamo/DynamoDBClient. #js{:region "eu-west-3"})))
(defn last-7-days
"get ... | 75243 | (ns statistics
(:require [promesa.core :as p]
[reagent.dom.server :as srv]
["@aws-sdk/client-dynamodb" :as dynamo]
["date-fns" :as date-fns]
["crypto" :as crypto]))
(def dynamo-client (delay (dynamo/DynamoDBClient. #js{:region "eu-west-3"})))
(defn last-7-days
"get ... | true | (ns statistics
(:require [promesa.core :as p]
[reagent.dom.server :as srv]
["@aws-sdk/client-dynamodb" :as dynamo]
["date-fns" :as date-fns]
["crypto" :as crypto]))
(def dynamo-client (delay (dynamo/DynamoDBClient. #js{:region "eu-west-3"})))
(defn last-7-days
"get ... |
[
{
"context": "eck that it \\\"persist\\\"\"\n (let [user {:password \"password\" :username \"test@test.no\" :email \"test@test.no\"}\n",
"end": 245,
"score": 0.999367892742157,
"start": 237,
"tag": "PASSWORD",
"value": "password"
},
{
"context": "\\\"\"\n (let [user {:password \"pa... | groove-api/test/groove/db_test.clj | MrLys/vicissitudes | 1 | (ns groove.db-test
(:require [clojure.test :refer :all]
[groove.db :as db]
[groove.db-test-utils :refer :all]))
(deftest new-user-test
"Create a new user, check that it \"persist\""
(let [user {:password "password" :username "test@test.no" :email "test@test.no"}
db-user (db/new-u... | 70483 | (ns groove.db-test
(:require [clojure.test :refer :all]
[groove.db :as db]
[groove.db-test-utils :refer :all]))
(deftest new-user-test
"Create a new user, check that it \"persist\""
(let [user {:password "<PASSWORD>" :username "<EMAIL>" :email "<EMAIL>"}
db-user (db/new-user! use... | true | (ns groove.db-test
(:require [clojure.test :refer :all]
[groove.db :as db]
[groove.db-test-utils :refer :all]))
(deftest new-user-test
"Create a new user, check that it \"persist\""
(let [user {:password "PI:PASSWORD:<PASSWORD>END_PI" :username "PI:EMAIL:<EMAIL>END_PI" :email "PI:EMAIL:<... |
[
{
"context": " :name username\n :password password\n :type \"user\"\n ",
"end": 1157,
"score": 0.999077558517456,
"start": 1149,
"tag": "PASSWORD",
"value": "password"
},
{
"context": " salt salt\n;; ... | src/joiner/user.clj | jalpedersen/couch-joiner | 0 | (ns joiner.user
(:require [clojure.string :as s]
[cemerick.url :as url]
[clojure.data.codec.base64 :as b64]
[com.ashafa.clutch :as clutch]
[com.ashafa.clutch.http-client :as http])
(:use [joiner.core]
[joiner.admin]))
(def ^:private ^:dynamic *users-db* "_use... | 2139 | (ns joiner.user
(:require [clojure.string :as s]
[cemerick.url :as url]
[clojure.data.codec.base64 :as b64]
[com.ashafa.clutch :as clutch]
[com.ashafa.clutch.http-client :as http])
(:use [joiner.core]
[joiner.admin]))
(def ^:private ^:dynamic *users-db* "_use... | true | (ns joiner.user
(:require [clojure.string :as s]
[cemerick.url :as url]
[clojure.data.codec.base64 :as b64]
[com.ashafa.clutch :as clutch]
[com.ashafa.clutch.http-client :as http])
(:use [joiner.core]
[joiner.admin]))
(def ^:private ^:dynamic *users-db* "_use... |
[
{
"context": ";;\n;; Copyright © 2017 Colin Smith.\n;; This work is based on the Scmutils system of ",
"end": 34,
"score": 0.9996936917304993,
"start": 23,
"tag": "NAME",
"value": "Colin Smith"
}
] | test/numerical/util/stream_test.cljc | dynamic-notebook/functional-numerics | 4 | ;;
;; Copyright © 2017 Colin Smith.
;; This work is based on the Scmutils system of MIT/GNU Scheme:
;; Copyright © 2002 Massachusetts Institute of Technology
;;
;; This is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software F... | 2601 | ;;
;; Copyright © 2017 <NAME>.
;; This work is based on the Scmutils system of MIT/GNU Scheme:
;; Copyright © 2002 Massachusetts Institute of Technology
;;
;; This is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Founda... | true | ;;
;; Copyright © 2017 PI:NAME:<NAME>END_PI.
;; This work is based on the Scmutils system of MIT/GNU Scheme:
;; Copyright © 2002 Massachusetts Institute of Technology
;;
;; This is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free S... |
[
{
"context": "; Copyright (c) Shantanu Kumar. All rights reserved.\n; The use and distributio",
"end": 32,
"score": 0.9997974634170532,
"start": 18,
"tag": "NAME",
"value": "Shantanu Kumar"
}
] | data/test/clojure/aab69257c8083df8b4e63d350e1df67ec9a37d76jdbc.clj | harshp8l/deep-learning-lang-detection | 84 | ; Copyright (c) Shantanu Kumar. 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 LICENSE at the root of this distribution.
; By using this software in any fa... | 42107 | ; 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 LICENSE at the root of this distribution.
; By using this software in any fashion, y... | 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 LICENSE at the root of this distribution.
; By using this software in ... |
[
{
"context": ";Copyright (c) 2012 Christoph Mueller\n;\n;Permission is hereby granted, free of charge, ",
"end": 37,
"score": 0.9998581409454346,
"start": 20,
"tag": "NAME",
"value": "Christoph Mueller"
}
] | clojure/cgpfun.clj | raytracer/CGPFun | 1 | ;Copyright (c) 2012 Christoph Mueller
;
;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,
;d... | 47999 | ;Copyright (c) 2012 <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,
;distribute, ... | true | ;Copyright (c) 2012 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, publish, ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.