Skip to content

Instantly share code, notes, and snippets.

View atroche's full-sized avatar

Alistair Roche atroche

View GitHub Profile
@mfikes
mfikes / clojurists-together-clojurescript.md
Last active December 29, 2023 04:52
Clojurists Together Q2 2018 Funding Round - ClojureScript

This page logs work being done under Clojurists Together Q2 2018 Funding Round towards the ClojureScript project. High level progress reports will be published formally with Clojurists Together, but you can follow here if you are interested in low-level details, progress notes, etc.

Themes

The concrete themes identified include:

  • Fixing CLJS-2702, which prevents us from upgrading to newer versions of Closure Library.
  • Work on highly voted ClojureScript tickets. Please take some time and vote in this list of tickets in need of patches.
  • Work on issues related to NPM dependency management. (In particular NPM issues in the list above will be given extra emphasis).
@jackrusher
jackrusher / wikidata-test.clj
Last active January 8, 2022 10:47
Quick example of using clojure with the Wikidata API to grab some facts about the world.
;;assumes that this package is available:
;;[org.wikidata.wdtk/wdtk-wikibaseapi "0.7.0"]
(import org.wikidata.wdtk.datamodel.interfaces.EntityDocument)
(import org.wikidata.wdtk.datamodel.interfaces.ItemDocument)
(import org.wikidata.wdtk.datamodel.interfaces.PropertyIdValue)
(import org.wikidata.wdtk.wikibaseapi.WikibaseDataFetcher)
(import org.wikidata.wdtk.wikibaseapi.apierrors.MediaWikiApiErrorException)
;; Trying to automatically build a list of the presidents of the US
@bhauman
bhauman / compiler-options-schema.clj
Last active August 8, 2017 21:19
A Schema for ClojureScript Options
(ns cljs.compiler-options-schema
(:require
[clojure.spec :as s]
[clojure.string :as string]
;; for initial dev
[clojure.test :refer [deftest is testing]]))
(defn non-blank-string? [x] (and (string? x) (not (string/blank? x))))
(defonce ^:private registry-ref (atom {}))