entities listlengths 1 44.6k | max_stars_repo_path stringlengths 6 160 | max_stars_repo_name stringlengths 6 66 | max_stars_count int64 0 47.9k | content stringlengths 18 1.04M | id stringlengths 1 6 | new_content stringlengths 18 1.04M | modified bool 1
class | references stringlengths 32 1.52M |
|---|---|---|---|---|---|---|---|---|
[
{
"context": ";;;;;;;;;;;;;;;;\n;(def DEFAULT-ADMIN-USER {:name \"Roi Sucasas\" :username \"rsucasas\" :password \"password\" :rol \"",
"end": 1806,
"score": 0.9966402053833008,
"start": 1795,
"tag": "NAME",
"value": "Roi Sucasas"
},
{
"context": "EFAULT-ADMIN-USER {:name \"Roi Sucas... | softcare-multimedia-repository/src/softcare/utilities/jwtoken.clj | seaclouds-atos/softcare-final-implementation | 0 | (ns softcare.utilities.jwtoken
(:require [softcare.config :as config]
[softcare.logs.logs :as log]
[clj-jwt.core :refer :all]
[clj-jwt.key :refer [private-key]]
[clj-time.core :refer [now plus minutes]]
[clj-time.coerce :as tc]))
;; PRIVATE F... | 82167 | (ns softcare.utilities.jwtoken
(:require [softcare.config :as config]
[softcare.logs.logs :as log]
[clj-jwt.core :refer :all]
[clj-jwt.key :refer [private-key]]
[clj-time.core :refer [now plus minutes]]
[clj-time.coerce :as tc]))
;; PRIVATE F... | true | (ns softcare.utilities.jwtoken
(:require [softcare.config :as config]
[softcare.logs.logs :as log]
[clj-jwt.core :refer :all]
[clj-jwt.key :refer [private-key]]
[clj-time.core :refer [now plus minutes]]
[clj-time.coerce :as tc]))
;; PRIVATE F... |
[
{
"context": " {:doc \"to examine compiler output.\"\n :author \"palisades dot lakes at gmail dot com\"\n :since \"2017-09-14\"\n :version \"2017-10-14\"}",
"end": 265,
"score": 0.9128249883651733,
"start": 229,
"tag": "EMAIL",
"value": "palisades dot lakes at gmail dot com"
}
] | src/main/clojure/palisades/lakes/funx/meta/adder.clj | palisades-lakes/function-experiments | 0 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns palisades.lakes.funx.meta.adder
{:doc "to examine compiler output."
:author "palisades dot lakes at gmail dot com"
:since "2017-09-14"
:version "2017-10-14"})
;;-... | 63701 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns palisades.lakes.funx.meta.adder
{:doc "to examine compiler output."
:author "<EMAIL>"
:since "2017-09-14"
:version "2017-10-14"})
;;------------------------------... | true | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns palisades.lakes.funx.meta.adder
{:doc "to examine compiler output."
:author "PI:EMAIL:<EMAIL>END_PI"
:since "2017-09-14"
:version "2017-10-14"})
;;---------------... |
[
{
"context": "application/rss+xml\"}]\n [:author\n [:name \"Mark McGranaghan\"]\n [:email \"mmcgrana@gmail.com\"]\n [:uri",
"end": 3601,
"score": 0.999772846698761,
"start": 3585,
"tag": "NAME",
"value": "Mark McGranaghan"
},
{
"context": "r\n [:name \"Mark McG... | weld-blog-example/src/weldblog/views.clj | mmcgrana/clj-garden | 8 | (ns weldblog.views
(:use
(weld routing)
(weldblog utils auth)
(clj-html core utils helpers helpers-ext)
[stash.core :only (errors)]
[stash.pagination :except (paginate)])
(:require
[clj-time.core :as time]
[stash.core :as stash]))
;; Helpers
(defmacro layout
[assigns-form & body]
`(... | 43300 | (ns weldblog.views
(:use
(weld routing)
(weldblog utils auth)
(clj-html core utils helpers helpers-ext)
[stash.core :only (errors)]
[stash.pagination :except (paginate)])
(:require
[clj-time.core :as time]
[stash.core :as stash]))
;; Helpers
(defmacro layout
[assigns-form & body]
`(... | true | (ns weldblog.views
(:use
(weld routing)
(weldblog utils auth)
(clj-html core utils helpers helpers-ext)
[stash.core :only (errors)]
[stash.pagination :except (paginate)])
(:require
[clj-time.core :as time]
[stash.core :as stash]))
;; Helpers
(defmacro layout
[assigns-form & body]
`(... |
[
{
"context": ";; Copyright (c) 2010 Tom Crayford,\n;;\n;; Redistribution and use in source and binar",
"end": 34,
"score": 0.9998258948326111,
"start": 22,
"tag": "NAME",
"value": "Tom Crayford"
}
] | src/clojure_refactoring/extract_method.clj | tcrayford/clojure-refactoring | 6 | ;; Copyright (c) 2010 Tom Crayford,
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions
;; are met:
;;
;; Redistributions of source code must retain the above copyright
;; notice, this list of conditions and the following... | 54631 | ;; Copyright (c) 2010 <NAME>,
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions
;; are met:
;;
;; Redistributions of source code must retain the above copyright
;; notice, this list of conditions and the following discl... | true | ;; Copyright (c) 2010 PI:NAME:<NAME>END_PI,
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions
;; are met:
;;
;; Redistributions of source code must retain the above copyright
;; notice, this list of conditions and the f... |
[
{
"context": "tical-to :password1]]]\n input {:password1 \"foobar\"\n :password2 \"foobar.\"}\n err",
"end": 2609,
"score": 0.9827353358268738,
"start": 2603,
"tag": "PASSWORD",
"value": "foobar"
},
{
"context": "t {:password1 \"foobar\"\n :p... | test/struct/tests.cljc | saitouena/struct | 125 | (ns struct.tests
(:require #?(:cljs [cljs.test :as t]
:clj [clojure.test :as t])
[struct.core :as st]))
;; --- Tests
(t/deftest test-optional-validators
(let [scheme {:max st/number
:scope st/string}
input {:scope "foobar"}
result (st/validate input schem... | 3065 | (ns struct.tests
(:require #?(:cljs [cljs.test :as t]
:clj [clojure.test :as t])
[struct.core :as st]))
;; --- Tests
(t/deftest test-optional-validators
(let [scheme {:max st/number
:scope st/string}
input {:scope "foobar"}
result (st/validate input schem... | true | (ns struct.tests
(:require #?(:cljs [cljs.test :as t]
:clj [clojure.test :as t])
[struct.core :as st]))
;; --- Tests
(t/deftest test-optional-validators
(let [scheme {:max st/number
:scope st/string}
input {:scope "foobar"}
result (st/validate input schem... |
[
{
"context": "s \"a.nav-link\" tab)\n {:key (str \"a-\" id)\n :data-toggle \"tab\"\n :href ",
"end": 3698,
"score": 0.6919513940811157,
"start": 3698,
"tag": "KEY",
"value": ""
},
{
"context": "button.btn.btn-secondary\n {:key (str \"b-\"... | src/reddit_viewer/core.cljs | gordielsky/reddit-api | 0 | (ns reddit-viewer.core
(:require
[reagent.core :as r]
[reddit-viewer.chart :as chart]
[reddit-viewer.controllers :as controllers]
[re-frame.core :as rf]
[clojure.string :as string]))
;; -------------------------
;; Views
(defn display-post [{:keys [permalink subreddit title score url]}]
[:div.... | 83381 | (ns reddit-viewer.core
(:require
[reagent.core :as r]
[reddit-viewer.chart :as chart]
[reddit-viewer.controllers :as controllers]
[re-frame.core :as rf]
[clojure.string :as string]))
;; -------------------------
;; Views
(defn display-post [{:keys [permalink subreddit title score url]}]
[:div.... | true | (ns reddit-viewer.core
(:require
[reagent.core :as r]
[reddit-viewer.chart :as chart]
[reddit-viewer.controllers :as controllers]
[re-frame.core :as rf]
[clojure.string :as string]))
;; -------------------------
;; Views
(defn display-post [{:keys [permalink subreddit title score url]}]
[:div.... |
[
{
"context": " [16 6 \"Mile\" \"time\"]\n ",
"end": 2518,
"score": 0.9201272130012512,
"start": 2514,
"tag": "NAME",
"value": "Mile"
},
{
"context": " [17 7 \"Mu... | src/prs/db/core.clj | robmerrell/prs | 0 | (ns prs.db.core
(:require [mount.core :as mnt]
[migratus.core :as migratus]
[prs.config :as config]
[prs.db.movements :as movements-db]
[prs.db.categories :as categories-db]))
(defn connect []
{:classname "org.sqlite.JDBC"
:subprotocol "sqlite"
:subname (config... | 78177 | (ns prs.db.core
(:require [mount.core :as mnt]
[migratus.core :as migratus]
[prs.config :as config]
[prs.db.movements :as movements-db]
[prs.db.categories :as categories-db]))
(defn connect []
{:classname "org.sqlite.JDBC"
:subprotocol "sqlite"
:subname (config... | true | (ns prs.db.core
(:require [mount.core :as mnt]
[migratus.core :as migratus]
[prs.config :as config]
[prs.db.movements :as movements-db]
[prs.db.categories :as categories-db]))
(defn connect []
{:classname "org.sqlite.JDBC"
:subprotocol "sqlite"
:subname (config... |
[
{
"context": "-player 0\n :players [\n {:name \"Bot\" :active? true :round 0 :total 0}\n ",
"end": 117,
"score": 0.5115747451782227,
"start": 114,
"tag": "NAME",
"value": "Bot"
},
{
"context": "true :round 0 :total 0}\n {:name \"Playe... | src/nasty_one/db.cljs | fnumatic/nasty-number-one | 0 | (ns nasty-one.db)
(def default-db
{:max-value 200
:current-player 0
:players [
{:name "Bot" :active? true :round 0 :total 0}
{:name "Player" :active? false :round 0 :total 0}
]})
| 109663 | (ns nasty-one.db)
(def default-db
{:max-value 200
:current-player 0
:players [
{:name "<NAME>" :active? true :round 0 :total 0}
{:name "<NAME>" :active? false :round 0 :total 0}
]})
| true | (ns nasty-one.db)
(def default-db
{:max-value 200
:current-player 0
:players [
{:name "PI:NAME:<NAME>END_PI" :active? true :round 0 :total 0}
{:name "PI:NAME:<NAME>END_PI" :active? false :round 0 :total 0}
]})
|
[
{
"context": "; Copyright (c) Anna Shchiptsova, IIASA. All rights reserved.\r\n; The use and dis",
"end": 34,
"score": 0.9998898506164551,
"start": 18,
"tag": "NAME",
"value": "Anna Shchiptsova"
},
{
"context": " \"Wraps reading of file content.\"\r\n :author \"Anna Shchipts... | src/utilities_clj/reader.clj | shchipts/utilities-clj | 0 | ; Copyright (c) Anna Shchiptsova, IIASA. All rights reserved.
; The use and distribution terms for this software are covered by the
; MIT License (http://opensource.org/licenses/MIT)
; which can be found in the file LICENSE at the root of this distribution.
; By using this software in any fashion, you are... | 80060 | ; Copyright (c) <NAME>, IIASA. All rights reserved.
; The use and distribution terms for this software are covered by the
; MIT License (http://opensource.org/licenses/MIT)
; which can be found in the file LICENSE at the root of this distribution.
; By using this software in any fashion, you are agreeing ... | true | ; Copyright (c) PI:NAME:<NAME>END_PI, IIASA. All rights reserved.
; The use and distribution terms for this software are covered by the
; MIT License (http://opensource.org/licenses/MIT)
; which can be found in the file LICENSE at the root of this distribution.
; By using this software in any fashion, you... |
[
{
"context": "ptions {:token (echo-util/login (system/context) \"user1\")}\n coll1 (data-core/ingest-umm-spec-colle",
"end": 824,
"score": 0.8095625638961792,
"start": 819,
"tag": "USERNAME",
"value": "user1"
},
{
"context": "ptions {:token (echo-util/login (system/context) \"... | system-int-test/test/cmr/system_int_test/ingest/granule_bulk_update/granule_bulk_update_test.clj | sunshinekyo/Common-Metadata-Repository | 0 | (ns cmr.system-int-test.ingest.granule-bulk-update.granule-bulk-update-test
"CMR bulk update. Test the actual update "
(:require
[clojure.java.io :as io]
[clojure.string :as string]
[clojure.test :refer :all]
[cmr.mock-echo.client.echo-util :as echo-util]
[cmr.system-int-test.data2.core :as data-core... | 31926 | (ns cmr.system-int-test.ingest.granule-bulk-update.granule-bulk-update-test
"CMR bulk update. Test the actual update "
(:require
[clojure.java.io :as io]
[clojure.string :as string]
[clojure.test :refer :all]
[cmr.mock-echo.client.echo-util :as echo-util]
[cmr.system-int-test.data2.core :as data-core... | true | (ns cmr.system-int-test.ingest.granule-bulk-update.granule-bulk-update-test
"CMR bulk update. Test the actual update "
(:require
[clojure.java.io :as io]
[clojure.string :as string]
[clojure.test :refer :all]
[cmr.mock-echo.client.echo-util :as echo-util]
[cmr.system-int-test.data2.core :as data-core... |
[
{
"context": " format for shipping to SCServer.\"\n :author \"Sam Aaron\"}\n overtone.sc.machinery.ugen.sc-ugen\n (:use ",
"end": 291,
"score": 0.999886691570282,
"start": 282,
"tag": "NAME",
"value": "Sam Aaron"
}
] | src/overtone/sc/machinery/ugen/sc_ugen.clj | rosejn/overtone | 4 | (ns
^{:doc "Records and fns for representing SCUgens. These are to be distinguised with ugens which are Overtone functions which compile down into SCUGens. Trees of SCUGens can then, in turn, be compiled down into a binary synth format for shipping to SCServer."
:author "Sam Aaron"}
overtone.sc.machinery.... | 40114 | (ns
^{:doc "Records and fns for representing SCUgens. These are to be distinguised with ugens which are Overtone functions which compile down into SCUGens. Trees of SCUGens can then, in turn, be compiled down into a binary synth format for shipping to SCServer."
:author "<NAME>"}
overtone.sc.machinery.uge... | true | (ns
^{:doc "Records and fns for representing SCUgens. These are to be distinguised with ugens which are Overtone functions which compile down into SCUGens. Trees of SCUGens can then, in turn, be compiled down into a binary synth format for shipping to SCServer."
:author "PI:NAME:<NAME>END_PI"}
overtone.sc... |
[
{
"context": " {:keylength 512}))\n :authorization {:certificate \"foo\"}}))\n\n(d",
"end": 1717,
"score": 0.731515645980835,
"start": 1715,
"tag": "KEY",
"value": "12"
},
{
"context": "resources/config/jetty/ssl/private_keys/localhost.pem\"\n ... | test/puppetlabs/ring_middleware/core_test.clj | camlow325/ring-middleware | 0 | (ns puppetlabs.ring-middleware.core-test
(:require [cheshire.core :as json]
[clojure.test :refer :all]
[compojure.core :refer :all]
[compojure.handler :as handler]
[compojure.route :as route]
[puppetlabs.ring-middleware.core :as core]
[puppetlabs... | 86168 | (ns puppetlabs.ring-middleware.core-test
(:require [cheshire.core :as json]
[clojure.test :refer :all]
[compojure.core :refer :all]
[compojure.handler :as handler]
[compojure.route :as route]
[puppetlabs.ring-middleware.core :as core]
[puppetlabs... | true | (ns puppetlabs.ring-middleware.core-test
(:require [cheshire.core :as json]
[clojure.test :refer :all]
[compojure.core :refer :all]
[compojure.handler :as handler]
[compojure.route :as route]
[puppetlabs.ring-middleware.core :as core]
[puppetlabs... |
[
{
"context": ";; Copyright (C) 2018, 2019 by Vlad Kozin\n\n(ns bitfinex-example\n (:require [medley.core :r",
"end": 41,
"score": 0.999836802482605,
"start": 31,
"tag": "NAME",
"value": "Vlad Kozin"
}
] | src/exch/bitfinex_example.clj | vkz/bot | 1 | ;; Copyright (C) 2018, 2019 by Vlad Kozin
(ns bitfinex-example
(:require [medley.core :refer :all]
[manifold.stream :as s]
[aleph.http :as http]
[cheshire.core :as json]
[clojure.string :as string]
[clojure.pprint :refer [pprint]]
[clojure.core.... | 23317 | ;; Copyright (C) 2018, 2019 by <NAME>
(ns bitfinex-example
(:require [medley.core :refer :all]
[manifold.stream :as s]
[aleph.http :as http]
[cheshire.core :as json]
[clojure.string :as string]
[clojure.pprint :refer [pprint]]
[clojure.core.asyn... | true | ;; Copyright (C) 2018, 2019 by PI:NAME:<NAME>END_PI
(ns bitfinex-example
(:require [medley.core :refer :all]
[manifold.stream :as s]
[aleph.http :as http]
[cheshire.core :as json]
[clojure.string :as string]
[clojure.pprint :refer [pprint]]
[clo... |
[
{
"context": "; Copyright (c) Rich Hickey. All rights reserved.\n; The use and distributio",
"end": 29,
"score": 0.9998068809509277,
"start": 18,
"tag": "NAME",
"value": "Rich Hickey"
}
] | Chapter 07 Code/niko/clojure/test/clojure/test_clojure/data_structures_interop.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 ... | 37081 | ; 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": "! *unchecked-math* :warn-on-boxed)\n(ns ^{:author \"John Alan McDonald\" :date \"2016-09-06\"\n :doc \"Attribute functio",
"end": 105,
"score": 0.9998692274093628,
"start": 87,
"tag": "NAME",
"value": "John Alan McDonald"
}
] | src/main/clojure/zana/data/attribute.clj | wahpenayo/zana | 2 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "John Alan McDonald" :date "2016-09-06"
:doc "Attribute function generation."}
zana.data.attribute
(:refer-clojure :exclude [cast emit name])
(:require [clojure.pprint :as pp]
[zana.data.reflect :as r... | 53967 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "<NAME>" :date "2016-09-06"
:doc "Attribute function generation."}
zana.data.attribute
(:refer-clojure :exclude [cast emit name])
(:require [clojure.pprint :as pp]
[zana.data.reflect :as r]))
;;------... | true | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "PI:NAME:<NAME>END_PI" :date "2016-09-06"
:doc "Attribute function generation."}
zana.data.attribute
(:refer-clojure :exclude [cast emit name])
(:require [clojure.pprint :as pp]
[zana.data.reflect :as... |
[
{
"context": "paredStatement]))\n\n(def pool-spec\n {:username \"benchmarkdbuser\"\n :password \"benchmarkdbpass\"\n :jdbc-url ",
"end": 551,
"score": 0.9994558691978455,
"start": 536,
"tag": "USERNAME",
"value": "benchmarkdbuser"
},
{
"context": "\n {:username \"benchm... | frameworks/Clojure/luminus/hello/src/hello/db/core.clj | astaxie/FrameworkBenchmarks | 0 | (ns hello.db.core
(:require
[cheshire.core :refer [generate-string parse-string]]
[clojure.java.jdbc :as jdbc]
[conman.core :as conman]
[environ.core :refer [env]]
[mount.core :refer [defstate]])
(:import org.postgresql.util.PGobject
org.postgresql.jdbc.PgArray
clojure.lang... | 92931 | (ns hello.db.core
(:require
[cheshire.core :refer [generate-string parse-string]]
[clojure.java.jdbc :as jdbc]
[conman.core :as conman]
[environ.core :refer [env]]
[mount.core :refer [defstate]])
(:import org.postgresql.util.PGobject
org.postgresql.jdbc.PgArray
clojure.lang... | true | (ns hello.db.core
(:require
[cheshire.core :refer [generate-string parse-string]]
[clojure.java.jdbc :as jdbc]
[conman.core :as conman]
[environ.core :refer [env]]
[mount.core :refer [defstate]])
(:import org.postgresql.util.PGobject
org.postgresql.jdbc.PgArray
clojure.lang... |
[
{
"context": "pe \"text\"\n :placeholder \"you@sloth.land\"\n :autocomplete \"off\"\n ",
"end": 1629,
"score": 0.9999160766601562,
"start": 1615,
"tag": "EMAIL",
"value": "you@sloth.land"
}
] | src/cljs/sloth/views/login.cljs | niwibe/sloth | 0 | (ns sloth.views.login
(:require-macros [cljs.core.async.macros :refer [go]])
(:require [om.core :as om :include-macros true]
[sablono.core :as html :refer-macros [html]]
[cuerdas.core :as str]
[cljs.core.async :refer [<!]]
[sloth.auth :as auth]
[sloth.stat... | 44842 | (ns sloth.views.login
(:require-macros [cljs.core.async.macros :refer [go]])
(:require [om.core :as om :include-macros true]
[sablono.core :as html :refer-macros [html]]
[cuerdas.core :as str]
[cljs.core.async :refer [<!]]
[sloth.auth :as auth]
[sloth.stat... | true | (ns sloth.views.login
(:require-macros [cljs.core.async.macros :refer [go]])
(:require [om.core :as om :include-macros true]
[sablono.core :as html :refer-macros [html]]
[cuerdas.core :as str]
[cljs.core.async :refer [<!]]
[sloth.auth :as auth]
[sloth.stat... |
[
{
"context": " README EXAMPLES\n\n (let [value-1 \"abcdfeghijkl\\rmnopqrstuvwxyz\"\n value-2 \"abcdfeghijkl\\nmnopqrst",
"end": 257,
"score": 0.5108785629272461,
"start": 253,
"tag": "KEY",
"value": "nopq"
}
] | src/text_diff_examples.clj | steenhansen/clojure-html-diff | 0 |
; How to use
; text-diff-examples> (diff-examples)
(ns text-diff-examples
(:require [clojure.test :refer [is]])
(:require [text-diff :refer [are-vars-eq]]))
(defn diff-examples []
; START OF README EXAMPLES
(let [value-1 "abcdfeghijkl\rmnopqrstuvwxyz"
value-2 "abcdfeghijkl\nmnopqrstuvwxyz"
... | 112844 |
; How to use
; text-diff-examples> (diff-examples)
(ns text-diff-examples
(:require [clojure.test :refer [is]])
(:require [text-diff :refer [are-vars-eq]]))
(defn diff-examples []
; START OF README EXAMPLES
(let [value-1 "abcdfeghijkl\rm<KEY>rstuvwxyz"
value-2 "abcdfeghijkl\nmnopqrstuvwxyz"
... | true |
; How to use
; text-diff-examples> (diff-examples)
(ns text-diff-examples
(:require [clojure.test :refer [is]])
(:require [text-diff :refer [are-vars-eq]]))
(defn diff-examples []
; START OF README EXAMPLES
(let [value-1 "abcdfeghijkl\rmPI:KEY:<KEY>END_PIrstuvwxyz"
value-2 "abcdfeghijkl\nmnopqrs... |
[
{
"context": "the form 'Hello, username'\n Default username is 'world'.\"\n ([] (greeting \"world\"))\n ([username] (str \"",
"end": 176,
"score": 0.9115036725997925,
"start": 171,
"tag": "USERNAME",
"value": "world"
},
{
"context": " with\" (count chaperones) \"chaperones.\"))\n\... | clojure/programming-clojure-3rd/ch02/exploring.clj | mdssjc/mds-lisp | 0 | (ns exploring
(:require [clojure.string :as str])
(:import (java.io File)))
(defn greeting
"Returns a greeting of the form 'Hello, username'
Default username is 'world'."
([] (greeting "world"))
([username] (str "Hello, " username)))
(greeting "world")
(greeting)
;;(doc greeting)
(defn date [person-1 per... | 10082 | (ns exploring
(:require [clojure.string :as str])
(:import (java.io File)))
(defn greeting
"Returns a greeting of the form 'Hello, username'
Default username is 'world'."
([] (greeting "world"))
([username] (str "Hello, " username)))
(greeting "world")
(greeting)
;;(doc greeting)
(defn date [person-1 per... | true | (ns exploring
(:require [clojure.string :as str])
(:import (java.io File)))
(defn greeting
"Returns a greeting of the form 'Hello, username'
Default username is 'world'."
([] (greeting "world"))
([username] (str "Hello, " username)))
(greeting "world")
(greeting)
;;(doc greeting)
(defn date [person-1 per... |
[
{
"context": "pldb-atom \"test\" \"pldb-test\" :facts\n [[parent \"Shmi Skywalker\" \"Anakin Skywalker\"]\n [parent \"Ruwe",
"end": 560,
"score": 0.6099648475646973,
"start": 556,
"tag": "NAME",
"value": "Shmi"
},
{
"context": "\"pldb-test\" :facts\n [[parent \"Shmi Skywalk... | examples/star-wars/pldb.cljs | greenyouse/multco | 6 | (ns examples.star-wars.pldb
(:require [multco.core :as m]
[cljs.core.logic.pldb :as pldb]
[cljs.core.logic :as l]))
(pldb/db-rel parent Parent Child)
(pldb/db-rel female Person)
(pldb/db-rel male Person)
;; This serves as a default set of facts. Any subsequent additions
;; or retractions wil... | 27848 | (ns examples.star-wars.pldb
(:require [multco.core :as m]
[cljs.core.logic.pldb :as pldb]
[cljs.core.logic :as l]))
(pldb/db-rel parent Parent Child)
(pldb/db-rel female Person)
(pldb/db-rel male Person)
;; This serves as a default set of facts. Any subsequent additions
;; or retractions wil... | true | (ns examples.star-wars.pldb
(:require [multco.core :as m]
[cljs.core.logic.pldb :as pldb]
[cljs.core.logic :as l]))
(pldb/db-rel parent Parent Child)
(pldb/db-rel female Person)
(pldb/db-rel male Person)
;; This serves as a default set of facts. Any subsequent additions
;; or retractions wil... |
[
{
"context": "SelectorExample : \")\n (def simple-person {:name \"Yourtion Guo\"})\n (def name (selector :name))\n (println \"name",
"end": 219,
"score": 0.9998335838317871,
"start": 207,
"tag": "NAME",
"value": "Yourtion Guo"
},
{
"context": "rson))\n (def more-complex-person {:... | Clojure/src/com/yourtion/Pattern16/selector_example.clj | yourtion/LearningFunctionalProgramming | 14 | (ns com.yourtion.Pattern16.selector-example)
(defn selector [& path]
{:pre [(not (empty? path))]}
(fn [ds] (get-in ds path)))
(defn run []
(println "SelectorExample : ")
(def simple-person {:name "Yourtion Guo"})
(def name (selector :name))
(println "name from simplePerson: " (name simple-person))
(def ... | 72474 | (ns com.yourtion.Pattern16.selector-example)
(defn selector [& path]
{:pre [(not (empty? path))]}
(fn [ds] (get-in ds path)))
(defn run []
(println "SelectorExample : ")
(def simple-person {:name "<NAME>"})
(def name (selector :name))
(println "name from simplePerson: " (name simple-person))
(def more-c... | true | (ns com.yourtion.Pattern16.selector-example)
(defn selector [& path]
{:pre [(not (empty? path))]}
(fn [ds] (get-in ds path)))
(defn run []
(println "SelectorExample : ")
(def simple-person {:name "PI:NAME:<NAME>END_PI"})
(def name (selector :name))
(println "name from simplePerson: " (name simple-person))... |
[
{
"context": "; Copyright (c) 2011-2013, Tom Van Cutsem, Vrije Universiteit Brussel\n; All rights reserved",
"end": 41,
"score": 0.999858021736145,
"start": 27,
"tag": "NAME",
"value": "Tom Van Cutsem"
},
{
"context": "Clojure\n;; Multicore Programming\n;; (c) 2011-2013, Tom Van Cuts... | test/examples.clj | tvcutsem/stm-in-clojure | 33 | ; Copyright (c) 2011-2013, Tom Van Cutsem, Vrije Universiteit Brussel
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
; * Redistributions of source code must retain the above copyright
; n... | 59838 | ; Copyright (c) 2011-2013, <NAME>, Vrije Universiteit Brussel
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
; * Redistributions of source code must retain the above copyright
; notice, t... | true | ; Copyright (c) 2011-2013, PI:NAME:<NAME>END_PI, Vrije Universiteit Brussel
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
; * Redistributions of source code must retain the above copyright
; ... |
[
{
"context": "ross-language compiler and build tool\"\r\n author \"Tero Tolonen\"\r\n license \"MIT\"\r\n)\r\n\r\nflag nodecli (\r\n name \"r",
"end": 237,
"score": 0.9998664855957031,
"start": 225,
"tag": "NAME",
"value": "Tero Tolonen"
}
] | compiler/ng_Compiler.clj | terotests/Ranger | 6 | ; def opts ([] "name" "version" "description" "author" "license")
flag es6 (
version "2.1.71"
)
flag npm (
version "2.1.71"
name "ranger-lib"
description "Cross-language compiler and build tool"
author "Tero Tolonen"
license "MIT"
)
flag nodecli (
name "ranger-compiler"
)
plugin.md "... | 101587 | ; def opts ([] "name" "version" "description" "author" "license")
flag es6 (
version "2.1.71"
)
flag npm (
version "2.1.71"
name "ranger-lib"
description "Cross-language compiler and build tool"
author "<NAME>"
license "MIT"
)
flag nodecli (
name "ranger-compiler"
)
plugin.md "plugin... | true | ; def opts ([] "name" "version" "description" "author" "license")
flag es6 (
version "2.1.71"
)
flag npm (
version "2.1.71"
name "ranger-lib"
description "Cross-language compiler and build tool"
author "PI:NAME:<NAME>END_PI"
license "MIT"
)
flag nodecli (
name "ranger-compiler"
)
plu... |
[
{
"context": " assets into the output directory\"\n\n ;; {:email \"z@caudate.me\", :date \"06 October 2016\" ...}\n (load-settings))",
"end": 536,
"score": 0.9999241828918457,
"start": 524,
"tag": "EMAIL",
"value": "z@caudate.me"
}
] | test/lucid/publish_test.clj | willcohen/lucidity | 3 | (ns lucid.publish-test
(:use hara.test)
(:require [lucid.publish :refer :all]))
^{:refer lucid.publish/output-path :added "1.2"}
(fact "creates a path representing where the output files will go")
^{:refer lucid.publish/copy-assets :added "1.2"}
(comment "copies all theme assets into the output directory"
;; c... | 61315 | (ns lucid.publish-test
(:use hara.test)
(:require [lucid.publish :refer :all]))
^{:refer lucid.publish/output-path :added "1.2"}
(fact "creates a path representing where the output files will go")
^{:refer lucid.publish/copy-assets :added "1.2"}
(comment "copies all theme assets into the output directory"
;; c... | true | (ns lucid.publish-test
(:use hara.test)
(:require [lucid.publish :refer :all]))
^{:refer lucid.publish/output-path :added "1.2"}
(fact "creates a path representing where the output files will go")
^{:refer lucid.publish/copy-assets :added "1.2"}
(comment "copies all theme assets into the output directory"
;; c... |
[
{
"context": "jective8.middleware :as m]))\n\n(def email-address \"test@email.address.com\")\n(def auth-provider-user-id \"twitter-TWITTER_ID\"",
"end": 596,
"score": 0.9999202489852905,
"start": 574,
"tag": "EMAIL",
"value": "test@email.address.com"
},
{
"context": "ider-user-id \"t... | test/objective8/integration/back_end/users.clj | d-cent/objective8 | 23 | (ns objective8.integration.back-end.users
(:require [midje.sweet :refer :all]
[peridot.core :as p]
[oauth.client :as oauth]
[cheshire.core :as json]
[objective8.core :as core]
[objective8.utils :as utils]
[objective8.back-end.storage.storage :as ... | 116121 | (ns objective8.integration.back-end.users
(:require [midje.sweet :refer :all]
[peridot.core :as p]
[oauth.client :as oauth]
[cheshire.core :as json]
[objective8.core :as core]
[objective8.utils :as utils]
[objective8.back-end.storage.storage :as ... | true | (ns objective8.integration.back-end.users
(:require [midje.sweet :refer :all]
[peridot.core :as p]
[oauth.client :as oauth]
[cheshire.core :as json]
[objective8.core :as core]
[objective8.utils :as utils]
[objective8.back-end.storage.storage :as ... |
[
{
"context": "bs.kitchensink.core :as kitchensink]\n [robert.hooke :as rh]\n [puppetlabs.trapperkeeper.cor",
"end": 2267,
"score": 0.7963509559631348,
"start": 2255,
"tag": "NAME",
"value": "robert.hooke"
}
] | src/puppetlabs/puppetdb/cli/services.clj | shrug/puppetdb | 0 | (ns puppetlabs.puppetdb.cli.services
"Main entrypoint
PuppetDB consists of several, cooperating components:
* Command processing
PuppetDB uses a CQRS pattern for making changes to its domain
objects (facts, catalogs, etc). Instead of simply submitting data
to PuppetDB and having it figure out ... | 95535 | (ns puppetlabs.puppetdb.cli.services
"Main entrypoint
PuppetDB consists of several, cooperating components:
* Command processing
PuppetDB uses a CQRS pattern for making changes to its domain
objects (facts, catalogs, etc). Instead of simply submitting data
to PuppetDB and having it figure out ... | true | (ns puppetlabs.puppetdb.cli.services
"Main entrypoint
PuppetDB consists of several, cooperating components:
* Command processing
PuppetDB uses a CQRS pattern for making changes to its domain
objects (facts, catalogs, etc). Instead of simply submitting data
to PuppetDB and having it figure out ... |
[
{
"context": ";;; Copyright 2014 Mitchell Kember. Subject to the MIT License.\n\n(ns conceal.word)\n\n",
"end": 34,
"score": 0.9998885989189148,
"start": 19,
"tag": "NAME",
"value": "Mitchell Kember"
}
] | src/cljs/conceal/word.cljs | mk12/conceal | 0 | ;;; Copyright 2014 Mitchell Kember. Subject to the MIT License.
(ns conceal.word)
(defn empty-grid
"Creates a grid of n rows and m columns of empty cells."
[n m]
{:rows n :cols m :words [] :data (vec (repeat (* n m) :empty))})
(defn rand-letter
"Returns a random lowercase alphabetic character."
[]
(char ... | 14734 | ;;; Copyright 2014 <NAME>. Subject to the MIT License.
(ns conceal.word)
(defn empty-grid
"Creates a grid of n rows and m columns of empty cells."
[n m]
{:rows n :cols m :words [] :data (vec (repeat (* n m) :empty))})
(defn rand-letter
"Returns a random lowercase alphabetic character."
[]
(char (+ 97 (ra... | true | ;;; Copyright 2014 PI:NAME:<NAME>END_PI. Subject to the MIT License.
(ns conceal.word)
(defn empty-grid
"Creates a grid of n rows and m columns of empty cells."
[n m]
{:rows n :cols m :words [] :data (vec (repeat (* n m) :empty))})
(defn rand-letter
"Returns a random lowercase alphabetic character."
[]
(... |
[
{
"context": "(ns ^{:author \"Victor Ursan\"\n :doc \"Pushes inventory events (fy-inventor",
"end": 27,
"score": 0.9998917579650879,
"start": 15,
"tag": "NAME",
"value": "Victor Ursan"
}
] | src/clj/fy_inventory/event_store/inventory_updater.clj | victorursan/fy-inventory | 0 | (ns ^{:author "Victor Ursan"
:doc "Pushes inventory events (fy-inventory.schemas.inventory-event/InventoryEvent) into the Event Store (eg. Kafka),
like the increase or decrease of an item's stock"}
fy-inventory.event-store.inventory-updater)
| 93155 | (ns ^{:author "<NAME>"
:doc "Pushes inventory events (fy-inventory.schemas.inventory-event/InventoryEvent) into the Event Store (eg. Kafka),
like the increase or decrease of an item's stock"}
fy-inventory.event-store.inventory-updater)
| true | (ns ^{:author "PI:NAME:<NAME>END_PI"
:doc "Pushes inventory events (fy-inventory.schemas.inventory-event/InventoryEvent) into the Event Store (eg. Kafka),
like the increase or decrease of an item's stock"}
fy-inventory.event-store.inventory-updater)
|
[
{
"context": "driver-opt-name-\" index)\n :key (str \"form-driver-opt-name-\" index)\n :value value\n ",
"end": 2512,
"score": 0.5230194330215454,
"start": 2512,
"tag": "KEY",
"value": ""
},
{
"context": "opt-name-\" index)\n :key (str \"form-driver-opt-na... | ch16/swarmpit/src/cljs/swarmpit/component/volume/create.cljs | vincestorm/Docker-on-Amazon-Web-Services | 0 | (ns swarmpit.component.volume.create
(:require [material.icon :as icon]
[material.component :as comp]
[material.component.list-table-form :as list]
[material.component.form :as form]
[material.component.panel :as panel]
[swarmpit.component.mixin :as mixin]
... | 66728 | (ns swarmpit.component.volume.create
(:require [material.icon :as icon]
[material.component :as comp]
[material.component.list-table-form :as list]
[material.component.form :as form]
[material.component.panel :as panel]
[swarmpit.component.mixin :as mixin]
... | true | (ns swarmpit.component.volume.create
(:require [material.icon :as icon]
[material.component :as comp]
[material.component.list-table-form :as list]
[material.component.form :as form]
[material.component.panel :as panel]
[swarmpit.component.mixin :as mixin]
... |
[
{
"context": " (= {:keys [{:alg \"RS256\"\n :n \"0vx7agoebGcQSuuPiLJXZptN9nndrQmbXEps2aiAFbWhM78LhWx4cbbfAAtVT86zwu1RK7aPFFxuhDR1L6tSoc_BJECPebWKRXjBZCiFV4n3oknjhMstn64tZ_2W-5JsGY4Hc5n9yBXArwl93lqt7_RN5w6Cf0h4QyQ5v-65YGjQR0_FDW2QvzqY368QQMicAtaSqzs8KJZgnYb9c7d0zgdAZHzu6qMQvRL5hajrn1n91CbOpbIS... | test/clj/rems/api/test_permissions.clj | BadAlgorithm/rems | 0 | (ns ^:integration rems.api.test-permissions
(:require [buddy.sign.jws :as buddy-jws]
[buddy.sign.jwt :as buddy-jwt]
[buddy.core.keys :as buddy-keys]
[clojure.test :refer :all]
[rems.api.testing :refer :all]
[rems.config]
[rems.ga4gh :as ga4gh]
... | 7933 | (ns ^:integration rems.api.test-permissions
(:require [buddy.sign.jws :as buddy-jws]
[buddy.sign.jwt :as buddy-jwt]
[buddy.core.keys :as buddy-keys]
[clojure.test :refer :all]
[rems.api.testing :refer :all]
[rems.config]
[rems.ga4gh :as ga4gh]
... | true | (ns ^:integration rems.api.test-permissions
(:require [buddy.sign.jws :as buddy-jws]
[buddy.sign.jwt :as buddy-jwt]
[buddy.core.keys :as buddy-keys]
[clojure.test :refer :all]
[rems.api.testing :refer :all]
[rems.config]
[rems.ga4gh :as ga4gh]
... |
[
{
"context": "eaction (:duration @player))\n {:keys [title author author-url author-img-url]} @player]\n (pipe\n ",
"end": 13432,
"score": 0.6086097955703735,
"start": 13426,
"tag": "NAME",
"value": "author"
}
] | src/asciinema/player/view.cljs | hoskovecjan/asciinema-player | 2,094 | (ns asciinema.player.view
(:require [clojure.string :as string]
[clojure.set :as set]
[reagent.core :as reagent]
[reagent.ratom :refer-macros [reaction]]
[cljs.core.async :refer [chan >! <! put! alts! timeout dropping-buffer pipe]]
[asciinema.player.messages... | 45826 | (ns asciinema.player.view
(:require [clojure.string :as string]
[clojure.set :as set]
[reagent.core :as reagent]
[reagent.ratom :refer-macros [reaction]]
[cljs.core.async :refer [chan >! <! put! alts! timeout dropping-buffer pipe]]
[asciinema.player.messages... | true | (ns asciinema.player.view
(:require [clojure.string :as string]
[clojure.set :as set]
[reagent.core :as reagent]
[reagent.ratom :refer-macros [reaction]]
[cljs.core.async :refer [chan >! <! put! alts! timeout dropping-buffer pipe]]
[asciinema.player.messages... |
[
{
"context": ";; Ben Fry's Visualizing Data, Chapter 3 (Data on a Map), figu",
"end": 12,
"score": 0.9978318810462952,
"start": 3,
"tag": "NAME",
"value": "Ben Fry's"
},
{
"context": "onverted from Processing to Quil as an exercise by Dave Liepmann\n\n(ns vdquil.chapter3.figure6\n (... | src/vdquil/chapter3/figure6.clj | Jjunior130/vdquil | 33 | ;; Ben Fry's Visualizing Data, Chapter 3 (Data on a Map), figure 6:
;; Magnitude and positive/negative
;; Converted from Processing to Quil as an exercise by Dave Liepmann
(ns vdquil.chapter3.figure6
(:use [quil.core]
[vdquil.chapter3.ch3data]
[vdquil.util]))
(defn setup []
(background 255)
(smo... | 121407 | ;; <NAME> Visualizing Data, Chapter 3 (Data on a Map), figure 6:
;; Magnitude and positive/negative
;; Converted from Processing to Quil as an exercise by <NAME>
(ns vdquil.chapter3.figure6
(:use [quil.core]
[vdquil.chapter3.ch3data]
[vdquil.util]))
(defn setup []
(background 255)
(smooth)
(no... | true | ;; PI:NAME:<NAME>END_PI Visualizing Data, Chapter 3 (Data on a Map), figure 6:
;; Magnitude and positive/negative
;; Converted from Processing to Quil as an exercise by PI:NAME:<NAME>END_PI
(ns vdquil.chapter3.figure6
(:use [quil.core]
[vdquil.chapter3.ch3data]
[vdquil.util]))
(defn setup []
(back... |
[
{
"context": "\n [token-acc \"606645.0000 EFX\" \"24042.0000 NFX\"]]))\n (<! (e2e.dao/deploy",
"end": 2023,
"score": 0.7330319285392761,
"start": 2008,
"tag": "KEY",
"value": "606645.0000 EFX"
}
] | tests/e2e/proposals.cljs | jabbarn/effect-network | 0 | (ns e2e.proposals
(:require [eos-cljs.core :as eos]
[eos-cljs.node-api :refer [deploy-file]]
[e2e.util :as util :refer [p-all wait]]
[cljs.test :refer-macros [deftest is testing run-tests async use-fixtures]]
[cljs.core.async :refer [go <!] ]
[cljs.core.asyn... | 90584 | (ns e2e.proposals
(:require [eos-cljs.core :as eos]
[eos-cljs.node-api :refer [deploy-file]]
[e2e.util :as util :refer [p-all wait]]
[cljs.test :refer-macros [deftest is testing run-tests async use-fixtures]]
[cljs.core.async :refer [go <!] ]
[cljs.core.asyn... | true | (ns e2e.proposals
(:require [eos-cljs.core :as eos]
[eos-cljs.node-api :refer [deploy-file]]
[e2e.util :as util :refer [p-all wait]]
[cljs.test :refer-macros [deftest is testing run-tests async use-fixtures]]
[cljs.core.async :refer [go <!] ]
[cljs.core.asyn... |
[
{
"context": "nitial-data\n [{:db/id -1\n :author/name \"Lew Tolstoj\"}\n {:db/id -2\n :author/name \"Henryk Si",
"end": 145,
"score": 0.9998791813850403,
"start": 134,
"tag": "NAME",
"value": "Lew Tolstoj"
},
{
"context": "w Tolstoj\"}\n {:db/id -2\n ... | src/cljs/reitit_db_fun/db.cljs | rotaliator/reitit-db-fun | 7 | (ns reitit-db-fun.db
(:require [datascript.core :as ds]))
(def schema {})
(def initial-data
[{:db/id -1
:author/name "Lew Tolstoj"}
{:db/id -2
:author/name "Henryk Sienkiewicz"}])
(defonce conn (let [conn (ds/create-conn schema)]
(ds/transact! conn initial-data)
... | 64590 | (ns reitit-db-fun.db
(:require [datascript.core :as ds]))
(def schema {})
(def initial-data
[{:db/id -1
:author/name "<NAME>"}
{:db/id -2
:author/name "<NAME>"}])
(defonce conn (let [conn (ds/create-conn schema)]
(ds/transact! conn initial-data)
conn))
(def... | true | (ns reitit-db-fun.db
(:require [datascript.core :as ds]))
(def schema {})
(def initial-data
[{:db/id -1
:author/name "PI:NAME:<NAME>END_PI"}
{:db/id -2
:author/name "PI:NAME:<NAME>END_PI"}])
(defonce conn (let [conn (ds/create-conn schema)]
(ds/transact! conn initial-data)
... |
[
{
"context": "e.org/legal/epl-v10.html\"}\n :maintainer {:email \"open@trawler.io\"}\n :dependencies [[org.clojure/clojure \"1.8.0\"]\n",
"end": 318,
"score": 0.9999275207519531,
"start": 303,
"tag": "EMAIL",
"value": "open@trawler.io"
}
] | trawler.shipper/project.clj | atowndata/trawler | 2 | (defproject org.atown.trawler.shipper "0.0.1"
:slug "trawler-shipper"
:description "The log shipper for the Trawler log monitoring system"
:url "https://www.trawler.io"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:maintainer {:email "open@trawler.io"}... | 42027 | (defproject org.atown.trawler.shipper "0.0.1"
:slug "trawler-shipper"
:description "The log shipper for the Trawler log monitoring system"
:url "https://www.trawler.io"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:maintainer {:email "<EMAIL>"}
:depe... | true | (defproject org.atown.trawler.shipper "0.0.1"
:slug "trawler-shipper"
:description "The log shipper for the Trawler log monitoring system"
:url "https://www.trawler.io"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:maintainer {:email "PI:EMAIL:<EMAIL>E... |
[
{
"context": "\n\n(+ 1 2)\n\n\n(defn wisdom\n [words]\n (str words \", Daniel-san\"))\n\n\n(wisdom \"Never clip your toes on a Tueday\")\n",
"end": 190,
"score": 0.9994797110557556,
"start": 180,
"tag": "NAME",
"value": "Daniel-san"
},
{
"context": " Tueday\")\n;; => \"Never clip y... | code/clojure-noob/src/clojure_noob/ch5.clj | itsrainingmani/learn-clojure-in-public | 7 | (ns clojure-noob.ch5
(:gen-class))
(println "Welcome to ch5 of Brave Clojure")
;; Pure Function
;; Referential Transparency
(+ 1 2)
(defn wisdom
[words]
(str words ", Daniel-san"))
(wisdom "Never clip your toes on a Tueday")
;; => "Never clip your toes on a Tueday, Daniel-san"
;; This function is not re... | 116288 | (ns clojure-noob.ch5
(:gen-class))
(println "Welcome to ch5 of Brave Clojure")
;; Pure Function
;; Referential Transparency
(+ 1 2)
(defn wisdom
[words]
(str words ", <NAME>"))
(wisdom "Never clip your toes on a Tueday")
;; => "Never clip your toes on a Tueday, <NAME>"
;; This function is not referentia... | true | (ns clojure-noob.ch5
(:gen-class))
(println "Welcome to ch5 of Brave Clojure")
;; Pure Function
;; Referential Transparency
(+ 1 2)
(defn wisdom
[words]
(str words ", PI:NAME:<NAME>END_PI"))
(wisdom "Never clip your toes on a Tueday")
;; => "Never clip your toes on a Tueday, PI:NAME:<NAME>END_PI"
;; Thi... |
[
{
"context": ":invoice_number_format \"#yyyy#-#dddd#\"\n :email \"muj@email.cz\"\n :eet_invoice_default false\n :invoice_langua",
"end": 681,
"score": 0.9999227523803711,
"start": 669,
"tag": "EMAIL",
"value": "muj@email.cz"
},
{
"context": "\n :invoice_language \"cz\"\n :p... | test/clj_fakturoid_test/get_account_test.clj | druids/clj-fakturoid | 0 | (ns clj-fakturoid-test.get-account-test
(:require
[clojure.test :refer [deftest is testing]]
[clj-http.fake :refer [with-fake-routes]]
[clj-fakturoid.core :as fakturoid]
[clj-fakturoid-test.fake-http :as fake-http]))
(def fakturoid-host "https://api-staging.fakturoid.localhost/api/v2")
(def get-acc... | 65302 | (ns clj-fakturoid-test.get-account-test
(:require
[clojure.test :refer [deftest is testing]]
[clj-http.fake :refer [with-fake-routes]]
[clj-fakturoid.core :as fakturoid]
[clj-fakturoid-test.fake-http :as fake-http]))
(def fakturoid-host "https://api-staging.fakturoid.localhost/api/v2")
(def get-acc... | true | (ns clj-fakturoid-test.get-account-test
(:require
[clojure.test :refer [deftest is testing]]
[clj-http.fake :refer [with-fake-routes]]
[clj-fakturoid.core :as fakturoid]
[clj-fakturoid-test.fake-http :as fake-http]))
(def fakturoid-host "https://api-staging.fakturoid.localhost/api/v2")
(def get-acc... |
[
{
"context": "in!\")))\n\n(defsc Signup [this {:account/keys [email password password-again]\n :ui/keys ",
"end": 1419,
"score": 0.5414404273033142,
"start": 1411,
"tag": "PASSWORD",
"value": "password"
},
{
"context": "(defsc Signup [this {:account/keys [email... | src/main/app/ui/auth.cljs | joshuawood2894/fulcro_postgresql_mqtt_template | 0 | (ns app.ui.auth
(:require
[app.ui.antd.components :as ant]
[app.ui.session :as session]
[app.model.session :as m-session]
[com.fulcrologic.fulcro.dom :as dom :refer [div ul li p h3 b]]
[com.fulcrologic.fulcro.dom.html-entities :as ent]
[com.fulcrologic.fulcro.dom.events :as evt]
[com.fulcr... | 53486 | (ns app.ui.auth
(:require
[app.ui.antd.components :as ant]
[app.ui.session :as session]
[app.model.session :as m-session]
[com.fulcrologic.fulcro.dom :as dom :refer [div ul li p h3 b]]
[com.fulcrologic.fulcro.dom.html-entities :as ent]
[com.fulcrologic.fulcro.dom.events :as evt]
[com.fulcr... | true | (ns app.ui.auth
(:require
[app.ui.antd.components :as ant]
[app.ui.session :as session]
[app.model.session :as m-session]
[com.fulcrologic.fulcro.dom :as dom :refer [div ul li p h3 b]]
[com.fulcrologic.fulcro.dom.html-entities :as ent]
[com.fulcrologic.fulcro.dom.events :as evt]
[com.fulcr... |
[
{
"context": ":c) 2)\n(list 1 \"two\" {3 4})\n(conj '(1 2 3) 4)\n\n#{\"kurt vonnegut\" 20 :ice 9}\n(hash-set 1 1 2 2)\n(conj #{:a :b} :b)",
"end": 1313,
"score": 0.9979920387268066,
"start": 1300,
"tag": "NAME",
"value": "kurt vonnegut"
},
{
"context": "ueer\n [& things]\n (map squ... | clojure-noob/src/clojure_noob/core.clj | rxedu/braveclojure | 0 | (ns clojure-noob.core
(:gen-class))
(defn -main
"I don't do a whole lot ... yet."
[& args]
(println "I'm a little teapot!"))
; Chapter 3
(+ 1 2 3)
(str "I " "am " "brave.")
(if true
"Puppies"
"No Puppies")
(if false
"Puppies"
"No Puppies")
(if false
"No Puppies")
(if true
(do (println "Succe... | 20765 | (ns clojure-noob.core
(:gen-class))
(defn -main
"I don't do a whole lot ... yet."
[& args]
(println "I'm a little teapot!"))
; Chapter 3
(+ 1 2 3)
(str "I " "am " "brave.")
(if true
"Puppies"
"No Puppies")
(if false
"Puppies"
"No Puppies")
(if false
"No Puppies")
(if true
(do (println "Succe... | true | (ns clojure-noob.core
(:gen-class))
(defn -main
"I don't do a whole lot ... yet."
[& args]
(println "I'm a little teapot!"))
; Chapter 3
(+ 1 2 3)
(str "I " "am " "brave.")
(if true
"Puppies"
"No Puppies")
(if false
"Puppies"
"No Puppies")
(if false
"No Puppies")
(if true
(do (println "Succe... |
[
{
"context": "----------------------------\n;; Copyright (c) 2011 Basho Technologies, Inc. All Rights Reserved.\n;;\n;; This file is pr",
"end": 111,
"score": 0.9715189933776855,
"start": 93,
"tag": "NAME",
"value": "Basho Technologies"
}
] | src/sumo/core.clj | reiddraper/sumo | 3 | ;; -------------------------------------------------------------------
;; Copyright (c) 2011 Basho Technologies, Inc. All Rights Reserved.
;;
;; This file is provided to you under the Apache License,
;; Version 2.0 (the "License"); you may not use this file
;; except in compliance with the License. You may obtain
;; ... | 80517 | ;; -------------------------------------------------------------------
;; Copyright (c) 2011 <NAME>, Inc. All Rights Reserved.
;;
;; This file is provided to you under the Apache License,
;; Version 2.0 (the "License"); you may not use this file
;; except in compliance with the License. You may obtain
;; a copy of th... | true | ;; -------------------------------------------------------------------
;; Copyright (c) 2011 PI:NAME:<NAME>END_PI, Inc. All Rights Reserved.
;;
;; This file is provided to you under the Apache License,
;; Version 2.0 (the "License"); you may not use this file
;; except in compliance with the License. You may obtain
;... |
[
{
"context": ";;;\n;;; Copyright 2020 David Edwards\n;;;\n;;; Licensed under the Apache License, Versio",
"end": 36,
"score": 0.9997876286506653,
"start": 23,
"tag": "NAME",
"value": "David Edwards"
}
] | src/rpn/optimizer.clj | davidledwards/rpn-clojure | 1 | ;;;
;;; Copyright 2020 David Edwards
;;;
;;; 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 ag... | 91067 | ;;;
;;; Copyright 2020 <NAME>
;;;
;;; Licensed under the Apache License, Version 2.0 (the "License");
;;; you may not use this file except in compliance with the License.
;;; You may obtain a copy of the License at
;;;
;;; http://www.apache.org/licenses/LICENSE-2.0
;;;
;;; Unless required by applicable law or agreed to... | true | ;;;
;;; Copyright 2020 PI:NAME:<NAME>END_PI
;;;
;;; Licensed under the Apache License, Version 2.0 (the "License");
;;; you may not use this file except in compliance with the License.
;;; You may obtain a copy of the License at
;;;
;;; http://www.apache.org/licenses/LICENSE-2.0
;;;
;;; Unless required by applicable la... |
[
{
"context": " [{:first_name \"Sergey\"} {:first_name \"Uniqueman\"}])\n (let [response ",
"end": 981,
"score": 0.9998397827148438,
"start": 975,
"tag": "NAME",
"value": "Sergey"
},
{
"context": " [{:first_name \"Sergey\"} {:first_name ... | test/health_patient/patients_test.clj | Seryiza/health-patient | 0 | (ns health-patient.patients-test
(:require [re-rand :refer [re-rand]]
[clojure.test :refer [deftest testing use-fixtures]]
[clojure.string :as str]
[matcho.core :as m]
[health-patient.app :as app]
[health-patient.test-utils :as test-utils]))
(use-fixtures :... | 69565 | (ns health-patient.patients-test
(:require [re-rand :refer [re-rand]]
[clojure.test :refer [deftest testing use-fixtures]]
[clojure.string :as str]
[matcho.core :as m]
[health-patient.app :as app]
[health-patient.test-utils :as test-utils]))
(use-fixtures :... | true | (ns health-patient.patients-test
(:require [re-rand :refer [re-rand]]
[clojure.test :refer [deftest testing use-fixtures]]
[clojure.string :as str]
[matcho.core :as m]
[health-patient.app :as app]
[health-patient.test-utils :as test-utils]))
(use-fixtures :... |
[
{
"context": ".g.:\n ;; [{:oname \"Hartford Electronics\", :email \"jerry@hec.org\"}\n ;; {:oname \"Fourier Method Co\", :email \"thoma",
"end": 1783,
"score": 0.9999012351036072,
"start": 1770,
"tag": "EMAIL",
"value": "jerry@hec.org"
},
{
"context": "c.org\"}\n ;; {:oname \"Fouri... | src/cljs/app/vetd_app/groups/pages/settings.cljs | jaydeesimon/vetd-app | 98 | (ns vetd-app.groups.pages.settings
(:require [vetd-app.ui :as ui]
[vetd-app.util :as util]
[vetd-app.common.components :as cc]
[vetd-app.buyers.components :as bc]
[vetd-app.common.fx :as cfx]
[reagent.core :as r]
[re-frame.core :as rf]
... | 4106 | (ns vetd-app.groups.pages.settings
(:require [vetd-app.ui :as ui]
[vetd-app.util :as util]
[vetd-app.common.components :as cc]
[vetd-app.buyers.components :as bc]
[vetd-app.common.fx :as cfx]
[reagent.core :as r]
[re-frame.core :as rf]
... | true | (ns vetd-app.groups.pages.settings
(:require [vetd-app.ui :as ui]
[vetd-app.util :as util]
[vetd-app.common.components :as cc]
[vetd-app.buyers.components :as bc]
[vetd-app.common.fx :as cfx]
[reagent.core :as r]
[re-frame.core :as rf]
... |
[
{
"context": "gic Tools / Milestones>\n;; Copyright (C) 2016 , Rafik NACCACHE <rafik@fekr.tech>\n\n(ns milestones.graph-utilities",
"end": 104,
"score": 0.9998674988746643,
"start": 90,
"tag": "NAME",
"value": "Rafik NACCACHE"
},
{
"context": "tones>\n;; Copyright (C) 2016 , Ra... | src/milestones/graph_utilities.cljc | vinity/milestones | 63 | ;; <Graph Utilities - Part of Automagic Tools / Milestones>
;; Copyright (C) 2016 , Rafik NACCACHE <rafik@fekr.tech>
(ns milestones.graph-utilities)
(defn predecessors-of-task-exist?
"return true if all predecessors of this task
exist or if this task has no preds"
[tasks the-task]
(every?
(partial c... | 49786 | ;; <Graph Utilities - Part of Automagic Tools / Milestones>
;; Copyright (C) 2016 , <NAME> <<EMAIL>>
(ns milestones.graph-utilities)
(defn predecessors-of-task-exist?
"return true if all predecessors of this task
exist or if this task has no preds"
[tasks the-task]
(every?
(partial contains? (set (k... | true | ;; <Graph Utilities - Part of Automagic Tools / Milestones>
;; Copyright (C) 2016 , PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
(ns milestones.graph-utilities)
(defn predecessors-of-task-exist?
"return true if all predecessors of this task
exist or if this task has no preds"
[tasks the-task]
(every?
... |
[
{
"context": ";; Copyright (c) Nicola Mometto, Rich Hickey & contributors.\n;; The use and dis",
"end": 33,
"score": 0.9998462796211243,
"start": 19,
"tag": "NAME",
"value": "Nicola Mometto"
},
{
"context": ";; Copyright (c) Nicola Mometto, Rich Hickey & contributors.\n;; The... | server/target/clojure/tools/analyzer/passes/jvm/annotate_loops.clj | OctavioBR/healthcheck | 0 | ;; Copyright (c) Nicola Mometto, Rich Hickey & contributors.
;; 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 s... | 57260 | ;; Copyright (c) <NAME>, <NAME> & contributors.
;; 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 an... | true | ;; Copyright (c) PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI & contributors.
;; 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": "key\n \"309b7c4ce9104b1b94d0c8b887d2cf77\"}\n :preloads [devtools.",
"end": 4048,
"score": 0.9997765421867371,
"start": 4016,
"tag": "KEY",
"value": "309b7c4ce9104b1b94d0c8b887d2cf77"
},
{
"context": ... | project.clj | skygear-demo/shotbot3 | 2 | (defproject shotbot3 "3.0.0-beta0"
:description "Shotbot 3.0 screenshot creator"
:url "https://shotbot.io/"
:min-lein-version "2.6.1"
:plugins [[lein-figwheel "0.5.7"]
[lein-cljsbuild "1.1.4" :exclusions [[org.clojure/clojure]]]
[lein-re-frisk "0.4.4"]
[lein-garden "0.3.0"]
... | 36634 | (defproject shotbot3 "3.0.0-beta0"
:description "Shotbot 3.0 screenshot creator"
:url "https://shotbot.io/"
:min-lein-version "2.6.1"
:plugins [[lein-figwheel "0.5.7"]
[lein-cljsbuild "1.1.4" :exclusions [[org.clojure/clojure]]]
[lein-re-frisk "0.4.4"]
[lein-garden "0.3.0"]
... | true | (defproject shotbot3 "3.0.0-beta0"
:description "Shotbot 3.0 screenshot creator"
:url "https://shotbot.io/"
:min-lein-version "2.6.1"
:plugins [[lein-figwheel "0.5.7"]
[lein-cljsbuild "1.1.4" :exclusions [[org.clojure/clojure]]]
[lein-re-frisk "0.4.4"]
[lein-garden "0.3.0"]
... |
[
{
"context": "(ns ^{:author \"Adam Berger\"} ulvm.re-loaders\n \"ULVM runnable env loaders de",
"end": 26,
"score": 0.9998661875724792,
"start": 15,
"tag": "NAME",
"value": "Adam Berger"
}
] | src/ulvm/re_loaders.clj | abrgr/ulvm | 0 | (ns ^{:author "Adam Berger"} ulvm.re-loaders
"ULVM runnable env loaders definition"
(:require [clojure.spec :as s]
[ulvm.core :as ucore]
[ulvm.runnable-envs :as re]
[ulvm.project :as uprj]
[ulvm.func-utils :as futil]
[cats.core :as m]
[cats.mon... | 101433 | (ns ^{:author "<NAME>"} ulvm.re-loaders
"ULVM runnable env loaders definition"
(:require [clojure.spec :as s]
[ulvm.core :as ucore]
[ulvm.runnable-envs :as re]
[ulvm.project :as uprj]
[ulvm.func-utils :as futil]
[cats.core :as m]
[cats.monad.ei... | true | (ns ^{:author "PI:NAME:<NAME>END_PI"} ulvm.re-loaders
"ULVM runnable env loaders definition"
(:require [clojure.spec :as s]
[ulvm.core :as ucore]
[ulvm.runnable-envs :as re]
[ulvm.project :as uprj]
[ulvm.func-utils :as futil]
[cats.core :as m]
... |
[
{
"context": " (set/union valid-waiter-hostnames #{\"localhost\" \"127.0.0.1\"})]\n (fn waiter-request? [{:keys [uri headers]",
"end": 28304,
"score": 0.9996975660324097,
"start": 28295,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": " (let... | waiter/src/waiter/core.clj | twosigmajab/waiter | 0 | ;;
;; 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... | 68118 | ;;
;; 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": "all]))\n\n\n(defn setup\n []\n (h/create-test-user! \"success+2@simulator.amazonses.com\")\n (h/delete-test-user! \"success+2@simulator.ama",
"end": 401,
"score": 0.9999274611473083,
"start": 368,
"tag": "EMAIL",
"value": "success+2@simulator.amazonses.com"
},
{
"con... | api/test/feature/flow/command/initialise_authorisation_attempt_test.clj | kgxsz/flow | 0 | (ns flow.command.initialise-authorisation-attempt-test
(:require [flow.core :refer :all]
[flow.entity.authorisation :as authorisation]
[flow.entity.user :as user]
[flow.domain.user-management :as user-management]
[flow.helpers :as h]
[clojure.test :refer :al... | 98366 | (ns flow.command.initialise-authorisation-attempt-test
(:require [flow.core :refer :all]
[flow.entity.authorisation :as authorisation]
[flow.entity.user :as user]
[flow.domain.user-management :as user-management]
[flow.helpers :as h]
[clojure.test :refer :al... | true | (ns flow.command.initialise-authorisation-attempt-test
(:require [flow.core :refer :all]
[flow.entity.authorisation :as authorisation]
[flow.entity.user :as user]
[flow.domain.user-management :as user-management]
[flow.helpers :as h]
[clojure.test :refer :al... |
[
{
"context": "nerate gen/string-alphanumeric 10)\n key \"message\"\n value \"Hello World!!\"]\n (send :de",
"end": 1498,
"score": 0.9915332198143005,
"start": 1491,
"tag": "KEY",
"value": "message"
},
{
"context": "nerate gen/string-alphanumeric 10)\n ... | test/ziggurat/producer_test.clj | led/ziggurat | 0 | (ns ziggurat.producer-test
(:require [clojure.test :refer :all]
[ziggurat.streams :refer [start-streams stop-streams]]
[ziggurat.fixtures :as fix :refer [*producer-properties* *consumer-properties*]]
[ziggurat.config :refer [ziggurat-config]]
[ziggurat.producer :refer [... | 36098 | (ns ziggurat.producer-test
(:require [clojure.test :refer :all]
[ziggurat.streams :refer [start-streams stop-streams]]
[ziggurat.fixtures :as fix :refer [*producer-properties* *consumer-properties*]]
[ziggurat.config :refer [ziggurat-config]]
[ziggurat.producer :refer [... | true | (ns ziggurat.producer-test
(:require [clojure.test :refer :all]
[ziggurat.streams :refer [start-streams stop-streams]]
[ziggurat.fixtures :as fix :refer [*producer-properties* *consumer-properties*]]
[ziggurat.config :refer [ziggurat-config]]
[ziggurat.producer :refer [... |
[
{
"context": "o\n I modified the Apache-licensed code I found by Adam Ashenfelter:\n https://gist.github.com/ashenfad/2969087\"\n [s",
"end": 588,
"score": 0.9997832775115967,
"start": 572,
"tag": "NAME",
"value": "Adam Ashenfelter"
},
{
"context": "nd by Adam Ashenfelter:\n http... | src/fountain_codes/sample.clj | hausdorff/fountain-codes | 4 | (ns fountain-codes.sample
"Simple package for sampling data"
(:use [fountain-codes.lazy-rand :as lazy-rand]))
(defn- rs-create
"The reservoir sampler is a data structure allowing selection of a
uniformly-likely k-sample of an n-element list in O(n) time and space.
Specified in Algorithm R of Vitter 1985.
... | 109753 | (ns fountain-codes.sample
"Simple package for sampling data"
(:use [fountain-codes.lazy-rand :as lazy-rand]))
(defn- rs-create
"The reservoir sampler is a data structure allowing selection of a
uniformly-likely k-sample of an n-element list in O(n) time and space.
Specified in Algorithm R of Vitter 1985.
... | true | (ns fountain-codes.sample
"Simple package for sampling data"
(:use [fountain-codes.lazy-rand :as lazy-rand]))
(defn- rs-create
"The reservoir sampler is a data structure allowing selection of a
uniformly-likely k-sample of an n-element list in O(n) time and space.
Specified in Algorithm R of Vitter 1985.
... |
[
{
"context": "or injection attacks...\n;; See https://github.com/lightningnetwork/lightning-rfc/blob/master/11-payment-encoding.md#",
"end": 166,
"score": 0.9955760836601257,
"start": 150,
"tag": "USERNAME",
"value": "lightningnetwork"
},
{
"context": "http://lnd.fun/newinvoice\n\n(d... | src/app/lib/bolt11.cljs | person8org/person8 | 4 | (ns app.lib.bolt11
(:require
["bolt11" :as bolt11]))
;; IMPORTANT: Decoded invoices may open for injection attacks...
;; See https://github.com/lightningnetwork/lightning-rfc/blob/master/11-payment-encoding.md#security-considerations-for-payment-descriptions
(def default-address "2MvznU28V9Zzi35p9m1aSB4qmvMZQGLV... | 1381 | (ns app.lib.bolt11
(:require
["bolt11" :as bolt11]))
;; IMPORTANT: Decoded invoices may open for injection attacks...
;; See https://github.com/lightningnetwork/lightning-rfc/blob/master/11-payment-encoding.md#security-considerations-for-payment-descriptions
(def default-address "2MvznU28V9Zzi35p9m1aSB4qmvMZQGLV... | true | (ns app.lib.bolt11
(:require
["bolt11" :as bolt11]))
;; IMPORTANT: Decoded invoices may open for injection attacks...
;; See https://github.com/lightningnetwork/lightning-rfc/blob/master/11-payment-encoding.md#security-considerations-for-payment-descriptions
(def default-address "2MvznU28V9Zzi35p9m1aSB4qmvMZQGLV... |
[
{
"context": "nt\"}]\n :frames [{:examples [\"Harry sees Sally.\"]\n :sy",
"end": 1446,
"score": 0.9954836964607239,
"start": 1441,
"tag": "NAME",
"value": "Harry"
},
{
"context": " :frames [{:examples [\"Harry sees... | api/test/data/amr_test.clj | zorrock/accelerated-text | 1 | (ns data.amr-test
(:require [clojure.java.io :as io]
[clojure.test :refer [deftest is]]
[data.entities.amr :as amr]
[data.entities.dictionary :as dictionary]))
(deftest amr-reading
(is (= {:id "author"
:dictionary-item-id "author"
:thematic-ro... | 1588 | (ns data.amr-test
(:require [clojure.java.io :as io]
[clojure.test :refer [deftest is]]
[data.entities.amr :as amr]
[data.entities.dictionary :as dictionary]))
(deftest amr-reading
(is (= {:id "author"
:dictionary-item-id "author"
:thematic-ro... | true | (ns data.amr-test
(:require [clojure.java.io :as io]
[clojure.test :refer [deftest is]]
[data.entities.amr :as amr]
[data.entities.dictionary :as dictionary]))
(deftest amr-reading
(is (= {:id "author"
:dictionary-item-id "author"
:thematic-ro... |
[
{
"context": "; Copyright (c) Chris Houser, Sep 2008-Jan 2009. All rights reserved.\n; The ",
"end": 30,
"score": 0.9997715950012207,
"start": 18,
"tag": "NAME",
"value": "Chris Houser"
}
] | ThirdParty/clojure-contrib-1.1.0/clojurescript/src/clojure/contrib/clojurescript/cli.clj | allertonm/Couverjure | 3 | ; Copyright (c) Chris Houser, Sep 2008-Jan 2009. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
; which can be found in the file epl-v10.html at the root of this distribution.
; By using t... | 91553 | ; Copyright (c) <NAME>, Sep 2008-Jan 2009. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
; which can be found in the file epl-v10.html at the root of this distribution.
; By using this so... | true | ; Copyright (c) PI:NAME:<NAME>END_PI, Sep 2008-Jan 2009. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
; which can be found in the file epl-v10.html at the root of this distribution.
; By... |
[
{
"context": "result)))\n #{{:family \"Carberry\" :given \"Josiah\"}\n {:family \"Puddleduck\" :given \"Jemim",
"end": 1365,
"score": 0.7070618271827698,
"start": 1359,
"tag": "NAME",
"value": "Josiah"
}
] | test/crossmark/features/bibliographic_test.clj | CrossRef/crossmark | 2 | (ns crossmark.features.bibliographic-test
(:require [clojure.test :refer :all]
[crossref.util.date :as cr-date]
[crossmark.test-util :as test-util]
[crossmark.features.bibliographic :as bibliographic]))
(deftest decorate-work-info
(testing "Bibliographic work information should ... | 72218 | (ns crossmark.features.bibliographic-test
(:require [clojure.test :refer :all]
[crossref.util.date :as cr-date]
[crossmark.test-util :as test-util]
[crossmark.features.bibliographic :as bibliographic]))
(deftest decorate-work-info
(testing "Bibliographic work information should ... | true | (ns crossmark.features.bibliographic-test
(:require [clojure.test :refer :all]
[crossref.util.date :as cr-date]
[crossmark.test-util :as test-util]
[crossmark.features.bibliographic :as bibliographic]))
(deftest decorate-work-info
(testing "Bibliographic work information should ... |
[
{
"context": "(def x (future (println \"tjosan!\")\n (+ 1 2)))\n\n(println @x) ; 3\n(println @x) ;",
"end": 31,
"score": 0.8526950478553772,
"start": 25,
"tag": "NAME",
"value": "tjosan"
}
] | Concurrency/ex04 - future/main.clj | hoppfull/Legacy-Clojure | 0 | (def x (future (println "tjosan!")
(+ 1 2)))
(println @x) ; 3
(println @x) ; 3
(println @x) ; 3
; The future executes its body of code right away
; in a seperate thread. I think if there are multiple
; processor cores available, they will be used. Not
; sure how well they are utilized or in what manner.
; When ... | 31097 | (def x (future (println "<NAME>!")
(+ 1 2)))
(println @x) ; 3
(println @x) ; 3
(println @x) ; 3
; The future executes its body of code right away
; in a seperate thread. I think if there are multiple
; processor cores available, they will be used. Not
; sure how well they are utilized or in what manner.
; When ... | true | (def x (future (println "PI:NAME:<NAME>END_PI!")
(+ 1 2)))
(println @x) ; 3
(println @x) ; 3
(println @x) ; 3
; The future executes its body of code right away
; in a seperate thread. I think if there are multiple
; processor cores available, they will be used. Not
; sure how well they are utilized or in what ma... |
[
{
"context": "the command line from user input.\"\n :author \"Paul Landes\"}\n zensols.cisql.process-query\n (:import (jav",
"end": 90,
"score": 0.9998685717582703,
"start": 79,
"tag": "NAME",
"value": "Paul Landes"
}
] | src/clojure/zensols/cisql/process_query.clj | plandes/cisql | 12 | (ns ^{:doc "Process query at the command line from user input."
:author "Paul Landes"}
zensols.cisql.process-query
(:import (java.io BufferedReader InputStreamReader StringReader))
(:require [clojure.tools.logging :as log]
[clojure.java.io :as io]
[clojure.string :as str]
... | 27409 | (ns ^{:doc "Process query at the command line from user input."
:author "<NAME>"}
zensols.cisql.process-query
(:import (java.io BufferedReader InputStreamReader StringReader))
(:require [clojure.tools.logging :as log]
[clojure.java.io :as io]
[clojure.string :as str]
[z... | true | (ns ^{:doc "Process query at the command line from user input."
:author "PI:NAME:<NAME>END_PI"}
zensols.cisql.process-query
(:import (java.io BufferedReader InputStreamReader StringReader))
(:require [clojure.tools.logging :as log]
[clojure.java.io :as io]
[clojure.string :as str]
... |
[
{
"context": "; Copyright (c) 2013-2015 Tim Molderez.\n;\n; All rights reserved. This program and the ac",
"end": 38,
"score": 0.9998670816421509,
"start": 26,
"tag": "NAME",
"value": "Tim Molderez"
},
{
"context": "ector Jay's graphical user interface\"\n {:author \"Tim Molderez\"}... | src/inspector_jay/gui/gui.clj | kawas44/inspector-jay | 69 | ; Copyright (c) 2013-2015 Tim Molderez.
;
; All rights reserved. This program and the accompanying materials
; are made available under the terms of the 3-Clause BSD License
; which accompanies this distribution, and is available at
; http://www.opensource.org/licenses/BSD-3-Clause
(ns inspector-jay.gui.gui
"Defines... | 47711 | ; Copyright (c) 2013-2015 <NAME>.
;
; All rights reserved. This program and the accompanying materials
; are made available under the terms of the 3-Clause BSD License
; which accompanies this distribution, and is available at
; http://www.opensource.org/licenses/BSD-3-Clause
(ns inspector-jay.gui.gui
"Defines Inspe... | true | ; Copyright (c) 2013-2015 PI:NAME:<NAME>END_PI.
;
; All rights reserved. This program and the accompanying materials
; are made available under the terms of the 3-Clause BSD License
; which accompanies this distribution, and is available at
; http://www.opensource.org/licenses/BSD-3-Clause
(ns inspector-jay.gui.gui
... |
[
{
"context": "ignature [handler]\n (fn [request]\n (let [key \"12345\"\n their-signature (:signature (:params r",
"end": 4255,
"score": 0.9993686676025391,
"start": 4250,
"tag": "KEY",
"value": "12345"
},
{
"context": "meters work in dev-appserver\n; https://github.com/g... | data/train/clojure/fc91af0b4cd4ae370d15934294690c2b0f24b335core.clj | harshp8l/deep-learning-lang-detection | 84 | (ns shist.core
(:import [java.security MessageDigest]
[org.apache.commons.codec.binary Hex])
(:use compojure.core
hiccup.core
shist.signatures
[ring.middleware.params :only [wrap-params]]
[ring.middleware.keyword-params :only [wrap-keyword-params]])
(:require [appengine-... | 37736 | (ns shist.core
(:import [java.security MessageDigest]
[org.apache.commons.codec.binary Hex])
(:use compojure.core
hiccup.core
shist.signatures
[ring.middleware.params :only [wrap-params]]
[ring.middleware.keyword-params :only [wrap-keyword-params]])
(:require [appengine-... | true | (ns shist.core
(:import [java.security MessageDigest]
[org.apache.commons.codec.binary Hex])
(:use compojure.core
hiccup.core
shist.signatures
[ring.middleware.params :only [wrap-params]]
[ring.middleware.keyword-params :only [wrap-keyword-params]])
(:require [appengine-... |
[
{
"context": "----------------------------------------------\n\n;; Rich Hickey has designed Clojure to address the problems of m",
"end": 259,
"score": 0.9998592734336853,
"start": 248,
"tag": "NAME",
"value": "Rich Hickey"
},
{
"context": "ith + current-state {:cuddle-hunger-level 1... | Clojure-Metaphysics-Atoms-Refs-Vars/atoms_refs_vars.clj | bashhack/BraveClojure | 0 |
;;;; ---------------------------------------------------------------------------
;;;; ------------------ Concurrent and Parallel Programming --------------------
;;;; ---------------------------------------------------------------------------
;; Rich Hickey has designed Clojure to address the problems of mutable stat... | 73003 |
;;;; ---------------------------------------------------------------------------
;;;; ------------------ Concurrent and Parallel Programming --------------------
;;;; ---------------------------------------------------------------------------
;; <NAME> has designed Clojure to address the problems of mutable state,
;;... | true |
;;;; ---------------------------------------------------------------------------
;;;; ------------------ Concurrent and Parallel Programming --------------------
;;;; ---------------------------------------------------------------------------
;; PI:NAME:<NAME>END_PI has designed Clojure to address the problems of mut... |
[
{
"context": "bject constructor\"\n \n (write/from-empty {:name \"chris\" :pet \"dog\"}\n (fn [] (java.uti",
"end": 2116,
"score": 0.9974005818367004,
"start": 2111,
"tag": "NAME",
"value": "chris"
},
{
"context": " {}))\n ;;=> #test.Cat{:nam... | test/hara/object/framework/write_test.clj | zcaudate/hara | 309 | (ns hara.object.framework.write-test
(:use hara.test)
(:require [hara.object.framework.read :as read]
[hara.object.framework.write :as write]
[hara.protocol.object :as object]
[hara.object.query :as reflect]
[hara.object.framework.base-test])
(:import [test PersonBu... | 6990 | (ns hara.object.framework.write-test
(:use hara.test)
(:require [hara.object.framework.read :as read]
[hara.object.framework.write :as write]
[hara.protocol.object :as object]
[hara.object.query :as reflect]
[hara.object.framework.base-test])
(:import [test PersonBu... | true | (ns hara.object.framework.write-test
(:use hara.test)
(:require [hara.object.framework.read :as read]
[hara.object.framework.write :as write]
[hara.protocol.object :as object]
[hara.object.query :as reflect]
[hara.object.framework.base-test])
(:import [test PersonBu... |
[
{
"context": "ns\n ^{:doc \"reduce(rs) support.\"\n :author \"Vladimir Tsanev\"}\n reactor-core.reducers\n (:refer-clojure :excl",
"end": 666,
"score": 0.9990719556808472,
"start": 651,
"tag": "NAME",
"value": "Vladimir Tsanev"
}
] | src/reactor_core/reducers.cljc | jaju/reactor-core-clojure | 2 | ;
; Copyright 2018 the original author or authors.
;
; 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 ... | 27186 | ;
; Copyright 2018 the original author or authors.
;
; 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 2018 the original author or authors.
;
; 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": " ;16\n(def map-in-vector [\"Edgar\" {:birthday (java.util.Date. 73 1 6)}])\n(let [[na",
"end": 3713,
"score": 0.9993023872375488,
"start": 3708,
"tag": "NAME",
"value": "Edgar"
},
{
"context": "\" was born on \" bd)) ;\... | src/clojure_tutorial/start/form.clj | edgar615/clojure-tutorial | 1 | (ns clojure-tutorial.start.form)
;阻止求值:quote
;quote阻止Clojure表达式的求值
(quote x)
(symbol? (quote x))
;quote有对应的reader语法:单引号'。reader在求值到单引号的时候会把它解析成一个quote
'x
;任何Clojure形式都可以被quote,包括数据结构。如果使用数据结构,那么返回的是数据结构本身(数据结构内的表达式将不作求值操作)
'(+ x x) ;(+ x x)
(list? '(+ x x)) ... | 33003 | (ns clojure-tutorial.start.form)
;阻止求值:quote
;quote阻止Clojure表达式的求值
(quote x)
(symbol? (quote x))
;quote有对应的reader语法:单引号'。reader在求值到单引号的时候会把它解析成一个quote
'x
;任何Clojure形式都可以被quote,包括数据结构。如果使用数据结构,那么返回的是数据结构本身(数据结构内的表达式将不作求值操作)
'(+ x x) ;(+ x x)
(list? '(+ x x)) ... | true | (ns clojure-tutorial.start.form)
;阻止求值:quote
;quote阻止Clojure表达式的求值
(quote x)
(symbol? (quote x))
;quote有对应的reader语法:单引号'。reader在求值到单引号的时候会把它解析成一个quote
'x
;任何Clojure形式都可以被quote,包括数据结构。如果使用数据结构,那么返回的是数据结构本身(数据结构内的表达式将不作求值操作)
'(+ x x) ;(+ x x)
(list? '(+ x x)) ... |
[
{
"context": "ntln \"Hello, \" fname))\n(greet-author {:last-name \"Vinge\" :first-name \"Vernor\"}) ;; ==> \"Hello, Vernor\"\n\n;",
"end": 1584,
"score": 0.9997360706329346,
"start": 1579,
"tag": "NAME",
"value": "Vinge"
},
{
"context": "))\n(greet-author {:last-name \"Vinge\" :firs... | clojure/programming-clojure/walkthrough/src/walkthrough/exploring.clj | waiyaki/learning-lisp | 2 | (require '[clojure.string :as str])
;;;; Anonymous functions
(defn indexable-word?
"True if a word has more than 2 characters."
[word]
(> (count word) 2))
(filter indexable-word? (str/split "A fine day it is" #"\W+"))
;; with anonymous function
(filter (fn [w] (> (count w) 2)) (str/split "A fine day it is" #"\... | 6300 | (require '[clojure.string :as str])
;;;; Anonymous functions
(defn indexable-word?
"True if a word has more than 2 characters."
[word]
(> (count word) 2))
(filter indexable-word? (str/split "A fine day it is" #"\W+"))
;; with anonymous function
(filter (fn [w] (> (count w) 2)) (str/split "A fine day it is" #"\... | true | (require '[clojure.string :as str])
;;;; Anonymous functions
(defn indexable-word?
"True if a word has more than 2 characters."
[word]
(> (count word) 2))
(filter indexable-word? (str/split "A fine day it is" #"\W+"))
;; with anonymous function
(filter (fn [w] (> (count w) 2)) (str/split "A fine day it is" #"\... |
[
{
"context": "(ns ^{:author \"Leeor Engel\"}\n chapter-3.chapter-3-q5-test\n (:require [cloj",
"end": 26,
"score": 0.9998882412910461,
"start": 15,
"tag": "NAME",
"value": "Leeor Engel"
}
] | Clojure/test/chapter_3/chapter_3_q5_test.clj | Kiandr/crackingcodinginterview | 0 | (ns ^{:author "Leeor Engel"}
chapter-3.chapter-3-q5-test
(:require [clojure.test :refer :all]
[data-structures.stack :refer :all]
[data-structures.persistent-stack :refer :all]
[chapter-3.chapter-3-q5 :refer :all]))
(deftest sort-stack-test
(testing "Already sorted"
(let ... | 102522 | (ns ^{:author "<NAME>"}
chapter-3.chapter-3-q5-test
(:require [clojure.test :refer :all]
[data-structures.stack :refer :all]
[data-structures.persistent-stack :refer :all]
[chapter-3.chapter-3-q5 :refer :all]))
(deftest sort-stack-test
(testing "Already sorted"
(let [stac... | true | (ns ^{:author "PI:NAME:<NAME>END_PI"}
chapter-3.chapter-3-q5-test
(:require [clojure.test :refer :all]
[data-structures.stack :refer :all]
[data-structures.persistent-stack :refer :all]
[chapter-3.chapter-3-q5 :refer :all]))
(deftest sort-stack-test
(testing "Already sorted"
... |
[
{
"context": "((jsonpath [1 2 3] \"$.\") {} nil)))\n (is (= [\"Joe\" \"Bob\"] ((jsonpath [{:name \"Joe\"} {:name \"Bob\"}] ",
"end": 5805,
"score": 0.9994922876358032,
"start": 5802,
"tag": "NAME",
"value": "Joe"
},
{
"context": "path [1 2 3] \"$.\") {} nil)))\n (is (= [\"J... | test/parsec/functions/parse_functions_test.clj | ExpediaGroup/parsec | 1 | (ns parsec.functions.parse-functions-test
(:require [clojure.test :refer :all]
[parsec.helpers :refer :all]
[parsec.test-helpers :refer :all]
[parsec.functions :refer :all]
[parsec.functions.parsingfunctions :refer :all]))
(deftest parsejson-test
(let [parsejson (par... | 41338 | (ns parsec.functions.parse-functions-test
(:require [clojure.test :refer :all]
[parsec.helpers :refer :all]
[parsec.test-helpers :refer :all]
[parsec.functions :refer :all]
[parsec.functions.parsingfunctions :refer :all]))
(deftest parsejson-test
(let [parsejson (par... | true | (ns parsec.functions.parse-functions-test
(:require [clojure.test :refer :all]
[parsec.helpers :refer :all]
[parsec.test-helpers :refer :all]
[parsec.functions :refer :all]
[parsec.functions.parsingfunctions :refer :all]))
(deftest parsejson-test
(let [parsejson (par... |
[
{
"context": ";;\n;; Author:: Adam Jacob (<adam@opscode.com>)\n;; Author:: Christopher Brow",
"end": 25,
"score": 0.9998502135276794,
"start": 15,
"tag": "NAME",
"value": "Adam Jacob"
},
{
"context": ";;\n;; Author:: Adam Jacob (<adam@opscode.com>)\n;; Author:: Christopher Brown (<cb... | config/software/couchdb.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... | 1361 | ;;
;; 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": " Lisp Problems\n; Based on a Prolog problem list by werner.hett@hti.bfh.ch\n; Working with lists\n\n; P01 (*) Find the last box",
"end": 142,
"score": 0.9999252557754517,
"start": 120,
"tag": "EMAIL",
"value": "werner.hett@hti.bfh.ch"
},
{
"context": " list.\n\n; Ex... | Clojure/99problems.clj | twolodzko/Learning | 0 |
(ns ninety-nine-problems
(:use clojure.test))
; L-99: Ninety-Nine Lisp Problems
; Based on a Prolog problem list by werner.hett@hti.bfh.ch
; Working with lists
; P01 (*) Find the last box of a list.
; Example:
; * (my-last '(a b c d))
; (D)
(defn my-last [lst]
(let [tail (next lst)]
(if (nil? ta... | 119413 |
(ns ninety-nine-problems
(:use clojure.test))
; L-99: Ninety-Nine Lisp Problems
; Based on a Prolog problem list by <EMAIL>
; Working with lists
; P01 (*) Find the last box of a list.
; Example:
; * (my-last '(a b c d))
; (D)
(defn my-last [lst]
(let [tail (next lst)]
(if (nil? tail) lst (my-las... | true |
(ns ninety-nine-problems
(:use clojure.test))
; L-99: Ninety-Nine Lisp Problems
; Based on a Prolog problem list by PI:EMAIL:<EMAIL>END_PI
; Working with lists
; P01 (*) Find the last box of a list.
; Example:
; * (my-last '(a b c d))
; (D)
(defn my-last [lst]
(let [tail (next lst)]
(if (nil? ta... |
[
{
"context": " job-handler (atom nil))\n\n(defn job-key\n [id]\n (qj/key (str id) \"jsk.job\"))\n\n;; this is a defrecord, qua",
"end": 610,
"score": 0.8748698234558105,
"start": 604,
"tag": "KEY",
"value": "qj/key"
},
{
"context": "m nil))\n\n(defn job-key\n [id]\n (qj/key (str ... | src/jsk/director/quartz.clj | e85th/jsk | 0 | (ns jsk.director.quartz
"Quartz Scheduler interface."
(:require [clojurewerkz.quartzite.jobs :as qj :refer [defjob]]
[clojurewerkz.quartzite.triggers :as qt]
[clojurewerkz.quartzite.scheduler :as qs]
[clojurewerkz.quartzite.conversion :as qc]
[clojurewerkz.quartzite.s... | 58427 | (ns jsk.director.quartz
"Quartz Scheduler interface."
(:require [clojurewerkz.quartzite.jobs :as qj :refer [defjob]]
[clojurewerkz.quartzite.triggers :as qt]
[clojurewerkz.quartzite.scheduler :as qs]
[clojurewerkz.quartzite.conversion :as qc]
[clojurewerkz.quartzite.s... | true | (ns jsk.director.quartz
"Quartz Scheduler interface."
(:require [clojurewerkz.quartzite.jobs :as qj :refer [defjob]]
[clojurewerkz.quartzite.triggers :as qt]
[clojurewerkz.quartzite.scheduler :as qs]
[clojurewerkz.quartzite.conversion :as qc]
[clojurewerkz.quartzite.s... |
[
{
"context": "(def matches \n [{:winner-name \"Kvitova P.\",\n :loser-name \"Ostapenko J.\",\n :tournament \"",
"end": 42,
"score": 0.9982589483261108,
"start": 33,
"tag": "NAME",
"value": "Kvitova P"
},
{
"context": " \n [{:winner-name \"Kvitova P.\",\n :loser-name \"Ost... | chapter05/Exercise5.04/kvitova_matches.clj | TrainingByPackt/Clojure | 0 | (def matches
[{:winner-name "Kvitova P.",
:loser-name "Ostapenko J.",
:tournament "US Open",
:location "New York",
:date "2016-08-29"}
{:winner-name "Kvitova P.",
:loser-name "Buyukakcay C.",
:tournament "US Open",
:location "New York",
:date "2016-08-31"}
{:winner-name "Kvitov... | 30667 | (def matches
[{:winner-name "<NAME>.",
:loser-name "<NAME>.",
:tournament "US Open",
:location "New York",
:date "2016-08-29"}
{:winner-name "<NAME>.",
:loser-name "<NAME>.",
:tournament "US Open",
:location "New York",
:date "2016-08-31"}
{:winner-name "<NAME>.",
:loser-na... | true | (def matches
[{:winner-name "PI:NAME:<NAME>END_PI.",
:loser-name "PI:NAME:<NAME>END_PI.",
:tournament "US Open",
:location "New York",
:date "2016-08-29"}
{:winner-name "PI:NAME:<NAME>END_PI.",
:loser-name "PI:NAME:<NAME>END_PI.",
:tournament "US Open",
:location "New York",
:date... |
[
{
"context": ": domains implementation\n;;;; Author: mikel evins\n;;;; Copyright: Copyright 2009 by mikel evins",
"end": 244,
"score": 0.9998771548271179,
"start": 233,
"tag": "NAME",
"value": "mikel evins"
},
{
"context": " mikel evins\n;;;; Copyright: Copyright... | 0.2.1/clj/build/classes/xg/categories/domains.clj | mikelevins/categories | 5 | ;;;; ***********************************************************************
;;;; FILE IDENTIFICATION
;;;;
;;;; Name: domains.clj
;;;; Project: Categories
;;;; Purpose: domains implementation
;;;; Author: mikel evins
;;;; Copyright: Copyright 2009 by mikel evins, all rights reserved
;;;;... | 76257 | ;;;; ***********************************************************************
;;;; FILE IDENTIFICATION
;;;;
;;;; Name: domains.clj
;;;; Project: Categories
;;;; Purpose: domains implementation
;;;; Author: <NAME>
;;;; Copyright: Copyright 2009 by <NAME>, all rights reserved
;;;; License: ... | true | ;;;; ***********************************************************************
;;;; FILE IDENTIFICATION
;;;;
;;;; Name: domains.clj
;;;; Project: Categories
;;;; Purpose: domains implementation
;;;; Author: PI:NAME:<NAME>END_PI
;;;; Copyright: Copyright 2009 by PI:NAME:<NAME>END_PI, all ri... |
[
{
"context": "v.buttons\n [ui/raised-button {:label \"Tallenna\"\n :on-click save-tou",
"end": 13909,
"score": 0.5278527140617371,
"start": 13904,
"tag": "NAME",
"value": "allen"
},
{
"context": "_token\")}]\n [text-field {:name ... | mtg-pairings-server/src/cljs/mtg_pairings_server/components/decklist/organizer.cljs | arttuka/mtg-pairings | 2 | (ns mtg-pairings-server.components.decklist.organizer
(:require [reagent.core :as reagent :refer [atom]]
[re-frame.core :refer [subscribe dispatch]]
[cljsjs.material-ui]
[cljs-react-material-ui.reagent :as ui]
[cljs-react-material-ui.icons :as icons]
[cljs-t... | 67591 | (ns mtg-pairings-server.components.decklist.organizer
(:require [reagent.core :as reagent :refer [atom]]
[re-frame.core :refer [subscribe dispatch]]
[cljsjs.material-ui]
[cljs-react-material-ui.reagent :as ui]
[cljs-react-material-ui.icons :as icons]
[cljs-t... | true | (ns mtg-pairings-server.components.decklist.organizer
(:require [reagent.core :as reagent :refer [atom]]
[re-frame.core :refer [subscribe dispatch]]
[cljsjs.material-ui]
[cljs-react-material-ui.reagent :as ui]
[cljs-react-material-ui.icons :as icons]
[cljs-t... |
[
{
"context": "\n\n {:question \"In the beginning of the 1st book, Arthur Dent's house was demolished to make way for w",
"end": 705,
"score": 0.773037314414978,
"start": 703,
"tag": "NAME",
"value": "Ar"
},
{
"context": "{:question \"In the beginning of the 1st book, Arthur Dent's ... | data/train/clojure/f2101272710ffda8edc9ca2d73efa86cea450f38questions.cljs | harshp8l/deep-learning-lang-detection | 84 | (ns cljs.quiz.questions)
(def questions
[{:question "What is the Answer to the Ultimate Question of Life, Universe, and Everything?"
:answer "42"
:choices ["0" "24" "42" "NaN" "\"\""]}
{:question "What was eventually accepted for the Ultimate *Question* of Life, Universe, and Everything?"
:choices ["W... | 14923 | (ns cljs.quiz.questions)
(def questions
[{:question "What is the Answer to the Ultimate Question of Life, Universe, and Everything?"
:answer "42"
:choices ["0" "24" "42" "NaN" "\"\""]}
{:question "What was eventually accepted for the Ultimate *Question* of Life, Universe, and Everything?"
:choices ["W... | true | (ns cljs.quiz.questions)
(def questions
[{:question "What is the Answer to the Ultimate Question of Life, Universe, and Everything?"
:answer "42"
:choices ["0" "24" "42" "NaN" "\"\""]}
{:question "What was eventually accepted for the Ultimate *Question* of Life, Universe, and Everything?"
:choices ["W... |
[
{
"context": "; Copyright (c) 2011, Tom Van Cutsem, Vrije Universiteit Brussel\n; All rights reserved",
"end": 36,
"score": 0.9998112320899963,
"start": 22,
"tag": "NAME",
"value": "Tom Van Cutsem"
},
{
"context": "M in Clojure\n;; Multicore Programming\n;; (c) 2011, Tom Van Cutsem\n... | test/commute.clj | tvcutsem/stm-in-clojure | 33 | ; Copyright (c) 2011, Tom Van Cutsem, Vrije Universiteit Brussel
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
; * Redistributions of source code must retain the above copyright
; notice... | 11306 | ; Copyright (c) 2011, <NAME>, Vrije Universiteit Brussel
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
; * Redistributions of source code must retain the above copyright
; notice, this l... | true | ; Copyright (c) 2011, PI:NAME:<NAME>END_PI, Vrije Universiteit Brussel
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
; * Redistributions of source code must retain the above copyright
; ... |
[
{
"context": ":lastname \"bar\"}\n {:id \"2\" :firstname \"john\" :lastname \"doe\"}\n {:id \"3\" :firstname",
"end": 1642,
"score": 0.9980447888374329,
"start": 1638,
"tag": "NAME",
"value": "john"
},
{
"context": " {:id \"2\" :firstname \"john\" :la... | src/hello_world/handler.clj | gerlacdt/hello-world-compojure | 0 | (ns hello-world.handler
(:require [compojure.core :refer :all]
[compojure.route :as route]
[ring.middleware.defaults :refer [wrap-defaults site-defaults]]
[ring.middleware.json :refer [wrap-json-body wrap-json-response]]
[ring.middleware.params :refer [wrap-params]]
... | 29184 | (ns hello-world.handler
(:require [compojure.core :refer :all]
[compojure.route :as route]
[ring.middleware.defaults :refer [wrap-defaults site-defaults]]
[ring.middleware.json :refer [wrap-json-body wrap-json-response]]
[ring.middleware.params :refer [wrap-params]]
... | true | (ns hello-world.handler
(:require [compojure.core :refer :all]
[compojure.route :as route]
[ring.middleware.defaults :refer [wrap-defaults site-defaults]]
[ring.middleware.json :refer [wrap-json-body wrap-json-response]]
[ring.middleware.params :refer [wrap-params]]
... |
[
{
"context": "\"share\"}\n [:a {:class \"share-link\"\n :name name\n :href href}\n [:div {:class (str \"icon-",
"end": 249,
"score": 0.5534493923187256,
"start": 245,
"tag": "NAME",
"value": "name"
}
] | ui/src/cljs/photosure/bio/view.cljs | leblowl/photosure | 2 | (ns photosure.bio.view
(:require [goog.string :as gstr]
[photosure.nav.view :as nav]))
(defn share-view
[{:keys [name class href]}]
^{:key (str "share-" name)}
[:li {:class "share"}
[:a {:class "share-link"
:name name
:href href}
[:div {:class (str "icon-share " class)}]]])
... | 80506 | (ns photosure.bio.view
(:require [goog.string :as gstr]
[photosure.nav.view :as nav]))
(defn share-view
[{:keys [name class href]}]
^{:key (str "share-" name)}
[:li {:class "share"}
[:a {:class "share-link"
:name <NAME>
:href href}
[:div {:class (str "icon-share " class)}]]])... | true | (ns photosure.bio.view
(:require [goog.string :as gstr]
[photosure.nav.view :as nav]))
(defn share-view
[{:keys [name class href]}]
^{:key (str "share-" name)}
[:li {:class "share"}
[:a {:class "share-link"
:name PI:NAME:<NAME>END_PI
:href href}
[:div {:class (str "icon-share... |
[
{
"context": "ction [con db] (jdbc/insert! con :account {:name \"Tony\"}))\n row (first result)]\n (a",
"end": 3277,
"score": 0.9970312118530273,
"start": 3273,
"tag": "NAME",
"value": "Tony"
},
{
"context": "t)]\n (assertions\n (:name row) => \"T... | src/test/fulcro_sql/core_spec.clj | fulcrologic/fulcro-sql | 20 | (ns fulcro-sql.core-spec
(:require
[fulcro-spec.core :refer [assertions specification behavior when-mocking component]]
[fulcro-sql.core :as core]
[fulcro-sql.test-helpers :refer [with-database]]
[clojure.spec.alpha :as s]
[clj-time.core :as tm]
[com.stuartsierra.component :as component]
[... | 6748 | (ns fulcro-sql.core-spec
(:require
[fulcro-spec.core :refer [assertions specification behavior when-mocking component]]
[fulcro-sql.core :as core]
[fulcro-sql.test-helpers :refer [with-database]]
[clojure.spec.alpha :as s]
[clj-time.core :as tm]
[com.stuartsierra.component :as component]
[... | true | (ns fulcro-sql.core-spec
(:require
[fulcro-spec.core :refer [assertions specification behavior when-mocking component]]
[fulcro-sql.core :as core]
[fulcro-sql.test-helpers :refer [with-database]]
[clojure.spec.alpha :as s]
[clj-time.core :as tm]
[com.stuartsierra.component :as component]
[... |
[
{
"context": ";-\n; Copyright 2015 © Meikel Brandmeyer.\n; All rights reserved.\n;\n; Licensed under the EU",
"end": 39,
"score": 0.9998742341995239,
"start": 22,
"tag": "NAME",
"value": "Meikel Brandmeyer"
}
] | src/main/clojure/hay/engine.clj | pinky-editor/hay | 2 | ;-
; Copyright 2015 © Meikel Brandmeyer.
; All rights reserved.
;
; Licensed under the EUPL V.1.1 (cf. file EUPL-1.1 distributed with the
; source code.) Translations in other european languages available at
; https://joinup.ec.europa.eu/software/page/eupl.
;
; Alternatively, you may choose to use the software under th... | 70066 | ;-
; Copyright 2015 © <NAME>.
; All rights reserved.
;
; Licensed under the EUPL V.1.1 (cf. file EUPL-1.1 distributed with the
; source code.) Translations in other european languages available at
; https://joinup.ec.europa.eu/software/page/eupl.
;
; Alternatively, you may choose to use the software under the MIT licen... | true | ;-
; Copyright 2015 © PI:NAME:<NAME>END_PI.
; All rights reserved.
;
; Licensed under the EUPL V.1.1 (cf. file EUPL-1.1 distributed with the
; source code.) Translations in other european languages available at
; https://joinup.ec.europa.eu/software/page/eupl.
;
; Alternatively, you may choose to use the software under... |
[
{
"context": "ns declarations in dirs, JARs, or CLASSPATH\n\n;; by Stuart Sierra, http://stuartsierra.com/\n;; April 19, 2009\n\n;; C",
"end": 100,
"score": 0.9998885989189148,
"start": 87,
"tag": "NAME",
"value": "Stuart Sierra"
},
{
"context": "artsierra.com/\n;; April 19, 2009\n\n... | ThirdParty/clojure-contrib-1.1.0/src/clojure/contrib/find_namespaces.clj | allertonm/Couverjure | 3 | ;;; find_namespaces.clj: search for ns declarations in dirs, JARs, or CLASSPATH
;; by Stuart Sierra, http://stuartsierra.com/
;; April 19, 2009
;; Copyright (c) Stuart Sierra, 2009. All rights reserved. The use
;; and distribution terms for this software are covered by the Eclipse
;; Public License 1.0 (http://opens... | 97824 | ;;; find_namespaces.clj: search for ns declarations in dirs, JARs, or CLASSPATH
;; by <NAME>, http://stuartsierra.com/
;; April 19, 2009
;; Copyright (c) <NAME>, 2009. All rights reserved. The use
;; and distribution terms for this software are covered by the Eclipse
;; Public License 1.0 (http://opensource.org/lice... | true | ;;; find_namespaces.clj: search for ns declarations in dirs, JARs, or CLASSPATH
;; by PI:NAME:<NAME>END_PI, http://stuartsierra.com/
;; April 19, 2009
;; Copyright (c) PI:NAME:<NAME>END_PI, 2009. All rights reserved. The use
;; and distribution terms for this software are covered by the Eclipse
;; Public License 1.0... |
[
{
"context": ";; Copyright (c) 2011,2012,2013 Walter Tetzner\n\n;; Permission is hereby granted, free of charge,",
"end": 46,
"score": 0.9998157024383545,
"start": 32,
"tag": "NAME",
"value": "Walter Tetzner"
}
] | src/org/bovinegenius/exploding_fish/path.clj | wtetzner/exploding-fish | 93 | ;; Copyright (c) 2011,2012,2013 Walter Tetzner
;; Permission is hereby granted, free of charge, to any person
;; obtaining a copy of this software and associated documentation
;; files (the "Software"), to deal in the Software without
;; restriction, including without limitation the rights to use, copy,
;; modify, mer... | 41459 | ;; Copyright (c) 2011,2012,2013 <NAME>
;; Permission is hereby granted, free of charge, to any person
;; obtaining a copy of this software and associated documentation
;; files (the "Software"), to deal in the Software without
;; restriction, including without limitation the rights to use, copy,
;; modify, merge, publ... | true | ;; Copyright (c) 2011,2012,2013 PI:NAME:<NAME>END_PI
;; Permission is hereby granted, free of charge, to any person
;; obtaining a copy of this software and associated documentation
;; files (the "Software"), to deal in the Software without
;; restriction, including without limitation the rights to use, copy,
;; modif... |
[
{
"context": "ast-update-time\" 1000, \"owner\" \"test-1\", \"token\" \"token-1\"}\n {\"last-update-time\"",
"end": 5218,
"score": 0.7095683217048645,
"start": 5211,
"tag": "KEY",
"value": "token-1"
},
{
"context": "ast-update-time\" 2000, \"owner\" \"test-... | token-syncer/test/token_syncer/waiter_test.clj | twosigmajab/waiter | 1 | ;;
;; 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... | 26402 | ;;
;; 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": ";; The MIT License (MIT)\n;;\n;; Copyright (c) 2016 Richard Hull\n;;\n;; Permission is hereby granted, free of charg",
"end": 62,
"score": 0.9997742176055908,
"start": 50,
"tag": "NAME",
"value": "Richard Hull"
}
] | src/clustering/core/qt.cljc | CharlesHD/clustering | 17 | ;; The MIT License (MIT)
;;
;; Copyright (c) 2016 Richard Hull
;;
;; Permission is hereby granted, free of charge, to any person obtaining a copy
;; of this software and associated documentation files (the "Software"), to deal
;; in the Software without restriction, including without limitation the rights
;; to use, co... | 83099 | ;; The MIT License (MIT)
;;
;; Copyright (c) 2016 <NAME>
;;
;; Permission is hereby granted, free of charge, to any person obtaining a copy
;; of this software and associated documentation files (the "Software"), to deal
;; in the Software without restriction, including without limitation the rights
;; to use, copy, mo... | true | ;; The MIT License (MIT)
;;
;; Copyright (c) 2016 PI:NAME:<NAME>END_PI
;;
;; Permission is hereby granted, free of charge, to any person obtaining a copy
;; of this software and associated documentation files (the "Software"), to deal
;; in the Software without restriction, including without limitation the rights
;; to... |
[
{
"context": " :color \"red\"}]\n; :cursor-colors {\"coby\" \"red\"\n; \"chuck\" \"blue\"\n; ",
"end": 172,
"score": 0.7892501354217529,
"start": 168,
"tag": "NAME",
"value": "coby"
},
{
"context": "cursor-colors {\"coby\" \"red\"\n; ... | src/thingy/helpers.cljs | acobster/live-proto | 0 | (ns thingy.helpers)
;(defonce appstate
; (r/atom
; {:selection {}
; :remote-cursors [{:pos [3 1 25]
; :color "red"}]
; :cursor-colors {"coby" "red"
; "chuck" "blue"
; "alex" "green"}
; :editables [{:h [:h2 "Live editing demo"]}
; {:... | 38803 | (ns thingy.helpers)
;(defonce appstate
; (r/atom
; {:selection {}
; :remote-cursors [{:pos [3 1 25]
; :color "red"}]
; :cursor-colors {"<NAME>" "red"
; "<NAME>" "blue"
; "<NAME>" "green"}
; :editables [{:h [:h2 "Live editing demo"]}
; ... | true | (ns thingy.helpers)
;(defonce appstate
; (r/atom
; {:selection {}
; :remote-cursors [{:pos [3 1 25]
; :color "red"}]
; :cursor-colors {"PI:NAME:<NAME>END_PI" "red"
; "PI:NAME:<NAME>END_PI" "blue"
; "PI:NAME:<NAME>END_PI" "green"}
; :editables [{:h... |
[
{
"context": " ;(eacl/grant! *conn #:eacl{:who [:eacl/ident :jan-hendrik]\n ; :what :invoic",
"end": 2355,
"score": 0.7232847213745117,
"start": 2354,
"tag": "USERNAME",
"value": "h"
},
{
"context": "1 :eacl/parent ?p) (child-of ?c ?c1)]]\n; false :jan-hen... | test/eacl/core_test.clj | theronic/clj-eacl | 36 | (ns eacl.core-test
(:require
;[bridge.utils :refer [spy profile]]
[clojure.test :as t :refer (deftest is testing)]
[taoensso.timbre :as log]
[eacl.core :as eacl]
[eacl.data.schema :as schema]
[datahike.api :as d]
[datahike.core :as dc]
[clojure.spec.test.alpha :as st]))
;[bridge.fixtur... | 70337 | (ns eacl.core-test
(:require
;[bridge.utils :refer [spy profile]]
[clojure.test :as t :refer (deftest is testing)]
[taoensso.timbre :as log]
[eacl.core :as eacl]
[eacl.data.schema :as schema]
[datahike.api :as d]
[datahike.core :as dc]
[clojure.spec.test.alpha :as st]))
;[bridge.fixtur... | true | (ns eacl.core-test
(:require
;[bridge.utils :refer [spy profile]]
[clojure.test :as t :refer (deftest is testing)]
[taoensso.timbre :as log]
[eacl.core :as eacl]
[eacl.data.schema :as schema]
[datahike.api :as d]
[datahike.core :as dc]
[clojure.spec.test.alpha :as st]))
;[bridge.fixtur... |
[
{
"context": ";; Copyright 2014-2020 King\n;; Copyright 2009-2014 Ragnar Svensson, Christian Murray\n;; Licensed under the Defold Li",
"end": 111,
"score": 0.999812126159668,
"start": 96,
"tag": "NAME",
"value": "Ragnar Svensson"
},
{
"context": "-2020 King\n;; Copyright 2009-2014 Ra... | editor/src/clj/editor/view.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... | 72320 | ;; 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": "3 4]))\n\n (def ov (ova [{:id :a1 :score 10 :name \"Bill\" :gender :m :nationality :aus}\n ",
"end": 417,
"score": 0.9998656511306763,
"start": 413,
"tag": "NAME",
"value": "Bill"
},
{
"context": " :aus}\n {:id :a2 :score 15 :name \"Joh... | test/documentation/hara_concurrent_ova/api.clj | ikitommi/hara | 0 | (ns documentation.hara-concurrent-ova.api
(:use midje.sweet)
(:require [hara.concurrent.ova :refer :all]
[hara.common.watch :as watch]))
[[:section {:title "Basics"}]]
[[:subsection {:title "ova"}]]
"An `ova` deals with data in a vector. The data can be anything but it is recommended that the data are ... | 18241 | (ns documentation.hara-concurrent-ova.api
(:use midje.sweet)
(:require [hara.concurrent.ova :refer :all]
[hara.common.watch :as watch]))
[[:section {:title "Basics"}]]
[[:subsection {:title "ova"}]]
"An `ova` deals with data in a vector. The data can be anything but it is recommended that the data are ... | true | (ns documentation.hara-concurrent-ova.api
(:use midje.sweet)
(:require [hara.concurrent.ova :refer :all]
[hara.common.watch :as watch]))
[[:section {:title "Basics"}]]
[[:subsection {:title "ova"}]]
"An `ova` deals with data in a vector. The data can be anything but it is recommended that the data are ... |
[
{
"context": "otal\n; count is meaningful.\n;\n; # References\n;\n; - Mehta, Cyrus R., and Pralay Senchaudhuri. \"Conditional ",
"end": 538,
"score": 0.9998681545257568,
"start": 533,
"tag": "NAME",
"value": "Mehta"
},
{
"context": "count is meaningful.\n;\n; # References\n;\n; - Meh... | FisherExactTest/fisher_exact_test.clj | gyk/TrivialSolutions | 2 | ; Fisher's Exact Test
; ===================
;
; The left-upper cell follows Fisher's noncentral hypergeometric distribution, and when conditioned
; on the total, under the null hypothesis it degenerates to a hypergeometric distribution which no
; longer depends on the nuisance parameter $\pi$.
;
; Note that odds ratio ... | 109930 | ; Fisher's Exact Test
; ===================
;
; The left-upper cell follows Fisher's noncentral hypergeometric distribution, and when conditioned
; on the total, under the null hypothesis it degenerates to a hypergeometric distribution which no
; longer depends on the nuisance parameter $\pi$.
;
; Note that odds ratio ... | true | ; Fisher's Exact Test
; ===================
;
; The left-upper cell follows Fisher's noncentral hypergeometric distribution, and when conditioned
; on the total, under the null hypothesis it degenerates to a hypergeometric distribution which no
; longer depends on the nuisance parameter $\pi$.
;
; Note that odds ratio ... |
[
{
"context": "ties\n {:hiding #{}\n :auth\n {:KEY (.getBytes \"s49628MbrU8VoG8Q\")\n :MACKEY (.getBytes \"R4A6bX69a4NU68xK\")}})\n\n",
"end": 167,
"score": 0.994594395160675,
"start": 151,
"tag": "KEY",
"value": "s49628MbrU8VoG8Q"
},
{
"context": "Bytes \"s49628MbrU8VoG8Q\")\... | src/ontrail/conf.clj | jrosti/ontrail | 1 | (ns ontrail.conf
(:use ontrail.utils))
(def properties-file "properties.clj")
(def default-properties
{:hiding #{}
:auth
{:KEY (.getBytes "s49628MbrU8VoG8Q")
:MACKEY (.getBytes "R4A6bX69a4NU68xK")}})
(def properties
(if (file-exists? properties-file)
(eval (read-string (slurp properties-file)))
... | 48854 | (ns ontrail.conf
(:use ontrail.utils))
(def properties-file "properties.clj")
(def default-properties
{:hiding #{}
:auth
{:KEY (.getBytes "<KEY>")
:MACKEY (.getBytes "<KEY>")}})
(def properties
(if (file-exists? properties-file)
(eval (read-string (slurp properties-file)))
default-properties)... | true | (ns ontrail.conf
(:use ontrail.utils))
(def properties-file "properties.clj")
(def default-properties
{:hiding #{}
:auth
{:KEY (.getBytes "PI:KEY:<KEY>END_PI")
:MACKEY (.getBytes "PI:KEY:<KEY>END_PI")}})
(def properties
(if (file-exists? properties-file)
(eval (read-string (slurp properties-file)... |
[
{
"context": ";;; Copyright 2011 Howard M. Lewis Ship\n;;;\n;;; Licensed under the Apache License, Versio",
"end": 39,
"score": 0.9998646974563599,
"start": 19,
"tag": "NAME",
"value": "Howard M. Lewis Ship"
}
] | src/cascade/request.clj | hlship/cascade | 8 | ;;; Copyright 2011 Howard M. Lewis Ship
;;;
;;; Licensed under the Apache License, Version 2.0 (the "License");;;
;;; you may not use this file except in compliance with the License.
;;; You may obtain a copy of the License at
;;;
;;; http://www.apache.org/licenses/LICENSE-2.0
;;;
;;; Unless required by applicable la... | 106588 | ;;; Copyright 2011 <NAME>
;;;
;;; Licensed under the Apache License, Version 2.0 (the "License");;;
;;; you may not use this file except in compliance with the License.
;;; You may obtain a copy of the License at
;;;
;;; http://www.apache.org/licenses/LICENSE-2.0
;;;
;;; Unless required by applicable law or agreed to... | true | ;;; Copyright 2011 PI:NAME:<NAME>END_PI
;;;
;;; Licensed under the Apache License, Version 2.0 (the "License");;;
;;; you may not use this file except in compliance with the License.
;;; You may obtain a copy of the License at
;;;
;;; http://www.apache.org/licenses/LICENSE-2.0
;;;
;;; Unless required by applicable la... |
[
{
"context": "er the MIT license\n\n; Copyright (c) 2014 - 2018 by Burkhardt Renz THM. All rights reserved.\n; The use and distribut",
"end": 181,
"score": 0.9998886585235596,
"start": 167,
"tag": "NAME",
"value": "Burkhardt Renz"
},
{
"context": " to the Kodkod constraint solver.\"\... | src/lwb/pred/kic.clj | esb-lwb/lwb | 22 | ; kic - Kodkod in Clojure
; based on the Kodkod Constraint Solver, see http://emina.github.io/kodkod/
; licensed under the MIT license
; Copyright (c) 2014 - 2018 by Burkhardt Renz THM. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opens... | 2032 | ; kic - Kodkod in Clojure
; based on the Kodkod Constraint Solver, see http://emina.github.io/kodkod/
; licensed under the MIT license
; Copyright (c) 2014 - 2018 by <NAME> THM. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.or... | true | ; kic - Kodkod in Clojure
; based on the Kodkod Constraint Solver, see http://emina.github.io/kodkod/
; licensed under the MIT license
; Copyright (c) 2014 - 2018 by 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:/... |
[
{
"context": ";; Copyright (c) Rich Hickey and contributors. All rights reserved.\n;; The u",
"end": 30,
"score": 0.9998530745506287,
"start": 19,
"tag": "NAME",
"value": "Rich Hickey"
}
] | server/target/clojure/core/async/impl/timers.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... | 52471 | ;; 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": "other deva in hand\"\n (doseq [deva [\"Aghora\" \"Sadyojata\" \"Vamadeva\"]]\n (do-game\n (new-gam",
"end": 4417,
"score": 0.6666630506515503,
"start": 4408,
"tag": "NAME",
"value": "Sadyojata"
},
{
"context": "n hand\"\n (doseq [deva [\"Aghora... | test/clj/game/cards/programs_test.clj | jove-m/netrunner | 0 | (ns game.cards.programs-test
(:require [game.core :as core]
[game.core.card :refer :all]
[game.macros :refer [req]]
[game.utils :as utils]
[game.core-test :refer :all]
[game.utils-test :refer :all]
[game.macros-test :refer :all]
[cloj... | 4937 | (ns game.cards.programs-test
(:require [game.core :as core]
[game.core.card :refer :all]
[game.macros :refer [req]]
[game.utils :as utils]
[game.core-test :refer :all]
[game.utils-test :refer :all]
[game.macros-test :refer :all]
[cloj... | true | (ns game.cards.programs-test
(:require [game.core :as core]
[game.core.card :refer :all]
[game.macros :refer [req]]
[game.utils :as utils]
[game.core-test :refer :all]
[game.utils-test :refer :all]
[game.macros-test :refer :all]
[cloj... |
[
{
"context": "ent.))\n;;=> #'clojure-scala.core/s\n\n(.name_$eq s \"Nico\")\n;;=> nil\n\n(.name s)\n;;=> \"Nico\"\n\n(def p (Person",
"end": 746,
"score": 0.9105836749076843,
"start": 742,
"tag": "NAME",
"value": "Nico"
},
{
"context": "s\n\n(.name_$eq s \"Nico\")\n;;=> nil\n\n(.name... | Chapter 05 Code/clojure-scala/src/clojure_scala/core.clj | PacktPublishing/Clojure-Programming-Cookbook | 14 | (ns clojure-scala.core)
;;=> nil
(import 'chapter05.Calculation)
;;=> chapter05.Calculation
(.add calc 10 2)
;;=> 12
(import 'scala.math.BigInt)
;;=> scala.math.BigInt
(import 'java.math.BigInteger)
;;=> java.math.BigInteger
(.factorial calc (BigInt. (BigInteger. "25")))
;;=> 15511210043330985984000000
(import '... | 88190 | (ns clojure-scala.core)
;;=> nil
(import 'chapter05.Calculation)
;;=> chapter05.Calculation
(.add calc 10 2)
;;=> 12
(import 'scala.math.BigInt)
;;=> scala.math.BigInt
(import 'java.math.BigInteger)
;;=> java.math.BigInteger
(.factorial calc (BigInt. (BigInteger. "25")))
;;=> 15511210043330985984000000
(import '... | true | (ns clojure-scala.core)
;;=> nil
(import 'chapter05.Calculation)
;;=> chapter05.Calculation
(.add calc 10 2)
;;=> 12
(import 'scala.math.BigInt)
;;=> scala.math.BigInt
(import 'java.math.BigInteger)
;;=> java.math.BigInteger
(.factorial calc (BigInt. (BigInteger. "25")))
;;=> 15511210043330985984000000
(import '... |
[
{
"context": "loop [response (async/<! (requester {\"screen_name\" user \"count\" 200}))]\n (if (> (count response) 0)\n",
"end": 4311,
"score": 0.8559616208076477,
"start": 4307,
"tag": "NAME",
"value": "user"
},
{
"context": " (recur (async/<! (requester {\"screen_name\... | src/clj/com/beardandcode/twitter_news/api.clj | beardandcode/twitter-news | 0 | (ns com.beardandcode.twitter-news.api
(:import [org.apache.http.client HttpClient]
[org.apache.http.client.methods HttpGet]
[org.apache.http.impl.client HttpClients]
[org.apache.http.util EntityUtils]
[com.twitter.hbc.httpclient.auth OAuth1])
(:require [clojure.core.async... | 81934 | (ns com.beardandcode.twitter-news.api
(:import [org.apache.http.client HttpClient]
[org.apache.http.client.methods HttpGet]
[org.apache.http.impl.client HttpClients]
[org.apache.http.util EntityUtils]
[com.twitter.hbc.httpclient.auth OAuth1])
(:require [clojure.core.async... | true | (ns com.beardandcode.twitter-news.api
(:import [org.apache.http.client HttpClient]
[org.apache.http.client.methods HttpGet]
[org.apache.http.impl.client HttpClients]
[org.apache.http.util EntityUtils]
[com.twitter.hbc.httpclient.auth OAuth1])
(:require [clojure.core.async... |
[
{
"context": "RAM usage for various containers.\"\n {:author \"palisades dot lakes at gmail dot com\"\n :version \"2021-01-29\"}\n \n (:require [clojur",
"end": 279,
"score": 0.6762719750404358,
"start": 246,
"tag": "EMAIL",
"value": "isades dot lakes at gmail dot com"
}
] | src/scripts/clojure/palisades/lakes/collex/scripts/sizeof.clj | palisades-lakes/collection-experiments | 0 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns palisades.lakes.collex.scripts.sizeof
"Estimate RAM usage for various containers."
{:author "palisades dot lakes at gmail dot com"
:version "2021-01-29"}
(:requir... | 50294 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns palisades.lakes.collex.scripts.sizeof
"Estimate RAM usage for various containers."
{:author "pal<EMAIL>"
:version "2021-01-29"}
(:require [clojure.string :as s]
... | true | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns palisades.lakes.collex.scripts.sizeof
"Estimate RAM usage for various containers."
{:author "palPI:EMAIL:<EMAIL>END_PI"
:version "2021-01-29"}
(:require [clojure.... |
[
{
"context": "\"Elapsed time: 2867.337816 msecs\"\n[23\n (\"machamp\"\n \"pinsir\"\n \"relicanth\"\n \"heatmor\"\n \"registee",
"end": 48,
"score": 0.786510705947876,
"start": 41,
"tag": "NAME",
"value": "machamp"
},
{
"context": "apsed time: 2867.337816 msecs\"\n[23\n (\"machamp... | Task/Last-letter-first-letter/Clojure/last-letter-first-letter-2.clj | LaudateCorpus1/RosettaCodeData | 1 | "Elapsed time: 2867.337816 msecs"
[23
("machamp"
"pinsir"
"relicanth"
"heatmor"
"registeel"
"landorus"
"seaking"
"girafarig"
"gabite"
"exeggcute"
"emboar"
"rufflet"
"trapinch"
"haxorus"
"simisear"
"remoraid"
"darmanitan"
"nosepass"
"scrafty"
"yamask"
"kricketune"
"emolga"
"a... | 100712 | "Elapsed time: 2867.337816 msecs"
[23
("<NAME>"
"<NAME>"
"<NAME>"
"heatmor"
"registeel"
"landorus"
"seaking"
"gir<NAME>"
"gab<NAME>"
"exeg<NAME>ute"
"em<NAME>ar"
"ru<NAME>"
"trap<NAME>"
"h<NAME>"
"<NAME>"
"rem<NAME>"
"<NAME>"
"nosepass"
"scrafty"
"yamask"
"kricketune"
"emol<NA... | true | "Elapsed time: 2867.337816 msecs"
[23
("PI:NAME:<NAME>END_PI"
"PI:NAME:<NAME>END_PI"
"PI:NAME:<NAME>END_PI"
"heatmor"
"registeel"
"landorus"
"seaking"
"girPI:NAME:<NAME>END_PI"
"gabPI:NAME:<NAME>END_PI"
"exegPI:NAME:<NAME>END_PIute"
"emPI:NAME:<NAME>END_PIar"
"ruPI:NAME:<NAME>END_PI"
"trapPI:NA... |
[
{
"context": " (is (= 200 status))\n (is (= [{:full_name \"Ludmila\"\n :gender \"female\"\n :",
"end": 2260,
"score": 0.9997884035110474,
"start": 2253,
"tag": "NAME",
"value": "Ludmila"
},
{
"context": "ce \"1234567890129456\"}\n {:ful... | test/patients/server_test.clj | Romez/patients | 0 | (ns patients.server-test
(:require [ring.mock.request :as mock]
[clojure.data.json :as json]
[clojure.test :refer [deftest is testing use-fixtures]]
[patients.migration :refer [migrate]]
[patients.server :refer [app]]
[patients.utils :refer [unparse-date]]
... | 68487 | (ns patients.server-test
(:require [ring.mock.request :as mock]
[clojure.data.json :as json]
[clojure.test :refer [deftest is testing use-fixtures]]
[patients.migration :refer [migrate]]
[patients.server :refer [app]]
[patients.utils :refer [unparse-date]]
... | true | (ns patients.server-test
(:require [ring.mock.request :as mock]
[clojure.data.json :as json]
[clojure.test :refer [deftest is testing use-fixtures]]
[patients.migration :refer [migrate]]
[patients.server :refer [app]]
[patients.utils :refer [unparse-date]]
... |
[
{
"context": "; License: BSD 2-Clause\n; Copyright (c) 2014-2015 Andrey Antukh <niwi@niwi.nz>\n; https://github.com/funcool/cuerd",
"end": 63,
"score": 0.999885082244873,
"start": 50,
"tag": "NAME",
"value": "Andrey Antukh"
},
{
"context": "2-Clause\n; Copyright (c) 2014-2015 Andrey ... | src/lib/oops/cuerdas.clj | binaryage/cljs-oops | 325 | ; License: BSD 2-Clause
; Copyright (c) 2014-2015 Andrey Antukh <niwi@niwi.nz>
; https://github.com/funcool/cuerdas
;
(ns oops.cuerdas
"This is our stripped down version of the cuerdas library to avoid bringing in an extra dependency."
(:refer-clojure :exclude [repeat regexp?])
(:require [clojure.string :as str])... | 54851 | ; License: BSD 2-Clause
; Copyright (c) 2014-2015 <NAME> <<EMAIL>>
; https://github.com/funcool/cuerdas
;
(ns oops.cuerdas
"This is our stripped down version of the cuerdas library to avoid bringing in an extra dependency."
(:refer-clojure :exclude [repeat regexp?])
(:require [clojure.string :as str])
(:import ... | true | ; License: BSD 2-Clause
; Copyright (c) 2014-2015 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
; https://github.com/funcool/cuerdas
;
(ns oops.cuerdas
"This is our stripped down version of the cuerdas library to avoid bringing in an extra dependency."
(:refer-clojure :exclude [repeat regexp?])
(:require [clojure... |
[
{
"context": " :type :clean-monday}]}]})))))\n\n\n;; Copyright 2018 Frederic Merizen\n;;\n;; Licensed under the Apache License, Version ",
"end": 13712,
"score": 0.999852180480957,
"start": 13696,
"tag": "NAME",
"value": "Frederic Merizen"
}
] | test/ferje/config/core_test.clj | chourave/clojyday | 0 | ;; Copyright and license information at end of file
(ns ferje.config.core-test
(:require
[clojure.test :refer [deftest is testing use-fixtures]]
[clojure.walk :refer [prewalk]]
[ferje.core :as ferje]
[ferje.config.core :as config]
[ferje.place :as place]
[ferje.spec-test-utils :refer [instrument-fi... | 76108 | ;; Copyright and license information at end of file
(ns ferje.config.core-test
(:require
[clojure.test :refer [deftest is testing use-fixtures]]
[clojure.walk :refer [prewalk]]
[ferje.core :as ferje]
[ferje.config.core :as config]
[ferje.place :as place]
[ferje.spec-test-utils :refer [instrument-fi... | true | ;; Copyright and license information at end of file
(ns ferje.config.core-test
(:require
[clojure.test :refer [deftest is testing use-fixtures]]
[clojure.walk :refer [prewalk]]
[ferje.core :as ferje]
[ferje.config.core :as config]
[ferje.place :as place]
[ferje.spec-test-utils :refer [instrument-fi... |
[
{
"context": "ame (apply str (drop 1 (.getPath uri)))\n :user username\n :password password\n :host (.getHost uri)",
"end": 724,
"score": 0.9969876408576965,
"start": 716,
"tag": "USERNAME",
"value": "username"
},
{
"context": ".getPath uri)))\n :user username\n :... | src/zoo_event/component/database.clj | zooniverse/zoo-event | 0 | (ns zoo-event.component.database
(:require [korma.db :as db]
[korma.core :refer :all]
[clojure.tools.logging :as log]
[pg-json.core :refer :all]
[clojure.string :as str]
[com.stuartsierra.component :as component]))
(defn json-transformer
[obj]
(update-... | 67111 | (ns zoo-event.component.database
(:require [korma.db :as db]
[korma.core :refer :all]
[clojure.tools.logging :as log]
[pg-json.core :refer :all]
[clojure.string :as str]
[com.stuartsierra.component :as component]))
(defn json-transformer
[obj]
(update-... | true | (ns zoo-event.component.database
(:require [korma.db :as db]
[korma.core :refer :all]
[clojure.tools.logging :as log]
[pg-json.core :refer :all]
[clojure.string :as str]
[com.stuartsierra.component :as component]))
(defn json-transformer
[obj]
(update-... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.