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
rm -rf /var/cache session | |
./mage mage-setup . | |
./mage config-set preferred_state stable | |
./mage list-installed | |
./mage list-upgrades | |
./mage install http://connect20.magentocommerce.com/community Mage_All_Latest --force | |
./shell php indexer.php reindexall |
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
<!doctype html> | |
<!-- http://taylor.fausak.me/2015/01/27/ios-8-web-apps/ --> | |
<html> | |
<head> | |
<title>iOS 8 web app</title> | |
<!-- CONFIGURATION --> |
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
<code> | |
<?php | |
define('SAVE_FEED_LOCATION','google_base_feed.txt'); | |
set_time_limit(1800); | |
require_once '../app/Mage.php'; | |
Mage::app('default'); | |
try{ | |
$handle = fopen(SAVE_FEED_LOCATION, 'w'); | |
$heading = array('id','mpn','title','description','link','image_link','price','brand','product_type','condition', 'google_product_category', 'manufacturer', 'availability'); |
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
RAILS_GEM_VERSION = '2.3.8' unless defined? RAILS_GEM_VERIONS | |
require File.joing(File.dirname(__FILE__), 'boot') | |
# This silences the Gem has no spec file warnings | |
Rails::VendorGemSourceIndex.silence_spec_warnings = 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
#!/usr/bin/env php | |
<?php | |
set_time_limit(0); | |
$nDays = 300; // How many days of backups to keep? | |
// MySQL variables | |
$bBackupMySQL = true; // Do you want to backup MySQL databases? | |
$mysql = '/usr/bin/mysql'; | |
$mysqldump = '/usr/bin/mysqldump'; | |
$mysql_server = 'xxxx.com'; | |
$mysql_username = 'xxxx'; |
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
html, body, div, span, applet, object, iframe, | |
h1, h2, h3, h4, h5, h6, p, blockquote, pre, | |
a, abbr, acronym, address, big, cite, code, | |
del, dfn, em, font, img, ins, kbd, q, s, samp, | |
small, strike, strong, sub, sup, tt, var, | |
dl, dt, dd, ol, ul, li, | |
fieldset, form, label, legend, | |
table, caption, tbody, tfoot, thead, tr, th, td { | |
margin: 0; | |
padding: 0; |
NewerOlder