Skip to content

Instantly share code, notes, and snippets.

@hawksakr
hawksakr / mailparse installation
Created January 16, 2019 12:13 — forked from thelbouffi/mailparse installation
how to instal mailparse on php7
REQUIREMENTS:
- php-pear (install automatically php7.0-xml and php-xml)
sudo apt-get install php-pear
-php7.0-mbstring
sudo apt-get install php7.0-mbstring
-php7.0-dev
sudo apt-get install php7.0-dev
INSTALLATION:
1- cd /tmp/xxxxxx (e.g: cd /tmp/pear/download)
@hawksakr
hawksakr / Magento2.md
Created March 4, 2018 11:09 — forked from JeansBolong/Magento2.md
Magento2 CheatSheet

Magento 2 tutorial

http://devdocs.magento.com/guides/v2.1/frontend-dev-guide/bk-frontend-dev-guide.html
https://www.creare.co.uk/blog/magento/theming-in-magento-2-part-1
https://www.creare.co.uk/blog/magento/theming-in-magento-2-part-2
http://alanstorm.com/category/magento-2/

I have installed Magento 2 successfully, but icons are not displaying and not able to click anywhere in backend.

Please try running following command.

rename 's/^fr_fr/ar_eg/' fr_fr*
@hawksakr
hawksakr / Magento 2 commands
Created August 2, 2016 13:39
frequently used magento 2 Terminal commands
php -dmemory_limit=1G bin/magento deploy:mode:set production
php -dmemory_limit=1G bin/magento deploy:mode:set production --skip-compilation
php -dmemory_limit=1G bin/magento setup:static-content:deploy ar_SA ar_EG en_US
php -dmemory_limit=1G bin/magento setup:static-content:deploy ar_EG en_US
php -dmemory_limit=1G bin/magento setup:static-content:deploy ar_EG
#compile
<?php
$files = glob("ar_eg/*.csv");
foreach($files as $csv){
echo $csv, "\n";
}
?>