Skip to content

Instantly share code, notes, and snippets.

@macielsmith
macielsmith / home-bin-prettify
Created March 26, 2018 21:31
prettify json files in git project before comparing
#!/bin/zsh
git diff --name-only | egrep '(dg5|df5|json)$' | xargs ~/.bin/prettify.rb
@macielsmith
macielsmith / Schedules Data Tree
Last active May 4, 2018 18:16
Full JSON data tree from the schedules folder, includes all schedule test points.
{
"$is": "broker/dataNode",
"$writable": "write",
"$type": "dynamic",
"store_open": {
"$is": "broker/dataNode",
"$writable": "write",
"$type": "dynamic",
"time_blocks": {
"$is": "broker/dataNode",
@macielsmith
macielsmith / gist:f9d7cb5309bfa1d94d1fc176ecf4ccda
Created May 30, 2018 17:54
Technical Page Data Tree JSON
{
"$is": "broker/dataNode",
"$writable": "write",
"$type": "dynamic",
"freezer door": {
"@@getHistory": {
"@": "merge",
"type": "paths",
"val": [
"/downstream/etsdb/db/cov/%2Fdata%2Fcobra%2Ftechnical%2Ffreezer door/getHistory"