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": "ux/submit-tx\n (sys)\n {[:user] {:user/email \"foo@example.com\"}})\n\n ; Inspect transactions before running them",
"end": 752,
"score": 0.9999063611030579,
"start": 737,
"tag": "EMAIL",
"value": "foo@example.com"
},
{
"context": "d)\n {[:... | libs/tasks/resources/biff/template/src/{{parent-path}}/admin.clj | modelingcooperation/biff | 273 | (ns {{parent-ns}}.admin
(:require [biff.crux :as bcrux]
[biff.util :as bu]
[crux.api :as crux]))
(defn sys []
(let [{:keys [biff.crux/node] :as sys} @bu/system]
(assoc sys :biff.crux/db (delay (crux/db node)))))
(comment
; This namespace isn't required from anywhere. You can use it ... | 19236 | (ns {{parent-ns}}.admin
(:require [biff.crux :as bcrux]
[biff.util :as bu]
[crux.api :as crux]))
(defn sys []
(let [{:keys [biff.crux/node] :as sys} @bu/system]
(assoc sys :biff.crux/db (delay (crux/db node)))))
(comment
; This namespace isn't required from anywhere. You can use it ... | true | (ns {{parent-ns}}.admin
(:require [biff.crux :as bcrux]
[biff.util :as bu]
[crux.api :as crux]))
(defn sys []
(let [{:keys [biff.crux/node] :as sys} @bu/system]
(assoc sys :biff.crux/db (delay (crux/db node)))))
(comment
; This namespace isn't required from anywhere. You can use it ... |
[
{
"context": "]\n [:user_name {:display_name \"User\", :base_type :type/Text, :remapped_",
"end": 7868,
"score": 0.9944064617156982,
"start": 7864,
"tag": "NAME",
"value": "User"
}
] | c#-metabase/enterprise/backend/src/metabase_enterprise/audit/pages/downloads.clj | hanakhry/Crime_Admin | 0 | (ns metabase-enterprise.audit.pages.downloads
"Audit queries returning info about query downloads. Query downloads are any query executions whose results are returned
as CSV/JSON/XLS."
(:require [honeysql.core :as hsql]
[metabase-enterprise.audit.pages.common :as common]
[metabase.db :as m... | 57463 | (ns metabase-enterprise.audit.pages.downloads
"Audit queries returning info about query downloads. Query downloads are any query executions whose results are returned
as CSV/JSON/XLS."
(:require [honeysql.core :as hsql]
[metabase-enterprise.audit.pages.common :as common]
[metabase.db :as m... | true | (ns metabase-enterprise.audit.pages.downloads
"Audit queries returning info about query downloads. Query downloads are any query executions whose results are returned
as CSV/JSON/XLS."
(:require [honeysql.core :as hsql]
[metabase-enterprise.audit.pages.common :as common]
[metabase.db :as m... |
[
{
"context": "(ns ^{:doc \"Site footer.\"\n :author \"Eric Weinstein <eric.q.weinstein@gmail.com>\"}\n cityshelf.compon",
"end": 55,
"score": 0.9998852014541626,
"start": 41,
"tag": "NAME",
"value": "Eric Weinstein"
},
{
"context": "doc \"Site footer.\"\n :author \"Eric We... | src/cityshelf/components/footer.cljs | ericqweinstein/cityshelf | 0 | (ns ^{:doc "Site footer."
:author "Eric Weinstein <eric.q.weinstein@gmail.com>"}
cityshelf.components.footer)
(defn footer
"Site footer."
[]
[:div.footer
[:p [:a {:href "mailto:info@cityshelf.com"} "info@cityshelf.com"]
(str " / " (.getFullYear (js/Date.)) " CityShelf™")]])
| 22895 | (ns ^{:doc "Site footer."
:author "<NAME> <<EMAIL>>"}
cityshelf.components.footer)
(defn footer
"Site footer."
[]
[:div.footer
[:p [:a {:href "mailto:<EMAIL>"} "<EMAIL>"]
(str " / " (.getFullYear (js/Date.)) " CityShelf™")]])
| true | (ns ^{:doc "Site footer."
:author "PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>"}
cityshelf.components.footer)
(defn footer
"Site footer."
[]
[:div.footer
[:p [:a {:href "mailto:PI:EMAIL:<EMAIL>END_PI"} "PI:EMAIL:<EMAIL>END_PI"]
(str " / " (.getFullYear (js/Date.)) " CityShelf™")]])
|
[
{
"context": "ave-and-true.chapter05)\n\n(def character\n {:name \"Smooches McCutes\"\n :attributes {:intelligence 10\n ",
"end": 76,
"score": 0.9998709559440613,
"start": 60,
"tag": "NAME",
"value": "Smooches McCutes"
}
] | src/clj_brave_and_true/chapter05.clj | artemy/clj-brave-and-true-exercises | 0 | (ns clj-brave-and-true.chapter05)
(def character
{:name "Smooches McCutes"
:attributes {:intelligence 10
:strength 4
:dexterity 5}})
(def c-int (comp :intelligence :attributes))
(c-int character)
;; Exercise 1: You used (comp :intelligence :attributes)
;; to create a function t... | 73290 | (ns clj-brave-and-true.chapter05)
(def character
{:name "<NAME>"
:attributes {:intelligence 10
:strength 4
:dexterity 5}})
(def c-int (comp :intelligence :attributes))
(c-int character)
;; Exercise 1: You used (comp :intelligence :attributes)
;; to create a function that return... | true | (ns clj-brave-and-true.chapter05)
(def character
{:name "PI:NAME:<NAME>END_PI"
:attributes {:intelligence 10
:strength 4
:dexterity 5}})
(def c-int (comp :intelligence :attributes))
(c-int character)
;; Exercise 1: You used (comp :intelligence :attributes)
;; to create a functi... |
[
{
"context": " :key-alias \"vif-alias\"\n\n ",
"end": 1876,
"score": 0.9976733922958374,
"start": 1867,
"tag": "KEY",
"value": "vif-alias"
}
] | vif-navigator/project.clj | zheludkovm/VifNavigator | 0 | (defproject vif-navigator/vif-navigator "0.0.1-SNAPSHOT"
:description "Vif navigator"
:url "http://example.com/FIXME"
:global-vars {*warn-on-reflection* true}
:resource-paths ["res"]
:source-paths ["src/clojure" "src"]
:java-source-paths ["src/ja... | 33798 | (defproject vif-navigator/vif-navigator "0.0.1-SNAPSHOT"
:description "Vif navigator"
:url "http://example.com/FIXME"
:global-vars {*warn-on-reflection* true}
:resource-paths ["res"]
:source-paths ["src/clojure" "src"]
:java-source-paths ["src/ja... | true | (defproject vif-navigator/vif-navigator "0.0.1-SNAPSHOT"
:description "Vif navigator"
:url "http://example.com/FIXME"
:global-vars {*warn-on-reflection* true}
:resource-paths ["res"]
:source-paths ["src/clojure" "src"]
:java-source-paths ["src/ja... |
[
{
"context": "\n (nbc/input {:key (str qualified-key)\n :placeholder (str\n ",
"end": 1551,
"score": 0.5377863049507141,
"start": 1551,
"tag": "KEY",
"value": ""
}
] | src/main/com/fulcrologic/rad/rendering/nativebase/field.cljc | fulcrologic/fulcro-rad-nativebase-ui | 0 | (ns com.fulcrologic.rad.rendering.nativebase.field
(:require
[clojure.string :as str]
[com.fulcrologic.rad.rendering.nativebase.raw-controls :as nbc]
[com.fulcrologic.fulcro.components :as comp]
[com.fulcrologic.rad.attributes :as attr]
[com.fulcrologic.rad.form :as form]
[com.fulcrologic.rad.... | 114180 | (ns com.fulcrologic.rad.rendering.nativebase.field
(:require
[clojure.string :as str]
[com.fulcrologic.rad.rendering.nativebase.raw-controls :as nbc]
[com.fulcrologic.fulcro.components :as comp]
[com.fulcrologic.rad.attributes :as attr]
[com.fulcrologic.rad.form :as form]
[com.fulcrologic.rad.... | true | (ns com.fulcrologic.rad.rendering.nativebase.field
(:require
[clojure.string :as str]
[com.fulcrologic.rad.rendering.nativebase.raw-controls :as nbc]
[com.fulcrologic.fulcro.components :as comp]
[com.fulcrologic.rad.attributes :as attr]
[com.fulcrologic.rad.form :as form]
[com.fulcrologic.rad.... |
[
{
"context": " ;;\n;; Author: Jon Anthony ",
"end": 1839,
"score": 0.9998424053192139,
"start": 1828,
"tag": "NAME",
"value": "Jon Anthony"
}
] | src/aerobio/htseq/rnaseq.clj | jsa-aerial/aerobio | 3 | ;;--------------------------------------------------------------------------;;
;; ;;
;; A E R O B I O . H T S E Q . R N A S E Q ;;
;; ;;
;; P... | 47215 | ;;--------------------------------------------------------------------------;;
;; ;;
;; A E R O B I O . H T S E Q . R N A S E Q ;;
;; ;;
;; P... | true | ;;--------------------------------------------------------------------------;;
;; ;;
;; A E R O B I O . H T S E Q . R N A S E Q ;;
;; ;;
;; P... |
[
{
"context": "]],\n :current-person/by-id {:person/first-name \"Guy\"\n :person/last-name \"Ru",
"end": 294,
"score": 0.999470055103302,
"start": 291,
"tag": "NAME",
"value": "Guy"
},
{
"context": "uy\"\n :person/last-name \"Rundl... | test/examples/medical_records.cljc | chrismurrph/default-db-format | 7 | (ns examples.medical-records)
(def irrelevant-keys #{:app/route
:om.next/tables})
(comment
:acceptable-table-value-fn? (fn [v] (= keyword? v)))
(def norm-state
{:code/list [[:code/by-id 17592186045430]],
:current-person/by-id {:person/first-name "Guy"
... | 36669 | (ns examples.medical-records)
(def irrelevant-keys #{:app/route
:om.next/tables})
(comment
:acceptable-table-value-fn? (fn [v] (= keyword? v)))
(def norm-state
{:code/list [[:code/by-id 17592186045430]],
:current-person/by-id {:person/first-name "<NAME>"
... | true | (ns examples.medical-records)
(def irrelevant-keys #{:app/route
:om.next/tables})
(comment
:acceptable-table-value-fn? (fn [v] (= keyword? v)))
(def norm-state
{:code/list [[:code/by-id 17592186045430]],
:current-person/by-id {:person/first-name "PI:NAME:<NAME>END_PI"
... |
[
{
"context": ";;\n;; Copyright Christophe Roeder, August 2014\n\n;; This namespace contains function",
"end": 33,
"score": 0.9998742938041687,
"start": 16,
"tag": "NAME",
"value": "Christophe Roeder"
}
] | src/clojure_craft/analyze-terms.clj | croeder/clojure_craft | 0 | ;;
;; Copyright Christophe Roeder, August 2014
;; This namespace contains functions analyzing or counting
;; the terms, their POS, depdency types and frequency without
;; regard to the dependency patterns.
(ns clojure-craft.analyze-terms)
(use 'clojure.java.io)
(use '[clojure.string :only (join split)])
(use '[cloj... | 117235 | ;;
;; Copyright <NAME>, August 2014
;; This namespace contains functions analyzing or counting
;; the terms, their POS, depdency types and frequency without
;; regard to the dependency patterns.
(ns clojure-craft.analyze-terms)
(use 'clojure.java.io)
(use '[clojure.string :only (join split)])
(use '[clojure-craft.c... | true | ;;
;; Copyright PI:NAME:<NAME>END_PI, August 2014
;; This namespace contains functions analyzing or counting
;; the terms, their POS, depdency types and frequency without
;; regard to the dependency patterns.
(ns clojure-craft.analyze-terms)
(use 'clojure.java.io)
(use '[clojure.string :only (join split)])
(use '[c... |
[
{
"context": "et-db-info this branch))\n {:keys [token-to-token-info-data-id]} db-info\n src-storage (get-storage th",
"end": 49916,
"score": 0.7518500089645386,
"start": 49895,
"tag": "KEY",
"value": "to-token-info-data-id"
}
] | src/com/dept24c/vivo/server.clj | CambodianCoder/vivo | 0 | (ns com.dept24c.vivo.server
(:require
[clojure.core.async :as ca]
[clojure.string :as str]
[cognitect.aws.client.api :as aws]
[cognitect.aws.client.api.async :as aws-async]
[com.dept24c.vivo.bristlecone.block-ids :as block-ids]
[com.dept24c.vivo.bristlecone.data-block-storage :as data-block-storage]... | 121476 | (ns com.dept24c.vivo.server
(:require
[clojure.core.async :as ca]
[clojure.string :as str]
[cognitect.aws.client.api :as aws]
[cognitect.aws.client.api.async :as aws-async]
[com.dept24c.vivo.bristlecone.block-ids :as block-ids]
[com.dept24c.vivo.bristlecone.data-block-storage :as data-block-storage]... | true | (ns com.dept24c.vivo.server
(:require
[clojure.core.async :as ca]
[clojure.string :as str]
[cognitect.aws.client.api :as aws]
[cognitect.aws.client.api.async :as aws-async]
[com.dept24c.vivo.bristlecone.block-ids :as block-ids]
[com.dept24c.vivo.bristlecone.data-block-storage :as data-block-storage]... |
[
{
"context": "2/hello_world\"\n :user \"benchmarkdbuser\"\n :password \"benchmark",
"end": 2238,
"score": 0.9854944348335266,
"start": 2223,
"tag": "USERNAME",
"value": "benchmarkdbuser"
},
{
"context": "arkdbuser\"\n ... | frameworks/Clojure/reitit/src/hello/handler.clj | xsoheilalizadeh/FrameworkBenchmarks | 5,300 | (ns hello.handler
(:require [pohjavirta.server :as server]
[pohjavirta.exchange :as exchange]
[hikari-cp.core :as hikari]
[reitit.ring :as ring]
[porsas.jdbc :as jdbc]
[porsas.async :as async]
[jsonista.core :as j])
(:import (java.util.concurre... | 97910 | (ns hello.handler
(:require [pohjavirta.server :as server]
[pohjavirta.exchange :as exchange]
[hikari-cp.core :as hikari]
[reitit.ring :as ring]
[porsas.jdbc :as jdbc]
[porsas.async :as async]
[jsonista.core :as j])
(:import (java.util.concurre... | true | (ns hello.handler
(:require [pohjavirta.server :as server]
[pohjavirta.exchange :as exchange]
[hikari-cp.core :as hikari]
[reitit.ring :as ring]
[porsas.jdbc :as jdbc]
[porsas.async :as async]
[jsonista.core :as j])
(:import (java.util.concurre... |
[
{
"context": "\n(defn authenticated? [name pass]\n (and (= name \"mage\")\n (= pass \"priest\")))\n\n\n(def riemann-clien",
"end": 1012,
"score": 0.9942318201065063,
"start": 1008,
"tag": "USERNAME",
"value": "mage"
},
{
"context": "name pass]\n (and (= name \"mage\")\n ... | src/riemann_grid/core.clj | codemomentum/riemann-grid | 1 | (ns riemann-grid.core
(:require [compojure.core :refer [GET POST PUT DELETE defroutes]]
[clojure.tools.cli :refer [cli]]
[riemann.client :refer [tcp-client query]]
[ring.middleware.json :refer [wrap-json-body
... | 99517 | (ns riemann-grid.core
(:require [compojure.core :refer [GET POST PUT DELETE defroutes]]
[clojure.tools.cli :refer [cli]]
[riemann.client :refer [tcp-client query]]
[ring.middleware.json :refer [wrap-json-body
... | true | (ns riemann-grid.core
(:require [compojure.core :refer [GET POST PUT DELETE defroutes]]
[clojure.tools.cli :refer [cli]]
[riemann.client :refer [tcp-client query]]
[ring.middleware.json :refer [wrap-json-body
... |
[
{
"context": "--------------------\n;; File def.clj\n;; Written by Chris\n;; \n;; Created 30 Aug 2012\n;; Last modified 20 Oc",
"end": 108,
"score": 0.9998192191123962,
"start": 103,
"tag": "NAME",
"value": "Chris"
}
] | src/ctco/expr/def.clj | cjfrisz/clojure-tco | 64 | ;;----------------------------------------------------------------------
;; File def.clj
;; Written by Chris
;;
;; Created 30 Aug 2012
;; Last modified 20 Oct 2012
;;
;; Defines the DefSrs, DefTriv, and DefCps record types for representing
;; 'def' expression in the Clojure TCO compiler.
;;
;; DefCps implements the f... | 93677 | ;;----------------------------------------------------------------------
;; File def.clj
;; Written by <NAME>
;;
;; Created 30 Aug 2012
;; Last modified 20 Oct 2012
;;
;; Defines the DefSrs, DefTriv, and DefCps record types for representing
;; 'def' expression in the Clojure TCO compiler.
;;
;; DefCps implements the ... | true | ;;----------------------------------------------------------------------
;; File def.clj
;; Written by PI:NAME:<NAME>END_PI
;;
;; Created 30 Aug 2012
;; Last modified 20 Oct 2012
;;
;; Defines the DefSrs, DefTriv, and DefCps record types for representing
;; 'def' expression in the Clojure TCO compiler.
;;
;; DefCps i... |
[
{
"context": " be solved by another level of\n;; indirection.\" -- David Wheeler\n;; \n\n;;; Exercise 4\n\n\n(def apply-message-to\n ",
"end": 3103,
"score": 0.9960737228393555,
"start": 3090,
"tag": "NAME",
"value": "David Wheeler"
}
] | func-prog/fp-oo/solutions/class.clj | tannerwelsh/code-training | 5 | ;;; Exercise 1
(def method-from-message
(fn [message class]
(message (:__instance_methods__ class))))
(def class-from-instance
(fn [instance]
(eval (:__class_symbol__ instance))))
(def apply-message-to
(fn [class instance message args]
(apply (method-from-message message class)
... | 2212 | ;;; Exercise 1
(def method-from-message
(fn [message class]
(message (:__instance_methods__ class))))
(def class-from-instance
(fn [instance]
(eval (:__class_symbol__ instance))))
(def apply-message-to
(fn [class instance message args]
(apply (method-from-message message class)
... | true | ;;; Exercise 1
(def method-from-message
(fn [message class]
(message (:__instance_methods__ class))))
(def class-from-instance
(fn [instance]
(eval (:__class_symbol__ instance))))
(def apply-message-to
(fn [class instance message args]
(apply (method-from-message message class)
... |
[
{
"context": "ed on 4 By 4 Skyscrapers and 6 By 6 Skyscrapers by FrankK.\n; By now, examples should be superfluous; you sh",
"end": 670,
"score": 0.9228473901748657,
"start": 664,
"tag": "NAME",
"value": "FrankK"
}
] | src/main/clojure/pl/tomaszgigiel/palestra/codewars/skyscrapers7.clj | tomaszgigiel/palestra | 0 | (ns pl.tomaszgigiel.palestra.codewars.skyscrapers7
(:gen-class))
; https://www.codewars.com/kata/7x7-skyscrapers/train/clojure
; In a grid of 7 by 7 squares you want to place a skyscraper in each square with only some clues:
; The height of the skyscrapers is between 1 and 7
; No two skyscrapers in a row or col... | 87021 | (ns pl.tomaszgigiel.palestra.codewars.skyscrapers7
(:gen-class))
; https://www.codewars.com/kata/7x7-skyscrapers/train/clojure
; In a grid of 7 by 7 squares you want to place a skyscraper in each square with only some clues:
; The height of the skyscrapers is between 1 and 7
; No two skyscrapers in a row or col... | true | (ns pl.tomaszgigiel.palestra.codewars.skyscrapers7
(:gen-class))
; https://www.codewars.com/kata/7x7-skyscrapers/train/clojure
; In a grid of 7 by 7 squares you want to place a skyscraper in each square with only some clues:
; The height of the skyscrapers is between 1 and 7
; No two skyscrapers in a row or col... |
[
{
"context": "e hello method\n; all evaluations are lazy\n(hello \"Super Suave\")\n\n",
"end": 290,
"score": 0.9860925674438477,
"start": 279,
"tag": "NAME",
"value": "Super Suave"
}
] | clojure/methods/methods.clj | miroadamy/language-matrix | 15 | (comment defn defines a method
hello is the name of the method
[name] is the argument, dynamically typed
println is another method call that will println out the name)
(defn hello [name]
(println "Hello,", name))
; calling the hello method
; all evaluations are lazy
(hello "Super Suave")
| 48705 | (comment defn defines a method
hello is the name of the method
[name] is the argument, dynamically typed
println is another method call that will println out the name)
(defn hello [name]
(println "Hello,", name))
; calling the hello method
; all evaluations are lazy
(hello "<NAME>")
| true | (comment defn defines a method
hello is the name of the method
[name] is the argument, dynamically typed
println is another method call that will println out the name)
(defn hello [name]
(println "Hello,", name))
; calling the hello method
; all evaluations are lazy
(hello "PI:NAME:<NAME>END_PI")
|
[
{
"context": "t:45432/demo?currentSchema=repl&user=dev&password=ts3rs\"\n :server-port 5001})\n\n(defonce app (start-app!",
"end": 168,
"score": 0.9983393549919128,
"start": 163,
"tag": "PASSWORD",
"value": "ts3rs"
}
] | dev/src/dev_repl.clj | tav10102/clojure-ui-testing-demo | 1 | (ns dev-repl
(:require [tunk.main :refer [start-app!]]))
(def repl-conf
{:db-uri "postgresql://localhost:45432/demo?currentSchema=repl&user=dev&password=ts3rs"
:server-port 5001})
(defonce app (start-app! repl-conf))
(def ctx (:ctx app))
| 68188 | (ns dev-repl
(:require [tunk.main :refer [start-app!]]))
(def repl-conf
{:db-uri "postgresql://localhost:45432/demo?currentSchema=repl&user=dev&password=<PASSWORD>"
:server-port 5001})
(defonce app (start-app! repl-conf))
(def ctx (:ctx app))
| true | (ns dev-repl
(:require [tunk.main :refer [start-app!]]))
(def repl-conf
{:db-uri "postgresql://localhost:45432/demo?currentSchema=repl&user=dev&password=PI:PASSWORD:<PASSWORD>END_PI"
:server-port 5001})
(defonce app (start-app! repl-conf))
(def ctx (:ctx app))
|
[
{
"context": "ServerName jira.meissa-gmbh.de\"\r\n \" ServerAdmin admin@jira.meissa-gmbh.de\"\r\n \" \"\r\n \" ErrorLog \\\"/var/l",
"end": 1153,
"score": 0.9478259682655334,
"start": 1143,
"tag": "EMAIL",
"value": "admin@jira"
},
{
"context": "ira.meissa-gmbh.de\"\r\n \" ... | test/src/dda/pallet/dda_httpd_crate/infra/vhost_simple_test.clj | DomainDrivenArchitecture/dda-httpd-crate | 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 no... | 57560 | ; 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 no... | 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 no... |
[
{
"context": "ster full-name))\n\n(def person-data {::first-name \"Anne\" ::last-name \"Frank\"})\n\n(def smart-map (psm/smart",
"end": 416,
"score": 0.9998470544815063,
"start": 412,
"tag": "NAME",
"value": "Anne"
},
{
"context": "def person-data {::first-name \"Anne\" ::last-name \... | clj/ex/study_pathom/pathom01/src/main/smart_maps01.clj | mertnuhoglu/study | 1 | (ns main.smart-maps01
(:require [com.wsscode.pathom3.connect.indexes :as pci]
[com.wsscode.pathom3.connect.operation :as pco]
[com.wsscode.pathom3.interface.smart-map :as psm]))
;; 01: Using smart maps
(pco/defresolver full-name [{::keys [first-name last-name]}]
{::full-name (str first-nam... | 84049 | (ns main.smart-maps01
(:require [com.wsscode.pathom3.connect.indexes :as pci]
[com.wsscode.pathom3.connect.operation :as pco]
[com.wsscode.pathom3.interface.smart-map :as psm]))
;; 01: Using smart maps
(pco/defresolver full-name [{::keys [first-name last-name]}]
{::full-name (str first-nam... | true | (ns main.smart-maps01
(:require [com.wsscode.pathom3.connect.indexes :as pci]
[com.wsscode.pathom3.connect.operation :as pco]
[com.wsscode.pathom3.interface.smart-map :as psm]))
;; 01: Using smart maps
(pco/defresolver full-name [{::keys [first-name last-name]}]
{::full-name (str first-nam... |
[
{
"context": "[:describe.core/empty]]}\n\n(d/describe {:username \"b3\"} new-user-describers)\n;; #{[:username [:describe",
"end": 1529,
"score": 0.9991100430488586,
"start": 1527,
"tag": "USERNAME",
"value": "b3"
},
{
"context": "[:describe.core/empty]]}\n\n(d/describe {:username \"... | examples/src/examples.clj | flyingmachine/describe | 10 | (ns examples
(:require [sweet-tooth.describe :as d]
[clojure.spec.alpha :as s]))
;;-----------------
;; Describer setup
;;-----------------
(defn username-taken?
[username db]
(some #(= username (:username %)) db))
(def username-empty (d/empty :username))
(def username-invalid-length (d/count-not-i... | 14885 | (ns examples
(:require [sweet-tooth.describe :as d]
[clojure.spec.alpha :as s]))
;;-----------------
;; Describer setup
;;-----------------
(defn username-taken?
[username db]
(some #(= username (:username %)) db))
(def username-empty (d/empty :username))
(def username-invalid-length (d/count-not-i... | true | (ns examples
(:require [sweet-tooth.describe :as d]
[clojure.spec.alpha :as s]))
;;-----------------
;; Describer setup
;;-----------------
(defn username-taken?
[username db]
(some #(= username (:username %)) db))
(def username-empty (d/empty :username))
(def username-invalid-length (d/count-not-i... |
[
{
"context": "ions and limitations there under.\n\n;;;; Author: Mark Butler (mailto:support@snowplowanalytics.com)\n;;;; Copyr",
"end": 746,
"score": 0.9998108744621277,
"start": 735,
"tag": "NAME",
"value": "Mark Butler"
},
{
"context": "there under.\n\n;;;; Author: Mark Butle... | 2-collectors/clojure-collector/java-servlet/tasks/leiningen/aws.clj | omenocal/snowplow | 2 | ;;;; Copyright (c) 2012-2013 Snowplow Analytics Ltd. All rights reserved.
;;;;
;;;; This program is licensed to you under the Apache License Version 2.0,
;;;; and you may not use this file except in compliance with the Apache License Version 2.0.
;;;; You may obtain a copy of the Apache License Version 2.0 at http://ww... | 60868 | ;;;; Copyright (c) 2012-2013 Snowplow Analytics Ltd. All rights reserved.
;;;;
;;;; This program is licensed to you under the Apache License Version 2.0,
;;;; and you may not use this file except in compliance with the Apache License Version 2.0.
;;;; You may obtain a copy of the Apache License Version 2.0 at http://ww... | true | ;;;; Copyright (c) 2012-2013 Snowplow Analytics Ltd. All rights reserved.
;;;;
;;;; This program is licensed to you under the Apache License Version 2.0,
;;;; and you may not use this file except in compliance with the Apache License Version 2.0.
;;;; You may obtain a copy of the Apache License Version 2.0 at http://ww... |
[
{
"context": "t/autodoc/\"\n :copyright \"Copyright 2012 Hubert Iwaniuk\"}\n :licence {:name \"Apache License, Version 2.0\"",
"end": 1177,
"score": 0.9998776316642761,
"start": 1163,
"tag": "NAME",
"value": "Hubert Iwaniuk"
}
] | project.clj | jcrossley3/http.async.client | 1 | (defproject http.async.client "0.5.3-SNAPSHOT"
:name "http.async.client"
:description "Asynchronous HTTP Client for Clojure"
:url "http://neotyk.github.com/http.async.client/"
:source-paths ["src/clj"]
:java-source-paths ["src/jvm"]
:dependencies [[org.clojure/clojure "1.4.... | 109919 | (defproject http.async.client "0.5.3-SNAPSHOT"
:name "http.async.client"
:description "Asynchronous HTTP Client for Clojure"
:url "http://neotyk.github.com/http.async.client/"
:source-paths ["src/clj"]
:java-source-paths ["src/jvm"]
:dependencies [[org.clojure/clojure "1.4.... | true | (defproject http.async.client "0.5.3-SNAPSHOT"
:name "http.async.client"
:description "Asynchronous HTTP Client for Clojure"
:url "http://neotyk.github.com/http.async.client/"
:source-paths ["src/clj"]
:java-source-paths ["src/jvm"]
:dependencies [[org.clojure/clojure "1.4.... |
[
{
"context": "kes ordering assumptions about representation\n;; - David\n\n;; START HERE\n\n(let [x (lvar 'x)\n y (lvar '",
"end": 4261,
"score": 0.9294204115867615,
"start": 4256,
"tag": "NAME",
"value": "David"
}
] | src/test/cljs/cljs/core/logic/tests.cljs | jduey/arrowed-logic | 1 | (ns cljs.core.logic.tests
(:refer-clojure :exclude [==])
(:use-macros
[cljs.core.logic.macros
:only [run run* == conde conda condu fresh defne matche all]])
(:require-macros [cljs.core.logic.macros :as m]
[clojure.tools.macro :as mu])
(:use
[cljs.core.logic
:only [pair lvar lcon... | 96263 | (ns cljs.core.logic.tests
(:refer-clojure :exclude [==])
(:use-macros
[cljs.core.logic.macros
:only [run run* == conde conda condu fresh defne matche all]])
(:require-macros [cljs.core.logic.macros :as m]
[clojure.tools.macro :as mu])
(:use
[cljs.core.logic
:only [pair lvar lcon... | true | (ns cljs.core.logic.tests
(:refer-clojure :exclude [==])
(:use-macros
[cljs.core.logic.macros
:only [run run* == conde conda condu fresh defne matche all]])
(:require-macros [cljs.core.logic.macros :as m]
[clojure.tools.macro :as mu])
(:use
[cljs.core.logic
:only [pair lvar lcon... |
[
{
"context": " {:Name \"charlie\" :DataType \"STRING\"}])]\n (h/assert-in",
"end": 1472,
"score": 0.5685949325561523,
"start": 1468,
"tag": "NAME",
"value": "char"
}
] | umm-spec-lib/test/cmr/umm_spec/test/validation/additional_attribute.clj | daniel-zamora/Common-Metadata-Repository | 294 | (ns cmr.umm-spec.test.validation.additional-attribute
"This has tests for UMM validations."
(:require [clojure.test :refer :all]
[cmr.umm-spec.validation.umm-spec-validation-core :as v]
[cmr.umm-spec.models.umm-common-models :as c]
[cmr.umm-spec.models.umm-collection-models :as c... | 91603 | (ns cmr.umm-spec.test.validation.additional-attribute
"This has tests for UMM validations."
(:require [clojure.test :refer :all]
[cmr.umm-spec.validation.umm-spec-validation-core :as v]
[cmr.umm-spec.models.umm-common-models :as c]
[cmr.umm-spec.models.umm-collection-models :as c... | true | (ns cmr.umm-spec.test.validation.additional-attribute
"This has tests for UMM validations."
(:require [clojure.test :refer :all]
[cmr.umm-spec.validation.umm-spec-validation-core :as v]
[cmr.umm-spec.models.umm-common-models :as c]
[cmr.umm-spec.models.umm-collection-models :as c... |
[
{
"context": "ogramming\n;;hosted within the java universe.\n;;\n;;christian.meichsner@informatik.tu-chemnitz.de\n(ns prologtocorelogic.core\n (:refer-clojure :exc",
"end": 298,
"score": 0.9999224543571472,
"start": 253,
"tag": "EMAIL",
"value": "christian.meichsner@informatik.tu-chemnitz.d... | prolog-to-corelogic/src/prologtocorelogic/core.clj | gixxi/talks-and-slides | 0 | ;;Prolog to clojure's core.logic
;;Prolog is the topdog in terms of logical programming
;;while core.logic is prolog-like programming within the
;;lisp-implementation clojure. clojure is a functional programming
;;hosted within the java universe.
;;
;;christian.meichsner@informatik.tu-chemnitz.de
(ns prologtocorelogic... | 21235 | ;;Prolog to clojure's core.logic
;;Prolog is the topdog in terms of logical programming
;;while core.logic is prolog-like programming within the
;;lisp-implementation clojure. clojure is a functional programming
;;hosted within the java universe.
;;
;;<EMAIL>
(ns prologtocorelogic.core
(:refer-clojure :exclude [==])... | true | ;;Prolog to clojure's core.logic
;;Prolog is the topdog in terms of logical programming
;;while core.logic is prolog-like programming within the
;;lisp-implementation clojure. clojure is a functional programming
;;hosted within the java universe.
;;
;;PI:EMAIL:<EMAIL>END_PI
(ns prologtocorelogic.core
(:refer-clojure... |
[
{
"context": " (atom\n {:default {:users {1 {:user_id 1 :name \"Dave\"}\n 2 {:user_id 2 :name \"Yoko",
"end": 179,
"score": 0.9996652007102966,
"start": 175,
"tag": "NAME",
"value": "Dave"
},
{
"context": "Dave\"}\n 2 {:user_id 2 :name \"Yo... | src/petrol_test/server/views.clj | ddellacosta/petrol-test | 1 | (ns petrol-test.server.views
(:require
[views.core :as views]
[views.protocols :refer [IView]]))
(def memory-store
(atom
{:default {:users {1 {:user_id 1 :name "Dave"}
2 {:user_id 2 :name "Yoko"}
3 {:user_id 3 :name "Harvey"}}}
:views {}
;; :send-fn ; se... | 61284 | (ns petrol-test.server.views
(:require
[views.core :as views]
[views.protocols :refer [IView]]))
(def memory-store
(atom
{:default {:users {1 {:user_id 1 :name "<NAME>"}
2 {:user_id 2 :name "<NAME>"}
3 {:user_id 3 :name "<NAME>"}}}
:views {}
;; :send-fn ... | true | (ns petrol-test.server.views
(:require
[views.core :as views]
[views.protocols :refer [IView]]))
(def memory-store
(atom
{:default {:users {1 {:user_id 1 :name "PI:NAME:<NAME>END_PI"}
2 {:user_id 2 :name "PI:NAME:<NAME>END_PI"}
3 {:user_id 3 :name "PI:NAME:<NAME... |
[
{
"context": " just an accident of history. Lisp was invented by John McCarthy,\nwho also invented the term \\\"artificial intellig",
"end": 298,
"score": 0.9997559189796448,
"start": 285,
"tag": "NAME",
"value": "John McCarthy"
},
{
"context": " done by a small group. In The Mythica... | example/code.analysis/test/documentation/on_lisp/ch1_the_extensible_language.clj | willcohen/lucidity | 3 | (ns documentation.on-lisp.ch1-the-extensible-language
(:use hara.test))
"Not long ago, if you asked what Lisp was for, many people would have answered \"for artificial intelligence.\"
In fact, the association between Lisp and AI is just an accident of history. Lisp was invented by John McCarthy,
who also invented th... | 125106 | (ns documentation.on-lisp.ch1-the-extensible-language
(:use hara.test))
"Not long ago, if you asked what Lisp was for, many people would have answered \"for artificial intelligence.\"
In fact, the association between Lisp and AI is just an accident of history. Lisp was invented by <NAME>,
who also invented the term ... | true | (ns documentation.on-lisp.ch1-the-extensible-language
(:use hara.test))
"Not long ago, if you asked what Lisp was for, many people would have answered \"for artificial intelligence.\"
In fact, the association between Lisp and AI is just an accident of history. Lisp was invented by PI:NAME:<NAME>END_PI,
who also inve... |
[
{
"context": "DELAY=-1\"\n :user \"test\"\n :password \"sav\"})\n\n\n(def H2DB\n {:connection (jdbc/get-connectio",
"end": 571,
"score": 0.9992114305496216,
"start": 568,
"tag": "PASSWORD",
"value": "sav"
},
{
"context": " H2DB\n {:na... | data/test/clojure/ae2eaa59bd1b904b4b457ba51e432bffddd56bfbjdbc_test.clj | harshp8l/deep-learning-lang-detection | 84 | (ns hugsql-finagle-async.jdbc-test
(:require [clojure.core.async :as async]
[clojure.test :refer :all]
[clojure.java.io :as io]
[clojure.java.jdbc :as jdbc]
[hugsql.core :as hugsql]
[hugsql-finagle-async.jdbc :as jdbc-adapter]
[clojure.string :as... | 70356 | (ns hugsql-finagle-async.jdbc-test
(:require [clojure.core.async :as async]
[clojure.test :refer :all]
[clojure.java.io :as io]
[clojure.java.jdbc :as jdbc]
[hugsql.core :as hugsql]
[hugsql-finagle-async.jdbc :as jdbc-adapter]
[clojure.string :as... | true | (ns hugsql-finagle-async.jdbc-test
(:require [clojure.core.async :as async]
[clojure.test :refer :all]
[clojure.java.io :as io]
[clojure.java.jdbc :as jdbc]
[hugsql.core :as hugsql]
[hugsql-finagle-async.jdbc :as jdbc-adapter]
[clojure.string :as... |
[
{
"context": " [message-options]]\n (let [message {:from_email \"kyu@revress.com\"\n :from_name \"Kyu Lee\"\n ",
"end": 1383,
"score": 0.9999099373817444,
"start": 1368,
"tag": "EMAIL",
"value": "kyu@revress.com"
},
{
"context": "l \"kyu@revress.com\"\n ... | src/clj/happinessmailer/core.clj | smailq/happinessmailer | 0 | (ns happinessmailer.core
(:require ; Make http requests
[clj-http.client :as client]
; HTTP
[compojure.core :refer [GET POST defroutes]]
[compojure.handler :refer [site]]
[compojure.route :as route]
; Environment variables
[en... | 62057 | (ns happinessmailer.core
(:require ; Make http requests
[clj-http.client :as client]
; HTTP
[compojure.core :refer [GET POST defroutes]]
[compojure.handler :refer [site]]
[compojure.route :as route]
; Environment variables
[en... | true | (ns happinessmailer.core
(:require ; Make http requests
[clj-http.client :as client]
; HTTP
[compojure.core :refer [GET POST defroutes]]
[compojure.handler :refer [site]]
[compojure.route :as route]
; Environment variables
[en... |
[
{
"context": ";; From https://github.com/Lambda-X/replumb/blob/master/src/node/replumb/nodejs/io.cl",
"end": 35,
"score": 0.9997000098228455,
"start": 27,
"tag": "USERNAME",
"value": "Lambda-X"
},
{
"context": "nse, the same as Clojure.\n;; Copyright (C) 2015-16 Scalac Sp. z o.o.\n\n... | proto-repl-client-cljs/src-cljs/replumb/nodejs/io.cljs | emmanuj/proto-repl | 640 | ;; From https://github.com/Lambda-X/replumb/blob/master/src/node/replumb/nodejs/io.cljs
;; Copied based on README text: "There are examples of this in both
;; replumb.browser.io and replumb.nodejs.io that you can freely copy over."
;; Distributed under the Eclipse Public License, the same as Clojure.
;; Copyright (C) 2... | 117175 | ;; From https://github.com/Lambda-X/replumb/blob/master/src/node/replumb/nodejs/io.cljs
;; Copied based on README text: "There are examples of this in both
;; replumb.browser.io and replumb.nodejs.io that you can freely copy over."
;; Distributed under the Eclipse Public License, the same as Clojure.
;; Copyright (C) 2... | true | ;; From https://github.com/Lambda-X/replumb/blob/master/src/node/replumb/nodejs/io.cljs
;; Copied based on README text: "There are examples of this in both
;; replumb.browser.io and replumb.nodejs.io that you can freely copy over."
;; Distributed under the Eclipse Public License, the same as Clojure.
;; Copyright (C) 2... |
[
{
"context": ";;; clods.core\n\n;; Copyright 2015 Tom Regan\n;;\n;; Licensed under the Apache License, Version ",
"end": 43,
"score": 0.9998505711555481,
"start": 34,
"tag": "NAME",
"value": "Tom Regan"
}
] | clods/src/clods/core.clj | TomRegan/hollaen | 0 | ;;; clods.core
;; Copyright 2015 Tom Regan
;;
;; 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... | 114327 | ;;; clods.core
;; Copyright 2015 <NAME>
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or ag... | true | ;;; clods.core
;; Copyright 2015 PI:NAME:<NAME>END_PI
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applic... |
[
{
"context": "]\n [\"Fred\" (rand-nth addresses)]\n ",
"end": 6919,
"score": 0.9994480609893799,
"start": 6915,
"tag": "NAME",
"value": "Fred"
},
{
"context": "]\n [\"Ad... | src/clj/reitit_db_fun/main.clj | rotaliator/reitit-db-fun | 7 | (ns reitit-db-fun.main
(:gen-class)
(:require [clojure.java.io :as io]
[integrant.core :as ig]
[aleph.http :as http]
[reitit.ring :as ring]
[muuntaja.core :as m]
[reitit.ring.middleware.muuntaja :as muuntaja]
[reitit.ring.middleware.parameters]... | 32000 | (ns reitit-db-fun.main
(:gen-class)
(:require [clojure.java.io :as io]
[integrant.core :as ig]
[aleph.http :as http]
[reitit.ring :as ring]
[muuntaja.core :as m]
[reitit.ring.middleware.muuntaja :as muuntaja]
[reitit.ring.middleware.parameters]... | true | (ns reitit-db-fun.main
(:gen-class)
(:require [clojure.java.io :as io]
[integrant.core :as ig]
[aleph.http :as http]
[reitit.ring :as ring]
[muuntaja.core :as m]
[reitit.ring.middleware.muuntaja :as muuntaja]
[reitit.ring.middleware.parameters]... |
[
{
"context": " [k nil])) @config*)))\n\n(def localstore-key \"logger-config\")\n\n(add-watch config* ::logger-config (fn [_k _r ",
"end": 863,
"score": 0.977404773235321,
"start": 850,
"tag": "KEY",
"value": "logger-config"
}
] | src/lib/log.cljs | milelo/yetipad-app | 2 | (ns lib.log
(:require
[cljs.core.async :as async :refer [put! chan]]
[cljs.reader :refer [read-string]]
[cljs.pprint :refer [pprint]]
[clojure.data :refer [diff]]
["localforage" :as local-forage]
))
(def log-levels [:default :trace :debug :info :warn :error :fatal])
(def base-default-config {... | 78477 | (ns lib.log
(:require
[cljs.core.async :as async :refer [put! chan]]
[cljs.reader :refer [read-string]]
[cljs.pprint :refer [pprint]]
[clojure.data :refer [diff]]
["localforage" :as local-forage]
))
(def log-levels [:default :trace :debug :info :warn :error :fatal])
(def base-default-config {... | true | (ns lib.log
(:require
[cljs.core.async :as async :refer [put! chan]]
[cljs.reader :refer [read-string]]
[cljs.pprint :refer [pprint]]
[clojure.data :refer [diff]]
["localforage" :as local-forage]
))
(def log-levels [:default :trace :debug :info :warn :error :fatal])
(def base-default-config {... |
[
{
"context": " {\"example\" {:elements [{:type :citation :author \"Chris\"}]}}}\n \"example\")\n => {:articles {\"example\" {:",
"end": 2064,
"score": 0.9995005130767822,
"start": 2059,
"tag": "NAME",
"value": "Chris"
},
{
"context": " :citations [{:type :citation, :auth... | test/lucid/publish/collect/base_test.clj | willcohen/lucidity | 3 | (ns lucid.publish.collect.base-test
(:use hara.test)
(:require [lucid.publish.collect.base :refer :all]))
^{:refer lucid.publish.collect.base/collect-namespaces :added "1.2"}
(fact "combines `:ns-form` directives into a namespace map for easy referral"
(collect-namespaces
{:articles
{"example"
{:e... | 87517 | (ns lucid.publish.collect.base-test
(:use hara.test)
(:require [lucid.publish.collect.base :refer :all]))
^{:refer lucid.publish.collect.base/collect-namespaces :added "1.2"}
(fact "combines `:ns-form` directives into a namespace map for easy referral"
(collect-namespaces
{:articles
{"example"
{:e... | true | (ns lucid.publish.collect.base-test
(:use hara.test)
(:require [lucid.publish.collect.base :refer :all]))
^{:refer lucid.publish.collect.base/collect-namespaces :added "1.2"}
(fact "combines `:ns-form` directives into a namespace map for easy referral"
(collect-namespaces
{:articles
{"example"
{:e... |
[
{
"context": " Can be passed a email address as a string like 'foo@bar.com' or\n 'Foo Bar <foo@bar.com>', or a seq of such s",
"end": 957,
"score": 0.9999061822891235,
"start": 946,
"tag": "EMAIL",
"value": "foo@bar.com"
},
{
"context": "ess as a string like 'foo@bar.com' or\n 'Fo... | src/postmark/core.clj | danielcompton/clojure-postmark | 5 | (ns postmark.core
(:require [clj-http.client :as client]
[clojure.string :as string]
[cheshire.core :as json]))
(defn- mail-to-json
"Return the JSON for the given mail map.
Falsey values will be removed from the map before serializing."
[mail]
(->> mail
(filter (comp some? val... | 69017 | (ns postmark.core
(:require [clj-http.client :as client]
[clojure.string :as string]
[cheshire.core :as json]))
(defn- mail-to-json
"Return the JSON for the given mail map.
Falsey values will be removed from the map before serializing."
[mail]
(->> mail
(filter (comp some? val... | true | (ns postmark.core
(:require [clj-http.client :as client]
[clojure.string :as string]
[cheshire.core :as json]))
(defn- mail-to-json
"Return the JSON for the given mail map.
Falsey values will be removed from the map before serializing."
[mail]
(->> mail
(filter (comp some? val... |
[
{
"context": "ine-def-structure [{:name \"foo\"\n :type ",
"end": 645,
"score": 0.7358850836753845,
"start": 642,
"tag": "NAME",
"value": "foo"
},
{
"context": " [{:name \"bar\"\n ... | test/clj/lambdacd/state/core_test.clj | Mattlk13/lambdacd | 705 | (ns lambdacd.state.core-test
(:require [clojure.test :refer :all]
[shrubbery.core :refer [mock received?]]
[lambdacd.state.core :as s]
[lambdacd.testsupport.data :refer [some-ctx-with]]
[lambdacd.state.protocols :as state-protocols]))
(def some-build-number 42)
(def so... | 122955 | (ns lambdacd.state.core-test
(:require [clojure.test :refer :all]
[shrubbery.core :refer [mock received?]]
[lambdacd.state.core :as s]
[lambdacd.testsupport.data :refer [some-ctx-with]]
[lambdacd.state.protocols :as state-protocols]))
(def some-build-number 42)
(def so... | true | (ns lambdacd.state.core-test
(:require [clojure.test :refer :all]
[shrubbery.core :refer [mock received?]]
[lambdacd.state.core :as s]
[lambdacd.testsupport.data :refer [some-ctx-with]]
[lambdacd.state.protocols :as state-protocols]))
(def some-build-number 42)
(def so... |
[
{
"context": " :args [{l \"carrots\"}]})\n;; => #{[:you \"carrots\"] [:me \"carrots\"]}\n\n(try (mapv first (api/q (api/",
"end": 842,
"score": 0.9585959315299988,
"start": 835,
"tag": "USERNAME",
"value": "carrots"
},
{
"context": " [{l \"carrots\"}]})\n;; => #{[:you \"car... | crux-dev/dev/tmt/maplistq.clj | Antonelli712/crux | 1 | (ns tmt.maplistq
(:require [crux.api :as api]))
(def opts
{:crux.node/topology :crux.standalone/topology
:crux.node/kv-store "crux.kv.memdb/kv"
:crux.kv/db-dir "data/db-dir-1"
:crux.standalone/event-log-dir "data/eventlog-1"
:crux.standalone/event-log-kv-store "crux.kv.memdb/kv"})
(def node
(api/sta... | 99502 | (ns tmt.maplistq
(:require [crux.api :as api]))
(def opts
{:crux.node/topology :crux.standalone/topology
:crux.node/kv-store "crux.kv.memdb/kv"
:crux.kv/db-dir "data/db-dir-1"
:crux.standalone/event-log-dir "data/eventlog-1"
:crux.standalone/event-log-kv-store "crux.kv.memdb/kv"})
(def node
(api/sta... | true | (ns tmt.maplistq
(:require [crux.api :as api]))
(def opts
{:crux.node/topology :crux.standalone/topology
:crux.node/kv-store "crux.kv.memdb/kv"
:crux.kv/db-dir "data/db-dir-1"
:crux.standalone/event-log-dir "data/eventlog-1"
:crux.standalone/event-log-kv-store "crux.kv.memdb/kv"})
(def node
(api/sta... |
[
{
"context": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n; Copyright 2015 Xebia B.V.\n;\n; Licensed under the Apache License, Version 2",
"end": 107,
"score": 0.9609068036079407,
"start": 98,
"tag": "NAME",
"value": "Xebia B.V"
}
] | src/test/clojure/com/xebia/visualreview/service/middleware_test.clj | andstepanuk/VisualReview | 290 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright 2015 Xebia B.V.
;
; 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... | 86924 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright 2015 <NAME>.
;
; Licensed under the Apache License, Version 2.0 (the "License")
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LI... | true | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright 2015 PI:NAME:<NAME>END_PI.
;
; Licensed under the Apache License, Version 2.0 (the "License")
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.o... |
[
{
"context": "----\n\n(defn- compartment-list-start-key [{:keys [c-hash res-id]} tid start-id]\n (if start-id\n (co",
"end": 2227,
"score": 0.5441232919692993,
"start": 2227,
"tag": "KEY",
"value": ""
},
{
"context": "tid)))\n\n\n(defn- compartment-list-cmp-key [{:keys [c-hash re... | modules/db/src/blaze/db/impl/index.clj | EmteZogaf/blaze | 0 | (ns blaze.db.impl.index
(:require
[blaze.coll.core :as coll]
[blaze.db.impl.bytes :as bytes]
[blaze.db.impl.codec :as codec]
[blaze.db.impl.index.resource :as resource]
[blaze.db.impl.index.resource-as-of :as resource-as-of]
[blaze.db.impl.iterators :as i]
[blaze.db.impl.search-param :as s... | 61423 | (ns blaze.db.impl.index
(:require
[blaze.coll.core :as coll]
[blaze.db.impl.bytes :as bytes]
[blaze.db.impl.codec :as codec]
[blaze.db.impl.index.resource :as resource]
[blaze.db.impl.index.resource-as-of :as resource-as-of]
[blaze.db.impl.iterators :as i]
[blaze.db.impl.search-param :as s... | true | (ns blaze.db.impl.index
(:require
[blaze.coll.core :as coll]
[blaze.db.impl.bytes :as bytes]
[blaze.db.impl.codec :as codec]
[blaze.db.impl.index.resource :as resource]
[blaze.db.impl.index.resource-as-of :as resource-as-of]
[blaze.db.impl.iterators :as i]
[blaze.db.impl.search-param :as s... |
[
{
"context": "ail-addresses user-by-md))\n :name (:full-name user-by-md)\n :org (or (:organization-nam",
"end": 3710,
"score": 0.44689062237739563,
"start": 3706,
"tag": "NAME",
"value": "name"
},
{
"context": "addresses user-by-md))\n :name (:full-name use... | src/metadata_tool/tools/parsers.clj | finos/metadata-tool | 11 | ;
; Copyright 2017 Fintech Open Source Foundation
; SPDX-License-Identifier: Apache-2.0
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; ... | 41411 | ;
; Copyright 2017 Fintech Open Source Foundation
; SPDX-License-Identifier: Apache-2.0
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; ... | true | ;
; Copyright 2017 Fintech Open Source Foundation
; SPDX-License-Identifier: Apache-2.0
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; ... |
[
{
"context": ";; Copyright 2014-2020 King\n;; Copyright 2009-2014 Ragnar Svensson, Christian Murray\n;; Licensed under the Defold Li",
"end": 111,
"score": 0.999810516834259,
"start": 96,
"tag": "NAME",
"value": "Ragnar Svensson"
},
{
"context": "-2020 King\n;; Copyright 2009-2014 Ra... | editor/test/editor/defold_project_test.clj | cmarincia/defold | 0 | ;; Copyright 2020-2022 The Defold Foundation
;; Copyright 2014-2020 King
;; Copyright 2009-2014 Ragnar Svensson, Christian Murray
;; Licensed under the Defold License version 1.0 (the "License"); you may not use
;; this file except in compliance with the License.
;;
;; You may obtain a copy of the License, together wi... | 101853 | ;; 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": "! *unchecked-math* :warn-on-boxed)\n(ns ^{:author \"wahpenayo at gmail dot com\" \n :since \"2016-11-28\"\n ",
"end": 97,
"score": 0.7954860925674438,
"start": 88,
"tag": "EMAIL",
"value": "wahpenayo"
},
{
"context": "-math* :warn-on-boxed)\n(ns ^{:author \"wahp... | src/main/clojure/taigabench/summary.clj | wahpenayo/taigabench | 0 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "wahpenayo at gmail dot com"
:since "2016-11-28"
:date "2017-11-20"
:doc "Compute summary statistics for sanity checking." }
taigabench.summary
(:require [clojure.string :as s]
[clojure.ja... | 93351 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "<EMAIL> at <EMAIL>"
:since "2016-11-28"
:date "2017-11-20"
:doc "Compute summary statistics for sanity checking." }
taigabench.summary
(:require [clojure.string :as s]
[clojure.java.io :a... | true | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "PI:EMAIL:<EMAIL>END_PI at PI:EMAIL:<EMAIL>END_PI"
:since "2016-11-28"
:date "2017-11-20"
:doc "Compute summary statistics for sanity checking." }
taigabench.summary
(:require [clojure.string :as s]
... |
[
{
"context": "web.xml\"\n (with-appengine (local-proxy :email \"test@example.com\" :admin true)\n (do\n (let [feed-count ",
"end": 518,
"score": 0.9999188184738159,
"start": 502,
"tag": "EMAIL",
"value": "test@example.com"
}
] | src/leiningen/print_database.clj | lhanson/Pillage-RSS | 2 | (ns leiningen.print-database
(:require [clojure.string :as string])
(:use [pillage.feed-handling :only (get-syndfeed)]
pillage.models
[appengine.datastore :only (delete-entity save-entity)]
appengine.environment
[appengine.users :only (current-user)]))
(defn print-database []
"A L... | 52346 | (ns leiningen.print-database
(:require [clojure.string :as string])
(:use [pillage.feed-handling :only (get-syndfeed)]
pillage.models
[appengine.datastore :only (delete-entity save-entity)]
appengine.environment
[appengine.users :only (current-user)]))
(defn print-database []
"A L... | true | (ns leiningen.print-database
(:require [clojure.string :as string])
(:use [pillage.feed-handling :only (get-syndfeed)]
pillage.models
[appengine.datastore :only (delete-entity save-entity)]
appengine.environment
[appengine.users :only (current-user)]))
(defn print-database []
"A L... |
[
{
"context": " (not-found {:success false :message \"I'm sorry Dave, there are no tokens here.\"}))))\n (GET \"/t",
"end": 22235,
"score": 0.8833443522453308,
"start": 22231,
"tag": "NAME",
"value": "Dave"
},
{
"context": " (not-found {:success false :message \"I'm sorry... | src/artstor_group_service/core.clj | ithaka/artstor-group-service-os | 0 | (ns artstor-group-service.core
(:require [clojure.spec :as spec]
[schema.core :as s]
[compojure.api.sweet :refer :all]
[compojure.api.meta :refer [restructure-param]]
[compojure.api.exception :as ex]
[buddy.auth.accessrules :as baa]
[ring.util.ht... | 58310 | (ns artstor-group-service.core
(:require [clojure.spec :as spec]
[schema.core :as s]
[compojure.api.sweet :refer :all]
[compojure.api.meta :refer [restructure-param]]
[compojure.api.exception :as ex]
[buddy.auth.accessrules :as baa]
[ring.util.ht... | true | (ns artstor-group-service.core
(:require [clojure.spec :as spec]
[schema.core :as s]
[compojure.api.sweet :refer :all]
[compojure.api.meta :refer [restructure-param]]
[compojure.api.exception :as ex]
[buddy.auth.accessrules :as baa]
[ring.util.ht... |
[
{
"context": ";; Copyright (c) Vital Labs, Inc. All rights reserved. The use and\n;; distri",
"end": 27,
"score": 0.9774565100669861,
"start": 17,
"tag": "NAME",
"value": "Vital Labs"
}
] | src/clojurecast/lang/cache.clj | VitalLabs/clojurecast | 0 | ;; Copyright (c) Vital Labs, Inc. All rights reserved. The use and
;; distribution terms for this software are covered by the MIT
;; License (https://opensource.org/licenses/MIT) which can be found
;; in the file LICENSE at the root of this distribution.
;; By using this software in any fashion, you are agreeing to be... | 56427 | ;; Copyright (c) <NAME>, Inc. All rights reserved. The use and
;; distribution terms for this software are covered by the MIT
;; License (https://opensource.org/licenses/MIT) which can be found
;; in the file LICENSE at the root of this distribution.
;; By using this software in any fashion, you are agreeing to be
;; ... | true | ;; Copyright (c) PI:NAME:<NAME>END_PI, Inc. All rights reserved. The use and
;; distribution terms for this software are covered by the MIT
;; License (https://opensource.org/licenses/MIT) which can be found
;; in the file LICENSE at the root of this distribution.
;; By using this software in any fashion, you are agre... |
[
{
"context": "\n (spit (io/file src-dir \"ivan.txt\") \"Hey Ivan!\")\n\n (t/is (= cp-2\n (-",
"end": 2048,
"score": 0.7972273826599121,
"start": 2044,
"tag": "NAME",
"value": "Ivan"
},
{
"context": "est-dir \"hello.txt\"))))\n\n (t/is (=... | crux-s3/test/crux/s3/checkpoint_test.clj | deobald/crux | 0 | (ns crux.s3.checkpoint-test
(:require [crux.s3.checkpoint :as s3c]
[crux.s3-test :as s3t]
[clojure.test :as t]
[crux.fixtures :as fix]
[crux.system :as sys]
[clojure.java.io :as io]
[crux.checkpoint :as cp]
[crux.tx :as tx])
(:impor... | 118748 | (ns crux.s3.checkpoint-test
(:require [crux.s3.checkpoint :as s3c]
[crux.s3-test :as s3t]
[clojure.test :as t]
[crux.fixtures :as fix]
[crux.system :as sys]
[clojure.java.io :as io]
[crux.checkpoint :as cp]
[crux.tx :as tx])
(:impor... | true | (ns crux.s3.checkpoint-test
(:require [crux.s3.checkpoint :as s3c]
[crux.s3-test :as s3t]
[clojure.test :as t]
[crux.fixtures :as fix]
[crux.system :as sys]
[clojure.java.io :as io]
[crux.checkpoint :as cp]
[crux.tx :as tx])
(:impor... |
[
{
"context": "cute JRuby code.\"\n :url \"https://github.com/tobias/boot-jruby\"\n :scm {:url \"https://github.com",
"end": 332,
"score": 0.999504029750824,
"start": 326,
"tag": "USERNAME",
"value": "tobias"
},
{
"context": "boot-jruby\"\n :scm {:url \"https://githu... | build.boot | micha/boot-jruby | 1 | (set-env!
:dependencies '[[org.clojure/clojure "1.6.0" :scope "provided"]
[clj.rb "0.3.0"]]
:resource-paths #{"src"})
(def +version+ "0.2.0")
(task-options!
pom {:project 'boot-jruby
:version +version+
:description "Boot task to execute JRuby code."
:url "https://githu... | 50097 | (set-env!
:dependencies '[[org.clojure/clojure "1.6.0" :scope "provided"]
[clj.rb "0.3.0"]]
:resource-paths #{"src"})
(def +version+ "0.2.0")
(task-options!
pom {:project 'boot-jruby
:version +version+
:description "Boot task to execute JRuby code."
:url "https://githu... | true | (set-env!
:dependencies '[[org.clojure/clojure "1.6.0" :scope "provided"]
[clj.rb "0.3.0"]]
:resource-paths #{"src"})
(def +version+ "0.2.0")
(task-options!
pom {:project 'boot-jruby
:version +version+
:description "Boot task to execute JRuby code."
:url "https://githu... |
[
{
"context": " [clojure.tools.namespace.dependency :as dep]\n [robert.hooke]\n [leiningen.test])\n (:import\n [java.io",
"end": 217,
"score": 0.7662705779075623,
"start": 211,
"tag": "USERNAME",
"value": "robert"
},
{
"context": "re.tools.namespace.dependency :as dep]\n [rob... | src/leiningen/barrier.clj | TriforkSE/lein-barrier | 1 | (ns leiningen.barrier
(:require
[leiningen.core.main :as main]
[clojure.tools.namespace.find :as ns-find]
[clojure.tools.namespace.parse :as parse]
[clojure.tools.namespace.dependency :as dep]
[robert.hooke]
[leiningen.test])
(:import
[java.io File]))
(def ^:dynamic *exit-after-barrier* true)... | 20851 | (ns leiningen.barrier
(:require
[leiningen.core.main :as main]
[clojure.tools.namespace.find :as ns-find]
[clojure.tools.namespace.parse :as parse]
[clojure.tools.namespace.dependency :as dep]
[robert.<NAME>]
[leiningen.test])
(:import
[java.io File]))
(def ^:dynamic *exit-after-barrier* true... | true | (ns leiningen.barrier
(:require
[leiningen.core.main :as main]
[clojure.tools.namespace.find :as ns-find]
[clojure.tools.namespace.parse :as parse]
[clojure.tools.namespace.dependency :as dep]
[robert.PI:NAME:<NAME>END_PI]
[leiningen.test])
(:import
[java.io File]))
(def ^:dynamic *exit-after... |
[
{
"context": "\n (let [key (SecretKeySpec. (.getBytes secret) \"HmacSHA1\")\n mac (doto (Mac/getInstance \"HmacSHA1\")",
"end": 369,
"score": 0.9945522546768188,
"start": 361,
"tag": "KEY",
"value": "HmacSHA1"
}
] | src/exoscale/compute/api/hmac.clj | exoscale/clojure-exoscale | 2 | (ns exoscale.compute.api.hmac
"HMAC-SHA1 signing"
(:import javax.crypto.spec.SecretKeySpec
javax.crypto.Mac
java.util.Base64))
(defn sha1
"Given a secret, compute the base64 encoded representation of a
payload's Hmac-Sha1"
[^String secret ^String input]
{:pre [(seq secret)]}
(let [... | 92136 | (ns exoscale.compute.api.hmac
"HMAC-SHA1 signing"
(:import javax.crypto.spec.SecretKeySpec
javax.crypto.Mac
java.util.Base64))
(defn sha1
"Given a secret, compute the base64 encoded representation of a
payload's Hmac-Sha1"
[^String secret ^String input]
{:pre [(seq secret)]}
(let [... | true | (ns exoscale.compute.api.hmac
"HMAC-SHA1 signing"
(:import javax.crypto.spec.SecretKeySpec
javax.crypto.Mac
java.util.Base64))
(defn sha1
"Given a secret, compute the base64 encoded representation of a
payload's Hmac-Sha1"
[^String secret ^String input]
{:pre [(seq secret)]}
(let [... |
[
{
"context": ")\n '{:find [e]\n :where [[e :name \"Pablo\"]]})\n;; end::query-valid-time[]\n)\n\n\n\n#_(comment\n;",
"end": 1143,
"score": 0.9987124800682068,
"start": 1138,
"tag": "NAME",
"value": "Pablo"
},
{
"context": "{:crux.db/id :ids.persons/Jeff\n :person/... | docs/reference/modules/ROOT/examples/test/crux/docs/examples_test.clj | jonpither/crux | 0 | (ns crux.docs.examples-test
(:require [clojure.java.io :as io]
[crux.api :as crux]))
;; tag::require-ek[]
(require '[crux.kafka.embedded :as ek])
;; end::require-ek[]
;; tag::ek-example[]
(defn start-embedded-kafka [kafka-port storage-dir]
(ek/start-embedded-kafka {:crux.kafka.embedded/zookeeper-data-... | 61803 | (ns crux.docs.examples-test
(:require [clojure.java.io :as io]
[crux.api :as crux]))
;; tag::require-ek[]
(require '[crux.kafka.embedded :as ek])
;; end::require-ek[]
;; tag::ek-example[]
(defn start-embedded-kafka [kafka-port storage-dir]
(ek/start-embedded-kafka {:crux.kafka.embedded/zookeeper-data-... | true | (ns crux.docs.examples-test
(:require [clojure.java.io :as io]
[crux.api :as crux]))
;; tag::require-ek[]
(require '[crux.kafka.embedded :as ek])
;; end::require-ek[]
;; tag::ek-example[]
(defn start-embedded-kafka [kafka-port storage-dir]
(ek/start-embedded-kafka {:crux.kafka.embedded/zookeeper-data-... |
[
{
"context": "jks\"\n :key-password \"password\"}\n (let [response (http/get \"https://localho",
"end": 1421,
"score": 0.9985052347183228,
"start": 1413,
"tag": "PASSWORD",
"value": "password"
},
{
"context": " (is (= (:query-string request-map)... | ring-jetty-adapter/test/ring/adapter/test/jetty.clj | ryfow/ring | 1 | (ns ring.adapter.test.jetty
(:use clojure.test
ring.adapter.jetty)
(:require [clj-http.client :as http])
(:import (org.eclipse.jetty.util.thread QueuedThreadPool)
(org.eclipse.jetty.server Server Request)
(org.eclipse.jetty.server.handler AbstractHandler)))
(defn- hello-world [reque... | 77415 | (ns ring.adapter.test.jetty
(:use clojure.test
ring.adapter.jetty)
(:require [clj-http.client :as http])
(:import (org.eclipse.jetty.util.thread QueuedThreadPool)
(org.eclipse.jetty.server Server Request)
(org.eclipse.jetty.server.handler AbstractHandler)))
(defn- hello-world [reque... | true | (ns ring.adapter.test.jetty
(:use clojure.test
ring.adapter.jetty)
(:require [clj-http.client :as http])
(:import (org.eclipse.jetty.util.thread QueuedThreadPool)
(org.eclipse.jetty.server Server Request)
(org.eclipse.jetty.server.handler AbstractHandler)))
(defn- hello-world [reque... |
[
{
"context": ";; Copyright 2014-2015 Andrey Antukh <niwi@niwi.nz>\n;;\n;; Licensed under the Apache Li",
"end": 36,
"score": 0.9998847842216492,
"start": 23,
"tag": "NAME",
"value": "Andrey Antukh"
},
{
"context": ";; Copyright 2014-2015 Andrey Antukh <niwi@niwi.nz>\n;;\n;; Licensed ... | test/buddy/core/codecs_tests.clj | shilder/buddy-core | 121 | ;; Copyright 2014-2015 Andrey Antukh <niwi@niwi.nz>
;;
;; 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... | 9210 | ;; Copyright 2014-2015 <NAME> <<EMAIL>>
;;
;; Licensed under the Apache License, Version 2.0 (the "License")
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agre... | true | ;; Copyright 2014-2015 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
;;
;; Licensed under the Apache License, Version 2.0 (the "License")
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless requi... |
[
{
"context": "on/world.json\"\n :region_key \"ISO_A2\"\n :region_name \"NAME\"\n ",
"end": 1260,
"score": 0.9937080144882202,
"start": 1254,
"tag": "KEY",
"value": "ISO_A2"
},
{
"context": "rohibited.\")))\n\n(def ^:private invalid-hosts... | c#-metabase/src/metabase/api/geojson.clj | hanakhry/Crime_Admin | 0 | (ns metabase.api.geojson
(:require [clojure.java.io :as io]
[compojure.core :refer [GET]]
[metabase.api.common :as api]
[metabase.models.setting :as setting :refer [defsetting]]
[metabase.util.i18n :as ui18n :refer [deferred-tru tru]]
[metabase.util.schema :... | 114768 | (ns metabase.api.geojson
(:require [clojure.java.io :as io]
[compojure.core :refer [GET]]
[metabase.api.common :as api]
[metabase.models.setting :as setting :refer [defsetting]]
[metabase.util.i18n :as ui18n :refer [deferred-tru tru]]
[metabase.util.schema :... | true | (ns metabase.api.geojson
(:require [clojure.java.io :as io]
[compojure.core :refer [GET]]
[metabase.api.common :as api]
[metabase.models.setting :as setting :refer [defsetting]]
[metabase.util.i18n :as ui18n :refer [deferred-tru tru]]
[metabase.util.schema :... |
[
{
"context": "(let [haystack [\"Zig\" \"Zag\" \"Wally\" \"Ronald\" \"Bush\" \"Krusty\" \"Charlie\" \"Bush\" \"Bozo\"",
"end": 34,
"score": 0.9995090961456299,
"start": 29,
"tag": "NAME",
"value": "Wally"
},
{
"context": "(let [haystack [\"Zig\" \"Zag\" \"Wally\" \"Ronald\" \"Bush\" \... | Task/Search-a-list/Clojure/search-a-list.clj | LaudateCorpus1/RosettaCodeData | 1 | (let [haystack ["Zig" "Zag" "Wally" "Ronald" "Bush" "Krusty" "Charlie" "Bush" "Bozo"]]
(let [idx (.indexOf haystack "Zig")]
(if (neg? idx)
(throw (Error. "item not found."))
idx)))
| 24411 | (let [haystack ["Zig" "Zag" "<NAME>" "<NAME>" "<NAME>" "<NAME>" "<NAME>" "Bush" "Bozo"]]
(let [idx (.indexOf haystack "Zig")]
(if (neg? idx)
(throw (Error. "item not found."))
idx)))
| true | (let [haystack ["Zig" "Zag" "PI:NAME:<NAME>END_PI" "PI:NAME:<NAME>END_PI" "PI:NAME:<NAME>END_PI" "PI:NAME:<NAME>END_PI" "PI:NAME:<NAME>END_PI" "Bush" "Bozo"]]
(let [idx (.indexOf haystack "Zig")]
(if (neg? idx)
(throw (Error. "item not found."))
idx)))
|
[
{
"context": ";\n; Copyright © 2021 Peter Monks\n;\n; Licensed under the Apache License, Version 2.",
"end": 32,
"score": 0.99953693151474,
"start": 21,
"tag": "NAME",
"value": "Peter Monks"
}
] | src/tools_licenses/asf.clj | jellelicht/tools-licenses | 0 | ;
; 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... | 52295 | ;
; 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": "\n(deftest test-match-based-on-regexp\n (let [key \"kubernetes\"\n regexp-name :compute-cluster-regex\n ",
"end": 782,
"score": 0.9540941715240479,
"start": 772,
"tag": "KEY",
"value": "kubernetes"
}
] | scheduler/test/cook/test/regexp_tools.clj | CGe0516/Cook | 345 | ;;
;; 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... | 27445 | ;;
;; 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": ";; Copyright 2014-2020 King\n;; Copyright 2009-2014 Ragnar Svensson, Christian Murray\n;; Licensed under the Defold Li",
"end": 111,
"score": 0.9998045563697815,
"start": 96,
"tag": "NAME",
"value": "Ragnar Svensson"
},
{
"context": "-2020 King\n;; Copyright 2009-2014 R... | editor/src/clj/editor/scene_selection.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... | 93980 | ;; 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": "sequence of non-whitespace words.\n(re-seq #\"\\w+\" \"mary had a little lamb\")\n\n; (apply str ...) can be use",
"end": 173,
"score": 0.8715393543243408,
"start": 169,
"tag": "NAME",
"value": "mary"
}
] | src/solutions/37_regex.clj | eliben/4clojure-solutions | 1 | (ns solutions.37-regex)
; re-seq provides a sequence of successive matches, so the following splits the
; string to a sequence of non-whitespace words.
(re-seq #"\w+" "mary had a little lamb")
; (apply str ...) can be used to fuse the matches into a single string.
(apply str (re-seq #"[A-Z]+" "bA1B3Ce "))
| 103825 | (ns solutions.37-regex)
; re-seq provides a sequence of successive matches, so the following splits the
; string to a sequence of non-whitespace words.
(re-seq #"\w+" "<NAME> had a little lamb")
; (apply str ...) can be used to fuse the matches into a single string.
(apply str (re-seq #"[A-Z]+" "bA1B3Ce "))
| true | (ns solutions.37-regex)
; re-seq provides a sequence of successive matches, so the following splits the
; string to a sequence of non-whitespace words.
(re-seq #"\w+" "PI:NAME:<NAME>END_PI had a little lamb")
; (apply str ...) can be used to fuse the matches into a single string.
(apply str (re-seq #"[A-Z]+" "bA1B3Ce... |
[
{
"context": "retary/\") (:name x)))\n\n(def secretaryMap { \n\t:name fullname\n\t:occupation occupation\n\t:ministry ministry\n\t:fro",
"end": 329,
"score": 0.8900133371353149,
"start": 321,
"tag": "NAME",
"value": "fullname"
},
{
"context": "\n(defmethod convert :secretary [x type]... | src/clojsesame/integration/secretary.clj | hotlib/datanest2rdf | 0 | (ns clojsesame.integration.secretary
(:require
[clojsesame.vocabulary :refer :all]
[clojsesame.sesame :refer :all]))
(def secretaryInfo {:filename "dumps/statni_tajomnici-dump.csv" :type :secretary})
(defn- secretaryURI [x]
(createURI (str basicNamespace "/secretary/") (:name x)))
(def secretaryMap {
:name... | 120826 | (ns clojsesame.integration.secretary
(:require
[clojsesame.vocabulary :refer :all]
[clojsesame.sesame :refer :all]))
(def secretaryInfo {:filename "dumps/statni_tajomnici-dump.csv" :type :secretary})
(defn- secretaryURI [x]
(createURI (str basicNamespace "/secretary/") (:name x)))
(def secretaryMap {
:name... | true | (ns clojsesame.integration.secretary
(:require
[clojsesame.vocabulary :refer :all]
[clojsesame.sesame :refer :all]))
(def secretaryInfo {:filename "dumps/statni_tajomnici-dump.csv" :type :secretary})
(defn- secretaryURI [x]
(createURI (str basicNamespace "/secretary/") (:name x)))
(def secretaryMap {
:name... |
[
{
"context": "tion\"\n :name \"Test Location\"\n :a",
"end": 4599,
"score": 0.684446394443512,
"start": 4595,
"tag": "NAME",
"value": "Test"
}
] | test/cljs/early_vote_site/early_vote_site_form/events_test.cljs | votinginfoproject/Metis | 11 | (ns early-vote-site.early-vote-site-form.events-test
(:require [cljs.test :refer-macros [deftest is testing]]
[clojure.string :as str]
[early-vote-site.early-vote-site-form.events :as events]))
(deftest form-update-test
(testing "updates the form state for the given field"
(let [db-befo... | 39315 | (ns early-vote-site.early-vote-site-form.events-test
(:require [cljs.test :refer-macros [deftest is testing]]
[clojure.string :as str]
[early-vote-site.early-vote-site-form.events :as events]))
(deftest form-update-test
(testing "updates the form state for the given field"
(let [db-befo... | true | (ns early-vote-site.early-vote-site-form.events-test
(:require [cljs.test :refer-macros [deftest is testing]]
[clojure.string :as str]
[early-vote-site.early-vote-site-form.events :as events]))
(deftest form-update-test
(testing "updates the form state for the given field"
(let [db-befo... |
[
{
"context": "pired by factory_girl\"\n :url \"https://github.com/FundingCircle/factory-time\"\n :license {:name \"BSD 3-clause\"\n ",
"end": 133,
"score": 0.9995173811912537,
"start": 120,
"tag": "USERNAME",
"value": "FundingCircle"
},
{
"context": ":env/clojars_user]\n ... | project.clj | FundingCircle/factory-time | 13 | (defproject factory-time "0.1.2"
:description "A Clojure library inspired by factory_girl"
:url "https://github.com/FundingCircle/factory-time"
:license {:name "BSD 3-clause"
:url "http://opensource.org/licenses/BSD-3-Clause"}
:dependencies [[org.clojure/clojure "1.8.0"]]
:profiles {:dev {:depende... | 21545 | (defproject factory-time "0.1.2"
:description "A Clojure library inspired by factory_girl"
:url "https://github.com/FundingCircle/factory-time"
:license {:name "BSD 3-clause"
:url "http://opensource.org/licenses/BSD-3-Clause"}
:dependencies [[org.clojure/clojure "1.8.0"]]
:profiles {:dev {:depende... | true | (defproject factory-time "0.1.2"
:description "A Clojure library inspired by factory_girl"
:url "https://github.com/FundingCircle/factory-time"
:license {:name "BSD 3-clause"
:url "http://opensource.org/licenses/BSD-3-Clause"}
:dependencies [[org.clojure/clojure "1.8.0"]]
:profiles {:dev {:depende... |
[
{
"context": ";; Copyright (c) 2015-2016 Andrey Antukh <niwi@niwi.nz>\n;; All rights reserved.\n;;\n;; Redi",
"end": 40,
"score": 0.9998828768730164,
"start": 27,
"tag": "NAME",
"value": "Andrey Antukh"
},
{
"context": ";; Copyright (c) 2015-2016 Andrey Antukh <niwi@niwi.nz>\n;; All ... | src/clojure/catacumba/impl/executor.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,... | 43979 | ;; 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": "t quantity])\n\n(def suppliers\n #{(Supplier. \"S1\" \"Smith\" 20 \"London\")\n (Supplier. \"S2\" \"Jones\" 10 \"Par",
"end": 264,
"score": 0.9996205568313599,
"start": 259,
"tag": "NAME",
"value": "Smith"
},
{
"context": "r. \"S1\" \"Smith\" 20 \"London\")\n (Su... | src/data/sets.cljc | priyatam/thinking-clojurescript | 4 | (ns data.sets
(:require [clojure.set :as set]))
(def a-set #{"one" "two"})
(defrecord Supplier [number name status city])
(defrecord Part [number name colour weight city])
(defrecord Shipment [supplier part quantity])
(def suppliers
#{(Supplier. "S1" "Smith" 20 "London")
(Supplier. "S2" "Jones" 10 "Paris")
... | 14653 | (ns data.sets
(:require [clojure.set :as set]))
(def a-set #{"one" "two"})
(defrecord Supplier [number name status city])
(defrecord Part [number name colour weight city])
(defrecord Shipment [supplier part quantity])
(def suppliers
#{(Supplier. "S1" "<NAME>" 20 "London")
(Supplier. "S2" "<NAME>" 10 "Paris")... | true | (ns data.sets
(:require [clojure.set :as set]))
(def a-set #{"one" "two"})
(defrecord Supplier [number name status city])
(defrecord Part [number name colour weight city])
(defrecord Shipment [supplier part quantity])
(def suppliers
#{(Supplier. "S1" "PI:NAME:<NAME>END_PI" 20 "London")
(Supplier. "S2" "PI:NA... |
[
{
"context": " limitations under the License.\n;\n\n(ns ^{:author \"Hunter Hutchinson, hunter.hutchinson@gmail.com\"}\n com.palletops.jc",
"end": 818,
"score": 0.9998704791069031,
"start": 801,
"tag": "NAME",
"value": "Hunter Hutchinson"
},
{
"context": " the License.\n;\n\n(ns ^{:a... | src/com/palletops/jclouds/ec2/ami2.clj | pallet/clj-jclouds | 5 | ;
; 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 us... | 89692 | ;
; 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 us... | 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 us... |
[
{
"context": " [clojure.string :as s]))\n\n(def sendgrid-api-key \"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\")\n(def sendgrid-api-url \"https://api.sendgrid.com",
"end": 601,
"score": 0.9997792840003967,
"start": 532,
"tag": "KEY",
"value": "SG.TVXrPx8vREyG5VBBWp... | src/clj/com/vetd/app/email_client.clj | jaydeesimon/vetd-app | 98 | (ns com.vetd.app.email-client
(:require [com.vetd.app.common :as com]
[com.vetd.app.util :as ut]
[com.vetd.app.env :as env]
[com.vetd.app.db :as db]
[com.vetd.app.hasura :as ha]
[com.vetd.app.links :as l]
[taoensso.timbre :as log]
... | 2066 | (ns com.vetd.app.email-client
(:require [com.vetd.app.common :as com]
[com.vetd.app.util :as ut]
[com.vetd.app.env :as env]
[com.vetd.app.db :as db]
[com.vetd.app.hasura :as ha]
[com.vetd.app.links :as l]
[taoensso.timbre :as log]
... | true | (ns com.vetd.app.email-client
(:require [com.vetd.app.common :as com]
[com.vetd.app.util :as ut]
[com.vetd.app.env :as env]
[com.vetd.app.db :as db]
[com.vetd.app.hasura :as ha]
[com.vetd.app.links :as l]
[taoensso.timbre :as log]
... |
[
{
"context": ";; Copyright (c) 2021 Thomas J. Otterson\n;; \n;; This software is released under the MIT Li",
"end": 40,
"score": 0.9996756315231323,
"start": 22,
"tag": "NAME",
"value": "Thomas J. Otterson"
}
] | src/barandis/euler/p9.clj | Barandis/euler-clojure | 0 | ;; Copyright (c) 2021 Thomas J. Otterson
;;
;; This software is released under the MIT License.
;; https://opensource.org/licenses/MIT
;; Solves Project Euler problem 9:
;;
;; A Pythagorean triplet is a set of three natural numbers, a < b < c, for which
;;
;; a^2 + b^2 = c^2
;;
;; For example... | 119626 | ;; Copyright (c) 2021 <NAME>
;;
;; This software is released under the MIT License.
;; https://opensource.org/licenses/MIT
;; Solves Project Euler problem 9:
;;
;; A Pythagorean triplet is a set of three natural numbers, a < b < c, for which
;;
;; a^2 + b^2 = c^2
;;
;; For example, 3^2 + 4^2 ... | true | ;; Copyright (c) 2021 PI:NAME:<NAME>END_PI
;;
;; This software is released under the MIT License.
;; https://opensource.org/licenses/MIT
;; Solves Project Euler problem 9:
;;
;; A Pythagorean triplet is a set of three natural numbers, a < b < c, for which
;;
;; a^2 + b^2 = c^2
;;
;; For examp... |
[
{
"context": "or state [:alert-success])\n diff-key-str {:referral_gallons \"Referral Gallons\"}\n diff-msg",
"end": 6117,
"score": 0.8078886270523071,
"start": 6114,
"tag": "KEY",
"value": "ref"
},
{
"context": " [:alert-success])\n diff-key-str {:referral_gallo... | src/dashboard_cljs/users.cljs | Purple-Services/dashboard-cljs | 6 | (ns dashboard-cljs.users
(:require [reagent.core :as r]
[cljs.core.async :refer [put! sub chan]]
[dashboard-cljs.cookies :as cookies]
[dashboard-cljs.datastore :as datastore]
[dashboard-cljs.forms :refer [entity-save retrieve-entity
... | 112934 | (ns dashboard-cljs.users
(:require [reagent.core :as r]
[cljs.core.async :refer [put! sub chan]]
[dashboard-cljs.cookies :as cookies]
[dashboard-cljs.datastore :as datastore]
[dashboard-cljs.forms :refer [entity-save retrieve-entity
... | true | (ns dashboard-cljs.users
(:require [reagent.core :as r]
[cljs.core.async :refer [put! sub chan]]
[dashboard-cljs.cookies :as cookies]
[dashboard-cljs.datastore :as datastore]
[dashboard-cljs.forms :refer [entity-save retrieve-entity
... |
[
{
"context": "{ :doc \"Loading data into Riak\"\n :author \"Istvan Szukacs\" }\n riak-loader.core\n (:require \n [clojure.",
"end": 674,
"score": 0.9998978972434998,
"start": 660,
"tag": "NAME",
"value": "Istvan Szukacs"
}
] | src/riak_loader/core.clj | StreamBright/riak-loader | 0 | ;; Copyright 2015 StreamBright LLC and contributors
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;; http://www.apache.org/licenses/LICENSE-2.0
;; Unless required by applicable law ... | 27527 | ;; Copyright 2015 StreamBright LLC and contributors
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;; http://www.apache.org/licenses/LICENSE-2.0
;; Unless required by applicable law ... | true | ;; Copyright 2015 StreamBright LLC and contributors
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;; http://www.apache.org/licenses/LICENSE-2.0
;; Unless required by applicable law ... |
[
{
"context": ";; Copyright 2014-2020 King\n;; Copyright 2009-2014 Ragnar Svensson, Christian Murray\n;; Licensed under the Defold Li",
"end": 111,
"score": 0.9998080730438232,
"start": 96,
"tag": "NAME",
"value": "Ragnar Svensson"
},
{
"context": "-2020 King\n;; Copyright 2009-2014 R... | editor/src/clj/editor/properties_view.clj | cmarincia/defold | 0 | ;; Copyright 2020-2022 The Defold Foundation
;; Copyright 2014-2020 King
;; Copyright 2009-2014 Ragnar Svensson, Christian Murray
;; Licensed under the Defold License version 1.0 (the "License"); you may not use
;; this file except in compliance with the License.
;;
;; You may obtain a copy of the License, together wi... | 102901 | ;; 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": "testing \"atom\"\n (let [resource (atom {:name \"Frank\"})\n handler (yada resource)\n ",
"end": 1878,
"score": 0.7850786447525024,
"start": 1873,
"tag": "NAME",
"value": "Frank"
}
] | test/yada/put_resource_test.clj | danielcompton/yada | 0 | ;; Copyright © 2015, JUXT LTD.
(ns yada.put-resource-test
(:require
[byte-streams :as b]
[clojure.test :refer :all]
[ring.mock.request :refer [request]]
[clojure.java.io :as io]
[manifold.stream :as s]
[yada.test-util :refer [to-string]]
[yada.handler :refer [handler]]
[yada.resource :refer [... | 44428 | ;; Copyright © 2015, JUXT LTD.
(ns yada.put-resource-test
(:require
[byte-streams :as b]
[clojure.test :refer :all]
[ring.mock.request :refer [request]]
[clojure.java.io :as io]
[manifold.stream :as s]
[yada.test-util :refer [to-string]]
[yada.handler :refer [handler]]
[yada.resource :refer [... | true | ;; Copyright © 2015, JUXT LTD.
(ns yada.put-resource-test
(:require
[byte-streams :as b]
[clojure.test :refer :all]
[ring.mock.request :refer [request]]
[clojure.java.io :as io]
[manifold.stream :as s]
[yada.test-util :refer [to-string]]
[yada.handler :refer [handler]]
[yada.resource :refer [... |
[
{
"context": " config {:marta-api-key (or (env :marta-api-key) \"475ad2ba-5928-4063-9d00-ae06fbb02f3c\")\n :marta-api-uri (or (env :marta-api",
"end": 166,
"score": 0.9997063279151917,
"start": 130,
"tag": "KEY",
"value": "475ad2ba-5928-4063-9d00-ae06fbb02f3c"
}
] | src/clojure/itg/clj_marta/common/config.clj | csmith-cb/clj-marta | 1 | (ns itg.clj-marta.common.config
(:require [environ.core :refer [env]]))
(def config {:marta-api-key (or (env :marta-api-key) "475ad2ba-5928-4063-9d00-ae06fbb02f3c")
:marta-api-uri (or (env :marta-api-uri) "http://developer.itsmarta.com")})
| 121542 | (ns itg.clj-marta.common.config
(:require [environ.core :refer [env]]))
(def config {:marta-api-key (or (env :marta-api-key) "<KEY>")
:marta-api-uri (or (env :marta-api-uri) "http://developer.itsmarta.com")})
| true | (ns itg.clj-marta.common.config
(:require [environ.core :refer [env]]))
(def config {:marta-api-key (or (env :marta-api-key) "PI:KEY:<KEY>END_PI")
:marta-api-uri (or (env :marta-api-uri) "http://developer.itsmarta.com")})
|
[
{
"context": "f drugs, clearances, and effects\"\n [{:drug-name \"Visomorpain\"\n :clearance \"IR\"\n :desc \"Little Black Frie",
"end": 431,
"score": 0.6694930195808411,
"start": 420,
"tag": "NAME",
"value": "Visomorpain"
},
{
"context": "ulls pain and makes user happy.\"}\n ... | src/hphelper/frontend/reference.cljs | lsenjov/hphelper | 2 | (ns hphelper.frontend.reference
"Contains a component for giving players information"
(:require [taoensso.timbre :as log]
[reagent.core :as reagent :refer [atom]]
[ajax.core :refer [GET POST] :as ajax]
[hphelper.frontend.shared :refer [wrap-context add-button-size] :as shared]
... | 3607 | (ns hphelper.frontend.reference
"Contains a component for giving players information"
(:require [taoensso.timbre :as log]
[reagent.core :as reagent :refer [atom]]
[ajax.core :refer [GET POST] :as ajax]
[hphelper.frontend.shared :refer [wrap-context add-button-size] :as shared]
... | true | (ns hphelper.frontend.reference
"Contains a component for giving players information"
(:require [taoensso.timbre :as log]
[reagent.core :as reagent :refer [atom]]
[ajax.core :refer [GET POST] :as ajax]
[hphelper.frontend.shared :refer [wrap-context add-button-size] :as shared]
... |
[
{
"context": "(comment \n re-core, Copyright 2012 Ronen Narkis, narkisr.com\n Licensed under the Apache License,",
"end": 48,
"score": 0.9998855590820312,
"start": 36,
"tag": "NAME",
"value": "Ronen Narkis"
},
{
"context": "ment \n re-core, Copyright 2012 Ronen Narkis, narkisr.com... | src/aws/validations.clj | celestial-ops/core | 1 | (comment
re-core, Copyright 2012 Ronen Narkis, narkisr.com
Licensed under the Apache License,
Version 2.0 (the "License") you may not use this file except in compliance with the License.
You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | 88572 | (comment
re-core, Copyright 2012 <NAME>, nark<EMAIL>.<EMAIL>
Licensed under the Apache License,
Version 2.0 (the "License") you may not use this file except in compliance with the License.
You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or... | true | (comment
re-core, Copyright 2012 PI:NAME:<NAME>END_PI, narkPI:EMAIL:<EMAIL>END_PI.PI:EMAIL:<EMAIL>END_PI
Licensed under the Apache License,
Version 2.0 (the "License") you may not use this file except in compliance with the License.
You may obtain a copy of the License at http://www.apache.org/licenses/LICENS... |
[
{
"context": ";;\n;; Author:: Adam Jacob (<adam@opscode.com>)\n;; Author:: Christopher Brow",
"end": 25,
"score": 0.9998517036437988,
"start": 15,
"tag": "NAME",
"value": "Adam Jacob"
},
{
"context": ";;\n;; Author:: Adam Jacob (<adam@opscode.com>)\n;; Author:: Christopher Brown (<cb... | config/software/ree.clj | racker/omnibus | 2 | ;;
;; Author:: Adam Jacob (<adam@opscode.com>)
;; Author:: Christopher Brown (<cb@opscode.com>)
;; Copyright:: Copyright (c) 2010 Opscode, Inc.
;; License:: Apache License, Version 2.0
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the Licens... | 107171 | ;;
;; Author:: <NAME> (<<EMAIL>>)
;; Author:: <NAME> (<<EMAIL>>)
;; Copyright:: Copyright (c) 2010 Opscode, Inc.
;; License:: Apache License, Version 2.0
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of ... | true | ;;
;; Author:: PI:NAME:<NAME>END_PI (<PI:EMAIL:<EMAIL>END_PI>)
;; Author:: PI:NAME:<NAME>END_PI (<PI:EMAIL:<EMAIL>END_PI>)
;; Copyright:: Copyright (c) 2010 Opscode, Inc.
;; License:: Apache License, Version 2.0
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in... |
[
{
"context": "S3MMCZSAQBMJZHWYJSHLGU4B5O1BH\"\n :client-secret \"DPSNOMYFT2WETDZBIQTHAUW352C0CWJ5S2POQH1UHK2RZVES\"\n :callback {:domain \"http://localhost:300",
"end": 899,
"score": 0.9997133016586304,
"start": 851,
"tag": "KEY",
"value": "DPSNOMYFT2WETDZBIQTHAUW352C0CWJ5S2POQH1UHK... | src/foursquare_1self/handler.clj | anildigital/foursquare-1self | 0 | (ns foursquare-1self.handler
(:require [compojure.core :refer :all]
[compojure.handler :as handler]
[compojure.route :as route]
[cemerick.friend :as friend]
[clj-http.client :as client]
[friend-oauth2.workflow :as oauth2]
[friend-oauth2.util :ref... | 12262 | (ns foursquare-1self.handler
(:require [compojure.core :refer :all]
[compojure.handler :as handler]
[compojure.route :as route]
[cemerick.friend :as friend]
[clj-http.client :as client]
[friend-oauth2.workflow :as oauth2]
[friend-oauth2.util :ref... | true | (ns foursquare-1self.handler
(:require [compojure.core :refer :all]
[compojure.handler :as handler]
[compojure.route :as route]
[cemerick.friend :as friend]
[clj-http.client :as client]
[friend-oauth2.workflow :as oauth2]
[friend-oauth2.util :ref... |
[
{
"context": "(ns ^{:author \"Bruno Bonacci (@BrunoBonacci)\" :no-doc true}\n com.brunobonac",
"end": 28,
"score": 0.9998553991317749,
"start": 15,
"tag": "NAME",
"value": "Bruno Bonacci"
},
{
"context": "(ns ^{:author \"Bruno Bonacci (@BrunoBonacci)\" :no-doc true}\n com.bruno... | 1config-core/src/com/brunobonacci/oneconfig/backends/file1.clj | obohrer/1config | 1 | (ns ^{:author "Bruno Bonacci (@BrunoBonacci)" :no-doc true}
com.brunobonacci.oneconfig.backends.file1
(:refer-clojure :exclude [find load list])
(:require [com.brunobonacci.oneconfig.backend :refer :all]
[com.brunobonacci.oneconfig.backends.in-memory
:refer [in-memory-config-backend Tes... | 15452 | (ns ^{:author "<NAME> (@BrunoBonacci)" :no-doc true}
com.brunobonacci.oneconfig.backends.file1
(:refer-clojure :exclude [find load list])
(:require [com.brunobonacci.oneconfig.backend :refer :all]
[com.brunobonacci.oneconfig.backends.in-memory
:refer [in-memory-config-backend TestStore ... | true | (ns ^{:author "PI:NAME:<NAME>END_PI (@BrunoBonacci)" :no-doc true}
com.brunobonacci.oneconfig.backends.file1
(:refer-clojure :exclude [find load list])
(:require [com.brunobonacci.oneconfig.backend :refer :all]
[com.brunobonacci.oneconfig.backends.in-memory
:refer [in-memory-config-back... |
[
{
"context": "ng and executions\n\n(def ac1\n {:no \"cl-a1\" :name \"john doe\" :type ::trading})\n \n(def ac2\n {:no \"cl-a2\" :na",
"end": 91,
"score": 0.9997312426567078,
"start": 83,
"tag": "NAME",
"value": "john doe"
},
{
"context": "ype ::trading})\n \n(def ac2\n {:no \"cl... | data/train/clojure/8f0825565331524348835301f7befea56ec5bee3trade.clj | harshp8l/deep-learning-lang-detection | 84 | ; sample accounts
; use for trading and executions
(def ac1
{:no "cl-a1" :name "john doe" :type ::trading})
(def ac2
{:no "cl-a2" :name "j p morgan" :type ::trading})
; sample executions
; used for generating client trade
(def ex1
{:ref-no "er-123" :account ac1 :instrument "eq-123" :value 1000})
... | 113641 | ; sample accounts
; use for trading and executions
(def ac1
{:no "cl-a1" :name "<NAME>" :type ::trading})
(def ac2
{:no "cl-a2" :name "<NAME>" :type ::trading})
; sample executions
; used for generating client trade
(def ex1
{:ref-no "er-123" :account ac1 :instrument "eq-123" :value 1000})
(defn ... | true | ; sample accounts
; use for trading and executions
(def ac1
{:no "cl-a1" :name "PI:NAME:<NAME>END_PI" :type ::trading})
(def ac2
{:no "cl-a2" :name "PI:NAME:<NAME>END_PI" :type ::trading})
; sample executions
; used for generating client trade
(def ex1
{:ref-no "er-123" :account ac1 :instrument "eq-123" :... |
[
{
"context": "; Copyright (c) Rich Hickey. All rights reserved.\n; The use and distributio",
"end": 29,
"score": 0.9998714923858643,
"start": 18,
"tag": "NAME",
"value": "Rich Hickey"
},
{
"context": "ps://github.com/trptcolin/reply/\"\n :author \"Chas Emerick\"}\n clojure... | server/target/clojure/tools/nrepl/cmdline.clj | OctavioBR/healthcheck | 0 | ; Copyright (c) Rich Hickey. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
; which can be found in the file epl-v10.html at the root of this distribution.
; By using this software in any ... | 80827 | ; Copyright (c) <NAME>. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
; which can be found in the file epl-v10.html at the root of this distribution.
; By using this software in any fashi... | true | ; Copyright (c) PI:NAME:<NAME>END_PI. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
; which can be found in the file epl-v10.html at the root of this distribution.
; By using this softwar... |
[
{
"context": "did: \" message))\n\n`(blarg# blarg#)\n\n`(let [name# \"Larry Potter\"] name#)\n\n\n(eval `(+ ~@(list 1 2 3)))\n\n(range 0 5",
"end": 3059,
"score": 0.9994469285011292,
"start": 3047,
"tag": "NAME",
"value": "Larry Potter"
},
{
"context": "+ ~@alist)))\n\n(summation (ra... | clojure/ex4.clj | defunSM/code | 0 | (ns ex4.core)
(defmacro backwards
[form]
(reverse form))
(backwards (" backwards" " am" "I" str))
(def addition-list (list + 1 2))
(eval addition-list)
(eval (concat addition-list [10]))
(eval (list 'def 'lucky-number (concat addition-list [10])))
lucky-number
(str "To understand what recursion is," " you m... | 89321 | (ns ex4.core)
(defmacro backwards
[form]
(reverse form))
(backwards (" backwards" " am" "I" str))
(def addition-list (list + 1 2))
(eval addition-list)
(eval (concat addition-list [10]))
(eval (list 'def 'lucky-number (concat addition-list [10])))
lucky-number
(str "To understand what recursion is," " you m... | true | (ns ex4.core)
(defmacro backwards
[form]
(reverse form))
(backwards (" backwards" " am" "I" str))
(def addition-list (list + 1 2))
(eval addition-list)
(eval (concat addition-list [10]))
(eval (list 'def 'lucky-number (concat addition-list [10])))
lucky-number
(str "To understand what recursion is," " you m... |
[
{
"context": "bar\")\n(def LOGIN-CHALLENGE \"foobar2\")\n(def EMAIL \"foo@bar.com\")\n\n(deftest test-prepare-challenge\n (with-redefs",
"end": 408,
"score": 0.9998787641525269,
"start": 397,
"tag": "EMAIL",
"value": "foo@bar.com"
},
{
"context": "ENGE)))))\n\n(def register-payload\... | test/cljwebauthn/core_test.clj | terop/cljwebauthn | 0 | (ns cljwebauthn.core-test
(:require [clojure.test :refer :all]
[cljwebauthn.core :refer :all]
[cljwebauthn.b64 :as b64]))
(def site-properties
{:site-id "grison.me",
:site-name "Stuff and Thoughts about IT Stuff",
:protocol "https",
:port 443,
:host "grison.me"})
(... | 65471 | (ns cljwebauthn.core-test
(:require [clojure.test :refer :all]
[cljwebauthn.core :refer :all]
[cljwebauthn.b64 :as b64]))
(def site-properties
{:site-id "grison.me",
:site-name "Stuff and Thoughts about IT Stuff",
:protocol "https",
:port 443,
:host "grison.me"})
(... | true | (ns cljwebauthn.core-test
(:require [clojure.test :refer :all]
[cljwebauthn.core :refer :all]
[cljwebauthn.b64 :as b64]))
(def site-properties
{:site-id "grison.me",
:site-name "Stuff and Thoughts about IT Stuff",
:protocol "https",
:port 443,
:host "grison.me"})
(... |
[
{
"context": "))\n\n(deftest harvest-granules\n (let [format-key :echo10\n _ (dev-system-util/freeze-time! \"2010-01-",
"end": 714,
"score": 0.8482127785682678,
"start": 708,
"tag": "KEY",
"value": "echo10"
}
] | system-int-test/test/cmr/system_int_test/search/harvesting_test.clj | mschmele/Common-Metadata-Repository | 0 | (ns cmr.system-int-test.search.harvesting-test
"Tests for using the scroll parameter to harvest metadata"
(:require
[clojure.test :refer :all]
[cmr.common.util :as util :refer [are3]]
[cmr.system-int-test.data2.collection :as data2-collection]
[cmr.system-int-test.data2.core :as data2-core]
[cmr.syst... | 90019 | (ns cmr.system-int-test.search.harvesting-test
"Tests for using the scroll parameter to harvest metadata"
(:require
[clojure.test :refer :all]
[cmr.common.util :as util :refer [are3]]
[cmr.system-int-test.data2.collection :as data2-collection]
[cmr.system-int-test.data2.core :as data2-core]
[cmr.syst... | true | (ns cmr.system-int-test.search.harvesting-test
"Tests for using the scroll parameter to harvest metadata"
(:require
[clojure.test :refer :all]
[cmr.common.util :as util :refer [are3]]
[cmr.system-int-test.data2.collection :as data2-collection]
[cmr.system-int-test.data2.core :as data2-core]
[cmr.syst... |
[
{
"context": ";\n; Copyright © 2020 Peter Monks\n;\n; Licensed under the Apache License, Version 2.",
"end": 32,
"score": 0.9995651841163635,
"start": 21,
"tag": "NAME",
"value": "Peter Monks"
},
{
"context": "vacy policy is available here](https://github.com/pmonks/futbot/blob/main/... | src/futbot/chat.clj | pmonks/futbot | 3 | ;
; Copyright © 2020 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... | 66996 | ;
; Copyright © 2020 <NAME>
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writing, s... | true | ;
; Copyright © 2020 PI:NAME:<NAME>END_PI
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to... |
[
{
"context": ";; Copyright (c) 2015 <Diego Souza>\n\n;; Permission is hereby granted, free of charge",
"end": 34,
"score": 0.9998772740364075,
"start": 23,
"tag": "NAME",
"value": "Diego Souza"
}
] | src/storaged/src/leela/storaged/network/zhelpers.clj | locaweb/leela | 22 | ;; Copyright (c) 2015 <Diego Souza>
;; 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... | 111860 | ;; Copyright (c) 2015 <<NAME>>
;; Permission is hereby granted, free of charge, to any person
;; obtaining a copy of this software and associated documentation
;; files (the "Software"), to deal in the Software without
;; restriction, including without limitation the rights to use, copy,
;; modify, merge, publish, dis... | true | ;; Copyright (c) 2015 <PI:NAME:<NAME>END_PI>
;; Permission is hereby granted, free of charge, to any person
;; obtaining a copy of this software and associated documentation
;; files (the "Software"), to deal in the Software without
;; restriction, including without limitation the rights to use, copy,
;; modify, merge... |
[
{
"context": "oeu\" (.-length payload))\n (let [{pub-B :pub node-id :id sec-b :sec} (-> config :auth :herd-id) ;; FIX",
"end": 1237,
"score": 0.5092280507087708,
"start": 1235,
"tag": "KEY",
"value": "id"
}
] | src/herd_node/sp.cljs | herd1/herd | 0 | (ns herd-node.sp
(:require [cljs.core :as cljs]
[cljs.nodejs :as node]
[cljs.core.async :refer [chan <! >! sub pub unsub close!] :as a]
[herd-node.parse :as conv]
[herd-node.dtls-comm :as dtls]
[herd-node.conn-mgr :as conn]
[herd-node.circ :as ci... | 42138 | (ns herd-node.sp
(:require [cljs.core :as cljs]
[cljs.nodejs :as node]
[cljs.core.async :refer [chan <! >! sub pub unsub close!] :as a]
[herd-node.parse :as conv]
[herd-node.dtls-comm :as dtls]
[herd-node.conn-mgr :as conn]
[herd-node.circ :as ci... | true | (ns herd-node.sp
(:require [cljs.core :as cljs]
[cljs.nodejs :as node]
[cljs.core.async :refer [chan <! >! sub pub unsub close!] :as a]
[herd-node.parse :as conv]
[herd-node.dtls-comm :as dtls]
[herd-node.conn-mgr :as conn]
[herd-node.circ :as ci... |
[
{
"context": "p {} \"Created by <a href=\\\"http://tiltontec.com\\\">Kenneth Tilton</a>.\")\n (p {} \"Inspired by <a href=\\\"http:/",
"end": 3255,
"score": 0.9998714327812195,
"start": 3241,
"tag": "NAME",
"value": "Kenneth Tilton"
}
] | cljs/matrix/src/todo/matrix.cljs | kennytilton/ConnectJS | 7 | (ns todo.matrix
(:require [cljs.pprint :as pp]
[clojure.string :as str]
[bide.core :as r]
[tiltontec.util.core :refer [xor now]]
[tiltontec.cell.base :refer [unbound ia-type *within-integrity*]]
[tiltontec.cell.core :refer-macros [c? c?n c?once] :refer [c-in... | 65810 | (ns todo.matrix
(:require [cljs.pprint :as pp]
[clojure.string :as str]
[bide.core :as r]
[tiltontec.util.core :refer [xor now]]
[tiltontec.cell.base :refer [unbound ia-type *within-integrity*]]
[tiltontec.cell.core :refer-macros [c? c?n c?once] :refer [c-in... | true | (ns todo.matrix
(:require [cljs.pprint :as pp]
[clojure.string :as str]
[bide.core :as r]
[tiltontec.util.core :refer [xor now]]
[tiltontec.cell.base :refer [unbound ia-type *within-integrity*]]
[tiltontec.cell.core :refer-macros [c? c?n c?once] :refer [c-in... |
[
{
"context": ";; Copyright 2014-2020 King\n;; Copyright 2009-2014 Ragnar Svensson, Christian Murray\n;; Licensed under the Defold Li",
"end": 111,
"score": 0.9998133778572083,
"start": 96,
"tag": "NAME",
"value": "Ragnar Svensson"
},
{
"context": "-2020 King\n;; Copyright 2009-2014 R... | editor/test/dynamo/integration/garbage_collection.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... | 55118 | ;; 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": "ensource.org/licenses/MIT\"}\n :signing {:gpg-key \"9DD8C3E9\"}\n :source-paths [\"src/main\"]\n :resource-paths ",
"end": 198,
"score": 0.9993780255317688,
"start": 190,
"tag": "KEY",
"value": "9DD8C3E9"
}
] | project.clj | tav10102/cljs-vanilla-react-example | 0 | (defproject cljs-vanilla-react-example "0.0.1"
:description "React & ClojureScript "
:license {:name "MIT"
:url "https://opensource.org/licenses/MIT"}
:signing {:gpg-key "9DD8C3E9"}
:source-paths ["src/main"]
:resource-paths ["resources"]
:plugins [[lein-ancient "0.6.15"]
[lein-shel... | 68769 | (defproject cljs-vanilla-react-example "0.0.1"
:description "React & ClojureScript "
:license {:name "MIT"
:url "https://opensource.org/licenses/MIT"}
:signing {:gpg-key "<KEY>"}
:source-paths ["src/main"]
:resource-paths ["resources"]
:plugins [[lein-ancient "0.6.15"]
[lein-shell "... | true | (defproject cljs-vanilla-react-example "0.0.1"
:description "React & ClojureScript "
:license {:name "MIT"
:url "https://opensource.org/licenses/MIT"}
:signing {:gpg-key "PI:KEY:<KEY>END_PI"}
:source-paths ["src/main"]
:resource-paths ["resources"]
:plugins [[lein-ancient "0.6.15"]
... |
[
{
"context": "(ns ^{:author \"Janos Erdos\"}\n erdos.match\n \"Small library for generating p",
"end": 26,
"score": 0.9998841285705566,
"start": 15,
"tag": "NAME",
"value": "Janos Erdos"
}
] | src/erdos/match.clj | erdos/erdos.match | 3 | (ns ^{:author "Janos Erdos"}
erdos.match
"Small library for generating pattern matching code."
(:require [clojure.walk])
(:gen-class))
(defn- reverse-series
"Reverse list of opcodes and change :?= to := or :=="
[series]
(:res
(reduce
(fn [acc [code & args]]
(if (= code :?=)
(if (cont... | 94251 | (ns ^{:author "<NAME>"}
erdos.match
"Small library for generating pattern matching code."
(:require [clojure.walk])
(:gen-class))
(defn- reverse-series
"Reverse list of opcodes and change :?= to := or :=="
[series]
(:res
(reduce
(fn [acc [code & args]]
(if (= code :?=)
(if (contains?... | true | (ns ^{:author "PI:NAME:<NAME>END_PI"}
erdos.match
"Small library for generating pattern matching code."
(:require [clojure.walk])
(:gen-class))
(defn- reverse-series
"Reverse list of opcodes and change :?= to := or :=="
[series]
(:res
(reduce
(fn [acc [code & args]]
(if (= code :?=)
... |
[
{
"context": "(ns ^{:doc \"Search button.\"\n :author \"Eric Weinstein <eric.q.weinstein@gmail.com>\"}\n cityshelf.compon",
"end": 57,
"score": 0.9998879432678223,
"start": 43,
"tag": "NAME",
"value": "Eric Weinstein"
},
{
"context": "c \"Search button.\"\n :author \"Eric ... | src/cityshelf/components/search_button.cljs | ericqweinstein/cityshelf | 0 | (ns ^{:doc "Search button."
:author "Eric Weinstein <eric.q.weinstein@gmail.com>"}
cityshelf.components.search-button
(:require [cityshelf.session :as session]))
(declare switch-class)
(defn search-button
"Creates a search button."
[query]
[:button
{:on-click query
:class "cs-search-btn activat... | 60807 | (ns ^{:doc "Search button."
:author "<NAME> <<EMAIL>>"}
cityshelf.components.search-button
(:require [cityshelf.session :as session]))
(declare switch-class)
(defn search-button
"Creates a search button."
[query]
[:button
{:on-click query
:class "cs-search-btn activated"}
[:i {:class (switch... | true | (ns ^{:doc "Search button."
:author "PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>"}
cityshelf.components.search-button
(:require [cityshelf.session :as session]))
(declare switch-class)
(defn search-button
"Creates a search button."
[query]
[:button
{:on-click query
:class "cs-search-btn activ... |
[
{
"context": "ard representation as an integer, based on Kevin Suffecool's specs:\n\n +--------+--------+--------+--",
"end": 866,
"score": 0.5216154456138611,
"start": 863,
"tag": "NAME",
"value": "uff"
}
] | src/poker_hand_evaluator/core.clj | tomasmacia/tp-clojure-tdl | 1 | (ns poker-hand-evaluator.core
(:use [poker-hand-evaluator.lookup-tables])
(:use [clojure.math.combinatorics])
(:use [clojure.set]))
(def suit-details
"Available suits and the respective bit pattern to be used in the card format"
{"♠" 0x1000, "♥" 0x2000, "♦" 0x4000, "♣" 0x8000})
(def face-details
"Availabl... | 88798 | (ns poker-hand-evaluator.core
(:use [poker-hand-evaluator.lookup-tables])
(:use [clojure.math.combinatorics])
(:use [clojure.set]))
(def suit-details
"Available suits and the respective bit pattern to be used in the card format"
{"♠" 0x1000, "♥" 0x2000, "♦" 0x4000, "♣" 0x8000})
(def face-details
"Availabl... | true | (ns poker-hand-evaluator.core
(:use [poker-hand-evaluator.lookup-tables])
(:use [clojure.math.combinatorics])
(:use [clojure.set]))
(def suit-details
"Available suits and the respective bit pattern to be used in the card format"
{"♠" 0x1000, "♥" 0x2000, "♦" 0x4000, "♣" 0x8000})
(def face-details
"Availabl... |
[
{
"context": "nation\"])\n (default-challenger [\"Fall Guy\" \"Kati Jones\"]))\n (take-credits state :contest",
"end": 19062,
"score": 0.6949031352996826,
"start": 19059,
"tag": "NAME",
"value": "Guy"
},
{
"context": "])\n (default-challenger [\"Fall Guy\... | test/clj/game_test/cards/agendas.clj | SylvanSign/cardnum | 0 | (ns game-test.cards.agendas
(:require [game.core :as core]
[game-test.core :refer :all]
[game-test.utils :refer :all]
[game-test.macros :refer :all]
[clojure.test :refer :all]))
(use-fixtures :once load-all-cards (partial reset-card-defs "agendas"))
(deftest ^{:card-t... | 93986 | (ns game-test.cards.agendas
(:require [game.core :as core]
[game-test.core :refer :all]
[game-test.utils :refer :all]
[game-test.macros :refer :all]
[clojure.test :refer :all]))
(use-fixtures :once load-all-cards (partial reset-card-defs "agendas"))
(deftest ^{:card-t... | true | (ns game-test.cards.agendas
(:require [game.core :as core]
[game-test.core :refer :all]
[game-test.utils :refer :all]
[game-test.macros :refer :all]
[clojure.test :refer :all]))
(use-fixtures :once load-all-cards (partial reset-card-defs "agendas"))
(deftest ^{:card-t... |
[
{
"context": " (:remote-addr req)\n \"81.43.193.199\") ;; Default IP, Spain\n ip (if (= ip \"127.",
"end": 5110,
"score": 0.9997122883796692,
"start": 5097,
"tag": "IP_ADDRESS",
"value": "81.43.193.199"
},
{
"context": ".199\") ;; Default IP, Spain\... | src/instant_website/stripe.clj | instantwebsite/core-api | 0 | (ns instant-website.stripe
(:require
[clojure.pprint :refer [pprint] :rename {pprint pp}]
[clojure.tools.logging :refer [log]]
[clojure.core.memoize :refer [fifo]]
;;
[org.httpkit.client :as http]
[cheshire.core :refer [parse-string generate-string]]
[paraman.core :refer [convert]]
[ia... | 64691 | (ns instant-website.stripe
(:require
[clojure.pprint :refer [pprint] :rename {pprint pp}]
[clojure.tools.logging :refer [log]]
[clojure.core.memoize :refer [fifo]]
;;
[org.httpkit.client :as http]
[cheshire.core :refer [parse-string generate-string]]
[paraman.core :refer [convert]]
[ia... | true | (ns instant-website.stripe
(:require
[clojure.pprint :refer [pprint] :rename {pprint pp}]
[clojure.tools.logging :refer [log]]
[clojure.core.memoize :refer [fifo]]
;;
[org.httpkit.client :as http]
[cheshire.core :refer [parse-string generate-string]]
[paraman.core :refer [convert]]
[ia... |
[
{
"context": "\n username \"guest\"\n password \"guest\"}}]\n (logging/info \"using rabbitmq api-endpoi",
"end": 3063,
"score": 0.9992074370384216,
"start": 3058,
"tag": "PASSWORD",
"value": "guest"
}
] | src/brainbot/nozzle/sys.clj | binarymind/es-nozzle | 1 | (ns brainbot.nozzle.sys
"system map creation and a bit of iniconfig utils"
(:require [brainbot.nozzle.worker :as worker]
[brainbot.nozzle.rmqstate :as rmqstate]
[brainbot.nozzle.misc :as misc]
[brainbot.nozzle.inihelper :as inihelper]
[brainbot.nozzle.async-helper :as... | 105293 | (ns brainbot.nozzle.sys
"system map creation and a bit of iniconfig utils"
(:require [brainbot.nozzle.worker :as worker]
[brainbot.nozzle.rmqstate :as rmqstate]
[brainbot.nozzle.misc :as misc]
[brainbot.nozzle.inihelper :as inihelper]
[brainbot.nozzle.async-helper :as... | true | (ns brainbot.nozzle.sys
"system map creation and a bit of iniconfig utils"
(:require [brainbot.nozzle.worker :as worker]
[brainbot.nozzle.rmqstate :as rmqstate]
[brainbot.nozzle.misc :as misc]
[brainbot.nozzle.inihelper :as inihelper]
[brainbot.nozzle.async-helper :as... |
[
{
"context": "ext-field {:required true :size 32 :class \"fld\"} \"username\")]]\n\n [:tr\n [:td {:class \"lbl\"} (f/label",
"end": 843,
"score": 0.9991322159767151,
"start": 835,
"tag": "USERNAME",
"value": "username"
},
{
"context": "ord-field {:required true :size 32 :cla... | src/certo/views/login.clj | bmds-researchsoftware/certo | 1 | (ns certo.views.login
(:require
[clojure.string :as str]
[hiccup.core :as h]
[hiccup.form :as f]
[ring.util.anti-forgery :as af]
[certo.views.common :as common]))
(defn login [title]
(common/page
title
[:br] [:br]
[:div {:class "ct"} (common/format-title title)]
(f/form-to
{:id... | 101114 | (ns certo.views.login
(:require
[clojure.string :as str]
[hiccup.core :as h]
[hiccup.form :as f]
[ring.util.anti-forgery :as af]
[certo.views.common :as common]))
(defn login [title]
(common/page
title
[:br] [:br]
[:div {:class "ct"} (common/format-title title)]
(f/form-to
{:id... | true | (ns certo.views.login
(:require
[clojure.string :as str]
[hiccup.core :as h]
[hiccup.form :as f]
[ring.util.anti-forgery :as af]
[certo.views.common :as common]))
(defn login [title]
(common/page
title
[:br] [:br]
[:div {:class "ct"} (common/format-title title)]
(f/form-to
{:id... |
[
{
"context": ";; Copyright (c) Andrew A. Raines\n;;\n;; Permission is hereby granted, free of charg",
"end": 33,
"score": 0.9998772740364075,
"start": 17,
"tag": "NAME",
"value": "Andrew A. Raines"
}
] | src/postal/sendmail.clj | poenneby/postal | 371 | ;; Copyright (c) Andrew A. Raines
;;
;; 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... | 47722 | ;; Copyright (c) <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, distribu... | true | ;; Copyright (c) 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, pub... |
[
{
"context": "minal :new))\n(def police (send-to Police :new \"Biggles\"))\n(send-to criminal :taunt police)\n\n(load-file \"",
"end": 1457,
"score": 0.7619592547416687,
"start": 1453,
"tag": "NAME",
"value": "gles"
}
] | func-prog/fp-oo/test/solutions/ts_message_class.clj | tannerwelsh/code-training | 0 | (ns solutions.ts-message-class
(:use midje.sweet))
(load-file "sources/consolidation.clj")
(load-file "solutions/pieces/message-class-1.clj")
(load-file "test/solutions/ruby-complete.clj")
(load-file "sources/message-class-exercises.clj")
(fact
(let [snooper (send-to Snooper :new)]
(send-to snooper :snoop ... | 70643 | (ns solutions.ts-message-class
(:use midje.sweet))
(load-file "sources/consolidation.clj")
(load-file "solutions/pieces/message-class-1.clj")
(load-file "test/solutions/ruby-complete.clj")
(load-file "sources/message-class-exercises.clj")
(fact
(let [snooper (send-to Snooper :new)]
(send-to snooper :snoop ... | true | (ns solutions.ts-message-class
(:use midje.sweet))
(load-file "sources/consolidation.clj")
(load-file "solutions/pieces/message-class-1.clj")
(load-file "test/solutions/ruby-complete.clj")
(load-file "sources/message-class-exercises.clj")
(fact
(let [snooper (send-to Snooper :new)]
(send-to snooper :snoop ... |
[
{
"context": "ltiValued true\n :termVectors true}\n\n {:name \"director\",\n :type \"text_lowcased\",\n :indexed true,\n ",
"end": 9060,
"score": 0.620918869972229,
"start": 9052,
"tag": "NAME",
"value": "director"
},
{
"context": " :stored true\n :termVectors true}\n\... | src/clj/corona_demo/data.clj | Stylitics/corona-demo | 3 | (ns corona-demo.data
(:require [clojure.data.json :as json]
[corona-demo.utils :as utils]))
;;; Movies
(def data-dir (str (System/getProperty "user.dir") "/resources/solr/tmdb/data/"))
(def csv-dir (str data-dir "csv/"))
(def movies-file "tmdb_5000_movies.csv")
(def credits-file "tmdb_5000_credits.cs... | 88826 | (ns corona-demo.data
(:require [clojure.data.json :as json]
[corona-demo.utils :as utils]))
;;; Movies
(def data-dir (str (System/getProperty "user.dir") "/resources/solr/tmdb/data/"))
(def csv-dir (str data-dir "csv/"))
(def movies-file "tmdb_5000_movies.csv")
(def credits-file "tmdb_5000_credits.cs... | true | (ns corona-demo.data
(:require [clojure.data.json :as json]
[corona-demo.utils :as utils]))
;;; Movies
(def data-dir (str (System/getProperty "user.dir") "/resources/solr/tmdb/data/"))
(def csv-dir (str data-dir "csv/"))
(def movies-file "tmdb_5000_movies.csv")
(def credits-file "tmdb_5000_credits.cs... |
[
{
"context": ";\n; Copyright 2019 Peter Monks\n;\n; Licensed under the Apache License, Version 2.",
"end": 30,
"score": 0.9996452331542969,
"start": 19,
"tag": "NAME",
"value": "Peter Monks"
}
] | repl-init.clj | pmonks/clojars-dependencies | 0 | ;
; Copyright 2019 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 writing... | 120868 | ;
; Copyright 2019 <NAME>
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writing, sof... | true | ;
; Copyright 2019 PI:NAME:<NAME>END_PI
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to i... |
[
{
"context": ";; Copyright 2014 Rich Hickey. All Rights Reserved.\n;;\n;; Licensed under the Ap",
"end": 30,
"score": 0.999795138835907,
"start": 19,
"tag": "NAME",
"value": "Rich Hickey"
}
] | src/Transit/sellars/transit/alpha.clj | jeremyrsellars/transit-csharp | 0 | ;; Copyright 2014 Rich Hickey. All Rights Reserved.
;;
;; 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 applica... | 74708 | ;; Copyright 2014 <NAME>. All Rights Reserved.
;;
;; 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 l... | true | ;; Copyright 2014 PI:NAME:<NAME>END_PI. All Rights Reserved.
;;
;; 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 b... |
[
{
"context": ";; Copyright 2015 Andrey Antukh <niwi@niwi.nz>\n;;\n;; Licensed under the Apache Li",
"end": 31,
"score": 0.9998859167098999,
"start": 18,
"tag": "NAME",
"value": "Andrey Antukh"
},
{
"context": ";; Copyright 2015 Andrey Antukh <niwi@niwi.nz>\n;;\n;; Licensed under the ... | src/continuo/postgresql/transaction.clj | niwinz/continuo | 1 | ;; Copyright 2015 Andrey Antukh <niwi@niwi.nz>
;;
;; 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 ... | 85321 | ;; Copyright 2015 <NAME> <<EMAIL>>
;;
;; Licensed under the Apache License, Version 2.0 (the "License")
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to... | true | ;; Copyright 2015 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
;;
;; Licensed under the Apache License, Version 2.0 (the "License")
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required b... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.