This file contains hidden or 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 filltext.com API and lorempixel.com to generate dummy product data | |
// Based off: https://github.com/sandermangel/magento-dummy-installers | |
// Usage: Upload this file to tmp/ under magento root or modify require_once, execute. | |
// env config | |
ini_set('display_errors', 1); | |
umask(0); |
This file contains hidden or 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 | |
set_time_limit(0); | |
include "threads.php"; | |
$commands = array('ffmpeg -i '.$inputFile[0].' '.$outputFile[0].' 2>&1','ffmpeg -i '.$inputFile[0].' '.$outputFile[0].' 2>&1'); | |
$threads = new Multithread($commands); | |
$threads->run(); | |
foreach ($threads->commands as $key=>$command){ | |
echo "Command ".$command.":<br>"; | |
echo "Output ".$threads->output[$key]."<br>"; | |
echo "Error ".$threads->error[$key]."<br><br>"; |
This file contains hidden or 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 | |
/* | |
* This is a temporary file for development purposes only | |
*/ | |
require_once('app/Mage.php'); | |
umask(0); | |
ini_set('display_errors', 1); | |
Mage::setIsDeveloperMode(true); |
This file contains hidden or 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
<config> | |
<stores> | |
<default> <!-- store code --> | |
<web> | |
<unsecure> | |
<base_url><![CDATA[http://default-magento-store.com/]]></base_url> | |
</unsecure> | |
<secure> | |
<base_url><![CDATA[http://default-magento-store.com/]]></base_url> |
This file contains hidden or 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
<?xml version="1.0"?> | |
<config> | |
<frontend> | |
<events> | |
<!-- disble logs --> | |
<controller_action_predispatch> | |
<observers><log><type>disabled</type></log></observers> | |
</controller_action_predispatch> | |
<controller_action_postdispatch> | |
<observers><log><type>disabled</type></log></observers> |
This file contains hidden or 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
The magento-logrotate.conf file contents: | |
/path/to/magento/var/log/*log { | |
rotate 7 | |
daily | |
compress | |
missingok | |
notifempty | |
copytruncate | |
create 660 www-data www-data |
This file contains hidden or 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 Enterprise 1.13.1.0 Triggers.sql | |
-- mysqldump -u -p -n -d -t --skip-opt --no-create-info --triggers database | sed -e 's/DEFINER=[^*]*\*/\*/' > triggers.sql | |
-- MySQL dump 10.13 Distrib 5.5.38, for debian-linux-gnu (i686) | |
-- Server version 5.5.38-0ubuntu0.12.04.1 | |
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; | |
/*!40103 SET TIME_ZONE='+00:00' */; | |
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; | |
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; | |
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; |
This file contains hidden or 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
find . -type f -name '*' | xargs grep --no-messages -l "eval*(gzinflate" --color |
This file contains hidden or 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 | |
/** | |
* Shopify import of customers via Shopify API to Magento | |
* by: [email protected] (http://molotovbliss.com) | |
* USE AT YOUR OWN RISK. | |
* | |
* Requires: Avs_FastSimpleImport https://github.com/avstudnitz/AvS_FastSimpleImport | |
* cURL, simpleXML, Magento | |
*/ |
This file contains hidden or 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 | |
/** | |
* Import products from Shopify via Shopify API to Magento simple products | |
* by: [email protected] (http://molotovbliss.com) | |
* USE AT YOUR OWN RISK. | |
* | |
* Requires: Avs_FastSimpleImport https://github.com/avstudnitz/AvS_FastSimpleImport | |
* cURL, simpleXML, Magento | |
*/ |