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": "from here](http://mpqa.cs.pitt.edu/)\"\n {:author \"Mark Woodhall\"}\n (:require [clojure.java.io :as io]\n ",
"end": 141,
"score": 0.9998505115509033,
"start": 128,
"tag": "NAME",
"value": "Mark Woodhall"
}
] | src/clj_subjectivity/core.clj | markwoodhall/clj-subjectivity | 1 | (ns clj-subjectivity.core
"A Clojure wrapper around a subjectivity lexicon [from here](http://mpqa.cs.pitt.edu/)"
{:author "Mark Woodhall"}
(:require [clojure.java.io :as io]
[clojure.string :refer [split lower-case]]))
(def subjectivity-clues
(memoize #(read-string
(slurp (io/resource... | 108846 | (ns clj-subjectivity.core
"A Clojure wrapper around a subjectivity lexicon [from here](http://mpqa.cs.pitt.edu/)"
{:author "<NAME>"}
(:require [clojure.java.io :as io]
[clojure.string :refer [split lower-case]]))
(def subjectivity-clues
(memoize #(read-string
(slurp (io/resource "subje... | true | (ns clj-subjectivity.core
"A Clojure wrapper around a subjectivity lexicon [from here](http://mpqa.cs.pitt.edu/)"
{:author "PI:NAME:<NAME>END_PI"}
(:require [clojure.java.io :as io]
[clojure.string :refer [split lower-case]]))
(def subjectivity-clues
(memoize #(read-string
(slurp (io/r... |
[
{
"context": "ating dates\n and times.\"\n :author \"James Cunningham\"}\n simulator.time\n (:use [simulator.utils :only",
"end": 120,
"score": 0.9998659491539001,
"start": 104,
"tag": "NAME",
"value": "James Cunningham"
}
] | src/patient-simulator/src/simulator/time.clj | connectedhealthcities/anytown | 0 | (ns ^{:doc "Library for defining, querying and manipulating dates
and times."
:author "James Cunningham"}
simulator.time
(:use [simulator.utils :only (rand-normal)])
(import [java.util Date Calendar]
[java.text SimpleDateFormat]))
;;; --- conversion functions ---
(defn date-in-ms
"G... | 51708 | (ns ^{:doc "Library for defining, querying and manipulating dates
and times."
:author "<NAME>"}
simulator.time
(:use [simulator.utils :only (rand-normal)])
(import [java.util Date Calendar]
[java.text SimpleDateFormat]))
;;; --- conversion functions ---
(defn date-in-ms
"Get the tim... | true | (ns ^{:doc "Library for defining, querying and manipulating dates
and times."
:author "PI:NAME:<NAME>END_PI"}
simulator.time
(:use [simulator.utils :only (rand-normal)])
(import [java.util Date Calendar]
[java.text SimpleDateFormat]))
;;; --- conversion functions ---
(defn date-in-ms
... |
[
{
"context": ", welche pro Feld vorgenommen wird.\r\n;;\r\n;; Autor: Christian Meichsner\r\n\r\n(ns org.lambdaroyal.util.io\r\n (:require [cloj",
"end": 298,
"score": 0.9998782873153687,
"start": 279,
"tag": "NAME",
"value": "Christian Meichsner"
}
] | src/main/clojure/org/lambdaroyal/util/io.clj | gixxi/clojure-util | 1 | ;; Aspekt I/O
;; Generelle Funktionen zum Lesen von Datensätzen aus einer Datei und zum Eintragen dieser
;; Datensätze in eine Zieldatenbank. Das Eintragen der Daten geschieht nicht direkt, sondern
;; nach einer Datenmutation, welche pro Feld vorgenommen wird.
;;
;; Autor: Christian Meichsner
(ns org.lambdaroya... | 10384 | ;; Aspekt I/O
;; Generelle Funktionen zum Lesen von Datensätzen aus einer Datei und zum Eintragen dieser
;; Datensätze in eine Zieldatenbank. Das Eintragen der Daten geschieht nicht direkt, sondern
;; nach einer Datenmutation, welche pro Feld vorgenommen wird.
;;
;; Autor: <NAME>
(ns org.lambdaroyal.util.io
... | true | ;; Aspekt I/O
;; Generelle Funktionen zum Lesen von Datensätzen aus einer Datei und zum Eintragen dieser
;; Datensätze in eine Zieldatenbank. Das Eintragen der Daten geschieht nicht direkt, sondern
;; nach einer Datenmutation, welche pro Feld vorgenommen wird.
;;
;; Autor: PI:NAME:<NAME>END_PI
(ns org.lambdaroy... |
[
{
"context": "; Copyright (c) Rich Hickey. All rights reserved.\n; The use and distributio",
"end": 29,
"score": 0.9998644590377808,
"start": 18,
"tag": "NAME",
"value": "Rich Hickey"
},
{
"context": "tice, or any other, from this software.\n\n; Author: Stuart Halloway\n\n(ns clo... | Chapter 07 Code/niko/clojure/test/clojure/test_clojure/rt.clj | PacktPublishing/Clojure-Programming-Cookbook | 14 | ; Copyright (c) Rich Hickey. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
; which can be found in the file epl-v10.html at the root of this distribution.
; By using this software in any ... | 45805 | ; 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": "ive vs boxing vs adding meta data...\"\n :author \"palisades dot lakes at gmail dot com\"\n :since \"2017-09-16\"\n :version \"2017-09-20\"}",
"end": 296,
"score": 0.9846602082252502,
"start": 260,
"tag": "EMAIL",
"value": "palisades dot lakes at gmail dot com"
}
] | src/main/clojure/palisades/lakes/funx/spaces/linear/l2.clj | palisades-lakes/function-experiments | 0 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns palisades.lakes.funx.spaces.linear.l2
{:doc "benchmark primitive vs boxing vs adding meta data..."
:author "palisades dot lakes at gmail dot com"
:since "2017-09-16"... | 70022 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns palisades.lakes.funx.spaces.linear.l2
{:doc "benchmark primitive vs boxing vs adding meta data..."
:author "<EMAIL>"
:since "2017-09-16"
:version "2017-09-20"}
... | true | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns palisades.lakes.funx.spaces.linear.l2
{:doc "benchmark primitive vs boxing vs adding meta data..."
:author "PI:EMAIL:<EMAIL>END_PI"
:since "2017-09-16"
:version "... |
[
{
"context": ";;; Copyright 2014 Mitchell Kember. Subject to the MIT License.\n\n(ns conceal.connect",
"end": 34,
"score": 0.999886691570282,
"start": 19,
"tag": "NAME",
"value": "Mitchell Kember"
}
] | src/cljs/conceal/connect.cljs | mk12/conceal | 0 | ;;; Copyright 2014 Mitchell Kember. Subject to the MIT License.
(ns conceal.connect
(:require [clojure.browser.repl :as repl]))
(repl/connect "http://localhost:9000/repl")
| 108534 | ;;; Copyright 2014 <NAME>. Subject to the MIT License.
(ns conceal.connect
(:require [clojure.browser.repl :as repl]))
(repl/connect "http://localhost:9000/repl")
| true | ;;; Copyright 2014 PI:NAME:<NAME>END_PI. Subject to the MIT License.
(ns conceal.connect
(:require [clojure.browser.repl :as repl]))
(repl/connect "http://localhost:9000/repl")
|
[
{
"context": "subname \"//localhost:5432/test\"\n :user \"user\"\n :password \"pass\"}))\n\n(comment)\n (def",
"end": 342,
"score": 0.7920394539833069,
"start": 338,
"tag": "USERNAME",
"value": "user"
},
{
"context": "st\"\n :user \"user\"\n :... | test/clj_record/test_model/config.clj | duelinmarkers/clj-record | 8 | (ns clj-record.test-model.config)
(comment
(def db {:classname "org.apache.derby.jdbc.EmbeddedDriver"
:subprotocol "derby"
:subname "/tmp/clj-record.test.db"
:create true}))
(comment
(def db {:classname "org.postgresql.Driver"
:subprotocol "postgresql"
:subname "//localhost:5432/test"
... | 24250 | (ns clj-record.test-model.config)
(comment
(def db {:classname "org.apache.derby.jdbc.EmbeddedDriver"
:subprotocol "derby"
:subname "/tmp/clj-record.test.db"
:create true}))
(comment
(def db {:classname "org.postgresql.Driver"
:subprotocol "postgresql"
:subname "//localhost:5432/test"
... | true | (ns clj-record.test-model.config)
(comment
(def db {:classname "org.apache.derby.jdbc.EmbeddedDriver"
:subprotocol "derby"
:subname "/tmp/clj-record.test.db"
:create true}))
(comment
(def db {:classname "org.postgresql.Driver"
:subprotocol "postgresql"
:subname "//localhost:5432/test"
... |
[
{
"context": ";; Copyright (c) 2014-2015 Andrey Antukh <niwi@niwi.nz>\n;; Copyright (c) 2014-2015 Alejand",
"end": 40,
"score": 0.999893069267273,
"start": 27,
"tag": "NAME",
"value": "Andrey Antukh"
},
{
"context": ";; Copyright (c) 2014-2015 Andrey Antukh <niwi@niwi.nz>\n;; Copyrig... | src/cats/builtin.cljc | klausharbo/cats | 896 | ;; Copyright (c) 2014-2015 Andrey Antukh <niwi@niwi.nz>
;; Copyright (c) 2014-2015 Alejandro Gómez <alejandro@dialelo.com>
;; All rights reserved
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions
;; are met:
;;
;; 1. Redistribu... | 113852 | ;; Copyright (c) 2014-2015 <NAME> <<EMAIL>>
;; Copyright (c) 2014-2015 <NAME> <<EMAIL>>
;; All rights reserved
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions
;; are met:
;;
;; 1. Redistributions of source code must retain th... | true | ;; Copyright (c) 2014-2015 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
;; Copyright (c) 2014-2015 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
;; All rights reserved
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions
;; are m... |
[
{
"context": "ually exclusive from --mid)\"]\n [\"-p\" \"--password PASSWORD\" \"The password of the user\"]\n [nil \"--mid MID\"",
"end": 1686,
"score": 0.9958152174949646,
"start": 1678,
"tag": "PASSWORD",
"value": "PASSWORD"
},
{
"context": " from --mid)\"]\n [\"-p\" \"--pa... | src/manetu/data_loader/main.clj | ghaskins/data-loader | 0 | ;; Copyright © 2020-2022 Manetu, Inc. All rights reserved
(ns manetu.data-loader.main
(:require [clojure.tools.cli :refer [parse-opts]]
[clojure.string :as string]
[manetu.data-loader.core :as core]
[manetu.data-loader.commands.core :as commands]
[taoensso.timbre :as ... | 8411 | ;; Copyright © 2020-2022 Manetu, Inc. All rights reserved
(ns manetu.data-loader.main
(:require [clojure.tools.cli :refer [parse-opts]]
[clojure.string :as string]
[manetu.data-loader.core :as core]
[manetu.data-loader.commands.core :as commands]
[taoensso.timbre :as ... | true | ;; Copyright © 2020-2022 Manetu, Inc. All rights reserved
(ns manetu.data-loader.main
(:require [clojure.tools.cli :refer [parse-opts]]
[clojure.string :as string]
[manetu.data-loader.core :as core]
[manetu.data-loader.commands.core :as commands]
[taoensso.timbre :as ... |
[
{
"context": "neric functions implementation\n;;;; Author: mikel evins\n;;;; Copyright: Copyright 2009 by mikel evins",
"end": 256,
"score": 0.9998828172683716,
"start": 245,
"tag": "NAME",
"value": "mikel evins"
},
{
"context": " mikel evins\n;;;; Copyright: Copyright... | 0.2.1/clj/build/classes/xg/categories/functions.clj | mikelevins/categories | 5 | ;;;; ***********************************************************************
;;;; FILE IDENTIFICATION
;;;;
;;;; Name: functions.clj
;;;; Project: Categories
;;;; Purpose: generic functions implementation
;;;; Author: mikel evins
;;;; Copyright: Copyright 2009 by mikel evins, all rights r... | 13390 | ;;;; ***********************************************************************
;;;; FILE IDENTIFICATION
;;;;
;;;; Name: functions.clj
;;;; Project: Categories
;;;; Purpose: generic functions implementation
;;;; Author: <NAME>
;;;; Copyright: Copyright 2009 by <NAME>, all rights reserved
;;... | true | ;;;; ***********************************************************************
;;;; FILE IDENTIFICATION
;;;;
;;;; Name: functions.clj
;;;; Project: Categories
;;;; Purpose: generic functions implementation
;;;; Author: PI:NAME:<NAME>END_PI
;;;; Copyright: Copyright 2009 by PI:NAME:<NAME>EN... |
[
{
"context": "/serialize x \"json\" {}) \"json\" {}) x)\n 42\n \"fred\"\n \"ethel\"\n 42.5\n nil\n {\"foo\" [1 2 \"ba",
"end": 341,
"score": 0.9956677556037903,
"start": 337,
"tag": "NAME",
"value": "fred"
},
{
"context": "x \"json\" {}) \"json\" {}) x)\n 42\n ... | test/riverford/durable_ref/format/json/cheshire_test.clj | riverford/durable-ref | 72 | (ns riverford.durable-ref.format.json.cheshire-test
(:require [clojure.test :refer :all]
[riverford.durable-ref.format.json.cheshire]
[riverford.durable-ref.core :as dref]))
(deftest test-json-serialization-round-trips
(are [x]
(= (dref/deserialize (dref/serialize x "json" {}) "json" {}... | 87991 | (ns riverford.durable-ref.format.json.cheshire-test
(:require [clojure.test :refer :all]
[riverford.durable-ref.format.json.cheshire]
[riverford.durable-ref.core :as dref]))
(deftest test-json-serialization-round-trips
(are [x]
(= (dref/deserialize (dref/serialize x "json" {}) "json" {}... | true | (ns riverford.durable-ref.format.json.cheshire-test
(:require [clojure.test :refer :all]
[riverford.durable-ref.format.json.cheshire]
[riverford.durable-ref.core :as dref]))
(deftest test-json-serialization-round-trips
(are [x]
(= (dref/deserialize (dref/serialize x "json" {}) "json" {}... |
[
{
"context": " (fn [_] {:host \"smtp@example.com\"\n :",
"end": 1958,
"score": 0.9994317889213562,
"start": 1942,
"tag": "EMAIL",
"value": "smtp@example.com"
},
{
"context": " ... | code/test/sixsq/nuvla/server/resources/user_email_invitation_lifecycle_test.clj | 0xbase12/api-server | 6 | (ns sixsq.nuvla.server.resources.user-email-invitation-lifecycle-test
(:require
[clojure.data.json :as json]
[clojure.test :refer [deftest is use-fixtures]]
[peridot.core :refer [content-type header request session]]
[postal.core :as postal]
[ring.util.codec :as codec]
[ring.util.codec :as rc]... | 89061 | (ns sixsq.nuvla.server.resources.user-email-invitation-lifecycle-test
(:require
[clojure.data.json :as json]
[clojure.test :refer [deftest is use-fixtures]]
[peridot.core :refer [content-type header request session]]
[postal.core :as postal]
[ring.util.codec :as codec]
[ring.util.codec :as rc]... | true | (ns sixsq.nuvla.server.resources.user-email-invitation-lifecycle-test
(:require
[clojure.data.json :as json]
[clojure.test :refer [deftest is use-fixtures]]
[peridot.core :refer [content-type header request session]]
[postal.core :as postal]
[ring.util.codec :as codec]
[ring.util.codec :as rc]... |
[
{
"context": ";; Copyright (c) 2015-2016 Andrey Antukh <niwi@niwi.nz>\n;; All rights reserved.\n;;\n;; Redi",
"end": 40,
"score": 0.9998797178268433,
"start": 27,
"tag": "NAME",
"value": "Andrey Antukh"
},
{
"context": ";; Copyright (c) 2015-2016 Andrey Antukh <niwi@niwi.nz>\n;; All ... | src/promesa/async_cljs.cljc | k13gomez/promesa | 0 | ;; Copyright (c) 2015-2016 Andrey Antukh <niwi@niwi.nz>
;; All rights reserved.
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions
;; are met:
;;
;; 1. Redistributions of source code must retain the above copyright
;; notice,... | 39402 | ;; Copyright (c) 2015-2016 <NAME> <<EMAIL>>
;; All rights reserved.
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions
;; are met:
;;
;; 1. Redistributions of source code must retain the above copyright
;; notice, this list o... | true | ;; Copyright (c) 2015-2016 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
;; All rights reserved.
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions
;; are met:
;;
;; 1. Redistributions of source code must retain the above copyri... |
[
{
"context": "query-input/where-expr where-expr ;; \"[?e :name \\\"IVan\\\"]\"\n ;; TODO: us",
"end": 2330,
"score": 0.9934012293815613,
"start": 2326,
"tag": "NAME",
"value": "IVan"
},
{
"context": "dded true}]\n ;; [{:id 1, :attribute :name, :value... | src/main/app/dashboard/ui/queries/datoms.cljs | replikativ/datahike-frontend | 33 | (ns app.dashboard.ui.queries.datoms
(:require
[taoensso.timbre :as log]
[app.dashboard.mutations.datoms :as dm]
[app.dashboard.helper :as h]
[com.fulcrologic.fulcro.algorithms.react-interop :as interop]
[com.fulcrologic.fulcro.components :as comp :refer [defsc]]
[com.fulcrologic.fulcro.dom :as dom :... | 78737 | (ns app.dashboard.ui.queries.datoms
(:require
[taoensso.timbre :as log]
[app.dashboard.mutations.datoms :as dm]
[app.dashboard.helper :as h]
[com.fulcrologic.fulcro.algorithms.react-interop :as interop]
[com.fulcrologic.fulcro.components :as comp :refer [defsc]]
[com.fulcrologic.fulcro.dom :as dom :... | true | (ns app.dashboard.ui.queries.datoms
(:require
[taoensso.timbre :as log]
[app.dashboard.mutations.datoms :as dm]
[app.dashboard.helper :as h]
[com.fulcrologic.fulcro.algorithms.react-interop :as interop]
[com.fulcrologic.fulcro.components :as comp :refer [defsc]]
[com.fulcrologic.fulcro.dom :as dom :... |
[
{
"context": "; Copyright (c) Christophe Grand. All rights reserved.\n; The use and distributio",
"end": 34,
"score": 0.9998648762702942,
"start": 18,
"tag": "NAME",
"value": "Christophe Grand"
}
] | server/target/net/cgrand/parsley/demo.clj | OctavioBR/healthcheck | 0 | ; Copyright (c) Christophe Grand. 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... | 122568 | ; 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": "urians Slack\"]\n [:a {:href \"mailto:crux@juxt.pro\" :target \"_blank\"} \"Email Support\"]]]]]\n ",
"end": 3327,
"score": 0.9999264478683472,
"start": 3314,
"tag": "EMAIL",
"value": "crux@juxt.pro"
}
] | crux-http-server/src/crux/http_server/util.clj | tolitius/crux | 0 | (ns crux.http-server.util
(:require [crux.io :as cio]
[crux.api :as api]
[cognitect.transit :as transit]
[hiccup2.core :as hiccup2])
(:import [crux.api ICruxAPI ICruxDatasource]
java.time.format.DateTimeFormatter
java.net.URLEncoder
java.util.Date... | 58257 | (ns crux.http-server.util
(:require [crux.io :as cio]
[crux.api :as api]
[cognitect.transit :as transit]
[hiccup2.core :as hiccup2])
(:import [crux.api ICruxAPI ICruxDatasource]
java.time.format.DateTimeFormatter
java.net.URLEncoder
java.util.Date... | true | (ns crux.http-server.util
(:require [crux.io :as cio]
[crux.api :as api]
[cognitect.transit :as transit]
[hiccup2.core :as hiccup2])
(:import [crux.api ICruxAPI ICruxDatasource]
java.time.format.DateTimeFormatter
java.net.URLEncoder
java.util.Date... |
[
{
"context": ";; /*\n;; Non-linear Dynamic Sound Generators\n;; Lance Putnam 2004\n;; lance@uwalumni.com\n;;\n;; This is a set of",
"end": 156,
"score": 0.9998054504394531,
"start": 144,
"tag": "NAME",
"value": "Lance Putnam"
},
{
"context": "ynamic Sound Generators\n;; Lance P... | src/overtone/sc/machinery/ugen/metadata/chaos.clj | samaaron/overtone | 2 | (ns overtone.sc.machinery.ugen.metadata.chaos
(:use [overtone.sc.machinery.ugen common]))
;; /*
;; Non-linear Dynamic Sound Generators
;; Lance Putnam 2004
;; lance@uwalumni.com
;;
;; This is a set of iterative functions and differential equations that
;; are known to exhibit chaotic behavior. Internal calculati... | 59371 | (ns overtone.sc.machinery.ugen.metadata.chaos
(:use [overtone.sc.machinery.ugen common]))
;; /*
;; Non-linear Dynamic Sound Generators
;; <NAME> 2004
;; <EMAIL>
;;
;; This is a set of iterative functions and differential equations that
;; are known to exhibit chaotic behavior. Internal calculations are
;; done w... | true | (ns overtone.sc.machinery.ugen.metadata.chaos
(:use [overtone.sc.machinery.ugen common]))
;; /*
;; Non-linear Dynamic Sound Generators
;; PI:NAME:<NAME>END_PI 2004
;; PI:EMAIL:<EMAIL>END_PI
;;
;; This is a set of iterative functions and differential equations that
;; are known to exhibit chaotic behavior. Intern... |
[
{
"context": "comment\n (quote-parser {:a \"\"\n :b \"@@123@@456\"\n :c \"hello@@world\"\n ",
"end": 498,
"score": 0.9037801027297974,
"start": 487,
"tag": "PASSWORD",
"value": "\"@@123@@456"
}
] | src/nr_data/quotes.clj | plural/netrunner-data | 7 | (ns nr-data.quotes
(:require
[clojure.string :as string]
[medley.core :refer [filter-vals map-vals]]
[semantic-csv.core :as sc]
[zprint.core :as zp]))
(defn quote-parser
[quotes]
(->> quotes
(filter-vals seq)
(map-vals (fn [text]
(as-> text text
(... | 6537 | (ns nr-data.quotes
(:require
[clojure.string :as string]
[medley.core :refer [filter-vals map-vals]]
[semantic-csv.core :as sc]
[zprint.core :as zp]))
(defn quote-parser
[quotes]
(->> quotes
(filter-vals seq)
(map-vals (fn [text]
(as-> text text
(... | true | (ns nr-data.quotes
(:require
[clojure.string :as string]
[medley.core :refer [filter-vals map-vals]]
[semantic-csv.core :as sc]
[zprint.core :as zp]))
(defn quote-parser
[quotes]
(->> quotes
(filter-vals seq)
(map-vals (fn [text]
(as-> text text
(... |
[
{
"context": "ame\"\n (t/is (clojure.string/includes? usage \"Ash Ra\")))\n (t/testing \"(usage) mentions the ART",
"end": 1924,
"score": 0.7520370483398438,
"start": 1923,
"tag": "NAME",
"value": "A"
}
] | clj-art/test/vivid/art/clj_tool_test.clj | vivid-inc/ash-ra-template | 14 | ; Copyright 2021 Vivid Inc.
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; https://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writing, s... | 79735 | ; Copyright 2021 Vivid Inc.
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; https://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writing, s... | true | ; Copyright 2021 Vivid Inc.
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; https://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writing, s... |
[
{
"context": "ame \"USERS\"\n :display_name \"Users\"\n :entity_type \"entity/UserTable\"\n",
"end": 6009,
"score": 0.9693475961685181,
"start": 6004,
"tag": "NAME",
"value": "Users"
},
{
"context": " :name ... | c#-metabase/test/metabase/api/table_test.clj | hanakhry/Crime_Admin | 0 | (ns metabase.api.table-test
"Tests for /api/table endpoints."
(:require [cheshire.core :as json]
[clojure.test :refer :all]
[clojure.walk :as walk]
[medley.core :as m]
[metabase.api.table :as table-api]
[metabase.driver.util :as driver.u]
[meta... | 114980 | (ns metabase.api.table-test
"Tests for /api/table endpoints."
(:require [cheshire.core :as json]
[clojure.test :refer :all]
[clojure.walk :as walk]
[medley.core :as m]
[metabase.api.table :as table-api]
[metabase.driver.util :as driver.u]
[meta... | true | (ns metabase.api.table-test
"Tests for /api/table endpoints."
(:require [cheshire.core :as json]
[clojure.test :refer :all]
[clojure.walk :as walk]
[medley.core :as m]
[metabase.api.table :as table-api]
[metabase.driver.util :as driver.u]
[meta... |
[
{
"context": "greeting \"Good morning\" \"Clojure\")))\n\n(println \"=> Allez Gut!\")\n\n(defn my-identity [x] x)\n(println (my-identit",
"end": 1034,
"score": 0.994843065738678,
"start": 1025,
"tag": "NAME",
"value": "Allez Gut"
},
{
"context": "assert (= n (apply f 123 (range)))))\... | clojure/clojure.clj | scorphus/sparring | 2 | (use '[clojure.string :only (join upper-case)])
(defn messenger-builder [greeting func]
(fn [who] (func greeting who))) ; closes over greeting
;; greeting provided here, then goes out of scope
(def hello-er (messenger-builder "Hello" println))
;; greeting value still available because hello-er is a closure
(printl... | 6056 | (use '[clojure.string :only (join upper-case)])
(defn messenger-builder [greeting func]
(fn [who] (func greeting who))) ; closes over greeting
;; greeting provided here, then goes out of scope
(def hello-er (messenger-builder "Hello" println))
;; greeting value still available because hello-er is a closure
(printl... | true | (use '[clojure.string :only (join upper-case)])
(defn messenger-builder [greeting func]
(fn [who] (func greeting who))) ; closes over greeting
;; greeting provided here, then goes out of scope
(def hello-er (messenger-builder "Hello" println))
;; greeting value still available because hello-er is a closure
(printl... |
[
{
"context": "client name is injected\"\n (let [client-name \"CLIENT_NAME\"\n client-name-elements (-> (th/create-",
"end": 1718,
"score": 0.7551993727684021,
"start": 1707,
"tag": "USERNAME",
"value": "CLIENT_NAME"
},
{
"context": " (assoc-in [:context... | test/stonecutter/test/view/authorise.clj | d-cent/stonecutter | 39 | (ns stonecutter.test.view.authorise
(:require [midje.sweet :refer :all]
[net.cgrand.enlive-html :as html]
[stonecutter.routes :as r]
[stonecutter.test.view.test-helpers :as th]
[stonecutter.translation :as t]
[stonecutter.view.authorise :refer [authorise-for... | 119965 | (ns stonecutter.test.view.authorise
(:require [midje.sweet :refer :all]
[net.cgrand.enlive-html :as html]
[stonecutter.routes :as r]
[stonecutter.test.view.test-helpers :as th]
[stonecutter.translation :as t]
[stonecutter.view.authorise :refer [authorise-for... | true | (ns stonecutter.test.view.authorise
(:require [midje.sweet :refer :all]
[net.cgrand.enlive-html :as html]
[stonecutter.routes :as r]
[stonecutter.test.view.test-helpers :as th]
[stonecutter.translation :as t]
[stonecutter.view.authorise :refer [authorise-for... |
[
{
"context": ";; Copyright (C) 2018, 2019 by Vlad Kozin\n\n(ns arb\n (:require\n [medley.core :refer :all]",
"end": 41,
"score": 0.9998226165771484,
"start": 31,
"tag": "NAME",
"value": "Vlad Kozin"
}
] | src/arb.clj | vkz/bot | 1 | ;; Copyright (C) 2018, 2019 by Vlad Kozin
(ns arb
(:require
[medley.core :refer :all]
[clojure.test :refer [deftest is are]]
[clojure.core.async :as async]
[taoensso.timbre :as log]))
(require '[exch :as exch :refer :all])
;;* Arb
;; TODO This is exchange dependent, so really I should pass exchange st... | 54556 | ;; Copyright (C) 2018, 2019 by <NAME>
(ns arb
(:require
[medley.core :refer :all]
[clojure.test :refer [deftest is are]]
[clojure.core.async :as async]
[taoensso.timbre :as log]))
(require '[exch :as exch :refer :all])
;;* Arb
;; TODO This is exchange dependent, so really I should pass exchange struct... | true | ;; Copyright (C) 2018, 2019 by PI:NAME:<NAME>END_PI
(ns arb
(:require
[medley.core :refer :all]
[clojure.test :refer [deftest is are]]
[clojure.core.async :as async]
[taoensso.timbre :as log]))
(require '[exch :as exch :refer :all])
;;* Arb
;; TODO This is exchange dependent, so really I should pass e... |
[
{
"context": "le tables at once\n\n (db/transact {:author/name \\\"test\\\"\n :author/email \\\"test@test.com\\\"",
"end": 11254,
"score": 0.9871771335601807,
"start": 11250,
"tag": "USERNAME",
"value": "test"
},
{
"context": "hor/name \\\"test\\\"\n :a... | src/coast/db.clj | dawran6/coast | 0 | (ns coast.db
(:require [clojure.java.jdbc :as jdbc]
[clojure.string :as string]
[clojure.walk :as walk]
[clojure.data.json :as json]
[clojure.instant :as instant]
[coast.db.queries :as queries]
[coast.db.transact :as db.transact]
[coa... | 62384 | (ns coast.db
(:require [clojure.java.jdbc :as jdbc]
[clojure.string :as string]
[clojure.walk :as walk]
[clojure.data.json :as json]
[clojure.instant :as instant]
[coast.db.queries :as queries]
[coast.db.transact :as db.transact]
[coa... | true | (ns coast.db
(:require [clojure.java.jdbc :as jdbc]
[clojure.string :as string]
[clojure.walk :as walk]
[clojure.data.json :as json]
[clojure.instant :as instant]
[coast.db.queries :as queries]
[coast.db.transact :as db.transact]
[coa... |
[
{
"context": "mple sysex librarian.\"]\n [:p \"Copyright (c) 2020 Daniel Appelt\"]\n [:p \"It is released under the \"\n [:a {:hr",
"end": 2412,
"score": 0.9997954964637756,
"start": 2399,
"tag": "NAME",
"value": "Daniel Appelt"
},
{
"context": "ed under the \"\n [:a {:href... | src/cljs/midi_spider/views.cljs | danielappelt/midi-spider | 3 | (ns midi-spider.views
(:require
[clojure.string :as str]
[re-frame.core :as re-frame]
[midi-spider.events :as events]
[midi-spider.routes :as routes]
[midi-spider.subs :as subs]
))
(defn midi-port [port]
[:option {:value (.-id port)} (.-name port)])
(defn midi-ports [label subscription event]
... | 55412 | (ns midi-spider.views
(:require
[clojure.string :as str]
[re-frame.core :as re-frame]
[midi-spider.events :as events]
[midi-spider.routes :as routes]
[midi-spider.subs :as subs]
))
(defn midi-port [port]
[:option {:value (.-id port)} (.-name port)])
(defn midi-ports [label subscription event]
... | true | (ns midi-spider.views
(:require
[clojure.string :as str]
[re-frame.core :as re-frame]
[midi-spider.events :as events]
[midi-spider.routes :as routes]
[midi-spider.subs :as subs]
))
(defn midi-port [port]
[:option {:value (.-id port)} (.-name port)])
(defn midi-ports [label subscription event]
... |
[
{
"context": "\n :change-on-blur? false\n :placeholder \"username\"\n :model @(re-frame/subscribe [:login-userna",
"end": 2086,
"score": 0.9969559907913208,
"start": 2078,
"tag": "USERNAME",
"value": "username"
},
{
"context": "status-tooltip status-tooltip\n :pla... | src/dativetop/gui/src/dativetop_gui/login.cljs | jrwdunham/dative-toga | 1 | ;; View functions for Dative's login panel
;; Functions that return re-com widget components which react (i.e., modify the
;; DOM, or subscribe) to events emitted by the app database and which trigger
;; events based on a user's interaction with the GUI.
;; All Dative view modules should define a ``panel`` function.
... | 121136 | ;; View functions for Dative's login panel
;; Functions that return re-com widget components which react (i.e., modify the
;; DOM, or subscribe) to events emitted by the app database and which trigger
;; events based on a user's interaction with the GUI.
;; All Dative view modules should define a ``panel`` function.
... | true | ;; View functions for Dative's login panel
;; Functions that return re-com widget components which react (i.e., modify the
;; DOM, or subscribe) to events emitted by the app database and which trigger
;; events based on a user's interaction with the GUI.
;; All Dative view modules should define a ``panel`` function.
... |
[
{
"context": "cebook-user [ctx facebook-user]\n (let [{:keys [id first_name last_name email locale]} facebook-user\n ",
"end": 914,
"score": 0.9665523767471313,
"start": 909,
"tag": "NAME",
"value": "first"
},
{
"context": " [ctx facebook-user]\n (let [{:keys [id first_name las... | src/clj/salava/oauth/facebook.clj | discendum/salava | 17 | (ns salava.oauth.facebook
(:require [slingshot.slingshot :refer :all]
[salava.oauth.db :as d]
[salava.core.countries :refer [all-countries]]
[salava.core.util :refer [get-site-url get-base-path]]))
(def facebook-base-url "https://graph.facebook.com/v2.6")
(defn facebook-access-to... | 105762 | (ns salava.oauth.facebook
(:require [slingshot.slingshot :refer :all]
[salava.oauth.db :as d]
[salava.core.countries :refer [all-countries]]
[salava.core.util :refer [get-site-url get-base-path]]))
(def facebook-base-url "https://graph.facebook.com/v2.6")
(defn facebook-access-to... | true | (ns salava.oauth.facebook
(:require [slingshot.slingshot :refer :all]
[salava.oauth.db :as d]
[salava.core.countries :refer [all-countries]]
[salava.core.util :refer [get-site-url get-base-path]]))
(def facebook-base-url "https://graph.facebook.com/v2.6")
(defn facebook-access-to... |
[
{
"context": "el \"alternate\"\n :title \"Evolving Ideas - Kevin Litwack's Blog\"\n :type \"application/atom+xml\"}]\n",
"end": 1614,
"score": 0.9997955560684204,
"start": 1601,
"tag": "NAME",
"value": "Kevin Litwack"
},
{
"context": "t col-xs-12 col-sm-6 col-md-6\... | template/layouts/default.clj | Geeber/kevinlitwack.com | 0 | ; @title default title
; @format html5
(defn menu []
(list
[:button
{:type "button"
:class "navbar-toggle btn-navbar collapsed"
:data-toggle "collapse"
:data-target ".primary .navbar-collapse"}
[:span.text "Menu"]
[:span.icon-bar]
[:span.icon-bar]
[:span.icon-bar]]
[:nav {:class "coll... | 16074 | ; @title default title
; @format html5
(defn menu []
(list
[:button
{:type "button"
:class "navbar-toggle btn-navbar collapsed"
:data-toggle "collapse"
:data-target ".primary .navbar-collapse"}
[:span.text "Menu"]
[:span.icon-bar]
[:span.icon-bar]
[:span.icon-bar]]
[:nav {:class "coll... | true | ; @title default title
; @format html5
(defn menu []
(list
[:button
{:type "button"
:class "navbar-toggle btn-navbar collapsed"
:data-toggle "collapse"
:data-target ".primary .navbar-collapse"}
[:span.text "Menu"]
[:span.icon-bar]
[:span.icon-bar]
[:span.icon-bar]]
[:nav {:class "coll... |
[
{
"context": "rium.core)\n (def s (cell {:label \"root name\"} \"Howard\"))\n (def u (cell {:label \"upper-case\"}\n ",
"end": 11741,
"score": 0.9863091707229614,
"start": 11735,
"tag": "NAME",
"value": "Howard"
},
{
"context": "nge! r #(println \"r changed to\" %)))\n (... | src/io/aviso/frappe.clj | AvisoNovate/frappe | 0 | (ns io.aviso.frappe
"A take on server-side functional/reactive programming, with an eye towards smart publishing."
(:require [io.aviso.toolchest.macros :refer [cond-let]]
[com.stuartsierra.dependency :as dep]
[clojure.pprint :as pp]
[medley.core :as medley]
[clojure.s... | 29982 | (ns io.aviso.frappe
"A take on server-side functional/reactive programming, with an eye towards smart publishing."
(:require [io.aviso.toolchest.macros :refer [cond-let]]
[com.stuartsierra.dependency :as dep]
[clojure.pprint :as pp]
[medley.core :as medley]
[clojure.s... | true | (ns io.aviso.frappe
"A take on server-side functional/reactive programming, with an eye towards smart publishing."
(:require [io.aviso.toolchest.macros :refer [cond-let]]
[com.stuartsierra.dependency :as dep]
[clojure.pprint :as pp]
[medley.core :as medley]
[clojure.s... |
[
{
"context": "on to retrieve values\n(def identities\n [{:alias \"Batman\" :real \"Bruce Wayne\"}\n {:alias \"Spider-Man\" :re",
"end": 558,
"score": 0.9996790885925293,
"start": 552,
"tag": "NAME",
"value": "Batman"
},
{
"context": "values\n(def identities\n [{:alias \"Batman\" ... | chapter4/src/chapter4/core.clj | thorsilver/Clojure-Learning | 0 | (ns chapter4.core
(:gen-class))
(defn -main
"I don't do a whole lot ... yet."
[& args]
(println "Hello, World!"))
(defn titleize
[topic]
(str topic " for the Brave and True"))
(def human-consumption [8.1 7.3 6.6 5.0])
(def critter-consumption [0.0 0.2 0.3 1.1])
(defn unify-diet-data
[human critter]
... | 44481 | (ns chapter4.core
(:gen-class))
(defn -main
"I don't do a whole lot ... yet."
[& args]
(println "Hello, World!"))
(defn titleize
[topic]
(str topic " for the Brave and True"))
(def human-consumption [8.1 7.3 6.6 5.0])
(def critter-consumption [0.0 0.2 0.3 1.1])
(defn unify-diet-data
[human critter]
... | true | (ns chapter4.core
(:gen-class))
(defn -main
"I don't do a whole lot ... yet."
[& args]
(println "Hello, World!"))
(defn titleize
[topic]
(str topic " for the Brave and True"))
(def human-consumption [8.1 7.3 6.6 5.0])
(def critter-consumption [0.0 0.2 0.3 1.1])
(defn unify-diet-data
[human critter]
... |
[
{
"context": "ls]\n [cat_file :as cf]))\n\n(def author \"Linus Torvalds <torvalds@transmeta.com> 1581997446 -0500\")\n(def ",
"end": 134,
"score": 0.9998809099197388,
"start": 120,
"tag": "NAME",
"value": "Linus Torvalds"
},
{
"context": "[cat_file :as cf]))\n\n(def author... | assignment3/src/commit_tree.clj | hybrezz54/comp590-145 | 0 | (ns commit_tree
(:require [clojure.java.io :as io])
(:require [utils]
[cat_file :as cf]))
(def author "Linus Torvalds <torvalds@transmeta.com> 1581997446 -0500")
(def committer author)
(defn commit-object
"Construct a new commit object"
[tree-addr author-str committer-str msg parent-str]
(let [c... | 81685 | (ns commit_tree
(:require [clojure.java.io :as io])
(:require [utils]
[cat_file :as cf]))
(def author "<NAME> <<EMAIL>> 1581997446 -0500")
(def committer author)
(defn commit-object
"Construct a new commit object"
[tree-addr author-str committer-str msg parent-str]
(let [commit-format (str "tree... | true | (ns commit_tree
(:require [clojure.java.io :as io])
(:require [utils]
[cat_file :as cf]))
(def author "PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> 1581997446 -0500")
(def committer author)
(defn commit-object
"Construct a new commit object"
[tree-addr author-str committer-str msg parent-str]
(... |
[
{
"context": "/accounts\"\n :headers {\"CB-ACCESS-KEY\" \"123123\", \n \"CB-ACCESS-SIGN\" \"aSRkZm",
"end": 1619,
"score": 0.9953979849815369,
"start": 1613,
"tag": "KEY",
"value": "123123"
},
{
"context": "23,\n \"CB-ACCESS-PASSPH... | test/coinbase_pro_clj/authentication_test.clj | bpringe/coinbase-pro-clojure | 21 | (ns coinbase-pro-clj.authentication-test
(:require [clojure.test :refer :all]
[coinbase-pro-clj.authentication :refer :all]))
(deftest create-prehash-string-test
(is (= "123GET/time"
(#'coinbase-pro-clj.authentication/create-prehash-string
123
{:method "GET" :url ... | 77242 | (ns coinbase-pro-clj.authentication-test
(:require [clojure.test :refer :all]
[coinbase-pro-clj.authentication :refer :all]))
(deftest create-prehash-string-test
(is (= "123GET/time"
(#'coinbase-pro-clj.authentication/create-prehash-string
123
{:method "GET" :url ... | true | (ns coinbase-pro-clj.authentication-test
(:require [clojure.test :refer :all]
[coinbase-pro-clj.authentication :refer :all]))
(deftest create-prehash-string-test
(is (= "123GET/time"
(#'coinbase-pro-clj.authentication/create-prehash-string
123
{:method "GET" :url ... |
[
{
"context": "The Fibonacci Numbers as a lazy sequence. Credit: Christophe Grand as\n mention in 'Programming Clojure', pg. 137.\"\n",
"end": 1161,
"score": 0.9997809529304504,
"start": 1145,
"tag": "NAME",
"value": "Christophe Grand"
}
] | src/project_euler_solutions/core.clj | evanspa/Project-Euler-Solutions | 0 | (ns project-euler-solutions.core
(:require [clojure.math.numeric-tower :as math]))
(defmacro bench
"Times the execution of forms, discarding their output and returning
a long in nanoseconds."
([& forms]
`(let [start# (System/nanoTime)]
~@forms
(- (System/nanoTime) start#))))
(defn partia... | 79652 | (ns project-euler-solutions.core
(:require [clojure.math.numeric-tower :as math]))
(defmacro bench
"Times the execution of forms, discarding their output and returning
a long in nanoseconds."
([& forms]
`(let [start# (System/nanoTime)]
~@forms
(- (System/nanoTime) start#))))
(defn partia... | true | (ns project-euler-solutions.core
(:require [clojure.math.numeric-tower :as math]))
(defmacro bench
"Times the execution of forms, discarding their output and returning
a long in nanoseconds."
([& forms]
`(let [start# (System/nanoTime)]
~@forms
(- (System/nanoTime) start#))))
(defn partia... |
[
{
"context": "imaryFire>\n\t\t<Primary Device=\\\"068EC010\\\" Key=\\\"Joy_1\\\" />\n\t\t<Secondary Device=\\\"{NoDevice}\\\" Key=\\\"\\\" ",
"end": 644,
"score": 0.9098432064056396,
"start": 641,
"tag": "KEY",
"value": "y_1"
},
{
"context": "\n// PrimaryFire ... | test/edcmcgen/main_tests.clj | imrekoszo/edcmcgen | 0 | (ns edcmcgen.main-tests
(:require [edcmcgen.main :refer [process]]
[clojure.test :refer :all])
(:import (java.io ByteArrayInputStream)))
(def binds-content
"<?xml version=\"1.0\" encoding=\"UTF-8\" ?>
<Root PresetName=\"Custom\">
<CamTranslateUp>
<Primary Device=\"Keyboard\" Key=\"Key_D\" />
<S... | 15146 | (ns edcmcgen.main-tests
(:require [edcmcgen.main :refer [process]]
[clojure.test :refer :all])
(:import (java.io ByteArrayInputStream)))
(def binds-content
"<?xml version=\"1.0\" encoding=\"UTF-8\" ?>
<Root PresetName=\"Custom\">
<CamTranslateUp>
<Primary Device=\"Keyboard\" Key=\"Key_D\" />
<S... | true | (ns edcmcgen.main-tests
(:require [edcmcgen.main :refer [process]]
[clojure.test :refer :all])
(:import (java.io ByteArrayInputStream)))
(def binds-content
"<?xml version=\"1.0\" encoding=\"UTF-8\" ?>
<Root PresetName=\"Custom\">
<CamTranslateUp>
<Primary Device=\"Keyboard\" Key=\"Key_D\" />
<S... |
[
{
"context": " test-modify-vals\n (let [m (u/modify-vals {:ip \"1.2.3.4\"\n :url \"http://1.2.3.4/u",
"end": 206,
"score": 0.9993993639945984,
"start": 199,
"tag": "IP_ADDRESS",
"value": "1.2.3.4"
},
{
"context": "tps://example.com\"}\n ... | cimi-tools/test/com/sixsq/slipstream/tools/cli/utils_test.clj | slipstream/cimi-mf2c | 0 | (ns com.sixsq.slipstream.tools.cli.utils-test
(:require
[clojure.test :refer :all]
[com.sixsq.slipstream.tools.cli.utils :as u]))
(deftest test-modify-vals
(let [m (u/modify-vals {:ip "1.2.3.4"
:url "http://1.2.3.4/uri"
:dns "https://example.com"}
... | 98610 | (ns com.sixsq.slipstream.tools.cli.utils-test
(:require
[clojure.test :refer :all]
[com.sixsq.slipstream.tools.cli.utils :as u]))
(deftest test-modify-vals
(let [m (u/modify-vals {:ip "192.168.127.12"
:url "http://1.2.3.4/uri"
:dns "https://example.com"}... | true | (ns com.sixsq.slipstream.tools.cli.utils-test
(:require
[clojure.test :refer :all]
[com.sixsq.slipstream.tools.cli.utils :as u]))
(deftest test-modify-vals
(let [m (u/modify-vals {:ip "PI:IP_ADDRESS:192.168.127.12END_PI"
:url "http://1.2.3.4/uri"
:dns "h... |
[
{
"context": ";; Copyright 2014-2020 King\n;; Copyright 2009-2014 Ragnar Svensson, Christian Murray\n;; Licensed under the Defold Li",
"end": 111,
"score": 0.9998130798339844,
"start": 96,
"tag": "NAME",
"value": "Ragnar Svensson"
},
{
"context": "-2020 King\n;; Copyright 2009-2014 R... | editor/test/editor/scene_layout_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... | 69961 | ;; Copyright 2020-2022 The Defold Foundation
;; Copyright 2014-2020 King
;; Copyright 2009-2014 <NAME>, <NAME>
;; Licensed under the Defold License version 1.0 (the "License"); you may not use
;; this file except in compliance with the License.
;;
;; You may obtain a copy of the License, together with FAQs at
;; https... | true | ;; Copyright 2020-2022 The Defold Foundation
;; Copyright 2014-2020 King
;; Copyright 2009-2014 PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI
;; Licensed under the Defold License version 1.0 (the "License"); you may not use
;; this file except in compliance with the License.
;;
;; You may obtain a copy of the License, to... |
[
{
"context": "; Copyright (C) 2013-2015 Joseph Fosco. All Rights Reserved\n;\n; This program is free ",
"end": 42,
"score": 0.9998245239257812,
"start": 30,
"tag": "NAME",
"value": "Joseph Fosco"
}
] | data/test/clojure/351cda42abfe457cc4e411ce4e8c80423ba07580segment.clj | harshp8l/deep-learning-lang-detection | 84 | ; Copyright (C) 2013-2015 Joseph Fosco. All Rights Reserved
;
; This program is free software: you can redistribute it and/or modify
; it under the terms of the GNU General Public License as published by
; the Free Software Foundation, either version 3 of the License, or
; (at your option) any later ver... | 97897 | ; Copyright (C) 2013-2015 <NAME>. All Rights Reserved
;
; This program is free software: you can redistribute it and/or modify
; it under the terms of the GNU General Public License as published by
; the Free Software Foundation, either version 3 of the License, or
; (at your option) any later version.
... | true | ; Copyright (C) 2013-2015 PI:NAME:<NAME>END_PI. All Rights Reserved
;
; This program is free software: you can redistribute it and/or modify
; it under the terms of the GNU General Public License as published by
; the Free Software Foundation, either version 3 of the License, or
; (at your option) any l... |
[
{
"context": "\n; Copyright 2013 Anthony Campbell (anthonycampbell.co.uk)\n;\n; Licensed under the Ap",
"end": 34,
"score": 0.9998716115951538,
"start": 18,
"tag": "NAME",
"value": "Anthony Campbell"
},
{
"context": "\n; Copyright 2013 Anthony Campbell (anthonycampbell.co.uk)\n;\n; L... | src/uk/co/anthonycampbell/imdb/cast_parser.clj | acampbell3000/clojure-imdb-parser | 1 |
; Copyright 2013 Anthony Campbell (anthonycampbell.co.uk)
;
; 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 applicabl... | 67976 |
; Copyright 2013 <NAME> (<EMAIL>)
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in wr... | true |
; Copyright 2013 PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI)
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by appl... |
[
{
"context": "t x :_id)))))\n\n;; USER SCHEMA\n;; Example: {:name \"Pepe\" :username \"pepe\" :password \"password\" :rol \"us",
"end": 2086,
"score": 0.6718717217445374,
"start": 2084,
"tag": "NAME",
"value": "Pe"
},
{
"context": "x :_id)))))\n\n;; USER SCHEMA\n;; Example: {:name \"... | softcare-multimedia-repository/src/softcare/db/mongodb.clj | seaclouds-atos/softcare-final-implementation | 0 | (ns softcare.db.mongodb
(:use [softcare.globals]
[softcare.db.schemas])
(:require [monger.core :as mg]
[monger.credentials :as mcred]
[monger.collection :as mc]
[cheshire.core :refer [generate-string]]
[cheshire.generate :refer [add-encoder encod... | 56018 | (ns softcare.db.mongodb
(:use [softcare.globals]
[softcare.db.schemas])
(:require [monger.core :as mg]
[monger.credentials :as mcred]
[monger.collection :as mc]
[cheshire.core :refer [generate-string]]
[cheshire.generate :refer [add-encoder encod... | true | (ns softcare.db.mongodb
(:use [softcare.globals]
[softcare.db.schemas])
(:require [monger.core :as mg]
[monger.credentials :as mcred]
[monger.collection :as mc]
[cheshire.core :refer [generate-string]]
[cheshire.generate :refer [add-encoder encod... |
[
{
"context": "erver-fixture [f]\n (redis/with-server\n {:host \"127.0.0.1\"\n :port 6379\n :db 15}\n ;; String value\n ",
"end": 192,
"score": 0.9995393753051758,
"start": 183,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": "dis/set \"object_4\" \"four\")\n (r... | client-libraries/clojure/src/redis/tests.clj | lixifun/redis-1.0-read | 60 | (ns redis.tests
(:refer-clojure :exclude [get set keys type sort])
(:require redis)
(:use [clojure.contrib.test-is]))
(defn server-fixture [f]
(redis/with-server
{:host "127.0.0.1"
:port 6379
:db 15}
;; String value
(redis/set "foo" "bar")
;; List with three items
(redis/rpush "list" "o... | 57200 | (ns redis.tests
(:refer-clojure :exclude [get set keys type sort])
(:require redis)
(:use [clojure.contrib.test-is]))
(defn server-fixture [f]
(redis/with-server
{:host "127.0.0.1"
:port 6379
:db 15}
;; String value
(redis/set "foo" "bar")
;; List with three items
(redis/rpush "list" "o... | true | (ns redis.tests
(:refer-clojure :exclude [get set keys type sort])
(:require redis)
(:use [clojure.contrib.test-is]))
(defn server-fixture [f]
(redis/with-server
{:host "127.0.0.1"
:port 6379
:db 15}
;; String value
(redis/set "foo" "bar")
;; List with three items
(redis/rpush "list" "o... |
[
{
"context": "erty T/id 1)\n (ogre/property \"name\" \"marko\")\n (ogre/property \"age\" 29)\n ",
"end": 2365,
"score": 0.9996980428695679,
"start": 2360,
"tag": "NAME",
"value": "marko"
},
{
"context": "erty T/id 3)\n (ogre/property \"na... | dev-resources/src/mm/scylla/graph/repl.clj | oubiwann/scylla-graph | 3 | (ns mm.scylla.graph.repl
"Project development namespace."
(:require
[clojure.java.io :as io]
[clojure.pprint :refer [pprint]]
[clojure.string :as string]
[clojure.tools.namespace.repl :as repl]
[clojusc.system-manager.core :refer :all]
[clojusc.twig :as logger]
[clojurewerkz.ogre.core :a... | 96967 | (ns mm.scylla.graph.repl
"Project development namespace."
(:require
[clojure.java.io :as io]
[clojure.pprint :refer [pprint]]
[clojure.string :as string]
[clojure.tools.namespace.repl :as repl]
[clojusc.system-manager.core :refer :all]
[clojusc.twig :as logger]
[clojurewerkz.ogre.core :a... | true | (ns mm.scylla.graph.repl
"Project development namespace."
(:require
[clojure.java.io :as io]
[clojure.pprint :refer [pprint]]
[clojure.string :as string]
[clojure.tools.namespace.repl :as repl]
[clojusc.system-manager.core :refer :all]
[clojusc.twig :as logger]
[clojurewerkz.ogre.core :a... |
[
{
"context": " :subprotocol \"mysql\"\n :subname \"//127.0.0.1:3306/wiki\"\n :user \"root\"\n ",
"end": 426,
"score": 0.9995214939117432,
"start": 417,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": " :user \"root\"\n ... | src/wiki/db/core.clj | pamu/wiki | 0 | (ns wiki.db.core
(:require [taoensso.timbre :as timbre]
[environ.core :refer [env]]
[clojure.java.jdbc :as j]))
(defonce data-error-message {:message "Unable to process Data"
:error_code 1
:error_message "Data Error"})
(def mysql-db {:... | 76904 | (ns wiki.db.core
(:require [taoensso.timbre :as timbre]
[environ.core :refer [env]]
[clojure.java.jdbc :as j]))
(defonce data-error-message {:message "Unable to process Data"
:error_code 1
:error_message "Data Error"})
(def mysql-db {:... | true | (ns wiki.db.core
(:require [taoensso.timbre :as timbre]
[environ.core :refer [env]]
[clojure.java.jdbc :as j]))
(defonce data-error-message {:message "Unable to process Data"
:error_code 1
:error_message "Data Error"})
(def mysql-db {:... |
[
{
"context": "! *unchecked-math* :warn-on-boxed)\n(ns ^{:author \"John Alan McDonald\" :date \"2016-12-21\"\n :doc \"Greedy decision t",
"end": 105,
"score": 0.9998721480369568,
"start": 87,
"tag": "NAME",
"value": "John Alan McDonald"
}
] | src/main/clojure/taiga/split/numerical/numerical/xy.clj | wahpenayo/taiga | 4 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "John Alan McDonald" :date "2016-12-21"
:doc "Greedy decision tree splitting." }
taiga.split.numerical.numerical.xy
(:require [taiga.utils :as utils]
[taiga.tree.split.numerical :as numerical])
(:impo... | 114652 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "<NAME>" :date "2016-12-21"
:doc "Greedy decision tree splitting." }
taiga.split.numerical.numerical.xy
(:require [taiga.utils :as utils]
[taiga.tree.split.numerical :as numerical])
(:import [java.uti... | true | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "PI:NAME:<NAME>END_PI" :date "2016-12-21"
:doc "Greedy decision tree splitting." }
taiga.split.numerical.numerical.xy
(:require [taiga.utils :as utils]
[taiga.tree.split.numerical :as numerical])
(:im... |
[
{
"context": " :database \"mydb\"\n :password \"secret!\"\n :user \"root\"}\n :color true",
"end": 561,
"score": 0.9986010789871216,
"start": 555,
"tag": "PASSWORD",
"value": "secret"
},
{
"context": "ns\"}\n (init dummy-project {:db {... | test/tern/config_test.clj | ldhough/lein-tern | 11 | (ns tern.config-test
(:require [tern.config :refer :all]
[expectations :refer :all]))
(def dummy-project
{:db {:classname "org.postgresql.Driver"
:subprotocol "postgresql"
:database "mydb"
:user "root"
:password ""}
:migration-dir "tern-migrations"})
(expect {:versi... | 35826 | (ns tern.config-test
(:require [tern.config :refer :all]
[expectations :refer :all]))
(def dummy-project
{:db {:classname "org.postgresql.Driver"
:subprotocol "postgresql"
:database "mydb"
:user "root"
:password ""}
:migration-dir "tern-migrations"})
(expect {:versi... | true | (ns tern.config-test
(:require [tern.config :refer :all]
[expectations :refer :all]))
(def dummy-project
{:db {:classname "org.postgresql.Driver"
:subprotocol "postgresql"
:database "mydb"
:user "root"
:password ""}
:migration-dir "tern-migrations"})
(expect {:versi... |
[
{
"context": "al massage) from geoJSON and wikipedia data.\"\n {\"Bavaria\" \"Bayern\"\n \"Hesse\" \"Hessen\" \n \"Lower Saxony\" ",
"end": 351,
"score": 0.9986190795898438,
"start": 344,
"tag": "NAME",
"value": "Bavaria"
},
{
"context": ") from geoJSON and wikipedia data.\"\n ... | src/appliedsciencestudio/covid19_clj_viz/deutschland.clj | namenu/covid19-clj-viz | 0 | (ns appliedsciencestudio.covid19-clj-viz.deutschland
(:require [clojure.data.csv :as csv]
[clojure.string :as string]))
(def normalize-bundesland
"Mappings to normalize English/German and typographic variation to standard German spelling.
Made with nonce code (and some digital massage) from geoJSON a... | 12239 | (ns appliedsciencestudio.covid19-clj-viz.deutschland
(:require [clojure.data.csv :as csv]
[clojure.string :as string]))
(def normalize-bundesland
"Mappings to normalize English/German and typographic variation to standard German spelling.
Made with nonce code (and some digital massage) from geoJSON a... | true | (ns appliedsciencestudio.covid19-clj-viz.deutschland
(:require [clojure.data.csv :as csv]
[clojure.string :as string]))
(def normalize-bundesland
"Mappings to normalize English/German and typographic variation to standard German spelling.
Made with nonce code (and some digital massage) from geoJSON a... |
[
{
"context": "(ns ^{:author \"Alexander James King\",\n :doc \"Assertion functions wrapping spy.co",
"end": 35,
"score": 0.9998840093612671,
"start": 15,
"tag": "NAME",
"value": "Alexander James King"
}
] | src/clj/spy/assert.clj | zyegfryed/spy | 164 | (ns ^{:author "Alexander James King",
:doc "Assertion functions wrapping spy.core functions,
providing assertions using clojure.test/is and messages
to aid debugging when test expectations are not met.
Macros are used to ensure the clojure.test/is macro
appears in the calling code, otherw... | 34805 | (ns ^{:author "<NAME>",
:doc "Assertion functions wrapping spy.core functions,
providing assertions using clojure.test/is and messages
to aid debugging when test expectations are not met.
Macros are used to ensure the clojure.test/is macro
appears in the calling code, otherwise line numbe... | true | (ns ^{:author "PI:NAME:<NAME>END_PI",
:doc "Assertion functions wrapping spy.core functions,
providing assertions using clojure.test/is and messages
to aid debugging when test expectations are not met.
Macros are used to ensure the clojure.test/is macro
appears in the calling code, otherw... |
[
{
"context": "ftest test-encrypted-kv-store\n (let [passwords [\"test1\" \"test2\" \"test3\"]\n processed-passwords (ma",
"end": 5532,
"score": 0.9874460697174072,
"start": 5527,
"tag": "PASSWORD",
"value": "test1"
},
{
"context": "st-encrypted-kv-store\n (let [passwords [\"... | waiter/test/waiter/kv_test.clj | geofft/waiter | 76 | ;;
;; Copyright (c) Two Sigma Open Source, LLC
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or... | 119553 | ;;
;; Copyright (c) Two Sigma Open Source, LLC
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or... | true | ;;
;; Copyright (c) Two Sigma Open Source, LLC
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or... |
[
{
"context": "est-migrate-user-organizations\n (is (= {:userid \"alice\" :userattrs {:something 42\n ",
"end": 883,
"score": 0.9937039613723755,
"start": 878,
"tag": "USERNAME",
"value": "alice"
},
{
"context": "}}\n (migrate-user-organizations {:userid ... | src/clj/rems/migrations/multiple_organizations.clj | ossilva/rems | 31 | (ns rems.migrations.multiple-organizations
(:require [clojure.test :refer [deftest is]]
[hugsql.core :as hugsql]
[rems.json :as json]
[rems.db.core :as db]))
(hugsql/def-db-fns-from-string
"
-- :name get-users :? :*
SELECT
userId,
userAttrs::TEXT
FROM users
-- :name set-use... | 11932 | (ns rems.migrations.multiple-organizations
(:require [clojure.test :refer [deftest is]]
[hugsql.core :as hugsql]
[rems.json :as json]
[rems.db.core :as db]))
(hugsql/def-db-fns-from-string
"
-- :name get-users :? :*
SELECT
userId,
userAttrs::TEXT
FROM users
-- :name set-use... | true | (ns rems.migrations.multiple-organizations
(:require [clojure.test :refer [deftest is]]
[hugsql.core :as hugsql]
[rems.json :as json]
[rems.db.core :as db]))
(hugsql/def-db-fns-from-string
"
-- :name get-users :? :*
SELECT
userId,
userAttrs::TEXT
FROM users
-- :name set-use... |
[
{
"context": "elpers.lib :refer :all]))\n\n; Originally written by Phil Potter and copied from the Overtone examples\n\n(defn stri",
"end": 153,
"score": 0.9998435974121094,
"start": 142,
"tag": "NAME",
"value": "Phil Potter"
}
] | src/whelmed/contrib/harpsichord.clj | ctford/whelmed | 32 | (ns whelmed.contrib.harpsichord
(:require
[overtone.live :refer :all]
[overtone.helpers.lib :refer :all]))
; Originally written by Phil Potter and copied from the Overtone examples
(defn string
[freq duration]
(with-overloaded-ugens
(+ (* (line:kr 1 1 duration)
(pluck (* (white-noise) (env... | 5300 | (ns whelmed.contrib.harpsichord
(:require
[overtone.live :refer :all]
[overtone.helpers.lib :refer :all]))
; Originally written by <NAME> and copied from the Overtone examples
(defn string
[freq duration]
(with-overloaded-ugens
(+ (* (line:kr 1 1 duration)
(pluck (* (white-noise) (env-gen ... | true | (ns whelmed.contrib.harpsichord
(:require
[overtone.live :refer :all]
[overtone.helpers.lib :refer :all]))
; Originally written by PI:NAME:<NAME>END_PI and copied from the Overtone examples
(defn string
[freq duration]
(with-overloaded-ugens
(+ (* (line:kr 1 1 duration)
(pluck (* (white-no... |
[
{
"context": ";; Copyright 2015 Timothy Brooks\n;;\n;; Licensed under the Apache License, Version ",
"end": 32,
"score": 0.9998632073402405,
"start": 18,
"tag": "NAME",
"value": "Timothy Brooks"
}
] | src/beehive_http/core.clj | tbrooks8/Beehive-http | 0 | ;; 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... | 121286 | ;; 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": ";; Copyright 2017 7bridges s.r.l.\n;;\n;; Licensed under the Apache License",
"end": 23,
"score": 0.818954586982727,
"start": 18,
"tag": "USERNAME",
"value": "7brid"
},
{
"context": "me odatetime)))\n\n(def oemb {:_class \"User\" :name \"Test\"})\n\n(def oemap {:test \"... | test/clj_odbp/binary/serialize/types_test.clj | 7BridgesEu/clj-odbp | 0 | ;; Copyright 2017 7bridges s.r.l.
;;
;; 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 ... | 44432 | ;; Copyright 2017 7bridges s.r.l.
;;
;; 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 ... | true | ;; Copyright 2017 7bridges s.r.l.
;;
;; 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 ... |
[
{
"context": "; Copyright (c) Gregg Reynolds. All rights reserved.\n; The use and distributio",
"end": 32,
"score": 0.9998798370361328,
"start": 18,
"tag": "NAME",
"value": "Gregg Reynolds"
},
{
"context": "ns ^{:doc \"Test html doc handling\"\n :author \"Gregg Reynolds\"}\n... | test/miraj/html/docs_test.clj | miraj-project/miraj.html | 2 | ; Copyright (c) Gregg Reynolds. 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 a... | 15476 | ; 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": ";; Original author Hirokuni Kim\n;; Modifications by Kevin Kredit\n;; Licensed unde",
"end": 31,
"score": 0.9997678995132446,
"start": 19,
"tag": "NAME",
"value": "Hirokuni Kim"
},
{
"context": "; Original author Hirokuni Kim\n;; Modifications by Kevin Kredit\n;; Licens... | clojure/p04-def/src/p04_def/core.clj | kkredit/pl-study | 0 | ;; Original author Hirokuni Kim
;; Modifications by Kevin Kredit
;; Licensed under https://www.apache.org/licenses/LICENSE-2.0
;; See https://kimh.github.io/clojure-by-example/#def
(ns p04-def.core)
(defn -main
"Main"
[]
(def object "light")
(println (str "God said let there be " object))
(def object "darkn... | 122548 | ;; Original author <NAME>
;; Modifications by <NAME>
;; Licensed under https://www.apache.org/licenses/LICENSE-2.0
;; See https://kimh.github.io/clojure-by-example/#def
(ns p04-def.core)
(defn -main
"Main"
[]
(def object "light")
(println (str "God said let there be " object))
(def object "darkness")
(pri... | true | ;; Original author PI:NAME:<NAME>END_PI
;; Modifications by PI:NAME:<NAME>END_PI
;; Licensed under https://www.apache.org/licenses/LICENSE-2.0
;; See https://kimh.github.io/clojure-by-example/#def
(ns p04-def.core)
(defn -main
"Main"
[]
(def object "light")
(println (str "God said let there be " object))
(d... |
[
{
"context": ";; Copyright (c) Rich Hickey and contributors. All rights reserved.\n;; The u",
"end": 30,
"score": 0.9998462796211243,
"start": 19,
"tag": "NAME",
"value": "Rich Hickey"
}
] | server/target/clojure/core/async/impl/channels.clj | OctavioBR/healthcheck | 0 | ;; Copyright (c) Rich Hickey and contributors. 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... | 113928 | ;; Copyright (c) <NAME> and contributors. 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... | true | ;; Copyright (c) PI:NAME:<NAME>END_PI and contributors. 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.
;; ... |
[
{
"context": ";\n; Copyright © 2011-2014 Carlo Sciolla\n;\n; Licensed under the Apache License, Version 2.",
"end": 39,
"score": 0.9998776316642761,
"start": 26,
"tag": "NAME",
"value": "Carlo Sciolla"
},
{
"context": "itations under the License.\n;\n; Contributors:\n; Carlo Sciol... | project.clj | lambdalf/lambdalf | 11 | ;
; Copyright © 2011-2014 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 agreed to i... | 4684 | ;
; Copyright © 2011-2014 <NAME>
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writi... | true | ;
; Copyright © 2011-2014 PI:NAME:<NAME>END_PI
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agre... |
[
{
"context": " :name])]\n (case author \"yuan jia\" \"yuanjiaCN\" \"Mihu Seen\" \"MihuSeen\" author)),\n ",
"end": 868,
"score": 0.999781608581543,
"start": 860,
"tag": "NAME",
"value": "yuan jia"
},
{
"context": " (case author \"yua... | cljs/src/app/main.cljs | jimengio/weekly-commits | 0 |
(ns app.main
(:require ["fs" :as fs]
["path" :as path]
[favored-edn.core :refer [write-edn]]
[medley.core :refer [map-vals map-kv]]
[clojure.string :as string]
["luxon" :refer [DateTime]]))
(defonce projects-commits
(js->clj
(js/JSON.parse
(fs/rea... | 71737 |
(ns app.main
(:require ["fs" :as fs]
["path" :as path]
[favored-edn.core :refer [write-edn]]
[medley.core :refer [map-vals map-kv]]
[clojure.string :as string]
["luxon" :refer [DateTime]]))
(defonce projects-commits
(js->clj
(js/JSON.parse
(fs/rea... | true |
(ns app.main
(:require ["fs" :as fs]
["path" :as path]
[favored-edn.core :refer [write-edn]]
[medley.core :refer [map-vals map-kv]]
[clojure.string :as string]
["luxon" :refer [DateTime]]))
(defonce projects-commits
(js->clj
(js/JSON.parse
(fs/rea... |
[
{
"context": ".log))\n\n(fact\n (parse-log \"v=0.13-a0:lv=0.1:name=user:race=Naga:cls=Warper:char=NaWr:xl=2:sk=Translocat",
"end": 112,
"score": 0.9370553493499756,
"start": 108,
"tag": "USERNAME",
"value": "user"
},
{
"context": "k=Translocations:sklev=3:title=Grasshopper:place=D::... | test/clj_dcss/log_test.clj | myfreeweb/clj-dcss | 1 | (ns clj-dcss.log-test
(:use midje.sweet
clj-dcss.log))
(fact
(parse-log "v=0.13-a0:lv=0.1:name=user:race=Naga:cls=Warper:char=NaWr:xl=2:sk=Translocations:sklev=3:title=Grasshopper:place=D::2:br=D:lvl=2:absdepth=2:hp=-2:mhp=25:mmhp=25:str=13:int=13:dex=10:ac=3:ev=9:sh=0:start=20130504140219S:dur=102:turn=80... | 80120 | (ns clj-dcss.log-test
(:use midje.sweet
clj-dcss.log))
(fact
(parse-log "v=0.13-a0:lv=0.1:name=user:race=Naga:cls=Warper:char=NaWr:xl=2:sk=Translocations:sklev=3:title=Grasshopper:place=D::2:br=D:lvl=2:absdepth=2:hp=-2:mhp=25:mmhp=25:str=13:int=13:dex=10:ac=3:ev=9:sh=0:start=20130504140219S:dur=102:turn=80... | true | (ns clj-dcss.log-test
(:use midje.sweet
clj-dcss.log))
(fact
(parse-log "v=0.13-a0:lv=0.1:name=user:race=Naga:cls=Warper:char=NaWr:xl=2:sk=Translocations:sklev=3:title=Grasshopper:place=D::2:br=D:lvl=2:absdepth=2:hp=-2:mhp=25:mmhp=25:str=13:int=13:dex=10:ac=3:ev=9:sh=0:start=20130504140219S:dur=102:turn=80... |
[
{
"context": "um/count)\n\n(def df (louna.datasets.sql/seq->df [[\"michael\" 3000]\n [\"andy\" 4500]\n ",
"end": 3568,
"score": 0.7481275200843811,
"start": 3561,
"tag": "NAME",
"value": "michael"
},
{
"context": "sql/seq->df [[\"michael\" 3000]\n ... | test/louna_tests/udaf.clj | tkaryadis/louna-spark | 3 | (ns louna-tests.udaf
(:require sparkdefinitive.init-settings
[louna.state.settings :as settings]
louna.datasets.schema
louna.datasets.sql)
(:use louna.datasets.column
louna.datasets.sql-functions
louna.q.run
louna.datasets.udf)
(:import (org.apache.spark... | 17999 | (ns louna-tests.udaf
(:require sparkdefinitive.init-settings
[louna.state.settings :as settings]
louna.datasets.schema
louna.datasets.sql)
(:use louna.datasets.column
louna.datasets.sql-functions
louna.q.run
louna.datasets.udf)
(:import (org.apache.spark... | true | (ns louna-tests.udaf
(:require sparkdefinitive.init-settings
[louna.state.settings :as settings]
louna.datasets.schema
louna.datasets.sql)
(:use louna.datasets.column
louna.datasets.sql-functions
louna.q.run
louna.datasets.udf)
(:import (org.apache.spark... |
[
{
"context": "lass))\n\n(defmacro project-data [key]\n ; HACK(Richo): This macro allows to read the project.clj file ",
"end": 743,
"score": 0.6707649827003479,
"start": 742,
"tag": "NAME",
"value": "o"
}
] | middleware/server/src/middleware/main.clj | GIRA/UziScript | 15 | (ns middleware.main
(:require [clojure.tools.logging :as log]
[clojure.tools.cli :as cli]
[clojure.string :as str]
[clojure.java.io :as io]
[clojure.java.browse :refer [browse-url]]
[middleware.server.http :as http]
[middleware.server.udp :as udp... | 123549 | (ns middleware.main
(:require [clojure.tools.logging :as log]
[clojure.tools.cli :as cli]
[clojure.string :as str]
[clojure.java.io :as io]
[clojure.java.browse :refer [browse-url]]
[middleware.server.http :as http]
[middleware.server.udp :as udp... | true | (ns middleware.main
(:require [clojure.tools.logging :as log]
[clojure.tools.cli :as cli]
[clojure.string :as str]
[clojure.java.io :as io]
[clojure.java.browse :refer [browse-url]]
[middleware.server.http :as http]
[middleware.server.udp :as udp... |
[
{
"context": " ^{:doc \"Useful monitoring synths\"\n :author \"Sam Aaron\"}\n overtone.synth.monitor\n (:use [overtone.core",
"end": 66,
"score": 0.9998903870582581,
"start": 57,
"tag": "NAME",
"value": "Sam Aaron"
}
] | src/overtone/synth/monitor.clj | ABaldwinHunter/overtone | 3,870 | (ns
^{:doc "Useful monitoring synths"
:author "Sam Aaron"}
overtone.synth.monitor
(:use [overtone.core]))
(defsynth mono-audio-bus-level [in-a-bus 0 out-c-bus 0]
(let [sig (in:ar in-a-bus 1)
level (amplitude sig)
level (lag-ud level 0.1 0.3)]
(out:kr out-c-bus [(a2k level)])))
| 35845 | (ns
^{:doc "Useful monitoring synths"
:author "<NAME>"}
overtone.synth.monitor
(:use [overtone.core]))
(defsynth mono-audio-bus-level [in-a-bus 0 out-c-bus 0]
(let [sig (in:ar in-a-bus 1)
level (amplitude sig)
level (lag-ud level 0.1 0.3)]
(out:kr out-c-bus [(a2k level)])))
| true | (ns
^{:doc "Useful monitoring synths"
:author "PI:NAME:<NAME>END_PI"}
overtone.synth.monitor
(:use [overtone.core]))
(defsynth mono-audio-bus-level [in-a-bus 0 out-c-bus 0]
(let [sig (in:ar in-a-bus 1)
level (amplitude sig)
level (lag-ud level 0.1 0.3)]
(out:kr out-c-bus [(a2k lev... |
[
{
"context": ";; Original author Hirokuni Kim\n;; Modifications by Kevin Kredit\n;; Licensed unde",
"end": 31,
"score": 0.9997513294219971,
"start": 19,
"tag": "NAME",
"value": "Hirokuni Kim"
},
{
"context": "; Original author Hirokuni Kim\n;; Modifications by Kevin Kredit\n;; Licens... | clojure/p17-sets/src/p17_sets/core.clj | kkredit/pl-study | 0 | ;; Original author Hirokuni Kim
;; Modifications by Kevin Kredit
;; Licensed under https://www.apache.org/licenses/LICENSE-2.0
;; See https://kimh.github.io/clojure-by-example/#sets
(ns p17-sets.core
(:use [clojure.set]))
(defn -main
"Main"
[]
(println #{1 2 3})
; (println #{1 2 3 3}) ; IllegalArgumentExcep... | 79598 | ;; Original author <NAME>
;; Modifications by <NAME>
;; Licensed under https://www.apache.org/licenses/LICENSE-2.0
;; See https://kimh.github.io/clojure-by-example/#sets
(ns p17-sets.core
(:use [clojure.set]))
(defn -main
"Main"
[]
(println #{1 2 3})
; (println #{1 2 3 3}) ; IllegalArgumentException Duplica... | true | ;; Original author PI:NAME:<NAME>END_PI
;; Modifications by PI:NAME:<NAME>END_PI
;; Licensed under https://www.apache.org/licenses/LICENSE-2.0
;; See https://kimh.github.io/clojure-by-example/#sets
(ns p17-sets.core
(:use [clojure.set]))
(defn -main
"Main"
[]
(println #{1 2 3})
; (println #{1 2 3 3}) ; Ille... |
[
{
"context": " [mui/link {:href \"https://samedhi.github.io/\"} \"Stephen Cagle\"]\n [mui/link {:href \"https://github.com/samedh",
"end": 1001,
"score": 0.7168677449226379,
"start": 988,
"tag": "NAME",
"value": "Stephen Cagle"
},
{
"context": " Cagle\"]\n [mui/link {:href \"h... | src/ants/views/util.cljs | samedhi/ants | 0 | (ns ants.views.util
(:require
[re-frame.core :as re-frame]
[ants.config :as config]
[ants.mui :as mui]
[ants.subs :as subs]))
(defn code-block [o]
[:pre {:class "code-block"}
[:code o]])
(defn app-db-viewer []
(let [db @(re-frame/subscribe [:pretty-print-db])
db-ant-seq @(re-frame/subscri... | 94763 | (ns ants.views.util
(:require
[re-frame.core :as re-frame]
[ants.config :as config]
[ants.mui :as mui]
[ants.subs :as subs]))
(defn code-block [o]
[:pre {:class "code-block"}
[:code o]])
(defn app-db-viewer []
(let [db @(re-frame/subscribe [:pretty-print-db])
db-ant-seq @(re-frame/subscri... | true | (ns ants.views.util
(:require
[re-frame.core :as re-frame]
[ants.config :as config]
[ants.mui :as mui]
[ants.subs :as subs]))
(defn code-block [o]
[:pre {:class "code-block"}
[:code o]])
(defn app-db-viewer []
(let [db @(re-frame/subscribe [:pretty-print-db])
db-ant-seq @(re-frame/subscri... |
[
{
"context": "c in finite universes\n\n; Copyright (c) 2017 - 2018 Burkhardt Renz, THM. All rights reserved.\n; The use and distribu",
"end": 134,
"score": 0.9998748898506165,
"start": 120,
"tag": "NAME",
"value": "Burkhardt Renz"
}
] | src/lwb/pred/sat.clj | esb-lwb/lwb | 22 | ; lwb Logic WorkBench -- Satisfiability of formulas of predicate logic in finite universes
; Copyright (c) 2017 - 2018 Burkhardt Renz, THM. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php).
; By usin... | 76048 | ; lwb Logic WorkBench -- Satisfiability of formulas of predicate logic in finite universes
; Copyright (c) 2017 - 2018 <NAME>, THM. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php).
; By using this s... | true | ; lwb Logic WorkBench -- Satisfiability of formulas of predicate logic in finite universes
; Copyright (c) 2017 - 2018 PI:NAME:<NAME>END_PI, THM. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php).
; B... |
[
{
"context": " :config-format :raw))))\n\n\n;; Copyright 2018 Frederic Merizen\n;;\n;; Licensed under the Apache License, Version ",
"end": 1719,
"score": 0.9998701810836792,
"start": 1703,
"tag": "NAME",
"value": "Frederic Merizen"
}
] | test/ferje/config/raw_test.clj | chourave/clojyday | 0 | ;; Copyright and license information at end of file
(ns ferje.config.raw-test
(:require
[clojure.test :refer [deftest is testing use-fixtures]]
[clojure.walk :refer [prewalk]]
[ferje.core :as ferje]
[ferje.config.raw :as raw-config]
[ferje.place :as place]
[ferje.spec-test-utils :refer [instrument-... | 115362 | ;; Copyright and license information at end of file
(ns ferje.config.raw-test
(:require
[clojure.test :refer [deftest is testing use-fixtures]]
[clojure.walk :refer [prewalk]]
[ferje.core :as ferje]
[ferje.config.raw :as raw-config]
[ferje.place :as place]
[ferje.spec-test-utils :refer [instrument-... | true | ;; Copyright and license information at end of file
(ns ferje.config.raw-test
(:require
[clojure.test :refer [deftest is testing use-fixtures]]
[clojure.walk :refer [prewalk]]
[ferje.core :as ferje]
[ferje.config.raw :as raw-config]
[ferje.place :as place]
[ferje.spec-test-utils :refer [instrument-... |
[
{
"context": "butors\")\n {:basic-auth [(:username user-credentials) (:password user-credentials)]\n ",
"end": 1923,
"score": 0.9860149025917053,
"start": 1907,
"tag": "USERNAME",
"value": "user-credentials"
},
{
"context": "ntributor+user)\n l... | src/gh_contributors_cli/main.clj | cesarcneto/gh-contributors-cli | 0 | (ns gh-contributors-cli.main
(:gen-class)
(:require [babashka.curl :as curl]
[cheshire.core :as json]
[clojure.string :as str]
[clojure.data.csv :as csv]
[clojure.java.io :as io]
[clojure.tools.cli :refer [parse-opts]]))
(def user-credentials
{:username... | 12891 | (ns gh-contributors-cli.main
(:gen-class)
(:require [babashka.curl :as curl]
[cheshire.core :as json]
[clojure.string :as str]
[clojure.data.csv :as csv]
[clojure.java.io :as io]
[clojure.tools.cli :refer [parse-opts]]))
(def user-credentials
{:username... | true | (ns gh-contributors-cli.main
(:gen-class)
(:require [babashka.curl :as curl]
[cheshire.core :as json]
[clojure.string :as str]
[clojure.data.csv :as csv]
[clojure.java.io :as io]
[clojure.tools.cli :refer [parse-opts]]))
(def user-credentials
{:username... |
[
{
"context": "tOverlayPort 6666)\n (. config setSymmetricKey \"v3JElaRswYgxOt4b\")\n config))\n\n(def subscriptions\n (let [data (",
"end": 602,
"score": 0.9990773797035217,
"start": 586,
"tag": "KEY",
"value": "v3JElaRswYgxOt4b"
}
] | src/com/gossiperl/client/clojure/core.clj | gossiperl/gossiperl-example-clojure | 0 | (ns com.gossiperl.client.clojure.core
(:import [com.gossiperl.client OverlayWorker Supervisor]
[com.gossiperl.client.config OverlayConfiguration]
[com.gossiperl.client.listener GossiperlClientListener]
[java.util ArrayList]))
(def overlay-config
(let [config (OverlayConfiguration.)... | 57293 | (ns com.gossiperl.client.clojure.core
(:import [com.gossiperl.client OverlayWorker Supervisor]
[com.gossiperl.client.config OverlayConfiguration]
[com.gossiperl.client.listener GossiperlClientListener]
[java.util ArrayList]))
(def overlay-config
(let [config (OverlayConfiguration.)... | true | (ns com.gossiperl.client.clojure.core
(:import [com.gossiperl.client OverlayWorker Supervisor]
[com.gossiperl.client.config OverlayConfiguration]
[com.gossiperl.client.listener GossiperlClientListener]
[java.util ArrayList]))
(def overlay-config
(let [config (OverlayConfiguration.)... |
[
{
"context": " using\n clojure.data.avl/subrange.\"\n\n {:author \"Michał Marczyk\"}\n\n (:refer-clojure :exclude [sorted-map sorted-",
"end": 731,
"score": 0.9998568296432495,
"start": 717,
"tag": "NAME",
"value": "Michał Marczyk"
}
] | server/src/server/avl.clj | markrhacker/Discover-Platform | 0 | (ns fabric.avl
"An implementation of persistent sorted maps and sets based on AVL
trees which can be used as drop-in replacements for Clojure's
built-in sorted maps and sets based on red-black trees. Apart from
the standard sorted collection API, the provided map and set types
support the transients API and ... | 28395 | (ns fabric.avl
"An implementation of persistent sorted maps and sets based on AVL
trees which can be used as drop-in replacements for Clojure's
built-in sorted maps and sets based on red-black trees. Apart from
the standard sorted collection API, the provided map and set types
support the transients API and ... | true | (ns fabric.avl
"An implementation of persistent sorted maps and sets based on AVL
trees which can be used as drop-in replacements for Clojure's
built-in sorted maps and sets based on red-black trees. Apart from
the standard sorted collection API, the provided map and set types
support the transients API and ... |
[
{
"context": "pi.net\n;; Full project source: https://github.com/samaaron/sonic-pi\n;; License: https://github.com/samaaron/",
"end": 110,
"score": 0.9993710517883301,
"start": 102,
"tag": "USERNAME",
"value": "samaaron"
},
{
"context": "/samaaron/sonic-pi\n;; License: https://github... | app/gui/html/cljs/defpi/ws.cljs | jweather/sonic-pi | 1 | ;;--
;; This file is part of Sonic Pi: http://sonic-pi.net
;; Full project source: https://github.com/samaaron/sonic-pi
;; License: https://github.com/samaaron/sonic-pi/blob/master/LICENSE.md
;;
;; Copyright 2013, 2014 by Sam Aaron (http://sam.aaron.name).
;; All rights reserved.
;;
;; Permission is granted for use, co... | 124463 | ;;--
;; This file is part of Sonic Pi: http://sonic-pi.net
;; Full project source: https://github.com/samaaron/sonic-pi
;; License: https://github.com/samaaron/sonic-pi/blob/master/LICENSE.md
;;
;; Copyright 2013, 2014 by <NAME> (http://sam.aaron.name).
;; All rights reserved.
;;
;; Permission is granted for use, copyi... | true | ;;--
;; This file is part of Sonic Pi: http://sonic-pi.net
;; Full project source: https://github.com/samaaron/sonic-pi
;; License: https://github.com/samaaron/sonic-pi/blob/master/LICENSE.md
;;
;; Copyright 2013, 2014 by PI:NAME:<NAME>END_PI (http://sam.aaron.name).
;; All rights reserved.
;;
;; Permission is granted ... |
[
{
"context": "w (fn [x] (str \"Hello, \" x \"!\"))]\n (is (= (hw \"Dave\") \"Hello, Dave!\"))\n (is (= (hw \"Jenn\") \"Hello,",
"end": 544,
"score": 0.7720151543617249,
"start": 540,
"tag": "NAME",
"value": "Dave"
},
{
"context": " \"Hello, \" x \"!\"))]\n (is (= (hw \"Dave\... | practice/living-clojure/training-plan/src/training_plan/week1/day2.clj | tomjkidd/clojure | 1 | (ns training-plan.week1.day2
(:use clojure.test))
(deftest sequencesRest
(is (= [20 30 40] (rest [10 20 30 40]))))
(deftest introToFunctions
(is (= 8 ((fn add-five [x] (+ x 5)) 3)))
(is (= 8 ((fn [x] (+ x 5)) 3)))
(is (= 8 (#(+ % 5) 3)))
(is (= 8 ((partial + 5) 3))))
(deftest doubleDown
(let [double-fn... | 77417 | (ns training-plan.week1.day2
(:use clojure.test))
(deftest sequencesRest
(is (= [20 30 40] (rest [10 20 30 40]))))
(deftest introToFunctions
(is (= 8 ((fn add-five [x] (+ x 5)) 3)))
(is (= 8 ((fn [x] (+ x 5)) 3)))
(is (= 8 (#(+ % 5) 3)))
(is (= 8 ((partial + 5) 3))))
(deftest doubleDown
(let [double-fn... | true | (ns training-plan.week1.day2
(:use clojure.test))
(deftest sequencesRest
(is (= [20 30 40] (rest [10 20 30 40]))))
(deftest introToFunctions
(is (= 8 ((fn add-five [x] (+ x 5)) 3)))
(is (= 8 ((fn [x] (+ x 5)) 3)))
(is (= 8 (#(+ % 5) 3)))
(is (= 8 ((partial + 5) 3))))
(deftest doubleDown
(let [double-fn... |
[
{
"context": "regions in variants.\n Based on 'vcfentropy' from Erik Garrison's vcflib:\n https://github.com/ekg/vcflib\"\n (:i",
"end": 216,
"score": 0.9909461140632629,
"start": 203,
"tag": "NAME",
"value": "Erik Garrison"
},
{
"context": "rom Erik Garrison's vcflib:\n https... | src/bcbio/variation/annotate/entropy.clj | roryk/bcbio.variation | 1 | (ns bcbio.variation.annotate.entropy
"Calculate Shannon entropy for flanking sequence surrounding variants.
Used to identify low-complexity repeat regions in variants.
Based on 'vcfentropy' from Erik Garrison's vcflib:
https://github.com/ekg/vcflib"
(:import [org.broadinstitute.sting.gatk.walkers.annotator... | 38873 | (ns bcbio.variation.annotate.entropy
"Calculate Shannon entropy for flanking sequence surrounding variants.
Used to identify low-complexity repeat regions in variants.
Based on 'vcfentropy' from <NAME>'s vcflib:
https://github.com/ekg/vcflib"
(:import [org.broadinstitute.sting.gatk.walkers.annotator.interf... | true | (ns bcbio.variation.annotate.entropy
"Calculate Shannon entropy for flanking sequence surrounding variants.
Used to identify low-complexity repeat regions in variants.
Based on 'vcfentropy' from PI:NAME:<NAME>END_PI's vcflib:
https://github.com/ekg/vcflib"
(:import [org.broadinstitute.sting.gatk.walkers.an... |
[
{
"context": ";;\n;; Author:: Adam Jacob (<adam@opscode.com>)\n;; Author:: Christopher Brow",
"end": 25,
"score": 0.9998520016670227,
"start": 15,
"tag": "NAME",
"value": "Adam Jacob"
},
{
"context": ";;\n;; Author:: Adam Jacob (<adam@opscode.com>)\n;; Author:: Christopher Brown (<cb... | src/omnibus/steps.clj | racker/omnibus | 2 | ;;
;; Author:: Adam Jacob (<adam@opscode.com>)
;; Author:: Christopher Brown (<cb@opscode.com>)
;; Copyright:: Copyright (c) 2010 Opscode, Inc.
;; License:: Apache License, Version 2.0
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the Licens... | 40095 | ;;
;; Author:: <NAME> (<<EMAIL>>)
;; Author:: <NAME> (<<EMAIL>>)
;; Copyright:: Copyright (c) 2010 Opscode, Inc.
;; License:: Apache License, Version 2.0
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of ... | true | ;;
;; Author:: PI:NAME:<NAME>END_PI (<PI:EMAIL:<EMAIL>END_PI>)
;; Author:: PI:NAME:<NAME>END_PI (<PI:EMAIL:<EMAIL>END_PI>)
;; Copyright:: Copyright (c) 2010 Opscode, Inc.
;; License:: Apache License, Version 2.0
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in... |
[
{
"context": "rdinality Constraints\n\n; Copyright (c) 2014 - 2018 Burkhardt Renz, THM. All rights reserved.\n; The use and distribu",
"end": 100,
"score": 0.9998745918273926,
"start": 86,
"tag": "NAME",
"value": "Burkhardt Renz"
}
] | src/lwb/prop/cardinality.clj | esb-lwb/lwb | 22 | ; lwb Logic WorkBench -- Boolean Cardinality Constraints
; Copyright (c) 2014 - 2018 Burkhardt Renz, THM. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php).
; By using this software in any fashion, yo... | 8076 | ; lwb Logic WorkBench -- Boolean Cardinality Constraints
; Copyright (c) 2014 - 2018 <NAME>, THM. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php).
; By using this software in any fashion, you are ag... | true | ; lwb Logic WorkBench -- Boolean Cardinality Constraints
; Copyright (c) 2014 - 2018 PI:NAME:<NAME>END_PI, THM. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php).
; By using this software in any fashi... |
[
{
"context": "\"\n (prep-tnt-client {:username \"root\"})))\n\n (is (includes? #\"Arg :password = 123[\\s",
"end": 2307,
"score": 0.8863282799720764,
"start": 2303,
"tag": "USERNAME",
"value": "root"
},
{
"context": " \"root\"})))\n\n (is (includes? #\"Arg :pa... | src/test/clojure/xtdb/tarantool_test.clj | sultanov-team/xtdb-tarantool | 10 | (ns xtdb.tarantool-test
(:require
[clojure.test :refer [deftest testing is]]
[xtdb.api :as xt]
[xtdb.system :as system]
[xtdb.tarantool :as sut]
[xtdb.tx.event :as xte])
(:import
(io.tarantool.driver.core
RetryingTarantoolTupleClient)
(java.util
ArrayList)
(java.util.conc... | 65212 | (ns xtdb.tarantool-test
(:require
[clojure.test :refer [deftest testing is]]
[xtdb.api :as xt]
[xtdb.system :as system]
[xtdb.tarantool :as sut]
[xtdb.tx.event :as xte])
(:import
(io.tarantool.driver.core
RetryingTarantoolTupleClient)
(java.util
ArrayList)
(java.util.conc... | true | (ns xtdb.tarantool-test
(:require
[clojure.test :refer [deftest testing is]]
[xtdb.api :as xt]
[xtdb.system :as system]
[xtdb.tarantool :as sut]
[xtdb.tx.event :as xte])
(:import
(io.tarantool.driver.core
RetryingTarantoolTupleClient)
(java.util
ArrayList)
(java.util.conc... |
[
{
"context": " :user \"dogpig\"\n :password \"dogpig\"\n :useSSL false}))\n ",
"end": 253,
"score": 0.9992711544036865,
"start": 247,
"tag": "PASSWORD",
"value": "dogpig"
}
] | src/dog_board/server.clj | re-noir/dog-board | 0 | (ns dog-board.server
(:require [noir.server :as server]
[korma.db :refer :all])
(:gen-class))
(defdb dev (mysql {:host "localhost"
:db "dogpigdb"
:user "dogpig"
:password "dogpig"
:useSSL false}))
(server/l... | 81652 | (ns dog-board.server
(:require [noir.server :as server]
[korma.db :refer :all])
(:gen-class))
(defdb dev (mysql {:host "localhost"
:db "dogpigdb"
:user "dogpig"
:password "<PASSWORD>"
:useSSL false}))
(serv... | true | (ns dog-board.server
(:require [noir.server :as server]
[korma.db :refer :all])
(:gen-class))
(defdb dev (mysql {:host "localhost"
:db "dogpigdb"
:user "dogpig"
:password "PI:PASSWORD:<PASSWORD>END_PI"
:useSSL false}))
... |
[
{
"context": "er/customerid 4858\n :customer/email \"OVWOIYIDDL@dell.com\"\n :orderline/orderlineid 8\n ",
"end": 6296,
"score": 0.999923825263977,
"start": 6277,
"tag": "EMAIL",
"value": "OVWOIYIDDL@dell.com"
},
{
"context": "er/customerid 4858\n ... | test/sql_datomic/integration_test.clj | kenrestivo-stem/sql-datomic | 26 | (ns sql-datomic.integration-test
(:require [clojure.test :refer :all]
[sql-datomic.datomic :as dat]
sql-datomic.types ;; necessary for reader literals
[sql-datomic.parser :as par]
[sql-datomic.select-command :as sel]
[sql-datomic.insert-command :as ins]
... | 114684 | (ns sql-datomic.integration-test
(:require [clojure.test :refer :all]
[sql-datomic.datomic :as dat]
sql-datomic.types ;; necessary for reader literals
[sql-datomic.parser :as par]
[sql-datomic.select-command :as sel]
[sql-datomic.insert-command :as ins]
... | true | (ns sql-datomic.integration-test
(:require [clojure.test :refer :all]
[sql-datomic.datomic :as dat]
sql-datomic.types ;; necessary for reader literals
[sql-datomic.parser :as par]
[sql-datomic.select-command :as sel]
[sql-datomic.insert-command :as ins]
... |
[
{
"context": ":body (json/write-str {:nickname account :password password})})\n (println \"Login successful. Redirecting",
"end": 2018,
"score": 0.7668209075927734,
"start": 2010,
"tag": "PASSWORD",
"value": "password"
}
] | src/dbas/eauth/service.clj | hhucn/dbas-eauth | 0 | (ns dbas.eauth.service
(:require [clojure.spec.alpha :as s]
[clojure.core.async :as async :refer [<!!]]
[io.pedestal.http :as http]
[io.pedestal.http.body-params :as body-params]
[ring.util.response :as ring-resp]
[konserve.filestore :refer [new-fs-store]]
... | 29779 | (ns dbas.eauth.service
(:require [clojure.spec.alpha :as s]
[clojure.core.async :as async :refer [<!!]]
[io.pedestal.http :as http]
[io.pedestal.http.body-params :as body-params]
[ring.util.response :as ring-resp]
[konserve.filestore :refer [new-fs-store]]
... | true | (ns dbas.eauth.service
(:require [clojure.spec.alpha :as s]
[clojure.core.async :as async :refer [<!!]]
[io.pedestal.http :as http]
[io.pedestal.http.body-params :as body-params]
[ring.util.response :as ring-resp]
[konserve.filestore :refer [new-fs-store]]
... |
[
{
"context": "! *unchecked-math* :warn-on-boxed)\n(ns ^{:author \"John Alan McDonald\" :date \"2016-07-27\"\n :doc \"Tests for zana.te",
"end": 105,
"score": 0.9998798966407776,
"start": 87,
"tag": "NAME",
"value": "John Alan McDonald"
}
] | src/test/clojure/zana/test/collections/sets.clj | wahpenayo/zana | 2 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "John Alan McDonald" :date "2016-07-27"
:doc "Tests for zana.test.collections.maps." }
zana.test.collections.sets
(:require [clojure.test :as t]
[zana.api :as z]))
;;-----------------------------------... | 354 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "<NAME>" :date "2016-07-27"
:doc "Tests for zana.test.collections.maps." }
zana.test.collections.sets
(:require [clojure.test :as t]
[zana.api :as z]))
;;-----------------------------------------------... | true | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "PI:NAME:<NAME>END_PI" :date "2016-07-27"
:doc "Tests for zana.test.collections.maps." }
zana.test.collections.sets
(:require [clojure.test :as t]
[zana.api :as z]))
;;---------------------------------... |
[
{
"context": "lection-position!`\n (let [data-keys [:dataset_query :description :display :name\n ",
"end": 12343,
"score": 0.7234708666801453,
"start": 12330,
"tag": "KEY",
"value": "dataset_query"
}
] | c#-metabase/src/metabase/api/card.clj | hanakhry/Crime_Admin | 0 | (ns metabase.api.card
"/api/card endpoints."
(:require [cheshire.core :as json]
[clojure.core.async :as a]
[clojure.tools.logging :as log]
[compojure.core :refer [DELETE GET POST PUT]]
[medley.core :as m]
[metabase.api.common :as api]
[metabase... | 81248 | (ns metabase.api.card
"/api/card endpoints."
(:require [cheshire.core :as json]
[clojure.core.async :as a]
[clojure.tools.logging :as log]
[compojure.core :refer [DELETE GET POST PUT]]
[medley.core :as m]
[metabase.api.common :as api]
[metabase... | true | (ns metabase.api.card
"/api/card endpoints."
(:require [cheshire.core :as json]
[clojure.core.async :as a]
[clojure.tools.logging :as log]
[compojure.core :refer [DELETE GET POST PUT]]
[medley.core :as m]
[metabase.api.common :as api]
[metabase... |
[
{
"context": "; Written by Raju\n; Run using following command\n; clojure lazyEvalu",
"end": 17,
"score": 0.9998179078102112,
"start": 13,
"tag": "NAME",
"value": "Raju"
}
] | Chapter09/lazyEvaluation.clj | PacktPublishing/Learning-Functional-Data-Structures-and-Algorithms | 31 | ; Written by Raju
; Run using following command
; clojure lazyEvaluation.clj
; Lazy Evaluation in Clojure
(def lazyVal (delay 10))
(println lazyVal)
(println (realized? lazyVal))
(println (class lazyVal))
(println (deref lazyVal))
(println lazyVal)
(println (realized? lazyVal))
(println (def lazyVal (delay 10)))
(prin... | 84771 | ; Written by <NAME>
; Run using following command
; clojure lazyEvaluation.clj
; Lazy Evaluation in Clojure
(def lazyVal (delay 10))
(println lazyVal)
(println (realized? lazyVal))
(println (class lazyVal))
(println (deref lazyVal))
(println lazyVal)
(println (realized? lazyVal))
(println (def lazyVal (delay 10)))
(pr... | true | ; Written by PI:NAME:<NAME>END_PI
; Run using following command
; clojure lazyEvaluation.clj
; Lazy Evaluation in Clojure
(def lazyVal (delay 10))
(println lazyVal)
(println (realized? lazyVal))
(println (class lazyVal))
(println (deref lazyVal))
(println lazyVal)
(println (realized? lazyVal))
(println (def lazyVal (de... |
[
{
"context": "lient} username password]\n (let [attrs {:username username, :password password}]\n (-> {:params {:profile ",
"end": 237,
"score": 0.8929257392883301,
"start": 229,
"tag": "USERNAME",
"value": "username"
},
{
"context": "word]\n (let [attrs {:username username, :pa... | src/zanmi/client/user.cljc | zonotope/zanmi-client | 1 | (ns zanmi.client.user
(:require [zanmi.client.request :refer [delete parse-response post put]]
[zanmi.client.url :as url]))
(defn register [{:keys [host-url] :as client} username password]
(let [attrs {:username username, :password password}]
(-> {:params {:profile attrs}}
(post (url/profil... | 31943 | (ns zanmi.client.user
(:require [zanmi.client.request :refer [delete parse-response post put]]
[zanmi.client.url :as url]))
(defn register [{:keys [host-url] :as client} username password]
(let [attrs {:username username, :password <PASSWORD>}]
(-> {:params {:profile attrs}}
(post (url/prof... | true | (ns zanmi.client.user
(:require [zanmi.client.request :refer [delete parse-response post put]]
[zanmi.client.url :as url]))
(defn register [{:keys [host-url] :as client} username password]
(let [attrs {:username username, :password PI:PASSWORD:<PASSWORD>END_PI}]
(-> {:params {:profile attrs}}
... |
[
{
"context": "ps://open.relay-chat.com/signup_user_complete/?id=inclojure\n;; IN/Clojure Slack: https://join.slack.com/t/inc",
"end": 275,
"score": 0.9310464859008789,
"start": 266,
"tag": "USERNAME",
"value": "inclojure"
},
{
"context": "e/?id=inclojure\n;; IN/Clojure Slack: https:/... | src/clojure_by_example/ex08_but_before_we_go.clj | RiteekS/clojure-by-example | 0 | (ns clojure-by-example.ex08-but-before-we-go)
;; But before we boldly go, here are some resources to help us on our journey!
;; Communities:
;; Clojurians Slack: http://clojurians.net/
;; IN/Clojure Open Relay: https://open.relay-chat.com/signup_user_complete/?id=inclojure
;; IN/Clojure Slack: https://join.slack.com/... | 47569 | (ns clojure-by-example.ex08-but-before-we-go)
;; But before we boldly go, here are some resources to help us on our journey!
;; Communities:
;; Clojurians Slack: http://clojurians.net/
;; IN/Clojure Open Relay: https://open.relay-chat.com/signup_user_complete/?id=inclojure
;; IN/Clojure Slack: https://join.<KEY>.com/... | true | (ns clojure-by-example.ex08-but-before-we-go)
;; But before we boldly go, here are some resources to help us on our journey!
;; Communities:
;; Clojurians Slack: http://clojurians.net/
;; IN/Clojure Open Relay: https://open.relay-chat.com/signup_user_complete/?id=inclojure
;; IN/Clojure Slack: https://join.PI:KEY:<KE... |
[
{
"context": "rkBench -- Natural deduction\n\n; Copyright (c) 2016 Burkhardt Renz, THM. All rights reserved.\n; The use and distribu",
"end": 79,
"score": 0.9998955726623535,
"start": 65,
"tag": "NAME",
"value": "Burkhardt Renz"
},
{
"context": "Examples for proofs from Richard Borna... | src/lwb/nd/examples/bornat.clj | esb-lwb/lwb | 22 | ; lwb Logic WorkBench -- Natural deduction
; Copyright (c) 2016 Burkhardt Renz, THM. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php).
; By using this software in any fashion, you are agreeing to be ... | 100971 | ; lwb Logic WorkBench -- Natural deduction
; Copyright (c) 2016 <NAME>, THM. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php).
; By using this software in any fashion, you are agreeing to be bound by... | true | ; lwb Logic WorkBench -- Natural deduction
; Copyright (c) 2016 PI:NAME:<NAME>END_PI, THM. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php).
; By using this software in any fashion, you are agreeing ... |
[
{
"context": "(atom {:name\n {:first-name \"John\" :last-name \"Smith\"}}))\n\n(defn parent []\n [:div\n",
"end": 1103,
"score": 0.9998766183853149,
"start": 1099,
"tag": "NAME",
"value": "John"
},
{
"context": " {:first-name \"John\" :last-nam... | demo/reagentdemo/news/news050.cljs | tomconnors/reagent | 0 | (ns reagentdemo.news.news050
(:require [reagent.core :as r :refer [atom]]
[reagent.interop :refer-macros [.' .!]]
[reagent.debug :refer-macros [dbg println]]
[reagentdemo.syntax :as s :include-macros true]
[sitetools :as tools :refer [link]]
[reagentdemo.com... | 73860 | (ns reagentdemo.news.news050
(:require [reagent.core :as r :refer [atom]]
[reagent.interop :refer-macros [.' .!]]
[reagent.debug :refer-macros [dbg println]]
[reagentdemo.syntax :as s :include-macros true]
[sitetools :as tools :refer [link]]
[reagentdemo.com... | true | (ns reagentdemo.news.news050
(:require [reagent.core :as r :refer [atom]]
[reagent.interop :refer-macros [.' .!]]
[reagent.debug :refer-macros [dbg println]]
[reagentdemo.syntax :as s :include-macros true]
[sitetools :as tools :refer [link]]
[reagentdemo.com... |
[
{
"context": "--------------\n;; File simple_op.clj\n;; Written by Chris Frisz\n;; \n;; Created 2 Apr 2012\n;; Last modified 5 No",
"end": 120,
"score": 0.9998462796211243,
"start": 109,
"tag": "NAME",
"value": "Chris Frisz"
}
] | src/ctco/expr/simple_op.clj | cjfrisz/clojure-tco | 64 | ;;----------------------------------------------------------------------
;; File simple_op.clj
;; Written by Chris Frisz
;;
;; Created 2 Apr 2012
;; Last modified 5 Nov 2012
;;
;; Defines the SimpleOpSrs, SimpleOpTriv, and SimpleOpCps record types
;; for representing operations using simple primitives, i.e.
;; arit... | 35218 | ;;----------------------------------------------------------------------
;; File simple_op.clj
;; Written by <NAME>
;;
;; Created 2 Apr 2012
;; Last modified 5 Nov 2012
;;
;; Defines the SimpleOpSrs, SimpleOpTriv, and SimpleOpCps record types
;; for representing operations using simple primitives, i.e.
;; arithmeti... | true | ;;----------------------------------------------------------------------
;; File simple_op.clj
;; Written by PI:NAME:<NAME>END_PI
;;
;; Created 2 Apr 2012
;; Last modified 5 Nov 2012
;;
;; Defines the SimpleOpSrs, SimpleOpTriv, and SimpleOpCps record types
;; for representing operations using simple primitives, i.e... |
[
{
"context": ";; Copyright 2014-2020 King\n;; Copyright 2009-2014 Ragnar Svensson, Christian Murray\n;; Licensed under the Defold Li",
"end": 111,
"score": 0.9998099207878113,
"start": 96,
"tag": "NAME",
"value": "Ragnar Svensson"
},
{
"context": "-2020 King\n;; Copyright 2009-2014 R... | editor/test/editor/ui_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... | 28716 | ;; 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": "le value\n(sph/set-value! env \"accounts\" \"user1\" \"John\")\n;;=> \"John\"\n\n;; get the value back\n(sph/get-val",
"end": 725,
"score": 0.9976651668548584,
"start": 721,
"tag": "NAME",
"value": "John"
},
{
"context": "/set-value! env \"accounts\" \"user1\" \"John\... | dev/user.clj | BrunoBonacci/clj-sophia | 16 | (ns user
(:require [com.brunobonacci.sophia :as sph]))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; ;;
;; ----==| G E T / S E T / D E L E T E |==---- ;;
;; ... | 104506 | (ns user
(:require [com.brunobonacci.sophia :as sph]))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; ;;
;; ----==| G E T / S E T / D E L E T E |==---- ;;
;; ... | true | (ns user
(:require [com.brunobonacci.sophia :as sph]))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; ;;
;; ----==| G E T / S E T / D E L E T E |==---- ;;
;; ... |
[
{
"context": "s (= [\"Building Search Applications is authored by Manu Konchady.\"]\n (generate-text {:document-plan-name \"",
"end": 671,
"score": 0.930834174156189,
"start": 658,
"tag": "NAME",
"value": "Manu Konchady"
},
{
"context": "{\"0\" [\"Building Search Applications... | api/test/api/end_to_end_test.clj | oytuntez/accelerated-text | 0 | (ns api.end-to-end-test
(:require [api.db-fixtures :as db]
[api.test-utils :refer [generate-text generate-text-bulk load-document-plan load-dictionary]]
[clojure.test :refer [deftest is use-fixtures]]))
(use-fixtures :each db/clean-db)
(deftest ^:integration text-generation-with-default-plan... | 113952 | (ns api.end-to-end-test
(:require [api.db-fixtures :as db]
[api.test-utils :refer [generate-text generate-text-bulk load-document-plan load-dictionary]]
[clojure.test :refer [deftest is use-fixtures]]))
(use-fixtures :each db/clean-db)
(deftest ^:integration text-generation-with-default-plan... | true | (ns api.end-to-end-test
(:require [api.db-fixtures :as db]
[api.test-utils :refer [generate-text generate-text-bulk load-document-plan load-dictionary]]
[clojure.test :refer [deftest is use-fixtures]]))
(use-fixtures :each db/clean-db)
(deftest ^:integration text-generation-with-default-plan... |
[
{
"context": "er-case (str \"file://\" dir))\n fred {:name \"fred\", :age 42}\n fred-ref (dref/persist base",
"end": 2551,
"score": 0.8202880024909973,
"start": 2550,
"tag": "NAME",
"value": "f"
},
{
"context": "r-case (str \"file://\" dir))\n fred {:name \"fred\... | test/riverford/durable_ref/core_test.clj | riverford/durable-ref | 72 | (ns riverford.durable-ref.core-test
(:require [clojure.test :refer :all]
[riverford.durable-ref.core :as dref]
[clojure.string :as str]
[clojure.java.io :as io])
(:import (java.util UUID)
(java.net URI)))
(deftest test-persist-immediate-deref-equiv
(is (= @(dref/per... | 102231 | (ns riverford.durable-ref.core-test
(:require [clojure.test :refer :all]
[riverford.durable-ref.core :as dref]
[clojure.string :as str]
[clojure.java.io :as io])
(:import (java.util UUID)
(java.net URI)))
(deftest test-persist-immediate-deref-equiv
(is (= @(dref/per... | true | (ns riverford.durable-ref.core-test
(:require [clojure.test :refer :all]
[riverford.durable-ref.core :as dref]
[clojure.string :as str]
[clojure.java.io :as io])
(:import (java.util UUID)
(java.net URI)))
(deftest test-persist-immediate-deref-equiv
(is (= @(dref/per... |
[
{
"context": " \"eu-central-1_tk6YrMrPc\"}}\n {:username \"PingFederate_robert.pofuk@rbinternational.com\"}))))\n\n(deftest test2\n (is (= {}\n (cogni",
"end": 567,
"score": 0.9999168515205383,
"start": 522,
"tag": "EMAIL",
"value": "PingFederate_robert.pofuk@rbinternationa... | test/sdk/aws/repl.clj | raiffeisenbankinternational/edd-core | 4 | (ns sdk.aws.repl
(:require [clojure.test :refer :all]
[sdk.aws.cognito-idp :as cognito-idp]
[lambda.util :as util]))
(deftest test1
(is (= {}
(cognito-idp/admin-get-user
{:aws {:aws-access-key-id (util/get-env "AWS_ACCESS_KEY_ID")
:aws-secret-access... | 121794 | (ns sdk.aws.repl
(:require [clojure.test :refer :all]
[sdk.aws.cognito-idp :as cognito-idp]
[lambda.util :as util]))
(deftest test1
(is (= {}
(cognito-idp/admin-get-user
{:aws {:aws-access-key-id (util/get-env "AWS_ACCESS_KEY_ID")
:aws-secret-access... | true | (ns sdk.aws.repl
(:require [clojure.test :refer :all]
[sdk.aws.cognito-idp :as cognito-idp]
[lambda.util :as util]))
(deftest test1
(is (= {}
(cognito-idp/admin-get-user
{:aws {:aws-access-key-id (util/get-env "AWS_ACCESS_KEY_ID")
:aws-secret-access... |
[
{
"context": " :password :env/CI_DEPLOY_PASSWORD\n :sign-releases fals",
"end": 1422,
"score": 0.6570007801055908,
"start": 1414,
"tag": "PASSWORD",
"value": "PASSWORD"
}
] | project.clj | kephale/incisor-cell-segmentation | 0 | (defproject incisor-cell-counter "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:jvm-opts ["-Xmx25g" "-server"]
:main incisor-cell-counter.imaris-cropped-analysis
... | 87049 | (defproject incisor-cell-counter "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:jvm-opts ["-Xmx25g" "-server"]
:main incisor-cell-counter.imaris-cropped-analysis
... | true | (defproject incisor-cell-counter "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:jvm-opts ["-Xmx25g" "-server"]
:main incisor-cell-counter.imaris-cropped-analysis
... |
[
{
"context": "rt \"5432\"\n :user \"tester\"\n :password \"test-password\"})\n\n(deftest data-source-check-fn-times-out-after",
"end": 468,
"score": 0.9993095993995667,
"start": 455,
"tag": "PASSWORD",
"value": "test-password"
}
] | check-fns/data-source/test/integration/salutem/check_fns/data_source/timeout_test.clj | logicblocks/salutem | 13 | (ns salutem.check-fns.data-source.timeout-test
(:require
[clojure.test :refer :all]
[clojure.pprint :as pp]
[next.jdbc :as jdbc]
[salutem.core :as salutem]
[salutem.check-fns.data-source.core :as scfds]
[tick.alpha.api :as time])
(:import
[com.impossibl.postgres.jdbc PGSQLSimpleException]))
... | 89491 | (ns salutem.check-fns.data-source.timeout-test
(:require
[clojure.test :refer :all]
[clojure.pprint :as pp]
[next.jdbc :as jdbc]
[salutem.core :as salutem]
[salutem.check-fns.data-source.core :as scfds]
[tick.alpha.api :as time])
(:import
[com.impossibl.postgres.jdbc PGSQLSimpleException]))
... | true | (ns salutem.check-fns.data-source.timeout-test
(:require
[clojure.test :refer :all]
[clojure.pprint :as pp]
[next.jdbc :as jdbc]
[salutem.core :as salutem]
[salutem.check-fns.data-source.core :as scfds]
[tick.alpha.api :as time])
(:import
[com.impossibl.postgres.jdbc PGSQLSimpleException]))
... |
[
{
"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.9997671246528625,
"start": 123,
"tag": "NAME",
"value": "Jony Hudson"
}
] | data/test/clojure/69b670693d8f48abd97d41ffc5c6fec7985cb53dscoring.clj | harshp8l/deep-learning-lang-detection | 84 | ;
; 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.scoring
"Functions in this namespace manage the process of scoring individuals in a population.
The actual score functio... | 25883 | ;
; 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.scoring
"Functions in this namespace manage the process of scoring individuals in a population.
The actual score functions th... | 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.scoring
"Functions in this namespace manage the process of scoring individuals in a population.
The actual scor... |
[
{
"context": "pted Clojure code style.\n;; (https://github.com/bbatsov/clojure-style-guide)\n\n\n;; A Simple \"Function\"\n\n;;",
"end": 3585,
"score": 0.99901282787323,
"start": 3578,
"tag": "USERNAME",
"value": "bbatsov"
},
{
"context": "cises:\n\n;; EXERCISE:\n;;\n;; Define anot... | src/clojure_by_example/ex01_small_beginnings.clj | RiteekS/clojure-by-example | 0 | (ns clojure-by-example.ex01-small-beginnings)
;; Ex01: LESSON GOAL:
;;
;; - Show a way to model things with pure data, in the form of hash-maps
;; - Show how to query hash-maps
;; - Introduce the idea of a function
;; - Use the above to show how we can "do more with less"
;; Our Earth
;; "pname" "Earth"
;; "mass"... | 3160 | (ns clojure-by-example.ex01-small-beginnings)
;; Ex01: LESSON GOAL:
;;
;; - Show a way to model things with pure data, in the form of hash-maps
;; - Show how to query hash-maps
;; - Introduce the idea of a function
;; - Use the above to show how we can "do more with less"
;; Our Earth
;; "pname" "Earth"
;; "mass"... | true | (ns clojure-by-example.ex01-small-beginnings)
;; Ex01: LESSON GOAL:
;;
;; - Show a way to model things with pure data, in the form of hash-maps
;; - Show how to query hash-maps
;; - Introduce the idea of a function
;; - Use the above to show how we can "do more with less"
;; Our Earth
;; "pname" "Earth"
;; "mass"... |
[
{
"context": "\n [:section\n [:a.button.reply {:href \"mailto:support@criipto.com\"}\n [:span \"Reply\"]\n [:div.icon.reply]]]])",
"end": 4718,
"score": 0.9999096989631653,
"start": 4699,
"tag": "EMAIL",
"value": "support@criipto.com"
},
{
"context": " [:<>\n ... | Bank/Cljs-re-frame/src/cljs_re_frame/views.cljs | criipto/samples | 0 | (ns cljs-re-frame.views
(:require [Authentication.authentication :as auth]
[cljs-re-frame.events :as events]
[cljs-re-frame.subs :as subs]
[clojure.string :as str]
[markdown-to-hiccup.core :as markdown]
[re-frame.core :as rf]))
(defn print-date [^js/Date d]... | 16390 | (ns cljs-re-frame.views
(:require [Authentication.authentication :as auth]
[cljs-re-frame.events :as events]
[cljs-re-frame.subs :as subs]
[clojure.string :as str]
[markdown-to-hiccup.core :as markdown]
[re-frame.core :as rf]))
(defn print-date [^js/Date d]... | true | (ns cljs-re-frame.views
(:require [Authentication.authentication :as auth]
[cljs-re-frame.events :as events]
[cljs-re-frame.subs :as subs]
[clojure.string :as str]
[markdown-to-hiccup.core :as markdown]
[re-frame.core :as rf]))
(defn print-date [^js/Date d]... |
[
{
"context": "(ns com.mrmccue.macros\n ^{:author \"Ethan McCue\"\n :email \"emccue@live.com\"\n :doc \"A collect",
"end": 47,
"score": 0.9998791813850403,
"start": 36,
"tag": "NAME",
"value": "Ethan McCue"
},
{
"context": "ccue.macros\n ^{:author \"Ethan McCue\"\n :email \... | Clojure/macros.clj | PushpneetSingh/Hello-world | 1,428 | (ns com.mrmccue.macros
^{:author "Ethan McCue"
:email "emccue@live.com"
:doc "A collection of useful macros to extend base clojure"}
(:require [clojure.core.strint :refer [<<]]
[clojure.java.io :as io]))
(defmacro oops [msg]
(when (not (string? msg))
(oops "Argument to 'oops' must be a st... | 60963 | (ns com.mrmccue.macros
^{:author "<NAME>"
:email "<EMAIL>"
:doc "A collection of useful macros to extend base clojure"}
(:require [clojure.core.strint :refer [<<]]
[clojure.java.io :as io]))
(defmacro oops [msg]
(when (not (string? msg))
(oops "Argument to 'oops' must be a string literal"... | true | (ns com.mrmccue.macros
^{:author "PI:NAME:<NAME>END_PI"
:email "PI:EMAIL:<EMAIL>END_PI"
:doc "A collection of useful macros to extend base clojure"}
(:require [clojure.core.strint :refer [<<]]
[clojure.java.io :as io]))
(defmacro oops [msg]
(when (not (string? msg))
(oops "Argument to 'oo... |
[
{
"context": " could look like\n this:\n\n ```\n (def my-token \\\"FOOBAR123\\\")\n ```\n\n Each function takes this token as its",
"end": 312,
"score": 0.9824076294898987,
"start": 303,
"tag": "PASSWORD",
"value": "FOOBAR123"
}
] | src/hcloud/core.clj | olieidel/hcloud | 13 | (ns hcloud.core
"Hetzner Cloud API functions.
## Auth Token
All calls to the Hetzner API must be authenticated. For that, you
need an Authentication Token which you can generate online in your
Hetzner Cloud Account. The token is a string and could look like
this:
```
(def my-token \"FOOBAR123\")
``... | 87965 | (ns hcloud.core
"Hetzner Cloud API functions.
## Auth Token
All calls to the Hetzner API must be authenticated. For that, you
need an Authentication Token which you can generate online in your
Hetzner Cloud Account. The token is a string and could look like
this:
```
(def my-token \"<PASSWORD>\")
`... | true | (ns hcloud.core
"Hetzner Cloud API functions.
## Auth Token
All calls to the Hetzner API must be authenticated. For that, you
need an Authentication Token which you can generate online in your
Hetzner Cloud Account. The token is a string and could look like
this:
```
(def my-token \"PI:PASSWORD:<PASS... |
[
{
"context": "-fx\n :register\n (fn [_ [_ {:keys [email password pass-confirm] :as user}]]\n {:http {:method P",
"end": 1686,
"score": 0.6820852756500244,
"start": 1682,
"tag": "PASSWORD",
"value": "pass"
},
{
"context": " :password ... | src/soul_talk/handler/auth.cljs | neromous/Re_Frame_template_of_FamiliyCost | 2 | (ns soul-talk.handler.auth
(:require [soul-talk.db :as db]
[re-frame.core :refer [reg-event-fx reg-event-db dispatch inject-cofx]]
[ajax.core :refer [POST GET DELETE PUT]]
[soul-talk.local-storage :refer [login-user-key auth-token-key]]
[soul-talk.db :refer [api-uri]]))... | 2593 | (ns soul-talk.handler.auth
(:require [soul-talk.db :as db]
[re-frame.core :refer [reg-event-fx reg-event-db dispatch inject-cofx]]
[ajax.core :refer [POST GET DELETE PUT]]
[soul-talk.local-storage :refer [login-user-key auth-token-key]]
[soul-talk.db :refer [api-uri]]))... | true | (ns soul-talk.handler.auth
(:require [soul-talk.db :as db]
[re-frame.core :refer [reg-event-fx reg-event-db dispatch inject-cofx]]
[ajax.core :refer [POST GET DELETE PUT]]
[soul-talk.local-storage :refer [login-user-key auth-token-key]]
[soul-talk.db :refer [api-uri]]))... |
[
{
"context": " :firstname \"Fred\"\n :surna",
"end": 1801,
"score": 0.9997456073760986,
"start": 1797,
"tag": "NAME",
"value": "Fred"
},
{
"context": " :surname \"Smit... | crux-lucene/test/crux/lucene/extension_test.clj | joelittlejohn/crux | 0 | (ns crux.lucene.extension-test
(:require [clojure.test :as t]
[crux.api :as c]
[crux.codec :as cc]
[crux.system :as sys]
[crux.fixtures :as fix :refer [*api* submit+await-tx]]
[crux.lucene :as l])
(:import org.apache.lucene.analysis.Analyzer
... | 73233 | (ns crux.lucene.extension-test
(:require [clojure.test :as t]
[crux.api :as c]
[crux.codec :as cc]
[crux.system :as sys]
[crux.fixtures :as fix :refer [*api* submit+await-tx]]
[crux.lucene :as l])
(:import org.apache.lucene.analysis.Analyzer
... | true | (ns crux.lucene.extension-test
(:require [clojure.test :as t]
[crux.api :as c]
[crux.codec :as cc]
[crux.system :as sys]
[crux.fixtures :as fix :refer [*api* submit+await-tx]]
[crux.lucene :as l])
(:import org.apache.lucene.analysis.Analyzer
... |
[
{
"context": "scm {:name \"git\"\n :url \"https://github.com/lk-geimfari/secrets.clj\"}\n :url \"https://github.com/lk-geimf",
"end": 206,
"score": 0.9989228844642639,
"start": 195,
"tag": "USERNAME",
"value": "lk-geimfari"
},
{
"context": "geimfari/secrets.clj\"}\n :url \"h... | project.clj | lk-geimfari/secrets.clj | 66 | (defproject likid_geimfari/secrets "1.0.0"
:description "A Clojure library designed to generate secure random numbers for managing secrets"
:scm {:name "git"
:url "https://github.com/lk-geimfari/secrets.clj"}
:url "https://github.com/lk-geimfari/secrets.clj"
:license {:name "MIT License"}
:plugins [[l... | 74002 | (defproject likid_geimfari/secrets "1.0.0"
:description "A Clojure library designed to generate secure random numbers for managing secrets"
:scm {:name "git"
:url "https://github.com/lk-geimfari/secrets.clj"}
:url "https://github.com/lk-geimfari/secrets.clj"
:license {:name "MIT License"}
:plugins [[l... | true | (defproject likid_geimfari/secrets "1.0.0"
:description "A Clojure library designed to generate secure random numbers for managing secrets"
:scm {:name "git"
:url "https://github.com/lk-geimfari/secrets.clj"}
:url "https://github.com/lk-geimfari/secrets.clj"
:license {:name "MIT License"}
:plugins [[l... |
[
{
"context": "ns under the License.\n;;\n;; Copyright © 2013-2020, Kenneth Leung. All rights reserved.\n\n(ns czlab.shimoji.afx.cryp",
"end": 597,
"score": 0.9998629689216614,
"start": 584,
"tag": "NAME",
"value": "Kenneth Leung"
}
] | attic/afx/crypt.cljs | llnek/czlabio | 0 | ;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writing, software
;; distributed ... | 18060 | ;; 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.