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
| [ | |
| { | |
| "targets": [ | |
| "prometheus.io" | |
| ], | |
| "labels": { | |
| "__meta_datacenter": "london", | |
| "__meta_prometheus_job": "node" | |
| } | |
| } |
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
| 429147289 | |
| 923802499 |
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
| worker_processes auto; | |
| rtmp_auto_push on; | |
| events {} | |
| rtmp { | |
| server { | |
| listen 1935; | |
| listen [::]:1935 ipv6only=on; | |
| application live { | |
| live on; |
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
| #!/bin/bash | |
| set -e | |
| sudo apt update && sudo apt upgrade -y | |
| sudo apt install -y guake git screen jq unzip curl gnupg ca-certificates lsb-release software-properties-common build-essential procps file | |
| curl -fsSL https://get.docker.com | sudo bash | |
| sudo usermod -aG docker $1 | |
| curl -s "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" |
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
| #!/bin/bash | |
| set -e | |
| THIS_ORG=$(cat .org_name) | |
| GIT_SERVER=$((test -f .git_server && cat .git_server) || echo github.com) | |
| for VAR in GH_TOKEN THIS_ORG; do | |
| test -v ${!VAR} && ( echo "$VAR not set, exiting..."; exit 1) | |
| done |
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
| #!/bin/bash | |
| set -e | |
| [[ -s .gist_id ]] || ( echo "No gist id found"; exit 1) | |
| # .gist_id file format: '5230a387ba343d103d9b414be2215a55:gh-update.sh' | |
| export GIST_ID=$(cat .gist_id) | |
| STATUS_CODE=$(curl -w "%{http_code}" -s https://gist.githubusercontent.com/andreyev/${GIST_ID%%:*}/raw/${GIST_ID##*:} -o run.sh) | |
| if [[ ${STATUS_CODE} != "200" ]]; then |
OlderNewer