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": "esentation of time for the server\"\n :author \"Sam Aaron\"}\n overtone.sc.clock\n (:use [overtone.sc sy",
"end": 81,
"score": 0.999884307384491,
"start": 72,
"tag": "NAME",
"value": "Sam Aaron"
}
] | src/overtone/sc/clock.clj | ABaldwinHunter/overtone | 3,870 | (ns
^{:doc "A representation of time for the server"
:author "Sam Aaron"}
overtone.sc.clock
(:use [overtone.sc synth ugens node bus server info foundation-groups]
[overtone.libs deps])
(:require [overtone.sc.defaults :as defaults]))
(defonce server-clock-start-time (atom nil))
(defonce ... | 44150 | (ns
^{:doc "A representation of time for the server"
:author "<NAME>"}
overtone.sc.clock
(:use [overtone.sc synth ugens node bus server info foundation-groups]
[overtone.libs deps])
(:require [overtone.sc.defaults :as defaults]))
(defonce server-clock-start-time (atom nil))
(defonce wal... | true | (ns
^{:doc "A representation of time for the server"
:author "PI:NAME:<NAME>END_PI"}
overtone.sc.clock
(:use [overtone.sc synth ugens node bus server info foundation-groups]
[overtone.libs deps])
(:require [overtone.sc.defaults :as defaults]))
(defonce server-clock-start-time (atom nil)... |
[
{
"context": " utils\n\n;;;; begin \"2. Transactions\"\n(def users {:alice {:name \"Alice\"\n :symmetric-key",
"end": 714,
"score": 0.7642388939857483,
"start": 709,
"tag": "USERNAME",
"value": "alice"
},
{
"context": "egin \"2. Transactions\"\n(def users {:alice {... | src/botcoin/core.clj | jreber/Botcoin | 0 | (ns botcoin.core
(:gen-class))
;;;; Open Questions
(comment
"1. How does Bitcoin handle bootstrapping new coins? What does a new coin look like?
-> I resolved it by allowing the first transaction to contain whatever sig
it wants. Unfortunately, this allows nodes to create coin unchecked.
2. Ho... | 26696 | (ns botcoin.core
(:gen-class))
;;;; Open Questions
(comment
"1. How does Bitcoin handle bootstrapping new coins? What does a new coin look like?
-> I resolved it by allowing the first transaction to contain whatever sig
it wants. Unfortunately, this allows nodes to create coin unchecked.
2. Ho... | true | (ns botcoin.core
(:gen-class))
;;;; Open Questions
(comment
"1. How does Bitcoin handle bootstrapping new coins? What does a new coin look like?
-> I resolved it by allowing the first transaction to contain whatever sig
it wants. Unfortunately, this allows nodes to create coin unchecked.
2. Ho... |
[
{
"context": " :http-port 8069\n :env :prd\n :db {:username \"postgres\"\n :password \"123\"\n :server-name ",
"end": 76,
"score": 0.9995012283325195,
"start": 68,
"tag": "USERNAME",
"value": "postgres"
},
{
"context": " {:username \"postgres\"\n :pass... | conf/config.clj | sealchain/explorer-backend | 1 | {:nrepl-port 7467
:http-port 8069
:env :prd
:db {:username "postgres"
:password "123"
:server-name "192.168.1.47"
:port-number 5432
:database-name "wallet"}}
| 92120 | {:nrepl-port 7467
:http-port 8069
:env :prd
:db {:username "postgres"
:password "<PASSWORD>"
:server-name "192.168.1.47"
:port-number 5432
:database-name "wallet"}}
| true | {:nrepl-port 7467
:http-port 8069
:env :prd
:db {:username "postgres"
:password "PI:PASSWORD:<PASSWORD>END_PI"
:server-name "192.168.1.47"
:port-number 5432
:database-name "wallet"}}
|
[
{
"context": "name \"stack-editor\"\n :key \"stack-editor\"\n :validations \"isValidCompose\"\n :multi",
"end": 962,
"score": 0.9922299981117249,
"start": 950,
"tag": "KEY",
"value": "stack-editor"
}
] | ch16/swarmpit/src/cljs/swarmpit/component/stack/edit.cljs | vincestorm/Docker-on-Amazon-Web-Services | 0 | (ns swarmpit.component.stack.edit
(:require [material.icon :as icon]
[material.component :as comp]
[material.component.form :as form]
[material.component.panel :as panel]
[swarmpit.component.editor :as editor]
[swarmpit.component.state :as state]
... | 6665 | (ns swarmpit.component.stack.edit
(:require [material.icon :as icon]
[material.component :as comp]
[material.component.form :as form]
[material.component.panel :as panel]
[swarmpit.component.editor :as editor]
[swarmpit.component.state :as state]
... | true | (ns swarmpit.component.stack.edit
(:require [material.icon :as icon]
[material.component :as comp]
[material.component.form :as form]
[material.component.panel :as panel]
[swarmpit.component.editor :as editor]
[swarmpit.component.state :as state]
... |
[
{
"context": "ure than\n;; 10 functions on 10 data structures.” —Alan Perlis\n\n\n;; 序列(sequence) 是clojure中重要的概念,表示一个逻辑list,抽象为IS",
"end": 200,
"score": 0.9998975992202759,
"start": 189,
"tag": "NAME",
"value": "Alan Perlis"
},
{
"context": " as follow:\n(list 1 2 3)\n\n\n;; set\n(de... | src/clj_notes/collections.clj | zhimoe/clj-notes | 0 | (ns clj-notes.collections)
;; 数据结构是编程中最重要的部分,clojure提供了丰富的集合类型,同时做到了抽象统一
;; “It is better to have 100 functions operate on one data structure than
;; 10 functions on 10 data structures.” —Alan Perlis
;; 序列(sequence) 是clojure中重要的概念,表示一个逻辑list,抽象为ISeq接口。
;; 序列clojure.lang.ISeq包含重要方法:
;; (first coll),(next coll),(cons ... | 102720 | (ns clj-notes.collections)
;; 数据结构是编程中最重要的部分,clojure提供了丰富的集合类型,同时做到了抽象统一
;; “It is better to have 100 functions operate on one data structure than
;; 10 functions on 10 data structures.” —<NAME>
;; 序列(sequence) 是clojure中重要的概念,表示一个逻辑list,抽象为ISeq接口。
;; 序列clojure.lang.ISeq包含重要方法:
;; (first coll),(next coll),(cons item ... | true | (ns clj-notes.collections)
;; 数据结构是编程中最重要的部分,clojure提供了丰富的集合类型,同时做到了抽象统一
;; “It is better to have 100 functions operate on one data structure than
;; 10 functions on 10 data structures.” —PI:NAME:<NAME>END_PI
;; 序列(sequence) 是clojure中重要的概念,表示一个逻辑list,抽象为ISeq接口。
;; 序列clojure.lang.ISeq包含重要方法:
;; (first coll),(next col... |
[
{
"context": "deftest indices\n (let [data1 {:id 1 :first-name \"Aardvark\" :last-name \"Aardvarkov\"}\n data2 {:id 2 :f",
"end": 9041,
"score": 0.9998430013656616,
"start": 9033,
"tag": "NAME",
"value": "Aardvark"
},
{
"context": " [data1 {:id 1 :first-name \"Aardvark\" :las... | test/test/cupboard/bdb/je.clj | gcv/cupboard | 16 | (ns test.cupboard.bdb.je
(:use [clojure test])
(:use cupboard.utils cupboard.bdb.je)
(:import [com.sleepycat.je OperationStatus DatabaseException]))
;;; ----------------------------------------------------------------------------
;;; fixtures
;;; ----------------------------------------------------------------... | 75239 | (ns test.cupboard.bdb.je
(:use [clojure test])
(:use cupboard.utils cupboard.bdb.je)
(:import [com.sleepycat.je OperationStatus DatabaseException]))
;;; ----------------------------------------------------------------------------
;;; fixtures
;;; ----------------------------------------------------------------... | true | (ns test.cupboard.bdb.je
(:use [clojure test])
(:use cupboard.utils cupboard.bdb.je)
(:import [com.sleepycat.je OperationStatus DatabaseException]))
;;; ----------------------------------------------------------------------------
;;; fixtures
;;; ----------------------------------------------------------------... |
[
{
"context": "; Copyright 2010 Mark Allerton. All rights reserved.\n;\n; Redistribution and u",
"end": 33,
"score": 0.9998698234558105,
"start": 20,
"tag": "NAME",
"value": "Mark Allerton"
},
{
"context": " distribution.\n;\n; THIS SOFTWARE IS PROVIDED BY MARK ALLERTON ``AS ... | BridgeSupport/src/clojure/couverjure/tools/bstool.clj | allertonm/Couverjure | 3 | ; Copyright 2010 Mark Allerton. All rights reserved.
;
; Redistribution and use in source and binary forms, with or without modification, are
; permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copyright notice, this list of
; c... | 79297 | ; Copyright 2010 <NAME>. All rights reserved.
;
; Redistribution and use in source and binary forms, with or without modification, are
; permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copyright notice, this list of
; conditio... | true | ; Copyright 2010 PI:NAME:<NAME>END_PI. All rights reserved.
;
; Redistribution and use in source and binary forms, with or without modification, are
; permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copyright notice, this list of
; ... |
[
{
"context": ";; Copyright (c) 2015-2016 Andrey Antukh <niwi@niwi.nz>\n;; All rights reserved.\n;;\n;; Redi",
"end": 40,
"score": 0.999882698059082,
"start": 27,
"tag": "NAME",
"value": "Andrey Antukh"
},
{
"context": ";; Copyright (c) 2015-2016 Andrey Antukh <niwi@niwi.nz>\n;; All r... | src/clojure/catacumba/impl/atomic.clj | source-c/catacumba | 212 | ;; Copyright (c) 2015-2016 Andrey Antukh <niwi@niwi.nz>
;; All rights reserved.
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions
;; are met:
;;
;; 1. Redistributions of source code must retain the above copyright
;; notice,... | 88902 | ;; Copyright (c) 2015-2016 <NAME> <<EMAIL>>
;; All rights reserved.
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions
;; are met:
;;
;; 1. Redistributions of source code must retain the above copyright
;; notice, this list o... | true | ;; Copyright (c) 2015-2016 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
;; All rights reserved.
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions
;; are met:
;;
;; 1. Redistributions of source code must retain the above copyri... |
[
{
"context": " byte-spec defined in synthdef.clj.\"\n :author \"Jeff Rose\"}\n overtone.sc.synth\n (:use [overtone.util lib ",
"end": 327,
"score": 0.9998903870582581,
"start": 318,
"tag": "NAME",
"value": "Jeff Rose"
}
] | src/overtone/sc/synth.clj | rosejn/overtone | 4 | (ns
^{:doc "The ugen functions create a data structure representing a synthesizer
graph that can be executed on the synthesis server. This is the logic
to \"compile\" these clojure data structures into a form that can be
serialized by the byte-spec defined in synthdef.clj."
:author "Je... | 49940 | (ns
^{:doc "The ugen functions create a data structure representing a synthesizer
graph that can be executed on the synthesis server. This is the logic
to \"compile\" these clojure data structures into a form that can be
serialized by the byte-spec defined in synthdef.clj."
:author "<N... | true | (ns
^{:doc "The ugen functions create a data structure representing a synthesizer
graph that can be executed on the synthesis server. This is the logic
to \"compile\" these clojure data structures into a form that can be
serialized by the byte-spec defined in synthdef.clj."
:author "PI... |
[
{
"context": "\n :email \"yap@yap.org\"\n :user \"",
"end": 2028,
"score": 0.9999130368232727,
"start": 2017,
"tag": "EMAIL",
"value": "yap@yap.org"
},
{
"context": "\"\n ... | frontend/test/frontend/admin_test.clj | raymondpoling/rerun-tv | 0 | (ns frontend.admin-test
(:require
[clojure.test :refer [deftest is]]
[ring.mock.request :as mock]
[frontend.handler :refer [app]]
[frontend.util :refer [make-cookie
make-response
testing-with-log-markers
basic-matcher]]
[clj-... | 3758 | (ns frontend.admin-test
(:require
[clojure.test :refer [deftest is]]
[ring.mock.request :as mock]
[frontend.handler :refer [app]]
[frontend.util :refer [make-cookie
make-response
testing-with-log-markers
basic-matcher]]
[clj-... | true | (ns frontend.admin-test
(:require
[clojure.test :refer [deftest is]]
[ring.mock.request :as mock]
[frontend.handler :refer [app]]
[frontend.util :refer [make-cookie
make-response
testing-with-log-markers
basic-matcher]]
[clj-... |
[
{
"context": "; Copyright (c) 2012 Jochen Rau\n; \n; Permission is hereby granted, free of charge",
"end": 31,
"score": 0.9998762607574463,
"start": 21,
"tag": "NAME",
"value": "Jochen Rau"
},
{
"context": "f the know:ledge management system.\"\n :author \"Jochen Rau\"} \n knowl... | src/knowl/edge/transformation.clj | cldwalker/knowl-edge | 1 | ; Copyright (c) 2012 Jochen Rau
;
; Permission is hereby granted, free of charge, to any person obtaining a copy
; of this software and associated documentation files (the "Software"), to deal
; in the Software without restriction, including without limitation the rights
; to use, copy, modify, merge, publish, distrib... | 112665 | ; Copyright (c) 2012 <NAME>
;
; Permission is hereby granted, free of charge, to any person obtaining a copy
; of this software and associated documentation files (the "Software"), to deal
; in the Software without restriction, including without limitation the rights
; to use, copy, modify, merge, publish, distribute,... | true | ; Copyright (c) 2012 PI:NAME:<NAME>END_PI
;
; Permission is hereby granted, free of charge, to any person obtaining a copy
; of this software and associated documentation files (the "Software"), to deal
; in the Software without restriction, including without limitation the rights
; to use, copy, modify, merge, publis... |
[
{
"context": "ern :southern])\n\n(defn greet []\n (println \"Hello, Eric!\"))\n\n(def hello-world #'greet)\n\n(defn plus2 [x]\n ",
"end": 3562,
"score": 0.9985326528549194,
"start": 3558,
"tag": "NAME",
"value": "Eric"
}
] | src/volcanoes/core.clj | lispcast/volcanoes | 0 | (ns volcanoes.core
(:require [clojure.data.csv :as csv]
[clojure.java.io :as io]
[clojure.string :as str]
[volcanoes.protocol :as p]))
;; Main ways to execute code in your files
;; 1. Whole file
;; 2. Top-level form (expression)
;; 3. Single expression
;; 4. REPL Prompt
;; E... | 120019 | (ns volcanoes.core
(:require [clojure.data.csv :as csv]
[clojure.java.io :as io]
[clojure.string :as str]
[volcanoes.protocol :as p]))
;; Main ways to execute code in your files
;; 1. Whole file
;; 2. Top-level form (expression)
;; 3. Single expression
;; 4. REPL Prompt
;; E... | true | (ns volcanoes.core
(:require [clojure.data.csv :as csv]
[clojure.java.io :as io]
[clojure.string :as str]
[volcanoes.protocol :as p]))
;; Main ways to execute code in your files
;; 1. Whole file
;; 2. Top-level form (expression)
;; 3. Single expression
;; 4. REPL Prompt
;; E... |
[
{
"context": " [hara.common.watch :as watch]\n [robert.hooke]))\n\n;;; (use '[clojure.tools.nrepl.server :on",
"end": 399,
"score": 0.6826303601264954,
"start": 391,
"tag": "USERNAME",
"value": "robert.h"
},
{
"context": "hara.common.watch :as watch]\n [ro... | src/leiningen/aar_tool.clj | R1ck77/aar-tool | 1 | (ns leiningen.aar-tool
(:use [leiningen.core.main :only [info abort debug warn]]
[clojure.java.shell :only [sh]]
[clojure.xml :as xml]
[clojure.java.io :as io]
[couchgames.utils.zip :as czip])
(:import [java.io File ByteArrayInputStream]
[java.nio.file Paths])
(:require ... | 9531 | (ns leiningen.aar-tool
(:use [leiningen.core.main :only [info abort debug warn]]
[clojure.java.shell :only [sh]]
[clojure.xml :as xml]
[clojure.java.io :as io]
[couchgames.utils.zip :as czip])
(:import [java.io File ByteArrayInputStream]
[java.nio.file Paths])
(:require ... | true | (ns leiningen.aar-tool
(:use [leiningen.core.main :only [info abort debug warn]]
[clojure.java.shell :only [sh]]
[clojure.xml :as xml]
[clojure.java.io :as io]
[couchgames.utils.zip :as czip])
(:import [java.io File ByteArrayInputStream]
[java.nio.file Paths])
(:require ... |
[
{
"context": " (let [user (get-in config [:basic-auth-user] \"admin\")\n pwd (creds/hash-bcrypt (get-in conf",
"end": 2648,
"score": 0.7868552803993225,
"start": 2643,
"tag": "USERNAME",
"value": "admin"
},
{
"context": "eds/hash-bcrypt (get-in config [:basic-auth-pwd] ... | src/main/clj/planted/auth.clj | jandorfer/planted | 2 | (ns planted.auth
(:require [cemerick.friend :as friend]
[cemerick.friend.credentials :as creds]
[cemerick.friend.workflows :as workflows]
[clojure.tools.logging :as log]
[com.stuartsierra.component :as component]
[friend-oauth2.workflow :as oauth2]
... | 42262 | (ns planted.auth
(:require [cemerick.friend :as friend]
[cemerick.friend.credentials :as creds]
[cemerick.friend.workflows :as workflows]
[clojure.tools.logging :as log]
[com.stuartsierra.component :as component]
[friend-oauth2.workflow :as oauth2]
... | true | (ns planted.auth
(:require [cemerick.friend :as friend]
[cemerick.friend.credentials :as creds]
[cemerick.friend.workflows :as workflows]
[clojure.tools.logging :as log]
[com.stuartsierra.component :as component]
[friend-oauth2.workflow :as oauth2]
... |
[
{
"context": "operty\"} {:id 2, :name \"property\"} {:id 1, :name \"first_name\"})\n ({:id 1, :name \"property\"} {:id 2, :name \"p",
"end": 623,
"score": 0.9586957097053528,
"start": 613,
"tag": "NAME",
"value": "first_name"
},
{
"context": "operty\"} {:id 2, :name \"property\"} {... | src/clj/dfs_clj/tapmapper.clj | EricGebhart/dfs-clj | 1 | (ns dfs-clj.tapmapper
"Defines Null Pail Tap mappers and property path generators for vertically partitioned Pails.")
;------ Path generator ---------
; given a thrift data type or other schema object
; return a list of vectors representing the paths to each property in the tree.
; The thrift example in pail-graph gen... | 86827 | (ns dfs-clj.tapmapper
"Defines Null Pail Tap mappers and property path generators for vertically partitioned Pails.")
;------ Path generator ---------
; given a thrift data type or other schema object
; return a list of vectors representing the paths to each property in the tree.
; The thrift example in pail-graph gen... | true | (ns dfs-clj.tapmapper
"Defines Null Pail Tap mappers and property path generators for vertically partitioned Pails.")
;------ Path generator ---------
; given a thrift data type or other schema object
; return a list of vectors representing the paths to each property in the tree.
; The thrift example in pail-graph gen... |
[
{
"context": ";; Copyright (c) Rich Hickey and contributors. All rights reserved.\n;; The u",
"end": 30,
"score": 0.9998458623886108,
"start": 19,
"tag": "NAME",
"value": "Rich Hickey"
}
] | docs/js/compiled/out/cljs/core/async/impl/dispatch.cljs | pvik/who-assist | 0 | ;; Copyright (c) Rich Hickey and contributors. All rights reserved.
;; The use and distribution terms for this software are covered by the
;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
;; which can be found in the file epl-v10.html at the root of this distribution.
;; By using... | 109614 | ;; Copyright (c) <NAME> and contributors. All rights reserved.
;; The use and distribution terms for this software are covered by the
;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
;; which can be found in the file epl-v10.html at the root of this distribution.
;; By using this... | true | ;; Copyright (c) PI:NAME:<NAME>END_PI and contributors. All rights reserved.
;; The use and distribution terms for this software are covered by the
;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
;; which can be found in the file epl-v10.html at the root of this distribution.
;; ... |
[
{
"context": "chatops-skill\"}\n :command/token \"bccf5898b3eaf2f54b71f1538444f92da97737e9\"\n :label/number 15\n ",
"end": 4451,
"score": 0.999188244342804,
"start": 4411,
"tag": "KEY",
"value": "bccf5898b3eaf2f54b71f1538444f92da97737e9"
}
] | src/atomist/commands/label.cljs | atomist-skills/github-slash-commands-skill | 0 | ;; Copyright © 2020 Atomist, 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... | 115421 | ;; Copyright © 2020 Atomist, 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... | true | ;; Copyright © 2020 Atomist, 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... |
[
{
"context": "ef master-pubkey (keyring/get-public-key pubring \"923b1c1c4392318a\"))\n\n(def pubkey (encrypted-credentials/get-secre",
"end": 1739,
"score": 0.9917477965354919,
"start": 1723,
"tag": "KEY",
"value": "923b1c1c4392318a"
},
{
"context": "gp/test/keys/secring.gpg\"\n ... | test/src/clj_pgp/test/encryption_test_scenario.clj | DomainDrivenArchitecture/dda-pallet-commons | 2 | ; Licensed to the Apache Software Foundation (ASF) under one
; or more contributor license agreements. See the NOTICE file
; distributed with this work for additional information
; regarding copyright ownership. The ASF licenses this file
; to you under the Apache License, Version 2.0 (the
; "License"); you may not use... | 69437 | ; Licensed to the Apache Software Foundation (ASF) under one
; or more contributor license agreements. See the NOTICE file
; distributed with this work for additional information
; regarding copyright ownership. The ASF licenses this file
; to you under the Apache License, Version 2.0 (the
; "License"); you may not use... | true | ; Licensed to the Apache Software Foundation (ASF) under one
; or more contributor license agreements. See the NOTICE file
; distributed with this work for additional information
; regarding copyright ownership. The ASF licenses this file
; to you under the Apache License, Version 2.0 (the
; "License"); you may not use... |
[
{
"context": "--------------------------------\n;; Copyright 2017 Greg Haskins\n;;\n;; SPDX-License-Identifier: Apache-2.0\n;;-----",
"end": 110,
"score": 0.9998035430908203,
"start": 98,
"tag": "NAME",
"value": "Greg Haskins"
}
] | examples/example02/client/cljs/src/fabric_sdk/channel.cljs | simonmulser/fabric-chaintool | 138 | ;;-----------------------------------------------------------------------------
;; Copyright 2017 Greg Haskins
;;
;; SPDX-License-Identifier: Apache-2.0
;;-----------------------------------------------------------------------------
(ns fabric-sdk.channel
(:require-macros [fabric-sdk.macros :as m])
(:require [prome... | 3676 | ;;-----------------------------------------------------------------------------
;; Copyright 2017 <NAME>
;;
;; SPDX-License-Identifier: Apache-2.0
;;-----------------------------------------------------------------------------
(ns fabric-sdk.channel
(:require-macros [fabric-sdk.macros :as m])
(:require [promesa.cor... | true | ;;-----------------------------------------------------------------------------
;; Copyright 2017 PI:NAME:<NAME>END_PI
;;
;; SPDX-License-Identifier: Apache-2.0
;;-----------------------------------------------------------------------------
(ns fabric-sdk.channel
(:require-macros [fabric-sdk.macros :as m])
(:requir... |
[
{
"context": "(comment\n re-core, Copyright 2012 Ronen Narkis, narkisr.com\n Licensed under the Apache License",
"end": 48,
"score": 0.9998792409896851,
"start": 36,
"tag": "NAME",
"value": "Ronen Narkis"
},
{
"context": "comment\n re-core, Copyright 2012 Ronen Narkis, narkisr.... | src/es/node.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 ... | 114195 | (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 agreed... | 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 require... |
[
{
"context": ";\n; Copyright © 2013 Sebastian Hoß <mail@shoss.de>\n; This work is free. You can redi",
"end": 34,
"score": 0.9998664259910583,
"start": 21,
"tag": "NAME",
"value": "Sebastian Hoß"
},
{
"context": ";\n; Copyright © 2013 Sebastian Hoß <mail@shoss.de>\n; This work is fre... | src/main/clojure/finj/investment.clj | sebhoss/finj | 30 | ;
; Copyright © 2013 Sebastian Hoß <mail@shoss.de>
; This work is free. You can redistribute it and/or modify it under the
; terms of the Do What The Fuck You Want To Public License, Version 2,
; as published by Sam Hocevar. See http://www.wtfpl.net/ for more details.
;
(ns finj.investment
"In finance, investment is... | 104521 | ;
; Copyright © 2013 <NAME> <<EMAIL>>
; This work is free. You can redistribute it and/or modify it under the
; terms of the Do What The Fuck You Want To Public License, Version 2,
; as published by Sam Hocevar. See http://www.wtfpl.net/ for more details.
;
(ns finj.investment
"In finance, investment is putting mone... | true | ;
; Copyright © 2013 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
; This work is free. You can redistribute it and/or modify it under the
; terms of the Do What The Fuck You Want To Public License, Version 2,
; as published by Sam Hocevar. See http://www.wtfpl.net/ for more details.
;
(ns finj.investment
"In financ... |
[
{
"context": "t-type bytes size]} upload-info\n blob-key (make-clean-uuid)\n blob-info (BlobInfo. blob-key content-ty",
"end": 2278,
"score": 0.971603512763977,
"start": 2263,
"tag": "KEY",
"value": "make-clean-uuid"
}
] | src/appengine_magic/blobstore_upload.clj | zenlambda/appengine-magic | 41 | (ns appengine-magic.blobstore-upload
(:use [appengine-magic.multipart-params :only [wrap-multipart-params]])
(:require [appengine-magic.services.datastore :as ds]
[clojure.java.io :as io])
(:import [java.io File OutputStreamWriter]
[java.net URL HttpURLConnection]
com.google.appe... | 64181 | (ns appengine-magic.blobstore-upload
(:use [appengine-magic.multipart-params :only [wrap-multipart-params]])
(:require [appengine-magic.services.datastore :as ds]
[clojure.java.io :as io])
(:import [java.io File OutputStreamWriter]
[java.net URL HttpURLConnection]
com.google.appe... | true | (ns appengine-magic.blobstore-upload
(:use [appengine-magic.multipart-params :only [wrap-multipart-params]])
(:require [appengine-magic.services.datastore :as ds]
[clojure.java.io :as io])
(:import [java.io File OutputStreamWriter]
[java.net URL HttpURLConnection]
com.google.appe... |
[
{
"context": "n\"\n ::danger/token \"SEVMTE8.nppGBrCjzE0Ipz1pzm6gRLwi_rc\"})\n (itsdangerous/unsign \"SEVMTE8.nppGBrC",
"end": 2296,
"score": 0.6746527552604675,
"start": 2261,
"tag": "KEY",
"value": "SEVMTE8.nppGBrCjzE0Ipz1pzm6gRLwi_rc"
}
] | test/exoscale/itsdangerous_test.clj | exoscale/clj-itsdangerous | 0 | (ns exoscale.itsdangerous-test
(:require [clojure.test :refer :all]
[itsdangerous]
[exoscale.itsdangerous :as danger]))
(deftest readme-test
;; Replicate usage shown in the README
(let [payload "{\"user-id\": 1234}"
private-key "A-SECRET-KEY"
salt "sess... | 65322 | (ns exoscale.itsdangerous-test
(:require [clojure.test :refer :all]
[itsdangerous]
[exoscale.itsdangerous :as danger]))
(deftest readme-test
;; Replicate usage shown in the README
(let [payload "{\"user-id\": 1234}"
private-key "A-SECRET-KEY"
salt "sess... | true | (ns exoscale.itsdangerous-test
(:require [clojure.test :refer :all]
[itsdangerous]
[exoscale.itsdangerous :as danger]))
(deftest readme-test
;; Replicate usage shown in the README
(let [payload "{\"user-id\": 1234}"
private-key "A-SECRET-KEY"
salt "sess... |
[
{
"context": "er])]\n\n (let [james (UUID/randomUUID)\n mary (UUID/randomUUID)]\n\n (chimera/ensure-migrati",
"end": 1422,
"score": 0.7245378494262695,
"start": 1418,
"tag": "NAME",
"value": "mary"
},
{
"context": " :test.person/name \"J... | src/arachne/chimera/test_harness/basics.clj | arachne-framework/arachne-chimera | 2 | (ns arachne.chimera.test-harness.basics
(:require [arachne.chimera :as chimera]
[arachne.core :as core]
[arachne.core.runtime :as rt]
[arachne.chimera.test-harness.common :as common]
[com.stuartsierra.component :as component]
[clojure.test :as test :refer [t... | 7610 | (ns arachne.chimera.test-harness.basics
(:require [arachne.chimera :as chimera]
[arachne.core :as core]
[arachne.core.runtime :as rt]
[arachne.chimera.test-harness.common :as common]
[com.stuartsierra.component :as component]
[clojure.test :as test :refer [t... | true | (ns arachne.chimera.test-harness.basics
(:require [arachne.chimera :as chimera]
[arachne.core :as core]
[arachne.core.runtime :as rt]
[arachne.chimera.test-harness.common :as common]
[com.stuartsierra.component :as component]
[clojure.test :as test :refer [t... |
[
{
"context": "tests for scraping functions\n;;\n;; Copyright 2012, F.M. de Waard & Vixu.com <fmw@vixu.com>.\n;;\n;; Licensed under t",
"end": 95,
"score": 0.9998595714569092,
"start": 82,
"tag": "NAME",
"value": "F.M. de Waard"
},
{
"context": "s\n;;\n;; Copyright 2012, F.M. de Waard... | test/alida/test/scrape.clj | fmw/alida | 6 | ;; test/alida/test/scrape.clj: tests for scraping functions
;;
;; Copyright 2012, F.M. de Waard & Vixu.com <fmw@vixu.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://ww... | 53775 | ;; test/alida/test/scrape.clj: tests for scraping functions
;;
;; Copyright 2012, <NAME> & Vixu.com <<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... | true | ;; test/alida/test/scrape.clj: tests for scraping functions
;;
;; Copyright 2012, PI:NAME:<NAME>END_PI & Vixu.com <PI:EMAIL:<EMAIL>END_PI>.
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at... |
[
{
"context": " :person.firstName\n [[1 \"Eleni\"]\n [2 \"Kostas\"]]\n\n ",
"end": 153,
"score": 0.9998473525047302,
"start": 148,
"tag": "NAME",
"value": "Eleni"
},
{
"context": " [[1 \"Eleni\"]\n [... | test/documentation/address.clj | tkaryadis/louna-local | 0 | (ns documentation.address
(:use louna.louna
louna.louna-util))
#_(def relations {
:person.firstName
[[1 "Eleni"]
[2 "Kostas"]]
:person.lastName
[[1 "Papadopoulou"]
[2 "Georgiou"]]
:person.addre... | 91463 | (ns documentation.address
(:use louna.louna
louna.louna-util))
#_(def relations {
:person.firstName
[[1 "<NAME>"]
[2 "<NAME>"]]
:person.lastName
[[1 "<NAME>"]
[2 "<NAME>"]]
:person.address
... | true | (ns documentation.address
(:use louna.louna
louna.louna-util))
#_(def relations {
:person.firstName
[[1 "PI:NAME:<NAME>END_PI"]
[2 "PI:NAME:<NAME>END_PI"]]
:person.lastName
[[1 "PI:NAME:<NAME>END_PI"]
[2 "PI:NA... |
[
{
"context": "\n(ns ^{:author \"Chas Emerick\"}\n clojure.tools.nrepl.middleware.pr-values\n ",
"end": 28,
"score": 0.9998884201049805,
"start": 16,
"tag": "NAME",
"value": "Chas Emerick"
}
] | clojure/tools/nrepl/middleware/pr_values.clj | prapisarda/Scripts | 0 |
(ns ^{:author "Chas Emerick"}
clojure.tools.nrepl.middleware.pr-values
(:require [clojure.tools.nrepl.transport :as t])
(:use [clojure.tools.nrepl.middleware :only (set-descriptor!)])
(:import clojure.tools.nrepl.transport.Transport))
(defn pr-values
"Middleware that returns a handler which transforms an... | 69975 |
(ns ^{:author "<NAME>"}
clojure.tools.nrepl.middleware.pr-values
(:require [clojure.tools.nrepl.transport :as t])
(:use [clojure.tools.nrepl.middleware :only (set-descriptor!)])
(:import clojure.tools.nrepl.transport.Transport))
(defn pr-values
"Middleware that returns a handler which transforms any :val... | true |
(ns ^{:author "PI:NAME:<NAME>END_PI"}
clojure.tools.nrepl.middleware.pr-values
(:require [clojure.tools.nrepl.transport :as t])
(:use [clojure.tools.nrepl.middleware :only (set-descriptor!)])
(:import clojure.tools.nrepl.transport.Transport))
(defn pr-values
"Middleware that returns a handler which trans... |
[
{
"context": " :password password}}}))\n\n(def mappings\n {:sports-sites\n {:setting",
"end": 388,
"score": 0.9690462946891785,
"start": 380,
"tag": "PASSWORD",
"value": "password"
}
] | webapp/src/clj/lipas/backend/search.clj | lipas-liikuntapaikat/lipas | 49 | (ns lipas.backend.search
(:require
[qbits.spandex :as es]
[qbits.spandex.utils :as es-utils]
[clojure.core.async :as async]))
(def es-type "_doc") ; See https://bit.ly/2wslBqY
(defn create-cli
[{:keys [hosts user password]}]
(es/client {:hosts hosts
:http-client {:basic-auth {:user ... | 96365 | (ns lipas.backend.search
(:require
[qbits.spandex :as es]
[qbits.spandex.utils :as es-utils]
[clojure.core.async :as async]))
(def es-type "_doc") ; See https://bit.ly/2wslBqY
(defn create-cli
[{:keys [hosts user password]}]
(es/client {:hosts hosts
:http-client {:basic-auth {:user ... | true | (ns lipas.backend.search
(:require
[qbits.spandex :as es]
[qbits.spandex.utils :as es-utils]
[clojure.core.async :as async]))
(def es-type "_doc") ; See https://bit.ly/2wslBqY
(defn create-cli
[{:keys [hosts user password]}]
(es/client {:hosts hosts
:http-client {:basic-auth {:user ... |
[
{
"context": "dbtype \"postgresql\", :user \"vladkotu\", :password \"pwd123\", :dbname \"blog_db\", :port 54320, :host \"localhos",
"end": 360,
"score": 0.9993752241134644,
"start": 354,
"tag": "PASSWORD",
"value": "pwd123"
},
{
"context": ":host \"localhost\"})))\n(comment (let [bod... | wiz.blog.api/src/wiz/blog/api/db/authors.clj | vladkotu/edge-clj-rest-api-example | 0 | (ns wiz.blog.api.db.authors
(:require
[hugsql.core :as hugsql]))
(hugsql/def-db-fns "wiz/blog/api/db/sql/authors.sql")
;; this should be removed in prod mode
(hugsql/def-sqlvec-fns "wiz/blog/api/db/sql/authors.sql")
;; primers mostly expired as of names have been changed
(comment (def db (atom {:dbtype "postgres... | 48187 | (ns wiz.blog.api.db.authors
(:require
[hugsql.core :as hugsql]))
(hugsql/def-db-fns "wiz/blog/api/db/sql/authors.sql")
;; this should be removed in prod mode
(hugsql/def-sqlvec-fns "wiz/blog/api/db/sql/authors.sql")
;; primers mostly expired as of names have been changed
(comment (def db (atom {:dbtype "postgres... | true | (ns wiz.blog.api.db.authors
(:require
[hugsql.core :as hugsql]))
(hugsql/def-db-fns "wiz/blog/api/db/sql/authors.sql")
;; this should be removed in prod mode
(hugsql/def-sqlvec-fns "wiz/blog/api/db/sql/authors.sql")
;; primers mostly expired as of names have been changed
(comment (def db (atom {:dbtype "postgres... |
[
{
"context": "{:crux.db/id :id/jeff\n :person/name \"Jeff\"}]\n [:crux.tx/put\n {:crux.",
"end": 812,
"score": 0.999210000038147,
"start": 808,
"tag": "NAME",
"value": "Jeff"
},
{
"context": " {:crux.db/id :id/lia\n :person/name \"Lia\... | docs/example/backup-restore/src/example_backup_restore/main.clj | neuromantik33/crux | 0 | (ns example-backup-restore.main
(:require [crux.api :as api]
[crux.backup :as backup]))
(def crux-options
{:crux.node/topology 'crux.standalone/topology
:crux.node/kv-store 'crux.kv.rocksdb/kv
:crux.standalone/event-log-dir "data/eventlog-1"
:crux.kv/db-dir "data/db-dir-1"
:backup-dir "chec... | 92433 | (ns example-backup-restore.main
(:require [crux.api :as api]
[crux.backup :as backup]))
(def crux-options
{:crux.node/topology 'crux.standalone/topology
:crux.node/kv-store 'crux.kv.rocksdb/kv
:crux.standalone/event-log-dir "data/eventlog-1"
:crux.kv/db-dir "data/db-dir-1"
:backup-dir "chec... | true | (ns example-backup-restore.main
(:require [crux.api :as api]
[crux.backup :as backup]))
(def crux-options
{:crux.node/topology 'crux.standalone/topology
:crux.node/kv-store 'crux.kv.rocksdb/kv
:crux.standalone/event-log-dir "data/eventlog-1"
:crux.kv/db-dir "data/db-dir-1"
:backup-dir "chec... |
[
{
"context": "rOrLogin []\n (let [userName (hutil/getValueById \"userName\")\n password (hutil/getValueById \"password\"",
"end": 1704,
"score": 0.9939795732498169,
"start": 1696,
"tag": "USERNAME",
"value": "userName"
},
{
"context": "eg\")\n (send {:method \"registrati... | Labs/FP/src/cljs/chat/uiHandlers.cljs | VerkhovtsovPavel/BSUIR_Labs | 1 | (ns cljs.chat.client.uiHandlers
(:require [cljs.chat.client.utils.htmlUtils :as hutil]
[cljs.chat.client.utils.cssUtils :as cutil]
[cljs.chat.client.model.state :as state]
[cljs.chat.client.core])
(:use [cljs.chat.client.websocket :only [send]]))
(defn showAddRoom []
(let [add... | 58335 | (ns cljs.chat.client.uiHandlers
(:require [cljs.chat.client.utils.htmlUtils :as hutil]
[cljs.chat.client.utils.cssUtils :as cutil]
[cljs.chat.client.model.state :as state]
[cljs.chat.client.core])
(:use [cljs.chat.client.websocket :only [send]]))
(defn showAddRoom []
(let [add... | true | (ns cljs.chat.client.uiHandlers
(:require [cljs.chat.client.utils.htmlUtils :as hutil]
[cljs.chat.client.utils.cssUtils :as cutil]
[cljs.chat.client.model.state :as state]
[cljs.chat.client.core])
(:use [cljs.chat.client.websocket :only [send]]))
(defn showAddRoom []
(let [add... |
[
{
"context": "]))\n\n(def dbname \"drift_db_test\")\n\n(def username \"drift-db\")\n(def password \"drift-db-pass\")\n\n(deftest test-o",
"end": 237,
"score": 0.9982720017433167,
"start": 229,
"tag": "USERNAME",
"value": "drift-db"
},
{
"context": "_test\")\n\n(def username \"drift-d... | drift-db-mysql/test/drift_db_mysql/test/flavor.clj | macourtney/drift-db | 3 | (ns drift-db-mysql.test.flavor
(:use drift-db-mysql.flavor
clojure.test)
(:require [drift-db.core :as drift-db]
[drift-db-mysql.test.column :as column-test]))
(def dbname "drift_db_test")
(def username "drift-db")
(def password "drift-db-pass")
(deftest test-order-clause
(is (= (order-clau... | 103446 | (ns drift-db-mysql.test.flavor
(:use drift-db-mysql.flavor
clojure.test)
(:require [drift-db.core :as drift-db]
[drift-db-mysql.test.column :as column-test]))
(def dbname "drift_db_test")
(def username "drift-db")
(def password "<PASSWORD>")
(deftest test-order-clause
(is (= (order-clause ... | true | (ns drift-db-mysql.test.flavor
(:use drift-db-mysql.flavor
clojure.test)
(:require [drift-db.core :as drift-db]
[drift-db-mysql.test.column :as column-test]))
(def dbname "drift_db_test")
(def username "drift-db")
(def password "PI:PASSWORD:<PASSWORD>END_PI")
(deftest test-order-clause
(is... |
[
{
"context": "tities [{:name \"Personal\"}]\n :accounts [{:name \"Credit card\"\n :type :liability}\n {",
"end": 1429,
"score": 0.6826643347740173,
"start": 1418,
"tag": "NAME",
"value": "Credit card"
},
{
"context": " {:name \"Business\"}]\n :ac... | test/clj_money/models/accounts_test.clj | dgknght/clj-money | 5 | (ns clj-money.models.accounts-test
(:require [clojure.test :refer [deftest use-fixtures is]]
[clj-factory.core :refer [factory]]
[dgknght.app-lib.test]
[clj-money.factories.user-factory]
[clj-money.factories.entity-factory]
[clj-money.factories.account-facto... | 58972 | (ns clj-money.models.accounts-test
(:require [clojure.test :refer [deftest use-fixtures is]]
[clj-factory.core :refer [factory]]
[dgknght.app-lib.test]
[clj-money.factories.user-factory]
[clj-money.factories.entity-factory]
[clj-money.factories.account-facto... | true | (ns clj-money.models.accounts-test
(:require [clojure.test :refer [deftest use-fixtures is]]
[clj-factory.core :refer [factory]]
[dgknght.app-lib.test]
[clj-money.factories.user-factory]
[clj-money.factories.entity-factory]
[clj-money.factories.account-facto... |
[
{
"context": "ef ^:private user->info\n {:rasta {:email \"rasta@metabase.com\"\n :first \"Rasta\"\n ",
"end": 1227,
"score": 0.9999285936355591,
"start": 1209,
"tag": "EMAIL",
"value": "rasta@metabase.com"
},
{
"context": " :last \"Touca... | c#-metabase/test/metabase/test/data/users.clj | hanakhry/Crime_Admin | 0 | (ns metabase.test.data.users
"Code related to creating / managing fake `Users` for testing purposes."
(:require [cemerick.friend.credentials :as creds]
[clojure.test :as t]
[medley.core :as m]
[metabase.http-client :as http]
[metabase.models.permissions-group :refer [... | 3742 | (ns metabase.test.data.users
"Code related to creating / managing fake `Users` for testing purposes."
(:require [cemerick.friend.credentials :as creds]
[clojure.test :as t]
[medley.core :as m]
[metabase.http-client :as http]
[metabase.models.permissions-group :refer [... | true | (ns metabase.test.data.users
"Code related to creating / managing fake `Users` for testing purposes."
(:require [cemerick.friend.credentials :as creds]
[clojure.test :as t]
[medley.core :as m]
[metabase.http-client :as http]
[metabase.models.permissions-group :refer [... |
[
{
"context": ";;;;;;;;;;;;;;;;;;;;;;;;;;;\n;; Copyright (c) 2008, J. Bester\n;; All rights reserved.\n;;\n;; Redistribution and ",
"end": 433,
"score": 0.9998849630355835,
"start": 424,
"tag": "NAME",
"value": "J. Bester"
}
] | src/cljext/system.clj | jbester/cljext | 9 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; File : system.clj
;; Function : system library
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Send comments or questions to code at freshlime dot org
;; $Id: 086eaf6714e69dfe92bb730bf283beb4f23459fa ... | 103464 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; File : system.clj
;; Function : system library
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Send comments or questions to code at freshlime dot org
;; $Id: 086eaf6714e69dfe92bb730bf283beb4f23459fa ... | true | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; File : system.clj
;; Function : system library
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Send comments or questions to code at freshlime dot org
;; $Id: 086eaf6714e69dfe92bb730bf283beb4f23459fa ... |
[
{
"context": " is created.\n\n ```javascript\n data.set('name', 'Red Gem Stone');\n ```\n\n You can also pass in an object of key",
"end": 6058,
"score": 0.926160991191864,
"start": 6045,
"tag": "NAME",
"value": "Red Gem Stone"
},
{
"context": "st argument:\n\n ```javascript\n ... | src/phzr/data/data_manager.cljs | sjcasey21/phzr | 1 | (ns phzr.data.data-manager
(:require [phzr.impl.utils.core :refer [clj->phaser phaser->clj]]
[phzr.impl.extend :as ex]
[cljsjs.phaser])
(:refer-clojure :exclude [get set merge remove pop]))
(defn ->DataManager
" Parameters:
* parent (object) - The object that this DataManager belongs... | 104420 | (ns phzr.data.data-manager
(:require [phzr.impl.utils.core :refer [clj->phaser phaser->clj]]
[phzr.impl.extend :as ex]
[cljsjs.phaser])
(:refer-clojure :exclude [get set merge remove pop]))
(defn ->DataManager
" Parameters:
* parent (object) - The object that this DataManager belongs... | true | (ns phzr.data.data-manager
(:require [phzr.impl.utils.core :refer [clj->phaser phaser->clj]]
[phzr.impl.extend :as ex]
[cljsjs.phaser])
(:refer-clojure :exclude [get set merge remove pop]))
(defn ->DataManager
" Parameters:
* parent (object) - The object that this DataManager belongs... |
[
{
"context": "ps\n [Root {:my-list '(\"a string\" [1 2 3] {:name \"Jim\" :age 10} {:name \"Jane\" :age 7})}\n \"root\"\n (r",
"end": 1859,
"score": 0.999853253364563,
"start": 1856,
"tag": "NAME",
"value": "Jim"
},
{
"context": "(\"a string\" [1 2 3] {:name \"Jim\" :age 10} {:na... | devcards/datafrisk/ui_card.cljs | Odinodin/data-drill-reagent | 113 | (ns datafrisk.ui-card
(:require [devcards.core]
[reagent.core :as r]
[datafrisk.view :refer [Root]])
(:require-macros [devcards.core :as dc :refer [defcard-rg]]))
(defcard-rg modifiable-data
"When the data you are watching is swappable, you can edit it."
[Root
(r/atom 3)
"root"
... | 17431 | (ns datafrisk.ui-card
(:require [devcards.core]
[reagent.core :as r]
[datafrisk.view :refer [Root]])
(:require-macros [devcards.core :as dc :refer [defcard-rg]]))
(defcard-rg modifiable-data
"When the data you are watching is swappable, you can edit it."
[Root
(r/atom 3)
"root"
... | true | (ns datafrisk.ui-card
(:require [devcards.core]
[reagent.core :as r]
[datafrisk.view :refer [Root]])
(:require-macros [devcards.core :as dc :refer [defcard-rg]]))
(defcard-rg modifiable-data
"When the data you are watching is swappable, you can edit it."
[Root
(r/atom 3)
"root"
... |
[
{
"context": "(ns ^{:author \"Leeor Engel\"}\n chapter-2.chapter-2-q6)\n\n(defn palindrome? [l",
"end": 26,
"score": 0.9998971819877625,
"start": 15,
"tag": "NAME",
"value": "Leeor Engel"
}
] | Clojure/src/chapter_2/chapter_2_q6.clj | Kiandr/crackingcodinginterview | 0 | (ns ^{:author "Leeor Engel"}
chapter-2.chapter-2-q6)
(defn palindrome? [l]
(= l (reverse l))) | 121728 | (ns ^{:author "<NAME>"}
chapter-2.chapter-2-q6)
(defn palindrome? [l]
(= l (reverse l))) | true | (ns ^{:author "PI:NAME:<NAME>END_PI"}
chapter-2.chapter-2-q6)
(defn palindrome? [l]
(= l (reverse l))) |
[
{
"context": "(def booking\n {\n :id 8773\n :customer-name \"Alice Smith\"\n :catering-notes \"Vegetarian on Sundays\"\n ",
"end": 131,
"score": 0.9990062713623047,
"start": 120,
"tag": "NAME",
"value": "Alice Smith"
}
] | Chapter03/tests/Exercise3.02/repl.clj | transducer/The-Clojure-Workshop | 55 | (require '[clojure.test :as test :refer [is are deftest run-tests]])
(def booking
{
:id 8773
:customer-name "Alice Smith"
:catering-notes "Vegetarian on Sundays"
:flights [
{
:from {:lat 48.9615 :lon 2.4372 :name "Paris Le Bourget Airport"},
:to {:lat 37.742 :lon -25.6976 :name ... | 104295 | (require '[clojure.test :as test :refer [is are deftest run-tests]])
(def booking
{
:id 8773
:customer-name "<NAME>"
:catering-notes "Vegetarian on Sundays"
:flights [
{
:from {:lat 48.9615 :lon 2.4372 :name "Paris Le Bourget Airport"},
:to {:lat 37.742 :lon -25.6976 :name "Pont... | true | (require '[clojure.test :as test :refer [is are deftest run-tests]])
(def booking
{
:id 8773
:customer-name "PI:NAME:<NAME>END_PI"
:catering-notes "Vegetarian on Sundays"
:flights [
{
:from {:lat 48.9615 :lon 2.4372 :name "Paris Le Bourget Airport"},
:to {:lat 37.742 :lon -25.69... |
[
{
"context": "; Written by Raju\n; Run using following command\n; clojure streamSeq",
"end": 17,
"score": 0.9998493194580078,
"start": 13,
"tag": "NAME",
"value": "Raju"
}
] | Chapter09/streamSequence.clj | PacktPublishing/Learning-Functional-Data-Structures-and-Algorithms | 31 | ; Written by Raju
; Run using following command
; clojure streamSequence.clj
;Streams (lazy sequence) in Clojure
(defn strFun [n]
( lazy-seq (println "Evaluating next element of Stream") (cons n (strFun (inc n)))))
(println (take 3 (strFun 1)))
;Creating a memoized function of lazy sequences in Clojure
(defn strF... | 62929 | ; Written by <NAME>
; Run using following command
; clojure streamSequence.clj
;Streams (lazy sequence) in Clojure
(defn strFun [n]
( lazy-seq (println "Evaluating next element of Stream") (cons n (strFun (inc n)))))
(println (take 3 (strFun 1)))
;Creating a memoized function of lazy sequences in Clojure
(defn st... | true | ; Written by PI:NAME:<NAME>END_PI
; Run using following command
; clojure streamSequence.clj
;Streams (lazy sequence) in Clojure
(defn strFun [n]
( lazy-seq (println "Evaluating next element of Stream") (cons n (strFun (inc n)))))
(println (take 3 (strFun 1)))
;Creating a memoized function of lazy sequences in Clo... |
[
{
"context": "ts? \"input#username\"))\n (input-text \"#username\" \"admin\")\n (-> \"#password\" (input-text \"changeme\") submi",
"end": 489,
"score": 0.9954477548599243,
"start": 484,
"tag": "USERNAME",
"value": "admin"
},
{
"context": "username\" \"admin\")\n (-> \"#password\"... | data/test/clojure/64d27bd2962c7f175182c2a07b7e989d2a32df68common.clj | harshp8l/deep-learning-lang-detection | 84 | (ns elm.ui.common
(:import
org.openqa.selenium.Dimension
org.openqa.selenium.remote.DesiredCapabilities
org.openqa.selenium.phantomjs.PhantomJSDriver
org.openqa.selenium.OutputType)
(:use
clj-webdriver.taxi
clj-webdriver.driver))
(defn take-snapshot []
(.getScreenshotAs (:webdriver cl... | 12384 | (ns elm.ui.common
(:import
org.openqa.selenium.Dimension
org.openqa.selenium.remote.DesiredCapabilities
org.openqa.selenium.phantomjs.PhantomJSDriver
org.openqa.selenium.OutputType)
(:use
clj-webdriver.taxi
clj-webdriver.driver))
(defn take-snapshot []
(.getScreenshotAs (:webdriver cl... | true | (ns elm.ui.common
(:import
org.openqa.selenium.Dimension
org.openqa.selenium.remote.DesiredCapabilities
org.openqa.selenium.phantomjs.PhantomJSDriver
org.openqa.selenium.OutputType)
(:use
clj-webdriver.taxi
clj-webdriver.driver))
(defn take-snapshot []
(.getScreenshotAs (:webdriver cl... |
[
{
"context": "tion `%s'.\" verb-fn-sym)\n (let [handler-key (gensym \"handler-key__\")\n routes' (assoc route",
"end": 8542,
"score": 0.5827172994613647,
"start": 8536,
"tag": "KEY",
"value": "gensym"
}
] | src/io/aviso/rook/dispatcher.clj | curious-attempt-bunny/rook | 0 | (ns io.aviso.rook.dispatcher
"This namespace deals with dispatch tables mapping route specs of
the form
[method [path-segment ...]]
to resource handler functions. The recognized format is described at
length in the docstrings of the [[unnest-dispatch-table]] and
[[request-route-spec]] functions export... | 15622 | (ns io.aviso.rook.dispatcher
"This namespace deals with dispatch tables mapping route specs of
the form
[method [path-segment ...]]
to resource handler functions. The recognized format is described at
length in the docstrings of the [[unnest-dispatch-table]] and
[[request-route-spec]] functions export... | true | (ns io.aviso.rook.dispatcher
"This namespace deals with dispatch tables mapping route specs of
the form
[method [path-segment ...]]
to resource handler functions. The recognized format is described at
length in the docstrings of the [[unnest-dispatch-table]] and
[[request-route-spec]] functions export... |
[
{
"context": "ented with \n <a href=\\\"https://github.com/palisades-lakes/faster-multimethods\\\">\n faster-multimetho",
"end": 311,
"score": 0.9961479306221008,
"start": 296,
"tag": "USERNAME",
"value": "palisades-lakes"
},
{
"context": "\">\n faster-multime... | src/main/clojure/palisades/lakes/fm/fill.clj | palisades-lakes/collection-experiments | 0 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns palisades.lakes.fm.fill
{:doc "A generic 'collection' <code>fill</code> function,
implemented with
<a href=\"https://github.com/palisades-lakes/faster-m... | 14390 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns palisades.lakes.fm.fill
{:doc "A generic 'collection' <code>fill</code> function,
implemented with
<a href=\"https://github.com/palisades-lakes/faster-m... | true | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns palisades.lakes.fm.fill
{:doc "A generic 'collection' <code>fill</code> function,
implemented with
<a href=\"https://github.com/palisades-lakes/faster-m... |
[
{
"context": "est-decode-auth-cookie\n (let [password [:cached \"test-password\"]\n a-sequence-value [\"cookie-value\" 1234]\n",
"end": 1922,
"score": 0.8895902037620544,
"start": 1909,
"tag": "PASSWORD",
"value": "test-password"
}
] | waiter/test/waiter/auth/authenticator_test.clj | twosigmajab/waiter | 1 | ;;
;; Copyright (c) Two Sigma Open Source, LLC
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or... | 41579 | ;;
;; 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": "no-doc pandect.utils.potemkin)\n\n;; --- copied from ztellman/potemkin\n;;\n;; Copyright (c) 2013 Zachary Tellman",
"end": 65,
"score": 0.8272819519042969,
"start": 57,
"tag": "USERNAME",
"value": "ztellman"
},
{
"context": "ed from ztellman/potemkin\n;;\n;; Copyright (... | src/clojure/pandect/utils/potemkin.clj | projetoeureka/pandect | 0 | (ns ^:no-doc pandect.utils.potemkin)
;; --- copied from ztellman/potemkin
;;
;; Copyright (c) 2013 Zachary Tellman
;;
;; 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... | 121492 | (ns ^:no-doc pandect.utils.potemkin)
;; --- copied from ztellman/potemkin
;;
;; Copyright (c) 2013 <NAME>
;;
;; Permission is hereby granted, free of charge, to any person obtaining a copy
;; of this software and associated documentation files (the "Software"), to
;; deal in the Software without restriction, includi... | true | (ns ^:no-doc pandect.utils.potemkin)
;; --- copied from ztellman/potemkin
;;
;; Copyright (c) 2013 PI:NAME:<NAME>END_PI
;;
;; Permission is hereby granted, free of charge, to any person obtaining a copy
;; of this software and associated documentation files (the "Software"), to
;; deal in the Software without restri... |
[
{
"context": "ser [{~'user-id-temp :id} {:email \"felicia@metabase.com\"\n ",
"end": 5113,
"score": 0.999930202960968,
"start": 5093,
"tag": "EMAIL",
"value": "felicia@metabase.com"
},
{
"context": " ... | c#-metabase/enterprise/backend/test/metabase_enterprise/serialization/test_util.clj | hanakhry/Crime_Admin | 0 | (ns metabase-enterprise.serialization.test-util
(:require [metabase-enterprise.serialization.names :as names]
[metabase.models :refer [Card Collection Dashboard DashboardCard DashboardCardSeries Database Dependency
Field Metric NativeQuerySnippet Pulse PulseCard Segmen... | 99641 | (ns metabase-enterprise.serialization.test-util
(:require [metabase-enterprise.serialization.names :as names]
[metabase.models :refer [Card Collection Dashboard DashboardCard DashboardCardSeries Database Dependency
Field Metric NativeQuerySnippet Pulse PulseCard Segmen... | true | (ns metabase-enterprise.serialization.test-util
(:require [metabase-enterprise.serialization.names :as names]
[metabase.models :refer [Card Collection Dashboard DashboardCard DashboardCardSeries Database Dependency
Field Metric NativeQuerySnippet Pulse PulseCard Segmen... |
[
{
"context": "n Etch instance. See [[convex.db]].\"\n\n {:author \"Adam Helinski\"}\n\n (:import (convex.core.store AStore\n ",
"end": 579,
"score": 0.9994574785232544,
"start": 566,
"tag": "NAME",
"value": "Adam Helinski"
}
] | project/cvm/src/clj/main/convex/cvm/db.clj | rosejn/convex.cljc | 30 | (ns convex.cvm.db
"When a CVM instance is used, it relies on a thread-local database which can be manually retrieved using [[local]].
The thread-local database can be set usint [[local-set]]. Originally, at thread initialization, it corresponds to
the [[global]] database which is common to all threads. Its... | 41190 | (ns convex.cvm.db
"When a CVM instance is used, it relies on a thread-local database which can be manually retrieved using [[local]].
The thread-local database can be set usint [[local-set]]. Originally, at thread initialization, it corresponds to
the [[global]] database which is common to all threads. Its... | true | (ns convex.cvm.db
"When a CVM instance is used, it relies on a thread-local database which can be manually retrieved using [[local]].
The thread-local database can be set usint [[local-set]]. Originally, at thread initialization, it corresponds to
the [[global]] database which is common to all threads. Its... |
[
{
"context": " (seed/new-account (new-uuid 100) \"Tony\" \"tony@example.com\" \"letmein\"\n ",
"end": 1715,
"score": 0.9998158812522888,
"start": 1711,
"tag": "NAME",
"value": "Tony"
},
{
"context": " (seed/new-account (new-uuid 100) \"Tony\" ... | src/datomic/development.clj | aeberts/fulcro-rad-demo | 0 | (ns development
(:require
[clojure.pprint :refer [pprint]]
[clojure.repl :refer [doc source]]
[clojure.tools.namespace.repl :as tools-ns :refer [disable-reload! refresh clear set-refresh-dirs]]
[com.example.components.datomic :refer [datomic-connections]]
[com.example.components.ring-middleware]
... | 41283 | (ns development
(:require
[clojure.pprint :refer [pprint]]
[clojure.repl :refer [doc source]]
[clojure.tools.namespace.repl :as tools-ns :refer [disable-reload! refresh clear set-refresh-dirs]]
[com.example.components.datomic :refer [datomic-connections]]
[com.example.components.ring-middleware]
... | true | (ns development
(:require
[clojure.pprint :refer [pprint]]
[clojure.repl :refer [doc source]]
[clojure.tools.namespace.repl :as tools-ns :refer [disable-reload! refresh clear set-refresh-dirs]]
[com.example.components.datomic :refer [datomic-connections]]
[com.example.components.ring-middleware]
... |
[
{
"context": ";\n; Copyright © 2021 Peter Monks\n;\n; Licensed under the Apache License, Version 2.",
"end": 32,
"score": 0.9995422959327698,
"start": 21,
"tag": "NAME",
"value": "Peter Monks"
}
] | src/futbot/quizzes.clj | pmonks/futbot | 3 | ;
; Copyright © 2021 Peter Monks
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writi... | 90665 | ;
; Copyright © 2021 <NAME>
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writing, s... | true | ;
; Copyright © 2021 PI:NAME:<NAME>END_PI
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to... |
[
{
"context": "lojure\n;; docs in clojure/contrib/jmx.clj!!\n\n;; by Stuart Halloway\n\n;; Copyright (c) Stuart Halloway, 2009. All righ",
"end": 90,
"score": 0.9998773336410522,
"start": 75,
"tag": "NAME",
"value": "Stuart Halloway"
},
{
"context": "jmx.clj!!\n\n;; by Stuart Halloway... | ThirdParty/clojure-contrib-1.1.0/src/clojure/contrib/jmx/client.clj | allertonm/Couverjure | 3 | ;; JMX client APIs for Clojure
;; docs in clojure/contrib/jmx.clj!!
;; by Stuart Halloway
;; Copyright (c) Stuart Halloway, 2009. All rights reserved. The use
;; and distribution terms for this software are covered by the Eclipse
;; Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
;; which can be ... | 49936 | ;; JMX client APIs for Clojure
;; docs in clojure/contrib/jmx.clj!!
;; by <NAME>
;; Copyright (c) <NAME>, 2009. All rights reserved. The use
;; and distribution terms for this software are covered by the Eclipse
;; Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
;; which can be found in the file ... | true | ;; JMX client APIs for Clojure
;; docs in clojure/contrib/jmx.clj!!
;; by PI:NAME:<NAME>END_PI
;; Copyright (c) PI:NAME:<NAME>END_PI, 2009. All rights reserved. The use
;; and distribution terms for this software are covered by the Eclipse
;; Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
;; whi... |
[
{
"context": "ite-authenticator? waiter-url)\n (let [token (rand-name)\n response (post-token waiter-url (dis",
"end": 628,
"score": 0.6995441913604736,
"start": 619,
"tag": "KEY",
"value": "rand-name"
},
{
"context": " \"'\")]\n (let [token (r... | waiter/integration/waiter/authentication_test.clj | pandashadopan/waiter | 0 | (ns waiter.authentication-test
(:require [clj-time.core :as t]
[clojure.data.json :as json]
[clojure.string :as str]
[clojure.test :refer :all]
[clojure.tools.logging :as log]
[reaver :as reaver]
[waiter.status-codes :refer :all]
[wai... | 42563 | (ns waiter.authentication-test
(:require [clj-time.core :as t]
[clojure.data.json :as json]
[clojure.string :as str]
[clojure.test :refer :all]
[clojure.tools.logging :as log]
[reaver :as reaver]
[waiter.status-codes :refer :all]
[wai... | true | (ns waiter.authentication-test
(:require [clj-time.core :as t]
[clojure.data.json :as json]
[clojure.string :as str]
[clojure.test :refer :all]
[clojure.tools.logging :as log]
[reaver :as reaver]
[waiter.status-codes :refer :all]
[wai... |
[
{
"context": "; Copyright 2010 Mark Allerton. All rights reserved.\n;\n; Redistribution and u",
"end": 33,
"score": 0.9998727440834045,
"start": 20,
"tag": "NAME",
"value": "Mark Allerton"
},
{
"context": " distribution.\n;\n; THIS SOFTWARE IS PROVIDED BY MARK ALLERTON ``AS ... | BridgeSupport/src/clojure/couverjure/tools/java_model.clj | allertonm/Couverjure | 3 | ; Copyright 2010 Mark Allerton. All rights reserved.
;
; Redistribution and use in source and binary forms, with or without modification, are
; permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copyright notice, this list of
; c... | 99542 | ; Copyright 2010 <NAME>. All rights reserved.
;
; Redistribution and use in source and binary forms, with or without modification, are
; permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copyright notice, this list of
; conditio... | true | ; Copyright 2010 PI:NAME:<NAME>END_PI. All rights reserved.
;
; Redistribution and use in source and binary forms, with or without modification, are
; permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copyright notice, this list of
; ... |
[
{
"context": "le-data\n []\n [{:inv/color \"blue\"\n :inv/name \"adam\"}\n #_{:inv/color \"red\"\n :inv/name \"beatrice\"",
"end": 785,
"score": 0.8952719569206238,
"start": 781,
"tag": "NAME",
"value": "adam"
},
{
"context": "ame \"adam\"}\n #_{:inv/color \"red\"\n :i... | src/datomic/raw_index.clj | michelemendel/datomic-playground | 0 | (ns datomic.raw-index
(:require [datomic.client.api :as d]
[clojure.pprint :as pp]))
;; Raw index
;; https://docs.datomic.com/cloud/query/raw-index-access.html
;; See tutorial-inventory for the full data set
(def cfg {:server-type :dev-local
:system "datomic-tutorial"})
(def client (d/client ... | 103590 | (ns datomic.raw-index
(:require [datomic.client.api :as d]
[clojure.pprint :as pp]))
;; Raw index
;; https://docs.datomic.com/cloud/query/raw-index-access.html
;; See tutorial-inventory for the full data set
(def cfg {:server-type :dev-local
:system "datomic-tutorial"})
(def client (d/client ... | true | (ns datomic.raw-index
(:require [datomic.client.api :as d]
[clojure.pprint :as pp]))
;; Raw index
;; https://docs.datomic.com/cloud/query/raw-index-access.html
;; See tutorial-inventory for the full data set
(def cfg {:server-type :dev-local
:system "datomic-tutorial"})
(def client (d/client ... |
[
{
"context": ";;\n;;\n;; Copyright 2013 Netflix, Inc.\n;;\n;; Licensed under the Apache Lic",
"end": 28,
"score": 0.938123881816864,
"start": 25,
"tag": "NAME",
"value": "Net"
}
] | src/main/clojure/pigpen/local.clj | magomimmo/PigPen | 1 | ;;
;;
;; Copyright 2013 Netflix, Inc.
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by ap... | 95010 | ;;
;;
;; Copyright 2013 <NAME>flix, Inc.
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by... | true | ;;
;;
;; Copyright 2013 PI:NAME:<NAME>END_PIflix, Inc.
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unle... |
[
{
"context": "name-goes-as-password\n (is (not (authenticate \"zxcv\" \"notvalid\"))))\n\n(deftest not-username-fails-as-p",
"end": 148,
"score": 0.7933185696601868,
"start": 144,
"tag": "USERNAME",
"value": "zxcv"
},
{
"context": "rname-fails-as-password\n (is (not (authenticate... | test/ontrail/test/auth.clj | jrosti/ontrail | 1 | (ns ontrail.test.auth
(:use [ontrail auth user crypto]
clojure.test))
(deftest username-goes-as-password
(is (not (authenticate "zxcv" "notvalid"))))
(deftest not-username-fails-as-password
(is (not (authenticate "Esko" "esko2"))))
(deftest not-existing-username-fails-as-password
(is (not (authenti... | 87685 | (ns ontrail.test.auth
(:use [ontrail auth user crypto]
clojure.test))
(deftest username-goes-as-password
(is (not (authenticate "zxcv" "notvalid"))))
(deftest not-username-fails-as-password
(is (not (authenticate "Esko" "<PASSWORD>"))))
(deftest not-existing-username-fails-as-password
(is (not (aut... | true | (ns ontrail.test.auth
(:use [ontrail auth user crypto]
clojure.test))
(deftest username-goes-as-password
(is (not (authenticate "zxcv" "notvalid"))))
(deftest not-username-fails-as-password
(is (not (authenticate "Esko" "PI:PASSWORD:<PASSWORD>END_PI"))))
(deftest not-existing-username-fails-as-passwo... |
[
{
"context": "e record\"\n (let [org (org/create {:user-email \"esau@sand.org\" :user-name \"esau\" :name \"nilenso\"}) ;; creating ",
"end": 631,
"score": 0.9999184608459473,
"start": 618,
"tag": "EMAIL",
"value": "esau@sand.org"
},
{
"context": "g/create {:user-email \"esau@sand... | test/kulu_backend/users/model_test.clj | vkrmis/kulu-backend | 3 | (ns kulu-backend.users.model-test
(:require [conjure.core :refer :all]
[kulu-backend.db :as db]
[kulu-backend.users.model :as users]
[kulu-backend.organizations.model :as org]
[kulu-backend.test-helper :refer :all]
[clojure.test :refer :all]))
(use-fixtures... | 11891 | (ns kulu-backend.users.model-test
(:require [conjure.core :refer :all]
[kulu-backend.db :as db]
[kulu-backend.users.model :as users]
[kulu-backend.organizations.model :as org]
[kulu-backend.test-helper :refer :all]
[clojure.test :refer :all]))
(use-fixtures... | true | (ns kulu-backend.users.model-test
(:require [conjure.core :refer :all]
[kulu-backend.db :as db]
[kulu-backend.users.model :as users]
[kulu-backend.organizations.model :as org]
[kulu-backend.test-helper :refer :all]
[clojure.test :refer :all]))
(use-fixtures... |
[
{
"context": "\n; ;; Receiver-Schedules objects\n; [{:signal-key \"test-receiver\"\n; :receiver-schedule {:schedule-type ",
"end": 319,
"score": 0.533907413482666,
"start": 315,
"tag": "KEY",
"value": "test"
}
] | Software-Projects/service-orchestrator/src/xtrax/service_orchestrator/scheduler/receiver_scheduler.clj | briancabbott/xtrax | 2 | (ns xtrax.service-orchestrator.scheduler.receiver-scheduler
(:require [clj-time.types :refer [date-time?]]
[xtrax.service-orchestrator.receiver-coordinator :as coordinator]
[xtrax.service-orchestrator.db.data-store.core :as data-store]))
;
; ;; Receiver-Schedules objects
; [{:signal-key "test-... | 53741 | (ns xtrax.service-orchestrator.scheduler.receiver-scheduler
(:require [clj-time.types :refer [date-time?]]
[xtrax.service-orchestrator.receiver-coordinator :as coordinator]
[xtrax.service-orchestrator.db.data-store.core :as data-store]))
;
; ;; Receiver-Schedules objects
; [{:signal-key "<KEY>... | true | (ns xtrax.service-orchestrator.scheduler.receiver-scheduler
(:require [clj-time.types :refer [date-time?]]
[xtrax.service-orchestrator.receiver-coordinator :as coordinator]
[xtrax.service-orchestrator.db.data-store.core :as data-store]))
;
; ;; Receiver-Schedules objects
; [{:signal-key "PI:KE... |
[
{
"context": ";; Copyright 2014-2020 King\n;; Copyright 2009-2014 Ragnar Svensson, Christian Murray\n;; Licensed under the Defold Li",
"end": 111,
"score": 0.9998161792755127,
"start": 96,
"tag": "NAME",
"value": "Ragnar Svensson"
},
{
"context": "-2020 King\n;; Copyright 2009-2014 R... | editor/src/clj/editor/core.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... | 53631 | ;; 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": "\"Email\"] [:th \"age\"]]\r\n [:tr [:td \"1\"] [:td \"Milos\"] [:td \"Marinkovic\"] [:td \"marinkovicmilos@gmail.",
"end": 659,
"score": 0.9997867941856384,
"start": 654,
"tag": "NAME",
"value": "Milos"
},
{
"context": "\"age\"]]\r\n [:tr [:td \"1\"] [:td \"Mi... | src/views/customerview.clj | marinkovicmilos/practice-clojure | 0 | (ns views.customerview
(:require [clojure.string :as str]
[hiccup.page :as page]))
(defn gen-page-head
[title]
[:head
[:title (str "Customers: " title)]])
(def header-links
[:div#header-links
"[ "
[:a {:href "/"} "Home"]
" | "
[:a {:href "/add-customer"} "Add a custome... | 37216 | (ns views.customerview
(:require [clojure.string :as str]
[hiccup.page :as page]))
(defn gen-page-head
[title]
[:head
[:title (str "Customers: " title)]])
(def header-links
[:div#header-links
"[ "
[:a {:href "/"} "Home"]
" | "
[:a {:href "/add-customer"} "Add a custome... | true | (ns views.customerview
(:require [clojure.string :as str]
[hiccup.page :as page]))
(defn gen-page-head
[title]
[:head
[:title (str "Customers: " title)]])
(def header-links
[:div#header-links
"[ "
[:a {:href "/"} "Home"]
" | "
[:a {:href "/add-customer"} "Add a custome... |
[
{
"context": ";; Original author Hirokuni Kim\n;; Modifications by Kevin Kredit\n;; Licensed unde",
"end": 31,
"score": 0.9997705817222595,
"start": 19,
"tag": "NAME",
"value": "Hirokuni Kim"
},
{
"context": "; Original author Hirokuni Kim\n;; Modifications by Kevin Kredit\n;; Licens... | clojure/p07-closure/src/p07_closure/core.clj | kkredit/pl-study | 0 | ;; Original author Hirokuni Kim
;; Modifications by Kevin Kredit
;; Licensed under https://www.apache.org/licenses/LICENSE-2.0
;; See https://kimh.github.io/clojure-by-example/#closure
(ns p07-closure.core)
(defn inner
[from-outer]
(fn [] (println from-outer)))
(defn -main
"Main"
[]
(def outer1 (inner "thi... | 46707 | ;; Original author <NAME>
;; Modifications by <NAME>
;; Licensed under https://www.apache.org/licenses/LICENSE-2.0
;; See https://kimh.github.io/clojure-by-example/#closure
(ns p07-closure.core)
(defn inner
[from-outer]
(fn [] (println from-outer)))
(defn -main
"Main"
[]
(def outer1 (inner "this is from ou... | true | ;; Original author PI:NAME:<NAME>END_PI
;; Modifications by PI:NAME:<NAME>END_PI
;; Licensed under https://www.apache.org/licenses/LICENSE-2.0
;; See https://kimh.github.io/clojure-by-example/#closure
(ns p07-closure.core)
(defn inner
[from-outer]
(fn [] (println from-outer)))
(defn -main
"Main"
[]
(def ou... |
[
{
"context": " :name \"Abel\"\n ",
"end": 522,
"score": 0.999821126461029,
"start": 518,
"tag": "NAME",
"value": "Abel"
},
{
"context": "ustomer customer-id ..http..) => {:customer-name \"Abel\"}... | test/basic_microservice_example/controller_test.clj | miguelemosreverte/basic-microservice-example | 3 | (ns basic-microservice-example.controller-test
(:require [midje.sweet :refer :all]
[basic-microservice-example.db.saving-account :as db.saving-account]
[basic-microservice-example.controller :as controller])
(:import [java.util UUID]))
(def customer-id (UUID/randomUUID))
(fact "Sketching a... | 61318 | (ns basic-microservice-example.controller-test
(:require [midje.sweet :refer :all]
[basic-microservice-example.db.saving-account :as db.saving-account]
[basic-microservice-example.controller :as controller])
(:import [java.util UUID]))
(def customer-id (UUID/randomUUID))
(fact "Sketching a... | true | (ns basic-microservice-example.controller-test
(:require [midje.sweet :refer :all]
[basic-microservice-example.db.saving-account :as db.saving-account]
[basic-microservice-example.controller :as controller])
(:import [java.util UUID]))
(def customer-id (UUID/randomUUID))
(fact "Sketching a... |
[
{
"context": "; Copyright (C) 2014, 2015 Dr. Thomas Schank (DrTom@schank.ch, Thomas.Schank@algocon.ch)\n; Re",
"end": 44,
"score": 0.9997866153717041,
"start": 31,
"tag": "NAME",
"value": "Thomas Schank"
},
{
"context": "; Copyright (C) 2014, 2015 Dr. Thomas Schank (DrTom@schank.ch... | test/json_roa/ring_middleware/response_test.clj | json-roa/json-roa_clj-utils | 0 | ; Copyright (C) 2014, 2015 Dr. Thomas Schank (DrTom@schank.ch, Thomas.Schank@algocon.ch)
; Released under the MIT license.
(ns json-roa.ring-middleware.response-test
(:require
[ring.util.response]
[json-roa.ring-middleware.response]
[clojure.data.json :as json]
[cheshire.core :as cheshire]
[clo... | 120248 | ; Copyright (C) 2014, 2015 Dr. <NAME> (<EMAIL>, <EMAIL>)
; Released under the MIT license.
(ns json-roa.ring-middleware.response-test
(:require
[ring.util.response]
[json-roa.ring-middleware.response]
[clojure.data.json :as json]
[cheshire.core :as cheshire]
[clojure.tools.logging :as logging]
... | true | ; Copyright (C) 2014, 2015 Dr. PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI, PI:EMAIL:<EMAIL>END_PI)
; Released under the MIT license.
(ns json-roa.ring-middleware.response-test
(:require
[ring.util.response]
[json-roa.ring-middleware.response]
[clojure.data.json :as json]
[cheshire.core :as cheshi... |
[
{
"context": "ue}))\n\n(def table-contents\n [{:id 1 :first-name \"Bram\" :last-name \"Moolenaar\" :known-for \"Vim\"}\n ",
"end": 183,
"score": 0.9997382164001465,
"start": 179,
"tag": "NAME",
"value": "Bram"
},
{
"context": "tents\n [{:id 1 :first-name \"Bram\" :last-nam... | recipes/sort-table/src/cljs/sort_table/core.cljs | yatesj9/reagent-cookbook | 1 | (ns sort-table.core
(:require [reagent.core :as reagent]))
(def app-state (reagent/atom {:sort-val :first-name :ascending true}))
(def table-contents
[{:id 1 :first-name "Bram" :last-name "Moolenaar" :known-for "Vim"}
{:id 2 :first-name "Richard" :last-name "Stallman" :known-for "GNU"}
{:id 3 :first... | 90646 | (ns sort-table.core
(:require [reagent.core :as reagent]))
(def app-state (reagent/atom {:sort-val :first-name :ascending true}))
(def table-contents
[{:id 1 :first-name "<NAME>" :last-name "<NAME>" :known-for "<NAME>"}
{:id 2 :first-name "<NAME>" :last-name "<NAME>" :known-for "GNU"}
{:id 3 :first-... | true | (ns sort-table.core
(:require [reagent.core :as reagent]))
(def app-state (reagent/atom {:sort-val :first-name :ascending true}))
(def table-contents
[{:id 1 :first-name "PI:NAME:<NAME>END_PI" :last-name "PI:NAME:<NAME>END_PI" :known-for "PI:NAME:<NAME>END_PI"}
{:id 2 :first-name "PI:NAME:<NAME>END_PI" :... |
[
{
"context": "cro network\n NetworkRoot\n {})\n\n(s/def ::name #{\"Arnold\" \"Bea\" \"Dude\" \"Girl\"})\n\n(mutations/defmutation se",
"end": 8427,
"score": 0.9996871948242188,
"start": 8421,
"tag": "NAME",
"value": "Arnold"
},
{
"context": "rk\n NetworkRoot\n {})\n\n(s/def ::nam... | devcards/fulcro/inspect/ui/network_cards.cljs | mitchelkuijpers/fulcro-inspect | 0 | (ns fulcro.inspect.ui.network-cards
(:require
[devcards.core :refer-macros [defcard]]
[fulcro-css.css :as css]
[fulcro.client.cards :refer-macros [defcard-fulcro]]
[fulcro.inspect.ui.network :as network]
[fulcro.client.primitives :as fp]
[fulcro.client.network :as f.network]
[fulcro.client... | 26947 | (ns fulcro.inspect.ui.network-cards
(:require
[devcards.core :refer-macros [defcard]]
[fulcro-css.css :as css]
[fulcro.client.cards :refer-macros [defcard-fulcro]]
[fulcro.inspect.ui.network :as network]
[fulcro.client.primitives :as fp]
[fulcro.client.network :as f.network]
[fulcro.client... | true | (ns fulcro.inspect.ui.network-cards
(:require
[devcards.core :refer-macros [defcard]]
[fulcro-css.css :as css]
[fulcro.client.cards :refer-macros [defcard-fulcro]]
[fulcro.inspect.ui.network :as network]
[fulcro.client.primitives :as fp]
[fulcro.client.network :as f.network]
[fulcro.client... |
[
{
"context": "dio.covid19-clj-viz.italian-situation\n \"Following Alan Marazzi's 'The Italian COVID-19 situation' [1] with ortho",
"end": 84,
"score": 0.9873863458633423,
"start": 72,
"tag": "NAME",
"value": "Alan Marazzi"
}
] | src/appliedsciencestudio/covid19_clj_viz/italian_situation.clj | noorfathima11/covid19-clj-viz | 0 | (ns appliedsciencestudio.covid19-clj-viz.italian-situation
"Following Alan Marazzi's 'The Italian COVID-19 situation' [1] with orthodox Clojure rather than Panthera
Run the original in NextJournal at https://nextjournal.com/alan/getting-started-with-italian-data-on-covid-19
[1] https://alanmarazzi.gitlab.io/blo... | 13319 | (ns appliedsciencestudio.covid19-clj-viz.italian-situation
"Following <NAME>'s 'The Italian COVID-19 situation' [1] with orthodox Clojure rather than Panthera
Run the original in NextJournal at https://nextjournal.com/alan/getting-started-with-italian-data-on-covid-19
[1] https://alanmarazzi.gitlab.io/blog/post... | true | (ns appliedsciencestudio.covid19-clj-viz.italian-situation
"Following PI:NAME:<NAME>END_PI's 'The Italian COVID-19 situation' [1] with orthodox Clojure rather than Panthera
Run the original in NextJournal at https://nextjournal.com/alan/getting-started-with-italian-data-on-covid-19
[1] https://alanmarazzi.gitla... |
[
{
"context": "ECEIVE #####//\n(try \n (let [gstore (gmail/store \"user@gmail.com\" \"password\")\n inbox-messages (inbox gstore",
"end": 293,
"score": 0.9999184608459473,
"start": 279,
"tag": "EMAIL",
"value": "user@gmail.com"
},
{
"context": "##### SEND #####//\n(try \n (se... | email/src/emailcl/core.clj | caahab/cli-webbots | 0 | (ns emailcl.core
(:gen-class)
(:require [postal.core :refer :all]
[clojure-mail.core :refer :all]
[clojure-mail.gmail :as gmail]
[clojure-mail.message :refer (read-message)]))
;;//##### RECEIVE #####//
(try
(let [gstore (gmail/store "user@gmail.com" "password")
inbox... | 88939 | (ns emailcl.core
(:gen-class)
(:require [postal.core :refer :all]
[clojure-mail.core :refer :all]
[clojure-mail.gmail :as gmail]
[clojure-mail.message :refer (read-message)]))
;;//##### RECEIVE #####//
(try
(let [gstore (gmail/store "<EMAIL>" "password")
inbox-messag... | true | (ns emailcl.core
(:gen-class)
(:require [postal.core :refer :all]
[clojure-mail.core :refer :all]
[clojure-mail.gmail :as gmail]
[clojure-mail.message :refer (read-message)]))
;;//##### RECEIVE #####//
(try
(let [gstore (gmail/store "PI:EMAIL:<EMAIL>END_PI" "password")
... |
[
{
"context": "eld]]))\n\n(def currencies\n [{:code \"IQD\", :name \"Iraqi Dinar\", :symbol \"IQD\", :symbol_native \"د.ع.\"}\n {:cod",
"end": 356,
"score": 0.9132674336433411,
"start": 346,
"tag": "NAME",
"value": "raqi Dinar"
},
{
"context": ", :symbol_native \"د.ع.\"}\n {:co... | src/cljs/wkok/buy2let/currencies.cljs | wkok/re-frame-buy2let | 0 | (ns wkok.buy2let.currencies
(:require-macros [reagent-mui.util :refer [react-component]])
(:require [reagent.core :as ra]
[reagent-mui.material.autocomplete :refer [autocomplete] :rename {autocomplete mui-autocomplete}]
[reagent-mui.material.text-field :refer [text-field]]))
(def currencies... | 100056 | (ns wkok.buy2let.currencies
(:require-macros [reagent-mui.util :refer [react-component]])
(:require [reagent.core :as ra]
[reagent-mui.material.autocomplete :refer [autocomplete] :rename {autocomplete mui-autocomplete}]
[reagent-mui.material.text-field :refer [text-field]]))
(def currencies... | true | (ns wkok.buy2let.currencies
(:require-macros [reagent-mui.util :refer [react-component]])
(:require [reagent.core :as ra]
[reagent-mui.material.autocomplete :refer [autocomplete] :rename {autocomplete mui-autocomplete}]
[reagent-mui.material.text-field :refer [text-field]]))
(def currencies... |
[
{
"context": ";; Solution for 112. Sequs Horribilis\n\n\n\n;; Create a function which takes an integer an",
"end": 37,
"score": 0.9990574717521667,
"start": 21,
"tag": "NAME",
"value": "Sequs Horribilis"
}
] | solutions/medium/112.clj | realead/my4clojure | 0 | ;; Solution for 112. Sequs Horribilis
;; Create a function which takes an integer and a nested collection of integers as arguments. Analyze the elements of the input collection and return a sequence which maintains the nested structure,
;; and which includes all elements starting from the head whose sum is less than... | 80039 | ;; Solution for 112. <NAME>
;; Create a function which takes an integer and a nested collection of integers as arguments. Analyze the elements of the input collection and return a sequence which maintains the nested structure,
;; and which includes all elements starting from the head whose sum is less than or equal ... | true | ;; Solution for 112. PI:NAME:<NAME>END_PI
;; Create a function which takes an integer and a nested collection of integers as arguments. Analyze the elements of the input collection and return a sequence which maintains the nested structure,
;; and which includes all elements starting from the head whose sum is less ... |
[
{
"context": " [next.jdbc :as jdbc]))\n\n(def yoda {:name \"yoda\" :movie :star-wars :age 900})\n(def leia {:name \"l",
"end": 246,
"score": 0.993683397769928,
"start": 242,
"tag": "NAME",
"value": "yoda"
},
{
"context": "a\" :movie :star-wars :age 900})\n(def leia {:name \"le... | test/daaku/sqjson_test.clj | daaku/sqjson-clj | 0 | (ns daaku.sqjson-test
(:refer-clojure :exclude [replace count])
(:require [clojure.string :as str]
[clojure.test :refer [deftest is]]
[daaku.sqjson :as sqjson]
[next.jdbc :as jdbc]))
(def yoda {:name "yoda" :movie :star-wars :age 900})
(def leia {:name "leia" :movie :star-wars :... | 94587 | (ns daaku.sqjson-test
(:refer-clojure :exclude [replace count])
(:require [clojure.string :as str]
[clojure.test :refer [deftest is]]
[daaku.sqjson :as sqjson]
[next.jdbc :as jdbc]))
(def yoda {:name "<NAME>" :movie :star-wars :age 900})
(def leia {:name "<NAME>" :movie :star-wa... | true | (ns daaku.sqjson-test
(:refer-clojure :exclude [replace count])
(:require [clojure.string :as str]
[clojure.test :refer [deftest is]]
[daaku.sqjson :as sqjson]
[next.jdbc :as jdbc]))
(def yoda {:name "PI:NAME:<NAME>END_PI" :movie :star-wars :age 900})
(def leia {:name "PI:NAME:<... |
[
{
"context": " ;;\n;; Author: Jon Anthony ",
"end": 1839,
"score": 0.9998331069946289,
"start": 1828,
"tag": "NAME",
"value": "Jon Anthony"
}
] | src/aerial/utils/math/infoth.clj | jsa-aerial/aerial.utils | 5 | ;;--------------------------------------------------------------------------;;
;; ;;
;; U T I L S . I N F O T H ;;
;; ;;
;; P... | 51767 | ;;--------------------------------------------------------------------------;;
;; ;;
;; U T I L S . I N F O T H ;;
;; ;;
;; P... | true | ;;--------------------------------------------------------------------------;;
;; ;;
;; U T I L S . I N F O T H ;;
;; ;;
;; P... |
[
{
"context": ";; Author: @Sid220\n(defn is-small? [number]\n (if (== number 1) (pri",
"end": 18,
"score": 0.9995507001876831,
"start": 11,
"tag": "USERNAME",
"value": "@Sid220"
},
{
"context": "efn is-small? [number]\n (if (== number 1) (print\"Joe Mama\") (print\"Joe Biden\")))\n(... | clojure.clj | Sid220/joe-mama-or-joe-biden | 3 | ;; Author: @Sid220
(defn is-small? [number]
(if (== number 1) (print"Joe Mama") (print"Joe Biden")))
(is-small? (rand-int 2))
| 27619 | ;; Author: @Sid220
(defn is-small? [number]
(if (== number 1) (print"<NAME>") (print"<NAME>")))
(is-small? (rand-int 2))
| true | ;; Author: @Sid220
(defn is-small? [number]
(if (== number 1) (print"PI:NAME:<NAME>END_PI") (print"PI:NAME:<NAME>END_PI")))
(is-small? (rand-int 2))
|
[
{
"context": "mes (str \"Hello \" name)))))\n(greeting)\n(greeting \"Sue\")\n(greeting \"Sue\" 4)\n\n\n\n(macroexpand '(go (printl",
"end": 4275,
"score": 0.6091238260269165,
"start": 4272,
"tag": "NAME",
"value": "Sue"
},
{
"context": "name)))))\n(greeting)\n(greeting \"Sue\")\n(gre... | src/clj/clj_intro1.clj | chrisfjones/clj-intro | 2 | (use 'mikera.image.core)
(-> (load-image-resource "logo.png")
show
(.setAlwaysOnTop true))
;;;;;;;;;;;;;;;;;;;;
;; 1. Live coding ;;
;;;;;;;;;;;;;;;;;;;;
(* (+ 2 3) 3)
(+ 1 1 3 4)
;;;;;;;;;;;;;;;;;;;;;
;; 2. Java interop ;;
;;;;;;;;;;;;;;;;;;;;;
(System/currentTimeMillis)
(get (Syste... | 61305 | (use 'mikera.image.core)
(-> (load-image-resource "logo.png")
show
(.setAlwaysOnTop true))
;;;;;;;;;;;;;;;;;;;;
;; 1. Live coding ;;
;;;;;;;;;;;;;;;;;;;;
(* (+ 2 3) 3)
(+ 1 1 3 4)
;;;;;;;;;;;;;;;;;;;;;
;; 2. Java interop ;;
;;;;;;;;;;;;;;;;;;;;;
(System/currentTimeMillis)
(get (Syste... | true | (use 'mikera.image.core)
(-> (load-image-resource "logo.png")
show
(.setAlwaysOnTop true))
;;;;;;;;;;;;;;;;;;;;
;; 1. Live coding ;;
;;;;;;;;;;;;;;;;;;;;
(* (+ 2 3) 3)
(+ 1 1 3 4)
;;;;;;;;;;;;;;;;;;;;;
;; 2. Java interop ;;
;;;;;;;;;;;;;;;;;;;;;
(System/currentTimeMillis)
(get (Syste... |
[
{
"context": "t-Based Inference\n;;; =============\n;;; Written by Jonathan P. Bona\n;;; Ported to Clojure by Daniel R. Schlegel\n;;; ",
"end": 82,
"score": 0.9998895525932312,
"start": 66,
"tag": "NAME",
"value": "Jonathan P. Bona"
},
{
"context": "itten by Jonathan P. Bona\n;;; Po... | src/clj/zinc/snip_slot_based.clj | martinodb/Zinc | 0 | ;;; CSNePS: Slot-Based Inference
;;; =============
;;; Written by Jonathan P. Bona
;;; Ported to Clojure by Daniel R. Schlegel
;;;
;;; The contents of this file are subject to the University at Buffalo
;;; Public License Version 1.0 (the "License"); you may not use this file
;;; except in compliance with the Licens... | 81625 | ;;; CSNePS: Slot-Based Inference
;;; =============
;;; Written by <NAME>
;;; Ported to Clojure by <NAME>
;;;
;;; The contents of this file are subject to the University at Buffalo
;;; Public License Version 1.0 (the "License"); you may not use this file
;;; except in compliance with the License. You may obtain a co... | true | ;;; CSNePS: Slot-Based Inference
;;; =============
;;; Written by PI:NAME:<NAME>END_PI
;;; Ported to Clojure by PI:NAME:<NAME>END_PI
;;;
;;; The contents of this file are subject to the University at Buffalo
;;; Public License Version 1.0 (the "License"); you may not use this file
;;; except in compliance with the ... |
[
{
"context": "ntifies this request in the cache\n :cache-key \"/sample|:get||||\"\n\n ;; the response returned by the handler in c",
"end": 6857,
"score": 0.8420186638832092,
"start": 6842,
"tag": "KEY",
"value": "sample|:get||||"
}
] | src/com/brunobonacci/ring_boost/core.clj | BrunoBonacci/ring-boost | 10 | (ns com.brunobonacci.ring-boost.core
(:require [clojure.java.io :as io]
[clojure.pprint :refer [pprint]]
[clojure.string :as str]
[com.brunobonacci.sophia :as sph]
[pandect.algo.md5 :as digest]
[safely.core :refer [safely]]
[samsara.trackit :refe... | 77478 | (ns com.brunobonacci.ring-boost.core
(:require [clojure.java.io :as io]
[clojure.pprint :refer [pprint]]
[clojure.string :as str]
[com.brunobonacci.sophia :as sph]
[pandect.algo.md5 :as digest]
[safely.core :refer [safely]]
[samsara.trackit :refe... | true | (ns com.brunobonacci.ring-boost.core
(:require [clojure.java.io :as io]
[clojure.pprint :refer [pprint]]
[clojure.string :as str]
[com.brunobonacci.sophia :as sph]
[pandect.algo.md5 :as digest]
[safely.core :refer [safely]]
[samsara.trackit :refe... |
[
{
"context": "nv v v')))))))\n\n(comment\n (def db\n [[0 :name \"Peter\"]\n [0 :age 40]\n [0 :likes \"Pizza\"]\n [",
"end": 2221,
"score": 0.9989039897918701,
"start": 2216,
"tag": "NAME",
"value": "Peter"
},
{
"context": "0 :age 40]\n [0 :likes \"Pizza\"]\n [... | src/clj/lhrb/engine.clj | lhrb/datahog | 3 | (ns lhrb.engine
(:refer-clojure :exclude [==])
(:require [clojure.string :as str]
[clojure.core.match :refer [match]]
[lhrb.ukanren :as k :refer [lvar? walk unify == conj' disj' conj+ disj+ take-all bind]]))
(defn create-index
"creates an index from eav data
(create-index [[e a v] ...] ... | 8494 | (ns lhrb.engine
(:refer-clojure :exclude [==])
(:require [clojure.string :as str]
[clojure.core.match :refer [match]]
[lhrb.ukanren :as k :refer [lvar? walk unify == conj' disj' conj+ disj+ take-all bind]]))
(defn create-index
"creates an index from eav data
(create-index [[e a v] ...] ... | true | (ns lhrb.engine
(:refer-clojure :exclude [==])
(:require [clojure.string :as str]
[clojure.core.match :refer [match]]
[lhrb.ukanren :as k :refer [lvar? walk unify == conj' disj' conj+ disj+ take-all bind]]))
(defn create-index
"creates an index from eav data
(create-index [[e a v] ...] ... |
[
{
"context": "578.jpeg\"}\n {:name \"Gungan Bongo Submarine\", :image \"/img/databank_gunganbongosubmarine_01_1",
"end": 1628,
"score": 0.9667905569076538,
"start": 1606,
"tag": "NAME",
"value": "Gungan Bongo Submarine"
},
{
"context": "6be.jpeg\"}\n ... | src/understanding_re_frame/subscriptions.cljs | lispcast/understanding-re-frame | 14 | (ns understanding-re-frame.subscriptions
(:require [reagent.core :as reagent]
[clojure.string :as str]
[re-frame.core :as rf]
[day8.re-frame.http-fx]
[ajax.core :as ajax]
[re-frame.db :as db]))
(def vehicles (zipmap (range) [{:name "V-Wing Fighter", :image ... | 64401 | (ns understanding-re-frame.subscriptions
(:require [reagent.core :as reagent]
[clojure.string :as str]
[re-frame.core :as rf]
[day8.re-frame.http-fx]
[ajax.core :as ajax]
[re-frame.db :as db]))
(def vehicles (zipmap (range) [{:name "V-Wing Fighter", :image ... | true | (ns understanding-re-frame.subscriptions
(:require [reagent.core :as reagent]
[clojure.string :as str]
[re-frame.core :as rf]
[day8.re-frame.http-fx]
[ajax.core :as ajax]
[re-frame.db :as db]))
(def vehicles (zipmap (range) [{:name "V-Wing Fighter", :image ... |
[
{
"context": "s str]\n [clojure.test :refer [deftest is]]))\n\n;; Van Eck's sequence https://youtu.be/etMJxB-igrc\n(defn tur",
"end": 107,
"score": 0.643992006778717,
"start": 100,
"tag": "NAME",
"value": "Van Eck"
}
] | src/aoc/2020/15.clj | callum-oakley/advent-of-code | 2 | (ns aoc.2020.15
(:require
[clojure.string :as str]
[clojure.test :refer [deftest is]]))
;; Van Eck's sequence https://youtu.be/etMJxB-igrc
(defn turn [[prev i mem]]
(let [seen (get mem prev)
age (if seen (- i seen) 0)]
[age (inc i) (assoc! mem prev i)]))
(defn game [n seed]
(nth
(->> (itera... | 64561 | (ns aoc.2020.15
(:require
[clojure.string :as str]
[clojure.test :refer [deftest is]]))
;; <NAME>'s sequence https://youtu.be/etMJxB-igrc
(defn turn [[prev i mem]]
(let [seen (get mem prev)
age (if seen (- i seen) 0)]
[age (inc i) (assoc! mem prev i)]))
(defn game [n seed]
(nth
(->> (iterat... | true | (ns aoc.2020.15
(:require
[clojure.string :as str]
[clojure.test :refer [deftest is]]))
;; PI:NAME:<NAME>END_PI's sequence https://youtu.be/etMJxB-igrc
(defn turn [[prev i mem]]
(let [seen (get mem prev)
age (if seen (- i seen) 0)]
[age (inc i) (assoc! mem prev i)]))
(defn game [n seed]
(nth
... |
[
{
"context": ".9.5-pre10\"]\n [com.oracle/ojdbc7 \"12.1.0.1\"]\n [buddy/buddy-auth \"1.4.1\"]\n ",
"end": 903,
"score": 0.9996148347854614,
"start": 895,
"tag": "IP_ADDRESS",
"value": "12.1.0.1"
}
] | project.clj | ithaka/artstor-metadata-service-os | 0 | (defproject artstor-metadata-service-os "1.0.0"
:description "Artstor Metadata Service"
:url "http://www.artstor.org/"
:license {:name "MIT License"
:url "https://opensource.org/licenses/MIT"}
:dependencies [[org.clojure/clojure "1.8.0"]
[org.clojure/data.json "0.2.6"]
... | 15850 | (defproject artstor-metadata-service-os "1.0.0"
:description "Artstor Metadata Service"
:url "http://www.artstor.org/"
:license {:name "MIT License"
:url "https://opensource.org/licenses/MIT"}
:dependencies [[org.clojure/clojure "1.8.0"]
[org.clojure/data.json "0.2.6"]
... | true | (defproject artstor-metadata-service-os "1.0.0"
:description "Artstor Metadata Service"
:url "http://www.artstor.org/"
:license {:name "MIT License"
:url "https://opensource.org/licenses/MIT"}
:dependencies [[org.clojure/clojure "1.8.0"]
[org.clojure/data.json "0.2.6"]
... |
[
{
"context": "t the data then add a password.\n ;; :password [:salted \"your-pass\"]\n\n ;; If you wish track how much ti",
"end": 4714,
"score": 0.9912814497947693,
"start": 4708,
"tag": "PASSWORD",
"value": "salted"
},
{
"context": "ta then add a password.\n ;; :password [:sa... | service/src/optimus/service/backends/middleware/binary_kv_store.clj | trainline/optimus | 13 | ;; Copyright (c) Trainline Limited, 2017. All rights reserved.
;; See LICENSE.txt in the project root for license information
(ns optimus.service.backends.middleware.binary-kv-store
"This is a implementation of the KV store protocol
which encodes the value as a binary payload it optionally
compress it. This can... | 93481 | ;; Copyright (c) Trainline Limited, 2017. All rights reserved.
;; See LICENSE.txt in the project root for license information
(ns optimus.service.backends.middleware.binary-kv-store
"This is a implementation of the KV store protocol
which encodes the value as a binary payload it optionally
compress it. This can... | true | ;; Copyright (c) Trainline Limited, 2017. All rights reserved.
;; See LICENSE.txt in the project root for license information
(ns optimus.service.backends.middleware.binary-kv-store
"This is a implementation of the KV store protocol
which encodes the value as a binary payload it optionally
compress it. This can... |
[
{
"context": "nk \"https://www.mcnallyjackson.com\"\n :storeName \"McNally Jackson\"}\n {:id 6\n :city :nyc\n :type :site\n :map {:cen",
"end": 1578,
"score": 0.999719500541687,
"start": 1563,
"tag": "NAME",
"value": "McNally Jackson"
},
{
"context": "k \"https://www.stmarksbooks... | config/stores.clj | ericqweinstein/quixote | 0 | [{:id 0
:city :nyc
:type :site
:map {:center {:latitude 40.763754 :longitude -73.923849} :zoom 14}
:phone "tel:+1-718-278-2665"
:address "31-29 31st St, New York, NY 11106"
:storeLink "https://www.astoriabookshop.com"
:storeName "Astoria Bookshop"}
{:id 1
:city :nyc
:type :site
:map {:center {:lati... | 66079 | [{:id 0
:city :nyc
:type :site
:map {:center {:latitude 40.763754 :longitude -73.923849} :zoom 14}
:phone "tel:+1-718-278-2665"
:address "31-29 31st St, New York, NY 11106"
:storeLink "https://www.astoriabookshop.com"
:storeName "Astoria Bookshop"}
{:id 1
:city :nyc
:type :site
:map {:center {:lati... | true | [{:id 0
:city :nyc
:type :site
:map {:center {:latitude 40.763754 :longitude -73.923849} :zoom 14}
:phone "tel:+1-718-278-2665"
:address "31-29 31st St, New York, NY 11106"
:storeLink "https://www.astoriabookshop.com"
:storeName "Astoria Bookshop"}
{:id 1
:city :nyc
:type :site
:map {:center {:lati... |
[
{
"context": "{\n :server-port 8080\n :users {\"admin\" \"password\"}\n :default-node \"hbase-zookeeper:2181",
"end": 36,
"score": 0.9853060841560364,
"start": 31,
"tag": "USERNAME",
"value": "admin"
},
{
"context": "{\n :server-port 8080\n :users {\"admin\" \"password\"}\n :default-... | config/zkweb/zk-web-conf.clj | Stono/bigdata-fun | 15 | {
:server-port 8080
:users {"admin" "password"}
:default-node "hbase-zookeeper:2181/"
}
| 83096 | {
:server-port 8080
:users {"admin" "<PASSWORD>"}
:default-node "hbase-zookeeper:2181/"
}
| true | {
:server-port 8080
:users {"admin" "PI:PASSWORD:<PASSWORD>END_PI"}
:default-node "hbase-zookeeper:2181/"
}
|
[
{
"context": " :where [[?v :vehicle/brand \"Aston Martin\"]]})))\n\n (t/is (= #{[{}]}\n (xt",
"end": 941,
"score": 0.9897982478141785,
"start": 929,
"tag": "NAME",
"value": "Aston Martin"
},
{
"context": " :where [[?v :vehi... | core/test/xtdb/pull_test.clj | juxt/ding | 0 | (ns xtdb.pull-test
(:require [clojure.test :as t]
[xtdb.api :as xt]
[xtdb.fixtures :as fix :refer [*api*]]
[xtdb.pull :as pull]
[clojure.java.io :as io]))
(t/use-fixtures :each fix/with-node)
(defn- submit-bond []
(fix/submit+await-tx (for [doc (read-string (slurp (... | 4308 | (ns xtdb.pull-test
(:require [clojure.test :as t]
[xtdb.api :as xt]
[xtdb.fixtures :as fix :refer [*api*]]
[xtdb.pull :as pull]
[clojure.java.io :as io]))
(t/use-fixtures :each fix/with-node)
(defn- submit-bond []
(fix/submit+await-tx (for [doc (read-string (slurp (... | true | (ns xtdb.pull-test
(:require [clojure.test :as t]
[xtdb.api :as xt]
[xtdb.fixtures :as fix :refer [*api*]]
[xtdb.pull :as pull]
[clojure.java.io :as io]))
(t/use-fixtures :each fix/with-node)
(defn- submit-bond []
(fix/submit+await-tx (for [doc (read-string (slurp (... |
[
{
"context": "o be useful in user-written code.\"\n :author \"Simon Brooke\"}\n adl-support.core\n (:require [clojure.core.me",
"end": 149,
"score": 0.9998884201049805,
"start": 137,
"tag": "NAME",
"value": "Simon Brooke"
},
{
"context": "nse for more details.\n;;;;\n;;;; Copy... | src/adl_support/core.clj | simon-brooke/adl-support | 0 | (ns ^{:doc "Application Description Language support - utility functions likely
to be useful in user-written code."
:author "Simon Brooke"}
adl-support.core
(:require [clojure.core.memoize :as memo]
[clojure.data.json :as json]
[clojure.java.io :as io]
[clojure.string... | 92268 | (ns ^{:doc "Application Description Language support - utility functions likely
to be useful in user-written code."
:author "<NAME>"}
adl-support.core
(:require [clojure.core.memoize :as memo]
[clojure.data.json :as json]
[clojure.java.io :as io]
[clojure.string :refe... | true | (ns ^{:doc "Application Description Language support - utility functions likely
to be useful in user-written code."
:author "PI:NAME:<NAME>END_PI"}
adl-support.core
(:require [clojure.core.memoize :as memo]
[clojure.data.json :as json]
[clojure.java.io :as io]
[clojur... |
[
{
"context": "r \"docufant\"\n :password \"password\"\n :port 5432})\n\n\n(defn t",
"end": 460,
"score": 0.9995574355125427,
"start": 452,
"tag": "PASSWORD",
"value": "password"
}
] | test/docufant/core_test.clj | xlevus/docufant-clj | 0 | (ns docufant.core-test
(:require [docufant.core :as doc]
[docufant.db :as db]
[docufant.postgres :as pg]
[docufant.operator :as oper]
[clojure.test :as t :refer [deftest testing is]]
[clojure.java.jdbc :as j]))
(def ^:dynamic *db-spec* {:dbtype "postgresql... | 34208 | (ns docufant.core-test
(:require [docufant.core :as doc]
[docufant.db :as db]
[docufant.postgres :as pg]
[docufant.operator :as oper]
[clojure.test :as t :refer [deftest testing is]]
[clojure.java.jdbc :as j]))
(def ^:dynamic *db-spec* {:dbtype "postgresql... | true | (ns docufant.core-test
(:require [docufant.core :as doc]
[docufant.db :as db]
[docufant.postgres :as pg]
[docufant.operator :as oper]
[clojure.test :as t :refer [deftest testing is]]
[clojure.java.jdbc :as j]))
(def ^:dynamic *db-spec* {:dbtype "postgresql... |
[
{
"context": ";; Copyright (c) 2015-2022 Michael Schaeffer\n;;\n;; Licensed as below.\n;;\n;; Portions Copyright",
"end": 44,
"score": 0.9996418952941895,
"start": 27,
"tag": "NAME",
"value": "Michael Schaeffer"
}
] | src/sql_file/sql_util.clj | mschaef/sql-file | 1 | ;; Copyright (c) 2015-2022 Michael Schaeffer
;;
;; Licensed as below.
;;
;; Portions Copyright (c) 2014 KSM Technology Partners
;;
;; 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
;;
;; ... | 17128 | ;; Copyright (c) 2015-2022 <NAME>
;;
;; Licensed as below.
;;
;; Portions Copyright (c) 2014 KSM Technology Partners
;;
;; 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... | true | ;; Copyright (c) 2015-2022 PI:NAME:<NAME>END_PI
;;
;; Licensed as below.
;;
;; Portions Copyright (c) 2014 KSM Technology Partners
;;
;; 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
;;
;; ... |
[
{
"context": ")\n\n(deftest case-insensitivity-test\n (let [name \"InT NaMe\"\n type \"iNt\"\n prev-aa {:Name (",
"end": 1979,
"score": 0.6849063634872437,
"start": 1976,
"tag": "NAME",
"value": "InT"
},
{
"context": "(deftest case-insensitivity-test\n (let [name \"In... | ingest-app/test/cmr/ingest/test/validation/additional_attribute_validation.clj | daniel-zamora/Common-Metadata-Repository | 0 | (ns cmr.ingest.test.validation.additional-attribute-validation
(:require
[clojure.string :as str]
[clojure.test :refer :all]
[cmr.common.util :as util]
[cmr.ingest.validation.additional-attribute-validation :as v]
[cmr.umm-spec.additional-attribute :as aa]))
(deftest aa-range-reduced-test
(util... | 113274 | (ns cmr.ingest.test.validation.additional-attribute-validation
(:require
[clojure.string :as str]
[clojure.test :refer :all]
[cmr.common.util :as util]
[cmr.ingest.validation.additional-attribute-validation :as v]
[cmr.umm-spec.additional-attribute :as aa]))
(deftest aa-range-reduced-test
(util... | true | (ns cmr.ingest.test.validation.additional-attribute-validation
(:require
[clojure.string :as str]
[clojure.test :refer :all]
[cmr.common.util :as util]
[cmr.ingest.validation.additional-attribute-validation :as v]
[cmr.umm-spec.additional-attribute :as aa]))
(deftest aa-range-reduced-test
(util... |
[
{
"context": "e.storage.names :as names])\n (:gen-class))\n\n(-> \"Pierre\"\n (names/create)\n :id\n (names/get-by-id)",
"end": 118,
"score": 0.9997817873954773,
"start": 112,
"tag": "NAME",
"value": "Pierre"
},
{
"context": "te)\n :id\n (names/get-by-id))\n(names/cre... | src/coffee_chat_roulette/core.clj | AGenson/coffee-chat-roulette | 0 | (ns coffee-chat-roulette.core
(:require [coffee-chat-roulette.storage.names :as names])
(:gen-class))
(-> "Pierre"
(names/create)
:id
(names/get-by-id))
(names/create "Jean")
(-> "Luc"
(names/create)
:id
(names/delete))
(names/create "Sam")
(defn -main
[& args]
(println "Names: " (name... | 70865 | (ns coffee-chat-roulette.core
(:require [coffee-chat-roulette.storage.names :as names])
(:gen-class))
(-> "<NAME>"
(names/create)
:id
(names/get-by-id))
(names/create "<NAME>")
(-> "<NAME>"
(names/create)
:id
(names/delete))
(names/create "<NAME>")
(defn -main
[& args]
(println "Names:... | true | (ns coffee-chat-roulette.core
(:require [coffee-chat-roulette.storage.names :as names])
(:gen-class))
(-> "PI:NAME:<NAME>END_PI"
(names/create)
:id
(names/get-by-id))
(names/create "PI:NAME:<NAME>END_PI")
(-> "PI:NAME:<NAME>END_PI"
(names/create)
:id
(names/delete))
(names/create "PI:NAME:<... |
[
{
"context": " (str \"//\" db-host \"/\" db-name)\n :user \"scott\"\n :password \"tiger\"})\n\n (with-connecti",
"end": 476,
"score": 0.9340846538543701,
"start": 471,
"tag": "USERNAME",
"value": "scott"
},
{
"context": "e)\n :user \"scott\"\n ... | mysql/clojure/delete/mysql_delete.clj | ekzemplaro/data_base_language | 3 | ; -----------------------------------------------------------------
;
; mysql_delete.clj
;
; Jul/17/2014
;
; -----------------------------------------------------------------
(use 'clojure.java.jdbc)
;
(println "*** 開始 ***")
(let [db-host "host_mysql"
db-name "city"
id (first *command-line-args*)
]
(println id)... | 29454 | ; -----------------------------------------------------------------
;
; mysql_delete.clj
;
; Jul/17/2014
;
; -----------------------------------------------------------------
(use 'clojure.java.jdbc)
;
(println "*** 開始 ***")
(let [db-host "host_mysql"
db-name "city"
id (first *command-line-args*)
]
(println id)... | true | ; -----------------------------------------------------------------
;
; mysql_delete.clj
;
; Jul/17/2014
;
; -----------------------------------------------------------------
(use 'clojure.java.jdbc)
;
(println "*** 開始 ***")
(let [db-host "host_mysql"
db-name "city"
id (first *command-line-args*)
]
(println id)... |
[
{
"context": "estal when loading with midje testing turned on\n;; Daniel Ciumberica: Why is the log initializes itself when the names",
"end": 1999,
"score": 0.999799370765686,
"start": 1982,
"tag": "NAME",
"value": "Daniel Ciumberica"
}
] | src/clojupyter/log.clj | nighcoder/clojupyter | 2 | (ns clojupyter.log
(:require [clojupyter.kernel.config :as cfg]
[clojure.pprint :as pp]
[clojure.string :as str]
[io.simplect.compose :refer [def- C]]
[taoensso.timbre :as timbre]))
(def ^:dynamic *verbose* false)
(defmacro debug
[& args]
`(timbre/debug ~@args))
... | 7147 | (ns clojupyter.log
(:require [clojupyter.kernel.config :as cfg]
[clojure.pprint :as pp]
[clojure.string :as str]
[io.simplect.compose :refer [def- C]]
[taoensso.timbre :as timbre]))
(def ^:dynamic *verbose* false)
(defmacro debug
[& args]
`(timbre/debug ~@args))
... | true | (ns clojupyter.log
(:require [clojupyter.kernel.config :as cfg]
[clojure.pprint :as pp]
[clojure.string :as str]
[io.simplect.compose :refer [def- C]]
[taoensso.timbre :as timbre]))
(def ^:dynamic *verbose* false)
(defmacro debug
[& args]
`(timbre/debug ~@args))
... |
[
{
"context": "ode]]\n - [[trace]]\n - [[value]]\"\n\n {:author \"Adam Helinski\"}\n\n (:import (convex.api Convex)\n (con",
"end": 395,
"score": 0.9991087317466736,
"start": 382,
"tag": "NAME",
"value": "Adam Helinski"
}
] | project/net/src/clj/main/convex/client.clj | rosejn/convex.cljc | 30 | (ns convex.client
"Interacting with a peer via the binary protocol.
After creating a client with [[connect]], main interactions are [[query]] and [[transact]].
All IO functions return a future which ultimately resolves to a result received from the peer.
Information from result can be extracted using:
... | 61363 | (ns convex.client
"Interacting with a peer via the binary protocol.
After creating a client with [[connect]], main interactions are [[query]] and [[transact]].
All IO functions return a future which ultimately resolves to a result received from the peer.
Information from result can be extracted using:
... | true | (ns convex.client
"Interacting with a peer via the binary protocol.
After creating a client with [[connect]], main interactions are [[query]] and [[transact]].
All IO functions return a future which ultimately resolves to a result received from the peer.
Information from result can be extracted using:
... |
[
{
"context": "ue-str\n :user-id \"user1\"\n :format \"applic",
"end": 3923,
"score": 0.968005895614624,
"start": 3918,
"tag": "USERNAME",
"value": "user1"
},
{
"context": " :description \\\"A good tag\\\" :originator-id ... | system-int-test/test/cmr/system_int_test/bootstrap/bulk_index_test.clj | sxu123/Common-Metadata-Repository | 0 | (ns cmr.system-int-test.bootstrap.bulk-index-test
"Integration test for CMR bulk indexing."
(:require
[clj-time.coerce :as cr]
[clj-time.core :as t]
[clojure.java.jdbc :as j]
[clojure.test :refer :all]
[cmr.access-control.test.util :as u]
[cmr.common.date-time-parser :as p]
[cmr.common.u... | 70472 | (ns cmr.system-int-test.bootstrap.bulk-index-test
"Integration test for CMR bulk indexing."
(:require
[clj-time.coerce :as cr]
[clj-time.core :as t]
[clojure.java.jdbc :as j]
[clojure.test :refer :all]
[cmr.access-control.test.util :as u]
[cmr.common.date-time-parser :as p]
[cmr.common.u... | true | (ns cmr.system-int-test.bootstrap.bulk-index-test
"Integration test for CMR bulk indexing."
(:require
[clj-time.coerce :as cr]
[clj-time.core :as t]
[clojure.java.jdbc :as j]
[clojure.test :refer :all]
[cmr.access-control.test.util :as u]
[cmr.common.date-time-parser :as p]
[cmr.common.u... |
[
{
"context": ".boards :as boards]))\n\n(def nubank\n {:name \"Nubank\"\n :page \"https://boards.greenhouse.io/nuba",
"end": 169,
"score": 0.9997988343238831,
"start": 163,
"tag": "NAME",
"value": "Nubank"
},
{
"context": " :enrich identity})\n\n(def paygo\n {:name ... | src/clojure_empregos_brasil/companies.clj | clj-br/vagas | 23 | (ns clojure-empregos-brasil.companies
(:require [clojure.string :as string]
[clojure-empregos-brasil.boards :as boards]))
(def nubank
{:name "Nubank"
:page "https://boards.greenhouse.io/nubank"
:path [:div.opening]
:scrap boards/greenhouse
:engineer? (comp (partial = "6035... | 80187 | (ns clojure-empregos-brasil.companies
(:require [clojure.string :as string]
[clojure-empregos-brasil.boards :as boards]))
(def nubank
{:name "<NAME>"
:page "https://boards.greenhouse.io/nubank"
:path [:div.opening]
:scrap boards/greenhouse
:engineer? (comp (partial = "6035... | true | (ns clojure-empregos-brasil.companies
(:require [clojure.string :as string]
[clojure-empregos-brasil.boards :as boards]))
(def nubank
{:name "PI:NAME:<NAME>END_PI"
:page "https://boards.greenhouse.io/nubank"
:path [:div.opening]
:scrap boards/greenhouse
:engineer? (comp (p... |
[
{
"context": "intln \"was nil\"))\n\n(def null-person {:first-name \"John\" :last-name \"Doe\"})\n(defn fetch-person [people id",
"end": 345,
"score": 0.9998533129692078,
"start": 341,
"tag": "NAME",
"value": "John"
},
{
"context": "\n(def null-person {:first-name \"John\" :last-name... | ClojureExamples/src/mbfpp/oo/nullobject/examples.clj | cycle-chen/mbfpp-code | 4 | (ns mbfpp.oo.nullobject.examples
(:require [clojure.string :as string]))
(defn example [x]
(if x
(println "wasn't nil")
(println "was nil")))
(defmulti example-mm (fn [x] (nil? x)))
(defmethod example-mm false [x] (println "wasn't nil"))
(defmethod example-mm true [x] (println "was nil"))
(def null-... | 40744 | (ns mbfpp.oo.nullobject.examples
(:require [clojure.string :as string]))
(defn example [x]
(if x
(println "wasn't nil")
(println "was nil")))
(defmulti example-mm (fn [x] (nil? x)))
(defmethod example-mm false [x] (println "wasn't nil"))
(defmethod example-mm true [x] (println "was nil"))
(def null-... | true | (ns mbfpp.oo.nullobject.examples
(:require [clojure.string :as string]))
(defn example [x]
(if x
(println "wasn't nil")
(println "was nil")))
(defmulti example-mm (fn [x] (nil? x)))
(defmethod example-mm false [x] (println "wasn't nil"))
(defmethod example-mm true [x] (println "was nil"))
(def null-... |
[
{
"context": "nfig {:ssl-key \"./test-resources/ssl/private_keys/broker.example.com.pem\"\n :ssl-cert \"./test-resources/",
"end": 1573,
"score": 0.8715385794639587,
"start": 1551,
"tag": "KEY",
"value": "broker.example.com.pem"
},
{
"context": " :messa... | test/unit/puppetlabs/pcp/broker/core_test.clj | rileynewton/pcp-broker | 6 | (ns puppetlabs.pcp.broker.core-test
(:require [clojure.test :refer :all]
[metrics.core]
[puppetlabs.pcp.testutils :refer [dotestseq]]
[puppetlabs.pcp.broker.shared :refer [Broker]]
[puppetlabs.pcp.broker.core :refer :all]
[puppetlabs.pcp.broker.connection :a... | 56938 | (ns puppetlabs.pcp.broker.core-test
(:require [clojure.test :refer :all]
[metrics.core]
[puppetlabs.pcp.testutils :refer [dotestseq]]
[puppetlabs.pcp.broker.shared :refer [Broker]]
[puppetlabs.pcp.broker.core :refer :all]
[puppetlabs.pcp.broker.connection :a... | true | (ns puppetlabs.pcp.broker.core-test
(:require [clojure.test :refer :all]
[metrics.core]
[puppetlabs.pcp.testutils :refer [dotestseq]]
[puppetlabs.pcp.broker.shared :refer [Broker]]
[puppetlabs.pcp.broker.core :refer :all]
[puppetlabs.pcp.broker.connection :a... |
[
{
"context": "ntegrant.core/halt!)\n;;\n;; Cf. https://github.com/weavejester/integrant.\n\n;; :log/level\n;; --------------------",
"end": 1475,
"score": 0.8369577527046204,
"start": 1464,
"tag": "USERNAME",
"value": "weavejester"
},
{
"context": "---\n;; Send headers with each requ... | src/main/com/kubelt/lib/init.cljc | kubelt/kubelt | 0 | (ns com.kubelt.lib.init
"SDK system map implementation."
{:copyright "©2022 Proof Zero Inc." :license "Apache 2.0"}
(:require
[integrant.core :as ig]
[taoensso.timbre :as log])
(:require
[com.kubelt.ipfs.client :as ipfs.client]
[com.kubelt.lib.error :as lib.error]
[com.kubelt.lib.integrant :as li... | 53423 | (ns com.kubelt.lib.init
"SDK system map implementation."
{:copyright "©2022 Proof Zero Inc." :license "Apache 2.0"}
(:require
[integrant.core :as ig]
[taoensso.timbre :as log])
(:require
[com.kubelt.ipfs.client :as ipfs.client]
[com.kubelt.lib.error :as lib.error]
[com.kubelt.lib.integrant :as li... | true | (ns com.kubelt.lib.init
"SDK system map implementation."
{:copyright "©2022 Proof Zero Inc." :license "Apache 2.0"}
(:require
[integrant.core :as ig]
[taoensso.timbre :as log])
(:require
[com.kubelt.ipfs.client :as ipfs.client]
[com.kubelt.lib.error :as lib.error]
[com.kubelt.lib.integrant :as li... |
[
{
"context": "b\n (is (sched/started?))\n (let [jk (j/key \"clojurewerkz.quartzite.test.execution.job2\" \"tests\")\n tk (t/key \"clojurewerk",
"end": 1992,
"score": 0.9911813139915466,
"start": 1950,
"tag": "KEY",
"value": "clojurewerkz.quartzite.test.execution.job2"
... | src/test/clojure/com/novemberain/quartz_mongodb/test/quartzite_integration_test.clj | Widgetlabs/quartz-mongodb | 1 | (ns com.novemberain.quartz-mongodb.test.quartzite-integration-test
(:use clojure.test
clojurewerkz.quartzite.conversion
[clj-time.core :only [now secs from-now]])
(:require [clojurewerkz.quartzite.scheduler :as sched]
[clojurewerkz.quartzite.jobs :as j]
[clojurewerkz.qua... | 100117 | (ns com.novemberain.quartz-mongodb.test.quartzite-integration-test
(:use clojure.test
clojurewerkz.quartzite.conversion
[clj-time.core :only [now secs from-now]])
(:require [clojurewerkz.quartzite.scheduler :as sched]
[clojurewerkz.quartzite.jobs :as j]
[clojurewerkz.qua... | true | (ns com.novemberain.quartz-mongodb.test.quartzite-integration-test
(:use clojure.test
clojurewerkz.quartzite.conversion
[clj-time.core :only [now secs from-now]])
(:require [clojurewerkz.quartzite.scheduler :as sched]
[clojurewerkz.quartzite.jobs :as j]
[clojurewerkz.qua... |
[
{
"context": "(ns ^{:author \"Kadir Malak\"}\n infixxer.core)\n\n(def ops\n {\"u!\" {:precedence",
"end": 26,
"score": 0.9998180866241455,
"start": 15,
"tag": "NAME",
"value": "Kadir Malak"
}
] | src/infixxer/core.clj | kadirmalak/infixxer | 0 | (ns ^{:author "Kadir Malak"}
infixxer.core)
(def ops
{"u!" {:precedence 13 :alias `not}
"u+" {:precedence 13}
"u-" {:precedence 13}
"/" {:precedence 12}
"*" {:precedence 12}
"**" {:precedence 12 :alias `Math/pow}
"%" {:precedence 12 :alias `mod}
"+" {:precedence 11}
"-" {:precedence ... | 97742 | (ns ^{:author "<NAME>"}
infixxer.core)
(def ops
{"u!" {:precedence 13 :alias `not}
"u+" {:precedence 13}
"u-" {:precedence 13}
"/" {:precedence 12}
"*" {:precedence 12}
"**" {:precedence 12 :alias `Math/pow}
"%" {:precedence 12 :alias `mod}
"+" {:precedence 11}
"-" {:precedence 11}
... | true | (ns ^{:author "PI:NAME:<NAME>END_PI"}
infixxer.core)
(def ops
{"u!" {:precedence 13 :alias `not}
"u+" {:precedence 13}
"u-" {:precedence 13}
"/" {:precedence 12}
"*" {:precedence 12}
"**" {:precedence 12 :alias `Math/pow}
"%" {:precedence 12 :alias `mod}
"+" {:precedence 11}
"-" {:pr... |
[
{
"context": " :as jdbc]))\n\n(def config\n {:port 8080\n :bind \"127.0.0.1\"\n :db {:classname \"org.sqlite.JDBC\"\n :su",
"end": 163,
"score": 0.9950847625732422,
"start": 154,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": "(find-location-by-name {:name \"Me... | practice/living-clojure/training-plan/src/training_plan/week7/core.clj | tomjkidd/clojure | 1 | (ns training-plan.week7.core
(:require [yesql.core :refer [defqueries]]
[clojure.java.jdbc :as jdbc]))
(def config
{:port 8080
:bind "127.0.0.1"
:db {:classname "org.sqlite.JDBC"
:subprotocol "sqlite"
:subname "data/db.sqlite"}})
(def db-spec
(:db config))
(defqueries "../reso... | 26763 | (ns training-plan.week7.core
(:require [yesql.core :refer [defqueries]]
[clojure.java.jdbc :as jdbc]))
(def config
{:port 8080
:bind "127.0.0.1"
:db {:classname "org.sqlite.JDBC"
:subprotocol "sqlite"
:subname "data/db.sqlite"}})
(def db-spec
(:db config))
(defqueries "../reso... | true | (ns training-plan.week7.core
(:require [yesql.core :refer [defqueries]]
[clojure.java.jdbc :as jdbc]))
(def config
{:port 8080
:bind "127.0.0.1"
:db {:classname "org.sqlite.JDBC"
:subprotocol "sqlite"
:subname "data/db.sqlite"}})
(def db-spec
(:db config))
(defqueries "../reso... |
[
{
"context": ";; Copyright (c) Metail and Thomas Athorne\n;;\n;; Licensed under the Apa",
"end": 25,
"score": 0.9894534945487976,
"start": 19,
"tag": "NAME",
"value": "Metail"
},
{
"context": ";; Copyright (c) Metail and Thomas Athorne\n;;\n;; Licensed under the Apache Licens... | src/clj_stan/core.clj | thomasathorne/clj-stan | 14 | ;; Copyright (c) Metail and Thomas Athorne
;;
;; 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 applic... | 44590 | ;; Copyright (c) <NAME> and <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... | true | ;; Copyright (c) PI:NAME:<NAME>END_PI and 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
;;
;; Unles... |
[
{
"context": "er data\n(def users-db\n {1 #:acme.user{:name \"Usuario 1\"\n :email \"user@provider.com\"\n ",
"end": 818,
"score": 0.9218385815620422,
"start": 809,
"tag": "NAME",
"value": "Usuario 1"
},
{
"context": ":name \"Usuario 1\"\n ... | clj/ex/study_pathom/pathom01/src/main/pathom05.clj | mertnuhoglu/study | 1 | (ns main.pathom05
(:require
[com.wsscode.pathom3.connect.indexes :as pci]
[com.wsscode.pathom3.connect.operation :as pco]
[com.wsscode.pathom3.interface.eql :as p.eql]
[com.wsscode.pathom3.interface.smart-map :as psm]
[com.wsscode.pathom3.connect.built-in.resolvers :as pbir]
[clojure.string :a... | 22516 | (ns main.pathom05
(:require
[com.wsscode.pathom3.connect.indexes :as pci]
[com.wsscode.pathom3.connect.operation :as pco]
[com.wsscode.pathom3.interface.eql :as p.eql]
[com.wsscode.pathom3.interface.smart-map :as psm]
[com.wsscode.pathom3.connect.built-in.resolvers :as pbir]
[clojure.string :a... | true | (ns main.pathom05
(:require
[com.wsscode.pathom3.connect.indexes :as pci]
[com.wsscode.pathom3.connect.operation :as pco]
[com.wsscode.pathom3.interface.eql :as p.eql]
[com.wsscode.pathom3.interface.smart-map :as psm]
[com.wsscode.pathom3.connect.built-in.resolvers :as pbir]
[clojure.string :a... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.