Skip to content

Instantly share code, notes, and snippets.

View kamil-gwozdz's full-sized avatar
🦖

Kamil Gwóźdź kamil-gwozdz

🦖
View GitHub Profile
@kamil-gwozdz
kamil-gwozdz / repro_MAX_EXECUTION_TIME_bug.sh
Last active July 29, 2025 11:25 — forked from chrisplim/repro_ssl_config_bug.sh
Script to reproduce `MAX_EXECUTION_TIME` in vitess 22.0.2
#! /bin/bash
DOCKER_CONTAINER_NAME="test-external-mysql"
MYSQL_IMAGE="mysql:8.0.35"
# cleanup any previous containers/processes
docker stop $DOCKER_CONTAINER_NAME || true
docker rm $DOCKER_CONTAINER_NAME || true
pkill -f etcd
pkill -f vttablet
rm -rf .vtdataroot
@kamil-gwozdz
kamil-gwozdz / car_manager.py
Created November 28, 2023 13:41 — forked from Cistress/car_manager
def increase_score from Scoreboard does not work as intended as the turtle leveled up (at line 40 main script and line 22 scoreboard script)
COLORS = ["red", "orange", "yellow", "green", "blue", "purple"]
STARTING_MOVE_DISTANCE = 5
MOVE_INCREMENT = 10
game_is_on = True
from turtle import Turtle
import random
class CarManager():