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
| INSERT INTO | |
| catalog_product_website (website_id, product_id) | |
| SELECT | |
| sw.website_id, | |
| cpw.product_id | |
| FROM | |
| store_website sw | |
| JOIN ( | |
| SELECT | |
| cpwd.product_id |
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 m2-update-database() { | |
| # USAGE | |
| # m2-update-database 'Magento Cloud Project Title' 'http://project.dev/' | |
| # $1 = Project Title | |
| # $2 = Local URL | |
| # Get the project ID by the project title | |
| PROJECT_ID=$(magento-cloud project:list --title=$1 --pipe) | |
| GIT_BRANCH_NAME=$(git branch | grep \* | cut -d ' ' -f2) |
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
| var clearObstacles = function() { | |
| Runner.instance_.horizon.obstacles = []; | |
| window.setTimeout(clearObstacles, 2); | |
| } | |
| Runner.instance_.currentSpeed = 5000; | |
| clearObstacles(); |