conversations listlengths 2 3 | source stringclasses 1 value | stack stringclasses 1 value |
|---|---|---|
[
{
"from": "system",
"value": "Add dev dep on swank-clj\n"
},
{
"from": "human",
"value": "(defproject angelic \"1.0.0-SNAPSHOT\"\n :description \"Angelic hierarchical planning\"\n :dependencies [[org.clojure/clojure \"1.2.0\"]\n [org.clojure/clojure-contrib \"1.2.0\"]\n; ... | clojure | chosen |
[
{
"from": "system",
"value": "Fix group chat info labels\n\nSigned-off-by: Andrey Shovkoplyas <b713972e59b8e606e23253c4a13e948139fea4d1@gmail.com>\n"
},
{
"from": "human",
"value": "(ns status-im.ui.screens.profile.group-chat.styles\n (:require [status-im.ui.components.colors :as colors]))\n\n(... | clojure | chosen |
[
{
"from": "system",
"value": "Add corner case found in generative tests\n"
},
{
"from": "human",
"value": "(ns transit.corner-cases)\n\n(def forms\n [nil\n true\n false\n :a\n :foo\n 'f\n 'foo\n (java.util.Date.)\n 1/3\n \\t\n \"f\"\n \"foo\"\n \"~foo\"\n []\n '()\n ... | clojure | chosen |
[
{
"from": "system",
"value": "Add test for false case also"
},
{
"from": "human",
"value": "(ns ontrail.test.crypto\n (:use [ontrail.crypto])\n (:use [clojure.test]))\n\n(deftest hash-properly\n (is (com.lambdaworks.crypto.SCryptUtil/check \"keijo\" (password-hash \"keijo\"))))\n\n(deftest ma... | clojure | chosen |
[
{
"from": "system",
"value": "Update lein-swank version and deps.\n"
},
{
"from": "human",
"value": "(defproject leiningen/lein-swank \"1.1.0\"\n :description \"A leiningen plugin to launch a swank server.\"\n :dependencies [[swank-clojure \"1.1.0\"]\n [org.apache.maven/maven-a... | clojure | chosen |
[
{
"from": "system",
"value": "Update to ClojureScript release 0.0-1236\n"
},
{
"from": "human",
"value": "(defproject cljs-browser \"0.0.1-SNAPSHOT\"\n :description \"\"\n :dependencies [[org.clojure/clojure \"1.4.0-beta4\"]\n [org.clojure/clojurescript \"0.0-993\"]\n ... | clojure | chosen |
[
{
"from": "system",
"value": "Add utils for working w/ artifacts DNS\n"
},
{
"from": "human",
"value": "(ns circle.backend.nodes.circle-artifact\n (:require\n pallet.core\n pallet.phase\n [pallet.action.user :as user]\n [pallet.action.directory :as directory]\n [pallet.action.package ... | clojure | chosen |
[
{
"from": "system",
"value": "Clarify that env isn't used\n"
},
{
"from": "human",
"value": "(ns desdemona.launcher.launch-prod-peers\n (:require [desdemona.launcher.utils :as utils]\n [taoensso.timbre :as t]\n [onyx.plugin.kafka]\n [onyx.plugin.sql]\n ... | clojure | chosen |
[
{
"from": "system",
"value": "Revert \"downgrade groovy runner version\"\n"
},
{
"from": "human",
"value": "(ns codewars.runners.groovy-test\n (:require [clojure.test :refer :all]\n [clojure.test.junit :refer [with-junit-output]]\n [cheshire.core :as json]\n [co... | clojure | chosen |
[
{
"from": "system",
"value": "Make db connection actually work each time\n"
},
{
"from": "human",
"value": "(ns herder.web.handler\n (:require\n [compojure.route :as route]\n [compojure.core :refer [defroutes GET POST PUT context] :as compojure]\n [ring.middleware.defaults :refer [wrap-de... | clojure | chosen |
[
{
"from": "system",
"value": "Complete runtime polymorphism koans test\n"
},
{
"from": "human",
"value": "(defn hello\n ([] \"Hello World!\")\n ([a] (str \"Hello, you silly \" a \".\"))\n ([a & more] (str \"Hello to this group: \"\n (apply str\n (int... | clojure | chosen |
[
{
"from": "system",
"value": "Update catacumba version on single-file example.\n"
},
{
"from": "human",
"value": "#!/usr/bin/env boot\n(set-env!\n :dependencies '[[org.clojure/clojure \"1.7.0-RC1\" :scope \"provided\"]\n [funcool/catacumba \"0.2.0-SNAPSHOT\"]])\n\n(require '[cata... | clojure | chosen |
[
{
"from": "system",
"value": "Load user.clj if present on classpath\n"
},
{
"from": "human",
"value": ";-\n; Copyright 2011 (c) Meikel Brandmeyer.\n; All rights reserved.\n;\n; Permission is hereby granted, free of charge, to any person obtaining a copy\n; of this software and associated documen... | clojure | chosen |
[
{
"from": "system",
"value": "Add routes for Trello to available ones\n"
},
{
"from": "human",
"value": "(ns new-website.server\n (:require [clojure.java.io :as io]\n [compojure.core :refer [ANY GET PUT POST DELETE defroutes]]\n [compojure.route :refer [resources]]\n ... | clojure | chosen |
[
{
"from": "system",
"value": "Fix bug in init from leinout refactoring\n"
},
{
"from": "human",
"value": "(ns leiningen.pallet-release.github\n \"Github interaction\"\n (:require\n [com.palletops.leinout.github :as github]\n [leiningen.core.eval :as eval]\n [tentacles.orgs :as orgs]))\n\... | clojure | chosen |
[
{
"from": "system",
"value": "Update tryisla repl to use new env data structure."
},
{
"from": "human",
"value": "(ns tryclojure.models.eval\n (:require [clojail.testers :refer [secure-tester-without-def]]\n [clojail.core :refer [sandbox]]\n [clojure.stacktrace :refer [roo... | clojure | chosen |
[
{
"from": "system",
"value": "Remove cljs dependency from doo\n"
},
{
"from": "human",
"value": "(defproject doo \"0.1.6-SNAPSHOT\"\n :description \"doo is a library to run clj.test on different js environments.\"\n :url \"https://github.com/bensu/doo\"\n :license {:name \"Eclipse Public Lice... | clojure | chosen |
[
{
"from": "system",
"value": "Remove unused function from luhn exercise\n"
},
{
"from": "human",
"value": "(ns luhn\n (:require [clojure.string :as string]))\n\n(defn to-reversed-digits\n \"returns a lazy sequence of least to most significant digits of n\"\n [n]\n (->> [n 0]\n (iterate... | clojure | chosen |
[
{
"from": "system",
"value": "Add endpoint that returns all templates as transit\n"
},
{
"from": "human",
"value": "(ns clj-templates.handler\n (:require [compojure.core :refer [GET routes]]\n [compojure.route :refer [resources]]\n [ring.util.response :refer [resource-resp... | clojure | chosen |
[
{
"from": "system",
"value": "Update lein profile to include flycheck-clojoure deps.\n"
},
{
"from": "human",
"value": "{:user {\n :plugins [[cider/cider-nrepl \"0.11.0-SNAPSHOT\"]]\n :dependencies [[com.datomic/datomic-free \"0.9.5350\"]\n [me.raynes/fs \"1.4... | clojure | chosen |
[
{
"from": "system",
"value": "Use keep instead of map+filter-ident\n"
},
{
"from": "human",
"value": "(ns comic-reader.scrape\n (:require [clojure.string :as s]\n [clojure.java.io :as io]\n [clj-http.client :as client]\n [tempfile.core :refer [tempfile with-temp... | clojure | chosen |
[
{
"from": "system",
"value": "Add test for splitting words on newlines.\n"
},
{
"from": "human",
"value": "(ns analyze-data.tf-idf.words-test\n (:require [clojure.test :refer [deftest is]]\n [analyze-data.tf-idf.words :as test-ns]))\n\n(deftest to-words-test\n (is (= [\"hello\" \"wo... | clojure | chosen |
[
{
"from": "system",
"value": "Add alter-table and migrate beta-notify with a checkbox.\n"
},
{
"from": "human",
"value": "(ns circleci.db.migrations\n (:use [circleci.db :only (with-conn)])\n (:use [circleci.db.migration-lib :only (defmigration run-required-migrations reset-migration-state)])\... | clojure | chosen |
[
{
"from": "system",
"value": "Set development version to 0.2.2-SNAPSHOT\n"
},
{
"from": "human",
"value": "(defproject com.stuartsierra/component \"0.2.1\"\n :description \"Managed lifecycle of stateful objects\"\n :url \"https://github.com/stuartsierra/component\"\n :license {:name \"The MIT... | clojure | chosen |
[
{
"from": "system",
"value": "Prepare for next release cycle.\n"
},
{
"from": "human",
"value": "(defproject onyx-app/lein-template \"0.9.10.0\"\n :description \"Onyx Leiningen application template\"\n :url \"https://github.com/onyx-platform/onyx-template\"\n :license {:name \"MIT License\"\n... | clojure | chosen |
[
{
"from": "system",
"value": "Update dependency clj-http:clj-http to v3.10.2\n"
},
{
"from": "human",
"value": "(defproject strava-activity-graphs \"0.1.0-SNAPSHOT\"\n :description \"Generate statistical charts for Strava activities\"\n :url \"https://github.com/nicokosi/strava-activity-graphs... | clojure | chosen |
[
{
"from": "system",
"value": "Update Ring dependency to 1.6.0-beta6\n"
},
{
"from": "human",
"value": "(defproject compojure \"1.6.0-beta1\"\n :description \"A concise routing library for Ring\"\n :url \"https://github.com/weavejester/compojure\"\n :license {:name \"Eclipse Public License\"\n... | clojure | chosen |
[
{
"from": "system",
"value": "Add a few tasks to initialize tasks\n"
},
{
"from": "human",
"value": "(ns todo-repl-webapp.handler\n (:gen-class :main true)\n (:use compojure.core)\n (:require [compojure.handler :as handler]\n [compojure.route :as route]\n [ring.adapter.j... | clojure | chosen |
[
{
"from": "system",
"value": "Fix Wrong number of args passed to: ex-info\n\nclojure.lang.ArityException Wrong number of args (1) passed to: clojure.core/ex-info"
},
{
"from": "human",
"value": "(ns leiningen.pact-verify\n (:require [au.com.dius.pact.provider.lein.verify-provider :as verify]\n... | clojure | chosen |
[
{
"from": "system",
"value": "Set defaut jvm opts for lein. Limit memory usage\n"
},
{
"from": "human",
"value": "{:user {\n :dependencies [[pjstadig/humane-test-output \"0.6.0\"]\n [slamhound \"1.5.5\"]]\n :injections [(require 'pjstadig.humane-test-output)\n... | clojure | chosen |
[
{
"from": "system",
"value": "Write a function to process the site data\n"
},
{
"from": "human",
"value": "(ns comic-reader.scrape\n (:require [clojure.string :refer [trim]]\n [net.cgrand.enlive-html :as html]))\n\n(def sites\n {\"Manga Fox\" {:url \"http://mangafox.me/manga/\"\n ... | clojure | chosen |
[
{
"from": "system",
"value": "Rename SecretKey protocol to ISecretKey\n"
},
{
"from": "human",
"value": ";; Copyright 2013 Andrey Antukh <niwi@niwi.be>\n;;\n;; Licensed under the Apache License, Version 2.0 (the \"License\")\n;; you may not use this file except in compliance with the License.\n;... | clojure | chosen |
[
{
"from": "system",
"value": "Store the contents of the scratchpad in an atom.\n"
},
{
"from": "human",
"value": "(ns leipzig-live.core\n (:require [reagent.core :as reagent :refer [atom]]\n [reagent.session :as session]\n [secretary.core :as secretary :include-macro... | clojure | chosen |
[
{
"from": "system",
"value": "Test to check for excessive temp-file-store threads\n"
},
{
"from": "human",
"value": "(ns ring.middleware.multipart-params.test.temp-file\n (:use clojure.test\n [ring.util.io :only (string-input-stream)]\n ring.middleware.multipart-params.temp-file))... | clojure | chosen |
[
{
"from": "system",
"value": "Use symbols for Thymine and Uracil\n"
},
{
"from": "human",
"value": "(ns dna)\n\n(defn- strand-convert [ch]\n (if (= \\T ch) \\U ch)\n)\n\n(defn to-rna [dna]\n (apply str (map strand-convert dna))\n)"
},
{
"from": "gpt",
"value": "(ns dna)\n\n(def... | clojure | chosen |
[
{
"from": "system",
"value": "Use dangerouslySetINnerHTML for component-css rendering\n"
},
{
"from": "human",
"value": "(ns comic-reader.ui.component-css\n (:refer-clojure :exclude [merge])\n (:require [garden.core :as g]\n [re-frame.core :as re-frame]))\n\n(defn get* [db]\n (:com... | clojure | chosen |
[
{
"from": "system",
"value": "Fix small gap in line 5\n"
},
{
"from": "human",
"value": "(ns braid.ui.styles.imports\n (:require [garden.stylesheet :refer [at-import]]))\n\n(def imports\n [(at-import \"https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css\")\n (at-i... | clojure | chosen |
[
{
"from": "system",
"value": "Add optional \"channel\" argument to event-source\n"
},
{
"from": "human",
"value": "(ns ninjudd.eventual.client\n (:require [cljs.core.async :as async]\n [cljs.reader :refer [read-string]]))\n\n(defn make-event [f event]\n (-> (f (.-data event))\n ... | clojure | chosen |
[
{
"from": "system",
"value": "Fix logging when message has % but doesn't use format args\n"
},
{
"from": "human",
"value": "(ns less4clj.util)\n\n;;\n;; Debugging\n;; from boot.util\n;;\n\n(def ^:dynamic *verbosity* 1)\n\n(defn- print*\n [verbosity args]\n (when (>= *verbosity* verbosity)\n ... | clojure | chosen |
[
{
"from": "system",
"value": "Check that setting nonsense backends explodes\n"
},
{
"from": "human",
"value": "(ns doctopus.storage-test\n (:require [doctopus.storage :refer :all]\n [clojure.test :refer :all]))\n\n\n(deftest storage\n (testing \"Can we swap backends?\"\n (is (= d... | clojure | chosen |
[
{
"from": "system",
"value": "Test sequence-m for the Maybe monad\n"
},
{
"from": "human",
"value": "(ns tests-cats\n #+cljs\n (:require-macros [cemerick.cljs.test\n :refer (is deftest with-test run-tests testing test-var)])\n #+cljs\n (:require [cemerick.cljs.test :as ts]... | clojure | chosen |
[
{
"from": "system",
"value": "Change string variable name to not conflict with core function.\n"
},
{
"from": "human",
"value": "(ns cljs-nlp.tokenize.simple\n (:use [clojure.string :only [split]]))\n\n(defn space-tokenizer [str]\n (split str #\"[ ]\"))\n\n(defn tab-tokenizer [str]\n (split s... | clojure | chosen |
[
{
"from": "system",
"value": "Change version back to snapshot\n"
},
{
"from": "human",
"value": ";; The Climate Corporation licenses this file to you under under the Apache\n;; License, Version 2.0 (the \"License\"); you may not use this file except in\n;; compliance with the License. You may o... | clojure | chosen |
[
{
"from": "system",
"value": "Add Up Link to Error Representation\n"
},
{
"from": "human",
"value": "(ns lens.middleware.wan-exception\n (:require [clj-stacktrace.repl :refer [pst-on]]))\n\n(defn wrap-exception\n \"Calls the handler in a try catch block returning a WAN error response.\"\n [ha... | clojure | chosen |
[
{
"from": "system",
"value": "Update test. Still have far too few...\n"
},
{
"from": "human",
"value": "(ns afterglow.effects.color-test\n (:require [clojure.test :refer :all]\n [afterglow.effects.color :refer :all]\n [afterglow.channels :as channels]\n [com.evo... | clojure | chosen |
[
{
"from": "system",
"value": "Add simple pattern matching. Matchure and more complex matching\nweren't cutting it.\n"
},
{
"from": "human",
"value": "(ns proto.main\n (:require [clojure.contrib.io :as io])\n (:require [clj-yaml.core :as yaml])\n )\n\n(defn init [& argv]\n (-> argv\n fir... | clojure | chosen |
[
{
"from": "system",
"value": "Add another migration for demo purposes.\n"
},
{
"from": "human",
"value": "(ns cadence.migrations\n \"Define some migrations yo.\"\n (:require [cadence.model.migration :refer [defmigration]]\n (monger [collection :as mc]\n [operators... | clojure | chosen |
[
{
"from": "system",
"value": "Send message when enter is pressed\n"
},
{
"from": "human",
"value": "(ns chatapp.view\n (:require [re-frame.core :as re-frame]))\n\n(defn message [message]\n [:li {:class \"list-group-item\"}\n (:message message)])\n\n(defn message-list []\n (let [messages (re... | clojure | chosen |
[
{
"from": "system",
"value": "Move Clojure to dev dependency\n"
},
{
"from": "human",
"value": ";; The Climate Corporation licenses this file to you under under the Apache\n;; License, Version 2.0 (the \"License\"); you may not use this file except in\n;; compliance with the License. You may ob... | clojure | chosen |
[
{
"from": "system",
"value": "Add test.check dependency and upgrade buddy-core dependency.\n"
},
{
"from": "human",
"value": "(defproject buddy/buddy-sign \"1.0.0\"\n :description \"High level message signing for Clojure\"\n :url \"https://github.com/funcool/buddy-sign\"\n :license {:name \"A... | clojure | chosen |
[
{
"from": "system",
"value": "Use Logback, avoid warning about missing logger implementation\n"
},
{
"from": "human",
"value": "(defproject rpi-challenger \"0.1.0-SNAPSHOT\"\n :description \"FIXME: write description\"\n :url \"https://github.com/solita\"\n :license {:name \"MIT License\"\n ... | clojure | chosen |
[
{
"from": "system",
"value": "Make bukkit a provided dependency.\n"
},
{
"from": "human",
"value": "(defproject bukkure \"0.4.2-SNAPSHOT\"\n :description \"Bringing Clojure to the Bukkit API\"\n :url \"http://github.com/SevereOverfl0w/Bukkure\"\n :license {:name \"Eclipse Public License\"\n ... | clojure | chosen |
[
{
"from": "system",
"value": "Prepare for next release cycle.\n"
},
{
"from": "human",
"value": "(defproject onyx-app/lein-template \"0.10.0.0-rc2\"\n :description \"Onyx Leiningen application template\"\n :url \"https://github.com/onyx-platform/onyx-template\"\n :license {:name \"MIT License... | clojure | chosen |
[
{
"from": "system",
"value": "Comment out stuff in dev.clj\n"
},
{
"from": "human",
"value": "(ns user\n \"Namespace to support hacking at the REPL.\"\n (:require [clojure.java.javadoc :refer [javadoc]]\n [clojure.pprint :refer [pp pprint]]\n [clojure.repl :refer :all]\n ... | clojure | chosen |
[
{
"from": "system",
"value": "Document the process of adding namespaces to devcards home.\n\nClarified that devcards_src/core.cljs needs to be edited in order for\nnew namespaces to appear.\n"
},
{
"from": "human",
"value": "(ns {{name}}-devcards.core\n (:require\n [devcards.core :as dc :... | clojure | chosen |
[
{
"from": "system",
"value": "Add projects section to sidebar\n"
},
{
"from": "human",
"value": "(ns app.app\n (:require [cljsjs.material]\n [reagent.core :as reagent]))\n\n(defn fixed-header-and-drawer-component [content]\n [:div.mdl-layout.mdl-js-layout.mdl-layout--fixed-drawer.md... | clojure | chosen |
[
{
"from": "system",
"value": "Implement part 2 of the Clojure day 3 solution.\n"
},
{
"from": "human",
"value": "(ns advent2016.day3\n (:require [clojure.java.io :as io]\n [clojure.string :as s]))\n\n(defn read-sides [line]\n (map #(Integer/parseInt %) (remove s/blank? (s/split line... | clojure | chosen |
[
{
"from": "system",
"value": "Add simple example org.clojure/google-closure-library-third-party exclusion\n"
},
{
"from": "human",
"value": "(defproject simple \"lein-git-inject/version\"\n\n :dependencies [[org.clojure/clojure \"1.10.1\"]\n [org.clojure/clojurescript \"1.... | clojure | chosen |
[
{
"from": "system",
"value": "Update nth-prime in response to PR feedback\n\nReplace `(when (not` with `when-not`, update `cond` to instead use `or`.\n"
},
{
"from": "human",
"value": "(ns nth-prime)\n\n(defn sqrt\n \"Wrapper around java's sqrt method.\"\n [number]\n (int (Math/ceil (Math/sqr... | clojure | chosen |
[
{
"from": "system",
"value": "Use ->(>) for the impl\n"
},
{
"from": "human",
"value": "(ns desdemona.lifecycles.logging\n (:require [taoensso.timbre :refer [info]]))\n\n (let [task-name (:onyx/name (:onyx.core/task-map event))]\n (doseq [m (map :message (mapcat :leaves (:tree (:onyx.core/r... | clojure | chosen |
[
{
"from": "system",
"value": "Add get-token and protect both token manipulators\n"
},
{
"from": "human",
"value": "(ns comic-reader.history\n (:require [re-frame.core :as rf]\n [secretary.core :refer [dispatch!]]\n [goog.events :as events]\n [goog.history.EventT... | clojure | chosen |
[
{
"from": "system",
"value": "Add skip option to example dev\n\nfor testing\n"
},
{
"from": "human",
"value": "(set-env!\n :resource-paths #{\"resources\"}\n :dependencies '[[org.clojure/clojure \"1.8.0\"]\n [afrey/boot-asset-fingerprint \"1.3.1\"]\n [tailrecu... | clojure | chosen |
[
{
"from": "system",
"value": "Add input builder fn for use by plugins\n"
},
{
"from": "human",
"value": "(ns onyx.types)\n\n(defrecord Leaf [message id acker-id completion-id ack-val hash-group route])\n\n(defrecord Route [flow exclusions post-transformation action])\n\n(defrecord Ack [id comple... | clojure | chosen |
[
{
"from": "system",
"value": "Return nil instead of empty sequence from test-seq-for-ns\n"
},
{
"from": "human",
"value": "(ns lazytest.find\n (:use lazytest.suite))\n\n(defn- find-tests-for-var [this-var]\n (if-let [f (:find-tests (meta this-var))]\n (do (assert (fn? f)) (f))\n (when (b... | clojure | chosen |
[
{
"from": "system",
"value": "Set CORS header on POSTs\n"
},
{
"from": "human",
"value": "(ns cmr.graph.rest.response\n (:require\n [cheshire.core :as json]\n [ring.util.http-response :as response]\n [taoensso.timbre :as log]))\n\n(defn ok\n [_request & args]\n (response/ok args))\n\n(d... | clojure | chosen |
[
{
"from": "system",
"value": "Make uberjar work at the command line with the name circle.Init.\n"
},
{
"from": "human",
"value": "(ns circle.Init ;; capitalized for JRuby\n ;; (:require circle.swank)\n (:require circle.db)\n (:require circle.web)\n (:require circle.repl)\n (:require circle.... | clojure | chosen |
[
{
"from": "system",
"value": "Update source and target javac properties to 1.8.\n"
},
{
"from": "human",
"value": "(defproject guangyin/guangyin \"0.1.1-SNAPSHOT\"\n :description \"Clojure date and time library wrapping java.time\"\n :url \"https://github.com/juhovh/guangyin\"\n :license {:na... | clojure | chosen |
[
{
"from": "system",
"value": "Increase react version to 0.9.0.1 to fix missing article and aside externs.\n"
},
{
"from": "human",
"value": "(defproject breeze-quiescent \"0.1.1-SNAPSHOT\"\n :description \"A minimal, functional ClojureScript wrapper for ReactJS\"\n :license {:name \"Eclipse Pu... | clojure | chosen |
[
{
"from": "system",
"value": "Update clj-time from 0.8.0 to 0.9.0.\n\nKeep up to date with all dependencies.\n"
},
{
"from": "human",
"value": "(defproject statuses \"1.0.0-SNAPSHOT\"\n :description \"Statuses app for innoQ\"\n :url \"https://github.com/innoq/statuses\"\n :license {:name \"Ap... | clojure | chosen |
[
{
"from": "system",
"value": "Update deps for cloxp cljs integration\n"
},
{
"from": "human",
"value": "(defproject cljs-workspace \"0.1.0-SNAPSHOT\"\n :description \"FIXME: write description\"\n :url \"http://example.com/FIXME\"\n :license {:name \"Eclipse Public License\"\n :url ... | clojure | chosen |
[
{
"from": "system",
"value": "Switch to website-hosted MVXCVI repo.\n"
},
{
"from": "human",
"value": "(defproject playasophy/wonderdome \"1.0.0-SNAPSHOT\"\n :description \"Control and rendering software for driving an LED strip art project with various visualizations.\"\n :url \"https://githu... | clojure | chosen |
[
{
"from": "system",
"value": "Update compojure from 1.3.1 to 1.3.2.\n"
},
{
"from": "human",
"value": "(defproject statuses \"1.0.0-SNAPSHOT\"\n :description \"Statuses app for innoQ\"\n :url \"https://github.com/innoq/statuses\"\n :license {:name \"Apache License, Version 2.0\"\n ... | clojure | chosen |
[
{
"from": "system",
"value": "Add predicate for checking if coordinates are within a bounding box\n"
},
{
"from": "human",
"value": "(ns rp.util.number)\n\n(defn nat-num?\n [x]\n (and (number? x)\n (not (neg? x))))\n\n(defn longitude?\n [x]\n (and (number? x)\n (<= -180 x 180)))\... | clojure | chosen |
[
{
"from": "system",
"value": "Add keys-in utility for getting all map keys"
},
{
"from": "human",
"value": "(ns hacker-agent.utils)\n\n(defn dissoc-in [data path]\n (let [prefix (butlast path)\n key (last path)]\n (if prefix\n (update-in data prefix dissoc key)\n (dissoc dat... | clojure | chosen |
[
{
"from": "system",
"value": "Fix embed-stamp for new D4J methods"
},
{
"from": "human",
"value": "(do \n ;; Imports and aliases\n (clojure.core/use '[clojure.core])\n (require '[clojure.string :as str])\n (require '[clojure.pprint :as pp])\n (require '[clojure.math.numeric-tower :as math])... | clojure | chosen |
[
{
"from": "system",
"value": "Use capitalised letters to make the music read more like the lyrics.\n"
},
{
"from": "human",
"value": "(ns overtunes.songs.frere-jacques\n (:use [overtone.live])\n (:use [overtunes.core])\n (:use [overtunes.instruments.foo]))\n\n(def frère-jacques [:C4 :D4 :E4 :... | clojure | chosen |
[
{
"from": "system",
"value": "Make final if not in deploy state\n"
},
{
"from": "human",
"value": "(ns obb-rules.game-mode\n (:require [obb-rules.board :as board]\n [obb-rules.game :as game]))\n\n(defn final?\n \"Checks if the game is finished\"\n [game]\n (or\n (board/empty-bo... | clojure | chosen |
[
{
"from": "system",
"value": "Move Clojure dep to dev profile.\n"
},
{
"from": "human",
"value": "(defproject soy-clj \"0.1.0-SNAPSHOT\"\n :description \"An idiomatic Clojure wrapper for Google's Closure templating system.\"\n :url \"https://github.com/codahale/soy-clj\"\n :license {:name \"E... | clojure | chosen |
[
{
"from": "system",
"value": "Add Clojure 1.4.0-beta1 to lein-multi deps.\n"
},
{
"from": "human",
"value": "(defproject stencil \"0.2.0\"\n :description \"Mustache in Clojure\"\n :dependencies [[clojure \"1.3.0\"]\n [slingshot \"0.8.0\"]]\n :multi-deps {\"1.2\" [[org.clojure/... | clojure | chosen |
[
{
"from": "system",
"value": "Prepare for next development iteration\n"
},
{
"from": "human",
"value": "(defproject naughtmq \"0.0.1\"\n :description \"A native-embedding wrapper for jzmq\"\n :url \"https://github.com/gaverhae/naughtmq\"\n :scm {:name \"git\"\n :url \"https://github.co... | clojure | chosen |
[
{
"from": "system",
"value": "Implement moving to edit state upon double click\n"
},
{
"from": "human",
"value": "(ns reabledit.core\n (:require [reabledit.components :as components]\n [reabledit.keyboard :as keyboard]\n [reagent.core :as reagent]))\n\n;;\n;; Convenience A... | clojure | chosen |
[
{
"from": "system",
"value": "Remove the let hack by inlining it exactly, which is the idiom. Somehow it didn't occur to me to try that.\n"
},
{
"from": "human",
"value": "(ns clj_record.core\n (:require [clojure.contrib.sql :as sql]))\n\n\n(defn table-name [model-name]\n (if (keyword? model-n... | clojure | chosen |
[
{
"from": "system",
"value": "Fix that damn docstring AGAIN\n"
},
{
"from": "human",
"value": "(ns useful.amalloy.debug)\n\n(defmacro ?\n \"A useful debugging tool when you can't figure out what's going on:\n wrap a form with and-print, and the form will be printed alongside\n its result. The... | clojure | chosen |
[
{
"from": "system",
"value": "Use babashka.deps instead of creating a separate .classpath file\n"
},
{
"from": "human",
"value": ";; Example of using clj-chrome-devtools with babashka\n;;\n;; Make a .classpath\n;; $ clj -A:bb -Spath > .classpath\n;;\n;; Start Chrome in the background:\n;; /some/... | clojure | chosen |
[
{
"from": "system",
"value": "Fix race condition in unit test\n\nMultithreading is tricky... :/\n"
},
{
"from": "human",
"value": "(ns org.zalando.stups.friboo.system.cron-test\n (:require [org.zalando.stups.friboo.system.cron :refer :all]\n [clojure.test :refer :all]\n [o... | clojure | chosen |
[
{
"from": "system",
"value": "WIP: Bring color into Sunburst, but need to decide how to mimic D3's parent-based color scheme.\n"
},
{
"from": "human",
"value": "(ns sunburst\n (:refer-clojure :exclude [partition]) ;;avoid name conflict with base \"partition\" function\n (:use [c2.core :only [u... | clojure | chosen |
[
{
"from": "system",
"value": "Use codox to generate docs\n"
},
{
"from": "human",
"value": "(defproject str \"0.1.0-SNAPSHOT\"\r\n :description \"String manipulation library for clojure\"\r\n :url \"http://github.com/expez/str\"\r\n :license {:name \"MIT License\"\r\n :url \"http:/... | clojure | chosen |
[
{
"from": "system",
"value": "Allow the use of the DATABASE_URL env variable.\n"
},
{
"from": "human",
"value": "(ns staircase.config\n (:use [clojure.java.io :as io]\n [clojure.string :only (replace-first)])\n (:require [clojure.tools.reader.edn :as edn]))\n\n(defn- from-edn [fname]\n ... | clojure | chosen |
[
{
"from": "system",
"value": ":bug: Fix `random-nonce` function (wrong params).\n"
},
{
"from": "human",
"value": ";; This Source Code Form is subject to the terms of the Mozilla Public\n;; License, v. 2.0. If a copy of the MPL was not distributed with this\n;; file, You can obtain one at http:/... | clojure | chosen |
[
{
"from": "system",
"value": "Revert back to snapshot version.\n"
},
{
"from": "human",
"value": ";(defproject dsbdp \"0.4.0-SNAPSHOT\"\n(defproject dsbdp \"0.3.0\"\n :description \"Dynamic Stream and Batch Data Processing (dsbdp)\"\n :url \"https://github.com/ruedigergad/dsbdp\"\n :license {... | clojure | chosen |
[
{
"from": "system",
"value": "Move back to latest release version of core.logic.\n"
},
{
"from": "human",
"value": "(defproject lein-voom \"0.1.0-SNAPSHOT\"\n :description \"Tool for generating artifacts versioned on the most recent git commit sha and commit time.\"\n :url \"https://github.com... | clojure | chosen |
[
{
"from": "system",
"value": "Move clj-time dependency to cmr-common-lib\n"
},
{
"from": "human",
"value": "(defproject nasa-cmr/cmr-umm-lib \"0.1.0-SNAPSHOT\"\n :description \"The UMM (Unified Metadata Model) Library is responsible for defining the common domain\n model for Metad... | clojure | chosen |
[
{
"from": "system",
"value": "Add full stop to end of room list."
},
{
"from": "human",
"value": "(ns isla.talk\n (:use [clojure.pprint])\n (:require [clojure.string :as str])\n (:require [mrc.utils :as utils]))\n\n(declare list-rooms)\n\n(defn room-intro [room connected-rooms]\n (str \"You ... | clojure | chosen |
[
{
"from": "system",
"value": "Fix a reflection warning on a static method argument type\n\neastwood said: \"Reflection warning - call to static method\nencodeHexString on org.apache.commons.codec.binary.Hex can't be\nresolved (argument types: unknown).\"\n\nThe `encodeHexString` method has several variants ... | clojure | chosen |
[
{
"from": "system",
"value": "Add async state transformation test.\n"
},
{
"from": "human",
"value": "(ns potok.tests\n (:require [cljs.test :as t :include-macros true]\n [beicon.core :as rx]\n [potok.core :as ptk]))\n\n(enable-console-print!)\n\n(defrecord IncrementBy [n]... | clojure | chosen |
[
{
"from": "system",
"value": "Fix return values of migrate and clean.\n"
},
{
"from": "human",
"value": "(ns fhofherr.clj-db-util.migrations\n (:require [clojure.tools.logging :as log]\n [fhofherr.clj-db-util.db :as db]\n [fhofherr.clj-db-util.migrations.flyway :as fw]))\n... | clojure | chosen |
[
{
"from": "system",
"value": "Change the event handler into something more sensible.\n"
},
{
"from": "human",
"value": "(ns squelch.nodes.script-processor)\n\n; -----------\n; Properties:\n; -----------\n\n(defn get-buffer-size\n \"Read only.\n Returns an integer representing both the input an... | clojure | chosen |
[
{
"from": "system",
"value": "Add example of do-it macro\n"
},
{
"from": "human",
"value": "(ns examples.describe1\n (:use lazytest.describe))\n\n(describe +\n (it \"computes the sum of 3 and 4\"\n (= 7 (+ 3 4))))\n\n(describe + \"given any 2 integers\"\n (for [x (range 5), y (range 5)]\n ... | clojure | chosen |
[
{
"from": "system",
"value": "Reduce step size to travel back in time\n"
},
{
"from": "human",
"value": "(ns discuss.history\n (:require [discuss.utils.common :as lib]))\n\n(def discussion-history (atom [@lib/app-state]))\n\n(add-watch lib/app-state :history\n (fn [_ _ _ n]\n ... | clojure | chosen |
[
{
"from": "system",
"value": "Make the MessageFormatter work with keys"
},
{
"from": "human",
"value": "(ns rads.kafka.transit.MsgpackMessageFormatter\n (:require\n [cognitect.transit :as transit]\n [clojure.java.io :as io])\n (:import\n (kafka.common MessageFormatter)\n (java.io P... | clojure | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.