Skip to content

Instantly share code, notes, and snippets.

Rouven Alexander Rieker therouv

Block or report user

Report or block therouv

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile

Keybase proof

I hereby claim:

  • I am therouv on github.
  • I am therouv ( on keybase.
  • I have a public key ASDMKCEic1_6D2pc_GTcfxH-9nsblfNhTF9o9PNhZHl-dwo

To claim this, I am signing this object:

View gist:03d5c81a41e42bf9e91f
Verifying that +therouv is my blockchain ID.
View config_exporter.php
class ConfigExporter extends Mage_Shell_Abstract
public function run()
$xml = new Varien_Simplexml_Element('<config />');
foreach ($this->getConfigValues($this->getArg('path')) as $item) {
try {
$path = $this->_getConfigPath($item['scope'], $item['scope_id'], $item['path']);
$xml->setNode($path, $item['value']);
} catch (Exception $e) {
therouv / magento-db-cleanup.sql
Last active Jun 16, 2019
DB cleanup script for Magento with some common database tables.
View magento-db-cleanup.sql
-- Customers
TRUNCATE `customer_entity`;
TRUNCATE `customer_entity_datetime`;
TRUNCATE `customer_entity_decimal`;
TRUNCATE `customer_entity_int`;
TRUNCATE `customer_entity_text`;
TRUNCATE `customer_entity_varchar`;
You can’t perform that action at this time.