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": "t-token resp)]\n (client/post \"https://github.com/sesson\"\n {:form-params {:authenticity_toke",
"end": 445,
"score": 0.999419093132019,
"start": 439,
"tag": "USERNAME",
"value": "sesson"
},
{
"context": "mit \"Sign+in\"\n :l... | src/adventofcode2017/util.clj | wtneal/adventofcode2017 | 0 | (ns adventofcode2017.util
(:require [clj-http.client :as client]
[net.cgrand.enlive-html :as html]))
(defn get-token
[resp]
(-> (:body)
(html/snippet)
(html/select [[:input (html/attr= :name "authenticity_token")]])
(get-in [:attrs :value])))
(defn login
[user pass]
(let [resp ... | 76958 | (ns adventofcode2017.util
(:require [clj-http.client :as client]
[net.cgrand.enlive-html :as html]))
(defn get-token
[resp]
(-> (:body)
(html/snippet)
(html/select [[:input (html/attr= :name "authenticity_token")]])
(get-in [:attrs :value])))
(defn login
[user pass]
(let [resp ... | true | (ns adventofcode2017.util
(:require [clj-http.client :as client]
[net.cgrand.enlive-html :as html]))
(defn get-token
[resp]
(-> (:body)
(html/snippet)
(html/select [[:input (html/attr= :name "authenticity_token")]])
(get-in [:attrs :value])))
(defn login
[user pass]
(let [resp ... |
[
{
"context": ":sim/input-loc \"https://raw.githubusercontent.com/yetanalytics/datasim/DS-102_return_of_colo/dev-resources/input",
"end": 4772,
"score": 0.9502385854721069,
"start": 4760,
"tag": "USERNAME",
"value": "yetanalytics"
},
{
"context": "{:select-agents\n #{... | src/onyx/com/yetanalytics/datasim/onyx/sim.clj | yetanalytics/datasim | 12 | (ns com.yetanalytics.datasim.onyx.sim
"Feed datasim seqs into onyx"
(:require [com.yetanalytics.datasim.sim :as sim]
[com.yetanalytics.datasim.input :as input]
[com.yetanalytics.datasim.onyx.util :as u]
[onyx.plugin.protocols :as p]
[clojure.core.async :as a]
... | 105363 | (ns com.yetanalytics.datasim.onyx.sim
"Feed datasim seqs into onyx"
(:require [com.yetanalytics.datasim.sim :as sim]
[com.yetanalytics.datasim.input :as input]
[com.yetanalytics.datasim.onyx.util :as u]
[onyx.plugin.protocols :as p]
[clojure.core.async :as a]
... | true | (ns com.yetanalytics.datasim.onyx.sim
"Feed datasim seqs into onyx"
(:require [com.yetanalytics.datasim.sim :as sim]
[com.yetanalytics.datasim.input :as input]
[com.yetanalytics.datasim.onyx.util :as u]
[onyx.plugin.protocols :as p]
[clojure.core.async :as a]
... |
[
{
"context": "leSpeed\"\n :min-rotation \"minRotation\"\n :name \"name\"\n :on \"on\"\n :on-destroy \"onDestroy\"\n :parti",
"end": 3382,
"score": 0.7594870328903198,
"start": 3378,
"tag": "NAME",
"value": "name"
}
] | src/phzr/impl/accessors/particles/arcade/emitter.cljs | dparis/phzr | 120 | (ns phzr.impl.accessors.particles.arcade.emitter)
(def emitter-get-properties
{:alive "alive"
:alpha "alpha"
:alpha-data "alphaData"
:angle "angle"
:angular-drag "angularDrag"
:area "area"
:auto-alpha "autoAlpha"
:auto-scale "autoScale"
:blend-mode "blendMode"
:bottom "bottom"
:bounce "... | 64440 | (ns phzr.impl.accessors.particles.arcade.emitter)
(def emitter-get-properties
{:alive "alive"
:alpha "alpha"
:alpha-data "alphaData"
:angle "angle"
:angular-drag "angularDrag"
:area "area"
:auto-alpha "autoAlpha"
:auto-scale "autoScale"
:blend-mode "blendMode"
:bottom "bottom"
:bounce "... | true | (ns phzr.impl.accessors.particles.arcade.emitter)
(def emitter-get-properties
{:alive "alive"
:alpha "alpha"
:alpha-data "alphaData"
:angle "angle"
:angular-drag "angularDrag"
:area "area"
:auto-alpha "autoAlpha"
:auto-scale "autoScale"
:blend-mode "blendMode"
:bottom "bottom"
:bounce "... |
[
{
"context": "is (= {:event :followed\n :handle \"@doofus\"\n :name \"Doofus\"}\n ",
"end": 4960,
"score": 0.9992132186889648,
"start": 4952,
"tag": "USERNAME",
"value": "\"@doofus"
},
{
"context": " :handle \"@doofus\"\n ... | akar-core/test/akar/patterns_test.clj | missingfaktor/akar | 194 | (ns akar.patterns-test
(:require [akar.patterns :refer :all]
[akar.primitives :refer :all]
[akar.combinators :refer :all]
[clojure.test :refer :all]
[akar.test-support :refer :all])
(:import [clojure.lang Keyword]
[akar.test_support Add Sub Num Node]))
(de... | 30838 | (ns akar.patterns-test
(:require [akar.patterns :refer :all]
[akar.primitives :refer :all]
[akar.combinators :refer :all]
[clojure.test :refer :all]
[akar.test-support :refer :all])
(:import [clojure.lang Keyword]
[akar.test_support Add Sub Num Node]))
(de... | true | (ns akar.patterns-test
(:require [akar.patterns :refer :all]
[akar.primitives :refer :all]
[akar.combinators :refer :all]
[clojure.test :refer :all]
[akar.test-support :refer :all])
(:import [clojure.lang Keyword]
[akar.test_support Add Sub Num Node]))
(de... |
[
{
"context": ";;\n;;\n;; Copyright 2013 Netflix, Inc.\n;;\n;; Licensed under the Apache Lic",
"end": 28,
"score": 0.7669497132301331,
"start": 25,
"tag": "NAME",
"value": "Net"
}
] | src/test/clojure/pigpen/functional/join_test.clj | magomimmo/PigPen | 1 | ;;
;;
;; Copyright 2013 Netflix, Inc.
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by ap... | 5608 | ;;
;;
;; Copyright 2013 <NAME>flix, Inc.
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by... | true | ;;
;;
;; Copyright 2013 PI:NAME:<NAME>END_PIflix, Inc.
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unle... |
[
{
"context": "irect back\r\n to the login page.\"\r\n [{{username \"user-name\" password \"password\"} :multipart-params\r\n sess",
"end": 622,
"score": 0.9996725916862488,
"start": 613,
"tag": "USERNAME",
"value": "user-name"
},
{
"context": "login page.\"\r\n [{{username \"us... | src/clj/cwiki/routes/login.clj | clartaq/cwiki | 3 | ;;;
;;; Routes for login, logout, etc.
;;;
(ns cwiki.routes.login
(:require [compojure.core :refer :all]
[cwiki.models.wiki-db :as db]
[cwiki.layouts.login :as login-layout]
[cwiki.util.req-info :as ri]
[ring.util.response :refer [redirect]]))
(defn get-log... | 97629 | ;;;
;;; Routes for login, logout, etc.
;;;
(ns cwiki.routes.login
(:require [compojure.core :refer :all]
[cwiki.models.wiki-db :as db]
[cwiki.layouts.login :as login-layout]
[cwiki.util.req-info :as ri]
[ring.util.response :refer [redirect]]))
(defn get-log... | true | ;;;
;;; Routes for login, logout, etc.
;;;
(ns cwiki.routes.login
(:require [compojure.core :refer :all]
[cwiki.models.wiki-db :as db]
[cwiki.layouts.login :as login-layout]
[cwiki.util.req-info :as ri]
[ring.util.response :refer [redirect]]))
(defn get-log... |
[
{
"context": "hronosConnection\n {:url url\n :user user\n :password password}))\n",
"end": 705,
"score": 0.992661714553833,
"start": 701,
"tag": "USERNAME",
"value": "user"
},
{
"context": " {:url url\n :user user\n :password password}))\n",
"... | src/de/otto/machroput/chronos/connection.clj | otto-de/machroput | 7 | (ns de.otto.machroput.chronos.connection
(:require
[de.otto.machroput.utils.http-utils :refer :all]
[clojure.data.json :as json]))
(defn has-parent-dependency? [json]
(not (nil? (:parents json))))
(defprotocol ChronosApi
(create-new-app [self json]))
(defrecord ChronosConnection [url user password ]
... | 113803 | (ns de.otto.machroput.chronos.connection
(:require
[de.otto.machroput.utils.http-utils :refer :all]
[clojure.data.json :as json]))
(defn has-parent-dependency? [json]
(not (nil? (:parents json))))
(defprotocol ChronosApi
(create-new-app [self json]))
(defrecord ChronosConnection [url user password ]
... | true | (ns de.otto.machroput.chronos.connection
(:require
[de.otto.machroput.utils.http-utils :refer :all]
[clojure.data.json :as json]))
(defn has-parent-dependency? [json]
(not (nil? (:parents json))))
(defprotocol ChronosApi
(create-new-app [self json]))
(defrecord ChronosConnection [url user password ]
... |
[
{
"context": "21-riemann-by-stream/\n\n(def email (mailer {:from \"me@mcorbin.fr\"\n :host \"mail.foo.com\"\n ",
"end": 398,
"score": 0.9999185800552368,
"start": 385,
"tag": "EMAIL",
"value": "me@mcorbin.fr"
},
{
"context": " :user \"foo\"\n ... | mycorp/output/email.clj | mcorbin/riemann-configuration-example | 1 | (ns mycorp.output.email
"send email"
(:require [riemann.config :refer :all]
[riemann.streams :refer :all]
[riemann.test :refer :all]
[riemann.email :refer :all]
[clojure.tools.logging :refer :all]))
;; this stream can be used to send email
;; cf http://localhost:3000... | 110159 | (ns mycorp.output.email
"send email"
(:require [riemann.config :refer :all]
[riemann.streams :refer :all]
[riemann.test :refer :all]
[riemann.email :refer :all]
[clojure.tools.logging :refer :all]))
;; this stream can be used to send email
;; cf http://localhost:3000... | true | (ns mycorp.output.email
"send email"
(:require [riemann.config :refer :all]
[riemann.streams :refer :all]
[riemann.test :refer :all]
[riemann.email :refer :all]
[clojure.tools.logging :refer :all]))
;; this stream can be used to send email
;; cf http://localhost:3000... |
[
{
"context": "-number port\n :database-name db\n :username username\n :password password}))\n\n(defstate db\n :start",
"end": 577,
"score": 0.9955787658691406,
"start": 569,
"tag": "USERNAME",
"value": "username"
},
{
"context": "ase-name db\n :username username\n ... | src/rocket_link/db.clj | Seryiza/rocket-link | 2 | (ns rocket-link.db
(:require [mount.core :refer [defstate]]
[hikari-cp.core :as cp]
[rocket-link.config :refer [config]]
[clojure.string :as str]))
(defn url->opts [database-url]
(let [uri (java.net.URI. database-url)
path (.getPath uri)
host (.getHost uri... | 108641 | (ns rocket-link.db
(:require [mount.core :refer [defstate]]
[hikari-cp.core :as cp]
[rocket-link.config :refer [config]]
[clojure.string :as str]))
(defn url->opts [database-url]
(let [uri (java.net.URI. database-url)
path (.getPath uri)
host (.getHost uri... | true | (ns rocket-link.db
(:require [mount.core :refer [defstate]]
[hikari-cp.core :as cp]
[rocket-link.config :refer [config]]
[clojure.string :as str]))
(defn url->opts [database-url]
(let [uri (java.net.URI. database-url)
path (.getPath uri)
host (.getHost uri... |
[
{
"context": "s metadata)}]\n [:meta {:name \"author\", :content \"Nurullah Akkaya\"}]\n [:link {:rel \"icon\", \n\t :href \"/images/favi",
"end": 368,
"score": 0.9998831152915955,
"start": 353,
"tag": "NAME",
"value": "Nurullah Akkaya"
},
{
"context": "py; 2018\" \n [:a {:hre... | resources/templates/default.clj | nakkaya/nakkaya.com | 29 | ;;(doctype :xhtml-transitional)
[:html
{:xmlns "http://www.w3.org/1999/xhtml", :lang "en", :xml:lang "en"}
[:head
[:meta
{:http-equiv "content-type", :content "text/html; charset=UTF-8"}]
[:meta {:name "description", :content (:description metadata)}]
[:meta {:name "keywords", :content (:tags metadata)}]
[... | 68244 | ;;(doctype :xhtml-transitional)
[:html
{:xmlns "http://www.w3.org/1999/xhtml", :lang "en", :xml:lang "en"}
[:head
[:meta
{:http-equiv "content-type", :content "text/html; charset=UTF-8"}]
[:meta {:name "description", :content (:description metadata)}]
[:meta {:name "keywords", :content (:tags metadata)}]
[... | true | ;;(doctype :xhtml-transitional)
[:html
{:xmlns "http://www.w3.org/1999/xhtml", :lang "en", :xml:lang "en"}
[:head
[:meta
{:http-equiv "content-type", :content "text/html; charset=UTF-8"}]
[:meta {:name "description", :content (:description metadata)}]
[:meta {:name "keywords", :content (:tags metadata)}]
[... |
[
{
"context": "[[eval]] which does\n all the job.\"\n\n {:author \"Adam Helinski\"}\n\n (:import (convex.core Block\n ",
"end": 1352,
"score": 0.9989499449729919,
"start": 1339,
"tag": "NAME",
"value": "Adam Helinski"
}
] | project/cvm/src/clj/main/convex/cvm.clj | rosejn/convex.cljc | 30 | (ns convex.cvm
"Code execution in the CVM, altering state, and gaining insights.
Central entities of this namespaces are contextes and they can be created using [[ctx]].
All other functions revolve around them. While the design of a context is mostly immutable, whenever an altering function
is applied (eg... | 74829 | (ns convex.cvm
"Code execution in the CVM, altering state, and gaining insights.
Central entities of this namespaces are contextes and they can be created using [[ctx]].
All other functions revolve around them. While the design of a context is mostly immutable, whenever an altering function
is applied (eg... | true | (ns convex.cvm
"Code execution in the CVM, altering state, and gaining insights.
Central entities of this namespaces are contextes and they can be created using [[ctx]].
All other functions revolve around them. While the design of a context is mostly immutable, whenever an altering function
is applied (eg... |
End of preview. Expand in Data Studio
- Downloads last month
- 46