as
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
# -------------------------------------------------------------------------- # | |
# .gitignore Template - Copyright (c) 2016 Rye Miller # | |
# -------------------------------------------------------------------------- # | |
CHANGELOG.md | |
CONTRIBUTING.md | |
!.gitattributes | |
!.gitignore | |
# .htaccess | |
/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
/** -------------------------------------------------------------------------- *\ | |
* Version 0.1.0 [2016-07-04] | |
* | |
* Identifies the proper way for declaring the order of CSS properties | |
* | |
* Project : Acuity | |
* Markup : order.css | |
* Author : Rye Miller <rye@drkstr.io> | |
* Version : 0.1.0 | |
* Created : 2016-07-04 |
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
/**--------------------------------------------------------------------------- | |
* {{Project}} Stylesheet | |
* | |
* {{Description for the stylesheet from a high-level}} | |
* | |
* Markup: {{filename.css}} | |
* Project: {{Project}} | |
* Version: {{Version}} {{Created On}} | |
* Description: {{Project Description}} | |
* Website: {{Project Git Repository}} |
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
<!DOCTYPE html> | |
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> | |
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]--> | |
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]--> | |
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]--><!-- Le fav and touch icons --> |
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 | |
/** | |
* Observer to core_block_abstract_to_html_before | |
* | |
* Specifies required cache information like key (block id) | |
* and tag (Mage_Cms_Model_Block::CACHE_TAG). | |
*/ | |
public function cmsBlockCache($observer) | |
{ | |
if ($block instanceof Mage_Cms_Block_Widget_Block || $block instanceof Mage_Cms_Block_Block) |
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
# Temp/ignore file types. | |
*.diff | |
*.err | |
*.orig | |
*.log | |
*.rej | |
*.swo | |
*.swp | |
*.vi | |
*~ |
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 | |
# Remove Sessions older than specified time. | |
DIR=/var/www/magento/var/session/ | |
RANGE=30 | |
/usr/bin/find $DIR -depth -mtime +$RANGE -exec rm -rf '{}' \; |
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
# This file contains defaults for application properties | |
# | |
# The keys must match up with the keys found in APKeys.java | |
# | |
# NB - the values in this file are not automatically | |
# handed to the application. The special call | |
# ApplicationProperties().getDefaultBackedString() | |
# will return the values in this file if they are not found | |
# in the database |
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
SET FOREIGN_KEY_CHECKS=0; | |
############################## | |
# SALES RELATED TABLES | |
############################## | |
TRUNCATE `sales_flat_creditmemo`; | |
TRUNCATE `sales_flat_creditmemo_comment`; | |
TRUNCATE `sales_flat_creditmemo_grid`; | |
TRUNCATE `sales_flat_creditmemo_item`; | |
TRUNCATE `sales_flat_invoice`; |