$2a$11$pDk8VFI6qoZ5ezpLHLYsS.eRyO4.JInB6Xp8JXLWUkPRB3rNsn/VG
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
| # SPDX-FileCopyrightText: 2025 Tobias Schmidl | |
| # | |
| # SPDX-License-Identifier: MIT | |
| --- | |
| name: pre-commit | |
| on: | |
| pull_request: | |
| push: |
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
| map $ssl_client_s_dn $ssl_client_s_dn_cn { | |
| default ""; | |
| ~/CN=(?<CN>[^/]+) $CN; | |
| } | |
| server { | |
| listen 80; | |
| listen [::]:80; | |
| listen 443 ssl; |
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/sh | |
| [ ! -d "$1" ] && echo "$1 is not a valid directory." && exit 1; | |
| trap "umount \"${1}\"/tmp \"${1}\"/dev/null \"${1}\"/dev/pts \"${1}\"/dev/random \"${1}\"/dev/shm \"${1}\"/dev/urandom \"${1}\"/proc" EXIT INT TERM HUP PIPE && | |
| mount --bind /tmp "${1}/tmp" && \ | |
| mount --bind /dev/null "${1}/dev/null" && \ | |
| mount --bind /dev/pts "${1}/dev/pts" && \ | |
| mount --bind /dev/random "${1}/dev/random" && \ | |
| mount --bind /dev/shm "${1}/dev/shm" && \ | |
| mount --bind /dev/urandom "${1}/dev/urandom" && \ | |
| mount --bind /proc "${1}/proc" && \ |
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
| [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 |
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
| # 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 |
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
| 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 |
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
| --- | |
| version: "3.7" | |
| services: | |
| motioneye: | |
| image: ccrisan/motioneye:master-armhf | |
| init: true | |
| ports: | |
| - "8081:8081" | |
| - "80:8765" | |
| environment: |
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/sh | |
| [ "$#" -lt 2 ] && { echo "Usage: $0 <outputfile> <inputfile> ..."; exit 1; } | |
| output_file="$1" | |
| shift | |
| gs -dBATCH -dNOPAUSE -dPDFSETTINGS=/prepress -sDEVICE=pdfwrite -o "$output_file" $@ |
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 | |
| # Usage: debdiffconf.sh <filename> | |
| # Produce on stdout, a diff of <filename> against the first installed Debian | |
| # package found that provides it. | |
| # Returns the exit code of diff if everything worked, 3 or 4 otherwise. | |
| base_name=$(basename $0) | |
| required=( apt-get apt-file diff dpkg-deb dpkg-query realpath) |
NewerOlder