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
service_name: | |
class: path\to\my\Class | |
tags: | |
- { name: doctrine.event_listener, event: prePersist } | |
- { name: doctrine.event_listener, event: preUpdate} | |
- { name: doctrine.event_listener, event: preFlush } |
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> | |
<global> | |
<install> | |
<date>{{date}}</date> | |
</install> | |
<crypt> | |
<key>{{key}}</key> | |
</crypt> | |
<disable_local_modules>false</disable_local_modules> | |
<resources> |
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> | |
<global> | |
<install> | |
<date>{{date}}</date> | |
</install> | |
<crypt> | |
<key>{{key}}</key> | |
</crypt> | |
<disable_local_modules>false</disable_local_modules> | |
<resources> |
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
rm app/code/community/Lyra/Payzen/Block/Abstract.php | |
rm app/code/community/Lyra/Payzen/Block/Adminhtml/Redirect.php | |
rm app/code/community/Lyra/Payzen/Block/Cof3xcb.php | |
rm app/code/community/Lyra/Payzen/Block/Field/CategoryMapping.php | |
rm app/code/community/Lyra/Payzen/Block/Field/Column/Label.php | |
rm app/code/community/Lyra/Payzen/Block/Field/Column/List.php | |
rm app/code/community/Lyra/Payzen/Block/Field/CustgroupOptions.php | |
rm app/code/community/Lyra/Payzen/Block/Field/Gift/AddedCards.php | |
rm app/code/community/Lyra/Payzen/Block/Field/Gift/UploadButton.php | |
rm app/code/community/Lyra/Payzen/Block/Field/InitButton.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
# For archive: magento-extension.zip | |
rm magento-extension.zip | |
rm screenshot/Mailjet-Magento.png | |
rm readme.txt | |
rm plugin/Mailjet-Magento.zip | |
# For archive: plugin/Mailjet-Magento.zip | |
rm app/etc/modules/MJ_Customsmtp.xml | |
rm app/code/local/MJ/Customsmtp/etc/system.xml | |
rm app/code/local/MJ/Customsmtp/etc/config.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
############### | |
# Problem: | |
# faire une mise en prod avec le travail et les fichiers de qqn d'autre | |
# On a : un dépôt git local, un dépôt git preprod, un accès ftp (ou sftp) en prod | |
################# | |
# résolution | |
# 1*/ trouver la dernière mise en prod sur srv prod | |
# 1.1*/ cnx ftp -> check last date | |
# 2*/ faire le diff (git whatchanged) sur la preprod (plus stable que local) entre %last_date_modify_prod% et %now% (ou autre date) |
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 | |
# Place this script in magento/var/ directory | |
for n in `seq 0 9` | |
do | |
for u in `seq 0 9` | |
do | |
for m in `seq 0 9` | |
do | |
name="sess_"$n$u$m* |
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
# source: https://marceau.casals.fr/blog/2015/05/le-htaccess-ce-heros | |
RedirectMatch 404 ^/(app|config|system|\.hg|\.idea|\.git|logs).*$ | |
RedirectMatch 404 \.(md|json|yaml|gitignore|rev|neon)$ | |
# source: http://serverfault.com/a/527911/329412 // more light but not tested | |
RedirectMatch 404 /\.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
DELETE | |
FROM `core_email_queue_recipients` | |
WHERE `core_email_queue_recipients`.`message_id` NOT IN | |
( | |
SELECT `core_email_queue`.`message_id` | |
FROM `core_email_queue` | |
) |
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
catalog_eav_attribute: | |
- | |
attribute_id: 79 | |
frontend_input_renderer: ~ | |
is_global: 1 | |
is_visible: 1 | |
is_searchable: 0 | |
is_filterable: 0 | |
is_comparable: 0 | |
is_visible_on_front: 0 |
OlderNewer