Skip to content

Instantly share code, notes, and snippets.

@hsartoris-bard
hsartoris-bard / diff-util.clj
Last active January 27, 2022 17:08
Strip unchanged values from a deep-diff2 report
;; solution attempt for https://github.com/lambdaisland/deep-diff2/issues/13
(require '[clojure.walk :refer [postwalk]]
lambdaisland.deep-diff2.diff-impl
'[lambdaisland.deep-diff2 :as ddiff])
(import '[lambdaisland.deep_diff2.diff_impl Mismatch Deletion Insertion])
(defn diff-item?
"Checks if x is a Mismatch, Deletion, or Insertion"
[x]
@hsartoris-bard
hsartoris-bard / build.gradle
Created October 12, 2020 16:45
cas-server-support-webauthn jackson version override
buildscript {
repositories {
/* ... */
}
apply from: rootProject.file("gradle/overrides.gradle")
dependencies {
/* ... */
}