Something like Useful commands for jq
- to play around: https://jqplay.org/
It helps you synchronizing your code, your-dashboard.json
and quickly iterated result from the GUI, without pain.
- Grafana dashboards must live inside of code repository if it is to be deployed in multiple places.
- Currently I don't buy the story of using
jsonnet
orgrafonnet
to maintain the dashboard as a code because it's one directional.
My note below is based on https://gist.github.com/readywater/49a9fbc415141aeb02d2f1e15e643f70 but modifed it to make it work for me in 15th Aug 2021, Remarkable 2 version 2.8.0.98.
the official installation instruction is here, https://toltec-dev.org/#install-toltec
# SSH into the remarkable
ssh root@
kubectl
should support port-forwarding with service name but it doesn'tk9s
does though 👍🏼- So this script mimics its behavior
credits:
progrm + m
=>m_querty.txt
(macOS)progrm + w
=>w_querty.txt
(Windows)
Make sure to open a editor that your keyboard can print (type) it out.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.PHONY: up | |
up: ## assuming you want to run something like shell scripts relatively | |
up: | |
sleep 8 && nomad ui& | |
MY_REPO_TOP_LEVEL=$(shell git rev-parse --show-toplevel) nomad agent -dev -bind 0.0.0.0 -log-level INFO |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package collection | |
# Map | |
my_add(x, y) = x + y | |
map_add[x] = val { | |
col := input.col | |
delta := input.delta |