1. April 8th, 2009

    Mari is...

    Weird and crazy! Oh no!
  2. March 20th, 2009

    Another List

    • Item
    • Item
    • Item
      1. Subitem
  3. March 20th, 2009

    Tags Test

    Test test test test Here's a tag Link
  4. You can fool some of the people all of the time, and all of the people some of the time, but you cannot fool all of the people all of the time. - Abraham Lincoln
    I wonder if I should nl2br? Lorem ipsum dolor sit amet. Here's some simple code. Yay
    Here's a pre
       space
          space
             space
    Bold Strikethrough Italic
    1. care police
    2. banana train
  5. Hello World!
    Language: PHP
    <?php
    phpinfo();
    ?>
    Language: HTML

    <p>Hello, World!</p>
     
  6. March 19th, 2009

    Code: test test

    Language: PHP
    <?php
    header('Content-Type: text/plain');

    function fibonacci ($n = 0)
    {
        static $store;
        if (!isset($store))
            $store = array();
       
        if (!is_int($n) || $n < 0)
            return false;
       
        if ($n == 0)
            return 0;
       
        if ($n == 1)
            return 1;

        // by the previous conditions, n must be greater than one to get here
        $l = (isset($store[$n - 1]) ? $store[$n - 1] : fibonacci($n - 1));
        $r = (isset($store[$n - 2]) ? $store[$n - 2] : fibonacci($n - 2));
       
        $store[$n] = $l + $r;
        return $store[$n];
    }


    $start = microtime(true);
    echo "Number: " . fibonacci(300) . "n";    // 1548008755920... takes 0.0015 seconds on my system.
    echo "Took " . round( microtime(true) - $start, 4 ) . " seconds";
    ?>
  7. March 18th, 2009

    Hello, World

    This is a test post
  8. March 18th, 2009

    Hello, World

    This is a test post
  9. March 18th, 2009

    Hello, World

    This is a test post