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": "bc/execute! db-spec [\"INSERT INTO TEST VALUES(1, 'John', 'Wayne')\"])\n (jdbc/execute! db-spec [\"INSERT",
"end": 4325,
"score": 0.999850869178772,
"start": 4321,
"tag": "NAME",
"value": "John"
},
{
"context": "te! db-spec [\"INSERT INTO TEST VALUES(1, 'John', 'Wayn... | test/clj/cwiki/test/models/h2_upgrade.clj | clartaq/cwiki | 3 | ;;;;
;;;; This file provides a test to assure that the upgrade of the H2 database
;;;; from version 1.4.197 to 1.4.199, along with the concomitant upgrade of
;;;; Lucene from version 3.6.2 to 5.5.5, works correctly.
;;;;
(ns cwiki.test.models.h2-upgrade
(:require [clojure.java.io :as io]
[clojure.java.jd... | 81519 | ;;;;
;;;; This file provides a test to assure that the upgrade of the H2 database
;;;; from version 1.4.197 to 1.4.199, along with the concomitant upgrade of
;;;; Lucene from version 3.6.2 to 5.5.5, works correctly.
;;;;
(ns cwiki.test.models.h2-upgrade
(:require [clojure.java.io :as io]
[clojure.java.jd... | true | ;;;;
;;;; This file provides a test to assure that the upgrade of the H2 database
;;;; from version 1.4.197 to 1.4.199, along with the concomitant upgrade of
;;;; Lucene from version 3.6.2 to 5.5.5, works correctly.
;;;;
(ns cwiki.test.models.h2-upgrade
(:require [clojure.java.io :as io]
[clojure.java.jd... |
[
{
"context": ":> typography {:component \"div\"}\n [:div \"Hello, World Traveller!\"]]\n [:div \"Ready to conquer your jetlag the ne",
"end": 2075,
"score": 0.8709908723831177,
"start": 2060,
"tag": "NAME",
"value": "World Traveller"
}
] | src/main/jetlag/views.cljs | olieidel/jetlag | 3 | (ns jetlag.views
(:require [cljs-time.core :as cljs-time]
[clojure.string :as str]
[jetlag.events :as events]
[jetlag.subs :as subs]
[re-frame.core :as rf :refer [dispatch subscribe]]
[reagent.core :as r]
;; material-ui, `:default` syntax is sha... | 3010 | (ns jetlag.views
(:require [cljs-time.core :as cljs-time]
[clojure.string :as str]
[jetlag.events :as events]
[jetlag.subs :as subs]
[re-frame.core :as rf :refer [dispatch subscribe]]
[reagent.core :as r]
;; material-ui, `:default` syntax is sha... | true | (ns jetlag.views
(:require [cljs-time.core :as cljs-time]
[clojure.string :as str]
[jetlag.events :as events]
[jetlag.subs :as subs]
[re-frame.core :as rf :refer [dispatch subscribe]]
[reagent.core :as r]
;; material-ui, `:default` syntax is sha... |
[
{
"context": "(ns ^{:author \"Adam Berger\"} ulvm.project\n \"Project definition\"\n (:require",
"end": 26,
"score": 0.9998581409454346,
"start": 15,
"tag": "NAME",
"value": "Adam Berger"
}
] | src/ulvm/project.clj | abrgr/ulvm | 0 | (ns ^{:author "Adam Berger"} ulvm.project
"Project definition"
(:require [clojure.spec :as s]
[clojure.zip :as z]
[ulvm.core :as ucore]
[ulvm.spec-utils :as su]
[ulvm.func-utils :as futil]
[ulvm.env-keypaths :as k]
[cats.monad.either :as e]
... | 99791 | (ns ^{:author "<NAME>"} ulvm.project
"Project definition"
(:require [clojure.spec :as s]
[clojure.zip :as z]
[ulvm.core :as ucore]
[ulvm.spec-utils :as su]
[ulvm.func-utils :as futil]
[ulvm.env-keypaths :as k]
[cats.monad.either :as e]
... | true | (ns ^{:author "PI:NAME:<NAME>END_PI"} ulvm.project
"Project definition"
(:require [clojure.spec :as s]
[clojure.zip :as z]
[ulvm.core :as ucore]
[ulvm.spec-utils :as su]
[ulvm.func-utils :as futil]
[ulvm.env-keypaths :as k]
[cats.monad.either :... |
[
{
"context": " (rand-int 100000)\n :name name\n :age age}\n (fix/as referenc",
"end": 1116,
"score": 0.850059986114502,
"start": 1112,
"tag": "NAME",
"value": "name"
}
] | test/fixpoint/datasource/elastic_test.clj | stylefruits/fixpoint | 24 | (ns ^:elastic fixpoint.datasource.elastic-test
(:require [clojure.test :refer :all]
[qbits.spandex :as s]
[fixpoint.datasource.elastic :as elastic]
[fixpoint.core :as fix]))
;; ## Test Datasource
(def test-es
(elastic/make-datasource
:es
(or (System/getenv "FIXPOINT_ELA... | 35409 | (ns ^:elastic fixpoint.datasource.elastic-test
(:require [clojure.test :refer :all]
[qbits.spandex :as s]
[fixpoint.datasource.elastic :as elastic]
[fixpoint.core :as fix]))
;; ## Test Datasource
(def test-es
(elastic/make-datasource
:es
(or (System/getenv "FIXPOINT_ELA... | true | (ns ^:elastic fixpoint.datasource.elastic-test
(:require [clojure.test :refer :all]
[qbits.spandex :as s]
[fixpoint.datasource.elastic :as elastic]
[fixpoint.core :as fix]))
;; ## Test Datasource
(def test-es
(elastic/make-datasource
:es
(or (System/getenv "FIXPOINT_ELA... |
[
{
"context": "; Copyright (c) Rich Hickey. All rights reserved.\n; The use and distributio",
"end": 29,
"score": 0.9998732805252075,
"start": 18,
"tag": "NAME",
"value": "Rich Hickey"
},
{
"context": "tice, or any other, from this software.\n\n; Author: Frantisek Sodomka\n\n;;\n;... | Source/clojure/test_clojure/special.clj | etherny/Arcadia | 1,447 | ; 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 ... | 70588 | ; 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": "UR9238\"\n params {:registration-email \"someone@somewhere.com\"\n :invite-id invite-id}\n ",
"end": 1396,
"score": 0.9998610615730286,
"start": 1375,
"tag": "EMAIL",
"value": "someone@somewhere.com"
},
{
"context": "-attr? [:.clj--re... | test/stonecutter/test/view/index.clj | d-cent/stonecutter | 39 | (ns stonecutter.test.view.index
(:require [midje.sweet :refer :all]
[net.cgrand.enlive-html :as html]
[stonecutter.routes :as r]
[stonecutter.test.view.test-helpers :as th]
[stonecutter.view.index :as i]))
(facts "about index page"
(let [page (-> (th/create-requ... | 69496 | (ns stonecutter.test.view.index
(:require [midje.sweet :refer :all]
[net.cgrand.enlive-html :as html]
[stonecutter.routes :as r]
[stonecutter.test.view.test-helpers :as th]
[stonecutter.view.index :as i]))
(facts "about index page"
(let [page (-> (th/create-requ... | true | (ns stonecutter.test.view.index
(:require [midje.sweet :refer :all]
[net.cgrand.enlive-html :as html]
[stonecutter.routes :as r]
[stonecutter.test.view.test-helpers :as th]
[stonecutter.view.index :as i]))
(facts "about index page"
(let [page (-> (th/create-requ... |
[
{
"context": " sign-up-validations\n {:email \\\"\\\" :password \\\"pass\\\"})\n ; => {:email #{\\\"is required\\\"}\n ; :pa",
"end": 1365,
"score": 0.9965409636497498,
"start": 1361,
"tag": "PASSWORD",
"value": "pass"
},
{
"context": " {:email #{\\\"is required\\\"}\n ; ... | src/heckle/core.cljc | nwallace/heckle | 0 | (ns heckle.core)
(defn validate
"Check the given validation functions against the given data and return a (possibly empty) collection of errors. Error messages are grouped by field.
Arguments:
- `validations` - a list of validation functions to be checked against the data. Each validation function should return a... | 86538 | (ns heckle.core)
(defn validate
"Check the given validation functions against the given data and return a (possibly empty) collection of errors. Error messages are grouped by field.
Arguments:
- `validations` - a list of validation functions to be checked against the data. Each validation function should return a... | true | (ns heckle.core)
(defn validate
"Check the given validation functions against the given data and return a (possibly empty) collection of errors. Error messages are grouped by field.
Arguments:
- `validations` - a list of validation functions to be checked against the data. Each validation function should return a... |
[
{
"context": " :hostname \"localhost\"\n :username \"flugger\"\n :password \"flugger\"})\n\n(defn clean",
"end": 300,
"score": 0.9996245503425598,
"start": 293,
"tag": "USERNAME",
"value": "flugger"
},
{
"context": " :username \"flugger\"\n ... | test/flugger/db/entity_test.clj | vstukanov/flugger | 1 | (ns flugger.db.entity-test
(:require [clojure.test :refer :all]
[flugger.db.client :as db]
[flugger.model.service :as service]
[honeysql.helpers :as q]))
(def test-db {:database "flugger-test"
:hostname "localhost"
:username "flugger"
:pas... | 97334 | (ns flugger.db.entity-test
(:require [clojure.test :refer :all]
[flugger.db.client :as db]
[flugger.model.service :as service]
[honeysql.helpers :as q]))
(def test-db {:database "flugger-test"
:hostname "localhost"
:username "flugger"
:pas... | true | (ns flugger.db.entity-test
(:require [clojure.test :refer :all]
[flugger.db.client :as db]
[flugger.model.service :as service]
[honeysql.helpers :as q]))
(def test-db {:database "flugger-test"
:hostname "localhost"
:username "flugger"
:pas... |
[
{
"context": "xample.com\"\n :scrapernews.specs/author \"A. N. Other\"\n :scrapernews.specs/points 1\n ",
"end": 628,
"score": 0.9766660928726196,
"start": 617,
"tag": "NAME",
"value": "A. N. Other"
}
] | test/scrapernews/specs_test.clj | neilwashere/scrapernews | 0 | (ns scrapernews.specs-test
(:require [scrapernews.specs :as sut]
[clojure.test :as t]
[clojure.spec :as s]))
;; TODO -These tests are fairly simplistic and could be make more robust
;; using generators from the `clojure.spec.gen' namespace. I've ommited this as
;; there is it requires adding ... | 88973 | (ns scrapernews.specs-test
(:require [scrapernews.specs :as sut]
[clojure.test :as t]
[clojure.spec :as s]))
;; TODO -These tests are fairly simplistic and could be make more robust
;; using generators from the `clojure.spec.gen' namespace. I've ommited this as
;; there is it requires adding ... | true | (ns scrapernews.specs-test
(:require [scrapernews.specs :as sut]
[clojure.test :as t]
[clojure.spec :as s]))
;; TODO -These tests are fairly simplistic and could be make more robust
;; using generators from the `clojure.spec.gen' namespace. I've ommited this as
;; there is it requires adding ... |
[
{
"context": ";; Copyright 2014-2020 King\n;; Copyright 2009-2014 Ragnar Svensson, Christian Murray\n;; Licensed under the Defold Li",
"end": 111,
"score": 0.9998144507408142,
"start": 96,
"tag": "NAME",
"value": "Ragnar Svensson"
},
{
"context": "-2020 King\n;; Copyright 2009-2014 R... | editor/test/internal/transaction_test.clj | cmarincia/defold | 0 | ;; Copyright 2020-2022 The Defold Foundation
;; Copyright 2014-2020 King
;; Copyright 2009-2014 Ragnar Svensson, Christian Murray
;; Licensed under the Defold License version 1.0 (the "License"); you may not use
;; this file except in compliance with the License.
;;
;; You may obtain a copy of the License, together wi... | 124229 | ;; 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": "-repl []\n (main\n {:username \"u\"\n :password \"p\"\n :strat-id :za-rookie\n :balance false}))\n\n",
"end": 529,
"score": 0.9995297193527222,
"start": 528,
"tag": "PASSWORD",
"value": "p"
}
] | src/invstr/core.clj | SneakyPeet/invstr | 0 | (ns invstr.core
(:gen-class)
(:require [invstr.strategies :as strategies]
[invstr.balance :as balance]))
(defn main [{:keys [username password strat-id balance] :as opts}]
(prn "== fetch strats")
(let [strategy (strategies/process-latest opts)]
(strategies/print-result strategy)
(when bal... | 115149 | (ns invstr.core
(:gen-class)
(:require [invstr.strategies :as strategies]
[invstr.balance :as balance]))
(defn main [{:keys [username password strat-id balance] :as opts}]
(prn "== fetch strats")
(let [strategy (strategies/process-latest opts)]
(strategies/print-result strategy)
(when bal... | true | (ns invstr.core
(:gen-class)
(:require [invstr.strategies :as strategies]
[invstr.balance :as balance]))
(defn main [{:keys [username password strat-id balance] :as opts}]
(prn "== fetch strats")
(let [strategy (strategies/process-latest opts)]
(strategies/print-result strategy)
(when bal... |
[
{
"context": ";; The MIT License (MIT)\n\n;; Copyright (c) 2016 Stuart Sierra as part of the MapGraph\n;; project (https://githu",
"end": 61,
"score": 0.9998106360435486,
"start": 48,
"tag": "NAME",
"value": "Stuart Sierra"
},
{
"context": "rt of the MapGraph\n;; project (https://git... | test/vimsical/subgraph/examples.cljc | p-himik/subgraph | 60 | ;; The MIT License (MIT)
;; Copyright (c) 2016 Stuart Sierra as part of the MapGraph
;; project (https://github.com/stuartsierra/mapgraph)
;; Copyright (c) 2017 Vimsical
;; Permission is hereby granted, free of charge, to any person
;; obtaining a copy of this software and associated documentation
;; files (the "Sof... | 72922 | ;; The MIT License (MIT)
;; Copyright (c) 2016 <NAME> as part of the MapGraph
;; project (https://github.com/stuartsierra/mapgraph)
;; Copyright (c) 2017 Vimsical
;; Permission is hereby granted, free of charge, to any person
;; obtaining a copy of this software and associated documentation
;; files (the "Software")... | true | ;; The MIT License (MIT)
;; Copyright (c) 2016 PI:NAME:<NAME>END_PI as part of the MapGraph
;; project (https://github.com/stuartsierra/mapgraph)
;; Copyright (c) 2017 Vimsical
;; Permission is hereby granted, free of charge, to any person
;; obtaining a copy of this software and associated documentation
;; files (t... |
[
{
"context": "ое поселение\"\n\"Широковское сельское поселение\"\n\n\"Районы г. Перми\"\n\n\"Дзержинский\"\n\"Индустриальный\"\n\"Киро",
"end": 2021,
"score": 0.6276670694351196,
"start": 2018,
"tag": "NAME",
"value": "айо"
},
{
"context": "вердловский\"\n\n\"ЗАТО Звездный\"\n\"г. Бе... | src/clj/odpr/loader.clj | yakov-bakhmatov/odpr | 1 | (ns odpr.loader
(:require [clj-soap.core :as soap]
[clojure.xml :as xml]
[clojure.java.io :as io]
[clojure.data.csv :as csv]
[clojure.edn :as edn]
[clojure.string :as string]
[clj-time.core :as date-core]
[clj-time.format :as date-for... | 123897 | (ns odpr.loader
(:require [clj-soap.core :as soap]
[clojure.xml :as xml]
[clojure.java.io :as io]
[clojure.data.csv :as csv]
[clojure.edn :as edn]
[clojure.string :as string]
[clj-time.core :as date-core]
[clj-time.format :as date-for... | true | (ns odpr.loader
(:require [clj-soap.core :as soap]
[clojure.xml :as xml]
[clojure.java.io :as io]
[clojure.data.csv :as csv]
[clojure.edn :as edn]
[clojure.string :as string]
[clj-time.core :as date-core]
[clj-time.format :as date-for... |
[
{
"context": "e {:status \"planning\"\n :name \"Analyysikohde\"\n :owner \"unknown\"\n ",
"end": 26905,
"score": 0.6209647059440613,
"start": 26900,
"tag": "NAME",
"value": "Analy"
}
] | webapp/src/cljs/lipas/ui/map/events.cljs | lipas-liikuntapaikat/lipas | 49 | (ns lipas.ui.map.events
(:require
["ol" :as ol]
[ajax.core :as ajax]
[cemerick.url :as url]
[clojure.set :as set]
[clojure.string :as string]
[goog.object :as gobj]
[goog.string :as gstring]
[goog.string.format]
[goog.string.path :as gpath]
[lipas.ui.map.utils :as map-utils]
[lipas.ui... | 122927 | (ns lipas.ui.map.events
(:require
["ol" :as ol]
[ajax.core :as ajax]
[cemerick.url :as url]
[clojure.set :as set]
[clojure.string :as string]
[goog.object :as gobj]
[goog.string :as gstring]
[goog.string.format]
[goog.string.path :as gpath]
[lipas.ui.map.utils :as map-utils]
[lipas.ui... | true | (ns lipas.ui.map.events
(:require
["ol" :as ol]
[ajax.core :as ajax]
[cemerick.url :as url]
[clojure.set :as set]
[clojure.string :as string]
[goog.object :as gobj]
[goog.string :as gstring]
[goog.string.format]
[goog.string.path :as gpath]
[lipas.ui.map.utils :as map-utils]
[lipas.ui... |
[
{
"context": "est should-find-team-with-min-goal-diff\n (is (= \"Aston_Villa\" (find-team-with-min-goal-diff)))\n)\n(deftest shou",
"end": 1362,
"score": 0.9957784414291382,
"start": 1351,
"tag": "NAME",
"value": "Aston_Villa"
}
] | clojure/datamunging/datamunging0.clj | dkandalov/katas | 7 | (ns datamunging.datamunging0
(:use [clojure.string :only [split]]
clojure.test))
(defn read-file-lines [file-name] (vec (.split (slurp file-name) "\n")))
(defn as-int [s] (. Integer parseInt (.replace s "*" "")))
(defn split-each-line [lines] (map #(vec (.split (.trim %) "\\s+")) lines))
(defn find-row-with-... | 100330 | (ns datamunging.datamunging0
(:use [clojure.string :only [split]]
clojure.test))
(defn read-file-lines [file-name] (vec (.split (slurp file-name) "\n")))
(defn as-int [s] (. Integer parseInt (.replace s "*" "")))
(defn split-each-line [lines] (map #(vec (.split (.trim %) "\\s+")) lines))
(defn find-row-with-... | true | (ns datamunging.datamunging0
(:use [clojure.string :only [split]]
clojure.test))
(defn read-file-lines [file-name] (vec (.split (slurp file-name) "\n")))
(defn as-int [s] (. Integer parseInt (.replace s "*" "")))
(defn split-each-line [lines] (map #(vec (.split (.trim %) "\\s+")) lines))
(defn find-row-with-... |
[
{
"context": "о точек\n (take (+ 1 max)))))\n\n;; Алгоритм антиалиасинга Ву\n(defmethod line-points :wu [{[x1 y",
"end": 1938,
"score": 0.5574211478233337,
"start": 1937,
"tag": "NAME",
"value": "а"
}
] | src/cljc/labs_4_cource/first_order_lines.cljc | Rizhi-KotE/labs-4-course | 1 | (ns labs-4-cource.first-order-lines
#?(:clj (:gen-class))
(:require [labs-4-cource.math-helpers :refer [abs round round-vec sign]]))
(defn ->SimpleLine
[p1 p2]
{:pre [(not (nil? p1)) (not (nil? p2))]}
{:type :simple :p1 (round-vec p1) :p2 (round-vec p2)})
(defn ->BrezenhameLine
[p1 p2]
{:pre [(not (nil?... | 86426 | (ns labs-4-cource.first-order-lines
#?(:clj (:gen-class))
(:require [labs-4-cource.math-helpers :refer [abs round round-vec sign]]))
(defn ->SimpleLine
[p1 p2]
{:pre [(not (nil? p1)) (not (nil? p2))]}
{:type :simple :p1 (round-vec p1) :p2 (round-vec p2)})
(defn ->BrezenhameLine
[p1 p2]
{:pre [(not (nil?... | true | (ns labs-4-cource.first-order-lines
#?(:clj (:gen-class))
(:require [labs-4-cource.math-helpers :refer [abs round round-vec sign]]))
(defn ->SimpleLine
[p1 p2]
{:pre [(not (nil? p1)) (not (nil? p2))]}
{:type :simple :p1 (round-vec p1) :p2 (round-vec p2)})
(defn ->BrezenhameLine
[p1 p2]
{:pre [(not (nil?... |
[
{
"context": "e w)\n \n (time (append \"RICHO\" #_{:a 1 :b 2 :c \"Richo, capo\"}))\n\n (require '[clojure.core.async :as a :refer",
"end": 2194,
"score": 0.9945055246353149,
"start": 2183,
"tag": "NAME",
"value": "Richo, capo"
}
] | middleware/server/src/middleware/utils/eventlog.clj | GIRA/UziScript | 15 | (ns middleware.utils.eventlog
(:require [clojure.java.io :as io]
[clojure.data.csv :as csv]
[clojure.string :as str]
[middleware.utils.config :as config]
[middleware.utils.core :refer [parse-int random-uuid]]))
(def pc-id (try
(slurp "pc.uuid")
... | 12140 | (ns middleware.utils.eventlog
(:require [clojure.java.io :as io]
[clojure.data.csv :as csv]
[clojure.string :as str]
[middleware.utils.config :as config]
[middleware.utils.core :refer [parse-int random-uuid]]))
(def pc-id (try
(slurp "pc.uuid")
... | true | (ns middleware.utils.eventlog
(:require [clojure.java.io :as io]
[clojure.data.csv :as csv]
[clojure.string :as str]
[middleware.utils.config :as config]
[middleware.utils.core :refer [parse-int random-uuid]]))
(def pc-id (try
(slurp "pc.uuid")
... |
[
{
"context": ";; The MIT License (MIT)\n;;\n;; Copyright (c) 2016 Richard Hull\n;;\n;; Permission is hereby granted, free of charg",
"end": 62,
"score": 0.9997906684875488,
"start": 50,
"tag": "NAME",
"value": "Richard Hull"
}
] | test/clustering/distance/spearman_test.clj | CharlesHD/clustering | 17 | ;; The MIT License (MIT)
;;
;; Copyright (c) 2016 Richard Hull
;;
;; Permission is hereby granted, free of charge, to any person obtaining a copy
;; of this software and associated documentation files (the "Software"), to deal
;; in the Software without restriction, including without limitation the rights
;; to use, co... | 20277 | ;; The MIT License (MIT)
;;
;; Copyright (c) 2016 <NAME>
;;
;; Permission is hereby granted, free of charge, to any person obtaining a copy
;; of this software and associated documentation files (the "Software"), to deal
;; in the Software without restriction, including without limitation the rights
;; to use, copy, mo... | true | ;; The MIT License (MIT)
;;
;; Copyright (c) 2016 PI:NAME:<NAME>END_PI
;;
;; Permission is hereby granted, free of charge, to any person obtaining a copy
;; of this software and associated documentation files (the "Software"), to deal
;; in the Software without restriction, including without limitation the rights
;; to... |
[
{
"context": " conn \"Frida\")\n\n (gossip/send-all conn \"gossip\" \"Frida\" \"hi\")\n\n (add-player! app conn \"Thor\")\n\n (gossi",
"end": 1855,
"score": 0.9837164878845215,
"start": 1850,
"tag": "NAME",
"value": "Frida"
},
{
"context": " \"gossip\" \"Frida\" \"hi\")\n\n (add-... | src/cljgossip/testapp.clj | kbsant/cljgossip-testapp | 0 | ;; This app is a test repl session, for now.
;; To use it, load this name space in the repl and evaluate each expression as needed.
(ns cljgossip.testapp
(:require
[cljgossip.core :as gossip]
[cljgossip.wsclient :as client]
[cljgossip.handlers :as handlers]))
;; The test applicat... | 2525 | ;; This app is a test repl session, for now.
;; To use it, load this name space in the repl and evaluate each expression as needed.
(ns cljgossip.testapp
(:require
[cljgossip.core :as gossip]
[cljgossip.wsclient :as client]
[cljgossip.handlers :as handlers]))
;; The test applicat... | true | ;; This app is a test repl session, for now.
;; To use it, load this name space in the repl and evaluate each expression as needed.
(ns cljgossip.testapp
(:require
[cljgossip.core :as gossip]
[cljgossip.wsclient :as client]
[cljgossip.handlers :as handlers]))
;; The test applicat... |
[
{
"context": ";; The MIT License (MIT)\n;;\n;; Copyright (c) 2015 Richard Hull\n;;\n;; Permission is hereby granted, free of charg",
"end": 62,
"score": 0.9997519850730896,
"start": 50,
"tag": "NAME",
"value": "Richard Hull"
}
] | test/wam/instruction_set_test.clj | rm-hull/wam | 23 | ;; The MIT License (MIT)
;;
;; Copyright (c) 2015 Richard Hull
;;
;; Permission is hereby granted, free of charge, to any person obtaining a copy
;; of this software and associated documentation files (the "Software"), to deal
;; in the Software without restriction, including without limitation the rights
;; to use, co... | 5908 | ;; The MIT License (MIT)
;;
;; Copyright (c) 2015 <NAME>
;;
;; Permission is hereby granted, free of charge, to any person obtaining a copy
;; of this software and associated documentation files (the "Software"), to deal
;; in the Software without restriction, including without limitation the rights
;; to use, copy, mo... | true | ;; The MIT License (MIT)
;;
;; Copyright (c) 2015 PI:NAME:<NAME>END_PI
;;
;; Permission is hereby granted, free of charge, to any person obtaining a copy
;; of this software and associated documentation files (the "Software"), to deal
;; in the Software without restriction, including without limitation the rights
;; to... |
[
{
"context": "(comment \n re-core, Copyright 2012 Ronen Narkis, narkisr.com\n Licensed under the Apache License",
"end": 49,
"score": 0.9998825192451477,
"start": 37,
"tag": "NAME",
"value": "Ronen Narkis"
},
{
"context": "omment \n re-core, Copyright 2012 Ronen Narkis, narkisr... | src/hooks/dnsmasq.clj | celestial-ops/core | 1 | (comment
re-core, Copyright 2012 Ronen Narkis, narkisr.com
Licensed under the Apache License,
Version 2.0 (the "License") you may not use this file except in compliance with the License.
You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law... | 5613 | (comment
re-core, Copyright 2012 <NAME>, n<EMAIL>
Licensed under the Apache License,
Version 2.0 (the "License") you may not use this file except in compliance with the License.
You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agree... | true | (comment
re-core, Copyright 2012 PI:NAME:<NAME>END_PI, nPI:EMAIL:<EMAIL>END_PI
Licensed under the Apache License,
Version 2.0 (the "License") you may not use this file except in compliance with the License.
You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless requir... |
[
{
"context": "st\"})]\n (is (= {:success? true} (t/send-email \"test@example.com\" (content/trial-ending {})))\n \"should retu",
"end": 885,
"score": 0.9999262690544128,
"start": 869,
"tag": "EMAIL",
"value": "test@example.com"
},
{
"context": "led!\")\n ... | code/test/sixsq/nuvla/server/resources/email/sending_test.clj | nuvla/server | 0 | (ns sixsq.nuvla.server.resources.email.sending-test
(:require
[clojure.test :refer [deftest is testing]]
[postal.core :as postal]
[sixsq.nuvla.server.resources.common.crud :as crud]
[sixsq.nuvla.server.resources.email.content :as content]
[sixsq.nuvla.server.resources.email.sending :as t])
(:imp... | 19903 | (ns sixsq.nuvla.server.resources.email.sending-test
(:require
[clojure.test :refer [deftest is testing]]
[postal.core :as postal]
[sixsq.nuvla.server.resources.common.crud :as crud]
[sixsq.nuvla.server.resources.email.content :as content]
[sixsq.nuvla.server.resources.email.sending :as t])
(:imp... | true | (ns sixsq.nuvla.server.resources.email.sending-test
(:require
[clojure.test :refer [deftest is testing]]
[postal.core :as postal]
[sixsq.nuvla.server.resources.common.crud :as crud]
[sixsq.nuvla.server.resources.email.content :as content]
[sixsq.nuvla.server.resources.email.sending :as t])
(:imp... |
[
{
"context": "ctor]))\n\n;; Based on Blobscanner example sketch by Antonio Molinaro:\n;; https://github.com/robdanet/blobscanner/blob/",
"end": 329,
"score": 0.9998937845230103,
"start": 313,
"tag": "NAME",
"value": "Antonio Molinaro"
},
{
"context": "sketch by Antonio Molinaro:\n;; ... | BigGiantProjectWhichNeedsToBeDecomposed/src/videotest/blob/find_centroids_cvgray.clj | PasDeChocolat/QuilCV | 3 | (ns videotest.blob.find-centroids-cvgray
(:require
[quil.core :as q]
[quil.middleware :as m]
[videotest.blob.cv :as cv])
(:import
[org.opencv.core CvType Mat]
[org.opencv.imgproc Imgproc]
[java.nio ByteBuffer ByteOrder]
[blobscanner Detector]))
;; Based on Blobscanner example sketch by Antonio... | 53156 | (ns videotest.blob.find-centroids-cvgray
(:require
[quil.core :as q]
[quil.middleware :as m]
[videotest.blob.cv :as cv])
(:import
[org.opencv.core CvType Mat]
[org.opencv.imgproc Imgproc]
[java.nio ByteBuffer ByteOrder]
[blobscanner Detector]))
;; Based on Blobscanner example sketch by <NAME>:... | true | (ns videotest.blob.find-centroids-cvgray
(:require
[quil.core :as q]
[quil.middleware :as m]
[videotest.blob.cv :as cv])
(:import
[org.opencv.core CvType Mat]
[org.opencv.imgproc Imgproc]
[java.nio ByteBuffer ByteOrder]
[blobscanner Detector]))
;; Based on Blobscanner example sketch by PI:NAME... |
[
{
"context": " conn\n \"zk+test-rx@heyzk.com\"\n \"Test1234\"))]\n\n [{::te",
"end": 659,
"score": 0.9998859167098999,
"start": 639,
"tag": "EMAIL",
"value": "zk+test-rx@heyzk.com"
},
{
"context": " \"zk+test-rx@hey... | src/cljs/rx/box/auth_test.cljs | zk/rx-lib | 0 | (ns rx.box.auth-test
(:require [rx.kitchen-sink :as ks]
[rx.anom :as anom :refer-macros [<?]]
[rx.test :as test
:refer-macros [thrown]]
[rx.res :as res]
[rx.box.auth :as a]
[rx.box.test-helpers :as th]
[cljs.core.async :as async
... | 97702 | (ns rx.box.auth-test
(:require [rx.kitchen-sink :as ks]
[rx.anom :as anom :refer-macros [<?]]
[rx.test :as test
:refer-macros [thrown]]
[rx.res :as res]
[rx.box.auth :as a]
[rx.box.test-helpers :as th]
[cljs.core.async :as async
... | true | (ns rx.box.auth-test
(:require [rx.kitchen-sink :as ks]
[rx.anom :as anom :refer-macros [<?]]
[rx.test :as test
:refer-macros [thrown]]
[rx.res :as res]
[rx.box.auth :as a]
[rx.box.test-helpers :as th]
[cljs.core.async :as async
... |
[
{
"context": "il\n;;;; Purpose: Utility code.\n;;;; Written by: Ron Ferguson, Leidos\n;;;; Created: 2014-04-26\n;;;; Updated:",
"end": 87,
"score": 0.9998450875282288,
"start": 75,
"tag": "NAME",
"value": "Ron Ferguson"
}
] | src/dray/util.clj | visthink/dray2 | 1 | ;;;; Name: dray.util
;;;; Purpose: Utility code.
;;;; Written by: Ron Ferguson, Leidos
;;;; Created: 2014-04-26
;;;; Updated: 2014-05-08
;;;;
(ns dray.util
"Utility routines used by DRAY. These routines are not part of the API, and may change, but
are documented here for reference."
(:import (java... | 40451 | ;;;; Name: dray.util
;;;; Purpose: Utility code.
;;;; Written by: <NAME>, Leidos
;;;; Created: 2014-04-26
;;;; Updated: 2014-05-08
;;;;
(ns dray.util
"Utility routines used by DRAY. These routines are not part of the API, and may change, but
are documented here for reference."
(:import (java.io Fi... | true | ;;;; Name: dray.util
;;;; Purpose: Utility code.
;;;; Written by: PI:NAME:<NAME>END_PI, Leidos
;;;; Created: 2014-04-26
;;;; Updated: 2014-05-08
;;;;
(ns dray.util
"Utility routines used by DRAY. These routines are not part of the API, and may change, but
are documented here for reference."
(:impo... |
[
{
"context": "9.5-pre10\"]\n [com.oracle/ojdbc7 \"12.1.0.1\"]\n [org.postgresql/postgresql \"9.",
"end": 1033,
"score": 0.6921600103378296,
"start": 1026,
"tag": "IP_ADDRESS",
"value": "2.1.0.1"
}
] | project.clj | ithaka/artstor-group-service-os | 0 | (defproject artstor-group-service "0.0.7-SNAPSHOT"
:description "AIW Group Service"
:url "http://www.artstor.org/"
:license {:name "MIT License"
:url "https://opensource.org/licenses/MIT"}
:dependencies [[org.clojure/clojure "1.8.0"]
[org.clojure/data.json "0.2.6"]
... | 25559 | (defproject artstor-group-service "0.0.7-SNAPSHOT"
:description "AIW Group Service"
:url "http://www.artstor.org/"
:license {:name "MIT License"
:url "https://opensource.org/licenses/MIT"}
:dependencies [[org.clojure/clojure "1.8.0"]
[org.clojure/data.json "0.2.6"]
... | true | (defproject artstor-group-service "0.0.7-SNAPSHOT"
:description "AIW Group Service"
:url "http://www.artstor.org/"
:license {:name "MIT License"
:url "https://opensource.org/licenses/MIT"}
:dependencies [[org.clojure/clojure "1.8.0"]
[org.clojure/data.json "0.2.6"]
... |
[
{
"context": ".datomic.format :as f]))\n\n(def photo-service-key :system/cloudinary)\n(defn photo-service [chan]\n (cloudinary-test ch",
"end": 410,
"score": 0.9952483177185059,
"start": 393,
"tag": "KEY",
"value": "system/cloudinary"
}
] | test/eponai/server/api/store/product_test.clj | eponai/sulolive | 181 | (ns eponai.server.api.store.product-test
(:require
[clojure.test :refer :all]
[eponai.common.database :as db]
[clojure.core.async :as async]
[eponai.server.api.store.test-util :refer [store-test s3-test cloudinary-test]]
[eponai.server.test-util :refer [new-db]]
[eponai.server.api.store :as st... | 102874 | (ns eponai.server.api.store.product-test
(:require
[clojure.test :refer :all]
[eponai.common.database :as db]
[clojure.core.async :as async]
[eponai.server.api.store.test-util :refer [store-test s3-test cloudinary-test]]
[eponai.server.test-util :refer [new-db]]
[eponai.server.api.store :as st... | true | (ns eponai.server.api.store.product-test
(:require
[clojure.test :refer :all]
[eponai.common.database :as db]
[clojure.core.async :as async]
[eponai.server.api.store.test-util :refer [store-test s3-test cloudinary-test]]
[eponai.server.test-util :refer [new-db]]
[eponai.server.api.store :as st... |
[
{
"context": "file is part of gorilla-repl. Copyright (C) 2014-, Jony Hudson.\n;;;;\n;;;; gorilla-repl is licenced to you under ",
"end": 72,
"score": 0.9996723532676697,
"start": 61,
"tag": "NAME",
"value": "Jony Hudson"
}
] | src/gorilla_repl/table.clj | dasmoth/gorilla-repl | 1 | ;;;; This file is part of gorilla-repl. Copyright (C) 2014-, Jony Hudson.
;;;;
;;;; gorilla-repl is licenced to you under the MIT licence. See the file LICENCE.txt for full details.
(ns gorilla-repl.table
(:require [gorilla-renderable.core :as render]))
(defrecord TableView [contents opts])
(defn table-view [conte... | 77006 | ;;;; This file is part of gorilla-repl. Copyright (C) 2014-, <NAME>.
;;;;
;;;; gorilla-repl is licenced to you under the MIT licence. See the file LICENCE.txt for full details.
(ns gorilla-repl.table
(:require [gorilla-renderable.core :as render]))
(defrecord TableView [contents opts])
(defn table-view [contents &... | true | ;;;; This file is part of gorilla-repl. Copyright (C) 2014-, PI:NAME:<NAME>END_PI.
;;;;
;;;; gorilla-repl is licenced to you under the MIT licence. See the file LICENCE.txt for full details.
(ns gorilla-repl.table
(:require [gorilla-renderable.core :as render]))
(defrecord TableView [contents opts])
(defn table-vi... |
[
{
"context": "; Copyright 2010 Mark Allerton. All rights reserved.\n;\n; Redistribution and u",
"end": 33,
"score": 0.9998699426651001,
"start": 20,
"tag": "NAME",
"value": "Mark Allerton"
},
{
"context": " distribution.\n;\n; THIS SOFTWARE IS PROVIDED BY MARK ALLERTON ``AS ... | BridgeSupport/src/clojure/couverjure/tools/clojure_model.clj | allertonm/Couverjure | 3 | ; Copyright 2010 Mark Allerton. All rights reserved.
;
; Redistribution and use in source and binary forms, with or without modification, are
; permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copyright notice, this list of
; c... | 5874 | ; Copyright 2010 <NAME>. All rights reserved.
;
; Redistribution and use in source and binary forms, with or without modification, are
; permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copyright notice, this list of
; conditio... | true | ; Copyright 2010 PI:NAME:<NAME>END_PI. All rights reserved.
;
; Redistribution and use in source and binary forms, with or without modification, are
; permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copyright notice, this list of
; ... |
[
{
"context": "/local-date 2014 1 2))\n(def menu-r1-d1 {1 {:name \"Name v1\"\n :menu {date1 \"menu 1\"}}})\n(d",
"end": 262,
"score": 0.7433512210845947,
"start": 255,
"tag": "NAME",
"value": "Name v1"
},
{
"context": "nu {date1 \"menu 1\"}}})\n(def menu-r1-d2 {1 {:... | test/varjocafe/updater_test.clj | luontola/varjocafe | 2 | (ns varjocafe.updater-test
(:use midje.sweet
varjocafe.testutil)
(:require [varjocafe.updater :as updater]
[clj-time.core :as t]))
(def date1 (t/local-date 2014 1 1))
(def date2 (t/local-date 2014 1 2))
(def menu-r1-d1 {1 {:name "Name v1"
:menu {date1 "menu 1"}}})
(def menu-... | 63115 | (ns varjocafe.updater-test
(:use midje.sweet
varjocafe.testutil)
(:require [varjocafe.updater :as updater]
[clj-time.core :as t]))
(def date1 (t/local-date 2014 1 1))
(def date2 (t/local-date 2014 1 2))
(def menu-r1-d1 {1 {:name "<NAME>"
:menu {date1 "menu 1"}}})
(def menu-r... | true | (ns varjocafe.updater-test
(:use midje.sweet
varjocafe.testutil)
(:require [varjocafe.updater :as updater]
[clj-time.core :as t]))
(def date1 (t/local-date 2014 1 1))
(def date2 (t/local-date 2014 1 2))
(def menu-r1-d1 {1 {:name "PI:NAME:<NAME>END_PI"
:menu {date1 "menu 1"}}... |
[
{
"context": "n/read-string))\n\n(comment\n (gzip-base64-tag->edn \"H4sIAAAAAAAAAIWPMQvCMBCF/8qRScEGxM3tiAELtSltFXEpoQkhII0ktR1K/7spio4Od8O7997HTcR5Q1vtAh2NDYG2o22p8bJ73nWgD+8UgWnewF/fYJX20btXspdAcqyQ/M11sreDbqz6BRme+DXZAcvE+QCYx+GlqEQGBZZ1yjIO7IglspqX6Q3rVOSwYlggW8Nl+0WaiAzv3SzFSeu8/rxi3BDJQdJ4VTYs6vwC7Me2uQkB... | cmr-exchange/graph/src/cmr/graph/data/tags.clj | daniel-zamora/Common-Metadata-Repository | 294 | (ns cmr.graph.data.tags
"Functions for working with tags data."
(:require
[clojure.data.codec.base64 :as b64]
[clojure.edn :as edn])
(:import
(java.util.zip GZIPInputStream)
(java.io ByteArrayInputStream)))
(defn gzip-base64-tag->edn
"Converts a base64 encoded gzipped string to EDN."
[^String inp... | 56113 | (ns cmr.graph.data.tags
"Functions for working with tags data."
(:require
[clojure.data.codec.base64 :as b64]
[clojure.edn :as edn])
(:import
(java.util.zip GZIPInputStream)
(java.io ByteArrayInputStream)))
(defn gzip-base64-tag->edn
"Converts a base64 encoded gzipped string to EDN."
[^String inp... | true | (ns cmr.graph.data.tags
"Functions for working with tags data."
(:require
[clojure.data.codec.base64 :as b64]
[clojure.edn :as edn])
(:import
(java.util.zip GZIPInputStream)
(java.io ByteArrayInputStream)))
(defn gzip-base64-tag->edn
"Converts a base64 encoded gzipped string to EDN."
[^String inp... |
[
{
"context": " [:p\n \"Clojure Meetup Düsseldorf\" [:br]\n \"Christian Meter\" [:br]\n \"07.02.2019\"]]])\n\n(def slide-2\n [:se",
"end": 482,
"score": 0.999879777431488,
"start": 467,
"tag": "NAME",
"value": "Christian Meter"
},
{
"context": " [:small\n [:a {:href \... | src/reveal/slides.cljs | n2o/clojure-erste-schritte | 0 | (ns reveal.slides
(:require [goog.string :refer [format]]
[goog.string.format]))
(defn- set-header [header data-state]
[:style (format ".%s header span:after { content: \"%s\";}" data-state header)])
(def slide-1
[:section {:data-state "footer"}
[:div#title
[:img {:src "img/logos/clj.svg"
... | 47572 | (ns reveal.slides
(:require [goog.string :refer [format]]
[goog.string.format]))
(defn- set-header [header data-state]
[:style (format ".%s header span:after { content: \"%s\";}" data-state header)])
(def slide-1
[:section {:data-state "footer"}
[:div#title
[:img {:src "img/logos/clj.svg"
... | true | (ns reveal.slides
(:require [goog.string :refer [format]]
[goog.string.format]))
(defn- set-header [header data-state]
[:style (format ".%s header span:after { content: \"%s\";}" data-state header)])
(def slide-1
[:section {:data-state "footer"}
[:div#title
[:img {:src "img/logos/clj.svg"
... |
[
{
"context": " as driver-specific properties.\n :user \"scott\"\n :password \"tiger\"})\n\n (with-connecti",
"end": 703,
"score": 0.9913668632507324,
"start": 698,
"tag": "USERNAME",
"value": "scott"
},
{
"context": "s.\n :user \"scott\"\n :pa... | postgre/clojure/read/postgre_read.clj | ekzemplaro/data_base_language | 3 | ; -----------------------------------------------------------------
;
; postgre_read.clj
;
; Jul/17/2014
;
; -----------------------------------------------------------------
(load-file "/var/www/data_base/common/clojure_common/sql_manipulate.clj")
; ----------------------------------------------------------------... | 124495 | ; -----------------------------------------------------------------
;
; postgre_read.clj
;
; Jul/17/2014
;
; -----------------------------------------------------------------
(load-file "/var/www/data_base/common/clojure_common/sql_manipulate.clj")
; ----------------------------------------------------------------... | true | ; -----------------------------------------------------------------
;
; postgre_read.clj
;
; Jul/17/2014
;
; -----------------------------------------------------------------
(load-file "/var/www/data_base/common/clojure_common/sql_manipulate.clj")
; ----------------------------------------------------------------... |
[
{
"context": "le string\"\n (let [result (sut/parse-override \"person@company.com\" \"override person@company.com\")]\n (t/is (= [",
"end": 671,
"score": 0.9998936653137207,
"start": 653,
"tag": "EMAIL",
"value": "person@company.com"
},
{
"context": "sut/parse-override \"pe... | test/breakfastbot/handlers/override_test.clj | studer-l/breakfastbot | 0 | (ns breakfastbot.handlers.override-test
(:require [breakfastbot.db :as db]
[breakfastbot.db-test :refer [prepare-mock-db unpopular-date
next-date mock-emails]]
[breakfastbot.handlers.common :refer [answers]]
[breakfastbot.handlers.override ... | 111551 | (ns breakfastbot.handlers.override-test
(:require [breakfastbot.db :as db]
[breakfastbot.db-test :refer [prepare-mock-db unpopular-date
next-date mock-emails]]
[breakfastbot.handlers.common :refer [answers]]
[breakfastbot.handlers.override ... | true | (ns breakfastbot.handlers.override-test
(:require [breakfastbot.db :as db]
[breakfastbot.db-test :refer [prepare-mock-db unpopular-date
next-date mock-emails]]
[breakfastbot.handlers.common :refer [answers]]
[breakfastbot.handlers.override ... |
[
{
"context": "ect {:host \"localhost\"\n :username \"admin\"\n :password \"dials\"})\n (origi",
"end": 134,
"score": 0.9908370971679688,
"start": 129,
"tag": "USERNAME",
"value": "admin"
},
{
"context": " :username \"admin\"\n :pa... | doc/example-script.clj | Ingemark/amicli | 0 | (ns amicli.user
(:require [amicli :refer :all]))
(defn script []
(-> (connect {:host "localhost"
:username "admin"
:password "dials"})
(originate-call {:exten "100"
:channel "SIP/139"
:context "default"
:asyn... | 57659 | (ns amicli.user
(:require [amicli :refer :all]))
(defn script []
(-> (connect {:host "localhost"
:username "admin"
:password "<PASSWORD>"})
(originate-call {:exten "100"
:channel "SIP/139"
:context "default"
... | true | (ns amicli.user
(:require [amicli :refer :all]))
(defn script []
(-> (connect {:host "localhost"
:username "admin"
:password "PI:PASSWORD:<PASSWORD>END_PI"})
(originate-call {:exten "100"
:channel "SIP/139"
:context "default"
... |
[
{
"context": "(comment \n re-core, Copyright 2012 Ronen Narkis, narkisr.com\n Licensed under the Apache License,",
"end": 48,
"score": 0.9998844265937805,
"start": 36,
"tag": "NAME",
"value": "Ronen Narkis"
},
{
"context": "ment \n re-core, Copyright 2012 Ronen Narkis, narkisr.com... | src/openstack/validations.clj | celestial-ops/core | 1 | (comment
re-core, Copyright 2012 Ronen Narkis, narkisr.com
Licensed under the Apache License,
Version 2.0 (the "License") you may not use this file except in compliance with the License.
You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | 122838 | (comment
re-core, Copyright 2012 <NAME>, nark<EMAIL>.<EMAIL>
Licensed under the Apache License,
Version 2.0 (the "License") you may not use this file except in compliance with the License.
You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or... | true | (comment
re-core, Copyright 2012 PI:NAME:<NAME>END_PI, narkPI:EMAIL:<EMAIL>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/LICENS... |
[
{
"context": "; Copyright (c) Rich Hickey. All rights reserved.\n; The use and distributio",
"end": 29,
"score": 0.9998701214790344,
"start": 18,
"tag": "NAME",
"value": "Rich Hickey"
},
{
"context": "tice, or any other, from this software.\n\n; Author: Frantisek Sodomka\n\n(ns c... | test/clojure/test_clojure/macros.clj | lorettahe/clojure | 1 | ; 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 ... | 36177 | ; Copyright (c) <NAME>. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
; which can be found in the file epl-v10.html at the root of this distribution.
; By using this software in any fashi... | true | ; Copyright (c) PI:NAME:<NAME>END_PI. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
; which can be found in the file epl-v10.html at the root of this distribution.
; By using this softwar... |
[
{
"context": "\n (h/a {:class \"header__email\" :href \"mailto:info@mechtron.ca\"}\n \"Email Us\"))))\n\n(defn layout\n [current",
"end": 1667,
"score": 0.9999289512634277,
"start": 1651,
"tag": "EMAIL",
"value": "info@mechtron.ca"
}
] | src/mechtron/core.clj | aetkinz/mechtron.ca | 0 | (ns mechtron.core
(:require [clj-template.html5 :as h]
[clojure.string :as str]))
(def navbar {"./" "Home"
"company.htm" "Company"
"products.htm" "Products"
"capabilities.htm" "Capabilities"
"contact.htm" "Contact"})
(defn navigation-item
[selected [... | 122364 | (ns mechtron.core
(:require [clj-template.html5 :as h]
[clojure.string :as str]))
(def navbar {"./" "Home"
"company.htm" "Company"
"products.htm" "Products"
"capabilities.htm" "Capabilities"
"contact.htm" "Contact"})
(defn navigation-item
[selected [... | true | (ns mechtron.core
(:require [clj-template.html5 :as h]
[clojure.string :as str]))
(def navbar {"./" "Home"
"company.htm" "Company"
"products.htm" "Products"
"capabilities.htm" "Capabilities"
"contact.htm" "Contact"})
(defn navigation-item
[selected [... |
[
{
"context": "a map value attribute\"\n (let [vls {:formatted \"John SmitH\"\n :family-name \"John\"\n ",
"end": 672,
"score": 0.9998531341552734,
"start": 662,
"tag": "NAME",
"value": "John SmitH"
},
{
"context": "rmatted \"John SmitH\"\n :... | test/clj/scimmer/services/resource_test.clj | elarous/scimmer | 1 | (ns scimmer.services.resource-test
(:require [scimmer.services.resource :as sut]
[scimmer.services.schema :as sch]
[clojure.test :refer :all]
[malli.util :as mu]))
(deftest build-resource
(testing "extracting a top level attribute"
(let [locale "EN"
entity {:user {... | 32981 | (ns scimmer.services.resource-test
(:require [scimmer.services.resource :as sut]
[scimmer.services.schema :as sch]
[clojure.test :refer :all]
[malli.util :as mu]))
(deftest build-resource
(testing "extracting a top level attribute"
(let [locale "EN"
entity {:user {... | true | (ns scimmer.services.resource-test
(:require [scimmer.services.resource :as sut]
[scimmer.services.schema :as sch]
[clojure.test :refer :all]
[malli.util :as mu]))
(deftest build-resource
(testing "extracting a top level attribute"
(let [locale "EN"
entity {:user {... |
[
{
"context": "e]\n (let [data [{:id 1000\n :name \"Luke\"\n :home_planet \"Tatooine\"\n ",
"end": 461,
"score": 0.9996914863586426,
"start": 457,
"tag": "NAME",
"value": "Luke"
},
{
"context": "\"]}\n {:id 2000\n :name ... | resources/leiningen/new/luminus/graphql/src/graphql.clj | Cnly/luminus-template | 0 | (ns <<project-ns>>.routes.services.graphql
(:require
[com.walmartlabs.lacinia.util :refer [attach-resolvers]]
[com.walmartlabs.lacinia.schema :as schema]
[com.walmartlabs.lacinia :as lacinia]
[clojure.data.json :as json]
[clojure.edn :as edn]
[clojure.java.io :as io]
[ring.util.http-respon... | 103751 | (ns <<project-ns>>.routes.services.graphql
(:require
[com.walmartlabs.lacinia.util :refer [attach-resolvers]]
[com.walmartlabs.lacinia.schema :as schema]
[com.walmartlabs.lacinia :as lacinia]
[clojure.data.json :as json]
[clojure.edn :as edn]
[clojure.java.io :as io]
[ring.util.http-respon... | true | (ns <<project-ns>>.routes.services.graphql
(:require
[com.walmartlabs.lacinia.util :refer [attach-resolvers]]
[com.walmartlabs.lacinia.schema :as schema]
[com.walmartlabs.lacinia :as lacinia]
[clojure.data.json :as json]
[clojure.edn :as edn]
[clojure.java.io :as io]
[ring.util.http-respon... |
[
{
"context": "sword)]\n (swap! users assoc username {:username username\n :roles (set role",
"end": 1230,
"score": 0.996575653553009,
"start": 1222,
"tag": "USERNAME",
"value": "username"
},
{
"context": "\\\"POST\\\" action=\\\"/login\\\">\n ... | samples/username-password-webapp/src/sample/app.clj | inventiLT/Pocheshiro | 10 | (ns sample.app
(:import [org.eclipse.jetty.servlet ServletContextHandler ServletHolder]
[org.eclipse.jetty.server.session SessionHandler]
org.apache.shiro.web.mgt.DefaultWebSecurityManager
org.apache.shiro.authc.UsernamePasswordToken)
(:require [ring.adapter.jetty :as jetty]
... | 117522 | (ns sample.app
(:import [org.eclipse.jetty.servlet ServletContextHandler ServletHolder]
[org.eclipse.jetty.server.session SessionHandler]
org.apache.shiro.web.mgt.DefaultWebSecurityManager
org.apache.shiro.authc.UsernamePasswordToken)
(:require [ring.adapter.jetty :as jetty]
... | true | (ns sample.app
(:import [org.eclipse.jetty.servlet ServletContextHandler ServletHolder]
[org.eclipse.jetty.server.session SessionHandler]
org.apache.shiro.web.mgt.DefaultWebSecurityManager
org.apache.shiro.authc.UsernamePasswordToken)
(:require [ring.adapter.jetty :as jetty]
... |
[
{
"context": "host \"imap.gmail.com\"\n :user \"username@gmail.com\"\n :password \"password\"\n ",
"end": 3925,
"score": 0.9999109506607056,
"start": 3907,
"tag": "EMAIL",
"value": "username@gmail.com"
},
{
"context": "ername@gmail.com\"\n... | qt4_mailtray/mailtray.clj | cdaddr/clj-qt4-mailtray | 3 | ;; A Qt4 system tray app to check mail servers for new mail,
;; displaying an icon in the system tray.
;;
;; When there are new messages, a number is drawn over the icon
;; and the icon's context menu is updated to display info about
;; the new messages.
;;
;; This app can check multiple servers and multiple folders on... | 15679 | ;; A Qt4 system tray app to check mail servers for new mail,
;; displaying an icon in the system tray.
;;
;; When there are new messages, a number is drawn over the icon
;; and the icon's context menu is updated to display info about
;; the new messages.
;;
;; This app can check multiple servers and multiple folders on... | true | ;; A Qt4 system tray app to check mail servers for new mail,
;; displaying an icon in the system tray.
;;
;; When there are new messages, a number is drawn over the icon
;; and the icon's context menu is updated to display info about
;; the new messages.
;;
;; This app can check multiple servers and multiple folders on... |
[
{
"context": " [:>\n Button\n {:key (str \"grid-cell-\" (+ (* row-index 5) col-index))\n :clas",
"end": 1827,
"score": 0.5931444764137268,
"start": 1818,
"tag": "KEY",
"value": "grid-cell"
},
{
"context": "]]]]\n [:>\n Footer\n (contact... | src/cljs/reframe_codenames/views.cljs | lprakashv/reframe-codenames | 0 | (ns reframe-codenames.views
(:require
[re-frame.core :as re-frame]
[reframe-codenames.subs :as subs]
[reframe-codenames.events :as events]
[reframe-codenames.utils :as utils])
(:require
["react-bootstrap"
:refer
[Card
Button
ButtonGroup
Row
Col
Badge
Container
... | 90201 | (ns reframe-codenames.views
(:require
[re-frame.core :as re-frame]
[reframe-codenames.subs :as subs]
[reframe-codenames.events :as events]
[reframe-codenames.utils :as utils])
(:require
["react-bootstrap"
:refer
[Card
Button
ButtonGroup
Row
Col
Badge
Container
... | true | (ns reframe-codenames.views
(:require
[re-frame.core :as re-frame]
[reframe-codenames.subs :as subs]
[reframe-codenames.events :as events]
[reframe-codenames.utils :as utils])
(:require
["react-bootstrap"
:refer
[Card
Button
ButtonGroup
Row
Col
Badge
Container
... |
[
{
"context": "nts\n* Creating Annotation Schemas\"\n :author \"Paul Landes\"}\n zensols.annotate.gate\n (:import [java.util",
"end": 263,
"score": 0.9998892545700073,
"start": 252,
"tag": "NAME",
"value": "Paul Landes"
}
] | src/clojure/zensols/annotate/gate.clj | plandes/clj-gate | 0 | (ns ^{:doc "Wrapper for [Gate](https://gate.ac.uk) annotation natural language
processing utility. This is a small wrapper that makes the following easier:
* Annotating Documents
* Create Store Documents
* Creating Annotation Schemas"
:author "Paul Landes"}
zensols.annotate.gate
(:import [java.util HashSe... | 104161 | (ns ^{:doc "Wrapper for [Gate](https://gate.ac.uk) annotation natural language
processing utility. This is a small wrapper that makes the following easier:
* Annotating Documents
* Create Store Documents
* Creating Annotation Schemas"
:author "<NAME>"}
zensols.annotate.gate
(:import [java.util HashSet]
... | true | (ns ^{:doc "Wrapper for [Gate](https://gate.ac.uk) annotation natural language
processing utility. This is a small wrapper that makes the following easier:
* Annotating Documents
* Create Store Documents
* Creating Annotation Schemas"
:author "PI:NAME:<NAME>END_PI"}
zensols.annotate.gate
(:import [java.ut... |
[
{
"context": "red st/number]})\n\n(def test-valid-input\n {:name \"Enyert Vinas\"\n :year 1936})\n\n(def test-non-valid-input\n {:n",
"end": 320,
"score": 0.9998494386672974,
"start": 308,
"tag": "NAME",
"value": "Enyert Vinas"
},
{
"context": ":year 1936})\n\n(def test-non-valid... | test/generic_code_generator/input_validator_test.clj | evinasgu/pangu | 0 | (ns generic-code-generator.input-validator-test
(:require [clojure.test :refer :all]
[generic-code-generator.input-validator :refer :all]
[struct.core :as st]))
(def +test-scheme+
{:name [st/required st/string]
:year [st/required st/number]})
(def test-valid-input
{:name "Enyert Vinas... | 44641 | (ns generic-code-generator.input-validator-test
(:require [clojure.test :refer :all]
[generic-code-generator.input-validator :refer :all]
[struct.core :as st]))
(def +test-scheme+
{:name [st/required st/string]
:year [st/required st/number]})
(def test-valid-input
{:name "<NAME>"
:... | true | (ns generic-code-generator.input-validator-test
(:require [clojure.test :refer :all]
[generic-code-generator.input-validator :refer :all]
[struct.core :as st]))
(def +test-scheme+
{:name [st/required st/string]
:year [st/required st/number]})
(def test-valid-input
{:name "PI:NAME:<NAM... |
[
{
"context": "rom python Reability port \n (http://github.com/srid/readability/blob/master/src/readability.py).\n ",
"end": 150,
"score": 0.9980065822601318,
"start": 146,
"tag": "USERNAME",
"value": "srid"
},
{
"context": "at work \n and one that doesn't. \"\n :author \"... | src/webmine/readability.clj | robertpfeiffer/webmine | 1 | (ns webmine.readability
^{:doc "Simple heuristics for selecting content divs. Uses
a lot from python Reability port
(http://github.com/srid/readability/blob/master/src/readability.py).
See comment form below for example sites that work
and one that doesn't. "
:author "Aria Haghighi <me@aria... | 22132 | (ns webmine.readability
^{:doc "Simple heuristics for selecting content divs. Uses
a lot from python Reability port
(http://github.com/srid/readability/blob/master/src/readability.py).
See comment form below for example sites that work
and one that doesn't. "
:author "<NAME> <<EMAIL>>"}
(... | true | (ns webmine.readability
^{:doc "Simple heuristics for selecting content divs. Uses
a lot from python Reability port
(http://github.com/srid/readability/blob/master/src/readability.py).
See comment form below for example sites that work
and one that doesn't. "
:author "PI:NAME:<NAME>END_PI <... |
[
{
"context": "; Copyright 2009, 2011 Howard M. Lewis Ship\n;\n; Licensed under the Apache License, Version 2.",
"end": 43,
"score": 0.9998667240142822,
"start": 23,
"tag": "NAME",
"value": "Howard M. Lewis Ship"
}
] | test/cascade/test_parser.clj | hlship/cascade | 8 | ; Copyright 2009, 2011 Howard M. Lewis Ship
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to... | 1194 | ; Copyright 2009, 2011 <NAME>
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writing, s... | true | ; Copyright 2009, 2011 PI:NAME:<NAME>END_PI
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to... |
[
{
"context": " {:child ({:child ({:label \"Paul\" :token-index 3})\n ",
"end": 1270,
"score": 0.9488648176193237,
"start": 1266,
"tag": "NAME",
"value": "Paul"
},
{
"context": " (= first-sent-gold\n (->> (parse \"I am Pa... | test/zensols/nlparse/sr_parse_test.clj | plandes/clj-nlp-parse | 33 | (ns zensols.nlparse.sr-parse-test
(:require [clojure.test :refer :all])
(:require [clojure.string :as s]
[clojure.tools.logging :as log]
[zensols.actioncli.resource :as res]
[zensols.nlparse.parse :as p]
[zensols.nlparse.config :as conf :refer (with-context)]))
(defo... | 89901 | (ns zensols.nlparse.sr-parse-test
(:require [clojure.test :refer :all])
(:require [clojure.string :as s]
[clojure.tools.logging :as log]
[zensols.actioncli.resource :as res]
[zensols.nlparse.parse :as p]
[zensols.nlparse.config :as conf :refer (with-context)]))
(defo... | true | (ns zensols.nlparse.sr-parse-test
(:require [clojure.test :refer :all])
(:require [clojure.string :as s]
[clojure.tools.logging :as log]
[zensols.actioncli.resource :as res]
[zensols.nlparse.parse :as p]
[zensols.nlparse.config :as conf :refer (with-context)]))
(defo... |
[
{
"context": " other))))\n\n; -> (is-http (java.net.URL. \"mailto:/address@site.com\"))\n; -> false\n(defn is-http\n \"Returns true iff u",
"end": 1102,
"score": 0.999381422996521,
"start": 1086,
"tag": "EMAIL",
"value": "address@site.com"
}
] | src/clementine/core.clj | danesherbs/clementine | 4 | (ns clementine.core
"Lightweight web crawler with an aritrary handler."
(:use [clojure.core.async :only (go)])
(:require [net.cgrand.enlive-html :as html]
[clj-http.client :as client]))
; Default config for http requests
(def http-opts {:socket-timeout 4000
:conn-timeout 4000
... | 11702 | (ns clementine.core
"Lightweight web crawler with an aritrary handler."
(:use [clojure.core.async :only (go)])
(:require [net.cgrand.enlive-html :as html]
[clj-http.client :as client]))
; Default config for http requests
(def http-opts {:socket-timeout 4000
:conn-timeout 4000
... | true | (ns clementine.core
"Lightweight web crawler with an aritrary handler."
(:use [clojure.core.async :only (go)])
(:require [net.cgrand.enlive-html :as html]
[clj-http.client :as client]))
; Default config for http requests
(def http-opts {:socket-timeout 4000
:conn-timeout 4000
... |
[
{
"context": "ge, London, All rights reserved.\n;\n; Contributors: Jony Hudson\n;\n; Released under the MIT license..\n;\n\n(ns darwi",
"end": 134,
"score": 0.9997667670249939,
"start": 123,
"tag": "NAME",
"value": "Jony Hudson"
}
] | src/darwin/evolution/metrics.clj | drcode/darwin | 22 | ;
; This file is part of darwin.
;
; Copyright (C) 2014-, Imperial College, London, All rights reserved.
;
; Contributors: Jony Hudson
;
; Released under the MIT license..
;
(ns darwin.evolution.metrics
"Functions for capturing metrics for the run.")
(def metrics (atom {}))
(defn clear!
"Reset the metrics."
[]... | 99371 | ;
; This file is part of darwin.
;
; Copyright (C) 2014-, Imperial College, London, All rights reserved.
;
; Contributors: <NAME>
;
; Released under the MIT license..
;
(ns darwin.evolution.metrics
"Functions for capturing metrics for the run.")
(def metrics (atom {}))
(defn clear!
"Reset the metrics."
[]
(r... | true | ;
; This file is part of darwin.
;
; Copyright (C) 2014-, Imperial College, London, All rights reserved.
;
; Contributors: PI:NAME:<NAME>END_PI
;
; Released under the MIT license..
;
(ns darwin.evolution.metrics
"Functions for capturing metrics for the run.")
(def metrics (atom {}))
(defn clear!
"Reset the metri... |
[
{
"context": " \"environment-exists? function\"\n (doseq [env [\"bobby\" \"dave\" \"charlie\"]]\n (storage/ensure-environ",
"end": 1905,
"score": 0.9783107042312622,
"start": 1900,
"tag": "NAME",
"value": "bobby"
},
{
"context": "nment-exists? function\"\n (doseq [env [\"b... | test/puppetlabs/puppetdb/query/environments_test.clj | ajroetker/puppetdb | 0 | (ns puppetlabs.puppetdb.query.environments-test
(:require [puppetlabs.puppetdb.query.environments :refer :all]
[puppetlabs.puppetdb.query-eng :as eng]
[clojure.test :refer :all]
[puppetlabs.puppetdb.scf.storage :as storage]
[puppetlabs.puppetdb.fixtures :as fixt]
... | 28351 | (ns puppetlabs.puppetdb.query.environments-test
(:require [puppetlabs.puppetdb.query.environments :refer :all]
[puppetlabs.puppetdb.query-eng :as eng]
[clojure.test :refer :all]
[puppetlabs.puppetdb.scf.storage :as storage]
[puppetlabs.puppetdb.fixtures :as fixt]
... | true | (ns puppetlabs.puppetdb.query.environments-test
(:require [puppetlabs.puppetdb.query.environments :refer :all]
[puppetlabs.puppetdb.query-eng :as eng]
[clojure.test :refer :all]
[puppetlabs.puppetdb.scf.storage :as storage]
[puppetlabs.puppetdb.fixtures :as fixt]
... |
[
{
"context": "pe Serialization/Deserialization\"\n :author \"Yannick Scherer\" }\n thrift-clj.protocol.serialize\n (:use [thrif",
"end": 87,
"score": 0.9998490214347839,
"start": 72,
"tag": "NAME",
"value": "Yannick Scherer"
}
] | src/thrift_clj/protocol/serialize.clj | ipostelnik/thrift-clj | 35 | (ns ^{ :doc "Thrift Type Serialization/Deserialization"
:author "Yannick Scherer" }
thrift-clj.protocol.serialize
(:use [thrift-clj.protocol.core :only [protocol-factory]])
(:require [thrift-clj.gen.core :as c])
(:import [org.apache.thrift TSerializer TDeserializer]))
;; ## Serialize/Deserialize Protoco... | 28898 | (ns ^{ :doc "Thrift Type Serialization/Deserialization"
:author "<NAME>" }
thrift-clj.protocol.serialize
(:use [thrift-clj.protocol.core :only [protocol-factory]])
(:require [thrift-clj.gen.core :as c])
(:import [org.apache.thrift TSerializer TDeserializer]))
;; ## Serialize/Deserialize Protocols
(defp... | true | (ns ^{ :doc "Thrift Type Serialization/Deserialization"
:author "PI:NAME:<NAME>END_PI" }
thrift-clj.protocol.serialize
(:use [thrift-clj.protocol.core :only [protocol-factory]])
(:require [thrift-clj.gen.core :as c])
(:import [org.apache.thrift TSerializer TDeserializer]))
;; ## Serialize/Deserialize Pr... |
[
{
"context": " (t/testing \"valid messages\"\n (t/is (= {:who \"person@company.com\" :when (jt/local-date)}\n (sut/parse-s",
"end": 795,
"score": 0.9999228715896606,
"start": 777,
"tag": "EMAIL",
"value": "person@company.com"
},
{
"context": "jt/local-date)}\n ... | test/breakfastbot/handlers/sign_off_test.clj | studer-l/breakfastbot | 0 | (ns breakfastbot.handlers.sign-off-test
(:require [breakfastbot.date-utils :refer [next-monday]]
[breakfastbot.db :as db]
[breakfastbot.db-test :refer [prepare-mock-db next-date
popular-date]]
[breakfastbot.handlers.common :refer [answers]]... | 69129 | (ns breakfastbot.handlers.sign-off-test
(:require [breakfastbot.date-utils :refer [next-monday]]
[breakfastbot.db :as db]
[breakfastbot.db-test :refer [prepare-mock-db next-date
popular-date]]
[breakfastbot.handlers.common :refer [answers]]... | true | (ns breakfastbot.handlers.sign-off-test
(:require [breakfastbot.date-utils :refer [next-monday]]
[breakfastbot.db :as db]
[breakfastbot.db-test :refer [prepare-mock-db next-date
popular-date]]
[breakfastbot.handlers.common :refer [answers]]... |
[
{
"context": " id\n :user/email email\n :user/password (hash-password password)\n :user/tasks []})\n\n(defn insert-user [id em",
"end": 781,
"score": 0.961367130279541,
"start": 759,
"tag": "PASSWORD",
"value": "hash-password password"
}
] | resources/clj/new/dv.fulcro_template/src/main/app/auth/user.clj | deadghost/dv.fulcro-template | 0 | (ns {{namespace}}.auth.user
(:require
[clojure.spec.alpha :as s]
[cryptohash-clj.impl.argon2 :refer [chash verify]]
[com.fulcrologic.guardrails.core :refer [>defn => | ?]]
[com.wsscode.pathom.connect :as pc :refer [defresolver defmutation]]
[{{namespace}}.server.crux-node :refer [crux-node]]
[... | 102949 | (ns {{namespace}}.auth.user
(:require
[clojure.spec.alpha :as s]
[cryptohash-clj.impl.argon2 :refer [chash verify]]
[com.fulcrologic.guardrails.core :refer [>defn => | ?]]
[com.wsscode.pathom.connect :as pc :refer [defresolver defmutation]]
[{{namespace}}.server.crux-node :refer [crux-node]]
[... | true | (ns {{namespace}}.auth.user
(:require
[clojure.spec.alpha :as s]
[cryptohash-clj.impl.argon2 :refer [chash verify]]
[com.fulcrologic.guardrails.core :refer [>defn => | ?]]
[com.wsscode.pathom.connect :as pc :refer [defresolver defmutation]]
[{{namespace}}.server.crux-node :refer [crux-node]]
[... |
[
{
"context": "ring.mock.request :as mock]))\n\n(def api-username \"laundry-api\")\n(def api-password \"unittest\")\n\n(def test-auth-c",
"end": 167,
"score": 0.996778130531311,
"start": 156,
"tag": "USERNAME",
"value": "laundry-api"
},
{
"context": "ef api-username \"laundry-api\")\n... | test/laundry/auth_test.clj | hoxu/laundry | 7 | (ns laundry.auth-test
(:require
[clojure.test :refer :all]
[laundry.test.fixture :as fixture]
[ring.mock.request :as mock]))
(def api-username "laundry-api")
(def api-password "unittest")
(def test-auth-conf
(-> fixture/test-conf
(assoc :basic-auth-password (fn [] api-password))))
(defn base64-enc... | 58543 | (ns laundry.auth-test
(:require
[clojure.test :refer :all]
[laundry.test.fixture :as fixture]
[ring.mock.request :as mock]))
(def api-username "laundry-api")
(def api-password "<PASSWORD>")
(def test-auth-conf
(-> fixture/test-conf
(assoc :basic-auth-password (fn [] api-password))))
(defn base64-e... | true | (ns laundry.auth-test
(:require
[clojure.test :refer :all]
[laundry.test.fixture :as fixture]
[ring.mock.request :as mock]))
(def api-username "laundry-api")
(def api-password "PI:PASSWORD:<PASSWORD>END_PI")
(def test-auth-conf
(-> fixture/test-conf
(assoc :basic-auth-password (fn [] api-password))... |
[
{
"context": ":date {:year 2016, :month 10},\n :user {:name \"Chen\"},\n :types {:name 1, \"name\" 2}})))\n\n(defn dis",
"end": 907,
"score": 0.769932746887207,
"start": 903,
"tag": "NAME",
"value": "Chen"
}
] | src/recollect/app/main.cljs | Cumulo/recollect.cljs | 5 |
(ns recollect.app.main
(:require [respo.core :refer [render! clear-cache! realize-ssr!]]
[recollect.app.comp.container :refer [comp-container]]
[cljs.reader :refer [read-string]]
[recollect.app.twig.container :refer [twig-container]]
[recollect.diff :refer [diff-twig]]... | 83285 |
(ns recollect.app.main
(:require [respo.core :refer [render! clear-cache! realize-ssr!]]
[recollect.app.comp.container :refer [comp-container]]
[cljs.reader :refer [read-string]]
[recollect.app.twig.container :refer [twig-container]]
[recollect.diff :refer [diff-twig]]... | true |
(ns recollect.app.main
(:require [respo.core :refer [render! clear-cache! realize-ssr!]]
[recollect.app.comp.container :refer [comp-container]]
[cljs.reader :refer [read-string]]
[recollect.app.twig.container :refer [twig-container]]
[recollect.diff :refer [diff-twig]]... |
[
{
"context": "uri) 1))\n (.setUser user)\n (.setPassword pwd)\n (.setPrepareThreshold 0)\n (set-pg-opt",
"end": 1569,
"score": 0.9982596039772034,
"start": 1566,
"tag": "PASSWORD",
"value": "pwd"
}
] | src/uapatron/db.clj | uapatron/comebacksub | 0 | (ns uapatron.db
(:import [java.net URI]
[java.sql PreparedStatement]
;; [com.zaxxer.hikari HikariDataSource]
[org.postgresql.ds PGSimpleDataSource]
[org.postgresql.jdbc PgArray]
[org.postgresql.util PGobject])
(:require [clojure.string :as str]
[mou... | 28968 | (ns uapatron.db
(:import [java.net URI]
[java.sql PreparedStatement]
;; [com.zaxxer.hikari HikariDataSource]
[org.postgresql.ds PGSimpleDataSource]
[org.postgresql.jdbc PgArray]
[org.postgresql.util PGobject])
(:require [clojure.string :as str]
[mou... | true | (ns uapatron.db
(:import [java.net URI]
[java.sql PreparedStatement]
;; [com.zaxxer.hikari HikariDataSource]
[org.postgresql.ds PGSimpleDataSource]
[org.postgresql.jdbc PgArray]
[org.postgresql.util PGobject])
(:require [clojure.string :as str]
[mou... |
[
{
"context": " for details.\n *)\n\n(* Copyright (C) 2009,2016-2017 Matthew Fluet.\n * Copyright (C) 1999-2006 Henry Cejtin, Matthew",
"end": 424,
"score": 0.9998638033866882,
"start": 411,
"tag": "NAME",
"value": "Matthew Fluet"
},
{
"context": "016-2017 Matthew Fluet.\n * Copyright... | mlton/front-end/ml.lex.sml.boot | devMYC/mlton | 0 | (*#line 256.10 "ml.lex"*)functor MLLexFun (structure Tokens : ML_TOKENS)(*#line 1.1 "ml.lex.sml"*)
=
struct
structure UserDeclarations =
struct
(*#line 1.1 "ml.lex"*)(* Heavily modified from SML/NJ sources. *)
(* ml.lex
*
* Copyright 1989 by AT&T Bell Laboratories
*
* SML/NJ is released under a HPND-s... | 67693 | (*#line 256.10 "ml.lex"*)functor MLLexFun (structure Tokens : ML_TOKENS)(*#line 1.1 "ml.lex.sml"*)
=
struct
structure UserDeclarations =
struct
(*#line 1.1 "ml.lex"*)(* Heavily modified from SML/NJ sources. *)
(* ml.lex
*
* Copyright 1989 by AT&T Bell Laboratories
*
* SML/NJ is released under a HPND-s... | true | (*#line 256.10 "ml.lex"*)functor MLLexFun (structure Tokens : ML_TOKENS)(*#line 1.1 "ml.lex.sml"*)
=
struct
structure UserDeclarations =
struct
(*#line 1.1 "ml.lex"*)(* Heavily modified from SML/NJ sources. *)
(* ml.lex
*
* Copyright 1989 by AT&T Bell Laboratories
*
* SML/NJ is released under a HPND-s... |
[
{
"context": " the pretty printer for Clojure\n\n; Copyright (c) Rich Hickey. All rights reserved.\n; The use and distributio",
"end": 92,
"score": 0.9998717308044434,
"start": 81,
"tag": "NAME",
"value": "Rich Hickey"
},
{
"context": "ice, or any other, from this software.\n\n;;... | Chapter 07 Code/niko/clojure/test/clojure/test_clojure/pprint/test_helper.clj | PacktPublishing/Clojure-Programming-Cookbook | 14 | ;;; test_helper.clj -- part of the pretty printer for Clojure
; Copyright (c) Rich Hickey. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
; which can be found in the file epl-v10.html at th... | 49553 | ;;; test_helper.clj -- part of the pretty printer for Clojure
; Copyright (c) <NAME>. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
; which can be found in the file epl-v10.html at the roo... | true | ;;; test_helper.clj -- part of the pretty printer for Clojure
; Copyright (c) PI:NAME:<NAME>END_PI. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
; which can be found in the file epl-v10.h... |
[
{
"context": "ts/\"}\n :autodoc {:web-src-dir \"http://github.com/neotyk/http.async.client/blob/\"\n :web-home \"h",
"end": 982,
"score": 0.7722432017326355,
"start": 976,
"tag": "USERNAME",
"value": "neotyk"
},
{
"context": "t/autodoc/\"\n :copyright \"Copyrig... | project.clj | pelerkejepit/async | 0 | (defproject http.async.client "0.4.2"
:name "http.async.client"
:description "Asynchronous HTTP Client for Clojure"
:url "http://neotyk.github.com/http.async.client/"
:source-path "src/clj"
:java-source-path "src/jvm"
:javac-options {:deprecation "true"}
:dependencies ... | 4952 | (defproject http.async.client "0.4.2"
:name "http.async.client"
:description "Asynchronous HTTP Client for Clojure"
:url "http://neotyk.github.com/http.async.client/"
:source-path "src/clj"
:java-source-path "src/jvm"
:javac-options {:deprecation "true"}
:dependencies ... | true | (defproject http.async.client "0.4.2"
:name "http.async.client"
:description "Asynchronous HTTP Client for Clojure"
:url "http://neotyk.github.com/http.async.client/"
:source-path "src/clj"
:java-source-path "src/jvm"
:javac-options {:deprecation "true"}
:dependencies ... |
[
{
"context": "\"Biggin\") 0\n (g/lit \"Nelson\") 1\n (g/lit \"Jellis\")",
"end": 2390,
"score": 0.9056075215339661,
"start": 2385,
"tag": "NAME",
"value": "elson"
},
{
"context": "\"Nelson\") 1\n (g/l... | test/zero_one/geni/clojure_idioms_test.clj | WaqasAliAbbasi/geni | 233 | (ns zero-one.geni.clojure-idioms-test
(:require
[midje.sweet :refer [fact =>]]
[zero-one.geni.core :as g]
[zero-one.geni.test-resources :refer [spark df-20]]))
(fact "On update"
(-> (g/table->dataset @spark (mapv vector (range 5)) [:i])
(g/update :i g/+ 1 2 3)
(g/collect-col :i)) => [6 7 8 9 1... | 5745 | (ns zero-one.geni.clojure-idioms-test
(:require
[midje.sweet :refer [fact =>]]
[zero-one.geni.core :as g]
[zero-one.geni.test-resources :refer [spark df-20]]))
(fact "On update"
(-> (g/table->dataset @spark (mapv vector (range 5)) [:i])
(g/update :i g/+ 1 2 3)
(g/collect-col :i)) => [6 7 8 9 1... | true | (ns zero-one.geni.clojure-idioms-test
(:require
[midje.sweet :refer [fact =>]]
[zero-one.geni.core :as g]
[zero-one.geni.test-resources :refer [spark df-20]]))
(fact "On update"
(-> (g/table->dataset @spark (mapv vector (range 5)) [:i])
(g/update :i g/+ 1 2 3)
(g/collect-col :i)) => [6 7 8 9 1... |
[
{
"context": "alue nil\n :placeholder \"Foobar\"\n :class \"form-error\"}\n ",
"end": 3161,
"score": 0.5296621322631836,
"start": 3158,
"tag": "NAME",
"value": "bar"
}
] | test/cljs/chronograph_web/components/form_test.cljs | nilenso/chronograph | 3 | (ns chronograph-web.components.form-test
(:require [cljs.test :refer-macros [deftest is testing run-tests use-fixtures]]
[chronograph-web.components.form :as form]
[chronograph-web.test-utils :as tu]
[re-frame.core :as rf]
[chronograph-web.fixtures :as fixtures]))
(use... | 99150 | (ns chronograph-web.components.form-test
(:require [cljs.test :refer-macros [deftest is testing run-tests use-fixtures]]
[chronograph-web.components.form :as form]
[chronograph-web.test-utils :as tu]
[re-frame.core :as rf]
[chronograph-web.fixtures :as fixtures]))
(use... | true | (ns chronograph-web.components.form-test
(:require [cljs.test :refer-macros [deftest is testing run-tests use-fixtures]]
[chronograph-web.components.form :as form]
[chronograph-web.test-utils :as tu]
[re-frame.core :as rf]
[chronograph-web.fixtures :as fixtures]))
(use... |
[
{
"context": " :employee/first-name \"Test\"\n :employee/last-n",
"end": 5330,
"score": 0.9997966885566711,
"start": 5326,
"tag": "NAME",
"value": "Test"
},
{
"context": " :employee/last-name \"Pers... | resources/unannotated_test_schema.clj | mprokopov/schema-cartographer | 144 | (ns unannotated-test-schema)
(defn valid-last-name? [s]
true)
(defn valid-employee-name? [s]
true)
(def unannotated-ice-cream-shop-schema [;; --- Cone Enumerations ---------------------------
{:db/ident :cone-type/waffle}
{:db/ident... | 13674 | (ns unannotated-test-schema)
(defn valid-last-name? [s]
true)
(defn valid-employee-name? [s]
true)
(def unannotated-ice-cream-shop-schema [;; --- Cone Enumerations ---------------------------
{:db/ident :cone-type/waffle}
{:db/ident... | true | (ns unannotated-test-schema)
(defn valid-last-name? [s]
true)
(defn valid-employee-name? [s]
true)
(def unannotated-ice-cream-shop-schema [;; --- Cone Enumerations ---------------------------
{:db/ident :cone-type/waffle}
{:db/ident... |
[
{
"context": "#########\n\n(ns cljsearch.searchfile\n #^{:author \"Cary Clark\",\n :doc \"Encapsulates a file to be searched\"}",
"end": 282,
"score": 0.9998059272766113,
"start": 272,
"tag": "NAME",
"value": "Cary Clark"
}
] | clojure/cljsearch/src/cljsearch/searchfile.clj | clarkcb/xsearch | 5 | ;;; ############################################################################
;;;
;;; searchfile.clj
;;;
;;; Encapsulates a file to be searched
;;;
;;; ############################################################################
(ns cljsearch.searchfile
#^{:author "Cary Clark",
:doc "Encapsulates a file to b... | 11497 | ;;; ############################################################################
;;;
;;; searchfile.clj
;;;
;;; Encapsulates a file to be searched
;;;
;;; ############################################################################
(ns cljsearch.searchfile
#^{:author "<NAME>",
:doc "Encapsulates a file to be se... | true | ;;; ############################################################################
;;;
;;; searchfile.clj
;;;
;;; Encapsulates a file to be searched
;;;
;;; ############################################################################
(ns cljsearch.searchfile
#^{:author "PI:NAME:<NAME>END_PI",
:doc "Encapsulates a... |
[
{
"context": " #(comp/transact! this `[(player/login ~{:username username\n ",
"end": 2906,
"score": 0.5602872967720032,
"start": 2898,
"tag": "USERNAME",
"value": "username"
},
{
"context": " :pa... | src/main/lava_jato_the_game/client.cljs | lava-jato-the-game/lava-jato-the-game | 18 | (ns lava-jato-the-game.client
(:require [com.fulcrologic.fulcro.components :as comp :refer [defsc]]
[com.fulcrologic.fulcro.application :as fa]
[goog.dom :as gdom]
[goog.object :as gobj]
[goog.events :as gevt]
[goog.history.EventType :as history.EventType]
... | 44145 | (ns lava-jato-the-game.client
(:require [com.fulcrologic.fulcro.components :as comp :refer [defsc]]
[com.fulcrologic.fulcro.application :as fa]
[goog.dom :as gdom]
[goog.object :as gobj]
[goog.events :as gevt]
[goog.history.EventType :as history.EventType]
... | true | (ns lava-jato-the-game.client
(:require [com.fulcrologic.fulcro.components :as comp :refer [defsc]]
[com.fulcrologic.fulcro.application :as fa]
[goog.dom :as gdom]
[goog.object :as gobj]
[goog.events :as gevt]
[goog.history.EventType :as history.EventType]
... |
[
{
"context": " and Secret\"\n :username \"key\"\n :password \"secret\"\n ",
"end": 964,
"score": 0.8110021352767944,
"start": 961,
"tag": "USERNAME",
"value": "key"
},
{
"context": "ame \"key\"\n :password ... | cimi/src/com/sixsq/slipstream/ssclj/resources/session_template_api_key.clj | slipstream/SlipStreamServer | 6 | (ns com.sixsq.slipstream.ssclj.resources.session-template-api-key
"
Resource that is used to create a session from the provided API key-secret
pair.
"
(:require
[com.sixsq.slipstream.ssclj.resources.common.std-crud :as std-crud]
[com.sixsq.slipstream.ssclj.resources.common.utils :as u]
[com.sixsq.slipst... | 21933 | (ns com.sixsq.slipstream.ssclj.resources.session-template-api-key
"
Resource that is used to create a session from the provided API key-secret
pair.
"
(:require
[com.sixsq.slipstream.ssclj.resources.common.std-crud :as std-crud]
[com.sixsq.slipstream.ssclj.resources.common.utils :as u]
[com.sixsq.slipst... | true | (ns com.sixsq.slipstream.ssclj.resources.session-template-api-key
"
Resource that is used to create a session from the provided API key-secret
pair.
"
(:require
[com.sixsq.slipstream.ssclj.resources.common.std-crud :as std-crud]
[com.sixsq.slipstream.ssclj.resources.common.utils :as u]
[com.sixsq.slipst... |
[
{
"context": "c-tower \"0.0.4\"]\n ^{:voom {:repo \"git@github.com:onyx-platform/onyx.git\" :branch \"master\"}}\n ",
"end": 432,
"score": 0.9973828196525574,
"start": 418,
"tag": "EMAIL",
"value": "git@github.com"
}
] | project.clj | c-sungho/clojask | 0 | (defproject clojask "1.0.0"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "EPL-2.0 OR GPL-2.0-or-later WITH Classpath-exception-2.0"
:url "https://www.eclipse.org/legal/epl-2.0/"}
:dependencies [[clojure-csv "2.0.2"]
[org.clojure/clojure "1.... | 102077 | (defproject clojask "1.0.0"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "EPL-2.0 OR GPL-2.0-or-later WITH Classpath-exception-2.0"
:url "https://www.eclipse.org/legal/epl-2.0/"}
:dependencies [[clojure-csv "2.0.2"]
[org.clojure/clojure "1.... | true | (defproject clojask "1.0.0"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "EPL-2.0 OR GPL-2.0-or-later WITH Classpath-exception-2.0"
:url "https://www.eclipse.org/legal/epl-2.0/"}
:dependencies [[clojure-csv "2.0.2"]
[org.clojure/clojure "1.... |
[
{
"context": "interna)}\n user-saved-bolha-key (str \"saved-\" (:spotify_access_token user) \"-\" (:id bolha))\n ",
"end": 1423,
"score": 0.7424282431602478,
"start": 1423,
"tag": "KEY",
"value": ""
},
{
"context": "lha-key (str \"saved-\" (:spotify_access_token user) \"-\" ... | src/bolha_musical_api/route_functions/bolha/votar_track_playlist.clj | LeafarDev/bolha-musical-api | 1 | (ns bolha-musical-api.route-functions.bolha.votar-track-playlist
(:require [clj-spotify.core :as sptfy]
[ring.util.http-response :refer :all]
[try-let :refer [try-let]]
[clojure.tools.logging :as log]
[bolha-musical-api.general-functions.date-formatters :as df]
... | 106958 | (ns bolha-musical-api.route-functions.bolha.votar-track-playlist
(:require [clj-spotify.core :as sptfy]
[ring.util.http-response :refer :all]
[try-let :refer [try-let]]
[clojure.tools.logging :as log]
[bolha-musical-api.general-functions.date-formatters :as df]
... | true | (ns bolha-musical-api.route-functions.bolha.votar-track-playlist
(:require [clj-spotify.core :as sptfy]
[ring.util.http-response :refer :all]
[try-let :refer [try-let]]
[clojure.tools.logging :as log]
[bolha-musical-api.general-functions.date-formatters :as df]
... |
[
{
"context": "-resources/config/jetty/ssl/private_keys/localhost.pem\"\n :ssl-ca-cert \"./dev-resources/config/jetty/ss",
"end": 1390,
"score": 0.6321448087692261,
"start": 1387,
"tag": "KEY",
"value": "pem"
},
{
"context": "SLUtils/isFIPS) \"bcfks\" \"jks\"))\n :key-password \"K... | test/clj/puppetlabs/trapperkeeper/services/webserver/jetty9_config_test.clj | threatgrid/trapperkeeper-webserver-jetty9 | 0 | (ns puppetlabs.trapperkeeper.services.webserver.jetty9-config-test
(:import (clojure.lang ExceptionInfo)
(java.util Arrays)
(com.puppetlabs.ssl_utils SSLUtils))
(:require [clojure.test :refer :all]
[clojure.java.io :refer [resource]]
[me.raynes.fs :as fs]
[p... | 119027 | (ns puppetlabs.trapperkeeper.services.webserver.jetty9-config-test
(:import (clojure.lang ExceptionInfo)
(java.util Arrays)
(com.puppetlabs.ssl_utils SSLUtils))
(:require [clojure.test :refer :all]
[clojure.java.io :refer [resource]]
[me.raynes.fs :as fs]
[p... | true | (ns puppetlabs.trapperkeeper.services.webserver.jetty9-config-test
(:import (clojure.lang ExceptionInfo)
(java.util Arrays)
(com.puppetlabs.ssl_utils SSLUtils))
(:require [clojure.test :refer :all]
[clojure.java.io :refer [resource]]
[me.raynes.fs :as fs]
[p... |
[
{
"context": "999999999999.111111111111M)\n\n(def persons {:name \"hubert\" :city \"linz\"})\n(println (:name persons))\n\n(print",
"end": 529,
"score": 0.9995743036270142,
"start": 523,
"tag": "NAME",
"value": "hubert"
}
] | clojure-sandbox/src/clojure_noob/misc.clj | guenhter/clojurescript-vs-javascript | 0 | (ns clojure-noob.misc)
(defn separator
[title]
(println)
(println (list "#########" title "#############")))
(println (type 999888777666555444333222111))
(println (* 999888777666555444333222111000 999888777666555444333222111000))
(println (+ 1N 0x7fffffffffffffff))
(println 0x7fffffffffffffff)
(println "hallo... | 88559 | (ns clojure-noob.misc)
(defn separator
[title]
(println)
(println (list "#########" title "#############")))
(println (type 999888777666555444333222111))
(println (* 999888777666555444333222111000 999888777666555444333222111000))
(println (+ 1N 0x7fffffffffffffff))
(println 0x7fffffffffffffff)
(println "hallo... | true | (ns clojure-noob.misc)
(defn separator
[title]
(println)
(println (list "#########" title "#############")))
(println (type 999888777666555444333222111))
(println (* 999888777666555444333222111000 999888777666555444333222111000))
(println (+ 1N 0x7fffffffffffffff))
(println 0x7fffffffffffffff)
(println "hallo... |
[
{
"context": " (reduce str)))\n; END clj_process_thread\n\n;; Smith,Moqi,Tom,Jack\n(def a_list (list \"smith\" \"moqi\" \"t",
"end": 567,
"score": 0.9997937083244324,
"start": 562,
"tag": "NAME",
"value": "Smith"
},
{
"context": "(reduce str)))\n; END clj_process_thread\n\n;; S... | src/main/clojure/com/moqi/clojure/a02/a0205_the_company_precess/core.clj | moqimoqidea/functional-programming | 0 | (ns com.moqi.clojure.a02.a0205_the_company_precess.core
(:require [clojure.string :as s]))
; 通过 Clojure 实现 Process 过程
; BEGIN clj_process
(defn process [list-of-employees]
(reduce str (interpose ","
(map s/capitalize (filter #(< 1 (count %)) list-of-employees)))))
; END clj_process
; 通过 ... | 22505 | (ns com.moqi.clojure.a02.a0205_the_company_precess.core
(:require [clojure.string :as s]))
; 通过 Clojure 实现 Process 过程
; BEGIN clj_process
(defn process [list-of-employees]
(reduce str (interpose ","
(map s/capitalize (filter #(< 1 (count %)) list-of-employees)))))
; END clj_process
; 通过 ... | true | (ns com.moqi.clojure.a02.a0205_the_company_precess.core
(:require [clojure.string :as s]))
; 通过 Clojure 实现 Process 过程
; BEGIN clj_process
(defn process [list-of-employees]
(reduce str (interpose ","
(map s/capitalize (filter #(< 1 (count %)) list-of-employees)))))
; END clj_process
; 通过 ... |
[
{
"context": ":export run\n []\n (reagent/render\n [:p \"Hello, Reagent!\"]\n (js/document.getElementById \"app\")))\n",
"end": 147,
"score": 0.9763340950012207,
"start": 140,
"tag": "NAME",
"value": "Reagent"
}
] | src/cljs/mvxcvi/body/main.cljs | greglook/body-app | 1 | (ns mvxcvi.body.main
(:require
[reagent.core :as reagent :refer [atom]]))
(defn ^:export run
[]
(reagent/render
[:p "Hello, Reagent!"]
(js/document.getElementById "app")))
| 86411 | (ns mvxcvi.body.main
(:require
[reagent.core :as reagent :refer [atom]]))
(defn ^:export run
[]
(reagent/render
[:p "Hello, <NAME>!"]
(js/document.getElementById "app")))
| true | (ns mvxcvi.body.main
(:require
[reagent.core :as reagent :refer [atom]]))
(defn ^:export run
[]
(reagent/render
[:p "Hello, PI:NAME:<NAME>END_PI!"]
(js/document.getElementById "app")))
|
[
{
"context": ":groups first .toLowerCase))\n (get {\"zwanzig\" 20 \"dreissig\" 30 \"vierzig\" 40 \"fünfzig\" 50\n ",
"end": 2464,
"score": 0.6910919547080994,
"start": 2461,
"tag": "NAME",
"value": "anz"
},
{
"context": "st .toLowerCase))\n (get {\"zwanzig\" 2... | resources/languages/de/rules/numbers.clj | irvingflores/duckling | 0 | ( "intersect" ;handles things like hundert zwei
[(dim :number :grain #(> (:grain %) 1)) (dim :number)] ; grain 1 are taken care of by specific rule
(compose-numbers %1 %2)
"numbers und"
[(integer 1 9) #"und" (integer 20 90 #(#{20 30 40 50 60 70 80 90} (:value %)))]
{:dim :number
:integer true
:value (+ (... | 39024 | ( "intersect" ;handles things like hundert zwei
[(dim :number :grain #(> (:grain %) 1)) (dim :number)] ; grain 1 are taken care of by specific rule
(compose-numbers %1 %2)
"numbers und"
[(integer 1 9) #"und" (integer 20 90 #(#{20 30 40 50 60 70 80 90} (:value %)))]
{:dim :number
:integer true
:value (+ (... | true | ( "intersect" ;handles things like hundert zwei
[(dim :number :grain #(> (:grain %) 1)) (dim :number)] ; grain 1 are taken care of by specific rule
(compose-numbers %1 %2)
"numbers und"
[(integer 1 9) #"und" (integer 20 90 #(#{20 30 40 50 60 70 80 90} (:value %)))]
{:dim :number
:integer true
:value (+ (... |
[
{
"context": "count\n \n {:doc \"count image files.\"\n :author \"palisades dot lakes at gmail dot com\"\n :version \"2018-01-12\"}\n \n (:require [clojur",
"end": 260,
"score": 0.7231884598731995,
"start": 224,
"tag": "EMAIL",
"value": "palisades dot lakes at gmail dot com"
}
] | src/scripts/clojure/palisades/lakes/curate/scripts/count.clj | palisades-lakes/curate | 0 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns palisades.lakes.curate.scripts.count
{:doc "count image files."
:author "palisades dot lakes at gmail dot com"
:version "2018-01-12"}
(:require [clojure.java.io ... | 60554 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns palisades.lakes.curate.scripts.count
{:doc "count image files."
:author "<EMAIL>"
:version "2018-01-12"}
(:require [clojure.java.io :as io]
[clojure.... | true | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns palisades.lakes.curate.scripts.count
{:doc "count image files."
:author "PI:EMAIL:<EMAIL>END_PI"
:version "2018-01-12"}
(:require [clojure.java.io :as io]
... |
[
{
"context": "hash hash\n :msg msg\n :author author\n :timestamp time}))\n\n(defn- ^Git git-open [wo",
"end": 4156,
"score": 0.7947773933410645,
"start": 4150,
"tag": "NAME",
"value": "author"
}
] | src/lambdacd_git/git.clj | magnars/lambdacd-git | 0 | (ns lambdacd-git.git
(:require [clojure.java.io :as io]
[lambdacd-git.ssh :as ssh]
[lambdacd-git.ssh-agent-support :as ssh-agent-support]
[clojure.string :as string])
(:import (org.eclipse.jgit.api Git TransportCommand TransportConfigCallback)
(org.eclipse.jgit.lib Ref... | 94939 | (ns lambdacd-git.git
(:require [clojure.java.io :as io]
[lambdacd-git.ssh :as ssh]
[lambdacd-git.ssh-agent-support :as ssh-agent-support]
[clojure.string :as string])
(:import (org.eclipse.jgit.api Git TransportCommand TransportConfigCallback)
(org.eclipse.jgit.lib Ref... | true | (ns lambdacd-git.git
(:require [clojure.java.io :as io]
[lambdacd-git.ssh :as ssh]
[lambdacd-git.ssh-agent-support :as ssh-agent-support]
[clojure.string :as string])
(:import (org.eclipse.jgit.api Git TransportCommand TransportConfigCallback)
(org.eclipse.jgit.lib Ref... |
[
{
"context": "k.org\\\"\n :api-key \\\"EDC33DA4D977CFDF7B90545565E07324\\\"\n :app-id \\\"administ",
"end": 805,
"score": 0.9981722831726074,
"start": 771,
"tag": "KEY",
"value": "EDC33DA4D977CFDF7B90545565E07324\\\""
}
] | src/clj_osf/dataset/delete.clj | structureddynamics/clj-osf | 4 | (ns clj-osf.dataset.delete
"Send a Dataset Delete Query to a OSF Dataset Delete web service endpoint
The Dataset: Delete Web service is used to delete an existing dataset in a
WSF (Web Services Framework). When a dataset gets deleted, all of the
information archived in it is deleted as well. There is no w... | 6721 | (ns clj-osf.dataset.delete
"Send a Dataset Delete Query to a OSF Dataset Delete web service endpoint
The Dataset: Delete Web service is used to delete an existing dataset in a
WSF (Web Services Framework). When a dataset gets deleted, all of the
information archived in it is deleted as well. There is no w... | true | (ns clj-osf.dataset.delete
"Send a Dataset Delete Query to a OSF Dataset Delete web service endpoint
The Dataset: Delete Web service is used to delete an existing dataset in a
WSF (Web Services Framework). When a dataset gets deleted, all of the
information archived in it is deleted as well. There is no w... |
[
{
"context": "h on a map/record keyword rather than on type.\n;\n; Eli Bendersky [http://eli.thegreenplace.net]\n; This code is in ",
"end": 80,
"score": 0.9970957636833191,
"start": 67,
"tag": "NAME",
"value": "Eli Bendersky"
},
{
"context": "ports lines-of-code])\n\n(promotion-due ... | 2016/multiple-dispatch/clojure/multi/src/multi/single_dispatch_mapkey.clj | mikiec84/code-for-blog | 1,199 | ; Single dispatch on a map/record keyword rather than on type.
;
; Eli Bendersky [http://eli.thegreenplace.net]
; This code is in the public domain.
(ns multi.single-dispatch-mapkey)
; Single-dispatch multimethod, dispatching on the value of a key in a map.
;(defmulti promotion-due :position)
; Alternative formulatio... | 24493 | ; Single dispatch on a map/record keyword rather than on type.
;
; <NAME> [http://eli.thegreenplace.net]
; This code is in the public domain.
(ns multi.single-dispatch-mapkey)
; Single-dispatch multimethod, dispatching on the value of a key in a map.
;(defmulti promotion-due :position)
; Alternative formulation
(defm... | true | ; Single dispatch on a map/record keyword rather than on type.
;
; PI:NAME:<NAME>END_PI [http://eli.thegreenplace.net]
; This code is in the public domain.
(ns multi.single-dispatch-mapkey)
; Single-dispatch multimethod, dispatching on the value of a key in a map.
;(defmulti promotion-due :position)
; Alternative for... |
[
{
"context": " :aws\n {username :username password :password} :svc\n {client-id :clie",
"end": 2233,
"score": 0.5652397871017456,
"start": 2225,
"tag": "USERNAME",
"value": "username"
},
{
"context": "_SRP_AUTH\"\n :AuthParameters {:USE... | src/sdk/aws/cognito_idp.clj | raiffeisenbankinternational/edd-core | 4 | (ns sdk.aws.cognito-idp
(:require [lambda.util :as util]
[sdk.aws.common :as common]
[clojure.tools.logging :as log]))
(defn- cognito-request
[{:keys
[command
aws-access-key-id
aws-secret-access-key
aws-session-token
aws]} payload]
(let [req {:method "POST"
... | 15935 | (ns sdk.aws.cognito-idp
(:require [lambda.util :as util]
[sdk.aws.common :as common]
[clojure.tools.logging :as log]))
(defn- cognito-request
[{:keys
[command
aws-access-key-id
aws-secret-access-key
aws-session-token
aws]} payload]
(let [req {:method "POST"
... | true | (ns sdk.aws.cognito-idp
(:require [lambda.util :as util]
[sdk.aws.common :as common]
[clojure.tools.logging :as log]))
(defn- cognito-request
[{:keys
[command
aws-access-key-id
aws-secret-access-key
aws-session-token
aws]} payload]
(let [req {:method "POST"
... |
[
{
"context": ";; Copyright 2015 Timothy Brooks\n;;\n;; Licensed under the Apache License, Version ",
"end": 32,
"score": 0.9998664855957031,
"start": 18,
"tag": "NAME",
"value": "Timothy Brooks"
}
] | test/beehive/future_test.clj | tbrooks8/fault | 2 | ;; Copyright 2015 Timothy Brooks
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in w... | 115453 | ;; 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/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writing, ... | 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.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed t... |
[
{
"context": " @h2/db-con schema)\n\n\n(def data [[:person {:name \"Daisy\"}]\n [:person {:name \"Mini\"}]\n ",
"end": 3050,
"score": 0.9997636675834656,
"start": 3045,
"tag": "NAME",
"value": "Daisy"
},
{
"context": "erson {:name \"Mini\"}]\n [:person {:... | data/train/clojure/4fe8aad1b31f7771a4c6069c190588b084643167project_test.clj | harshp8l/deep-learning-lang-detection | 84 | (ns aggregate.project-test
(:require [clojure.test :refer :all]
[aggregate.core :as agg]
[aggregate.testsupport :refer :all]
[clojure.java.jdbc :as jdbc]))
(use-fixtures :each db-fixture)
(def schema
[:customer [(id-column)
[:name "varchar(30)"]]
:person [(id-... | 60286 | (ns aggregate.project-test
(:require [clojure.test :refer :all]
[aggregate.core :as agg]
[aggregate.testsupport :refer :all]
[clojure.java.jdbc :as jdbc]))
(use-fixtures :each db-fixture)
(def schema
[:customer [(id-column)
[:name "varchar(30)"]]
:person [(id-... | true | (ns aggregate.project-test
(:require [clojure.test :refer :all]
[aggregate.core :as agg]
[aggregate.testsupport :refer :all]
[clojure.java.jdbc :as jdbc]))
(use-fixtures :each db-fixture)
(def schema
[:customer [(id-column)
[:name "varchar(30)"]]
:person [(id-... |
[
{
"context": "DUCATIONAL PURPOSES ONLY.\n;;\n(def users-data\n [[\"Kiayada Wyatt\" \"kiayada33\" 33 \"France\" true [2475 4344 6671]]\n ",
"end": 1536,
"score": 0.9998984336853027,
"start": 1523,
"tag": "NAME",
"value": "Kiayada Wyatt"
},
{
"context": "SES ONLY.\n;;\n(def users-data... | src/fast_data/data.clj | BrunoBonacci/fast-data | 0 | (ns fast-data.data)
(def basic-data
{
;; :bytes (byte-array [(byte 1) (byte 2) (byte 3)])
:nil nil
:boolean true
:char-utf8 \ಬ
:string-utf8 "ಬಾ ಇಲ್ಲಿ ಸಂಭವಿಸ"
:string-long (apply str (range 1000))
:keyword :keyword
:ns-keyword ::keyword
:sorted-set... | 80054 | (ns fast-data.data)
(def basic-data
{
;; :bytes (byte-array [(byte 1) (byte 2) (byte 3)])
:nil nil
:boolean true
:char-utf8 \ಬ
:string-utf8 "ಬಾ ಇಲ್ಲಿ ಸಂಭವಿಸ"
:string-long (apply str (range 1000))
:keyword :keyword
:ns-keyword ::keyword
:sorted-set... | true | (ns fast-data.data)
(def basic-data
{
;; :bytes (byte-array [(byte 1) (byte 2) (byte 3)])
:nil nil
:boolean true
:char-utf8 \ಬ
:string-utf8 "ಬಾ ಇಲ್ಲಿ ಸಂಭವಿಸ"
:string-long (apply str (range 1000))
:keyword :keyword
:ns-keyword ::keyword
:sorted-set... |
[
{
"context": "setup minimal hotkeys\"\n :url \"https://github.com/narracion/reagent-hotkeys\"\n :license {:name \"MIT\"\n ",
"end": 161,
"score": 0.9860377311706543,
"start": 152,
"tag": "USERNAME",
"value": "narracion"
},
{
"context": " :comment \"MIT License\"\n ... | project.clj | narracion/reagent-hotkeys | 0 | (defproject io.github.narracion/reagent-hotkeys "0.1.0-SNAPSHOT"
:description "Reagent component to setup minimal hotkeys"
:url "https://github.com/narracion/reagent-hotkeys"
:license {:name "MIT"
:url "https://choosealicense.com/licenses/mit"
:comment "MIT License"
:author "Ya... | 23718 | (defproject io.github.narracion/reagent-hotkeys "0.1.0-SNAPSHOT"
:description "Reagent component to setup minimal hotkeys"
:url "https://github.com/narracion/reagent-hotkeys"
:license {:name "MIT"
:url "https://choosealicense.com/licenses/mit"
:comment "MIT License"
:author "<N... | true | (defproject io.github.narracion/reagent-hotkeys "0.1.0-SNAPSHOT"
:description "Reagent component to setup minimal hotkeys"
:url "https://github.com/narracion/reagent-hotkeys"
:license {:name "MIT"
:url "https://choosealicense.com/licenses/mit"
:comment "MIT License"
:author "PI... |
[
{
"context": "; Space on the sleigh is limited this year, and so Santa will be bringing his\n; list as a digital copy",
"end": 265,
"score": 0.9554623961448669,
"start": 264,
"tag": "NAME",
"value": "S"
}
] | src/aoc/day8.clj | magopian/adventofcode | 0 | ; http://adventofcode.com/day/8
(ns aoc.day8)
(defmacro dbg[x] `(let [x# ~x] (println "dbg:" '~x "=" x#) x#))
(def input (clojure.string/split-lines (slurp "src/aoc/day8.input")))
; --- Day 8: Matchsticks ---
; Space on the sleigh is limited this year, and so Santa will be bringing his
; list as a digital copy. He ... | 108356 | ; http://adventofcode.com/day/8
(ns aoc.day8)
(defmacro dbg[x] `(let [x# ~x] (println "dbg:" '~x "=" x#) x#))
(def input (clojure.string/split-lines (slurp "src/aoc/day8.input")))
; --- Day 8: Matchsticks ---
; Space on the sleigh is limited this year, and so <NAME>anta will be bringing his
; list as a digital copy... | true | ; http://adventofcode.com/day/8
(ns aoc.day8)
(defmacro dbg[x] `(let [x# ~x] (println "dbg:" '~x "=" x#) x#))
(def input (clojure.string/split-lines (slurp "src/aoc/day8.input")))
; --- Day 8: Matchsticks ---
; Space on the sleigh is limited this year, and so PI:NAME:<NAME>END_PIanta will be bringing his
; list as ... |
[
{
"context": " }]\n \"Credentials schema is\n {\n username (string): Username or email. ,\n password (st",
"end": 438,
"score": 0.9483282566070557,
"start": 430,
"tag": "USERNAME",
"value": "username"
},
{
"context": "Credentials schema is\n {\n username... | src/trustroots/api.cljs | daiyitastic/Trustroots-React-Native | 0 | (ns trustroots.api
(:require
[trustroots.helpers :refer [log info debug]]
[trustroots.fetch-helper :as f :refer [fetch-json]]
[re-frame.core :refer [dispatch]]
))
; Api call
; ----------------------------------------------------------------------------
(defn signin [& {:keys [user on-success on-error ... | 75585 | (ns trustroots.api
(:require
[trustroots.helpers :refer [log info debug]]
[trustroots.fetch-helper :as f :refer [fetch-json]]
[re-frame.core :refer [dispatch]]
))
; Api call
; ----------------------------------------------------------------------------
(defn signin [& {:keys [user on-success on-error ... | true | (ns trustroots.api
(:require
[trustroots.helpers :refer [log info debug]]
[trustroots.fetch-helper :as f :refer [fetch-json]]
[re-frame.core :refer [dispatch]]
))
; Api call
; ----------------------------------------------------------------------------
(defn signin [& {:keys [user on-success on-error ... |
[
{
"context": ";\n; Copyright © 2021 Peter Monks\n;\n; Licensed under the Apache License, Version 2.",
"end": 32,
"score": 0.9995899796485901,
"start": 21,
"tag": "NAME",
"value": "Peter Monks"
}
] | test/lice_comb/spdx_test.clj | pmonks/lice-comb | 3 | ;
; Copyright © 2021 Peter Monks
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writi... | 27612 | ;
; 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": "alhost:5432/automigrate?user=automigrate&password=automigrate\"\n :number 4}\n db (db-util/d",
"end": 30762,
"score": 0.9903572797775269,
"start": 30751,
"tag": "PASSWORD",
"value": "automigrate"
},
{
"context": "alhost:5432/automigrate?user=automi... | src/automigrate/migrations.clj | abogoyavlensky/automigrate | 26 | (ns automigrate.migrations
"Module for applying changes to migrations and db.
Also contains tools for inspection of db state by migrations
and state of migrations itself."
(:require [next.jdbc :as jdbc]
#_{:clj-kondo/ignore [:unused-namespace]}
[clojure.spec.alpha :as s]
[clo... | 23183 | (ns automigrate.migrations
"Module for applying changes to migrations and db.
Also contains tools for inspection of db state by migrations
and state of migrations itself."
(:require [next.jdbc :as jdbc]
#_{:clj-kondo/ignore [:unused-namespace]}
[clojure.spec.alpha :as s]
[clo... | true | (ns automigrate.migrations
"Module for applying changes to migrations and db.
Also contains tools for inspection of db state by migrations
and state of migrations itself."
(:require [next.jdbc :as jdbc]
#_{:clj-kondo/ignore [:unused-namespace]}
[clojure.spec.alpha :as s]
[clo... |
[
{
"context": "nt\n (str \"AssistantBot/1.2.0 (https://github.com/KyleErhabor/assistant; kyleerhabor@gmail.com)\"\n \" Cloju",
"end": 23778,
"score": 0.9918544888496399,
"start": 23767,
"tag": "USERNAME",
"value": "KyleErhabor"
},
{
"context": "t/1.2.0 (https://github.com/KyleE... | src/assistant/commands.clj | LiteLT/assistant | 2 | (ns assistant.commands
"Command facilities for Assistant.
Commands are declared as functions with `^:command`. The function name, documentation, and metadata is used to
extract the data about a command to the `commands` and `discord-commands` vars. There's no special handling for
subcommands or subcomman... | 109927 | (ns assistant.commands
"Command facilities for Assistant.
Commands are declared as functions with `^:command`. The function name, documentation, and metadata is used to
extract the data about a command to the `commands` and `discord-commands` vars. There's no special handling for
subcommands or subcomman... | true | (ns assistant.commands
"Command facilities for Assistant.
Commands are declared as functions with `^:command`. The function name, documentation, and metadata is used to
extract the data about a command to the `commands` and `discord-commands` vars. There's no special handling for
subcommands or subcomman... |
[
{
"context": " \"name\" \"milt\"}},\n \"verb\" {\"id\" \"aaa:/",
"end": 3516,
"score": 0.521905779838562,
"start": 3515,
"tag": "NAME",
"value": "m"
},
{
"context": " \"name\" \"mil... | test/com/yetanalytics/dave/datalog_test.cljc | yetanalytics/dave | 25 | (ns com.yetanalytics.dave.datalog-test
(:require
[clojure.test #?(:cljs :refer-macros
:clj :refer) [deftest is testing]]
[clojure.spec.alpha :as s]
[xapi-schema.spec :as xs]
[clojure.spec.test.alpha :as stest]
clojure.test.check.generators
[clojure.test.check :as tc]
[clojure.... | 85425 | (ns com.yetanalytics.dave.datalog-test
(:require
[clojure.test #?(:cljs :refer-macros
:clj :refer) [deftest is testing]]
[clojure.spec.alpha :as s]
[xapi-schema.spec :as xs]
[clojure.spec.test.alpha :as stest]
clojure.test.check.generators
[clojure.test.check :as tc]
[clojure.... | true | (ns com.yetanalytics.dave.datalog-test
(:require
[clojure.test #?(:cljs :refer-macros
:clj :refer) [deftest is testing]]
[clojure.spec.alpha :as s]
[xapi-schema.spec :as xs]
[clojure.spec.test.alpha :as stest]
clojure.test.check.generators
[clojure.test.check :as tc]
[clojure.... |
[
{
"context": "onverts maps to seqs\"\n (let [raw-data [{:name \"Pete\" :age 36 :city \"York\"}\n {:name",
"end": 254,
"score": 0.9997089505195618,
"start": 250,
"tag": "NAME",
"value": "Pete"
},
{
"context": ":age 36 :city \"York\"}\n {:name \... | test/qu/test/data.clj | marcesher/qu | 325 | (ns qu.test.data
(:require [clojure.test :refer :all]
[qu.data :refer :all]
[qu.query :refer [is-aggregation? params->Query]]))
(deftest test-get-data-table
(testing "it converts maps to seqs"
(let [raw-data [{:name "Pete" :age 36 :city "York"}
{:name "Sarah" :age 34... | 84122 | (ns qu.test.data
(:require [clojure.test :refer :all]
[qu.data :refer :all]
[qu.query :refer [is-aggregation? params->Query]]))
(deftest test-get-data-table
(testing "it converts maps to seqs"
(let [raw-data [{:name "<NAME>" :age 36 :city "York"}
{:name "<NAME>" :age... | true | (ns qu.test.data
(:require [clojure.test :refer :all]
[qu.data :refer :all]
[qu.query :refer [is-aggregation? params->Query]]))
(deftest test-get-data-table
(testing "it converts maps to seqs"
(let [raw-data [{:name "PI:NAME:<NAME>END_PI" :age 36 :city "York"}
{:name... |
[
{
"context": ";; Copyright 2014-2020 King\n;; Copyright 2009-2014 Ragnar Svensson, Christian Murray\n;; Licensed under the Defold Li",
"end": 111,
"score": 0.9998026490211487,
"start": 96,
"tag": "NAME",
"value": "Ragnar Svensson"
},
{
"context": "-2020 King\n;; Copyright 2009-2014 R... | editor/src/clj/editor/pipeline.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... | 40847 | ;; 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": "llection {}))\n token (e/login (s/context) \"user1\")\n tag-key \"tag1\"]\n\n (tags/create-tag t",
"end": 9526,
"score": 0.5850340723991394,
"start": 9521,
"tag": "USERNAME",
"value": "user1"
},
{
"context": "en (e/login (s/context) \"user1\")\n ... | system-int-test/test/cmr/system_int_test/search/tagging/tag_association_collection_revisions_test.clj | sxu123/Common-Metadata-Repository | 0 | (ns cmr.system-int-test.search.tagging.tag-association-collection-revisions-test
"This tests associating tags with collection revisions."
(:require [clojure.test :refer :all]
[clojure.string :as str]
[cmr.common.util :refer [are2] :as util]
[cmr.system-int-test.utils.ingest-util ... | 39465 | (ns cmr.system-int-test.search.tagging.tag-association-collection-revisions-test
"This tests associating tags with collection revisions."
(:require [clojure.test :refer :all]
[clojure.string :as str]
[cmr.common.util :refer [are2] :as util]
[cmr.system-int-test.utils.ingest-util ... | true | (ns cmr.system-int-test.search.tagging.tag-association-collection-revisions-test
"This tests associating tags with collection revisions."
(:require [clojure.test :refer :all]
[clojure.string :as str]
[cmr.common.util :refer [are2] :as util]
[cmr.system-int-test.utils.ingest-util ... |
[
{
"context": ";;\n;; Copyright (C) 2011,2012 Carlo Sciolla\n;;\n;; Licensed under the Apache License, Version ",
"end": 43,
"score": 0.9998326301574707,
"start": 30,
"tag": "NAME",
"value": "Carlo Sciolla"
}
] | itest/alfresco/nodes_itest.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... | 38434 | ;;
;; 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": " @header-hidden\n [:header\n [:h1 \"Carlos\"]\n \"Autogenerated SVG illustrations insp",
"end": 1847,
"score": 0.9993975162506104,
"start": 1841,
"tag": "NAME",
"value": "Carlos"
},
{
"context": " [:a {:href \"https://en.wikipedia.org/wi... | src/carlos/core.cljs | polymeris/carlos | 14 | (ns carlos.core
(:require [reagent.core :as r]
[carlos.svg :refer [illustration]]
[dommy.core :refer-macros [sel1]]))
(def config (r/atom {:seed (rand-int 1e7)
:complexity 10
:animation true}))
(defn set-seed! [s]
(swap! config #(assoc % :se... | 28874 | (ns carlos.core
(:require [reagent.core :as r]
[carlos.svg :refer [illustration]]
[dommy.core :refer-macros [sel1]]))
(def config (r/atom {:seed (rand-int 1e7)
:complexity 10
:animation true}))
(defn set-seed! [s]
(swap! config #(assoc % :se... | true | (ns carlos.core
(:require [reagent.core :as r]
[carlos.svg :refer [illustration]]
[dommy.core :refer-macros [sel1]]))
(def config (r/atom {:seed (rand-int 1e7)
:complexity 10
:animation true}))
(defn set-seed! [s]
(swap! config #(assoc % :se... |
[
{
"context": "-------------------------------\n;;\n;;\n;; Author: PLIQUE Guillaume (Yomguithereal)\n;; Version: 0.1\n;;\n(ns clj-fuzz",
"end": 208,
"score": 0.9998469948768616,
"start": 192,
"tag": "NAME",
"value": "PLIQUE Guillaume"
},
{
"context": "------------\n;;\n;;\n;; Au... | test/clj_fuzzy/levenshtein_test.clj | sooheon/clj-fuzzy | 222 | ;; -------------------------------------------------------------------
;; clj-fuzzy Levenshtein Tests
;; -------------------------------------------------------------------
;;
;;
;; Author: PLIQUE Guillaume (Yomguithereal)
;; Version: 0.1
;;
(ns clj-fuzzy.levenshtein-test
(:require [clojure.test :refer :all]
... | 70371 | ;; -------------------------------------------------------------------
;; clj-fuzzy Levenshtein Tests
;; -------------------------------------------------------------------
;;
;;
;; Author: <NAME> (Yomguithereal)
;; Version: 0.1
;;
(ns clj-fuzzy.levenshtein-test
(:require [clojure.test :refer :all]
[c... | true | ;; -------------------------------------------------------------------
;; clj-fuzzy Levenshtein Tests
;; -------------------------------------------------------------------
;;
;;
;; Author: PI:NAME:<NAME>END_PI (Yomguithereal)
;; Version: 0.1
;;
(ns clj-fuzzy.levenshtein-test
(:require [clojure.test :refer :all]
... |
[
{
"context": "p (-> (request :post \"/session\" \"{\\\"username\\\": \\\"dan\\\",\\\"password\\\": \\\"dan\\\"}\")\n ;; ",
"end": 538,
"score": 0.5460619926452637,
"start": 535,
"tag": "USERNAME",
"value": "dan"
},
{
"context": "/session\" \"{\\\"username\\\": \\\"d... | test/expensapp/test/handler.clj | danmidwood/expensapp | 0 | (ns expensapp.test.handler
(:use clojure.test
ring.mock.request
expensapp.handler))
(deftest test-app
(testing "home route"
(let [response (app (request :get "/"))]
(is (= (:status response) 302))
(is (= (get-in response [:headers "Location"])
"/index.html"))))
(testi... | 72344 | (ns expensapp.test.handler
(:use clojure.test
ring.mock.request
expensapp.handler))
(deftest test-app
(testing "home route"
(let [response (app (request :get "/"))]
(is (= (:status response) 302))
(is (= (get-in response [:headers "Location"])
"/index.html"))))
(testi... | true | (ns expensapp.test.handler
(:use clojure.test
ring.mock.request
expensapp.handler))
(deftest test-app
(testing "home route"
(let [response (app (request :get "/"))]
(is (= (:status response) 302))
(is (= (get-in response [:headers "Location"])
"/index.html"))))
(testi... |
[
{
"context": ":id (random-uuid)))\n\n(defn register\n [db {:keys [::id] :as task}]\n (assoc-in db [::db :tasks id] task)",
"end": 298,
"score": 0.8819924592971802,
"start": 296,
"tag": "KEY",
"value": "id"
}
] | src/jtk_dvlp/re_frame/tasks.cljs | jtkDvlp/re-frame-tasks | 0 | (ns jtk-dvlp.re-frame.tasks
(:require
[re-frame.core :as rf]
[re-frame.interceptor :as interceptor]))
;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Functions
(defn ->task
[data]
(assoc data ::id (random-uuid)))
(defn register
[db {:keys [::id] :as task}]
(assoc-... | 29816 | (ns jtk-dvlp.re-frame.tasks
(:require
[re-frame.core :as rf]
[re-frame.interceptor :as interceptor]))
;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Functions
(defn ->task
[data]
(assoc data ::id (random-uuid)))
(defn register
[db {:keys [::<KEY>] :as task}]
(ass... | true | (ns jtk-dvlp.re-frame.tasks
(:require
[re-frame.core :as rf]
[re-frame.interceptor :as interceptor]))
;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Functions
(defn ->task
[data]
(assoc data ::id (random-uuid)))
(defn register
[db {:keys [::PI:KEY:<KEY>END_PI] :as ... |
[
{
"context": "mutter m k)\n\n(def factbase\n (facts/db\n [mann :adam]\n [mann :tobias]\n [mann :frank]\n [frau :",
"end": 137,
"score": 0.9849026799201965,
"start": 133,
"tag": "NAME",
"value": "adam"
},
{
"context": " factbase\n (facts/db\n [mann :adam]\n [mann :... | prolog-to-corelogic/clojure.clj | gixxi/talks-and-slides | 0 | (facts/db-rel mann n)
(facts/db-rel frau n)
(facts/db-rel vater v k)
(facts/db-rel mutter m k)
(def factbase
(facts/db
[mann :adam]
[mann :tobias]
[mann :frank]
[frau :eva]
[frau :daniela]
[frau :ulrike]
[vater :adam :tobias]
[vater :tobias :frank]
[vater :tobias :ulrike]
[mut... | 87861 | (facts/db-rel mann n)
(facts/db-rel frau n)
(facts/db-rel vater v k)
(facts/db-rel mutter m k)
(def factbase
(facts/db
[mann :<NAME>]
[mann :<NAME>]
[mann :<NAME>]
[frau :ev<NAME>]
[frau :<NAME>]
[frau :ul<NAME>ke]
[vater :<NAME> :<NAME>]
[vater :<NAME> :<NAME>]
[vater :tobias :ul... | true | (facts/db-rel mann n)
(facts/db-rel frau n)
(facts/db-rel vater v k)
(facts/db-rel mutter m k)
(def factbase
(facts/db
[mann :PI:NAME:<NAME>END_PI]
[mann :PI:NAME:<NAME>END_PI]
[mann :PI:NAME:<NAME>END_PI]
[frau :evPI:NAME:<NAME>END_PI]
[frau :PI:NAME:<NAME>END_PI]
[frau :ulPI:NAME:<NAME>END_... |
[
{
"context": " :headers {\"X-Forwarded-For\" \"1.3.3.7\"\n \"X-Forwarded-",
"end": 605,
"score": 0.9995313882827759,
"start": 598,
"tag": "IP_ADDRESS",
"value": "1.3.3.7"
}
] | example/test/nl/epij/gcf/example_test.clj | pepijn/google-cloud-functions-clojure | 6 | (ns nl.epij.gcf.example-test
(:require
[babashka.process :as proc]
[babashka.wait :as wait]
[clojure.test :refer [deftest is]]
[org.httpkit.client :as http]))
(def port 8090)
(defn request!
[]
(let [server (proc/process ["clojure" "-X:run"]
{:out :inherit
... | 39129 | (ns nl.epij.gcf.example-test
(:require
[babashka.process :as proc]
[babashka.wait :as wait]
[clojure.test :refer [deftest is]]
[org.httpkit.client :as http]))
(def port 8090)
(defn request!
[]
(let [server (proc/process ["clojure" "-X:run"]
{:out :inherit
... | true | (ns nl.epij.gcf.example-test
(:require
[babashka.process :as proc]
[babashka.wait :as wait]
[clojure.test :refer [deftest is]]
[org.httpkit.client :as http]))
(def port 8090)
(defn request!
[]
(let [server (proc/process ["clojure" "-X:run"]
{:out :inherit
... |
[
{
"context": "(comment \n re-core, Copyright 2012 Ronen Narkis, narkisr.com\n Licensed under the Apache License",
"end": 49,
"score": 0.9998814463615417,
"start": 37,
"tag": "NAME",
"value": "Ronen Narkis"
},
{
"context": "omment \n re-core, Copyright 2012 Ronen Narkis, narkisr... | src/freenas/remote.clj | celestial-ops/core | 1 | (comment
re-core, Copyright 2012 Ronen Narkis, narkisr.com
Licensed under the Apache License,
Version 2.0 (the "License") you may not use this file except in compliance with the License.
You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law... | 86602 | (comment
re-core, Copyright 2012 <NAME>, n<EMAIL>
Licensed under the Apache License,
Version 2.0 (the "License") you may not use this file except in compliance with the License.
You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agree... | true | (comment
re-core, Copyright 2012 PI:NAME:<NAME>END_PI, nPI:EMAIL:<EMAIL>END_PI
Licensed under the Apache License,
Version 2.0 (the "License") you may not use this file except in compliance with the License.
You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless requir... |
[
{
"context": "ns under the License.\n;;\n;; Copyright © 2013-2022, Kenneth Leung. All rights reserved.\n\n(ns czlab.hoard.core\n\n \"D",
"end": 597,
"score": 0.9998520612716675,
"start": 584,
"tag": "NAME",
"value": "Kenneth Leung"
},
{
"context": " :driver (str driver)\n ... | src/main/clojure/czlab/hoard/core.clj | llnek/dbio | 1 | ;; 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 ... | 55806 | ;; 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 ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.