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": "[{:title \"Code Complete 2nd Edition\"\n :author \"Steve McConnell\"\n :year 2004}\n {:title \"Clean Code\"\n :a", "end": 109, "score": 0.9998871684074402, "start": 94, "tag": "NAME", "value": "Steve McConnell" }, { "context": "year 2004}\n {:title \"Cle...
04-clojure/01-examples/03-get-and-docker/src/core/books.clj
jersson/microservices-templates
1
(ns core.books) (defn get-all-books [] [{:title "Code Complete 2nd Edition" :author "Steve McConnell" :year 2004} {:title "Clean Code" :author "Robert C. Martin" :year 2008} {:title "The Last Lecture" :author "Randy Pausch" :year 2008}])
101550
(ns core.books) (defn get-all-books [] [{:title "Code Complete 2nd Edition" :author "<NAME>" :year 2004} {:title "Clean Code" :author "<NAME>" :year 2008} {:title "The Last Lecture" :author "<NAME>" :year 2008}])
true
(ns core.books) (defn get-all-books [] [{:title "Code Complete 2nd Edition" :author "PI:NAME:<NAME>END_PI" :year 2004} {:title "Clean Code" :author "PI:NAME:<NAME>END_PI" :year 2008} {:title "The Last Lecture" :author "PI:NAME:<NAME>END_PI" :year 2008}])
[ { "context": " @response#))\n token# (auth/make-jwt \"ben\" [:unifydb/user])\n ~token-header-name (", "end": 1580, "score": 0.5252312421798706, "start": 1577, "tag": "KEY", "value": "ben" }, { "context": " queue-backend auth-header]\n '[[[:unifydb/add \"ben\"...
test/unifydb/server_test.clj
jdormit/unifydb
15
(ns unifydb.server-test {:clj-kondo/config '{:linters {:unresolved-symbol {:exclude [(unifydb.server-test/with-server)]}}}} (:require [buddy.core.bytes :as bytes] [buddy.core.codecs :as codecs] [buddy.core.codecs.base64 :as base64] [buddy.core.hash :as hash] ...
54644
(ns unifydb.server-test {:clj-kondo/config '{:linters {:unresolved-symbol {:exclude [(unifydb.server-test/with-server)]}}}} (:require [buddy.core.bytes :as bytes] [buddy.core.codecs :as codecs] [buddy.core.codecs.base64 :as base64] [buddy.core.hash :as hash] ...
true
(ns unifydb.server-test {:clj-kondo/config '{:linters {:unresolved-symbol {:exclude [(unifydb.server-test/with-server)]}}}} (:require [buddy.core.bytes :as bytes] [buddy.core.codecs :as codecs] [buddy.core.codecs.base64 :as base64] [buddy.core.hash :as hash] ...
[ { "context": ":ID :Salary :Department)\n\n(def data\n (->> '((\"Tyler Bennett\" E10297 32000 D101)\n (\"John Rappl\" E21", "end": 142, "score": 0.9998844861984253, "start": 129, "tag": "NAME", "value": "Tyler Bennett" }, { "context": "(\"Tyler Bennett\" E10297 32000 D1...
Task/Top-rank-per-group/Clojure/top-rank-per-group.clj
LaudateCorpus1/RosettaCodeData
1
(use '[clojure.contrib.seq-utils :only (group-by)]) (defstruct employee :Name :ID :Salary :Department) (def data (->> '(("Tyler Bennett" E10297 32000 D101) ("John Rappl" E21437 47000 D050) ("George Woltman" E00127 53500 D101) ("Adam Smith" E63535 18000 D202) ("Clai...
88591
(use '[clojure.contrib.seq-utils :only (group-by)]) (defstruct employee :Name :ID :Salary :Department) (def data (->> '(("<NAME>" E10297 32000 D101) ("<NAME>" E21437 47000 D050) ("<NAME>" E00127 53500 D101) ("<NAME>" E63535 18000 D202) ("<NAME>" E39876 27800 D202) ...
true
(use '[clojure.contrib.seq-utils :only (group-by)]) (defstruct employee :Name :ID :Salary :Department) (def data (->> '(("PI:NAME:<NAME>END_PI" E10297 32000 D101) ("PI:NAME:<NAME>END_PI" E21437 47000 D050) ("PI:NAME:<NAME>END_PI" E00127 53500 D101) ("PI:NAME:<NAME>END_PI" E635...
[ { "context": "hor :date :files] :as state}]]\n (let [doc {:name name\n :eaf (eaf30/create-eaf {:author aut", "end": 1868, "score": 0.9963790774345398, "start": 1864, "tag": "NAME", "value": "name" }, { "context": "name\n :eaf (eaf30/create-eaf {:author aut...
src/cljs/ewan/project/core.cljs
lgessler/EWAN
0
(ns ewan.project.core (:require [re-frame.core :as rf] [ewan.eaf30.core :as eaf30] [ewan.project.new-form :refer [new-project-dialog-form]] [ewan.project.upload-form :refer [upload-project-dialog-form]] [ewan.project.edit.core :refer [project-edit-panel-body]] ...
68288
(ns ewan.project.core (:require [re-frame.core :as rf] [ewan.eaf30.core :as eaf30] [ewan.project.new-form :refer [new-project-dialog-form]] [ewan.project.upload-form :refer [upload-project-dialog-form]] [ewan.project.edit.core :refer [project-edit-panel-body]] ...
true
(ns ewan.project.core (:require [re-frame.core :as rf] [ewan.eaf30.core :as eaf30] [ewan.project.new-form :refer [new-project-dialog-form]] [ewan.project.upload-form :refer [upload-project-dialog-form]] [ewan.project.edit.core :refer [project-edit-panel-body]] ...
[ { "context": "(ns\n ^{:doc \"Util synths\"\n :author \"Sam Aaron & Jeff Rose\"}\n overtone.studio.util\n (:use [ove", "end": 50, "score": 0.9998775124549866, "start": 41, "tag": "NAME", "value": "Sam Aaron" }, { "context": "s\n ^{:doc \"Util synths\"\n :author \"Sam Aaron...
src/overtone/studio/util.clj
rosejn/overtone
4
(ns ^{:doc "Util synths" :author "Sam Aaron & Jeff Rose"} overtone.studio.util (:use [overtone.libs event] [overtone.sc synth ugens])) ;; Some utility synths for signal routing and scoping (defonce __UTIL-SYNTHS__ (do (defsynth bus->buf [bus 20 buf 0] (record-buf (in bus) buf)) (def...
115272
(ns ^{:doc "Util synths" :author "<NAME> & <NAME>"} overtone.studio.util (:use [overtone.libs event] [overtone.sc synth ugens])) ;; Some utility synths for signal routing and scoping (defonce __UTIL-SYNTHS__ (do (defsynth bus->buf [bus 20 buf 0] (record-buf (in bus) buf)) (defsynth ...
true
(ns ^{:doc "Util synths" :author "PI:NAME:<NAME>END_PI & PI:NAME:<NAME>END_PI"} overtone.studio.util (:use [overtone.libs event] [overtone.sc synth ugens])) ;; Some utility synths for signal routing and scoping (defonce __UTIL-SYNTHS__ (do (defsynth bus->buf [bus 20 buf 0] (record-buf (i...
[ { "context": " :db-password \"bobby-tables\"\n :", "end": 422, "score": 0.9992940425872803, "start": 410, "tag": "PASSWORD", "value": "bobby-tables" } ]
test/fail/utils.clj
lispyclouds/fail
0
(ns fail.utils (:require [com.stuartsierra.component :as component] [next.jdbc :as jdbc] [fail.system :as sys])) (defn with-system [test-fn] (let [system (component/system-map :database (sys/map->Database {:db-name "contacts-test" ...
118961
(ns fail.utils (:require [com.stuartsierra.component :as component] [next.jdbc :as jdbc] [fail.system :as sys])) (defn with-system [test-fn] (let [system (component/system-map :database (sys/map->Database {:db-name "contacts-test" ...
true
(ns fail.utils (:require [com.stuartsierra.component :as component] [next.jdbc :as jdbc] [fail.system :as sys])) (defn with-system [test-fn] (let [system (component/system-map :database (sys/map->Database {:db-name "contacts-test" ...
[ { "context": " \"password=\\\"%s\\\" \"\n ", "end": 1218, "score": 0.998536229133606, "start": 1216, "tag": "PASSWORD", "value": "%s" } ]
src/afrolabs/components/confluent.clj
Afrolabs/afrolabs-clj
0
(ns afrolabs.components.confluent (:require [afrolabs.components.kafka :as -kafka]) (:import [afrolabs.components.kafka IUpdateConsumerConfigHook IUpdateProducerConfigHook IUpdateAdminClientConfigHook])) (-kafka/defstrategy ConfluentCloud ;; "Sets the required and recommended...
55328
(ns afrolabs.components.confluent (:require [afrolabs.components.kafka :as -kafka]) (:import [afrolabs.components.kafka IUpdateConsumerConfigHook IUpdateProducerConfigHook IUpdateAdminClientConfigHook])) (-kafka/defstrategy ConfluentCloud ;; "Sets the required and recommended...
true
(ns afrolabs.components.confluent (:require [afrolabs.components.kafka :as -kafka]) (:import [afrolabs.components.kafka IUpdateConsumerConfigHook IUpdateProducerConfigHook IUpdateAdminClientConfigHook])) (-kafka/defstrategy ConfluentCloud ;; "Sets the required and recommended...
[ { "context": "; Copyright (c) Rich Hickey. All rights reserved.\n; The use and distributio", "end": 29, "score": 0.9998580813407898, "start": 18, "tag": "NAME", "value": "Rich Hickey" }, { "context": "ml for the\n dependency info.\"\n :author \"Rich Hickey\"}\n clojure...
ext/clojure-clojurescript-bef56a7/src/cljs/clojure/core/reducers.cljs
yokolet/clementine
35
; Copyright (c) Rich Hickey. All rights reserved. ; The use and distribution terms for this software are covered by the ; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) ; which can be found in the file epl-v10.html at the root of this distribution. ; By using this software in any ...
103887
; Copyright (c) <NAME>. All rights reserved. ; The use and distribution terms for this software are covered by the ; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) ; which can be found in the file epl-v10.html at the root of this distribution. ; By using this software in any fashi...
true
; Copyright (c) PI:NAME:<NAME>END_PI. All rights reserved. ; The use and distribution terms for this software are covered by the ; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) ; which can be found in the file epl-v10.html at the root of this distribution. ; By using this softwar...
[ { "context": "ffer x))\n\n;; TODO: add options\n\n(def REDUCER-KEY \"mapred.reduce.tasks\")\n\n(defn set-reducers\n \"Set the number of reduce", "end": 7216, "score": 0.9839000701904297, "start": 7197, "tag": "KEY", "value": "mapred.reduce.tasks" } ]
cascalog-core/src/clj/cascalog/cascading/operations.clj
bhiles/cascalog
0
(ns cascalog.cascading.operations (:require [clojure.tools.macro :refer (name-with-attributes)] [clojure.set :as set :refer (subset? difference intersection)] [cascalog.logic.fn :as serfn] [cascalog.logic.vars :as v] [cascalog.logic.algebra :refer (sum)] [ca...
57022
(ns cascalog.cascading.operations (:require [clojure.tools.macro :refer (name-with-attributes)] [clojure.set :as set :refer (subset? difference intersection)] [cascalog.logic.fn :as serfn] [cascalog.logic.vars :as v] [cascalog.logic.algebra :refer (sum)] [ca...
true
(ns cascalog.cascading.operations (:require [clojure.tools.macro :refer (name-with-attributes)] [clojure.set :as set :refer (subset? difference intersection)] [cascalog.logic.fn :as serfn] [cascalog.logic.vars :as v] [cascalog.logic.algebra :refer (sum)] [ca...
[ { "context": "; Copyright (c) Rich Hickey. All rights reserved.\n; The use and distributio", "end": 29, "score": 0.9998119473457336, "start": 18, "tag": "NAME", "value": "Rich Hickey" } ]
libs/clojurescript/cljs/source_map.cljs
jmshelby/elevatorsaga
0
; Copyright (c) Rich Hickey. All rights reserved. ; The use and distribution terms for this software are covered by the ; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) ; which can be found in the file epl-v10.html at the root of this distribution. ; By using this software in any ...
93999
; Copyright (c) <NAME>. All rights reserved. ; The use and distribution terms for this software are covered by the ; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) ; which can be found in the file epl-v10.html at the root of this distribution. ; By using this software in any fashi...
true
; Copyright (c) PI:NAME:<NAME>END_PI. All rights reserved. ; The use and distribution terms for this software are covered by the ; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) ; which can be found in the file epl-v10.html at the root of this distribution. ; By using this softwar...
[ { "context": "ns under the License.\n;;\n;; Copyright © 2013-2022, Kenneth Leung. All rights reserved.\n\n(ns czlab.twisty.codec\n\n ", "end": 597, "score": 0.9998577237129211, "start": 584, "tag": "NAME", "value": "Kenneth Leung" } ]
src/main/clojure/czlab/twisty/codec.clj
llnek/crypto
0
;; Licensed under the Apache License, Version 2.0 (the "License"); ;; you may not use this file except in compliance with the License. ;; You may obtain a copy of the License at ;; ;; http://www.apache.org/licenses/LICENSE-2.0 ;; ;; Unless required by applicable law or agreed to in writing, software ;; distributed ...
65070
;; Licensed under the Apache License, Version 2.0 (the "License"); ;; you may not use this file except in compliance with the License. ;; You may obtain a copy of the License at ;; ;; http://www.apache.org/licenses/LICENSE-2.0 ;; ;; Unless required by applicable law or agreed to in writing, software ;; distributed ...
true
;; Licensed under the Apache License, Version 2.0 (the "License"); ;; you may not use this file except in compliance with the License. ;; You may obtain a copy of the License at ;; ;; http://www.apache.org/licenses/LICENSE-2.0 ;; ;; Unless required by applicable law or agreed to in writing, software ;; distributed ...
[ { "context": ";; Copyright 2020, Di Sera Luca\n;; Contacts: disera.luca@gmail.com\n;; ", "end": 31, "score": 0.9998766779899597, "start": 19, "tag": "NAME", "value": "Di Sera Luca" }, { "context": " Copyright 2020, Di Sera Luca\n;; Contacts: disera.luca@gmail.com\n...
pmal/test/pmal/backend/packages/packagemanagers/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...
63836
;; Copyright 2020, <NAME> ;; Contacts: <EMAIL> ;; https://github.com/diseraluca ;; https://www.linkedin.com/in/luca-di-sera-200023167 ;; ;; This code is licensed under the MIT License. ;; More information can be found in the LICENSE file in the root of this repository (ns pm...
true
;; Copyright 2020, PI:NAME:<NAME>END_PI ;; Contacts: PI:EMAIL:<EMAIL>END_PI ;; https://github.com/diseraluca ;; https://www.linkedin.com/in/luca-di-sera-200023167 ;; ;; This code is licensed under the MIT License. ;; More information can be found in the LICENSE file in the ro...
[ { "context": "(api-call :post \"/api/invitations/create\" {:name \"Katherine Johnson\"\n ", "end": 954, "score": 0.9995953440666199, "start": 937, "tag": "NAME", "value": "Katherine Johnson" }, { "context": " ...
test/clj/rems/api/test_invitations.clj
tjb/rems
31
(ns ^:integration rems.api.test-invitations (:require [clojure.test :refer :all] [rems.api.services.invitation :as invitation] [rems.api.testing :refer :all] [rems.db.applications] [rems.db.test-data :as test-data] [rems.db.test-data-helpers :as test-helpers...
30171
(ns ^:integration rems.api.test-invitations (:require [clojure.test :refer :all] [rems.api.services.invitation :as invitation] [rems.api.testing :refer :all] [rems.db.applications] [rems.db.test-data :as test-data] [rems.db.test-data-helpers :as test-helpers...
true
(ns ^:integration rems.api.test-invitations (:require [clojure.test :refer :all] [rems.api.services.invitation :as invitation] [rems.api.testing :refer :all] [rems.db.applications] [rems.db.test-data :as test-data] [rems.db.test-data-helpers :as test-helpers...
[ { "context": " to closest xterm-256 colour.\n;;;;\n;;;; Written by Alex Vear (2021-02-14).\n;;;; Public domain. No rights rese", "end": 87, "score": 0.9998580813407898, "start": 78, "tag": "NAME", "value": "Alex Vear" } ]
2021/colours/colours.clj
axvr/codedump
1
;;;; Convert 24-bit colours to closest xterm-256 colour. ;;;; ;;;; Written by Alex Vear (2021-02-14). ;;;; Public domain. No rights reserved. (ns colours (:require [clojure.math.numeric-tower :as math])) (def xterm-colours {"000000" 16, "00005F" 17, "000087" 18, "0000AF" 19 "0000D7" 20, "0000FF" 21, "0...
83229
;;;; Convert 24-bit colours to closest xterm-256 colour. ;;;; ;;;; Written by <NAME> (2021-02-14). ;;;; Public domain. No rights reserved. (ns colours (:require [clojure.math.numeric-tower :as math])) (def xterm-colours {"000000" 16, "00005F" 17, "000087" 18, "0000AF" 19 "0000D7" 20, "0000FF" 21, "005F...
true
;;;; Convert 24-bit colours to closest xterm-256 colour. ;;;; ;;;; Written by PI:NAME:<NAME>END_PI (2021-02-14). ;;;; Public domain. No rights reserved. (ns colours (:require [clojure.math.numeric-tower :as math])) (def xterm-colours {"000000" 16, "00005F" 17, "000087" 18, "0000AF" 19 "0000D7" 20, "0000...
[ { "context": "ation\n; Kombinatorische Logik\n; Copyright (c) 2021 Burkhardt Renz, THM. All rights reserved.\n\n(ns pres.cl\n (:requi", "end": 97, "score": 0.999861478805542, "start": 83, "tag": "NAME", "value": "Burkhardt Renz" } ]
src/pres/cl.clj
esb-lwb/lwb
22
; lwb Logic WorkBench -- Präsentation ; Kombinatorische Logik ; Copyright (c) 2021 Burkhardt Renz, THM. All rights reserved. (ns pres.cl (:require [lwb.cl :refer :all] [lwb.cl.repl :refer :all])) ; I.1 Syntax ; 1. Kombinatoren werden repräsentiert als Symbole beginnend ; mit einem Großbuchstaben,...
3650
; lwb Logic WorkBench -- Präsentation ; Kombinatorische Logik ; Copyright (c) 2021 <NAME>, THM. All rights reserved. (ns pres.cl (:require [lwb.cl :refer :all] [lwb.cl.repl :refer :all])) ; I.1 Syntax ; 1. Kombinatoren werden repräsentiert als Symbole beginnend ; mit einem Großbuchstaben, z.B. S,...
true
; lwb Logic WorkBench -- Präsentation ; Kombinatorische Logik ; Copyright (c) 2021 PI:NAME:<NAME>END_PI, THM. All rights reserved. (ns pres.cl (:require [lwb.cl :refer :all] [lwb.cl.repl :refer :all])) ; I.1 Syntax ; 1. Kombinatoren werden repräsentiert als Symbole beginnend ; mit einem Großbuchs...
[ { "context": "ields\" :since \"now\" :until \"now\"}}\n token \"token\"\n out-dir *tmpdir*]\n (println *tmpdir*)", "end": 2298, "score": 0.5284016728401184, "start": 2293, "tag": "KEY", "value": "token" } ]
test/keboola/facebook/extractor/query_test.clj
keboola/ex-facebook-graph-api
40
(ns keboola.facebook.extractor.query-test (:require [keboola.facebook.extractor.query :as sut] [keboola.test-utils.core :as test-utils] [clojure.java.io :as io] [keboola.facebook.api.request-test :refer [media-posted-before-error-response]] [clojure.test :refer :all]) ...
9864
(ns keboola.facebook.extractor.query-test (:require [keboola.facebook.extractor.query :as sut] [keboola.test-utils.core :as test-utils] [clojure.java.io :as io] [keboola.facebook.api.request-test :refer [media-posted-before-error-response]] [clojure.test :refer :all]) ...
true
(ns keboola.facebook.extractor.query-test (:require [keboola.facebook.extractor.query :as sut] [keboola.test-utils.core :as test-utils] [clojure.java.io :as io] [keboola.facebook.api.request-test :refer [media-posted-before-error-response]] [clojure.test :refer :all]) ...
[ { "context": " :body (edn->json {:message \"I have a dream - Martin Luther King, Jr.\"})} \n response))))))\n", "end": 744, "score": 0.9997578859329224, "start": 726, "tag": "NAME", "value": "Martin Luther King" } ]
test/integration/integration/health_test.clj
eduardoeof/clojure-service
0
(ns integration.health-test (:require [clojure.test :refer :all] [matcher-combinators.test :refer [match?]] [clojure-service.component :as component] [integration.util.http :refer [http-get edn->json]])) (def components (atom nil)) (defn fixtures-once [test-case] (reset! compo...
76771
(ns integration.health-test (:require [clojure.test :refer :all] [matcher-combinators.test :refer [match?]] [clojure-service.component :as component] [integration.util.http :refer [http-get edn->json]])) (def components (atom nil)) (defn fixtures-once [test-case] (reset! compo...
true
(ns integration.health-test (:require [clojure.test :refer :all] [matcher-combinators.test :refer [match?]] [clojure-service.component :as component] [integration.util.http :refer [http-get edn->json]])) (def components (atom nil)) (defn fixtures-once [test-case] (reset! compo...
[ { "context": "sword]\n \"TODO: Test, goog.async\"\n (let [username username\n password password\n authentication-", "end": 315, "score": 0.9937187433242798, "start": 307, "tag": "USERNAME", "value": "username" }, { "context": ".async\"\n (let [username username\n ...
src/aws_services/core.cljs
theopcode/aws-services-cognito
0
(ns aws-services.core (:require [cljsjs.aws-sdk-js] [aws.amazon-cognito])) (defonce config (atom {})) (def empty-data {:region nil :identity-pool-id nil :user-pool-id nil :client-id nil }) (defn ^:export sign-in [username password] "TODO: Test, goog.async" (let [username username ...
118595
(ns aws-services.core (:require [cljsjs.aws-sdk-js] [aws.amazon-cognito])) (defonce config (atom {})) (def empty-data {:region nil :identity-pool-id nil :user-pool-id nil :client-id nil }) (defn ^:export sign-in [username password] "TODO: Test, goog.async" (let [username username ...
true
(ns aws-services.core (:require [cljsjs.aws-sdk-js] [aws.amazon-cognito])) (defonce config (atom {})) (def empty-data {:region nil :identity-pool-id nil :user-pool-id nil :client-id nil }) (defn ^:export sign-in [username password] "TODO: Test, goog.async" (let [username username ...
[ { "context": "n [subs]\n (let [key (keyword (gensym \"beicon\"))]\n (when emit-current-value? ", "end": 5701, "score": 0.5743555426597595, "start": 5699, "tag": "KEY", "value": "be" } ]
src/beicon/core.cljs
funcool/beicon
151
(ns beicon.core (:refer-clojure :exclude [true? map filter reduce merge repeat first last mapcat repeatedly zip dedupe drop take take-while map-indexed concat empty delay range throw do trampoline subs flatten]) (:require [beicon.im...
121430
(ns beicon.core (:refer-clojure :exclude [true? map filter reduce merge repeat first last mapcat repeatedly zip dedupe drop take take-while map-indexed concat empty delay range throw do trampoline subs flatten]) (:require [beicon.im...
true
(ns beicon.core (:refer-clojure :exclude [true? map filter reduce merge repeat first last mapcat repeatedly zip dedupe drop take take-while map-indexed concat empty delay range throw do trampoline subs flatten]) (:require [beicon.im...
[ { "context": "e uri))\n stage (<?? S (create-stage! \"mail:your@email.com\" peer))]\n (<?? S (start peer))\n ;; NOTE: yo", "end": 709, "score": 0.9994716644287109, "start": 695, "tag": "EMAIL", "value": "your@email.com" } ]
src/clj/pinkgorilla/replikativ.clj
agilecreativity/gorilla-notebook
1
(ns pinkgorilla.replikativ (:require ;; [replikativ.peer :refer [server-peer]] ;; [replikativ.stage :refer [create-stage! connect!]] ;; [kabel.peer :refer [start stop]] ;; [konserve.memory :refer [new-mem-store]] ;; [konserve.filestore :refer [new-fs-store]] ;; [superv.async :refer [<?? S]] ;; co...
14624
(ns pinkgorilla.replikativ (:require ;; [replikativ.peer :refer [server-peer]] ;; [replikativ.stage :refer [create-stage! connect!]] ;; [kabel.peer :refer [start stop]] ;; [konserve.memory :refer [new-mem-store]] ;; [konserve.filestore :refer [new-fs-store]] ;; [superv.async :refer [<?? S]] ;; co...
true
(ns pinkgorilla.replikativ (:require ;; [replikativ.peer :refer [server-peer]] ;; [replikativ.stage :refer [create-stage! connect!]] ;; [kabel.peer :refer [start stop]] ;; [konserve.memory :refer [new-mem-store]] ;; [konserve.filestore :refer [new-fs-store]] ;; [superv.async :refer [<?? S]] ;; co...
[ { "context": "oken (atom \"\"))\n(def auth-url \"https://github.com/login/oauth/authorize?client_id=3056f749c2e91ce4d780&sc", "end": 380, "score": 0.7819816470146179, "start": 375, "tag": "USERNAME", "value": "login" }, { "context": "\")\n\n(def id \"3056f749c2e91ce4d780\")\n(def sec...
src/main/main.cljs
zamansky/clojurescript-electron-oauth-test
0
(ns main.main (:require ["electron" :refer [app BrowserWindow crashReporter ipcMain ]] [cljs.core.async :refer (chan put! <! >! go go-loop timeout)] [cljs-http.client :as http] [ajax.core :refer [GET POST]] )) (def main-window (atom nil)) (def auth-window (atom nil)) (...
80293
(ns main.main (:require ["electron" :refer [app BrowserWindow crashReporter ipcMain ]] [cljs.core.async :refer (chan put! <! >! go go-loop timeout)] [cljs-http.client :as http] [ajax.core :refer [GET POST]] )) (def main-window (atom nil)) (def auth-window (atom nil)) (...
true
(ns main.main (:require ["electron" :refer [app BrowserWindow crashReporter ipcMain ]] [cljs.core.async :refer (chan put! <! >! go go-loop timeout)] [cljs-http.client :as http] [ajax.core :refer [GET POST]] )) (def main-window (atom nil)) (def auth-window (atom nil)) (...
[ { "context": ";;\n;; Author:: Adam Jacob (<adam@opscode.com>)\n;; Copyright:: Copyright (c)", "end": 25, "score": 0.999851405620575, "start": 15, "tag": "NAME", "value": "Adam Jacob" }, { "context": ";;\n;; Author:: Adam Jacob (<adam@opscode.com>)\n;; Copyright:: Copyright (c) 2011 O...
config/software/gecode.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 ;; ...
6296
;; ;; 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": "! *unchecked-math* :warn-on-boxed)\n(ns ^{:author \"John Alan McDonald\" :date \"2016-03-16\"\n :doc \"Tests for zana.da", "end": 105, "score": 0.9998740553855896, "start": 87, "tag": "NAME", "value": "John Alan McDonald" } ]
src/test/clojure/zana/test/defs/data/oempty.clj
wahpenayo/zana
2
(set! *warn-on-reflection* true) (set! *unchecked-math* :warn-on-boxed) (ns ^{:author "John Alan McDonald" :date "2016-03-16" :doc "Tests for zana.data.enum." } zana.test.defs.data.oempty (:require [zana.api :as z])) ;;------------------------------------------------------------------------------ (...
3216
(set! *warn-on-reflection* true) (set! *unchecked-math* :warn-on-boxed) (ns ^{:author "<NAME>" :date "2016-03-16" :doc "Tests for zana.data.enum." } zana.test.defs.data.oempty (:require [zana.api :as z])) ;;------------------------------------------------------------------------------ (z/define-ord...
true
(set! *warn-on-reflection* true) (set! *unchecked-math* :warn-on-boxed) (ns ^{:author "PI:NAME:<NAME>END_PI" :date "2016-03-16" :doc "Tests for zana.data.enum." } zana.test.defs.data.oempty (:require [zana.api :as z])) ;;------------------------------------------------------------------------------...
[ { "context": "\n (def q\n '{:find [e]\n :where [[e :name \"Malcolma\"]\n [e :last-name \"Sparks\"]]})\n ;; e", "end": 476, "score": 0.9998331069946289, "start": 468, "tag": "NAME", "value": "Malcolma" }, { "context": "[e :name \"Malcolma\"]\n [e :l...
docs/reference/modules/ROOT/examples/test/crux/docs/examples/query_test.clj
cmgrote/crux
0
(ns crux.docs.examples.query-test (:require [clojure.test :as t] [crux.api :as crux] [crux.fixtures :as fix :refer [*api*]] [user :as user])) (def ^:dynamic *storage-dir*) (defn with-storage-dir [f] (fix/with-tmp-dirs [storage-dir] (binding [*storage-dir* storage-dir] ...
111298
(ns crux.docs.examples.query-test (:require [clojure.test :as t] [crux.api :as crux] [crux.fixtures :as fix :refer [*api*]] [user :as user])) (def ^:dynamic *storage-dir*) (defn with-storage-dir [f] (fix/with-tmp-dirs [storage-dir] (binding [*storage-dir* storage-dir] ...
true
(ns crux.docs.examples.query-test (:require [clojure.test :as t] [crux.api :as crux] [crux.fixtures :as fix :refer [*api*]] [user :as user])) (def ^:dynamic *storage-dir*) (defn with-storage-dir [f] (fix/with-tmp-dirs [storage-dir] (binding [*storage-dir* storage-dir] ...
[ { "context": ";; The MIT License (MIT)\n;;\n;; Copyright (c) 2016 Richard Hull\n;;\n;; Permission is hereby granted, free of charg", "end": 62, "score": 0.9997344017028809, "start": 50, "tag": "NAME", "value": "Richard Hull" } ]
src/ambages/selectors.clj
rm-hull/twspi
4
;; The MIT License (MIT) ;; ;; Copyright (c) 2016 Richard Hull ;; ;; Permission is hereby granted, free of charge, to any person obtaining a copy ;; of this software and associated documentation files (the "Software"), to deal ;; in the Software without restriction, including without limitation the rights ;; to use, co...
11270
;; The MIT License (MIT) ;; ;; Copyright (c) 2016 <NAME> ;; ;; Permission is hereby granted, free of charge, to any person obtaining a copy ;; of this software and associated documentation files (the "Software"), to deal ;; in the Software without restriction, including without limitation the rights ;; to use, copy, mo...
true
;; The MIT License (MIT) ;; ;; Copyright (c) 2016 PI:NAME:<NAME>END_PI ;; ;; Permission is hereby granted, free of charge, to any person obtaining a copy ;; of this software and associated documentation files (the "Software"), to deal ;; in the Software without restriction, including without limitation the rights ;; to...
[ { "context": "; Copyright (c) 2021 Mikołaj Kuranowski\n; SPDX-License-Identifier: WTFPL\n(ns day14a\n (:r", "end": 39, "score": 0.9996466040611267, "start": 21, "tag": "NAME", "value": "Mikołaj Kuranowski" } ]
src/day14a.clj
MKuranowski/AdventOfCode2020
0
; Copyright (c) 2021 Mikołaj Kuranowski ; SPDX-License-Identifier: WTFPL (ns day14a (:require [core] [clojure.string])) (defn get-ones-mask [str-mask] (Long/parseLong (clojure.string/replace str-mask #"X" "0") 2)) (defn get-zeros-mask [str-mask] (Long/parseLong (clojure.string/replace str-mask #...
88551
; Copyright (c) 2021 <NAME> ; SPDX-License-Identifier: WTFPL (ns day14a (:require [core] [clojure.string])) (defn get-ones-mask [str-mask] (Long/parseLong (clojure.string/replace str-mask #"X" "0") 2)) (defn get-zeros-mask [str-mask] (Long/parseLong (clojure.string/replace str-mask #"X" "1") 2))...
true
; Copyright (c) 2021 PI:NAME:<NAME>END_PI ; SPDX-License-Identifier: WTFPL (ns day14a (:require [core] [clojure.string])) (defn get-ones-mask [str-mask] (Long/parseLong (clojure.string/replace str-mask #"X" "0") 2)) (defn get-zeros-mask [str-mask] (Long/parseLong (clojure.string/replace str-mask...
[ { "context": "input-text stonecutter-register-first-name-input \"Journey\")\n (wd/input-text stonecutter-register-last-name", "end": 1046, "score": 0.9112247228622437, "start": 1039, "tag": "NAME", "value": "Journey" }, { "context": "/input-text stonecutter-register-last-name-input ...
test/stonecutter/browser/common.clj
d-cent/stonecutter
39
(ns stonecutter.browser.common (:require [clj-webdriver.taxi :as wd])) ;; COMMON (def stonecutter-index-page-body ".func--index-page") (def stonecutter-user-list-page-body ".func--admin-user-list-page") (def stonecutter-accept-invite-page-body ".func--accept-invite-page") (def stonecutter-sign-in-email-input ".func...
57991
(ns stonecutter.browser.common (:require [clj-webdriver.taxi :as wd])) ;; COMMON (def stonecutter-index-page-body ".func--index-page") (def stonecutter-user-list-page-body ".func--admin-user-list-page") (def stonecutter-accept-invite-page-body ".func--accept-invite-page") (def stonecutter-sign-in-email-input ".func...
true
(ns stonecutter.browser.common (:require [clj-webdriver.taxi :as wd])) ;; COMMON (def stonecutter-index-page-body ".func--index-page") (def stonecutter-user-list-page-body ".func--admin-user-list-page") (def stonecutter-accept-invite-page-body ".func--accept-invite-page") (def stonecutter-sign-in-email-input ".func...
[ { "context": "ents\\\".\"\n [opts]\n (let [opts (merge {:username \"root\"\n :password \"root\"\n ", "end": 3671, "score": 0.9569136500358582, "start": 3667, "tag": "USERNAME", "value": "root" }, { "context": "{:username \"root\"\n :...
test/conflicts/mined/riemann-00f03eeec6306383b3074bf7ce6146bef7443c8b-5a4726d2d04892373cf1c698b6ec58f3311736b/B.clj
nazrhom/vcs-clojure
3
(ns riemann.influxdb "Forwards events to InfluxDB. Supports both 0.8 and 0.9 APIs." (:require [capacitor.core :as capacitor] [cheshire.core :as json] [clj-http.client :as http] [clojure.set :as set] [clojure.string :as str] [riemann.common :refer [unix-to-iso8601]])) ;; ## Helper Functions ...
100926
(ns riemann.influxdb "Forwards events to InfluxDB. Supports both 0.8 and 0.9 APIs." (:require [capacitor.core :as capacitor] [cheshire.core :as json] [clj-http.client :as http] [clojure.set :as set] [clojure.string :as str] [riemann.common :refer [unix-to-iso8601]])) ;; ## Helper Functions ...
true
(ns riemann.influxdb "Forwards events to InfluxDB. Supports both 0.8 and 0.9 APIs." (:require [capacitor.core :as capacitor] [cheshire.core :as json] [clj-http.client :as http] [clojure.set :as set] [clojure.string :as str] [riemann.common :refer [unix-to-iso8601]])) ;; ## Helper Functions ...
[ { "context": ";\n; Copyright 2020-2021 AppsFlyer\n;\n; Licensed under the Apache License, Version 2.", "end": 33, "score": 0.990562915802002, "start": 24, "tag": "USERNAME", "value": "AppsFlyer" }, { "context": "nk)\n(s/def ::basic-auth-options (s/map-of #{\"id\" \"password\"} ::not-...
src/main/clojure/com/appsflyer/donkey/donkey_spec.clj
yaronel/donkey-1
274
; ; Copyright 2020-2021 AppsFlyer ; ; Licensed under the Apache License, Version 2.0 (the "License") ; you may not use this file except in compliance with the License. ; You may obtain a copy of the License at ; ; http://www.apache.org/licenses/LICENSE-2.0 ; ; Unless required by applicable law or agreed to in writ...
105764
; ; Copyright 2020-2021 AppsFlyer ; ; Licensed under the Apache License, Version 2.0 (the "License") ; you may not use this file except in compliance with the License. ; You may obtain a copy of the License at ; ; http://www.apache.org/licenses/LICENSE-2.0 ; ; Unless required by applicable law or agreed to in writ...
true
; ; Copyright 2020-2021 AppsFlyer ; ; Licensed under the Apache License, Version 2.0 (the "License") ; you may not use this file except in compliance with the License. ; You may obtain a copy of the License at ; ; http://www.apache.org/licenses/LICENSE-2.0 ; ; Unless required by applicable law or agreed to in writ...
[ { "context": " \"https://github.com/kixus/reduce-clj\"\n :scm { :url ", "end": 250, "score": 0.9951303601264954, "start": 245, "tag": "USERNAME", "value": "kixus" }, { "context": " { :url \"https://github.com/...
project.clj
kixus/clj-rdc
0
(defproject kixus/reduce "0.1.3" :description "Generalized multi-dimensional reduce functions in Clojure." :url "https://github.com/kixus/reduce-clj" :scm { :url "http...
17253
(defproject kixus/reduce "0.1.3" :description "Generalized multi-dimensional reduce functions in Clojure." :url "https://github.com/kixus/reduce-clj" :scm { :url "http...
true
(defproject kixus/reduce "0.1.3" :description "Generalized multi-dimensional reduce functions in Clojure." :url "https://github.com/kixus/reduce-clj" :scm { :url "http...
[ { "context": "a-stuff \n {\n {\n \"id\": 1,\n \"first_name\": \"Verne\",\n \"last_name\": \"Oganesian\",\n \"email\": \"vog", "end": 91, "score": 0.9997501969337463, "start": 86, "tag": "NAME", "value": "Verne" }, { "context": ": 1,\n \"first_name\": \"Verne\",\n ...
collections/mock_data.clj
travism26/random_clojure_stuff
0
(ns collections.mock-data) (def data-stuff { { "id": 1, "first_name": "Verne", "last_name": "Oganesian", "email": "voganesian0@newyorker.com", "gender": "Male", "ip_address": "206.44.174.25" }, { "id": 2, "first_name": "Hildagard", "last_name": "Dunnion", "email": ...
104630
(ns collections.mock-data) (def data-stuff { { "id": 1, "first_name": "<NAME>", "last_name": "<NAME>", "email": "<EMAIL>", "gender": "Male", "ip_address": "172.16.58.3" }, { "id": 2, "first_name": "<NAME>", "last_name": "<NAME>", "email": "<EMAIL>", "gender": "...
true
(ns collections.mock-data) (def data-stuff { { "id": 1, "first_name": "PI:NAME:<NAME>END_PI", "last_name": "PI:NAME:<NAME>END_PI", "email": "PI:EMAIL:<EMAIL>END_PI", "gender": "Male", "ip_address": "PI:IP_ADDRESS:172.16.58.3END_PI" }, { "id": 2, "first_name": "PI:NAME:<NAM...
[ { "context": "resql\"\n :username \"inflacao\"\n :password \"infla", "end": 789, "score": 0.996599018573761, "start": 781, "tag": "USERNAME", "value": "inflacao" }, { "context": "lacao\"\n :password ...
inflacao-pedestal-service/src/inflacao_pedestal_service/database.clj
giovanialtelino/InflacaoReagentClojure
0
(ns inflacao-pedestal-service.database (:require [hikari-cp.core :as hikari] [clojure.java.jdbc :as jdbc] [clojure.string :as string] [java-time :as jt] [inflacao-pedestal-service.utils :as utils] [clojure.string :as str])) (def datasource-opts {:auto-commit true ...
116426
(ns inflacao-pedestal-service.database (:require [hikari-cp.core :as hikari] [clojure.java.jdbc :as jdbc] [clojure.string :as string] [java-time :as jt] [inflacao-pedestal-service.utils :as utils] [clojure.string :as str])) (def datasource-opts {:auto-commit true ...
true
(ns inflacao-pedestal-service.database (:require [hikari-cp.core :as hikari] [clojure.java.jdbc :as jdbc] [clojure.string :as string] [java-time :as jt] [inflacao-pedestal-service.utils :as utils] [clojure.string :as str])) (def datasource-opts {:auto-commit true ...
[ { "context": "process-fn (fn [res ctx]\n [{:name \"John\", :surname \"Doe\", :url \"/\", :processor :accounts}", "end": 5572, "score": 0.9997543692588806, "start": 5568, "tag": "NAME", "value": "John" }, { "context": "es ctx]\n [{:name \"John\", :surname...
test/skyscraper/mock_test.clj
nathell/skyscraper
356
(ns skyscraper.mock-test (:require [clj-http.client :as http] [clojure.java.io :as io] [clojure.java.jdbc :as jdbc] [clojure.string :as string] [clojure.test :refer :all] [net.cgrand.enlive-html :refer [select text]] [skyscraper.cache :as cache] ...
54678
(ns skyscraper.mock-test (:require [clj-http.client :as http] [clojure.java.io :as io] [clojure.java.jdbc :as jdbc] [clojure.string :as string] [clojure.test :refer :all] [net.cgrand.enlive-html :refer [select text]] [skyscraper.cache :as cache] ...
true
(ns skyscraper.mock-test (:require [clj-http.client :as http] [clojure.java.io :as io] [clojure.java.jdbc :as jdbc] [clojure.string :as string] [clojure.test :refer :all] [net.cgrand.enlive-html :refer [select text]] [skyscraper.cache :as cache] ...
[ { "context": ";; Copyright Fabian Schneider and Gunnar Völkel © 2014-2020\n;;\n;; Permission is", "end": 29, "score": 0.9998477101325989, "start": 13, "tag": "NAME", "value": "Fabian Schneider" }, { "context": ";; Copyright Fabian Schneider and Gunnar Völkel © 2014-2020\n;;\n;; Permi...
src/traqbio/actions/templates.clj
sysbio-bioinf/iBioTraq
2
;; Copyright Fabian Schneider and Gunnar Völkel © 2014-2020 ;; ;; 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,...
32588
;; Copyright <NAME> and <NAME> © 2014-2020 ;; ;; 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, p...
true
;; Copyright PI:NAME:<NAME>END_PI and PI:NAME:<NAME>END_PI © 2014-2020 ;; ;; Permission is hereby granted, free of charge, to any person obtaining a copy ;; of this software and associated documentation files (the "Software"), to deal ;; in the Software without restriction, including without limitation the rights ;; to...
[ { "context": ";; Copyright 2014 Timothy Brooks\n;;\n;; Licensed under the Apache License, Version ", "end": 32, "score": 0.9998695254325867, "start": 18, "tag": "NAME", "value": "Timothy Brooks" } ]
src/beehive/utils.clj
tbrooks8/fault
2
;; Copyright 2014 Timothy Brooks ;; ;; Licensed under the Apache License, Version 2.0 (the "License"); ;; you may not use this file except in compliance with the License. ;; You may obtain a copy of the License at ;; ;; http://www.apache.org/licenses/LICENSE-2.0 ;; ;; Unless required by applicable law or agreed to in w...
91724
;; Copyright 2014 <NAME> ;; ;; Licensed under the Apache License, Version 2.0 (the "License"); ;; you may not use this file except in compliance with the License. ;; You may obtain a copy of the License at ;; ;; http://www.apache.org/licenses/LICENSE-2.0 ;; ;; Unless required by applicable law or agreed to in writing, ...
true
;; Copyright 2014 PI:NAME:<NAME>END_PI ;; ;; Licensed under the Apache License, Version 2.0 (the "License"); ;; you may not use this file except in compliance with the License. ;; You may obtain a copy of the License at ;; ;; http://www.apache.org/licenses/LICENSE-2.0 ;; ;; Unless required by applicable law or agreed t...
[ { "context": "url\n callback :fake-callback\n username :fake-username\n logged-in-username \"johndoe\"\n password", "end": 365, "score": 0.9929711818695068, "start": 352, "tag": "USERNAME", "value": "fake-username" }, { "context": "username :fake-username\n l...
test/clj/milia/api/project_test.clj
onaio/milia
9
(ns milia.api.project-test (:refer-clojure :exclude [update]) (:require [midje.sweet :refer :all] [milia.api.project :refer :all] [milia.api.http :refer [parse-http]] [milia.utils.remote :refer [make-url]] [milia.utils.file :as f])) (let [url :fake-url callback...
32848
(ns milia.api.project-test (:refer-clojure :exclude [update]) (:require [midje.sweet :refer :all] [milia.api.project :refer :all] [milia.api.http :refer [parse-http]] [milia.utils.remote :refer [make-url]] [milia.utils.file :as f])) (let [url :fake-url callback...
true
(ns milia.api.project-test (:refer-clojure :exclude [update]) (:require [midje.sweet :refer :all] [milia.api.project :refer :all] [milia.api.http :refer [parse-http]] [milia.utils.remote :refer [make-url]] [milia.utils.file :as f])) (let [url :fake-url callback...
[ { "context": ";; Copyright 2014-2020 King\n;; Copyright 2009-2014 Ragnar Svensson, Christian Murray\n;; Licensed under the Defold Li", "end": 111, "score": 0.9998166561126709, "start": 96, "tag": "NAME", "value": "Ragnar Svensson" }, { "context": "-2020 King\n;; Copyright 2009-2014 R...
editor/src/clj/internal/transaction.clj
cmarincia/defold
0
;; Copyright 2020-2022 The Defold Foundation ;; Copyright 2014-2020 King ;; Copyright 2009-2014 Ragnar Svensson, Christian Murray ;; Licensed under the Defold License version 1.0 (the "License"); you may not use ;; this file except in compliance with the License. ;; ;; You may obtain a copy of the License, together wi...
35255
;; Copyright 2020-2022 The Defold Foundation ;; Copyright 2014-2020 King ;; Copyright 2009-2014 <NAME>, <NAME> ;; Licensed under the Defold License version 1.0 (the "License"); you may not use ;; this file except in compliance with the License. ;; ;; You may obtain a copy of the License, together with FAQs at ;; https...
true
;; Copyright 2020-2022 The Defold Foundation ;; Copyright 2014-2020 King ;; Copyright 2009-2014 PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI ;; Licensed under the Defold License version 1.0 (the "License"); you may not use ;; this file except in compliance with the License. ;; ;; You may obtain a copy of the License, to...
[ { "context": "bj [o]\n (assoc o :age 28))\n\n(def person { :name \"travis\" })\n\n(println person)\n\n(change-obj person)\n\n;immu", "end": 71, "score": 0.9949097037315369, "start": 65, "tag": "NAME", "value": "travis" } ]
basic_clojure_stuff/data_stuff.clj
travism26/random_clojure_stuff
0
(defn change-obj [o] (assoc o :age 28)) (def person { :name "travis" }) (println person) (change-obj person) ;immutable stuff cannot be mod can be overwritten though (println person) ;overwrite the data with a return value from the function. (def person (change-obj person)) (println person)
91243
(defn change-obj [o] (assoc o :age 28)) (def person { :name "<NAME>" }) (println person) (change-obj person) ;immutable stuff cannot be mod can be overwritten though (println person) ;overwrite the data with a return value from the function. (def person (change-obj person)) (println person)
true
(defn change-obj [o] (assoc o :age 28)) (def person { :name "PI:NAME:<NAME>END_PI" }) (println person) (change-obj person) ;immutable stuff cannot be mod can be overwritten though (println person) ;overwrite the data with a return value from the function. (def person (change-obj person)) (println person)
[ { "context": "al :start\n :context {:name \"Peter\"}\n :states {:start {:entry", "end": 3817, "score": 0.9995360374450684, "start": 3812, "tag": "NAME", "value": "Peter" }, { "context": " [:on-entry-start]\n :context {:name \"...
test/glasgolia/glas_state/stateless_test.cljc
glasgolia/glas-state
5
(ns glasgolia.glas-state.stateless-test (:require [clojure.test :refer :all] [glasgolia.glas-state.stateless :refer :all])) (defmacro validate [{exp-value :value exp-actions :actions exp-context :context} state] `(do (is (= ~exp-value...
108887
(ns glasgolia.glas-state.stateless-test (:require [clojure.test :refer :all] [glasgolia.glas-state.stateless :refer :all])) (defmacro validate [{exp-value :value exp-actions :actions exp-context :context} state] `(do (is (= ~exp-value...
true
(ns glasgolia.glas-state.stateless-test (:require [clojure.test :refer :all] [glasgolia.glas-state.stateless :refer :all])) (defmacro validate [{exp-value :value exp-actions :actions exp-context :context} state] `(do (is (= ~exp-value...
[ { "context": ".list-group-item.d-flex.list-group-flush\n [:h4 \"Ranger Bob\"]])\n\n(defmethod dndv/drag-handle\n :redbox\n [{:k", "end": 1461, "score": 0.9987130165100098, "start": 1451, "tag": "NAME", "value": "Ranger Bob" }, { "context": " [{:type :character\n ...
src/app/renderer/settings.cljs
allison-casey/combat-tracker
0
(ns app.renderer.settings (:require [re-frame.core :as rf] [reagent.core :as r] [re-com.core :refer [button input-text label]] [re-dnd.events :as dnd] [re-dnd.views :as dndv] [cuerdas.core :as cuerdas] [app.renderer.subs :as subs])) (def electro...
13094
(ns app.renderer.settings (:require [re-frame.core :as rf] [reagent.core :as r] [re-com.core :refer [button input-text label]] [re-dnd.events :as dnd] [re-dnd.views :as dndv] [cuerdas.core :as cuerdas] [app.renderer.subs :as subs])) (def electro...
true
(ns app.renderer.settings (:require [re-frame.core :as rf] [reagent.core :as r] [re-com.core :refer [button input-text label]] [re-dnd.events :as dnd] [re-dnd.views :as dndv] [cuerdas.core :as cuerdas] [app.renderer.subs :as subs])) (def electro...
[ { "context": " fake-client-id \"o8-id\")\n(def fake-client-secret \"shh\")\n(def fake-request {:facebook-config {:client-id", "end": 339, "score": 0.8110867738723755, "start": 336, "tag": "KEY", "value": "shh" }, { "context": "\n(def login-code \"fb-code\")\n\n(def access-token \"fb-...
test/objective8/unit/workflows/facebook_test.clj
d-cent/objective8
23
(ns objective8.unit.workflows.facebook-test (:require [midje.sweet :refer :all] [objective8.front-end.workflows.facebook :refer :all] [cheshire.core :as json] [objective8.front-end.api.http :as http] [objective8.utils :as utils])) (def fake-client-id "o8-id") (def fake...
82851
(ns objective8.unit.workflows.facebook-test (:require [midje.sweet :refer :all] [objective8.front-end.workflows.facebook :refer :all] [cheshire.core :as json] [objective8.front-end.api.http :as http] [objective8.utils :as utils])) (def fake-client-id "o8-id") (def fake...
true
(ns objective8.unit.workflows.facebook-test (:require [midje.sweet :refer :all] [objective8.front-end.workflows.facebook :refer :all] [cheshire.core :as json] [objective8.front-end.api.http :as http] [objective8.utils :as utils])) (def fake-client-id "o8-id") (def fake...
[ { "context": "ion, check for unify in prop\n\n; Copyright (c) 2016 Burkhardt Renz, THM. All rights reserved.\n; The use and distribu", "end": 104, "score": 0.9998648166656494, "start": 90, "tag": "NAME", "value": "Burkhardt Renz" } ]
src/lwb/nd/swap/prop.clj
esb-lwb/lwb
22
; lwb Logic WorkBench -- Natural deduction, check for unify in prop ; Copyright (c) 2016 Burkhardt Renz, THM. All rights reserved. ; The use and distribution terms for this software are covered by the ; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php). ; By using this software in any fashion...
96105
; lwb Logic WorkBench -- Natural deduction, check for unify in prop ; Copyright (c) 2016 <NAME>, THM. All rights reserved. ; The use and distribution terms for this software are covered by the ; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php). ; By using this software in any fashion, you ar...
true
; lwb Logic WorkBench -- Natural deduction, check for unify in prop ; Copyright (c) 2016 PI:NAME:<NAME>END_PI, THM. All rights reserved. ; The use and distribution terms for this software are covered by the ; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php). ; By using this software in any f...
[ { "context": "he whole material is from http://www.blogjava.net/killme2008/archive/2012/02/16/370144.html by 庄周蝶梦\n(ns langua", "end": 62, "score": 0.9936584830284119, "start": 52, "tag": "USERNAME", "value": "killme2008" }, { "context": ".net/killme2008/archive/2012/02/16/370144.htm...
data/train/clojure/3fd8522375a5aa89d43572cc4d31dd04ce746912io.clj
harshp8l/deep-learning-lang-detection
84
;the whole material is from http://www.blogjava.net/killme2008/archive/2012/02/16/370144.html by 庄周蝶梦 (ns language.io (:require [clojure.java.io :as io])) ;obtain a java.io.File object (def f (io/file "D:/data/big.txt")) ;copy file (io/copy f (io/file "D:/data/b.txt")) ;copy is a tolerant function, ;it accepts ...
5127
;the whole material is from http://www.blogjava.net/killme2008/archive/2012/02/16/370144.html by <NAME> (ns language.io (:require [clojure.java.io :as io])) ;obtain a java.io.File object (def f (io/file "D:/data/big.txt")) ;copy file (io/copy f (io/file "D:/data/b.txt")) ;copy is a tolerant function, ;it accept...
true
;the whole material is from http://www.blogjava.net/killme2008/archive/2012/02/16/370144.html by PI:NAME:<NAME>END_PI (ns language.io (:require [clojure.java.io :as io])) ;obtain a java.io.File object (def f (io/file "D:/data/big.txt")) ;copy file (io/copy f (io/file "D:/data/b.txt")) ;copy is a tolerant functio...
[ { "context": ":visible @modal-visible\n :title \"CIKISS YAPIYORSUNNN\"\n :on-ok #(reset! modal-visible ", "end": 3481, "score": 0.761833906173706, "start": 3462, "tag": "NAME", "value": "CIKISS YAPIYORSUNNN" } ]
src/crud_app/profile.cljs
alicancelik/CRUD-App
3
(ns crud-app.profile (:require [reagent.core :as r] [antizer.reagent :as ant] [clojure.string :as s] [crud-app.db :refer [app-state]] [crud-app.home :refer [submit]] [crud-app.actions :refer [get-data]] )) (def change-button-clicked (r/atom false)) (def source-avatar (r/atom "")) (def sou...
109750
(ns crud-app.profile (:require [reagent.core :as r] [antizer.reagent :as ant] [clojure.string :as s] [crud-app.db :refer [app-state]] [crud-app.home :refer [submit]] [crud-app.actions :refer [get-data]] )) (def change-button-clicked (r/atom false)) (def source-avatar (r/atom "")) (def sou...
true
(ns crud-app.profile (:require [reagent.core :as r] [antizer.reagent :as ant] [clojure.string :as s] [crud-app.db :refer [app-state]] [crud-app.home :refer [submit]] [crud-app.actions :refer [get-data]] )) (def change-button-clicked (r/atom false)) (def source-avatar (r/atom "")) (def sou...
[ { "context": "1 2 3)\n\n(seq #{1 2 3})\n; => (1 2 3)\n\n(seq {:name \"Bill Compton\" :occupation \"Dead mopey guy\"})\n; => ([:name \"Bil", "end": 634, "score": 0.999812662601471, "start": 622, "tag": "NAME", "value": "Bill Compton" }, { "context": "ton\" :occupation \"Dead mopey guy...
master/cftbat-code-master/cftbat-code-master/04/code.clj
AlexRogalskiy/DevArtifacts
4
(defn titleize [topic] (str topic " for the Brave and True")) (map titleize ["Hamsters" "Ragnarok"]) ; => ("Hamsters for the Brave and True" "Ragnarok for the Brave and True") (map titleize '("Empathy" "Decorating")) ; => ("Empathy for the Brave and True" "Decorating for the Brave and True") (map titleize #{"Elb...
74343
(defn titleize [topic] (str topic " for the Brave and True")) (map titleize ["Hamsters" "Ragnarok"]) ; => ("Hamsters for the Brave and True" "Ragnarok for the Brave and True") (map titleize '("Empathy" "Decorating")) ; => ("Empathy for the Brave and True" "Decorating for the Brave and True") (map titleize #{"Elb...
true
(defn titleize [topic] (str topic " for the Brave and True")) (map titleize ["Hamsters" "Ragnarok"]) ; => ("Hamsters for the Brave and True" "Ragnarok for the Brave and True") (map titleize '("Empathy" "Decorating")) ; => ("Empathy for the Brave and True" "Decorating for the Brave and True") (map titleize #{"Elb...
[ { "context": "\n\n(ns ^{ :doc \"alavita :: util\"\n :author \"Istvan Szukacs\" }\n alavita.util\n (:import\n [java.util ", "end": 131, "score": 0.9998818635940552, "start": 117, "tag": "NAME", "value": "Istvan Szukacs" } ]
src/alavita/util.clj
StreamBright/alavita
0
;; Copyright 2017 StreamBright LLC and contributors ;; See LICENSE (ns ^{ :doc "alavita :: util" :author "Istvan Szukacs" } alavita.util (:import [java.util UUID ] [java.text SimpleDateFormat ] [java.time Instant ] [java.util Date ] ) ) (de...
53051
;; Copyright 2017 StreamBright LLC and contributors ;; See LICENSE (ns ^{ :doc "alavita :: util" :author "<NAME>" } alavita.util (:import [java.util UUID ] [java.text SimpleDateFormat ] [java.time Instant ] [java.util Date ] ) ) (defn get-u...
true
;; Copyright 2017 StreamBright LLC and contributors ;; See LICENSE (ns ^{ :doc "alavita :: util" :author "PI:NAME:<NAME>END_PI" } alavita.util (:import [java.util UUID ] [java.text SimpleDateFormat ] [java.time Instant ] [java.util Date ] ) ...
[ { "context": "(ns keyboard-warrior.figure)\n\n(def alice \"Alice was beginning to get very tired of sitting by her", "end": 47, "score": 0.9984225034713745, "start": 42, "tag": "NAME", "value": "Alice" }, { "context": "ns in it, `and what is the use of a book,' thought Alice `without...
src/cljs/keyboard_warrior/figure.cljs
agarick/keyboard-warrior
1
(ns keyboard-warrior.figure) (def alice "Alice was beginning to get very tired of sitting by her sister on the bank, and of having nothing to do: once or twice she had peeped into the book her sister was reading, but it had no pictures or conversations in it, `and what is the use of a book,' thought Alice `without pic...
95852
(ns keyboard-warrior.figure) (def alice "<NAME> was beginning to get very tired of sitting by her sister on the bank, and of having nothing to do: once or twice she had peeped into the book her sister was reading, but it had no pictures or conversations in it, `and what is the use of a book,' thought <NAME> `without p...
true
(ns keyboard-warrior.figure) (def alice "PI:NAME:<NAME>END_PI was beginning to get very tired of sitting by her sister on the bank, and of having nothing to do: once or twice she had peeped into the book her sister was reading, but it had no pictures or conversations in it, `and what is the use of a book,' thought PI:...
[ { "context": "Proxy API\"\n :apiVersion \"0.0.0\"\n :contact \"festapp@futurice.com\")\n (swaggered \"festapp\"\n :description \"Provide", "end": 1027, "score": 0.9999286532402039, "start": 1007, "tag": "EMAIL", "value": "festapp@futurice.com" } ]
src/festapp/web.clj
futurice/festapp-proxy
1
(ns festapp.web (:require [ring.util.http-response :refer :all] [compojure.route :as route] [compojure.api.sweet :refer :all] [schema.core :as s] [festapp.db :refer :all]) (:import [org.joda.time DateTime])) ;;; Models (def Festival {:stages [String] :...
10389
(ns festapp.web (:require [ring.util.http-response :refer :all] [compojure.route :as route] [compojure.api.sweet :refer :all] [schema.core :as s] [festapp.db :refer :all]) (:import [org.joda.time DateTime])) ;;; Models (def Festival {:stages [String] :...
true
(ns festapp.web (:require [ring.util.http-response :refer :all] [compojure.route :as route] [compojure.api.sweet :refer :all] [schema.core :as s] [festapp.db :refer :all]) (:import [org.joda.time DateTime])) ;;; Models (def Festival {:stages [String] :...
[ { "context": " rabbitmq)\n :password (:password rabbitmq)\n :port (Integ", "end": 1142, "score": 0.9885941743850708, "start": 1134, "tag": "PASSWORD", "value": "password" }, { "context": "q)\n :password (:p...
src/amqp/message_handler.clj
WeavingTheWeb/daily-press-review-clojure
1
(ns amqp.message-handler (:require [clojure.data.json :as json] [clojure.edn :as edn] [clojure.spec.alpha :as s] [environ.core :refer [env]] [langohr.channel :as lch] [langohr.basic :as lb] [langohr.core :as rmq] [cloj...
63109
(ns amqp.message-handler (:require [clojure.data.json :as json] [clojure.edn :as edn] [clojure.spec.alpha :as s] [environ.core :refer [env]] [langohr.channel :as lch] [langohr.basic :as lb] [langohr.core :as rmq] [cloj...
true
(ns amqp.message-handler (:require [clojure.data.json :as json] [clojure.edn :as edn] [clojure.spec.alpha :as s] [environ.core :refer [env]] [langohr.channel :as lch] [langohr.basic :as lb] [langohr.core :as rmq] [cloj...
[ { "context": "s]\n (println \"Door 1 password: \" (find-password \"wtnhxymk\"))\n (println \"Door 2 password: \" (find-second-pa", "end": 2229, "score": 0.999286949634552, "start": 2221, "tag": "PASSWORD", "value": "wtnhxymk" }, { "context": "rintln \"Door 2 password: \" (find-seco...
day_05/src/day_05/core.clj
lux01/advent-of-code-2016
0
(ns day-05.core (:require [digest] [clojure.string :as string]) (:gen-class)) (defn password-digit? "Checks if the integer x " [door-id x] (string/starts-with? (digest/md5 (str door-id x)) "00000")) (def integers (iterate inc 1)) (defn find-password [door-id] (->> (...
98848
(ns day-05.core (:require [digest] [clojure.string :as string]) (:gen-class)) (defn password-digit? "Checks if the integer x " [door-id x] (string/starts-with? (digest/md5 (str door-id x)) "00000")) (def integers (iterate inc 1)) (defn find-password [door-id] (->> (...
true
(ns day-05.core (:require [digest] [clojure.string :as string]) (:gen-class)) (defn password-digit? "Checks if the integer x " [door-id x] (string/starts-with? (digest/md5 (str door-id x)) "00000")) (def integers (iterate inc 1)) (defn find-password [door-id] (->> (...
[ { "context": "rd\"\n \"Password\"\n \"password\"\n password-atom\n ", "end": 2230, "score": 0.7576348185539246, "start": 2222, "tag": "PASSWORD", "value": "password" } ]
src/cljs/notes_app_frontend/components.cljs
Eskotus/notes-app-frontend
0
(ns notes-app-frontend.components (:require [notes-app-frontend.aws-lib2 :as aws] [reagent.core :as r] [reagent.session :as session] [clojure.string :as s] [wilson.react-bootstrap :refer [navbar navbar-header navbar-brand navbar-toggle navbar-collapse nav n...
69151
(ns notes-app-frontend.components (:require [notes-app-frontend.aws-lib2 :as aws] [reagent.core :as r] [reagent.session :as session] [clojure.string :as s] [wilson.react-bootstrap :refer [navbar navbar-header navbar-brand navbar-toggle navbar-collapse nav n...
true
(ns notes-app-frontend.components (:require [notes-app-frontend.aws-lib2 :as aws] [reagent.core :as r] [reagent.session :as session] [clojure.string :as s] [wilson.react-bootstrap :refer [navbar navbar-header navbar-brand navbar-toggle navbar-collapse nav n...
[ { "context": "defn mapify\n \"Return a seq of maps like {:name \\\"Edward Cullen\\\" :glitter-index 10}\"\n [rows]\n (map (fn [unmapp", "end": 505, "score": 0.9998412132263184, "start": 492, "tag": "NAME", "value": "Edward Cullen" } ]
src/clj_brave_and_true/chapter04.clj
artemy/clj-brave-and-true-exercises
0
(ns clj-brave-and-true.chapter04 (:require [clojure.string])) (def filename "suspects.csv") (def vamp-keys [:name :glitter-index]) (defn str->int [str] (Integer. str)) (def conversions {:name identity :glitter-index str->int}) (defn convert [vamp-key value] ((get conversions vamp-key) value)) (defn parse "Con...
13104
(ns clj-brave-and-true.chapter04 (:require [clojure.string])) (def filename "suspects.csv") (def vamp-keys [:name :glitter-index]) (defn str->int [str] (Integer. str)) (def conversions {:name identity :glitter-index str->int}) (defn convert [vamp-key value] ((get conversions vamp-key) value)) (defn parse "Con...
true
(ns clj-brave-and-true.chapter04 (:require [clojure.string])) (def filename "suspects.csv") (def vamp-keys [:name :glitter-index]) (defn str->int [str] (Integer. str)) (def conversions {:name identity :glitter-index str->int}) (defn convert [vamp-key value] ((get conversions vamp-key) value)) (defn parse "Con...
[ { "context": "; Copyright 2018-2021 Rahul De\n;\n; Use of this source code is governed by an MIT", "end": 30, "score": 0.9998641610145569, "start": 22, "tag": "NAME", "value": "Rahul De" } ]
entities/src/entities/resource_provider.clj
bob-cd/bob
88
; Copyright 2018-2021 Rahul De ; ; Use of this source code is governed by an MIT-style ; license that can be found in the LICENSE file or at ; https://opensource.org/licenses/MIT. (ns entities.resource-provider (:require [failjure.core :as f] [taoensso.timbre :as log] [xtdb.api :as xt] ...
122719
; Copyright 2018-2021 <NAME> ; ; Use of this source code is governed by an MIT-style ; license that can be found in the LICENSE file or at ; https://opensource.org/licenses/MIT. (ns entities.resource-provider (:require [failjure.core :as f] [taoensso.timbre :as log] [xtdb.api :as xt] ...
true
; Copyright 2018-2021 PI:NAME:<NAME>END_PI ; ; Use of this source code is governed by an MIT-style ; license that can be found in the LICENSE file or at ; https://opensource.org/licenses/MIT. (ns entities.resource-provider (:require [failjure.core :as f] [taoensso.timbre :as log] [xtdb.api :a...
[ { "context": "ormally be made available at run-time via env\"\n \"24rakMBbFOhlpLYV\")\n\n(def api-secret\n \"API Secret. S", "end": 142, "score": 0.7778438329696655, "start": 140, "tag": "KEY", "value": "24" }, { "context": "ormally be made available at run-time via env\"\n \"ejob...
src/fullstack/ui/api.cljs
alexdao3/audio-transcription-client
0
(ns fullstack.ui.api (:require [ajax.core :as ajax])) (def api-key "API Key. Should normally be made available at run-time via env" "24rakMBbFOhlpLYV") (def api-secret "API Secret. Should normally be made available at run-time via env" "ejobaTely5Jud4j64cnXp4se2ZP457on") (def encoded-api-key "Construct B...
84461
(ns fullstack.ui.api (:require [ajax.core :as ajax])) (def api-key "API Key. Should normally be made available at run-time via env" "<KEY>rakMBbFOhlpLYV") (def api-secret "API Secret. Should normally be made available at run-time via env" "<KEY>") (def encoded-api-key "Construct Basic auth credentials vi...
true
(ns fullstack.ui.api (:require [ajax.core :as ajax])) (def api-key "API Key. Should normally be made available at run-time via env" "PI:KEY:<KEY>END_PIrakMBbFOhlpLYV") (def api-secret "API Secret. Should normally be made available at run-time via env" "PI:KEY:<KEY>END_PI") (def encoded-api-key "Construct...
[ { "context": "state\"\n :partition-key #{\"tx_id\"}\n :clustering-key #{}\n ", "end": 280, "score": 0.6038778424263, "start": 275, "tag": "KEY", "value": "tx_id" } ]
tools/scalar-schema/src/scalar_schema/common.clj
Torch3333/scalardb
0
(ns scalar-schema.common (:require [clojure.string :as str] [clojure.java.io :as io] [cheshire.core :as cheshire])) (def COORDINATOR_SCHEMA {:database "coordinator" :table "state" :partition-key #{"tx_id"} :clustering-...
40609
(ns scalar-schema.common (:require [clojure.string :as str] [clojure.java.io :as io] [cheshire.core :as cheshire])) (def COORDINATOR_SCHEMA {:database "coordinator" :table "state" :partition-key #{"<KEY>"} :clustering-...
true
(ns scalar-schema.common (:require [clojure.string :as str] [clojure.java.io :as io] [cheshire.core :as cheshire])) (def COORDINATOR_SCHEMA {:database "coordinator" :table "state" :partition-key #{"PI:KEY:<KEY>END_PI"} ...
[ { "context": "re\n [?e :decide.models.user/display-name \"Christian\"]] @conn) ; => 26, 27, 28\n\n (let [db (d/since @c", "end": 1150, "score": 0.9994931817054749, "start": 1141, "tag": "NAME", "value": "Christian" } ]
src/dev/analysis.clj
fivejjs/decide3
4
(ns analysis (:require [datahike.api :as d] [decide.server-components.database :refer [conn]])) (defn query-all-entities [] (let [db (d/db conn)] (->> db (d/q '[:find [?e ...] :where [?e]]) (d/pull-many db '[*]) (sort-by :db/id)))) (defn query-all-processes [] (let [db (d/db conn)]...
73525
(ns analysis (:require [datahike.api :as d] [decide.server-components.database :refer [conn]])) (defn query-all-entities [] (let [db (d/db conn)] (->> db (d/q '[:find [?e ...] :where [?e]]) (d/pull-many db '[*]) (sort-by :db/id)))) (defn query-all-processes [] (let [db (d/db conn)]...
true
(ns analysis (:require [datahike.api :as d] [decide.server-components.database :refer [conn]])) (defn query-all-entities [] (let [db (d/db conn)] (->> db (d/q '[:find [?e ...] :where [?e]]) (d/pull-many db '[*]) (sort-by :db/id)))) (defn query-all-processes [] (let [db (d/db conn)]...
[ { "context": "ls-port tls-cert]} :web-server\n {key-password :password} :keystore\n {trust-password :password}", "end": 11885, "score": 0.9959446787834167, "start": 11877, "tag": "PASSWORD", "value": "password" }, { "context": ":password} :keystore\n {trust-p...
src/documint/web.clj
jonathanj/clj-documint
0
(ns documint.web "Documint web service. The API is REST-JSON with the following structure: POST /sessions Create a new session. Contains hrefs for: * Performing an action; * Creating new session content; * Referencing itself. POST /<session_uri>/perform Perform an ac...
106909
(ns documint.web "Documint web service. The API is REST-JSON with the following structure: POST /sessions Create a new session. Contains hrefs for: * Performing an action; * Creating new session content; * Referencing itself. POST /<session_uri>/perform Perform an ac...
true
(ns documint.web "Documint web service. The API is REST-JSON with the following structure: POST /sessions Create a new session. Contains hrefs for: * Performing an action; * Creating new session content; * Referencing itself. POST /<session_uri>/perform Perform an ac...
[ { "context": "ormation from AWS ARNs\"\n :url \"http://github.com/skybet/aws-arn\"\n :license {:name \"MIT License\"\n ", "end": 164, "score": 0.9992812871932983, "start": 158, "tag": "USERNAME", "value": "skybet" }, { "context": "username\n :pas...
project.clj
skybet/aws-arn
4
(defproject aws-arn (or (System/getenv "PROJECT_VERSION") "0.0.0-SNAPSHOT") :description "Parse useful information from AWS ARNs" :url "http://github.com/skybet/aws-arn" :license {:name "MIT License" :url "https://opensource.org/licenses/MIT" :year 2017 :key "mit"} :repositor...
103453
(defproject aws-arn (or (System/getenv "PROJECT_VERSION") "0.0.0-SNAPSHOT") :description "Parse useful information from AWS ARNs" :url "http://github.com/skybet/aws-arn" :license {:name "MIT License" :url "https://opensource.org/licenses/MIT" :year 2017 :key "mit"} :repositor...
true
(defproject aws-arn (or (System/getenv "PROJECT_VERSION") "0.0.0-SNAPSHOT") :description "Parse useful information from AWS ARNs" :url "http://github.com/skybet/aws-arn" :license {:name "MIT License" :url "https://opensource.org/licenses/MIT" :year 2017 :key "mit"} :repositor...
[ { "context": ";; Copyright (c) Nicola Mometto, Rich Hickey & contributors.\n;; The use and dis", "end": 33, "score": 0.9998496174812317, "start": 19, "tag": "NAME", "value": "Nicola Mometto" }, { "context": ";; Copyright (c) Nicola Mometto, Rich Hickey & contributors.\n;; The...
server/target/clojure/tools/analyzer/passes/jvm/box.clj
OctavioBR/healthcheck
0
;; Copyright (c) Nicola Mometto, Rich Hickey & contributors. ;; The use and distribution terms for this software are covered by the ;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) ;; which can be found in the file epl-v10.html at the root of this distribution. ;; By using this s...
32503
;; Copyright (c) <NAME>, <NAME> & contributors. ;; The use and distribution terms for this software are covered by the ;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) ;; which can be found in the file epl-v10.html at the root of this distribution. ;; By using this software in an...
true
;; Copyright (c) PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI & contributors. ;; The use and distribution terms for this software are covered by the ;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) ;; which can be found in the file epl-v10.html at the root of this distribution. ;; ...
[ { "context": " usuario es requerido\"\n [:pass] \"Password de 8+ caracteres es requerido\"\n [:pass-confirm] \"Los Passwords no coin", "end": 1046, "score": 0.9865361452102661, "start": 1008, "tag": "PASSWORD", "value": "Password de 8+ caracteres es requerido" }, ...
src/cljc/orbis_grcmanager/validation.cljc
Orbisnetworkadmin/orbis-grcmanager
0
(ns orbis-grcmanager.validation (:require [bouncer.core :as b] [bouncer.validators :as v])) (defn format-validation-errors [errors] (->> errors first (map (fn [[k [v]]] [k v])) (into {}) not-empty)) (defn validate-issue [issue] (format-validation-errors (b/validate ...
123047
(ns orbis-grcmanager.validation (:require [bouncer.core :as b] [bouncer.validators :as v])) (defn format-validation-errors [errors] (->> errors first (map (fn [[k [v]]] [k v])) (into {}) not-empty)) (defn validate-issue [issue] (format-validation-errors (b/validate ...
true
(ns orbis-grcmanager.validation (:require [bouncer.core :as b] [bouncer.validators :as v])) (defn format-validation-errors [errors] (->> errors first (map (fn [[k [v]]] [k v])) (into {}) not-empty)) (defn validate-issue [issue] (format-validation-errors (b/validate ...
[ { "context": "(def suppliers [ (Suppinfo. \"32\" -3 0 -2 false) ;Susan Windler (Supplier ID 32)\n (Suppinfo. \"101", "end": 400, "score": 0.9998506903648376, "start": 387, "tag": "NAME", "value": "Susan Windler" }, { "context": " (Suppinfo. \"101\" -3...
clojure/johanvanzijl/holling/src/holling/core.clj
tobykurien/HollingBerries
1
(ns holling.core (:use [clojure.java.io :only [reader]] [clojure.data.csv :only [read-csv]] [clj-time.core :only [plus days]] [clojure.math.numeric-tower :only [ceil]] [clj-time.format :only [formatter parse unparse]] )) (defrecord Suppinfo [ suppcode sellby markup-perc markup...
124115
(ns holling.core (:use [clojure.java.io :only [reader]] [clojure.data.csv :only [read-csv]] [clj-time.core :only [plus days]] [clojure.math.numeric-tower :only [ceil]] [clj-time.format :only [formatter parse unparse]] )) (defrecord Suppinfo [ suppcode sellby markup-perc markup...
true
(ns holling.core (:use [clojure.java.io :only [reader]] [clojure.data.csv :only [read-csv]] [clj-time.core :only [plus days]] [clojure.math.numeric-tower :only [ceil]] [clj-time.format :only [formatter parse unparse]] )) (defrecord Suppinfo [ suppcode sellby markup-perc markup...
[ { "context": ".\n(def checks? (h/checks? num-tests))\n\n(def jane \"Doe Jane Female Purple 1/1/2000\")\n(def june \"Darla June Fe", "end": 341, "score": 0.8956639170646667, "start": 333, "tag": "NAME", "value": "Doe Jane" }, { "context": "ane \"Doe Jane Female Purple 1/1/2000\")\n(de...
test/sorted/people_test.clj
gekkoe/sorted
0
(ns sorted.people-test (:require [clojure.test :refer :all] [sorted.helpers :as h] [sorted.people :as ppl] [sorted.person :as p] [sorted.fileio :as file])) (def num-tests 1000) ; Increase this to run slower but more exhaustive tests. (def checks? (h/checks? num-tests))...
85243
(ns sorted.people-test (:require [clojure.test :refer :all] [sorted.helpers :as h] [sorted.people :as ppl] [sorted.person :as p] [sorted.fileio :as file])) (def num-tests 1000) ; Increase this to run slower but more exhaustive tests. (def checks? (h/checks? num-tests))...
true
(ns sorted.people-test (:require [clojure.test :refer :all] [sorted.helpers :as h] [sorted.people :as ppl] [sorted.person :as p] [sorted.fileio :as file])) (def num-tests 1000) ; Increase this to run slower but more exhaustive tests. (def checks? (h/checks? num-tests))...
[ { "context": "ile is part of tempest-cljs\n;; Copyright (c) 2012, Trevor Bentley\n;; All rights reserved.\n;; See LICENSE file for d", "end": 77, "score": 0.9998540282249451, "start": 63, "tag": "NAME", "value": "Trevor Bentley" } ]
tempest/tempest.cljs
mrmekon/tempest-cljs
5
;; ;; This file is part of tempest-cljs ;; Copyright (c) 2012, Trevor Bentley ;; All rights reserved. ;; See LICENSE file for details. ;; (ns ^{:doc " Publicly exported functions to embed Tempest game in HTML. "} tempest (:require [tempest.levels :as levels] [tempest.draw :as draw] [tempest...
74793
;; ;; This file is part of tempest-cljs ;; Copyright (c) 2012, <NAME> ;; All rights reserved. ;; See LICENSE file for details. ;; (ns ^{:doc " Publicly exported functions to embed Tempest game in HTML. "} tempest (:require [tempest.levels :as levels] [tempest.draw :as draw] [tempest.core :a...
true
;; ;; This file is part of tempest-cljs ;; Copyright (c) 2012, PI:NAME:<NAME>END_PI ;; All rights reserved. ;; See LICENSE file for details. ;; (ns ^{:doc " Publicly exported functions to embed Tempest game in HTML. "} tempest (:require [tempest.levels :as levels] [tempest.draw :as draw] [t...
[ { "context": "ound the core Processing.org API.\"\n :author \"Roland Sadowski, Sam Aaron\"}\n quil.core\n (:import [processi", "end": 107, "score": 0.9997249841690063, "start": 92, "tag": "NAME", "value": "Roland Sadowski" }, { "context": "ocessing.org API.\"\n :autho...
data/clojure/1b237a271e113898c9780b3110d8861c_core.clj
maxim5/code-inspector
5
(ns ^{:doc "Wrappers and extensions around the core Processing.org API." :author "Roland Sadowski, Sam Aaron"} quil.core (:import [processing.core PApplet PImage PGraphics PFont PConstants PShape] [java.awt.event KeyEvent]) (:require [clojure.set]) (:use [quil.version :only [QUIL-VERS...
116090
(ns ^{:doc "Wrappers and extensions around the core Processing.org API." :author "<NAME>, <NAME>"} quil.core (:import [processing.core PApplet PImage PGraphics PFont PConstants PShape] [java.awt.event KeyEvent]) (:require [clojure.set]) (:use [quil.version :only [QUIL-VERSION-STR]] ...
true
(ns ^{:doc "Wrappers and extensions around the core Processing.org API." :author "PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI"} quil.core (:import [processing.core PApplet PImage PGraphics PFont PConstants PShape] [java.awt.event KeyEvent]) (:require [clojure.set]) (:use [quil.version ...
[ { "context": ";; Copyright (c) 2011-2014 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team\n;;\n;; The", "end": 45, "score": 0.9998461604118347, "start": 27, "tag": "NAME", "value": "Michael S. Klishin" }, { "context": ";; Copyright (c) 2011-2014 Michael S. Klishin, Alex Pet...
src/clojure/pantomime/web.clj
dthadi3/pantomime
119
;; Copyright (c) 2011-2014 Michael S. Klishin, Alex Petrov, and the ClojureWerkz Team ;; ;; 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. ...
62367
;; Copyright (c) 2011-2014 <NAME>, <NAME>, and the ClojureWerkz Team ;; ;; The use and distribution terms for this software are covered by the ;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) ;; which can be found in the file epl-v10.html at the root of this distribution. ;; By using this ...
true
;; Copyright (c) 2011-2014 PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI, and the ClojureWerkz Team ;; ;; 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 dis...
[ { "context": "; Copyright (c) Rich Hickey. All rights reserved.\n; The use and distributio", "end": 29, "score": 0.9998096227645874, "start": 18, "tag": "NAME", "value": "Rich Hickey" } ]
ext/clojure-clojurescript-bef56a7/bin/cljsc.clj
yokolet/clementine
35
; Copyright (c) Rich Hickey. All rights reserved. ; The use and distribution terms for this software are covered by the ; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) ; which can be found in the file epl-v10.html at the root of this distribution. ; By using this software in any ...
89516
; Copyright (c) <NAME>. All rights reserved. ; The use and distribution terms for this software are covered by the ; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) ; which can be found in the file epl-v10.html at the root of this distribution. ; By using this software in any fashi...
true
; Copyright (c) PI:NAME:<NAME>END_PI. All rights reserved. ; The use and distribution terms for this software are covered by the ; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) ; which can be found in the file epl-v10.html at the root of this distribution. ; By using this softwar...
[ { "context": "ing!, $password: String!) {\n login(username: $username, password: $password)\n }\")\n\n(defrecord Login [p", "end": 609, "score": 0.5702123045921326, "start": 601, "tag": "USERNAME", "value": "username" }, { "context": "ng!) {\n login(username: $username, pas...
src/front/mee6/events.cljs
mgdelacroix/mee6
2
(ns mee6.events (:require [potok.core :as ptk] [beicon.core :as rx] [mee6.graphql :as gql] [mee6.store :as st] [mee6.util.router :as rt])) ;; --- Helpers (defn- index-by [coll getter] (reduce #(assoc %1 (getter %2) %2) {} coll)) ;; --- Auth Events (defrecord Log...
91537
(ns mee6.events (:require [potok.core :as ptk] [beicon.core :as rx] [mee6.graphql :as gql] [mee6.store :as st] [mee6.util.router :as rt])) ;; --- Helpers (defn- index-by [coll getter] (reduce #(assoc %1 (getter %2) %2) {} coll)) ;; --- Auth Events (defrecord Log...
true
(ns mee6.events (:require [potok.core :as ptk] [beicon.core :as rx] [mee6.graphql :as gql] [mee6.store :as st] [mee6.util.router :as rt])) ;; --- Helpers (defn- index-by [coll getter] (reduce #(assoc %1 (getter %2) %2) {} coll)) ;; --- Auth Events (defrecord Log...
[ { "context": "the reconstruction probability,\n as described in An & Cho, 2015\n - Variational Autoencoder based A", "end": 17785, "score": 0.9086015224456787, "start": 17783, "tag": "NAME", "value": "An" } ]
src/dl4clj/nn/api/layer_specific_fns.clj
ghosthamlet/dl4clj
62
(ns ^{:doc "see https://deeplearning4j.org/doc/org/deeplearning4j/nn/conf/layers/Layer.html and https://deeplearning4j.org/doc/org/deeplearning4j/nn/conf/layers/package-frame.html"} dl4clj.nn.api.layer-specific-fns (:import [org.deeplearning4j.nn.conf.layers BaseOutputLayer CenterLossOutputLayer Subsa...
81839
(ns ^{:doc "see https://deeplearning4j.org/doc/org/deeplearning4j/nn/conf/layers/Layer.html and https://deeplearning4j.org/doc/org/deeplearning4j/nn/conf/layers/package-frame.html"} dl4clj.nn.api.layer-specific-fns (:import [org.deeplearning4j.nn.conf.layers BaseOutputLayer CenterLossOutputLayer Subsa...
true
(ns ^{:doc "see https://deeplearning4j.org/doc/org/deeplearning4j/nn/conf/layers/Layer.html and https://deeplearning4j.org/doc/org/deeplearning4j/nn/conf/layers/package-frame.html"} dl4clj.nn.api.layer-specific-fns (:import [org.deeplearning4j.nn.conf.layers BaseOutputLayer CenterLossOutputLayer Subsa...
[ { "context": "string :value \"ab\"})\n psa2 (dc/psa {:name \"bravo\" :group \"G1\" :data-type :string :value \"bf\"})\n ", "end": 2250, "score": 0.7526576519012451, "start": 2245, "tag": "NAME", "value": "bravo" }, { "context": "string :value \"bf\"})\n psa3 (dc/psa {...
system-int-test/test/cmr/system_int_test/search/collection_psa_search_test.clj
sxu123/Common-Metadata-Repository
0
(ns cmr.system-int-test.search.collection-psa-search-test "Tests searching for granules by product specific attributes." (:require [clojure.test :refer :all] [clj-time.core :as t] [clj-time.format :as f] [clojure.string :as s] [cmr.system-int-test.utils.ingest-util :a...
73681
(ns cmr.system-int-test.search.collection-psa-search-test "Tests searching for granules by product specific attributes." (:require [clojure.test :refer :all] [clj-time.core :as t] [clj-time.format :as f] [clojure.string :as s] [cmr.system-int-test.utils.ingest-util :a...
true
(ns cmr.system-int-test.search.collection-psa-search-test "Tests searching for granules by product specific attributes." (:require [clojure.test :refer :all] [clj-time.core :as t] [clj-time.format :as f] [clojure.string :as s] [cmr.system-int-test.utils.ingest-util :a...
[ { "context": "ge (.getProxy @(._peer stage)))\n (should= \"Bill\" (.getName @(._peer stage)))\n (should= :th", "end": 725, "score": 0.7218877673149109, "start": 721, "tag": "NAME", "value": "Bill" }, { "context": "(new-stage :theater \"George\" (hash-map :title \"Dr. Ma...
clojure/spec/limelight/clojure/stage_spec.clj
slagyr/limelight
10
;- Copyright © 2008-2011 8th Light, Inc. All Rights Reserved. ;- Limelight and all included source files are distributed under terms of the MIT License. (ns limelight.clojure.stage-spec (:use [speclj.core] [limelight.clojure.spec-helper] [limelight.clojure.stage] [limelight.clojure.core :only (theate...
114885
;- Copyright © 2008-2011 8th Light, Inc. All Rights Reserved. ;- Limelight and all included source files are distributed under terms of the MIT License. (ns limelight.clojure.stage-spec (:use [speclj.core] [limelight.clojure.spec-helper] [limelight.clojure.stage] [limelight.clojure.core :only (theate...
true
;- Copyright © 2008-2011 8th Light, Inc. All Rights Reserved. ;- Limelight and all included source files are distributed under terms of the MIT License. (ns limelight.clojure.stage-spec (:use [speclj.core] [limelight.clojure.spec-helper] [limelight.clojure.stage] [limelight.clojure.core :only (theate...
[ { "context": ";\n;\n; Copyright (C) 2010 Cloud Conscious, LLC. <info@cloudconscious.com>\n;\n; ============================================", "end": 71, "score": 0.9999290704727173, "start": 48, "tag": "EMAIL", "value": "info@cloudconscious.com" }, { "context": "d runs tests in conte...
compute/src/test/clojure/org/jclouds/compute_test.clj
bosschaert/jclouds
1
; ; ; Copyright (C) 2010 Cloud Conscious, LLC. <info@cloudconscious.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...
102546
; ; ; Copyright (C) 2010 Cloud Conscious, LLC. <<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....
true
; ; ; Copyright (C) 2010 Cloud Conscious, LLC. <PI:EMAIL:<EMAIL>END_PI> ; ; ==================================================================== ; Licensed under the Apache License, Version 2.0 (the "License"); ; you may not use this file except in compliance with the License. ; You may obtain a copy of the License at ...
[ { "context": "provider \"user-password\"\n :data { :user \"tmpuser\" :password \"tmppassword\" :date_of_birth \"2011-01-", "end": 996, "score": 0.9981077313423157, "start": 989, "tag": "USERNAME", "value": "tmpuser" }, { "context": "ord\"\n :data { :user \"tmpuser\"...
workspace/real-clojure/src/real_clojure/protocol_demo/register.clj
muthuishere/clojure-workshop-template
0
(ns real-clojure.protocol-demo.register) (defmulti register (fn [{:keys [provider]}] (keyword provider) )) (defmethod register :google [_] (do (println "Setting up Google API") (println "Redirect to Google Register Page") (println "Register in Google") (pri...
47599
(ns real-clojure.protocol-demo.register) (defmulti register (fn [{:keys [provider]}] (keyword provider) )) (defmethod register :google [_] (do (println "Setting up Google API") (println "Redirect to Google Register Page") (println "Register in Google") (pri...
true
(ns real-clojure.protocol-demo.register) (defmulti register (fn [{:keys [provider]}] (keyword provider) )) (defmethod register :google [_] (do (println "Setting up Google API") (println "Redirect to Google Register Page") (println "Register in Google") (pri...
[ { "context": "; Copyright 2009, 2010, 2011 Howard M. Lewis Ship\n;\n; Licensed under the Apache License, Version 2.", "end": 49, "score": 0.9998643398284912, "start": 29, "tag": "NAME", "value": "Howard M. Lewis Ship" } ]
test/cascade/test_utils.clj
hlship/cascade
8
; Copyright 2009, 2010, 2011 Howard M. Lewis Ship ; ; Licensed under the Apache License, Version 2.0 (the "License"); ; you may not use this file except in compliance with the License. ; You may obtain a copy of the License at ; ; http://www.apache.org/licenses/LICENSE-2.0 ; ; Unless required by applicable law or agr...
47415
; Copyright 2009, 2010, 2011 <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 writ...
true
; Copyright 2009, 2010, 2011 PI:NAME:<NAME>END_PI ; ; Licensed under the Apache License, Version 2.0 (the "License"); ; you may not use this file except in compliance with the License. ; You may obtain a copy of the License at ; ; http://www.apache.org/licenses/LICENSE-2.0 ; ; Unless required by applicable law or agr...
[ { "context": "an})\n\n(defn- make-pan-key [key] (keyword (str \"pan-\" (name key))))\n\n(defn- make-triggers-pans\n [trigg", "end": 3500, "score": 0.5305845737457275, "start": 3500, "tag": "KEY", "value": "" } ]
src/overtime/microsounds.clj
shj333/overtime
0
(ns overtime.microsounds (:require [overtone.core :as ot] [overtime.busses :as bus] [overtime.buffers :as buf] [overtime.instruments :as instr] [overtime.probability :as prob] [overtime.shapes :as shp] [overtime.utils :as u] [clojure....
111741
(ns overtime.microsounds (:require [overtone.core :as ot] [overtime.busses :as bus] [overtime.buffers :as buf] [overtime.instruments :as instr] [overtime.probability :as prob] [overtime.shapes :as shp] [overtime.utils :as u] [clojure....
true
(ns overtime.microsounds (:require [overtone.core :as ot] [overtime.busses :as bus] [overtime.buffers :as buf] [overtime.instruments :as instr] [overtime.probability :as prob] [overtime.shapes :as shp] [overtime.utils :as u] [clojure....
[ { "context": " :full_name \"Charlottesville, Virginia, USA\"\n ", "end": 1458, "score": 0.57948237657547, "start": 1452, "tag": "NAME", "value": "lottes" }, { "context": " :full_name \"Ch...
test/t_fun/unit/cloudsearch_load.clj
justjohn2001/t-fun
0
(ns t-fun.unit.cloudsearch-load (:require [t-fun.cloudsearch-load :refer :all :as cs-load] [t-fun.lib.datomic :as t-d] [midje.sweet :as t :refer [=> contains anything just]] [datomic.ion :as ion])) (t/fact "datomic-config" (t-d/datomic-config :test) => map?) (t/fact "make...
103538
(ns t-fun.unit.cloudsearch-load (:require [t-fun.cloudsearch-load :refer :all :as cs-load] [t-fun.lib.datomic :as t-d] [midje.sweet :as t :refer [=> contains anything just]] [datomic.ion :as ion])) (t/fact "datomic-config" (t-d/datomic-config :test) => map?) (t/fact "make...
true
(ns t-fun.unit.cloudsearch-load (:require [t-fun.cloudsearch-load :refer :all :as cs-load] [t-fun.lib.datomic :as t-d] [midje.sweet :as t :refer [=> contains anything just]] [datomic.ion :as ion])) (t/fact "datomic-config" (t-d/datomic-config :test) => map?) (t/fact "make...
[ { "context": "))\n ;; => [{:name \\\"Tiger\\\"}\n ;; {:name \\\"Dolphin\\\", :intelligence 80}\n ;; {:name \\\"Zebra\\\", ", "end": 3251, "score": 0.7258128523826599, "start": 3244, "tag": "NAME", "value": "Dolphin" }, { "context": "af})])\n (engine/run!!))\n ;...
src/claro/projection/case.cljc
xsc/claro
147
(ns claro.projection.case (:refer-clojure :exclude [case]) (:require [claro.projection.protocols :as pr] [claro.data.ops.then :refer [then]] [claro.data.error :refer [with-error?]] [claro.data.protocols :as p])) ;; Helpers (defn- throw-case-mismatch! [value class->template] ...
97040
(ns claro.projection.case (:refer-clojure :exclude [case]) (:require [claro.projection.protocols :as pr] [claro.data.ops.then :refer [then]] [claro.data.error :refer [with-error?]] [claro.data.protocols :as p])) ;; Helpers (defn- throw-case-mismatch! [value class->template] ...
true
(ns claro.projection.case (:refer-clojure :exclude [case]) (:require [claro.projection.protocols :as pr] [claro.data.ops.then :refer [then]] [claro.data.error :refer [with-error?]] [claro.data.protocols :as p])) ;; Helpers (defn- throw-case-mismatch! [value class->template] ...
[ { "context": "4.0.0/css/bootstrap.min.css\" \n :integrity \"sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm\" \n :crossorigin \"anonymous\"}]\n [:script", "end": 1106, "score": 0.9992602467536926, "start": 1035, "tag": "KEY", "value": "sha384-Gn5384xq...
src/ccheck/web/html.clj
maxp/coincheckhack-monitor
1
(ns ccheck.web.html (:require [hiccup.page :refer [html5]] [ccheck.build :refer [build]])) ; (defn head-meta [req _] (list [:title "NEM Info"] [:meta {:charset "utf-8"}] [:meta {:http-equiv "X-UA-Compatible" :content "IE=edge"}] [:meta {:name "viewport" :content "width=device-width, initia...
72031
(ns ccheck.web.html (:require [hiccup.page :refer [html5]] [ccheck.build :refer [build]])) ; (defn head-meta [req _] (list [:title "NEM Info"] [:meta {:charset "utf-8"}] [:meta {:http-equiv "X-UA-Compatible" :content "IE=edge"}] [:meta {:name "viewport" :content "width=device-width, initia...
true
(ns ccheck.web.html (:require [hiccup.page :refer [html5]] [ccheck.build :refer [build]])) ; (defn head-meta [req _] (list [:title "NEM Info"] [:meta {:charset "utf-8"}] [:meta {:http-equiv "X-UA-Compatible" :content "IE=edge"}] [:meta {:name "viewport" :content "width=device-width, initia...
[ { "context": "\"\n :username \"solita\"\n :password \"", "end": 276, "score": 0.9996309280395508, "start": 270, "tag": "USERNAME", "value": "solita" }, { "context": "\"\n :pass...
applications/lupapiste/build/package/project.clj
okauppinen/oskari
0
(defproject fi.sito/oskari "0.9.2" :description "Oskari map stuff for Lupapiste" :dependencies [[org.clojure/clojure "1.4.0"]] :deploy-repositories {"snapshots" {:url "http://mvn.solita.fi/archiva/repository/solita" :username "solita" :pass...
47506
(defproject fi.sito/oskari "0.9.2" :description "Oskari map stuff for Lupapiste" :dependencies [[org.clojure/clojure "1.4.0"]] :deploy-repositories {"snapshots" {:url "http://mvn.solita.fi/archiva/repository/solita" :username "solita" :pass...
true
(defproject fi.sito/oskari "0.9.2" :description "Oskari map stuff for Lupapiste" :dependencies [[org.clojure/clojure "1.4.0"]] :deploy-repositories {"snapshots" {:url "http://mvn.solita.fi/archiva/repository/solita" :username "solita" :pass...
[ { "context": " (assoc-in [:flash :email-address] \"user@email.com\")\n invite-user)]\n ", "end": 2782, "score": 0.9990833401679993, "start": 2768, "tag": "EMAIL", "value": "user@email.com" } ]
test/stonecutter/test/view/invite_user.clj
d-cent/stonecutter
39
(ns stonecutter.test.view.invite-user (:require [midje.sweet :refer :all] [net.cgrand.enlive-html :as html] [stonecutter.test.view.test-helpers :as th] [stonecutter.routes :as r] [stonecutter.view.invite-user :refer [invite-user]] [stonecutter.translation :a...
63993
(ns stonecutter.test.view.invite-user (:require [midje.sweet :refer :all] [net.cgrand.enlive-html :as html] [stonecutter.test.view.test-helpers :as th] [stonecutter.routes :as r] [stonecutter.view.invite-user :refer [invite-user]] [stonecutter.translation :a...
true
(ns stonecutter.test.view.invite-user (:require [midje.sweet :refer :all] [net.cgrand.enlive-html :as html] [stonecutter.test.view.test-helpers :as th] [stonecutter.routes :as r] [stonecutter.view.invite-user :refer [invite-user]] [stonecutter.translation :a...
[ { "context": "hering Heights\"\n :author \"Emily Bronte\"})})\n :headers {\"Content-Type\"\n ", "end": 2791, "score": 0.9998885989189148, "start": 2779, "tag": "NAME", "value": "Emily Bronte" } ]
src/cljs-node/rx/log_ingress.cljs
zk/rx-lib
0
(ns rx.log-ingress (:require [rx.kitchen-sink :as ks] [rx.http :as http] [clojure.string :as str] [cljs-http.client :as hc] [cljs.core.async :as async :refer [<! put! timeout] :refer-macros [go go-loop]])) (def HTTP (js/require "http")) (def N...
90341
(ns rx.log-ingress (:require [rx.kitchen-sink :as ks] [rx.http :as http] [clojure.string :as str] [cljs-http.client :as hc] [cljs.core.async :as async :refer [<! put! timeout] :refer-macros [go go-loop]])) (def HTTP (js/require "http")) (def N...
true
(ns rx.log-ingress (:require [rx.kitchen-sink :as ks] [rx.http :as http] [clojure.string :as str] [cljs-http.client :as hc] [cljs.core.async :as async :refer [<! put! timeout] :refer-macros [go go-loop]])) (def HTTP (js/require "http")) (def N...
[ { "context": "(comment \n re-core, Copyright 2012 Ronen Narkis, narkisr.com\n Licensed under the Apache License,", "end": 48, "score": 0.9998860359191895, "start": 36, "tag": "NAME", "value": "Ronen Narkis" }, { "context": "comment \n re-core, Copyright 2012 Ronen Narkis, narkisr....
src/openstack/model.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 or a...
107579
(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 agreed to ...
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 required by...
[ { "context": "e \"Email can't be empty\")\n\n (empty? (:username @s))\n (swap! s assoc :flash-message \"Username ca", "end": 3380, "score": 0.9486656188964844, "start": 3378, "tag": "USERNAME", "value": "@s" }, { "context": ")\n\n (not= (:password @s) (:confirm-password ...
src/cljs/nr/auth.cljs
NBKelly/netrunner
0
(ns nr.auth (:require-macros [cljs.core.async.macros :refer [go]]) (:require [cljs.core.async :refer [<!]] [clojure.string :refer [lower-case]] [nr.ajax :refer [GET POST]] [nr.appstate :refer [app-state]] [nr.avatar :refer [avatar]] [nr.translations :refer [tr]] [reagent.core :as r])) (defn au...
76730
(ns nr.auth (:require-macros [cljs.core.async.macros :refer [go]]) (:require [cljs.core.async :refer [<!]] [clojure.string :refer [lower-case]] [nr.ajax :refer [GET POST]] [nr.appstate :refer [app-state]] [nr.avatar :refer [avatar]] [nr.translations :refer [tr]] [reagent.core :as r])) (defn au...
true
(ns nr.auth (:require-macros [cljs.core.async.macros :refer [go]]) (:require [cljs.core.async :refer [<!]] [clojure.string :refer [lower-case]] [nr.ajax :refer [GET POST]] [nr.appstate :refer [app-state]] [nr.avatar :refer [avatar]] [nr.translations :refer [tr]] [reagent.core :as r])) (defn au...
[ { "context": " (comp/set-state! this {:input-key (str (rand-int 1000000))})))})))\n ui-factory (comp/compu", "end": 11678, "score": 0.9227049350738525, "start": 11657, "tag": "KEY", "value": "str (rand-int 1000000" } ]
src/main/com/fulcrologic/rad/rendering/semantic_ui/form.cljc
gpellis/fulcro-rad-semantic-ui
0
(ns com.fulcrologic.rad.rendering.semantic-ui.form (:require [com.fulcrologic.rad.attributes :as attr] [com.fulcrologic.rad.options-util :refer [?! narrow-keyword]] [com.fulcrologic.rad.ui-validation :as validation] [com.fulcrologic.rad.form :as form] [com.fulcrologic.rad.control :as control] ...
115812
(ns com.fulcrologic.rad.rendering.semantic-ui.form (:require [com.fulcrologic.rad.attributes :as attr] [com.fulcrologic.rad.options-util :refer [?! narrow-keyword]] [com.fulcrologic.rad.ui-validation :as validation] [com.fulcrologic.rad.form :as form] [com.fulcrologic.rad.control :as control] ...
true
(ns com.fulcrologic.rad.rendering.semantic-ui.form (:require [com.fulcrologic.rad.attributes :as attr] [com.fulcrologic.rad.options-util :refer [?! narrow-keyword]] [com.fulcrologic.rad.ui-validation :as validation] [com.fulcrologic.rad.form :as form] [com.fulcrologic.rad.control :as control] ...
[ { "context": "e is a cellular automaton devised by mathematician John Conway. \n;;\n;; The 'board' consists of both live (#) and", "end": 98, "score": 0.9996263384819031, "start": 87, "tag": "NAME", "value": "John Conway" } ]
task094 - Game of Life.clj
pavolvarga/4clojure
0
;; Game of Life ;; The game of life is a cellular automaton devised by mathematician John Conway. ;; ;; The 'board' consists of both live (#) and dead ( ) cells. ;; Each cell interacts with its eight neighbours (horizontal, vertical, diagonal), ;; and its next state is dependent on the following rules: ;; ;; 1) An...
115971
;; Game of Life ;; The game of life is a cellular automaton devised by mathematician <NAME>. ;; ;; The 'board' consists of both live (#) and dead ( ) cells. ;; Each cell interacts with its eight neighbours (horizontal, vertical, diagonal), ;; and its next state is dependent on the following rules: ;; ;; 1) Any liv...
true
;; Game of Life ;; The game of life is a cellular automaton devised by mathematician PI:NAME:<NAME>END_PI. ;; ;; The 'board' consists of both live (#) and dead ( ) cells. ;; Each cell interacts with its eight neighbours (horizontal, vertical, diagonal), ;; and its next state is dependent on the following rules: ;;...
[ { "context": "\n parent :parent\n key :keymap\n name :name\n id :id\n kind :pred\n :else :bug)))\n", "end": 1126, "score": 0.949219286441803, "start": 1122, "tag": "NAME", "value": "name" } ]
datastore/src/org/mobileink/migae/datastore/key.clj
mobileink/migae
0
(ns org.mobileink.migae.datastore.key (:refer-clojure :exclude [name hash]) (:import [com.google.appengine.api.datastore KeyFactory Key])) (defn kind [^Key key] (.getKind key)) (defn name [^Key key] (.getName key)) (defn id [^Key key] (.getId key)) (defn name-space [^Key ke...
68099
(ns org.mobileink.migae.datastore.key (:refer-clojure :exclude [name hash]) (:import [com.google.appengine.api.datastore KeyFactory Key])) (defn kind [^Key key] (.getKind key)) (defn name [^Key key] (.getName key)) (defn id [^Key key] (.getId key)) (defn name-space [^Key ke...
true
(ns org.mobileink.migae.datastore.key (:refer-clojure :exclude [name hash]) (:import [com.google.appengine.api.datastore KeyFactory Key])) (defn kind [^Key key] (.getKind key)) (defn name [^Key key] (.getName key)) (defn id [^Key key] (.getId key)) (defn name-space [^Key ke...
[ { "context": "rnative multimethod implementations.\"\n {:author \"palisades dot lakes at gmail dot com\"\n :since \"2017-05-29\"\n :version \"2017-09-05\"}", "end": 297, "score": 0.9561319947242737, "start": 261, "tag": "EMAIL", "value": "palisades dot lakes at gmail dot com" } ]
src/scripts/clojure/palisades/lakes/multix/intersects/bench.clj
palisades-lakes/multimethod-experiments
5
(set! *warn-on-reflection* true) (set! *unchecked-math* :warn-on-boxed) ;;---------------------------------------------------------------- (ns palisades.lakes.multix.intersects.bench "Use criterium for alternative multimethod implementations." {:author "palisades dot lakes at gmail dot com" :since "2017-05-29...
107643
(set! *warn-on-reflection* true) (set! *unchecked-math* :warn-on-boxed) ;;---------------------------------------------------------------- (ns palisades.lakes.multix.intersects.bench "Use criterium for alternative multimethod implementations." {:author "<EMAIL>" :since "2017-05-29" :version "2017-09-05"} ...
true
(set! *warn-on-reflection* true) (set! *unchecked-math* :warn-on-boxed) ;;---------------------------------------------------------------- (ns palisades.lakes.multix.intersects.bench "Use criterium for alternative multimethod implementations." {:author "PI:EMAIL:<EMAIL>END_PI" :since "2017-05-29" :version ...
[ { "context": " and we extend types to support this protocol.\n;\n; Eli Bendersky [http://eli.thegreenplace.net]\n; This code is in ", "end": 143, "score": 0.993743896484375, "start": 130, "tag": "NAME", "value": "Eli Bendersky" } ]
2016/expression-problem/clojure/expression/src/expression/protocols.clj
mikiec84/code-for-blog
1,199
; Solving the expression problem with protocols. Each operation is a protocol ; and we extend types to support this protocol. ; ; Eli Bendersky [http://eli.thegreenplace.net] ; This code is in the public domain. (ns expression.protocols) (defrecord Constant [value]) (defrecord BinaryPlus [lhs rhs]) (defprotocol Evalu...
43109
; Solving the expression problem with protocols. Each operation is a protocol ; and we extend types to support this protocol. ; ; <NAME> [http://eli.thegreenplace.net] ; This code is in the public domain. (ns expression.protocols) (defrecord Constant [value]) (defrecord BinaryPlus [lhs rhs]) (defprotocol Evaluatable ...
true
; Solving the expression problem with protocols. Each operation is a protocol ; and we extend types to support this protocol. ; ; PI:NAME:<NAME>END_PI [http://eli.thegreenplace.net] ; This code is in the public domain. (ns expression.protocols) (defrecord Constant [value]) (defrecord BinaryPlus [lhs rhs]) (defprotoco...
[ { "context": "(temp-file \"hosts\") machine {:domain \"local\" :ip \"1.2.3.4\" :hostname \"iobar\" }]\n (with-redefs [hosts (agen", "end": 717, "score": 0.998879075050354, "start": 710, "tag": "IP_ADDRESS", "value": "1.2.3.4" }, { "context": "\n :domain \"local...
test/re_core/test/hooks.clj
celestial-ops/core
1
(ns re-core.test.hooks "Testing misc hooks like dns and hubot" (:require [clojure.java.shell :refer (sh)] [me.raynes.fs :refer (temp-file)] [hooks.dnsmasq :refer (update-dns hosts sudo)] [re-core.common :refer (import-logging)] [re-core.persistency.systems :as s] [supernal.sshj :refer (exe...
112009
(ns re-core.test.hooks "Testing misc hooks like dns and hubot" (:require [clojure.java.shell :refer (sh)] [me.raynes.fs :refer (temp-file)] [hooks.dnsmasq :refer (update-dns hosts sudo)] [re-core.common :refer (import-logging)] [re-core.persistency.systems :as s] [supernal.sshj :refer (exe...
true
(ns re-core.test.hooks "Testing misc hooks like dns and hubot" (:require [clojure.java.shell :refer (sh)] [me.raynes.fs :refer (temp-file)] [hooks.dnsmasq :refer (update-dns hosts sudo)] [re-core.common :refer (import-logging)] [re-core.persistency.systems :as s] [supernal.sshj :refer (exe...
[ { "context": "sions bknd-store dsname))\n key (rand-str \"key\")]\n (b/update-status (:meta-store bkn", "end": 4081, "score": 0.7508437037467957, "start": 4073, "tag": "KEY", "value": "rand-str" } ]
service/test/optimus/service/core_test.clj
trainline/optimus
13
;; Copyright (c) Trainline Limited, 2017. All rights reserved. ;; See LICENSE.txt in the project root for license information (ns optimus.service.core-test (:require [midje.sweet :refer :all] [optimus.service [backend :as b] [core :as sut] [test-util :refer [backend-...
96338
;; Copyright (c) Trainline Limited, 2017. All rights reserved. ;; See LICENSE.txt in the project root for license information (ns optimus.service.core-test (:require [midje.sweet :refer :all] [optimus.service [backend :as b] [core :as sut] [test-util :refer [backend-...
true
;; Copyright (c) Trainline Limited, 2017. All rights reserved. ;; See LICENSE.txt in the project root for license information (ns optimus.service.core-test (:require [midje.sweet :refer :all] [optimus.service [backend :as b] [core :as sut] [test-util :refer [backend-...
[ { "context": ";; Copyright (c) 2014, Andrey Antukh\n;; Copyright (c) 2014, Alejandro Gómez\n;; All rig", "end": 36, "score": 0.9998773336410522, "start": 23, "tag": "NAME", "value": "Andrey Antukh" }, { "context": "ght (c) 2014, Andrey Antukh\n;; Copyright (c) 2014, Alejandro Gómez\n...
src/cljx/cats/monad/writer.cljx
pbaille/cats
0
;; Copyright (c) 2014, Andrey Antukh ;; Copyright (c) 2014, Alejandro Gómez ;; All rights reserved. ;; ;; Redistribution and use in source and binary forms, with or without ;; modification, are permitted provided that the following conditions ;; are met: ;; ;; 1. Redistributions of source code must retain the above cop...
121241
;; Copyright (c) 2014, <NAME> ;; Copyright (c) 2014, <NAME> ;; All rights reserved. ;; ;; Redistribution and use in source and binary forms, with or without ;; modification, are permitted provided that the following conditions ;; are met: ;; ;; 1. Redistributions of source code must retain the above copyright ;; not...
true
;; Copyright (c) 2014, PI:NAME:<NAME>END_PI ;; Copyright (c) 2014, PI:NAME:<NAME>END_PI ;; All rights reserved. ;; ;; Redistribution and use in source and binary forms, with or without ;; modification, are permitted provided that the following conditions ;; are met: ;; ;; 1. Redistributions of source code must retain t...
[ { "context": "))))\n\n (t/is (not (s/valid? ::swedish-person-nr \"Hejsan\")))\n (t/is (s/valid? ::swedish-person-nr \"890907", "end": 823, "score": 0.9983410239219666, "start": 817, "tag": "NAME", "value": "Hejsan" } ]
test/se/jherrlin/luhn_test.cljc
jherrlin/luhn-cljc
0
(ns se.jherrlin.luhn-test (:require [clojure.spec.alpha :as s] [clojure.test :as t] [clojure.test.check.generators :as gen] [se.jherrlin.luhn :as luhn])) (t/deftest luhns (t/is (s/valid? ::luhn/luhn "0112046438")) (t/is (s/valid? ::luhn/luhn "967425547947112914710")) (t/is (not (s/valid? ::luhn/lu...
42546
(ns se.jherrlin.luhn-test (:require [clojure.spec.alpha :as s] [clojure.test :as t] [clojure.test.check.generators :as gen] [se.jherrlin.luhn :as luhn])) (t/deftest luhns (t/is (s/valid? ::luhn/luhn "0112046438")) (t/is (s/valid? ::luhn/luhn "967425547947112914710")) (t/is (not (s/valid? ::luhn/lu...
true
(ns se.jherrlin.luhn-test (:require [clojure.spec.alpha :as s] [clojure.test :as t] [clojure.test.check.generators :as gen] [se.jherrlin.luhn :as luhn])) (t/deftest luhns (t/is (s/valid? ::luhn/luhn "0112046438")) (t/is (s/valid? ::luhn/luhn "967425547947112914710")) (t/is (not (s/valid? ::luhn/lu...
[ { "context": ";; feature testing macro, based on suggestion from Chas Emerick:\n(defmacro when-available\n [sym & body]\n (try\n ", "end": 1891, "score": 0.9967457056045532, "start": 1879, "tag": "NAME", "value": "Chas Emerick" }, { "context": "specs)))\n\n; based on this code http...
src/main/resources/ogu/core.clj
NinjasCL-archive/Ogu
9
(ns ogu.core) (def ^:dynamic **args** []) (defn banner! [msg] (interpreter.Runtime/banner msg)) (def println! println) (def readln! read-line) (def nothing (fn [] )) (def typeof type) (def classof class) (def curry partial) (def reader clojure.java.io/reader) (def file clojure.java.io/file) (defn split-wor...
97848
(ns ogu.core) (def ^:dynamic **args** []) (defn banner! [msg] (interpreter.Runtime/banner msg)) (def println! println) (def readln! read-line) (def nothing (fn [] )) (def typeof type) (def classof class) (def curry partial) (def reader clojure.java.io/reader) (def file clojure.java.io/file) (defn split-wor...
true
(ns ogu.core) (def ^:dynamic **args** []) (defn banner! [msg] (interpreter.Runtime/banner msg)) (def println! println) (def readln! read-line) (def nothing (fn [] )) (def typeof type) (def classof class) (def curry partial) (def reader clojure.java.io/reader) (def file clojure.java.io/file) (defn split-wor...
[ { "context": "tr/capitalize \"katy\")))\n (is (= \"John\" (str/capital \"john\")))\n (is (= ", "end": 585, "score": 0.8990502953529358, "start": 581, "tag": "NAME", "value": "John" }, { "context": ")))\n (is (= \"John\" (str/capital ...
Chapter10/Exercise10.06/hello-test/test/hello_test/core_test.cljs
transducer/The-Clojure-Workshop
55
(ns hello-test.core-test (:require [cljs.test :refer-macros [are async deftest is testing]] [clojure.test.check.generators :as gen] [clojure.test.check.properties :refer-macros [for-all]] [clojure.test.check.clojure-test :refer-macros [defspec]] [cuerdas.core :as str] ...
99592
(ns hello-test.core-test (:require [cljs.test :refer-macros [are async deftest is testing]] [clojure.test.check.generators :as gen] [clojure.test.check.properties :refer-macros [for-all]] [clojure.test.check.clojure-test :refer-macros [defspec]] [cuerdas.core :as str] ...
true
(ns hello-test.core-test (:require [cljs.test :refer-macros [are async deftest is testing]] [clojure.test.check.generators :as gen] [clojure.test.check.properties :refer-macros [for-all]] [clojure.test.check.clojure-test :refer-macros [defspec]] [cuerdas.core :as str] ...
[ { "context": "est-case for reactor-core.reducers.\"\n :author \"Vladimir Tsanev\"}\n reactor-core.reducer-test\n #?(:cljs (:requir", "end": 685, "score": 0.999786376953125, "start": 670, "tag": "NAME", "value": "Vladimir Tsanev" } ]
test/reactor_core/reducer_test.cljc
jaju/reactor-core-clojure
2
; ; Copyright 2018 the original author or authors. ; ; Licensed under the Apache License, Version 2.0 (the "License") ; you may not use this file except in compliance with the License. ; You may obtain a copy of the License at ; ; http://www.apache.org/licenses/LICENSE-2.0 ; ; Unless required by applicable law or ...
104866
; ; Copyright 2018 the original author or authors. ; ; Licensed under the Apache License, Version 2.0 (the "License") ; you may not use this file except in compliance with the License. ; You may obtain a copy of the License at ; ; http://www.apache.org/licenses/LICENSE-2.0 ; ; Unless required by applicable law or ...
true
; ; Copyright 2018 the original author or authors. ; ; Licensed under the Apache License, Version 2.0 (the "License") ; you may not use this file except in compliance with the License. ; You may obtain a copy of the License at ; ; http://www.apache.org/licenses/LICENSE-2.0 ; ; Unless required by applicable law or ...
[ { "context": "s-2.col-xs-offset-2\n (input-text :name \"Your name\" name)]\n\n [:div.col-xs-5\n (inp", "end": 5389, "score": 0.7843997478485107, "start": 5380, "tag": "NAME", "value": "Your name" }, { "context": " :port 3000\n ...
src/chatter/handler.clj
biiwide/track2-functional
0
(ns chatter.handler (:require [clojure.test :refer [deftest run-tests is are]] [compojure.core :refer :all] [compojure.route :as route] [ring.adapter.jetty :as jetty] [ring.middleware.defaults :refer [wrap-defaults site-defaults]] [ring.middleware.params ...
40422
(ns chatter.handler (:require [clojure.test :refer [deftest run-tests is are]] [compojure.core :refer :all] [compojure.route :as route] [ring.adapter.jetty :as jetty] [ring.middleware.defaults :refer [wrap-defaults site-defaults]] [ring.middleware.params ...
true
(ns chatter.handler (:require [clojure.test :refer [deftest run-tests is are]] [compojure.core :refer :all] [compojure.route :as route] [ring.adapter.jetty :as jetty] [ring.middleware.defaults :refer [wrap-defaults site-defaults]] [ring.middleware.params ...
[ { "context": " [[:person/normalize-last-name \"mcnugget@mailinator.com\"]]))]\n (is (= (:person/last-name (q/pull-by-e", "end": 495, "score": 0.9999094009399414, "start": 472, "tag": "EMAIL", "value": "mcnugget@mailinator.com" }, { "context": "= (:person/last-na...
test/examples/schema_test.clj
zilvinasu/datomic-presentation
1
(ns examples.schema-test (:require [clojure.test :refer :all] [datomic.api :as d] [examples.fixtures :refer [with-db]] [examples.db :as db] [examples.query :as q])) (use-fixtures :each with-db) (deftest db-functions-test (testing "normalize person's last name" (...
47385
(ns examples.schema-test (:require [clojure.test :refer :all] [datomic.api :as d] [examples.fixtures :refer [with-db]] [examples.db :as db] [examples.query :as q])) (use-fixtures :each with-db) (deftest db-functions-test (testing "normalize person's last name" (...
true
(ns examples.schema-test (:require [clojure.test :refer :all] [datomic.api :as d] [examples.fixtures :refer [with-db]] [examples.db :as db] [examples.query :as q])) (use-fixtures :each with-db) (deftest db-functions-test (testing "normalize person's last name" (...
[ { "context": "werkz.balagan.core :as b])\n\n(def friend\n {:name \"Nick\"\n :birth {:year 1985 :place \"Japan\"}\n :nickna", "end": 73, "score": 0.9988040924072266, "start": 69, "tag": "NAME", "value": "Nick" }, { "context": " :birth {:year 1985 :place \"Japan\"}\n :nickname \...
Chapter 04 Code/code-niko/src/chapter04/somebalagan.clj
PacktPublishing/Clojure-Programming-Cookbook
14
(require '[clojurewerkz.balagan.core :as b]) (def friend {:name "Nick" :birth {:year 1985 :place "Japan"} :nickname "nickthegreat"}) (b/select friend [:birth :year]) (b/with-paths friend [:birth] (fn [value path] (println "I am born in " (value :place)))) (b/with-paths frie...
78723
(require '[clojurewerkz.balagan.core :as b]) (def friend {:name "<NAME>" :birth {:year 1985 :place "Japan"} :nickname "nickthegreat"}) (b/select friend [:birth :year]) (b/with-paths friend [:birth] (fn [value path] (println "I am born in " (value :place)))) (b/with-paths fr...
true
(require '[clojurewerkz.balagan.core :as b]) (def friend {:name "PI:NAME:<NAME>END_PI" :birth {:year 1985 :place "Japan"} :nickname "nickthegreat"}) (b/select friend [:birth :year]) (b/with-paths friend [:birth] (fn [value path] (println "I am born in " (value :place)))) (b/w...
[ { "context": "e:\n ```\n ((is-confirmed :password) {:password \\\"abcd\\\" :password-confirmation \\\"abcd\\\"}) ; => nil\n ((", "end": 2973, "score": 0.9942514896392822, "start": 2969, "tag": "PASSWORD", "value": "abcd" }, { "context": "ord) {:password \\\"abcd\\\" :password-conf...
src/heckle/validations.cljc
nwallace/heckle
0
(ns heckle.validations (:require [heckle.core :refer [make-claim make-denial]] [clojure.string :as str])) (defn- to-sentence ([coll] (to-sentence coll " and ")) ([coll conjunction] (str/join conjunction (if-let [for-commas (seq (drop-last coll))] [(str/join ", " for-com...
32095
(ns heckle.validations (:require [heckle.core :refer [make-claim make-denial]] [clojure.string :as str])) (defn- to-sentence ([coll] (to-sentence coll " and ")) ([coll conjunction] (str/join conjunction (if-let [for-commas (seq (drop-last coll))] [(str/join ", " for-com...
true
(ns heckle.validations (:require [heckle.core :refer [make-claim make-denial]] [clojure.string :as str])) (defn- to-sentence ([coll] (to-sentence coll " and ")) ([coll conjunction] (str/join conjunction (if-let [for-commas (seq (drop-last coll))] [(str/join ", " for-com...
[ { "context": "ellow \"#FFC658\"\n :purple \"#8884D8\"\n :facebook \"#3b5998\"\n :twitter \"#00aced\"\n :linkedin \"#007bb6\"\n :pi", "end": 1904, "score": 0.7919525504112244, "start": 1898, "tag": "PASSWORD", "value": "3b5998" }, { "context": ":purple \"#8884D8\"\n :facebook \"...
src/cljs/salava/admin/ui/statistics.cljs
discendum/salava
17
(ns salava.admin.ui.statistics (:require [reagent.core :refer [atom cursor adapt-react-class]] [reagent.session :as session] [reagent-modals.modals :as m] [clojure.string :refer [trim]] [salava.core.ui.ajax-utils :as ajax] [salava.core.ui.layout :as layout] ...
107224
(ns salava.admin.ui.statistics (:require [reagent.core :refer [atom cursor adapt-react-class]] [reagent.session :as session] [reagent-modals.modals :as m] [clojure.string :refer [trim]] [salava.core.ui.ajax-utils :as ajax] [salava.core.ui.layout :as layout] ...
true
(ns salava.admin.ui.statistics (:require [reagent.core :refer [atom cursor adapt-react-class]] [reagent.session :as session] [reagent-modals.modals :as m] [clojure.string :refer [trim]] [salava.core.ui.ajax-utils :as ajax] [salava.core.ui.layout :as layout] ...
[ { "context": " (case (chrome-port/get-name client-port)\n \"Dirac Marionettist\" (let [context {:chrome-event-handler go-process-", "end": 1820, "score": 0.9882721900939941, "start": 1802, "tag": "NAME", "value": "Dirac Marionettist" } ]
src/background/dirac/background/chrome.cljs
mbertheau/dirac
802
(ns dirac.background.chrome (:require [chromex.chrome-event-channel :refer [make-chrome-event-channel]] [chromex.ext.browser-action :as browser-action] [chromex.ext.commands :as commands] [chromex.ext.runtime :as runtime] [chromex.ext.tabs :as tabs] [chromex...
81573
(ns dirac.background.chrome (:require [chromex.chrome-event-channel :refer [make-chrome-event-channel]] [chromex.ext.browser-action :as browser-action] [chromex.ext.commands :as commands] [chromex.ext.runtime :as runtime] [chromex.ext.tabs :as tabs] [chromex...
true
(ns dirac.background.chrome (:require [chromex.chrome-event-channel :refer [make-chrome-event-channel]] [chromex.ext.browser-action :as browser-action] [chromex.ext.commands :as commands] [chromex.ext.runtime :as runtime] [chromex.ext.tabs :as tabs] [chromex...