Archive for the “linux” category

Apache Bench – Setting Multiple Cookies

by Jason on October 12, 2011

Recently I’ve been doing some load testing on some web applications I’ve developed. Reading the documentation they say you can set multiple cookies using multiple “-C” flags. However, this simply DID NOT WORK for me. Tried everything. Since I’m sure (…)

Read the rest of this entry »

PHP File Streaming with cat and passthru

by Jason on November 9, 2009

The problem This weekend, I needed to figure out how to make an on-request, downloadable, backup of an entire MySQL database (for Magento, in case you were wondering). At first, I attempted the simplest approach, which was to perform the (…)

Read the rest of this entry »

Slicehost CentOS RMagick Install

by Jason on February 20, 2009

I feel your pain. The problem is that if you install ImageMagick and ImageMagick-devel from yum you end up with version 6.2.x instead of the required 6.3.x or higher that RMagick requires. Just install from source.  Follow these steps. wget (…)

Read the rest of this entry »