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": "trings]))\n\n(def ^:private ^:const cookie-session \"53616c7465645f5f8c5005d5f2ab470188544bbb81a7657eb3245f7360b10b4ea2c23195f492efead11cf4c2622930c1\")\n\n(defn split-newline [data]\n (strings/split-li",
"end": 250,
"score": 0.8917703628540039,
"start": 154,
"tag": "KEY",
"va... | aoc-2021/src/aoc_2021/utils/data-utils.clj | tupini07/advent-of-code | 0 | (ns aoc-2021.utils.data-utils
(:require [clj-http.client :as client]
[clojure.string :as strings]))
(def ^:private ^:const cookie-session "53616c7465645f5f8c5005d5f2ab470188544bbb81a7657eb3245f7360b10b4ea2c23195f492efead11cf4c2622930c1")
(defn split-newline [data]
(strings/split-lines data))
(defn- g... | 62062 | (ns aoc-2021.utils.data-utils
(:require [clj-http.client :as client]
[clojure.string :as strings]))
(def ^:private ^:const cookie-session "<KEY>")
(defn split-newline [data]
(strings/split-lines data))
(defn- get-file-path-for-day [dayn]
(str "resources/data-day-" dayn ".txt"))
(defn- download-dat... | true | (ns aoc-2021.utils.data-utils
(:require [clj-http.client :as client]
[clojure.string :as strings]))
(def ^:private ^:const cookie-session "PI:KEY:<KEY>END_PI")
(defn split-newline [data]
(strings/split-lines data))
(defn- get-file-path-for-day [dayn]
(str "resources/data-day-" dayn ".txt"))
(defn-... |
[
{
"context": "ator\n; Date: March 17, 2016.\n; Authors:\n; A01371743 Luis Eduardo Ballinas Aguilar\n;------------------",
"end": 147,
"score": 0.9910760521888733,
"start": 138,
"tag": "USERNAME",
"value": "A01371743"
},
{
"context": "e: March 17, 2016.\n; Authors:\n; ... | 4clojure/problem_135.clj | lu15v/TC2006 | 0 | ;----------------------------------------------------------
; Problem 135: Infix Calculator
; Date: March 17, 2016.
; Authors:
; A01371743 Luis Eduardo Ballinas Aguilar
;----------------------------------------------------------
(use 'clojure.test)
(def problem135
(fn [& args]
(reduce
#(if (fn... | 51434 | ;----------------------------------------------------------
; Problem 135: Infix Calculator
; Date: March 17, 2016.
; Authors:
; A01371743 <NAME>
;----------------------------------------------------------
(use 'clojure.test)
(def problem135
(fn [& args]
(reduce
#(if (fn? %1)
(%1 %... | true | ;----------------------------------------------------------
; Problem 135: Infix Calculator
; Date: March 17, 2016.
; Authors:
; A01371743 PI:NAME:<NAME>END_PI
;----------------------------------------------------------
(use 'clojure.test)
(def problem135
(fn [& args]
(reduce
#(if (fn? %1)
... |
[
{
"context": "ic \n; Examples: Truth tables\n\n; Copyright (c) 2016 Burkhardt Renz, THM. All rights reserved.\n; The use and distribu",
"end": 107,
"score": 0.999876081943512,
"start": 93,
"tag": "NAME",
"value": "Burkhardt Renz"
},
{
"context": "ot (or phi psi))))\n; => true\n\n;; E... | src/lwb/prop/examples/truthtable.clj | esb-lwb/lwb | 22 | ; lwb Logic WorkBench -- Propositional Logic
; Examples: Truth tables
; 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 fash... | 107022 | ; lwb Logic WorkBench -- Propositional Logic
; Examples: Truth tables
; 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... | true | ; lwb Logic WorkBench -- Propositional Logic
; Examples: Truth tables
; 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 an... |
[
{
"context": "logy House, 151 Silbury Blvd.\"]\n [:p \"Milton Keynes, MK9 1LH\"]\n [:p \"United Kingdom\"]\n ",
"end": 3038,
"score": 0.9998242259025574,
"start": 3025,
"tag": "NAME",
"value": "Milton Keynes"
}
] | crux-http-server/src/crux/http_server.clj | msladecek/crux | 0 | (ns crux.http-server
"HTTP API for Crux.
The optional SPARQL handler requires juxt.crux/rdf."
(:require [clojure.edn :as edn]
[clojure.data.csv :as csv]
[clojure.java.io :as io]
[clojure.pprint :as pp]
[clojure.set :as set]
[clojure.spec.alpha :as s]
... | 874 | (ns crux.http-server
"HTTP API for Crux.
The optional SPARQL handler requires juxt.crux/rdf."
(:require [clojure.edn :as edn]
[clojure.data.csv :as csv]
[clojure.java.io :as io]
[clojure.pprint :as pp]
[clojure.set :as set]
[clojure.spec.alpha :as s]
... | true | (ns crux.http-server
"HTTP API for Crux.
The optional SPARQL handler requires juxt.crux/rdf."
(:require [clojure.edn :as edn]
[clojure.data.csv :as csv]
[clojure.java.io :as io]
[clojure.pprint :as pp]
[clojure.set :as set]
[clojure.spec.alpha :as s]
... |
[
{
"context": "any?])]\n [\"author\" \"Mr. Poopybutthole\"]])))\n\n(defn parse-files\n [file->schema-type-vs ",
"end": 8779,
"score": 0.6673015356063843,
"start": 8766,
"tag": "NAME",
"value": "Poopybutthole"
}
] | src/malli_ts/core.cljc | flowyourmoney/malli-ts | 0 | (ns malli-ts.core
(:require [malli-ts.ast :refer [->ast]]
[malli.core :as m]
[camel-snake-kebab.core :as csk]
[clojure.string :as string]
[clojure.set :as set]
#?(:cljs ["path" :as path])))
#?(:clj
(defn- get-path
[f]
(java.nio.file.Paths/get f... | 102113 | (ns malli-ts.core
(:require [malli-ts.ast :refer [->ast]]
[malli.core :as m]
[camel-snake-kebab.core :as csk]
[clojure.string :as string]
[clojure.set :as set]
#?(:cljs ["path" :as path])))
#?(:clj
(defn- get-path
[f]
(java.nio.file.Paths/get f... | true | (ns malli-ts.core
(:require [malli-ts.ast :refer [->ast]]
[malli.core :as m]
[camel-snake-kebab.core :as csk]
[clojure.string :as string]
[clojure.set :as set]
#?(:cljs ["path" :as path])))
#?(:clj
(defn- get-path
[f]
(java.nio.file.Paths/get f... |
[
{
"context": "\"Tagged data from SICP section 2.4.2\"\n {:author \"Vasily Kolesnikov\"}\n (:require [sicp.common.pairs :as p]))\n\n(defn ",
"end": 97,
"score": 0.9998140931129456,
"start": 80,
"tag": "NAME",
"value": "Vasily Kolesnikov"
}
] | src/sicp/common/tagged_data.clj | justCxx/SICP | 90 | (ns sicp.common.tagged-data
"Tagged data from SICP section 2.4.2"
{:author "Vasily Kolesnikov"}
(:require [sicp.common.pairs :as p]))
(defn attach-tag
[type-tag contents]
(p/cons type-tag contents))
(defn tag
[item]
(p/car item))
(defn contents
[item]
(p/cdr item))
| 5730 | (ns sicp.common.tagged-data
"Tagged data from SICP section 2.4.2"
{:author "<NAME>"}
(:require [sicp.common.pairs :as p]))
(defn attach-tag
[type-tag contents]
(p/cons type-tag contents))
(defn tag
[item]
(p/car item))
(defn contents
[item]
(p/cdr item))
| true | (ns sicp.common.tagged-data
"Tagged data from SICP section 2.4.2"
{:author "PI:NAME:<NAME>END_PI"}
(:require [sicp.common.pairs :as p]))
(defn attach-tag
[type-tag contents]
(p/cons type-tag contents))
(defn tag
[item]
(p/car item))
(defn contents
[item]
(p/cdr item))
|
[
{
"context": ";; Test routines for monads.clj\n\n;; by Konrad Hinsen\n;; last updated March 28, 2009\n\n;; Copyright (c) ",
"end": 52,
"score": 0.999865710735321,
"start": 39,
"tag": "NAME",
"value": "Konrad Hinsen"
},
{
"context": "n\n;; last updated March 28, 2009\n\n;; Copyright (... | ThirdParty/clojure-contrib-1.1.0/src/clojure/contrib/test_contrib/monads.clj | allertonm/Couverjure | 3 | ;; Test routines for monads.clj
;; by Konrad Hinsen
;; last updated March 28, 2009
;; Copyright (c) Konrad Hinsen, 2008. All rights reserved. The use
;; and distribution terms for this software are covered by the Eclipse
;; Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
;; which can be found in ... | 86637 | ;; Test routines for monads.clj
;; by <NAME>
;; last updated March 28, 2009
;; Copyright (c) <NAME>, 2008. All rights reserved. The use
;; and distribution terms for this software are covered by the Eclipse
;; Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
;; which can be found in the file epl-v... | true | ;; Test routines for monads.clj
;; by PI:NAME:<NAME>END_PI
;; last updated March 28, 2009
;; Copyright (c) PI:NAME:<NAME>END_PI, 2008. All rights reserved. The use
;; and distribution terms for this software are covered by the Eclipse
;; Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
;; which ca... |
[
{
"context": " (utils/get-main-parent))\n\n\n(def window-list-key \"flyer_WindowReferences\")\n\n\n(defn init-window-refs \n \"Initializes our wi",
"end": 312,
"score": 0.9730815887451172,
"start": 290,
"tag": "KEY",
"value": "flyer_WindowReferences"
}
] | src-cljs/flyer/storage.cljs | benzap/flyer.js | 35 | (ns flyer.storage
"includes functions for storing window information. This window
information is stored in the parent window under the
`window-list-key`."
(:require [flyer.utils :as utils]))
(declare get-window-refs)
(def storage (utils/get-main-parent))
(def window-list-key "flyer_WindowReferences")
(de... | 49577 | (ns flyer.storage
"includes functions for storing window information. This window
information is stored in the parent window under the
`window-list-key`."
(:require [flyer.utils :as utils]))
(declare get-window-refs)
(def storage (utils/get-main-parent))
(def window-list-key "<KEY>")
(defn init-window-re... | true | (ns flyer.storage
"includes functions for storing window information. This window
information is stored in the parent window under the
`window-list-key`."
(:require [flyer.utils :as utils]))
(declare get-window-refs)
(def storage (utils/get-main-parent))
(def window-list-key "PI:KEY:<KEY>END_PI")
(defn i... |
[
{
"context": "value\":\"nil\"}\n;; <=\n\n;; @@\n(def bob {:first-name \"Bob\" :last-name \"Smith\" :age 44 :children [{:age 10, ",
"end": 422,
"score": 0.9998229146003723,
"start": 419,
"tag": "NAME",
"value": "Bob"
},
{
"context": "<=\n\n;; @@\n(def bob {:first-name \"Bob\" :last-na... | ws/d08_maps2.clj | justone/cljplay | 1 | ;; gorilla-repl.fileformat = 1
;; **
;;; # Maps 2
;;;
;;; More on maps, focusing on nested maps.
;; **
;; @@
(ns d08-maps2
(:require [cljplay.core :refer [show-examples]]
[clojure.pprint :refer [pprint] :rename {pprint pp}]
[clojure.string :refer [upper-case]]))
;; @@
;; =>
;;; {"type":"htm... | 534 | ;; gorilla-repl.fileformat = 1
;; **
;;; # Maps 2
;;;
;;; More on maps, focusing on nested maps.
;; **
;; @@
(ns d08-maps2
(:require [cljplay.core :refer [show-examples]]
[clojure.pprint :refer [pprint] :rename {pprint pp}]
[clojure.string :refer [upper-case]]))
;; @@
;; =>
;;; {"type":"htm... | true | ;; gorilla-repl.fileformat = 1
;; **
;;; # Maps 2
;;;
;;; More on maps, focusing on nested maps.
;; **
;; @@
(ns d08-maps2
(:require [cljplay.core :refer [show-examples]]
[clojure.pprint :refer [pprint] :rename {pprint pp}]
[clojure.string :refer [upper-case]]))
;; @@
;; =>
;;; {"type":"htm... |
[
{
"context": "s\n; Date: February 11, 2016.\n; Authors:\n; A01371743 Luis E. Ballinas Aguilar\n;-----------------------",
"end": 153,
"score": 0.9916777014732361,
"start": 144,
"tag": "USERNAME",
"value": "A01371743"
},
{
"context": "February 11, 2016.\n; Authors:\n; ... | higherorder.clj | lu15v/TC2006 | 0 | ;----------------------------------------------------------
; Activity: Higher-Order Functions
; Date: February 11, 2016.
; Authors:
; A01371743 Luis E. Ballinas Aguilar
;----------------------------------------------------------
(use 'clojure.test)
(defn my-map-indexed
" It returns a list consisting of ... | 99239 | ;----------------------------------------------------------
; Activity: Higher-Order Functions
; Date: February 11, 2016.
; Authors:
; A01371743 <NAME>
;----------------------------------------------------------
(use 'clojure.test)
(defn my-map-indexed
" It returns a list consisting of the result of appl... | true | ;----------------------------------------------------------
; Activity: Higher-Order Functions
; Date: February 11, 2016.
; Authors:
; A01371743 PI:NAME:<NAME>END_PI
;----------------------------------------------------------
(use 'clojure.test)
(defn my-map-indexed
" It returns a list consisting of the ... |
[
{
"context": "t test-update-delete-data\n (is (= [{:first_name \"Andre\"\n :height 180\n :id ",
"end": 328,
"score": 0.9996678233146667,
"start": 323,
"tag": "NAME",
"value": "Andre"
},
{
"context": "\n :id 1\n :surname \"... | chapter13/exercise13.7/test/packt_clj/exercises/test_update_delete_data.clj | TrainingByPackt/Clojure | 0 | (ns packt-clj.exercises.test-update-delete-data
(:require
[clojure.test :refer :all]
[packt-clj.exercises.fixtures :as fixtures :refer [*db*]]
[packt-clj.exercises.update-delete-data :as update-delete-data]))
(use-fixtures :once fixtures/db-fixture)
(deftest test-update-delete-data
(is (= [{:first_nam... | 122388 | (ns packt-clj.exercises.test-update-delete-data
(:require
[clojure.test :refer :all]
[packt-clj.exercises.fixtures :as fixtures :refer [*db*]]
[packt-clj.exercises.update-delete-data :as update-delete-data]))
(use-fixtures :once fixtures/db-fixture)
(deftest test-update-delete-data
(is (= [{:first_nam... | true | (ns packt-clj.exercises.test-update-delete-data
(:require
[clojure.test :refer :all]
[packt-clj.exercises.fixtures :as fixtures :refer [*db*]]
[packt-clj.exercises.update-delete-data :as update-delete-data]))
(use-fixtures :once fixtures/db-fixture)
(deftest test-update-delete-data
(is (= [{:first_nam... |
[
{
"context": "(comment \n re-core, Copyright 2012 Ronen Narkis, narkisr.com\n Licensed under the Apache License",
"end": 49,
"score": 0.9998814463615417,
"start": 37,
"tag": "NAME",
"value": "Ronen Narkis"
},
{
"context": "(comment \n re-core, Copyright 2012 Ronen Narkis, narki... | src/re_core/core.clj | celestial-ops/core | 1 | (comment
re-core, Copyright 2012 Ronen Narkis, narkisr.com
Licensed under the Apache License,
Version 2.0 (the "License") you may not use this file except in compliance with the License.
You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law... | 55819 | (comment
re-core, Copyright 2012 <NAME>, <EMAIL>
Licensed under the Apache License,
Version 2.0 (the "License") you may not use this file except in compliance with the License.
You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed... | true | (comment
re-core, Copyright 2012 PI:NAME:<NAME>END_PI, PI:EMAIL:<EMAIL>END_PI
Licensed under the Apache License,
Version 2.0 (the "License") you may not use this file except in compliance with the License.
You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless require... |
[
{
"context": "ge, London, All rights reserved.\n;\n; Contributors: Jony Hudson\n;\n; Released under the MIT license..\n;\n\n(ns algeb",
"end": 137,
"score": 0.9997768998146057,
"start": 126,
"tag": "NAME",
"value": "Jony Hudson"
}
] | src/algebolic/expression/render.clj | AlgorithmicScience/algebolic | 19 | ;
; This file is part of algebolic.
;
; Copyright (C) 2014-, Imperial College, London, All rights reserved.
;
; Contributors: Jony Hudson
;
; Released under the MIT license..
;
(ns algebolic.expression.render
"Gorilla REPL rendering support for algebolic expressions."
(:require [algebolic.expression.core :as expre... | 22382 | ;
; This file is part of algebolic.
;
; Copyright (C) 2014-, Imperial College, London, All rights reserved.
;
; Contributors: <NAME>
;
; Released under the MIT license..
;
(ns algebolic.expression.render
"Gorilla REPL rendering support for algebolic expressions."
(:require [algebolic.expression.core :as expression... | true | ;
; This file is part of algebolic.
;
; Copyright (C) 2014-, Imperial College, London, All rights reserved.
;
; Contributors: PI:NAME:<NAME>END_PI
;
; Released under the MIT license..
;
(ns algebolic.expression.render
"Gorilla REPL rendering support for algebolic expressions."
(:require [algebolic.expression.core ... |
[
{
"context": "\n (:import (java.util.concurrent Executors)))\n\n;;N. King 5/3/2017\n;;Timing study on mergesort using concur",
"end": 150,
"score": 0.9990053176879883,
"start": 143,
"tag": "NAME",
"value": "N. King"
},
{
"context": "erge sort algorithm from: https://gist.github.com/... | algorithms/sorting/mergesort.clj | CiganOliviu/clojure | 13 | (ns project2.core
(:require [clojure.string :as str])
(:require [clojure.java.io :as io])
(:import (java.util.concurrent Executors)))
;;N. King 5/3/2017
;;Timing study on mergesort using concurrency
;;added comments to show conceptual understanding
(defn get-nums [file] ;;defines function "get-nums" which ta... | 60059 | (ns project2.core
(:require [clojure.string :as str])
(:require [clojure.java.io :as io])
(:import (java.util.concurrent Executors)))
;;<NAME> 5/3/2017
;;Timing study on mergesort using concurrency
;;added comments to show conceptual understanding
(defn get-nums [file] ;;defines function "get-nums" which tak... | true | (ns project2.core
(:require [clojure.string :as str])
(:require [clojure.java.io :as io])
(:import (java.util.concurrent Executors)))
;;PI:NAME:<NAME>END_PI 5/3/2017
;;Timing study on mergesort using concurrency
;;added comments to show conceptual understanding
(defn get-nums [file] ;;defines function "get-n... |
[
{
"context": "(ns template.config)\n\n(def firebase \n {:apiKey \"AIzaSyAaqFTPXPZmEGXKhpnRdVgAfqQX5q-7I00\"\n :authDomain \"jurko-fire.firebase",
"end": 88,
"score": 0.9997536540031433,
"start": 49,
"tag": "KEY",
"value": "AIzaSyAaqFTPXPZmEGXKhpnRdVgAfqQX5q-7I00"
}
] | src/template/config.cljs | jurkotroll/good-template | 0 | (ns template.config)
(def firebase
{:apiKey "AIzaSyAaqFTPXPZmEGXKhpnRdVgAfqQX5q-7I00"
:authDomain "jurko-fire.firebaseapp.com"
:databaseURL "https://jurko-fire.firebaseio.com"
:projectId "jurko-fire"
:storageBucket "jurko-fire.appspot.com"
... | 92919 | (ns template.config)
(def firebase
{:apiKey "<KEY>"
:authDomain "jurko-fire.firebaseapp.com"
:databaseURL "https://jurko-fire.firebaseio.com"
:projectId "jurko-fire"
:storageBucket "jurko-fire.appspot.com"
:messagingSenderId "2646150858... | true | (ns template.config)
(def firebase
{:apiKey "PI:KEY:<KEY>END_PI"
:authDomain "jurko-fire.firebaseapp.com"
:databaseURL "https://jurko-fire.firebaseio.com"
:projectId "jurko-fire"
:storageBucket "jurko-fire.appspot.com"
:messagingSenderI... |
[
{
"context": ";; Copyright © 2015-2020 Esko Luontola\n;; This software is released under the Apache Lic",
"end": 38,
"score": 0.9998846054077148,
"start": 25,
"tag": "NAME",
"value": "Esko Luontola"
}
] | src/territory_bro/infra/poller.clj | orfjackal/territory-bro | 2 | ;; Copyright © 2015-2020 Esko Luontola
;; This software is released under the Apache License 2.0.
;; The license text is at http://www.apache.org/licenses/LICENSE-2.0
(ns territory-bro.infra.poller
(:refer-clojure :exclude [await])
(:require [territory-bro.infra.executors :as executors])
(:import (com.google.com... | 10191 | ;; Copyright © 2015-2020 <NAME>
;; This software is released under the Apache License 2.0.
;; The license text is at http://www.apache.org/licenses/LICENSE-2.0
(ns territory-bro.infra.poller
(:refer-clojure :exclude [await])
(:require [territory-bro.infra.executors :as executors])
(:import (com.google.common.uti... | true | ;; Copyright © 2015-2020 PI:NAME:<NAME>END_PI
;; This software is released under the Apache License 2.0.
;; The license text is at http://www.apache.org/licenses/LICENSE-2.0
(ns territory-bro.infra.poller
(:refer-clojure :exclude [await])
(:require [territory-bro.infra.executors :as executors])
(:import (com.goo... |
[
{
"context": ";\n; Copyright © 2020 Peter Monks\n;\n; Licensed under the Apache License, Version 2.",
"end": 32,
"score": 0.9996184706687927,
"start": 21,
"tag": "NAME",
"value": "Peter Monks"
}
] | src/futbot/source/dutch_referee_blog.clj | pmonks/futbot | 3 | ;
; Copyright © 2020 Peter Monks
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writi... | 63528 | ;
; Copyright © 2020 <NAME>
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writing, s... | true | ;
; Copyright © 2020 PI:NAME:<NAME>END_PI
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to... |
[
{
"context": " :updated \"Candidato atualizado\"\n :fullname \"Nome completo\"\n :email \"E-mail\"\n :twitter \"Twitter\"\n :",
"end": 982,
"score": 0.940992534160614,
"start": 969,
"tag": "NAME",
"value": "Nome completo"
}
] | resources/pt_BR.clj | agile-alliance-brazil/election | 1 | {
:elections
{
:not-found "Eleição com ID %d não foi encontrada."
:new-voters-registered "%d novo(s) eleitor(es) inscrito(s)."
:some-voters-registered "%d novo(s) eleitor(es) inscrito(s) (existentes: %d, inválidos: %d)"
:voter-registration-failed "Inscrição de eleitores falhou"
:create "Criar el... | 42622 | {
:elections
{
:not-found "Eleição com ID %d não foi encontrada."
:new-voters-registered "%d novo(s) eleitor(es) inscrito(s)."
:some-voters-registered "%d novo(s) eleitor(es) inscrito(s) (existentes: %d, inválidos: %d)"
:voter-registration-failed "Inscrição de eleitores falhou"
:create "Criar el... | true | {
:elections
{
:not-found "Eleição com ID %d não foi encontrada."
:new-voters-registered "%d novo(s) eleitor(es) inscrito(s)."
:some-voters-registered "%d novo(s) eleitor(es) inscrito(s) (existentes: %d, inválidos: %d)"
:voter-registration-failed "Inscrição de eleitores falhou"
:create "Criar el... |
[
{
"context": ";; Copyright 2016 Timothy Brooks\n;;\n;; Licensed under the Apache License, Version ",
"end": 32,
"score": 0.9998577237129211,
"start": 18,
"tag": "NAME",
"value": "Timothy Brooks"
}
] | src/beehive/back_pressure.clj | tbrooks8/fault | 2 | ;; Copyright 2016 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... | 21708 | ;; Copyright 2016 <NAME>
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writing, ... | true | ;; Copyright 2016 PI:NAME:<NAME>END_PI
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed t... |
[
{
"context": "rred to DARPA’s Public Release Center via email at prc@darpa.mil.\n\n(ns mbroker.util\n (:require [mbroker.rabbitmq ",
"end": 172,
"score": 0.9999170899391174,
"start": 159,
"tag": "EMAIL",
"value": "prc@darpa.mil"
},
{
"context": " ex-info (@state exch)\n ... | src/mbroker/util.clj | paulratdollabs/drl007 | 0 | ;; DISTRIBUTION STATEMENT C: U.S. Government agencies and their contractors.
;; Other requests shall be referred to DARPA’s Public Release Center via email at prc@darpa.mil.
(ns mbroker.util
(:require [mbroker.rabbitmq :as q]
[tpn.fromjson]
[langohr.basic :as lb]
[clojure.pprint :... | 17693 | ;; DISTRIBUTION STATEMENT C: U.S. Government agencies and their contractors.
;; Other requests shall be referred to DARPA’s Public Release Center via email at <EMAIL>.
(ns mbroker.util
(:require [mbroker.rabbitmq :as q]
[tpn.fromjson]
[langohr.basic :as lb]
[clojure.pprint :refer ... | true | ;; DISTRIBUTION STATEMENT C: U.S. Government agencies and their contractors.
;; Other requests shall be referred to DARPA’s Public Release Center via email at PI:EMAIL:<EMAIL>END_PI.
(ns mbroker.util
(:require [mbroker.rabbitmq :as q]
[tpn.fromjson]
[langohr.basic :as lb]
[clojure... |
[
{
"context": "tps://github.com/fnzc/jwt-verify-jwks\"\n :author \"Jeremy Farnault\"\n :license {:name \"MIT License\"\n :url",
"end": 163,
"score": 0.9998863339424133,
"start": 148,
"tag": "NAME",
"value": "Jeremy Farnault"
},
{
"context": "\n :target-path \"target/%s\"... | project.clj | fnzc/jwt-verify-jwks | 3 | (defproject jwt-verify-jwks "1.0.3"
:description "Validate a JWT based on a JWKS url"
:url "https://github.com/fnzc/jwt-verify-jwks"
:author "Jeremy Farnault"
:license {:name "MIT License"
:url "https://github.com/fnzc/jwt-verify-jwks/blob/master/LICENSE"}
:dependencies [[org.clojure/clojure "1.1... | 84932 | (defproject jwt-verify-jwks "1.0.3"
:description "Validate a JWT based on a JWKS url"
:url "https://github.com/fnzc/jwt-verify-jwks"
:author "<NAME>"
:license {:name "MIT License"
:url "https://github.com/fnzc/jwt-verify-jwks/blob/master/LICENSE"}
:dependencies [[org.clojure/clojure "1.10.1"]
... | true | (defproject jwt-verify-jwks "1.0.3"
:description "Validate a JWT based on a JWKS url"
:url "https://github.com/fnzc/jwt-verify-jwks"
:author "PI:NAME:<NAME>END_PI"
:license {:name "MIT License"
:url "https://github.com/fnzc/jwt-verify-jwks/blob/master/LICENSE"}
:dependencies [[org.clojure/clojure... |
[
{
"context": "sword. With handlers\"\n (let [request {:password \"password\" :username \"test@test.no\" :email \"test@test.no\"}\n",
"end": 750,
"score": 0.998656153678894,
"start": 742,
"tag": "PASSWORD",
"value": "password"
},
{
"context": "\n (let [request {:password \"password\... | groove-api/test/groove/handlers/user_test.clj | MrLys/vicissitudes | 1 | (ns groove.handlers.user-test
(:require [clojure.test :refer :all]
[groove.util.utils :refer [parseLong create-activation-token]]
[groove.util.validation :refer :all]
[groove.bulwark :as blwrk]
[groove.db-test-utils :refer :all]
[groove.handlers.user :as han... | 32799 | (ns groove.handlers.user-test
(:require [clojure.test :refer :all]
[groove.util.utils :refer [parseLong create-activation-token]]
[groove.util.validation :refer :all]
[groove.bulwark :as blwrk]
[groove.db-test-utils :refer :all]
[groove.handlers.user :as han... | true | (ns groove.handlers.user-test
(:require [clojure.test :refer :all]
[groove.util.utils :refer [parseLong create-activation-token]]
[groove.util.validation :refer :all]
[groove.bulwark :as blwrk]
[groove.db-test-utils :refer :all]
[groove.handlers.user :as han... |
[
{
"context": " tm\n :art art\n :name name}\n parent-id (insert! db-con :levels record",
"end": 12616,
"score": 0.9678080081939697,
"start": 12612,
"tag": "NAME",
"value": "name"
}
] | src/mincer/data.clj | elrippoblue/mincer | 0 | (ns mincer.data
(:gen-class)
(:require
[clojure.java.jdbc :as jdbc]
[clojure.java.jdbc :refer [with-db-connection]]
[clojure.string :refer [join upper-case]]
[clojure.tools.logging :as log]))
(def mincer-version "0.1.0-SNAPSHOT") ; updated with bumpversion
(defn setup-db [db-con]
; maybe use DDL ... | 36538 | (ns mincer.data
(:gen-class)
(:require
[clojure.java.jdbc :as jdbc]
[clojure.java.jdbc :refer [with-db-connection]]
[clojure.string :refer [join upper-case]]
[clojure.tools.logging :as log]))
(def mincer-version "0.1.0-SNAPSHOT") ; updated with bumpversion
(defn setup-db [db-con]
; maybe use DDL ... | true | (ns mincer.data
(:gen-class)
(:require
[clojure.java.jdbc :as jdbc]
[clojure.java.jdbc :refer [with-db-connection]]
[clojure.string :refer [join upper-case]]
[clojure.tools.logging :as log]))
(def mincer-version "0.1.0-SNAPSHOT") ; updated with bumpversion
(defn setup-db [db-con]
; maybe use DDL ... |
[
{
"context": "co/defresolver dat-files->api-calls [{:keys [::dat-files]}]\n {::api-calls (api-calls-from-dat-files ",
"end": 41620,
"score": 0.6142687201499939,
"start": 41620,
"tag": "KEY",
"value": ""
},
{
"context": "\n\n ())\n\n(comment\n\n (process {::har-path \"/Users/paulo.... | src/pitoco/core.clj | ikitommi/pitoco | 0 | (ns pitoco.core
(:require
[babashka.process :as sh]
[cheshire.core :as json]
[clojure.edn :as edn]
[clojure.java.io :as io]
[clojure.string :as str]
[clojure.test.check.generators :as gen]
[clojure.walk :as walk]
[lambdaisland.deep-diff2 :as ddiff]
[lambdaisland.uri :as uri]
[malli.core ... | 58264 | (ns pitoco.core
(:require
[babashka.process :as sh]
[cheshire.core :as json]
[clojure.edn :as edn]
[clojure.java.io :as io]
[clojure.string :as str]
[clojure.test.check.generators :as gen]
[clojure.walk :as walk]
[lambdaisland.deep-diff2 :as ddiff]
[lambdaisland.uri :as uri]
[malli.core ... | true | (ns pitoco.core
(:require
[babashka.process :as sh]
[cheshire.core :as json]
[clojure.edn :as edn]
[clojure.java.io :as io]
[clojure.string :as str]
[clojure.test.check.generators :as gen]
[clojure.walk :as walk]
[lambdaisland.deep-diff2 :as ddiff]
[lambdaisland.uri :as uri]
[malli.core ... |
[
{
"context": "c person :type))\n\n(let [data {:type :local :name \"chen\" :address \"Shanghai\"}]\n (if (s/valid? ::example ",
"end": 438,
"score": 0.982495129108429,
"start": 434,
"tag": "NAME",
"value": "chen"
},
{
"context": "mple data))))\n\n(let [data {:type :stranger :name \"c... | 11-multi-spec.cljs | jiyinyiyong/spec-examples | 1 |
(ns example.core
(:require [cljs.spec.alpha :as s]
[expound.alpha :refer [expound]]))
(s/def ::type #{:local :stranger})
(s/def ::name string?)
(s/def ::address string?)
(defmulti person :type)
(defmethod person :local [_]
(s/keys :req-un [::type ::name ::address]))
(defmethod person :stranger [_]
... | 79669 |
(ns example.core
(:require [cljs.spec.alpha :as s]
[expound.alpha :refer [expound]]))
(s/def ::type #{:local :stranger})
(s/def ::name string?)
(s/def ::address string?)
(defmulti person :type)
(defmethod person :local [_]
(s/keys :req-un [::type ::name ::address]))
(defmethod person :stranger [_]
... | true |
(ns example.core
(:require [cljs.spec.alpha :as s]
[expound.alpha :refer [expound]]))
(s/def ::type #{:local :stranger})
(s/def ::name string?)
(s/def ::address string?)
(defmulti person :type)
(defmethod person :local [_]
(s/keys :req-un [::type ::name ::address]))
(defmethod person :stranger [_]
... |
[
{
"context": "(-> (test-db)\n (assoc :username 1234 :password 1234)\n (subject/poole",
"end": 503,
"score": 0.7799783945083618,
"start": 499,
"tag": "USERNAME",
"value": "1234"
},
{
"context": " (assoc :username 1234 :password 1234... | test/com/puppetlabs/test/jdbc.clj | atopian/puppetdb | 0 | (ns com.puppetlabs.test.jdbc
(:require [com.puppetlabs.jdbc :as subject]
[clojure.java.jdbc :as sql])
(:use [clojure.test]
[com.puppetlabs.puppetdb.testutils :only [test-db]]
[com.puppetlabs.testutils.db :only [antonym-data with-antonym-test-database]]))
(use-fixtures :each with-antony... | 105208 | (ns com.puppetlabs.test.jdbc
(:require [com.puppetlabs.jdbc :as subject]
[clojure.java.jdbc :as sql])
(:use [clojure.test]
[com.puppetlabs.puppetdb.testutils :only [test-db]]
[com.puppetlabs.testutils.db :only [antonym-data with-antonym-test-database]]))
(use-fixtures :each with-antony... | true | (ns com.puppetlabs.test.jdbc
(:require [com.puppetlabs.jdbc :as subject]
[clojure.java.jdbc :as sql])
(:use [clojure.test]
[com.puppetlabs.puppetdb.testutils :only [test-db]]
[com.puppetlabs.testutils.db :only [antonym-data with-antonym-test-database]]))
(use-fixtures :each with-antony... |
[
{
"context": ";; Copyright (c) Nicola Mometto, Rich Hickey & contributors.\n;; The use and dis",
"end": 33,
"score": 0.9998518824577332,
"start": 19,
"tag": "NAME",
"value": "Nicola Mometto"
},
{
"context": ";; Copyright (c) Nicola Mometto, Rich Hickey & contributors.\n;; The... | server/target/clojure/tools/analyzer/passes/cleanup.clj | OctavioBR/healthcheck | 15 | ;; Copyright (c) Nicola Mometto, Rich Hickey & contributors.
;; The use and distribution terms for this software are covered by the
;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
;; which can be found in the file epl-v10.html at the root of this distribution.
;; By using this s... | 14256 | ;; 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": ";; Copyright 2014-2020 King\n;; Copyright 2009-2014 Ragnar Svensson, Christian Murray\n;; Licensed under the Defold Li",
"end": 111,
"score": 0.9998190999031067,
"start": 96,
"tag": "NAME",
"value": "Ragnar Svensson"
},
{
"context": "-2020 King\n;; Copyright 2009-2014 R... | editor/test/editor/gviz_test.clj | cmarincia/defold | 0 | ;; Copyright 2020-2022 The Defold Foundation
;; Copyright 2014-2020 King
;; Copyright 2009-2014 Ragnar Svensson, Christian Murray
;; Licensed under the Defold License version 1.0 (the "License"); you may not use
;; this file except in compliance with the License.
;;
;; You may obtain a copy of the License, together wi... | 27917 | ;; Copyright 2020-2022 The Defold Foundation
;; Copyright 2014-2020 King
;; Copyright 2009-2014 <NAME>, <NAME>
;; Licensed under the Defold License version 1.0 (the "License"); you may not use
;; this file except in compliance with the License.
;;
;; You may obtain a copy of the License, together with FAQs at
;; https... | true | ;; Copyright 2020-2022 The Defold Foundation
;; Copyright 2014-2020 King
;; Copyright 2009-2014 PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI
;; Licensed under the Defold License version 1.0 (the "License"); you may not use
;; this file except in compliance with the License.
;;
;; You may obtain a copy of the License, to... |
[
{
"context": ";; Copyright 2014-2020 King\n;; Copyright 2009-2014 Ragnar Svensson, Christian Murray\n;; Licensed under the Defold Li",
"end": 111,
"score": 0.9998037815093994,
"start": 96,
"tag": "NAME",
"value": "Ragnar Svensson"
},
{
"context": "-2020 King\n;; Copyright 2009-2014 R... | editor/src/clj/editor/code/util.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... | 71694 | ;; Copyright 2020-2022 The Defold Foundation
;; Copyright 2014-2020 King
;; Copyright 2009-2014 <NAME>, <NAME>
;; Licensed under the Defold License version 1.0 (the "License"); you may not use
;; this file except in compliance with the License.
;;
;; You may obtain a copy of the License, together with FAQs at
;; https... | true | ;; Copyright 2020-2022 The Defold Foundation
;; Copyright 2014-2020 King
;; Copyright 2009-2014 PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI
;; Licensed under the Defold License version 1.0 (the "License"); you may not use
;; this file except in compliance with the License.
;;
;; You may obtain a copy of the License, to... |
[
{
"context": ";\n; Copyright © 2021 Peter Monks\n;\n; Licensed under the Apache License, Version 2.",
"end": 32,
"score": 0.9996914267539978,
"start": 21,
"tag": "NAME",
"value": "Peter Monks"
}
] | src/lice_comb/utils.clj | pmonks/lice-comb | 3 | ;
; Copyright © 2021 Peter Monks
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writi... | 123505 | ;
; Copyright © 2021 <NAME>
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writing, s... | true | ;
; Copyright © 2021 PI:NAME:<NAME>END_PI
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to... |
[
{
"context": "inally\n (unstrument)))))\n\n;; Copyright 2018 Frederic Merizen\n;;\n;; Licensed under the Apache License, Version ",
"end": 512,
"score": 0.9998747110366821,
"start": 496,
"tag": "NAME",
"value": "Frederic Merizen"
}
] | test/ferje/spec_test_utils.clj | chourave/clojyday | 0 | ;; Copyright and license information at end of file
(ns ferje.spec-test-utils
(:require
[clojure.spec.alpha :as s]
[expound.alpha :as expound]
[orchestra.spec.test :refer [instrument unstrument]]))
(defn instrument-fixture
"Fixture that runs tests, instrumenting specs with Orchestra,
and producing clea... | 54064 | ;; Copyright and license information at end of file
(ns ferje.spec-test-utils
(:require
[clojure.spec.alpha :as s]
[expound.alpha :as expound]
[orchestra.spec.test :refer [instrument unstrument]]))
(defn instrument-fixture
"Fixture that runs tests, instrumenting specs with Orchestra,
and producing clea... | true | ;; Copyright and license information at end of file
(ns ferje.spec-test-utils
(:require
[clojure.spec.alpha :as s]
[expound.alpha :as expound]
[orchestra.spec.test :refer [instrument unstrument]]))
(defn instrument-fixture
"Fixture that runs tests, instrumenting specs with Orchestra,
and producing clea... |
[
{
"context": ";; author: Mark W. Naylor\n;; file: day05.clj\n;; date: 2021-Jun-01\n(ns adv",
"end": 25,
"score": 0.9998754262924194,
"start": 11,
"tag": "NAME",
"value": "Mark W. Naylor"
},
{
"context": "----\n;; BSD 3-Clause License\n\n;; Copyright © 2021, Mark W. Naylor\n;; All r... | src/advent_2020/day05.clj | mark-naylor-1701/advent_2020 | 0 | ;; author: Mark W. Naylor
;; file: day05.clj
;; date: 2021-Jun-01
(ns advent-2020.day05
(:require [advent-2020.core :refer [input]]
[clojure.string :as string]
[clojure.set :refer [difference]]))
(def input-file "day05.txt")
(defn binary-code
"Converts the seat code to a binary string."
... | 32962 | ;; author: <NAME>
;; file: day05.clj
;; date: 2021-Jun-01
(ns advent-2020.day05
(:require [advent-2020.core :refer [input]]
[clojure.string :as string]
[clojure.set :refer [difference]]))
(def input-file "day05.txt")
(defn binary-code
"Converts the seat code to a binary string."
[seat-... | true | ;; author: PI:NAME:<NAME>END_PI
;; file: day05.clj
;; date: 2021-Jun-01
(ns advent-2020.day05
(:require [advent-2020.core :refer [input]]
[clojure.string :as string]
[clojure.set :refer [difference]]))
(def input-file "day05.txt")
(defn binary-code
"Converts the seat code to a binary str... |
[
{
"context": ";; Copyright 2014 (c) Diego Souza <dsouza@c0d3.xxx>\n;; Copyright 2014 (c) Alexandre",
"end": 33,
"score": 0.9998762011528015,
"start": 22,
"tag": "NAME",
"value": "Diego Souza"
},
{
"context": ";; Copyright 2014 (c) Diego Souza <dsouza@c0d3.xxx>\n;; Copyright 2014 (c) ... | src/blackbox/src/leela/blackbox/storage/cassandra.clj | locaweb/leela | 22 | ;; Copyright 2014 (c) Diego Souza <dsouza@c0d3.xxx>
;; Copyright 2014 (c) Alexandre Baaklini <abaaklini@gmail.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.apa... | 11301 | ;; Copyright 2014 (c) <NAME> <<EMAIL>>
;; Copyright 2014 (c) <NAME> <<EMAIL>>
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Un... | true | ;; Copyright 2014 (c) PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
;; Copyright 2014 (c) PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
... |
[
{
"context": "ile\n;;; Activity: Macros\n;;; Authors:\n;;; A01371743 Luis E. Ballinas Aguilar\n(ns macros)\n\n(defmacro m",
"end": 111,
"score": 0.9931868314743042,
"start": 102,
"tag": "USERNAME",
"value": "A01371743"
},
{
"context": "tivity: Macros\n;;; Authors:\n;;; ... | macros.clj | lu15v/TC2006 | 0 | ;;; ITESM CEM, April 14, 2016.
;;; Clojure Source File
;;; Activity: Macros
;;; Authors:
;;; A01371743 Luis E. Ballinas Aguilar
(ns macros)
(defmacro my-or
"Evaluates its expressions one at a time, from left to right.
If a form returns a logical true value, it returns that value
and doesn't evaluate any... | 34611 | ;;; ITESM CEM, April 14, 2016.
;;; Clojure Source File
;;; Activity: Macros
;;; Authors:
;;; A01371743 <NAME>
(ns macros)
(defmacro my-or
"Evaluates its expressions one at a time, from left to right.
If a form returns a logical true value, it returns that value
and doesn't evaluate any of the other expr... | true | ;;; ITESM CEM, April 14, 2016.
;;; Clojure Source File
;;; Activity: Macros
;;; Authors:
;;; A01371743 PI:NAME:<NAME>END_PI
(ns macros)
(defmacro my-or
"Evaluates its expressions one at a time, from left to right.
If a form returns a logical true value, it returns that value
and doesn't evaluate any of ... |
[
{
"context": "eate-spike \"obilnitrh\"\n \"Obilni trh\"\n 49.199569, 16.597069\n ",
"end": 2001,
"score": 0.5149679183959961,
"start": 2000,
"tag": "NAME",
"value": "h"
}
] | src/gss/db.clj | bbktsk/green-spike | 0 | (ns gss.db
(:require [monger.core :as mg]
[monger.collection :as mc]
[monger.operators :refer :all]
[slingshot.slingshot :refer [throw+ try+]]
[gss.m2x :as m2x]))
(defonce db (atom nil))
(defonce conn (atom nil))
(def spikes "spikes")
(defn connect
[uri]
(let [u... | 57246 | (ns gss.db
(:require [monger.core :as mg]
[monger.collection :as mc]
[monger.operators :refer :all]
[slingshot.slingshot :refer [throw+ try+]]
[gss.m2x :as m2x]))
(defonce db (atom nil))
(defonce conn (atom nil))
(def spikes "spikes")
(defn connect
[uri]
(let [u... | true | (ns gss.db
(:require [monger.core :as mg]
[monger.collection :as mc]
[monger.operators :refer :all]
[slingshot.slingshot :refer [throw+ try+]]
[gss.m2x :as m2x]))
(defonce db (atom nil))
(defonce conn (atom nil))
(def spikes "spikes")
(defn connect
[uri]
(let [u... |
[
{
"context": "is props]\n (dom/div\n (ui-person {:person/name \"Joe\" :person/age 22})))",
"end": 387,
"score": 0.999409556388855,
"start": 384,
"tag": "NAME",
"value": "Joe"
}
] | src/datomic/com/example/fulcro_comps_v1.cljc | justin-wallander/fulcro-rad-demo | 0 | (ns com.example.components.fulcro-comps-v1
(:require #?(:clj [com.fulcrologic.fulcro.dom-server :as dom]
:cljs [com.fulcrologic.fulcro.dom :as dom])))
(defsc Person [this {:person/keys [name age]}]
(dom/div
(dom/p "Name: " name)
(dom/p "Age: " age)))
(def ui-person (comp/factory Person))
(... | 11207 | (ns com.example.components.fulcro-comps-v1
(:require #?(:clj [com.fulcrologic.fulcro.dom-server :as dom]
:cljs [com.fulcrologic.fulcro.dom :as dom])))
(defsc Person [this {:person/keys [name age]}]
(dom/div
(dom/p "Name: " name)
(dom/p "Age: " age)))
(def ui-person (comp/factory Person))
(... | true | (ns com.example.components.fulcro-comps-v1
(:require #?(:clj [com.fulcrologic.fulcro.dom-server :as dom]
:cljs [com.fulcrologic.fulcro.dom :as dom])))
(defsc Person [this {:person/keys [name age]}]
(dom/div
(dom/p "Name: " name)
(dom/p "Age: " age)))
(def ui-person (comp/factory Person))
(... |
[
{
"context": ";; Authors: Sung Pae <self@sungpae.com>\n;; Joel Holdbrooks <c",
"end": 20,
"score": 0.9998849630355835,
"start": 12,
"tag": "NAME",
"value": "Sung Pae"
},
{
"context": ";; Authors: Sung Pae <self@sungpae.com>\n;; Joel Holdbrooks <cjholdbrooks@gmail.",... | clj/src/vim_clojure_static/generate.clj | lucascebertin/clojure.vim | 0 | ;; Authors: Sung Pae <self@sungpae.com>
;; Joel Holdbrooks <cjholdbrooks@gmail.com>
(ns vim-clojure-static.generate
(:require [clojure.java.io :as io]
[clojure.java.shell :refer [sh]]
[clojure.set :as set]
[clojure.string :as string]
[clojure.data.csv :as csv]... | 115588 | ;; Authors: <NAME> <<EMAIL>>
;; <NAME> <<EMAIL>>
(ns vim-clojure-static.generate
(:require [clojure.java.io :as io]
[clojure.java.shell :refer [sh]]
[clojure.set :as set]
[clojure.string :as string]
[clojure.data.csv :as csv]
[frak :as f])
(:impo... | true | ;; Authors: PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
;; PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
(ns vim-clojure-static.generate
(:require [clojure.java.io :as io]
[clojure.java.shell :refer [sh]]
[clojure.set :as set]
[clojure.string :as string]
[cl... |
[
{
"context": "\n :body (generate-string {:username username\n :password",
"end": 479,
"score": 0.9832232594490051,
"start": 471,
"tag": "USERNAME",
"value": "username"
},
{
"context": "\n :pa... | src/obelisk_log/api.clj | Akeboshiwind/obelisk-log | 0 | (ns obelisk-log.api
(:require [org.httpkit.client :as http]
[cheshire.core :refer [generate-string parse-string]]))
(defn make-address
[server-address endpoint]
(str server-address "/api" endpoint))
(defn login
[username password {:keys [server-address
basic-auth]}]
... | 25745 | (ns obelisk-log.api
(:require [org.httpkit.client :as http]
[cheshire.core :refer [generate-string parse-string]]))
(defn make-address
[server-address endpoint]
(str server-address "/api" endpoint))
(defn login
[username password {:keys [server-address
basic-auth]}]
... | true | (ns obelisk-log.api
(:require [org.httpkit.client :as http]
[cheshire.core :refer [generate-string parse-string]]))
(defn make-address
[server-address endpoint]
(str server-address "/api" endpoint))
(defn login
[username password {:keys [server-address
basic-auth]}]
... |
[
{
"context": "(member.name = ? and member.email = ?)\\nlimit 1\" \"test\" \"test@test.com\"]\n (q/sql-vec '[:select",
"end": 2196,
"score": 0.9990255832672119,
"start": 2192,
"tag": "USERNAME",
"value": "test"
},
{
"context": ".name = ? and member.email = ?)\\nlimit 1\" \"t... | test/coast/db/query_test.clj | Biserkov/coast | 0 | (ns coast.db.query-test
(:require [coast.db.query :as q]
[coast.db.schema]
[clojure.test :refer [deftest testing is]]))
(deftest vec->map
(testing "vec->map turns query vec into map"
(is (= '{:select [todo/name]}
(q/vec->map '[:select todo/name])))
(is (= '{:select [todo... | 88494 | (ns coast.db.query-test
(:require [coast.db.query :as q]
[coast.db.schema]
[clojure.test :refer [deftest testing is]]))
(deftest vec->map
(testing "vec->map turns query vec into map"
(is (= '{:select [todo/name]}
(q/vec->map '[:select todo/name])))
(is (= '{:select [todo... | true | (ns coast.db.query-test
(:require [coast.db.query :as q]
[coast.db.schema]
[clojure.test :refer [deftest testing is]]))
(deftest vec->map
(testing "vec->map turns query vec into map"
(is (= '{:select [todo/name]}
(q/vec->map '[:select todo/name])))
(is (= '{:select [todo... |
[
{
"context": "target-username\" [target-username :as {{username :username} :identity}]\n (store/delete target-usern",
"end": 665,
"score": 0.9923595786094666,
"start": 657,
"tag": "USERNAME",
"value": "username"
},
{
"context": "routes user-api-routes\n (GET \"/data\" {{use... | src/comrade_examples/handler.clj | gandalfhz/comrade-examples | 0 | (ns comrade-examples.handler
(:require [compojure.core :refer [defroutes routes context GET POST PUT DELETE HEAD]]
[compojure.route :as route]
[ring.util.response :as ring-response]
[ring.middleware.defaults :as ring-defaults]
[comrade.app :as comrade-app]
[... | 90390 | (ns comrade-examples.handler
(:require [compojure.core :refer [defroutes routes context GET POST PUT DELETE HEAD]]
[compojure.route :as route]
[ring.util.response :as ring-response]
[ring.middleware.defaults :as ring-defaults]
[comrade.app :as comrade-app]
[... | true | (ns comrade-examples.handler
(:require [compojure.core :refer [defroutes routes context GET POST PUT DELETE HEAD]]
[compojure.route :as route]
[ring.util.response :as ring-response]
[ring.middleware.defaults :as ring-defaults]
[comrade.app :as comrade-app]
[... |
[
{
"context": "; Copyright 2018-2021 Rahul De\n;\n; Use of this source code is governed by an MIT",
"end": 30,
"score": 0.9998617172241211,
"start": 22,
"tag": "NAME",
"value": "Rahul De"
}
] | entities/src/entities/pipeline.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.pipeline
(:require [failjure.core :as f]
[taoensso.timbre :as log]
[xtdb.api :as xt]
[co... | 16994 | ; 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.pipeline
(:require [failjure.core :as f]
[taoensso.timbre :as log]
[xtdb.api :as xt]
[comm... | 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.pipeline
(:require [failjure.core :as f]
[taoensso.timbre :as log]
[xtdb.api :as xt]
... |
[
{
"context": "rest.users \"The Foursquare Users API\"\n {:author \"William Lee (birryree)\"}\n (:require [mochify.hiroba.rest :as",
"end": 80,
"score": 0.9998876452445984,
"start": 69,
"tag": "NAME",
"value": "William Lee"
},
{
"context": "he Foursquare Users API\"\n {:author \"Wi... | src/mochify/hiroba/rest/users.clj | mochify/hiroba | 0 | (ns mochify.hiroba.rest.users "The Foursquare Users API"
{:author "William Lee (birryree)"}
(:require [mochify.hiroba.rest :as rest]))
(defn user
"Returns information for a user.
Required Parameters:
* oauth-token (string) - An OAuth2 token for an authenticated user.
Optional Parameters:
* user (... | 34181 | (ns mochify.hiroba.rest.users "The Foursquare Users API"
{:author "<NAME> (birryree)"}
(:require [mochify.hiroba.rest :as rest]))
(defn user
"Returns information for a user.
Required Parameters:
* oauth-token (string) - An OAuth2 token for an authenticated user.
Optional Parameters:
* user (strin... | true | (ns mochify.hiroba.rest.users "The Foursquare Users API"
{:author "PI:NAME:<NAME>END_PI (birryree)"}
(:require [mochify.hiroba.rest :as rest]))
(defn user
"Returns information for a user.
Required Parameters:
* oauth-token (string) - An OAuth2 token for an authenticated user.
Optional Parameters:
... |
[
{
"context": "(-> {:connection-uri jdbc-url :user user :password password}\n (jdbc/execute! [statement]))))\n\n(defn- g",
"end": 7799,
"score": 0.9967088103294373,
"start": 7791,
"tag": "PASSWORD",
"value": "password"
}
] | tools/scalar-schema/src/scalar_schema/jdbc.clj | y-taka-23/scalardb | 0 | (ns scalar-schema.jdbc
(:require [clojure.tools.logging :as log]
[clojure.string :as string]
[scalar-schema.common :as common]
[scalar-schema.protocols :as proto]
[clojure.java.jdbc :as jdbc])
(:import (java.sql SQLException)))
(def ^:private data-type-mapping
{:my... | 100608 | (ns scalar-schema.jdbc
(:require [clojure.tools.logging :as log]
[clojure.string :as string]
[scalar-schema.common :as common]
[scalar-schema.protocols :as proto]
[clojure.java.jdbc :as jdbc])
(:import (java.sql SQLException)))
(def ^:private data-type-mapping
{:my... | true | (ns scalar-schema.jdbc
(:require [clojure.tools.logging :as log]
[clojure.string :as string]
[scalar-schema.common :as common]
[scalar-schema.protocols :as proto]
[clojure.java.jdbc :as jdbc])
(:import (java.sql SQLException)))
(def ^:private data-type-mapping
{:my... |
[
{
"context": "(is (= {:form/fields {0 {:field/options {0 {:key :t.form.validation/required}}}}}\n (validat",
"end": 12131,
"score": 0.8008944988250732,
"start": 12124,
"tag": "KEY",
"value": "t.form."
},
{
"context": " {:key \... | src/cljc/rems/common/form.cljc | juholehtonen/rems | 0 | (ns rems.common.form
"Common form utilities shared between UI and API.
Includes functions for both forms and form templates."
(:require [clojure.string :as str]
[clojure.test :refer [deftest is testing]]
[medley.core :refer [find-first]]
[rems.common.util :refer [getx-in p... | 69096 | (ns rems.common.form
"Common form utilities shared between UI and API.
Includes functions for both forms and form templates."
(:require [clojure.string :as str]
[clojure.test :refer [deftest is testing]]
[medley.core :refer [find-first]]
[rems.common.util :refer [getx-in p... | true | (ns rems.common.form
"Common form utilities shared between UI and API.
Includes functions for both forms and form templates."
(:require [clojure.string :as str]
[clojure.test :refer [deftest is testing]]
[medley.core :refer [find-first]]
[rems.common.util :refer [getx-in p... |
[
{
"context": ";;\n;;\n;; Copyright 2014-2015 Netflix, Inc.\n;;\n;; Licensed under the Apache License",
"end": 37,
"score": 0.7334020137786865,
"start": 30,
"tag": "NAME",
"value": "Netflix"
}
] | pigpen-parquet/src/main/clojure/pigpen/local/parquet.clj | ombagus/Netflix | 327 | ;;
;;
;; Copyright 2014-2015 Netflix, Inc.
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required ... | 106011 | ;;
;;
;; Copyright 2014-2015 <NAME>, Inc.
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required b... | true | ;;
;;
;; Copyright 2014-2015 PI:NAME:<NAME>END_PI, Inc.
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unl... |
[
{
"context": ";; Copyright (c) 2015-2018 Andrey Antukh <niwi@niwi.nz>\n;; All rights reserved.\n;;\n;; Redi",
"end": 40,
"score": 0.999883770942688,
"start": 27,
"tag": "NAME",
"value": "Andrey Antukh"
},
{
"context": ";; Copyright (c) 2015-2018 Andrey Antukh <niwi@niwi.nz>\n;; All r... | src/octet/spec/reference.cljc | allumbra/octet | 0 | ;; Copyright (c) 2015-2018 Andrey Antukh <niwi@niwi.nz>
;; All rights reserved.
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions are met:
;;
;; * Redistributions of source code must retain the above copyright notice, this
;; ... | 31851 | ;; Copyright (c) 2015-2018 <NAME> <<EMAIL>>
;; All rights reserved.
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions are met:
;;
;; * Redistributions of source code must retain the above copyright notice, this
;; list of con... | true | ;; Copyright (c) 2015-2018 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
;; All rights reserved.
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions are met:
;;
;; * Redistributions of source code must retain the above copyright ... |
[
{
"context": ";; Original author Hirokuni Kim\n;; Modifications by Kevin Kredit\n;; Licensed unde",
"end": 31,
"score": 0.999680757522583,
"start": 19,
"tag": "NAME",
"value": "Hirokuni Kim"
},
{
"context": "; Original author Hirokuni Kim\n;; Modifications by Kevin Kredit\n;; License... | clojure/p21-recur/src/p21_recur/core.clj | kkredit/pl-study | 0 | ;; Original author Hirokuni Kim
;; Modifications by Kevin Kredit
;; Licensed under https://www.apache.org/licenses/LICENSE-2.0
;; See https://kimh.github.io/clojure-by-example/#recur
(ns p21-recur.core)
(defn fibo-recursive [n]
(if (or (= n 0) (= n 1))
n
(+ (fibo-recursive (- n 1)) (fibo-recursive (- n 2)))... | 111114 | ;; Original author <NAME>
;; Modifications by <NAME>
;; Licensed under https://www.apache.org/licenses/LICENSE-2.0
;; See https://kimh.github.io/clojure-by-example/#recur
(ns p21-recur.core)
(defn fibo-recursive [n]
(if (or (= n 0) (= n 1))
n
(+ (fibo-recursive (- n 1)) (fibo-recursive (- n 2)))))
(defn fi... | true | ;; Original author PI:NAME:<NAME>END_PI
;; Modifications by PI:NAME:<NAME>END_PI
;; Licensed under https://www.apache.org/licenses/LICENSE-2.0
;; See https://kimh.github.io/clojure-by-example/#recur
(ns p21-recur.core)
(defn fibo-recursive [n]
(if (or (= n 0) (= n 1))
n
(+ (fibo-recursive (- n 1)) (fibo-rec... |
[
{
"context": "re)\n\n(deftest catalogue-api-test\n (let [api-key \"42\"\n user-id \"alice\"]\n (let [data (-> (req",
"end": 330,
"score": 0.9990160465240479,
"start": 328,
"tag": "KEY",
"value": "42"
},
{
"context": "ue-api-test\n (let [api-key \"42\"\n user-id \"a... | test/clj/rems/test/api/catalogue.clj | secureb2share/secureb2share-rems | 0 | (ns ^:integration rems.test.api.catalogue
(:require [clojure.string :as str]
[clojure.test :refer :all]
[rems.handler :refer [app]]
[rems.test.api :refer :all]
[ring.mock.request :refer :all]))
(use-fixtures
:once
api-fixture)
(deftest catalogue-api-test
(let [a... | 106093 | (ns ^:integration rems.test.api.catalogue
(:require [clojure.string :as str]
[clojure.test :refer :all]
[rems.handler :refer [app]]
[rems.test.api :refer :all]
[ring.mock.request :refer :all]))
(use-fixtures
:once
api-fixture)
(deftest catalogue-api-test
(let [a... | true | (ns ^:integration rems.test.api.catalogue
(:require [clojure.string :as str]
[clojure.test :refer :all]
[rems.handler :refer [app]]
[rems.test.api :refer :all]
[ring.mock.request :refer :all]))
(use-fixtures
:once
api-fixture)
(deftest catalogue-api-test
(let [a... |
[
{
"context": ";; Copyright 2014 Pellucid Analytics\n;;\n;; Licensed under the Apache License, Versio",
"end": 38,
"score": 0.9990689158439636,
"start": 20,
"tag": "NAME",
"value": "Pellucid Analytics"
}
] | src/datomic_list/core.clj | dwhjames/datomic-linklist | 15 | ;; Copyright 2014 Pellucid Analytics
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable l... | 60465 | ;; 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... | 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... |
[
{
"context": "\n(def config\n {:gin.ioc/http {:jetty-spec {:host \"127.0.0.1\"\n :port 8080}\n ",
"end": 1330,
"score": 0.9996941089630127,
"start": 1321,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": " :gin.ioc/hdfs {:hadoop-spec {:namen... | dev/user.clj | kornev/kornev-gin-app | 0 | (ns user
(:require [clojure.string :as str]
[clojure.edn :as edn]
[integrant.core :as ig]
[integrant.repl :as stage]
[farseer.client :as client]
[next.jdbc :as jdbc]
[next.jdbc.result-set :as result-set]
[honey.sql :as sql]
... | 91866 | (ns user
(:require [clojure.string :as str]
[clojure.edn :as edn]
[integrant.core :as ig]
[integrant.repl :as stage]
[farseer.client :as client]
[next.jdbc :as jdbc]
[next.jdbc.result-set :as result-set]
[honey.sql :as sql]
... | true | (ns user
(:require [clojure.string :as str]
[clojure.edn :as edn]
[integrant.core :as ig]
[integrant.repl :as stage]
[farseer.client :as client]
[next.jdbc :as jdbc]
[next.jdbc.result-set :as result-set]
[honey.sql :as sql]
... |
[
{
"context": "x that represents literal values.\"\n :author \"Sean Dawson\"}\n nanoweave.ast.literals\n (:require [schema.cor",
"end": 78,
"score": 0.999858021736145,
"start": 67,
"tag": "NAME",
"value": "Sean Dawson"
}
] | src/nanoweave/ast/literals.clj | NoxHarmonium/nanoweave | 0 | (ns ^{:doc "Syntax that represents literal values."
:author "Sean Dawson"}
nanoweave.ast.literals
(:require [schema.core :as s]
[nanoweave.ast.base :refer [Resolvable]]))
(s/defrecord IdentiferLit [value :- s/Str])
(s/defrecord StringLit [value :- s/Str])
(s/defrecord FloatLit [value :- s/Num])
(s... | 18502 | (ns ^{:doc "Syntax that represents literal values."
:author "<NAME>"}
nanoweave.ast.literals
(:require [schema.core :as s]
[nanoweave.ast.base :refer [Resolvable]]))
(s/defrecord IdentiferLit [value :- s/Str])
(s/defrecord StringLit [value :- s/Str])
(s/defrecord FloatLit [value :- s/Num])
(s/defr... | true | (ns ^{:doc "Syntax that represents literal values."
:author "PI:NAME:<NAME>END_PI"}
nanoweave.ast.literals
(:require [schema.core :as s]
[nanoweave.ast.base :refer [Resolvable]]))
(s/defrecord IdentiferLit [value :- s/Str])
(s/defrecord StringLit [value :- s/Str])
(s/defrecord FloatLit [value :- s... |
[
{
"context": " (when (some? auth-entity)\n {:username (:username auth-entity)\n :password (:password auth-",
"end": 460,
"score": 0.5339869856834412,
"start": 452,
"tag": "USERNAME",
"value": "username"
},
{
"context": "(some? auth-entity)\n {:username (:use... | ch16/swarmpit/src/clj/swarmpit/docker/engine/mapper/outbound.clj | vincestorm/Docker-on-Amazon-Web-Services | 0 | (ns swarmpit.docker.engine.mapper.outbound
"Map swarmpit domain to docker domain"
(:require [clojure.string :as str]
[swarmpit.docker.engine.mapper.inbound :refer [autoredeploy-label]]
[swarmpit.utils :refer [name-value->map ->nano]]))
(defn- as-bytes
[megabytes]
(* megabytes (* 1024 10... | 33432 | (ns swarmpit.docker.engine.mapper.outbound
"Map swarmpit domain to docker domain"
(:require [clojure.string :as str]
[swarmpit.docker.engine.mapper.inbound :refer [autoredeploy-label]]
[swarmpit.utils :refer [name-value->map ->nano]]))
(defn- as-bytes
[megabytes]
(* megabytes (* 1024 10... | true | (ns swarmpit.docker.engine.mapper.outbound
"Map swarmpit domain to docker domain"
(:require [clojure.string :as str]
[swarmpit.docker.engine.mapper.inbound :refer [autoredeploy-label]]
[swarmpit.utils :refer [name-value->map ->nano]]))
(defn- as-bytes
[megabytes]
(* megabytes (* 1024 10... |
[
{
"context": "he clojure world:\n\n - [at-at](https://github.com/overtone/at-at)\n - [chime](https://github.com/james-hende",
"end": 1190,
"score": 0.9708515405654907,
"start": 1182,
"tag": "USERNAME",
"value": "overtone"
},
{
"context": "om/overtone/at-at)\n - [chime](https://git... | test/midje_doc/cronj_guide.clj | zcaudate/cronj | 52 | (ns midje-doc.cronj-guide
(:require [cronj.core :refer :all]
[midje.sweet :refer :all]))
[[:chapter {:title "Installation"}]]
"Add to `project.clj` dependencies:
`[im.chit/cronj `\"`{{PROJECT.version}}`\"`]`"
"All functions are in the `cronj.core` namespace."
[[{:numbered false}]]
(comment (use 'cron... | 19679 | (ns midje-doc.cronj-guide
(:require [cronj.core :refer :all]
[midje.sweet :refer :all]))
[[:chapter {:title "Installation"}]]
"Add to `project.clj` dependencies:
`[im.chit/cronj `\"`{{PROJECT.version}}`\"`]`"
"All functions are in the `cronj.core` namespace."
[[{:numbered false}]]
(comment (use 'cron... | true | (ns midje-doc.cronj-guide
(:require [cronj.core :refer :all]
[midje.sweet :refer :all]))
[[:chapter {:title "Installation"}]]
"Add to `project.clj` dependencies:
`[im.chit/cronj `\"`{{PROJECT.version}}`\"`]`"
"All functions are in the `cronj.core` namespace."
[[{:numbered false}]]
(comment (use 'cron... |
[
{
"context": " dhs-config)\n :headers {\"apikey\" \"testuser\"}\n :as :json}]\n (fn [rest-path",
"end": 1447,
"score": 0.901634156703949,
"start": 1439,
"tag": "KEY",
"value": "testuser"
}
] | src/main/clojure/seazme/sources/datahub.clj | paypal/seazme-sources | 7 | (ns seazme.sources.datahub
(:require
[clojure.data.json :as json]
[clj-http.client :as chc]
[seazme.sources.twiki :as t]
[seazme.sources.confluence :as c]
[seazme.sources.jira-api :as jira-api]
[seazme.sources.jira :as j]
[seazme.sources.snow :as s]
[clj-time.format :as tf] [clj-time.core :as ... | 44572 | (ns seazme.sources.datahub
(:require
[clojure.data.json :as json]
[clj-http.client :as chc]
[seazme.sources.twiki :as t]
[seazme.sources.confluence :as c]
[seazme.sources.jira-api :as jira-api]
[seazme.sources.jira :as j]
[seazme.sources.snow :as s]
[clj-time.format :as tf] [clj-time.core :as ... | true | (ns seazme.sources.datahub
(:require
[clojure.data.json :as json]
[clj-http.client :as chc]
[seazme.sources.twiki :as t]
[seazme.sources.confluence :as c]
[seazme.sources.jira-api :as jira-api]
[seazme.sources.jira :as j]
[seazme.sources.snow :as s]
[clj-time.format :as tf] [clj-time.core :as ... |
[
{
"context": "; Copyright (c) Rich Hickey. All rights reserved.\n; The use and distributio",
"end": 29,
"score": 0.9998817443847656,
"start": 18,
"tag": "NAME",
"value": "Rich Hickey"
},
{
"context": "functions that pre-evaluate sub-expressions\n\n;; By Stuart Sierra\n;; June 23,... | Neptune/bin/Debug/clojure/template.clj | yasir2000/Neptune- | 14 | ; Copyright (c) Rich Hickey. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
; which can be found in the file epl-v10.html at the root of this distribution.
; By using this software in any ... | 71187 | ; 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": "TING\" callback-id))\n\n(def auth-pubkey\n (str\n \"MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA835H7CQt2oOmlj6GoZp+\"\n \"dFLE6k43Ybi3ku/yuuzatlnet95xVibbyD+DWBz8owRx",
"end": 2024,
"score": 0.9982130527496338,
"start": 1959,
"tag": "KEY",
"value": "MIIBIjANBgkqhkiG9w0B... | cimi/test/com/sixsq/slipstream/ssclj/resources/session_oidc_lifecycle_test.clj | slipstream/SlipStreamServer | 6 | (ns com.sixsq.slipstream.ssclj.resources.session-oidc-lifecycle-test
(:require
[clojure.data.json :as json]
[clojure.test :refer [deftest is use-fixtures]]
[com.sixsq.slipstream.auth.oidc :as auth-oidc]
[com.sixsq.slipstream.auth.utils.db :as db]
[com.sixsq.slipstream.auth.utils.sign :as sign]
... | 6954 | (ns com.sixsq.slipstream.ssclj.resources.session-oidc-lifecycle-test
(:require
[clojure.data.json :as json]
[clojure.test :refer [deftest is use-fixtures]]
[com.sixsq.slipstream.auth.oidc :as auth-oidc]
[com.sixsq.slipstream.auth.utils.db :as db]
[com.sixsq.slipstream.auth.utils.sign :as sign]
... | true | (ns com.sixsq.slipstream.ssclj.resources.session-oidc-lifecycle-test
(:require
[clojure.data.json :as json]
[clojure.test :refer [deftest is use-fixtures]]
[com.sixsq.slipstream.auth.oidc :as auth-oidc]
[com.sixsq.slipstream.auth.utils.db :as db]
[com.sixsq.slipstream.auth.utils.sign :as sign]
... |
[
{
"context": "e to provide\n(def users (atom {\"root\" {:username \"root\"\n :password (creds/hash-bcryp",
"end": 182,
"score": 0.9723027348518372,
"start": 178,
"tag": "USERNAME",
"value": "root"
},
{
"context": " :password (creds/hash-bcrypt \... | src/ofdb/login.clj | kremers/clojurewebtemplate | 2 | (ns ofdb.login (:require [cemerick.friend.credentials :as creds]))
; User map according to friend. Use your favourite datasource to provide
(def users (atom {"root" {:username "root"
:password (creds/hash-bcrypt "admin_password")
:roles #{::admin}}
"jane" {:userna... | 105953 | (ns ofdb.login (:require [cemerick.friend.credentials :as creds]))
; User map according to friend. Use your favourite datasource to provide
(def users (atom {"root" {:username "root"
:password (creds/hash-bcrypt "<PASSWORD>")
:roles #{::admin}}
"jane" {:username "... | true | (ns ofdb.login (:require [cemerick.friend.credentials :as creds]))
; User map according to friend. Use your favourite datasource to provide
(def users (atom {"root" {:username "root"
:password (creds/hash-bcrypt "PI:PASSWORD:<PASSWORD>END_PI")
:roles #{::admin}}
"... |
[
{
"context": "h2\"\n :user \"sa\"\n :password \"sa\"\n :subname \"mem:ruuvi_server\"}\n :serve",
"end": 172,
"score": 0.9995235204696655,
"start": 170,
"tag": "PASSWORD",
"value": "sa"
}
] | test/server-test-config.clj | RuuviTracker/ruuvitracker_server | 1 | {
;; Configuration for unit tests
:environment :test
:database {:classname "org.h2.Driver"
:subprotocol "h2"
:user "sa"
:password "sa"
:subname "mem:ruuvi_server"}
:server {
:type :standalone
:port 8080
:max-threads 10
}
:track... | 4641 | {
;; Configuration for unit tests
:environment :test
:database {:classname "org.h2.Driver"
:subprotocol "h2"
:user "sa"
:password "<PASSWORD>"
:subname "mem:ruuvi_server"}
:server {
:type :standalone
:port 8080
:max-threads 10
}... | true | {
;; Configuration for unit tests
:environment :test
:database {:classname "org.h2.Driver"
:subprotocol "h2"
:user "sa"
:password "PI:PASSWORD:<PASSWORD>END_PI"
:subname "mem:ruuvi_server"}
:server {
:type :standalone
:port 8080
:max-thre... |
[
{
"context": "s [data]\n [:form {:id \"login\"}\n [c/text-input \"Username\" :username \"Enter your username\" data false]\n [",
"end": 623,
"score": 0.6557304263114929,
"start": 615,
"tag": "USERNAME",
"value": "Username"
},
{
"context": " your username\" data false]\n [c/pas... | src/cljs/my_money/views/login.cljs | Juholei/my-money | 1 | (ns my-money.views.login
(:require [my-money.components.common :as c]
[my-money.components.button :refer [button]]
[my-money.app.controller.authentication :as ac]
[reagent.core :as r]))
(defn login! [e! data event-handler]
(.preventDefault event-handler)
(e! (ac/->Login data)... | 94050 | (ns my-money.views.login
(:require [my-money.components.common :as c]
[my-money.components.button :refer [button]]
[my-money.app.controller.authentication :as ac]
[reagent.core :as r]))
(defn login! [e! data event-handler]
(.preventDefault event-handler)
(e! (ac/->Login data)... | true | (ns my-money.views.login
(:require [my-money.components.common :as c]
[my-money.components.button :refer [button]]
[my-money.app.controller.authentication :as ac]
[reagent.core :as r]))
(defn login! [e! data event-handler]
(.preventDefault event-handler)
(e! (ac/->Login data)... |
[
{
"context": "le/config config }\n exp-serialized {:name \"Name\"\n :config {:page 1\n ",
"end": 775,
"score": 0.9190553426742554,
"start": 771,
"tag": "NAME",
"value": "Name"
}
] | test/ohmycards/web/services/cards_grid_profile_manager/impl/helpers_test.cljs | vitorqb/oh-my-cards-web | 1 | (ns ohmycards.web.services.cards-grid-profile-manager.impl.helpers-test
(:require [cljs.test :refer-macros [are async deftest is testing use-fixtures]]
[ohmycards.web.kws.cards-grid.config.core :as kws.config]
[ohmycards.web.kws.cards-grid.profile.core :as kws.profile]
[ohmycards.w... | 121333 | (ns ohmycards.web.services.cards-grid-profile-manager.impl.helpers-test
(:require [cljs.test :refer-macros [are async deftest is testing use-fixtures]]
[ohmycards.web.kws.cards-grid.config.core :as kws.config]
[ohmycards.web.kws.cards-grid.profile.core :as kws.profile]
[ohmycards.w... | true | (ns ohmycards.web.services.cards-grid-profile-manager.impl.helpers-test
(:require [cljs.test :refer-macros [are async deftest is testing use-fixtures]]
[ohmycards.web.kws.cards-grid.config.core :as kws.config]
[ohmycards.web.kws.cards-grid.profile.core :as kws.profile]
[ohmycards.w... |
[
{
"context": ";; Copyright (c) 2014-2016 Andrey Antukh <niwi@niwi.nz>\n;;\n;; Licensed under the Apache Li",
"end": 40,
"score": 0.9998842477798462,
"start": 27,
"tag": "NAME",
"value": "Andrey Antukh"
},
{
"context": ";; Copyright (c) 2014-2016 Andrey Antukh <niwi@niwi.nz>\n;;\n;; L... | src/buddy/util/deflate.clj | shilder/buddy-core | 121 | ;; Copyright (c) 2014-2016 Andrey Antukh <niwi@niwi.nz>
;;
;; Licensed under the Apache License, Version 2.0 (the "License")
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applic... | 75273 | ;; Copyright (c) 2014-2016 <NAME> <<EMAIL>>
;;
;; Licensed under the Apache License, Version 2.0 (the "License")
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or ... | true | ;; Copyright (c) 2014-2016 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
;;
;; Licensed under the Apache License, Version 2.0 (the "License")
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless r... |
[
{
"context": "x \"foo\"} {:x (email)})\n nil (validate {:x \"foo@bar.com\"} {:x (email)})\n nil (validate {:x nil} {:",
"end": 2422,
"score": 0.9992759823799133,
"start": 2411,
"tag": "EMAIL",
"value": "foo@bar.com"
}
] | test/cljs/shevek/lib/validation_test.cljs | eeng/shevek | 6 | (ns shevek.lib.validation-test
(:require-macros [cljs.test :refer [deftest testing is are]])
(:require [shevek.lib.validation :refer [validate pred required regex email confirmation]]))
(deftest validation-tests
(testing "general rules"
(testing "single validator per field"
(are [ee vr] (= ee (:errors ... | 78909 | (ns shevek.lib.validation-test
(:require-macros [cljs.test :refer [deftest testing is are]])
(:require [shevek.lib.validation :refer [validate pred required regex email confirmation]]))
(deftest validation-tests
(testing "general rules"
(testing "single validator per field"
(are [ee vr] (= ee (:errors ... | true | (ns shevek.lib.validation-test
(:require-macros [cljs.test :refer [deftest testing is are]])
(:require [shevek.lib.validation :refer [validate pred required regex email confirmation]]))
(deftest validation-tests
(testing "general rules"
(testing "single validator per field"
(are [ee vr] (= ee (:errors ... |
[
{
"context": " (runtime/connect extension-id #js {:name \"Dirac Marionettist\"})))))\n\n",
"end": 4016,
"score": 0.9998244643211365,
"start": 3998,
"tag": "NAME",
"value": "Dirac Marionettist"
}
] | test/marion/src/background/marion/background/helpers.cljs | pvinis/dirac | 0 | (ns marion.background.helpers
(:require-macros [cljs.core.async.macros :refer [go go-loop]]
[marion.background.logging :refer [log info warn error]])
(:require [cljs.core.async :refer [<! chan timeout]]
[oops.core :refer [oget ocall oapply]]
[chromex.ext.tabs :as tabs]
... | 102439 | (ns marion.background.helpers
(:require-macros [cljs.core.async.macros :refer [go go-loop]]
[marion.background.logging :refer [log info warn error]])
(:require [cljs.core.async :refer [<! chan timeout]]
[oops.core :refer [oget ocall oapply]]
[chromex.ext.tabs :as tabs]
... | true | (ns marion.background.helpers
(:require-macros [cljs.core.async.macros :refer [go go-loop]]
[marion.background.logging :refer [log info warn error]])
(:require [cljs.core.async :refer [<! chan timeout]]
[oops.core :refer [oget ocall oapply]]
[chromex.ext.tabs :as tabs]
... |
[
{
"context": "TRUST_STORE_PASSWORD\")\n \"changeit\"))\n (System/setProperty \"javax.net.ssl.keyStore\"",
"end": 3439,
"score": 0.9876017570495605,
"start": 3431,
"tag": "PASSWORD",
"value": "changeit"
},
{
"context": " \"KEY_STORE_PASSWORD\")\n ... | src/signal/server.clj | boundlessgeo/signal | 6 | ;; Copyright 2016-2017 Boundless, http://boundlessgeo.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 applica... | 8054 | ;; Copyright 2016-2017 Boundless, http://boundlessgeo.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 applica... | true | ;; Copyright 2016-2017 Boundless, http://boundlessgeo.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 applica... |
[
{
"context": "oat\n \n {:doc \"Apfloat experiments.\"\n :author \"palisades dot lakes at gmail dot com\"\n :since \"2017-05-24\"\n :version \"2017-05-24\"}",
"end": 276,
"score": 0.9413903951644897,
"start": 240,
"tag": "EMAIL",
"value": "palisades dot lakes at gmail dot com"
}
] | src/scripts/clojure/palisades/lakes/elements/scripts/numbers/apfloat.clj | palisades-lakes/les-elemens | 0 | (set! *warn-on-reflection* true)
;;(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns palisades.lakes.elements.scripts.numbers.apfloat
{:doc "Apfloat experiments."
:author "palisades dot lakes at gmail dot com"
:since "2017-05-24"
:version "2017-0... | 62257 | (set! *warn-on-reflection* true)
;;(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns palisades.lakes.elements.scripts.numbers.apfloat
{:doc "Apfloat experiments."
:author "<EMAIL>"
:since "2017-05-24"
:version "2017-05-24"}
#_(:require [pali... | true | (set! *warn-on-reflection* true)
;;(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns palisades.lakes.elements.scripts.numbers.apfloat
{:doc "Apfloat experiments."
:author "PI:EMAIL:<EMAIL>END_PI"
:since "2017-05-24"
:version "2017-05-24"}
#_... |
[
{
"context": "s users-schema]])\n data {:users {1 {:name \"Bo\" :nickname \"B\"}}}\n encoded (l/serialize st",
"end": 6962,
"score": 0.5588579773902893,
"start": 6960,
"tag": "NAME",
"value": "Bo"
}
] | test/deercreeklabs/unit/lt_test.cljc | GriffinScribe-LLC/lancaster | 42 | (ns deercreeklabs.unit.lt-test
(:require
[clojure.test :refer [deftest is use-fixtures]]
[deercreeklabs.baracus :as ba]
[deercreeklabs.lancaster :as l]
[deercreeklabs.lancaster.utils :as u]
[deercreeklabs.unit.lancaster-test :as lt]
[schema.core :as s :include-macros true])
#?(:clj
(:import
... | 122034 | (ns deercreeklabs.unit.lt-test
(:require
[clojure.test :refer [deftest is use-fixtures]]
[deercreeklabs.baracus :as ba]
[deercreeklabs.lancaster :as l]
[deercreeklabs.lancaster.utils :as u]
[deercreeklabs.unit.lancaster-test :as lt]
[schema.core :as s :include-macros true])
#?(:clj
(:import
... | true | (ns deercreeklabs.unit.lt-test
(:require
[clojure.test :refer [deftest is use-fixtures]]
[deercreeklabs.baracus :as ba]
[deercreeklabs.lancaster :as l]
[deercreeklabs.lancaster.utils :as u]
[deercreeklabs.unit.lancaster-test :as lt]
[schema.core :as s :include-macros true])
#?(:clj
(:import
... |
[
{
"context": " (->> [{:id \"1000\"\n :name \"Luke Skywalker\"\n :friends [\"1002\", \"1003\", \"2000\", \"2",
"end": 672,
"score": 0.9998710751533508,
"start": 658,
"tag": "NAME",
"value": "Luke Skywalker"
},
{
"context": " {:id \"1001... | dev-resources/com/walmartlabs/test_schema.clj | gusbicalho/lacinia | 0 | (ns com.walmartlabs.test-schema
(:require [com.walmartlabs.lacinia.schema :as schema ]
[com.walmartlabs.lacinia.internal-utils :refer [ map-vals]]
[clojure.spec.alpha :as s]))
;; —————————————————————————————————————————————————————————————————————————————
;; ## Helpers
(defn ^:private hash-... | 52660 | (ns com.walmartlabs.test-schema
(:require [com.walmartlabs.lacinia.schema :as schema ]
[com.walmartlabs.lacinia.internal-utils :refer [ map-vals]]
[clojure.spec.alpha :as s]))
;; —————————————————————————————————————————————————————————————————————————————
;; ## Helpers
(defn ^:private hash-... | true | (ns com.walmartlabs.test-schema
(:require [com.walmartlabs.lacinia.schema :as schema ]
[com.walmartlabs.lacinia.internal-utils :refer [ map-vals]]
[clojure.spec.alpha :as s]))
;; —————————————————————————————————————————————————————————————————————————————
;; ## Helpers
(defn ^:private hash-... |
[
{
"context": " :maintainer \"Me Myself\"})\n \"leiningen vs. the an",
"end": 2092,
"score": 0.6718704104423523,
"start": 2086,
"tag": "NAME",
"value": "Myself"
},
{
"context": " :maintainer \"... | test/docker_clojure/dockerfile_test.clj | rwstauner/docker-clojure | 0 | (ns docker-clojure.dockerfile-test
(:require [clojure.string :as str]
[clojure.test :refer :all]
[docker-clojure.dockerfile :refer :all]
[docker-clojure.dockerfile.lein :as lein]
[docker-clojure.dockerfile.boot :as boot]
[docker-clojure.dockerfile.tools-deps... | 14997 | (ns docker-clojure.dockerfile-test
(:require [clojure.string :as str]
[clojure.test :refer :all]
[docker-clojure.dockerfile :refer :all]
[docker-clojure.dockerfile.lein :as lein]
[docker-clojure.dockerfile.boot :as boot]
[docker-clojure.dockerfile.tools-deps... | true | (ns docker-clojure.dockerfile-test
(:require [clojure.string :as str]
[clojure.test :refer :all]
[docker-clojure.dockerfile :refer :all]
[docker-clojure.dockerfile.lein :as lein]
[docker-clojure.dockerfile.boot :as boot]
[docker-clojure.dockerfile.tools-deps... |
[
{
"context": " [:p {:style \"font-size: 0.8em\"}\n [:strong \"Christian Meter\"]]\n [:small\n \"Institut für Informatik\" [:b",
"end": 626,
"score": 0.9997865557670593,
"start": 611,
"tag": "NAME",
"value": "Christian Meter"
},
{
"context": "eldorf\" [:br]\n \"19.02.... | src/reveal/slides.cljs | n2o/2020-clojure-von-null-zu-fizzbuzz-talk | 2 | (ns reveal.slides
(:require [clojure.string :as string]))
(defn- section-with-title
[title & htmls]
(let [slugged (string/replace title #"\W" "")]
[:section {:data-state slugged}
[:style (str "." slugged " header span:after {content: \"" title "\";}")]
htmls]))
;; ---------------------------------... | 93887 | (ns reveal.slides
(:require [clojure.string :as string]))
(defn- section-with-title
[title & htmls]
(let [slugged (string/replace title #"\W" "")]
[:section {:data-state slugged}
[:style (str "." slugged " header span:after {content: \"" title "\";}")]
htmls]))
;; ---------------------------------... | true | (ns reveal.slides
(:require [clojure.string :as string]))
(defn- section-with-title
[title & htmls]
(let [slugged (string/replace title #"\W" "")]
[:section {:data-state slugged}
[:style (str "." slugged " header span:after {content: \"" title "\";}")]
htmls]))
;; ---------------------------------... |
[
{
"context": "ourtion.Pattern04.person)\n\n(def p\n {:first-name \"John\"\n :middle-name \"Quincy\"\n :last-name \"Adams\"})",
"end": 63,
"score": 0.9998433589935303,
"start": 59,
"tag": "NAME",
"value": "John"
},
{
"context": "n)\n\n(def p\n {:first-name \"John\"\n :middle-n... | Clojure/src/com/yourtion/Pattern04/person.clj | yourtion/LearningFunctionalProgramming | 14 | (ns com.yourtion.Pattern04.person)
(def p
{:first-name "John"
:middle-name "Quincy"
:last-name "Adams"})
(defrecord Cat [color name])
(defrecord Dog [color name])
(defprotocol NoiseMaker
(make-noise [this]))
(defrecord NoisyCat [color name]
NoiseMaker
(make-noise [this] (str (:name this) " meows!")))... | 48061 | (ns com.yourtion.Pattern04.person)
(def p
{:first-name "<NAME>"
:middle-name "<NAME>"
:last-name "<NAME>"})
(defrecord Cat [color name])
(defrecord Dog [color name])
(defprotocol NoiseMaker
(make-noise [this]))
(defrecord NoisyCat [color name]
NoiseMaker
(make-noise [this] (str (:name this) " meows!"... | true | (ns com.yourtion.Pattern04.person)
(def p
{:first-name "PI:NAME:<NAME>END_PI"
:middle-name "PI:NAME:<NAME>END_PI"
:last-name "PI:NAME:<NAME>END_PI"})
(defrecord Cat [color name])
(defrecord Dog [color name])
(defprotocol NoiseMaker
(make-noise [this]))
(defrecord NoisyCat [color name]
NoiseMaker
(mak... |
[
{
"context": "ty functions for feature creation\"\n :author \"Paul Landes\"}\n zensols.nlparse.feature.util\n (:require [c",
"end": 78,
"score": 0.9998821020126343,
"start": 67,
"tag": "NAME",
"value": "Paul Landes"
}
] | src/clojure/zensols/nlparse/feature/util.clj | plandes/cli-nlp-feature | 2 | (ns ^{:doc "Utility functions for feature creation"
:author "Paul Landes"}
zensols.nlparse.feature.util
(:require [clojure.tools.logging :as log]
[clojure.string :as s]))
(def none-label
"Value used for missing features."
"<none>")
(def beginning-of-sentence-label
"Beginning of sentence ... | 22956 | (ns ^{:doc "Utility functions for feature creation"
:author "<NAME>"}
zensols.nlparse.feature.util
(:require [clojure.tools.logging :as log]
[clojure.string :as s]))
(def none-label
"Value used for missing features."
"<none>")
(def beginning-of-sentence-label
"Beginning of sentence marke... | true | (ns ^{:doc "Utility functions for feature creation"
:author "PI:NAME:<NAME>END_PI"}
zensols.nlparse.feature.util
(:require [clojure.tools.logging :as log]
[clojure.string :as s]))
(def none-label
"Value used for missing features."
"<none>")
(def beginning-of-sentence-label
"Beginning of ... |
[
{
"context": "java.io :as io]))\n\n(def example-posts [{:author \"Jochen\"\n :title \"First post\"\n ",
"end": 209,
"score": 0.9027016758918762,
"start": 203,
"tag": "NAME",
"value": "Jochen"
},
{
"context": "mmodo consequat.\"}\n {:autho... | src/clj/meetup/templating.clj | jocrau/clojure-meetup | 7 | (ns meetup.templating
(:require
[hiccup.core :as hiccup]
[net.cgrand.enlive-html :as enlive]
[clostache.parser :as clostache]
[clojure.java.io :as io]))
(def example-posts [{:author "Jochen"
:title "First post"
:content "Lorem ipsum dolor sit amet, consect... | 48283 | (ns meetup.templating
(:require
[hiccup.core :as hiccup]
[net.cgrand.enlive-html :as enlive]
[clostache.parser :as clostache]
[clojure.java.io :as io]))
(def example-posts [{:author "<NAME>"
:title "First post"
:content "Lorem ipsum dolor sit amet, consect... | true | (ns meetup.templating
(:require
[hiccup.core :as hiccup]
[net.cgrand.enlive-html :as enlive]
[clostache.parser :as clostache]
[clojure.java.io :as io]))
(def example-posts [{:author "PI:NAME:<NAME>END_PI"
:title "First post"
:content "Lorem ipsum dolor sit... |
[
{
"context": "; Copyright (c) Rich Hickey. All rights reserved.\n; The use and distributio",
"end": 30,
"score": 0.9998260140419006,
"start": 19,
"tag": "NAME",
"value": "Rich Hickey"
},
{
"context": "ice, or any other, from this software.\n;\n;\tAuthor: David Miller\n\n; Test o... | Neptune/bin/Debug/clojure/samples/interop/testinterop.clj | yasir2000/Neptune- | 2 | ; 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... | 82198 | ; Copyright (c) <NAME>. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
; which can be found in the file epl-v10.html at the root of this distribution.
; By using this software in any fash... | true | ; Copyright (c) PI:NAME:<NAME>END_PI. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
; which can be found in the file epl-v10.html at the root of this distribution.
; By using this softwa... |
[
{
"context": "e: test/smiles_test.clj\n;;;\n;;; Copyright (c) 2010 Cyrus Harmon (ch-lisp@bobobeach.com) All rights\n;;; reserved.\n",
"end": 70,
"score": 0.999869704246521,
"start": 58,
"tag": "NAME",
"value": "Cyrus Harmon"
},
{
"context": "test.clj\n;;;\n;;; Copyright (c) 2010 Cyru... | test/smiles_test.clj | slyrus/chemiclj | 1 | ;;; file: test/smiles_test.clj
;;;
;;; Copyright (c) 2010 Cyrus Harmon (ch-lisp@bobobeach.com) All rights
;;; reserved.
;;;
;;; Redistribution and use in source and binary forms, with or without
;;; modification, are permitted provided that the following conditions
;;; are met:
;;;
;;; * Redistributions of source cod... | 56666 | ;;; file: test/smiles_test.clj
;;;
;;; Copyright (c) 2010 <NAME> (<EMAIL>) All rights
;;; reserved.
;;;
;;; Redistribution and use in source and binary forms, with or without
;;; modification, are permitted provided that the following conditions
;;; are met:
;;;
;;; * Redistributions of source code must retain the ab... | true | ;;; file: test/smiles_test.clj
;;;
;;; Copyright (c) 2010 PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI) All rights
;;; reserved.
;;;
;;; Redistribution and use in source and binary forms, with or without
;;; modification, are permitted provided that the following conditions
;;; are met:
;;;
;;; * Redistributions of s... |
[
{
"context": "flex-grow 0\n :min-width \"30%\"}} \"Léo Valais\"]\n [:div.badges {:style {:display :flex\n ",
"end": 4740,
"score": 0.9998235702514648,
"start": 4730,
"tag": "NAME",
"value": "Léo Valais"
},
{
"context": "ter\"}}\n [contact [icon \"fas\" \... | src/leovalais/core.cljs | leovalais/leovalais | 0 | (ns leovalais.core
(:require [reagent.core :as r]
[goog.string :as gstring]
[goog.string.format]))
(def skills (r/atom
[{:skill "C++" :accent true}
{:skill "Python" :accent true}
{:skill "C"}
{:skill "C# .NET"}
{:skill "Java... | 113915 | (ns leovalais.core
(:require [reagent.core :as r]
[goog.string :as gstring]
[goog.string.format]))
(def skills (r/atom
[{:skill "C++" :accent true}
{:skill "Python" :accent true}
{:skill "C"}
{:skill "C# .NET"}
{:skill "Java... | true | (ns leovalais.core
(:require [reagent.core :as r]
[goog.string :as gstring]
[goog.string.format]))
(def skills (r/atom
[{:skill "C++" :accent true}
{:skill "Python" :accent true}
{:skill "C"}
{:skill "C# .NET"}
{:skill "Java... |
[
{
"context": "ft\" \"Mr Strong\"\n \"Sir Peter\" \"King Danny\" \"Lady Ace\")\n ",
"end": 3186,
"score": 0.9997320175170898,
"start": 3177,
"tag": "NAME",
"value": "Sir Peter"
},
{
"context": "ng\"\n ... | test/cljs/cljs_nusmods/test_aux_module_array_repr.cljs | yanhan/cljs-nusmods | 1 | (ns cljs-nusmods.test-aux-module-array-repr
(:require-macros [cemerick.cljs.test :refer (is deftest)])
(:require [cljs-nusmods.aux-module-array-repr :as aux-module-array-repr]
[cemerick.cljs.test :as t]))
(deftest test-get-module-type-faculty
(let [typeBitmask aux-module-array-repr/MODULE_TYPE_FACULT... | 63506 | (ns cljs-nusmods.test-aux-module-array-repr
(:require-macros [cemerick.cljs.test :refer (is deftest)])
(:require [cljs-nusmods.aux-module-array-repr :as aux-module-array-repr]
[cemerick.cljs.test :as t]))
(deftest test-get-module-type-faculty
(let [typeBitmask aux-module-array-repr/MODULE_TYPE_FACULT... | true | (ns cljs-nusmods.test-aux-module-array-repr
(:require-macros [cemerick.cljs.test :refer (is deftest)])
(:require [cljs-nusmods.aux-module-array-repr :as aux-module-array-repr]
[cemerick.cljs.test :as t]))
(deftest test-get-module-type-faculty
(let [typeBitmask aux-module-array-repr/MODULE_TYPE_FACULT... |
[
{
"context": "ser\n [{{cookie :cookie} :cofx\n {:keys [userUid username]} :params :as ctx}]\n (try\n (fetch-user-detail",
"end": 2336,
"score": 0.536316990852356,
"start": 2328,
"tag": "USERNAME",
"value": "username"
},
{
"context": "gePasswordCde\" \"false\"\n ... | src/glider/legacy/users.clj | JohanCodinha/glider | 0 | (ns glider.legacy.users
(:require [clojure.data.xml :refer [emit-str]]
#_[glider.event-store.core :as es]
[glider.legacy.auth :as legacy-auth]
[glider.legacy.transaction.users :as transactions]
[glider.legacy.utils :as utils]
[glider.system.command.core :as ... | 21221 | (ns glider.legacy.users
(:require [clojure.data.xml :refer [emit-str]]
#_[glider.event-store.core :as es]
[glider.legacy.auth :as legacy-auth]
[glider.legacy.transaction.users :as transactions]
[glider.legacy.utils :as utils]
[glider.system.command.core :as ... | true | (ns glider.legacy.users
(:require [clojure.data.xml :refer [emit-str]]
#_[glider.event-store.core :as es]
[glider.legacy.auth :as legacy-auth]
[glider.legacy.transaction.users :as transactions]
[glider.legacy.utils :as utils]
[glider.system.command.core :as ... |
[
{
"context": "unt_name\"]})))\n (is (= {:extra {:account_name \"broad_gcid-srv\" :workspace_name \"SARSCoV2-Illumina-Full\"}}\n ",
"end": 919,
"score": 0.8304071426391602,
"start": 908,
"tag": "KEY",
"value": "broad_gcid-"
}
] | api/test/wfl/unit/sink_test.clj | broadinstitute/wfl | 15 | (ns wfl.unit.sink-test
(:require [clojure.test :refer [deftest is]]
[wfl.sink :as sink]
[wfl.tools.endpoints :refer [coercion-tester]]
[wfl.tools.resources :as resources]
[wfl.util :refer [uuid-nil]])
(:import [java.util UUID]
... | 66379 | (ns wfl.unit.sink-test
(:require [clojure.test :refer [deftest is]]
[wfl.sink :as sink]
[wfl.tools.endpoints :refer [coercion-tester]]
[wfl.tools.resources :as resources]
[wfl.util :refer [uuid-nil]])
(:import [java.util UUID]
... | true | (ns wfl.unit.sink-test
(:require [clojure.test :refer [deftest is]]
[wfl.sink :as sink]
[wfl.tools.endpoints :refer [coercion-tester]]
[wfl.tools.resources :as resources]
[wfl.util :refer [uuid-nil]])
(:import [java.util UUID]
... |
[
{
"context": ")))\n\n(defn new-user [user password]\n (let [pass (salt-password password)]\n (j/insert! @database \"aut",
"end": 813,
"score": 0.5364108681678772,
"start": 809,
"tag": "PASSWORD",
"value": "salt"
},
{
"context": "(defn new-user [user password]\n (let [pass (salt-... | auth/src/db/db.clj | raymondpoling/rerun-tv | 0 | (ns db.db
(:require [clojure.java.jdbc :as j])
(:import java.security.MessageDigest))
(def database (atom {:dbtype "mysql"
:dbname "auth"
:user nil
:password nil
:serverTimezone "America/New_York"}))
(defn initialize
([]
(swap! database (fn [_ s] s... | 101065 | (ns db.db
(:require [clojure.java.jdbc :as j])
(:import java.security.MessageDigest))
(def database (atom {:dbtype "mysql"
:dbname "auth"
:user nil
:password nil
:serverTimezone "America/New_York"}))
(defn initialize
([]
(swap! database (fn [_ s] s... | true | (ns db.db
(:require [clojure.java.jdbc :as j])
(:import java.security.MessageDigest))
(def database (atom {:dbtype "mysql"
:dbname "auth"
:user nil
:password nil
:serverTimezone "America/New_York"}))
(defn initialize
([]
(swap! database (fn [_ s] s... |
[
{
"context": " {:class \"\"}\"Copyright 2021\"]\n [:div {:class \"\"}\"Chris Farnham \" [:a {:class \"underline\" :href \"mailto:chris.fa",
"end": 1565,
"score": 0.9998739957809448,
"start": 1552,
"tag": "NAME",
"value": "Chris Farnham"
},
{
"context": " Farnham \" [:a {:class \"u... | src/dice_and_clocks/intro_view.cljs | chrisfarnham/diceandclocks | 3 | (ns dice-and-clocks.intro-view
(:require [dice-and-clocks.clocks :as clocks]))
(defn intro-view [sign-in]
[:div {:class "container mx-auto"}
[:div {:class "overflow-auto grid grid-cols-4 gap-4"}
[:div {:class ""}]
[:div {:class "col-span-2 text-center"} [:p {:class "text-4xl"} "Clocks and Dice"]]
[:div {:clas... | 109503 | (ns dice-and-clocks.intro-view
(:require [dice-and-clocks.clocks :as clocks]))
(defn intro-view [sign-in]
[:div {:class "container mx-auto"}
[:div {:class "overflow-auto grid grid-cols-4 gap-4"}
[:div {:class ""}]
[:div {:class "col-span-2 text-center"} [:p {:class "text-4xl"} "Clocks and Dice"]]
[:div {:clas... | true | (ns dice-and-clocks.intro-view
(:require [dice-and-clocks.clocks :as clocks]))
(defn intro-view [sign-in]
[:div {:class "container mx-auto"}
[:div {:class "overflow-auto grid grid-cols-4 gap-4"}
[:div {:class ""}]
[:div {:class "col-span-2 text-center"} [:p {:class "text-4xl"} "Clocks and Dice"]]
[:div {:clas... |
[
{
"context": "\\nIt shines as you hold it aloft. In the distance, Pedro howls in rage.\")\n (swap! dr",
"end": 2635,
"score": 0.9924888610839844,
"start": 2630,
"tag": "NAME",
"value": "Pedro"
},
{
"context": " (do\n (js/alert \"... | src/app/main.cljs | atulchin/shadow-noob | 0 |
(ns app.main
(:require ["rot-js" :as rot]
[clojure.core.async :as a :refer [>! <! put! go go-loop chan]]
[app.world :as world :refer [world-state init-grid! move-player! open-box!]]
[app.drawrot :as draw :refer [init-disp! redraw-entity re-draw]]))
(defonce key-chan (chan)) ;;cha... | 36129 |
(ns app.main
(:require ["rot-js" :as rot]
[clojure.core.async :as a :refer [>! <! put! go go-loop chan]]
[app.world :as world :refer [world-state init-grid! move-player! open-box!]]
[app.drawrot :as draw :refer [init-disp! redraw-entity re-draw]]))
(defonce key-chan (chan)) ;;cha... | true |
(ns app.main
(:require ["rot-js" :as rot]
[clojure.core.async :as a :refer [>! <! put! go go-loop chan]]
[app.world :as world :refer [world-state init-grid! move-player! open-box!]]
[app.drawrot :as draw :refer [init-disp! redraw-entity re-draw]]))
(defonce key-chan (chan)) ;;cha... |
[
{
"context": "`get` to retrieve the value of a given\n;; key.\n\n{\"jane\" \"jane@acme.com\"\n \"fred\" \"fred@acme.com\"\n \"rob\" ",
"end": 7374,
"score": 0.9985405206680298,
"start": 7370,
"tag": "USERNAME",
"value": "jane"
},
{
"context": "o retrieve the value of a given\n;; key... | clojure-basics/learn_clojure/basics_simple.clj | BrunoBonacci/learn-clojure | 9 | (ns learn-clojure.basics-simple
(:require [clojure.string :as str]))
;; ~~~ Introduction to Clojure programming ~~~
;;
;; .okko.
;; lMMWMMMx
;; ;N:. ;XMo
;; x, 0W.
;; .Wk
;; xM.
;; ... | 7640 | (ns learn-clojure.basics-simple
(:require [clojure.string :as str]))
;; ~~~ Introduction to Clojure programming ~~~
;;
;; .okko.
;; lMMWMMMx
;; ;N:. ;XMo
;; x, 0W.
;; .Wk
;; xM.
;; ... | true | (ns learn-clojure.basics-simple
(:require [clojure.string :as str]))
;; ~~~ Introduction to Clojure programming ~~~
;;
;; .okko.
;; lMMWMMMx
;; ;N:. ;XMo
;; x, 0W.
;; .Wk
;; xM.
;; ... |
[
{
"context": "e how your application should work.\"\n ^{:author \"Sameer Rahmani (@lxsameer)\"\n :added 1.0}\n (:require\n [hell",
"end": 172,
"score": 0.9998731017112732,
"start": 158,
"tag": "NAME",
"value": "Sameer Rahmani"
},
{
"context": "lication should work.\"\n ^{:aut... | core/src/cljc/hellhound/system.cljc | Codamic/hell-hound | 34 | (ns hellhound.system
"Systems are the most important thing in the **HellHound** ecosystem.
Systems define how your application should work."
^{:author "Sameer Rahmani (@lxsameer)"
:added 1.0}
(:require
[hellhound.system.protocols :as impl]
[hellhound.config :as config]
[hellhound.lo... | 121202 | (ns hellhound.system
"Systems are the most important thing in the **HellHound** ecosystem.
Systems define how your application should work."
^{:author "<NAME> (@lxsameer)"
:added 1.0}
(:require
[hellhound.system.protocols :as impl]
[hellhound.config :as config]
[hellhound.logger ... | true | (ns hellhound.system
"Systems are the most important thing in the **HellHound** ecosystem.
Systems define how your application should work."
^{:author "PI:NAME:<NAME>END_PI (@lxsameer)"
:added 1.0}
(:require
[hellhound.system.protocols :as impl]
[hellhound.config :as config]
[hellho... |
[
{
"context": " (#{\"http\" \"https\"} protocol)))\n\n;; inspired by IonicaBizau/git-url-parse.\n(defn parse-git-url\n \"parse git u",
"end": 1438,
"score": 0.6968352794647217,
"start": 1427,
"tag": "USERNAME",
"value": "IonicaBizau"
},
{
"context": "ds options)))))\n\n;; dev\n(co... | gh.clj | shohi/cerise | 1 | #!/usr/bin/env bb
;; -*- mode: clojure; -*-
;; utils for github repos
;; - [x] clone repos from github
;; - [x] check local repo exists
;; clone github repos into configured directory - `GITHUB_WORKSHOP`.
;; If the env is not set, use current directory. Both account subdir
;; will be created if necessary.
;;
;; NOTE:... | 55375 | #!/usr/bin/env bb
;; -*- mode: clojure; -*-
;; utils for github repos
;; - [x] clone repos from github
;; - [x] check local repo exists
;; clone github repos into configured directory - `GITHUB_WORKSHOP`.
;; If the env is not set, use current directory. Both account subdir
;; will be created if necessary.
;;
;; NOTE:... | true | #!/usr/bin/env bb
;; -*- mode: clojure; -*-
;; utils for github repos
;; - [x] clone repos from github
;; - [x] check local repo exists
;; clone github repos into configured directory - `GITHUB_WORKSHOP`.
;; If the env is not set, use current directory. Both account subdir
;; will be created if necessary.
;;
;; NOTE:... |
[
{
"context": "r\"})\n\n )\n\n\n(comment\n\n (-> {:user/account-email \"zk+60@heyzk.com\",\n :user/id \"2399a725-2559-4bdc-ad28-546077",
"end": 13007,
"score": 0.9999237060546875,
"start": 12992,
"tag": "EMAIL",
"value": "zk+60@heyzk.com"
},
{
"context": "77473e33\",\n :... | src/clj/rx/awsdeploy.clj | zk/rx-lib | 0 | (ns rx.awsdeploy
(:require [clojure.java.io :as io]
[clojure.edn :as edn]
[clojure.string :as str]
[rx.kitchen-sink :as ks]
[clj-http.client :as hc]
[rx.aws :as aws]
[me.raynes.conch :as ch]
[me.raynes.conch.low-level :as sh]
... | 114501 | (ns rx.awsdeploy
(:require [clojure.java.io :as io]
[clojure.edn :as edn]
[clojure.string :as str]
[rx.kitchen-sink :as ks]
[clj-http.client :as hc]
[rx.aws :as aws]
[me.raynes.conch :as ch]
[me.raynes.conch.low-level :as sh]
... | true | (ns rx.awsdeploy
(:require [clojure.java.io :as io]
[clojure.edn :as edn]
[clojure.string :as str]
[rx.kitchen-sink :as ks]
[clj-http.client :as hc]
[rx.aws :as aws]
[me.raynes.conch :as ch]
[me.raynes.conch.low-level :as sh]
... |
[
{
"context": "ns\n ^{:doc \"Audio position fns\"\n :author \"Jeff Rose\"}\n overtone.helpers.stereo)\n\n(defn splay-pan\n \"",
"end": 60,
"score": 0.9998867511749268,
"start": 51,
"tag": "NAME",
"value": "Jeff Rose"
}
] | src/overtone/helpers/stereo.clj | ABaldwinHunter/overtone | 3,870 | (ns
^{:doc "Audio position fns"
:author "Jeff Rose"}
overtone.helpers.stereo)
(defn splay-pan
"Given n channels and a center point, returns a position in a stereo field
for each channel, evenly distributed from the center +- spread."
[n center spread]
(for [i (range n)]
(+ center
(* spre... | 77698 | (ns
^{:doc "Audio position fns"
:author "<NAME>"}
overtone.helpers.stereo)
(defn splay-pan
"Given n channels and a center point, returns a position in a stereo field
for each channel, evenly distributed from the center +- spread."
[n center spread]
(for [i (range n)]
(+ center
(* spread
... | true | (ns
^{:doc "Audio position fns"
:author "PI:NAME:<NAME>END_PI"}
overtone.helpers.stereo)
(defn splay-pan
"Given n channels and a center point, returns a position in a stereo field
for each channel, evenly distributed from the center +- spread."
[n center spread]
(for [i (range n)]
(+ center
... |
[
{
"context": " (l/edn))\n expected {:fields [{:name :name\n :default nil\n ",
"end": 3566,
"score": 0.8522122502326965,
"start": 3562,
"tag": "NAME",
"value": "name"
},
{
"context": " :name :name\... | test/deercreeklabs/unit/edn_test.cljc | GriffinScribe-LLC/lancaster | 42 | (ns deercreeklabs.unit.edn-test
(:require
[clojure.test :refer [are deftest is]]
[deercreeklabs.lancaster :as l]
[deercreeklabs.unit.lancaster-test :as lt]))
(l/def-enum-schema suits-schema
:hearts :diamonds :spades :clubs)
(l/def-record-schema user-schema
[:name l/string-schema]
[:nickname l/string-... | 123572 | (ns deercreeklabs.unit.edn-test
(:require
[clojure.test :refer [are deftest is]]
[deercreeklabs.lancaster :as l]
[deercreeklabs.unit.lancaster-test :as lt]))
(l/def-enum-schema suits-schema
:hearts :diamonds :spades :clubs)
(l/def-record-schema user-schema
[:name l/string-schema]
[:nickname l/string-... | true | (ns deercreeklabs.unit.edn-test
(:require
[clojure.test :refer [are deftest is]]
[deercreeklabs.lancaster :as l]
[deercreeklabs.unit.lancaster-test :as lt]))
(l/def-enum-schema suits-schema
:hearts :diamonds :spades :clubs)
(l/def-record-schema user-schema
[:name l/string-schema]
[:nickname l/string-... |
[
{
"context": "ers\n * non-alphabetic characters\"\n :author \"Paul Landes\"}\n zensols.nlparse.stopword\n (:require [cloju",
"end": 422,
"score": 0.9998955726623535,
"start": 411,
"tag": "NAME",
"value": "Paul Landes"
}
] | src/clojure/zensols/nlparse/stopword.clj | plandes/clj-nlp-parse | 33 | (ns ^{:doc "This namesapce provides ways of filtering *stop word* tokens.
To avoid the double negative in function names, *go words* are defined to be
the compliment of a vocabulary with a stop word list. Functions
like [[go-word?]] tell whether or not a token is a stop word, which are
defined to be:
* stopwords (... | 79117 | (ns ^{:doc "This namesapce provides ways of filtering *stop word* tokens.
To avoid the double negative in function names, *go words* are defined to be
the compliment of a vocabulary with a stop word list. Functions
like [[go-word?]] tell whether or not a token is a stop word, which are
defined to be:
* stopwords (... | true | (ns ^{:doc "This namesapce provides ways of filtering *stop word* tokens.
To avoid the double negative in function names, *go words* are defined to be
the compliment of a vocabulary with a stop word list. Functions
like [[go-word?]] tell whether or not a token is a stop word, which are
defined to be:
* stopwords (... |
[
{
"context": "ucting programs using only pure functions\")\n (m \" Paul Chiusano, Runar Bjarnason: Functional Programming in Scala",
"end": 808,
"score": 0.9998985528945923,
"start": 795,
"tag": "NAME",
"value": "Paul Chiusano"
},
{
"context": " using only pure functions\")\n (m \"... | src/test/clojure/pl/tomaszgigiel/quizzes/packs/functional_programming_test.clj | tomaszgigiel/quizzes | 1 | (ns pl.tomaszgigiel.quizzes.packs.functional-programming-test
(:require [clojure.test :as tst])
(:require [pl.tomaszgigiel.quizzes.test-config :as test-config])
(:require [pl.tomaszgigiel.quizzes.quiz :refer [qam q a m]])
(:require [pl.tomaszgigiel.utils.misc :as misc]))
(tst/use-fixtures :once test-config/onc... | 61070 | (ns pl.tomaszgigiel.quizzes.packs.functional-programming-test
(:require [clojure.test :as tst])
(:require [pl.tomaszgigiel.quizzes.test-config :as test-config])
(:require [pl.tomaszgigiel.quizzes.quiz :refer [qam q a m]])
(:require [pl.tomaszgigiel.utils.misc :as misc]))
(tst/use-fixtures :once test-config/onc... | true | (ns pl.tomaszgigiel.quizzes.packs.functional-programming-test
(:require [clojure.test :as tst])
(:require [pl.tomaszgigiel.quizzes.test-config :as test-config])
(:require [pl.tomaszgigiel.quizzes.quiz :refer [qam q a m]])
(:require [pl.tomaszgigiel.utils.misc :as misc]))
(tst/use-fixtures :once test-config/onc... |
[
{
"context": "interfaces {\n ethernet eth0 {\n address 172.16.16.2/24\n duplex auto\n hw-id 50:00:00:01:",
"end": 60,
"score": 0.9996985793113708,
"start": 49,
"tag": "IP_ADDRESS",
"value": "172.16.16.2"
},
{
"context": " eth3 {\n duplex auto\n h... | backup/vyos_bgp_sessions.unl/Router02/config.boot | Fireman730/python-eveng-api | 0 | interfaces {
ethernet eth0 {
address 172.16.16.2/24
duplex auto
hw-id 50:00:00:01:00:00
smp_affinity auto
speed auto
}
ethernet eth1 {
duplex auto
hw-id 50:00:00:01:00:01
smp_affinity auto
speed auto
}
ethernet eth2 {
du... | 32334 | interfaces {
ethernet eth0 {
address 172.16.16.2/24
duplex auto
hw-id 50:00:00:01:00:00
smp_affinity auto
speed auto
}
ethernet eth1 {
duplex auto
hw-id 50:00:00:01:00:01
smp_affinity auto
speed auto
}
ethernet eth2 {
du... | true | interfaces {
ethernet eth0 {
address 172.16.16.2/24
duplex auto
hw-id 50:00:00:01:00:00
smp_affinity auto
speed auto
}
ethernet eth1 {
duplex auto
hw-id 50:00:00:01:00:01
smp_affinity auto
speed auto
}
ethernet eth2 {
du... |
[
{
"context": "images\n \n {:doc \"find image files.\"\n :author \"palisades dot lakes at gmail dot com\"\n :version \"2018-01-06\"}\n \n (:require [clojur",
"end": 272,
"score": 0.9834737777709961,
"start": 236,
"tag": "EMAIL",
"value": "palisades dot lakes at gmail dot com"
}
] | src/scripts/clojure/palisades/lakes/curate/scripts/images.clj | palisades-lakes/curate | 0 | IMG_0227.JPG(set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns palisades.lakes.curate.scripts.images
{:doc "find image files."
:author "palisades dot lakes at gmail dot com"
:version "2018-01-06"}
(:require [cloj... | 43802 | IMG_0227.JPG(set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns palisades.lakes.curate.scripts.images
{:doc "find image files."
:author "<EMAIL>"
:version "2018-01-06"}
(:require [clojure.java.io :as io]
... | true | IMG_0227.JPG(set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns palisades.lakes.curate.scripts.images
{:doc "find image files."
:author "PI:EMAIL:<EMAIL>END_PI"
:version "2018-01-06"}
(:require [clojure.java.io :a... |
[
{
"context": "; Copyright (C) 2014 Joseph Fosco. All Rights Reserved\n;\n; This program is free ",
"end": 37,
"score": 0.9998489618301392,
"start": 25,
"tag": "NAME",
"value": "Joseph Fosco"
}
] | data/train/clojure/4b7a9dd77b4050e3786dcb94cc11ec362d515249instrumentinfo.clj | harshp8l/deep-learning-lang-detection | 84 | ; Copyright (C) 2014 Joseph Fosco. All Rights Reserved
;
; This program is free software: you can redistribute it and/or modify
; it under the terms of the GNU General Public License as published by
; the Free Software Foundation, either version 3 of the License, or
; (at your option) any later version.... | 35641 | ; Copyright (C) 2014 <NAME>. All Rights Reserved
;
; This program is free software: you can redistribute it and/or modify
; it under the terms of the GNU General Public License as published by
; the Free Software Foundation, either version 3 of the License, or
; (at your option) any later version.
;
; ... | true | ; Copyright (C) 2014 PI:NAME:<NAME>END_PI. All Rights Reserved
;
; This program is free software: you can redistribute it and/or modify
; it under the terms of the GNU General Public License as published by
; the Free Software Foundation, either version 3 of the License, or
; (at your option) any later ... |
[
{
"context": "}\n {:tag :author :attributes {} :content [\"John McCarthy\"]}]}]}]})\n\n(deftest helpers-access\n (testing \"He",
"end": 1788,
"score": 0.9998271465301514,
"start": 1775,
"tag": "NAME",
"value": "John McCarthy"
},
{
"context": " {:tag :author :attribut... | test/tubax/tests/helpers_test.cljs | Alotor/cljs-xml | 21 | (ns tubax.helpers-test
(:require [tubax.helpers :as helpers]
[cljs.test :as test :refer-macros [deftest is testing]]))
(def testing-data
{:tag :rss :attributes {:version "2.0"}
:content
[{:tag :channel :attributes {}
:content
[{:tag :title :attributes {} :content ["RSS Title"]}
{:... | 110845 | (ns tubax.helpers-test
(:require [tubax.helpers :as helpers]
[cljs.test :as test :refer-macros [deftest is testing]]))
(def testing-data
{:tag :rss :attributes {:version "2.0"}
:content
[{:tag :channel :attributes {}
:content
[{:tag :title :attributes {} :content ["RSS Title"]}
{:... | true | (ns tubax.helpers-test
(:require [tubax.helpers :as helpers]
[cljs.test :as test :refer-macros [deftest is testing]]))
(def testing-data
{:tag :rss :attributes {:version "2.0"}
:content
[{:tag :channel :attributes {}
:content
[{:tag :title :attributes {} :content ["RSS Title"]}
{:... |
[
{
"context": " for Cross-Origin Resource Sharing.\"\n :author \"Mihael Konjević\"}\n macchiato.middleware.cors\n (:require [clojur",
"end": 97,
"score": 0.9998751878738403,
"start": 82,
"tag": "NAME",
"value": "Mihael Konjević"
}
] | src/macchiato/middleware/cors.cljs | arichiardi/macchiato-core | 366 | (ns
^{:doc "Ring middleware for Cross-Origin Resource Sharing."
:author "Mihael Konjević"}
macchiato.middleware.cors
(:require [clojure.set :as set]
[cuerdas.core :as str]
[macchiato.util.response :as r :refer [get-header]]))
(defn origin
"Returns the Origin request header."
[r... | 97034 | (ns
^{:doc "Ring middleware for Cross-Origin Resource Sharing."
:author "<NAME>"}
macchiato.middleware.cors
(:require [clojure.set :as set]
[cuerdas.core :as str]
[macchiato.util.response :as r :refer [get-header]]))
(defn origin
"Returns the Origin request header."
[request] (... | true | (ns
^{:doc "Ring middleware for Cross-Origin Resource Sharing."
:author "PI:NAME:<NAME>END_PI"}
macchiato.middleware.cors
(:require [clojure.set :as set]
[cuerdas.core :as str]
[macchiato.util.response :as r :refer [get-header]]))
(defn origin
"Returns the Origin request header."... |
[
{
"context": "{:user {:signing {:gpg-key \"james@logi.cl\"}\n\n :dependencies [#_[acyclic/squiggly-clo",
"end": 41,
"score": 0.9995672106742859,
"start": 28,
"tag": "EMAIL",
"value": "james@logi.cl"
},
{
"context": " [codox \"0.6.6\"]\n [jonase/e... | roles/clojure/files/profiles.clj | jcf/ansible-dotfiles | 12 | {:user {:signing {:gpg-key "james@logi.cl"}
:dependencies [#_[acyclic/squiggly-clojure "0.1.2-SNAPSHOT"]
[alembic "0.2.1"]
[clj-diff "1.0.0-SNAPSHOT"]
[clj-stacktrace "0.2.8"]
[com.cemerick/pomegranate "0.3.0"]
... | 56532 | {:user {:signing {:gpg-key "<EMAIL>"}
:dependencies [#_[acyclic/squiggly-clojure "0.1.2-SNAPSHOT"]
[alembic "0.2.1"]
[clj-diff "1.0.0-SNAPSHOT"]
[clj-stacktrace "0.2.8"]
[com.cemerick/pomegranate "0.3.0"]
... | true | {:user {:signing {:gpg-key "PI:EMAIL:<EMAIL>END_PI"}
:dependencies [#_[acyclic/squiggly-clojure "0.1.2-SNAPSHOT"]
[alembic "0.2.1"]
[clj-diff "1.0.0-SNAPSHOT"]
[clj-stacktrace "0.2.8"]
[com.cemerick/pomegranate "0.3.0"]... |
[
{
"context": "]\n (is (= 1119 (int (get-in ratings [:players \"roger-federer\"]))))\n (is (= 969 (int (get-in ratings [:playe",
"end": 494,
"score": 0.9994924068450928,
"start": 481,
"tag": "NAME",
"value": "roger-federer"
},
{
"context": "))\n (is (= 969 (int (get-in rating... | Chapter05/tests/packt-clj.chapter-5-tests/test/packt_clj/chapter_5_tests/activity_5_01_test.clj | transducer/The-Clojure-Workshop | 55 | (ns packt-clj.chapter-5-tests.activity-5-01-test
(:require [clojure.test :as t :refer [deftest is testing]]
[packt-clj.chapter-5-tests.activity-5-01 :as tennis]
[clojure.java.io :as io]))
;;; For convenience, we reference the csv file as a resource.
(def data (io/file (io/resource "match_scor... | 38742 | (ns packt-clj.chapter-5-tests.activity-5-01-test
(:require [clojure.test :as t :refer [deftest is testing]]
[packt-clj.chapter-5-tests.activity-5-01 :as tennis]
[clojure.java.io :as io]))
;;; For convenience, we reference the csv file as a resource.
(def data (io/file (io/resource "match_scor... | true | (ns packt-clj.chapter-5-tests.activity-5-01-test
(:require [clojure.test :as t :refer [deftest is testing]]
[packt-clj.chapter-5-tests.activity-5-01 :as tennis]
[clojure.java.io :as io]))
;;; For convenience, we reference the csv file as a resource.
(def data (io/file (io/resource "match_scor... |
[
{
"context": "; Copyright 2010 Mark Allerton. All rights reserved.\n;\n; Redistribution and u",
"end": 33,
"score": 0.9998759627342224,
"start": 20,
"tag": "NAME",
"value": "Mark Allerton"
}
] | Core/src/clojure/couverjure/core.clj | allertonm/Couverjure | 3 | ; Copyright 2010 Mark Allerton. 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 notice, this list of
; c... | 91313 | ; Copyright 2010 <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 notice, this list of
; conditio... | true | ; Copyright 2010 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 the above copyright notice, this list of
; ... |
[
{
"context": "(ns chapter05.calling-java)\n\n(.concat \"Hello \" \"Makoto\")\n;;=> \"Hello Makoto\"\n\n(Float/valueOf \"1000.0\")\n;",
"end": 54,
"score": 0.9970085620880127,
"start": 48,
"tag": "NAME",
"value": "Makoto"
},
{
"context": "ing-java)\n\n(.concat \"Hello \" \"Makoto\")\n... | Chapter 05 Code/src/chapter05/calling_java.clj | PacktPublishing/Clojure-Programming-Cookbook | 14 | (ns chapter05.calling-java)
(.concat "Hello " "Makoto")
;;=> "Hello Makoto"
(Float/valueOf "1000.0")
;;=> 1000.0
(. Float valueOf "1000.0")
;;=> 1000.0
(import java.util.TimeZone)
;;=> java.util.TimeZone
(def time-zone (TimeZone/getTimeZone "Asia/Tokyo" ))
;;=> #'chapter05.calling-java/time-zone
(.getDisplayName tim... | 28877 | (ns chapter05.calling-java)
(.concat "Hello " "<NAME>")
;;=> "Hello <NAME>"
(Float/valueOf "1000.0")
;;=> 1000.0
(. Float valueOf "1000.0")
;;=> 1000.0
(import java.util.TimeZone)
;;=> java.util.TimeZone
(def time-zone (TimeZone/getTimeZone "Asia/Tokyo" ))
;;=> #'chapter05.calling-java/time-zone
(.getDisplayName tim... | true | (ns chapter05.calling-java)
(.concat "Hello " "PI:NAME:<NAME>END_PI")
;;=> "Hello PI:NAME:<NAME>END_PI"
(Float/valueOf "1000.0")
;;=> 1000.0
(. Float valueOf "1000.0")
;;=> 1000.0
(import java.util.TimeZone)
;;=> java.util.TimeZone
(def time-zone (TimeZone/getTimeZone "Asia/Tokyo" ))
;;=> #'chapter05.calling-java/ti... |
[
{
"context": " 0.045\n :name \"Eroica\"\n :cohumulone 0.4\n ",
"end": 2231,
"score": 0.9959810376167297,
"start": 2225,
"tag": "NAME",
"value": "Eroica"
},
{
"context": "0.11\n :name ... | src/common_beer_format/data/hops/bittering.cljc | Wall-Brew-Co/common-beer-format | 1 | (ns common-beer-format.data.hops.bittering
"Data for bitter hops"
(:require [common-beer-format.data.hops.hops :as hops]))
(def summit
(hops/build-hop :summit {:beta 0.06
:name "Summit"
:cohumulone 0.3
:type ... | 98671 | (ns common-beer-format.data.hops.bittering
"Data for bitter hops"
(:require [common-beer-format.data.hops.hops :as hops]))
(def summit
(hops/build-hop :summit {:beta 0.06
:name "Summit"
:cohumulone 0.3
:type ... | true | (ns common-beer-format.data.hops.bittering
"Data for bitter hops"
(:require [common-beer-format.data.hops.hops :as hops]))
(def summit
(hops/build-hop :summit {:beta 0.06
:name "Summit"
:cohumulone 0.3
:type ... |
[
{
"context": " [clojure.string :as str]))\n\n(def people [{:name \"Luke\"}\n {:name \"Leia\"}\n {:name",
"end": 209,
"score": 0.9996544122695923,
"start": 205,
"tag": "NAME",
"value": "Luke"
},
{
"context": "\n(def people [{:name \"Luke\"}\n {:name... | ranger/resources/public/js/out/example/demos/autocomplete/demo_react_autosuggest.cljs | headwinds/daterangepicker | 6 | (ns example.demos.autocomplete.demo-react-autosuggest
(:require [reagent.core :as r :refer [atom]]
cljsjs.react-autosuggest
[clojure.string :as str]))
(def people [{:name "Luke"}
{:name "Leia"}
{:name "Lando"}])
(defn str->regex [a-str]
(let [escaped (str/re... | 5891 | (ns example.demos.autocomplete.demo-react-autosuggest
(:require [reagent.core :as r :refer [atom]]
cljsjs.react-autosuggest
[clojure.string :as str]))
(def people [{:name "<NAME>"}
{:name "<NAME>"}
{:name "<NAME>"}])
(defn str->regex [a-str]
(let [escaped (s... | true | (ns example.demos.autocomplete.demo-react-autosuggest
(:require [reagent.core :as r :refer [atom]]
cljsjs.react-autosuggest
[clojure.string :as str]))
(def people [{:name "PI:NAME:<NAME>END_PI"}
{:name "PI:NAME:<NAME>END_PI"}
{:name "PI:NAME:<NAME>END_PI"}])
(... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.