export AIRFLOW_HOME=$(pwd)/airflow
mkdir -p ${AIRFLOW_HOME}
mkdir -p ${AIRFLOW_HOME}/dags
cat << EOF > requirements.txt
--constraint https://raw.githubusercontent.com/apache/airflow/constraints-3.2.0/constraints-3.13.txt
apache-airflow==3.2.0
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 | |
| minikube start | |
| gitea_user_name=gitea_admin | |
| repository_name=flux-main | |
| cat <<EOF > "values.yml" | |
| gitea: | |
| admin: |
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
| import collections | |
| import io | |
| import json | |
| import socket | |
| import ssl | |
| import time | |
| import h2 | |
| import h2.connection | |
| import h2.config |
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
| FROM alpine:3.20.3 | |
| WORKDIR /app | |
| ENV QHOME=/app/q | |
| ENV PATH=${PATH}:${QHOME}/l64/ | |
| ENTRYPOINT ["rlwrap", "-r", "/app/q/l64/q"] | |
| RUN apk update \ |
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
| #cloud-config | |
| users: | |
| - name: root | |
| shell: /bin/bash | |
| sudo: "ALL=(ALL) NOPASSWD:ALL" | |
| primary_group: root | |
| groups: sudo | |
| lock_passwd: true | |
| - name: foo | |
| shell: /bin/bash |
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
| import socket | |
| import struct | |
| import sys | |
| import threading | |
| import numpy as np | |
| from qpython import qconnection, MetaData, CONVERSION_OPTIONS | |
| from qpython._pandas import PandasQReader, PandasQWriter | |
| from qpython.qcollection import QTable, qlist, qtable | |
| from qpython.qconnection import MessageType |
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
| FROM ghcr.io/graalvm/native-image-community:21 as build | |
| WORKDIR /workspace/app | |
| COPY .mvn .mvn | |
| COPY mvnw . | |
| COPY pom.xml . | |
| COPY src src | |
| RUN ./mvnw install -Dnative | |
| VOLUME /root/.m2 |
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
| auth_enabled: false | |
| server: | |
| http_listen_port: 3100 | |
| common: | |
| path_prefix: /loki | |
| replication_factor: 1 | |
| ring: | |
| kvstore: |
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
| / Usage: rlwrap q main.q -p 8080 | |
| / Metrics can be viewed at http://localhost:8080/metrics | |
| / extract.q can be downloaded in https://github.com/KxSystems/prometheus-kdb-exporter | |
| system"l /src/prometheus-kdb-test/lib/extract.q" | |
| labelkeys:`city | |
| labelvalues:enlist "Tokyo" | |
| .prom.newmetric[`temperature;`gauge;labelkeys;"Temperature"] |
NewerOlder