brew install git bash-completion
Configure things:
git config --global user.name "Your Name"
git config --global user.email "you@example.com"
| <?php | |
| /** | |
| * Set global/skip_process_modules_updates to '1' in app/etc/local.xml and | |
| * then use this script to apply updates and refresh the config cache without | |
| * causing a stampede on the config cache. | |
| * | |
| * @author Colin Mollenhour | |
| */ | |
| umask(0); | |
| ini_set('memory_limit','512M'); |
brew install git bash-completion
Configure things:
git config --global user.name "Your Name"
git config --global user.email "you@example.com"
| diff -rupN mage_org/app/code/core/Mage/Catalog/Model/Url.php src_shop/app/code/core/Mage/Catalog/Model/Url.php | |
| --- mage_org/app/code/core/Mage/Catalog/Model/Url.php 2013-11-19 00:48:25.679009391 +0100 | |
| +++ src_shop/app/code/core/Mage/Catalog/Model/Url.php 2013-11-19 00:49:24.188005601 +0100 | |
| @@ -643,13 +643,24 @@ class Mage_Catalog_Model_Url | |
| $this->_rewrite = $rewrite; | |
| return $requestPath; | |
| } | |
| + | |
| + // avoid unnecessary creation of new url_keys for duplicate url keys | |
| + $noSuffixPath = substr($requestPath, 0, -(strlen($suffix))); |
| // ---- | |
| // Sass (v3.3.0.rc.2) | |
| // Compass (v1.0.0.alpha.17) | |
| // ---- | |
| // | |
| // map-fetch($map, $keys) | |
| // | |
| // An easy way to fetch a deep value in a multi-level map. Works much like | |
| // map-get() except that you pass multiple keys as the second parameter to |
| ### MAGENTO DIRECTORIES | |
| # Ignore everything in media, except for the htaccess files | |
| # Also include the Lazy Catalog Images (LCI) .htaccess if that's installed | |
| # (https://github.com/AOEpeople/Aoe_LazyCatalogImages) | |
| /media/* | |
| !/media/.htaccess | |
| !/media/customer/.htaccess | |
| !/media/downloadable/.htaccess | |
| !/media/catalog/product/LCI/.htaccess |
| <?php | |
| require('htdocs/app/Mage.php'); | |
| umask(0); | |
| Mage::setIsDeveloperMode(true); | |
| Mage::app(); | |
| $attributeCode = 'description'; // any attribute code | |
| // load model without only static attribute values |
| From 473846959772d8160b34b92ae3bcecddf24b972f Mon Sep 17 00:00:00 2001 | |
| From: =?UTF-8?q?Julian=20Nu=C3=9F?= <julian.nuss@outlook.com> | |
| Date: Tue, 23 Sep 2014 21:07:29 +0200 | |
| Subject: [PATCH 1/1] [BUGIFX] Zend Framework 1 + PHP5.6 | |
| --- | |
| lib/Zend/Locale/Format.php | 22 +++++++++++----------- | |
| lib/Zend/Service/Audioscrobbler.php | 6 +++--- | |
| lib/Zend/Service/Technorati.php | 6 +++--- | |
| lib/Zend/Validate/Hostname.php | 4 ++-- |
I've had the opertunity to try a variety of different server configurations but never really got around to trying HHVM with Magento until recently. I thought I would share a detailed walkthrough of configuring a single instance Magento server running Nginx + Fast CGI + HHVM / PHP-FPM + Redis + Percona. For the purpose of this blog post I'm assuming you are using Fedora, CentOS, or in my case RHEL 6.5.
Please note: I'm 100% open to suggestions. If you see something I did that needs to be done a different way, please let me know. I haven't included my Perconca my.conf file yet. I will shortly. Also I plan on trying this same test with HHVM 3.3 and PHP 7.
rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
rpm -Uvh http://mirror.webtatic.com/yum/el6/latest.rpm| <?php | |
| /** | |
| * Updated price.phtml without WEEE | |
| * | |
| * NOTICE OF LICENSE | |
| * | |
| * This source file is subject to the MIT License | |
| * It is available through the world-wide-web at this URL: | |
| * http://opensource.org/licenses/mit-license.php | |
| * |
| diff --git a/app/code/community/Lesti/Fpc/Helper/Data.php b/app/code/community/Lesti/Fpc/Helper/Data.php | |
| index 94e9ea1..daec7e1 100644 | |
| --- a/app/code/community/Lesti/Fpc/Helper/Data.php | |
| +++ b/app/code/community/Lesti/Fpc/Helper/Data.php | |
| @@ -70,7 +70,13 @@ class Lesti_Fpc_Helper_Data extends Lesti_Fpc_Helper_Abstract | |
| 'port' => $request->getServer('SERVER_PORT'), | |
| 'full_action_name' => $this->getFullActionName()); | |
| $uriParams = $this->_getUriParams(); | |
| - foreach ($request->getParams() as $requestParam => | |
| + $manadevParams = array(); |