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
| # FlipControl-GUI.ps1 - All-in-one Samsung Flip control GUI | |
| # Requirements: | |
| # - Windows 10/11 with PowerShell 5.1 or newer | |
| # - A WSL distribution (e.g. Debian 12 "Trixie" or Ubuntu) installed and configured | |
| # - Inside WSL, the package "python3-samsung-mdc" must be installed and the command "samsung-mdc" callable | |
| # Example (Debian/Ubuntu in WSL): sudo apt-get update && sudo apt-get install -y python3-samsung-mdc | |
| # - Network connectivity from WSL to the Samsung Flip displays (TCP port 1515) | |
| # Device configuration (per Samsung Flip): | |
| # - On the Flip: Settings => System => Advanced System => Remote Management: | |
| # * Remote Management : Active |
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 | |
| # POSIX /bin/sh – OPNsense kompatibel | |
| # Sortiert <restartActions> stabil: Copy-* → Sent-* → Reload-* → Restart-* | |
| # und sortiert JEDE Gruppe alphabetisch nach Action-Name. | |
| # Usage: | |
| # ./sort_acme_restart_actions_posix.sh # anwenden | |
| # ./sort_acme_restart_actions_posix.sh -n # Dry-Run | |
| # CERT_UUID=<uuid> ./sort_acme_restart_actions_posix.sh # nur dieses Zertifikat | |
| # vorsichtig sein, wenn gerade acme.sh läuft |
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 | |
| CFG="/conf/config.xml" | |
| for cuuid in $(xmllint --xpath "//AcmeClient/certificates/certificate/@uuid" "$CFG" \ | |
| | sed 's/uuid="/\n/g' | sed 's/"//g' | awk NF); do | |
| csv=$(xmllint --xpath "string(//AcmeClient/certificates/certificate[@uuid='$cuuid']/restartActions)" "$CFG" 2>/dev/null) | |
| [ -z "$csv" ] && continue | |
| echo "Certificate $cuuid:" | |
| OLDIFS=$IFS |
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 | |
| # Lite Access: | |
| # AccountID 0 | |
| # LicenseKey 000000000000 | |
| # EditionIDs GeoLite2-Country GeoLite2-City | |
| # Licensed Access: | |
| # AccountID 12345 | |
| # LicenseKey abcdefghijkl |
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 /etc/cron.daily/wordpress | |
| #!/bin/sh | |
| set -e | |
| WWW_USER="www-data" | |
| WWW_PATH="/var/www" | |
| WPCLI_UPDATE=`wp cli check-update --allow-root 2>/dev/null \ | |
| | grep -v "Success: WP-CLI is at the latest version." | wc -l` |
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
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| ## to use this Vagrantfile you need: | |
| ## Virtualbox: http://www.virtualbox.org | |
| ## Vagrant: http://www.vagrantup.com | |
| ## and if you need cleanup scripts for e.g. additional external destroy | |
| ## functionality ( https://github.com/emyl/vagrant-triggers ) run: | |
| # vagrant plugin install vagrant-triggers |
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
| RESCUE puppet-optimus:~ # sed -e 's/^.*open("\([^"]*\)".*/\1/' strace-working.out | sort -u | |
| /bin/duplicity | |
| /bin/duply | |
| /bin/which | |
| /dev/null | |
| /dev/tty | |
| /dev/urandom | |
| /etc/duply/rear-test/. | |
| /etc/duply/rear-test/conf | |
| /etc/group |
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
| open("/etc/ld.so.cache", O_RDONLY) = 3 | |
| open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY) = 3 | |
| open("/etc/ld.so.cache", O_RDONLY) = 3 | |
| open("/lib/x86_64-linux-gnu/libtinfo.so.5", O_RDONLY) = 3 | |
| open("/lib/x86_64-linux-gnu/libdl.so.2", O_RDONLY) = 3 | |
| open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY) = 3 | |
| open("/dev/tty", O_RDWR|O_NONBLOCK) = 3 | |
| open("/proc/meminfo", O_RDONLY) = 3 | |
| open("/bin/duply", O_RDONLY) = 3 | |
| [pid 2396] open("/etc/ld.so.cache", O_RDONLY) = 3 |