View RSS Feed

Recent Blogs Posts

  1. Heaps o' Fun

    yes, I'm still doing the tutorial. : )

    Did you know ...?

    PHP Code:
    <?php

    class alphaHeap extends SplHeap{
        public function 
    compare$a,$b ){
            return 
    strcmp$b,$a );
        }
    }

    $alpha = new alphaHeap;

    # IN put:
    $alpha->insert'cat' );       // C
    $alpha->insert'dog' );       // D
    $alpha->insert'boy' );       // B
    $alpha->insert'elephant' );  // E
    ...

    Updated 12-23-2012 at 08:09 PM by traq

    Categories
    PHP coding , Off beat topics
  2. New windows, new tabs and popup blockers

    (To see and test what this is all about, you should download Safari if you haven't already done so. After that, use the code below with popup blocker enabled AND with popup blocker disabled, using Safari).

    When a new window or tab is not explicitly requested by the visitor of a site i.e. when the window's appearance is attached to such events as onload or onunload, popup blockers (if enabled) will prevent a file from being opened. But when the window's appearance is attached to an ...

    Updated 12-07-2012 at 10:58 PM by molendijk

    Categories
    Uncategorized