Skip to content

Instantly share code, notes, and snippets.

View schtobia's full-sized avatar

Tobias Schmidl schtobia

View GitHub Profile

$2a$11$pDk8VFI6qoZ5ezpLHLYsS.eRyO4.JInB6Xp8JXLWUkPRB3rNsn/VG

@schtobia
schtobia / docker-compose.override.yml
Created June 2, 2023 10:59
docker-compose Override for mailcow
version: '2.1'
services:
nginx-mailcow:
labels:
traefik.enable: true
traefik.http.routers.moo.entrypoints: websecure
traefik.http.routers.moo.middlewares: commonSSLHeaders
traefik.http.routers.moo.rule: Host(`${ADDITIONAL_SERVER_NAMES}`)
traefik.htttp.routers.moo.tls: true
@schtobia
schtobia / wslg-x11.service
Created July 26, 2024 11:50
systemd service for bind mounting the WSL X11 socket to /tmp/.X11-unix
# SPDX-License-Identifier: LGPL-2.1-or-later
#
[Install]
WantedBy=multi-user.target
[Unit]
Description=Mount WSL X11 socket
ConditionPathExists=/tmp/.X11-unix
ConditionPathExists=/mnt/wslg/.X11-unix
@schtobia
schtobia / vscode.service
Created November 30, 2024 07:51
systemd service for vscode
[Unit]
After=network.target
[Service]
ExecStart=/home/schtobia/.local/bin/code tunnel
[Install]
WantedBy=default.target
# Install this file under $HOME/.config/systemd/user/vscode.service
@schtobia
schtobia / pre-commit.yaml
Last active December 19, 2025 13:30
a forgejo action for running pre-commit
# SPDX-FileCopyrightText: 2025 Tobias Schmidl
#
# SPDX-License-Identifier: MIT
---
name: pre-commit
on:
pull_request:
push: