This file contains 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
Index: magento/vendor/magento/framework/App/Filesystem/DirectoryResolver.php | |
IDEA additional info: | |
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP | |
<+>UTF-8 | |
=================================================================== | |
--- magento/vendor/magento/framework/App/Filesystem/DirectoryResolver.php (date 1521531005000) | |
+++ magento/vendor/magento/framework/App/Filesystem/DirectoryResolver.php (date 1521561205000) | |
@@ -39,7 +39,7 @@ | |
public function validatePath($path, $directoryConfig = DirectoryList::MEDIA) | |
{ |
This file contains 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
Index: app/design/frontend/base/default/template/amasty/aminvisiblecaptcha/captcha.phtml | |
IDEA additional info: | |
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP | |
<+>UTF-8 | |
=================================================================== | |
--- app/design/frontend/base/default/template/amasty/aminvisiblecaptcha/captcha.phtml (revision 4a453745274c5b47515d72496ca05465be86f6bc) | |
+++ app/design/frontend/base/default/template/amasty/aminvisiblecaptcha/captcha.phtml (revision ) | |
@@ -73,7 +73,9 @@ | |
tokenInput.type = 'hidden'; | |
tokenInput.name = 'amasty_invisible_token'; |
This file contains 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
# Check if we already have swap | |
swapon -s | |
# Second Check | |
free -m | |
# Check available space | |
df -h | |
# Generate the file (4GB) |
This file contains 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
# Display the number of SKUs in a attribute set | |
SELECT eas.attribute_set_name, COUNT(cpe.sku) | |
FROM eav_attribute_set AS eas | |
LEFT JOIN catalog_product_entity AS cpe ON cpe.attribute_set_id = eas.attribute_set_id | |
WHERE entity_type_id = 4 | |
GROUP BY eas.attribute_set_name | |
# To see if an email to a user has been successfulyy sent in the sales_order table and sales_shipment table | |
SELECT s.email_sent AS "Shipment Email Sent", o.email_sent AS "Order Email Sent", s.order_id | |
FROM sales_shipment AS s |
This file contains 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
# Before this is run you need to change the disk size on the cloud (or via cli) | |
# Get the partition and device information | |
df -h | |
# Get the block size of the device and any partitions | |
sudo lsblk | |
# Make sure you have the tools to resize a drive | |
sudo yum -y install cloud-utils-growpart |
This file contains 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
# Readme | |
Good starting point for a development machine. This is how to setup multiple php version on a Ubuntu 18.04 instance with ondrejj setup. |
This file contains 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
zend_extension = /usr/lib64/php/modules/ioncube_loader_lin_7.2.so |
This file contains 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
zend_extension = /usr/lib/php/20170718/ioncube_loader_lin_7.2.so |
This file contains 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
[php70] | |
user = clive | |
group = webdev | |
listen = /run/php/php7.0-fpm.sock | |
listen.owner = www-data | |
listen.group = www-data | |
pm = dynamic | |
pm.max_children = 20 | |
pm.start_servers = 2 | |
pm.min_spare_servers = 1 |