useful for checking query results
curl -O https://artifacts.elastic.co/downloads/kibana/kibana-6.2.4-darwin-x86_64.tar.gz
shasum -a 512 kibana-6.2.4-darwin-x86_64.tar.gz
tar -xzf kibana-6.2.4-darwin-x86_64.tar.gz
cd kibana-6.2.4-darwin-x86_64/| // run-local copies envars and applies locally | |
| ./scripts/run-local | |
| export ELASTICSEARCH_HOST=localhost:9200 | |
| export S3_BUCKET_NAME=test-bucket-help-api-suggest | |
| export ENVIRONMENT=dev | |
| export AWS_REGION=eu-central-1 | |
| // export AWS_PROFILE=dazndev |
| /** | |
| * Fisher-Yates in-place sort | |
| * @param {Array} primitive items. | |
| */ | |
| const shuffle = a => { | |
| for (let i = a.length - 1; i > 0; i--) { | |
| const j = Math.floor( | |
| Math.random() * (i + 1) | |
| ); | |
| [a[i], a[j]] = [a[j], a[i]]; |
| # NTP Server DNS Redirect List for AdGuard Home | |
| # | |
| # Purpose: Redirect all common NTP time server domains to your local NTP server | |
| # Usage: Add as custom filter list in AdGuard Home (Filters → Custom filtering rules) | |
| # Or host on GitHub Gist and add as URL-based filter | |
| # | |
| # Replace 10.0.10.1 with your local NTP server IP | |
| # | |
| # Last updated: 2025-02-12 | |
| # |