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
| # Delete all logs | |
| TRUNCATE ps_log; | |
| # Delete old connection data (only used for stats) | |
| # change 2016-02-01 00:00:00 according to you needs | |
| DELETE c, cs | |
| FROM ps_connections c | |
| LEFT JOIN ps_connections_source cs ON (c.id_connections = cs.id_connections) | |
| WHERE c.date_add < '2016-02-01 00:00:00'; |
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
| ########################################################## | |
| # PRODUCTS | |
| ########################################################## | |
| DELETE FROM `catalog_product_bundle_option`; | |
| DELETE FROM `catalog_product_bundle_option_value`; | |
| DELETE FROM `catalog_product_bundle_selection`; | |
| DELETE FROM `catalog_product_entity_datetime`; | |
| DELETE FROM `catalog_product_entity_decimal`; | |
| DELETE FROM `catalog_product_entity_gallery`; | |
| DELETE FROM `catalog_product_entity_int`; |
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
| Cible : Développeur PHP / Symfony / MySQL | |
| Niveau : Senior | |
| Ce document propose des questions classiques, sans piège, à poser lorsque vous désirez valider un candidat pour un poste de développeur back. | |
| J'utilise personnellement cette trame de questions, libre à vous de vous en inspirer, d'ajouter vos propres questions, et de déterminer lesquelles sont éliminatoires à vos yeux. | |
| Veille technologique | |
| Quelle est la version actuelle de PHP ? | |
| > http://php.net/supported-versions.php |
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 | |
| namespace Namespace\Cms\Setup; | |
| use Magento\Cms\Api\BlockRepositoryInterface; | |
| use Magento\Cms\Api\Data\BlockInterface; | |
| use Magento\Cms\Api\Data\BlockInterfaceFactory; | |
| use Magento\Framework\App\State; | |
| use Magento\Framework\App\Area; | |
| use Magento\Framework\Setup\InstallDataInterface; |
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 | |
| error_reporting(E_ALL); | |
| ini_set('display_errors', TRUE); | |
| ini_set('display_startup_errors', TRUE); | |
| require_once('../app/Mage.php'); //magento bootstrapper | |
| umask(0); | |
| Mage::app('default'); | |
| Mage::app ()->setCurrentStore(Mage_Core_Model_App::ADMIN_STORE_ID); //set the magento store id as admin | |
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
| <?xml version="1.0"?> | |
| <!-- app/etc/modules/Meteorify_Checkout.xml --> | |
| <config> | |
| <modules> | |
| <Meteorify_Checkout> | |
| <active>true</active> | |
| <codePool>local</codePool> | |
| </Meteorify_Checkout> | |
| </modules> | |
| </config> |