Installation de bundle
gem install bundler
Installation des librairies (Capistrano 3, capistrano-symfony, ...).
| function generateToken() | |
| { | |
| return sprintf('%04x%04x-%04x-%04x-%04x-%04x%04x%04x', | |
| mt_rand(0, 0xffff), mt_rand(0, 0xffff), | |
| mt_rand(0, 0xffff), | |
| mt_rand(0, 0x0fff) | 0x4000, | |
| mt_rand(0, 0x3fff) | 0x8000, | |
| mt_rand(0, 0xffff), mt_rand(0, 0xffff), mt_rand(0, 0xffff) | |
| ); | |
| } |
| echo idea.case.sensitive.fs=true >> ~/Library/Preferences/PhpStorm2019.2/idea.properties |
| FastCgiExternalServer /fcgi-bin-php5-fpm-pma -socket /var/run/php5-fpm-pma.sock -idle-timeout 250 -pass-header Authorization |
| find /path/to/session -name sess_* -cmin +24 -exec rm {} \; |
| <?php | |
| /** | |
| * AddStaticAttributeMyCustomAttrPatch | |
| * | |
| * @author Arnaud Amant <contact@arnaudamant.fr> | |
| */ | |
| namespace Aamant\MyModule\Setup\Patch\Data; | |
| use Magento\Customer\Model\Customer; |