Using Apache substitute with magento
Jul15

Using Apache substitute with magento

So I had a very interesting problem today. I needed to add a JavaScript file to all the sites hosted on my development server right before the head tag close. Why? Because I wanted to get some RUM statistics without having to go into each site and change the header file. Enter the Apache Substitute module Apache substitute module is just the tool that I needed to do such a task. Think of it like a server implementation of...

Read More
Logrotate Magento WordPress and more
Jul14

Logrotate Magento WordPress and more

This article took a lot longer to see the light, because of my self imposed hiatus. How to use logrotate Magento WordPress Logrotate is a very simple Linux command yet extremely powerful that you can use to “automate” the whole log cleaning endeavor. By Definition Logrotate is designed to ease administration of systems that generate large numbers of log files. It allows automatic rotation, compression, removal, and mailing...

Read More
Reed & Barton
Jul12

Reed & Barton

Prior to Magento, Reed & Barton’s eCommerce system had been built from the ground up on a proprietary platform by a group of people who were no longer supporting it. Making changes was very difficult, if possible at all. The result was a site that lacked efficiency, looked and felt dated, and was truly holding Reed & Barton back from moving both channels of their business forward. They needed an eCommerce solution that could...

Read More

Quick tip for merging PDFs

Currently I have been generating some automated reports from Pingdom and Newrelic and create some PDFs well, the code I was using was not merging them right (Read: I screwed it up) now let’s not dwell in the small details because I found this small Linux utility call pdftk, which is just wonderful when it comes to merging PDFs: To Install it: sudo apt-get install pdftk or pdftk To use it: pdftk nr_report.pdf pingdom_report.pdf...

Read More

Optimizing MySQL performance

Optimizing MySQL performance Here is a little trick I learned recently on how to optimize MySQL performance or rather how to think when trying to get the most out of MySQL performance. There are 2 variables or settings in MySQL you want to pay attention to: query_cache_size which is the maximum amount of data that may be stored in the cache and query_cache_limit which is the maximum size of a single resultset in the cache. In other...

Read More