entities listlengths 1 44.6k | max_stars_repo_path stringlengths 6 160 | max_stars_repo_name stringlengths 6 66 | max_stars_count int64 0 47.9k | content stringlengths 18 1.04M | id stringlengths 1 6 | new_content stringlengths 18 1.04M | modified bool 1
class | references stringlengths 32 1.52M |
|---|---|---|---|---|---|---|---|---|
[
{
"context": "\"))\n(println \"validateEmail #2:\" (validate-email \"hello.gmail@com\"))\n(println \"validateEmail #3:\" (validate-email \"",
"end": 624,
"score": 0.9859743118286133,
"start": 609,
"tag": "EMAIL",
"value": "hello.gmail@com"
},
{
"context": "\"))\n(println \"validateEm... | 2021/clojure/day0101.clj | gauravsingh5/Alphabet-Daily-Tasks | 1 | (defn nth-even [n]
(- (* 2 n) 2))
(defn validate-email [email]
(if (re-matches #".+@.+\..+" email) true false))
(defn- atbash-letter [l]
(cond
(Character/isUpperCase l) (char (+ (- (int \Z) (int l)) (int \A)))
(Character/isLowerCase l) (char (+ (- (int \z) (int l)) (int \a)))
:else l))
(defn atbash ... | 99520 | (defn nth-even [n]
(- (* 2 n) 2))
(defn validate-email [email]
(if (re-matches #".+@.+\..+" email) true false))
(defn- atbash-letter [l]
(cond
(Character/isUpperCase l) (char (+ (- (int \Z) (int l)) (int \A)))
(Character/isLowerCase l) (char (+ (- (int \z) (int l)) (int \a)))
:else l))
(defn atbash ... | true | (defn nth-even [n]
(- (* 2 n) 2))
(defn validate-email [email]
(if (re-matches #".+@.+\..+" email) true false))
(defn- atbash-letter [l]
(cond
(Character/isUpperCase l) (char (+ (- (int \Z) (int l)) (int \A)))
(Character/isLowerCase l) (char (+ (- (int \z) (int l)) (int \a)))
:else l))
(defn atbash ... |
[
{
"context": ";\n;; },\n\n\n ;; [^{:type String, :default \"Jones\", :notify false, :read-only true, :attrsync true}",
"end": 9395,
"score": 0.997963547706604,
"start": 9390,
"tag": "NAME",
"value": "Jones"
},
{
"context": "ermine properties:\n [^{:type String, :default \... | testx/html.clj | mobileink/-polymirage | 17 | (ns test.html
(:require [miraj.core :refer :all]
[miraj.html.polymer :as h :refer :all]
[hiccup.page :refer [html5]]
[clojure.data.xml :as xml]
[clojure.tools.logging :as log :only [trace debug error info]]
[clojure.pprint :as pp]
[clojure.string... | 71433 | (ns test.html
(:require [miraj.core :refer :all]
[miraj.html.polymer :as h :refer :all]
[hiccup.page :refer [html5]]
[clojure.data.xml :as xml]
[clojure.tools.logging :as log :only [trace debug error info]]
[clojure.pprint :as pp]
[clojure.string... | true | (ns test.html
(:require [miraj.core :refer :all]
[miraj.html.polymer :as h :refer :all]
[hiccup.page :refer [html5]]
[clojure.data.xml :as xml]
[clojure.tools.logging :as log :only [trace debug error info]]
[clojure.pprint :as pp]
[clojure.string... |
[
{
"context": "tps://github.com/greglook/puget).\"\n :author \"Paul Landes\"}\n zensols.nrpuget.core\n (:refer-clojure :exc",
"end": 110,
"score": 0.9998757243156433,
"start": 99,
"tag": "NAME",
"value": "Paul Landes"
}
] | src/clojure/zensols/nrpuget/core.clj | plandes/clj-nrepl-puget | 0 | (ns ^{:doc "Configure and pprint using [puget](https://github.com/greglook/puget)."
:author "Paul Landes"}
zensols.nrpuget.core
(:refer-clojure :exclude [println])
(:require [clojure.pprint :refer [*print-right-margin*]])
(:require [puget.printer :as puget :refer (with-options)]))
(defonce ^:private op... | 112413 | (ns ^{:doc "Configure and pprint using [puget](https://github.com/greglook/puget)."
:author "<NAME>"}
zensols.nrpuget.core
(:refer-clojure :exclude [println])
(:require [clojure.pprint :refer [*print-right-margin*]])
(:require [puget.printer :as puget :refer (with-options)]))
(defonce ^:private options... | true | (ns ^{:doc "Configure and pprint using [puget](https://github.com/greglook/puget)."
:author "PI:NAME:<NAME>END_PI"}
zensols.nrpuget.core
(:refer-clojure :exclude [println])
(:require [clojure.pprint :refer [*print-right-margin*]])
(:require [puget.printer :as puget :refer (with-options)]))
(defonce ^:p... |
[
{
"context": "(ns ^{:author \"Adam Berger\"} ulvm.scopes.nodejs.write-deps\n \"NodeJS Depende",
"end": 26,
"score": 0.999854326248169,
"start": 15,
"tag": "NAME",
"value": "Adam Berger"
}
] | examples/scopes/nodejs-scope/src/ulvm/scopes/nodejs/write_deps.clj | abrgr/ulvm | 0 | (ns ^{:author "Adam Berger"} ulvm.scopes.nodejs.write-deps
"NodeJS Dependency Writer"
(:require [cheshire.core :as json]
[cats.monad.either :as e]
[clojure.java.io :as io]
[ulvm.scopes.nodejs.write-file :as write-file]))
(defn- get-import
[desc]
(cond
(contains? desc :lo... | 46487 | (ns ^{:author "<NAME>"} ulvm.scopes.nodejs.write-deps
"NodeJS Dependency Writer"
(:require [cheshire.core :as json]
[cats.monad.either :as e]
[clojure.java.io :as io]
[ulvm.scopes.nodejs.write-file :as write-file]))
(defn- get-import
[desc]
(cond
(contains? desc :local-f... | true | (ns ^{:author "PI:NAME:<NAME>END_PI"} ulvm.scopes.nodejs.write-deps
"NodeJS Dependency Writer"
(:require [cheshire.core :as json]
[cats.monad.either :as e]
[clojure.java.io :as io]
[ulvm.scopes.nodejs.write-file :as write-file]))
(defn- get-import
[desc]
(cond
(contains?... |
[
{
"context": "}}\n ```\n\n The `:routes` use [https://github.com/juxt/bidi](bidi) match syntax, which ends with a keywo",
"end": 8532,
"score": 0.9995894432067871,
"start": 8528,
"tag": "USERNAME",
"value": "juxt"
},
{
"context": "quest]\n (handler (assoc request :user {:id \\... | src/devguide/untangled_devguide/M40_Advanced_Server_Topics.cljs | pholas/untangled-devguide | 43 | (ns untangled-devguide.M40-Advanced-Server-Topics
(:require-macros [cljs.test :refer [is]]
[untangled-devguide.tutmacros :refer [untangled-app]])
(:require [om.next :as om :refer-macros [defui]]
[om.dom :as dom]
[devcards.util.edn-renderer :refer [html-edn]]
[d... | 15978 | (ns untangled-devguide.M40-Advanced-Server-Topics
(:require-macros [cljs.test :refer [is]]
[untangled-devguide.tutmacros :refer [untangled-app]])
(:require [om.next :as om :refer-macros [defui]]
[om.dom :as dom]
[devcards.util.edn-renderer :refer [html-edn]]
[d... | true | (ns untangled-devguide.M40-Advanced-Server-Topics
(:require-macros [cljs.test :refer [is]]
[untangled-devguide.tutmacros :refer [untangled-app]])
(:require [om.next :as om :refer-macros [defui]]
[om.dom :as dom]
[devcards.util.edn-renderer :refer [html-edn]]
[d... |
[
{
"context": "; Copyright (c) David Miller. All rights reserved.\n; The use and distributio",
"end": 30,
"score": 0.9997515678405762,
"start": 18,
"tag": "NAME",
"value": "David Miller"
}
] | Clojure/clojure/dm-test.clj | AydarLukmanov/ArcadiaGodot | 328 | ; Copyright (c) David Miller. 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... | 92851 | ; Copyright (c) <NAME>. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
; which can be found in the file epl-v10.html at the root of this distribution.
; By using this software in any fashi... | true | ; Copyright (c) PI:NAME:<NAME>END_PI. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
; which can be found in the file epl-v10.html at the root of this distribution.
; By using this softwar... |
[
{
"context": "\n \"CVX symbols used by the runner.\"\n\n {:author \"Adam Helinski\"}\n\n (:import (convex.core.data Symbol))\n (:refe",
"end": 82,
"score": 0.9984264969825745,
"start": 69,
"tag": "NAME",
"value": "Adam Helinski"
}
] | project/run/src/clj/main/convex/run/sym.clj | rosejn/convex.cljc | 30 | (ns convex.run.sym
"CVX symbols used by the runner."
{:author "Adam Helinski"}
(:import (convex.core.data Symbol))
(:refer-clojure :exclude [list*])
(:require [convex.cell :as $.cell]))
;;;;;;;;;; Dynamic symbols
(def ^Symbol list*
($.cell/symbol "*list*"))
(def ^Symbol result*
... | 92361 | (ns convex.run.sym
"CVX symbols used by the runner."
{:author "<NAME>"}
(:import (convex.core.data Symbol))
(:refer-clojure :exclude [list*])
(:require [convex.cell :as $.cell]))
;;;;;;;;;; Dynamic symbols
(def ^Symbol list*
($.cell/symbol "*list*"))
(def ^Symbol result*
($... | true | (ns convex.run.sym
"CVX symbols used by the runner."
{:author "PI:NAME:<NAME>END_PI"}
(:import (convex.core.data Symbol))
(:refer-clojure :exclude [list*])
(:require [convex.cell :as $.cell]))
;;;;;;;;;; Dynamic symbols
(def ^Symbol list*
($.cell/symbol "*list*"))
(def ^Symbol result*
... |
[
{
"context": "n-lein-version \"2.5.0\"\n :url \"https://github.com/nomnom-insights/nomnom.caliban\"\n :license {:name \"MIT License\"\n ",
"end": 151,
"score": 0.9993559122085571,
"start": 136,
"tag": "USERNAME",
"value": "nomnom-insights"
},
{
"context": "ses/MIT\"\n :y... | project.clj | nomnom-insights/nomnom.caliban | 2 | (defproject nomnom/caliban "1.0.3"
:description "Exception tracker components"
:min-lein-version "2.5.0"
:url "https://github.com/nomnom-insights/nomnom.caliban"
:license {:name "MIT License"
:url "https://opensource.org/licenses/MIT"
:year 2018
:key "mit"}
:deploy-reposito... | 104249 | (defproject nomnom/caliban "1.0.3"
:description "Exception tracker components"
:min-lein-version "2.5.0"
:url "https://github.com/nomnom-insights/nomnom.caliban"
:license {:name "MIT License"
:url "https://opensource.org/licenses/MIT"
:year 2018
:key "<KEY>"}
:deploy-reposi... | true | (defproject nomnom/caliban "1.0.3"
:description "Exception tracker components"
:min-lein-version "2.5.0"
:url "https://github.com/nomnom-insights/nomnom.caliban"
:license {:name "MIT License"
:url "https://opensource.org/licenses/MIT"
:year 2018
:key "PI:KEY:<KEY>END_PI"}
:... |
[
{
"context": "(def students [{:name \"Eliza\" :year 1994}\n {:name \"Salma\" :year ",
"end": 28,
"score": 0.999774694442749,
"start": 23,
"tag": "NAME",
"value": "Eliza"
},
{
"context": "{:name \"Eliza\" :year 1994}\n {:name \"Salma\" :year 1995}\n ... | chapter04/Exercise03/students_sorted_by_age.clj | TrainingByPackt/Clojure | 0 | (def students [{:name "Eliza" :year 1994}
{:name "Salma" :year 1995}
{:name "Jodie" :year 1997}
{:name "Kaitlyn" :year 2000}
{:name "Alice" :year 2001}
{:name "Pippa" :year 2002}
{:name "Fleur" :year 2002}])
| 30025 | (def students [{:name "<NAME>" :year 1994}
{:name "<NAME>" :year 1995}
{:name "<NAME>" :year 1997}
{:name "<NAME>" :year 2000}
{:name "<NAME>" :year 2001}
{:name "<NAME>" :year 2002}
{:name "<NAME>" :year 2002}])
| true | (def students [{:name "PI:NAME:<NAME>END_PI" :year 1994}
{:name "PI:NAME:<NAME>END_PI" :year 1995}
{:name "PI:NAME:<NAME>END_PI" :year 1997}
{:name "PI:NAME:<NAME>END_PI" :year 2000}
{:name "PI:NAME:<NAME>END_PI" :year 2001}
{:name "PI:NAME:<NAM... |
[
{
"context": "\n (is (repo/commit! repo (-> (get-person repo \"Alice\" \"Appleseed\")\n (reg",
"end": 1106,
"score": 0.9087011218070984,
"start": 1101,
"tag": "NAME",
"value": "Alice"
},
{
"context": "type ::registered\n :given-name ... | data/train/clojure/0cde804ab2c7912bcf9ea2afaf8183163a208623wrap_new_events_callback_test.clj | harshp8l/deep-learning-lang-detection | 84 | (ns rill.wheel.wrap-new-events-callback-test
(:require [clojure.test :refer [deftest is use-fixtures]]
[rill.event-store.memory :refer [memory-store]]
[rill.message :as msg]
[rill.wheel :as aggregate :refer [defaggregate defevent]]
[rill.wheel.bare-repository :refer [ba... | 51613 | (ns rill.wheel.wrap-new-events-callback-test
(:require [clojure.test :refer [deftest is use-fixtures]]
[rill.event-store.memory :refer [memory-store]]
[rill.message :as msg]
[rill.wheel :as aggregate :refer [defaggregate defevent]]
[rill.wheel.bare-repository :refer [ba... | true | (ns rill.wheel.wrap-new-events-callback-test
(:require [clojure.test :refer [deftest is use-fixtures]]
[rill.event-store.memory :refer [memory-store]]
[rill.message :as msg]
[rill.wheel :as aggregate :refer [defaggregate defevent]]
[rill.wheel.bare-repository :refer [ba... |
[
{
"context": ";\n; Traversy ;\n;;;;;;;;;;;;\n\n\n(def bank\n {:name \"Smithson's\"\n :address {:line-1 \"Duckett Building\"\n ",
"end": 277,
"score": 0.9998171329498291,
"start": 267,
"tag": "NAME",
"value": "Smithson's"
},
{
"context": " :postcode \"N7 8SE\"}\n :em... | src/journey_through_the_looking_glass/traversy.clj | ctford/journey-through-the-looking-glass | 7 | (ns journey-through-the-looking-glass.traversy
(:require [traversy.lens
:refer [update view in each only *>]]
[midje.sweet :refer :all]
[clojure.pprint :as pprint]))
;;;;;;;;;;;;
; Traversy ;
;;;;;;;;;;;;
(def bank
{:name "Smithson's"
:address {:line-1 "Duckett Building"
... | 30137 | (ns journey-through-the-looking-glass.traversy
(:require [traversy.lens
:refer [update view in each only *>]]
[midje.sweet :refer :all]
[clojure.pprint :as pprint]))
;;;;;;;;;;;;
; Traversy ;
;;;;;;;;;;;;
(def bank
{:name "<NAME>"
:address {:line-1 "Duckett Building"
... | true | (ns journey-through-the-looking-glass.traversy
(:require [traversy.lens
:refer [update view in each only *>]]
[midje.sweet :refer :all]
[clojure.pprint :as pprint]))
;;;;;;;;;;;;
; Traversy ;
;;;;;;;;;;;;
(def bank
{:name "PI:NAME:<NAME>END_PI"
:address {:line-1 "Duckett B... |
[
{
"context": "; Copyright (c) 2011-2013, Tom Van Cutsem, Vrije Universiteit Brussel\n; All rights reserved",
"end": 41,
"score": 0.9998583197593689,
"start": 27,
"tag": "NAME",
"value": "Tom Van Cutsem"
},
{
"context": "Clojure\n;; Multicore Programming\n;; (c) 2011-2013, Tom Van Cut... | test/regression.clj | tvcutsem/stm-in-clojure | 33 | ; Copyright (c) 2011-2013, Tom Van Cutsem, Vrije Universiteit Brussel
; 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
; n... | 15538 | ; Copyright (c) 2011-2013, <NAME>, Vrije Universiteit Brussel
; 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, t... | true | ; Copyright (c) 2011-2013, PI:NAME:<NAME>END_PI, Vrije Universiteit Brussel
; 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": ";\n; Copyright © 2013 Sebastian Hoß <mail@shoss.de>\n; This work is free. You can redi",
"end": 34,
"score": 0.9998759031295776,
"start": 21,
"tag": "NAME",
"value": "Sebastian Hoß"
},
{
"context": ";\n; Copyright © 2013 Sebastian Hoß <mail@shoss.de>\n; This work is fre... | src/test/clojure/finj/root_finding_test.clj | sebhoss/finj | 30 | ;
; Copyright © 2013 Sebastian Hoß <mail@shoss.de>
; This work is free. You can redistribute it and/or modify it under the
; terms of the Do What The Fuck You Want To Public License, Version 2,
; as published by Sam Hocevar. See http://www.wtfpl.net/ for more details.
;
(ns finj.root-finding-test
(:require [finj.roo... | 120984 | ;
; Copyright © 2013 <NAME> <<EMAIL>>
; This work is free. You can redistribute it and/or modify it under the
; terms of the Do What The Fuck You Want To Public License, Version 2,
; as published by Sam Hocevar. See http://www.wtfpl.net/ for more details.
;
(ns finj.root-finding-test
(:require [finj.root-finding :re... | true | ;
; Copyright © 2013 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
; This work is free. You can redistribute it and/or modify it under the
; terms of the Do What The Fuck You Want To Public License, Version 2,
; as published by Sam Hocevar. See http://www.wtfpl.net/ for more details.
;
(ns finj.root-finding-test
(:r... |
[
{
"context": "ash :as hash]))\n\n;; Streaming Merkle Root\n\n;; from Luke Champine's Paper: \n;; \"Streaming Merkle Proofs within B",
"end": 104,
"score": 0.9994810223579407,
"start": 91,
"tag": "NAME",
"value": "Luke Champine"
}
] | src/merkl/root.clj | mchampine/merkl | 4 | (ns merkl.root
(:require [buddy.core.hash :as hash]))
;; Streaming Merkle Root
;; from Luke Champine's Paper:
;; "Streaming Merkle Proofs within Binary Numeral Trees"
;; https://eprint.iacr.org/2021/038.pdf
;; utils
;; More compact display of byte arrays (hash function output)
(defn ba->hex [s] (apply str ... | 47653 | (ns merkl.root
(:require [buddy.core.hash :as hash]))
;; Streaming Merkle Root
;; from <NAME>'s Paper:
;; "Streaming Merkle Proofs within Binary Numeral Trees"
;; https://eprint.iacr.org/2021/038.pdf
;; utils
;; More compact display of byte arrays (hash function output)
(defn ba->hex [s] (apply str (map #(... | true | (ns merkl.root
(:require [buddy.core.hash :as hash]))
;; Streaming Merkle Root
;; from PI:NAME:<NAME>END_PI's Paper:
;; "Streaming Merkle Proofs within Binary Numeral Trees"
;; https://eprint.iacr.org/2021/038.pdf
;; utils
;; More compact display of byte arrays (hash function output)
(defn ba->hex [s] (app... |
[
{
"context": " :prize 200\n :winner \"Jeff\"}\n {:year 1998\n ",
"end": 543,
"score": 0.9993597269058228,
"start": 539,
"tag": "NAME",
"value": "Jeff"
},
{
"context": " :prize 400\n :winner \"Jef... | src/the_bet/core.cljs | dfornika/the_bet | 0 | (ns the-bet.core
(:require-macros [cljs.core.async.macros :refer [go]])
(:require [reagent.core :as r]
[reagent.dom :as rdom]
[cljs-http.client :as http]
[cljs.core.async :refer [<!]]
[clojure.pprint :as pprint]
[goog.string :as gstring]
... | 28717 | (ns the-bet.core
(:require-macros [cljs.core.async.macros :refer [go]])
(:require [reagent.core :as r]
[reagent.dom :as rdom]
[cljs-http.client :as http]
[cljs.core.async :refer [<!]]
[clojure.pprint :as pprint]
[goog.string :as gstring]
... | true | (ns the-bet.core
(:require-macros [cljs.core.async.macros :refer [go]])
(:require [reagent.core :as r]
[reagent.dom :as rdom]
[cljs-http.client :as http]
[cljs.core.async :refer [<!]]
[clojure.pprint :as pprint]
[goog.string :as gstring]
... |
[
{
"context": "; Albert Cardona 20080427 at MPI-CBG Dresden FIJI hackathon.\n\n(imp",
"end": 16,
"score": 0.999850332736969,
"start": 2,
"tag": "NAME",
"value": "Albert Cardona"
}
] | plugins/Examples/random_noise_example.clj | fiji/fiji-historical | 0 | ; Albert Cardona 20080427 at MPI-CBG Dresden FIJI hackathon.
(import '(ij.process ByteProcessor)
'(ij ImagePlus)
'(java.awt.image IndexColorModel)
'(java.util Random))
; A closure over a new instance of Random,
; used in an inner function that generates random bytes
(let [rand (new Random)]
(defn rand-byte []
(... | 94609 | ; <NAME> 20080427 at MPI-CBG Dresden FIJI hackathon.
(import '(ij.process ByteProcessor)
'(ij ImagePlus)
'(java.awt.image IndexColorModel)
'(java.util Random))
; A closure over a new instance of Random,
; used in an inner function that generates random bytes
(let [rand (new Random)]
(defn rand-byte []
(byte (- ... | true | ; PI:NAME:<NAME>END_PI 20080427 at MPI-CBG Dresden FIJI hackathon.
(import '(ij.process ByteProcessor)
'(ij ImagePlus)
'(java.awt.image IndexColorModel)
'(java.util Random))
; A closure over a new instance of Random,
; used in an inner function that generates random bytes
(let [rand (new Random)]
(defn rand-byte... |
[
{
"context": "base\n :user {:name \"test\"\n :password \"pwd\"}})\n\n(def config-2\n {:target-type :virtualbox\n ",
"end": 1091,
"score": 0.9994249939918518,
"start": 1088,
"tag": "PASSWORD",
"value": "pwd"
},
{
"context": "fice\n :user {:name \"test\"\n :pa... | test/src/dda/pallet/dda_managed_vm/domain_test.clj | DomainDrivenArchitecture/dda-managed-vm | 5 | ; Licensed to the Apache Software Foundation (ASF) under one
; or more contributor license agreements. See the NOTICE file
; distributed with this work for additional information
; regarding copyright ownership. The ASF licenses this file
; to you under the Apache License, Version 2.0 (the
; "License"); you may not use... | 3255 | ; Licensed to the Apache Software Foundation (ASF) under one
; or more contributor license agreements. See the NOTICE file
; distributed with this work for additional information
; regarding copyright ownership. The ASF licenses this file
; to you under the Apache License, Version 2.0 (the
; "License"); you may not use... | true | ; Licensed to the Apache Software Foundation (ASF) under one
; or more contributor license agreements. See the NOTICE file
; distributed with this work for additional information
; regarding copyright ownership. The ASF licenses this file
; to you under the Apache License, Version 2.0 (the
; "License"); you may not use... |
[
{
"context": "er-key\n :username username}}])\n [{:fx/type :menu-item\n ",
"end": 3722,
"score": 0.9931269288063049,
"start": 3714,
"tag": "USERNAME",
"value": "username"
},
{
"context": "nel-name\n ... | src/clj/skylobby/fx/players_table.clj | MasterBel2/skylobby | 0 | (ns skylobby.fx.players-table
(:require
[clojure.string :as string]
[skylobby.color :as color]
[skylobby.fx.ext :refer [ext-recreate-on-key-changed ext-table-column-auto-size]]
[skylobby.fx.flag-icon :as flag-icon]
[spring-lobby.fx.font-icon :as font-icon]
[spring-lobby.util :as u]
[taoens... | 116183 | (ns skylobby.fx.players-table
(:require
[clojure.string :as string]
[skylobby.color :as color]
[skylobby.fx.ext :refer [ext-recreate-on-key-changed ext-table-column-auto-size]]
[skylobby.fx.flag-icon :as flag-icon]
[spring-lobby.fx.font-icon :as font-icon]
[spring-lobby.util :as u]
[taoens... | true | (ns skylobby.fx.players-table
(:require
[clojure.string :as string]
[skylobby.color :as color]
[skylobby.fx.ext :refer [ext-recreate-on-key-changed ext-table-column-auto-size]]
[skylobby.fx.flag-icon :as flag-icon]
[spring-lobby.fx.font-icon :as font-icon]
[spring-lobby.util :as u]
[taoens... |
[
{
"context": "(layout/inform-admin-of-first-use\n \"Hello Admin!\"\n [:div\n [:p \"It looks like t",
"end": 3761,
"score": 0.7294742465019226,
"start": 3756,
"tag": "NAME",
"value": "Admin"
},
{
"context": "llows, log in\n with the user name... | src/clj/cwiki/routes/home.clj | clartaq/cwiki | 3 | (ns cwiki.routes.home
(:require [cemerick.url :as url]
[clojure.string :as s]
[compojure.core :refer :all]
[compojure.response :as response]
[cwiki.layouts.base :as layout]
[cwiki.models.wiki-db :as db]
[cwiki.util.files :as files]
[c... | 9580 | (ns cwiki.routes.home
(:require [cemerick.url :as url]
[clojure.string :as s]
[compojure.core :refer :all]
[compojure.response :as response]
[cwiki.layouts.base :as layout]
[cwiki.models.wiki-db :as db]
[cwiki.util.files :as files]
[c... | true | (ns cwiki.routes.home
(:require [cemerick.url :as url]
[clojure.string :as s]
[compojure.core :refer :all]
[compojure.response :as response]
[cwiki.layouts.base :as layout]
[cwiki.models.wiki-db :as db]
[cwiki.util.files :as files]
[c... |
[
{
"context": "; Copyright 2017 Frederic Merizen\n;\n; Licensed under the Apache License, Version 2.",
"end": 33,
"score": 0.9998480081558228,
"start": 17,
"tag": "NAME",
"value": "Frederic Merizen"
},
{
"context": "Script.\"\n :url \"https://github.com/plumula/diff\"\n... | build.boot | plumula/diff | 1 | ; Copyright 2017 Frederic Merizen
;
; 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,... | 19165 | ; Copyright 2017 <NAME>
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writing, software
... | true | ; Copyright 2017 PI:NAME:<NAME>END_PI
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writ... |
[
{
"context": ":hand]}]\n :player-ids [\"john\" \"jihn\"]} \"john\"))\n\n ; Tie\n (expect\n \"\"\n ",
"end": 3484,
"score": 0.8369266390800476,
"start": 3480,
"tag": "USERNAME",
"value": "john"
},
{
"context": "]\n :player-id... | test/api/player_view_functions_test.clj | doner-kebard/card-game-backend | 1 | (ns api.player-view-functions-test
(:require [expectations.clojure.test :refer :all]
[api.player-view-functions :as functions]
[configs.messages :as messages]))
(defexpect get-cards
; Gives cards as seen by a player
(expect
[{:location [:hand] :owner "opp"}
{:card-name "second... | 13977 | (ns api.player-view-functions-test
(:require [expectations.clojure.test :refer :all]
[api.player-view-functions :as functions]
[configs.messages :as messages]))
(defexpect get-cards
; Gives cards as seen by a player
(expect
[{:location [:hand] :owner "opp"}
{:card-name "second... | true | (ns api.player-view-functions-test
(:require [expectations.clojure.test :refer :all]
[api.player-view-functions :as functions]
[configs.messages :as messages]))
(defexpect get-cards
; Gives cards as seen by a player
(expect
[{:location [:hand] :owner "opp"}
{:card-name "second... |
[
{
"context": "dleware - Info\"\n (let [msg [\"Hello\" \"Bob!\"]\n appender-data {:level :info :vargs m",
"end": 8363,
"score": 0.9996926784515381,
"start": 8360,
"tag": "NAME",
"value": "Bob"
},
{
"context": "leware - Error\"\n (let [msg [\"Hello\" ... | test/clj/epsilon/core_test.clj | aratare-tech/altio-core | 2 | (ns epsilon.core-test
(:require [clojure.test :refer :all]
[epsilon.core :refer :all]
[expectations.clojure.test :refer :all]
[spy.core :as s]
[spy.core :as spy]
[taoensso.timbre :as log]))
(defexpect cli-options-test
(testing "Normal CLI options - genera... | 29038 | (ns epsilon.core-test
(:require [clojure.test :refer :all]
[epsilon.core :refer :all]
[expectations.clojure.test :refer :all]
[spy.core :as s]
[spy.core :as spy]
[taoensso.timbre :as log]))
(defexpect cli-options-test
(testing "Normal CLI options - genera... | true | (ns epsilon.core-test
(:require [clojure.test :refer :all]
[epsilon.core :refer :all]
[expectations.clojure.test :refer :all]
[spy.core :as s]
[spy.core :as spy]
[taoensso.timbre :as log]))
(defexpect cli-options-test
(testing "Normal CLI options - genera... |
[
{
"context": "\n(def icache-version 1)\n\n(def icache-disable-key :sctools/disable-icache)\n\n(defn -icache-disabled? []\n (local-storage/get",
"end": 457,
"score": 0.748845100402832,
"start": 435,
"tag": "KEY",
"value": "sctools/disable-icache"
}
] | src/sctools/studio/cache.cljs | zytedata/sctools | 3 | (ns sctools.studio.cache
(:require [cljs.cache :as cache]
[applied-science.js-interop :as j]
[sctools.utils.indexeddb :as idb]
[sctools.utils.local-storage :as local-storage]
[kitchen-async.promise :as p]))
(defonce infos-cache
(atom (cache/lru-cache-factory {} :thre... | 35162 | (ns sctools.studio.cache
(:require [cljs.cache :as cache]
[applied-science.js-interop :as j]
[sctools.utils.indexeddb :as idb]
[sctools.utils.local-storage :as local-storage]
[kitchen-async.promise :as p]))
(defonce infos-cache
(atom (cache/lru-cache-factory {} :thre... | true | (ns sctools.studio.cache
(:require [cljs.cache :as cache]
[applied-science.js-interop :as j]
[sctools.utils.indexeddb :as idb]
[sctools.utils.local-storage :as local-storage]
[kitchen-async.promise :as p]))
(defonce infos-cache
(atom (cache/lru-cache-factory {} :thre... |
[
{
"context": ";;\n;;\n;; Copyright 2014-2015 Netflix, Inc.\n;;\n;; Licensed under the Apache Lic",
"end": 33,
"score": 0.9631727337837219,
"start": 30,
"tag": "NAME",
"value": "Net"
}
] | pigpen-avro/src/main/clojure/pigpen/avro/core.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 ... | 61385 | ;;
;;
;; Copyright 2014-2015 <NAME>flix, Inc.
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless requir... | true | ;;
;;
;; Copyright 2014-2015 PI:NAME:<NAME>END_PIflix, Inc.
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; ... |
[
{
"context": "]\n :empty-cache? true}\n #{{:user/name \"Joe\" :user/account {id-attr (resolve-id -1)}}\n ",
"end": 11351,
"score": 0.973621129989624,
"start": 11348,
"tag": "NAME",
"value": "Joe"
},
{
"context": "t {id-attr (resolve-id -1)}}\n {:user/name \"Je... | src/test/workflo/query_engine/data_layer/no_authorization_common_test.cljc | workfloapp/query-engine | 0 | (ns workflo.query-engine.data-layer.no-authorization-common-test
(:require [clojure.test :refer [are deftest]]
[workflo.macros.entity :as e]
[workflo.query-engine.data-layer :as data-layer]))
(defn test-fetch-one
[{:keys [connect db db-config data-layer transact resolve-tempid
ne... | 83203 | (ns workflo.query-engine.data-layer.no-authorization-common-test
(:require [clojure.test :refer [are deftest]]
[workflo.macros.entity :as e]
[workflo.query-engine.data-layer :as data-layer]))
(defn test-fetch-one
[{:keys [connect db db-config data-layer transact resolve-tempid
ne... | true | (ns workflo.query-engine.data-layer.no-authorization-common-test
(:require [clojure.test :refer [are deftest]]
[workflo.macros.entity :as e]
[workflo.query-engine.data-layer :as data-layer]))
(defn test-fetch-one
[{:keys [connect db db-config data-layer transact resolve-tempid
ne... |
[
{
"context": ";; Copyright (c) Rich Hickey. All rights reserved.\n;; The use and distribution",
"end": 28,
"score": 0.999839723110199,
"start": 17,
"tag": "NAME",
"value": "Rich Hickey"
}
] | server/target/cljs/repl.clj | OctavioBR/healthcheck | 0 | ;; Copyright (c) Rich Hickey. All rights reserved.
;; The use and distribution terms for this software are covered by the
;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
;; which can be found in the file epl-v10.html at the root of this distribution.
;; By using this software in any fashi... | 13720 | ;; 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 fashion, y... | true | ;; Copyright (c) PI:NAME:<NAME>END_PI. All rights reserved.
;; The use and distribution terms for this software are covered by the
;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
;; which can be found in the file epl-v10.html at the root of this distribution.
;; By using this software in ... |
[
{
"context": "client ip address.\"\n\n :url\n \"https://github.com/rutledgepaulv/ring-firewall-middleware\"\n\n :license\n {:name \"M",
"end": 203,
"score": 0.699113130569458,
"start": 190,
"tag": "USERNAME",
"value": "rutledgepaulv"
},
{
"context": " :scm\n {:name \"git\" :url... | project.clj | RutledgePaulV/ring-firewall-middleware | 13 | (defproject org.clojars.rutledgepaulv/ring-firewall-middleware "0.1.7-SNAPSHOT"
:description
"A library for filtering ring requests by client ip address."
:url
"https://github.com/rutledgepaulv/ring-firewall-middleware"
:license
{:name "MIT License" :url "http://opensource.org/licenses/MIT" :year 2020 :k... | 125125 | (defproject org.clojars.rutledgepaulv/ring-firewall-middleware "0.1.7-SNAPSHOT"
:description
"A library for filtering ring requests by client ip address."
:url
"https://github.com/rutledgepaulv/ring-firewall-middleware"
:license
{:name "MIT License" :url "http://opensource.org/licenses/MIT" :year 2020 :k... | true | (defproject org.clojars.rutledgepaulv/ring-firewall-middleware "0.1.7-SNAPSHOT"
:description
"A library for filtering ring requests by client ip address."
:url
"https://github.com/rutledgepaulv/ring-firewall-middleware"
:license
{:name "MIT License" :url "http://opensource.org/licenses/MIT" :year 2020 :k... |
[
{
"context": " update-fn #(ca/put! ch %)\n name \"Alice\"\n user-id \"123\"\n sub-map '{id",
"end": 2027,
"score": 0.9987119436264038,
"start": 2022,
"tag": "NAME",
"value": "Alice"
},
{
"context": " expected '{id \"123\"\n na... | test/unit/state_subscription_test.cljc | Oncurrent/zeno | 0 | (ns unit.state-subscription-test
(:require
[clojure.core.async :as ca]
[clojure.test :as t :refer [deftest is]]
[deercreeklabs.async-utils :as au]
[com.oncurrent.zeno.client :as zc]
[com.oncurrent.zeno.client.state-subscriptions :as state-subscriptions]
[com.oncurrent.zeno.utils :as u]
#?(:clj ka... | 79153 | (ns unit.state-subscription-test
(:require
[clojure.core.async :as ca]
[clojure.test :as t :refer [deftest is]]
[deercreeklabs.async-utils :as au]
[com.oncurrent.zeno.client :as zc]
[com.oncurrent.zeno.client.state-subscriptions :as state-subscriptions]
[com.oncurrent.zeno.utils :as u]
#?(:clj ka... | true | (ns unit.state-subscription-test
(:require
[clojure.core.async :as ca]
[clojure.test :as t :refer [deftest is]]
[deercreeklabs.async-utils :as au]
[com.oncurrent.zeno.client :as zc]
[com.oncurrent.zeno.client.state-subscriptions :as state-subscriptions]
[com.oncurrent.zeno.utils :as u]
#?(:clj ka... |
[
{
"context": "ort] 3000)\n (set-param! [:service :queue :host] \"5.9.51.150\")\n (set-param! [:service :logstash :host] \"5.9.5",
"end": 4101,
"score": 0.9995576739311218,
"start": 4091,
"tag": "IP_ADDRESS",
"value": "5.9.51.150"
},
{
"context": "1.150\")\n (set-param! [:service :... | src/cayenne/conf.clj | CrossRef/cayenne | 11 | (ns cayenne.conf
(:import [org.apache.solr.client.solrj.impl HttpSolrClient]
[java.net URI]
[java.util UUID]
[java.util.concurrent Executors])
(:use [clojure.core.incubator :only [dissoc-in]])
(:require [cayenne.version]
[clojure.data.json :as json]
[clojur... | 40322 | (ns cayenne.conf
(:import [org.apache.solr.client.solrj.impl HttpSolrClient]
[java.net URI]
[java.util UUID]
[java.util.concurrent Executors])
(:use [clojure.core.incubator :only [dissoc-in]])
(:require [cayenne.version]
[clojure.data.json :as json]
[clojur... | true | (ns cayenne.conf
(:import [org.apache.solr.client.solrj.impl HttpSolrClient]
[java.net URI]
[java.util UUID]
[java.util.concurrent Executors])
(:use [clojure.core.incubator :only [dissoc-in]])
(:require [cayenne.version]
[clojure.data.json :as json]
[clojur... |
[
{
"context": "GH\"},\n :requestParameters {:sourceIPAddress \"127.0.0.1\"},\n :userIdentity {:principalId \"EXAMPL",
"end": 1020,
"score": 0.9996528625488281,
"start": 1011,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": ".0.0.1\"},\n :userIdentity ... | test/lambda/s3_test.clj | raiffeisenbankinternational/edd-core | 4 | (ns lambda.s3-test
(:require
[lambda.util :as util]
[lambda.core :refer [handle-request]]
[clojure.string :as str]
[lambda.util :refer [to-edn]]
[lambda.filters :as fl]
[lambda.uuid :as uuid]
[lambda.core :as core]
[lambda.util :as util]
[lambda.test.fixture.core :refer [mock-core]]
[lam... | 109293 | (ns lambda.s3-test
(:require
[lambda.util :as util]
[lambda.core :refer [handle-request]]
[clojure.string :as str]
[lambda.util :refer [to-edn]]
[lambda.filters :as fl]
[lambda.uuid :as uuid]
[lambda.core :as core]
[lambda.util :as util]
[lambda.test.fixture.core :refer [mock-core]]
[lam... | true | (ns lambda.s3-test
(:require
[lambda.util :as util]
[lambda.core :refer [handle-request]]
[clojure.string :as str]
[lambda.util :refer [to-edn]]
[lambda.filters :as fl]
[lambda.uuid :as uuid]
[lambda.core :as core]
[lambda.util :as util]
[lambda.test.fixture.core :refer [mock-core]]
[lam... |
[
{
"context": "iscope formed the basis of all that was to come. - Ted Chiang, Exhalation\"\n [my-text]\n ((eval (read-string my",
"end": 1479,
"score": 0.9995771646499634,
"start": 1469,
"tag": "NAME",
"value": "Ted Chiang"
}
] | doiwritemyself.clj | notkrd/doiwritemyself | 0 | (ns i-write-myself
(:require [clojure.string :refer [includes?]]))
(defn i-write-myself?
"Spinoza knew that all things long to persist in their being; the stone eternally wants to be a stone and the tiger a tiger. I shall remain in Borges, not in myself (if it is true that I am someone), but I recognize myself l... | 20370 | (ns i-write-myself
(:require [clojure.string :refer [includes?]]))
(defn i-write-myself?
"Spinoza knew that all things long to persist in their being; the stone eternally wants to be a stone and the tiger a tiger. I shall remain in Borges, not in myself (if it is true that I am someone), but I recognize myself l... | true | (ns i-write-myself
(:require [clojure.string :refer [includes?]]))
(defn i-write-myself?
"Spinoza knew that all things long to persist in their being; the stone eternally wants to be a stone and the tiger a tiger. I shall remain in Borges, not in myself (if it is true that I am someone), but I recognize myself l... |
[
{
"context": "\n [mycelia]\n (let [this-fungi {\n :name \"Boletus Titanus\"\n :environment {\n :temperature {:low",
"end": 1411,
"score": 0.8464563488960266,
"start": 1396,
"tag": "NAME",
"value": "Boletus Titanus"
}
] | clj/mshm/src/mshm/core.clj | quzma/mshm | 0 | (ns mshm.core
(:require
[clojure.math.numeric-tower :as math]
)
(:gen-class))
(use 'mshm.data)
(use 'mshm.here)
(defn calculate-env-score
[current low optima high]
(cond
(< (math/abs (- optima current)) 1) 1000
(and (> current low) (< current optima)) (* (/ (- optima low) (- optima current))... | 65443 | (ns mshm.core
(:require
[clojure.math.numeric-tower :as math]
)
(:gen-class))
(use 'mshm.data)
(use 'mshm.here)
(defn calculate-env-score
[current low optima high]
(cond
(< (math/abs (- optima current)) 1) 1000
(and (> current low) (< current optima)) (* (/ (- optima low) (- optima current))... | true | (ns mshm.core
(:require
[clojure.math.numeric-tower :as math]
)
(:gen-class))
(use 'mshm.data)
(use 'mshm.here)
(defn calculate-env-score
[current low optima high]
(cond
(< (math/abs (- optima current)) 1) 1000
(and (> current low) (< current optima)) (* (/ (- optima low) (- optima current))... |
[
{
"context": ";; Copyright © 2015-2020 Esko Luontola\n;; This software is released under the Apache Lic",
"end": 38,
"score": 0.9998862743377686,
"start": 25,
"tag": "NAME",
"value": "Esko Luontola"
}
] | test/territory_bro/infra/poller_test.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-test
(:require [clojure.string :as str]
[clojure.test :refer :all]
[territory-bro.infra.poller ... | 79905 | ;; 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-test
(:require [clojure.string :as str]
[clojure.test :refer :all]
[territory-bro.infra.poller :as pol... | 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-test
(:require [clojure.string :as str]
[clojure.test :refer :all]
[territory-bro.infra.... |
[
{
"context": "j -- part of the pretty printer for Clojure\n\n;; by Tom Faulhaber\n;; April 3, 2009\n\n; Copyright (c) Tom Faulhaber",
"end": 77,
"score": 0.9998817443847656,
"start": 64,
"tag": "NAME",
"value": "Tom Faulhaber"
},
{
"context": " Tom Faulhaber\n;; April 3, 2009\n\n; ... | ThirdParty/clojure-contrib-1.1.0/src/clojure/contrib/test_contrib/pprint/helper.clj | allertonm/Couverjure | 3 | ;;; helper.clj -- part of the pretty printer for Clojure
;; by Tom Faulhaber
;; April 3, 2009
; Copyright (c) Tom Faulhaber, April 2009. 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)
; wh... | 103230 | ;;; helper.clj -- part of the pretty printer for Clojure
;; by <NAME>
;; April 3, 2009
; Copyright (c) <NAME>, April 2009. 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 fou... | true | ;;; helper.clj -- part of the pretty printer for Clojure
;; by PI:NAME:<NAME>END_PI
;; April 3, 2009
; Copyright (c) PI:NAME:<NAME>END_PI, April 2009. 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... |
[
{
"context": "(get-n-users (d/db conn))))\n\n (add-user! conn \"jdoe\" \"John\" \"Doe\")\n\n (try\n (add-user! conn \"\"",
"end": 1035,
"score": 0.994415819644928,
"start": 1031,
"tag": "USERNAME",
"value": "jdoe"
},
{
"context": "users (d/db conn))))\n\n (add-user! con... | test/db_fns_test.clj | mrwrite/datomic-examples | 0 | (ns db-fns-test
(:require [clojure.test :refer :all]
[datomic.api :as d]
[db-fns :refer :all]))
(defn make-db []
(let [url "datomic:mem://test"]
(d/delete-database url)
(d/create-database url)
(let [conn (d/connect url)
schema (load-file "resources/datomic/schema.edn")... | 124073 | (ns db-fns-test
(:require [clojure.test :refer :all]
[datomic.api :as d]
[db-fns :refer :all]))
(defn make-db []
(let [url "datomic:mem://test"]
(d/delete-database url)
(d/create-database url)
(let [conn (d/connect url)
schema (load-file "resources/datomic/schema.edn")... | true | (ns db-fns-test
(:require [clojure.test :refer :all]
[datomic.api :as d]
[db-fns :refer :all]))
(defn make-db []
(let [url "datomic:mem://test"]
(d/delete-database url)
(d/create-database url)
(let [conn (d/connect url)
schema (load-file "resources/datomic/schema.edn")... |
[
{
"context": ";; Copyright 2014-2020 King\n;; Copyright 2009-2014 Ragnar Svensson, Christian Murray\n;; Licensed under the Defold Li",
"end": 111,
"score": 0.9998113512992859,
"start": 96,
"tag": "NAME",
"value": "Ragnar Svensson"
},
{
"context": "-2020 King\n;; Copyright 2009-2014 R... | editor/test/integration/game_object_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... | 75492 | ;; 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": "(defn- package->mailto\n [package]\n (str \"mailto:jobs@clojurecademy.com?\"\n \"subject=Purchase%20\" (:name package) \"%",
"end": 825,
"score": 0.9999222755432129,
"start": 803,
"tag": "EMAIL",
"value": "jobs@clojurecademy.com"
},
{
"context": "ion%20Instructi... | src/clj/clojurecademy/view/clojure_jobs.clj | harunpehlivan/clojurecademy | 0 | (ns clojurecademy.view.clojure-jobs
(:require [hiccup.page :refer [include-js include-css html5]]
[hiccup.core :as hiccup]
[clojurecademy.view.common :as view.common]
[clojurecademy.util.config :as conf]
[kezban.core :refer :all]))
;;TODO Don't forget to change full-ht... | 59308 | (ns clojurecademy.view.clojure-jobs
(:require [hiccup.page :refer [include-js include-css html5]]
[hiccup.core :as hiccup]
[clojurecademy.view.common :as view.common]
[clojurecademy.util.config :as conf]
[kezban.core :refer :all]))
;;TODO Don't forget to change full-ht... | true | (ns clojurecademy.view.clojure-jobs
(:require [hiccup.page :refer [include-js include-css html5]]
[hiccup.core :as hiccup]
[clojurecademy.view.common :as view.common]
[clojurecademy.util.config :as conf]
[kezban.core :refer :all]))
;;TODO Don't forget to change full-ht... |
[
{
"context": "erson [firstname lastname])\n (def fred (Person. \"Fred\" \"Mertz\"))\n (assert (= (:firstname fred) \"Fred\")",
"end": 49521,
"score": 0.9997084140777588,
"start": 49517,
"tag": "NAME",
"value": "Fred"
},
{
"context": "firstname lastname])\n (def fred (Person. \"Fre... | ext/clojure-clojurescript-bef56a7/test/cljs/cljs/core_test.cljs | yokolet/clementine | 35 | (ns cljs.core-test)
(defn test-stuff []
;; js primitives
(let [keys #(vec (js-keys %))]
(assert (= [] (keys (js-obj)) (keys (apply js-obj []))))
(assert (= ["x"] (keys (js-obj "x" "y")) (keys (apply js-obj ["x" "y"])))))
;; -equiv
(assert (= 1))
(assert (= 1 1))
(assert (= 1 1 1))
(assert (= 1 1... | 115316 | (ns cljs.core-test)
(defn test-stuff []
;; js primitives
(let [keys #(vec (js-keys %))]
(assert (= [] (keys (js-obj)) (keys (apply js-obj []))))
(assert (= ["x"] (keys (js-obj "x" "y")) (keys (apply js-obj ["x" "y"])))))
;; -equiv
(assert (= 1))
(assert (= 1 1))
(assert (= 1 1 1))
(assert (= 1 1... | true | (ns cljs.core-test)
(defn test-stuff []
;; js primitives
(let [keys #(vec (js-keys %))]
(assert (= [] (keys (js-obj)) (keys (apply js-obj []))))
(assert (= ["x"] (keys (js-obj "x" "y")) (keys (apply js-obj ["x" "y"])))))
;; -equiv
(assert (= 1))
(assert (= 1 1))
(assert (= 1 1 1))
(assert (= 1 1... |
[
{
"context": "ttachments attachments\n :reviewer reviewer}\n {:description description\n ",
"end": 2192,
"score": 0.5922220945358276,
"start": 2184,
"tag": "USERNAME",
"value": "reviewer"
},
{
"context": " :decide... | src/cljs/rems/actions/invite_decider_reviewer.cljs | ossilva/rems | 31 | (ns rems.actions.invite-decider-reviewer
(:require [re-frame.core :as rf]
[rems.actions.components :refer [action-attachment action-link action-form-view button-wrapper command!
comment-field email-field name-field]]
[rems.flash-message :as flash-me... | 58795 | (ns rems.actions.invite-decider-reviewer
(:require [re-frame.core :as rf]
[rems.actions.components :refer [action-attachment action-link action-form-view button-wrapper command!
comment-field email-field name-field]]
[rems.flash-message :as flash-me... | true | (ns rems.actions.invite-decider-reviewer
(:require [re-frame.core :as rf]
[rems.actions.components :refer [action-attachment action-link action-form-view button-wrapper command!
comment-field email-field name-field]]
[rems.flash-message :as flash-me... |
[
{
"context": "e)\n _ (do\n (println \"I'm sorry Dave. I cannot allow you to do that.\")\n a",
"end": 9902,
"score": 0.997622013092041,
"start": 9898,
"tag": "NAME",
"value": "Dave"
}
] | Clojure/game.clj | wilsonandusa/wilsonwu | 0 | (ns adventure.core
(:require [clojure.core.match :refer [match]]
[clojure.string :as str])
(:gen-class))
(def the-map
{:foyer {:desc "The walls are freshly painted but do not have
any pictures. You get the feeling it was just
created for some game or something."
... | 20570 | (ns adventure.core
(:require [clojure.core.match :refer [match]]
[clojure.string :as str])
(:gen-class))
(def the-map
{:foyer {:desc "The walls are freshly painted but do not have
any pictures. You get the feeling it was just
created for some game or something."
... | true | (ns adventure.core
(:require [clojure.core.match :refer [match]]
[clojure.string :as str])
(:gen-class))
(def the-map
{:foyer {:desc "The walls are freshly painted but do not have
any pictures. You get the feeling it was just
created for some game or something."
... |
[
{
"context": "ions and limitations there under.\n\n;;;; Author: Alex Dean (mailto:support@snowplowanalytics.com)\n;;;; Copyr",
"end": 744,
"score": 0.9998417496681213,
"start": 735,
"tag": "NAME",
"value": "Alex Dean"
},
{
"context": "s there under.\n\n;;;; Author: Alex Dean (m... | 2-collectors/clojure-collector/java-servlet/src/snowplow/clojure_collector/core.clj | omenocal/snowplow | 84 | ;;;; Copyright (c) 2012-2013 Snowplow Analytics Ltd. All rights reserved.
;;;;
;;;; This program is licensed to you under the Apache License Version 2.0,
;;;; and you may not use this file except in compliance with the Apache License Version 2.0.
;;;; You may obtain a copy of the Apache License Version 2.0 at http://ww... | 23446 | ;;;; Copyright (c) 2012-2013 Snowplow Analytics Ltd. All rights reserved.
;;;;
;;;; This program is licensed to you under the Apache License Version 2.0,
;;;; and you may not use this file except in compliance with the Apache License Version 2.0.
;;;; You may obtain a copy of the Apache License Version 2.0 at http://ww... | true | ;;;; Copyright (c) 2012-2013 Snowplow Analytics Ltd. All rights reserved.
;;;;
;;;; This program is licensed to you under the Apache License Version 2.0,
;;;; and you may not use this file except in compliance with the Apache License Version 2.0.
;;;; You may obtain a copy of the Apache License Version 2.0 at http://ww... |
[
{
"context": " \"Testing flow control constructs.\"\n\n {:author \"Adam Helinski\"}\n\n (:require [clojure.string]\n [cloj",
"end": 91,
"score": 0.9984082579612732,
"start": 78,
"tag": "NAME",
"value": "Adam Helinski"
},
{
"context": "s\n\n\n;; TODO. Fails because of: h... | project/break/src/clj/test/convex/test/break/ctrl.clj | rosejn/convex.cljc | 30 | (ns convex.test.break.ctrl
"Testing flow control constructs."
{:author "Adam Helinski"}
(:require [clojure.string]
[clojure.test.check.generators :as TC.gen]
[clojure.test.check.properties :as TC.prop]
[convex.break]
[convex.cvm :as $.cvm]
... | 68247 | (ns convex.test.break.ctrl
"Testing flow control constructs."
{:author "<NAME>"}
(:require [clojure.string]
[clojure.test.check.generators :as TC.gen]
[clojure.test.check.properties :as TC.prop]
[convex.break]
[convex.cvm :as $.cvm]
... | true | (ns convex.test.break.ctrl
"Testing flow control constructs."
{:author "PI:NAME:<NAME>END_PI"}
(:require [clojure.string]
[clojure.test.check.generators :as TC.gen]
[clojure.test.check.properties :as TC.prop]
[convex.break]
[convex.cvm :as $.cv... |
[
{
"context": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n; Copyright 2015 Xebia B.V.\n;\n; Licensed under the Apache License, Version 2",
"end": 107,
"score": 0.9945396780967712,
"start": 98,
"tag": "NAME",
"value": "Xebia B.V"
}
] | src/test/clojure/com/xebia/visualreview/test_util.clj | andstepanuk/VisualReview | 290 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright 2015 Xebia B.V.
;
; 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/licen... | 16344 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright 2015 <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... | true | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright 2015 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.apach... |
[
{
"context": "let [payload {:id \"proj1\"\n :name \"foo\"\n :url \"baz\"}]\n (testing \"",
"end": 400,
"score": 0.7297469973564148,
"start": 397,
"tag": "NAME",
"value": "foo"
}
] | test/bob/routes/app_routes_test.clj | lyeung/bob-clj | 0 | (ns bob.routes.app-routes-test
(:require [bob.core :as core]
[bob.db.core :as dbcore]
[bob.db.init-db-fixture :as db-fixture]
[clojure.data.json :as json]
[clojure.test :refer :all]
[ring.mock.request :as mock]))
(use-fixtures :once db-fixture/init-db)
(de... | 34180 | (ns bob.routes.app-routes-test
(:require [bob.core :as core]
[bob.db.core :as dbcore]
[bob.db.init-db-fixture :as db-fixture]
[clojure.data.json :as json]
[clojure.test :refer :all]
[ring.mock.request :as mock]))
(use-fixtures :once db-fixture/init-db)
(de... | true | (ns bob.routes.app-routes-test
(:require [bob.core :as core]
[bob.db.core :as dbcore]
[bob.db.init-db-fixture :as db-fixture]
[clojure.data.json :as json]
[clojure.test :refer :all]
[ring.mock.request :as mock]))
(use-fixtures :once db-fixture/init-db)
(de... |
[
{
"context": "ed\n \"/password\" :password\n \"/services\" {\"\"",
"end": 5645,
"score": 0.8416494727134705,
"start": 5637,
"tag": "PASSWORD",
"value": "password"
}
] | ch16/swarmpit/src/cljc/swarmpit/routes.cljc | vincestorm/Docker-on-Amazon-Web-Services | 0 | (ns swarmpit.routes
(:require [bidi.bidi :as b]
[cemerick.url :refer [map->query]]
[clojure.string :as str]))
(def backend
["" {"/" {:get :index}
"/events" {:get :events
:post :event-push}
"/version" {:get :version}
"/... | 70883 | (ns swarmpit.routes
(:require [bidi.bidi :as b]
[cemerick.url :refer [map->query]]
[clojure.string :as str]))
(def backend
["" {"/" {:get :index}
"/events" {:get :events
:post :event-push}
"/version" {:get :version}
"/... | true | (ns swarmpit.routes
(:require [bidi.bidi :as b]
[cemerick.url :refer [map->query]]
[clojure.string :as str]))
(def backend
["" {"/" {:get :index}
"/events" {:get :events
:post :event-push}
"/version" {:get :version}
"/... |
[
{
"context": "-day))]\n (sql/insert-record :certnames {:name certname :deactivated yesterday})\n\n (testing \"sho",
"end": 24007,
"score": 0.8712210655212402,
"start": 24003,
"tag": "NAME",
"value": "cert"
}
] | test/com/puppetlabs/puppetdb/test/command.clj | atopian/puppetdb | 0 | (ns com.puppetlabs.puppetdb.test.command
(:require [fs.core :as fs]
[clojure.java.jdbc :as sql]
[cheshire.core :as json]
[com.puppetlabs.puppetdb.scf.storage :as scf-store]
[com.puppetlabs.puppetdb.catalogs :as catalog]
[com.puppetlabs.puppetdb.examples.repo... | 92416 | (ns com.puppetlabs.puppetdb.test.command
(:require [fs.core :as fs]
[clojure.java.jdbc :as sql]
[cheshire.core :as json]
[com.puppetlabs.puppetdb.scf.storage :as scf-store]
[com.puppetlabs.puppetdb.catalogs :as catalog]
[com.puppetlabs.puppetdb.examples.repo... | true | (ns com.puppetlabs.puppetdb.test.command
(:require [fs.core :as fs]
[clojure.java.jdbc :as sql]
[cheshire.core :as json]
[com.puppetlabs.puppetdb.scf.storage :as scf-store]
[com.puppetlabs.puppetdb.catalogs :as catalog]
[com.puppetlabs.puppetdb.examples.repo... |
[
{
"context": ":type \"password\" :name \"password\" :auto-complete \"new-password\"}]])\n\n\n(zrf/defview page\n []\n [:div\n [:div {:",
"end": 6028,
"score": 0.8328112959861755,
"start": 6016,
"tag": "PASSWORD",
"value": "new-password"
}
] | src-ui/app/users/form.cljc | HealthSamurai/stresty | 22 | (ns app.users.form
(:require
[zframes.re-frame :as zrf]
[anti.file]
[anti.input]
[anti.button]
[anti.radio]
[anti.native-select]
[app.routes :refer [href]]
[stylo.core :refer [c]]
[app.pages :as pages]
[clojure.string :as str]
[zf.core :as zf]
[re-frame.core :as rf]))
... | 19857 | (ns app.users.form
(:require
[zframes.re-frame :as zrf]
[anti.file]
[anti.input]
[anti.button]
[anti.radio]
[anti.native-select]
[app.routes :refer [href]]
[stylo.core :refer [c]]
[app.pages :as pages]
[clojure.string :as str]
[zf.core :as zf]
[re-frame.core :as rf]))
... | true | (ns app.users.form
(:require
[zframes.re-frame :as zrf]
[anti.file]
[anti.input]
[anti.button]
[anti.radio]
[anti.native-select]
[app.routes :refer [href]]
[stylo.core :refer [c]]
[app.pages :as pages]
[clojure.string :as str]
[zf.core :as zf]
[re-frame.core :as rf]))
... |
[
{
"context": " io]))\n\n(def test-port 5439)\n\n(def invited-email \"somewhere@somewhere.com\")\n(def invited-id \"10\")\n(def id-generation-fn (co",
"end": 800,
"score": 0.9998248815536499,
"start": 777,
"tag": "EMAIL",
"value": "somewhere@somewhere.com"
},
{
"context": " _admi... | test/stonecutter/browser/journey_test.clj | d-cent/stonecutter | 39 | (ns stonecutter.browser.journey-test
(:require [midje.sweet :refer :all]
[clj-webdriver.taxi :as wd]
[clojure.test :refer :all]
[ring.adapter.jetty :refer [run-jetty]]
[clj-webdriver.taxi :refer :all]
[stonecutter.handler :as h]
[stonecutter.conf... | 11745 | (ns stonecutter.browser.journey-test
(:require [midje.sweet :refer :all]
[clj-webdriver.taxi :as wd]
[clojure.test :refer :all]
[ring.adapter.jetty :refer [run-jetty]]
[clj-webdriver.taxi :refer :all]
[stonecutter.handler :as h]
[stonecutter.conf... | true | (ns stonecutter.browser.journey-test
(:require [midje.sweet :refer :all]
[clj-webdriver.taxi :as wd]
[clojure.test :refer :all]
[ring.adapter.jetty :refer [run-jetty]]
[clj-webdriver.taxi :refer :all]
[stonecutter.handler :as h]
[stonecutter.conf... |
[
{
"context": "to.\" (sut/greet '(\"Naoto\"))))\n (t/is (= \"Hello, Naoto and others.\" (sut/greet '(\"Naoto\" \"Michito\"))))))",
"end": 317,
"score": 0.7691212892532349,
"start": 312,
"tag": "NAME",
"value": "Naoto"
},
{
"context": "(t/is (= \"Hello, Naoto and others.\" (sut/gree... | greeter/test/greeter_test.clj | micheam/examples-clj | 0 | (ns greeter-test
(:require [clojure.test :as t]
[greeter :as sut]))
(t/deftest test-for-greet
(t/testing "return greeting message"
(t/is (= "Hello, World." (sut/greet)))
(t/is (= "Hello, World." (sut/greet ())))
(t/is (= "Hello, Naoto." (sut/greet '("Naoto"))))
(t/is (= "Hello, Naoto an... | 92907 | (ns greeter-test
(:require [clojure.test :as t]
[greeter :as sut]))
(t/deftest test-for-greet
(t/testing "return greeting message"
(t/is (= "Hello, World." (sut/greet)))
(t/is (= "Hello, World." (sut/greet ())))
(t/is (= "Hello, Naoto." (sut/greet '("Naoto"))))
(t/is (= "Hello, <NAME> a... | true | (ns greeter-test
(:require [clojure.test :as t]
[greeter :as sut]))
(t/deftest test-for-greet
(t/testing "return greeting message"
(t/is (= "Hello, World." (sut/greet)))
(t/is (= "Hello, World." (sut/greet ())))
(t/is (= "Hello, Naoto." (sut/greet '("Naoto"))))
(t/is (= "Hello, PI:NAME:... |
[
{
"context": ";; Copyright 2014-2020 King\n;; Copyright 2009-2014 Ragnar Svensson, Christian Murray\n;; Licensed under the Defold Li",
"end": 111,
"score": 0.9998138546943665,
"start": 96,
"tag": "NAME",
"value": "Ragnar Svensson"
},
{
"context": "-2020 King\n;; Copyright 2009-2014 R... | editor/src/clj/editor/settings.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... | 77955 | ;; 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": "alAppState\n {:inspect-data true})\n\n See Bruce Hauman's devcards for more information.\n \"\n ",
"end": 3943,
"score": 0.5840964913368225,
"start": 3938,
"tag": "NAME",
"value": "Bruce"
}
] | src/main/fulcro/client/cards.cljc | levitanong/fulcro | 0 | (ns fulcro.client.cards
#?(:cljs (:require-macros fulcro.client.cards)) ; this enables implicit macro loading
(:require
fulcro.client
[fulcro.client.primitives :as prim]
fulcro.util))
; At the time of this writing, devcards is not server-rendering compatible, and dom-node is a cljs-only thing... | 85490 | (ns fulcro.client.cards
#?(:cljs (:require-macros fulcro.client.cards)) ; this enables implicit macro loading
(:require
fulcro.client
[fulcro.client.primitives :as prim]
fulcro.util))
; At the time of this writing, devcards is not server-rendering compatible, and dom-node is a cljs-only thing... | true | (ns fulcro.client.cards
#?(:cljs (:require-macros fulcro.client.cards)) ; this enables implicit macro loading
(:require
fulcro.client
[fulcro.client.primitives :as prim]
fulcro.util))
; At the time of this writing, devcards is not server-rendering compatible, and dom-node is a cljs-only thing... |
[
{
"context": "eld 2\" :ebene \"ebene 1\" :unique-key 4, :bereich \"kühl\" :count-stock 1 :seite \"links\"}])\n res (a",
"end": 9355,
"score": 0.7731518745422363,
"start": 9352,
"tag": "KEY",
"value": "ühl"
}
] | test/lambdaroyal/memory/abstraction/test_search.clj | gixxi/lambdaroyal-memory | 24 | (ns lambdaroyal.memory.abstraction.test-search
(:require [midje.sweet :refer :all]
[lambdaroyal.memory.core.tx :refer :all]
[lambdaroyal.memory.core.context :refer :all]
[lambdaroyal.memory.helper :refer :all]
[lambdaroyal.memory.abstraction.search :refer :all]
... | 51393 | (ns lambdaroyal.memory.abstraction.test-search
(:require [midje.sweet :refer :all]
[lambdaroyal.memory.core.tx :refer :all]
[lambdaroyal.memory.core.context :refer :all]
[lambdaroyal.memory.helper :refer :all]
[lambdaroyal.memory.abstraction.search :refer :all]
... | true | (ns lambdaroyal.memory.abstraction.test-search
(:require [midje.sweet :refer :all]
[lambdaroyal.memory.core.tx :refer :all]
[lambdaroyal.memory.core.context :refer :all]
[lambdaroyal.memory.helper :refer :all]
[lambdaroyal.memory.abstraction.search :refer :all]
... |
[
{
"context": "tgres\"\n :dbname \"webshop\"\n :user \"clojure\"\n :password \"clojure\"\n :classname \"org.p",
"end": 707,
"score": 0.9469462633132935,
"start": 700,
"tag": "USERNAME",
"value": "clojure"
},
{
"context": "bshop\"\n :user \"clojure\"\n... | src/webshop_api/core.clj | tbsschroeder/clojure-webshop-api | 0 | (ns webshop-api.core
(:require [ring.adapter.jetty :refer [run-jetty]]
[toucan.db :as db]
[toucan.models :as models]
[compojure.api.sweet :refer [api routes context]]
[ring.util.http-response :as response]
[compojure.api.exception :as ex]
[websho... | 12895 | (ns webshop-api.core
(:require [ring.adapter.jetty :refer [run-jetty]]
[toucan.db :as db]
[toucan.models :as models]
[compojure.api.sweet :refer [api routes context]]
[ring.util.http-response :as response]
[compojure.api.exception :as ex]
[websho... | true | (ns webshop-api.core
(:require [ring.adapter.jetty :refer [run-jetty]]
[toucan.db :as db]
[toucan.models :as models]
[compojure.api.sweet :refer [api routes context]]
[ring.util.http-response :as response]
[compojure.api.exception :as ex]
[websho... |
[
{
"context": "Port uri)\n :secure? secure?\n :username username\n :password password\n :connection-name",
"end": 967,
"score": 0.9989759922027588,
"start": 959,
"tag": "USERNAME",
"value": "username"
},
{
"context": "secure?\n :username username\n ... | src/bunnicula/component/connection.clj | nomnom-insights/nomnom.bunnicula | 31 | (ns bunnicula.component.connection
"Component holds open connection to RMQ"
(:require
[bunnicula.client.rabbitmq.connection :as connection]
[clojure.string :as string]
[clojure.tools.logging :as log]
[com.stuartsierra.component :as component])
(:import
(java.net
URI)))
(defn connection... | 75883 | (ns bunnicula.component.connection
"Component holds open connection to RMQ"
(:require
[bunnicula.client.rabbitmq.connection :as connection]
[clojure.string :as string]
[clojure.tools.logging :as log]
[com.stuartsierra.component :as component])
(:import
(java.net
URI)))
(defn connection... | true | (ns bunnicula.component.connection
"Component holds open connection to RMQ"
(:require
[bunnicula.client.rabbitmq.connection :as connection]
[clojure.string :as string]
[clojure.tools.logging :as log]
[com.stuartsierra.component :as component])
(:import
(java.net
URI)))
(defn connection... |
[
{
"context": "te in-episode\n [ctx args _]\n (let [luke {:name \"Luke Skywalker\" :birthDate \"unknown\" :episodes [:NEWHOPE :EMPIRE",
"end": 445,
"score": 0.9998794794082642,
"start": 431,
"tag": "NAME",
"value": "Luke Skywalker"
},
{
"context": "es [:NEWHOPE :EMPIRE :JEDI]}\n ... | test/com/walmartlabs/lacinia/parser/schema_test.clj | gusbicalho/lacinia | 0 | (ns com.walmartlabs.lacinia.parser.schema-test
(:require [clojure.test :refer [deftest is testing]]
[clojure.java.io :refer [resource]]
[com.walmartlabs.lacinia :refer [execute]]
[com.walmartlabs.lacinia.parser.schema :as parser]
[com.walmartlabs.lacinia.schema :as sche... | 14321 | (ns com.walmartlabs.lacinia.parser.schema-test
(:require [clojure.test :refer [deftest is testing]]
[clojure.java.io :refer [resource]]
[com.walmartlabs.lacinia :refer [execute]]
[com.walmartlabs.lacinia.parser.schema :as parser]
[com.walmartlabs.lacinia.schema :as sche... | true | (ns com.walmartlabs.lacinia.parser.schema-test
(:require [clojure.test :refer [deftest is testing]]
[clojure.java.io :refer [resource]]
[com.walmartlabs.lacinia :refer [execute]]
[com.walmartlabs.lacinia.parser.schema :as parser]
[com.walmartlabs.lacinia.schema :as sche... |
[
{
"context": "(ns\n ^{:author \"Brian Craft\"\n :doc \"Minimal scheme interpreter.\"}\n cavm.q",
"end": 28,
"score": 0.999864399433136,
"start": 17,
"tag": "NAME",
"value": "Brian Craft"
}
] | src/cavm/query/expression.clj | ucscXena/ucsc-xena-server | 8 | (ns
^{:author "Brian Craft"
:doc "Minimal scheme interpreter."}
cavm.query.expression
(:require [clojure.edn :as edn])
(:require [honeysql.types :as hsqltypes])
(:require [clojure.tools.logging :refer [warn info]])
(:refer-clojure :exclude [eval letfn]))
(def ^:private eval)
(defn- lambdafn [node scop... | 118681 | (ns
^{:author "<NAME>"
:doc "Minimal scheme interpreter."}
cavm.query.expression
(:require [clojure.edn :as edn])
(:require [honeysql.types :as hsqltypes])
(:require [clojure.tools.logging :refer [warn info]])
(:refer-clojure :exclude [eval letfn]))
(def ^:private eval)
(defn- lambdafn [node scope]
... | true | (ns
^{:author "PI:NAME:<NAME>END_PI"
:doc "Minimal scheme interpreter."}
cavm.query.expression
(:require [clojure.edn :as edn])
(:require [honeysql.types :as hsqltypes])
(:require [clojure.tools.logging :refer [warn info]])
(:refer-clojure :exclude [eval letfn]))
(def ^:private eval)
(defn- lambdafn [... |
[
{
"context": "ad in silhouette people talk\"\n }\n {\n :title \"Baby\"\n :symbol \"👶\"\n :keywords \"baby people baby ",
"end": 15225,
"score": 0.6648741960525513,
"start": 15221,
"tag": "NAME",
"value": "Baby"
},
{
"context": "ple baby diversity diversity\"\n }\n {\n ... | src/emoji_search_clojurescript/state.cljs | prabhath6/Emoji-Search-ClojureScript | 0 | (ns emoji-search-clojurescript.state
(:require [reagent.core :as r]))
(def search-term (r/atom nil))
(def emojis (r/atom
[
{
:title "100"
:symbol "💯"
:keywords
"hundred points symbol symbol wow wow win win perfect perfect parties parties"
}
{
:title "1234"
:symbol "🔢"
:keywords... | 67760 | (ns emoji-search-clojurescript.state
(:require [reagent.core :as r]))
(def search-term (r/atom nil))
(def emojis (r/atom
[
{
:title "100"
:symbol "💯"
:keywords
"hundred points symbol symbol wow wow win win perfect perfect parties parties"
}
{
:title "1234"
:symbol "🔢"
:keywords... | true | (ns emoji-search-clojurescript.state
(:require [reagent.core :as r]))
(def search-term (r/atom nil))
(def emojis (r/atom
[
{
:title "100"
:symbol "💯"
:keywords
"hundred points symbol symbol wow wow win win perfect perfect parties parties"
}
{
:title "1234"
:symbol "🔢"
:keywords... |
[
{
"context": "reagent]))\n\n;; github repo:\n;; https://github.com/colbydehart/reagent-demo\n\n;; This talk is broken into a few p",
"end": 113,
"score": 0.9995306730270386,
"start": 102,
"tag": "USERNAME",
"value": "colbydehart"
},
{
"context": "!\n[\"A String\" true :a-symbol] ; Ve... | src/reagent_demo/core.cljs | colbydehart/reagent-demo | 0 | (ns reagent-demo.core
(:require [reagent.core :as reagent]))
;; github repo:
;; https://github.com/colbydehart/reagent-demo
;; This talk is broken into a few parts
;; 1. Learn basic syntax of Clojure
;; 2. Learn about ClojureScript and Reagent
;; 3. Make and run an actual Reagent app
;; 4. Learn how to manage state... | 90824 | (ns reagent-demo.core
(:require [reagent.core :as reagent]))
;; github repo:
;; https://github.com/colbydehart/reagent-demo
;; This talk is broken into a few parts
;; 1. Learn basic syntax of Clojure
;; 2. Learn about ClojureScript and Reagent
;; 3. Make and run an actual Reagent app
;; 4. Learn how to manage state... | true | (ns reagent-demo.core
(:require [reagent.core :as reagent]))
;; github repo:
;; https://github.com/colbydehart/reagent-demo
;; This talk is broken into a few parts
;; 1. Learn basic syntax of Clojure
;; 2. Learn about ClojureScript and Reagent
;; 3. Make and run an actual Reagent app
;; 4. Learn how to manage state... |
[
{
"context": "; limitations under the License.\n;; Copyright 2011 Tim Dysinger\n\n;; Licensed under the Apache License, Version",
"end": 826,
"score": 0.9997979402542114,
"start": 814,
"tag": "NAME",
"value": "Tim Dysinger"
}
] | storm-core/src/clj/zilch/mq.clj | desmorto/storm | 1,655 | ;; Licensed to the Apache Software Foundation (ASF) under one
;; or more contributor license agreements. See the NOTICE file
;; distributed with this work for additional information
;; regarding copyright ownership. The ASF licenses this file
;; to you under the Apache License, Version 2.0 (the
;; "License"); you may... | 8999 | ;; Licensed to the Apache Software Foundation (ASF) under one
;; or more contributor license agreements. See the NOTICE file
;; distributed with this work for additional information
;; regarding copyright ownership. The ASF licenses this file
;; to you under the Apache License, Version 2.0 (the
;; "License"); you may... | true | ;; Licensed to the Apache Software Foundation (ASF) under one
;; or more contributor license agreements. See the NOTICE file
;; distributed with this work for additional information
;; regarding copyright ownership. The ASF licenses this file
;; to you under the Apache License, Version 2.0 (the
;; "License"); you may... |
[
{
"context": "-------------------------------\n;;\n;;\n;; Author: PLIQUE Guillaume (Yomguithereal)\n;; Version: 0.1\n;;\n(ns clj-fuzz",
"end": 214,
"score": 0.9998458027839661,
"start": 198,
"tag": "NAME",
"value": "PLIQUE Guillaume"
},
{
"context": "------------\n;;\n;;\n;; Au... | src/clj_fuzzy/daitch_mokotoff.cljc | sooheon/clj-fuzzy | 222 | ;; -------------------------------------------------------------------
;; clj-fuzzy Daitch-Mokotoff Soundex
;; -------------------------------------------------------------------
;;
;;
;; Author: PLIQUE Guillaume (Yomguithereal)
;; Version: 0.1
;;
(ns clj-fuzzy.daitch-mokotoff
(:require clojure.string))
;; Codin... | 17244 | ;; -------------------------------------------------------------------
;; clj-fuzzy Daitch-Mokotoff Soundex
;; -------------------------------------------------------------------
;;
;;
;; Author: <NAME> (Yomguithereal)
;; Version: 0.1
;;
(ns clj-fuzzy.daitch-mokotoff
(:require clojure.string))
;; Coding table
(d... | true | ;; -------------------------------------------------------------------
;; clj-fuzzy Daitch-Mokotoff Soundex
;; -------------------------------------------------------------------
;;
;;
;; Author: PI:NAME:<NAME>END_PI (Yomguithereal)
;; Version: 0.1
;;
(ns clj-fuzzy.daitch-mokotoff
(:require clojure.string))
;; C... |
[
{
"context": "id3.basics-util :as util]\n ))\n\n(def cursor-key :b01-make-elem)\n\n(def height 100)\n(def width 100)\n\n(defn example",
"end": 173,
"score": 0.9800458550453186,
"start": 160,
"tag": "KEY",
"value": "b01-make-elem"
}
] | src/basics/rid3/b01_make_elem.cljs | ryanechternacht/rid3 | 153 | (ns rid3.b01-make-elem
(:require
[reagent.core :as reagent]
[rid3.core :as rid3 :refer [rid3->]]
[rid3.basics-util :as util]
))
(def cursor-key :b01-make-elem)
(def height 100)
(def width 100)
(defn example [app-state]
(let [viz-ratom (reagent/cursor app-state [cursor-key])]
(fn [app-state]
... | 103315 | (ns rid3.b01-make-elem
(:require
[reagent.core :as reagent]
[rid3.core :as rid3 :refer [rid3->]]
[rid3.basics-util :as util]
))
(def cursor-key :<KEY>)
(def height 100)
(def width 100)
(defn example [app-state]
(let [viz-ratom (reagent/cursor app-state [cursor-key])]
(fn [app-state]
[:div
... | true | (ns rid3.b01-make-elem
(:require
[reagent.core :as reagent]
[rid3.core :as rid3 :refer [rid3->]]
[rid3.basics-util :as util]
))
(def cursor-key :PI:KEY:<KEY>END_PI)
(def height 100)
(def width 100)
(defn example [app-state]
(let [viz-ratom (reagent/cursor app-state [cursor-key])]
(fn [app-state]
... |
[
{
"context": "! *unchecked-math* :warn-on-boxed)\n(ns ^{:author \"wahpenayo at gmail dot com\" \n :since \"2017-01-18\"\n ",
"end": 96,
"score": 0.6279812455177307,
"start": 87,
"tag": "EMAIL",
"value": "wahpenayo"
},
{
"context": "ath* :warn-on-boxed)\n(ns ^{:author \"wahpen... | src/main/clojure/taiga/bagging.clj | wahpenayo/taiga | 4 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "wahpenayo at gmail dot com"
:since "2017-01-18"
:date "2017-11-08"
:doc "Bootstrap aggregation." }
taiga.bagging
(:require [zana.api :as z]))
;;------------------------------------------------------------... | 56722 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "<EMAIL> at g<EMAIL> dot <EMAIL>"
:since "2017-01-18"
:date "2017-11-08"
:doc "Bootstrap aggregation." }
taiga.bagging
(:require [zana.api :as z]))
;;-------------------------------------------------------... | true | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "PI:EMAIL:<EMAIL>END_PI at gPI:EMAIL:<EMAIL>END_PI dot PI:EMAIL:<EMAIL>END_PI"
:since "2017-01-18"
:date "2017-11-08"
:doc "Bootstrap aggregation." }
taiga.bagging
(:require [zana.api :as z]))
;;----------... |
[
{
"context": "----------------------------------\n(ns ^{:author \"wahpenayo at gmail dot com\"\n :date \"2018-02-07\"\n :doc \n \"pseu",
"end": 181,
"score": 0.7205120921134949,
"start": 155,
"tag": "EMAIL",
"value": "wahpenayo at gmail dot com"
},
{
"context": "ns.mat... | src/main/clojure/zana/prob/prng.clj | wahpenayo/zana | 2 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns ^{:author "wahpenayo at gmail dot com"
:date "2018-02-07"
:doc
"pseudo-random number generators using apache commons math3.
<p>
<i>TODO:</i> merg... | 66147 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns ^{:author "<EMAIL>"
:date "2018-02-07"
:doc
"pseudo-random number generators using apache commons math3.
<p>
<i>TODO:</i> merge this with
... | true | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns ^{:author "PI:EMAIL:<EMAIL>END_PI"
:date "2018-02-07"
:doc
"pseudo-random number generators using apache commons math3.
<p>
<i>TODO:</i> merge th... |
[
{
"context": "ker-api.util :as util]))\n\n(def docker-url \"http://119.254.211.121:4243\")\n(def param-map {:name \"kim\", :age 20, :pas",
"end": 160,
"score": 0.9996504187583923,
"start": 145,
"tag": "IP_ADDRESS",
"value": "119.254.211.121"
},
{
"context": "\n(def param-map {:name \... | test/clojure_docker_api/cmd_test.clj | joshua-jin/clojure-docker-api | 1 | (ns clojure-docker-api.cmd-test
(:require [expectations :refer :all]
[clojure-docker-api.util :as util]))
(def docker-url "http://119.254.211.121:4243")
(def param-map {:name "kim", :age 20, :password "helloworld"})
;; auth command url
(expect "http://119.254.211.121:4243/auth" (str (util/wrap-url docke... | 69613 | (ns clojure-docker-api.cmd-test
(:require [expectations :refer :all]
[clojure-docker-api.util :as util]))
(def docker-url "http://192.168.127.12:4243")
(def param-map {:name "kim", :age 20, :password "<PASSWORD>"})
;; auth command url
(expect "http://192.168.127.12:4243/auth" (str (util/wrap-url docker-... | true | (ns clojure-docker-api.cmd-test
(:require [expectations :refer :all]
[clojure-docker-api.util :as util]))
(def docker-url "http://PI:IP_ADDRESS:192.168.127.12END_PI:4243")
(def param-map {:name "kim", :age 20, :password "PI:PASSWORD:<PASSWORD>END_PI"})
;; auth command url
(expect "http://PI:IP_ADDRESS:1... |
[
{
"context": "ng :refer [join]]))\n\n(def ^:const alphabet \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\")\n\n(defn encode_case0\n \"encode the first 6 bytes\"\n",
"end": 202,
"score": 0.8253383636474609,
"start": 141,
"tag": "KEY",
"value": "GHIJKLMNOPQRSTUVWXYZabcde... | clojure/src/mybase64/core.clj | theevocater/base64 | 0 | (ns mybase64.core
(:require [clojure.core.match :refer [match]]
[clojure.string :refer [join]]))
(def ^:const alphabet "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=")
(defn encode_case0
"encode the first 6 bytes"
[x]
[(.charAt alphabet (bit-shift-right x 2))])
(defn encode_ca... | 36945 | (ns mybase64.core
(:require [clojure.core.match :refer [match]]
[clojure.string :refer [join]]))
(def ^:const alphabet "ABCDEF<KEY>
(defn encode_case0
"encode the first 6 bytes"
[x]
[(.charAt alphabet (bit-shift-right x 2))])
(defn encode_case1
"encode the second 6 bytes"
[x y]
[(.charAt al... | true | (ns mybase64.core
(:require [clojure.core.match :refer [match]]
[clojure.string :refer [join]]))
(def ^:const alphabet "ABCDEFPI:KEY:<KEY>END_PI
(defn encode_case0
"encode the first 6 bytes"
[x]
[(.charAt alphabet (bit-shift-right x 2))])
(defn encode_case1
"encode the second 6 bytes"
[x y]
... |
[
{
"context": " to a list of \"Hello <name>\"\r\n;; (ex. [\"Bob\" \"Chris\"] => [\"Hello Bob\" \"Hello Chris\"])\r\n\r\n(def",
"end": 188,
"score": 0.9981483817100525,
"start": 185,
"tag": "NAME",
"value": "Bob"
},
{
"context": " list of \"Hello <name>\"\r\n;; (ex. ... | plp-clojure/src/plp_clojure/core.clj | timaeudg/CSSE403-PLP | 0 | (ns plp-clojure.core)
;; Part 1a) Using map, implement the function
;; below to convert a list of string names
;; to a list of "Hello <name>"
;; (ex. ["Bob" "Chris"] => ["Hello Bob" "Hello Chris"])
(defn hello-name [name-list]
(map (fn [name] (str "Hello " name)) name-list))
;... | 22044 | (ns plp-clojure.core)
;; Part 1a) Using map, implement the function
;; below to convert a list of string names
;; to a list of "Hello <name>"
;; (ex. ["<NAME>" "<NAME>"] => ["Hello <NAME>" "Hello <NAME>"])
(defn hello-name [name-list]
(map (fn [name] (str "Hello " name)) name-lis... | true | (ns plp-clojure.core)
;; Part 1a) Using map, implement the function
;; below to convert a list of string names
;; to a list of "Hello <name>"
;; (ex. ["PI:NAME:<NAME>END_PI" "PI:NAME:<NAME>END_PI"] => ["Hello PI:NAME:<NAME>END_PI" "Hello PI:NAME:<NAME>END_PI"])
(defn hello-name [name... |
[
{
"context": "e\n {db0\n [[1 :battle/attacker_commander \"Stannis Baratheon\"]\n [1 :battle/defender_1 \"Bolton\"]\n [",
"end": 1663,
"score": 0.9998745322227478,
"start": 1646,
"tag": "NAME",
"value": "Stannis Baratheon"
},
{
"context": "Stannis Baratheon\"]\n ... | test/clj/lhrb/replservice_test.clj | lhrb/datahog | 3 | (ns lhrb.replservice-test
(:require [clojure.test :refer [deftest is testing]]
[lhrb.replservice :as t]))
(deftest test-sym-table-interceptor
(is
(=
((:enter
(t/sym-table-interceptor (atom {:a 1})))
{})
{:sym-table {:a 1}}))
(is
(=
((:leave
(t/sym-table-intercep... | 95254 | (ns lhrb.replservice-test
(:require [clojure.test :refer [deftest is testing]]
[lhrb.replservice :as t]))
(deftest test-sym-table-interceptor
(is
(=
((:enter
(t/sym-table-interceptor (atom {:a 1})))
{})
{:sym-table {:a 1}}))
(is
(=
((:leave
(t/sym-table-intercep... | true | (ns lhrb.replservice-test
(:require [clojure.test :refer [deftest is testing]]
[lhrb.replservice :as t]))
(deftest test-sym-table-interceptor
(is
(=
((:enter
(t/sym-table-interceptor (atom {:a 1})))
{})
{:sym-table {:a 1}}))
(is
(=
((:leave
(t/sym-table-intercep... |
[
{
"context": "(ns ^{:author \"Leeor Engel\"}\nchapter-2.chapter-2-q4-test\n (:require [clojur",
"end": 26,
"score": 0.9998853802680969,
"start": 15,
"tag": "NAME",
"value": "Leeor Engel"
}
] | Clojure/test/chapter_2/chapter_2_q4_test.clj | Kiandr/crackingcodinginterview | 0 | (ns ^{:author "Leeor Engel"}
chapter-2.chapter-2-q4-test
(:require [clojure.test :refer :all]
[chapter-2.chapter-2-q4 :refer :all]))
(deftest partition-test
(is (= '(2) (partition-list '(2) 2)))
(is (= '(2) (partition-list '(2) 1)))
(is (= '(2) (partition-list '(2) 3)))
(is (= '(2 4) (partition-l... | 64092 | (ns ^{:author "<NAME>"}
chapter-2.chapter-2-q4-test
(:require [clojure.test :refer :all]
[chapter-2.chapter-2-q4 :refer :all]))
(deftest partition-test
(is (= '(2) (partition-list '(2) 2)))
(is (= '(2) (partition-list '(2) 1)))
(is (= '(2) (partition-list '(2) 3)))
(is (= '(2 4) (partition-list '... | true | (ns ^{:author "PI:NAME:<NAME>END_PI"}
chapter-2.chapter-2-q4-test
(:require [clojure.test :refer :all]
[chapter-2.chapter-2-q4 :refer :all]))
(deftest partition-test
(is (= '(2) (partition-list '(2) 2)))
(is (= '(2) (partition-list '(2) 1)))
(is (= '(2) (partition-list '(2) 3)))
(is (= '(2 4) (pa... |
[
{
"context": "rred to DARPA’s Public Release Center via email at prc@darpa.mil.\n\n(ns pamela.tools.Qlearning.cli\n \"Q-Learning.\"\n",
"end": 226,
"score": 0.9999276399612427,
"start": 213,
"tag": "EMAIL",
"value": "prc@darpa.mil"
}
] | src/pamela/tools/Qlearning/cli.clj | paulratdollabs/drl007 | 0 | ;; Copyright © 2018 Dynamic Object Language Labs Inc.
;; 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 pamela.tools.Qlearning.cli
"Q-Learning."
(:require [clojure.tools.cli :as cli :refe... | 34655 | ;; Copyright © 2018 Dynamic Object Language Labs Inc.
;; 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 pamela.tools.Qlearning.cli
"Q-Learning."
(:require [clojure.tools.cli :as cli :refer [par... | true | ;; Copyright © 2018 Dynamic Object Language Labs Inc.
;; 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 pamela.tools.Qlearning.cli
"Q-Learning."
(:require [clojure.tools.cli :as ... |
[
{
"context": "ticipantUpdate/Register\"\n :Name \"Bob\"\n :Description \"A user\"}\n ",
"end": 1001,
"score": 0.9996189475059509,
"start": 998,
"tag": "NAME",
"value": "Bob"
}
] | extensions/bond/ui/client/test/main/sawtooth/ledger/message_test.cljs | gabykyei/GC_BlockChain_T_Rec | 1 | ; Copyright 2016 Intel Corporation
;
; 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 wri... | 92530 | ; Copyright 2016 Intel Corporation
;
; 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 wri... | true | ; Copyright 2016 Intel Corporation
;
; 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 wri... |
[
{
"context": ";; Copyright © 2020 Siftrics\n;;\n;; Permission is hereby granted, free of charg",
"end": 28,
"score": 0.9259693026542664,
"start": 20,
"tag": "NAME",
"value": "Siftrics"
}
] | src/sight/core.clj | ashwinbhaskar/sight-clojure | 14 | ;; Copyright © 2020 Siftrics
;;
;; Permission is hereby granted, free of charge, to any person obtaining a copy
;; of this software and associated documentation files (the "Software"), to deal
;; in the Software without restriction, including without limitation the rights
;; to use, copy, modify, merge, publish, distri... | 61351 | ;; Copyright © 2020 <NAME>
;;
;; Permission is hereby granted, free of charge, to any person obtaining a copy
;; of this software and associated documentation files (the "Software"), to deal
;; in the Software without restriction, including without limitation the rights
;; to use, copy, modify, merge, publish, distribu... | true | ;; Copyright © 2020 PI:NAME:<NAME>END_PI
;;
;; Permission is hereby granted, free of charge, to any person obtaining a copy
;; of this software and associated documentation files (the "Software"), to deal
;; in the Software without restriction, including without limitation the rights
;; to use, copy, modify, merge, pub... |
[
{
"context": "subname \"//localhost:5432/test\"\n :user \"user\"\n :password \"pass\"}))\n\n(comment\n (def ",
"end": 342,
"score": 0.7301025986671448,
"start": 338,
"tag": "USERNAME",
"value": "user"
},
{
"context": "st\"\n :user \"user\"\n :... | clj_record/test/model/config.clj | ashafa/clj-record | 1 | (ns clj-record.test.model.config)
(comment)
(def db {:classname "org.apache.derby.jdbc.EmbeddedDriver"
:subprotocol "derby"
:subname "/tmp/clj-record.test.db"
:create true})
(comment
(def db {:classname "org.postgresql.Driver"
:subprotocol "postgresql"
:subname "//localhost:5432/test"
... | 76204 | (ns clj-record.test.model.config)
(comment)
(def db {:classname "org.apache.derby.jdbc.EmbeddedDriver"
:subprotocol "derby"
:subname "/tmp/clj-record.test.db"
:create true})
(comment
(def db {:classname "org.postgresql.Driver"
:subprotocol "postgresql"
:subname "//localhost:5432/test"
... | true | (ns clj-record.test.model.config)
(comment)
(def db {:classname "org.apache.derby.jdbc.EmbeddedDriver"
:subprotocol "derby"
:subname "/tmp/clj-record.test.db"
:create true})
(comment
(def db {:classname "org.postgresql.Driver"
:subprotocol "postgresql"
:subname "//localhost:5432/test"
... |
[
{
"context": ";;\n;;\n;; Copyright 2014-2015 Netflix, Inc.\n;;\n;; Licensed under the Apache Lic",
"end": 33,
"score": 0.9793622493743896,
"start": 30,
"tag": "NAME",
"value": "Net"
}
] | pigpen-avro/src/test/clojure/pigpen/avro/functional_test.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 ... | 47890 | ;;
;;
;; Copyright 2014-2015 <NAME>flix, Inc.
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless requir... | true | ;;
;;
;; Copyright 2014-2015 PI:NAME:<NAME>END_PIflix, Inc.
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; ... |
[
{
"context": " :author \"Nora\"}\n ",
"end": 3788,
"score": 0.9986749887466431,
"start": 3784,
"tag": "NAME",
"value": "Nora"
},
{
"context": " :author \"Jim\... | dev/examples.clj | clj-pour/pour | 36 | (ns examples
(:require [pour.compose :as pc :refer [defcup]]))
(defcup nav-link
[:uri :title]
(fn render [{:keys [uri title]}]
[:a {:href uri} title]))
(defcup nav
[{:resolve/app-nav nav-link}]
(fn render [{:resolve/keys [app-nav]}]
[:nav
(for [link app-nav]
(nav-link link))]))
(defcup ... | 120738 | (ns examples
(:require [pour.compose :as pc :refer [defcup]]))
(defcup nav-link
[:uri :title]
(fn render [{:keys [uri title]}]
[:a {:href uri} title]))
(defcup nav
[{:resolve/app-nav nav-link}]
(fn render [{:resolve/keys [app-nav]}]
[:nav
(for [link app-nav]
(nav-link link))]))
(defcup ... | true | (ns examples
(:require [pour.compose :as pc :refer [defcup]]))
(defcup nav-link
[:uri :title]
(fn render [{:keys [uri title]}]
[:a {:href uri} title]))
(defcup nav
[{:resolve/app-nav nav-link}]
(fn render [{:resolve/keys [app-nav]}]
[:nav
(for [link app-nav]
(nav-link link))]))
(defcup ... |
[
{
"context": "rintln (render \"Hello, {{name}} {{msg}}!\" {:name \"Felix\" :msg \"abc\"}))\n ; (doseq [pair (into (sorted-map",
"end": 20453,
"score": 0.9989955425262451,
"start": 20448,
"tag": "NAME",
"value": "Felix"
}
] | src/cljs/cube_test/scenes/vrubik_scene.cljs | vt5491/cube-test | 1 | ;; reference few, accessible by many.
(ns cube-test.scenes.vrubik-scene
(:require-macros [cube-test.macros :as macros])
(:require
[re-frame.core :as re-frame]
[babylonjs :as bjs]
[cube-test.main-scene :as main-scene]
[babylonjs-gui :as bjs-gui]
[cube-test.controller :as controller]
[cube-test.cont... | 107991 | ;; reference few, accessible by many.
(ns cube-test.scenes.vrubik-scene
(:require-macros [cube-test.macros :as macros])
(:require
[re-frame.core :as re-frame]
[babylonjs :as bjs]
[cube-test.main-scene :as main-scene]
[babylonjs-gui :as bjs-gui]
[cube-test.controller :as controller]
[cube-test.cont... | true | ;; reference few, accessible by many.
(ns cube-test.scenes.vrubik-scene
(:require-macros [cube-test.macros :as macros])
(:require
[re-frame.core :as re-frame]
[babylonjs :as bjs]
[cube-test.main-scene :as main-scene]
[babylonjs-gui :as bjs-gui]
[cube-test.controller :as controller]
[cube-test.cont... |
[
{
"context": "actor\"\n {\"objectType\" \"Agent\"\n \"name\" \"Will Hoyt\"\n \"mbox\" \"mailto:will@yetanalytics.com\"}",
"end": 2999,
"score": 0.9998695254325867,
"start": 2990,
"tag": "NAME",
"value": "Will Hoyt"
},
{
"context": "\"name\" \"Will Hoyt\"\n ... | src/test/com/yetanalytics/persephone_test.cljc | yetanalytics/project-persephone | 0 | (ns com.yetanalytics.persephone-test
(:require [clojure.test :refer [deftest testing is]]
[com.yetanalytics.persephone :as p]
[com.yetanalytics.persephone.template.statement-ref :as sref]
[com.yetanalytics.persephone.pattern.errors :as perrs]
[com.yetanalytics.persephon... | 111790 | (ns com.yetanalytics.persephone-test
(:require [clojure.test :refer [deftest testing is]]
[com.yetanalytics.persephone :as p]
[com.yetanalytics.persephone.template.statement-ref :as sref]
[com.yetanalytics.persephone.pattern.errors :as perrs]
[com.yetanalytics.persephon... | true | (ns com.yetanalytics.persephone-test
(:require [clojure.test :refer [deftest testing is]]
[com.yetanalytics.persephone :as p]
[com.yetanalytics.persephone.template.statement-ref :as sref]
[com.yetanalytics.persephone.pattern.errors :as perrs]
[com.yetanalytics.persephon... |
[
{
"context": "t\t\n(def request\n {:ref-no \"trd-123\"\n :account \"nomura-123\"\n :instrument \"IBM\"\n :unit-price 120\n :",
"end": 344,
"score": 0.47264978289604187,
"start": 338,
"tag": "USERNAME",
"value": "nomura"
},
{
"context": "f request\n {:ref-no \"trd-123\"\n ... | data/train/clojure/f190d0b2905c451fa1fb20f96a0a6a4a2b1fd57dtrade.clj | harshp8l/deep-learning-lang-detection | 84 | ; create a trade from a request
(defn trade
"Make a trade from the request"
[request]
{:ref-no (:ref-no request)
:account (:account request)
:instrument (:instrument request)
:principal (* (:unit-price request) (:quantity request))
:tax-fees {}})
; a sample request
(def request
{:ref-no "trd-... | 41206 | ; create a trade from a request
(defn trade
"Make a trade from the request"
[request]
{:ref-no (:ref-no request)
:account (:account request)
:instrument (:instrument request)
:principal (* (:unit-price request) (:quantity request))
:tax-fees {}})
; a sample request
(def request
{:ref-no "trd-... | true | ; create a trade from a request
(defn trade
"Make a trade from the request"
[request]
{:ref-no (:ref-no request)
:account (:account request)
:instrument (:instrument request)
:principal (* (:unit-price request) (:quantity request))
:tax-fees {}})
; a sample request
(def request
{:ref-no "trd-... |
[
{
"context": " :token \"discord-token-1\"\n ",
"end": 2553,
"score": 0.72007155418396,
"start": 2546,
"tag": "KEY",
"value": "discord"
},
{
"context": " :token \"discord-... | test/integration/super_dice_roll/discord/security_test.clj | rafaeldelboni/super-dice-roll-clj | 4 | (ns integration.super-dice-roll.discord.security-test
(:require [clojure.test :as clojure.test]
[com.stuartsierra.component :as component]
[integration.parenthesin.util.webserver :as util.webserver]
[integration.super-dice-roll.util :as util]
[matcher-combinators.matche... | 102194 | (ns integration.super-dice-roll.discord.security-test
(:require [clojure.test :as clojure.test]
[com.stuartsierra.component :as component]
[integration.parenthesin.util.webserver :as util.webserver]
[integration.super-dice-roll.util :as util]
[matcher-combinators.matche... | true | (ns integration.super-dice-roll.discord.security-test
(:require [clojure.test :as clojure.test]
[com.stuartsierra.component :as component]
[integration.parenthesin.util.webserver :as util.webserver]
[integration.super-dice-roll.util :as util]
[matcher-combinators.matche... |
[
{
"context": "; Copyright (c) 2009-2012 Andrew Boekhoff, Sean Corfield\n\n; Permission is hereby granted, f",
"end": 41,
"score": 0.9998711347579956,
"start": 26,
"tag": "NAME",
"value": "Andrew Boekhoff"
},
{
"context": "; Copyright (c) 2009-2012 Andrew Boekhoff, Sean Corfield\n\n; ... | src/somnium/congomongo.clj | circleci/congomongo | 0 | ; Copyright (c) 2009-2012 Andrew Boekhoff, Sean Corfield
; Permission is hereby granted, free of charge, to any person obtaining a copy
; of this software and associated documentation files (the "Software"), to deal
; in the Software without restriction, including without limitation the rights
; to use, copy, modify, ... | 21420 | ; Copyright (c) 2009-2012 <NAME>, <NAME>
; Permission is hereby granted, free of charge, to any person obtaining a copy
; of this software and associated documentation files (the "Software"), to deal
; in the Software without restriction, including without limitation the rights
; to use, copy, modify, merge, publish, ... | true | ; Copyright (c) 2009-2012 PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI
; Permission is hereby granted, free of charge, to any person obtaining a copy
; of this software and associated documentation files (the "Software"), to deal
; in the Software without restriction, including without limitation the rights
; to use, co... |
[
{
"context": "nrepl evaluation and error handling.\"\n {:author \"Peter Denno\"}\n (:require [cheshire.core :as cheshire]\n ",
"end": 95,
"score": 0.9998791217803955,
"start": 84,
"tag": "NAME",
"value": "Peter Denno"
},
{
"context": " {:us... | test/clojupyter/core_test.clj | Provisdom/clojupyter | 1 | (ns clojupyter.core-test
"Tests nrepl evaluation and error handling."
{:author "Peter Denno"}
(:require [cheshire.core :as cheshire]
[clojupyter.core :refer :all]
[clojupyter.misc.messages :refer :all]
[clojupyter.misc.nrepl-comm :as nrepl-comm]
[clojupyter.misc.sta... | 19172 | (ns clojupyter.core-test
"Tests nrepl evaluation and error handling."
{:author "<NAME>"}
(:require [cheshire.core :as cheshire]
[clojupyter.core :refer :all]
[clojupyter.misc.messages :refer :all]
[clojupyter.misc.nrepl-comm :as nrepl-comm]
[clojupyter.misc.states :... | true | (ns clojupyter.core-test
"Tests nrepl evaluation and error handling."
{:author "PI:NAME:<NAME>END_PI"}
(:require [cheshire.core :as cheshire]
[clojupyter.core :refer :all]
[clojupyter.misc.messages :refer :all]
[clojupyter.misc.nrepl-comm :as nrepl-comm]
[clojupyter... |
[
{
"context": "\"key\"\n :secret \"secret\"\n :connector {:hre",
"end": 811,
"score": 0.9214352369308472,
"start": 805,
"tag": "KEY",
"value": "secret"
}
] | openstack/config/test/com/sixsq/slipstream/ssclj/resources/credential_cloud_openstack_lifecycle_test.clj | jolorenzo/SlipStreamConnectors | 0 | (ns com.sixsq.slipstream.ssclj.resources.credential-cloud-openstack-lifecycle-test
(:require
[clojure.test :refer [deftest is are use-fixtures]]
[com.sixsq.slipstream.connector.openstack-template :as cont]
[com.sixsq.slipstream.ssclj.resources.credential-template-cloud-openstack :as cloud-openstack]
[... | 111382 | (ns com.sixsq.slipstream.ssclj.resources.credential-cloud-openstack-lifecycle-test
(:require
[clojure.test :refer [deftest is are use-fixtures]]
[com.sixsq.slipstream.connector.openstack-template :as cont]
[com.sixsq.slipstream.ssclj.resources.credential-template-cloud-openstack :as cloud-openstack]
[... | true | (ns com.sixsq.slipstream.ssclj.resources.credential-cloud-openstack-lifecycle-test
(:require
[clojure.test :refer [deftest is are use-fixtures]]
[com.sixsq.slipstream.connector.openstack-template :as cont]
[com.sixsq.slipstream.ssclj.resources.credential-template-cloud-openstack :as cloud-openstack]
[... |
[
{
"context": "timbre/fatal msg))\n\n(comment\n (timbre/info \"Hello Timbre!\")\n (timbre/info {:Hello \"Timbre!\"})\n (init)\n ",
"end": 1013,
"score": 0.6113132834434509,
"start": 1007,
"tag": "NAME",
"value": "Timbre"
},
{
"context": "bre/info \"Hello Timbre!\")\n (timbre/info... | clojure/wheel/src/wheel/infra/log.clj | tamizhvendan/BlogSamples | 0 | (ns wheel.infra.log
(:require [taoensso.timbre :as timbre]
[cheshire.core :as json]
[clojure.spec.alpha :as s]
[wheel.middleware.event :as event]
[wheel.infra.log-appender.database :as database]
[wheel.infra.log-appender.slack :as slack]))
(defn- json-outpu... | 90383 | (ns wheel.infra.log
(:require [taoensso.timbre :as timbre]
[cheshire.core :as json]
[clojure.spec.alpha :as s]
[wheel.middleware.event :as event]
[wheel.infra.log-appender.database :as database]
[wheel.infra.log-appender.slack :as slack]))
(defn- json-outpu... | true | (ns wheel.infra.log
(:require [taoensso.timbre :as timbre]
[cheshire.core :as json]
[clojure.spec.alpha :as s]
[wheel.middleware.event :as event]
[wheel.infra.log-appender.database :as database]
[wheel.infra.log-appender.slack :as slack]))
(defn- json-outpu... |
[
{
"context": "t \"About me\"]\n [:dd \"My name is Foo.\"]\n [:dt \"Cool Links\"]\n ",
"end": 1121,
"score": 0.9220618605613708,
"start": 1118,
"tag": "NAME",
"value": "Foo"
}
] | src/dev/ulti/docs/themes.cljs | luketurner/ulti | 0 | (ns ulti.docs.themes
(:require [ulti.docs.devcards :refer-macros [defcard']]
[ulti.core :refer [default-theme]]
[ulti.containers :as containers]
[ulti.forms :as forms]
[ulti.inputs :as inputs]
[devcards.core :refer [defcard]]))
(defcard
"# Themes
U... | 33566 | (ns ulti.docs.themes
(:require [ulti.docs.devcards :refer-macros [defcard']]
[ulti.core :refer [default-theme]]
[ulti.containers :as containers]
[ulti.forms :as forms]
[ulti.inputs :as inputs]
[devcards.core :refer [defcard]]))
(defcard
"# Themes
U... | true | (ns ulti.docs.themes
(:require [ulti.docs.devcards :refer-macros [defcard']]
[ulti.core :refer [default-theme]]
[ulti.containers :as containers]
[ulti.forms :as forms]
[ulti.inputs :as inputs]
[devcards.core :refer [defcard]]))
(defcard
"# Themes
U... |
[
{
"context": "# \"RequestID\")),\n :employee-name employee-name,\n :submit-date submit-date,\n ",
"end": 8354,
"score": 0.7902229428291321,
"start": 8341,
"tag": "NAME",
"value": "employee-name"
},
{
"context": " keys))))\n\n(def card {\n ... | hub-concur-travel-connector/src/main/resources/config.clj | vmware/connectors-workspace-one | 17 | ;; Copyright © 2020 VMware, Inc. All Rights Reserved.
;; SPDX-License-Identifier: BSD-2-Clause
(require (quote [com.xenovus.xplib :as fl]))
(require (quote [clojure.string :as cs]))
(def date-fmt-str "M/d/yyyy h:m a")
(def formatter (fl/get-formatter date-fmt-str))
(def travel-requests identity)
(def input travel-... | 68035 | ;; Copyright © 2020 VMware, Inc. All Rights Reserved.
;; SPDX-License-Identifier: BSD-2-Clause
(require (quote [com.xenovus.xplib :as fl]))
(require (quote [clojure.string :as cs]))
(def date-fmt-str "M/d/yyyy h:m a")
(def formatter (fl/get-formatter date-fmt-str))
(def travel-requests identity)
(def input travel-... | true | ;; Copyright © 2020 VMware, Inc. All Rights Reserved.
;; SPDX-License-Identifier: BSD-2-Clause
(require (quote [com.xenovus.xplib :as fl]))
(require (quote [clojure.string :as cs]))
(def date-fmt-str "M/d/yyyy h:m a")
(def formatter (fl/get-formatter date-fmt-str))
(def travel-requests identity)
(def input travel-... |
[
{
"context": "h\"\n\n (attributes \"project.clj\")\n ;; {:owner \"chris\",\n ;; :group \"staff\",\n ;; :permissions ",
"end": 1279,
"score": 0.9980736970901489,
"start": 1274,
"tag": "USERNAME",
"value": "chris"
},
{
"context": "; :permissions \"rw-r--r--\",\n ;; ... | test/hara/io/file/attribute_test.clj | zcaudate/hara | 309 | (ns hara.io.file.attribute-test
(:use hara.test)
(:require [hara.io.file.attribute :refer :all]))
^{:refer hara.io.file.attribute/owner :added "3.0"}
(fact "returns the owner of the file"
(owner "project.clj")
=> string?)
^{:refer hara.io.file.attribute/lookup-owner :added "3.0"}
(fact "lookup the user regis... | 76296 | (ns hara.io.file.attribute-test
(:use hara.test)
(:require [hara.io.file.attribute :refer :all]))
^{:refer hara.io.file.attribute/owner :added "3.0"}
(fact "returns the owner of the file"
(owner "project.clj")
=> string?)
^{:refer hara.io.file.attribute/lookup-owner :added "3.0"}
(fact "lookup the user regis... | true | (ns hara.io.file.attribute-test
(:use hara.test)
(:require [hara.io.file.attribute :refer :all]))
^{:refer hara.io.file.attribute/owner :added "3.0"}
(fact "returns the owner of the file"
(owner "project.clj")
=> string?)
^{:refer hara.io.file.attribute/lookup-owner :added "3.0"}
(fact "lookup the user regis... |
[
{
"context": "e\"\n (is (= {:status 200\n :body \"Cam Saul\"\n :headers {\"Content-Type\" \"text/plain",
"end": 2064,
"score": 0.9997883439064026,
"start": 2056,
"tag": "NAME",
"value": "Cam Saul"
},
{
"context": "ain\"}}\n (binding [*current-us... | c#-metabase/test/metabase/api/common_test.clj | hanakhry/Crime_Admin | 0 | (ns metabase.api.common-test
(:require [clojure.test :refer :all]
[metabase.api.common :as api :refer :all]
[metabase.api.common.internal :refer :all]
[metabase.server.middleware.exceptions :as mw.exceptions]
[metabase.server.middleware.misc :as mw.misc]
[me... | 50674 | (ns metabase.api.common-test
(:require [clojure.test :refer :all]
[metabase.api.common :as api :refer :all]
[metabase.api.common.internal :refer :all]
[metabase.server.middleware.exceptions :as mw.exceptions]
[metabase.server.middleware.misc :as mw.misc]
[me... | true | (ns metabase.api.common-test
(:require [clojure.test :refer :all]
[metabase.api.common :as api :refer :all]
[metabase.api.common.internal :refer :all]
[metabase.server.middleware.exceptions :as mw.exceptions]
[metabase.server.middleware.misc :as mw.misc]
[me... |
[
{
"context": "{:user {:env {:zookeeper-addr \"54.44.229.123:2181,54.44.240.52:2181\"}}\n :dev {:dependencies [[",
"end": 44,
"score": 0.9996995329856873,
"start": 31,
"tag": "IP_ADDRESS",
"value": "54.44.229.123"
},
{
"context": "{:user {:env {:zookeeper-addr \"54.44.229.123:2181,54.... | dotfiles/clj/.lein/profiles.clj | patbrown/dev | 0 | {:user {:env {:zookeeper-addr "54.44.229.123:2181,54.44.240.52:2181"}}
:dev {:dependencies [[cider/cider-nrepl "0.12.0-SNAPSHOT"]
[org.clojure/clojure "1.8.0"]
[lein-git-deps "0.0.1-SNAPSHOT"]]
:repl-options {:nrepl-middleware
[cider.nrepl.middl... | 59881 | {:user {:env {:zookeeper-addr "172.16.31.10:2181,172.16.31.10:2181"}}
:dev {:dependencies [[cider/cider-nrepl "0.12.0-SNAPSHOT"]
[org.clojure/clojure "1.8.0"]
[lein-git-deps "0.0.1-SNAPSHOT"]]
:repl-options {:nrepl-middleware
[cider.nrepl.middle... | true | {:user {:env {:zookeeper-addr "PI:IP_ADDRESS:172.16.31.10END_PI:2181,PI:IP_ADDRESS:172.16.31.10END_PI:2181"}}
:dev {:dependencies [[cider/cider-nrepl "0.12.0-SNAPSHOT"]
[org.clojure/clojure "1.8.0"]
[lein-git-deps "0.0.1-SNAPSHOT"]]
:repl-options {:nrepl-middleware
... |
[
{
"context": ":code \"http://example.com/atom.xml Sport, Science, John Doe\"]]\n [:p \"selects only entries in Sport and ",
"end": 11780,
"score": 0.9842972755432129,
"start": 11772,
"tag": "NAME",
"value": "John Doe"
},
{
"context": "nly entries in Sport and Science categories... | src/feedcircuit_revisited/ui.clj | shashurup/feedcircuit-revisited | 0 | (ns feedcircuit-revisited.ui
(:require [clojure.string :as s]
[feedcircuit-revisited.feed :as feed]
[feedcircuit-revisited.content :as content]
[feedcircuit-revisited.auth :as auth]
[clojure.tools.logging :as log]))
(def page-size 16)
(defn get-next-positions [user-it... | 22087 | (ns feedcircuit-revisited.ui
(:require [clojure.string :as s]
[feedcircuit-revisited.feed :as feed]
[feedcircuit-revisited.content :as content]
[feedcircuit-revisited.auth :as auth]
[clojure.tools.logging :as log]))
(def page-size 16)
(defn get-next-positions [user-it... | true | (ns feedcircuit-revisited.ui
(:require [clojure.string :as s]
[feedcircuit-revisited.feed :as feed]
[feedcircuit-revisited.content :as content]
[feedcircuit-revisited.auth :as auth]
[clojure.tools.logging :as log]))
(def page-size 16)
(defn get-next-positions [user-it... |
[
{
"context": "ck the \" \n [:a {:href \"https://github.com/biodivdev/rrapp-compose\"} \"source code\"]\" of the open sourc",
"end": 17131,
"score": 0.9989445805549622,
"start": 17122,
"tag": "USERNAME",
"value": "biodivdev"
},
{
"context": "ou can get in contact by email: \" ... | src/rrapp_ui/views.clj | biodivdev/rrapp-ui | 1 | (ns rrapp-ui.views
(:use hiccup.core
hiccup.page)
(:require [rrapp-ui.core :as core])
(:require [environ.core :refer [env]])
(:require [clojure.data.json :as json]))
(defn get-lang
[]
(apply str (first (partition 2 (or (env :lang) "en")))))
(def strings
(merge
(json/read-str (slurp (clojur... | 121943 | (ns rrapp-ui.views
(:use hiccup.core
hiccup.page)
(:require [rrapp-ui.core :as core])
(:require [environ.core :refer [env]])
(:require [clojure.data.json :as json]))
(defn get-lang
[]
(apply str (first (partition 2 (or (env :lang) "en")))))
(def strings
(merge
(json/read-str (slurp (clojur... | true | (ns rrapp-ui.views
(:use hiccup.core
hiccup.page)
(:require [rrapp-ui.core :as core])
(:require [environ.core :refer [env]])
(:require [clojure.data.json :as json]))
(defn get-lang
[]
(apply str (first (partition 2 (or (env :lang) "en")))))
(def strings
(merge
(json/read-str (slurp (clojur... |
[
{
"context": " Person {:person/id 1\n :person/name \"Joe\"\n :person/cars [{:car/id 22\n ",
"end": 1154,
"score": 0.9996873140335083,
"start": 1151,
"tag": "NAME",
"value": "Joe"
},
{
"context": "t\"}},\n ; :person/id {1 #:person{:id 1, :name \"Jo... | clj/ex/fulcro/src/app/app00h.cljs | mertnuhoglu/study | 1 | (ns app.app00h
(:require
[com.fulcrologic.fulcro.components :as comp :refer [defsc]]
[com.fulcrologic.fulcro.dom :as dom]
[com.fulcrologic.fulcro.application :as app]
[com.fulcrologic.fulcro.algorithms.merge :as merge]))
; video: Part 2
; Normalize the tree 03
; 18:40
(defonce app (app/fulcro-app))
... | 51068 | (ns app.app00h
(:require
[com.fulcrologic.fulcro.components :as comp :refer [defsc]]
[com.fulcrologic.fulcro.dom :as dom]
[com.fulcrologic.fulcro.application :as app]
[com.fulcrologic.fulcro.algorithms.merge :as merge]))
; video: Part 2
; Normalize the tree 03
; 18:40
(defonce app (app/fulcro-app))
... | true | (ns app.app00h
(:require
[com.fulcrologic.fulcro.components :as comp :refer [defsc]]
[com.fulcrologic.fulcro.dom :as dom]
[com.fulcrologic.fulcro.application :as app]
[com.fulcrologic.fulcro.algorithms.merge :as merge]))
; video: Part 2
; Normalize the tree 03
; 18:40
(defonce app (app/fulcro-app))
... |
[
{
"context": " \n )))\n\n(def +ex-token1+ \n '[:TOKEN {:y \"544.369\", :bold \"no\", :font-color \"#000000\", :rotation \"0",
"end": 2882,
"score": 0.5952474474906921,
"start": 2875,
"tag": "KEY",
"value": "544.369"
},
{
"context": " :x \"69.9857\", :y \"347.164\"} \n [... | test/dray/doc_test.clj | visthink/dray2 | 1 | (ns dray.doc-test
(:import (dray.j.VisualElement VText)
(java.io File))
(:require [clojure.test :refer :all]
[clojure.zip :as z]
[dray.corpus :refer [corpus]]
[dray.util :refer [private-function instances]]
[dray.j.VisualElement :refer [items]]
... | 100690 | (ns dray.doc-test
(:import (dray.j.VisualElement VText)
(java.io File))
(:require [clojure.test :refer :all]
[clojure.zip :as z]
[dray.corpus :refer [corpus]]
[dray.util :refer [private-function instances]]
[dray.j.VisualElement :refer [items]]
... | true | (ns dray.doc-test
(:import (dray.j.VisualElement VText)
(java.io File))
(:require [clojure.test :refer :all]
[clojure.zip :as z]
[dray.corpus :refer [corpus]]
[dray.util :refer [private-function instances]]
[dray.j.VisualElement :refer [items]]
... |
[
{
"context": "est.cell\n\n \"Testing `convex.cell`.\"\n\n {:author \"Adam Helinski\"}\n\n (:refer-clojure :exclude [*])\n (:require [c",
"end": 75,
"score": 0.9983041286468506,
"start": 62,
"tag": "NAME",
"value": "Adam Helinski"
}
] | project/cvm/src/clj/test/convex/test/cell.clj | rosejn/convex.cljc | 30 | (ns convex.test.cell
"Testing `convex.cell`."
{:author "Adam Helinski"}
(:refer-clojure :exclude [*])
(:require [clojure.test :as T]
[convex.cell :as $.cell]
[convex.read :as $.read]))
;;;;;;;;;; Printing
(T/deftest print'
(T/is (= "#cvx #42"
(pr-str ($.cell/addres... | 118265 | (ns convex.test.cell
"Testing `convex.cell`."
{:author "<NAME>"}
(:refer-clojure :exclude [*])
(:require [clojure.test :as T]
[convex.cell :as $.cell]
[convex.read :as $.read]))
;;;;;;;;;; Printing
(T/deftest print'
(T/is (= "#cvx #42"
(pr-str ($.cell/address 42)))... | true | (ns convex.test.cell
"Testing `convex.cell`."
{:author "PI:NAME:<NAME>END_PI"}
(:refer-clojure :exclude [*])
(:require [clojure.test :as T]
[convex.cell :as $.cell]
[convex.read :as $.read]))
;;;;;;;;;; Printing
(T/deftest print'
(T/is (= "#cvx #42"
(pr-str ($.cell... |
[
{
"context": "commonly found in Scheme implementations.\r\n\r\n;; by Mark Engelberg (mark.engelberg@gmail.com)\r\n;; January 17, 2009\r\n",
"end": 205,
"score": 0.9998878836631775,
"start": 191,
"tag": "NAME",
"value": "Mark Engelberg"
},
{
"context": " Scheme implementations.\r\n\r\... | ThirdParty/clojure-contrib-1.1.0/src/clojure/contrib/math.clj | allertonm/Couverjure | 3 | ;;; math.clj: math functions that deal intelligently with the various
;;; types in Clojure's numeric tower, as well as math functions
;;; commonly found in Scheme implementations.
;; by Mark Engelberg (mark.engelberg@gmail.com)
;; January 17, 2009
;; expt - (expt x y) is x to the yth power, returns an exact nu... | 47217 | ;;; math.clj: math functions that deal intelligently with the various
;;; types in Clojure's numeric tower, as well as math functions
;;; commonly found in Scheme implementations.
;; by <NAME> (<EMAIL>)
;; January 17, 2009
;; expt - (expt x y) is x to the yth power, returns an exact number
;; if the base is... | true | ;;; math.clj: math functions that deal intelligently with the various
;;; types in Clojure's numeric tower, as well as math functions
;;; commonly found in Scheme implementations.
;; by PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI)
;; January 17, 2009
;; expt - (expt x y) is x to the yth power, returns an exac... |
[
{
"context": " actual (if-member-of-permitted nil nil \"caramba\" \"boo\")]\n (is (= expected actual) \"Nil args,",
"end": 306,
"score": 0.7165552973747253,
"start": 299,
"tag": "NAME",
"value": "caramba"
},
{
"context": "member-of-permitted nil {:user-roles #{\"admin\"... | test/adl_support/tags_test.clj | simon-brooke/adl-support | 0 | (ns adl-support.tags-test
(:require [clojure.test :refer :all]
[adl-support.tags :refer :all]
[selmer.parser :as parser]))
(add-tags)
(deftest if-member-of-tests
(testing "the `ifmemberof` tag"
(let [expected "boo"
actual (if-member-of-permitted nil nil "caramba" "boo")]
... | 110089 | (ns adl-support.tags-test
(:require [clojure.test :refer :all]
[adl-support.tags :refer :all]
[selmer.parser :as parser]))
(add-tags)
(deftest if-member-of-tests
(testing "the `ifmemberof` tag"
(let [expected "boo"
actual (if-member-of-permitted nil nil "<NAME>" "boo")]
... | true | (ns adl-support.tags-test
(:require [clojure.test :refer :all]
[adl-support.tags :refer :all]
[selmer.parser :as parser]))
(add-tags)
(deftest if-member-of-tests
(testing "the `ifmemberof` tag"
(let [expected "boo"
actual (if-member-of-permitted nil nil "PI:NAME:<NAME>END_PI"... |
[
{
"context": " https://adventofcode.com/2020/day/1\n;; author: Vitor SRG (vitorssrg@gmail.com)\n;; date: 2020-12-28\n;;",
"end": 223,
"score": 0.9998789429664612,
"start": 214,
"tag": "NAME",
"value": "Vitor SRG"
},
{
"context": "entofcode.com/2020/day/1\n;; author: Vitor ... | aoc2020/d01/main.clj | vitorsrg/advent-of-code | 0 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; domain: Advent of Code 2020
;; challenge: Day 1: Report Repair
;; url: https://adventofcode.com/2020/day/1
;; author: Vitor SRG (vitorssrg@gmail.com)
;; date: 2020-12-28
;; execution: $ bash ./aoc2020/run.sh d01 < [INPU... | 54949 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; domain: Advent of Code 2020
;; challenge: Day 1: Report Repair
;; url: https://adventofcode.com/2020/day/1
;; author: <NAME> (<EMAIL>)
;; date: 2020-12-28
;; execution: $ bash ./aoc2020/run.sh d01 < [INPUT_FILE]
;; exam... | true | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; domain: Advent of Code 2020
;; challenge: Day 1: Report Repair
;; url: https://adventofcode.com/2020/day/1
;; author: PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI)
;; date: 2020-12-28
;; execution: $ bash ./aoc2020/run.... |
[
{
"context": "o})\n\n;apenas para testes\n;(s/validate PacienteID \"Marco\")\n;(s/validate PacienteID 15)\n(s/validate Departa",
"end": 410,
"score": 0.9998248815536499,
"start": 405,
"tag": "NAME",
"value": "Marco"
},
{
"context": "D 15)\n(s/validate Departamento (conj empty-queue \... | curso6/src/hospital/model.clj | Caporiccii/Clojure-Class | 0 | (ns hospital.model
(:require [schema.core :as s]))
(def empty-queue clojure.lang.PersistentQueue/EMPTY)
(defn novo-hospital []
{:espera empty-queue
:laboratorio1 empty-queue
:laboratorio2 empty-queue
:laboratorio3 empty-queue})
(s/def PacienteID s/Str)
(s/def Departamento (s/queue PacienteID))
(s/... | 113947 | (ns hospital.model
(:require [schema.core :as s]))
(def empty-queue clojure.lang.PersistentQueue/EMPTY)
(defn novo-hospital []
{:espera empty-queue
:laboratorio1 empty-queue
:laboratorio2 empty-queue
:laboratorio3 empty-queue})
(s/def PacienteID s/Str)
(s/def Departamento (s/queue PacienteID))
(s/... | true | (ns hospital.model
(:require [schema.core :as s]))
(def empty-queue clojure.lang.PersistentQueue/EMPTY)
(defn novo-hospital []
{:espera empty-queue
:laboratorio1 empty-queue
:laboratorio2 empty-queue
:laboratorio3 empty-queue})
(s/def PacienteID s/Str)
(s/def Departamento (s/queue PacienteID))
(s/... |
[
{
"context": "\"\n :all [\"yet@yetanalytics.io\"]}]}\n {:id \"https://f",
"end": 3374,
"score": 0.9996142387390137,
"start": 3355,
"tag": "EMAIL",
"value": "yet@yetanalytics.io"
}
] | src/test/com/yetanalytics/pan_test/errors_test.cljc | yetanalytics/project-pan | 2 | (ns com.yetanalytics.pan-test.errors-test
(:require [clojure.test :refer [deftest testing is are]]
[com.yetanalytics.pan.context :as ctx]
[com.yetanalytics.pan.errors :as e]
[com.yetanalytics.pan.objects.profile :as p]
[com.yetanalytics.pan.objects.template :as t]
... | 45767 | (ns com.yetanalytics.pan-test.errors-test
(:require [clojure.test :refer [deftest testing is are]]
[com.yetanalytics.pan.context :as ctx]
[com.yetanalytics.pan.errors :as e]
[com.yetanalytics.pan.objects.profile :as p]
[com.yetanalytics.pan.objects.template :as t]
... | true | (ns com.yetanalytics.pan-test.errors-test
(:require [clojure.test :refer [deftest testing is are]]
[com.yetanalytics.pan.context :as ctx]
[com.yetanalytics.pan.errors :as e]
[com.yetanalytics.pan.objects.profile :as p]
[com.yetanalytics.pan.objects.template :as t]
... |
[
{
"context": ";; Copyright 2014-2020 King\n;; Copyright 2009-2014 Ragnar Svensson, Christian Murray\n;; Licensed under the Defold Li",
"end": 111,
"score": 0.9998137354850769,
"start": 96,
"tag": "NAME",
"value": "Ragnar Svensson"
},
{
"context": "-2020 King\n;; Copyright 2009-2014 R... | editor/src/clj/editor/engine/build_errors.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... | 85480 | ;; 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": "t]\n [clojure.xml :as xml]\n [robert.hooke]))\n\n(def ^:private testcase-initial-state {:tag :",
"end": 218,
"score": 0.8488559722900391,
"start": 206,
"tag": "NAME",
"value": "robert.hooke"
}
] | src/clojure_test_junit_output/core.clj | conormcd/clojure-test-junit-output | 3 | (ns clojure-test-junit-output.core
(:require [clojure.stacktrace :refer (print-cause-trace)]
[clojure.string :as str]
[clojure.test]
[clojure.xml :as xml]
[robert.hooke]))
(def ^:private testcase-initial-state {:tag :testcase
:att... | 16143 | (ns clojure-test-junit-output.core
(:require [clojure.stacktrace :refer (print-cause-trace)]
[clojure.string :as str]
[clojure.test]
[clojure.xml :as xml]
[<NAME>]))
(def ^:private testcase-initial-state {:tag :testcase
:attrs {:n... | true | (ns clojure-test-junit-output.core
(:require [clojure.stacktrace :refer (print-cause-trace)]
[clojure.string :as str]
[clojure.test]
[clojure.xml :as xml]
[PI:NAME:<NAME>END_PI]))
(def ^:private testcase-initial-state {:tag :testcase
... |
[
{
"context": "{:doc \"Team member bio component.\"\n :author \"Eric Weinstein <eric.q.weinstein@gmail.com>\"}\n cityshelf.compon",
"end": 69,
"score": 0.9998930096626282,
"start": 55,
"tag": "NAME",
"value": "Eric Weinstein"
},
{
"context": "er bio component.\"\n :author \... | src/cityshelf/components/bio.cljs | ericqweinstein/cityshelf | 0 | (ns ^{:doc "Team member bio component."
:author "Eric Weinstein <eric.q.weinstein@gmail.com>"}
cityshelf.components.bio)
(defn bio
"Team member bio component."
[person]
(let [image (:image person)
twitter (:twitter person)
fullname (:fullname person)
title (:title person)]
[:d... | 68324 | (ns ^{:doc "Team member bio component."
:author "<NAME> <<EMAIL>>"}
cityshelf.components.bio)
(defn bio
"Team member bio component."
[person]
(let [image (:image person)
twitter (:twitter person)
fullname (:fullname person)
title (:title person)]
[:div.about-section
[:fig... | true | (ns ^{:doc "Team member bio component."
:author "PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>"}
cityshelf.components.bio)
(defn bio
"Team member bio component."
[person]
(let [image (:image person)
twitter (:twitter person)
fullname (:fullname person)
title (:title person)]
[... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.