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 | |
require_once 'app/Mage.php'; | |
umask(0); | |
// set store view | |
$store_view_filter = isset($_REQUEST['store_view']) ? $_REQUEST['store_view'] : false; | |
// set export type | |
$export_to = isset($_REQUEST['export_to']) ? $_REQUEST['export_to'] : false; |
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
#!/bin/bash | |
# Destiny folder where backups are stored | |
DEST=/tmp/bacula/server01 | |
CURRDATE=$(date +"%F") | |
# Hostname where MySQL is running | |
HOSTNAME="srv-mysql" | |
# User name to make backup | |
USER="root" |
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
sudo rm -rf /usr/local/bin/pstorm | |
rm -rf ~/.PhpStorm* | |
rm -rf ~/.java/.userPrefs/jetbrains/* |
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
// vendor/magento/module-catalog/Model/ResourceModel/Category.php | |
protected function doReplace($urls) | |
{ | |
foreach ($this->createFilterDataBasedOnUrls($urls) as $type => $urlData) { | |
$urlData[UrlRewrite::ENTITY_TYPE] = $type; | |
$this->deleteByData($urlData); | |
} | |
$data = []; | |
$storeId_requestPaths = []; | |
foreach ($urls as $url) { |
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
[user] | |
name = Pavan Kumar Sunkara | |
email = [email protected] | |
[core] | |
editor = vim | |
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol | |
excludesfile = ~/.gitignore | |
[sendemail] | |
smtpencryption = tls | |
smtpserver = smtp.gmail.com |
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
-- | |
-- Magento CE database clean-up extended | |
-- | |
-- This is an extended clean-up which will clean search, import/export, reports, etc. | |
-- | |
-- @author Constantin Bejenaru <[email protected]> | |
-- @copyright Copyright (c) Constantin Bejenaru (http://frozenminds.com/) | |
-- @license http://www.opensource.org/licenses/mit-license.html MIT License | |
-- |
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 | |
class Onerockwell_PromoBox_Helper_Data extends Mage_Checkout_Helper_Cart | |
{ | |
} |
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 | |
class Onerockwell_PromoBox_Helper_Data extends Mage_Checkout_Helper_Cart | |
{ | |
} |
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 | |
/** | |
* Magento | |
* | |
* NOTICE OF LICENSE | |
* | |
* This source file is subject to the Open Software License (OSL 3.0) | |
* that is bundled with this package in the file LICENSE.txt. | |
* It is also available through the world-wide-web at this URL: | |
* http://opensource.org/licenses/osl-3.0.php |
NewerOlder