Skip to content

Instantly share code, notes, and snippets.

View seppzer0's full-sized avatar
馃實
je collecte des connaissances

Joseph seppzer0

馃實
je collecte des connaissances
View GitHub Profile

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@seppzer0
seppzer0 / tgbotdocker.py
Last active November 20, 2023 08:40
tgbotdocker.py: A compact solution for deploying a Telegram bot via Docker.
import os
import sys
import time
import signal
import subprocess
class TgBotHandler:
"""Handle a Telegram bot in a Docker container easily."""