| created | modified | ||
|---|---|---|---|
|
|
Quelle: [[@{{citekey}}]]
{% if annotations.length > 0 -%} Hinzugefügt am [[{{importDate | format("YYYY-MM")}}#{{importDate | format("YYYY-MM-DD")}}]]
| #!/bin/bash | |
| certificat=/usr/certificate/example.com/cert.pem | |
| gotify_url="https://push.example.com/message?token=xxxxx" | |
| gotify_title="Synology Certificate Expiry" | |
| function check_certificat () { | |
| if openssl x509 -checkend $((${1}*86400)) -noout -in $certificat; then | |
| return 1 | |
| else |
| using namespace System.Collections.Generic | |
| # Encapsulate an arbitrary command | |
| class PaneCommand { | |
| [string]$Command | |
| PaneCommand() { | |
| $this.Command = ""; | |
| } |
| #!/usr/bin/env bash | |
| # | |
| # Creating and rotating snapshots of LVM volumes | |
| # | |
| # https://gist.github.com/SmartFinn/013dc2670f6605826acfae8e25c11178 | |
| # | |
| # Copyright (c) 2023 Serhii Yeremenko (https://github.com/SmartFinn) | |
| # | |
| # Permission to use, copy, modify, and/or distribute this software for any | |
| # purpose with or without fee is hereby granted. |