curl -LO https://deployer.org/deployer.phar && sudo mv deployer.phar /usr/local/bin/dep && sudo chmod +x /usr/local/bin/dep
composer require deployer/recipes --dev
composer require rafaelstz/deployer-magento2 dev-master --dev
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
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd"> | |
<type name="Magento\Ui\Component\Wysiwyg\ConfigInterface"> | |
<plugin name="mynamespace_tinymce_settings" | |
type="Namespace\Backend\Plugins\TinyMCEPlugin" | |
sortOrder="10"/> | |
</type> | |
</config> | |
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
/** | |
* Copyright © Magento, Inc. All rights reserved. | |
* See COPYING.txt for license details. | |
* | |
* => app/design/adminhtml/Namespace/project_name/web/mage/adminhtml/wysiwyg/tiny_mce/tinymce4Adapter.js | |
*/ | |
/* global popups, tinyMceEditors, MediabrowserUtility, Base64 */ | |
/* eslint-disable strict */ | |
define([ |
permalink https://github.com/gatsbyjs/gatsby/blob/ffd8b2d691c995c760fe380769852bcdb26a2278/packages/gatsby/src/bootstrap/index.js
- open and validate gatsby-config (get-config-file.js)
- load plugins (load-plugins/index.js) from the list given in
gatsby-config.js
- onPreBootstrap: runs
onPreBootstrap
if it is implemented in any plugins, for example gatsby-plugin-typography. Receives handy [apiCallArgs](https://github.com/gatsbyjs/gatsby/blob/ffd8b2d691c995c760fe380769852bcdb26a2278/packages/gatsby/src/util
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 | |
/* | |
* Magento 1 Valet Driver | |
* @author spinsch | |
* @path ~/.valet/Drivers/Magento1ValetDriver.php | |
*/ | |
class Magento1ValetDriver extends ValetDriver | |
{ | |
/** | |
* Determine if the driver serves the request. |
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 | |
require_once 'abstract.php'; | |
class Cmtickle_Demo_Shell_Tool extends Mage_Shell_Abstract | |
{ | |
private $_readConnection = null; | |
protected function _getReadConnection() | |
{ |
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
<IfModule mod_php5.c> | |
php_flag engine 0 | |
</IfModule> | |
<IfModule mod_php7.c> | |
php_flag engine 0 | |
</IfModule> | |
# To avoid situation when web server automatically adds extension to path | |
Options -MultiViews |