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
| function change() | |
| { | |
| if (window.promise_test) { | |
| window.promise_test.then(() => console.log('Second message')); | |
| } else { | |
| window.promise_test = new Promise( | |
| function (resolve, reject) { | |
| console.log('Show first message'); | |
| setTimeout( | |
| () => { |
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
| composer require magento/product-community-edition 2.2.5 --no-update |
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
| ;/etc/php/7.1/fpm/conf.d/20-xdebug.ini | |
| zend_extension=xdebug.so | |
| xdebug.remote_autostart=on | |
| xdebug.remote_enable=on | |
| xdebug.remote_handler="dbgp" | |
| xdebug.remote_host="localhost" | |
| xdebug.remote_port=9001 | |
| xdebug.remote_mode=req | |
| xdebug.idekey="PHPSTORM" |
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
| #/etc/nginx/sites-available/hostname.conf | |
| #/etc/nginx/sites-enabled/hostname.conf <- symblink | |
| server { | |
| listen 80; | |
| server_name mage22-sd.loc; | |
| set $MAGE_ROOT /home/sfurman/devilbox/data/www/hostname; | |
| set $MAGE_MODE developer; | |
| include /home/sfurman/devilbox/data/www/hostname/nginx.dev.conf; | |
| } | |
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
| require('Magento_Customer/js/customer-data').reload(['cart'], false) |
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 | |
| echo Please provide url name: | |
| read name | |
| echo Please provide db name: | |
| read dbname | |
| rm -f ./app/etc/config.php ./app/etc/env.php ./pub/static/deployed_version.txt; | |
| rm -rf ./generated/code/ ./generated/metadata/ ./var/page_cache \ | |
| ./pub/static/frontend/ ./pub/static/adminhtml/ ./var/cache ./var/view_preprocessed/; |
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 | |
| echo Please provide git repo: | |
| read git | |
| echo Please provide url name: | |
| read name | |
| echo Please provide db name: | |
| read dbname | |
| git clone $git; |
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/magento dev:urn-catalog:generate .idea/misc.xml |
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
| <?php | |
| set_time_limit(0); | |
| error_reporting(E_ALL | E_STRICT); | |
| ini_set('display_errors', 1); | |
| require_once './app/Mage.php'; | |
| Mage::setIsDeveloperMode(true); | |
| Mage::app(); |
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
| 'queue' => | |
| array ( | |
| 'amqp' => | |
| array ( | |
| 'host' => '0.0.0.0', | |
| 'port' => '5672', | |
| 'user' => 'guest', | |
| 'password' => 'guest', | |
| 'virtualhost' => '/', | |
| ), |
NewerOlder