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
# ---------------------------------------------------------------------- | |
# | Cross-origin images | | |
# ---------------------------------------------------------------------- | |
# Send the CORS header for images when browsers request it. | |
# | |
# https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image | |
# https://blog.chromium.org/2011/07/using-cross-domain-images-in-webgl-and.html |
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
.blur { | |
-webkit-filter: blur(5px); | |
-moz-filter: blur(5px); | |
-o-filter: blur(5px); | |
filter: url('data:image/svg+xml;utf8,<svg version="1.1" xmlns="http://www.w3.org/2000/svg"><filter id="blur"><feGaussianBlur in="SourceGraphic" stdDeviation="5" /></filter></svg>#blur'); | |
-moz-transition: all 300ms ease; | |
-o-transition: all 300ms ease; | |
-webkit-transition: all 300ms ease; | |
transition: all 300ms ease; | |
-webkit-transform: translateZ(0); |
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
SELECT | |
"Est_Handler_Magento_CoreConfigData" AS handler, | |
scope AS param1, | |
scope_id AS param2, | |
path AS param3, | |
"" AS groups, | |
IFNULL(`value`, '') AS `default`, | |
'' AS devbox, | |
'' AS deploy, | |
'' AS latest, |
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
<VirtualHost *:80> | |
ServerAdmin [email protected] | |
DocumentRoot "/var/www/magento2/pub" | |
ServerName magento2.loc | |
ServerAlias www.magento2.loc | |
ErrorLog "/var/log/apache2/magento2.error.log" | |
CustomLog "/var/log/apache2/magento2.access.log" common | |
<Directory "/var/www/magento2/pub"> | |
Order allow,deny | |
Options Indexes FollowSymLinks Includes ExecCGI |
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
SELECT | |
"Zettr\\Handler\\Magento\\CoreConfigData" AS handler, | |
scope AS param1, | |
scope_id AS param2, | |
path AS param3, | |
"" AS groups, | |
IFNULL(`value`, '') AS `default`, | |
'' AS devbox, | |
'' AS deploy, | |
'' AS latest, |
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
#!/usr/bin/env bash | |
cd ~ | |
composer create-project --repository=https://repo.magento.com magento/marketplace-eqp magento-coding-standard | |
cd magento-coding-standard | |
vendor/bin/phpcs --config-set intalled_paths ~/magento-coding-standards/ |