This file contains 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
FROM alpine:latest | |
RUN apk --no-cache add curl | |
COPY ./otel-config.yaml /etc/otel/config.yaml | |
RUN curl -L https://github.com/open-telemetry/opentelemetry-collector-releases/releases/download/v0.66.0/otelcol-contrib_0.66.0_linux_amd64.tar.gz -o otelcol-contrib.tar.gz | |
RUN tar -xf otelcol-contrib.tar.gz otelcol-contrib | |
EXPOSE 4318 |
This file contains 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
name: "Bump Version" | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
bump-version: | |
name: "Bump Version on main" |
This file contains 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
/* | |
This script deletes production deployments with no aliases. This means that a current live production build should not be deleted. | |
As an extra precaution, it only gets deployments that are more than 7 days old. | |
Use at your own risk | |
*/ | |
import axios, { AxiosError } from "axios" |
This file contains 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
const howDidI = document.getElementById('doInSession.3') | |
const input = document.querySelector('input[type="text"]') | |
let i = 0 | |
const int = setInterval(() => { | |
if (document.querySelectorAll('.insessionCorrect').length > 0) { | |
return clearInterval(int) | |
} | |
input.click() | |
input.value = i |
This file contains 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
function exit_script() { | |
echo $1 | |
ssh -S db-sync-socket -O exit $REMOTE_CREDENTIALS 2> /dev/null | |
exit 1 | |
} | |
function print_usage() { | |
echo "Usage: -d databasename -m host [-h]" | |
exit 0 | |
} |