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
W0723 21:06:24.409395 10832 log.go:39] Failed to read in config : Config File "vtconfig" Not Found in "[/Users/chris.lim/dev/vitess]". This is optional, and can be ignored if you are not using config files. For a detailed explanation, see https://github.com/vitessio/vitess/blob/main/doc/viper/viper.md#config-files. | |
I0723 21:06:24.409465 10832 servenv_unix.go:57] Version: 22.0.2-SNAPSHOT (Git revision bd93732ecd2da4ad1a63909466a9ebe08b3b4f28 branch 'release-22.0') built on Wed Jul 23 21:04:41 PDT 2025 by chris.lim@Christophers-MacBook-Pro-2.local using go1.24.4 darwin/arm64 | |
I0723 21:06:24.411654 10832 streamlog.go:203] Streaming logs from TabletServer at /debug/querylog. | |
I0723 21:06:24.411704 10832 streamlog.go:203] Streaming logs from TxLog at /debug/txlog. | |
Error: invalid config: Connections using insecure transport are prohibited while --require_secure_transport=ON. (errno 3159) (sqlstate HY000) | |
Usage: | |
vttablet [flags] | |
Examples: |
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 | |
DOCKER_CONTAINER_NAME="test-external-mysql" | |
MYSQL_IMAGE="mysql:8.0.35" | |
# Generate SSL certificates first | |
# Create directory for certificates | |
mkdir -p certs | |
cd certs |
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 contextlib import contextmanager | |
from typing import Iterator | |
from sqlalchemy import BigInteger, Engine, create_engine | |
from sqlalchemy.engine.url import URL | |
from sqlalchemy.orm import DeclarativeBase, Mapped, Session, mapped_column | |
Column = mapped_column | |
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
name: CI | |
run-name: CI - ${{ github.head_ref || github.ref }} | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
concurrency: |
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
time="2022-09-05T00:51:00Z" level=info msg="Started syncing Analysis at (2022-09-05 00:51:00.337436032 +0000 UTC m=+236440.858005604)" analysisrun=dryrun-rollout-b9f5d4588-2-pre namespace=default | |
time="2022-09-05T00:51:00Z" level=info msg="Created Pre Promotion AnalysisRun" analysisrun=dryrun-rollout-b9f5d4588-2-pre namespace=default rollout=dryrun-rollout | |
time="2022-09-05T00:51:00Z" level=info msg="Running initial measurement" analysisrun=dryrun-rollout-b9f5d4588-2-pre metric=test namespace=default | |
time="2022-09-05T00:51:00Z" level=info msg="Taking 1 Measurement(s)..." analysisrun=dryrun-rollout-b9f5d4588-2-pre namespace=default | |
time="2022-09-05T00:51:00Z" level=info msg="job default/28a63bb7-5451-4a40-88ef-dcd8ea7b1de6.test.1 created" analysisrun=dryrun-rollout-b9f5d4588-2-pre metric=test namespace=default | |
time="2022-09-05T00:51:00Z" level=info msg="Patch status successfully" analysisrun=dryrun-rollout-b9f5d4588-2-pre namespace=default | |
time="2022-09-05T00:51:00Z" level=info msg="Reconciliation completed" an |
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
# dryrun-manifests.yaml | |
apiVersion: argoproj.io/v1alpha1 | |
kind: Rollout | |
metadata: | |
name: dryrun-rollout | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: | |
app: dryrun |
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 sys | |
import math | |
class Game: | |
def __init__(self, width, height): | |
self.room_type_grid = [[0]*width for _ in range(height)] | |
self.prev_x = None | |
self.prev_y = None | |
def get_next_position(self, x, y): |