Skip to content

Instantly share code, notes, and snippets.

View jonas-merkle's full-sized avatar
🎓
studying...

Jonas Merkle [JJM] jonas-merkle

🎓
studying...
View GitHub Profile
@jonas-merkle
jonas-merkle / docker-compose.yml
Created October 31, 2024 16:46
Docker Compose configuration for setting up a Redis container with a health check
# Docker Compose configuration for setting up a Redis container with a health check
#
# This configuration pulls the latest Redis image and sets up a health check
# to monitor if the Redis service is running properly. The health check uses
# the 'redis-cli ping' command, which returns 'PONG' if Redis is healthy.
#
# Optional configurations include volume mounting for persistence, logging setup,
# and security options.
services:
@jonas-merkle
jonas-merkle / docker-compose.yml
Last active September 4, 2025 00:36
Docker Compose configuration for setting up a PostgreSQL container with a health check
# Docker Compose configuration for setting up a PostgreSQL container with a health check
#
# This configuration pulls the latest PostgreSQL image and sets up a health check
# to monitor if the PostgreSQL service is ready to accept connections. The health check
# uses the 'pg_isready' command to check database readiness.
#
# Environment variables are used to configure PostgreSQL credentials and database settings.
services:
postgres:
@jonas-merkle
jonas-merkle / StepperAndAS5047P.cpp
Last active April 10, 2021 12:08
This demo software reads an AS5047P sensor while generating a pulse series to control a stepper motor which is connected to an A4988 stepper driver.
/**
* @file StepperAndAS5047P.cpp
* @author Jonas Merkle [JJM] ([email protected])
* @brief This software reads an AS5047P sensor while generating a pulse series
* to control a stepper motor which is connected to an A4988 stepper driver.
* @version 0.2
* @date 2021-04-10
*
* @copyright Copyright (c) 2021
*