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
| global: | |
| scrape_interval: 15s | |
| scrape_configs: | |
| - job_name: 'prometheus' | |
| scrape_interval: 1m | |
| static_configs: | |
| - targets: ['localhost:9090'] | |
| - job_name: 'node' | |
| static_configs: | |
| - targets: ['127.0.0.1:9100'] |
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
| { | |
| "annotations": { | |
| "list": [ | |
| { | |
| "builtIn": 1, | |
| "datasource": { | |
| "type": "grafana", | |
| "uid": "-- Grafana --" | |
| }, | |
| "enable": true, |
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
| #!/usr/bin/env bash | |
| # This script is a very basic password manager for your mac terminal, USE IT AT YOUR OWN RISK, saving passwords in plain text is not safe nor recommended. | |
| # setup: | |
| # place this script in ~/.ssh | |
| # you can create a shortcut to it by placing the code below in your .bashrc/.zshrc/.bash_profile | |
| # alias pass="~/.ssh/passwords.sh" | |
| FILE="$HOME/.ssh/.passwords.json" | |
| TMP_FILE=$(mktemp) |