Put this on your wp-config.php
/* That's all, stop editing! Happy blogging. */
define('FS_METHOD', 'direct');
| def level_up_price(new_price, product_old): | |
| return product_old * (1 + new_price / 100) | |
| quantity_product = int(input('Кол-во товаров: ')) | |
| list_product = [] | |
| for i_product in range(1, quantity_product + 1): | |
| product = float(input('Цена на продукт: ')) | |
| list_product.append(product) |
Put this on your wp-config.php
/* That's all, stop editing! Happy blogging. */
define('FS_METHOD', 'direct');
| #!/bin/sh | |
| # NextCloud to Amazon S3 Backup Script | |
| # Author: Autoize (autoize.com) | |
| # This script creates an incremental backup of your NextCloud instance to Amazon S3. | |
| # Amazon S3 is a highly redundant block storage service with versioning and lifecycle management features. | |
| # Requirements | |
| # - Amazon AWS Account and IAM User with AmazonS3FullAccess privilege |