100+ results for 'clojure'
Not the results you expected?
monokai.css (https://gitlab.com/Mirros/jsdelivr) CSS · 127 lines
googlecode.css (https://gitlab.com/Mirros/jsdelivr) CSS · 146 lines
core_test.clj (https://github.com/ngrunwald/work.git) Clojure · 82 lines
README.md (https://github.com/michaelklishin/validateur.git) Markdown · 69 lines
1 # Validateur, a Clojure(Script) Validation Library
3 Validateur is a [Clojure(Script) validation library](http://clojurevalidations.info) inspired by Ruby's ActiveModel. Validateur is functional: validators are
4 functions, validation sets are higher-order functions, validation results are returned as values.
7 ## Supported Clojure versions
9 Validateur requires Clojure 1.7+/ClojureScript 0.0-2138+.
55 Validateur uses [Leiningen 2](https://github.com/technomancy/leiningen/blob/master/doc/TUTORIAL.md). Make
56 sure you have it installed and then run tests against all supported Clojure versions and a recent release of ClojureScript using
58 lein all do clean, test
factors_test.clj (https://github.com/tavisrudd/trammel.git) Clojure · 72 lines
core.clj (https://github.com/ibdknox/colorize.git) Clojure · 61 lines
test_db.clj (https://github.com/Plummtw/jinrou_clojure.git) Clojure · 49 lines
OptionListIterator.java (https://github.com/ariesteam/thinklab.git) Java · 65 lines
18 along with Thinklab. If not, see <http://www.gnu.org/licenses/>.
19 */
20 package org.integratedmodelling.clojure.utils;
22 import java.util.Collection;
28 /**
29 * Pass a collection (e.g. a clojure list of :kw value pairs) and retrieve pairs of key/value with the key
30 * converted to a string and the leading colon removed. Also performs minimal error checking and is null-tolerant.
31 *
52 Object val = _it.next();
53 if (!key.startsWith(":"))
54 throw new ThinklabRuntimeException("keyword list improperly formatted: key is not a clojure keyword");
55 key = key.substring(1);
56 return new Pair<String, Object>(key, val);
strings.clj (https://gitlab.com/jimador/clojure-studies) Clojure · 68 lines
Stream.java (https://github.com/jabley/clojure.git) Java · 88 lines
ex2_67.clj (git://github.com/grinnbearit/sicp.git) Clojure · 104 lines
trace.clj (https://github.com/ogf/lamina.git) Clojure · 66 lines
tree.clj (https://github.com/odyssomay/seesaw.git) Clojure · 60 lines
12 (:use [seesaw core tree]))
14 (def source "http://www.4clojure.com/problems/rss")
16 ; Make a tree model for some XML using same arguments (branch? and childnre)
17 ; as (clojure.core/tree-seq)
18 (defn load-model []
19 (simple-tree-model
20 (complement string?)
21 (comp seq :content)
22 (clojure.xml/parse source)))
24 ; A custom renderer so that XML elements are displayed nicely
test_util.clj
(git://github.com/richhickey/clojure-contrib.git)
Clojure · 69 lines
✨ Summary
This Clojure code defines a test suite for Datalog utilities, including functions to check variable validity, map values and keys, reverse maps, and merge maps. It uses the clojure.test
namespace for assertions and clojure.contrib.datalog.util
for utility functions. The tests verify the correctness of these functions with various inputs.
This Clojure code defines a test suite for Datalog utilities, including functions to check variable validity, map values and keys, reverse maps, and merge maps. It uses the clojure.test
namespace for assertions and clojure.contrib.datalog.util
for utility functions. The tests verify the correctness of these functions with various inputs.
9 ;; test-util.clj
10 ;;
11 ;; A Clojure implementation of Datalog -- Utilities Tests
12 ;;
13 ;; straszheimjeffrey (gmail)
14 ;; Created 11 Feburary 2009
16 (ns clojure.contrib.datalog.tests.test-util
17 (:use clojure.test
18 clojure.contrib.datalog.util)
19 (:use [clojure.contrib.except :only (throwf)]))
singleton.clj
(git://github.com/richhickey/clojure-contrib.git)
Clojure · 54 lines
✨ Summary
This Clojure code defines two singleton functions: global-singleton
and per-thread-singleton
. The former creates a global singleton function that caches its value for all threads, while the latter creates a per-thread singleton function that caches its value for each thread separately. Both functions take a function f
as an argument, which is called to create and return some object when the singleton function is first invoked.
This Clojure code defines two singleton functions: global-singleton
and per-thread-singleton
. The former creates a global singleton function that caches its value for all threads, while the latter creates a per-thread singleton function that caches its value for each thread separately. Both functions take a function f
as an argument, which is called to create and return some object when the singleton function is first invoked.
core.clj (git://github.com/leadtune/clj-drmaa.git) Clojure · 54 lines
voice.clj (git://github.com/sethtrain/clj-twilio.git) Clojure · 48 lines
test_x86.clj (git://github.com/mikedouglas/MiniJava.git) Clojure · 49 lines
README.md (git://github.com/darrenaustin/euler-clojure.git) Markdown · 65 lines
1 # euler-clojure
3 My solutions to the [Project Euler][1] problems written in the
4 [Clojure][2] programming language. I am doing this for fun and
5 profit. But mostly fun. It is a great way to learn a new programming
6 language and excercise some math muscles (although some of the math
9 Given that, these are just my solutions to the problems. There may be
10 cleaner, or more idiomattic ways to do this in Clojure (if so, please
11 drop me a line and let me know). I am learning as I go, so some of
12 the early solutions might be a little off.
21 ## Usage
23 Currently this project requires Clojure 1.2. I will update it to 1.3
24 sometime soon. I use `lein swank` to get a REPL up and running with the
25 right environment setup. To run the solutions:
tuple_test.clj (git://github.com/nathanmarz/storm.git) Clojure · 51 lines
welcome.html
(git://github.com/semperos/clj-webdriver.git)
HTML · 49 lines
✨ Summary
This HTML code displays a minimalist website with a brief introduction to Ministache, a mini Moustache application used for testing clj-webdriver project. It includes links to external dependencies and a table summarizing the purpose of three pages: welcome.html, form.html, and clojure.html. The page also contains a paragraph praising Clojure programming language.
This HTML code displays a minimalist website with a brief introduction to Ministache, a mini Moustache application used for testing clj-webdriver project. It includes links to external dependencies and a table summarizing the purpose of three pages: welcome.html, form.html, and clojure.html. The page also contains a paragraph praising Clojure programming language.
7 <li class="first odd">welcome.html</li>
8 <li class="even">form.html</li>
9 <li class="last odd">clojure.html</li>
10 </ol>
28 </tr>
29 <tr>
30 <td>clojure.html (row 3, cell 1)</td>
31 <td>Test window handling (row 3, cell 2)</td>
32 </tbody>
33 </table>
35 <p>By the way, Clojure <a href="/clojure" target="_blank">is amazing!</a> for the following reasons:</p>
37 <ul id="clojure-reasons">
singleton.clj
(git://github.com/clojure/clojure-contrib.git)
Clojure · 54 lines
✨ Summary
This Clojure code defines two singleton functions: global-singleton
and per-thread-singleton
. The former creates a global singleton function that caches its value for all threads, while the latter creates a per-thread singleton function that caches its value for each thread separately. Both functions take a function f
as an argument, which is called to create and return some object when the singleton function is first invoked.
This Clojure code defines two singleton functions: global-singleton
and per-thread-singleton
. The former creates a global singleton function that caches its value for all threads, while the latter creates a per-thread singleton function that caches its value for each thread separately. Both functions take a function f
as an argument, which is called to create and return some object when the singleton function is first invoked.
test_responses.clj (git://github.com/malcolmsparks/plugboard.git) Clojure · 54 lines
17 (ns plugboard.demos.forms.test-responses
18 (:use
19 clojure.test
20 compojure.core
21 plugboard.demos.jetty-fixture
22 clojure.data.zip.xml
23 plugboard.util)
24 (:require
25 [clj-http.client :as http]
26 [ring.util.codec :as codec]
27 [clojure.string :as string]
28 plugboard.demos.forms.configuration))
cgol.clj (git://github.com/VivienBarousse/cgol.git) Clojure · 99 lines
event_handlers.clj (git://github.com/samaaron/monome-serial.git) Clojure · 58 lines
fn.clj (git://github.com/cjfrisz/clojure-tco.git) Clojure · 66 lines
craig.clj (git://github.com/alvinlai/vision.git) Clojure · 77 lines
tables_test.clj (https://github.com/metabase/metabase.git) Clojure · 41 lines
account.clj (git://github.com/weavejester/capra.git) Clojure · 71 lines
README.md (https://github.com/dvcrn/markright.git) Markdown · 68 lines
collada_scene_test.clj (https://github.com/defold/defold.git) Clojure · 46 lines
tar_install.clj (https://github.com/defold/defold.git) Clojure · 51 lines
project.clj (git://github.com/cemerick/url.git) Clojure · 37 lines
1 (defproject com.cemerick/url "0.1.2-SNAPSHOT"
2 :description "Makes working with URLs in Clojure a little more pleasant."
3 :url "http://github.com/cemerick/url"
4 :license {:name "Eclipse Public License"
5 :url "http://www.eclipse.org/legal/epl-v10.html"}
6 :dependencies [[org.clojure/clojure "1.5.1"]
7 [pathetic "0.5.0"]
8 [org.clojure/clojurescript "0.0-1835" :optional true]]
12 :aliases {"cleantest" ["do" "clean," "cljx" "once," "test,"
13 "cljsbuild" "once," "cljsbuild" "test"]}
14 :profiles {:dev {:dependencies [[com.cemerick/clojurescript.test "0.0.4"]
15 [com.keminglabs/cljx "0.3.0"]
16 [com.cemerick/piggieback "0.0.5"]]
layout.html (git://github.com/tomfaulhaber/autodoc.git) HTML · 48 lines
5 <link rel="icon" href="static/favicon.png">
6 <link rel="shortcut icon" href="static/favicon.png">
7 <link rel="stylesheet" href="static/clojure.css" type="text/css" media="all" />
8 <link rel="stylesheet" href="static/wiki.css" type="text/css" media="all" />
9 <link rel="stylesheet" href="static/internal.css" type="text/css" media="all" />
11 </head>
12 <!--
13 This document was auto-generated from the source by the clojure autodoc system.
14 To report errors or ask questions about the overall documentation structure, formatting,
15 etc., contact Tom Faulhaber (google mail name: tomfaulhaber).
20 <div id="AllContentContainer">
21 <div id="Header">
22 <a href="index.html" id="Logo"><img src="static/clojure-icon.gif" width="100" height="100" alt="Clojure" /></a>
23 <h1><a href="index.html" id="page-header"
24 title="page header title">Page header</a></h1>
loggers.cljc (https://github.com/Day8/re-frame.git) Clojure · 51 lines
1 (ns re-frame.loggers
2 (:require
3 [clojure.set :refer [difference]]
4 #?@(:clj [[clojure.string :as str]
5 [clojure.tools.logging :as log]])))
7 #?(:clj (defn log [level & args]
27 (js/console.groupEnd.bind js/console)
28 #())})
29 ;; clojure versions
30 #?(:clj {:log (partial log :info)
31 :warn (partial log :warn)
pprint.clj (git://github.com/richhickey/clojure.git) Clojure · 48 lines
1 ;;; pprint.clj -- Pretty printer and Common Lisp compatible format function (cl-format) for Clojure
3 ; Copyright (c) Rich Hickey. All rights reserved.
14 (ns
15 ^{:author "Tom Faulhaber",
16 :doc "A Pretty Printer for Clojure
18 clojure.pprint implements a flexible system for printing structured data
23 Out of the box, pprint supports a simple structured format for basic data
24 and a specialized format for Clojure source code. More advanced formats,
25 including formats that don't look like Clojure data at all like XML and
30 Common Lisp. Because pretty printing directives are directly integrated with
31 cl-format, it supports very concise custom dispatch. It also provides
32 a more powerful alternative to Clojure's standard format function.
34 See documentation for pprint and cl-format for more information or
proc.java.heap.rst (https://github.com/leancloud/satori.git) ReStructuredText · 64 lines
user.clj (https://github.com/vlaaad/reveal.git) Clojure · 56 lines
1 (ns user
2 (:require [clojure.spec.test.alpha :as stest])
3 (:import [clojure.lang PersistentQueue]
33 :array-list (doto (ArrayList.) (.add 1) (.add 2) (.add 3))
34 :linked-list (doto (LinkedList.) (.add '/) (.add 1) (.add :a))}
35 :clojure {:set #{:a :b :c}
36 :map {:foo "bar"}
37 :list '(+ 1 2 3)
e01_loom_formatters_and_actions.clj (https://github.com/vlaaad/reveal.git) Clojure · 61 lines
test-helper.el (git://github.com/technomancy/clojure-mode.git) Emacs Lisp · 59 lines
1 ;;; test-helper.el --- Clojure Mode: Non-interactive unit-test setup -*- lexical-binding: t; -*-
3 ;; Copyright (C) 2014-2020 Bozhidar Batsov <bozhidar@batsov.com>
31 (load-prefer-newer t))
32 ;; Load the file under test
33 (load (expand-file-name "clojure-mode" source-directory)))
35 (defmacro with-clojure-buffer (text &rest body)
36 "Create a temporary buffer, insert TEXT, switch to clojure-mode and evaluate BODY."
37 (declare (indent 1))
38 `(with-temp-buffer
39 (erase-buffer)
40 (insert ,text)
41 (clojure-mode)
42 ,@body))
cljs_SLASH_analyzer_SLASH_macros.clj (https://github.com/viebel/klipse.git) Clojure · 56 lines
to_widget.clj (https://github.com/KevinKelley/seesaw.git) Clojure · 65 lines
IPersistentCollection.cs (https://github.com/101v/clojure-clr.git) C# · 56 lines
2010-06-01-path-finding-using-astar-in-clojure.org (https://github.com/nakkaya/nakkaya.com.git) Org · 277 lines
1 #+title: Path Finding Using A-Star in Clojure
2 #+tags: clojure path-finding
4 For a recent project, I had to implement A* (A-Star) in Clojure, since
5 it's a very popular path finding algorithm used in gaming I thought it
6 might be interesting to other clojurians too.
44 between nodes.
46 #+begin_src clojure
47 (def maze1 [[0 0 0 0 0 0 0]
48 [0 0 0 1 0 0 0]
55 walkable nodes and 1 denoting non walkable nodes.
57 #+begin_src clojure
58 (defn manhattan-distance [[x1 y1] [x2 y2]]
59 (+ (Math/abs ^Integer (- x2 x1)) (Math/abs ^Integer (- y2 y1))))
template.clj (https://gitlab.com/hcaty/clojure) Clojure · 55 lines
sort.cljc (https://github.com/xsc/claro.git) Clojure · 59 lines
1 (ns claro.projection.sort
2 (:refer-clojure :exclude [sort-by])
3 (:require [claro.projection
4 [protocols :as p]
16 (fn [sort-keys]
17 (->> (map vector sort-keys sq)
18 (clojure.core/sort-by first)
19 (mapv second)))
20 [sort-template]
38 the resulting sorted sequence.
40 ```clojure
41 (-> [{:index 3, :value 'third}
42 {:index 1, :value 'first}
util_test.clj (https://github.com/amperity/lein-monolith.git) Clojure · 51 lines
pedestal_test.clj (https://github.com/metosin/reitit.git) Clojure · 43 lines
css_reloading.md (https://github.com/bhauman/figwheel-main.git) Markdown · 74 lines
48 `:css-dirs` config to the metadata in the build file like so:
50 ```clojure
51 ^{:css-dirs ["resources/public/css"]}
52 {:main example.core}
55 Or you can set it for all builds and compiles in the `figwheel-main.edn`:
57 ```clojure
58 {:css-dirs ["resources/public/css"]
59 ;; rest of the config
65 ```shell
66 clojure -m figwheel.main -b dev -r
67 ```
webpack.config.js (https://github.com/cliqz-oss/browser-f.git) JavaScript · 58 lines
bookmark.cljs (https://github.com/Cirru/calcit-editor.git) ClojureScript · 65 lines
challenge_3_4.clj (https://github.com/onyx-platform/learn-onyx.git) Clojure · 69 lines
datafy_test.clj (https://github.com/borkdude/babashka.git) Clojure · 75 lines
1 (ns babashka.datafy-test
2 (:require [babashka.test-utils :as tu]
3 [clojure.edn :as edn]
4 [clojure.test :as t :refer [deftest is testing]]))
9 (deftest datafy-test
10 (testing "default implementation of datafy works"
11 (is (= #{:public} (bb "(require '[clojure.datafy :as d]) (:flags (d/datafy Exception))"))))
12 (testing "custom implementation of datafy works"
13 (is (= {:number 1} (bb "
14 (require '[clojure.datafy :as d]
15 '[clojure.core.protocols :as p])
24 (testing "implement datafy via metadata"
25 (is (= {:datafied []} (bb "
26 (require '[clojure.datafy :as d]
27 '[clojure.core.protocols :as p])
core.clj (https://github.com/furkan3ayraktar/clojure-polylith-realworld-example-app.git) Clojure · 45 lines
README.md (https://github.com/jackrusher/geometer.git) Markdown · 56 lines
testing.md (https://github.com/nervous-systems/cljs-lambda.git) Markdown · 67 lines
3 While it's strongly suggested that Lambda functions are minimal abstractions of
4 the execution environment (i.e. input/output processing only, delegating to
5 generic Clojurescript functions), there are times when it's going to make sense
6 to test the entry points off of EC2.
18 ### Example
20 ```clojure
21 (deflambda testable [x ctx]
22 (go
30 ### Example
32 ```clojure
33 (def fs (.promisifyAll promesa/Promise (nodejs/require "fs")))
home_view_test.clj (https://github.com/mderosa/nimcram.git) Clojure · 48 lines
mail_test.clj (https://github.com/mderosa/nimcram.git) Clojure · 54 lines
acl_util.clj (https://github.com/nasa/Common-Metadata-Repository.git) Clojure · 33 lines
README.md (https://github.com/nasa/Common-Metadata-Repository.git) Markdown · 67 lines
4 [![Clojars Project][clojars-badge]][clojars]
5 [![Tag][tag-badge]][tag]
6 [![Clojure version][clojure-v]](project.clj)
8 [![][logo]][logo-large]
57 [tag-badge]: https://img.shields.io/github/tag/cmr-exchange/dev-env-manager.svg
58 [tag]: https://github.com/cmr-exchange/dev-env-manager/tags
59 [clojure-v]: https://img.shields.io/badge/clojure-1.8.0-blue.svg
60 [jdk-v]: https://img.shields.io/badge/jdk-1.7+-blue.svg
61 [clojars]: https://clojars.org/gov.nasa.earthdata/cmr-dev-env-manager
rtiming.clj (https://github.com/siclait/6.824-cljlabs-2020.git) Clojure · 64 lines
run_tests_i.clj
(git://github.com/richhickey/clojure-clr.git)
Clojure · 60 lines
✨ Summary
This Clojure code runs a series of tests from various namespaces, prints the total number of errors and failures encountered during testing. The output is used to determine whether the test suite has completed successfully or not. It’s likely being used in an automated testing environment to report on test results.
This Clojure code runs a series of tests from various namespaces, prints the total number of errors and failures encountered during testing. The output is used to determine whether the test suite has completed successfully or not. It’s likely being used in an automated testing environment to report on test results.
1 (ns clojure.test-clojure (:require clojure.test))
3 (def test-namespaces '[
4 clojure.test-clojure.agents
5 ;;;clojure.test-clojure.annotations
6 clojure.test-clojure.atoms
7 clojure.test-clojure.clojure-set
8 clojure.test-clojure.clojure-walk
9 ;;;clojure.test-clojure.clojure-xml
10 clojure.test-clojure.clojure-zip
11 clojure.test-clojure.compilation
12 clojure.test-clojure.control
encodings.clj (https://github.com/burke/skyway.git) Clojure · 66 lines
10 "Functions for encoding data."
11 (:use skyway.str-utils)
12 (:use clojure.contrib.duck-streams)
13 (:import java.net.URLEncoder)
14 (:import java.net.URLDecoder)
48 (defn marshal
49 "Serialize a Clojure object in a base64-encoded string."
50 [data]
51 (base64-encode (pr-str data)))
53 (defn unmarshal
54 "Unserialize a Clojure object from a base64-encoded string."
55 [marshaled]
56 (read-string (base64-decode marshaled)))
orderedmap_test.cljc (https://github.com/hyperfiddle/hyperfiddle.git) Clojure · 56 lines
error-handling.md (https://github.com/coast-framework/coast.git) Markdown · 58 lines
5 * [Custom Errors](#user-content-custom-errors)
7 Coast attempts to make clojure exceptions a little nicer by offering two functions: `raise` and `rescue`
9 In this guide, we learn how clojure exceptions are raised, how to write logic around them and finally creating your own custom exceptions.
12 Exceptions are great since they halt the program at a certain stage and make sure everything is correct before proceeding.
14 Exceptions, especially in clojure, are usually just treated as insane, indecipherable walls of text that tell devs that *something* went wrong, go dive in and find it.
16 By default, Coast handles all exceptions for you and displays them in a nice format during development. However, you are free to handle exceptions however you want.
22 Here's how `raise` works with one argument
24 ```clojure
25 (raise {:message "This is an error with a message key"})
26 ```
load_all.clj (https://github.com/digash/clojure-contrib.git) Clojure · 91 lines
15 ;; This file simple attempts to "require" every library in
16 ;; clojure-contrib. The names of all contrib libs (minus the
17 ;; "clojure.contrib" part) are in *all-contrib-libs*. Libraries which
18 ;; throw errors when loading under the latest trunk SVN revisions of
19 ;; Clojure and clojure-contrib are commented out.
20 ;;
21 ;; This is only intended to check that the libraries will load without
23 ;; defined using test-is, you can run them with:
24 ;;
25 ;; (clojure.test/run-all-tests)
26 ;;
27 ;; If you write a new lib, please add it to the list in this file.
30 (ns clojure.contrib.load-all)
32 (def *all-contrib-libs* '[
configs.cljs (https://github.com/mauricioszabo/atom-chlorine.git) ClojureScript · 49 lines
prerequisites.clj (https://github.com/dnaumov/Midje.git) Clojure · 42 lines
core_test.clj (https://github.com/B2W-BIT/restQL-core.git) Clojure · 53 lines
modes.coffee (https://github.com/increments/kobito-oss.git) CoffeeScript · 44 lines
docker-install.sh (https://github.com/replit/prybar.git) Shell · 86 lines
parse_test.clj (https://github.com/phosphene/cascading-clojure.git) Clojure · 60 lines
1 (ns cascading.clojure.parse-test
2 (:use clojure.test
3 (cascading.clojure parse testing))
4 (:import cascading.tuple.Fields))
15 (deftest test-parse-fn-spec-simple
16 (is (= ["cascading.clojure.parse-test" "example"]
17 (parse-fn-spec #'example))))
19 (deftest test-parse-fn-spec-hof
20 (is (= ["cascading.clojure.parse-test" "example" 3]
21 (parse-fn-spec [#'example 3]))))
steganography.clj (https://github.com/strogo/nakkaya.com.git) Clojure · 71 lines
2018-12-11-Amazon.md (https://github.com/github/dmca.git) Markdown · 25 lines
README.md (https://github.com/gadfly361/reagent-figwheel.git) Markdown · 106 lines
README.md (https://github.com/gadfly361/cljs-todomvc.git) Markdown · 37 lines
1 # Clojurescript TodoMVC Examples by Library
3 - [**Bract** + ClojureScript](https://github.com/bract/demo.todomvc)
4 - [clojurescript](https://github.com/dfuenzalida/todo-cljs)
5 - [**Hoplon**](https://github.com/hoplon/demos/tree/master/todoFRP)
6 - [**Om**](https://github.com/swannodette/todomvc/tree/gh-pages/labs/architecture-examples/om)
items_test.clj (https://github.com/facundoolano/advenjure.git) Clojure · 56 lines
token_navigator.clj (https://github.com/EricThorsen/enclojure.git) Clojure · 58 lines
build.gradle (https://github.com/jondistad/vimclojure.git) Gradle · 83 lines
1 usePlugin 'clojure'
3 group = 'vimclojure'
8 gradleHomeRepo repositories
9 clojureSnapshotsRepo repositories
11 repositories {
15 configurations {
16 clojure {
17 visible = false
18 description = 'Compile only configuration for clojure'
22 dependencies {
23 clojure 'org.clojure:clojure:1.0.0'
24 }
gradle_test.clj (https://github.com/liquidz/antq.git) Clojure · 54 lines
3 [antq.dep.gradle :as sut]
4 [antq.record :as r]
5 [clojure.java.io :as io]
6 [clojure.test :as t]))
25 (java-dependency {:name "org.clojure/tools.namespace" :version "1.0.0"})
26 (java-dependency {:name "org.clojure/clojure" :version "1.10.0"})])
28 (t/deftest extract-deps-test
33 actual-deps (set deps)]
34 ;; NOTE: Gradle on local additionally detects `nrepl/nrepl`
35 ;; And also, gradle on GitHub Actions additionally detects `org.clojure/java.classpath`
36 ;; So we check only dependencies which is explicitly defined in buld.gradle.
37 (t/is (every? #(contains? actual-deps %) defined-deps))))
issue.clj (https://gitlab.com/dzaporozhets/checked.git) Clojure · 69 lines
5b3e968a622b1e3044e9fdf2bc5ca3e6c13bf082project.clj (https://github.com/aliostad/deep-learning-lang-detection.git) Clojure · 41 lines
1 (defproject com.breezeehr/hitch "0.1.7-SNAPSHOT"
2 :description "A Clojurescript library designed to manage and cache derived data."
3 :url "https://github.com/Breezeemr/hitch"
4 :license {:name "Eclipse Public License"
14 :profiles
15 {:provided
16 {:dependencies [[org.clojure/clojure "1.8.0"]
17 [org.clojure/clojurescript "1.8.51"]]}
585fef480ff6366ab1fc1088fa62c2a89121b8cdprotocols.clj (https://github.com/aliostad/deep-learning-lang-detection.git) Clojure · 67 lines
b9c742da3658522f78ebcb09d377eff511c0c613protocol.clj (https://github.com/aliostad/deep-learning-lang-detection.git) Clojure · 63 lines
data_test.clj (https://github.com/techascent/tech.ml.dataset.git) Clojure · 45 lines
extension.clj (https://github.com/didiercrunch/lein-jupyter.git) Clojure · 52 lines
core.clj (https://github.com/trydionel/misc.clj.git) Clojure · 79 lines
README.md (https://github.com/typedclojure/typedclojure.git) Markdown · 64 lines
4 <a href='https://typedclojure.org'><img src='images/part-of-typed-clojure-project.png'></a>
6 Automatic annotator for Typed Clojure and clojure.spec annotations, for JVM Clojure.
8 ## Releases and Dependency Information
10 Latest stable release is 1.0.19.
12 * [All Released Versions](https://clojars.org/org.typedclojure/typed.clj.annotator)
14 [deps.edn](https://clojure.org/reference/deps_and_cli) JAR dependency information:
16 ```clj
17 org.typedclojure/typed.clj.annotator {:mvn/version "1.0.19"}
18 ```
25 org.typedclojure/typed.clj.annotator
26 {:git/url "https://github.com/typedclojure/typedclojure"
27 :deps/root "typed/clj.annotator"
28 :tag "1.0.19"}
dispatch.clj (https://github.com/cgrand/sandbox.git) Clojure · 58 lines
week-202.snip.markdown (https://github.com/freerange/site.git) Markdown · 22 lines
3 After 14 months (including a break), over 3,000 commits and who knows how many story points, bug fixes, data uploads, coffees and cakes, we finished working for GDS on Friday. There are always mixed feelings when leaving a project, particularly one you're so proud of. It's always sad to say goodbye to people you've worked closely with, and it can be hard giving up control of something you've put so much energy into. Luckily we know we've left the project in good hands -- we've been working alongside them for months. And if they think our leaving is a chance to cut-corners, stop testing or let other bad habits creep in, they shouldn't forget [we will be watching them](https://github.com/alphagov/whitehall)!
5 Working on [Inside Government](https://www.gov.uk/government) has been a big commitment, and has taken a bit of energy out of us as a company. So for at least the next month we're going to concentrate on our own projects. For the most part that means improving and promoting [Harmonia](https://harmonia.io), but also includes writing some more blog posts, attending more developer events (such as Clojure eXchange on Thursday) and organising our Christmas.
7 Speaking of which, I hope you're all coming to our Christmas party on the evening of the 19th. Expect mince pies, mulled wine, alcohol, soft drinks and a general overflowing of christmas cheer. Or at least as much as we can summon in our office.
devbuild.clj (https://gitlab.com/wunderwaffle/atompit) Clojure · 59 lines
semaphore_test.clj (https://github.com/twosigma/waiter.git) Clojure · 47 lines
handler.clj (https://github.com/killme2008/ip-service.git) Clojure · 42 lines
temp_test.clj (https://github.com/flosell/lambdacd.git) Clojure · 48 lines
new_datasets.clj (https://github.com/engagor/dl4clj.git) Clojure · 48 lines
far.css (https://github.com/shaunsephton/django-ckeditor.git) CSS · 113 lines
34 .apache .hljs-cbracket,
35 .tex .hljs-command,
36 .clojure .hljs-title,
37 .coffeescript .hljs-attribute {
38 color: #FF0;
54 .bash .hljs-variable,
55 .tex .hljs-special,
56 .clojure .hljs-built_in {
57 color: #FFF;
58 }
75 .smalltalk .hljs-symbol,
76 .smalltalk .hljs-char,
77 .clojure .hljs-attribute {
78 color: #0F0;
79 }
browse.clj (https://github.com/sumbach/clojure-contrib.git) Clojure · 51 lines
1 ;;; browse.clj -- start a web browser from Clojure
3 ; Copyright (c) Christophe Grand, December 2008. All rights reserved.
13 ^{:author "Christophe Grand",
14 :deprecated "1.2"
15 :doc "Start a web browser from Clojure"}
16 clojure.contrib.javadoc.browse
17 (:require [clojure.contrib.shell :as sh])
18 (:import (java.net URI)))
30 [url]
31 (try
32 (when (clojure.lang.Reflector/invokeStaticMethod "java.awt.Desktop"
33 "isDesktopSupported" (to-array nil))
34 (-> (clojure.lang.Reflector/invokeStaticMethod "java.awt.Desktop"
config.clj (https://github.com/epiccastle/spire.git) Clojure · 56 lines
beer_song_test.clj (https://github.com/daniloisr/study.git) Clojure · 47 lines
impexp.clj (https://github.com/rururu/simpro-scene.git) Clojure · 70 lines
doc-1217.html (https://github.com/mmcgrana/clj-doc.git) HTML · 33 lines
1 <div class="doc-item" id="doc-1217"><h2 class="doc-item-name">join<span class="namespace">(clojure.set)</span></h2><ul class="var-arglists"><li>(<span class="var-name">join</span> xrel yrel)</li><li>(<span class="var-name">join</span> xrel yrel km)</li></ul><div class="var-docstring"><p>When passed 2 rels, returns the rel corresponding to the natural
2 join. When passed an additional keymap, joins on the corresponding
3 keys.</p></div><div class="var-source"><pre>; set.clj:99
euler19.clj (https://github.com/chrisrisenhoover/Clojure-Euler.git) Clojure · 97 lines
ragams.clj (https://github.com/ssrihari/ragavardhini.git) Clojure · 79 lines
faken.clj (https://github.com/arrdem/katamari.git) Clojure · 64 lines
soy.clj (https://github.com/duck1123/closure-templates-clj.git) Clojure · 66 lines
1 (ns #^{:doc "Soy helpers." :author "Roman Scherer"}
2 closure.templates.soy
3 (:refer-clojure :exclude (replace))
4 (:import java.io.File java.net.URL java.net.URI)
5 (:use [clojure.contrib.def :only (defvar)]
6 [clojure.string :only (blank? replace)]
7 [inflections.core :only (camelize underscore)]))
field_types.cljs (https://github.com/lupapiste/lupapiste.git) ClojureScript · 46 lines
README.markdown (https://github.com/tcrayford/compojure.git) Markdown · 62 lines
1 Compojure is an open source web framework for the [Clojure](http://clojure.org)
2 programming language. It emphasizes a thin I/O layer and a functional approach
3 to web development.
27 To run Compojure, you'll need:
29 * The [Clojure](http://clojure.org) programming language
30 * The [Clojure-Contrib](http://code.google.com/p/clojure-contrib/) library
index.rst (https://github.com/ayato-p/clojure-beginner.git) ReStructuredText · 41 lines
1 =====================================
2 Clojure で Web 開発をはじめてみよう
3 =====================================
5 Clojure の活用例は多岐に渡りますが、そのうちのひとつ Web 開発についてここでは触れたいと思います。
7 .. raw:: html
9 <iframe src="https://ghbtns.com/github-btn.html?user=ayato-p&repo=clojure-beginner&type=star&count=true" frameborder="0" scrolling="0" width="170px" height="20px"></iframe>
11 まえがき
18 また、この中で書いていくコードは基本的に全て以下のリポジトリにコミットしていくので分からなければそちらも確認ください。
20 * `ayato-p/intro-web-clojure <https://github.com/ayato-p/intro-web-clojure>`_
22 中身について
highlight_theme.css (https://github.com/cozy/cozy.github.io.git) CSS · 139 lines
primitives_test.clj (https://github.com/hpi-xnor/BMXNet-v2.git) Clojure · 45 lines
helpers_test.clj (https://github.com/jwhitlark/tools.nrepl.git) Clojure · 48 lines
9 (ns #^{:doc ""
10 :author "Chas Emerick"}
11 clojure.tools.nrepl.helpers-test
12 (:import (java.io File))
13 (:use [clojure.tools.nrepl-test :only (def-repl-test repl-server-fixture)]
14 clojure.test)
15 (:require
16 [clojure.tools.nrepl :as nrepl]
17 [clojure.tools.nrepl.helpers :as helpers]))
19 (use-fixtures :once repl-server-fixture)
37 (def-repl-test load-file-with-debug-info
38 (repl-receive (helpers/load-file-command
39 (File. "load-file-test/clojure/tools/nrepl/load_file_sample.clj")
40 (File. "load-file-test")))
41 (repl-receive (helpers/load-file-command
core.clj (https://github.com/whacked/pdfblastaxoj.git) Clojure · 64 lines
test_test.clj (git://github.com/aphyr/riemann.git) Clojure · 55 lines
overview.html (https://github.com/thickey/contrib-autodoc.git) HTML · 57 lines
1 <h1 id="toc0">An Overview of the Clojure Core API</h1>
2 <h4>This is API documentation for the latest committed checkin of the Clojure core.</h4>
3 <h3>Important Clojure resources</h3>
4 <ul>
5 <li>The official source code for clojure is on the
6 <a href="http://github.com/richhickey/clojure/">
7 Clojure GitHub source page
8 </a>.
9 </li>
10 <li>Issues and other information for clojure are maintained in the
11 <a href="http://www.assembla.com/spaces/dashboard/index/clojure">
12 Clojure Assembla space
13 </a>.
14 </li>