Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am p-himik on github.
  • I am p_himik (https://keybase.io/p_himik) on keybase.
  • I have a public key whose fingerprint is EC48 AE41 C9F4 ECF2 00F1 2D05 80F1 76DD 4B23 47D5

To claim this, I am signing this object:

(ns prj.compile
(:require [clojure.tools.namespace.find :as ns.find]
[clojure.java.io :as io]
[clojure.string :as string]))
(defn current-classpath []
(vec (.split ^String
(System/getProperty "java.class.path")
(System/getProperty "path.separator"))))
@p-himik
p-himik / text_field.cljs
Last active January 11, 2021 11:40
Material-UI TextField with Reagent
(ns text-field
(:require
[goog.object :as gobj]
[reagent.core]
;; Note that this particular `:require` vector is for shadow-cljs.
;; Other build tools might use different conventions.
["@material-ui/core/TextField" :default TextField]))
;; Copied from `re-com.util`.
(defn deref-or-value