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": " than prefix notation\"\n :url \"https://github.com/rm-hull/infix\"\n :license {\n :name \"The MIT License (M",
"end": 178,
"score": 0.9995942115783691,
"start": 171,
"tag": "USERNAME",
"value": "rm-hull"
},
{
"context": "s [\n [rm-hull/jasentaa \"0.2.5\"]]\n :... | project.clj | bpindelski/infix | 81 | (defproject rm-hull/infix "0.4.0"
:description "A small Clojure library for expressing LISP expressions as infix rather than prefix notation"
:url "https://github.com/rm-hull/infix"
:license {
:name "The MIT License (MIT)"
:url "http://opensource.org/licenses/MIT"}
:dependencies [
[rm-hull/jasentaa ... | 87578 | (defproject rm-hull/infix "0.4.0"
:description "A small Clojure library for expressing LISP expressions as infix rather than prefix notation"
:url "https://github.com/rm-hull/infix"
:license {
:name "The MIT License (MIT)"
:url "http://opensource.org/licenses/MIT"}
:dependencies [
[rm-hull/jasentaa ... | true | (defproject rm-hull/infix "0.4.0"
:description "A small Clojure library for expressing LISP expressions as infix rather than prefix notation"
:url "https://github.com/rm-hull/infix"
:license {
:name "The MIT License (MIT)"
:url "http://opensource.org/licenses/MIT"}
:dependencies [
[rm-hull/jasentaa ... |
[
{
"context": "00\" \"€100,00\" \"€200,00\"])\n(def transaction-keys [\"11,11\" \"23,23\" \"34,89\" \"99,99\" \"210,78\"])\n(def transact",
"end": 351,
"score": 0.7778159379959106,
"start": 346,
"tag": "KEY",
"value": "11,11"
},
{
"context": "0,00\" \"€200,00\"])\n(def transaction-key... | test/src/nl/openweb/test/interactions.clj | gklijs/kafka-protobuf-rust | 52 | (ns nl.openweb.test.interactions
(:require [etaoin.api :as a]
[etaoin.keys :as k])
(:import (java.time Instant)))
(defonce driver (atom nil))
(def deposit-keys [:deposit-1000 :deposit-2000 :deposit-5000 :deposit-10000 :deposit-20000])
(def deposit-values ["€10,00" "€20,00" "€50,00" "€100,00" "€200,00"]... | 109158 | (ns nl.openweb.test.interactions
(:require [etaoin.api :as a]
[etaoin.keys :as k])
(:import (java.time Instant)))
(defonce driver (atom nil))
(def deposit-keys [:deposit-1000 :deposit-2000 :deposit-5000 :deposit-10000 :deposit-20000])
(def deposit-values ["€10,00" "€20,00" "€50,00" "€100,00" "€200,00"]... | true | (ns nl.openweb.test.interactions
(:require [etaoin.api :as a]
[etaoin.keys :as k])
(:import (java.time Instant)))
(defonce driver (atom nil))
(def deposit-keys [:deposit-1000 :deposit-2000 :deposit-5000 :deposit-10000 :deposit-20000])
(def deposit-values ["€10,00" "€20,00" "€50,00" "€100,00" "€200,00"]... |
[
{
"context": ";; Copyright (c) 2014-2016 Andrey Antukh <niwi@niwi.nz>\n;; Copyright (c) 2014-2016 Alejand",
"end": 40,
"score": 0.9998935461044312,
"start": 27,
"tag": "NAME",
"value": "Andrey Antukh"
},
{
"context": ";; Copyright (c) 2014-2016 Andrey Antukh <niwi@niwi.nz>\n;; Copyri... | src/cats/monad/identity.cljc | klausharbo/cats | 896 | ;; Copyright (c) 2014-2016 Andrey Antukh <niwi@niwi.nz>
;; Copyright (c) 2014-2016 Alejandro Gómez <alejandro@dialelo.com>
;; All rights reserved.
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions
;; are met:
;;
;; 1. Redistrib... | 106188 | ;; Copyright (c) 2014-2016 <NAME> <<EMAIL>>
;; Copyright (c) 2014-2016 <NAME> <<EMAIL>>
;; All rights reserved.
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions
;; are met:
;;
;; 1. Redistributions of source code must retain t... | true | ;; Copyright (c) 2014-2016 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
;; Copyright (c) 2014-2016 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
;; All rights reserved.
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions
;; are ... |
[
{
"context": " ^{:doc \"Handy probability fns\"\n :author \"Sam Aaron\"}\n overtone.algo.chance\n (:use\n [overtone.alg",
"end": 63,
"score": 0.9998886585235596,
"start": 54,
"tag": "NAME",
"value": "Sam Aaron"
}
] | src/overtone/algo/chance.clj | rosejn/overtone | 4 | (ns
^{:doc "Handy probability fns"
:author "Sam Aaron"}
overtone.algo.chance
(:use
[overtone.algo.scaling]))
(defn choose
"Choose a random element from col."
[col]
(nth col (rand-int (count col))))
(defn choose-n
"Choose n random elements from col."
[n col]
(take n (shuffle col)))
(defn ... | 14650 | (ns
^{:doc "Handy probability fns"
:author "<NAME>"}
overtone.algo.chance
(:use
[overtone.algo.scaling]))
(defn choose
"Choose a random element from col."
[col]
(nth col (rand-int (count col))))
(defn choose-n
"Choose n random elements from col."
[n col]
(take n (shuffle col)))
(defn wei... | true | (ns
^{:doc "Handy probability fns"
:author "PI:NAME:<NAME>END_PI"}
overtone.algo.chance
(:use
[overtone.algo.scaling]))
(defn choose
"Choose a random element from col."
[col]
(nth col (rand-int (count col))))
(defn choose-n
"Choose n random elements from col."
[n col]
(take n (shuffle col... |
[
{
"context": "te items-count 14)\n\nitems-count\n\n(def admin-name \"John\")\n\n(defn greet-player [player]\n (println admin-n",
"end": 1416,
"score": 0.9997191429138184,
"start": 1412,
"tag": "NAME",
"value": "John"
},
{
"context": " admin-name \" welcomes \" player))\n\n(greet-pla... | Chapter12/concurrency/src/concurrency/core.clj | srufle/Hands-On-Reactive-Programming-with-Clojure-Second-Edition | 15 | (ns concurrency.core)
;;; Atoms
(def basket-counter (atom 0))
(deref basket-counter)
@basket-counter
(reset! basket-counter 3)
@basket-counter
(swap! basket-counter + 1)
@basket-counter
(swap! basket-counter (fn [existing-value] (+ existing-value 3)))
@basket-counter
(compare-and-set! basket-counter 7 8)
@b... | 410 | (ns concurrency.core)
;;; Atoms
(def basket-counter (atom 0))
(deref basket-counter)
@basket-counter
(reset! basket-counter 3)
@basket-counter
(swap! basket-counter + 1)
@basket-counter
(swap! basket-counter (fn [existing-value] (+ existing-value 3)))
@basket-counter
(compare-and-set! basket-counter 7 8)
@b... | true | (ns concurrency.core)
;;; Atoms
(def basket-counter (atom 0))
(deref basket-counter)
@basket-counter
(reset! basket-counter 3)
@basket-counter
(swap! basket-counter + 1)
@basket-counter
(swap! basket-counter (fn [existing-value] (+ existing-value 3)))
@basket-counter
(compare-and-set! basket-counter 7 8)
@b... |
[
{
"context": "c License - Version 1.0\" :url \"https://github.com/nathanmarz/storm/blob/master/LICENSE.html\"}\n :mailing-list ",
"end": 1477,
"score": 0.9995089769363403,
"start": 1467,
"tag": "USERNAME",
"value": "nathanmarz"
},
{
"context": " :archive \"https://groups.goog... | storm-lib/project.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... | 112350 | ;; 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": "rzuVHMA==\"))))\n\n(deftest load-config\n (let [key \"xTKVqrYHvOjR1NeoAZ4z0Q==:2WJe1eIGVT3/SItftl0MuA==\"]\n (with-redefs [util/get-env (fn [%]\n ",
"end": 423,
"score": 0.9997292757034302,
"start": 373,
"tag": "KEY",
"value": "xTKVqrYHvOjR1NeoAZ4z0Q==:2WJe1eIGVT3/S... | test/lambda/aes_test.clj | raiffeisenbankinternational/edd-core | 4 | (ns lambda.aes-test
(:require [clojure.test :refer :all]
[lambda.aes :as aes]
[lambda.util :as util]))
(deftest test-decrypt
(is (= "a\n"
(aes/decrypt "U2FsdGVkX19KJlvYRICc9tWdHMAo3tWvPbRFqF9proQ="
"BFJN4gx80sZunDT9hDLLLA=="
"xEgLZisyV2bT... | 89860 | (ns lambda.aes-test
(:require [clojure.test :refer :all]
[lambda.aes :as aes]
[lambda.util :as util]))
(deftest test-decrypt
(is (= "a\n"
(aes/decrypt "U2FsdGVkX19KJlvYRICc9tWdHMAo3tWvPbRFqF9proQ="
"BFJN4gx80sZunDT9hDLLLA=="
"xEgLZisyV2bT... | true | (ns lambda.aes-test
(:require [clojure.test :refer :all]
[lambda.aes :as aes]
[lambda.util :as util]))
(deftest test-decrypt
(is (= "a\n"
(aes/decrypt "U2FsdGVkX19KJlvYRICc9tWdHMAo3tWvPbRFqF9proQ="
"BFJN4gx80sZunDT9hDLLLA=="
"xEgLZisyV2bT... |
[
{
"context": ":name \"User\"}))\n\n;; (swap! app-state assoc :name \"Andrea\")\n\n(defn on-js-reload []\n (.info js/console \"Rel",
"end": 185,
"score": 0.9995444416999817,
"start": 179,
"tag": "NAME",
"value": "Andrea"
}
] | src/figreload_demo/core.cljs | arichiardi/fig-boot-reload | 0 | (ns ^:figwheel-load figreload-demo.core
(:require [dommy.core :as dommy]))
(enable-console-print!)
(defonce app-state (atom {:name "User"}))
;; (swap! app-state assoc :name "Andrea")
(defn on-js-reload []
(.info js/console "Reloading Javascript...")
(dommy/set-text! (dommy/sel1 ".greetee-name") (:name @app-st... | 49681 | (ns ^:figwheel-load figreload-demo.core
(:require [dommy.core :as dommy]))
(enable-console-print!)
(defonce app-state (atom {:name "User"}))
;; (swap! app-state assoc :name "<NAME>")
(defn on-js-reload []
(.info js/console "Reloading Javascript...")
(dommy/set-text! (dommy/sel1 ".greetee-name") (:name @app-st... | true | (ns ^:figwheel-load figreload-demo.core
(:require [dommy.core :as dommy]))
(enable-console-print!)
(defonce app-state (atom {:name "User"}))
;; (swap! app-state assoc :name "PI:NAME:<NAME>END_PI")
(defn on-js-reload []
(.info js/console "Reloading Javascript...")
(dommy/set-text! (dommy/sel1 ".greetee-name") ... |
[
{
"context": "person)))\n\n(fact\n (fullname ...person...) => \"Mr. Brian Marick\"\n (provided\n ...person... =contains=> {:given",
"end": 3128,
"score": 0.9996922612190247,
"start": 3116,
"tag": "NAME",
"value": "Brian Marick"
},
{
"context": " (provided\n ...person... =con... | test/as_documentation/metaconstants.clj | MerelyAPseudonym/shallow-Midje | 0 | (ns as-documentation.metaconstants
(:use [midje sweet test-util]))
;;; THE BASICS
;;; Tests that specify too much detail about data are fragile and hard to read. Metaconstants
;;; are used to describe only the minimal information about some data. Here's the way you say
;;; that propertie... | 50284 | (ns as-documentation.metaconstants
(:use [midje sweet test-util]))
;;; THE BASICS
;;; Tests that specify too much detail about data are fragile and hard to read. Metaconstants
;;; are used to describe only the minimal information about some data. Here's the way you say
;;; that propertie... | true | (ns as-documentation.metaconstants
(:use [midje sweet test-util]))
;;; THE BASICS
;;; Tests that specify too much detail about data are fragile and hard to read. Metaconstants
;;; are used to describe only the minimal information about some data. Here's the way you say
;;; that propertie... |
[
{
"context": " https://adventofcode.com/2020/day/7\n;; author: Vitor SRG (vitorssrg@gmail.com)\n;; date: 2021-01-04\n;;",
"end": 226,
"score": 0.9998973608016968,
"start": 217,
"tag": "NAME",
"value": "Vitor SRG"
},
{
"context": "entofcode.com/2020/day/7\n;; author: Vitor ... | aoc2020/d07/main.clj | vitorsrg/advent-of-code | 0 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; domain: Advent of Code 2020
;; challenge: Day 7: Handy Haversacks
;; url: https://adventofcode.com/2020/day/7
;; author: Vitor SRG (vitorssrg@gmail.com)
;; date: 2021-01-04
;; execution: $ bash ./aoc2020/run.sh d07 < [I... | 114156 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; domain: Advent of Code 2020
;; challenge: Day 7: Handy Haversacks
;; url: https://adventofcode.com/2020/day/7
;; author: <NAME> (<EMAIL>)
;; date: 2021-01-04
;; execution: $ bash ./aoc2020/run.sh d07 < [INPUT_FILE]
;; e... | true | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; domain: Advent of Code 2020
;; challenge: Day 7: Handy Haversacks
;; url: https://adventofcode.com/2020/day/7
;; author: PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI)
;; date: 2021-01-04
;; execution: $ bash ./aoc2020/r... |
[
{
"context": " \"fineants\"\n :password \"YhTv2ejHdtK9f6i3q6bq2hCeRK\"\n :host \"localhost\"\n ",
"end": 248,
"score": 0.9992030262947083,
"start": 222,
"tag": "PASSWORD",
"value": "YhTv2ejHdtK9f6i3q6bq2hCeRK"
}
] | src/fineants/db/db.clj | aippisch/fineants-clj | 0 | (ns fineants.db.db
(:refer-clojure :exclude [update])
(:require [korma.db :refer :all]))
(defdb fadb (postgres {:db "fineants"
:user "fineants"
:password "YhTv2ejHdtK9f6i3q6bq2hCeRK"
:host "localhost"
... | 60795 | (ns fineants.db.db
(:refer-clojure :exclude [update])
(:require [korma.db :refer :all]))
(defdb fadb (postgres {:db "fineants"
:user "fineants"
:password "<PASSWORD>"
:host "localhost"
:port "543... | true | (ns fineants.db.db
(:refer-clojure :exclude [update])
(:require [korma.db :refer :all]))
(defdb fadb (postgres {:db "fineants"
:user "fineants"
:password "PI:PASSWORD:<PASSWORD>END_PI"
:host "localhost"
... |
[
{
"context": "server server\n :namespace namespace\n :username username\n :password password})\n\n(defn- state-watch-loop-",
"end": 1565,
"score": 0.9852107763290405,
"start": 1557,
"tag": "USERNAME",
"value": "username"
},
{
"context": "space namespace\n :username username\n... | src/rube/core.clj | blak3mill3r/keenest-rube | 57 | (ns rube.core
(:require [clojure.string :as str]
[clojure.core.async :as a :refer [<!! timeout]]
[rube.lens :refer [resource-lens]]
[rube.api.swagger :as api]
[rube.request :refer [request watch-request]]
[rube.state :refer [update-from-snapshot update-from-... | 75437 | (ns rube.core
(:require [clojure.string :as str]
[clojure.core.async :as a :refer [<!! timeout]]
[rube.lens :refer [resource-lens]]
[rube.api.swagger :as api]
[rube.request :refer [request watch-request]]
[rube.state :refer [update-from-snapshot update-from-... | true | (ns rube.core
(:require [clojure.string :as str]
[clojure.core.async :as a :refer [<!! timeout]]
[rube.lens :refer [resource-lens]]
[rube.api.swagger :as api]
[rube.request :refer [request watch-request]]
[rube.state :refer [update-from-snapshot update-from-... |
[
{
"context": "let [now (time/now)\n profile {:username \"tester\", :hashed-password \"a long hash\",\n ",
"end": 493,
"score": 0.9940567016601562,
"start": 487,
"tag": "USERNAME",
"value": "tester"
},
{
"context": " profile {:username \"tester\", :hashed-pass... | test/zanmi/view/profile_view_test.clj | zonotope/zanmi | 35 | (ns zanmi.view.profile-view-test
(:require [zanmi.boundary.signer :as signer]
[zanmi.component.signer.sha :refer [sha-signer]]
[zanmi.data.profile :refer [create]]
[zanmi.test-config :refer [config]]
[zanmi.util.time :as time]
[zanmi.view.profile-view :refer... | 11308 | (ns zanmi.view.profile-view-test
(:require [zanmi.boundary.signer :as signer]
[zanmi.component.signer.sha :refer [sha-signer]]
[zanmi.data.profile :refer [create]]
[zanmi.test-config :refer [config]]
[zanmi.util.time :as time]
[zanmi.view.profile-view :refer... | true | (ns zanmi.view.profile-view-test
(:require [zanmi.boundary.signer :as signer]
[zanmi.component.signer.sha :refer [sha-signer]]
[zanmi.data.profile :refer [create]]
[zanmi.test-config :refer [config]]
[zanmi.util.time :as time]
[zanmi.view.profile-view :refer... |
[
{
"context": "(range 99)))))\n\n(def prose (string/split \"Hereupon Legrand arose, with a grave and stately air, and brought ",
"end": 5205,
"score": 0.7117770910263062,
"start": 5198,
"tag": "NAME",
"value": "Legrand"
}
] | test/causal/collections/list_test.cljc | smothers/causal-tree | 114 | (ns causal.collections.list-test
(:require [causal.collections.shared :as s]
[causal.core :as c]
[causal.collections.list :as c.list]
[clojure.string :as string]
[clojure.test :refer [deftest is]])
#? (:clj (:require [criterium.core :as criterium])))
(def simple-valu... | 81192 | (ns causal.collections.list-test
(:require [causal.collections.shared :as s]
[causal.core :as c]
[causal.collections.list :as c.list]
[clojure.string :as string]
[clojure.test :refer [deftest is]])
#? (:clj (:require [criterium.core :as criterium])))
(def simple-valu... | true | (ns causal.collections.list-test
(:require [causal.collections.shared :as s]
[causal.core :as c]
[causal.collections.list :as c.list]
[clojure.string :as string]
[clojure.test :refer [deftest is]])
#? (:clj (:require [criterium.core :as criterium])))
(def simple-valu... |
[
{
"context": "e.core/quote\")\n (m \"https://8thlight.com/blog/colin-jones/2012/05/22/quoting-without-confusion.html\")\n (m ",
"end": 1320,
"score": 0.704882800579071,
"start": 1312,
"tag": "USERNAME",
"value": "in-jones"
},
{
"context": " (a (def john (merge person-class {:firs... | src/test/clojure/pl/tomaszgigiel/quizzes/packs/macro_test.clj | tomaszgigiel/quizzes | 1 | (ns pl.tomaszgigiel.quizzes.packs.macro-test
(:require [clojure.test :as tst])
(:require [pl.tomaszgigiel.quizzes.test-config :as test-config])
(:require [pl.tomaszgigiel.quizzes.quiz :refer [qam q a at m]])
(:require [pl.tomaszgigiel.utils.misc :as misc]))
(tst/use-fixtures :once test-config/once-fixture)
(ts... | 27806 | (ns pl.tomaszgigiel.quizzes.packs.macro-test
(:require [clojure.test :as tst])
(:require [pl.tomaszgigiel.quizzes.test-config :as test-config])
(:require [pl.tomaszgigiel.quizzes.quiz :refer [qam q a at m]])
(:require [pl.tomaszgigiel.utils.misc :as misc]))
(tst/use-fixtures :once test-config/once-fixture)
(ts... | true | (ns pl.tomaszgigiel.quizzes.packs.macro-test
(:require [clojure.test :as tst])
(:require [pl.tomaszgigiel.quizzes.test-config :as test-config])
(:require [pl.tomaszgigiel.quizzes.quiz :refer [qam q a at m]])
(:require [pl.tomaszgigiel.utils.misc :as misc]))
(tst/use-fixtures :once test-config/once-fixture)
(ts... |
[
{
"context": " (fix/submit+await-tx [[::xt/fn :put-ivan {:name \"Ivan\"}]])\n\n (t/is (= {:xt/id :ivan, :name \"Ivan\"}",
"end": 2400,
"score": 0.9834529757499695,
"start": 2396,
"tag": "NAME",
"value": "Ivan"
},
{
"context": " \"Ivan\"}]])\n\n (t/is (= {:xt/id :ivan, :name... | test/test/xtdb/replay_test.clj | aleksandersumowski/xtdb | 1,500 | (ns xtdb.replay-test
(:require [clojure.java.io :as io]
[clojure.test :as t]
[xtdb.api :as xt]
[xtdb.db :as db]
[xtdb.fixtures :as fix :refer [*api*]]
[xtdb.rocksdb :as rocks]))
(def ^:private ^:dynamic *event-log-dir*)
(defn- with-cluster* [f]
(fix/with... | 94567 | (ns xtdb.replay-test
(:require [clojure.java.io :as io]
[clojure.test :as t]
[xtdb.api :as xt]
[xtdb.db :as db]
[xtdb.fixtures :as fix :refer [*api*]]
[xtdb.rocksdb :as rocks]))
(def ^:private ^:dynamic *event-log-dir*)
(defn- with-cluster* [f]
(fix/with... | true | (ns xtdb.replay-test
(:require [clojure.java.io :as io]
[clojure.test :as t]
[xtdb.api :as xt]
[xtdb.db :as db]
[xtdb.fixtures :as fix :refer [*api*]]
[xtdb.rocksdb :as rocks]))
(def ^:private ^:dynamic *event-log-dir*)
(defn- with-cluster* [f]
(fix/with... |
[
{
"context": "on/address \"6\" :person/happy? true :person/email \"amiee@nowhere.com\"}\n {:db/id \"2\" :person/id 2 :p",
"end": 1347,
"score": 0.9999291896820068,
"start": 1330,
"tag": "EMAIL",
"value": "amiee@nowhere.com"
},
{
"context": "happy? true :person/chil... | src/main/app/model/mock_database.clj | gmp26/fulcro-with-reframe | 0 | (ns app.model.mock-database
"This is a mock database implemented via Datascript, which runs completely in memory, has few deps, and requires
less setup than Datomic itself. Its API is very close to Datomics, and for a demo app makes it possible to have the
*look* of a real back-end without having quite the amoun... | 15402 | (ns app.model.mock-database
"This is a mock database implemented via Datascript, which runs completely in memory, has few deps, and requires
less setup than Datomic itself. Its API is very close to Datomics, and for a demo app makes it possible to have the
*look* of a real back-end without having quite the amoun... | true | (ns app.model.mock-database
"This is a mock database implemented via Datascript, which runs completely in memory, has few deps, and requires
less setup than Datomic itself. Its API is very close to Datomics, and for a demo app makes it possible to have the
*look* of a real back-end without having quite the amoun... |
[
{
"context": " [& {:keys [character-name] :or {character-name \"Skuld\"}}]\n {:player (mc/new-character character-name\n ",
"end": 581,
"score": 0.7250679731369019,
"start": 576,
"tag": "USERNAME",
"value": "Skuld"
},
{
"context": " :max-hp 100)\n :enemy (mc/new-character \... | src/iron_aether/model/battle.cljs | cayennebob/iron-aether | 1 | (ns ^:figwheel-always iron-aether.model.battle
(:require [iron-aether.model.dice :as dice]
[iron-aether.model.character :as mc]))
;; state etc.
(def default-abilities
[:basic-attack #_:defend #_:heal #_:retreat :no-action #_:fight-again])
#_(defn new-character
[name & {:keys [friendly? max-hp attac... | 96042 | (ns ^:figwheel-always iron-aether.model.battle
(:require [iron-aether.model.dice :as dice]
[iron-aether.model.character :as mc]))
;; state etc.
(def default-abilities
[:basic-attack #_:defend #_:heal #_:retreat :no-action #_:fight-again])
#_(defn new-character
[name & {:keys [friendly? max-hp attac... | true | (ns ^:figwheel-always iron-aether.model.battle
(:require [iron-aether.model.dice :as dice]
[iron-aether.model.character :as mc]))
;; state etc.
(def default-abilities
[:basic-attack #_:defend #_:heal #_:retreat :no-action #_:fight-again])
#_(defn new-character
[name & {:keys [friendly? max-hp attac... |
[
{
"context": ";; Copyright (c) 2015 Andrey Antukh <niwi@niwi.nz>\n;; All rights reserved.\n;;\n;; Redi",
"end": 35,
"score": 0.9998834729194641,
"start": 22,
"tag": "NAME",
"value": "Andrey Antukh"
},
{
"context": ";; Copyright (c) 2015 Andrey Antukh <niwi@niwi.nz>\n;; All rights res... | src/wydra/message.clj | funcool/wydra | 4 | ;; Copyright (c) 2015 Andrey Antukh <niwi@niwi.nz>
;; All rights reserved.
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions are met:
;;
;; * Redistributions of source code must retain the above copyright notice, this
;; list... | 67196 | ;; Copyright (c) 2015 <NAME> <<EMAIL>>
;; All rights reserved.
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions are met:
;;
;; * Redistributions of source code must retain the above copyright notice, this
;; list of conditio... | true | ;; Copyright (c) 2015 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
;; All rights reserved.
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions are met:
;;
;; * Redistributions of source code must retain the above copyright notic... |
[
{
"context": "t {:id \"abcd\"\n :firstName \"James\"\n :lastName \"BOND\"\n ",
"end": 5140,
"score": 0.9995579123497009,
"start": 5135,
"tag": "NAME",
"value": "James"
},
{
"context": " :firstName \"James\"\n :lastN... | test/artemis/stores/mapgraph_store_test.cljs | stevebuik/artemis | 0 | (ns artemis.stores.mapgraph-store-test
(:require [cljs.test :refer-macros [deftest is testing async]]
[artemis.core :as a]
[artemis.document :as d]
[artemis.stores.mapgraph.core :refer [create-store]]))
(def test-queries
{:basic
{:query (d/parse-document
"{
... | 14315 | (ns artemis.stores.mapgraph-store-test
(:require [cljs.test :refer-macros [deftest is testing async]]
[artemis.core :as a]
[artemis.document :as d]
[artemis.stores.mapgraph.core :refer [create-store]]))
(def test-queries
{:basic
{:query (d/parse-document
"{
... | true | (ns artemis.stores.mapgraph-store-test
(:require [cljs.test :refer-macros [deftest is testing async]]
[artemis.core :as a]
[artemis.document :as d]
[artemis.stores.mapgraph.core :refer [create-store]]))
(def test-queries
{:basic
{:query (d/parse-document
"{
... |
[
{
"context": "v* \n;; tag::test-basic-query-d[]\n[{:crux.db/id :ivan\n :name \"Ivan\"\n :last-name \"Ivanov\"}\n\n {:crux.db",
"end": 374,
"score": 0.7475860714912415,
"start": 372,
"tag": "NAME",
"value": "an"
},
{
"context": "test-basic-query-d[]\n[{:crux.db/id :ivan\n :name \"I... | docs/query_test_examples.clj | maacl/crux | 0 | (ns crux.query-test
(:require [clojure.spec.alpha :as s]
[clojure.test :as t]
[crux.db :as db]
[crux.api :as api]
[crux.fixtures :as f :refer [*kv*]])
(:import java.util.UUID))
(t/use-fixtures :each f/with-kv-store)
(t/deftest test-basic-query
(f/transact-people! ... | 62210 | (ns crux.query-test
(:require [clojure.spec.alpha :as s]
[clojure.test :as t]
[crux.db :as db]
[crux.api :as api]
[crux.fixtures :as f :refer [*kv*]])
(:import java.util.UUID))
(t/use-fixtures :each f/with-kv-store)
(t/deftest test-basic-query
(f/transact-people! ... | true | (ns crux.query-test
(:require [clojure.spec.alpha :as s]
[clojure.test :as t]
[crux.db :as db]
[crux.api :as api]
[crux.fixtures :as f :refer [*kv*]])
(:import java.util.UUID))
(t/use-fixtures :each f/with-kv-store)
(t/deftest test-basic-query
(f/transact-people! ... |
[
{
"context": " (assoc-in [:session :store] (cookie-store {:key \"I'm a 16-bit key\"}))\n (assoc-in [:security :ssl-redirect] {:s",
"end": 1590,
"score": 0.9968998432159424,
"start": 1574,
"tag": "KEY",
"value": "I'm a 16-bit key"
}
] | src/quackers/handler.clj | innoq/quackers | 13 | (ns quackers.handler
(:require [compojure.core :refer :all]
[compojure.route :as route]
[ring.middleware.defaults :refer [wrap-defaults secure-site-defaults]]
[ring.middleware.session.cookie :refer [cookie-store]]
[quackers.helpers :as h]
[quackers.users :re... | 53565 | (ns quackers.handler
(:require [compojure.core :refer :all]
[compojure.route :as route]
[ring.middleware.defaults :refer [wrap-defaults secure-site-defaults]]
[ring.middleware.session.cookie :refer [cookie-store]]
[quackers.helpers :as h]
[quackers.users :re... | true | (ns quackers.handler
(:require [compojure.core :refer :all]
[compojure.route :as route]
[ring.middleware.defaults :refer [wrap-defaults secure-site-defaults]]
[ring.middleware.session.cookie :refer [cookie-store]]
[quackers.helpers :as h]
[quackers.users :re... |
[
{
"context": "(ns #^{:author \"Roger Allen\"\n :doc \"Shadertoy meets Overtone. A demons",
"end": 27,
"score": 0.9998628497123718,
"start": 16,
"tag": "NAME",
"value": "Roger Allen"
},
{
"context": ";; once here.\n\n;; inspiration https://twitter.com/redFrik/status/32931153572... | src/shadertone/core.clj | baskeboler/shadertone | 304 | (ns #^{:author "Roger Allen"
:doc "Shadertoy meets Overtone. A demonstration for 'lein run'"}
shadertone.core
(:use [overtone.live])
(:require [shadertone.tone :as t])
(:gen-class))
;; See examples/00demo_intro_tour.clj for the example code that was
;; once here.
;; inspiration https://twitter.com/red... | 76887 | (ns #^{:author "<NAME>"
:doc "Shadertoy meets Overtone. A demonstration for 'lein run'"}
shadertone.core
(:use [overtone.live])
(:require [shadertone.tone :as t])
(:gen-class))
;; See examples/00demo_intro_tour.clj for the example code that was
;; once here.
;; inspiration https://twitter.com/redFrik/... | true | (ns #^{:author "PI:NAME:<NAME>END_PI"
:doc "Shadertoy meets Overtone. A demonstration for 'lein run'"}
shadertone.core
(:use [overtone.live])
(:require [shadertone.tone :as t])
(:gen-class))
;; See examples/00demo_intro_tour.clj for the example code that was
;; once here.
;; inspiration https://twitte... |
[
{
"context": ";; Copyright (c) 2015 <Diego Souza>\n\n;; Permission is hereby granted, free of charge",
"end": 34,
"score": 0.9998728036880493,
"start": 23,
"tag": "NAME",
"value": "Diego Souza"
}
] | src/storaged/src/leela/storaged/network/controller.clj | locaweb/leela | 22 | ;; Copyright (c) 2015 <Diego Souza>
;; 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... | 14259 | ;; Copyright (c) 2015 <<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, dis... | true | ;; Copyright (c) 2015 <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... |
[
{
"context": " :person.firstName\n [[1 \"Richard\"]\n [2\"Cindy\"]\n [3",
"end": 159,
"score": 0.9998109340667725,
"start": 152,
"tag": "NAME",
"value": "Richard"
},
{
"context": " [[1 \"Richard\"]\n ... | test/documentation/binary_ops.clj | tkaryadis/louna-local | 0 | (ns documentation.binary-ops
(:use louna.louna
louna.louna-util))
#_(def personDB {
:person.firstName
[[1 "Richard"]
[2"Cindy"]
[3 "Craig"]]
:person.lastName
[[1 "Mutt"]
[2 "Marshall"]
... | 58456 | (ns documentation.binary-ops
(:use louna.louna
louna.louna-util))
#_(def personDB {
:person.firstName
[[1 "<NAME>"]
[2"<NAME>"]
[3 "<NAME>"]]
:person.lastName
[[1 "<NAME>"]
[2 "<NAME>"]
... | true | (ns documentation.binary-ops
(:use louna.louna
louna.louna-util))
#_(def personDB {
:person.firstName
[[1 "PI:NAME:<NAME>END_PI"]
[2"PI:NAME:<NAME>END_PI"]
[3 "PI:NAME:<NAME>END_PI"]]
:person.lastName
[[1 "PI... |
[
{
"context": "{:user\n {:signing {:gpg-key \"chad@deercreeklabs.com\"}\n :injections [(require 'pjstadig.humane-test-o",
"end": 51,
"score": 0.9997812509536743,
"start": 29,
"tag": "EMAIL",
"value": "chad@deercreeklabs.com"
},
{
"context": "ne-test-output/activate!)]\n\n :plugins\n... | profiles.clj | chadharrington/my-profiles-clj | 1 | {:user
{:signing {:gpg-key "chad@deercreeklabs.com"}
:injections [(require 'pjstadig.humane-test-output)
(pjstadig.humane-test-output/activate!)]
:plugins
[[com.jakemccrary/lein-test-refresh "0.23.0"]
[lein-bikeshed "0.5.1"
:exclusions [org.clojure/clojure org.clojure/tools.cli]]
[lein-... | 81096 | {:user
{:signing {:gpg-key "<EMAIL>"}
:injections [(require 'pjstadig.humane-test-output)
(pjstadig.humane-test-output/activate!)]
:plugins
[[com.jakemccrary/lein-test-refresh "0.23.0"]
[lein-bikeshed "0.5.1"
:exclusions [org.clojure/clojure org.clojure/tools.cli]]
[lein-cljfmt "0.6.1"
... | true | {:user
{:signing {:gpg-key "PI:EMAIL:<EMAIL>END_PI"}
:injections [(require 'pjstadig.humane-test-output)
(pjstadig.humane-test-output/activate!)]
:plugins
[[com.jakemccrary/lein-test-refresh "0.23.0"]
[lein-bikeshed "0.5.1"
:exclusions [org.clojure/clojure org.clojure/tools.cli]]
[lein-... |
[
{
"context": ";; Copyright (c) 2011,2012,2013 Walter Tetzner\n\n;; Permission is hereby granted, free of charge,",
"end": 46,
"score": 0.9998266696929932,
"start": 32,
"tag": "NAME",
"value": "Walter Tetzner"
}
] | src/org/bovinegenius/exploding_fish.clj | wtetzner/exploding-fish | 93 | ;; Copyright (c) 2011,2012,2013 Walter Tetzner
;; 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, mer... | 31833 | ;; Copyright (c) 2011,2012,2013 <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, publ... | true | ;; Copyright (c) 2011,2012,2013 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,
;; modif... |
[
{
"context": "0\"}]}\n :user \"user-A\"\n :uris []}}\n",
"end": 15660,
"score": 0.9994307160377502,
"start": 15654,
"tag": "USERNAME",
"value": "user-A"
},
{
"context": " :value \"50\"}]}\n ... | scheduler/test/cook/test/mesos/mesos_mock.clj | dposada/Cook | 0 | (ns cook.test.mesos.mesos-mock
(:use clojure.test)
(:require [chime :refer [chime-ch]]
[clj-time.core :as t]
[clojure.core.async :as async]
[clojure.tools.logging :as log]
[cook.mesos.mesos-mock :as mm]
[cook.mesos.share :as share]
[cook.mesos.... | 46247 | (ns cook.test.mesos.mesos-mock
(:use clojure.test)
(:require [chime :refer [chime-ch]]
[clj-time.core :as t]
[clojure.core.async :as async]
[clojure.tools.logging :as log]
[cook.mesos.mesos-mock :as mm]
[cook.mesos.share :as share]
[cook.mesos.... | true | (ns cook.test.mesos.mesos-mock
(:use clojure.test)
(:require [chime :refer [chime-ch]]
[clj-time.core :as t]
[clojure.core.async :as async]
[clojure.tools.logging :as log]
[cook.mesos.mesos-mock :as mm]
[cook.mesos.share :as share]
[cook.mesos.... |
[
{
"context": "all]))\n\n\n\n(deftest hex-to-base64-test\n (def inp \"49276d206b696c6c696e6720796f757220627261696e206c696b65206120706f69736f6e6f7573206d757368726f6f6d\")\n (def out \"SSdtIGtpbGxpbmcgeW91ciBicmFpbiBsaWt",
"end": 253,
"score": 0.9986721873283386,
"start": 157,
"tag": "KEY",
"... | test/set1/hex_to_base64_test.clj | milapsheth/Crypto-Challenges | 3 | (ns set1.hex-to-base64-test
(:require [clojure.test :refer :all]
[set1.hex-to-base64 :refer :all]))
(deftest hex-to-base64-test
(def inp "49276d206b696c6c696e6720796f757220627261696e206c696b65206120706f69736f6e6f7573206d757368726f6f6d")
(def out "SSdtIGtpbGxpbmcgeW91ciBicmFpbiBsaWtlIGEgcG9pc29ub3Vz... | 84726 | (ns set1.hex-to-base64-test
(:require [clojure.test :refer :all]
[set1.hex-to-base64 :refer :all]))
(deftest hex-to-base64-test
(def inp "<KEY>")
(def out "<KEY>")
(testing "" (is (= out (encode inp)))))
| true | (ns set1.hex-to-base64-test
(:require [clojure.test :refer :all]
[set1.hex-to-base64 :refer :all]))
(deftest hex-to-base64-test
(def inp "PI:KEY:<KEY>END_PI")
(def out "PI:KEY:<KEY>END_PI")
(testing "" (is (= out (encode inp)))))
|
[
{
"context": ";; Copyright (c) 2015, Dmitry Kozlov <kozlov.dmitry.a@gmail.com>\n;; Code is published ",
"end": 36,
"score": 0.9998647570610046,
"start": 23,
"tag": "NAME",
"value": "Dmitry Kozlov"
},
{
"context": ";; Copyright (c) 2015, Dmitry Kozlov <kozlov.dmitry.a@gmail.com>\n;; C... | src/illya/app.clj | dkz/illya | 2 | ;; Copyright (c) 2015, Dmitry Kozlov <kozlov.dmitry.a@gmail.com>
;; Code is published under BSD 2-clause license
(ns illya.app
(:gen-class)
(:use compojure.core)
(:require
[illya.views :as views]
[illya.storage :as storage]
[illya.config :as configuration]
[illya.sessions :as sessions]
[ring.adapt... | 75823 | ;; Copyright (c) 2015, <NAME> <<EMAIL>>
;; Code is published under BSD 2-clause license
(ns illya.app
(:gen-class)
(:use compojure.core)
(:require
[illya.views :as views]
[illya.storage :as storage]
[illya.config :as configuration]
[illya.sessions :as sessions]
[ring.adapter.jetty-async :refer [ru... | true | ;; Copyright (c) 2015, PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
;; Code is published under BSD 2-clause license
(ns illya.app
(:gen-class)
(:use compojure.core)
(:require
[illya.views :as views]
[illya.storage :as storage]
[illya.config :as configuration]
[illya.sessions :as sessions]
[ring.a... |
[
{
"context": "unction (cl-format) for Clojure\n\n; Copyright (c) Rich Hickey. All rights reserved.\n; The use and distributio",
"end": 131,
"score": 0.9998801946640015,
"start": 120,
"tag": "NAME",
"value": "Rich Hickey"
},
{
"context": "ice, or any other, from this software.\n\n... | Neptune/bin/Debug/clojure/pprint.clj | yasir2000/Neptune- | 14 | ;;; pprint.clj -- Pretty printer and Common Lisp compatible format function (cl-format) for Clojure
; 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 ... | 68030 | ;;; pprint.clj -- Pretty printer and Common Lisp compatible format function (cl-format) for Clojure
; 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 fo... | true | ;;; pprint.clj -- Pretty printer and Common Lisp compatible format function (cl-format) for Clojure
; 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)
; w... |
[
{
"context": "; Copyright (C) 2008 - 2011 Stefan Marr <mail@stefan-marr.de>\n; \n; Permission is hereby g",
"end": 39,
"score": 0.9998854398727417,
"start": 28,
"tag": "NAME",
"value": "Stefan Marr"
},
{
"context": "; Copyright (C) 2008 - 2011 Stefan Marr <mail@stefan-marr.de>\n; \n;... | Clojure/src/snake/core.clj | smarr/Snake | 4 | ; Copyright (C) 2008 - 2011 Stefan Marr <mail@stefan-marr.de>
;
; 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, m... | 36026 | ; Copyright (C) 2008 - 2011 <NAME> <<EMAIL>>
;
; 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... | true | ; Copyright (C) 2008 - 2011 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
;
; Permission is hereby granted, free of charge, to any person obtaining a copy
; of this software and associated documentation files (the "Software"), to
; deal in the Software without restriction, including without limitation the
; rights to ... |
[
{
"context": "ge, London, All rights reserved.\n;\n; Contributors: Jony Hudson\n;\n; Released under the MIT license..\n;\n\n(ns darwi",
"end": 134,
"score": 0.999744176864624,
"start": 123,
"tag": "NAME",
"value": "Jony Hudson"
}
] | src/darwin/evolution/transform.clj | drcode/darwin | 22 | ;
; This file is part of darwin.
;
; Copyright (C) 2014-, Imperial College, London, All rights reserved.
;
; Contributors: Jony Hudson
;
; Released under the MIT license..
;
(ns darwin.evolution.transform
"Functions for transforming individuals, and the population. These can be supplied to the EA
to perform non-EA... | 57379 | ;
; This file is part of darwin.
;
; Copyright (C) 2014-, Imperial College, London, All rights reserved.
;
; Contributors: <NAME>
;
; Released under the MIT license..
;
(ns darwin.evolution.transform
"Functions for transforming individuals, and the population. These can be supplied to the EA
to perform non-EA tran... | true | ;
; This file is part of darwin.
;
; Copyright (C) 2014-, Imperial College, London, All rights reserved.
;
; Contributors: PI:NAME:<NAME>END_PI
;
; Released under the MIT license..
;
(ns darwin.evolution.transform
"Functions for transforming individuals, and the population. These can be supplied to the EA
to perfo... |
[
{
"context": " \"token\" \"token-1\"}\n {\"delet",
"end": 1835,
"score": 0.7286048531532288,
"start": 1828,
"tag": "KEY",
"value": "token-1"
},
{
"context": " \"toke... | token-syncer/test/token_syncer/commands/sanitize_test.clj | geofft/waiter | 76 | ;;
;; Copyright (c) Two Sigma Open Source, LLC
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or... | 11545 | ;;
;; Copyright (c) Two Sigma Open Source, LLC
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or... | true | ;;
;; Copyright (c) Two Sigma Open Source, LLC
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or... |
[
{
"context": "\"]\n [rm-hull/ring-cede \"0.1.0\"]]\n :scm {:url \"git@github.com:rm-hull/lindenmayer-systems.git\"}\n :ring {\n :",
"end": 632,
"score": 0.9986294507980347,
"start": 618,
"tag": "EMAIL",
"value": "git@github.com"
},
{
"context": "/ring-cede \"0.1.0\"]]\n :scm... | project.clj | rm-hull/lindenmayer-systems | 38 | (defproject lindenmayer-systems "0.2.1"
:description "An L-System explorer in Clojure"
:url "http://lindenmayer-systems.destructuring-bind.org"
:license {
:name "The MIT License (MIT)"
:url "http://opensource.org/licenses/MIT"}
:dependencies [
[org.clojure/clojure "1.9.0"]
[org.clojure/data.json... | 48714 | (defproject lindenmayer-systems "0.2.1"
:description "An L-System explorer in Clojure"
:url "http://lindenmayer-systems.destructuring-bind.org"
:license {
:name "The MIT License (MIT)"
:url "http://opensource.org/licenses/MIT"}
:dependencies [
[org.clojure/clojure "1.9.0"]
[org.clojure/data.json... | true | (defproject lindenmayer-systems "0.2.1"
:description "An L-System explorer in Clojure"
:url "http://lindenmayer-systems.destructuring-bind.org"
:license {
:name "The MIT License (MIT)"
:url "http://opensource.org/licenses/MIT"}
:dependencies [
[org.clojure/clojure "1.9.0"]
[org.clojure/data.json... |
[
{
"context": "/edit/password\")\n {:params {:current_password current-password\n :new_password new-password\n ",
"end": 1318,
"score": 0.8464953899383545,
"start": 1302,
"tag": "PASSWORD",
"value": "current-password"
},
{
"context": "current-password\n ... | src/cljs/salava/user/ui/edit_password.cljs | Vilikkki/salava | 0 | (ns salava.user.ui.edit-password
(:require [reagent.core :refer [atom cursor]]
[reagent.session :as session]
[clojure.string :refer [blank?]]
[salava.core.ui.ajax-utils :as ajax]
[salava.core.ui.helper :refer [input-valid? js-navigate-to path-for plugin-fun]]
... | 73608 | (ns salava.user.ui.edit-password
(:require [reagent.core :refer [atom cursor]]
[reagent.session :as session]
[clojure.string :refer [blank?]]
[salava.core.ui.ajax-utils :as ajax]
[salava.core.ui.helper :refer [input-valid? js-navigate-to path-for plugin-fun]]
... | true | (ns salava.user.ui.edit-password
(:require [reagent.core :refer [atom cursor]]
[reagent.session :as session]
[clojure.string :refer [blank?]]
[salava.core.ui.ajax-utils :as ajax]
[salava.core.ui.helper :refer [input-valid? js-navigate-to path-for plugin-fun]]
... |
[
{
"context": "r Say-Sila (sub)projects\n;;;;\n;;;; @copyright 2020 Dennis Drown et l'Université du Québec à Montréal\n;;;; -------",
"end": 422,
"score": 0.9998847842216492,
"start": 410,
"tag": "NAME",
"value": "Dennis Drown"
}
] | apps/say_sila/priv/fnode/say/src/say/check.clj | dendrown/say_sila | 0 | ;;;; -------------------------------------------------------------------------
;;;;
;;;; _/_/_/ _/_/_/ _/ _/_/
;;;; _/ _/ _/ _/ _/
;;;; _/_/ _/ _/ _/_/_/_/
;;;; _/ _/ _/ _/ _/
;;;; _/_/_/ _/_/_/ _/_/_/_/ _/ _/
;;;;
;;;; Che... | 5526 | ;;;; -------------------------------------------------------------------------
;;;;
;;;; _/_/_/ _/_/_/ _/ _/_/
;;;; _/ _/ _/ _/ _/
;;;; _/_/ _/ _/ _/_/_/_/
;;;; _/ _/ _/ _/ _/
;;;; _/_/_/ _/_/_/ _/_/_/_/ _/ _/
;;;;
;;;; Che... | true | ;;;; -------------------------------------------------------------------------
;;;;
;;;; _/_/_/ _/_/_/ _/ _/_/
;;;; _/ _/ _/ _/ _/
;;;; _/_/ _/ _/ _/_/_/_/
;;;; _/ _/ _/ _/ _/
;;;; _/_/_/ _/_/_/ _/_/_/_/ _/ _/
;;;;
;;;; Che... |
[
{
"context": "ght\" \"Age\" \"Shoes\"])\n\n(def sample-table-data [[\"Thouroughbred\" \"Bay\" 1.60 3 true]\n [\"Tho",
"end": 201,
"score": 0.5791035294532776,
"start": 190,
"tag": "NAME",
"value": "ouroughbred"
},
{
"context": "d\" \"Bay\" 1.60 3 true]\n ... | clojure/horse/test/horse/core_test.clj | poenneby/Horse-Kata | 11 | (ns horse.core-test
(:require [midje.sweet :refer :all]
[horse.core :refer :all]))
(def sample-headers ["Breed" "Colour" "Height" "Age" "Shoes"])
(def sample-table-data [["Thouroughbred" "Bay" 1.60 3 true]
["Thouroughbred" "Grey" 1.55 3 true]
["Arabian hor... | 96758 | (ns horse.core-test
(:require [midje.sweet :refer :all]
[horse.core :refer :all]))
(def sample-headers ["Breed" "Colour" "Height" "Age" "Shoes"])
(def sample-table-data [["Th<NAME>" "Bay" 1.60 3 true]
["Th<NAME>roughbred" "Grey" 1.55 3 true]
["Arabian hors... | true | (ns horse.core-test
(:require [midje.sweet :refer :all]
[horse.core :refer :all]))
(def sample-headers ["Breed" "Colour" "Height" "Age" "Shoes"])
(def sample-table-data [["ThPI:NAME:<NAME>END_PI" "Bay" 1.60 3 true]
["ThPI:NAME:<NAME>END_PIroughbred" "Grey" 1.55 3 true]
... |
[
{
"context": "gshot :refer [try+ throw+]]))\n\n(def ip-ranges\n [\"144.76.0.0/16\"\n \"5.9.0.0/16\"])\n\n(s/defn this-host?\n [fact",
"end": 297,
"score": 0.9994131326675415,
"start": 287,
"tag": "IP_ADDRESS",
"value": "144.76.0.0"
},
{
"context": "ow+]]))\n\n(def ip-ranges\n [\... | src/clj/runbld/hosting/hetzner.clj | ddillinger/runbld | 6 | (ns runbld.hosting.hetzner
(:require
[runbld.facts :as facts]
[runbld.hosting :refer [HostingProvider]]
[runbld.io :as io]
[runbld.schema :refer :all]
[runbld.util.cidr :as cidr]
[schema.core :as s]
[slingshot.slingshot :refer [try+ throw+]]))
(def ip-ranges
["144.76.0.0/16"
"5.9.0.0/16"])
... | 74581 | (ns runbld.hosting.hetzner
(:require
[runbld.facts :as facts]
[runbld.hosting :refer [HostingProvider]]
[runbld.io :as io]
[runbld.schema :refer :all]
[runbld.util.cidr :as cidr]
[schema.core :as s]
[slingshot.slingshot :refer [try+ throw+]]))
(def ip-ranges
["172.16.31.10/16"
"5.9.0.0/16"]... | true | (ns runbld.hosting.hetzner
(:require
[runbld.facts :as facts]
[runbld.hosting :refer [HostingProvider]]
[runbld.io :as io]
[runbld.schema :refer :all]
[runbld.util.cidr :as cidr]
[schema.core :as s]
[slingshot.slingshot :refer [try+ throw+]]))
(def ip-ranges
["PI:IP_ADDRESS:172.16.31.10END_PI/... |
[
{
"context": "thorizationToken authz)) #\":\")]\n {:username user\n :password pass\n :endpoint (:prox",
"end": 3021,
"score": 0.9714047908782959,
"start": 3017,
"tag": "USERNAME",
"value": "user"
},
{
"context": " #\":\")]\n {:username user\n :pa... | src/leiningen/aws_ecr_auth.clj | slimslenderslacks/lein-jib-build | 0 | (ns leiningen.aws-ecr-auth
(:require [cognitect.aws.client.api :as aws]
[cognitect.aws.credentials :as credentials]
[clojure.string :as str]
[leiningen.core.main :as lein]
[cognitect.aws.util])
(:import [java.util Base64]
(java.io ByteArrayInputStream)))
(... | 61481 | (ns leiningen.aws-ecr-auth
(:require [cognitect.aws.client.api :as aws]
[cognitect.aws.credentials :as credentials]
[clojure.string :as str]
[leiningen.core.main :as lein]
[cognitect.aws.util])
(:import [java.util Base64]
(java.io ByteArrayInputStream)))
(... | true | (ns leiningen.aws-ecr-auth
(:require [cognitect.aws.client.api :as aws]
[cognitect.aws.credentials :as credentials]
[clojure.string :as str]
[leiningen.core.main :as lein]
[cognitect.aws.util])
(:import [java.util Base64]
(java.io ByteArrayInputStream)))
(... |
[
{
"context": "tion\n; Date: March 17, 2016.\n; Authors:\n; A01020319 Fernando Gómez Herrera\n;-----------------------",
"end": 144,
"score": 0.8369709849357605,
"start": 137,
"tag": "USERNAME",
"value": "A010203"
},
{
"context": "e: March 17, 2016.\n; Authors:\n; A0... | 4clojure/problem_61.clj | gomezhyuuga/CEM_tc2006 | 1 | ;----------------------------------------------------------
; Problem 61: Map Construction
; Date: March 17, 2016.
; Authors:
; A01020319 Fernando Gómez Herrera
;----------------------------------------------------------
(use 'clojure.test)
(defn p
[coll1 coll2]
(->>
(map #(array-map %1 %2) coll1 coll... | 60855 | ;----------------------------------------------------------
; Problem 61: Map Construction
; Date: March 17, 2016.
; Authors:
; A01020319 <NAME>
;----------------------------------------------------------
(use 'clojure.test)
(defn p
[coll1 coll2]
(->>
(map #(array-map %1 %2) coll1 coll2)
(reduce m... | true | ;----------------------------------------------------------
; Problem 61: Map Construction
; Date: March 17, 2016.
; Authors:
; A01020319 PI:NAME:<NAME>END_PI
;----------------------------------------------------------
(use 'clojure.test)
(defn p
[coll1 coll2]
(->>
(map #(array-map %1 %2) coll1 coll2)... |
[
{
"context": "! *unchecked-math* :warn-on-boxed)\n(ns ^{:author \"wahpenayo at gmail dot com\"\n :date \"2018-04-14\"\n ",
"end": 95,
"score": 0.612036406993866,
"start": 87,
"tag": "EMAIL",
"value": "wahpenay"
}
] | src/main/clojure/taiga/flat.clj | wahpenayo/taiga | 4 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "wahpenayo at gmail dot com"
:date "2018-04-14"
:doc
"Flat (affine or linear) models.
<p>
Usual statistics 'linear' model is actually fitting an
affine functional (with intercept case) or a linear ... | 104259 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "<EMAIL>o at gmail dot com"
:date "2018-04-14"
:doc
"Flat (affine or linear) models.
<p>
Usual statistics 'linear' model is actually fitting an
affine functional (with intercept case) or a linear
... | true | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "PI:EMAIL:<EMAIL>END_PIo at gmail dot com"
:date "2018-04-14"
:doc
"Flat (affine or linear) models.
<p>
Usual statistics 'linear' model is actually fitting an
affine functional (with intercept case... |
[
{
"context": "refer [make-styles]]))\n\n(def suit-names {:acorns \"Eichel\"\n :leaves \"Gras\"\n ",
"end": 248,
"score": 0.7541513442993164,
"start": 242,
"tag": "NAME",
"value": "Eichel"
},
{
"context": " :leaves \"Gras\"\n :hearts... | src/schafkopf/frontend/components/playing_card.cljs | ferdinand-beyer/schafkopf | 1 | (ns schafkopf.frontend.components.playing-card
(:require [mui-bien.core.button-base :refer [button-base]]
[mui-bien.core.paper :refer [paper]]
[mui-bien.core.styles :refer [make-styles]]))
(def suit-names {:acorns "Eichel"
:leaves "Gras"
:hearts "Herz"
... | 3820 | (ns schafkopf.frontend.components.playing-card
(:require [mui-bien.core.button-base :refer [button-base]]
[mui-bien.core.paper :refer [paper]]
[mui-bien.core.styles :refer [make-styles]]))
(def suit-names {:acorns "<NAME>"
:leaves "Gras"
:hearts "Her<NAME>"
... | true | (ns schafkopf.frontend.components.playing-card
(:require [mui-bien.core.button-base :refer [button-base]]
[mui-bien.core.paper :refer [paper]]
[mui-bien.core.styles :refer [make-styles]]))
(def suit-names {:acorns "PI:NAME:<NAME>END_PI"
:leaves "Gras"
:hearts... |
[
{
"context": ";-\n; Copyright 2009-2011 (c) Meikel Brandmeyer.\n; All rights reserved.\n;\n; Permission is hereby ",
"end": 46,
"score": 0.9998601675033569,
"start": 29,
"tag": "NAME",
"value": "Meikel Brandmeyer"
},
{
"context": " in a dedicated daemon thread. host defaults\n to 12... | data/clojure/42916f4650c72236faca1c797ebd0014_nails.clj | maxim5/code-inspector | 5 | ;-
; Copyright 2009-2011 (c) Meikel Brandmeyer.
; All rights reserved.
;
; 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,... | 120319 | ;-
; Copyright 2009-2011 (c) <NAME>.
; All rights reserved.
;
; 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, modi... | true | ;-
; Copyright 2009-2011 (c) PI:NAME:<NAME>END_PI.
; All rights reserved.
;
; 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 u... |
[
{
"context": "ient/wrap-basic-auth\n {:basic-auth [\"Aladdin\" \"open sesame\"]}\n {:headers {\"Author",
"end": 5895,
"score": 0.817812442779541,
"start": 5888,
"tag": "PASSWORD",
"value": "Aladdin"
}
] | test/clj_http/client_test.clj | revelytix/clj-http | 1 | (ns clj-http.client-test
(:use [clojure.test]
[clj-http.core-test :only [run-server]])
(:require [clj-http.client :as client]
[clj-http.util :as util])
(:import (java.util Arrays)))
(def base-req
{:scheme "http"
:server-name "localhost"
:server-port 18080})
(deftest ^{:integration tr... | 5029 | (ns clj-http.client-test
(:use [clojure.test]
[clj-http.core-test :only [run-server]])
(:require [clj-http.client :as client]
[clj-http.util :as util])
(:import (java.util Arrays)))
(def base-req
{:scheme "http"
:server-name "localhost"
:server-port 18080})
(deftest ^{:integration tr... | true | (ns clj-http.client-test
(:use [clojure.test]
[clj-http.core-test :only [run-server]])
(:require [clj-http.client :as client]
[clj-http.util :as util])
(:import (java.util Arrays)))
(def base-req
{:scheme "http"
:server-name "localhost"
:server-port 18080})
(deftest ^{:integration tr... |
[
{
"context": "rver-port 9443\n :admin-user-id \"garygeeke\"}\n\n ::sut-server {:admin-platform ",
"end": 564,
"score": 0.9987550973892212,
"start": 555,
"tag": "USERNAME",
"value": "garygeeke"
},
{
"context": "\n :server-password ... | dev/cts.clj | keytiong/egeria-crux-omrs | 1 | (ns cts
(:require [integrant.repl :refer [clear go halt prep init reset reset-all]]
[integrant.core :as ig]
[clj-http.client :as http]
[clojure.java.io :as io]
[clojure.data.json :as json])
(:import [org.testcontainers.containers KafkaContainer]
[org.testco... | 111814 | (ns cts
(:require [integrant.repl :refer [clear go halt prep init reset reset-all]]
[integrant.core :as ig]
[clj-http.client :as http]
[clojure.java.io :as io]
[clojure.data.json :as json])
(:import [org.testcontainers.containers KafkaContainer]
[org.testco... | true | (ns cts
(:require [integrant.repl :refer [clear go halt prep init reset reset-all]]
[integrant.core :as ig]
[clj-http.client :as http]
[clojure.java.io :as io]
[clojure.data.json :as json])
(:import [org.testcontainers.containers KafkaContainer]
[org.testco... |
[
{
"context": "cc {x (phi journal x)})))))))\n\n(defn -main\n \"save Jacques\"\n []\n (list-correlations journal))\n",
"end": 8075,
"score": 0.7663242220878601,
"start": 8068,
"tag": "NAME",
"value": "Jacques"
}
] | src/weresquirrel/core.clj | ird/weresquirrel | 0 | (ns weresquirrel.core
(:gen-class))
(def journal
[{:events ["carrot" "exercise" "weekend"] :squirrel false}
{:events ["bread" "pudding" "brushed teeth" "weekend" "touched tree"] :squirrel false}
{:events ["carrot" "nachos" "brushed teeth" "cycling" "weekend"] :squirrel false}
{:events ["brussel sprouts" "... | 82701 | (ns weresquirrel.core
(:gen-class))
(def journal
[{:events ["carrot" "exercise" "weekend"] :squirrel false}
{:events ["bread" "pudding" "brushed teeth" "weekend" "touched tree"] :squirrel false}
{:events ["carrot" "nachos" "brushed teeth" "cycling" "weekend"] :squirrel false}
{:events ["brussel sprouts" "... | true | (ns weresquirrel.core
(:gen-class))
(def journal
[{:events ["carrot" "exercise" "weekend"] :squirrel false}
{:events ["bread" "pudding" "brushed teeth" "weekend" "touched tree"] :squirrel false}
{:events ["carrot" "nachos" "brushed teeth" "cycling" "weekend"] :squirrel false}
{:events ["brussel sprouts" "... |
[
{
"context": "key/certificate files\"\n :url \"https://github.com/into-docker/pem-reader\"\n :license {:name \"MIT\"\n :",
"end": 154,
"score": 0.9986875653266907,
"start": 143,
"tag": "USERNAME",
"value": "into-docker"
},
{
"context": "ses/mit\"\n :year 2015\... | project.clj | xsc/pem-reader | 4 | (defproject into-docker/pem-reader "1.0.3-SNAPSHOT"
:description "A lightweight reader for key/certificate files"
:url "https://github.com/into-docker/pem-reader"
:license {:name "MIT"
:url "https://choosealicense.com/licenses/mit"
:year 2015
:key "mit"
:comment "MI... | 101762 | (defproject into-docker/pem-reader "1.0.3-SNAPSHOT"
:description "A lightweight reader for key/certificate files"
:url "https://github.com/into-docker/pem-reader"
:license {:name "MIT"
:url "https://choosealicense.com/licenses/mit"
:year 2015
:key "<KEY>"
:comment "... | true | (defproject into-docker/pem-reader "1.0.3-SNAPSHOT"
:description "A lightweight reader for key/certificate files"
:url "https://github.com/into-docker/pem-reader"
:license {:name "MIT"
:url "https://choosealicense.com/licenses/mit"
:year 2015
:key "PI:KEY:<KEY>END_PI"
... |
[
{
"context": "='login']\\\")\n\n (input-text \\\"#login_field\\\" \\\"your_username\\\")\n (-> \\\"#password\\\"\n (input-text \\\"yo",
"end": 4366,
"score": 0.9904303550720215,
"start": 4353,
"tag": "USERNAME",
"value": "your_username"
},
{
"context": " (input-text... | test/src/webdriver/clj_webdriver/taxi.clj | mbertheau/dirac | 802 | ;; The faster way to use clj-webdriver: take a taxi
(ns clj-webdriver.taxi
(:use [clj-webdriver.driver :only [driver?]]
[clj-webdriver.element :only [element-like?]])
(:require [clj-webdriver.core :as core]
[clj-webdriver.options :as options]
[clj-webdriver.util :as util]
... | 22393 | ;; The faster way to use clj-webdriver: take a taxi
(ns clj-webdriver.taxi
(:use [clj-webdriver.driver :only [driver?]]
[clj-webdriver.element :only [element-like?]])
(:require [clj-webdriver.core :as core]
[clj-webdriver.options :as options]
[clj-webdriver.util :as util]
... | true | ;; The faster way to use clj-webdriver: take a taxi
(ns clj-webdriver.taxi
(:use [clj-webdriver.driver :only [driver?]]
[clj-webdriver.element :only [element-like?]])
(:require [clj-webdriver.core :as core]
[clj-webdriver.options :as options]
[clj-webdriver.util :as util]
... |
[
{
"context": ";; Copyright (c) 2014, Andrey Antukh\n;; Copyright (c) 2014, Alejandro Gómez\n;; All rig",
"end": 36,
"score": 0.9998753666877747,
"start": 23,
"tag": "NAME",
"value": "Andrey Antukh"
},
{
"context": "ght (c) 2014, Andrey Antukh\n;; Copyright (c) 2014, Alejandro Gómez\n... | src/cljx/cats/monad/state.cljx | pbaille/cats | 0 | ;; Copyright (c) 2014, Andrey Antukh
;; Copyright (c) 2014, Alejandro Gómez
;; All rights reserved.
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions
;; are met:
;;
;; 1. Redistributions of source code must retain the above cop... | 51820 | ;; Copyright (c) 2014, <NAME>
;; Copyright (c) 2014, <NAME>
;; All rights reserved.
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions
;; are met:
;;
;; 1. Redistributions of source code must retain the above copyright
;; not... | true | ;; Copyright (c) 2014, PI:NAME:<NAME>END_PI
;; Copyright (c) 2014, PI:NAME:<NAME>END_PI
;; All rights reserved.
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions
;; are met:
;;
;; 1. Redistributions of source code must retain t... |
[
{
"context": "by name\"\n (is (ffirst (q/person-by-email db \"jenkins@mailinator.com\")))\n (is (= (q/pull-by-email db \"mcnugget@ma",
"end": 386,
"score": 0.9999276995658875,
"start": 364,
"tag": "EMAIL",
"value": "jenkins@mailinator.com"
},
{
"context": "linator.com\")))\... | test/examples/query_test.clj | zilvinasu/datomic-presentation | 1 | (ns examples.query-test
(:require
[clojure.test :refer :all]
[examples.query :refer [pull-by-uuid]]
[examples.db :as db]
[examples.query :as q]
[examples.fixtures :refer [with-db]]))
(use-fixtures :each with-db)
(deftest query-api-test
(let [db (db/current-db)]
(testing "find person by nam... | 11666 | (ns examples.query-test
(:require
[clojure.test :refer :all]
[examples.query :refer [pull-by-uuid]]
[examples.db :as db]
[examples.query :as q]
[examples.fixtures :refer [with-db]]))
(use-fixtures :each with-db)
(deftest query-api-test
(let [db (db/current-db)]
(testing "find person by nam... | true | (ns examples.query-test
(:require
[clojure.test :refer :all]
[examples.query :refer [pull-by-uuid]]
[examples.db :as db]
[examples.query :as q]
[examples.fixtures :refer [with-db]]))
(use-fixtures :each with-db)
(deftest query-api-test
(let [db (db/current-db)]
(testing "find person by nam... |
[
{
"context": "s\n {:atom atom-or-opts})\n\n key (java.util.UUID/randomUUID)\n listeners (atom #{})\n update! (",
"end": 1171,
"score": 0.9923585057258606,
"start": 1146,
"tag": "KEY",
"value": "java.util.UUID/randomUUID"
}
] | src/ripley/live/atom.clj | jcpsantiago/ripley | 188 | (ns ripley.live.atom
"Live component that tracks an atom's value"
(:require [ripley.live.protocols :as p]
[clojure.core.async :as async :refer [go >!! >!]]
[taoensso.timbre :as log]))
(defrecord AtomSource [input-atom process-value key listeners]
p/Source
(current-value [_] (process-val... | 36095 | (ns ripley.live.atom
"Live component that tracks an atom's value"
(:require [ripley.live.protocols :as p]
[clojure.core.async :as async :refer [go >!! >!]]
[taoensso.timbre :as log]))
(defrecord AtomSource [input-atom process-value key listeners]
p/Source
(current-value [_] (process-val... | true | (ns ripley.live.atom
"Live component that tracks an atom's value"
(:require [ripley.live.protocols :as p]
[clojure.core.async :as async :refer [go >!! >!]]
[taoensso.timbre :as log]))
(defrecord AtomSource [input-atom process-value key listeners]
p/Source
(current-value [_] (process-val... |
[
{
"context": ";; Copyright © 2015-2022 Esko Luontola\n;; This software is released under the Apache Lic",
"end": 38,
"score": 0.9998852610588074,
"start": 25,
"tag": "NAME",
"value": "Esko Luontola"
},
{
"context": "pe command)))\n\n(def ^:private data-keys\n [:region/name\n :regi... | src/territory_bro/domain/region.clj | 3breadt/territory-bro | 0 | ;; Copyright © 2015-2022 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.domain.region
(:require [medley.core :refer [dissoc-in]]
[territory-bro.gis.gis-change :as gis-change])
(:import (terr... | 94387 | ;; Copyright © 2015-2022 <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.domain.region
(:require [medley.core :refer [dissoc-in]]
[territory-bro.gis.gis-change :as gis-change])
(:import (territory_b... | true | ;; Copyright © 2015-2022 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.domain.region
(:require [medley.core :refer [dissoc-in]]
[territory-bro.gis.gis-change :as gis-change])
(:impor... |
[
{
"context": "TRUST_STORE_PASSWORD\")\n \"changeit\"))\n (System/setProperty \"javax.net.ssl.keyStore\"",
"end": 4160,
"score": 0.9982309341430664,
"start": 4152,
"tag": "PASSWORD",
"value": "changeit"
},
{
"context": " \"KEY_STORE_PASSWORD\")\n ... | server/src/spacon/server.clj | martinwilkerson-scisys/spatialconnect-server | 1 | ;; Copyright 2016-2017 Boundless, http://boundlessgeo.com
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applica... | 113309 | ;; Copyright 2016-2017 Boundless, http://boundlessgeo.com
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applica... | true | ;; Copyright 2016-2017 Boundless, http://boundlessgeo.com
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applica... |
[
{
"context": "[omchaya.utils :as utils]))\n\n(def user-emails\n [\"sean@bushi.do\" \"nb@bushi.do\" \"sacha@bushi.do\"])\n\n(defn random-m",
"end": 97,
"score": 0.999927818775177,
"start": 84,
"tag": "EMAIL",
"value": "sean@bushi.do"
},
{
"context": "as utils]))\n\n(def user-emails\n... | src/omchaya/mock_data.cljs | sgrove/omchaya | 66 | (ns omchaya.mock-data
(:require [omchaya.utils :as utils]))
(def user-emails
["sean@bushi.do" "nb@bushi.do" "sacha@bushi.do"])
(defn random-message [channel-id & [at-now?]]
(let [at (if at-now?
(js/Date.)
(as-> (js/Date.) x
(.getTime x)
(- x (rand-... | 101414 | (ns omchaya.mock-data
(:require [omchaya.utils :as utils]))
(def user-emails
["<EMAIL>" "<EMAIL>" "<EMAIL>"])
(defn random-message [channel-id & [at-now?]]
(let [at (if at-now?
(js/Date.)
(as-> (js/Date.) x
(.getTime x)
(- x (rand-int (* 1000 60 24... | true | (ns omchaya.mock-data
(:require [omchaya.utils :as utils]))
(def user-emails
["PI:EMAIL:<EMAIL>END_PI" "PI:EMAIL:<EMAIL>END_PI" "PI:EMAIL:<EMAIL>END_PI"])
(defn random-message [channel-id & [at-now?]]
(let [at (if at-now?
(js/Date.)
(as-> (js/Date.) x
(.getTime x)
... |
[
{
"context": "\"]\n :repositories [[\"snapshots\" \"file://C:/Users/Mike Aldred/.m2/repository\"]]\n :dependencies [[org.clojure/c",
"end": 493,
"score": 0.9998653531074524,
"start": 482,
"tag": "NAME",
"value": "Mike Aldred"
}
] | project.clj | DirectCommunications/Greentree-Interface | 0 | (defproject org.clojars.luminousmonkey/greentree-interface "0.0.2-SNAPSHOT"
:description "Clojure library for interfacing with Greentree."
:url "http://example.com/FIXME"
:license {:name "MIT License"
:url "https://opensource.org/licenses/MIT"
:distribution :repo
:year 2017
... | 13328 | (defproject org.clojars.luminousmonkey/greentree-interface "0.0.2-SNAPSHOT"
:description "Clojure library for interfacing with Greentree."
:url "http://example.com/FIXME"
:license {:name "MIT License"
:url "https://opensource.org/licenses/MIT"
:distribution :repo
:year 2017
... | true | (defproject org.clojars.luminousmonkey/greentree-interface "0.0.2-SNAPSHOT"
:description "Clojure library for interfacing with Greentree."
:url "http://example.com/FIXME"
:license {:name "MIT License"
:url "https://opensource.org/licenses/MIT"
:distribution :repo
:year 2017
... |
[
{
"context": " we also supported a\n ;; key called `invalid-in-puppet-4` in the same route config, even though",
"end": 3733,
"score": 0.5680461525917053,
"start": 3733,
"tag": "KEY",
"value": ""
},
{
"context": " also supported a\n ;; key called `invalid-in-puppet-4` in ... | src/clj/puppetlabs/services/master/master_service.clj | waynr/puppetserver | 0 | (ns puppetlabs.services.master.master-service
(:require [clojure.tools.logging :as log]
[puppetlabs.trapperkeeper.core :refer [defservice]]
[puppetlabs.services.master.master-core :as core]
[puppetlabs.puppetserver.certificate-authority :as ca]
[puppetlabs.trapperkeeper... | 61210 | (ns puppetlabs.services.master.master-service
(:require [clojure.tools.logging :as log]
[puppetlabs.trapperkeeper.core :refer [defservice]]
[puppetlabs.services.master.master-core :as core]
[puppetlabs.puppetserver.certificate-authority :as ca]
[puppetlabs.trapperkeeper... | true | (ns puppetlabs.services.master.master-service
(:require [clojure.tools.logging :as log]
[puppetlabs.trapperkeeper.core :refer [defservice]]
[puppetlabs.services.master.master-core :as core]
[puppetlabs.puppetserver.certificate-authority :as ca]
[puppetlabs.trapperkeeper... |
[
{
"context": " [\n ; {\n ; \"key\": \"Hurricane\",\n ; \"doc_count\": 6,\n ; ",
"end": 13574,
"score": 0.9869903326034546,
"start": 13565,
"tag": "KEY",
"value": "Hurricane"
},
{
"context": " {\n ; ... | search-app/src/cmr/search/services/query_execution/facets/facets_results_feature.clj | indiejames/Common-Metadata-Repository | 0 | (ns cmr.search.services.query-execution.facets.facets-results-feature
"This enables returning facets with collection search results"
(:require [cmr.common-app.services.search.query-execution :as query-execution]
[cmr.common-app.services.kms-fetcher :as kms-fetcher]
[cmr.common-app.services.s... | 63702 | (ns cmr.search.services.query-execution.facets.facets-results-feature
"This enables returning facets with collection search results"
(:require [cmr.common-app.services.search.query-execution :as query-execution]
[cmr.common-app.services.kms-fetcher :as kms-fetcher]
[cmr.common-app.services.s... | true | (ns cmr.search.services.query-execution.facets.facets-results-feature
"This enables returning facets with collection search results"
(:require [cmr.common-app.services.search.query-execution :as query-execution]
[cmr.common-app.services.kms-fetcher :as kms-fetcher]
[cmr.common-app.services.s... |
[
{
"context": "ctory/getLogger (str *ns*)))\n\n(def ^:const admin \"jari.rosti@gmail.com\")\n\n(defn reg-body [user]\n (str \"Hei \" user \"!\\n\\",
"end": 226,
"score": 0.9999325275421143,
"start": 206,
"tag": "EMAIL",
"value": "jari.rosti@gmail.com"
},
{
"context": "\n \"tai ... | src/ontrail/emails.clj | jrosti/ontrail | 1 | (ns ontrail.emails
(:require [postal.core :as postal]
[clojure.stacktrace :as stacktrace]))
(def #^{:private true} logger (org.slf4j.LoggerFactory/getLogger (str *ns*)))
(def ^:const admin "jari.rosti@gmail.com")
(defn reg-body [user]
(str "Hei " user "!\n\n"
"Tervetuloa käyttämään Ontrailia!\... | 108611 | (ns ontrail.emails
(:require [postal.core :as postal]
[clojure.stacktrace :as stacktrace]))
(def #^{:private true} logger (org.slf4j.LoggerFactory/getLogger (str *ns*)))
(def ^:const admin "<EMAIL>")
(defn reg-body [user]
(str "Hei " user "!\n\n"
"Tervetuloa käyttämään Ontrailia!\n\n"
... | true | (ns ontrail.emails
(:require [postal.core :as postal]
[clojure.stacktrace :as stacktrace]))
(def #^{:private true} logger (org.slf4j.LoggerFactory/getLogger (str *ns*)))
(def ^:const admin "PI:EMAIL:<EMAIL>END_PI")
(defn reg-body [user]
(str "Hei " user "!\n\n"
"Tervetuloa käyttämään Ontrailia... |
[
{
"context": "epl.clj\")\n\n(def system (pro/connect {:access-key \"mbrainz\"\n :secret \"mbrainz\"\n ",
"end": 70,
"score": 0.9990532398223877,
"start": 63,
"tag": "KEY",
"value": "mbrainz"
},
{
"context": "-key \"mbrainz\"\n :sec... | examples/explore_db.clj | jeffp42ker/mbrainz-importer | 73 | (load-file "repl.clj")
(def system (pro/connect {:access-key "mbrainz"
:secret "mbrainz"
:region "none"
:endpoint "localhost:8998"
:service "peer-server"}))
(def conn (<!! (client/connect system {:db-name "mbrainz"... | 28908 | (load-file "repl.clj")
(def system (pro/connect {:access-key "<KEY>"
:secret "<KEY>"
:region "none"
:endpoint "localhost:8998"
:service "peer-server"}))
(def conn (<!! (client/connect system {:db-name "mbrainz"})))... | true | (load-file "repl.clj")
(def system (pro/connect {:access-key "PI:KEY:<KEY>END_PI"
:secret "PI:KEY:<KEY>END_PI"
:region "none"
:endpoint "localhost:8998"
:service "peer-server"}))
(def conn (<!! (client/connect syst... |
[
{
"context": "(ns #^{:author \"Roger Allen\"\n :doc \"Shadertoy-like core library.\"}\n sh",
"end": 27,
"score": 0.9998422861099243,
"start": 16,
"tag": "NAME",
"value": "Roger Allen"
},
{
"context": "=====\n;; code modified from\n;; https://github.com/ztellman/penumbra/blob/m... | src/shadertone/shader.clj | baskeboler/shadertone | 304 | (ns #^{:author "Roger Allen"
:doc "Shadertoy-like core library."}
shadertone.shader
(:require [watchtower.core :as watcher]
clojure.string)
(:import (java.awt.image BufferedImage DataBuffer DataBufferByte WritableRaster)
(java.io File FileInputStream)
(java.nio IntBuffer B... | 99203 | (ns #^{:author "<NAME>"
:doc "Shadertoy-like core library."}
shadertone.shader
(:require [watchtower.core :as watcher]
clojure.string)
(:import (java.awt.image BufferedImage DataBuffer DataBufferByte WritableRaster)
(java.io File FileInputStream)
(java.nio IntBuffer ByteBu... | true | (ns #^{:author "PI:NAME:<NAME>END_PI"
:doc "Shadertoy-like core library."}
shadertone.shader
(:require [watchtower.core :as watcher]
clojure.string)
(:import (java.awt.image BufferedImage DataBuffer DataBufferByte WritableRaster)
(java.io File FileInputStream)
(java.nio In... |
[
{
"context": " (let [user (ebay.models.user/map->User {:username username :password password})]\n (cond \n (ebay.",
"end": 315,
"score": 0.5401812195777893,
"start": 307,
"tag": "USERNAME",
"value": "username"
},
{
"context": " (let [user (ebay.models.user/map->User {:use... | src/ebay/routes/users.clj | bocuma/ebby-sniper-api | 2 | (ns ebay.routes.users
(:require
[ebay.models.user]
[ebay.services.sniper]
[compojure.core :refer [defroutes GET POST PUT DELETE]]
[ring.util.http-response :refer [ok]]))
(defroutes users-routes
(POST "/users" [username password]
(let [user (ebay.models.user/map->User {:username username :pas... | 111206 | (ns ebay.routes.users
(:require
[ebay.models.user]
[ebay.services.sniper]
[compojure.core :refer [defroutes GET POST PUT DELETE]]
[ring.util.http-response :refer [ok]]))
(defroutes users-routes
(POST "/users" [username password]
(let [user (ebay.models.user/map->User {:username username :pas... | true | (ns ebay.routes.users
(:require
[ebay.models.user]
[ebay.services.sniper]
[compojure.core :refer [defroutes GET POST PUT DELETE]]
[ring.util.http-response :refer [ok]]))
(defroutes users-routes
(POST "/users" [username password]
(let [user (ebay.models.user/map->User {:username username :pas... |
[
{
"context": "u/6/kXX0KSvoOLSFQ==\"))\n\n(def cipher-key (map int \"YELLOW SUBMARINE\"))\n\n(def nonce (repeat 8 0))\n\n(def plaintext (map",
"end": 296,
"score": 0.9990279078483582,
"start": 280,
"tag": "KEY",
"value": "YELLOW SUBMARINE"
}
] | test/set3/decrypt_ctr_test.clj | milapsheth/Crypto-Challenges | 3 | (ns set3.decrypt-ctr-test
(:require [clojure.test :refer :all]
[util
[aes :as aes]
[tools :as u]]))
(def ciphertext (u/base64-to-byte' "L77na/nrFsKvynd6HzOoG7GHTLXsTVu9qvY/2syLXzhPweyyMTJULu/6/kXX0KSvoOLSFQ=="))
(def cipher-key (map int "YELLOW SUBMARINE"))
(def nonce (repeat ... | 106571 | (ns set3.decrypt-ctr-test
(:require [clojure.test :refer :all]
[util
[aes :as aes]
[tools :as u]]))
(def ciphertext (u/base64-to-byte' "L77na/nrFsKvynd6HzOoG7GHTLXsTVu9qvY/2syLXzhPweyyMTJULu/6/kXX0KSvoOLSFQ=="))
(def cipher-key (map int "<KEY>"))
(def nonce (repeat 8 0))
(def... | true | (ns set3.decrypt-ctr-test
(:require [clojure.test :refer :all]
[util
[aes :as aes]
[tools :as u]]))
(def ciphertext (u/base64-to-byte' "L77na/nrFsKvynd6HzOoG7GHTLXsTVu9qvY/2syLXzhPweyyMTJULu/6/kXX0KSvoOLSFQ=="))
(def cipher-key (map int "PI:KEY:<KEY>END_PI"))
(def nonce (repea... |
[
{
"context": " (Associative Destructuring)\n(def a-name {:first \"Toto\" :last \"Mookey\" :salutation \"Mr.\"})\n\n(println a-n",
"end": 322,
"score": 0.9997808933258057,
"start": 318,
"tag": "NAME",
"value": "Toto"
},
{
"context": " Destructuring)\n(def a-name {:first \"Toto\" :last... | session/01_languages/05-dps-2.clj | DhavalDalal/destructuring-and-pattern-matching | 2 | ; (def a-list [1 2 3 4])
;
; (println a-list)
; Destructuring a list
; Tuple can be represented using a List
; (let [[first second] a-list]
; (println [first second]))
;
; (let [[first second & rest] a-list]
; (println [first second rest]))
; Destructuring a map (Associative Destructuring)
(def a-name {:first "To... | 1999 | ; (def a-list [1 2 3 4])
;
; (println a-list)
; Destructuring a list
; Tuple can be represented using a List
; (let [[first second] a-list]
; (println [first second]))
;
; (let [[first second & rest] a-list]
; (println [first second rest]))
; Destructuring a map (Associative Destructuring)
(def a-name {:first "<N... | true | ; (def a-list [1 2 3 4])
;
; (println a-list)
; Destructuring a list
; Tuple can be represented using a List
; (let [[first second] a-list]
; (println [first second]))
;
; (let [[first second & rest] a-list]
; (println [first second rest]))
; Destructuring a map (Associative Destructuring)
(def a-name {:first "PI... |
[
{
"context": "ase-id})\n (when next-token {\"x-nano-next\" (str next-token)}))\n :scheme scheme\n :se",
"end": 7363,
"score": 0.5886834859848022,
"start": 7354,
"tag": "KEY",
"value": "nano-next"
},
{
"context": "c/transactor-trust.jks\"\n;; :trust-store-p... | datomic/client/conn_impl.clj | rnewman/datomic-clj-client | 0 | ;; Copyright (c) Cognitect, Inc.
;; All rights reserved.
;; 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 appli... | 24980 | ;; Copyright (c) Cognitect, Inc.
;; All rights reserved.
;; 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 appli... | true | ;; Copyright (c) Cognitect, Inc.
;; All rights reserved.
;; 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 appli... |
[
{
"context": "in-path (create-host-facts \"foo.com\" {\"password\" \"bar\"}))\n anon-output (tu/temp-file \"anon-fac",
"end": 599,
"score": 0.9990676641464233,
"start": 596,
"tag": "PASSWORD",
"value": "bar"
},
{
"context": "in-path (create-host-facts \"foo.com\" {\"password... | test/puppetlabs/puppetdb/cli/anonymize_test.clj | wkalt/puppetdb | 0 | (ns puppetlabs.puppetdb.cli.anonymize-test
(:require [clojure.test :refer :all]
[puppetlabs.puppetdb.cli.anonymize :refer :all]
[puppetlabs.puppetdb.testutils :as tu]
[clojure.string :as str]
[puppetlabs.puppetdb.testutils.tar :as tar]
[puppetlabs.puppetdb.t... | 116345 | (ns puppetlabs.puppetdb.cli.anonymize-test
(:require [clojure.test :refer :all]
[puppetlabs.puppetdb.cli.anonymize :refer :all]
[puppetlabs.puppetdb.testutils :as tu]
[clojure.string :as str]
[puppetlabs.puppetdb.testutils.tar :as tar]
[puppetlabs.puppetdb.t... | true | (ns puppetlabs.puppetdb.cli.anonymize-test
(:require [clojure.test :refer :all]
[puppetlabs.puppetdb.cli.anonymize :refer :all]
[puppetlabs.puppetdb.testutils :as tu]
[clojure.string :as str]
[puppetlabs.puppetdb.testutils.tar :as tar]
[puppetlabs.puppetdb.t... |
[
{
"context": "encoding of natural numbers\n\n; Copyright (c) 2019 Burkhardt Renz, THM. All rights reserved.\n; The use and distribu",
"end": 97,
"score": 0.9998618960380554,
"start": 83,
"tag": "NAME",
"value": "Burkhardt Renz"
},
{
"context": "tion of the predecessor combinator acc... | src/lwb/cl/examples/numerals.clj | esb-lwb/lwb | 22 | ; lwb Logic WorkBench -- Church encoding of natural numbers
; Copyright (c) 2019 Burkhardt Renz, THM. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php).
; By using this software in any fashion, you a... | 21758 | ; lwb Logic WorkBench -- Church encoding of natural numbers
; Copyright (c) 2019 <NAME>, THM. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php).
; By using this software in any fashion, you are agree... | true | ; lwb Logic WorkBench -- Church encoding of natural numbers
; Copyright (c) 2019 PI:NAME:<NAME>END_PI, THM. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php).
; By using this software in any fashion,... |
[
{
"context": " :name \"1450 Denny's Favorite 50\"\n ",
"end": 18252,
"score": 0.853705883026123,
"start": 18247,
"tag": "NAME",
"value": "Denny"
},
{
"context": "is a mainstay of one of our local homebrewers, Mr. ... | src/common_beer_format/data/yeasts/wyeast.cljc | Wall-Brew-Co/common-beer-format | 1 | (ns common-beer-format.data.yeasts.wyeast
"Data for yeasts cultivated by Wyeast"
(:require [common-beer-format.data.yeasts.yeasts :as yeasts]))
(def german-ale-1007
(yeasts/build-yeasts :german-ale-1007 {:min-temperature 12.78
:name "1007 German Ale"
... | 119289 | (ns common-beer-format.data.yeasts.wyeast
"Data for yeasts cultivated by Wyeast"
(:require [common-beer-format.data.yeasts.yeasts :as yeasts]))
(def german-ale-1007
(yeasts/build-yeasts :german-ale-1007 {:min-temperature 12.78
:name "1007 German Ale"
... | true | (ns common-beer-format.data.yeasts.wyeast
"Data for yeasts cultivated by Wyeast"
(:require [common-beer-format.data.yeasts.yeasts :as yeasts]))
(def german-ale-1007
(yeasts/build-yeasts :german-ale-1007 {:min-temperature 12.78
:name "1007 German Ale"
... |
[
{
"context": "e false})\n\n(def registration-data\n {:first_name \"Testing\"\n :last_name \"Registration\"\n :email \"test.reg",
"end": 293,
"score": 0.9998180270195007,
"start": 286,
"tag": "NAME",
"value": "Testing"
},
{
"context": "tion-data\n {:first_name \"Testing\"\n :l... | test/clj/salava/user/db_test.clj | discendum/salava | 17 | (ns salava.user.db-test
(:require [salava.user.db :as db]
[clojure.test :refer :all]
[salava.core.migrator :as migrator]
[salava.core.test-utils :as t]))
(def test-user {:id 1 :role "user" :private false})
(def registration-data
{:first_name "Testing"
:last_name "Registrati... | 37704 | (ns salava.user.db-test
(:require [salava.user.db :as db]
[clojure.test :refer :all]
[salava.core.migrator :as migrator]
[salava.core.test-utils :as t]))
(def test-user {:id 1 :role "user" :private false})
(def registration-data
{:first_name "<NAME>"
:last_name "<NAME>"
... | true | (ns salava.user.db-test
(:require [salava.user.db :as db]
[clojure.test :refer :all]
[salava.core.migrator :as migrator]
[salava.core.test-utils :as t]))
(def test-user {:id 1 :role "user" :private false})
(def registration-data
{:first_name "PI:NAME:<NAME>END_PI"
:last_nam... |
[
{
"context": "bionic\"\n :key-url \"https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x20D0BB61B700CE29\"}))\n\n(defn insta",
"end": 2351,
"score": 0.7501125335693359,
"start": 2320,
"tag": "KEY",
"value": "keyserver.ubuntu.com/pks/lookup"
},
{
"context... | main/src/dda/pallet/dda_managed_vm/infra/office.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... | 4862 | ; 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": "; Copyright (c) Rich Hickey. All rights reserved.\n; The use and distributio",
"end": 29,
"score": 0.9998193979263306,
"start": 18,
"tag": "NAME",
"value": "Rich Hickey"
}
] | ext/clojure-clojurescript-bef56a7/samples/twitterbuzz/src/twitterbuzz/layout.cljs | yokolet/clementine | 35 | ; Copyright (c) Rich Hickey. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
; which can be found in the file epl-v10.html at the root of this distribution.
; By using this software in any ... | 116530 | ; 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": "build-up database connection source \n;; \n;; Autor: Christian Meichsner\r\n\r\n(ns org.lambdaroyal.util.db.dbconfig\n (:requi",
"end": 106,
"score": 0.9998174905776978,
"start": 87,
"tag": "NAME",
"value": "Christian Meichsner"
}
] | src/main/clojure/org/lambdaroyal/util/db/dbconfig.clj | gixxi/clojure-util | 1 | ;; Aspect Read DB configuration and build-up database connection source
;;
;; Autor: Christian Meichsner
(ns org.lambdaroyal.util.db.dbconfig
(:require [clojure.java.io :as io])
(:import [java.io PushbackReader])
(:gen-class))
(defn conf [file]
"Liesst ein Konfigurationsfile ein, welches einer Assoziati... | 42238 | ;; Aspect Read DB configuration and build-up database connection source
;;
;; Autor: <NAME>
(ns org.lambdaroyal.util.db.dbconfig
(:require [clojure.java.io :as io])
(:import [java.io PushbackReader])
(:gen-class))
(defn conf [file]
"Liesst ein Konfigurationsfile ein, welches einer Assoziativen Liste ent... | true | ;; Aspect Read DB configuration and build-up database connection source
;;
;; Autor: PI:NAME:<NAME>END_PI
(ns org.lambdaroyal.util.db.dbconfig
(:require [clojure.java.io :as io])
(:import [java.io PushbackReader])
(:gen-class))
(defn conf [file]
"Liesst ein Konfigurationsfile ein, welches einer Assoziat... |
[
{
"context": "\n (.setPassword password)\n (.signUp)))]",
"end": 1652,
"score": 0.981672465801239,
"start": 1644,
"tag": "PASSWORD",
"value": "password"
},
{
"context": "d\" \"createdAt\" \"sessionToken\" \"objectI... | src/main/clojure/core/sign_up.clj | MSC-XDU/Home-Backend | 2 | (ns core.sign-up
(:use leanengine.base
leanengine.query
leanengine.file
leanengine.object
clojure.tools.logging
[clojure.data.json :only [write-str read-str]]
[ring.util.codec :only (url-encode)]
[medley.core :only (map-keys)])
(:require [clj-http.client :as c... | 119483 | (ns core.sign-up
(:use leanengine.base
leanengine.query
leanengine.file
leanengine.object
clojure.tools.logging
[clojure.data.json :only [write-str read-str]]
[ring.util.codec :only (url-encode)]
[medley.core :only (map-keys)])
(:require [clj-http.client :as c... | true | (ns core.sign-up
(:use leanengine.base
leanengine.query
leanengine.file
leanengine.object
clojure.tools.logging
[clojure.data.json :only [write-str read-str]]
[ring.util.codec :only (url-encode)]
[medley.core :only (map-keys)])
(:require [clj-http.client :as c... |
[
{
"context": "\"Benchmarks for sums of double[].\"\n \n {:author \"palisades dot lakes at gmail dot com\"\n :since \"2017-04-06\"\n :version \"2017-05-29\"}",
"end": 290,
"score": 0.9636661410331726,
"start": 254,
"tag": "EMAIL",
"value": "palisades dot lakes at gmail dot com"
}
] | src/scripts/clojure/palisades/lakes/elements/scripts/numbers/sum/algorithms.clj | palisades-lakes/les-elemens | 0 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns palisades.lakes.elements.scripts.numbers.sum.algorithms
"Benchmarks for sums of double[]."
{:author "palisades dot lakes at gmail dot com"
:since "2017-04-06"
:v... | 98188 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns palisades.lakes.elements.scripts.numbers.sum.algorithms
"Benchmarks for sums of double[]."
{:author "<EMAIL>"
:since "2017-04-06"
:version "2017-05-29"}
(:r... | true | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns palisades.lakes.elements.scripts.numbers.sum.algorithms
"Benchmarks for sums of double[]."
{:author "PI:EMAIL:<EMAIL>END_PI"
:since "2017-04-06"
:version "2017-0... |
[
{
"context": "ile is part of tempest-cljs\n;; Copyright (c) 2012, Trevor Bentley\n;; All rights reserved.\n;; See LICENSE file for d",
"end": 77,
"score": 0.9998579025268555,
"start": 63,
"tag": "NAME",
"value": "Trevor Bentley"
}
] | tempest/tempest/core.cljs | mrmekon/tempest-cljs | 5 | ;;
;; This file is part of tempest-cljs
;; Copyright (c) 2012, Trevor Bentley
;; All rights reserved.
;; See LICENSE file for details.
;;
(ns ^{:doc "
Functions related to the game of tempest, and game state.
Functions in this module create the game state, and modify it based on
player actions or time. This includes... | 53992 | ;;
;; This file is part of tempest-cljs
;; Copyright (c) 2012, <NAME>
;; All rights reserved.
;; See LICENSE file for details.
;;
(ns ^{:doc "
Functions related to the game of tempest, and game state.
Functions in this module create the game state, and modify it based on
player actions or time. This includes managem... | true | ;;
;; This file is part of tempest-cljs
;; Copyright (c) 2012, PI:NAME:<NAME>END_PI
;; All rights reserved.
;; See LICENSE file for details.
;;
(ns ^{:doc "
Functions related to the game of tempest, and game state.
Functions in this module create the game state, and modify it based on
player actions or time. This in... |
[
{
"context": "! *unchecked-math* :warn-on-boxed)\n(ns ^{:author \"John Alan McDonald\" :date \"2016-05-20\"\n :doc \"Tests for zana.da",
"end": 105,
"score": 0.9998794198036194,
"start": 87,
"tag": "NAME",
"value": "John Alan McDonald"
},
{
"context": " p1 (Typical.\n; ... | src/test/clojure/zana/test/data/edn.clj | wahpenayo/zana | 2 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "John Alan McDonald" :date "2016-05-20"
:doc "Tests for zana.data.datum." }
zana.test.data.edn
(:require [clojure.edn :as edn]
[clojure.test :as test]))
;;-----------------------------------------------... | 67384 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "<NAME>" :date "2016-05-20"
:doc "Tests for zana.data.datum." }
zana.test.data.edn
(:require [clojure.edn :as edn]
[clojure.test :as test]))
;;-----------------------------------------------------------... | true | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "PI:NAME:<NAME>END_PI" :date "2016-05-20"
:doc "Tests for zana.data.datum." }
zana.test.data.edn
(:require [clojure.edn :as edn]
[clojure.test :as test]))
;;---------------------------------------------... |
[
{
"context": ";; Copyright © 2015-2021 Esko Luontola\n;; This software is released under the Apache Lic",
"end": 38,
"score": 0.9998841881752014,
"start": 25,
"tag": "NAME",
"value": "Esko Luontola"
},
{
"context": "rants)\n (set grants))\n {:username grantee\n ... | src/territory_bro/gis/gis_db.clj | orfjackal/territory-bro | 2 | ;; Copyright © 2015-2021 Esko Luontola
;; This software is released under the Apache License 2.0.
;; The license text is at http://www.apache.org/licenses/LICENSE-2.0
(ns territory-bro.gis.gis-db
(:require [clojure.java.jdbc :as jdbc]
[clojure.string :as str]
[clojure.tools.logging :as log]
... | 35787 | ;; Copyright © 2015-2021 <NAME>
;; This software is released under the Apache License 2.0.
;; The license text is at http://www.apache.org/licenses/LICENSE-2.0
(ns territory-bro.gis.gis-db
(:require [clojure.java.jdbc :as jdbc]
[clojure.string :as str]
[clojure.tools.logging :as log]
... | true | ;; Copyright © 2015-2021 PI:NAME:<NAME>END_PI
;; This software is released under the Apache License 2.0.
;; The license text is at http://www.apache.org/licenses/LICENSE-2.0
(ns territory-bro.gis.gis-db
(:require [clojure.java.jdbc :as jdbc]
[clojure.string :as str]
[clojure.tools.logging :as... |
[
{
"context": "]\n [clojure.string :as str]))\n\n;; HACK(Richo): I wrote this macro because I'm lazy and I didn'",
"end": 129,
"score": 0.9989668130874634,
"start": 124,
"tag": "NAME",
"value": "Richo"
}
] | middleware/server/src/middleware/utils/fs/browser_macros.clj | GIRA/UziScript | 15 | (ns middleware.utils.fs.browser-macros
(:require [clojure.java.io :as io]
[clojure.string :as str]))
;; HACK(Richo): I wrote this macro because I'm lazy and I didn't want to refactor the
;; compiler to work with asynchronous code.
;; The problem I have is that the linker needs access to the file system i... | 107012 | (ns middleware.utils.fs.browser-macros
(:require [clojure.java.io :as io]
[clojure.string :as str]))
;; HACK(<NAME>): I wrote this macro because I'm lazy and I didn't want to refactor the
;; compiler to work with asynchronous code.
;; The problem I have is that the linker needs access to the file system ... | true | (ns middleware.utils.fs.browser-macros
(:require [clojure.java.io :as io]
[clojure.string :as str]))
;; HACK(PI:NAME:<NAME>END_PI): I wrote this macro because I'm lazy and I didn't want to refactor the
;; compiler to work with asynchronous code.
;; The problem I have is that the linker needs access to th... |
[
{
"context": "(comment \n re-core, Copyright 2012 Ronen Narkis, narkisr.com\n Licensed under the Apache License",
"end": 49,
"score": 0.9998869895935059,
"start": 37,
"tag": "NAME",
"value": "Ronen Narkis"
},
{
"context": "omment \n re-core, Copyright 2012 Ronen Narkis, narkisr... | src/freenas/validations.clj | celestial-ops/core | 1 | (comment
re-core, Copyright 2012 Ronen Narkis, narkisr.com
Licensed under the Apache License,
Version 2.0 (the "License") you may not use this file except in compliance with the License.
You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law... | 58927 | (comment
re-core, Copyright 2012 <NAME>, n<EMAIL>
Licensed under the Apache License,
Version 2.0 (the "License") you may not use this file except in compliance with the License.
You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agree... | true | (comment
re-core, Copyright 2012 PI:NAME:<NAME>END_PI, nPI:EMAIL:<EMAIL>END_PI
Licensed under the Apache License,
Version 2.0 (the "License") you may not use this file except in compliance with the License.
You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless requir... |
[
{
"context": "rcPnjHcjFCeDlSQ2wxQzA/view\n\n(def players \n {\n :amaronian {:name \"Andre Maronian\" }\n :rprescott {:name \"R",
"end": 360,
"score": 0.9993475079536438,
"start": 351,
"tag": "USERNAME",
"value": "amaronian"
},
{
"context": "QzA/view\n\n(def players \n {\n :am... | src/gvttc_ical/data_2015.clj | rmprescott/gvttc-ical | 0 | (ns gvttc-ical.data-2015)
;; TODO: consider switching to using EDN
;; 2016 schedules online
;; Monday: https://drive.google.com/file/d/0B8etdrrcPnjHcjFCeDlSQ2wxQzA/view
;; Tuesday: https://drive.google.com/file/d/0B8etdrrcPnjHcjFCeDlSQ2wxQzA/view
;; Wednesday: https://drive.google.com/file/d/0B8etdrrcPnjHcjFCeDlSQ2wxQ... | 87204 | (ns gvttc-ical.data-2015)
;; TODO: consider switching to using EDN
;; 2016 schedules online
;; Monday: https://drive.google.com/file/d/0B8etdrrcPnjHcjFCeDlSQ2wxQzA/view
;; Tuesday: https://drive.google.com/file/d/0B8etdrrcPnjHcjFCeDlSQ2wxQzA/view
;; Wednesday: https://drive.google.com/file/d/0B8etdrrcPnjHcjFCeDlSQ2wxQ... | true | (ns gvttc-ical.data-2015)
;; TODO: consider switching to using EDN
;; 2016 schedules online
;; Monday: https://drive.google.com/file/d/0B8etdrrcPnjHcjFCeDlSQ2wxQzA/view
;; Tuesday: https://drive.google.com/file/d/0B8etdrrcPnjHcjFCeDlSQ2wxQzA/view
;; Wednesday: https://drive.google.com/file/d/0B8etdrrcPnjHcjFCeDlSQ2wxQ... |
[
{
"context": "(ns hello-world)\n\n(defn hello-world []\n \"Goodbye, Mars!\")\n\n",
"end": 55,
"score": 0.9974682927131653,
"start": 51,
"tag": "NAME",
"value": "Mars"
}
] | exercises/practice/hello-world/src/hello_world.cljs | joetjen/clojurescript | 5 | (ns hello-world)
(defn hello-world []
"Goodbye, Mars!")
| 108458 | (ns hello-world)
(defn hello-world []
"Goodbye, <NAME>!")
| true | (ns hello-world)
(defn hello-world []
"Goodbye, PI:NAME:<NAME>END_PI!")
|
[
{
"context": " 1\n {:keylength 512\n :extensions [{:oid \"1.3.6",
"end": 6110,
"score": 0.995741069316864,
"start": 6107,
"tag": "KEY",
"value": "512"
},
{
"context": "\n {:keylength 512\n ... | test/integration/puppetlabs/puppetserver/auth_conf_test.clj | linuxadmin25/puppet89 | 0 | (ns puppetlabs.puppetserver.auth-conf-test
(:require [clojure.test :refer :all]
[clojure.string :as str]
[puppetlabs.puppetserver.bootstrap-testutils :as bootstrap]
[puppetlabs.http.client.sync :as http-client]
[puppetlabs.kitchensink.core :as ks]
[puppetlab... | 100247 | (ns puppetlabs.puppetserver.auth-conf-test
(:require [clojure.test :refer :all]
[clojure.string :as str]
[puppetlabs.puppetserver.bootstrap-testutils :as bootstrap]
[puppetlabs.http.client.sync :as http-client]
[puppetlabs.kitchensink.core :as ks]
[puppetlab... | true | (ns puppetlabs.puppetserver.auth-conf-test
(:require [clojure.test :refer :all]
[clojure.string :as str]
[puppetlabs.puppetserver.bootstrap-testutils :as bootstrap]
[puppetlabs.http.client.sync :as http-client]
[puppetlabs.kitchensink.core :as ks]
[puppetlab... |
[
{
"context": "va \"8.0.15\"]\n [com.oracle/ojdbc8 \"12.2.0.1\"]\n ]\r\n :main ^:skip-aot query-to",
"end": 799,
"score": 0.9991930723190308,
"start": 791,
"tag": "IP_ADDRESS",
"value": "12.2.0.1"
}
] | project.clj | tomaszgigiel/query-to-excel | 0 | (defproject query-to-excel "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.9.0"]
[org.clojure/java.jdbc "0.... | 111785 | (defproject query-to-excel "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.9.0"]
[org.clojure/java.jdbc "0.... | true | (defproject query-to-excel "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.9.0"]
[org.clojure/java.jdbc "0.... |
[
{
"context": ";; Copyright (c) James Reeves. All rights reserved.\n;; The use and distribution",
"end": 29,
"score": 0.9998772144317627,
"start": 17,
"tag": "NAME",
"value": "James Reeves"
}
] | data/clojure/6ad2c55e37e21f6a213adc58c060d2d0_crypto.clj | maxim5/code-inspector | 5 | ;; Copyright (c) James Reeves. All rights reserved.
;; The use and distribution terms for this software are covered by the Eclipse
;; Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) which
;; can be found in the file epl-v10.html at the root of this distribution. By
;; using this software in any fash... | 7170 | ;; 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": "! *unchecked-math* :warn-on-boxed)\n(ns ^{:author \"John Alan McDonald, Kristina Lisa Klinkner\" :date \"2017-01-03\"\n ",
"end": 105,
"score": 0.9998794794082642,
"start": 87,
"tag": "NAME",
"value": "John Alan McDonald"
},
{
"context": ":warn-on-boxed)\n(ns ^{:aut... | src/main/clojure/taiga/split/object/categorical/all_subsets.clj | wahpenayo/taiga | 4 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "John Alan McDonald, Kristina Lisa Klinkner" :date "2017-01-03"
:doc "Brute force search over all 2-way partitions of the categories." }
taiga.split.object.categorical.all-subsets
(:require [zana.api :as z]
... | 2817 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "<NAME>, <NAME>" :date "2017-01-03"
:doc "Brute force search over all 2-way partitions of the categories." }
taiga.split.object.categorical.all-subsets
(:require [zana.api :as z]
[taiga.utils :as utils]... | true | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI" :date "2017-01-03"
:doc "Brute force search over all 2-way partitions of the categories." }
taiga.split.object.categorical.all-subsets
(:require [zana.api :as z]
... |
[
{
"context": " \"Clara Example Rules\"\n :url \"https://github.com/cerner/clara-examples\"\n :license {:name \"Apache License",
"end": 125,
"score": 0.9994001388549805,
"start": 119,
"tag": "USERNAME",
"value": "cerner"
},
{
"context": "scm {:name \"git\"\n :url \"https://gi... | project.clj | cerner/clara-examples | 50 | (defproject com.cerner/clara-examples "0.2.0-SNAPSHOT"
:description "Clara Example Rules"
:url "https://github.com/cerner/clara-examples"
:license {:name "Apache License Version 2.0"
:url "https://www.apache.org/licenses/LICENSE-2.0"}
:dependencies [[com.google.guava/guava "15.0"] ; Explicitly pull ... | 99590 | (defproject com.cerner/clara-examples "0.2.0-SNAPSHOT"
:description "Clara Example Rules"
:url "https://github.com/cerner/clara-examples"
:license {:name "Apache License Version 2.0"
:url "https://www.apache.org/licenses/LICENSE-2.0"}
:dependencies [[com.google.guava/guava "15.0"] ; Explicitly pull ... | true | (defproject com.cerner/clara-examples "0.2.0-SNAPSHOT"
:description "Clara Example Rules"
:url "https://github.com/cerner/clara-examples"
:license {:name "Apache License Version 2.0"
:url "https://www.apache.org/licenses/LICENSE-2.0"}
:dependencies [[com.google.guava/guava "15.0"] ; Explicitly pull ... |
[
{
"context": ";; Copyright 2014-2020 King\n;; Copyright 2009-2014 Ragnar Svensson, Christian Murray\n;; Licensed under the Defold Li",
"end": 111,
"score": 0.9998176693916321,
"start": 96,
"tag": "NAME",
"value": "Ragnar Svensson"
},
{
"context": "-2020 King\n;; Copyright 2009-2014 R... | editor/src/clj/editor/url.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... | 61812 | ;; 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": ":db (apply str (drop 1 (.getPath uri)))\n :user username\n :password password\n :host (.getHost uri)",
"end": 1227,
"score": 0.606134831905365,
"start": 1219,
"tag": "USERNAME",
"value": "username"
},
{
"context": ".getPath uri)))\n :user username\n ... | src/zoo_storm/database.clj | zooniverse/zoo-event-storm | 0 | (ns zoo-storm.database
(:require [korma.core :refer :all]
[korma.db :refer [postgres create-db with-db]]
[paneer.core :as p]
[paneer.db :as pdb]
[clojure.string :refer [split]]))
(defn- table-exists?
[db table-name]
(not (empty? (with-db db
(select... | 4789 | (ns zoo-storm.database
(:require [korma.core :refer :all]
[korma.db :refer [postgres create-db with-db]]
[paneer.core :as p]
[paneer.db :as pdb]
[clojure.string :refer [split]]))
(defn- table-exists?
[db table-name]
(not (empty? (with-db db
(select... | true | (ns zoo-storm.database
(:require [korma.core :refer :all]
[korma.db :refer [postgres create-db with-db]]
[paneer.core :as p]
[paneer.db :as pdb]
[clojure.string :refer [split]]))
(defn- table-exists?
[db table-name]
(not (empty? (with-db db
(select... |
[
{
"context": "dern Clojurescript Tutofrials](https://github.com/magomimmo/modern-cljs)\n- [Clojure for the Brave and True: c",
"end": 272,
"score": 0.9972835183143616,
"start": 263,
"tag": "USERNAME",
"value": "magomimmo"
},
{
"context": "wiki/Basic-Tutorial)\")\n\n(defcard-doc\n \"... | src/cljs_demo/closing.cljs | yanatan16/talk-clojurescript-for-javascript-devs | 3 | (ns cljs-demo.closing
(:require [devcards.core :as dc :refer-macros [defcard-doc]]))
(defcard-doc
"## Resources
- [Clojurescript Quick Start](https://github.com/clojure/clojurescript/wiki/Quick-Start)
- [Modern Clojurescript Tutofrials](https://github.com/magomimmo/modern-cljs)
- [Clojure for the Brave and True:... | 96970 | (ns cljs-demo.closing
(:require [devcards.core :as dc :refer-macros [defcard-doc]]))
(defcard-doc
"## Resources
- [Clojurescript Quick Start](https://github.com/clojure/clojurescript/wiki/Quick-Start)
- [Modern Clojurescript Tutofrials](https://github.com/magomimmo/modern-cljs)
- [Clojure for the Brave and True:... | true | (ns cljs-demo.closing
(:require [devcards.core :as dc :refer-macros [defcard-doc]]))
(defcard-doc
"## Resources
- [Clojurescript Quick Start](https://github.com/clojure/clojurescript/wiki/Quick-Start)
- [Modern Clojurescript Tutofrials](https://github.com/magomimmo/modern-cljs)
- [Clojure for the Brave and True:... |
[
{
"context": " 12}\n (e/ui-field {:id \"ip1\" :placeholder \"First name\" :helper \"First name is required\"} \"\"))\n\n (l",
"end": 1260,
"score": 0.9362666606903076,
"start": 1250,
"tag": "NAME",
"value": "First name"
},
{
"context": "f}\n (e/ui-field {:id \"ip... | src/css-guide/styles/patterns.cljs | AlloyCSS/untangled-components | 0 | (ns styles.patterns
(:require [om.next :as om :refer-macros [defui]]
[styles.util :as util :refer [to-cljs] :refer-macros [source->react defexample defarticle defview defviewport]]
[untangled.icons :as icons]
[untangled.ui.layout :as l]
[untangled.ui.elements :as e]
... | 53093 | (ns styles.patterns
(:require [om.next :as om :refer-macros [defui]]
[styles.util :as util :refer [to-cljs] :refer-macros [source->react defexample defarticle defview defviewport]]
[untangled.icons :as icons]
[untangled.ui.layout :as l]
[untangled.ui.elements :as e]
... | true | (ns styles.patterns
(:require [om.next :as om :refer-macros [defui]]
[styles.util :as util :refer [to-cljs] :refer-macros [source->react defexample defarticle defview defviewport]]
[untangled.icons :as icons]
[untangled.ui.layout :as l]
[untangled.ui.elements :as e]
... |
[
{
"context": "\n\n(deftest dataxml-test\n (let [r {:id \"1\" :name \"Jan\" :lastname \"Abacki\"}\n s \"<?xml version=\\\"1",
"end": 245,
"score": 0.999284029006958,
"start": 242,
"tag": "NAME",
"value": "Jan"
},
{
"context": "ml-test\n (let [r {:id \"1\" :name \"Jan\" :lastn... | src/test/clojure/pl/tomaszgigiel/agrest/xml_test.clj | tomaszgigiel/agrest | 0 | (ns pl.tomaszgigiel.agrest.xml-test
(:use [clojure.test])
(:require [clojure.data.xml :as dataxml])
(:require [clojure.xml :as xml])
(:require [pl.tomaszgigiel.agrest.xml :as agrest]))
(deftest dataxml-test
(let [r {:id "1" :name "Jan" :lastname "Abacki"}
s "<?xml version=\"1.0\" encoding=\"UTF-8\"?>... | 53049 | (ns pl.tomaszgigiel.agrest.xml-test
(:use [clojure.test])
(:require [clojure.data.xml :as dataxml])
(:require [clojure.xml :as xml])
(:require [pl.tomaszgigiel.agrest.xml :as agrest]))
(deftest dataxml-test
(let [r {:id "1" :name "<NAME>" :lastname "<NAME>"}
s "<?xml version=\"1.0\" encoding=\"UTF-8\... | true | (ns pl.tomaszgigiel.agrest.xml-test
(:use [clojure.test])
(:require [clojure.data.xml :as dataxml])
(:require [clojure.xml :as xml])
(:require [pl.tomaszgigiel.agrest.xml :as agrest]))
(deftest dataxml-test
(let [r {:id "1" :name "PI:NAME:<NAME>END_PI" :lastname "PI:NAME:<NAME>END_PI"}
s "<?xml versi... |
[
{
"context": ";; Copyright (c) Andrew A. Raines\n;;\n;; Permission is hereby granted, free of charg",
"end": 33,
"score": 0.9998827576637268,
"start": 17,
"tag": "NAME",
"value": "Andrew A. Raines"
},
{
"context": "reload))\n\n(defn props [attrs]\n (let [msg {:from \"foo@bar.dom\"\n... | test/postal/test/smtp.clj | poenneby/postal | 371 | ;; Copyright (c) Andrew A. Raines
;;
;; Permission is hereby granted, free of charge, to any person
;; obtaining a copy of this software and associated documentation
;; files (the "Software"), to deal in the Software without
;; restriction, including without limitation the rights to use,
;; copy, modify, merge, publish... | 43969 | ;; Copyright (c) <NAME>
;;
;; Permission is hereby granted, free of charge, to any person
;; obtaining a copy of this software and associated documentation
;; files (the "Software"), to deal in the Software without
;; restriction, including without limitation the rights to use,
;; copy, modify, merge, publish, distribu... | true | ;; Copyright (c) PI:NAME:<NAME>END_PI
;;
;; Permission is hereby granted, free of charge, to any person
;; obtaining a copy of this software and associated documentation
;; files (the "Software"), to deal in the Software without
;; restriction, including without limitation the rights to use,
;; copy, modify, merge, pub... |
[
{
"context": "erson-or-dog-schema)\n data #:person{:name \"Apollo\" :age 30}\n bad-data #:person{:name \"Apollo",
"end": 1741,
"score": 0.9997997283935547,
"start": 1735,
"tag": "NAME",
"value": "Apollo"
},
{
"context": "Apollo\" :age 30}\n bad-data #:person{:nam... | test/deercreeklabs/unit/plumatic_test.cljc | GriffinScribe-LLC/lancaster | 42 | (ns deercreeklabs.unit.plumatic-test
(:require
[clojure.string :as str]
[clojure.test :refer [deftest is use-fixtures]]
[deercreeklabs.baracus :as ba]
[deercreeklabs.lancaster :as l]
[deercreeklabs.lancaster.utils :as u]
[deercreeklabs.unit.lancaster-test :as lt]
[schema.core :as s :include-macro... | 56355 | (ns deercreeklabs.unit.plumatic-test
(:require
[clojure.string :as str]
[clojure.test :refer [deftest is use-fixtures]]
[deercreeklabs.baracus :as ba]
[deercreeklabs.lancaster :as l]
[deercreeklabs.lancaster.utils :as u]
[deercreeklabs.unit.lancaster-test :as lt]
[schema.core :as s :include-macro... | true | (ns deercreeklabs.unit.plumatic-test
(:require
[clojure.string :as str]
[clojure.test :refer [deftest is use-fixtures]]
[deercreeklabs.baracus :as ba]
[deercreeklabs.lancaster :as l]
[deercreeklabs.lancaster.utils :as u]
[deercreeklabs.unit.lancaster-test :as lt]
[schema.core :as s :include-macro... |
[
{
"context": " 17)\n 1. SizeInBytes => int16\n 2. api_key => INT16 (0) 17\n 3. api_version => INT16 (0)\n ",
"end": 6610,
"score": 0.95729660987854,
"start": 6605,
"tag": "KEY",
"value": "INT16"
},
{
"context": "izeInBytes => int16\n 2. api_key => INT16 (0) ... | kafka-clj/src/kafka_clj/jaas.clj | gerritjvv/kafka-fast | 152 | (ns
^{:doc "USAGE:
Use for JAAS Kerberos Plain Text
(def tcp-client (... create tcp client ...)
(def c (jaas/jaas-login \"KafkaClient\"))
(def sasl-client (jaas/sasl-client c (jaas/principal-name c) broker-host))
(jaas/sasl-handshake! tcp-client sasl-clien... | 21975 | (ns
^{:doc "USAGE:
Use for JAAS Kerberos Plain Text
(def tcp-client (... create tcp client ...)
(def c (jaas/jaas-login \"KafkaClient\"))
(def sasl-client (jaas/sasl-client c (jaas/principal-name c) broker-host))
(jaas/sasl-handshake! tcp-client sasl-clien... | true | (ns
^{:doc "USAGE:
Use for JAAS Kerberos Plain Text
(def tcp-client (... create tcp client ...)
(def c (jaas/jaas-login \"KafkaClient\"))
(def sasl-client (jaas/sasl-client c (jaas/principal-name c) broker-host))
(jaas/sasl-handshake! tcp-client sasl-clien... |
[
{
"context": " (.setRefreshInterval (int 0))\n ;; (.putUser \"alfresco\" (org.eclipse.jetty.util.security.Password. \"alfr",
"end": 4946,
"score": 0.9992841482162476,
"start": 4938,
"tag": "USERNAME",
"value": "alfresco"
},
{
"context": "esco\" (org.eclipse.jetty.util.security.Pa... | itest/jetty.clj | deas/lambdalf | 1 | (ns jetty
"Jetty 9 server, shamelessly stolen (from jetty9 ring adapter) and hacked.
Fire it up like so:
(def jetty-component
(jetty/new-jetty (jetty/create-jetty (jetty/create-handler \"./test-webapp\" \"/alfresco\")
{:port 1234 :configurator jetty/alfresco-configu... | 53933 | (ns jetty
"Jetty 9 server, shamelessly stolen (from jetty9 ring adapter) and hacked.
Fire it up like so:
(def jetty-component
(jetty/new-jetty (jetty/create-jetty (jetty/create-handler \"./test-webapp\" \"/alfresco\")
{:port 1234 :configurator jetty/alfresco-configu... | true | (ns jetty
"Jetty 9 server, shamelessly stolen (from jetty9 ring adapter) and hacked.
Fire it up like so:
(def jetty-component
(jetty/new-jetty (jetty/create-jetty (jetty/create-handler \"./test-webapp\" \"/alfresco\")
{:port 1234 :configurator jetty/alfresco-configu... |
[
{
"context": "(ns #^{:author \"Roger Allen\"\n :doc \"Overtone library code.\"}\n shaderto",
"end": 27,
"score": 0.9998623728752136,
"start": 16,
"tag": "NAME",
"value": "Roger Allen"
},
{
"context": "ume tap synth inspired by\n;; https://github.com/samaaron/arnold/blob/mast... | src/shadertone/tone.clj | baskeboler/shadertone | 304 | (ns #^{:author "Roger Allen"
:doc "Overtone library code."}
shadertone.tone
(:use [overtone.helpers lib]
[overtone.libs event deps]
[overtone.sc defaults synth ugens buffer node foundation-groups bus]
[overtone.sc.cgens buf-io tap]
[overtone.studio core util])
(:require [sha... | 65034 | (ns #^{:author "<NAME>"
:doc "Overtone library code."}
shadertone.tone
(:use [overtone.helpers lib]
[overtone.libs event deps]
[overtone.sc defaults synth ugens buffer node foundation-groups bus]
[overtone.sc.cgens buf-io tap]
[overtone.studio core util])
(:require [shaderto... | true | (ns #^{:author "PI:NAME:<NAME>END_PI"
:doc "Overtone library code."}
shadertone.tone
(:use [overtone.helpers lib]
[overtone.libs event deps]
[overtone.sc defaults synth ugens buffer node foundation-groups bus]
[overtone.sc.cgens buf-io tap]
[overtone.studio core util])
(:req... |
[
{
"context": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n\n(ns\n #^{:author \"Konrad Hinsen\"\n :skip-wiki true\n :doc \"Examples for usi",
"end": 360,
"score": 0.9998729825019836,
"start": 347,
"tag": "NAME",
"value": "Konrad Hinsen"
}
] | ThirdParty/clojure-contrib-1.1.0/src/clojure/contrib/monads/examples.clj | allertonm/Couverjure | 3 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;; Monad application examples
;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;... | 90073 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;; Monad application examples
;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;... | true | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;; Monad application examples
;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;... |
[
{
"context": "! *unchecked-math* :warn-on-boxed)\n(ns ^{:author \"wahpenayo at gmail dot com\" \n :date \"2018-01-21\"\n ",
"end": 97,
"score": 0.7367715835571289,
"start": 88,
"tag": "EMAIL",
"value": "wahpenayo"
},
{
"context": "-math* :warn-on-boxed)\n(ns ^{:author \"wahp... | src/main/clojure/taigabench/ontime/data.clj | wahpenayo/taigabench | 0 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "wahpenayo at gmail dot com"
:date "2018-01-21"
:doc "[Public airline ontime data for benchmarking](http://stat-computing.org/dataexpo/2009/).
<p>
<b>Note:</b>Using attributes mostly as defined as... | 65108 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "<EMAIL> at <EMAIL>"
:date "2018-01-21"
:doc "[Public airline ontime data for benchmarking](http://stat-computing.org/dataexpo/2009/).
<p>
<b>Note:</b>Using attributes mostly as defined as in
... | true | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "PI:EMAIL:<EMAIL>END_PI at PI:EMAIL:<EMAIL>END_PI"
:date "2018-01-21"
:doc "[Public airline ontime data for benchmarking](http://stat-computing.org/dataexpo/2009/).
<p>
<b>Note:</b>Using attribute... |
[
{
"context": " (r/atom true))\n(def names (r/atom [{:first-name \"Hans\" :surname \"Emil\"}\n {:first-nam",
"end": 696,
"score": 0.999537467956543,
"start": 692,
"tag": "NAME",
"value": "Hans"
},
{
"context": "(def names (r/atom [{:first-name \"Hans\" :surname \"Em... | src/site/state.cljs | alex-sumner/seven-guis | 0 | (ns site.state
(:require [reagent.core :as r]))
;;task 1 counter
(def counter (r/atom 0))
;;task 2 temperature converter
(def celcius (r/atom 0))
(def farenheit (r/atom 32))
;;task 3 flight booker
(def journey-type (r/atom "One Way"))
(def departure (r/atom ""))
(def return (r/atom ""))
(def return-disabled (r/ato... | 116192 | (ns site.state
(:require [reagent.core :as r]))
;;task 1 counter
(def counter (r/atom 0))
;;task 2 temperature converter
(def celcius (r/atom 0))
(def farenheit (r/atom 32))
;;task 3 flight booker
(def journey-type (r/atom "One Way"))
(def departure (r/atom ""))
(def return (r/atom ""))
(def return-disabled (r/ato... | true | (ns site.state
(:require [reagent.core :as r]))
;;task 1 counter
(def counter (r/atom 0))
;;task 2 temperature converter
(def celcius (r/atom 0))
(def farenheit (r/atom 32))
;;task 3 flight booker
(def journey-type (r/atom "One Way"))
(def departure (r/atom ""))
(def return (r/atom ""))
(def return-disabled (r/ato... |
[
{
"context": "strix-async {:group-key \"goo\"\n ",
"end": 11418,
"score": 0.52008455991745,
"start": 11415,
"tag": "KEY",
"value": "goo"
},
{
"context": " :command-key \"goo\"\n... | test/bulwark/core_test.clj | NNcrawler/bulwark | 0 | (ns bulwark.core-test
(:require [clojure.test :refer :all]
[bulwark.core :as bulwark]
[clojure.stacktrace :as stacktrace])
(:import (com.netflix.hystrix.exception HystrixRuntimeException)))
(defmacro catch-and-return
[& body]
`(try
~@body
(catch Exception e#
e#)))
(def... | 114534 | (ns bulwark.core-test
(:require [clojure.test :refer :all]
[bulwark.core :as bulwark]
[clojure.stacktrace :as stacktrace])
(:import (com.netflix.hystrix.exception HystrixRuntimeException)))
(defmacro catch-and-return
[& body]
`(try
~@body
(catch Exception e#
e#)))
(def... | true | (ns bulwark.core-test
(:require [clojure.test :refer :all]
[bulwark.core :as bulwark]
[clojure.stacktrace :as stacktrace])
(:import (com.netflix.hystrix.exception HystrixRuntimeException)))
(defmacro catch-and-return
[& body]
`(try
~@body
(catch Exception e#
e#)))
(def... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.