TRUNCATE `log_customer`;
TRUNCATE `log_quote`;
TRUNCATE `log_summary`;
TRUNCATE `log_url`;
TRUNCATE `log_url_info`;
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
| <!--[if lt IE 7 ]> | |
| <script src="http://ajax.googleapis.com/ajax/libs/chrome-frame/1/CFInstall.min.js"></script> | |
| <script>CFInstall.check();</script> | |
| <![endif]--> |
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 /* | |
| ************************************************************************** | |
| Plugin Name: Generate Thumbnails On The Fly | |
| Description: When a thumbnail image is requested of a specific width/height (rather than by name), generate it if it doesn't exist. | |
| Version: 1.0.0 | |
| Author: Alex Mills (Viper007Bond) | |
| Author URI: http://www.viper007bond.com/ |
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
| # Upstream to abstract backend connection(s) for php | |
| upstream php { | |
| server unix:/tmp/php-cgi.socket; | |
| server 127.0.0.1:9000; | |
| } | |
| server { | |
| server_name example.com; | |
| root /var/www; |
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 | |
| /* | |
| Plugin Name: Virtual intermediate images | |
| Plugin URI: http://www.monkeyman.be | |
| Description: Prevent creation of actual intermediate image sizes | |
| Version: 0.1 | |
| Author: Jan Fabry | |
| This plugin prevents the creation of actual intermediate image sizes. It does, however, fill in all metadata attributes as if the intermediate sizes exist. It is designed to work together with a plugin that can create these images on the fly, like monkeyman-on-demand-resizer. |
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 | |
| /** | |
| * Drop this into the shell directory in the Magento root and run with -h to see all options. | |
| */ | |
| require_once 'abstract.php'; | |
| /** | |
| * Fix duplicate url keys for categories and products to work with the 1.8 alpha1 CE url key constraints. |
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
| WP Bag of Tricks | |
| 1. Helpful Scripts/Plugins: | |
| Hacks: | |
| http://wordpress.org/extend/plugins/tac/ | |
| http://wordpress.org/extend/plugins/exploit-scanner/ (Can be extremely resource intensive.) | |
| http://wordpress.org/extend/plugins/wp-malwatch/ |
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
| // This code has not been professionally audited. | |
| // Use at own risk. | |
| package main | |
| import ( | |
| "crypto/rand" | |
| "crypto/sha256" | |
| "encoding/hex" | |
| "fmt" |
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 /* | |
| ************************************************************************** | |
| Plugin Name: Generate Thumbnails On The Fly | |
| Description: When a thumbnail image is requested of a specific width/height (rather than by name), generate it if it doesn't exist. | |
| Version: 1.0.0 | |
| Author: Alex Mills (Viper007Bond) | |
| Author URI: http://www.viper007bond.com/ |
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
| /* | |
| * Updated to use the function-based method described in http://www.phpied.com/social-button-bffs/ | |
| * Better handling of scripts without supplied ids. | |
| * | |
| * N.B. Be sure to include Google Analytics's _gaq and Facebook's fbAsyncInit prior to this function. | |
| */ | |
| (function(doc, script) { | |
| var js, | |
| fjs = doc.getElementsByTagName(script)[0], |
OlderNewer