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": "; Copyright (c) Rich Hickey. All rights reserved.\n; The use and distributio",
"end": 29,
"score": 0.9998729228973389,
"start": 18,
"tag": "NAME",
"value": "Rich Hickey"
},
{
"context": "tice, or any other, from this software.\n\n; Author: Frantisek Sodomka\n\n(ns c... | ThirdParty/clojure-1.1.0/test/clojure/test_clojure/ns_libs.clj | allertonm/Couverjure | 3 | ; 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 ... | 65953 | ; 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": " avatar\n :name name\n :access-token token\n ",
"end": 2004,
"score": 0.9951139092445374,
"start": 2000,
"tag": "NAME",
"value": "name"
}
] | src/twitter/status.clj | thierrymarianne/devobs-worker | 0 | (ns twitter.status
(:require [clojure.data.json :as json]
[clj-time.format :as f]
[clj-time.coerce :as c]
[clojure.tools.logging :as log])
(:use [korma.db]
[repository.entity-manager]
[repository.publishers-list]
[repository.member]
[repository.sta... | 100080 | (ns twitter.status
(:require [clojure.data.json :as json]
[clj-time.format :as f]
[clj-time.coerce :as c]
[clojure.tools.logging :as log])
(:use [korma.db]
[repository.entity-manager]
[repository.publishers-list]
[repository.member]
[repository.sta... | true | (ns twitter.status
(:require [clojure.data.json :as json]
[clj-time.format :as f]
[clj-time.coerce :as c]
[clojure.tools.logging :as log])
(:use [korma.db]
[repository.entity-manager]
[repository.publishers-list]
[repository.member]
[repository.sta... |
[
{
"context": "; Copyright (c) Rich Hickey. All rights reserved.\n; The use and distributio",
"end": 29,
"score": 0.999889612197876,
"start": 18,
"tag": "NAME",
"value": "Rich Hickey"
},
{
"context": "s notice, or any other, from this software.\n\n;; by Timothy Baldridge\n;; April... | server/target/clojure/core/async/impl/ioc_macros.clj | OctavioBR/healthcheck | 0 | ; Copyright (c) Rich Hickey. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
; which can be found in the file epl-v10.html at the root of this distribution.
; By using this software in any ... | 40878 | ; 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": " [:h1 {:style \"margin: auto;\"} \"Trwa uruchamianie Smyrny, proszę czekać...\"]]]\n (include-js \"js/app.js",
"end": 1411,
"score": 0.9916498064994812,
"start": 1405,
"tag": "NAME",
"value": "Smyrny"
}
] | src/clj/smyrna/handler.clj | nathell/smyrna | 4 | (ns smyrna.handler
(:require [hiccup.page :refer [include-js include-css html5]]
[hiccup.core :refer [html]]
[smyrna.middleware :refer [wrap-middleware]]
[smyrna.build :as build]
[smyrna.corpus :as corpus]
[smyrna.search :as search]
[smyrna.task ... | 4051 | (ns smyrna.handler
(:require [hiccup.page :refer [include-js include-css html5]]
[hiccup.core :refer [html]]
[smyrna.middleware :refer [wrap-middleware]]
[smyrna.build :as build]
[smyrna.corpus :as corpus]
[smyrna.search :as search]
[smyrna.task ... | true | (ns smyrna.handler
(:require [hiccup.page :refer [include-js include-css html5]]
[hiccup.core :refer [html]]
[smyrna.middleware :refer [wrap-middleware]]
[smyrna.build :as build]
[smyrna.corpus :as corpus]
[smyrna.search :as search]
[smyrna.task ... |
[
{
"context": "e monitor (Object.))\n(def ^:private location-key \"webdriver.chrome.driver\")\n(def ^:private temp-dir (System/getProperty \"ja",
"end": 325,
"score": 0.9982517957687378,
"start": 302,
"tag": "KEY",
"value": "webdriver.chrome.driver"
}
] | src/chrome_driver_clj/core.clj | olecve/chrome-driver-clj | 0 | (ns chrome-driver-clj.core
(:require [clojure.java.io :as io]
[clojure.string :refer [includes? lower-case]]
[taoensso.timbre :refer [info]])
(:import (java.io File)
(java.util.zip ZipInputStream)))
(def ^:private monitor (Object.))
(def ^:private location-key "webdriver.chrome.d... | 109659 | (ns chrome-driver-clj.core
(:require [clojure.java.io :as io]
[clojure.string :refer [includes? lower-case]]
[taoensso.timbre :refer [info]])
(:import (java.io File)
(java.util.zip ZipInputStream)))
(def ^:private monitor (Object.))
(def ^:private location-key "<KEY>")
(def ^:pri... | true | (ns chrome-driver-clj.core
(:require [clojure.java.io :as io]
[clojure.string :refer [includes? lower-case]]
[taoensso.timbre :refer [info]])
(:import (java.io File)
(java.util.zip ZipInputStream)))
(def ^:private monitor (Object.))
(def ^:private location-key "PI:KEY:<KEY>END_PI... |
[
{
"context": "(defproject mqtt-kat \"0.0.1\"\n :author \"Thomas van der Veen\"\n :description \"High-performance event-driven MQ",
"end": 59,
"score": 0.9998693466186523,
"start": 40,
"tag": "NAME",
"value": "Thomas van der Veen"
}
] | project.clj | thomas-shares/mqtt-kat | 3 | (defproject mqtt-kat "0.0.1"
:author "Thomas van der Veen"
:description "High-performance event-driven MQTT broker for Clojure"
:license {:name "Apache License, Version 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0.html"
:distribution :repo}
:min-lein-version "2.8.1"
:global-va... | 17358 | (defproject mqtt-kat "0.0.1"
:author "<NAME>"
:description "High-performance event-driven MQTT broker for Clojure"
:license {:name "Apache License, Version 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0.html"
:distribution :repo}
:min-lein-version "2.8.1"
:global-vars {*warn-on-... | true | (defproject mqtt-kat "0.0.1"
:author "PI:NAME:<NAME>END_PI"
:description "High-performance event-driven MQTT broker for Clojure"
:license {:name "Apache License, Version 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0.html"
:distribution :repo}
:min-lein-version "2.8.1"
:global-v... |
[
{
"context": ";; Copyright (c) Vital Labs, Inc. All rights reserved. The use and\n;; distri",
"end": 27,
"score": 0.9912054538726807,
"start": 17,
"tag": "NAME",
"value": "Vital Labs"
}
] | src/clojurecast/lang/interfaces.clj | VitalLabs/clojurecast | 0 | ;; Copyright (c) Vital Labs, Inc. All rights reserved. The use and
;; distribution terms for this software are covered by the MIT
;; License (https://opensource.org/licenses/MIT) which can be found
;; in the file LICENSE at the root of this distribution.
;; By using this software in any fashion, you are agreeing to be... | 63026 | ;; Copyright (c) <NAME>, Inc. All rights reserved. The use and
;; distribution terms for this software are covered by the MIT
;; License (https://opensource.org/licenses/MIT) which can be found
;; in the file LICENSE at the root of this distribution.
;; By using this software in any fashion, you are agreeing to be
;; ... | true | ;; Copyright (c) PI:NAME:<NAME>END_PI, Inc. All rights reserved. The use and
;; distribution terms for this software are covered by the MIT
;; License (https://opensource.org/licenses/MIT) which can be found
;; in the file LICENSE at the root of this distribution.
;; By using this software in any fashion, you are agre... |
[
{
"context": ";;;; Copyright 2016 Peter Stephens. All Rights Reserved.\r\n;;;;\r\n;;;; Licensed unde",
"end": 36,
"score": 0.9996881484985352,
"start": 22,
"tag": "NAME",
"value": "Peter Stephens"
}
] | src/bible/core.cljs | pstephens/kingjames.bible | 23 | ;;;; Copyright 2016 Peter Stephens. 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
... | 67651 | ;;;; Copyright 2016 <NAME>. 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
;;;;
;;... | true | ;;;; Copyright 2016 PI:NAME:<NAME>END_PI. 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... |
[
{
"context": "; Copyright (c) 2011-2013, Tom Van Cutsem, Vrije Universiteit Brussel\n; All rights reserved",
"end": 41,
"score": 0.9998571872711182,
"start": 27,
"tag": "NAME",
"value": "Tom Van Cutsem"
},
{
"context": "Clojure\n;; Multicore Programming\n;; (c) 2011-2013, Tom Van Cut... | test/barging.clj | tvcutsem/stm-in-clojure | 33 | ; Copyright (c) 2011-2013, Tom Van Cutsem, Vrije Universiteit Brussel
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
; * Redistributions of source code must retain the above copyright
; n... | 112946 | ; Copyright (c) 2011-2013, <NAME>, Vrije Universiteit Brussel
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
; * Redistributions of source code must retain the above copyright
; notice, t... | true | ; Copyright (c) 2011-2013, PI:NAME:<NAME>END_PI, Vrije Universiteit Brussel
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
; * Redistributions of source code must retain the above copyright
; ... |
[
{
"context": "! *unchecked-math* :warn-on-boxed)\n(ns ^{:author \"wahpenayo at gmail dot com\"\n :since \"2017-11-09\"\n ",
"end": 96,
"score": 0.6401655673980713,
"start": 87,
"tag": "EMAIL",
"value": "wahpenayo"
},
{
"context": "ath* :warn-on-boxed)\n(ns ^{:author \"wahpen... | src/test/clojure/taiga/test/measure/data/quartiles.clj | wahpenayo/taiga | 4 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "wahpenayo at gmail dot com"
:since "2017-11-09"
:date "2017-11-09"
:doc "Quantile record classes, to hold predicted values
for testing." }
taiga.test.measure.data.quartiles
(:require [zana... | 8270 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "<EMAIL> at g<EMAIL> dot <EMAIL>"
:since "2017-11-09"
:date "2017-11-09"
:doc "Quantile record classes, to hold predicted values
for testing." }
taiga.test.measure.data.quartiles
(:require ... | true | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "PI:EMAIL:<EMAIL>END_PI at gPI:EMAIL:<EMAIL>END_PI dot PI:EMAIL:<EMAIL>END_PI"
:since "2017-11-09"
:date "2017-11-09"
:doc "Quantile record classes, to hold predicted values
for testing." }
taig... |
[
{
"context": "))))))\n\n(def restaurant-to-update {:id 323 :name \"Burger King\" :tags [\"fast food\"]})\n(def restaurant-in-db {:id",
"end": 4006,
"score": 0.9974219799041748,
"start": 3995,
"tag": "NAME",
"value": "Burger King"
},
{
"context": "st food\"]})\n(def restaurant-in-db {... | test/foodship_restaurant/domain/controller_test.clj | eronalves/foodship-restaurant | 5 | (ns foodship-restaurant.domain.controller-test
(:require
[clojure.test :refer :all]
[bond.james :as bond :refer [with-stub!]]
[foodship-restaurant.component-fixture :refer [setup-custom-with-lifecycle component]]
[foodship-restaurant.adapters.db-adapter :as db-adapter]
[foodship-restaurant.domain.... | 78290 | (ns foodship-restaurant.domain.controller-test
(:require
[clojure.test :refer :all]
[bond.james :as bond :refer [with-stub!]]
[foodship-restaurant.component-fixture :refer [setup-custom-with-lifecycle component]]
[foodship-restaurant.adapters.db-adapter :as db-adapter]
[foodship-restaurant.domain.... | true | (ns foodship-restaurant.domain.controller-test
(:require
[clojure.test :refer :all]
[bond.james :as bond :refer [with-stub!]]
[foodship-restaurant.component-fixture :refer [setup-custom-with-lifecycle component]]
[foodship-restaurant.adapters.db-adapter :as db-adapter]
[foodship-restaurant.domain.... |
[
{
"context": "; Copyright (c) Anna Shchiptsova, IIASA. All rights reserved.\r\n; The use and dis",
"end": 34,
"score": 0.9998924136161804,
"start": 18,
"tag": "NAME",
"value": "Anna Shchiptsova"
},
{
"context": " \"Wraps writing of file content.\"\r\n :author \"Anna Shchipts... | src/utilities_clj/writer.clj | shchipts/utilities-clj | 0 | ; Copyright (c) Anna Shchiptsova, IIASA. All rights reserved.
; The use and distribution terms for this software are covered by the
; MIT License (http://opensource.org/licenses/MIT)
; which can be found in the file LICENSE at the root of this distribution.
; By using this software in any fashion, you are... | 30664 | ; Copyright (c) <NAME>, IIASA. All rights reserved.
; The use and distribution terms for this software are covered by the
; MIT License (http://opensource.org/licenses/MIT)
; which can be found in the file LICENSE at the root of this distribution.
; By using this software in any fashion, you are agreeing ... | true | ; Copyright (c) PI:NAME:<NAME>END_PI, IIASA. All rights reserved.
; The use and distribution terms for this software are covered by the
; MIT License (http://opensource.org/licenses/MIT)
; which can be found in the file LICENSE at the root of this distribution.
; By using this software in any fashion, you... |
[
{
"context": "ord string?]]]])\n\n\n(def FakeUser\n {:firstname \"john\"\n :lastname \"doe\"\n :email \"john@doe.",
"end": 841,
"score": 0.998289167881012,
"start": 837,
"tag": "NAME",
"value": "john"
},
{
"context": " FakeUser\n {:firstname \"john\"\n :lastname ... | src/test/clojure/secret/keeper/malli_test.cljc | sultanov-team/secret-keeper | 24 | (ns secret.keeper.malli-test
(:require
#?(:clj [clojure.test :refer [deftest testing is]]
:cljs [cljs.test :refer [deftest testing is]])
[malli.core :as m]
[secret.keeper :as keeper]
[secret.keeper.malli :as sut]))
(def Transformer
(sut/transformer
{:key :category ; by default ::ke... | 107669 | (ns secret.keeper.malli-test
(:require
#?(:clj [clojure.test :refer [deftest testing is]]
:cljs [cljs.test :refer [deftest testing is]])
[malli.core :as m]
[secret.keeper :as keeper]
[secret.keeper.malli :as sut]))
(def Transformer
(sut/transformer
{:key :category ; by default ::ke... | true | (ns secret.keeper.malli-test
(:require
#?(:clj [clojure.test :refer [deftest testing is]]
:cljs [cljs.test :refer [deftest testing is]])
[malli.core :as m]
[secret.keeper :as keeper]
[secret.keeper.malli :as sut]))
(def Transformer
(sut/transformer
{:key :category ; by default ::ke... |
[
{
"context": "g developed for the CLASS Project\n;;\n;; Copyright: Roi Sucasas Font, Atos Research and Innovation, 2018.\n;;\n;; This c",
"end": 167,
"score": 0.999793291091919,
"start": 151,
"tag": "NAME",
"value": "Roi Sucasas Font"
},
{
"context": "6.1\"] ; ... | clojure old project/project.clj | class-rotterdam/Rotterdam | 0 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; This code is being developed for the CLASS Project
;;
;; Copyright: Roi Sucasas Font, Atos Research and Innovation, 2018.
;;
;; This code is licensed under an Apache 2.0 license. Please, refer to the
;; LICENSE.TXT file for more informat... | 13927 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; This code is being developed for the CLASS Project
;;
;; Copyright: <NAME>, Atos Research and Innovation, 2018.
;;
;; This code is licensed under an Apache 2.0 license. Please, refer to the
;; LICENSE.TXT file for more information
;;;;;;... | true | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; This code is being developed for the CLASS Project
;;
;; Copyright: PI:NAME:<NAME>END_PI, Atos Research and Innovation, 2018.
;;
;; This code is licensed under an Apache 2.0 license. Please, refer to the
;; LICENSE.TXT file for more info... |
[
{
"context": " target nil))}]})\n\n;; Card definitions\n\n(defcard \"Account Siphon\"\n {:makes-run true\n :on-play {:req (req",
"end": 986,
"score": 0.9668552279472351,
"start": 979,
"tag": "NAME",
"value": "Account"
},
{
"context": " nil))}]})\n\n;; Card definitions\n\n(defcard ... | src/clj/game/cards/events.clj | jove-m/netrunner | 0 | (ns game.cards.events
(:require [game.core :refer :all]
[game.utils :refer :all]
[jinteki.utils :refer :all]
[clojure.string :as string]))
(defn- cutlery
[subtype]
{:makes-run true
:on-play {:async true
:prompt "Choose a server:"
:choices (req runn... | 85482 | (ns game.cards.events
(:require [game.core :refer :all]
[game.utils :refer :all]
[jinteki.utils :refer :all]
[clojure.string :as string]))
(defn- cutlery
[subtype]
{:makes-run true
:on-play {:async true
:prompt "Choose a server:"
:choices (req runn... | true | (ns game.cards.events
(:require [game.core :refer :all]
[game.utils :refer :all]
[jinteki.utils :refer :all]
[clojure.string :as string]))
(defn- cutlery
[subtype]
{:makes-run true
:on-play {:async true
:prompt "Choose a server:"
:choices (req runn... |
[
{
"context": ";; Copyright © 2015-2021 Esko Luontola\n;; This software is released under the Apache Lic",
"end": 38,
"score": 0.9998803734779358,
"start": 25,
"tag": "NAME",
"value": "Esko Luontola"
}
] | test/territory_bro/infra/db_test.clj | 3breadt/territory-bro | 2 | ;; Copyright © 2015-2021 Esko Luontola
;; This software is released under the Apache License 2.0.
;; The license text is at http://www.apache.org/licenses/LICENSE-2.0
(ns ^:slow territory-bro.infra.db-test
(:require [clojure.java.jdbc :as jdbc]
[clojure.test :refer :all]
[territory-bro.infra.... | 15662 | ;; Copyright © 2015-2021 <NAME>
;; This software is released under the Apache License 2.0.
;; The license text is at http://www.apache.org/licenses/LICENSE-2.0
(ns ^:slow territory-bro.infra.db-test
(:require [clojure.java.jdbc :as jdbc]
[clojure.test :refer :all]
[territory-bro.infra.db :as ... | true | ;; Copyright © 2015-2021 PI:NAME:<NAME>END_PI
;; This software is released under the Apache License 2.0.
;; The license text is at http://www.apache.org/licenses/LICENSE-2.0
(ns ^:slow territory-bro.infra.db-test
(:require [clojure.java.jdbc :as jdbc]
[clojure.test :refer :all]
[territory-bro... |
[
{
"context": " Instant)))\n\n(def API_KEY \"key\")\n(def API_SECRET \"secret\")\n\n(deftest test-payload\n (with-redefs [exp/now ",
"end": 325,
"score": 0.975862979888916,
"start": 319,
"tag": "KEY",
"value": "secret"
}
] | test/exoscale/compute/api/payload_test.clj | exoscale/clojure-exoscale | 2 | (ns exoscale.compute.api.payload-test
(:require [exoscale.compute.api.payload :refer [build-payload transform-maps]]
[exoscale.compute.api.expiry :as exp]
[clojure.test :refer :all]
[exoscale.cloak :as cloak])
(:import (java.time Instant)))
(def API_KEY "key")
(def API_SECRET "s... | 25222 | (ns exoscale.compute.api.payload-test
(:require [exoscale.compute.api.payload :refer [build-payload transform-maps]]
[exoscale.compute.api.expiry :as exp]
[clojure.test :refer :all]
[exoscale.cloak :as cloak])
(:import (java.time Instant)))
(def API_KEY "key")
(def API_SECRET "<... | true | (ns exoscale.compute.api.payload-test
(:require [exoscale.compute.api.payload :refer [build-payload transform-maps]]
[exoscale.compute.api.expiry :as exp]
[clojure.test :refer :all]
[exoscale.cloak :as cloak])
(:import (java.time Instant)))
(def API_KEY "key")
(def API_SECRET "P... |
[
{
"context": "js [middleware.utils.fs.node :as node])))\n\n; NOTE(Richo): https://stackoverflow.com/a/30781278\n(defn test",
"end": 473,
"score": 0.9406607151031494,
"start": 468,
"tag": "NAME",
"value": "Richo"
}
] | middleware/server/test/utils/tests.cljc | GIRA/UziScript | 15 | (ns utils.tests
(:require [clojure.core.async :as a]
[clojure.string :as str]
#?(:clj [clojure.test :refer [*testing-vars*]]
:cljs [cljs.test :refer [get-current-env] :refer-macros [async]])
[middleware.utils.fs.common :as fs]
#?(:clj [middleware.utils.f... | 8070 | (ns utils.tests
(:require [clojure.core.async :as a]
[clojure.string :as str]
#?(:clj [clojure.test :refer [*testing-vars*]]
:cljs [cljs.test :refer [get-current-env] :refer-macros [async]])
[middleware.utils.fs.common :as fs]
#?(:clj [middleware.utils.f... | true | (ns utils.tests
(:require [clojure.core.async :as a]
[clojure.string :as str]
#?(:clj [clojure.test :refer [*testing-vars*]]
:cljs [cljs.test :refer [get-current-env] :refer-macros [async]])
[middleware.utils.fs.common :as fs]
#?(:clj [middleware.utils.f... |
[
{
"context": "outes.clj for the valid routes.\"]\n\t [:h3 \"Author: Stefan Roock, EMail: stefan.roock@it-agile.de, Twitter: Stefan",
"end": 478,
"score": 0.9998528361320496,
"start": 466,
"tag": "NAME",
"value": "Stefan Roock"
},
{
"context": "id routes.\"]\n\t [:h3 \"Author: Stefa... | src/samplewebapp/actions.clj | stefanroock/Clojure-Webapp-Example | 1 | (ns samplewebapp.actions
(:use hiccup.core)
(:use hiccup.form-helpers))
; Hiccup does the HTML generation part
(defn layout [title & body]
(html
[:head [:title title]]
[:body [:h1.header title] body]))
(defn welcome-page []
(layout "Welcome to Clojure Sample Webapp"
[:p "The webapp shows how to... | 35778 | (ns samplewebapp.actions
(:use hiccup.core)
(:use hiccup.form-helpers))
; Hiccup does the HTML generation part
(defn layout [title & body]
(html
[:head [:title title]]
[:body [:h1.header title] body]))
(defn welcome-page []
(layout "Welcome to Clojure Sample Webapp"
[:p "The webapp shows how to... | true | (ns samplewebapp.actions
(:use hiccup.core)
(:use hiccup.form-helpers))
; Hiccup does the HTML generation part
(defn layout [title & body]
(html
[:head [:title title]]
[:body [:h1.header title] body]))
(defn welcome-page []
(layout "Welcome to Clojure Sample Webapp"
[:p "The webapp shows how to... |
[
{
"context": " :mail-from \"rems@rems.rems\")\n postal.core/send-message (f",
"end": 670,
"score": 0.8067947030067444,
"start": 658,
"tag": "EMAIL",
"value": "rems@rems.re"
},
{
"context": " rems.db.users/get-user (constantly... | test/clj/rems/email/test_core.clj | juholehtonen/rems | 0 | (ns rems.email.test-core
(:require [clojure.test :refer :all]
[mount.core :as mount]
[rems.config]
[rems.email.core :refer [send-email!]]))
(use-fixtures
:once
(fn [f]
(mount/start #'rems.config/env)
(f)
(mount/stop)))
(deftest test-send-email!
;; Just for a bit... | 87837 | (ns rems.email.test-core
(:require [clojure.test :refer :all]
[mount.core :as mount]
[rems.config]
[rems.email.core :refer [send-email!]]))
(use-fixtures
:once
(fn [f]
(mount/start #'rems.config/env)
(f)
(mount/stop)))
(deftest test-send-email!
;; Just for a bit... | true | (ns rems.email.test-core
(:require [clojure.test :refer :all]
[mount.core :as mount]
[rems.config]
[rems.email.core :refer [send-email!]]))
(use-fixtures
:once
(fn [f]
(mount/start #'rems.config/env)
(f)
(mount/stop)))
(deftest test-send-email!
;; Just for a bit... |
[
{
"context": "(ns\n ^{:author \"Zach Tellman\"\n :doc \"Methods for creating, transforming, an",
"end": 29,
"score": 0.9998086094856262,
"start": 17,
"tag": "NAME",
"value": "Zach Tellman"
}
] | src/manifold/stream.clj | LuisThiamNye/manifold | 0 | (ns
^{:author "Zach Tellman"
:doc "Methods for creating, transforming, and interacting with asynchronous streams of values."}
manifold.stream
(:refer-clojure
:exclude [map filter mapcat reductions reduce concat])
(:require
[clojure.core :as clj]
[manifold.deferred :as d]
[manifold.utils :as ... | 122781 | (ns
^{:author "<NAME>"
:doc "Methods for creating, transforming, and interacting with asynchronous streams of values."}
manifold.stream
(:refer-clojure
:exclude [map filter mapcat reductions reduce concat])
(:require
[clojure.core :as clj]
[manifold.deferred :as d]
[manifold.utils :as utils ... | true | (ns
^{:author "PI:NAME:<NAME>END_PI"
:doc "Methods for creating, transforming, and interacting with asynchronous streams of values."}
manifold.stream
(:refer-clojure
:exclude [map filter mapcat reductions reduce concat])
(:require
[clojure.core :as clj]
[manifold.deferred :as d]
[manifold.ut... |
[
{
"context": "%) basic-kinds )))\n\n(add-patient :pat1 \"London\" [\"fever\" \"cough\"] )\n(add-patient :pat2 \"London\" [\"fever\" ",
"end": 1830,
"score": 0.999826192855835,
"start": 1825,
"tag": "NAME",
"value": "fever"
},
{
"context": "-kinds )))\n\n(add-patient :pat1 \"London\" ... | functionalDB/src/scenarios/hospital.clj | chopptimus/500lines | 84 | (ns scenarios.hospital
(:use [fdb core constructs graph] )
[:require [fdb.manage :as M]
[clojure.set :as CS :only (union difference )]])
(def db-name "hos12")
(M/drop-db-conn db-name)
(def hospital-db (M/get-db-conn db-name))
(def basic-kinds [:test/bp-systolic :test/bp-diastolic :test/temperatur... | 83123 | (ns scenarios.hospital
(:use [fdb core constructs graph] )
[:require [fdb.manage :as M]
[clojure.set :as CS :only (union difference )]])
(def db-name "hos12")
(M/drop-db-conn db-name)
(def hospital-db (M/get-db-conn db-name))
(def basic-kinds [:test/bp-systolic :test/bp-diastolic :test/temperatur... | true | (ns scenarios.hospital
(:use [fdb core constructs graph] )
[:require [fdb.manage :as M]
[clojure.set :as CS :only (union difference )]])
(def db-name "hos12")
(M/drop-db-conn db-name)
(def hospital-db (M/get-db-conn db-name))
(def basic-kinds [:test/bp-systolic :test/bp-diastolic :test/temperatur... |
[
{
"context": "regexps))]\n (case dist\n \"\" 0\n \"kilsa\" 1000\n \"maraton\" 42195\n \"mara\" 4219",
"end": 3564,
"score": 0.9864576458930969,
"start": 3559,
"tag": "NAME",
"value": "kilsa"
},
{
"context": "e dist\n \"\" 0\n \"kilsa\" 1... | s3/src/s3/parser.clj | jrosti/ontrail | 1 | (ns s3.parser
(:use [s3 formats log])
(:require
[clj-time.format :as format]
[clojure.string :as string]
[clj-time.core :as time]))
(use-logging)
(def multi-parser (format/formatter (time/default-time-zone)
"dd.MM.yyyy"
... | 29845 | (ns s3.parser
(:use [s3 formats log])
(:require
[clj-time.format :as format]
[clojure.string :as string]
[clj-time.core :as time]))
(use-logging)
(def multi-parser (format/formatter (time/default-time-zone)
"dd.MM.yyyy"
... | true | (ns s3.parser
(:use [s3 formats log])
(:require
[clj-time.format :as format]
[clojure.string :as string]
[clj-time.core :as time]))
(use-logging)
(def multi-parser (format/formatter (time/default-time-zone)
"dd.MM.yyyy"
... |
[
{
"context": "low methods 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": 301,
"score": 0.9865183234214783,
"start": 265,
"tag": "EMAIL",
"value": "palisades dot lakes at gmail dot com"
}
] | src/scripts/clojure/palisades/lakes/elements/scripts/numbers/sum/slow.clj | palisades-lakes/les-elemens | 0 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns palisades.lakes.elements.scripts.numbers.sum.slow
"Benchmarks for slow methods for sums of double[]."
{:author "palisades dot lakes at gmail dot com"
:since "2017-0... | 88090 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns palisades.lakes.elements.scripts.numbers.sum.slow
"Benchmarks for slow methods for sums of double[]."
{:author "<EMAIL>"
:since "2017-04-06"
:version "2017-05-29... | true | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns palisades.lakes.elements.scripts.numbers.sum.slow
"Benchmarks for slow methods for sums of double[]."
{:author "PI:EMAIL:<EMAIL>END_PI"
:since "2017-04-06"
:vers... |
[
{
"context": "(ns ^{:author \"James McClain <jwm@daystrom-data-concepts.com>\"}\n sr33.kdtree)",
"end": 28,
"score": 0.9998365640640259,
"start": 15,
"tag": "NAME",
"value": "James McClain"
},
{
"context": "(ns ^{:author \"James McClain <jwm@daystrom-data-concepts.com>\"}\n sr33.kd... | src/sr33/kdtree.clj | jamesmcclain/sr33 | 1 | (ns ^{:author "James McClain <jwm@daystrom-data-concepts.com>"}
sr33.kdtree)
(set! *warn-on-reflection* true)
(set! *unchecked-math* true)
;; Euclidean distance.
(defn distance [xyz abc]
(letfn [(square [^double x] (double (* x x)))]
(Math/sqrt (reduce + (map (comp square -) xyz abc)))))
;; Sub-query on a le... | 98230 | (ns ^{:author "<NAME> <<EMAIL>>"}
sr33.kdtree)
(set! *warn-on-reflection* true)
(set! *unchecked-math* true)
;; Euclidean distance.
(defn distance [xyz abc]
(letfn [(square [^double x] (double (* x x)))]
(Math/sqrt (reduce + (map (comp square -) xyz abc)))))
;; Sub-query on a leaf of a KD-tree.
(defn- kdtree... | true | (ns ^{:author "PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>"}
sr33.kdtree)
(set! *warn-on-reflection* true)
(set! *unchecked-math* true)
;; Euclidean distance.
(defn distance [xyz abc]
(letfn [(square [^double x] (double (* x x)))]
(Math/sqrt (reduce + (map (comp square -) xyz abc)))))
;; Sub-query on a lea... |
[
{
"context": "esource\n freesound.org\"\n :author \"Sam Aaron, Kevin Neaton\"}\n overtone.samples.freesound\n ",
"end": 134,
"score": 0.9998664259910583,
"start": 125,
"tag": "NAME",
"value": "Sam Aaron"
},
{
"context": " freesound.org\"\n :author \"... | src/overtone/samples/freesound.clj | egoist999p/overtone | 3,870 | (ns ^{:doc "An API for interacting with the awesome free online sample resource
freesound.org"
:author "Sam Aaron, Kevin Neaton"}
overtone.samples.freesound
(:use [overtone.samples.freesound.url]
[overtone.samples.freesound.search-results]
[overtone.sc.node])
(:require [cloj... | 63172 | (ns ^{:doc "An API for interacting with the awesome free online sample resource
freesound.org"
:author "<NAME>, <NAME>"}
overtone.samples.freesound
(:use [overtone.samples.freesound.url]
[overtone.samples.freesound.search-results]
[overtone.sc.node])
(:require [clojure.data.... | true | (ns ^{:doc "An API for interacting with the awesome free online sample resource
freesound.org"
:author "PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI"}
overtone.samples.freesound
(:use [overtone.samples.freesound.url]
[overtone.samples.freesound.search-results]
[overtone.sc.node]... |
[
{
"context": ";; Copyright 2014-2020 King\n;; Copyright 2009-2014 Ragnar Svensson, Christian Murray\n;; Licensed under the Defold Li",
"end": 111,
"score": 0.99981689453125,
"start": 96,
"tag": "NAME",
"value": "Ragnar Svensson"
},
{
"context": "-2020 King\n;; Copyright 2009-2014 Rag... | editor/src/clj/editor/script_api.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... | 23235 | ;; Copyright 2020-2022 The Defold Foundation
;; Copyright 2014-2020 King
;; Copyright 2009-2014 <NAME>, <NAME>
;; Licensed under the Defold License version 1.0 (the "License"); you may not use
;; this file except in compliance with the License.
;;
;; You may obtain a copy of the License, together with FAQs at
;; https... | true | ;; Copyright 2020-2022 The Defold Foundation
;; Copyright 2014-2020 King
;; Copyright 2009-2014 PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI
;; Licensed under the Defold License version 1.0 (the "License"); you may not use
;; this file except in compliance with the License.
;;
;; You may obtain a copy of the License, to... |
[
{
"context": "; Copyright (c) 2017-present Walmart, Inc.\n;\n; Licensed under the Apache License",
"end": 30,
"score": 0.560901939868927,
"start": 29,
"tag": "NAME",
"value": "W"
}
] | test/com/walmartlabs/lacinia/wrapped_values_in_lists_tests.clj | hagenek/lacinia | 1,762 | ; Copyright (c) 2017-present Walmart, Inc.
;
; Licensed under the Apache License, Version 2.0 (the "License")
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to... | 109183 | ; Copyright (c) 2017-present <NAME>almart, Inc.
;
; Licensed under the Apache License, Version 2.0 (the "License")
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agre... | true | ; Copyright (c) 2017-present PI:NAME:<NAME>END_PIalmart, Inc.
;
; Licensed under the Apache License, Version 2.0 (the "License")
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicab... |
[
{
"context": "ating colour swatches\"\n :url \"https://github.com/rm-hull/corewar\"\n :license {\n :name \"The MIT License ",
"end": 163,
"score": 0.9988507628440857,
"start": 156,
"tag": "USERNAME",
"value": "rm-hull"
},
{
"context": "m-hull/cljs-test \"0.0.8-SNAPSHOT\"]]\n :s... | project.clj | rm-hull/corewar | 7 | (defproject rm-hull/corewar "0.0.1-SNAPSHOT"
:description "A small Clojure/ClojureScript library for creating colour swatches"
:url "https://github.com/rm-hull/corewar"
:license {
:name "The MIT License (MIT)"
:url "http://opensource.org/licenses/MIT"}
:dependencies [
[org.clojure/clojure "1.6.0"]
... | 43291 | (defproject rm-hull/corewar "0.0.1-SNAPSHOT"
:description "A small Clojure/ClojureScript library for creating colour swatches"
:url "https://github.com/rm-hull/corewar"
:license {
:name "The MIT License (MIT)"
:url "http://opensource.org/licenses/MIT"}
:dependencies [
[org.clojure/clojure "1.6.0"]
... | true | (defproject rm-hull/corewar "0.0.1-SNAPSHOT"
:description "A small Clojure/ClojureScript library for creating colour swatches"
:url "https://github.com/rm-hull/corewar"
:license {
:name "The MIT License (MIT)"
:url "http://opensource.org/licenses/MIT"}
:dependencies [
[org.clojure/clojure "1.6.0"]
... |
[
{
"context": ";\n; Copyright © 2021 Peter Monks\n;\n; Licensed under the Apache License, Version 2.",
"end": 32,
"score": 0.9994940757751465,
"start": 21,
"tag": "NAME",
"value": "Peter Monks"
}
] | src/bot/commands.clj | pmonks/discljord-utils | 1 | ;
; Copyright © 2021 Peter Monks
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writi... | 27359 | ;
; Copyright © 2021 <NAME>
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writing, s... | true | ;
; Copyright © 2021 PI:NAME:<NAME>END_PI
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to... |
[
{
"context": ";; Copyright 2012 Mika Raento (mikie@iki.fi)\n;;\n;; Licensed under The BSD 2-Cla",
"end": 29,
"score": 0.9998741149902344,
"start": 18,
"tag": "NAME",
"value": "Mika Raento"
},
{
"context": ";; Copyright 2012 Mika Raento (mikie@iki.fi)\n;;\n;; Licensed under The BSD 2-... | mkswigfile.clj | mikaraento/mkswigfile | 2 | ;; Copyright 2012 Mika Raento (mikie@iki.fi)
;;
;; Licensed under The BSD 2-Clause License
(ns mkswigfile
"Loading of new swig code into your jvm - like mkoctfile for octave.
The swig code must:
- only declare functions, not classes
- use not-publicly-visible implementations (either
use stati... | 89674 | ;; Copyright 2012 <NAME> (<EMAIL>)
;;
;; Licensed under The BSD 2-Clause License
(ns mkswigfile
"Loading of new swig code into your jvm - like mkoctfile for octave.
The swig code must:
- only declare functions, not classes
- use not-publicly-visible implementations (either
use static or an an... | true | ;; Copyright 2012 PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI)
;;
;; Licensed under The BSD 2-Clause License
(ns mkswigfile
"Loading of new swig code into your jvm - like mkoctfile for octave.
The swig code must:
- only declare functions, not classes
- use not-publicly-visible implementations (eithe... |
[
{
"context": ";; Copyright 2014-2015 Andrey Antukh <niwi@niwi.nz>\n;;\n;; Licensed under the Apache Li",
"end": 36,
"score": 0.9998779296875,
"start": 23,
"tag": "NAME",
"value": "Andrey Antukh"
},
{
"context": ";; Copyright 2014-2015 Andrey Antukh <niwi@niwi.nz>\n;;\n;; Licensed und... | test/buddy/sign/interop_tests.clj | FieryCod/buddy-sign | 0 | ;; Copyright 2014-2015 Andrey Antukh <niwi@niwi.nz>
;;
;; Licensed under the Apache License, Version 2.0 (the "License")
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable... | 19517 | ;; Copyright 2014-2015 <NAME> <<EMAIL>>
;;
;; Licensed under the Apache License, Version 2.0 (the "License")
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agre... | true | ;; Copyright 2014-2015 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
;;
;; Licensed under the Apache License, Version 2.0 (the "License")
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless requi... |
[
{
"context": "\n [:div.logo-name\n [:div.logo-firstname \"Christian\"]\n [:div.logo-lastname \"Johansen\"]]]\n [:u",
"end": 2874,
"score": 0.9997433423995972,
"start": 2865,
"tag": "NAME",
"value": "Christian"
},
{
"context": "firstname \"Christian\"]\n [:div.lo... | ui/src/ui/elements.cljc | cjohansen/cjohansen-no | 4 | (ns ui.elements
(:require [clojure.string :as str]))
(defn el [el params text]
[(get params :element el)
{:className (str (name el)
(when-let [cn (:className params)]
(str " " cn)))} text])
(def h1 (partial el :h1))
(def h2 (partial el :h2))
(def h3 (partial el :h3))
(... | 64147 | (ns ui.elements
(:require [clojure.string :as str]))
(defn el [el params text]
[(get params :element el)
{:className (str (name el)
(when-let [cn (:className params)]
(str " " cn)))} text])
(def h1 (partial el :h1))
(def h2 (partial el :h2))
(def h3 (partial el :h3))
(... | true | (ns ui.elements
(:require [clojure.string :as str]))
(defn el [el params text]
[(get params :element el)
{:className (str (name el)
(when-let [cn (:className params)]
(str " " cn)))} text])
(def h1 (partial el :h1))
(def h2 (partial el :h2))
(def h3 (partial el :h3))
(... |
[
{
"context": "; Copyright (c) 2013-2015 Tim Molderez.\n;\n; All rights reserved. This program and the ac",
"end": 38,
"score": 0.9998350143432617,
"start": 26,
"tag": "NAME",
"value": "Tim Molderez"
}
] | test/inspector_jay/core_test.clj | kawas44/inspector-jay | 69 | ; Copyright (c) 2013-2015 Tim Molderez.
;
; All rights reserved. This program and the accompanying materials
; are made available under the terms of the 3-Clause BSD License
; which accompanies this distribution, and is available at
; http://www.opensource.org/licenses/BSD-3-Clause
(ns inspector-jay.core-test
"Inspe... | 44167 | ; Copyright (c) 2013-2015 <NAME>.
;
; All rights reserved. This program and the accompanying materials
; are made available under the terms of the 3-Clause BSD License
; which accompanies this distribution, and is available at
; http://www.opensource.org/licenses/BSD-3-Clause
(ns inspector-jay.core-test
"Inspector J... | true | ; Copyright (c) 2013-2015 PI:NAME:<NAME>END_PI.
;
; All rights reserved. This program and the accompanying materials
; are made available under the terms of the 3-Clause BSD License
; which accompanies this distribution, and is available at
; http://www.opensource.org/licenses/BSD-3-Clause
(ns inspector-jay.core-test
... |
[
{
"context": "ext\n {:style {:flex 1}}\n [:p \"Welcome to Gainz Goblin!\"]\n [:p \"Click the '+' button below to creat",
"end": 4910,
"score": 0.9996761679649353,
"start": 4898,
"tag": "NAME",
"value": "Gainz Goblin"
}
] | src/cljs/gainz_goblin/views.cljs | chriskiehl/gainz-goblin.com | 0 | (ns gainz-goblin.views
(:require
[re-frame.core :as rf]
[gainz-goblin.subs :as subs]
[gainz-goblin.routes :as routes]
))
(defn current-cycle [{:keys [id percent-completed start-date] :as cycle}]
(when-not (nil? cycle)
[:div.current-cycle-card.mdl-card.mdl-shadow--2dp.card-margin
[:div.mdl-ca... | 67543 | (ns gainz-goblin.views
(:require
[re-frame.core :as rf]
[gainz-goblin.subs :as subs]
[gainz-goblin.routes :as routes]
))
(defn current-cycle [{:keys [id percent-completed start-date] :as cycle}]
(when-not (nil? cycle)
[:div.current-cycle-card.mdl-card.mdl-shadow--2dp.card-margin
[:div.mdl-ca... | true | (ns gainz-goblin.views
(:require
[re-frame.core :as rf]
[gainz-goblin.subs :as subs]
[gainz-goblin.routes :as routes]
))
(defn current-cycle [{:keys [id percent-completed start-date] :as cycle}]
(when-not (nil? cycle)
[:div.current-cycle-card.mdl-card.mdl-shadow--2dp.card-margin
[:div.mdl-ca... |
[
{
"context": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n; Copyright 2015 Xebia B.V.\n;\n; Licensed under the Apache License, Version 2",
"end": 107,
"score": 0.9917764067649841,
"start": 98,
"tag": "NAME",
"value": "Xebia B.V"
}
] | src/main/clojure/com/xebia/visualreview/service/screenshot/persistence.clj | andstepanuk/VisualReview | 290 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright 2015 Xebia B.V.
;
; Licensed under the Apache License, Version 2.0 (the "License")
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses... | 34142 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright 2015 <NAME>.
;
; Licensed under the Apache License, Version 2.0 (the "License")
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LI... | true | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright 2015 PI:NAME:<NAME>END_PI.
;
; Licensed under the Apache License, Version 2.0 (the "License")
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.o... |
[
{
"context": "ling protobuf schemas\"\n :url \"https://github.com/AppsFlyer/lein-protodeps\"\n :license {:name \"Apache License",
"end": 173,
"score": 0.7751777768135071,
"start": 164,
"tag": "USERNAME",
"value": "AppsFlyer"
},
{
"context": "\n ... | project.clj | nenorbot/lein-protodeps | 12 | (defproject com.appsflyer/lein-protodeps "1.0.4-SNAPSHOT"
:description "Leiningen plugin for consuming and compiling protobuf schemas"
:url "https://github.com/AppsFlyer/lein-protodeps"
:license {:name "Apache License, Version 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0.html"}
:eval-in-le... | 103263 | (defproject com.appsflyer/lein-protodeps "1.0.4-SNAPSHOT"
:description "Leiningen plugin for consuming and compiling protobuf schemas"
:url "https://github.com/AppsFlyer/lein-protodeps"
:license {:name "Apache License, Version 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0.html"}
:eval-in-le... | true | (defproject com.appsflyer/lein-protodeps "1.0.4-SNAPSHOT"
:description "Leiningen plugin for consuming and compiling protobuf schemas"
:url "https://github.com/AppsFlyer/lein-protodeps"
:license {:name "Apache License, Version 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0.html"}
:eval-in-le... |
[
{
"context": ";; Copyright (c) Michael Glaesemann\n;; Heavily inspired by congitect.http-client, Cop",
"end": 35,
"score": 0.9998553395271301,
"start": 17,
"tag": "NAME",
"value": "Michael Glaesemann"
}
] | src/com/grzm/aws/http_client/client.clj | borkdude/yaaws-api | 1 | ;; Copyright (c) Michael Glaesemann
;; Heavily inspired by congitect.http-client, Copyright (c) Cognitect, Inc.
;; All rights reserved.
(ns com.grzm.aws.http-client.client)
(defprotocol Client
(-submit [_ request ch]))
(defn submit [client request ch]
(-submit client request ch))
| 73914 | ;; Copyright (c) <NAME>
;; Heavily inspired by congitect.http-client, Copyright (c) Cognitect, Inc.
;; All rights reserved.
(ns com.grzm.aws.http-client.client)
(defprotocol Client
(-submit [_ request ch]))
(defn submit [client request ch]
(-submit client request ch))
| true | ;; Copyright (c) PI:NAME:<NAME>END_PI
;; Heavily inspired by congitect.http-client, Copyright (c) Cognitect, Inc.
;; All rights reserved.
(ns com.grzm.aws.http-client.client)
(defprotocol Client
(-submit [_ request ch]))
(defn submit [client request ch]
(-submit client request ch))
|
[
{
"context": "c \"File system utilities in Clojure\"\n :author \"Miki Tebeka <miki.tebeka@gmail.com>\"}\n (:refer-clojure :excl",
"end": 80,
"score": 0.9998892545700073,
"start": 69,
"tag": "NAME",
"value": "Miki Tebeka"
},
{
"context": "m utilities in Clojure\"\n :author \"Mi... | fs.clj | anhinga/r-to-clojure | 1 | (ns RClj.fs
^{:doc "File system utilities in Clojure"
:author "Miki Tebeka <miki.tebeka@gmail.com>"}
(:refer-clojure :exclude [empty?])
(:require [clojure.contrib.io :as io]
[clojure.contrib.string :as str]
[clojure.zip :as zip])
(:import java.io.File
java.io.FileInputStre... | 4420 | (ns RClj.fs
^{:doc "File system utilities in Clojure"
:author "<NAME> <<EMAIL>>"}
(:refer-clojure :exclude [empty?])
(:require [clojure.contrib.io :as io]
[clojure.contrib.string :as str]
[clojure.zip :as zip])
(:import java.io.File
java.io.FileInputStream
java.... | true | (ns RClj.fs
^{:doc "File system utilities in Clojure"
:author "PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>"}
(:refer-clojure :exclude [empty?])
(:require [clojure.contrib.io :as io]
[clojure.contrib.string :as str]
[clojure.zip :as zip])
(:import java.io.File
java.io.Fil... |
[
{
"context": "(ns\n ^{:author \"Brian Craft\"\n :doc \"Library for reading cgdata and related",
"end": 28,
"score": 0.9998733401298523,
"start": 17,
"tag": "NAME",
"value": "Brian Craft"
}
] | src/cgdata/core.clj | ucscXena/ucsc-xena-server | 8 | (ns
^{:author "Brian Craft"
:doc "Library for reading cgdata and related file formats."}
cgdata.core
(:require [clojure.data.json :as json])
(:require [clojure.string :as s])
(:require [clojure.java.io :as io])
(:require [clojure-csv.core :as csv])
(:require [me.raynes.fs :as fs])
(:require clojure.... | 86893 | (ns
^{:author "<NAME>"
:doc "Library for reading cgdata and related file formats."}
cgdata.core
(:require [clojure.data.json :as json])
(:require [clojure.string :as s])
(:require [clojure.java.io :as io])
(:require [clojure-csv.core :as csv])
(:require [me.raynes.fs :as fs])
(:require clojure.pprin... | true | (ns
^{:author "PI:NAME:<NAME>END_PI"
:doc "Library for reading cgdata and related file formats."}
cgdata.core
(:require [clojure.data.json :as json])
(:require [clojure.string :as s])
(:require [clojure.java.io :as io])
(:require [clojure-csv.core :as csv])
(:require [me.raynes.fs :as fs])
(:require... |
[
{
"context": ";; Copyright © 2015-2020 Esko Luontola\n;; This software is released under the Apache Lic",
"end": 38,
"score": 0.9998877644538879,
"start": 25,
"tag": "NAME",
"value": "Esko Luontola"
}
] | test/territory_bro/commands_test.clj | orfjackal/territory-bro | 2 | ;; Copyright © 2015-2020 Esko Luontola
;; This software is released under the Apache License 2.0.
;; The license text is at http://www.apache.org/licenses/LICENSE-2.0
(ns territory-bro.commands-test
(:require [clojure.test :refer :all]
[schema.core :as s]
[territory-bro.commands :as commands]... | 5053 | ;; Copyright © 2015-2020 <NAME>
;; This software is released under the Apache License 2.0.
;; The license text is at http://www.apache.org/licenses/LICENSE-2.0
(ns territory-bro.commands-test
(:require [clojure.test :refer :all]
[schema.core :as s]
[territory-bro.commands :as commands]
... | true | ;; Copyright © 2015-2020 PI:NAME:<NAME>END_PI
;; This software is released under the Apache License 2.0.
;; The license text is at http://www.apache.org/licenses/LICENSE-2.0
(ns territory-bro.commands-test
(:require [clojure.test :refer :all]
[schema.core :as s]
[territory-bro.commands :as co... |
[
{
"context": "; Copyright (c) 2021 Mikołaj Kuranowski\n; SPDX-License-Identifier: WTFPL\n(ns day9a\n (:re",
"end": 39,
"score": 0.9996258616447449,
"start": 21,
"tag": "NAME",
"value": "Mikołaj Kuranowski"
}
] | src/day09a.clj | MKuranowski/AdventOfCode2020 | 0 | ; Copyright (c) 2021 Mikołaj Kuranowski
; SPDX-License-Identifier: WTFPL
(ns day9a
(:require [core]
[clojure.math.combinatorics :refer [combinations]]))
(defn is-valid? [number summands]
(some (fn [[a b]] (= number (+ a b))) (combinations summands 2)))
(defn enqueue-number [number summands]
(conj (s... | 33192 | ; Copyright (c) 2021 <NAME>
; SPDX-License-Identifier: WTFPL
(ns day9a
(:require [core]
[clojure.math.combinatorics :refer [combinations]]))
(defn is-valid? [number summands]
(some (fn [[a b]] (= number (+ a b))) (combinations summands 2)))
(defn enqueue-number [number summands]
(conj (subvec summan... | true | ; Copyright (c) 2021 PI:NAME:<NAME>END_PI
; SPDX-License-Identifier: WTFPL
(ns day9a
(:require [core]
[clojure.math.combinatorics :refer [combinations]]))
(defn is-valid? [number summands]
(some (fn [[a b]] (= number (+ a b))) (combinations summands 2)))
(defn enqueue-number [number summands]
(conj ... |
[
{
"context": "e (try (valid-input? [{:id 1 :features \"my name is andrew\"} {:id 2 :features \"i like clojure\"}] string?) (c",
"end": 3482,
"score": 0.9833909273147583,
"start": 3476,
"tag": "NAME",
"value": "andrew"
},
{
"context": "false (try (valid-input? [{:id 1 :feat \"my name ... | test/consimilo/lsh_util_test.clj | andrewmcloud/consimilo | 62 | (ns consimilo.lsh-util-test
(:require [clojure.test :refer :all]
[consimilo.lsh-util :refer :all]
[consimilo.lsh-query :refer :all]))
(deftest get-hashranges-test
(testing "all ranges less than k * num trees"
(is (every? #(>= (* 5 8) %) (map #(apply max %) (get-hashranges 5 8)))))
(te... | 108938 | (ns consimilo.lsh-util-test
(:require [clojure.test :refer :all]
[consimilo.lsh-util :refer :all]
[consimilo.lsh-query :refer :all]))
(deftest get-hashranges-test
(testing "all ranges less than k * num trees"
(is (every? #(>= (* 5 8) %) (map #(apply max %) (get-hashranges 5 8)))))
(te... | true | (ns consimilo.lsh-util-test
(:require [clojure.test :refer :all]
[consimilo.lsh-util :refer :all]
[consimilo.lsh-query :refer :all]))
(deftest get-hashranges-test
(testing "all ranges less than k * num trees"
(is (every? #(>= (* 5 8) %) (map #(apply max %) (get-hashranges 5 8)))))
(te... |
[
{
"context": " (str \"users:\" seller-id)\n item-key (format \"%s.%s\" item-id seller-id)\n inventory-key (str \"i",
"end": 2006,
"score": 0.7857796549797058,
"start": 2000,
"tag": "KEY",
"value": "\"%s.%s"
}
] | clojure-lang/src/clojure_lang/chapter06.clj | tanxiazhe/redis-in-action | 2,256 | (ns clojure-lang.chapter06
(:require [taoensso.carmine :as car]
[cheshire.core :as cc]
[clj-time.coerce :as ctc]
[clj-time.core :as ct]
[clojure.string :refer [starts-with?]]
[clojure-lang.util :refer [wcar* server-conn]]))
;;;;;;;;;;;;;;;;;;;;;;
;; 6.1 Au... | 98763 | (ns clojure-lang.chapter06
(:require [taoensso.carmine :as car]
[cheshire.core :as cc]
[clj-time.coerce :as ctc]
[clj-time.core :as ct]
[clojure.string :refer [starts-with?]]
[clojure-lang.util :refer [wcar* server-conn]]))
;;;;;;;;;;;;;;;;;;;;;;
;; 6.1 Au... | true | (ns clojure-lang.chapter06
(:require [taoensso.carmine :as car]
[cheshire.core :as cc]
[clj-time.coerce :as ctc]
[clj-time.core :as ct]
[clojure.string :refer [starts-with?]]
[clojure-lang.util :refer [wcar* server-conn]]))
;;;;;;;;;;;;;;;;;;;;;;
;; 6.1 Au... |
[
{
"context": ".)\n content-ivan {:crux.db/id :ivan :name \"Ivan\"}]\n (t/testing \"put\"\n (let [tx (fix/submi",
"end": 1413,
"score": 0.8515595197677612,
"start": 1409,
"tag": "NAME",
"value": "Ivan"
},
{
"context": "me]])]\n (t/is (= {:crux.db/id :ivan :name \... | crux-test/test/crux/api_test.clj | keytiong/crux | 0 | (ns crux.api-test
(:require [clojure.test :as t]
[crux.api :as api]
[crux.codec :as c]
[crux.db :as db]
[crux.fixtures :as fix :refer [*api*]]
[crux.fixtures.every-api :as every-api :refer [*node-type* *http-server-api*]]
[crux.fixtures.http-serv... | 86705 | (ns crux.api-test
(:require [clojure.test :as t]
[crux.api :as api]
[crux.codec :as c]
[crux.db :as db]
[crux.fixtures :as fix :refer [*api*]]
[crux.fixtures.every-api :as every-api :refer [*node-type* *http-server-api*]]
[crux.fixtures.http-serv... | true | (ns crux.api-test
(:require [clojure.test :as t]
[crux.api :as api]
[crux.codec :as c]
[crux.db :as db]
[crux.fixtures :as fix :refer [*api*]]
[crux.fixtures.every-api :as every-api :refer [*node-type* *http-server-api*]]
[crux.fixtures.http-serv... |
[
{
"context": " 'Judson))\n\n )\n\n(def name-list\n (set (map str '[Sal Julietta Dodie Janina Krista Freeman Angila Cathy",
"end": 56467,
"score": 0.9907975196838379,
"start": 56464,
"tag": "NAME",
"value": "Sal"
},
{
"context": "udson))\n\n )\n\n(def name-list\n (set (map str '[S... | web-dashboard/resources/public/cljs-out/dev/figwheel/repl.cljc | colinlcrawford/home-app | 2 | (ns figwheel.repl
(:require
[clojure.string :as string]
#?@(:cljs [[goog.object :as gobj]
[goog.storage.mechanism.mechanismfactory :as storage-factory]
[goog.Uri :as guri]
[goog.string :as gstring]
[goog.net.jsloader :as loader]
[goog.net.Xhr... | 33877 | (ns figwheel.repl
(:require
[clojure.string :as string]
#?@(:cljs [[goog.object :as gobj]
[goog.storage.mechanism.mechanismfactory :as storage-factory]
[goog.Uri :as guri]
[goog.string :as gstring]
[goog.net.jsloader :as loader]
[goog.net.Xhr... | true | (ns figwheel.repl
(:require
[clojure.string :as string]
#?@(:cljs [[goog.object :as gobj]
[goog.storage.mechanism.mechanismfactory :as storage-factory]
[goog.Uri :as guri]
[goog.string :as gstring]
[goog.net.jsloader :as loader]
[goog.net.Xhr... |
[
{
"context": ";; Copyright (c) Stuart Sierra, 2012. All rights reserved. The use\n;; and distr",
"end": 30,
"score": 0.9999011754989624,
"start": 17,
"tag": "NAME",
"value": "Stuart Sierra"
},
{
"context": "software.\n\n;; Modified to run under ClojureCLR by David Miller\n;; Chang... | SurveyCenter/json.clj | migueladanrm/PL.P2 | 0 | ;; Copyright (c) Stuart Sierra, 2012. 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... | 72336 | ;; Copyright (c) <NAME>, 2012. 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 fa... | true | ;; Copyright (c) PI:NAME:<NAME>END_PI, 2012. 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 soft... |
[
{
"context": "\n (Employee. \"Craig\" \"Redmond\" 123456) \n ",
"end": 381,
"score": 0.9998154044151306,
"start": 376,
"tag": "NAME",
"value": "Craig"
},
{
"context": " (Employee. \"Craig\" \... | contributions/clojureRefs/src/org/softlang/meganalysis.clj | A-Kastner/101repo | 15 | (ns org.softlang.meganalysis
(:require org.softlang.company)
(:use org.softlang.scenarios)
(:import (org.softlang.company Dept Company Employee)))
;; sample company
(def meganalysis (ref
(Company. "meganalysis"
[(ref
(Dept. "Rese... | 35195 | (ns org.softlang.meganalysis
(:require org.softlang.company)
(:use org.softlang.scenarios)
(:import (org.softlang.company Dept Company Employee)))
;; sample company
(def meganalysis (ref
(Company. "meganalysis"
[(ref
(Dept. "Rese... | true | (ns org.softlang.meganalysis
(:require org.softlang.company)
(:use org.softlang.scenarios)
(:import (org.softlang.company Dept Company Employee)))
;; sample company
(def meganalysis (ref
(Company. "meganalysis"
[(ref
(Dept. "Rese... |
[
{
"context": " (input-control password-field \"password\" \"Password\" nil true (:password errors))\n (input-",
"end": 1111,
"score": 0.743720531463623,
"start": 1103,
"tag": "PASSWORD",
"value": "Password"
}
] | src/sample/views/auth.clj | princerachit/clojure-web-application | 13 | (ns sample.views.auth
(:require [hiccup.page :refer [html5 include-css]]
[hiccup.element :refer :all]
[hiccup.form :refer :all]
[sample.models.user :as db]
[sample.helpers :refer :all]
[struct.core :as st]
[ring.util.anti-forgery :refer [anti-for... | 119125 | (ns sample.views.auth
(:require [hiccup.page :refer [html5 include-css]]
[hiccup.element :refer :all]
[hiccup.form :refer :all]
[sample.models.user :as db]
[sample.helpers :refer :all]
[struct.core :as st]
[ring.util.anti-forgery :refer [anti-for... | true | (ns sample.views.auth
(:require [hiccup.page :refer [html5 include-css]]
[hiccup.element :refer :all]
[hiccup.form :refer :all]
[sample.models.user :as db]
[sample.helpers :refer :all]
[struct.core :as st]
[ring.util.anti-forgery :refer [anti-for... |
[
{
"context": "eavily on examples and the ezd3 library written by Hitesh Jasani\"]\n [ezd3/d3svg {:width 400 :height 375 :on-rend",
"end": 4566,
"score": 0.9999003410339355,
"start": 4553,
"tag": "NAME",
"value": "Hitesh Jasani"
}
] | examples/barchart/src/barchart/core.cljs | mzrieker/ata-proj-bargraph | 0 | (ns barchart.core
(:require-macros [cljs.core.async.macros :refer [go]])
(:require [cljs.reader :as reader]
[reagent.core :as reagent :refer [atom]]
[cljsjs/d3]
[ezd3.core :as ezd3]
[cljs-http.client :as http]
[cljs.core.async :refer [<!]]
))
... | 102124 | (ns barchart.core
(:require-macros [cljs.core.async.macros :refer [go]])
(:require [cljs.reader :as reader]
[reagent.core :as reagent :refer [atom]]
[cljsjs/d3]
[ezd3.core :as ezd3]
[cljs-http.client :as http]
[cljs.core.async :refer [<!]]
))
... | true | (ns barchart.core
(:require-macros [cljs.core.async.macros :refer [go]])
(:require [cljs.reader :as reader]
[reagent.core :as reagent :refer [atom]]
[cljsjs/d3]
[ezd3.core :as ezd3]
[cljs-http.client :as http]
[cljs.core.async :refer [<!]]
))
... |
[
{
"context": " \"Set Collection\"}),\n :name \"Hra o Truny Pobocnik krale\",\n :com.board",
"end": 5517,
"score": 0.6898214817047119,
"start": 5514,
"tag": "NAME",
"value": "Hra"
},
{
"context": " \"Set Collection\"}),\n :name \"Hra o Tr... | web/src/app/data.cljs | nenadalm/bbb-game-list | 0 | (ns app.data)
(def game-data
#:game-list{:games
{#uuid "49b5473d-32f5-382b-943a-dda4a1491daf"
{:game/id #uuid "49b5473d-32f5-382b-943a-dda4a1491daf",
:com.boardgamegeek.boardgame/min-players 2,
:com.boardgamegeek.boardgame/mechanics
(list #:com.boardgam... | 103562 | (ns app.data)
(def game-data
#:game-list{:games
{#uuid "49b5473d-32f5-382b-943a-dda4a1491daf"
{:game/id #uuid "49b5473d-32f5-382b-943a-dda4a1491daf",
:com.boardgamegeek.boardgame/min-players 2,
:com.boardgamegeek.boardgame/mechanics
(list #:com.boardgam... | true | (ns app.data)
(def game-data
#:game-list{:games
{#uuid "49b5473d-32f5-382b-943a-dda4a1491daf"
{:game/id #uuid "49b5473d-32f5-382b-943a-dda4a1491daf",
:com.boardgamegeek.boardgame/min-players 2,
:com.boardgamegeek.boardgame/mechanics
(list #:com.boardgam... |
[
{
"context": "-powered Scratch.\"\n :url \"https://www.github.com/ddossot/clatch\"\n :license {:name \"The MIT License (MIT)\"",
"end": 129,
"score": 0.998589813709259,
"start": 122,
"tag": "USERNAME",
"value": "ddossot"
},
{
"context": "ses/MIT\"\n :comments \"Copyright... | project.clj | ddossot/clatch | 0 | (defproject net.dossot/clatch "1.0.0-SNAPSHOT"
:description "A Clojure-powered Scratch."
:url "https://www.github.com/ddossot/clatch"
:license {:name "The MIT License (MIT)"
:url "http://opensource.org/licenses/MIT"
:comments "Copyright (c) 2015 David Dossot"}
:plugins [[lein-modules "0... | 80011 | (defproject net.dossot/clatch "1.0.0-SNAPSHOT"
:description "A Clojure-powered Scratch."
:url "https://www.github.com/ddossot/clatch"
:license {:name "The MIT License (MIT)"
:url "http://opensource.org/licenses/MIT"
:comments "Copyright (c) 2015 <NAME>"}
:plugins [[lein-modules "0.3.11"... | true | (defproject net.dossot/clatch "1.0.0-SNAPSHOT"
:description "A Clojure-powered Scratch."
:url "https://www.github.com/ddossot/clatch"
:license {:name "The MIT License (MIT)"
:url "http://opensource.org/licenses/MIT"
:comments "Copyright (c) 2015 PI:NAME:<NAME>END_PI"}
:plugins [[lein-mo... |
[
{
"context": "]))\n \n(def ^:private client-opts\n {:access-key \"AKIAIKZWOA4I5Y43GDOA\"\n :secret-key \"mZEsglGYGlCU0GBaB+lScf9nYpfv3Lnh",
"end": 352,
"score": 0.9993558526039124,
"start": 332,
"tag": "KEY",
"value": "AKIAIKZWOA4I5Y43GDOA"
},
{
"context": "access-key \"AKIAIKZWO... | src/clj/clojure_rest/usersv2.clj | mvrcrypto/customapi | 1 | (ns clojure-rest.usersv2
(:refer-clojure :exclude [get])
(:require [ring.util.response :refer [response]]
[amazonica.aws.dynamodbv2 :as amz]
[clojure-rest.utils :as utils]
[clojure-rest.valid :as valid]
[clj-http.client :as client]))
(def ^:private client-opts
{:... | 9772 | (ns clojure-rest.usersv2
(:refer-clojure :exclude [get])
(:require [ring.util.response :refer [response]]
[amazonica.aws.dynamodbv2 :as amz]
[clojure-rest.utils :as utils]
[clojure-rest.valid :as valid]
[clj-http.client :as client]))
(def ^:private client-opts
{:... | true | (ns clojure-rest.usersv2
(:refer-clojure :exclude [get])
(:require [ring.util.response :refer [response]]
[amazonica.aws.dynamodbv2 :as amz]
[clojure-rest.utils :as utils]
[clojure-rest.valid :as valid]
[clj-http.client :as client]))
(def ^:private client-opts
{:... |
[
{
"context": " :person/age \"Jane\"})}))\n\n(defcard spec-title-view\n (SpecTit",
"end": 739,
"score": 0.9971245527267456,
"start": 735,
"tag": "NAME",
"value": "Jane"
},
{
"context": " :person/age \"Jane... | devcards/datafrisk/spec_card.cljs | moonbrv/data-frisk-reagent | 2 | (ns datafrisk.spec-card
(:require [devcards.core]
[cljs.spec.alpha :as s]
[datafrisk.spec :refer [SpecView SpecTitleView]])
(:require-macros [devcards.core :refer [defcard]]))
(s/def :person/name string?)
(s/def :person/age number?)
(s/def :person/address string?)
(s/def :person/person (s/... | 39898 | (ns datafrisk.spec-card
(:require [devcards.core]
[cljs.spec.alpha :as s]
[datafrisk.spec :refer [SpecView SpecTitleView]])
(:require-macros [devcards.core :refer [defcard]]))
(s/def :person/name string?)
(s/def :person/age number?)
(s/def :person/address string?)
(s/def :person/person (s/... | true | (ns datafrisk.spec-card
(:require [devcards.core]
[cljs.spec.alpha :as s]
[datafrisk.spec :refer [SpecView SpecTitleView]])
(:require-macros [devcards.core :refer [defcard]]))
(s/def :person/name string?)
(s/def :person/age number?)
(s/def :person/address string?)
(s/def :person/person (s/... |
[
{
"context": "interfaces for collection-related functions\n\n;; by Konrad Hinsen\n;; last updated May 5, 2009\n\n;; Copyright (c) Kon",
"end": 75,
"score": 0.9998739361763,
"start": 62,
"tag": "NAME",
"value": "Konrad Hinsen"
},
{
"context": "nsen\n;; last updated May 5, 2009\n\n;; C... | ThirdParty/clojure-contrib-1.1.0/src/clojure/contrib/generic/collection.clj | allertonm/Couverjure | 3 | ;; Generic interfaces for collection-related functions
;; by Konrad Hinsen
;; last updated May 5, 2009
;; Copyright (c) Konrad Hinsen, 2009. All rights reserved. The use
;; and distribution terms for this software are covered by the Eclipse
;; Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
;; wh... | 91953 | ;; Generic interfaces for collection-related functions
;; by <NAME>
;; last updated May 5, 2009
;; Copyright (c) <NAME>, 2009. All rights reserved. The use
;; and distribution terms for this software are covered by the Eclipse
;; Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
;; which can be fou... | true | ;; Generic interfaces for collection-related functions
;; by PI:NAME:<NAME>END_PI
;; last updated May 5, 2009
;; Copyright (c) PI:NAME:<NAME>END_PI, 2009. All rights reserved. The use
;; and distribution terms for this software are covered by the Eclipse
;; Public License 1.0 (http://opensource.org/licenses/eclipse-... |
[
{
"context": " (type/field-names Name) => (just #{\"firstName\" \"lastName\"})\n (type/field-names ExampleStruct) => (just ",
"end": 820,
"score": 0.6703175902366638,
"start": 812,
"tag": "NAME",
"value": "lastName"
}
] | test/clj_thrift/type_test.clj | dcuddeback/clj-thrift | 4 | (ns clj-thrift.type-test
(:require [clj-thrift.type :as type])
(:import (clj_thrift.fakes Name Identity ExampleStruct ExampleUnion))
(:use midje.sweet))
(facts "field-ids"
(fact "returns the set of valid field ids for unions"
(type/field-ids Identity) => (just #{1 2})
(type/field-ids ExampleUnion) => ... | 45186 | (ns clj-thrift.type-test
(:require [clj-thrift.type :as type])
(:import (clj_thrift.fakes Name Identity ExampleStruct ExampleUnion))
(:use midje.sweet))
(facts "field-ids"
(fact "returns the set of valid field ids for unions"
(type/field-ids Identity) => (just #{1 2})
(type/field-ids ExampleUnion) => ... | true | (ns clj-thrift.type-test
(:require [clj-thrift.type :as type])
(:import (clj_thrift.fakes Name Identity ExampleStruct ExampleUnion))
(:use midje.sweet))
(facts "field-ids"
(fact "returns the set of valid field ids for unions"
(type/field-ids Identity) => (just #{1 2})
(type/field-ids ExampleUnion) => ... |
[
{
"context": "ator\n; Date: March 17, 2016.\n; Authors:\n; A01020319 Fernando Gómez Herrera\n;------------------------",
"end": 146,
"score": 0.8538926243782043,
"start": 138,
"tag": "USERNAME",
"value": "A0102031"
},
{
"context": "e: March 17, 2016.\n; Authors:\n; ... | 4clojure/problem_135.clj | gomezhyuuga/CEM_tc2006 | 1 | ;----------------------------------------------------------
; Problem 135: Infix Calculator
; Date: March 17, 2016.
; Authors:
; A01020319 Fernando Gómez Herrera
;----------------------------------------------------------
(use 'clojure.test)
(defn p
[& args]
(let [num1 (nth args 0)
num2 (nth args ... | 120915 | ;----------------------------------------------------------
; Problem 135: Infix Calculator
; Date: March 17, 2016.
; Authors:
; A01020319 <NAME>
;----------------------------------------------------------
(use 'clojure.test)
(defn p
[& args]
(let [num1 (nth args 0)
num2 (nth args 2)
op ... | true | ;----------------------------------------------------------
; Problem 135: Infix Calculator
; Date: March 17, 2016.
; Authors:
; A01020319 PI:NAME:<NAME>END_PI
;----------------------------------------------------------
(use 'clojure.test)
(defn p
[& args]
(let [num1 (nth args 0)
num2 (nth args 2)... |
[
{
"context": ";\n; Copyright © 2020 Peter Monks\n;\n; Licensed under the Apache License, Version 2.",
"end": 32,
"score": 0.9996285438537598,
"start": 21,
"tag": "NAME",
"value": "Peter Monks"
}
] | src/futbot/source/youtube.clj | pmonks/futbot | 3 | ;
; Copyright © 2020 Peter Monks
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writi... | 80141 | ;
; Copyright © 2020 <NAME>
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writing, s... | true | ;
; Copyright © 2020 PI:NAME:<NAME>END_PI
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to... |
[
{
"context": "ent.core :as r]))\n\n(def entities (r/atom [{:text \"Someone 1\"\n :id 1\n ",
"end": 108,
"score": 0.9483845233917236,
"start": 99,
"tag": "NAME",
"value": "Someone 1"
},
{
"context": " :y-vel -50}\n {:... | cljs-src/deltaside/cljs/model/player.cljs | pkcsecurity/deltaside | 0 | (ns deltaside.cljs.model.player
(:require [reagent.core :as r]))
(def entities (r/atom [{:text "Someone 1"
:id 1
:color "red"
:type :player
:angle 0
:x 500
:y 200
... | 117678 | (ns deltaside.cljs.model.player
(:require [reagent.core :as r]))
(def entities (r/atom [{:text "<NAME>"
:id 1
:color "red"
:type :player
:angle 0
:x 500
:y 200
... | true | (ns deltaside.cljs.model.player
(:require [reagent.core :as r]))
(def entities (r/atom [{:text "PI:NAME:<NAME>END_PI"
:id 1
:color "red"
:type :player
:angle 0
:x 500
:y 200... |
[
{
"context": "SNAPSHOT\"\n :description \"Address book prepared by afronski (based on Jarrod's tutorial).\"\n :url \"htt",
"end": 84,
"score": 0.9058508276939392,
"start": 83,
"tag": "USERNAME",
"value": "a"
},
{
"context": "APSHOT\"\n :description \"Address book prepared by afron... | clojure/address-book/project.clj | afronski/playground-fp | 0 | (defproject address-book "0.1.0-SNAPSHOT"
:description "Address book prepared by afronski (based on Jarrod's tutorial)."
:url "https://github.com/afronski/playground-fp"
:min-lein-version "2.5.0"
:dependencies [[org.clojure/clojure "1.6.0"]
[compojure "1.3.1"]
[ring/ring-defau... | 100434 | (defproject address-book "0.1.0-SNAPSHOT"
:description "Address book prepared by a<NAME> (based on Jarrod's tutorial)."
:url "https://github.com/afronski/playground-fp"
:min-lein-version "2.5.0"
:dependencies [[org.clojure/clojure "1.6.0"]
[compojure "1.3.1"]
[ring/ring-defaul... | true | (defproject address-book "0.1.0-SNAPSHOT"
:description "Address book prepared by aPI:NAME:<NAME>END_PI (based on Jarrod's tutorial)."
:url "https://github.com/afronski/playground-fp"
:min-lein-version "2.5.0"
:dependencies [[org.clojure/clojure "1.6.0"]
[compojure "1.3.1"]
[ri... |
[
{
"context": " :refer :all]))\r\n\r\n(def options {:users [{\"User\" \"Pass\"}]})\r\n\r\n(describe \"authentification\"\r\n (it \"al",
"end": 151,
"score": 0.5347581505775452,
"start": 147,
"tag": "PASSWORD",
"value": "Pass"
}
] | spec/maven_repo/auth_spec.clj | boogie666/maven-proxy | 0 | (ns maven-repo.auth-spec
(:require [speclj.core :refer :all]
[maven-repo.auth :refer :all]))
(def options {:users [{"User" "Pass"}]})
(describe "authentification"
(it "allows authenticated users in"
(should= true (authenticated? options "User" "Pass")))
(it "does not allow w... | 49855 | (ns maven-repo.auth-spec
(:require [speclj.core :refer :all]
[maven-repo.auth :refer :all]))
(def options {:users [{"User" "<PASSWORD>"}]})
(describe "authentification"
(it "allows authenticated users in"
(should= true (authenticated? options "User" "Pass")))
(it "does not a... | true | (ns maven-repo.auth-spec
(:require [speclj.core :refer :all]
[maven-repo.auth :refer :all]))
(def options {:users [{"User" "PI:PASSWORD:<PASSWORD>END_PI"}]})
(describe "authentification"
(it "allows authenticated users in"
(should= true (authenticated? options "User" "Pass")))
... |
[
{
"context": ")\n :user \"uchida\"\n :password \"hello9\"})\n\n (with-connection db\n (drop-table :cities",
"end": 1001,
"score": 0.9990553855895996,
"start": 995,
"tag": "PASSWORD",
"value": "hello9"
}
] | postgre/clojure/create/try/try_aa.clj | ekzemplaro/data_base_language | 3 | ; -----------------------------------------------------------------
;
; postgre_create.clj
;
; Sep/17/2010
;
; -----------------------------------------------------------------
(import '(java.util Date))
(import '(java.text SimpleDateFormat))
(use 'clojure.contrib.sql)
(use '[clojure.contrib.str-utils :only (str-jo... | 101349 | ; -----------------------------------------------------------------
;
; postgre_create.clj
;
; Sep/17/2010
;
; -----------------------------------------------------------------
(import '(java.util Date))
(import '(java.text SimpleDateFormat))
(use 'clojure.contrib.sql)
(use '[clojure.contrib.str-utils :only (str-jo... | true | ; -----------------------------------------------------------------
;
; postgre_create.clj
;
; Sep/17/2010
;
; -----------------------------------------------------------------
(import '(java.util Date))
(import '(java.text SimpleDateFormat))
(use 'clojure.contrib.sql)
(use '[clojure.contrib.str-utils :only (str-jo... |
[
{
"context": ";;\n;;\n;; Copyright 2013-2015 Netflix, Inc.\n;;\n;; Licensed under the Apache Lic",
"end": 33,
"score": 0.9212996959686279,
"start": 30,
"tag": "NAME",
"value": "Net"
}
] | pigpen-core/src/test/clojure/pigpen/local_test.clj | ombagus/Netflix | 327 | ;;
;;
;; Copyright 2013-2015 Netflix, Inc.
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required ... | 436 | ;;
;;
;; Copyright 2013-2015 <NAME>flix, Inc.
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless requir... | true | ;;
;;
;; Copyright 2013-2015 PI:NAME:<NAME>END_PIflix, Inc.
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; ... |
[
{
"context": "\n (testing \"give-up results\"\n (let [[p1 p2] [\"bob\" \"regeda\"]\n game (matcher/initial-sta",
"end": 3307,
"score": 0.9119380116462708,
"start": 3304,
"tag": "USERNAME",
"value": "bob"
},
{
"context": "sting \"give-up results\"\n (let [[p1 p2] [\... | test/clj/plus_minus/test/multiplayer/test_reply.clj | Liverm0r/plusminus.me | 3 | (ns plus-minus.test.multiplayer.test-reply
(:require [clojure.core.async :refer
[<!! <! >! >!! go go-loop chan close! alts!! timeout]]
[plus-minus.common.async :refer [get-with-timeout!!]]
[mount.core :as mount]
[plus-minus.db.core]
[plus-minus.config :refe... | 74570 | (ns plus-minus.test.multiplayer.test-reply
(:require [clojure.core.async :refer
[<!! <! >! >!! go go-loop chan close! alts!! timeout]]
[plus-minus.common.async :refer [get-with-timeout!!]]
[mount.core :as mount]
[plus-minus.db.core]
[plus-minus.config :refe... | true | (ns plus-minus.test.multiplayer.test-reply
(:require [clojure.core.async :refer
[<!! <! >! >!! go go-loop chan close! alts!! timeout]]
[plus-minus.common.async :refer [get-with-timeout!!]]
[mount.core :as mount]
[plus-minus.db.core]
[plus-minus.config :refe... |
[
{
"context": "; Copyright (c) Rich Hickey. All rights reserved.\n; The use and distributio",
"end": 30,
"score": 0.9998100399971008,
"start": 19,
"tag": "NAME",
"value": "Rich Hickey"
},
{
"context": "ice, or any other, from this software.\n;\n;\tAuthor: David Miller\n\n; Test o... | Clojure/clojure/samples/deftype/testdeftype.clj | AydarLukmanov/ArcadiaGodot | 328 | ; 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... | 54031 | ; Copyright (c) <NAME>. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
; which can be found in the file epl-v10.html at the root of this distribution.
; By using this software in any fash... | true | ; Copyright (c) PI:NAME:<NAME>END_PI. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
; which can be found in the file epl-v10.html at the root of this distribution.
; By using this softwa... |
[
{
"context": ";;\n;; Author:: Adam Jacob (<adam@opscode.com>)\n;; Author:: Christopher Brow",
"end": 25,
"score": 0.9998480677604675,
"start": 15,
"tag": "NAME",
"value": "Adam Jacob"
},
{
"context": ";;\n;; Author:: Adam Jacob (<adam@opscode.com>)\n;; Author:: Christopher Brown (<cb... | src/omnibus/core.clj | racker/omnibus | 2 | ;;
;; Author:: Adam Jacob (<adam@opscode.com>)
;; Author:: Christopher Brown (<cb@opscode.com>)
;; Copyright:: Copyright (c) 2010 Opscode, Inc.
;; License:: Apache License, Version 2.0
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the Licens... | 67984 | ;;
;; Author:: <NAME> (<<EMAIL>>)
;; Author:: <NAME> (<<EMAIL>>)
;; Copyright:: Copyright (c) 2010 Opscode, Inc.
;; License:: Apache License, Version 2.0
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of ... | true | ;;
;; Author:: PI:NAME:<NAME>END_PI (<PI:EMAIL:<EMAIL>END_PI>)
;; Author:: PI:NAME:<NAME>END_PI (<PI:EMAIL:<EMAIL>END_PI>)
;; Copyright:: Copyright (c) 2010 Opscode, Inc.
;; License:: Apache License, Version 2.0
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in... |
[
{
"context": " :cp 91\n :name \"Kernfach Philosophie\"\n :po 2011\n ",
"end": 2014,
"score": 0.9625535607337952,
"start": 1994,
"tag": "NAME",
"value": "Kernfach Philosophie"
}
] | test/mincer/xml/tree_test_cp.clj | plues/mincer | 0 | (ns mincer.xml.tree-test-cp
(:require [clojure.test :refer :all]
[mincer.xml.tree-cp-test-data :refer :all]
[mincer.xml.tree-validation :refer :all]
[mincer.xml.tree :refer :all]))
(def result-cp-module {:type :module
:name "MV01: Makroökonomik"
... | 50425 | (ns mincer.xml.tree-test-cp
(:require [clojure.test :refer :all]
[mincer.xml.tree-cp-test-data :refer :all]
[mincer.xml.tree-validation :refer :all]
[mincer.xml.tree :refer :all]))
(def result-cp-module {:type :module
:name "MV01: Makroökonomik"
... | true | (ns mincer.xml.tree-test-cp
(:require [clojure.test :refer :all]
[mincer.xml.tree-cp-test-data :refer :all]
[mincer.xml.tree-validation :refer :all]
[mincer.xml.tree :refer :all]))
(def result-cp-module {:type :module
:name "MV01: Makroökonomik"
... |
[
{
"context": " changed with a trigger message.\n\n See Steven W Smith, The Scientist and Engineer's Guide to\n ",
"end": 1803,
"score": 0.9995423555374146,
"start": 1789,
"tag": "NAME",
"value": "Steven W Smith"
},
{
"context": " using a trigger signal.\n... | src/overtone/sc/machinery/ugen/metadata/fft2.clj | ABaldwinHunter/overtone | 3,870 | (ns overtone.sc.machinery.ugen.metadata.fft2
(:use [overtone.sc.machinery.ugen common check]))
;; //third party FFT UGens
(def specs
[
{:name "PV_ConformalMap",
:args [{:name "buffer"
:doc "buffer number of buffer to act on, passed in
through a chain (see examp... | 4087 | (ns overtone.sc.machinery.ugen.metadata.fft2
(:use [overtone.sc.machinery.ugen common check]))
;; //third party FFT UGens
(def specs
[
{:name "PV_ConformalMap",
:args [{:name "buffer"
:doc "buffer number of buffer to act on, passed in
through a chain (see examp... | true | (ns overtone.sc.machinery.ugen.metadata.fft2
(:use [overtone.sc.machinery.ugen common check]))
;; //third party FFT UGens
(def specs
[
{:name "PV_ConformalMap",
:args [{:name "buffer"
:doc "buffer number of buffer to act on, passed in
through a chain (see examp... |
[
{
"context": "-initialized false})\n\n(def dummy-users\n [{:name \"Søren Boisen\", :id \"76fd0625-f84d-4d14-9045-386098f04645\", :ph",
"end": 648,
"score": 0.9998791813850403,
"start": 636,
"tag": "NAME",
"value": "Søren Boisen"
},
{
"context": "-9045-386098f04645\", :phone 20780172... | src/cljs/reframe_test/db.cljs | jargon/ts-admin | 0 | (ns reframe-test.db
(:require
[schema.core :as sc :include-macros true]))
(def schema
{:initialized sc/Bool
(sc/optional-key :current-group-id) sc/Str
(sc/optional-key :users) [{:name sc/Str :phone sc/Num sc/Keyword sc/Any}]
(sc/optional-key :groups) {sc/Str {:id sc/Str :name sc/Str :subgroups sc/Num ... | 24130 | (ns reframe-test.db
(:require
[schema.core :as sc :include-macros true]))
(def schema
{:initialized sc/Bool
(sc/optional-key :current-group-id) sc/Str
(sc/optional-key :users) [{:name sc/Str :phone sc/Num sc/Keyword sc/Any}]
(sc/optional-key :groups) {sc/Str {:id sc/Str :name sc/Str :subgroups sc/Num ... | true | (ns reframe-test.db
(:require
[schema.core :as sc :include-macros true]))
(def schema
{:initialized sc/Bool
(sc/optional-key :current-group-id) sc/Str
(sc/optional-key :users) [{:name sc/Str :phone sc/Num sc/Keyword sc/Any}]
(sc/optional-key :groups) {sc/Str {:id sc/Str :name sc/Str :subgroups sc/Num ... |
[
{
"context": "= % :predicate))\n count)))\n\n(def app-key \"app\")\n\n(defn save-app!\n [app]\n (ls/set-item! app-ke",
"end": 3259,
"score": 0.6908026337623596,
"start": 3256,
"tag": "KEY",
"value": "app"
}
] | src/dargwa_counter/db.cljs | sherpc/dargwa-counter | 0 | (ns dargwa-counter.db
(:require [schema.core :as sc
:include-macros true]
[dargwa-counter.localstorage :as ls]))
(def default-ui {:file-name nil
:current-tale-index 0
:selected-word nil
:add-mark-popup nil})
(def default-app {:ui default-ui... | 30660 | (ns dargwa-counter.db
(:require [schema.core :as sc
:include-macros true]
[dargwa-counter.localstorage :as ls]))
(def default-ui {:file-name nil
:current-tale-index 0
:selected-word nil
:add-mark-popup nil})
(def default-app {:ui default-ui... | true | (ns dargwa-counter.db
(:require [schema.core :as sc
:include-macros true]
[dargwa-counter.localstorage :as ls]))
(def default-ui {:file-name nil
:current-tale-index 0
:selected-word nil
:add-mark-popup nil})
(def default-app {:ui default-ui... |
[
{
"context": ")\n login-atom (atom {:email \"Email\" :pass \"Pass\"})\n ]\n (if apiKey\n ;; User is logg",
"end": 14243,
"score": 0.9937642812728882,
"start": 14239,
"tag": "PASSWORD",
"value": "Pass"
}
] | src/hphelper/frontend/shared.cljs | lsenjov/hphelper | 2 | (ns hphelper.frontend.shared
(:require [taoensso.timbre :as log]
[reagent.core :as reagent :refer [atom]]
[ajax.core :refer [GET POST] :as ajax]
))
(defonce ^:private system-info
(atom {:context (-> js/window
.-location
;; This gets /c... | 118210 | (ns hphelper.frontend.shared
(:require [taoensso.timbre :as log]
[reagent.core :as reagent :refer [atom]]
[ajax.core :refer [GET POST] :as ajax]
))
(defonce ^:private system-info
(atom {:context (-> js/window
.-location
;; This gets /c... | true | (ns hphelper.frontend.shared
(:require [taoensso.timbre :as log]
[reagent.core :as reagent :refer [atom]]
[ajax.core :refer [GET POST] :as ajax]
))
(defonce ^:private system-info
(atom {:context (-> js/window
.-location
;; This gets /c... |
[
{
"context": "ähköpostiosoite\"\n :password \"Salasana\"\n :password-again \"Salasana ",
"end": 775,
"score": 0.9991016387939453,
"start": 767,
"tag": "PASSWORD",
"value": "Salasana"
},
{
"context": "\"Salasana\"\n :passw... | src/cljs/coffeepot/localization.cljs | Nightpanda/coffeepot | 0 | (ns coffeepot.localization
(:require [tongue.core :as tongue]
[re-frame.core :refer [subscribe]]
[coffeepot.subs :as subs]))
(def dictionary {
:fi {
:app-title "Coffeepot"
:footer-text "© 2018 - Rakkaudesta kahviin. Coffeepot ... | 24554 | (ns coffeepot.localization
(:require [tongue.core :as tongue]
[re-frame.core :refer [subscribe]]
[coffeepot.subs :as subs]))
(def dictionary {
:fi {
:app-title "Coffeepot"
:footer-text "© 2018 - Rakkaudesta kahviin. Coffeepot ... | true | (ns coffeepot.localization
(:require [tongue.core :as tongue]
[re-frame.core :refer [subscribe]]
[coffeepot.subs :as subs]))
(def dictionary {
:fi {
:app-title "Coffeepot"
:footer-text "© 2018 - Rakkaudesta kahviin. Coffeepot ... |
[
{
"context": ";; Authors: Sung Pae <self@sungpae.com>\n\n(ns vim-clojure-static.update",
"end": 20,
"score": 0.9998777508735657,
"start": 12,
"tag": "NAME",
"value": "Sung Pae"
},
{
"context": ";; Authors: Sung Pae <self@sungpae.com>\n\n(ns vim-clojure-static.update\n (:require [clo... | dot_vim/bundle/vim-clojure-static/clj/src/vim_clojure_static/update.clj | nyimbi/dot_files | 1 | ;; Authors: Sung Pae <self@sungpae.com>
(ns vim-clojure-static.update
(:require [clojure.java.io :as io]
[clojure.java.shell :refer [sh]]
[clojure.string :as string])
(:import (java.text SimpleDateFormat)
(java.util Date)))
(defn fjoin [& args]
(string/join \/ args))
(def clo... | 6893 | ;; Authors: <NAME> <<EMAIL>>
(ns vim-clojure-static.update
(:require [clojure.java.io :as io]
[clojure.java.shell :refer [sh]]
[clojure.string :as string])
(:import (java.text SimpleDateFormat)
(java.util Date)))
(defn fjoin [& args]
(string/join \/ args))
(def clojure-sectio... | true | ;; Authors: PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
(ns vim-clojure-static.update
(:require [clojure.java.io :as io]
[clojure.java.shell :refer [sh]]
[clojure.string :as string])
(:import (java.text SimpleDateFormat)
(java.util Date)))
(defn fjoin [& args]
(string/join \... |
[
{
"context": " (:cache ratelimit nil) \"Bar4\") {:current-tokens 390\n ",
"end": 9052,
"score": 0.4340314567089081,
"start": 9051,
"tag": "PASSWORD",
"value": "9"
}
] | scheduler/test/cook/test/rate_limit/generic.clj | CGe0516/Cook | 345 | ;;
;; 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... | 35649 | ;;
;; 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": "\" (:nome mapa)))\n(exemplo1 {:chave \"abcd\", :nome \"Bruno\"}) ;;> \" :chave => abcd :nome => Bruno\"\n\n(defn ex",
"end": 924,
"score": 0.9946286082267761,
"start": 919,
"tag": "NAME",
"value": "Bruno"
},
{
"context": "cd\", :nome \"Bruno\"}) ;;> \" :chave => abcd :n... | clojure/avulsos/binding-form_e_associacao_de_valores_em_clojure.clj | micalevisk/x-de-cada-dia | 0 | ;; Desestruturação de Listas
;BEGIN:ex1
(let [lista [1 2 3]
primeiro (nth lista 0)
segundo (nth lista 1)
terceiro (nth lista 2)]
(+ primeiro segundo terceiro)) ;; => 6
(let [lista [1 2 3]
[primeiro segundo terceiro] lista]
(+ primeiro segundo terceiro)) ;; => 6
;END:ex1
;BEGIN:ex2
(let [[... | 92266 | ;; Desestruturação de Listas
;BEGIN:ex1
(let [lista [1 2 3]
primeiro (nth lista 0)
segundo (nth lista 1)
terceiro (nth lista 2)]
(+ primeiro segundo terceiro)) ;; => 6
(let [lista [1 2 3]
[primeiro segundo terceiro] lista]
(+ primeiro segundo terceiro)) ;; => 6
;END:ex1
;BEGIN:ex2
(let [[... | true | ;; Desestruturação de Listas
;BEGIN:ex1
(let [lista [1 2 3]
primeiro (nth lista 0)
segundo (nth lista 1)
terceiro (nth lista 2)]
(+ primeiro segundo terceiro)) ;; => 6
(let [lista [1 2 3]
[primeiro segundo terceiro] lista]
(+ primeiro segundo terceiro)) ;; => 6
;END:ex1
;BEGIN:ex2
(let [[... |
[
{
"context": ";;\n;;\n;; Copyright 2013 Netflix, Inc.\n;;\n;; Licensed under the Apache Lic",
"end": 28,
"score": 0.8222940564155579,
"start": 25,
"tag": "NAME",
"value": "Net"
}
] | src/main/clojure/pigpen/exec.clj | magomimmo/PigPen | 1 | ;;
;;
;; Copyright 2013 Netflix, Inc.
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by ap... | 77814 | ;;
;;
;; Copyright 2013 <NAME>flix, Inc.
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by... | true | ;;
;;
;; Copyright 2013 PI:NAME:<NAME>END_PIflix, Inc.
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unle... |
[
{
"context": ";-\n; Copyright 2009-2011 (c) Meikel Brandmeyer.\n; All rights reserved.\n;\n; Permission is hereby ",
"end": 46,
"score": 0.9998677968978882,
"start": 29,
"tag": "NAME",
"value": "Meikel Brandmeyer"
}
] | server/src/main/clojure/vimclojure/repl.clj | kotarak/vimclojure | 1 | ;-
; 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,... | 74096 | ;-
; 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": ";; Copyright © 2015-2019 Esko Luontola\n;; This software is released under the Apache Lic",
"end": 38,
"score": 0.999882698059082,
"start": 25,
"tag": "NAME",
"value": "Esko Luontola"
},
{
"context": "ong-id\n :congregation/name \"old name\"\n ... | test/territory_bro/congregation_test.clj | JessRoberts/territory_assistant | 0 | ;; Copyright © 2015-2019 Esko Luontola
;; This software is released under the Apache License 2.0.
;; The license text is at http://www.apache.org/licenses/LICENSE-2.0
(ns territory-bro.congregation-test
(:require [clojure.java.jdbc :as jdbc]
[clojure.test :refer :all]
[medley.core :refer [dee... | 30465 | ;; Copyright © 2015-2019 <NAME>
;; This software is released under the Apache License 2.0.
;; The license text is at http://www.apache.org/licenses/LICENSE-2.0
(ns territory-bro.congregation-test
(:require [clojure.java.jdbc :as jdbc]
[clojure.test :refer :all]
[medley.core :refer [deep-merge... | true | ;; Copyright © 2015-2019 PI:NAME:<NAME>END_PI
;; This software is released under the Apache License 2.0.
;; The license text is at http://www.apache.org/licenses/LICENSE-2.0
(ns territory-bro.congregation-test
(:require [clojure.java.jdbc :as jdbc]
[clojure.test :refer :all]
[medley.core :ref... |
[
{
"context": ";\n; Copyright © 2013 Sebastian Hoß <mail@shoss.de>\n; This work is free. You can redi",
"end": 34,
"score": 0.9998635053634644,
"start": 21,
"tag": "NAME",
"value": "Sebastian Hoß"
},
{
"context": ";\n; Copyright © 2013 Sebastian Hoß <mail@shoss.de>\n; This work is fre... | src/bootstrap/clojure/bootstrap.clj | sebhoss/finj | 30 | ;
; Copyright © 2013 Sebastian Hoß <mail@shoss.de>
; This work is free. You can redistribute it and/or modify it under the
; terms of the Do What The Fuck You Want To Public License, Version 2,
; as published by Sam Hocevar. See http://www.wtfpl.net/ for more details.
;
(require '[bootstrap.repl :refer :all])
; Load ... | 58394 | ;
; Copyright © 2013 <NAME> <<EMAIL>>
; This work is free. You can redistribute it and/or modify it under the
; terms of the Do What The Fuck You Want To Public License, Version 2,
; as published by Sam Hocevar. See http://www.wtfpl.net/ for more details.
;
(require '[bootstrap.repl :refer :all])
; Load project names... | true | ;
; Copyright © 2013 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
; This work is free. You can redistribute it and/or modify it under the
; terms of the Do What The Fuck You Want To Public License, Version 2,
; as published by Sam Hocevar. See http://www.wtfpl.net/ for more details.
;
(require '[bootstrap.repl :refer... |
[
{
"context": " (replace-vars \"I love my ${pet}\" {:human \"Abraham Lincoln\"}))))\n (testing \"key with nil value\"\n (is (= ",
"end": 1248,
"score": 0.9997944235801697,
"start": 1233,
"tag": "NAME",
"value": "Abraham Lincoln"
}
] | test/unit/core_test.clj | vitobasso/html-scraper | 0 | (ns unit.core-test
(:require [clojure.test :refer :all]
[scraper.core :refer :all]
[scraper.config :as config]))
(deftest test-regex-extract
(testing "extract one thing"
(is (= "£10"
(regex-extract {:find #"\D*(\d+)\D*", :replace "£${1}"} "it costs 10 pounds"))))
(testing "... | 54511 | (ns unit.core-test
(:require [clojure.test :refer :all]
[scraper.core :refer :all]
[scraper.config :as config]))
(deftest test-regex-extract
(testing "extract one thing"
(is (= "£10"
(regex-extract {:find #"\D*(\d+)\D*", :replace "£${1}"} "it costs 10 pounds"))))
(testing "... | true | (ns unit.core-test
(:require [clojure.test :refer :all]
[scraper.core :refer :all]
[scraper.config :as config]))
(deftest test-regex-extract
(testing "extract one thing"
(is (= "£10"
(regex-extract {:find #"\D*(\d+)\D*", :replace "£${1}"} "it costs 10 pounds"))))
(testing "... |
[
{
"context": "ns under the License.\n;;\n;; Copyright © 2013-2022, Kenneth Leung. All rights reserved.\n\n(ns czlab.test.basal.proc\n",
"end": 597,
"score": 0.9998517036437988,
"start": 584,
"tag": "NAME",
"value": "Kenneth Leung"
}
] | src/test/clojure/czlab/test/basal/proc.clj | llnek/xlib | 0 | ;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writing, software
;; distributed ... | 70999 | ;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writing, software
;; distributed ... | true | ;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writing, software
;; distributed ... |
[
{
"context": " utilities for dealing with secrets.\"\n {:author \"Isaak Uchakaev\"\n :last-update-date \"01-04-2021\"}\n (:require [",
"end": 112,
"score": 0.9998812675476074,
"start": 98,
"tag": "NAME",
"value": "Isaak Uchakaev"
}
] | src/secrets/tools.clj | lk-geimfari/secrets.clj | 66 | (ns secrets.tools
"This module contains useful utilities for dealing with secrets."
{:author "Isaak Uchakaev"
:last-update-date "01-04-2021"}
(:require [clojure.string])
(:import (java.time Instant)
(java.util UUID)))
(defn unix-timestamp
"Returns a number of seconds from the Unix epoch of 1970... | 4895 | (ns secrets.tools
"This module contains useful utilities for dealing with secrets."
{:author "<NAME>"
:last-update-date "01-04-2021"}
(:require [clojure.string])
(:import (java.time Instant)
(java.util UUID)))
(defn unix-timestamp
"Returns a number of seconds from the Unix epoch of 1970-01-01T0... | true | (ns secrets.tools
"This module contains useful utilities for dealing with secrets."
{:author "PI:NAME:<NAME>END_PI"
:last-update-date "01-04-2021"}
(:require [clojure.string])
(:import (java.time Instant)
(java.util UUID)))
(defn unix-timestamp
"Returns a number of seconds from the Unix epoch o... |
[
{
"context": " ;;\n;; Author: Jon Anthony ",
"end": 1839,
"score": 0.9998441934585571,
"start": 1828,
"tag": "NAME",
"value": "Jon Anthony"
}
] | src/aerial/bio/utils/infoth.clj | jsa-aerial/aerial.bio.utils | 3 | ;;--------------------------------------------------------------------------;;
;; ;;
;; B I O . U T I L S . I N F O T H ;;
;; ;;
;; P... | 2813 | ;;--------------------------------------------------------------------------;;
;; ;;
;; B I O . U T I L S . I N F O T H ;;
;; ;;
;; P... | true | ;;--------------------------------------------------------------------------;;
;; ;;
;; B I O . U T I L S . I N F O T H ;;
;; ;;
;; P... |
[
{
"context": " :username username\n :passw",
"end": 2023,
"score": 0.9987632036209106,
"start": 2015,
"tag": "USERNAME",
"value": "username"
},
{
"context": " :pa... | code/src/sixsq/nuvla/server/resources/user_email_password.clj | nuvla/server | 6 | (ns sixsq.nuvla.server.resources.user-email-password
"
Contains the functions necessary to create a user resource from an email
address and password.
"
(:require
[sixsq.nuvla.server.resources.callback :as callback]
[sixsq.nuvla.server.resources.callback-user-email-validation :as user-email-callback]
[si... | 123530 | (ns sixsq.nuvla.server.resources.user-email-password
"
Contains the functions necessary to create a user resource from an email
address and password.
"
(:require
[sixsq.nuvla.server.resources.callback :as callback]
[sixsq.nuvla.server.resources.callback-user-email-validation :as user-email-callback]
[si... | true | (ns sixsq.nuvla.server.resources.user-email-password
"
Contains the functions necessary to create a user resource from an email
address and password.
"
(:require
[sixsq.nuvla.server.resources.callback :as callback]
[sixsq.nuvla.server.resources.callback-user-email-validation :as user-email-callback]
[si... |
[
{
"context": "\n Returns a structure like this:\n {\\\"eppn\\\" \\\"developer\\\"\n \\\"email\\\" \\\"developer@e.mail\\\"\n \\\"displa",
"end": 580,
"score": 0.6115289330482483,
"start": 571,
"tag": "NAME",
"value": "developer"
},
{
"context": " this:\n {\\\"eppn\\\" \\\... | src/clj/rems/db/users.clj | JerryTraskelin/rems | 0 | (ns rems.db.users
(:require [cheshire.core :refer [generate-string parse-string]]
[rems.db.core :as db]))
(defn add-user! [user userattrs]
(assert (and userattrs user) "User or user attributes missing!")
(db/add-user! {:user user :userattrs (generate-string userattrs)}))
(defn add-user-if-logged-in!... | 22867 | (ns rems.db.users
(:require [cheshire.core :refer [generate-string parse-string]]
[rems.db.core :as db]))
(defn add-user! [user userattrs]
(assert (and userattrs user) "User or user attributes missing!")
(db/add-user! {:user user :userattrs (generate-string userattrs)}))
(defn add-user-if-logged-in!... | true | (ns rems.db.users
(:require [cheshire.core :refer [generate-string parse-string]]
[rems.db.core :as db]))
(defn add-user! [user userattrs]
(assert (and userattrs user) "User or user attributes missing!")
(db/add-user! {:user user :userattrs (generate-string userattrs)}))
(defn add-user-if-logged-in!... |
[
{
"context": " {:crux.db/id :ids.people/Charles\n :person/name \"Charl",
"end": 400,
"score": 0.97196364402771,
"start": 393,
"tag": "NAME",
"value": "Charles"
},
{
"context": "arles\n :person/name \"Ch... | crux-test/test/crux/bitemporal_tale_test.clj | deobald/crux | 0 | (ns crux.bitemporal-tale-test
(:require [crux.api :as crux]
[clojure.test :as t]
[clojure.java.io :as io]))
(t/deftest bitemporal-tale-test
(with-open [node (crux/start-node {})]
(t/is node)
(crux/await-tx node (crux/submit-tx
node
... | 102691 | (ns crux.bitemporal-tale-test
(:require [crux.api :as crux]
[clojure.test :as t]
[clojure.java.io :as io]))
(t/deftest bitemporal-tale-test
(with-open [node (crux/start-node {})]
(t/is node)
(crux/await-tx node (crux/submit-tx
node
... | true | (ns crux.bitemporal-tale-test
(:require [crux.api :as crux]
[clojure.test :as t]
[clojure.java.io :as io]))
(t/deftest bitemporal-tale-test
(with-open [node (crux/start-node {})]
(t/is node)
(crux/await-tx node (crux/submit-tx
node
... |
[
{
"context": "https://adventofcode.com/2020/day/10\n;; author: Vitor SRG (vitorssrg@gmail.com)\n;; date: 2021-01-07\n;;",
"end": 225,
"score": 0.9998940229415894,
"start": 216,
"tag": "NAME",
"value": "Vitor SRG"
},
{
"context": "ntofcode.com/2020/day/10\n;; author: Vitor ... | aoc2020/d10/main.clj | vitorsrg/advent-of-code | 0 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; domain: Advent of Code 2020
;; challenge: Day 10: Adapter Array
;; url: https://adventofcode.com/2020/day/10
;; author: Vitor SRG (vitorssrg@gmail.com)
;; date: 2021-01-07
;; execution: $ bash ./aoc2020/run.sh d10 < [IN... | 13303 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; domain: Advent of Code 2020
;; challenge: Day 10: Adapter Array
;; url: https://adventofcode.com/2020/day/10
;; author: <NAME> (<EMAIL>)
;; date: 2021-01-07
;; execution: $ bash ./aoc2020/run.sh d10 < [INPUT_FILE]
;; ex... | true | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; domain: Advent of Code 2020
;; challenge: Day 10: Adapter Array
;; url: https://adventofcode.com/2020/day/10
;; author: PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI)
;; date: 2021-01-07
;; execution: $ bash ./aoc2020/ru... |
[
{
"context": " (dom/span nil \"The app was built with love by Will Lee-Wagner.\n It's written in ",
"end": 2706,
"score": 0.999905526638031,
"start": 2691,
"tag": "NAME",
"value": "Will Lee-Wagner"
},
{
"context": " (dom/a #js {:href \"ht... | src/cljs/dice/core.cljs | whenther/dice | 0 | (ns dice.core
(:require-macros [cljs.core.async.macros :refer [go]])
(:require [om.core :as om :include-macros true]
[om.dom :as dom :include-macros true]
[cljs.core.async :refer [chan <! >! timeout]]))
(def dice-state (atom {:number 3
:sides 6
... | 97711 | (ns dice.core
(:require-macros [cljs.core.async.macros :refer [go]])
(:require [om.core :as om :include-macros true]
[om.dom :as dom :include-macros true]
[cljs.core.async :refer [chan <! >! timeout]]))
(def dice-state (atom {:number 3
:sides 6
... | true | (ns dice.core
(:require-macros [cljs.core.async.macros :refer [go]])
(:require [om.core :as om :include-macros true]
[om.dom :as dom :include-macros true]
[cljs.core.async :refer [chan <! >! timeout]]))
(def dice-state (atom {:number 3
:sides 6
... |
[
{
"context": "mplate.clj (clojure-firefly)\n;; Copyright (c) 2014 Austin Zheng\n;; Released under the terms of the MIT License\n\n(",
"end": 73,
"score": 0.9997847676277161,
"start": 61,
"tag": "NAME",
"value": "Austin Zheng"
}
] | src/clojure_blog/blog_template.clj | austinzheng/clojure-firefly | 1 | ;; blog_template.clj (clojure-firefly)
;; Copyright (c) 2014 Austin Zheng
;; Released under the terms of the MIT License
(ns clojure-blog.blog-template
(:use clojure-blog.template)
(:require
[clojure-blog.tags :as tags]
[clojure-blog.routes :as r]
[clojure-blog.util :as util]
[clojure-blog.settings... | 114846 | ;; blog_template.clj (clojure-firefly)
;; Copyright (c) 2014 <NAME>
;; Released under the terms of the MIT License
(ns clojure-blog.blog-template
(:use clojure-blog.template)
(:require
[clojure-blog.tags :as tags]
[clojure-blog.routes :as r]
[clojure-blog.util :as util]
[clojure-blog.settings :as s... | true | ;; blog_template.clj (clojure-firefly)
;; Copyright (c) 2014 PI:NAME:<NAME>END_PI
;; Released under the terms of the MIT License
(ns clojure-blog.blog-template
(:use clojure-blog.template)
(:require
[clojure-blog.tags :as tags]
[clojure-blog.routes :as r]
[clojure-blog.util :as util]
[clojure-blog.... |
[
{
"context": ";;\n;; Copyright (C) 2011,2012 Carlo Sciolla\n;;\n;; Licensed under the Apache License, Version ",
"end": 43,
"score": 0.9998396039009094,
"start": 30,
"tag": "NAME",
"value": "Carlo Sciolla"
}
] | src/clojure/alfresco/content.clj | deas/lambdalf | 1 | ;;
;; Copyright (C) 2011,2012 Carlo Sciolla
;;
;; 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... | 34692 | ;;
;; Copyright (C) 2011,2012 <NAME>
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed... | true | ;;
;; Copyright (C) 2011,2012 PI:NAME:<NAME>END_PI
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable... |
[
{
"context": "----------------------------\n;; Copyright (c) 2011 Basho Technologies, Inc. All Rights Reserved.\n;;\n;; This file is pr",
"end": 111,
"score": 0.9060523509979248,
"start": 93,
"tag": "NAME",
"value": "Basho Technologies"
}
] | src/knockbox/resolvable.clj | reiddraper/knockbox | 34 | ;; -------------------------------------------------------------------
;; Copyright (c) 2011 Basho Technologies, Inc. All Rights Reserved.
;;
;; This file is provided to you under the Apache License,
;; Version 2.0 (the "License"); you may not use this file
;; except in compliance with the License. You may obtain
;; ... | 95294 | ;; -------------------------------------------------------------------
;; Copyright (c) 2011 <NAME>, Inc. All Rights Reserved.
;;
;; This file is provided to you under the Apache License,
;; Version 2.0 (the "License"); you may not use this file
;; except in compliance with the License. You may obtain
;; a copy of th... | true | ;; -------------------------------------------------------------------
;; Copyright (c) 2011 PI:NAME:<NAME>END_PI, Inc. All Rights Reserved.
;;
;; This file is provided to you under the Apache License,
;; Version 2.0 (the "License"); you may not use this file
;; except in compliance with the License. You may obtain
;... |
[
{
"context": "ence\n; Date: March 31, 2016.\n; Authors:\n; A01371743 Luis Eduardo Ballinas Aguilar\n;------------------",
"end": 146,
"score": 0.9869769215583801,
"start": 137,
"tag": "USERNAME",
"value": "A01371743"
},
{
"context": "e: March 31, 2016.\n; Authors:\n; ... | 4clojure/problem_49.clj | lu15v/TC2006 | 0 | ;----------------------------------------------------------
; Problem 49: Split a sequence
; Date: March 31, 2016.
; Authors:
; A01371743 Luis Eduardo Ballinas Aguilar
;----------------------------------------------------------
(use 'clojure.test)
(defn problem49
[n vectr]
(let [fst (vector (vec (first ... | 77930 | ;----------------------------------------------------------
; Problem 49: Split a sequence
; Date: March 31, 2016.
; Authors:
; A01371743 <NAME>
;----------------------------------------------------------
(use 'clojure.test)
(defn problem49
[n vectr]
(let [fst (vector (vec (first (partition-all n vectr)... | true | ;----------------------------------------------------------
; Problem 49: Split a sequence
; Date: March 31, 2016.
; Authors:
; A01371743 PI:NAME:<NAME>END_PI
;----------------------------------------------------------
(use 'clojure.test)
(defn problem49
[n vectr]
(let [fst (vector (vec (first (partitio... |
[
{
"context": " \") lines))\n\n;;; The following is taken from Alex Baranosky's gui-diff\n;;; https://github.com/AlexBaranosky/g",
"end": 1153,
"score": 0.8378570675849915,
"start": 1139,
"tag": "NAME",
"value": "Alex Baranosky"
},
{
"context": " Alex Baranosky's gui-diff\n;;; h... | src/midje/emission/plugins/util.clj | MerelyAPseudonym/shallow-Midje | 0 | (ns ^{:doc "General purpose plugin utilities"}
midje.emission.plugins.util
(:use commons.clojure.core
[clojure.repl :only [demunge]])
(:require [clojure.string :as str]
[midje.util.pile :as pile]
[midje.emission.clojure-test-facade :as ctf]
[midje.emission.colorize :as ... | 32545 | (ns ^{:doc "General purpose plugin utilities"}
midje.emission.plugins.util
(:use commons.clojure.core
[clojure.repl :only [demunge]])
(:require [clojure.string :as str]
[midje.util.pile :as pile]
[midje.emission.clojure-test-facade :as ctf]
[midje.emission.colorize :as ... | true | (ns ^{:doc "General purpose plugin utilities"}
midje.emission.plugins.util
(:use commons.clojure.core
[clojure.repl :only [demunge]])
(:require [clojure.string :as str]
[midje.util.pile :as pile]
[midje.emission.clojure-test-facade :as ctf]
[midje.emission.colorize :as ... |
[
{
"context": "r]\n [goog.fx.dom :as fx]\n [mranderson048.re-frame.v0v10v6.re-frame.core :as rf]\n ",
"end": 134,
"score": 0.6823164224624634,
"start": 122,
"tag": "USERNAME",
"value": "randerson048"
},
{
"context": "8.re-frame-10x.utils.re-com :as rc]\n... | src/day8/re_frame_10x/view/components.cljs | kajism/re-frame-10x | 0 | (ns day8.re-frame-10x.view.components
(:require [clojure.string :as str]
[goog.fx.dom :as fx]
[mranderson048.re-frame.v0v10v6.re-frame.core :as rf]
[clojure.string :as str]
[day8.re-frame-10x.utils.re-com :as rc]
[mranderson048.reagent.v0v7v0.reagent.core :a... | 1914 | (ns day8.re-frame-10x.view.components
(:require [clojure.string :as str]
[goog.fx.dom :as fx]
[mranderson048.re-frame.v0v10v6.re-frame.core :as rf]
[clojure.string :as str]
[day8.re-frame-10x.utils.re-com :as rc]
[mranderson048.reagent.v0v7v0.reagent.core :a... | true | (ns day8.re-frame-10x.view.components
(:require [clojure.string :as str]
[goog.fx.dom :as fx]
[mranderson048.re-frame.v0v10v6.re-frame.core :as rf]
[clojure.string :as str]
[day8.re-frame-10x.utils.re-com :as rc]
[mranderson048.reagent.v0v7v0.reagent.core :a... |
[
{
"context": " [tenet.response :as r]))\n\n\n;; TODO: [2022-05-02, ilshat@sultanov.team] validate opts\n\n(defn init!\n ([^js sentry]\n (i",
"end": 253,
"score": 0.9999041557312012,
"start": 233,
"tag": "EMAIL",
"value": "ilshat@sultanov.team"
}
] | src/main/clojure/metaverse/common/reporter.cljs | sultanov-team/metaverse | 1 | (ns metaverse.common.reporter
(:require
[metaverse.common.env :as env]
[metaverse.common.logger :as log :include-macros true]
[metaverse.common.utils.string :as str]
[tenet.response :as r]))
;; TODO: [2022-05-02, ilshat@sultanov.team] validate opts
(defn init!
([^js sentry]
(init! sentry {}))
... | 101315 | (ns metaverse.common.reporter
(:require
[metaverse.common.env :as env]
[metaverse.common.logger :as log :include-macros true]
[metaverse.common.utils.string :as str]
[tenet.response :as r]))
;; TODO: [2022-05-02, <EMAIL>] validate opts
(defn init!
([^js sentry]
(init! sentry {}))
([^js sentr... | true | (ns metaverse.common.reporter
(:require
[metaverse.common.env :as env]
[metaverse.common.logger :as log :include-macros true]
[metaverse.common.utils.string :as str]
[tenet.response :as r]))
;; TODO: [2022-05-02, PI:EMAIL:<EMAIL>END_PI] validate opts
(defn init!
([^js sentry]
(init! sentry {})... |
[
{
"context": "clj-time.format :as clj-time-format]\n [robert.bruce :refer [try-try-again]]\n [event-data-c",
"end": 353,
"score": 0.6166594624519348,
"start": 341,
"tag": "USERNAME",
"value": "robert.bruce"
},
{
"context": "use a slightly different, more specifi... | src/event_data_agents/util.clj | CrossRef/event-data-agents | 3 | (ns event-data-agents.util
"Utility function available to Agents."
(:require [event-data-common.jwt :as jwt]
[clojure.tools.logging :as log]
[clojure.data.json :as json]
[config.core :refer [env]]
[clj-time.core :as clj-time]
[clj-time.format :as clj-time-... | 115655 | (ns event-data-agents.util
"Utility function available to Agents."
(:require [event-data-common.jwt :as jwt]
[clojure.tools.logging :as log]
[clojure.data.json :as json]
[config.core :refer [env]]
[clj-time.core :as clj-time]
[clj-time.format :as clj-time-... | true | (ns event-data-agents.util
"Utility function available to Agents."
(:require [event-data-common.jwt :as jwt]
[clojure.tools.logging :as log]
[clojure.data.json :as json]
[config.core :refer [env]]
[clj-time.core :as clj-time]
[clj-time.format :as clj-time-... |
[
{
"context": "t.pretty.args/args-classify :added \"2.1\" :author \"Chris Zheng\"}\n(fact \"classifies inputs into `.?` and `.*` mac",
"end": 190,
"score": 0.9998931884765625,
"start": 179,
"tag": "NAME",
"value": "Chris Zheng"
}
] | test/hara/reflect/pretty/args_test.clj | ikitommi/hara | 0 | (ns hara.reflect.pretty.args-test
(:use midje.sweet)
(:require [hara.reflect.pretty.args :refer :all]))
^{:refer hara.reflect.pretty.args/args-classify :added "2.1" :author "Chris Zheng"}
(fact "classifies inputs into `.?` and `.*` macros through matching argument parameters to different inputs"
(map (fn [[i x]... | 56394 | (ns hara.reflect.pretty.args-test
(:use midje.sweet)
(:require [hara.reflect.pretty.args :refer :all]))
^{:refer hara.reflect.pretty.args/args-classify :added "2.1" :author "<NAME>"}
(fact "classifies inputs into `.?` and `.*` macros through matching argument parameters to different inputs"
(map (fn [[i x]] [i ... | true | (ns hara.reflect.pretty.args-test
(:use midje.sweet)
(:require [hara.reflect.pretty.args :refer :all]))
^{:refer hara.reflect.pretty.args/args-classify :added "2.1" :author "PI:NAME:<NAME>END_PI"}
(fact "classifies inputs into `.?` and `.*` macros through matching argument parameters to different inputs"
(map (... |
[
{
"context": "enses\n (with-redefs [tokens/external-account-id \"asd123-asd123-123-asd\"\n tokens/get-inst-ext-accountid-fr",
"end": 432,
"score": 0.9769527912139893,
"start": 411,
"tag": "KEY",
"value": "asd123-asd123-123-asd"
},
{
"context": "institution-id 1000 :de... | test/artstor_metadata_service_os/tokens_test.clj | ithaka/artstor-metadata-service-os | 0 | (ns artstor-metadata-service-os.tokens-test
(:require [artstor-metadata-service-os.tokens :as tokens]
[artstor-metadata-service-os.util :as util]
[clojure.test :refer :all]
[cheshire.core :as json]
[clj-http.client :as http]
[clojure.string :as string]))
(d... | 15851 | (ns artstor-metadata-service-os.tokens-test
(:require [artstor-metadata-service-os.tokens :as tokens]
[artstor-metadata-service-os.util :as util]
[clojure.test :refer :all]
[cheshire.core :as json]
[clj-http.client :as http]
[clojure.string :as string]))
(d... | true | (ns artstor-metadata-service-os.tokens-test
(:require [artstor-metadata-service-os.tokens :as tokens]
[artstor-metadata-service-os.util :as util]
[clojure.test :refer :all]
[cheshire.core :as json]
[clj-http.client :as http]
[clojure.string :as string]))
(d... |
[
{
"context": "& args]\n (pretty-printer (finder (FakeFinder.) \"Alice\") ))\n \n",
"end": 386,
"score": 0.9980168342590332,
"start": 381,
"tag": "NAME",
"value": "Alice"
}
] | Pres-DI-Clojure/demos/test8/src/test8/core.clj | cfalguiere/Presentations | 0 | (ns test8.core
(:use [test8 finder fake]) )
(defprotocol Finder
(finder [this arg]))
(deftype FakeFinder []
Finder
(finder [this arg] (test8.fake/fake-finder arg)))
(deftype RealFinder []
Finder
(finder [this arg] (test8.finder/db-finder arg)))
(defn pretty-printer [value] (str "This is a " value))
(d... | 70224 | (ns test8.core
(:use [test8 finder fake]) )
(defprotocol Finder
(finder [this arg]))
(deftype FakeFinder []
Finder
(finder [this arg] (test8.fake/fake-finder arg)))
(deftype RealFinder []
Finder
(finder [this arg] (test8.finder/db-finder arg)))
(defn pretty-printer [value] (str "This is a " value))
(d... | true | (ns test8.core
(:use [test8 finder fake]) )
(defprotocol Finder
(finder [this arg]))
(deftype FakeFinder []
Finder
(finder [this arg] (test8.fake/fake-finder arg)))
(deftype RealFinder []
Finder
(finder [this arg] (test8.finder/db-finder arg)))
(defn pretty-printer [value] (str "This is a " value))
(d... |
[
{
"context": "s usage stats\"))))))\n\n(def ^:private job-key \"metabase.task.anonymous-stats.job\")\n(def ^:private trigger-",
"end": 1001,
"score": 0.6307482123374939,
"start": 992,
"tag": "KEY",
"value": "metabase."
},
{
"context": "private job-key \"metabase.task.anonymou... | c#-metabase/src/metabase/task/send_anonymous_stats.clj | hanakhry/Crime_Admin | 0 | (ns metabase.task.send-anonymous-stats
"Contains a Metabase task which periodically sends anonymous usage information to the Metabase team."
(:require [clojure.tools.logging :as log]
[clojurewerkz.quartzite.jobs :as jobs]
[clojurewerkz.quartzite.schedule.cron :as cron]
[clojurewe... | 23519 | (ns metabase.task.send-anonymous-stats
"Contains a Metabase task which periodically sends anonymous usage information to the Metabase team."
(:require [clojure.tools.logging :as log]
[clojurewerkz.quartzite.jobs :as jobs]
[clojurewerkz.quartzite.schedule.cron :as cron]
[clojurewe... | true | (ns metabase.task.send-anonymous-stats
"Contains a Metabase task which periodically sends anonymous usage information to the Metabase team."
(:require [clojure.tools.logging :as log]
[clojurewerkz.quartzite.jobs :as jobs]
[clojurewerkz.quartzite.schedule.cron :as cron]
[clojurewe... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.