Scaling Magento presentation with 60 slides and notes, which was then reviewed by Alan Storm.
This file contains 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
Date: Fri, 5 Jul 2013 22:41:03 -0500 | |
Subject: [PATCH] Magento_CE_1.7.0.2_v1-CSRF_Patch | |
--- | |
.../core/Mage/Catalog/Block/Product/Abstract.php | 85 ++++- | |
app/code/core/Mage/Catalog/Block/Product/View.php | 10 +- | |
.../core/Mage/Catalog/Helper/Product/Compare.php | 28 +- | |
app/code/core/Mage/Checkout/Helper/Cart.php | 26 +- | |
.../Mage/Checkout/controllers/CartController.php | 69 ++-- | |
.../Checkout/controllers/OnepageController.php | 70 +++- |
This file contains 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
Date: Fri, 5 Jul 2013 22:41:03 -0500 | |
Subject: [PATCH] Magento_CE_1.7.0.2_v1-CSRF_Patch | |
--- | |
.../core/Mage/Catalog/Block/Product/Abstract.php | 85 ++++- | |
app/code/core/Mage/Catalog/Block/Product/View.php | 10 +- | |
.../core/Mage/Catalog/Helper/Product/Compare.php | 28 +- | |
app/code/core/Mage/Checkout/Helper/Cart.php | 26 +- | |
.../Mage/Checkout/controllers/CartController.php | 69 ++-- | |
.../Checkout/controllers/OnepageController.php | 70 +++- |
This file contains 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
Index: lib/Varien/Cache/Backend/Database.php | |
=================================================================== | |
--- lib/Varien/Cache/Backend/Database.php (revision 63515) | |
+++ lib/Varien/Cache/Backend/Database.php (working copy) | |
@@ -224,6 +224,7 @@ | |
if ($this->_options['store_data']) { | |
$adapter = $this->_getAdapter(); | |
$result = $adapter->delete($this->_getDataTable(), array('id=?'=>$id)); | |
+ $tagResult = $adapter->delete($this->_getTagsTable(), array('cache_id=?' => $id)); | |
return $result; |
If you just want to fix the issue quickly, scroll down to the "solution" section below.
If you're a Homebrew user and you installed node via Homebrew, there is a major philosophical issue with the way Homebrew and NPM work together. If you install node with Homebrew and then try to do npm update npm -g
, you may see an error like this:
$ npm update npm -g
This file contains 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
// Includes functions for exporting active sheet or all sheets as JSON object (also Python object syntax compatible). | |
// Tweak the makePrettyJSON_ function to customize what kind of JSON to export. | |
var FORMAT_ONELINE = 'One-line'; | |
var FORMAT_MULTILINE = 'Multi-line'; | |
var FORMAT_PRETTY = 'Pretty'; | |
var LANGUAGE_JS = 'JavaScript'; | |
var LANGUAGE_PYTHON = 'Python'; |
This file contains 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
diff --git .htaccess .htaccess | |
index 60e1795..aca7f55 100644 | |
--- .htaccess | |
+++ .htaccess | |
@@ -207,3 +207,28 @@ | |
## http://developer.yahoo.com/performance/rules.html#etags | |
#FileETag none | |
+ | |
+########################################### |
This file contains 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 | |
use Aws\Common\Aws; | |
use Aws\S3\Exception\S3Exception; | |
// make sure the SDK is installed | |
// I've used Composer to autoload it: http://docs.aws.amazon.com/aws-sdk-php/guide/latest/installation.html | |
/* | |
* jQuery File Upload Plugin PHP Class 7.1.0 | |
* https://github.com/blueimp/jQuery-File-Upload |
This file contains 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
#!/usr/bin/python | |
# server | |
# python https.py | |
# | |
# browser | |
# https://0.0.0.0:4443 | |
import BaseHTTPServer | |
import SimpleHTTPServer |
This file contains 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
SELECT sub_query.month_ordered, | |
sub_query.year_ordered, | |
SUM(sub_query.base_subtotal) AS sum_base_subtotal, | |
SUM(sub_query.discount_amount) AS sum_discount_amt, | |
SUM(sub_query.order_qty) AS sum_total_item_count, | |
COUNT(sub_query.entity_id) AS total_orders | |
FROM | |
(SELECT so.entity_id, | |
MONTH(so.created_at) AS month_ordered, | |
YEAR(so.created_at) AS year_ordered, |
OlderNewer