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 | |
| ################################################################################ | |
| # Talos Linux Cluster Update Script (Generic Version) | |
| ################################################################################ | |
| # This script performs a safe, rolling update of Talos Linux nodes with: | |
| # - Automatic node discovery via kubectl (control plane & worker nodes) | |
| # - Automatic etcd backups before updates | |
| # - Health checks and node readiness validation | |
| # - Graceful upgrade strategy with configuration preservation |
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
| cat /var/log/syslog | grep "PROTO=TCP" | grep -o -P "SRC.{0,20}" | grep -o -P "\b\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\b" | sort -n | uniq -c | sort -n | |
| cat /var/log/syslog | grep "218.63.72.113" | grep -o -P "DPT.{0,6}" | sort -n | uniq -c | sort -n |
Visualisierung mit Grafana: https://nabox.org/
Verwaltung mehrerer NetApps: https://www.netapp.com/us/documentation/active-iq-unified-manager.aspx
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
| // This file was initially generated by Windows Terminal 1.5.10271.0 | |
| // It should still be usable in newer versions, but newer versions might have additional | |
| // settings, help text, or changes that you will not see unless you clear this file | |
| // and let us generate a new one for you. | |
| // To view the default settings, hold "alt" while clicking on the "Settings" button. | |
| // For documentation on these settings, see: https://aka.ms/terminal-documentation | |
| { | |
| "$schema": "https://aka.ms/terminal-profiles-schema", |
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
| lolcat | |
| ponysay | |
| cowsay | |
| sl | |
| hollywood | |
| asciiquarium | |
| oneko | |
| fortunes | |
| fortunes-de |
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 | |
| # add this to your crontab to execute a backup at 4am every day. | |
| # note that the output will be written to /var/log/syslog so you can check if everything works fine. | |
| # 0 4 * * * /bin/bash /opt/scripts/ts3backup.sh 2>&1 | logger -t ts3backup | |
| BACKUPDIR="/opt/backup/ts3server" | |
| TS3SERVERDIR="/home/ts3server/ts3server" | |
| DATETIME=$(date +%Y-%m-%d_%H-%M) | |
| BACKUPFILENAME="${DATETIME}_ts3server.tar.gz" | |
| BACKUPMAXAGE="7" |
NewerOlder