CentOS 6 / Windows 8 Dual-Boot on Different Drives

Please don't consider this an authoritative post. To reach this point there were many, many reboots, reinstalls, and recoveries. I bought a small ASUS tower from Best Buy and a 120GB solid-state drive. I tried to install CentOS 6.4 over Windows… more »

Adjusting the screen resolution under CentOS 6

With sincere thanks to the link above, this is how you can adjust the screen resolution under CentOS 6. Run this command (with the appropriate resolution): cvt 1920 1080 You'll get output similar to this: # 1920x1080 59.96 Hz (CVT 2.07M9) h… more »

PHP Abstract Base Class - Including validation

An example of a base class. Sample extension and call for instantiation: PHP<?phpclass Course extends Base {         public function __construct($properties) { &#1… more »

PHP filter_var_array Example

This is a very simple PHP contact form validation script. It fails silently, based on the expectation the client is validating the data prior to submitting it. In this case, if the server receives invalid inputs, inputs with invalid data, or a data se… more »

PHP - ImageMagick command line Pie Chart

This code was converted from a bash version to create pie charts. It is much faster and does not require bc on the server. PHP is used to create the ImageMagick command line. This code creates pie chart and legend images which can then be placed on a… more »