/*!
 * jCarousel - Riding carousels with jQuery
 *   http://sorgalla.com/jcarousel/
 *
 * Copyright (c) 2006 Jan Sorgalla (http://sorgalla.com)
 * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
 * and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
 *
 * Built on top of the jQuery library
 *   http://jquery.com
 *
 * Inspired by the "Carousel Component" by Bill Scott
 *   http://billwscott.com/carousel/
 */

GDBBREN8

大概能省1刀左右,支持支付宝付款,最近出奇的忙,想转域名到name.com都没空。。。。。罪过,罪过。。

{Code}

$sql ='  ...  yiiblog_desc like :keywords or yiiblog_title like :keywords ... ';
$TmpStatement = Yii::app()->db->createCommand($sql);
$TmpStatement->bindValue(':keywords', '%'.$keywords.'%');

{Code}

    public static function randomKeys($len){
        $output = '';
        for ($i=0; $i<$len; $i++){
            $output .= chr(mt_rand(33, 126));
        }
        return $output;
    }

{Execution Time}

Yii::getLogger()->getExecutionTime();

{Memory Usage}

memory_get_peak_usage();

{How To Use}

Continue reading »

{Pear Update}

sudo pear clear-cache
sudo pear channel-update pear.php.net
sudo pear upgrade-all

{PHPUnit install}

Continue reading »

{Code}

sudo pear upgrade -f phpunit/PHPUnit

{Code}

sudo pear channel-update pear.php.net
sudo pear upgrade-all

{Code}

pecl install xdebug

{Get}

Continue reading »

{PHPUnit}

sudo pear upgrade PEAR
sudo pear channel-discover pear.phpunit.de
pear channel-discover components.ez.no
pear channel-discover pear.symfony-project.com
sudo pear install –alldeps phpunit/PHPUnit

{Selenium RC or Core}

Continue reading »

推薦 虛擬主機;Tech Support SAW 部落格學院 論壇 © 2010 - 2011 YiiBlog All Rights Reserved. Suffusion theme by Sayontan Sinha