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
services: | |
pgadmin: | |
image: dpage/pgadmin4:latest | |
restart: ${RESTART_POLICY:-unless-stopped} | |
environment: | |
- PGADMIN_DEFAULT_EMAIL=sysadmin@domain.tld | |
- PGADMIN_DEFAULT_PASSWORD=3DEmg3a6M6auS7jeN8c | |
- PGADMIN_DISABLE_POSTFIX=1 | |
- SCRIPT_NAME=/pgadmin4 | |
depends_on: |
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
services: | |
webserver: | |
image: ghcr.io/paperless-ngx/paperless-ngx:${VERSION_PAPERLESS:-latest} | |
restart: unless-stopped | |
depends_on: | |
db: | |
condition: service_healthy | |
db: | |
image: docker.io/library/postgres:17 |
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 | |
## Dieses Skript behandelt das Problem, dass bei langer Laufzeit des Skripts die Ausgabe nicht funktioniert | |
## siehe hier: https://stackoverflow.com/a/9173292 | |
LOGFILE="/stat.hiorg-server.de/cron-matomo-archive.log" | |
ERR_LOG="/tmp/cron-matomo-archive.err" | |
## Wenn beim letzten Durchgang ein Fehler auftrat, dann gib diesen jetzt aus und brich ab | |
if [ -f "$ERR_LOG" ] && [ -s "$ERR_LOG" ]; then |
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 | |
set -euo pipefail | |
echo "[INFO] Netzwerk-Konfigurationsskript gestartet" | |
# === Benötigte Befehle === | |
REQUIRED_CMDS=("ip" "grep" "awk" "cut" "sed" "cat" "date" "cp" "basename" "readlink" "ls" "apt") | |
MISSING_CMDS=() |
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
chrome.action.onClicked.addListener(() => { | |
const url = 'https://calendar.google.com'; | |
chrome.windows.create({ | |
url: url, | |
left: 2950, // Anpassung für den zweiten Monitor, der rechts vom ersten Monitor liegt | |
top: -100, | |
width: 2050, | |
height: 1200, | |
type: 'normal' | |
}); |
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
for KEY in $(apt-key --keyring /etc/apt/trusted.gpg list | grep -E "(([ ]{1,2}(([0-9A-F]{4}))){10})" | tr -d " " | grep -E "([0-9A-F]){8}\b" ); do K=${KEY:(-8)}; apt-key export $K | sudo gpg --dearmour -o /etc/apt/trusted.gpg.d/imported-from-trusted-gpg-$K.gpg; done |
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.9" | |
services: | |
carbonio: | |
image: carbonio/ce-single-rhel8:23.10.0 | |
hostname: carbonio.carbonio-system.svc.cluster.local | |
user: zextras | |
# entrypoint: "/opt/zextras/entrypoint.sh" | |
ports: | |
- "25:25" |
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 | |
## Update ipset to let my dynamic ip in | |
## see: https://serverfault.com/a/1002760 | |
## insert the following lines into your firewall config: | |
# ipset -exist create $SET hash:ip | |
# iptables -A INPUT -p tcp -m set --match-set $SET src -m state --state NEW -j ACCEPT | |
SET=sshdyndns | |
HOST=myhostname.dedyn.io |
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 | |
LOGFILE="/tmp/gitlab-registry-garbage-collect.log" | |
REGEXOK='^ok: run: registry: \(pid [0-9]+\) [0-5]s$' | |
gitlab-ctl registry-garbage-collect 2>&1 | grep -Ev '^INFO\[0001\] .+ service=registry .+' | grep -v ' level=info ' >$LOGFILE | |
OK="$(cat $LOGFILE \ | |
| grep -v ' CPU quota undefined' \ |
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
if $programname contains "systemd" and $msg contains "run-docker-runtime" and $msg contains ".mount: Deactivated successfully." then { | |
stop | |
} |
NewerOlder