<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>J.et wong's stuff</title>
	<atom:link href="http://j.etwong.com/feed" rel="self" type="application/rss+xml" />
	<link>http://j.etwong.com</link>
	<description>{}</description>
	<lastBuildDate>Sun, 07 Mar 2010 09:31:36 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>mysql事务备份</title>
		<link>http://j.etwong.com/blog-127</link>
		<comments>http://j.etwong.com/blog-127#comments</comments>
		<pubDate>Sun, 07 Mar 2010 09:31:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[事务]]></category>

		<guid isPermaLink="false">http://j.etwong.com/?p=127</guid>
		<description><![CDATA[1.http://wasabi.javaeye.com/blog/180162
1.]]></description>
			<content:encoded><![CDATA[<p><strong>1.http://wasabi.javaeye.com/blog/180162</strong></p>
<p>1.<?PHP<br />
$LinkID =mysql_connect('localhost:3307','root',*******);<br />
mysql_select_db('web_his',$LinkID);<br />
mysql_query("set names utf8");  </p>
<p>/* 创建事务 */<br />
mysql_query('START TRANSACTION') or exit(mysql_error());<br />
$ssql1="insert into pf_item values('22','我们','30')";  //执行sql 1<br />
if(!mysql_query($ssql1)){<br />
   echo $ssql1.mysql_errno().":".mysql_error()."<br />&#8220;;<br />
   mysql_query(&#8216;ROLLBACK&#8217;) or exit(mysql_error());//判断当执行失败时回滚  </p>
<p>   exit;<br />
}<br />
$ssql1=&#8221;insert into pf_item values(&#8216;21&#8242;,&#8217;hell&#8217;,'10&#8242;)&#8221;;  //执行sql 2<br />
if(!mysql_query($ssql1)){<br />
  echo $ssql1.mysql_errno().&#8221;:&#8221;.mysql_error().&#8221;<br />&#8220;;<br />
     mysql_query(&#8216;ROLLBACK&#8217;) or exit(mysql_error());//判断当执行失败时回滚  </p>
<p>   exit;<br />
}  </p>
<p>mysql_query(&#8216;COMMIT&#8217;) or exit(mysql_error());//执行事务  </p>
<p>mysql_close($LinkID);<br />
?>  </p>
<p><strong><br />
2.</p>
<p>mysql_query(&#8220;BEGIN&#8221;);//开始一个事务</strong><br />
mysql_query(&#8220;SET AUTOCOMMIT=0&#8243;); //设置事务不自动commit<br />
 $insert=&#8221;INSERT INTO userinfo VALUES (&#8216;aa12&#8242;,&#8217;aa&#8217;,'1&#8242;,&#8217;aaa&#8217;)&#8221;;<br />
mysql_query($insert);<br />
mysql_query(&#8220;COMMIT&#8221;);//非autocommit模式，必须手动执行COMMIT使操作生效<br />
//mysql_query(&#8220;SET AUTOCOMMIT=0&#8243;);<br />
 $insert=&#8221;INSERT INTO userinfo VALUES (&#8216;aa20&#8242;,&#8217;aa&#8217;,'1&#8242;,&#8217;aaa&#8217;)&#8221;;<br />
$insert=&#8221;INSERT INTO userinfo VALUES (&#8216;aa8&#8242;,&#8217;aa&#8217;,'1&#8242;)&#8221;;<br />
//mysql_query(&#8220;COMMIT&#8221;);<br />
if(mysql_num_rows==0)<br />
mysql_query(&#8220;ROLLBACK&#8221;);//非autocommit模式，执行ROLLBACK使事务操作无效<br />
else echo &#8220;ok&#8221;;<br />
//mysql_query(&#8220;CLOSE&#8221;);<br />
mysql_query(&#8220;SET AUTOCOMMIT=1&#8243;);//恢复autocommit模式<br />
$insert=&#8221;INSERT INTO userinfo VALUES (&#8216;aa15&#8242;,&#8217;aa&#8217;,'1&#8242;,&#8217;aaa&#8217;)&#8221;;<br />
mysql_query($insert);//不需要手动执行COMMIT就可以使事务操作生效</p>
<p>执行BEGIN之后，其作用同set autocommit=0，而且之后设置set autocommit=0或1时无效。所以，为使操作清楚，一般不使用BEGIN。</p>
<p><strong>3.mysql事务与行锁</strong></p>
<p>http://www.611530.com/PC/wangzhan/200910/2220.html</p>
<p><strong>4.</strong></p>
<p>http://hi.baidu.com/cuihu0706/blog/item/1dd6ccb1621c355709230278.html</p>
<p><?php<br />
$handler=mysql_connect("localhost","root","");<br />
mysql_select_db("task");<br />
mysql_query("SET AUTOCOMMIT=0");//设置为不自动提交，因为MYSQL默认立即执行<br />
mysql_query("BEGIN");//开始事务定义<br />
if(!mysql_query("insert into trans (id) values('2')"))<br />
{<br />
mysql_query("ROOLBACK");//判断当执行失败时回滚<br />
}<br />
if(!mysql_query("insert into trans (id) values('4')"))<br />
{<br />
mysql_query("ROOLBACK");//判断执行失败回滚<br />
}<br />
mysql_query("COMMIT");//执行事务<br />
mysql_close($handler);<br />
?></p>
<p><strong>5.各种锁的类型：</strong></p>
<p>http://www.d5s.cn/archives/93</p>
<p><strong>6.CI中的事务：</strong></p>
<p>http://xinbituya.blogbus.com/logs/21820416.html</p>
<p>http://codeigniter.org.cn/user_guide/database/transactions.html</p>
]]></content:encoded>
			<wfw:commentRss>http://j.etwong.com/blog-127/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>myssql fulltext 全文索引</title>
		<link>http://j.etwong.com/blog-126</link>
		<comments>http://j.etwong.com/blog-126#comments</comments>
		<pubDate>Sun, 07 Mar 2010 07:53:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[杂杂杂]]></category>
		<category><![CDATA[ft_min_word_len]]></category>
		<category><![CDATA[fulltext]]></category>
		<category><![CDATA[IN BOOLEAN MODE]]></category>
		<category><![CDATA[mysq;]]></category>

		<guid isPermaLink="false">http://j.etwong.com/blog-126</guid>
		<description><![CDATA[参考：http://haka.sharera.com/blog/BlogTopic/1001.htm
mysql当把字段设成fulltext时，就可以使用了，
但有几个问题要注意：
1.对于四个字符以下的字符可以搜不出来：
 SELECT * FROM articles
    ->          WHERE MATCH (title,body) AGAINST (&#8217;spa&#8217;);
这是因为mysql设置
需要修改配置：
ft_min_word_len 为2或者你想要的字符长度
默认是4
2.对于出现机率太高的可能搜不出来，不太清楚原因：
SELECT * FROM oneword_content where match( name) against (&#8217;space&#8217;)
试试:
SELECT * FROM oneword_content where match( name) against (&#8217;space&#8217;   IN BOOLEAN MODE)
]]></description>
			<content:encoded><![CDATA[<p>参考：http://haka.sharera.com/blog/BlogTopic/1001.htm</p>
<p>mysql当把字段设成fulltext时，就可以使用了，<br />
但有几个问题要注意：<br />
1.对于四个字符以下的字符可以搜不出来：<br />
 SELECT * FROM articles<br />
    ->          WHERE MATCH (title,body) AGAINST (&#8217;spa&#8217;);</p>
<p>这是因为mysql设置<br />
需要修改配置：<br />
ft_min_word_len 为2或者你想要的字符长度<br />
默认是4</p>
<p>2.对于出现机率太高的可能搜不出来，不太清楚原因：<br />
SELECT * FROM oneword_content where match( name) against (&#8217;space&#8217;)</p>
<p>试试:<br />
SELECT * FROM oneword_content where match( name) against (&#8217;space&#8217;   IN BOOLEAN MODE)</p>
]]></content:encoded>
			<wfw:commentRss>http://j.etwong.com/blog-126/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>。。。。。。</title>
		<link>http://j.etwong.com/blog-124</link>
		<comments>http://j.etwong.com/blog-124#comments</comments>
		<pubDate>Mon, 25 Jan 2010 08:53:50 +0000</pubDate>
		<dc:creator>J.et wong</dc:creator>
				<category><![CDATA[杂杂杂]]></category>

		<guid isPermaLink="false">http://j.etwong.com/?p=124</guid>
		<description><![CDATA[亲爱的
你有太多的我不了解
亲爱的
我要从今天起读你
亲爱的
。。。。。
]]></description>
			<content:encoded><![CDATA[<p>亲爱的<br />
你有太多的我不了解<br />
亲爱的<br />
我要从今天起读你<br />
亲爱的<br />
。。。。。</p>
]]></content:encoded>
			<wfw:commentRss>http://j.etwong.com/blog-124/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>双输入对话框CAknMultiLineDataQueryDialog</title>
		<link>http://j.etwong.com/blog-122</link>
		<comments>http://j.etwong.com/blog-122#comments</comments>
		<pubDate>Sat, 23 Jan 2010 13:48:05 +0000</pubDate>
		<dc:creator>J.et wong</dc:creator>
				<category><![CDATA[Symbian]]></category>

		<guid isPermaLink="false">http://j.etwong.com/?p=122</guid>
		<description><![CDATA[CAknMultiLineDataQueryDialog  是个很奇怪的方式
如果在模拟器运行正常，但在真机上无法出现的时候，请注意在mmp加上stacksize的选项
如果还是不行，请注意make clean 原来的项目！
]]></description>
			<content:encoded><![CDATA[<p>CAknMultiLineDataQueryDialog  是个很奇怪的方式</p>
<p>如果在模拟器运行正常，但在真机上无法出现的时候，请注意在mmp加上stacksize的选项</p>
<p>如果还是不行，请注意make clean 原来的项目！</p>
]]></content:encoded>
			<wfw:commentRss>http://j.etwong.com/blog-122/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WebGame开发笔记</title>
		<link>http://j.etwong.com/blog-120</link>
		<comments>http://j.etwong.com/blog-120#comments</comments>
		<pubDate>Fri, 22 Jan 2010 10:21:57 +0000</pubDate>
		<dc:creator>J.et wong</dc:creator>
				<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://j.etwong.com/?p=120</guid>
		<description><![CDATA[辞掉之前养老的MMORPG的运营工作，开始了新的webgame研发之旅。
由于平时不是太玩游戏，这对我是一次挑战
时间只有两个月，要出一个alpha版本。
1.开发准备
2.开发小组人员配备说明
3.开发思路说明
a)、想直接走霸王硬上弓的线路，即按自己思路搭好架构，参照代码进行DB设计和library开发
发现对小组成员要求太高，
走b)路线
b)全盘阅读代码，笔记下所有疑点，是否成功，有待观察
]]></description>
			<content:encoded><![CDATA[<p>辞掉之前养老的MMORPG的运营工作，开始了新的webgame研发之旅。<br />
由于平时不是太玩游戏，这对我是一次挑战<br />
时间只有两个月，要出一个alpha版本。</p>
<p>1.开发准备<br />
2.开发小组人员配备说明<br />
3.开发思路说明<br />
a)、想直接走霸王硬上弓的线路，即按自己思路搭好架构，参照代码进行DB设计和library开发<br />
发现对小组成员要求太高，<br />
走b)路线<br />
b)全盘阅读代码，笔记下所有疑点，是否成功，有待观察</p>
]]></content:encoded>
			<wfw:commentRss>http://j.etwong.com/blog-120/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Container中加入切换View视图功能</title>
		<link>http://j.etwong.com/blog-118</link>
		<comments>http://j.etwong.com/blog-118#comments</comments>
		<pubDate>Wed, 20 Jan 2010 15:39:40 +0000</pubDate>
		<dc:creator>J.et wong</dc:creator>
				<category><![CDATA[Symbian]]></category>

		<guid isPermaLink="false">http://j.etwong.com/?p=118</guid>
		<description><![CDATA[在目前情况下，自带的MultiView例子中
可以轻松做到切到view1切换到view2，
但是有时我们需要在container中加一些itemlist，切换到 view2的功能，那要怎么做呢？


其实不是太复杂
我们可以在container里的构造函数里加入view的引用，就可以了

可以参考：fepexample的例子，他里面有就一个iFep aFep的引用例子

值得注意的是一个报错：

illegal use of incomplete struct/union/class 

这个可能是由于没有 container没有include view的头文件导致的，
尽管Carbide c++ 提示 iView能够调用 View库的函数，切记切记]]></description>
			<content:encoded><![CDATA[<p>在目前情况下，自带的MultiView例子中<br />
可以轻松做到切到view1切换到view2，<br />
但是有时我们需要在container中加一些itemlist，切换到 view2的功能，那要怎么做呢？</p>
<p>其实不是太复杂<br />
我们可以在container里的构造函数里加入view的引用，就可以了</p>
<p>可以参考：fepexample的例子，他里面有就一个iFep aFep的引用例子</p>
<p>值得注意的是一个报错：</p>
<p>illegal use of incomplete struct/union/class </p>
<p>这个可能是由于没有 container没有include view的头文件导致的，<br />
尽管Carbide c++ 提示 iView能够调用 View库的函数，切记切记</p>
]]></content:encoded>
			<wfw:commentRss>http://j.etwong.com/blog-118/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP加载OPEN SSL功能</title>
		<link>http://j.etwong.com/blog-116</link>
		<comments>http://j.etwong.com/blog-116#comments</comments>
		<pubDate>Fri, 16 Oct 2009 02:28:36 +0000</pubDate>
		<dc:creator>J.et wong</dc:creator>
				<category><![CDATA[Symbian]]></category>
		<category><![CDATA[openssl  Apache curl post]]></category>

		<guid isPermaLink="false">http://j.etwong.com/?p=116</guid>
		<description><![CDATA[ＭＳ是个很麻烦的问题，不简单是从php.ini中去掉
;extension=php_openssl.dll
和把dll复制到c:\windows\system32目录中
你会发现在PHPinfo里，还是看不到openssl的信息。
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-一条分隔线&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-
看这里的文档：
http://www.php.net/manual/en/openssl.installation.php
大意是说：
在Apache加载PHP模式下，加载这两个dll是有顺序，先去Apache的bin下的dll加载，一看真是两个文件名一模一样，就是大小不一样，
换上新的文件，phpinfo又出现OpenSSL了
但是http  request 还是得不到他的信息，真郁闷，最后还是用Curl来解决这个问题
// 初始化一个 cURL 对象
$curl = curl_init();
// 设置你需要抓取的URL
curl_setopt($curl, CURLOPT_URL, &#8216;https://XXXXX/xxx.xxx&#8217;);
//ＳＳＬ验证
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, 1);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);  //如果需要验证的话，设成false
// 设置header
curl_setopt($curl, CURLOPT_HEADER, 1); //如果为１，会打印出来header的
// 设置cURL 参数，要求结果保存到字符串中还是输出到屏幕上。
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
// 运行cURL，请求网页
$data = curl_exec($curl);
// 关闭URL请求
curl_close($curl);
// 显示获得的数据
var_dump($data);
]]></description>
			<content:encoded><![CDATA[<p>ＭＳ是个很麻烦的问题，不简单是从php.ini中去掉</p>
<p>;extension=php_openssl.dll</p>
<p>和把dll复制到c:\windows\system32目录中</p>
<p>你会发现在PHPinfo里，还是看不到openssl的信息。</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-一条分隔线&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>看这里的文档：</p>
<p><a href="http://www.php.net/manual/en/openssl.installation.php">http://www.php.net/manual/en/openssl.installation.php</a></p>
<p>大意是说：</p>
<p>在Apache加载PHP模式下，加载这两个dll是有顺序，先去Apache的bin下的dll加载，一看真是两个文件名一模一样，就是大小不一样，</p>
<p>换上新的文件，phpinfo又出现OpenSSL了</p>
<p>但是http  request 还是得不到他的信息，真郁闷，最后还是用Curl来解决这个问题</p>
<p>// 初始化一个 cURL 对象<br />
$curl = curl_init();</p>
<p>// 设置你需要抓取的URL<br />
curl_setopt($curl, CURLOPT_URL, &#8216;https://XXXXX/xxx.xxx&#8217;);</p>
<p>//ＳＳＬ验证<br />
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, 1);<br />
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);  //如果需要验证的话，设成false<br />
// 设置header<br />
curl_setopt($curl, CURLOPT_HEADER, 1); //如果为１，会打印出来header的</p>
<p>// 设置cURL 参数，要求结果保存到字符串中还是输出到屏幕上。<br />
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);</p>
<p>// 运行cURL，请求网页<br />
$data = curl_exec($curl);</p>
<p>// 关闭URL请求<br />
curl_close($curl);</p>
<p>// 显示获得的数据<br />
var_dump($data);</p>
]]></content:encoded>
			<wfw:commentRss>http://j.etwong.com/blog-116/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lightwindow图片大小的ＢＵＧ</title>
		<link>http://j.etwong.com/blog-113</link>
		<comments>http://j.etwong.com/blog-113#comments</comments>
		<pubDate>Fri, 16 Oct 2009 02:09:48 +0000</pubDate>
		<dc:creator>J.et wong</dc:creator>
				<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://j.etwong.com/?p=113</guid>
		<description><![CDATA[Lightwindow 是个不错的图片浏览库，但有个情况就是在ＩＥ下，会出现在图片没有载入完全时，会出现很小一个框的ＢＵＧ，看不清图片

现在有个解决方案：
老外提供的》》
主要是ＩＥ引起的，具体原因要研究一下，但注意不要ＣＯＰＹ他的代码
要用原版的：&#62;&#62;&#62;
同样，你也可以下载我这里的：
Lightwindow.js    1217-1239:
// We have to  do this instead of .onload
this.checkImage[i] = new  PeriodicalExecuter(function(i) {
if (!(typeof  $('lightwindow_image_'+i).naturalWidth != "undefined" &#38;&#38;  $('lightwindow_image_'+i).naturalWidth == 0))  {
this.checkImage[i].stop();
var imageHeight =  $('lightwindow_image_'+i).getHeight();
if (imageHeight &#62;  this.resizeTo.height) {
this.resizeTo.height =  imageHeight;
}
this.resizeTo.width +=  $('lightwindow_image_'+i).getWidth();
this.imageCount--;
$('lightwindow_image_'+i).setStyle({
height:  '100%', width: '100%'
});
if (this.imageCount == 0)  {
this._processWindow();
}
}
}.bind(this, i), [...]]]></description>
			<content:encoded><![CDATA[<p>Lightwindow 是个不错的图片浏览库，但有个情况就是在ＩＥ下，会出现在图片没有载入完全时，会出现很小一个框的ＢＵＧ，看不清图片</p>
<p><img class="alignnone size-full wp-image-114" src="http://j.etwong.com/wp-content/uploads/2009/10/lightwindow.jpg" alt="lightwindow" width="583" height="498" /></p>
<p>现在有个解决方案：</p>
<p><a href="http://www.rtraction.com/blog/devit/lightwindow-image-sizing-bug-in-ie6-on-first-click-of-gallery.html" target="_blank">老外提供的》》</a></p>
<p>主要是ＩＥ引起的，具体原因要研究一下，但注意不要ＣＯＰＹ他的代码</p>
<p><a href="http://www.trilodge.de/blog/2007/11/07/lightwindow-image-load-failure-fixed/" target="_blank">要用原版的：&gt;&gt;&gt;</a></p>
<p>同样，你也可以下载我这里的：</p>
<p>Lightwindow.js    <strong>1217-1239</strong>:<br />
<code>// We have to  do this instead of .onload<br />
this.checkImage[i] = new  PeriodicalExecuter(function(i) {<br />
if (!(typeof  $('lightwindow_image_'+i).naturalWidth != "undefined" &amp;&amp;  $('lightwindow_image_'+i).naturalWidth == 0))  {<br />
this.checkImage[i].stop();<br />
var imageHeight =  $('lightwindow_image_'+i).getHeight();<br />
if (imageHeight &gt;  this.resizeTo.height) {<br />
this.resizeTo.height =  imageHeight;<br />
}<br />
this.resizeTo.width +=  $('lightwindow_image_'+i).getWidth();<br />
this.imageCount--;<br />
$('lightwindow_image_'+i).setStyle({<br />
height:  '100%', width: '100%'<br />
});<br />
if (this.imageCount == 0)  {<br />
this._processWindow();<br />
}<br />
}<br />
}.bind(this, i), 1);</code></p>
<p><strong>换成如下代码:</strong></p>
<p><code>// We have to do this instead of .onload<br />
var ie =  (document.all)?1:0;<br />
this.checkImage[i] = new PeriodicalExecuter(function(i)  {<br />
if(ie){ //THE BROWSER IS IE<br />
if ( $('lightwindow_image_'+i).complete  &amp;&amp; !(typeof $('lightwindow_image_'+i).naturalWidth != "undefined"  &amp;&amp; $('lightwindow_image_'+i).naturalWidth == 0))  {<br />
this.checkImage[i].stop();<br />
var imageHeight =  $('lightwindow_image_'+i).getHeight();<br />
if (imageHeight &gt;  this.resizeTo.height) {<br />
this.resizeTo.height =  imageHeight;<br />
}<br />
this.resizeTo.width +=  $('lightwindow_image_'+i).getWidth();<br />
this.imageCount--;<br />
$('lightwindow_image_'+i).setStyle({<br />
height:  '100%', width: '100%'<br />
});<br />
if (this.imageCount == 0)  {<br />
this._processWindow();<br />
}<br />
//alert('IE has been  detected')<br />
}<br />
}<br />
else<br />
{//NOT IE, PROBABLY FF, OPERA, OTHER<br />
//this  line works for all other browsers<br />
if ($('lightwindow_image_'+i).complete  &amp;&amp; !(typeof $('lightwindow_image_'+i).naturalWidth != "undefined"  &amp;&amp; $('lightwindow_image_'+i).naturalWidth == 0))  {<br />
this.checkImage[i].stop();<br />
var imageHeight =  $('lightwindow_image_'+i).getHeight();<br />
if (imageHeight &gt;  this.resizeTo.height) {<br />
this.resizeTo.height =  imageHeight;<br />
}<br />
this.resizeTo.width +=  $('lightwindow_image_'+i).getWidth();<br />
this.imageCount--;<br />
$('lightwindow_image_'+i).setStyle({<br />
height:  '100%', width: '100%'<br />
});<br />
if (this.imageCount == 0)  {<br />
this._processWindow();<br />
}<br />
}<br />
}<br />
}.bind(this, i), 1);</code></p>
]]></content:encoded>
			<wfw:commentRss>http://j.etwong.com/blog-113/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>symbian应用程序Uid</title>
		<link>http://j.etwong.com/blog-108</link>
		<comments>http://j.etwong.com/blog-108#comments</comments>
		<pubDate>Tue, 29 Sep 2009 14:41:45 +0000</pubDate>
		<dc:creator>J.et wong</dc:creator>
				<category><![CDATA[Symbian]]></category>

		<guid isPermaLink="false">http://j.etwong.com/?p=108</guid>
		<description><![CDATA[RWsSession&#38; ws = iEikonEnv-&#62;WsSession();
TInt wgid = ws.GetFocusWindowGroup();
CApaWindowGroupName* gn = CApaWindowGroupName::NewLC(ws, wgid);
TUid aCurAppUid = gn-&#62;AppUid();
CleanupStack::PopAndDestroy(gn);

需要从Uid转为十六进制。。。


const TUid KUidIdleApp5 = {0&#215;10005901};
]]></description>
			<content:encoded><![CDATA[<p>RWsSession&amp; ws = iEikonEnv-&gt;WsSession();<br />
TInt wgid = ws.GetFocusWindowGroup();<br />
CApaWindowGroupName* gn = CApaWindowGroupName::NewLC(ws, wgid);<br />
TUid aCurAppUid = gn-&gt;AppUid();<br />
CleanupStack::PopAndDestroy(gn);</p>
<p><img class="alignnone size-full wp-image-110" src="http://j.etwong.com/wp-content/uploads/2009/09/0002.jpg" alt="0002" width="560" height="254" /></p>
<p>需要从Uid转为十六进制。。。</p>
<p><img class="alignnone size-full wp-image-111" src="http://j.etwong.com/wp-content/uploads/2009/09/0003.jpg" alt="0003" width="550" height="54" /></p>
<p><img class="alignnone size-full wp-image-109" src="http://j.etwong.com/wp-content/uploads/2009/09/0001.jpg" alt="0001" width="521" height="115" /></p>
<p>const TUid KUidIdleApp5 = {0&#215;10005901};</p>
]]></content:encoded>
			<wfw:commentRss>http://j.etwong.com/blog-108/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>wordpress 的移植出现的问题</title>
		<link>http://j.etwong.com/blog-106</link>
		<comments>http://j.etwong.com/blog-106#comments</comments>
		<pubDate>Sun, 30 Aug 2009 08:23:49 +0000</pubDate>
		<dc:creator>J.et wong</dc:creator>
				<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://j.etwong.com/?p=106</guid>
		<description><![CDATA[有时wordpress系统需要COPY+PASTE一份新的，
解决办法 是：复制整个目录，修改wp-config.php
修改SQL，改成新的目录，尤其注意的是有serialize的数据中，更换一下数据
常见问题1：
You do not have sufficient permissions to access this page.
可能的问题是 $_usermeta这个数据表中的数据问题：需要改成新的：老外解决方案
如果还有问题：修改表$prefix_options
记录$prefox_user_roles，这个是否换成新的了
]]></description>
			<content:encoded><![CDATA[<p>有时wordpress系统需要COPY+PASTE一份新的，</p>
<p>解决办法 是：复制整个目录，修改wp-config.php</p>
<p>修改SQL，改成新的目录，尤其注意的是有serialize的数据中，更换一下数据</p>
<p>常见问题1：</p>
<p>You do not have sufficient permissions to access this page.</p>
<p>可能的问题是 $_<code>usermeta这个数据表中的数据问题：需要改成新的：<a href="http://beconfused.com/2007/08/28/how-to-solve-you-do-not-have-sufficient-permissions-to-access-this-page-in-wordpress/" target="_blank">老外解决方案</a></code></p>
<p>如果还有问题：修改表<span class="item">$prefix_options</span></p>
<p>记录$prefox_user_roles，这个是否换成新的了</p>
]]></content:encoded>
			<wfw:commentRss>http://j.etwong.com/blog-106/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
