jq will sort (-S
) the whole file (.
) and compare STDOUT (<()
) with diff
diff <(jq -S . A.json) <(jq -S . B.json)
(ns services.jwt | |
(:require [buddy.sign.jwt :as jwt] | |
[clojure.data.codec.base64 :as b64] | |
[clojure.string :as str] | |
[cheshire.core :as json] | |
[buddy.core.keys :as keys] ;; You need to use [buddy/buddy-core "1.5.0-SNAPSHOT"] | |
[clojure.java.io :as io])) | |
(defn decode-b64 [str] (String. (b64/decode (.getBytes str)))) | |
(defn parse-json [s] |
Jenkinsfile VIM syntax highlighting | |
echo 'au BufNewFile,BufRead Jenkinsfile setf groovy' >> ~/.vimrc |
jq will sort (-S
) the whole file (.
) and compare STDOUT (<()
) with diff
diff <(jq -S . A.json) <(jq -S . B.json)
In your command-line run the following commands:
brew doctor
brew update
#!/bin/bash | |
HOSTS=(PUT, YOUR, HOSTS, HERE) | |
CMD="tail -f logs/api.log" | |
echo "Hit CTRL-C to stop" | |
sleep 0.5 | |
PIDS="" | |
for host in ${HOSTS[*]} | |
do |