Tags » HowTo

Get that nice blue sky in an HDR sphere

I often have problems getting a smooth clear blue sky when working with HDR spheres, I often end up with dramatic transitions between the shades of blue in the sky resulting in various shades of blue stripes across the sky.  573 more words


How to Brow

Unfortunately not everybody is blessed with gorgeous shapely brows. Admittedly I am one of those who drew the short straw when it comes to ‘naturally’ perfect brows. 881 more words


How-To Machine a Chevy 350 V8 Small Block Engine

Chris Duke from Motorz TV http://www.motorz.tv takes our Chevy 350 small block to the machine shop to show you the process of machining a block Show notes: h… 24 more words

Angry Scotch Steak - The Bottle Opener

I love pushing the boundaries over at The Bottle Opener. This time, another food item; a sirloin steak, marinated in an ale based marinade. How can you go wrong!? 34 more words


today's reading: 5 fresh ideas for renewing prayer

1. Focusing on a Sense

God gave us our five senses. Select one and simply notice how that sense is being engaged. If you pick hearing, you may notice the hum of the refrigerator or the quiet breeze outside. 366 more words


How to use the resource phase of a portlet ?

Usually when we have to make an AJAX call or when the user should download a file  from a portlet we use the “Resource Phase” of a portlet. 429 more words


[howto] php autoload virtual model

class model_test1 {
    public static function __callStatic($name, $args) {
        echo 'Hello from '.__CLASS__.'::'.__FUNCTION__.PHP_EOL;
    public function __call($name, $args) {
        echo 'Hello from '.__CLASS__.'->'.__FUNCTION__.PHP_EOL;

spl_autoload_register(function ($class) {
    if (class_exists($class)) {
        return true;
    $try_model = 'model_'.$class;
    if (class_exists($try_model)) {
        eval('class '.$class.' extends '.$try_model.'{};');
        return true;

// Existing class call
$ts = microtime();

$model_test1 = new model_test1();

echo round(microtime() - $ts, 5).PHP_EOL;

// Virtual class call
$ts = microtime();

$test1 = new test1();

echo round(microtime() - $ts, 5).PHP_EOL;

… 13 more words