- Set SMTP
/tool e-mail
set address=smtp.gmail.com from=___@gmail.com port=587 tls=starttls \
user=___@gmail.com password=___
#!/bin/bash | |
# https://gist.github.com/sebastian13/c57fb8f62863112825b7b1b912b9a2d8 | |
# | |
# This script sets WordPress' file permissions based on recommendations | |
# from http://codex.wordpress.org/Hardening_WordPress#File_permissions | |
# and https://stackoverflow.com/a/23755604/8940679 | |
# | |
# Idea from https://github.com/mconigliaro/notes/blob/master/wordpress/permissions.md | |
# | |
# To use this script run: |
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Sid": "", | |
"Effect": "Allow", | |
"Action": [ | |
"s3:ListAllMyBuckets" | |
], | |
"Resource": [ |
# Renew Let's Encrypt Certificates | |
/usr/syno/sbin/syno-letsencrypt renew-all | |
# Disable Firewall | |
/usr/syno/bin/synofirewall --disable |
# Deploy this via PDQ Deploy or run once as admin | |
# Delete all Network Printers | |
Get-WmiObject -Class Win32_Printer | where{$_.Network -eq 'true'} | ForEach-Object {$_.Delete()} | |
# Add Driver to the Store | |
# ... example for Sharp 1910a - 9.1.18.47 | |
pnputil.exe /a "\\nas01\tools\drivers\_Printers\MX_D54_PCL6_PS_1910a_German_64bit\German\PCL6\64bit\su0emdeu.inf" | |
# Install the Driver |
#!/bin/bash | |
# Change to the script's directory & create directory | |
cd $(dirname "$(readlink -f "$0")") | |
mkdir -p ./dbdumps | |
# Start mysql service | |
docker --log-level=error compose up -d mysql | |
# Wait |
#!/bin/bash | |
# Change to the script's directory & create directory | |
cd $(dirname "$(readlink -f "$0")") | |
mkdir -p ./dbdumps | |
# Load database name + root password | |
source .env | |
# Check if variables were provided |
#!/bin/bash | |
set -e | |
# Change to the script's directory & create directory | |
cd $(dirname "$(readlink -f "$0")") | |
mkdir -p ./pgdumps | |
# Start postgres service | |
docker --log-level=error compose up -d postgres |
#!/bin/bash | |
# Start mysql service of your compose file | |
docker compose up -d mysql | |
# Load DB_PASS | |
source .env | |
docker compose exec mysql /usr/bin/mysql -u root --password=${MYSQL_ROOT_PASSWORD} -e 'show databases;' |