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": "esql\"\n :username (or (System/getenv \"PG_USER\") \"test\")\n :password (or (System/getenv \"PG_PASSWORD\") ",
"end": 220,
"score": 0.5830251574516296,
"start": 216,
"tag": "USERNAME",
"value": "test"
},
{
"context": ")\n :password (or (System/getenv \"PG_PASSWOR... | test/utility_belt/sql/connection.clj | nomnom-insights/nomnom.utility-belt.sql | 2 | (ns utility-belt.sql.connection
(:require
[utility-belt.sql.component.connection-pool :as cp]))
(def connection-spec
{:pool-name "test"
:adapter "postgresql"
:username (or (System/getenv "PG_USER") "test")
:password (or (System/getenv "PG_PASSWORD") "password")
:server-name (or (System/getenv "P... | 37047 | (ns utility-belt.sql.connection
(:require
[utility-belt.sql.component.connection-pool :as cp]))
(def connection-spec
{:pool-name "test"
:adapter "postgresql"
:username (or (System/getenv "PG_USER") "test")
:password (or (System/getenv "PG_PASSWORD") "<PASSWORD>")
:server-name (or (System/getenv ... | true | (ns utility-belt.sql.connection
(:require
[utility-belt.sql.component.connection-pool :as cp]))
(def connection-spec
{:pool-name "test"
:adapter "postgresql"
:username (or (System/getenv "PG_USER") "test")
:password (or (System/getenv "PG_PASSWORD") "PI:PASSWORD:<PASSWORD>END_PI")
:server-name (... |
[
{
"context": " screenname\n :pass pass\n :pass-confirm pass-confirm",
"end": 2498,
"score": 0.9969311952590942,
"start": 2494,
"tag": "PASSWORD",
"value": "pass"
},
{
"context": "belongs-to\n :pass ... | src/clj/memory_hole/routes/services.clj | paulrd/memory-hole | 0 | (ns memory-hole.routes.services
(:require [ring.util.http-response :refer :all]
[compojure.api.sweet :refer :all]
[compojure.api.upload :refer [TempFileUpload wrap-multipart-params]]
[schema.core :as s]
[compojure.api.meta :refer [restructure-param]]
[memory... | 57847 | (ns memory-hole.routes.services
(:require [ring.util.http-response :refer :all]
[compojure.api.sweet :refer :all]
[compojure.api.upload :refer [TempFileUpload wrap-multipart-params]]
[schema.core :as s]
[compojure.api.meta :refer [restructure-param]]
[memory... | true | (ns memory-hole.routes.services
(:require [ring.util.http-response :refer :all]
[compojure.api.sweet :refer :all]
[compojure.api.upload :refer [TempFileUpload wrap-multipart-params]]
[schema.core :as s]
[compojure.api.meta :refer [restructure-param]]
[memory... |
[
{
"context": "://localhost/todo?user=db_user_name_here&password=db_user_password_here\"}\n :plugins\n [[lein-ring \"0.8.10\"]\n [lein-env",
"end": 341,
"score": 0.9969477653503418,
"start": 320,
"tag": "PASSWORD",
"value": "db_user_password_here"
}
] | project.clj | vyorkin-play/clojure-todo3 | 0 | (defproject
todo
"0.1.0-SNAPSHOT"
:description
"FIXME: write description"
:ring
{:handler todo.handler/app,
:init todo.handler/init,
:destroy todo.handler/destroy}
:ragtime
{:migrations ragtime.sql.files/migrations,
:database
"jdbc:postgresql://localhost/todo?user=db_user_name_here&password=... | 105659 | (defproject
todo
"0.1.0-SNAPSHOT"
:description
"FIXME: write description"
:ring
{:handler todo.handler/app,
:init todo.handler/init,
:destroy todo.handler/destroy}
:ragtime
{:migrations ragtime.sql.files/migrations,
:database
"jdbc:postgresql://localhost/todo?user=db_user_name_here&password=... | true | (defproject
todo
"0.1.0-SNAPSHOT"
:description
"FIXME: write description"
:ring
{:handler todo.handler/app,
:init todo.handler/init,
:destroy todo.handler/destroy}
:ragtime
{:migrations ragtime.sql.files/migrations,
:database
"jdbc:postgresql://localhost/todo?user=db_user_name_here&password=... |
[
{
"context": ";;\n;; Author:: Adam Jacob (<adam@opscode.com>)\n;; Author:: Christopher Brow",
"end": 25,
"score": 0.9998528361320496,
"start": 15,
"tag": "NAME",
"value": "Adam Jacob"
},
{
"context": ";;\n;; Author:: Adam Jacob (<adam@opscode.com>)\n;; Author:: Christopher Brown (<cb... | config/projects/chef-server-full.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... | 74555 | ;;
;; 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": "\"Columbia\"\n :lm-name \"Eagle\"\n :orbits 30\n ",
"end": 1335,
"score": 0.7960905432701111,
"start": 1330,
"tag": "NAME",
"value": "Eagle"
}
] | clojure/clojure-applied/cljapplied/src/ch1/apollo.clj | mdssjc/mds-lisp | 0 | (ns ch1.apollo)
(defn make-mission
[name system launched manned? opts]
(let [{:keys [cm-name ;; command module
lm-name ;; lunar module
orbits
evas]} opts]
,,, ))
(def apollo-4
(make-mission "Apollo 4"
"Saturn V"
#inst "1967-1... | 53266 | (ns ch1.apollo)
(defn make-mission
[name system launched manned? opts]
(let [{:keys [cm-name ;; command module
lm-name ;; lunar module
orbits
evas]} opts]
,,, ))
(def apollo-4
(make-mission "Apollo 4"
"Saturn V"
#inst "1967-1... | true | (ns ch1.apollo)
(defn make-mission
[name system launched manned? opts]
(let [{:keys [cm-name ;; command module
lm-name ;; lunar module
orbits
evas]} opts]
,,, ))
(def apollo-4
(make-mission "Apollo 4"
"Saturn V"
#inst "1967-1... |
[
{
"context": "ns under the License.\n;;\n;; Copyright © 2013-2022, Kenneth Leung. All rights reserved.\n\n(ns czlab.nettio.resp\n\n (",
"end": 597,
"score": 0.9998552203178406,
"start": 584,
"tag": "NAME",
"value": "Kenneth Leung"
}
] | src/main/clojure/czlab/nettio/resp.clj | llnek/nettio | 0 | ;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writing, software
;; distributed ... | 98562 | ;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writing, software
;; distributed ... | true | ;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writing, software
;; distributed ... |
[
{
"context": "\"group\"}\n [:input {:type \"submit\", :value \"Szukaj\", :class \"search-button\"}]\n [:a {:class \"adv",
"end": 4310,
"score": 0.6469111442565918,
"start": 4306,
"tag": "NAME",
"value": "ukaj"
},
{
"context": "div\n [:input {:key (s... | src/cljs/smyrna/document_table.cljs | nathell/smyrna | 4 | (ns smyrna.document-table
(:require [clojure.walk :refer [postwalk]]
[clojure.string :as string]
[reagent.core :as reagent :refer [atom]]
[re-frame.core :as re-frame :refer [reg-event-db reg-event-fx reg-sub dispatch dispatch-sync subscribe]]
[smyrna.api :as api]
... | 47651 | (ns smyrna.document-table
(:require [clojure.walk :refer [postwalk]]
[clojure.string :as string]
[reagent.core :as reagent :refer [atom]]
[re-frame.core :as re-frame :refer [reg-event-db reg-event-fx reg-sub dispatch dispatch-sync subscribe]]
[smyrna.api :as api]
... | true | (ns smyrna.document-table
(:require [clojure.walk :refer [postwalk]]
[clojure.string :as string]
[reagent.core :as reagent :refer [atom]]
[re-frame.core :as re-frame :refer [reg-event-db reg-event-fx reg-sub dispatch dispatch-sync subscribe]]
[smyrna.api :as api]
... |
[
{
"context": ";; Copyright (c) 2014-2015 Andrey Antukh <niwi@niwi.be>\n;; All rights reserved.\n;;\n;; Redi",
"end": 40,
"score": 0.9998818635940552,
"start": 27,
"tag": "NAME",
"value": "Andrey Antukh"
},
{
"context": ";; Copyright (c) 2014-2015 Andrey Antukh <niwi@niwi.be>\n;; All ... | src/suricatta/proto.clj | smaant-test2-rename10/suricatta | 0 | ;; Copyright (c) 2014-2015 Andrey Antukh <niwi@niwi.be>
;; 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
;; ... | 45721 | ;; Copyright (c) 2014-2015 <NAME> <<EMAIL>>
;; All rights reserved.
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions are met:
;;
;; * Redistributions of source code must retain the above copyright notice, this
;; list of con... | true | ;; Copyright (c) 2014-2015 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
;; All rights reserved.
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions are met:
;;
;; * Redistributions of source code must retain the above copyright ... |
[
{
"context": " \"VIEW\"}]})\n\n(def valid-up-cred\n {:username \"myusername\"\n :password \"mypassword\"})\n\n(def valid-sshkey-c",
"end": 1141,
"score": 0.999408483505249,
"start": 1131,
"tag": "USERNAME",
"value": "myusername"
},
{
"context": "d-up-cred\n {:username \"myuse... | jar/src/test/clojure/eu/stratuslab/cimi/resources/credential_template_schema_test.clj | StratusLab/cimi | 0 | ;
; Copyright 2014 Centre National de la Recherche Scientifique (CNRS)
;
; 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... | 71270 | ;
; Copyright 2014 Centre National de la Recherche Scientifique (CNRS)
;
; Licensed under the Apache License, Version 2.0 (the "License")
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by... | true | ;
; Copyright 2014 Centre National de la Recherche Scientifique (CNRS)
;
; 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... |
[
{
"context": ";; \"roles\": [\"local-heroes\"],\n;; \"names\": [\"rebecca\", \"pete\"]\n;; },\n;; \"readers\": {\n;; \"roles\": ",
"end": 1227,
"score": 0.9995031952857971,
"start": 1220,
"tag": "NAME",
"value": "rebecca"
},
{
"context": "s\": [\"local-heroes\"],\n;; \"... | src/joiner/admin.clj | jalpedersen/couch-joiner | 0 | (ns joiner.admin
(:require [com.ashafa.clutch.utils :as utils]
[com.ashafa.clutch :as clutch]
[com.ashafa.clutch.http-client :as http])
(:use [joiner.core]))
(defn create-admin [username password]
(http/couchdb-request :put
(database-url (str "_config/admins/" user... | 65714 | (ns joiner.admin
(:require [com.ashafa.clutch.utils :as utils]
[com.ashafa.clutch :as clutch]
[com.ashafa.clutch.http-client :as http])
(:use [joiner.core]))
(defn create-admin [username password]
(http/couchdb-request :put
(database-url (str "_config/admins/" user... | true | (ns joiner.admin
(:require [com.ashafa.clutch.utils :as utils]
[com.ashafa.clutch :as clutch]
[com.ashafa.clutch.http-client :as http])
(:use [joiner.core]))
(defn create-admin [username password]
(http/couchdb-request :put
(database-url (str "_config/admins/" user... |
[
{
"context": "! *unchecked-math* :warn-on-boxed)\n(ns ^{:author \"John Alan McDonald\" :date \"2016-11-23\"}\n \n taiga.scripts.profi",
"end": 105,
"score": 0.9998783469200134,
"start": 87,
"tag": "NAME",
"value": "John Alan McDonald"
}
] | src/scripts/clojure/taiga/scripts/profile/split/scored.clj | wahpenayo/taiga | 4 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "John Alan McDonald" :date "2016-11-23"}
taiga.scripts.profile.split.scored
(:require [taiga.split.numerical.categorical.scored :as scored]
[taiga.scripts.profile.split.defs :as defs]))
;; clj src\scripts\clo... | 58532 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "<NAME>" :date "2016-11-23"}
taiga.scripts.profile.split.scored
(:require [taiga.split.numerical.categorical.scored :as scored]
[taiga.scripts.profile.split.defs :as defs]))
;; clj src\scripts\clojure\taiga\s... | true | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "PI:NAME:<NAME>END_PI" :date "2016-11-23"}
taiga.scripts.profile.split.scored
(:require [taiga.split.numerical.categorical.scored :as scored]
[taiga.scripts.profile.split.defs :as defs]))
;; clj src\scripts\c... |
[
{
"context": "t/unit \"METERS\")\n\n (s/valid? :my-app/pet {:name \"bla\" :dob #inst \"2000-10-10\" :race \"cat\"})\n\n (s/vali",
"end": 14856,
"score": 0.9211703538894653,
"start": 14853,
"tag": "NAME",
"value": "bla"
},
{
"context": "\"cat\"})\n\n (s/valid? :my-app/person {:firs... | src/hodur_spec_schema/core.clj | molequedeideias/hodur-spec-schema | 0 | (ns hodur-spec-schema.core
(:require [clojure.spec.alpha :as s]
[datascript.core :as d]
[datascript.query-v3 :as q]
[camel-snake-kebab.core :refer [->kebab-case-string]]))
(defn ^:private get-ids-by-node-type [conn node-type]
(case node-type
:type (d/q '[:find [?e ...]
... | 22692 | (ns hodur-spec-schema.core
(:require [clojure.spec.alpha :as s]
[datascript.core :as d]
[datascript.query-v3 :as q]
[camel-snake-kebab.core :refer [->kebab-case-string]]))
(defn ^:private get-ids-by-node-type [conn node-type]
(case node-type
:type (d/q '[:find [?e ...]
... | true | (ns hodur-spec-schema.core
(:require [clojure.spec.alpha :as s]
[datascript.core :as d]
[datascript.query-v3 :as q]
[camel-snake-kebab.core :refer [->kebab-case-string]]))
(defn ^:private get-ids-by-node-type [conn node-type]
(case node-type
:type (d/q '[:find [?e ...]
... |
[
{
"context": " (put! \n [\"101\" {:info {:age 17 :name \"Alice\"}\n :score {:math 99 :physics 78}}]",
"end": 758,
"score": 0.999869167804718,
"start": 753,
"tag": "NAME",
"value": "Alice"
},
{
"context": "sics 78}}]\n\n [\"102\" {:info {:age 19 :name ... | data/train/clojure/f4903fae9f883d7a6f6cc789af702630b94d937bcore_test.clj | harshp8l/deep-learning-lang-detection | 84 | (ns hbase-clj.core-test
(:require
[midje.sweet :refer :all]
(hbase-clj
[core :refer :all]
[driver :refer :all]
[manage :refer :all])))
(defhbase test-hbase
"hbase.zookeeper.quorum" "localhost")
(def table-name "hbase_clj_teststu")
;;Delete the test table first to avoid accidents
(try ... | 12168 | (ns hbase-clj.core-test
(:require
[midje.sweet :refer :all]
(hbase-clj
[core :refer :all]
[driver :refer :all]
[manage :refer :all])))
(defhbase test-hbase
"hbase.zookeeper.quorum" "localhost")
(def table-name "hbase_clj_teststu")
;;Delete the test table first to avoid accidents
(try ... | true | (ns hbase-clj.core-test
(:require
[midje.sweet :refer :all]
(hbase-clj
[core :refer :all]
[driver :refer :all]
[manage :refer :all])))
(defhbase test-hbase
"hbase.zookeeper.quorum" "localhost")
(def table-name "hbase_clj_teststu")
;;Delete the test table first to avoid accidents
(try ... |
[
{
"context": "ltered-tweet {:text \"tweet\", :user {:screen_name \"tweety\"}}) => {:screen_name \"tweety\", :tweet \"tweet\"}\n ",
"end": 557,
"score": 0.9994609355926514,
"start": 551,
"tag": "USERNAME",
"value": "tweety"
},
{
"context": ":user {:screen_name \"tweety\"}}) => {:scre... | test/twitter_example/core_test.clj | kornysietsma/twitter-example | 1 | (ns twitter-example.core-test
(:use
midje.sweet
twitter-example.core
compojure.core
sandbar.stateful-session
[compojure.response :only [resource]])
(:require
[clj-json.core :as json]
[clojure.java.io :as io]))
(def fixture-path "test/twitter_example/fixtures/")
(def single-tweet-fixtur... | 19370 | (ns twitter-example.core-test
(:use
midje.sweet
twitter-example.core
compojure.core
sandbar.stateful-session
[compojure.response :only [resource]])
(:require
[clj-json.core :as json]
[clojure.java.io :as io]))
(def fixture-path "test/twitter_example/fixtures/")
(def single-tweet-fixtur... | true | (ns twitter-example.core-test
(:use
midje.sweet
twitter-example.core
compojure.core
sandbar.stateful-session
[compojure.response :only [resource]])
(:require
[clj-json.core :as json]
[clojure.java.io :as io]))
(def fixture-path "test/twitter_example/fixtures/")
(def single-tweet-fixtur... |
[
{
"context": "n/generate-string\n {:email @phoenix-user\n :password @phoenix-pass",
"end": 2529,
"score": 0.6732776165008545,
"start": 2516,
"tag": "USERNAME",
"value": "@phoenix-user"
},
{
"context": " @phoenix-user\n ... | messaging/src/messaging/phoenix.clj | FoxComm/highlander | 10 | (ns messaging.phoenix
(:require [aleph.http :as http]
[compojure.core :refer :all]
[compojure.route :as route]
[messaging.settings :as settings]
[ring.util.response :refer [response]]
[ring.middleware.json :refer [wrap-json-body wrap-json-response]]
... | 65599 | (ns messaging.phoenix
(:require [aleph.http :as http]
[compojure.core :refer :all]
[compojure.route :as route]
[messaging.settings :as settings]
[ring.util.response :refer [response]]
[ring.middleware.json :refer [wrap-json-body wrap-json-response]]
... | true | (ns messaging.phoenix
(:require [aleph.http :as http]
[compojure.core :refer :all]
[compojure.route :as route]
[messaging.settings :as settings]
[ring.util.response :refer [response]]
[ring.middleware.json :refer [wrap-json-body wrap-json-response]]
... |
[
{
"context": "; Copyright (c) 2021 Mikołaj Kuranowski\n; SPDX-License-Identifier: WTFPL\n(ns day10a\n (:r",
"end": 39,
"score": 0.9997009038925171,
"start": 21,
"tag": "NAME",
"value": "Mikołaj Kuranowski"
}
] | src/day10a.clj | MKuranowski/AdventOfCode2020 | 0 | ; Copyright (c) 2021 Mikołaj Kuranowski
; SPDX-License-Identifier: WTFPL
(ns day10a
(:require [core]))
(defn read-adapters [filename]
(->> filename
core/lines-from-file
(map core/parse-int)
sort))
(defn adapters-with-socket-and-device [filename]
(let [adapters-with-socket (into [0] (read-ad... | 117259 | ; Copyright (c) 2021 <NAME>
; SPDX-License-Identifier: WTFPL
(ns day10a
(:require [core]))
(defn read-adapters [filename]
(->> filename
core/lines-from-file
(map core/parse-int)
sort))
(defn adapters-with-socket-and-device [filename]
(let [adapters-with-socket (into [0] (read-adapters filen... | true | ; Copyright (c) 2021 PI:NAME:<NAME>END_PI
; SPDX-License-Identifier: WTFPL
(ns day10a
(:require [core]))
(defn read-adapters [filename]
(->> filename
core/lines-from-file
(map core/parse-int)
sort))
(defn adapters-with-socket-and-device [filename]
(let [adapters-with-socket (into [0] (read-... |
[
{
"context": " :attendees [{:email \"zachary.kim@gmail.com\"}]\n :summary \"Fre",
"end": 8030,
"score": 0.9999229907989502,
"start": 8009,
"tag": "EMAIL",
"value": "zachary.kim@gmail.com"
}
] | src/cljs-browser/rx/browser/gcal.cljs | zk/rx-lib | 0 | (ns rx.browser.gcal
(:require [rx.kitchen-sink :as ks]
[rx.anom :as anom
:refer-macros [<defn <? gol]]
[rx.browser :as browser]
[clojure.core.async :as async
:refer [go <! chan close! put!]]))
(defn <init-gcal-api [{:keys [api-key
... | 5333 | (ns rx.browser.gcal
(:require [rx.kitchen-sink :as ks]
[rx.anom :as anom
:refer-macros [<defn <? gol]]
[rx.browser :as browser]
[clojure.core.async :as async
:refer [go <! chan close! put!]]))
(defn <init-gcal-api [{:keys [api-key
... | true | (ns rx.browser.gcal
(:require [rx.kitchen-sink :as ks]
[rx.anom :as anom
:refer-macros [<defn <? gol]]
[rx.browser :as browser]
[clojure.core.async :as async
:refer [go <! chan close! put!]]))
(defn <init-gcal-api [{:keys [api-key
... |
[
{
"context": ";; Copyright (c) Nicola Mometto, Rich Hickey & contributors.\n;; The use and dis",
"end": 33,
"score": 0.9998489022254944,
"start": 19,
"tag": "NAME",
"value": "Nicola Mometto"
},
{
"context": ";; Copyright (c) Nicola Mometto, Rich Hickey & contributors.\n;; The... | tools.analyzer/resources/tools.analyzer.js-tools.analyzer.js-0.1.0-beta5/src/main/clojure/clojure/tools/analyzer/passes/js/analyze_host_expr.clj | abhi18av/ClojureToolsOCaml | 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... | 88981 | ;; 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": "ropositions\"]\n [:a (merge text {:href \"mailto:arturdumchev@gmail.com\"})\n \"arturdumchev@gmail.com\"]\n [:br]\n ",
"end": 809,
"score": 0.9999261498451233,
"start": 787,
"tag": "EMAIL",
"value": "arturdumchev@gmail.com"
},
{
"context": "t {:href \"mai... | src/cljs/plus_minus/game/about.cljs | Liverm0r/plusminus.me | 3 | (ns plus-minus.game.about
(:require [plus-minus.app-db :as db]
[plus-minus.components.theme :refer [color]]))
(defn component []
(let [text {:style {:color (color :text)}}
title {:style {:color (color :blue)}}]
[:div.content
[:h5 title "Rules"]
[:p text
"In this turn based g... | 47402 | (ns plus-minus.game.about
(:require [plus-minus.app-db :as db]
[plus-minus.components.theme :refer [color]]))
(defn component []
(let [text {:style {:color (color :text)}}
title {:style {:color (color :blue)}}]
[:div.content
[:h5 title "Rules"]
[:p text
"In this turn based g... | true | (ns plus-minus.game.about
(:require [plus-minus.app-db :as db]
[plus-minus.components.theme :refer [color]]))
(defn component []
(let [text {:style {:color (color :text)}}
title {:style {:color (color :blue)}}]
[:div.content
[:h5 title "Rules"]
[:p text
"In this turn based g... |
[
{
"context": " \"sink-test\"\n :bootstrap.servers \"127.0.0.1:9092\"\n :linger.ms 0}})\n ; wit",
"end": 2887,
"score": 0.9997045993804932,
"start": 2878,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": " \"sink-test\"\n :b... | src/sink/kafka.clj | vinted/kafka-elasticsearch-tool | 4 | (ns sink.kafka
(:require [clojure.tools.logging :as log]
[core.json :as json]
[core.properties :as properties])
(:import (java.time Duration)
(java.util UUID)
(org.apache.kafka.clients.producer KafkaProducer ProducerRecord ProducerConfig Callback)
(org.apache... | 64986 | (ns sink.kafka
(:require [clojure.tools.logging :as log]
[core.json :as json]
[core.properties :as properties])
(:import (java.time Duration)
(java.util UUID)
(org.apache.kafka.clients.producer KafkaProducer ProducerRecord ProducerConfig Callback)
(org.apache... | true | (ns sink.kafka
(:require [clojure.tools.logging :as log]
[core.json :as json]
[core.properties :as properties])
(:import (java.time Duration)
(java.util UUID)
(org.apache.kafka.clients.producer KafkaProducer ProducerRecord ProducerConfig Callback)
(org.apache... |
[
{
"context": "sed\n in generated templates.\"\n :author \"Simon Brooke\"}\n adl-support.tags\n (:require [clojure.string ",
"end": 137,
"score": 0.9998873472213745,
"start": 125,
"tag": "NAME",
"value": "Simon Brooke"
},
{
"context": "nse for more details.\n;;;;\n;;;; Cop... | src/adl_support/tags.clj | simon-brooke/adl-support | 0 | (ns ^{:doc "Application Description Language support - custom Selmer tags used
in generated templates."
:author "Simon Brooke"}
adl-support.tags
(:require [clojure.string :refer [split]]
[selmer.parser :as p]
[selmer.tags :as t]))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;... | 57690 | (ns ^{:doc "Application Description Language support - custom Selmer tags used
in generated templates."
:author "<NAME>"}
adl-support.tags
(:require [clojure.string :refer [split]]
[selmer.parser :as p]
[selmer.tags :as t]))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;... | true | (ns ^{:doc "Application Description Language support - custom Selmer tags used
in generated templates."
:author "PI:NAME:<NAME>END_PI"}
adl-support.tags
(:require [clojure.string :refer [split]]
[selmer.parser :as p]
[selmer.tags :as t]))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;... |
[
{
"context": ";; Copyright (c) Stuart Sierra, 2012. All rights reserved. The use and\n;; distri",
"end": 30,
"score": 0.9998875260353088,
"start": 17,
"tag": "NAME",
"value": "Stuart Sierra"
},
{
"context": "or any other, from this software.\n\n(ns ^{:author \"Stuart Sierra\"\n ... | server/target/clojure/tools/namespace/track.clj | OctavioBR/healthcheck | 0 | ;; Copyright (c) Stuart Sierra, 2012. All rights reserved. The use and
;; distribution terms for this software are covered by the Eclipse
;; Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
;; which can be found in the file epl-v10.html at the root of this
;; distribution. By using this software in a... | 32937 | ;; Copyright (c) <NAME>, 2012. All rights reserved. The use and
;; distribution terms for this software are covered by the Eclipse
;; Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
;; which can be found in the file epl-v10.html at the root of this
;; distribution. By using this software in any fash... | true | ;; Copyright (c) PI:NAME:<NAME>END_PI, 2012. All rights reserved. The use and
;; distribution terms for this software are covered by the Eclipse
;; Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
;; which can be found in the file epl-v10.html at the root of this
;; distribution. By using this softwa... |
[
{
"context": "; Copyright (c) 2017-present Walmart, Inc.\n;\n; Licensed under the Apache License, ",
"end": 32,
"score": 0.7319592237472534,
"start": 29,
"tag": "NAME",
"value": "Wal"
}
] | src/com/walmartlabs/lacinia/util.clj | hagenek/lacinia | 1,762 | ; Copyright (c) 2017-present Walmart, Inc.
;
; Licensed under the Apache License, Version 2.0 (the "License")
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to... | 21187 | ; Copyright (c) 2017-present <NAME>mart, Inc.
;
; Licensed under the Apache License, Version 2.0 (the "License")
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed... | true | ; Copyright (c) 2017-present PI:NAME:<NAME>END_PImart, Inc.
;
; Licensed under the Apache License, Version 2.0 (the "License")
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable... |
[
{
"context": "/\n ;; See also: https://github.com/pedestal/pedestal/issues/499\n ;;::http/secure",
"end": 6060,
"score": 0.9996466040611267,
"start": 6052,
"tag": "USERNAME",
"value": "pedestal"
},
{
"context": " ;:key-pass... | src/comment_api_server/service.clj | iwot/comment-api-server | 0 | (ns comment-api-server.service
(:require [io.pedestal.http :as http]
[io.pedestal.http.route :as route]
[io.pedestal.http.body-params :as body-params]
[ring.util.response :as ring-resp]
[io.pedestal.interceptor :as interceptor]
[cheshire.core :as json]
... | 18704 | (ns comment-api-server.service
(:require [io.pedestal.http :as http]
[io.pedestal.http.route :as route]
[io.pedestal.http.body-params :as body-params]
[ring.util.response :as ring-resp]
[io.pedestal.interceptor :as interceptor]
[cheshire.core :as json]
... | true | (ns comment-api-server.service
(:require [io.pedestal.http :as http]
[io.pedestal.http.route :as route]
[io.pedestal.http.body-params :as body-params]
[ring.util.response :as ring-resp]
[io.pedestal.interceptor :as interceptor]
[cheshire.core :as json]
... |
[
{
"context": "(ns #^{:author \"Mikael Reponen\"}\n trigger.trigger\n (:use [overtone.core]\n ",
"end": 30,
"score": 0.9998837113380432,
"start": 16,
"tag": "NAME",
"value": "Mikael Reponen"
},
{
"context": "(buffer-id buf)))\n size-key (keyword (str size))\n ... | src/trigger/trigger.clj | Viritystila/trigger | 2 | (ns #^{:author "Mikael Reponen"}
trigger.trigger
(:use [overtone.core]
[clojure.data])
(:require
[trigger.synths :refer :all]
[trigger.misc :refer :all]
[trigger.algo :refer :all]
[trigger.speech :refer :all]
[trigger.samples :refer :all]
[trigger.trg_fx :refer :all]
[clojure.core.asy... | 97619 | (ns #^{:author "<NAME>"}
trigger.trigger
(:use [overtone.core]
[clojure.data])
(:require
[trigger.synths :refer :all]
[trigger.misc :refer :all]
[trigger.algo :refer :all]
[trigger.speech :refer :all]
[trigger.samples :refer :all]
[trigger.trg_fx :refer :all]
[clojure.core.async :as a... | true | (ns #^{:author "PI:NAME:<NAME>END_PI"}
trigger.trigger
(:use [overtone.core]
[clojure.data])
(:require
[trigger.synths :refer :all]
[trigger.misc :refer :all]
[trigger.algo :refer :all]
[trigger.speech :refer :all]
[trigger.samples :refer :all]
[trigger.trg_fx :refer :all]
[clojure.co... |
[
{
"context": "ption tags\n vpn-common-name vpn-certificate\n vpn-intermediate",
"end": 8488,
"score": 0.653626561164856,
"start": 8485,
"tag": "KEY",
"value": "pn-"
}
] | code/test/sixsq/nuvla/server/resources/credential/vpn_utils_test.clj | nuvla/server | 6 | (ns sixsq.nuvla.server.resources.credential.vpn-utils-test
(:require
[clojure.data.json :as json]
[clojure.string :as str]
[clojure.test :refer [is]]
[peridot.core :refer [content-type header request session]]
[sixsq.nuvla.server.app.params :as p]
[sixsq.nuvla.server.middleware.authn-info :ref... | 13173 | (ns sixsq.nuvla.server.resources.credential.vpn-utils-test
(:require
[clojure.data.json :as json]
[clojure.string :as str]
[clojure.test :refer [is]]
[peridot.core :refer [content-type header request session]]
[sixsq.nuvla.server.app.params :as p]
[sixsq.nuvla.server.middleware.authn-info :ref... | true | (ns sixsq.nuvla.server.resources.credential.vpn-utils-test
(:require
[clojure.data.json :as json]
[clojure.string :as str]
[clojure.test :refer [is]]
[peridot.core :refer [content-type header request session]]
[sixsq.nuvla.server.app.params :as p]
[sixsq.nuvla.server.middleware.authn-info :ref... |
[
{
"context": "(ns franiwalksdogs.captcha\n (:require \n [reagent.core :as r",
"end": 13,
"score": 0.6969212889671326,
"start": 4,
"tag": "USERNAME",
"value": "franiwalk"
},
{
"context": "quire \n [reagent.core :as r]))\n\n(def site-key \"6Lfm_n0UAAAAAAs3jz7FKPGK2KkZbe8QV7BgJrB... | src/cljs/franiwalksdogs/captcha.cljs | daplay/franiwalksdogs | 0 | (ns franiwalksdogs.captcha
(:require
[reagent.core :as r]))
(def site-key "6Lfm_n0UAAAAAAs3jz7FKPGK2KkZbe8QV7BgJrBf")
(defn- on-mount [captcha-id fields errors]
(fn [div]
(reset! captcha-id
(js/window.grecaptcha.render
(-> div r/dom-node .-firstChild)
(clj->js {:si... | 71728 | (ns franiwalksdogs.captcha
(:require
[reagent.core :as r]))
(def site-key "<KEY>")
(defn- on-mount [captcha-id fields errors]
(fn [div]
(reset! captcha-id
(js/window.grecaptcha.render
(-> div r/dom-node .-firstChild)
(clj->js {:sitekey site-key
... | true | (ns franiwalksdogs.captcha
(:require
[reagent.core :as r]))
(def site-key "PI:KEY:<KEY>END_PI")
(defn- on-mount [captcha-id fields errors]
(fn [div]
(reset! captcha-id
(js/window.grecaptcha.render
(-> div r/dom-node .-firstChild)
(clj->js {:sitekey site-key
... |
[
{
"context": "depic-d4d4x56.jpg\"\n :img-alt \"Map art by JaredBlando https://www.deviantart.com/jaredblando\"",
"end": 355,
"score": 0.5148109197616577,
"start": 354,
"tag": "NAME",
"value": "J"
},
{
"context": "Map art by JaredBlando https://www.deviantart.com/jaredblando... | src/app/state.cljs | Velrok/dnd-mapper | 1 | (ns app.state)
(def initial-app-value
{:active-view-id :start
:highlight-overlay true
:map {:width 12
:height 15
:padding {:left 9 :right 11 :top 27 :bottom 57}
:img-url "https://pre00.deviantart.net/dee0/th/pre/i/2015/116/0/b/the_desecrated_temple_by_theredepic-d4d4x56.jpg... | 61279 | (ns app.state)
(def initial-app-value
{:active-view-id :start
:highlight-overlay true
:map {:width 12
:height 15
:padding {:left 9 :right 11 :top 27 :bottom 57}
:img-url "https://pre00.deviantart.net/dee0/th/pre/i/2015/116/0/b/the_desecrated_temple_by_theredepic-d4d4x56.jpg... | true | (ns app.state)
(def initial-app-value
{:active-view-id :start
:highlight-overlay true
:map {:width 12
:height 15
:padding {:left 9 :right 11 :top 27 :bottom 57}
:img-url "https://pre00.deviantart.net/dee0/th/pre/i/2015/116/0/b/the_desecrated_temple_by_theredepic-d4d4x56.jpg... |
[
{
"context": "h-superlifter]]))\n\n(def pet-db {\"abc-123\" {:name \"Lyra\"\n :age 11}\n \"d",
"end": 370,
"score": 0.9997380971908569,
"start": 366,
"tag": "NAME",
"value": "Lyra"
},
{
"context": " :age 11}\n \"def-234\" {:name... | src/main.clj | ssisksl77/superlifeter-poc | 0 | (ns main
(:require [clojure.tools.logging :as log]
[com.walmartlabs.lacinia.pedestal :as lacinia-pedestal]
[com.walmartlabs.lacinia.schema :as schema]
[io.pedestal.http :as http]
[superlifter.api :as s]
[superlifter.lacinia :refer [inject-superlifter with-su... | 25963 | (ns main
(:require [clojure.tools.logging :as log]
[com.walmartlabs.lacinia.pedestal :as lacinia-pedestal]
[com.walmartlabs.lacinia.schema :as schema]
[io.pedestal.http :as http]
[superlifter.api :as s]
[superlifter.lacinia :refer [inject-superlifter with-su... | true | (ns main
(:require [clojure.tools.logging :as log]
[com.walmartlabs.lacinia.pedestal :as lacinia-pedestal]
[com.walmartlabs.lacinia.schema :as schema]
[io.pedestal.http :as http]
[superlifter.api :as s]
[superlifter.lacinia :refer [inject-superlifter with-su... |
[
{
"context": "t.alert-danger error])\n [c/password-input \"password\" :pass \"enter a password\" fields]\n (when-l",
"end": 1185,
"score": 0.9602280259132385,
"start": 1177,
"tag": "PASSWORD",
"value": "password"
},
{
"context": "ror])\n [c/password-input \"passw... | src/cljs/fcc_tracker/components/registration.cljs | achernyak/fcc-tracker | 2 | (ns fcc-tracker.components.registration
(:require [ajax.core :as ajax]
[fcc-tracker.components.common :as c]
[fcc-tracker.validation :as v]
[reagent.core :as r]
[reagent.session :as session]))
(defn register! [fields errors]
(reset! errors (v/registration-errors @fie... | 105949 | (ns fcc-tracker.components.registration
(:require [ajax.core :as ajax]
[fcc-tracker.components.common :as c]
[fcc-tracker.validation :as v]
[reagent.core :as r]
[reagent.session :as session]))
(defn register! [fields errors]
(reset! errors (v/registration-errors @fie... | true | (ns fcc-tracker.components.registration
(:require [ajax.core :as ajax]
[fcc-tracker.components.common :as c]
[fcc-tracker.validation :as v]
[reagent.core :as r]
[reagent.session :as session]))
(defn register! [fields errors]
(reset! errors (v/registration-errors @fie... |
[
{
"context": "like so:\n; \n; {#\"my\\.datomic\\.com\" {:username \"[USERNAME]\"\n; :password \"[LICENSE_K",
"end": 880,
"score": 0.9767773747444153,
"start": 872,
"tag": "USERNAME",
"value": "USERNAME"
},
{
"context": "[USERNAME]\"\n; ... | priv/datomic_gen_server_peer/project.clj | venturecommunism/otp-datomic | 0 | (defproject datomic_gen_server/peer "2.2.5"
:description "Datomic peer server in Clojure, accepting edn strings which will be sent by Elixir"
:dependencies [[org.clojure/clojure "1.8.0"]
[org.clojure/core.async "0.2.374"]
[org.clojure/core.match "0.3.0-alpha4"]
[or... | 95608 | (defproject datomic_gen_server/peer "2.2.5"
:description "Datomic peer server in Clojure, accepting edn strings which will be sent by Elixir"
:dependencies [[org.clojure/clojure "1.8.0"]
[org.clojure/core.async "0.2.374"]
[org.clojure/core.match "0.3.0-alpha4"]
[or... | true | (defproject datomic_gen_server/peer "2.2.5"
:description "Datomic peer server in Clojure, accepting edn strings which will be sent by Elixir"
:dependencies [[org.clojure/clojure "1.8.0"]
[org.clojure/core.async "0.2.374"]
[org.clojure/core.match "0.3.0-alpha4"]
[or... |
[
{
"context": "to-key must be a map\"]\n {:host-to-key {\"a\" \"b\"} :sources []} false\n ,[\"must be a java.sec",
"end": 2344,
"score": 0.7067667245864868,
"start": 2343,
"tag": "KEY",
"value": "b"
}
] | test/hesokuri/config_test.clj | matvore/hesokuri | 0 | ; Copyright (C) 2013 Google Inc.
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writin... | 92663 | ; Copyright (C) 2013 Google Inc.
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writin... | true | ; Copyright (C) 2013 Google Inc.
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writin... |
[
{
"context": "universe\n :world counter-world}\n [:connect :Bob]\n [:connect :Alice])\n",
"end": 1017,
"score": 0.9967149496078491,
"start": 1014,
"tag": "NAME",
"value": "Bob"
},
{
"context": " counter-world}\n [:connect :Bob]\n [:connect :Alice])\n",
"end": 1037,
... | src/goatverse/examples/counter_world.cljs | wanderley/goatverse | 0 | (ns goatverse.examples.counter-world
(:require [goatverse.core.test-universe :refer [defcard-universe]]
[goatverse.examples.counter-universe :refer [counter-universe]]))
(defmulti world-message (fn [type & _] type))
(defmethod world-message 'world-id [_ state _]
{:state state})
(defmethod world-mess... | 61001 | (ns goatverse.examples.counter-world
(:require [goatverse.core.test-universe :refer [defcard-universe]]
[goatverse.examples.counter-universe :refer [counter-universe]]))
(defmulti world-message (fn [type & _] type))
(defmethod world-message 'world-id [_ state _]
{:state state})
(defmethod world-mess... | true | (ns goatverse.examples.counter-world
(:require [goatverse.core.test-universe :refer [defcard-universe]]
[goatverse.examples.counter-universe :refer [counter-universe]]))
(defmulti world-message (fn [type & _] type))
(defmethod world-message 'world-id [_ state _]
{:state state})
(defmethod world-mess... |
[
{
"context": "fake-config)))))\n\n(deftest test-send\n (let [key \"abc\"\n value 42\n\n producer-mock (mkto/re",
"end": 1503,
"score": 0.9977039098739624,
"start": 1500,
"tag": "KEY",
"value": "abc"
}
] | clstreams/test/clstreams/kafka/component_test.clj | MartinSoto/clojure-streams | 5 | (ns clstreams.kafka.component-test
(:require [clojure.test :refer :all]
[clstreams.kafka.component :as sut]
[clstreams.testutil.component :as tu-comp]
[clstreams.testutil.mockito :as mkto])
(:import [org.apache.kafka.clients.producer KafkaProducer ProducerRecord]
org.a... | 64992 | (ns clstreams.kafka.component-test
(:require [clojure.test :refer :all]
[clstreams.kafka.component :as sut]
[clstreams.testutil.component :as tu-comp]
[clstreams.testutil.mockito :as mkto])
(:import [org.apache.kafka.clients.producer KafkaProducer ProducerRecord]
org.a... | true | (ns clstreams.kafka.component-test
(:require [clojure.test :refer :all]
[clstreams.kafka.component :as sut]
[clstreams.testutil.component :as tu-comp]
[clstreams.testutil.mockito :as mkto])
(:import [org.apache.kafka.clients.producer KafkaProducer ProducerRecord]
org.a... |
[
{
"context": "(comment \n re-core, Copyright 2012 Ronen Narkis, narkisr.com\n Licensed under the Apache License",
"end": 49,
"score": 0.9998882412910461,
"start": 37,
"tag": "NAME",
"value": "Ronen Narkis"
},
{
"context": "omment \n re-core, Copyright 2012 Ronen Narkis, narkisr... | src/re_core/persistency/common.clj | celestial-ops/core | 1 | (comment
re-core, Copyright 2012 Ronen Narkis, narkisr.com
Licensed under the Apache License,
Version 2.0 (the "License") you may not use this file except in compliance with the License.
You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law... | 1960 | (comment
re-core, Copyright 2012 <NAME>, n<EMAIL>
Licensed under the Apache License,
Version 2.0 (the "License") you may not use this file except in compliance with the License.
You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agree... | true | (comment
re-core, Copyright 2012 PI:NAME:<NAME>END_PI, nPI:EMAIL:<EMAIL>END_PI
Licensed under the Apache License,
Version 2.0 (the "License") you may not use this file except in compliance with the License.
You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless requir... |
[
{
"context": "ts&cacheRSMetadata=true\"\n :user \"benchmarkdbuser\"\n :password \"benchmarkdbpass\"\n ",
"end": 968,
"score": 0.6718233227729797,
"start": 953,
"tag": "USERNAME",
"value": "benchmarkdbuser"
},
{
"context": "er \"benchmarkdbuser\"\n ... | compojure/hello/src/hello/handler.clj | MalcolmEvershed/FrameworkBenchmarks | 1 | (ns hello.handler
(:import com.mchange.v2.c3p0.ComboPooledDataSource)
(:use compojure.core
ring.middleware.json
ring.util.response
korma.db
korma.core
hiccup.core
hiccup.util)
(:require [compojure.handler :as handler]
[compojure.route :as route]
... | 25809 | (ns hello.handler
(:import com.mchange.v2.c3p0.ComboPooledDataSource)
(:use compojure.core
ring.middleware.json
ring.util.response
korma.db
korma.core
hiccup.core
hiccup.util)
(:require [compojure.handler :as handler]
[compojure.route :as route]
... | true | (ns hello.handler
(:import com.mchange.v2.c3p0.ComboPooledDataSource)
(:use compojure.core
ring.middleware.json
ring.util.response
korma.db
korma.core
hiccup.core
hiccup.util)
(:require [compojure.handler :as handler]
[compojure.route :as route]
... |
[
{
"context": "s\n; Date: February 11, 2016.\n; Authors:\n; A0102031 Fernando Gómez Herrera\n;------------------------",
"end": 151,
"score": 0.993075966835022,
"start": 144,
"tag": "USERNAME",
"value": "A010203"
},
{
"context": " February 11, 2016.\n; Authors:\n; A0... | highorder.clj | gomezhyuuga/CEM_tc2006 | 1 | ;----------------------------------------------------------
; Activity: Higher-Order Functions
; Date: February 11, 2016.
; Authors:
; A0102031 Fernando Gómez Herrera
;----------------------------------------------------------
(use 'clojure.test)
(defn my-map-indexed
"Takes two arguments: a function f and a... | 96048 | ;----------------------------------------------------------
; Activity: Higher-Order Functions
; Date: February 11, 2016.
; Authors:
; A0102031 <NAME>
;----------------------------------------------------------
(use 'clojure.test)
(defn my-map-indexed
"Takes two arguments: a function f and a list lst. It re... | true | ;----------------------------------------------------------
; Activity: Higher-Order Functions
; Date: February 11, 2016.
; Authors:
; A0102031 PI:NAME:<NAME>END_PI
;----------------------------------------------------------
(use 'clojure.test)
(defn my-map-indexed
"Takes two arguments: a function f and a l... |
[
{
"context": "; Copyright (c) 2010-2021 Haifeng Li. All rights reserved.\n;\n; Smile is free softwar",
"end": 38,
"score": 0.999745786190033,
"start": 28,
"tag": "NAME",
"value": "Haifeng Li"
},
{
"context": "le.clustering\n \"Clustering Analysis\"\n {:author \"Haifeng Li\"}\n ... | clojure/src/smile/clustering.clj | takanori-ugai/smile | 0 | ; Copyright (c) 2010-2021 Haifeng Li. All rights reserved.
;
; Smile is free software: you can redistribute it and/or modify
; it under the terms of the GNU General Public License as published by
; the Free Software Foundation, either version 3 of the License, or
; (at your option) any later version.
;
; Sm... | 35062 | ; Copyright (c) 2010-2021 <NAME>. All rights reserved.
;
; Smile is free software: you can redistribute it and/or modify
; it under the terms of the GNU General Public License as published by
; the Free Software Foundation, either version 3 of the License, or
; (at your option) any later version.
;
; Smile ... | true | ; Copyright (c) 2010-2021 PI:NAME:<NAME>END_PI. All rights reserved.
;
; Smile is free software: you can redistribute it and/or modify
; it under the terms of the GNU General Public License as published by
; the Free Software Foundation, either version 3 of the License, or
; (at your option) any later version... |
[
{
"context": ")\n\n\n; The MIT License (MIT)\n;\n; Copyright (c) 2015 Jason Waag\n;\n; Permission is hereby granted, free of charge,",
"end": 1067,
"score": 0.999835193157196,
"start": 1057,
"tag": "NAME",
"value": "Jason Waag"
}
] | src/accounting/export.cljs | jaw977/accounting-cljs-om | 2 | (ns accounting.export
(:require [clojure.string :as str]
[om.dom :as dom :include-macros true]
[accounting.util :refer [assoc-last log log-clj fixpt->float balance-amount]]))
(defn export-part [{:keys [account amount unit]} last-account]
(let [amount (and amount (fixpt->float amount))]
... | 79285 | (ns accounting.export
(:require [clojure.string :as str]
[om.dom :as dom :include-macros true]
[accounting.util :refer [assoc-last log log-clj fixpt->float balance-amount]]))
(defn export-part [{:keys [account amount unit]} last-account]
(let [amount (and amount (fixpt->float amount))]
... | true | (ns accounting.export
(:require [clojure.string :as str]
[om.dom :as dom :include-macros true]
[accounting.util :refer [assoc-last log log-clj fixpt->float balance-amount]]))
(defn export-part [{:keys [account amount unit]} last-account]
(let [amount (and amount (fixpt->float amount))]
... |
[
{
"context": "ble random data generator.\n\n Based on Nonsense by Josh Faul https://github.com/jocafa/Nonsense.\n\n The random",
"end": 321,
"score": 0.9999009966850281,
"start": 312,
"tag": "NAME",
"value": "Josh Faul"
},
{
"context": "Based on Nonsense by Josh Faul https://github... | src/phzr/random_data_generator.cljs | dparis/phzr | 120 | (ns phzr.random-data-generator
(:require [phzr.impl.utils.core :refer [clj->phaser phaser->clj]]
[phzr.impl.extend :as ex]
[cljsjs.phaser])
(:refer-clojure :exclude [uuid]))
(defn ->RandomDataGenerator
"An extremely useful repeatable random data generator.
Based on Nonsense by Josh Fau... | 116761 | (ns phzr.random-data-generator
(:require [phzr.impl.utils.core :refer [clj->phaser phaser->clj]]
[phzr.impl.extend :as ex]
[cljsjs.phaser])
(:refer-clojure :exclude [uuid]))
(defn ->RandomDataGenerator
"An extremely useful repeatable random data generator.
Based on Nonsense by <NAME> h... | true | (ns phzr.random-data-generator
(:require [phzr.impl.utils.core :refer [clj->phaser phaser->clj]]
[phzr.impl.extend :as ex]
[cljsjs.phaser])
(:refer-clojure :exclude [uuid]))
(defn ->RandomDataGenerator
"An extremely useful repeatable random data generator.
Based on Nonsense by PI:NAME:... |
[
{
"context": "\"hey!\"}))))\n\n(deftest test-get-players\n (is (= [\"Alice\" \"Bob\" \"Carol\"]\n (map #(% :name) (util/ge",
"end": 3814,
"score": 0.9998467564582825,
"start": 3809,
"tag": "NAME",
"value": "Alice"
},
{
"context": ")))\n\n(deftest test-get-players\n (is (= [... | test/starlanes/util_test.clj | oubiwann/clj-starlanes | 1 | (ns starlanes.util-test
(:require [clojure.test :refer :all]
[starlanes.const :as const]
[starlanes.game :as game]
[starlanes.util :as util]))
(deftest test-mult-str
(let [result (util/mult-str 4 "ab")
expected "abababab"]
(is (= result expected))))
(deftest test-o... | 100112 | (ns starlanes.util-test
(:require [clojure.test :refer :all]
[starlanes.const :as const]
[starlanes.game :as game]
[starlanes.util :as util]))
(deftest test-mult-str
(let [result (util/mult-str 4 "ab")
expected "abababab"]
(is (= result expected))))
(deftest test-o... | true | (ns starlanes.util-test
(:require [clojure.test :refer :all]
[starlanes.const :as const]
[starlanes.game :as game]
[starlanes.util :as util]))
(deftest test-mult-str
(let [result (util/mult-str 4 "ab")
expected "abababab"]
(is (= result expected))))
(deftest test-o... |
[
{
"context": " {cognito-developer-provider-name \"noone@nowhere.com\"}\n 86400))\n {{:key",
"end": 993,
"score": 0.9998164176940918,
"start": 976,
"tag": "EMAIL",
"value": "noone@nowhere.com"
}
] | test/eulalie/test/sts.cljc | nervous-systems/eulalie | 93 | (ns eulalie.test.sts
(:require [eulalie.core :as eulalie]
[eulalie.sts]
[eulalie.test.common :as test.common]
[eulalie.util :refer [env!]]
#? (:clj [clojure.test :refer [deftest is]]
:cljs [cljs.test :refer-macros [deftest is]])
[eulalie.cogn... | 81851 | (ns eulalie.test.sts
(:require [eulalie.core :as eulalie]
[eulalie.sts]
[eulalie.test.common :as test.common]
[eulalie.util :refer [env!]]
#? (:clj [clojure.test :refer [deftest is]]
:cljs [cljs.test :refer-macros [deftest is]])
[eulalie.cogn... | true | (ns eulalie.test.sts
(:require [eulalie.core :as eulalie]
[eulalie.sts]
[eulalie.test.common :as test.common]
[eulalie.util :refer [env!]]
#? (:clj [clojure.test :refer [deftest is]]
:cljs [cljs.test :refer-macros [deftest is]])
[eulalie.cogn... |
[
{
"context": "state\n \"The state format:\n{:local {:username \\\"John\\\"\n :hand [\\\"♠2\\\" \\\"♥Q\\\"]}\n :game {:name \\",
"end": 67,
"score": 0.9979532361030579,
"start": 63,
"tag": "USERNAME",
"value": "John"
},
{
"context": "ayercount 2\n :joined 1\n ... | src/cardgame/state.clj | ykarikos/cardgame | 0 | (ns cardgame.state
"The state format:
{:local {:username \"John\"
:hand [\"♠2\" \"♥Q\"]}
:game {:name \"evening-bridge\"
:playercount 2
:joined 1
:players (\"John\")
:deck [\"♠A\" \"♥9\" \"♦6\" \"♣K\"]}
}")
(def prompt-symbol "> ")
(def state (atom {}))
(defn initial-sta... | 104787 | (ns cardgame.state
"The state format:
{:local {:username \"John\"
:hand [\"♠2\" \"♥Q\"]}
:game {:name \"evening-bridge\"
:playercount 2
:joined 1
:players (\"<NAME>\")
:deck [\"♠A\" \"♥9\" \"♦6\" \"♣K\"]}
}")
(def prompt-symbol "> ")
(def state (atom {}))
(defn initial-s... | true | (ns cardgame.state
"The state format:
{:local {:username \"John\"
:hand [\"♠2\" \"♥Q\"]}
:game {:name \"evening-bridge\"
:playercount 2
:joined 1
:players (\"PI:NAME:<NAME>END_PI\")
:deck [\"♠A\" \"♥9\" \"♦6\" \"♣K\"]}
}")
(def prompt-symbol "> ")
(def state (atom {}))
(... |
[
{
"context": "^{ :doc \"com.sb.auditor :: audit\"\n :author \"Istvan Szukacs\" }\nauditor.audit\n (:require\n [clojure.tools.",
"end": 673,
"score": 0.9998898506164551,
"start": 659,
"tag": "NAME",
"value": "Istvan Szukacs"
}
] | src/auditor/audit.clj | StreamBright/auditor | 1 | ;; Copyright 2016 StreamBright LLC and contributors
;; 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 ... | 109911 | ;; Copyright 2016 StreamBright LLC and contributors
;; 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 ... | true | ;; Copyright 2016 StreamBright LLC and contributors
;; 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 ... |
[
{
"context": "event-key ;; keyword, like :player/player-toggle-sneak\n handler-fn ;; (fn [event]",
"end": 1398,
"score": 0.5843952894210815,
"start": 1398,
"tag": "KEY",
"value": ""
},
{
"context": "ey ;; keyword, like :player/player-toggle-sneak\n han... | src/clojure/bukkitclj/event.clj | cpmcdaniel/Bukkit4Clojure | 3 | (ns bukkitclj.event
"Event handlers for Bukkit"
(:require [bukkitclj.util :as util]
[bukkitclj.logging :as log]
[bukkitclj.bukkit :as bk]
[clojure.string :as st])
(:import [org.bukkit.plugin Plugin]))
(defonce actions (util/map-enums 'action org.bukkit.event.block.Action))
(d... | 122668 | (ns bukkitclj.event
"Event handlers for Bukkit"
(:require [bukkitclj.util :as util]
[bukkitclj.logging :as log]
[bukkitclj.bukkit :as bk]
[clojure.string :as st])
(:import [org.bukkit.plugin Plugin]))
(defonce actions (util/map-enums 'action org.bukkit.event.block.Action))
(d... | true | (ns bukkitclj.event
"Event handlers for Bukkit"
(:require [bukkitclj.util :as util]
[bukkitclj.logging :as log]
[bukkitclj.bukkit :as bk]
[clojure.string :as st])
(:import [org.bukkit.plugin Plugin]))
(defonce actions (util/map-enums 'action org.bukkit.event.block.Action))
(d... |
[
{
"context": " {\"EC2KeyName\" \"toms-cap-pre-prod\"\n ",
"end": 1345,
"score": 0.5601876974105835,
"start": 1339,
"tag": "KEY",
"value": "s-cap-"
}
] | project.clj | thomaswhitcomb/clojoku | 0 | (defproject clojoku "0.1.0"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [
[org.clojure/clojure "1.6.0"]
[ring/ring-core "1.3.0"]
... | 10987 | (defproject clojoku "0.1.0"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [
[org.clojure/clojure "1.6.0"]
[ring/ring-core "1.3.0"]
... | true | (defproject clojoku "0.1.0"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [
[org.clojure/clojure "1.6.0"]
[ring/ring-core "1.3.0"]
... |
[
{
"context": "\n\n\n\n;;\n;; Initial state\n;;\n\n;; FIXME: [2022-02-15, ilshat@sultanov.team]\n;; - Add events to read user profile and tokens ",
"end": 402,
"score": 0.9999188184738159,
"start": 382,
"tag": "EMAIL",
"value": "ilshat@sultanov.team"
}
] | src/main/clojure/metaverse/renderer/db.cljs | sultanov-team/metaverse | 1 | (ns metaverse.renderer.db
(:require
[day8.re-frame.tracing :refer-macros [fn-traced]]
[metaverse.renderer.news.core]
[metaverse.renderer.profile.core]
[re-frame.core :as rf]))
;;
;; Defaults
;;
(def system-theme
(if (.. js/window (matchMedia "(prefers-color-scheme: dark)") -matches)
"dark"
... | 123709 | (ns metaverse.renderer.db
(:require
[day8.re-frame.tracing :refer-macros [fn-traced]]
[metaverse.renderer.news.core]
[metaverse.renderer.profile.core]
[re-frame.core :as rf]))
;;
;; Defaults
;;
(def system-theme
(if (.. js/window (matchMedia "(prefers-color-scheme: dark)") -matches)
"dark"
... | true | (ns metaverse.renderer.db
(:require
[day8.re-frame.tracing :refer-macros [fn-traced]]
[metaverse.renderer.news.core]
[metaverse.renderer.profile.core]
[re-frame.core :as rf]))
;;
;; Defaults
;;
(def system-theme
(if (.. js/window (matchMedia "(prefers-color-scheme: dark)") -matches)
"dark"
... |
[
{
"context": "org.httpkit.client :as http]))\n\n(def example-key \"wJalrXUtnFEMI/K7MDENG+bPxRfiCYEXAMPLEKEY\")\n(def headers\n {\"X-Amz-Algorithm\" \"AWS4-HMA",
"end": 228,
"score": 0.9997602105140686,
"start": 188,
"tag": "KEY",
"value": "wJalrXUtnFEMI/K7MDENG+bPxRfiCYEXAMPLEKEY"
},
... | test/t/auth/headers.clj | peterromfeldhk/clj-cfn | 0 | (ns t.auth.headers
(:use midje.sweet)
(:require
[clojure.string :as s]
[clj-time.core :as t]
[clj-time.format :as f]
[org.httpkit.client :as http]))
(def example-key "wJalrXUtnFEMI/K7MDENG+bPxRfiCYEXAMPLEKEY")
(def headers
{"X-Amz-Algorithm" "AWS4-HMAC-SHA256"
"X-Amz-Credential" "AKIDEX... | 124258 | (ns t.auth.headers
(:use midje.sweet)
(:require
[clojure.string :as s]
[clj-time.core :as t]
[clj-time.format :as f]
[org.httpkit.client :as http]))
(def example-key "<KEY>")
(def headers
{"X-Amz-Algorithm" "AWS4-HMAC-SHA256"
"X-Amz-Credential" "<KEY>"
"X-Amz-Date" "20150830... | true | (ns t.auth.headers
(:use midje.sweet)
(:require
[clojure.string :as s]
[clj-time.core :as t]
[clj-time.format :as f]
[org.httpkit.client :as http]))
(def example-key "PI:KEY:<KEY>END_PI")
(def headers
{"X-Amz-Algorithm" "AWS4-HMAC-SHA256"
"X-Amz-Credential" "PI:KEY:<KEY>END_PI"
"X-Am... |
[
{
"context": " )\n )\n\n\n(defn hello [nn]\n (println \"Hello Ray\")\n (println nn)\n (let [res (.resolveAttribute n",
"end": 539,
"score": 0.9885271787643433,
"start": 536,
"tag": "NAME",
"value": "Ray"
}
] | src/hyauth/javainterop.clj | rsclison/hyauth | 0 | (ns hyauth.javainterop
(:import
(org.cocktail Pip))
(:gen-class
:name hyauth.javainterop
:methods [#^{:static true} [hello [org.cocktail.Pip] String]
#^{:static true} [isAuthorized [String org.cocktail.Pip] String]
#^{:static true} [init [org.cocktail.Pip] void]
... | 13687 | (ns hyauth.javainterop
(:import
(org.cocktail Pip))
(:gen-class
:name hyauth.javainterop
:methods [#^{:static true} [hello [org.cocktail.Pip] String]
#^{:static true} [isAuthorized [String org.cocktail.Pip] String]
#^{:static true} [init [org.cocktail.Pip] void]
... | true | (ns hyauth.javainterop
(:import
(org.cocktail Pip))
(:gen-class
:name hyauth.javainterop
:methods [#^{:static true} [hello [org.cocktail.Pip] String]
#^{:static true} [isAuthorized [String org.cocktail.Pip] String]
#^{:static true} [init [org.cocktail.Pip] void]
... |
[
{
"context": " :description \"A Clojure wrapper around FastDTW by Stan Salvador and Philip Chan.\"\n :dependencies [[org.clojure/c",
"end": 105,
"score": 0.9998223781585693,
"start": 92,
"tag": "NAME",
"value": "Stan Salvador"
},
{
"context": "lojure wrapper around FastDTW by Stan S... | project.clj | tel/cljfastdtw | 1 | (defproject cljfastdtw "1.0.2-SNAPSHOT"
:description "A Clojure wrapper around FastDTW by Stan Salvador and Philip Chan."
:dependencies [[org.clojure/clojure "1.2.1"]
[com.googlecode.efficient-java-matrix-library/ejml "0.17"]]
:java-source-path "jsrc") | 95830 | (defproject cljfastdtw "1.0.2-SNAPSHOT"
:description "A Clojure wrapper around FastDTW by <NAME> and <NAME>."
:dependencies [[org.clojure/clojure "1.2.1"]
[com.googlecode.efficient-java-matrix-library/ejml "0.17"]]
:java-source-path "jsrc") | true | (defproject cljfastdtw "1.0.2-SNAPSHOT"
:description "A Clojure wrapper around FastDTW by PI:NAME:<NAME>END_PI and PI:NAME:<NAME>END_PI."
:dependencies [[org.clojure/clojure "1.2.1"]
[com.googlecode.efficient-java-matrix-library/ejml "0.17"]]
:java-source-path "jsrc") |
[
{
"context": "l\n :password password})\n {:signup/result \"OK\"})\n\n(def resolvers [curre",
"end": 2159,
"score": 0.721322774887085,
"start": 2151,
"tag": "PASSWORD",
"value": "password"
}
] | src/main/app/model/session.clj | randallard/fulcro-template-01 | 98 | (ns app.model.session
(:require
[app.model.mock-database :as db]
[datascript.core :as d]
[com.fulcrologic.guardrails.core :refer [>defn => | ?]]
[com.wsscode.pathom.connect :as pc :refer [defresolver defmutation]]
[taoensso.timbre :as log]
[clojure.spec.alpha :as s]
[com.fulcrologic.fulcro... | 62947 | (ns app.model.session
(:require
[app.model.mock-database :as db]
[datascript.core :as d]
[com.fulcrologic.guardrails.core :refer [>defn => | ?]]
[com.wsscode.pathom.connect :as pc :refer [defresolver defmutation]]
[taoensso.timbre :as log]
[clojure.spec.alpha :as s]
[com.fulcrologic.fulcro... | true | (ns app.model.session
(:require
[app.model.mock-database :as db]
[datascript.core :as d]
[com.fulcrologic.guardrails.core :refer [>defn => | ?]]
[com.wsscode.pathom.connect :as pc :refer [defresolver defmutation]]
[taoensso.timbre :as log]
[clojure.spec.alpha :as s]
[com.fulcrologic.fulcro... |
[
{
"context": "; Author: Ambrose Bonnaire-Sergeant\n(ns e30-devtools-via-event-filters\n (:require [c",
"end": 35,
"score": 0.9998642802238464,
"start": 10,
"tag": "NAME",
"value": "Ambrose Bonnaire-Sergeant"
}
] | examples/e30_devtools_via_event_filters.clj | bsless/cljfx | 817 | ; Author: Ambrose Bonnaire-Sergeant
(ns e30-devtools-via-event-filters
(:require [cljfx.api :as fx]
[clojure.core.cache :as cache])
(:import [javafx.scene.input MouseEvent]
[javafx.scene Node]
[javafx.event Event]))
;; Setting an event filter on a node allows that node to
;; inter... | 45230 | ; Author: <NAME>
(ns e30-devtools-via-event-filters
(:require [cljfx.api :as fx]
[clojure.core.cache :as cache])
(:import [javafx.scene.input MouseEvent]
[javafx.scene Node]
[javafx.event Event]))
;; Setting an event filter on a node allows that node to
;; intercept events intende... | true | ; Author: PI:NAME:<NAME>END_PI
(ns e30-devtools-via-event-filters
(:require [cljfx.api :as fx]
[clojure.core.cache :as cache])
(:import [javafx.scene.input MouseEvent]
[javafx.scene Node]
[javafx.event Event]))
;; Setting an event filter on a node allows that node to
;; intercept ... |
[
{
"context": " joy-of-clojure)\n\n\n(in-ns 'joy.ns)\n(def authors [\"Chouser\"])\n\n\n(clojure.core/refer 'joy.ns)\njoy.ns/authors",
"end": 60,
"score": 0.7376710176467896,
"start": 53,
"tag": "NAME",
"value": "Chouser"
}
] | sand-box/src/sand_box/joy-of-clojure.clj | jaeyeon-jo-kr/clojure_practice | 0 | (ns joy-of-clojure)
(in-ns 'joy.ns)
(def authors ["Chouser"])
(clojure.core/refer 'joy.ns)
joy.ns/authors | 61253 | (ns joy-of-clojure)
(in-ns 'joy.ns)
(def authors ["<NAME>"])
(clojure.core/refer 'joy.ns)
joy.ns/authors | true | (ns joy-of-clojure)
(in-ns 'joy.ns)
(def authors ["PI:NAME:<NAME>END_PI"])
(clojure.core/refer 'joy.ns)
joy.ns/authors |
[
{
"context": "s that can be done on two expressions.\", :author \"Sean Dawson\"}\n nanoweave.parsers.binary-arithmetic\n (:requir",
"end": 100,
"score": 0.9998270273208618,
"start": 89,
"tag": "NAME",
"value": "Sean Dawson"
}
] | src/nanoweave/parsers/binary_arithmetic.clj | NoxHarmonium/nanoweave | 0 | (ns ^{:doc "Parses arithmetic operations that can be done on two expressions.", :author "Sean Dawson"}
nanoweave.parsers.binary-arithmetic
(:require [blancas.kern.core :refer [bind <?> return]]
[blancas.kern.lexer.java-style :refer [one-of]]
[nanoweave.ast.binary-arithmetic :refer
... | 65312 | (ns ^{:doc "Parses arithmetic operations that can be done on two expressions.", :author "<NAME>"}
nanoweave.parsers.binary-arithmetic
(:require [blancas.kern.core :refer [bind <?> return]]
[blancas.kern.lexer.java-style :refer [one-of]]
[nanoweave.ast.binary-arithmetic :refer
[->... | true | (ns ^{:doc "Parses arithmetic operations that can be done on two expressions.", :author "PI:NAME:<NAME>END_PI"}
nanoweave.parsers.binary-arithmetic
(:require [blancas.kern.core :refer [bind <?> return]]
[blancas.kern.lexer.java-style :refer [one-of]]
[nanoweave.ast.binary-arithmetic :refer
... |
[
{
"context": "SERIAL]\n [:user \"VARCHAR(20)\"]\n [:password \"CHAR(64)\"]]))\n (j/execute! @database [\"CREATE UNIQUE ",
"end": 292,
"score": 0.8919944763183594,
"start": 288,
"tag": "PASSWORD",
"value": "CHAR"
},
{
"context": "L]\n [:user \"VARCHAR(20)\"]\n [:password ... | auth/test/auth/test_db.clj | raymondpoling/rerun-tv | 0 | (ns auth.test-db
(:require [clojure.java.jdbc :as j]
[db.db :refer [database]]))
(defn create-h2-mem-tables []
(j/execute! @database ["CREATE SCHEMA AUTH"])
(j/execute! @database (j/create-table-ddl "auth.authorize"
[[:id :SERIAL]
[:user "VARCHAR(20)"]
[:password "CHAR(64)"]]))
(j/execute! @dat... | 78814 | (ns auth.test-db
(:require [clojure.java.jdbc :as j]
[db.db :refer [database]]))
(defn create-h2-mem-tables []
(j/execute! @database ["CREATE SCHEMA AUTH"])
(j/execute! @database (j/create-table-ddl "auth.authorize"
[[:id :SERIAL]
[:user "VARCHAR(20)"]
[:password "<PASSWORD>(<PASSWORD>)"]]))
(j... | true | (ns auth.test-db
(:require [clojure.java.jdbc :as j]
[db.db :refer [database]]))
(defn create-h2-mem-tables []
(j/execute! @database ["CREATE SCHEMA AUTH"])
(j/execute! @database (j/create-table-ddl "auth.authorize"
[[:id :SERIAL]
[:user "VARCHAR(20)"]
[:password "PI:PASSWORD:<PASSWORD>END_PI(PI:... |
[
{
"context": "cs.io/xapi/statements\")\n (def kokea-api-key \"26589566c610a046c322f87cfcc1383032d09d0774d20b68\")\n (def kokea-api-key-secret \"d50f0b8711acc8",
"end": 291,
"score": 0.9997764229774475,
"start": 243,
"tag": "KEY",
"value": "26589566c610a046c322f87cfcc1383032d09d0774... | dev/user.clj | blakeplock/dave-1 | 25 | (ns user)
(comment
(require '[clj-http.client :as client]
'[cheshire.core :as json]
'[clojure.java.io :as io])
(do (def kokea-endpoint "https://demo-lrs.yetanalytics.io/xapi/statements")
(def kokea-api-key "26589566c610a046c322f87cfcc1383032d09d0774d20b68")
(def kokea-api-key-s... | 5911 | (ns user)
(comment
(require '[clj-http.client :as client]
'[cheshire.core :as json]
'[clojure.java.io :as io])
(do (def kokea-endpoint "https://demo-lrs.yetanalytics.io/xapi/statements")
(def kokea-api-key "<KEY>")
(def kokea-api-key-secret "<KEY>")
(def viewed-verb-id "h... | true | (ns user)
(comment
(require '[clj-http.client :as client]
'[cheshire.core :as json]
'[clojure.java.io :as io])
(do (def kokea-endpoint "https://demo-lrs.yetanalytics.io/xapi/statements")
(def kokea-api-key "PI:KEY:<KEY>END_PI")
(def kokea-api-key-secret "PI:KEY:<KEY>END_PI")
... |
[
{
"context": "; MIT License\n;\n; Copyright (c) 2017 Frederic Merizen & Kenny Williams\n;\n; Permission is hereby granted",
"end": 53,
"score": 0.9998453259468079,
"start": 37,
"tag": "NAME",
"value": "Frederic Merizen"
},
{
"context": " License\n;\n; Copyright (c) 2017 Frederic Meri... | src/plumula/mimolette/alpha.cljc | plumula/mimolette | 3 | ; MIT License
;
; Copyright (c) 2017 Frederic Merizen & Kenny Williams
;
; 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,... | 28448 | ; MIT License
;
; Copyright (c) 2017 <NAME> & <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, mer... | true | ; MIT License
;
; Copyright (c) 2017 PI:NAME:<NAME>END_PI & 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... |
[
{
"context": "ME: write description\"\n :url \"https://github.com/chicoalmeida/mysqlx-clj\"\n :signing {:gpg-key \"francisco.rl.al",
"end": 131,
"score": 0.9987981915473938,
"start": 119,
"tag": "USERNAME",
"value": "chicoalmeida"
},
{
"context": "om/chicoalmeida/mysqlx-clj\"\n :s... | project.clj | chicoalmeida/mysqlx-clj | 4 | (defproject chicoalmeida/mysqlx-clj "0.0.1-beta3"
:description "FIXME: write description"
:url "https://github.com/chicoalmeida/mysqlx-clj"
:signing {:gpg-key "francisco.rl.almeida@gmail.com"}
:license {:name "MIT"
:url "https://opensource.org/licenses/MIT"}
:dependencies [[cheshire "5.9.0"]
... | 28019 | (defproject chicoalmeida/mysqlx-clj "0.0.1-beta3"
:description "FIXME: write description"
:url "https://github.com/chicoalmeida/mysqlx-clj"
:signing {:gpg-key "<EMAIL>"}
:license {:name "MIT"
:url "https://opensource.org/licenses/MIT"}
:dependencies [[cheshire "5.9.0"]
[mysql/mys... | true | (defproject chicoalmeida/mysqlx-clj "0.0.1-beta3"
:description "FIXME: write description"
:url "https://github.com/chicoalmeida/mysqlx-clj"
:signing {:gpg-key "PI:EMAIL:<EMAIL>END_PI"}
:license {:name "MIT"
:url "https://opensource.org/licenses/MIT"}
:dependencies [[cheshire "5.9.0"]
... |
[
{
"context": "\n println (str \"Hello, \" name \"!\"))\n\n(say-hello \"Luke\")\n; To read documentation (doc say-hello) \n\n; Get",
"end": 203,
"score": 0.9351575970649719,
"start": 199,
"tag": "NAME",
"value": "Luke"
}
] | src/app/functions/defn.clj | lucaslago/clojure-examples | 0 | (ns app.functions.defn)
; defn is used to bind a value to a symbol
(defn say-hello
"Takes a name as argument and says hello to that name"
[name]
println (str "Hello, " name "!"))
(say-hello "Luke")
; To read documentation (doc say-hello)
; Getting a function's meta data
(meta (var say-hello))
| 111970 | (ns app.functions.defn)
; defn is used to bind a value to a symbol
(defn say-hello
"Takes a name as argument and says hello to that name"
[name]
println (str "Hello, " name "!"))
(say-hello "<NAME>")
; To read documentation (doc say-hello)
; Getting a function's meta data
(meta (var say-hello))
| true | (ns app.functions.defn)
; defn is used to bind a value to a symbol
(defn say-hello
"Takes a name as argument and says hello to that name"
[name]
println (str "Hello, " name "!"))
(say-hello "PI:NAME:<NAME>END_PI")
; To read documentation (doc say-hello)
; Getting a function's meta data
(meta (var say-hello))... |
[
{
"context": ";; Copyright 2015 Ben Ashford\n;;\n;; Licensed under the Apache License, Version ",
"end": 29,
"score": 0.9998706579208374,
"start": 18,
"tag": "NAME",
"value": "Ben Ashford"
}
] | src/redis_async/core.clj | benashford/redis-async | 19 | ;; Copyright 2015 Ben Ashford
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in ... | 97001 | ;; Copyright 2015 <NAME>
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writi... | true | ;; Copyright 2015 PI:NAME:<NAME>END_PI
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agre... |
[
{
"context": "ns under the License.\n;;\n;; Copyright © 2013-2022, Kenneth Leung. All rights reserved.\n\n(ns ^{:doc \"\"\n :autho",
"end": 597,
"score": 0.9998745918273926,
"start": 584,
"tag": "NAME",
"value": "Kenneth Leung"
},
{
"context": "ll rights reserved.\n\n(ns ^{:doc ... | src/main/clojure/czlab/loki/xpis.clj | llnek/loki | 0 | ;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writing, software
;; distributed ... | 122061 | ;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writing, software
;; distributed ... | true | ;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writing, software
;; distributed ... |
[
{
"context": " This file is part of gg4clj. Copyright (C) 2014-, Jony Hudson.\n;;;;\n;;;; gg4clj is licenced to you under the MI",
"end": 66,
"score": 0.999782145023346,
"start": 55,
"tag": "NAME",
"value": "Jony Hudson"
},
{
"context": "ure and Gorilla REPL.\"\n :url \"https://gith... | project.clj | sbelak/gg4clj | 67 | ;;;; This file is part of gg4clj. Copyright (C) 2014-, Jony Hudson.
;;;;
;;;; gg4clj is licenced to you under the MIT licence. See the file LICENCE.txt for full details.
(defproject gg4clj "0.1.0"
:description "A simple wrapper for R's ggplot2 in Clojure and Gorilla REPL."
:url "https://github.com/JonyEpsilon/gg4c... | 32245 | ;;;; This file is part of gg4clj. Copyright (C) 2014-, <NAME>.
;;;;
;;;; gg4clj is licenced to you under the MIT licence. See the file LICENCE.txt for full details.
(defproject gg4clj "0.1.0"
:description "A simple wrapper for R's ggplot2 in Clojure and Gorilla REPL."
:url "https://github.com/JonyEpsilon/gg4clj"
... | true | ;;;; This file is part of gg4clj. Copyright (C) 2014-, PI:NAME:<NAME>END_PI.
;;;;
;;;; gg4clj is licenced to you under the MIT licence. See the file LICENCE.txt for full details.
(defproject gg4clj "0.1.0"
:description "A simple wrapper for R's ggplot2 in Clojure and Gorilla REPL."
:url "https://github.com/JonyEps... |
[
{
"context": ")\n\n;; 16: Hello World\n\n(= (#(str \"Hello, \" % \"!\")\"Dave\") \"Hello, Dave!\")",
"end": 1314,
"score": 0.6827212572097778,
"start": 1310,
"tag": "NAME",
"value": "Dave"
},
{
"context": "World\n\n(= (#(str \"Hello, \" % \"!\")\"Dave\") \"Hello, Dave!\")",
"end"... | answers_4clojure.clj | jvcanavarro/cleitonjure | 0 | ;; minhas respostas pros problemas do 4clojure
;; http://www.4clojure.com/problems
;; 01: Nothing but the Truth
(= true true)
;; 02: Simple Math
(= (- 10 (* 2 3)) 4)
;; 03: Intro to Strings
(= "HELLO WORLD" (.toUpperCase "hello world"))
;; 04: Intro to Lists
(= (list :a :b :c) '(:a :b :c))
;; 05: conj
(= '(1... | 78628 | ;; minhas respostas pros problemas do 4clojure
;; http://www.4clojure.com/problems
;; 01: Nothing but the Truth
(= true true)
;; 02: Simple Math
(= (- 10 (* 2 3)) 4)
;; 03: Intro to Strings
(= "HELLO WORLD" (.toUpperCase "hello world"))
;; 04: Intro to Lists
(= (list :a :b :c) '(:a :b :c))
;; 05: conj
(= '(1... | true | ;; minhas respostas pros problemas do 4clojure
;; http://www.4clojure.com/problems
;; 01: Nothing but the Truth
(= true true)
;; 02: Simple Math
(= (- 10 (* 2 3)) 4)
;; 03: Intro to Strings
(= "HELLO WORLD" (.toUpperCase "hello world"))
;; 04: Intro to Lists
(= (list :a :b :c) '(:a :b :c))
;; 05: conj
(= '(1... |
[
{
"context": "(do-game\n (new-game (default-contestant [(qty \"Meru Mati\" 2)])\n (default-challenger))\n (pl",
"end": 4055,
"score": 0.9980343580245972,
"start": 4046,
"tag": "NAME",
"value": "Meru Mati"
},
{
"context": "allenger))\n (play-from-hand state :cont... | test/clj/game_test/cards/character.clj | rezwits/carncode | 15 | (ns game-test.cards.character
(:require [game.core :as core]
[game.utils :refer [has?]]
[game-test.core :refer :all]
[game-test.utils :refer :all]
[game-test.macros :refer :all]
[clojure.test :refer :all]))
(use-fixtures :once load-all-cards (partial reset-... | 88192 | (ns game-test.cards.character
(:require [game.core :as core]
[game.utils :refer [has?]]
[game-test.core :refer :all]
[game-test.utils :refer :all]
[game-test.macros :refer :all]
[clojure.test :refer :all]))
(use-fixtures :once load-all-cards (partial reset-... | true | (ns game-test.cards.character
(:require [game.core :as core]
[game.utils :refer [has?]]
[game-test.core :refer :all]
[game-test.utils :refer :all]
[game-test.macros :refer :all]
[clojure.test :refer :all]))
(use-fixtures :once load-all-cards (partial reset-... |
[
{
"context": "efn introduction []\n (println (str \"\n My name is Isla.\n Here are the stories I know:\\n\"))\n\n (write-ou",
"end": 814,
"score": 0.9997782111167908,
"start": 810,
"tag": "NAME",
"value": "Isla"
},
{
"context": "-----\\n\")\n (story-utils/output \"Hello. My name... | src/isla/cli.clj | maryrosecook/islaclj | 38 | (ns isla.cli
(:use [isla.parser])
(:use [isla.interpreter])
(:require [isla.story-utils :as story-utils])
(:require [isla.library :as library])
(:use [clojure.pprint])
(:import java.io.File)
(:require [clojure.string :as str]))
(declare repl)
(def story-dir "stories/")
(defn run-story [story-name]
(p... | 30566 | (ns isla.cli
(:use [isla.parser])
(:use [isla.interpreter])
(:require [isla.story-utils :as story-utils])
(:require [isla.library :as library])
(:use [clojure.pprint])
(:import java.io.File)
(:require [clojure.string :as str]))
(declare repl)
(def story-dir "stories/")
(defn run-story [story-name]
(p... | true | (ns isla.cli
(:use [isla.parser])
(:use [isla.interpreter])
(:require [isla.story-utils :as story-utils])
(:require [isla.library :as library])
(:use [clojure.pprint])
(:import java.io.File)
(:require [clojure.string :as str]))
(declare repl)
(def story-dir "stories/")
(defn run-story [story-name]
(p... |
[
{
"context": "ument:\n\n ```javascript\n sprite.setData({ name: 'Red Gem Stone', level: 2, owner: 'Link', gold: 50 });",
"end": 28037,
"score": 0.6493187546730042,
"start": 28034,
"tag": "NAME",
"value": "Red"
},
{
"context": "\n ```javascript\n sprite.setData({ name: 'Red Gem St... | src/phzr/game_objects/particles/particle_emitter_manager.cljs | sjcasey21/phzr | 1 | (ns phzr.game-objects.particles.particle-emitter-manager
(:require [phzr.impl.utils.core :refer [clj->phaser phaser->clj]]
[phzr.impl.extend :as ex]
[cljsjs.phaser])
(:refer-clojure :exclude [update]))
(defn ->ParticleEmitterManager
" Parameters:
* scene (Phaser.Scene) - The Scene to... | 60609 | (ns phzr.game-objects.particles.particle-emitter-manager
(:require [phzr.impl.utils.core :refer [clj->phaser phaser->clj]]
[phzr.impl.extend :as ex]
[cljsjs.phaser])
(:refer-clojure :exclude [update]))
(defn ->ParticleEmitterManager
" Parameters:
* scene (Phaser.Scene) - The Scene to... | true | (ns phzr.game-objects.particles.particle-emitter-manager
(:require [phzr.impl.utils.core :refer [clj->phaser phaser->clj]]
[phzr.impl.extend :as ex]
[cljsjs.phaser])
(:refer-clojure :exclude [update]))
(defn ->ParticleEmitterManager
" Parameters:
* scene (Phaser.Scene) - The Scene to... |
[
{
"context": "Tree\n; Date: March 17, 2016.\n; Authors:\n; A01371743 Luis Eduardo Ballinas Aguilar\n;------------------",
"end": 153,
"score": 0.987040102481842,
"start": 144,
"tag": "USERNAME",
"value": "A01371743"
},
{
"context": "e: March 17, 2016.\n; Authors:\n; ... | 4clojure/problem_95.clj | lu15v/TC2006 | 0 | ;----------------------------------------------------------
; Problem 95: To Tree, or not to Tree
; Date: March 17, 2016.
; Authors:
; A01371743 Luis Eduardo Ballinas Aguilar
;----------------------------------------------------------
(use 'clojure.test)
(def problem95
(fn
[t]
(cond
(nil? t) true
(or ... | 103931 | ;----------------------------------------------------------
; Problem 95: To Tree, or not to Tree
; Date: March 17, 2016.
; Authors:
; A01371743 <NAME>
;----------------------------------------------------------
(use 'clojure.test)
(def problem95
(fn
[t]
(cond
(nil? t) true
(or (not (coll? t)) (not= (... | true | ;----------------------------------------------------------
; Problem 95: To Tree, or not to Tree
; Date: March 17, 2016.
; Authors:
; A01371743 PI:NAME:<NAME>END_PI
;----------------------------------------------------------
(use 'clojure.test)
(def problem95
(fn
[t]
(cond
(nil? t) true
(or (not (col... |
[
{
"context": " :user \"patient_role\"\n;; :password \"patient123\"}))\n\n;; NA. NOTE\n;; - does not work? FIX. not fun",
"end": 478,
"score": 0.9994999766349792,
"start": 468,
"tag": "PASSWORD",
"value": "patient123"
},
{
"context": ":user \"patient_role\"\n;; ... | backend/src/hello_patient/core.clj | nalbarr/hello_patient_clj | 0 | (ns hello-patient.core
(:require
[next.jdbc :as jdbc]
[next.jdbc.sql :as sql]))
;[next.jdbc.result-set :as rs]))
(defn foo
"I don't do a whole lot."
[x]
(println x "Hello, World!"))
;; NA. NOTE
;; - does not work? FIX. not function definition, needed to be local def
;; (defn ds [] (jdbc/get-datasourc... | 17942 | (ns hello-patient.core
(:require
[next.jdbc :as jdbc]
[next.jdbc.sql :as sql]))
;[next.jdbc.result-set :as rs]))
(defn foo
"I don't do a whole lot."
[x]
(println x "Hello, World!"))
;; NA. NOTE
;; - does not work? FIX. not function definition, needed to be local def
;; (defn ds [] (jdbc/get-datasourc... | true | (ns hello-patient.core
(:require
[next.jdbc :as jdbc]
[next.jdbc.sql :as sql]))
;[next.jdbc.result-set :as rs]))
(defn foo
"I don't do a whole lot."
[x]
(println x "Hello, World!"))
;; NA. NOTE
;; - does not work? FIX. not function definition, needed to be local def
;; (defn ds [] (jdbc/get-datasourc... |
[
{
"context": " {:subprotocol \"mysql\"\n :subname \"//127.0.0.1:3306/b11d\"\n :user \"b11d_app\"\n ",
"end": 215,
"score": 0.9997196197509766,
"start": 206,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": " :user \"b11d_app\"\n ... | src/b11d/config.clj | KeenS/b11d | 5 | (ns b11d.config
(:import [com.mchange.v2.c3p0 ComboPooledDataSource]))
(def schema "http")
(def hostname "localhost")
(def currency "JPY")
(def mysql-db {:subprotocol "mysql"
:subname "//127.0.0.1:3306/b11d"
:user "b11d_app"
:password "blackenedgold"})
(defn winnotice-ur... | 44120 | (ns b11d.config
(:import [com.mchange.v2.c3p0 ComboPooledDataSource]))
(def schema "http")
(def hostname "localhost")
(def currency "JPY")
(def mysql-db {:subprotocol "mysql"
:subname "//127.0.0.1:3306/b11d"
:user "b11d_app"
:password "<PASSWORD>"})
(defn winnotice-url [... | true | (ns b11d.config
(:import [com.mchange.v2.c3p0 ComboPooledDataSource]))
(def schema "http")
(def hostname "localhost")
(def currency "JPY")
(def mysql-db {:subprotocol "mysql"
:subname "//127.0.0.1:3306/b11d"
:user "b11d_app"
:password "PI:PASSWORD:<PASSWORD>END_PI"})
(de... |
[
{
"context": "ts]])\n (:use tupelo.core))\n\n; https://github.com/stuartsierra/component.repl\n\n; see https://lambdaisland.com/bl",
"end": 557,
"score": 0.9995968341827393,
"start": 545,
"tag": "USERNAME",
"value": "stuartsierra"
},
{
"context": "ent\n (set! *print-length* 100)\n ... | dev/user.clj | bennoloeffler/bel-learn-lib | 0 | (ns user
(:require [clojure.java.io :as io]
[clojure.string :as str]
[clojure.pprint :refer (pprint)]
[puget.printer :refer (cprint)]
[clojure.repl :refer :all]
[clojure.test :as test]
[clojure.tools.namespace.repl :refer (refresh refresh-all cle... | 36579 | (ns user
(:require [clojure.java.io :as io]
[clojure.string :as str]
[clojure.pprint :refer (pprint)]
[puget.printer :refer (cprint)]
[clojure.repl :refer :all]
[clojure.test :as test]
[clojure.tools.namespace.repl :refer (refresh refresh-all cle... | true | (ns user
(:require [clojure.java.io :as io]
[clojure.string :as str]
[clojure.pprint :refer (pprint)]
[puget.printer :refer (cprint)]
[clojure.repl :refer :all]
[clojure.test :as test]
[clojure.tools.namespace.repl :refer (refresh refresh-all cle... |
[
{
"context": " :token \"token.localtest.me\"\n ",
"end": 2851,
"score": 0.733034074306488,
"start": 2836,
"tag": "KEY",
"value": "token.localtest"
},
{
"context": " :token \... | waiter/test/waiter/handler_test.clj | twosigma/waiter | 76 | ;;
;; Copyright (c) Two Sigma Open Source, LLC
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or... | 69294 | ;;
;; 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": "set client\n (redis/password-reset-key \"brad-reset-token\")\n {:user/email-address \"brad",
"end": 556,
"score": 0.5522029399871826,
"start": 553,
"tag": "KEY",
"value": "ad-"
},
{
"context": "rad-reset-token\")\n {:user/email-address \"brad@... | test/server/com/grzm/sorty/server/test/system.clj | grzm/sorty | 0 | (ns com.grzm.sorty.server.test.system
(:require
[com.grzm.component.pedestal :as pedestal]
[com.grzm.sorty.server.config :as config]
[com.grzm.sorty.server.app :as app]
[com.stuartsierra.component :as component]
[com.grzm.sorty.server.api :as api]
[com.grzm.sorty.server.persistor :as persistor... | 123998 | (ns com.grzm.sorty.server.test.system
(:require
[com.grzm.component.pedestal :as pedestal]
[com.grzm.sorty.server.config :as config]
[com.grzm.sorty.server.app :as app]
[com.stuartsierra.component :as component]
[com.grzm.sorty.server.api :as api]
[com.grzm.sorty.server.persistor :as persistor... | true | (ns com.grzm.sorty.server.test.system
(:require
[com.grzm.component.pedestal :as pedestal]
[com.grzm.sorty.server.config :as config]
[com.grzm.sorty.server.app :as app]
[com.stuartsierra.component :as component]
[com.grzm.sorty.server.api :as api]
[com.grzm.sorty.server.persistor :as persistor... |
[
{
"context": "-family-tree.utils.data)\n\n(def members\n [{:name \"André\" :family \"Troncy\" :generation 1 :s",
"end": 62,
"score": 0.9998208284378052,
"start": 57,
"tag": "NAME",
"value": "André"
},
{
"context": "od-line true :birth 1859 :death 1931}\n {:name \"F... | src/the_family_tree/utils/data.cljs | kgxsz/the-family-tree | 3 | (ns the-family-tree.utils.data)
(def members
[{:name "André" :family "Troncy" :generation 1 :sex "male" :blood-line true :birth 1859 :death 1931}
{:name "Francine" :family "Valli" :generation 1 :sex "female" :blood-line false :birth 1872 :death 1954}
{:name "Charles" :fam... | 84298 | (ns the-family-tree.utils.data)
(def members
[{:name "<NAME>" :family "Troncy" :generation 1 :sex "male" :blood-line true :birth 1859 :death 1931}
{:name "<NAME>" :family "Valli" :generation 1 :sex "female" :blood-line false :birth 1872 :death 1954}
{:name "<NAME>" :famil... | true | (ns the-family-tree.utils.data)
(def members
[{:name "PI:NAME:<NAME>END_PI" :family "Troncy" :generation 1 :sex "male" :blood-line true :birth 1859 :death 1931}
{:name "PI:NAME:<NAME>END_PI" :family "Valli" :generation 1 :sex "female" :blood-line false :birth 1872 :death 1954}
{:... |
[
{
"context": "-new-stock-exchange [\"A\" \"B\" \"C\"])))))\n (is (= [\"Alice\" \"Bob\"]\n (sort\n (keys\n ",
"end": 530,
"score": 0.9995748400688171,
"start": 525,
"tag": "NAME",
"value": "Alice"
},
{
"context": "ck-exchange [\"A\" \"B\" \"C\"])))))\n (is ... | test/starlanes/finance/stock_test.clj | oubiwann/clj-starlanes | 1 | (ns starlanes.finance.stock-test
(:require [clojure.test :refer :all]
[starlanes.finance.stock :as stock]
[starlanes.util :as util]))
(deftest test-get-new-exchange
(is (= [:A]
(sort
(keys
(stock/get-new-stock-exchange ["A"])))))
(is (= [:A :B]
(... | 95419 | (ns starlanes.finance.stock-test
(:require [clojure.test :refer :all]
[starlanes.finance.stock :as stock]
[starlanes.util :as util]))
(deftest test-get-new-exchange
(is (= [:A]
(sort
(keys
(stock/get-new-stock-exchange ["A"])))))
(is (= [:A :B]
(... | true | (ns starlanes.finance.stock-test
(:require [clojure.test :refer :all]
[starlanes.finance.stock :as stock]
[starlanes.util :as util]))
(deftest test-get-new-exchange
(is (= [:A]
(sort
(keys
(stock/get-new-stock-exchange ["A"])))))
(is (= [:A :B]
(... |
[
{
"context": " [:> ui/Field\n [:> ui/Label \"Full Name\"]\n [:> ui/Control\n ",
"end": 1574,
"score": 0.9431635141372681,
"start": 1565,
"tag": "NAME",
"value": "Full Name"
},
{
"context": " :placeh... | storefront/src/redis_streams_clj/storefront/ui/views.cljs | bobby/redisconf19-demo | 26 | (ns redis-streams-clj.storefront.ui.views
(:require [goog.string :as gstring]
[goog.string.format]
[reagent.core :as reagent]
[re-frame.core :as re-frame]
[redis-streams-clj.storefront.ui.routes :as routes]
[redis-streams-clj.storefront.ui.subs :as subs]
... | 7881 | (ns redis-streams-clj.storefront.ui.views
(:require [goog.string :as gstring]
[goog.string.format]
[reagent.core :as reagent]
[re-frame.core :as re-frame]
[redis-streams-clj.storefront.ui.routes :as routes]
[redis-streams-clj.storefront.ui.subs :as subs]
... | true | (ns redis-streams-clj.storefront.ui.views
(:require [goog.string :as gstring]
[goog.string.format]
[reagent.core :as reagent]
[re-frame.core :as re-frame]
[redis-streams-clj.storefront.ui.routes :as routes]
[redis-streams-clj.storefront.ui.subs :as subs]
... |
[
{
"context": "\" :secondname \"jones\"}) \"firstname=bob&secondname=jones\"))))\n\n(deftest regional-proxy?-test\n (testing \"r",
"end": 1641,
"score": 0.9990347623825073,
"start": 1636,
"tag": "NAME",
"value": "jones"
}
] | test/blitzcrank/util_test.clj | elken/lol-api | 0 | (ns blitzcrank.util-test
(:require [clojure.test :refer :all]
[blitzcrank.util :refer :all]))
(def ^{:private true} complex-map {:first-parent {:first-child "first-value"
:second-child "second-value"
:... | 55112 | (ns blitzcrank.util-test
(:require [clojure.test :refer :all]
[blitzcrank.util :refer :all]))
(def ^{:private true} complex-map {:first-parent {:first-child "first-value"
:second-child "second-value"
:... | true | (ns blitzcrank.util-test
(:require [clojure.test :refer :all]
[blitzcrank.util :refer :all]))
(def ^{:private true} complex-map {:first-parent {:first-child "first-value"
:second-child "second-value"
:... |
[
{
"context": "(ns ^{:author \"Seth\"} forex.backend.mql.utils \n (:use forex.util.ge",
"end": 19,
"score": 0.9916080236434937,
"start": 15,
"tag": "NAME",
"value": "Seth"
}
] | src/forex/backend/mql/utils.clj | Storkle/clj-forex | 16 | (ns ^{:author "Seth"} forex.backend.mql.utils
(:use forex.util.general)
(:import (java.io DataInputStream ByteArrayInputStream))
(:use forex.util.log))
(defonce *msg-id* (atom 0))
(defn msg-id
"Generate a new message id string."
[]
(str (swap! *msg-id* inc)))
(defn parse-int
"Convert string to inte... | 115076 | (ns ^{:author "<NAME>"} forex.backend.mql.utils
(:use forex.util.general)
(:import (java.io DataInputStream ByteArrayInputStream))
(:use forex.util.log))
(defonce *msg-id* (atom 0))
(defn msg-id
"Generate a new message id string."
[]
(str (swap! *msg-id* inc)))
(defn parse-int
"Convert string to in... | true | (ns ^{:author "PI:NAME:<NAME>END_PI"} forex.backend.mql.utils
(:use forex.util.general)
(:import (java.io DataInputStream ByteArrayInputStream))
(:use forex.util.log))
(defonce *msg-id* (atom 0))
(defn msg-id
"Generate a new message id string."
[]
(str (swap! *msg-id* inc)))
(defn parse-int
"Conver... |
[
{
"context": " :email \"me@nail.com\"})))]\n (is (= (:status response) 200))\n ",
"end": 595,
"score": 0.9999201893806458,
"start": 584,
"tag": "EMAIL",
"value": "me@nail.com"
},
{
"context": " (mock/json-body ... | identity/test/identity/handler_test.clj | raymondpoling/rerun-tv | 0 | (ns identity.handler-test
(:require [clojure.test :refer [deftest is testing]]
[ring.mock.request :as mock]
[db.db :refer [initialize]]
[identity.test-db :refer [create-h2-mem-tables]]
[identity.handler :refer [app]]
[cheshire.core :refer [parse-string]]))
... | 28559 | (ns identity.handler-test
(:require [clojure.test :refer [deftest is testing]]
[ring.mock.request :as mock]
[db.db :refer [initialize]]
[identity.test-db :refer [create-h2-mem-tables]]
[identity.handler :refer [app]]
[cheshire.core :refer [parse-string]]))
... | true | (ns identity.handler-test
(:require [clojure.test :refer [deftest is testing]]
[ring.mock.request :as mock]
[db.db :refer [initialize]]
[identity.test-db :refer [create-h2-mem-tables]]
[identity.handler :refer [app]]
[cheshire.core :refer [parse-string]]))
... |
[
{
"context": "sageHeader (@tr [:success])]\n [:p (@tr [@success-message])]])\n\n [ui/Form\n [ui/FormInput",
"end": 3142,
"score": 0.8918588161468506,
"start": 3125,
"tag": "USERNAME",
"value": "[@success-message"
},
{
"context": " ... | code/src/cljs/sixsq/nuvla/ui/session/views.cljs | nuvla/ui | 8 | (ns sixsq.nuvla.ui.session.views
(:require
[clojure.spec.alpha :as s]
[clojure.string :as str]
[form-validator.core :as fv]
[re-frame.core :refer [dispatch subscribe]]
[sixsq.nuvla.ui.cimi-api.effects :as cimi-api-fx]
[sixsq.nuvla.ui.config :as config]
[sixsq.nuvla.ui.history.events :as hi... | 92577 | (ns sixsq.nuvla.ui.session.views
(:require
[clojure.spec.alpha :as s]
[clojure.string :as str]
[form-validator.core :as fv]
[re-frame.core :refer [dispatch subscribe]]
[sixsq.nuvla.ui.cimi-api.effects :as cimi-api-fx]
[sixsq.nuvla.ui.config :as config]
[sixsq.nuvla.ui.history.events :as hi... | true | (ns sixsq.nuvla.ui.session.views
(:require
[clojure.spec.alpha :as s]
[clojure.string :as str]
[form-validator.core :as fv]
[re-frame.core :refer [dispatch subscribe]]
[sixsq.nuvla.ui.cimi-api.effects :as cimi-api-fx]
[sixsq.nuvla.ui.config :as config]
[sixsq.nuvla.ui.history.events :as hi... |
[
{
"context": " :value [[0 0 0 0]]}}}}\n \"Würfel\" {\"Würfel\"\n {:points (let [a 20 b -",
"end": 569,
"score": 0.5961493849754333,
"start": 565,
"tag": "NAME",
"value": "Würf"
},
{
"context": " :value [[0 0 0 0]]}}}}\n \"Würfel\" {\"... | src/cljs/drawer/scenes.cljs | maxi-k/drawer | 0 | (ns drawer.scenes
(:require [drawer.api :as api]
[drawer.geometry :as g]
[drawer.math :as math]
[drawer.lang :as lang]))
(def seminar-scenes
"The scenes used for the seminary work."
{"Punkt" {"Punkt"
{:points [[20 20 0 0]]
:rotation {:active true
... | 115541 | (ns drawer.scenes
(:require [drawer.api :as api]
[drawer.geometry :as g]
[drawer.math :as math]
[drawer.lang :as lang]))
(def seminar-scenes
"The scenes used for the seminary work."
{"Punkt" {"Punkt"
{:points [[20 20 0 0]]
:rotation {:active true
... | true | (ns drawer.scenes
(:require [drawer.api :as api]
[drawer.geometry :as g]
[drawer.math :as math]
[drawer.lang :as lang]))
(def seminar-scenes
"The scenes used for the seminary work."
{"Punkt" {"Punkt"
{:points [[20 20 0 0]]
:rotation {:active true
... |
[
{
"context": "\n :trailers {\"Meta\" \"test\"}\n :body {:key \"clojure is awesome\"}})\n\n(defn- echo-params [{{:keys [content]} :para",
"end": 1589,
"score": 0.9404212832450867,
"start": 1571,
"tag": "KEY",
"value": "clojure is awesome"
},
{
"context": " ... | test/test/protojure/pedestal_test.clj | gitslim/lib | 0 | ;; Copyright © 2019 State Street Bank and Trust Company. All rights reserved
;; Copyright © 2019-2022 Manetu, Inc. All rights reserved
;;
;; SPDX-License-Identifier: Apache-2.0
(ns protojure.pedestal-test
(:require [clojure.test :refer :all]
[clojure.core.async :as async :refer [go >! <!! >!!]]
... | 75464 | ;; Copyright © 2019 State Street Bank and Trust Company. All rights reserved
;; Copyright © 2019-2022 Manetu, Inc. All rights reserved
;;
;; SPDX-License-Identifier: Apache-2.0
(ns protojure.pedestal-test
(:require [clojure.test :refer :all]
[clojure.core.async :as async :refer [go >! <!! >!!]]
... | true | ;; Copyright © 2019 State Street Bank and Trust Company. All rights reserved
;; Copyright © 2019-2022 Manetu, Inc. All rights reserved
;;
;; SPDX-License-Identifier: Apache-2.0
(ns protojure.pedestal-test
(:require [clojure.test :refer :all]
[clojure.core.async :as async :refer [go >! <!! >!!]]
... |
[
{
"context": "ubprotocol \"postgresql\"\n :subname \"//127.0.0.1:5432/pgtest\"\n :user \"pgtest\"\n ",
"end": 354,
"score": 0.9983068108558655,
"start": 345,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": " :user \"pgtest\"\n ... | test/pgqueue/core_test.clj | tomjkidd/pgqueue | 70 | (ns pgqueue.core-test
(:require [clojure.test :refer :all]
[pgqueue.core :as pgq]
[pgqueue.serializer.nippy :as nippy-serializer]
[pgqueue.serializer.fressian :as fressian-serializer]);
(:import [pgqueue.core PGQueue PGQueueLockedItem]))
(def db-spec {:subprotocol "postgresql"
... | 41654 | (ns pgqueue.core-test
(:require [clojure.test :refer :all]
[pgqueue.core :as pgq]
[pgqueue.serializer.nippy :as nippy-serializer]
[pgqueue.serializer.fressian :as fressian-serializer]);
(:import [pgqueue.core PGQueue PGQueueLockedItem]))
(def db-spec {:subprotocol "postgresql"
... | true | (ns pgqueue.core-test
(:require [clojure.test :refer :all]
[pgqueue.core :as pgq]
[pgqueue.serializer.nippy :as nippy-serializer]
[pgqueue.serializer.fressian :as fressian-serializer]);
(:import [pgqueue.core PGQueue PGQueueLockedItem]))
(def db-spec {:subprotocol "postgresql"
... |
[
{
"context": ";;; Copyright 2019 Mitchell Kember. Subject to the MIT License.\n\n(ns twenty48.ui\n (",
"end": 34,
"score": 0.9998891949653625,
"start": 19,
"tag": "NAME",
"value": "Mitchell Kember"
}
] | src/twenty48/ui.clj | mk12/twenty48 | 0 | ;;; Copyright 2019 Mitchell Kember. Subject to the MIT License.
(ns twenty48.ui
(:require [clojure.java.io :as io]
[seesaw.core :as s]
[seesaw.icon :as i]
[twenty48.common :as c]))
;;;;; Frame and views
(defn frame
"Creates the application's one and only frame."
[env]
(s/f... | 103713 | ;;; Copyright 2019 <NAME>. Subject to the MIT License.
(ns twenty48.ui
(:require [clojure.java.io :as io]
[seesaw.core :as s]
[seesaw.icon :as i]
[twenty48.common :as c]))
;;;;; Frame and views
(defn frame
"Creates the application's one and only frame."
[env]
(s/frame :tit... | true | ;;; Copyright 2019 PI:NAME:<NAME>END_PI. Subject to the MIT License.
(ns twenty48.ui
(:require [clojure.java.io :as io]
[seesaw.core :as s]
[seesaw.icon :as i]
[twenty48.common :as c]))
;;;;; Frame and views
(defn frame
"Creates the application's one and only frame."
[env]
... |
[
{
"context": "; Copyright 2016-2019 Peter Schwarz\n;\n; Licensed under the Apache License, Version 2.",
"end": 35,
"score": 0.9998196363449097,
"start": 22,
"tag": "NAME",
"value": "Peter Schwarz"
}
] | test/virtua/core_test.cljs | peterschwarz/virtua | 4 | ; Copyright 2016-2019 Peter Schwarz
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in wr... | 80151 | ; Copyright 2016-2019 <NAME>
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writing, ... | true | ; Copyright 2016-2019 PI:NAME:<NAME>END_PI
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed t... |
[
{
"context": "rasta), :common_name \"Rasta Toucan\", :first_name \"Rasta\", :last_name \"Toucan\"}))\n\n(defn- get-revisions [e",
"end": 855,
"score": 0.996330976486206,
"start": 850,
"tag": "NAME",
"value": "Rasta"
},
{
"context": " \"Rasta Toucan\", :first_name \"Rasta\", :last_nam... | c#-metabase/test/metabase/api/revision_test.clj | hanakhry/Crime_Admin | 0 | (ns metabase.api.revision-test
(:require [clojure.test :refer :all]
[metabase.models.card :refer [Card serialize-instance]]
[metabase.models.collection :refer [Collection]]
[metabase.models.dashboard :refer [Dashboard]]
[metabase.models.dashboard-card :refer [DashboardC... | 41927 | (ns metabase.api.revision-test
(:require [clojure.test :refer :all]
[metabase.models.card :refer [Card serialize-instance]]
[metabase.models.collection :refer [Collection]]
[metabase.models.dashboard :refer [Dashboard]]
[metabase.models.dashboard-card :refer [DashboardC... | true | (ns metabase.api.revision-test
(:require [clojure.test :refer :all]
[metabase.models.card :refer [Card serialize-instance]]
[metabase.models.collection :refer [Collection]]
[metabase.models.dashboard :refer [Dashboard]]
[metabase.models.dashboard-card :refer [DashboardC... |
[
{
"context": "rs\"\n {:body (pr-str {:first_name \"Boris\"\n :surname \"Be",
"end": 348,
"score": 0.9998217821121216,
"start": 343,
"tag": "NAME",
"value": "Boris"
},
{
"context": "is\"\n :surname \... | Chapter14/Exercise14.06/src/packt_clj/exercises/application_layer_integration.clj | transducer/The-Clojure-Workshop | 55 | (ns packt-clj.exercises.application-layer-integration
(:require
[clj-http.client :as http]
[packt-clj.fitness.api :as api]))
; commented out to avoid spinning up a jetty server on compilation
#_(def app (api/run))
(defn add-new-user
[]
(-> (http/post "http://localhost:8080/users"
{:body... | 94304 | (ns packt-clj.exercises.application-layer-integration
(:require
[clj-http.client :as http]
[packt-clj.fitness.api :as api]))
; commented out to avoid spinning up a jetty server on compilation
#_(def app (api/run))
(defn add-new-user
[]
(-> (http/post "http://localhost:8080/users"
{:body... | true | (ns packt-clj.exercises.application-layer-integration
(:require
[clj-http.client :as http]
[packt-clj.fitness.api :as api]))
; commented out to avoid spinning up a jetty server on compilation
#_(def app (api/run))
(defn add-new-user
[]
(-> (http/post "http://localhost:8080/users"
{:body... |
[
{
"context": "rl)\n (http/post {:username username :password password})))\n\n(defn register\n [username password]\n (-> \"",
"end": 293,
"score": 0.8767145872116089,
"start": 285,
"tag": "PASSWORD",
"value": "password"
}
] | src/baoqu/api.cljs | baoqu/baoqu-front | 4 | (ns baoqu.api
(:require [baoqu.http :as http]
[baoqu.utils :refer [->url]]))
(enable-console-print!)
;;--------------------
;; USER
;;--------------------
(defn login
[username password]
(-> "/api/login"
(->url)
(http/post {:username username :password password})))
(defn register
[use... | 8271 | (ns baoqu.api
(:require [baoqu.http :as http]
[baoqu.utils :refer [->url]]))
(enable-console-print!)
;;--------------------
;; USER
;;--------------------
(defn login
[username password]
(-> "/api/login"
(->url)
(http/post {:username username :password <PASSWORD>})))
(defn register
[u... | true | (ns baoqu.api
(:require [baoqu.http :as http]
[baoqu.utils :refer [->url]]))
(enable-console-print!)
;;--------------------
;; USER
;;--------------------
(defn login
[username password]
(-> "/api/login"
(->url)
(http/post {:username username :password PI:PASSWORD:<PASSWORD>END_PI})))
(... |
[
{
"context": "defs [session/random-anti-csrf-token (constantly \"315c1279c6f9f873bf1face7afeee420\")]\n (is (= {:id \"092797dd-a82",
"end": 1443,
"score": 0.9882809519767761,
"start": 1411,
"tag": "KEY",
"value": "315c1279c6f9f873bf1face7afeee420"
},
{
"context": ... | c#-metabase/test/metabase/models/session_test.clj | hanakhry/Crime_Admin | 0 | (ns metabase.models.session-test
(:require [clojure.test :refer :all]
[metabase.models.session :as session :refer [Session]]
[metabase.server.middleware.misc :as mw.misc]
[metabase.test :as mt]
[toucan.db :as db]
[toucan.models :as t.models]))
(def ^:privat... | 123217 | (ns metabase.models.session-test
(:require [clojure.test :refer :all]
[metabase.models.session :as session :refer [Session]]
[metabase.server.middleware.misc :as mw.misc]
[metabase.test :as mt]
[toucan.db :as db]
[toucan.models :as t.models]))
(def ^:privat... | true | (ns metabase.models.session-test
(:require [clojure.test :refer :all]
[metabase.models.session :as session :refer [Session]]
[metabase.server.middleware.misc :as mw.misc]
[metabase.test :as mt]
[toucan.db :as db]
[toucan.models :as t.models]))
(def ^:privat... |
[
{
"context": "lient\n []\n (salt/client {::s/master-url \"http://192.168.50.10:8000\"\n ::s/username \"saltapi\"\n ",
"end": 261,
"score": 0.9830542802810669,
"start": 248,
"tag": "IP_ADDRESS",
"value": "192.168.50.10"
},
{
"context": "192.168.50.10:8000\"\n ... | examples/samples.clj | mkurtak/clj-salt-api | 9 | (ns samples
(:require [clojure.core.async :as a]
[salt.client :as salt]
[salt.core :as s]
[samples-utils :refer [print-and-close throw-err]]))
(defn- example-client
[]
(salt/client {::s/master-url "http://192.168.50.10:8000"
::s/username "saltapi"
... | 45796 | (ns samples
(:require [clojure.core.async :as a]
[salt.client :as salt]
[salt.core :as s]
[samples-utils :refer [print-and-close throw-err]]))
(defn- example-client
[]
(salt/client {::s/master-url "http://192.168.50.10:8000"
::s/username "saltapi"
... | true | (ns samples
(:require [clojure.core.async :as a]
[salt.client :as salt]
[salt.core :as s]
[samples-utils :refer [print-and-close throw-err]]))
(defn- example-client
[]
(salt/client {::s/master-url "http://192.168.50.10:8000"
::s/username "saltapi"
... |
[
{
"context": "Each game is recorded as a hash-map, e.g.\n {:b \\\"Alice\\\" :w \\\"Bob\\\" :r \\\"b+1.5\\\"}.\n K - the factor for ",
"end": 406,
"score": 0.9996517896652222,
"start": 401,
"tag": "NAME",
"value": "Alice"
},
{
"context": "recorded as a hash-map, e.g.\n {:b \\\"Alic... | src/lgo/league.clj | egri-nagy/lambdago | 2 | (ns lgo.league
"Function for managing a league. Calculating updates in ranking for players."
(:require [lgo.elo :refer [rating-adjustment EA]]
[lgo.stats :refer [mean]]))
(defn process-games
"Batch processing game results. Games should be stored in a sequence.
The players' database is a hash-map of... | 27180 | (ns lgo.league
"Function for managing a league. Calculating updates in ranking for players."
(:require [lgo.elo :refer [rating-adjustment EA]]
[lgo.stats :refer [mean]]))
(defn process-games
"Batch processing game results. Games should be stored in a sequence.
The players' database is a hash-map of... | true | (ns lgo.league
"Function for managing a league. Calculating updates in ranking for players."
(:require [lgo.elo :refer [rating-adjustment EA]]
[lgo.stats :refer [mean]]))
(defn process-games
"Batch processing game results. Games should be stored in a sequence.
The players' database is a hash-map of... |
[
{
"context": "Linear Temporal Logic\n\n; Copyright (c) 2016 - 2017 Burkhardt Renz, THM. All rights reserved.\n; The use and distribu",
"end": 90,
"score": 0.9998689293861389,
"start": 76,
"tag": "NAME",
"value": "Burkhardt Renz"
}
] | src/lwb/ltl.clj | esb-lwb/lwb | 22 | ; lwb Logic WorkBench -- Linear Temporal Logic
; Copyright (c) 2016 - 2017 Burkhardt Renz, THM. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php).
; By using this software in any fashion, you are agre... | 122021 | ; lwb Logic WorkBench -- Linear Temporal Logic
; Copyright (c) 2016 - 2017 <NAME>, THM. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php).
; By using this software in any fashion, you are agreeing to ... | true | ; lwb Logic WorkBench -- Linear Temporal Logic
; Copyright (c) 2016 - 2017 PI:NAME:<NAME>END_PI, THM. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php).
; By using this software in any fashion, you ar... |
[
{
"context": " (r/atom (core/start-game (core/init-game-state [\"Allan\" \"Adi\" \"Quan\" \"Lucy\"]))))\n\n(defn play-move [card]",
"end": 194,
"score": 0.9996907114982605,
"start": 189,
"tag": "NAME",
"value": "Allan"
},
{
"context": " (core/start-game (core/init-game-state [\"Allan... | src/hearts/view.cljs | jiangts/hearts-clojure | 0 | (ns hearts.view
(:require
[reagent.core :as r]
[hearts.utils :as utils :refer [spy]]
[hearts.core :as core]))
(defonce state (r/atom (core/start-game (core/init-game-state ["Allan" "Adi" "Quan" "Lucy"]))))
(defn play-move [card]
(try
(doto state
(swap! core/play-turn card)
(swap! disso... | 114786 | (ns hearts.view
(:require
[reagent.core :as r]
[hearts.utils :as utils :refer [spy]]
[hearts.core :as core]))
(defonce state (r/atom (core/start-game (core/init-game-state ["<NAME>" "<NAME>" "<NAME>" "<NAME>"]))))
(defn play-move [card]
(try
(doto state
(swap! core/play-turn card)
(swa... | true | (ns hearts.view
(:require
[reagent.core :as r]
[hearts.utils :as utils :refer [spy]]
[hearts.core :as core]))
(defonce state (r/atom (core/start-game (core/init-game-state ["PI:NAME:<NAME>END_PI" "PI:NAME:<NAME>END_PI" "PI:NAME:<NAME>END_PI" "PI:NAME:<NAME>END_PI"]))))
(defn play-move [card]
(try
... |
[
{
"context": "masq instance expected to be available at https://192.168.1.10:8444\"\n (:require \n [re-core.persistency.syste",
"end": 118,
"score": 0.9996476769447327,
"start": 106,
"tag": "IP_ADDRESS",
"value": "192.168.1.10"
},
{
"context": "(def conf {\n :domain \"local\" :... | test/re_core/integration/hooks.clj | celestial-ops/core | 1 | (ns re-core.integration.hooks
"Updating an actual tinymasq instance expected to be available at https://192.168.1.10:8444"
(:require
[re-core.persistency.systems :as s]
[re-core.fixtures.populate :refer (populate-all)]
[re-core.security :refer (set-user)]
[re-core.fixtures.core :refer (with-default... | 16907 | (ns re-core.integration.hooks
"Updating an actual tinymasq instance expected to be available at https://192.168.1.10:8444"
(:require
[re-core.persistency.systems :as s]
[re-core.fixtures.populate :refer (populate-all)]
[re-core.security :refer (set-user)]
[re-core.fixtures.core :refer (with-default... | true | (ns re-core.integration.hooks
"Updating an actual tinymasq instance expected to be available at https://192.168.1.10:8444"
(:require
[re-core.persistency.systems :as s]
[re-core.fixtures.populate :refer (populate-all)]
[re-core.security :refer (set-user)]
[re-core.fixtures.core :refer (with-default... |
[
{
"context": "========================\n; Copyright (C) 2017-2022 Radislav (Radicchio) Golubtsov\n;\n; (See the LICENSE file at the top of",
"end": 560,
"score": 0.9740314483642578,
"start": 541,
"tag": "NAME",
"value": "Radislav (Radicchio"
},
{
"context": "===\n; Copyright (C) 2017... | src/clojure/srcs/dnsresolvd.clj | rgolubtsov/dnsresolvd-multilang | 2 | ;
; src/clojure/src/dnsresolvd.clj
; =============================================================================
; DNS Resolver Daemon (dnsresolvd). Version 0.9.9
; =============================================================================
; A daemon that performs DNS lookups for the given hostname
; passed in an ... | 105104 | ;
; src/clojure/src/dnsresolvd.clj
; =============================================================================
; DNS Resolver Daemon (dnsresolvd). Version 0.9.9
; =============================================================================
; A daemon that performs DNS lookups for the given hostname
; passed in an ... | true | ;
; src/clojure/src/dnsresolvd.clj
; =============================================================================
; DNS Resolver Daemon (dnsresolvd). Version 0.9.9
; =============================================================================
; A daemon that performs DNS lookups for the given hostname
; passed in an ... |
[
{
"context": " (str \":@\" db-host \"/\" db-name)\n :user \"scott\"\n :password \"tiger\"})\n\n (with-connecti",
"end": 1618,
"score": 0.9985711574554443,
"start": 1613,
"tag": "USERNAME",
"value": "scott"
},
{
"context": "e)\n :user \"scott\"\n ... | oracle/clojure/create/oracle_create.clj | ekzemplaro/data_base_language | 3 | ; -----------------------------------------------------------------
;
; oracle_create.clj
;
; Sep/29/2010
;
; -----------------------------------------------------------------
(import '(java.util Date))
(import '(java.text SimpleDateFormat))
(use 'clojure.contrib.sql)
(use '[clojure.contrib.str-utils :only (str-joi... | 94256 | ; -----------------------------------------------------------------
;
; oracle_create.clj
;
; Sep/29/2010
;
; -----------------------------------------------------------------
(import '(java.util Date))
(import '(java.text SimpleDateFormat))
(use 'clojure.contrib.sql)
(use '[clojure.contrib.str-utils :only (str-joi... | true | ; -----------------------------------------------------------------
;
; oracle_create.clj
;
; Sep/29/2010
;
; -----------------------------------------------------------------
(import '(java.util Date))
(import '(java.text SimpleDateFormat))
(use 'clojure.contrib.sql)
(use '[clojure.contrib.str-utils :only (str-joi... |
[
{
"context": "ion \"osi core library\"\n :url \"https://github.com/optimis/osi-clj.git\"\n :license {:name \"MIT\"\n ",
"end": 93,
"score": 0.9242019057273865,
"start": 86,
"tag": "USERNAME",
"value": "optimis"
},
{
"context": "o\"\n :us... | osi/project.clj | optimis/osi-clj | 1 | (defproject osi "2.0.14"
:description "osi core library"
:url "https://github.com/optimis/osi-clj.git"
:license {:name "MIT"
:url "https://opensource.org/licenses/MIT"}
:repositories {"my.datomic.com" {:url "https://my.datomic.com/repo"
:username ["uchouhan@optimis... | 122834 | (defproject osi "2.0.14"
:description "osi core library"
:url "https://github.com/optimis/osi-clj.git"
:license {:name "MIT"
:url "https://opensource.org/licenses/MIT"}
:repositories {"my.datomic.com" {:url "https://my.datomic.com/repo"
:username ["<EMAIL>"]
... | true | (defproject osi "2.0.14"
:description "osi core library"
:url "https://github.com/optimis/osi-clj.git"
:license {:name "MIT"
:url "https://opensource.org/licenses/MIT"}
:repositories {"my.datomic.com" {:url "https://my.datomic.com/repo"
:username ["PI:EMAIL:<EMAIL>... |
[
{
"context": ";; Copyright 2014-2020 King\n;; Copyright 2009-2014 Ragnar Svensson, Christian Murray\n;; Licensed under the Defold Li",
"end": 111,
"score": 0.9998054504394531,
"start": 96,
"tag": "NAME",
"value": "Ragnar Svensson"
},
{
"context": "-2020 King\n;; Copyright 2009-2014 R... | editor/src/clj/internal/history.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... | 52442 | ;; 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": " :name \"New Field\"\n ",
"end": 11329,
"score": 0.8845450282096863,
"start": 11326,
"tag": "NAME",
"value": "New"
}
] | c#-metabase/test/metabase/models/on_demand_test.clj | hanakhry/Crime_Admin | 0 | (ns metabase.models.on-demand-test
"Tests for On-Demand FieldValues updating behavior for Cards and Dashboards."
(:require [clojure.test :refer :all]
[metabase.models.card :refer [Card]]
[metabase.models.dashboard :as dashboard :refer [Dashboard]]
[metabase.models.database :refer... | 32120 | (ns metabase.models.on-demand-test
"Tests for On-Demand FieldValues updating behavior for Cards and Dashboards."
(:require [clojure.test :refer :all]
[metabase.models.card :refer [Card]]
[metabase.models.dashboard :as dashboard :refer [Dashboard]]
[metabase.models.database :refer... | true | (ns metabase.models.on-demand-test
"Tests for On-Demand FieldValues updating behavior for Cards and Dashboards."
(:require [clojure.test :refer :all]
[metabase.models.card :refer [Card]]
[metabase.models.dashboard :as dashboard :refer [Dashboard]]
[metabase.models.database :refer... |
[
{
"context": "g {:req #(and (character? %) (revealed? %))}}\n \"Bill the Pony\"\n {:hosting {:req #(and (character? %) (reveale",
"end": 634,
"score": 0.7958345413208008,
"start": 621,
"tag": "NAME",
"value": "Bill the Pony"
},
{
"context": " #(and (character? %) (revealed? %))}}... | src/clj/game/cards/allies.clj | rezwits/carncode | 15 | (ns game.cards.allies
(:require [game.core :refer :all]
[game.utils :refer :all]
[game.macros :refer [effect req msg wait-for continue-ability]]
[clojure.string :refer [split-lines split join lower-case includes? starts-with?]]
[clojure.stacktrace :refer [print-stack-tr... | 3645 | (ns game.cards.allies
(:require [game.core :refer :all]
[game.utils :refer :all]
[game.macros :refer [effect req msg wait-for continue-ability]]
[clojure.string :refer [split-lines split join lower-case includes? starts-with?]]
[clojure.stacktrace :refer [print-stack-tr... | true | (ns game.cards.allies
(:require [game.core :refer :all]
[game.utils :refer :all]
[game.macros :refer [effect req msg wait-for continue-ability]]
[clojure.string :refer [split-lines split join lower-case includes? starts-with?]]
[clojure.stacktrace :refer [print-stack-tr... |
[
{
"context": "\n [:label {:for \"password\"} \"Password\"]\n [:input\n ",
"end": 1696,
"score": 0.6944930553436279,
"start": 1688,
"tag": "PASSWORD",
"value": "Password"
},
{
"context": " {:id \"password\"\n ... | src/dashboard_cljs/login.cljs | Purple-Services/dashboard-cljs | 6 | (ns dashboard-cljs.login
(:require [crate.core :as crate]
[dashboard-cljs.xhr :refer [retrieve-url xhrio-wrapper]]
[dashboard-cljs.cookies :as cookies]
[dashboard-cljs.utils :refer [base-url]]))
(defn process-login
"Process the response used when logging in"
[response]
(let ... | 94711 | (ns dashboard-cljs.login
(:require [crate.core :as crate]
[dashboard-cljs.xhr :refer [retrieve-url xhrio-wrapper]]
[dashboard-cljs.cookies :as cookies]
[dashboard-cljs.utils :refer [base-url]]))
(defn process-login
"Process the response used when logging in"
[response]
(let ... | true | (ns dashboard-cljs.login
(:require [crate.core :as crate]
[dashboard-cljs.xhr :refer [retrieve-url xhrio-wrapper]]
[dashboard-cljs.cookies :as cookies]
[dashboard-cljs.utils :refer [base-url]]))
(defn process-login
"Process the response used when logging in"
[response]
(let ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.