


<?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>VILIC&#039;s Blog</title>
	<atom:link href="http://www.vilic.info/blog/feed" rel="self" type="application/rss+xml" />
	<link>http://www.vilic.info/blog</link>
	<description>万松恒的博客 - 看出来了么, 我是一个人...</description>
	<lastBuildDate>Thu, 02 Sep 2010 15:11:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>不用PS 两句代码 菜鸟都能伪造网页</title>
		<link>http://www.vilic.info/blog/archives/552</link>
		<comments>http://www.vilic.info/blog/archives/552#comments</comments>
		<pubDate>Thu, 02 Sep 2010 15:09:31 +0000</pubDate>
		<dc:creator>Vilic</dc:creator>
				<category><![CDATA[Techniques]]></category>
		<category><![CDATA[contentEditable]]></category>
		<category><![CDATA[伪造]]></category>

		<guid isPermaLink="false">http://www.vilic.info/blog/?p=552</guid>
		<description><![CDATA[今天突然想到了很多人通过PS修改了Google或者百度的页面, 得到诸如 "抱歉, 没有找到比XX更帅的人." 这样的效果. 当然, 也有人把页面保存下来, 修改后再打开, 或者像我从前一样, 使用JS的innerHTML. 然后今天突然灵感一现, 想到了contentEditable属性, 用它不是更方便吗? 废话不多说, 如果你不懂JS, 请按下面的步骤进行修改. 当然, 如果你懂, 看完上面的一段就行了. 经测试兼容IE/FF/Chrome (如有兼容问题, 欢迎反馈: www.vilic.info) 在浏览器地址栏输入: javascript:void(document.body.contentEditable=true); 现在, 整个页面都变成可编辑的了, 编辑的方法就像使用Word一样, 可惜的是没有什么多的功能. IE中编辑模式下会使元素有些错位, 不过不要在意, 一会儿退出编辑模式后, 一切都会恢复正常. 将想要编辑的文字修改后, 再使用下面的代码还原: javascript:void(document.body.contentEditable=false); 现在就搞定啦, 是不是特别简单? 除了简单地修改文本, 你还可以拖动它们(和图片), 让他们换个排列方法. 不过, 这样做可能会使页面很难看哦! 祝同学们恶搞愉快! Original link of this archive: http://www.vilic.info/blog/archives/552本文的原始链接: http://www.vilic.info/blog/archives/552]]></description>
		<wfw:commentRss>http://www.vilic.info/blog/archives/552/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Nokia X6 官方OVI无痛刷机 港版变国行 可更换颜色</title>
		<link>http://www.vilic.info/blog/archives/550</link>
		<comments>http://www.vilic.info/blog/archives/550#comments</comments>
		<pubDate>Tue, 31 Aug 2010 13:00:04 +0000</pubDate>
		<dc:creator>Vilic</dc:creator>
				<category><![CDATA[Techniques]]></category>
		<category><![CDATA[CODE]]></category>
		<category><![CDATA[Nokia]]></category>
		<category><![CDATA[X6]]></category>
		<category><![CDATA[刷机]]></category>
		<category><![CDATA[港版]]></category>
		<category><![CDATA[行货]]></category>
		<category><![CDATA[颜色]]></category>

		<guid isPermaLink="false">http://www.vilic.info/blog/?p=550</guid>
		<description><![CDATA[买了个X6的换壳机, 16G, 蓝白色, 不过拿到手后发现界面依旧是粉红色的... 郁闷之际, 想通过刷机解决问题. 原来用过凤凰刷过6120c, 这次相应的应该也可以用凤凰来刷, 但是无意间看到一个通过修改手机CODE的方式来实现刷机的方法, 觉得甚妙, 于是写下来分享. 免责声明: 作者(Vilic)通过以下方法成功将固件从 "港版 白/粉红" 更新为 "国行 白/蓝", 但是不保证此方法在其他人品条件下同样可用, 对于使用此方法造成的一切损失, 都与作者无关. 谢谢~ 在刷机之前, 需要找到想要刷的版本的CODE, 你可能会用到这些: 0595776：诺基亚RM-559 国行3G 16GB的黑色/黑色 0595705：诺基亚RM-559 国行3G 16GB的白/粉红 0595778：诺基亚RM-559 国行3G 16GB的白色/黄色 0595196：诺基亚RM-559 国行3G 32GB的白/蓝 0595084：诺基亚RM-559 国行3G黑/红 如果上面没有你想刷的, 可以Google下X6 CODE. 请注意机型一定要一样. 输入*#0000#可以看到一个类似于RM-XXX的东西, 保证它和你要更改的CODE所对应的相同. 除了安装好的OVI套件, 我们还需要准备一个小软件, 叫NSS, 官方网站: http://www.b-phreaks.co.uk/, 到现在, NSS的下载地址为: http://www.b-phreaks.co.uk/index.php?main_page=page_2. 下载并完成安装. 退出NOKIA [...]]]></description>
		<wfw:commentRss>http://www.vilic.info/blog/archives/550/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>JavaScript RegExp &quot;陷阱&quot;</title>
		<link>http://www.vilic.info/blog/archives/531</link>
		<comments>http://www.vilic.info/blog/archives/531#comments</comments>
		<pubDate>Thu, 19 Aug 2010 14:30:44 +0000</pubDate>
		<dc:creator>Vilic</dc:creator>
				<category><![CDATA[JavaScript/AJAX]]></category>
		<category><![CDATA[g]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[交替]]></category>
		<category><![CDATA[正则表达式]]></category>

		<guid isPermaLink="false">http://www.vilic.info/blog/?p=531</guid>
		<description><![CDATA[说明下, 文章中的有些东西来自Franky大神的文章&#60;浏览器中的 正则表达式陷阱&#62;. 试考虑如下代码: var re = /^\w$/g; re.test('a'); //返回true re.test('b'); //还是true吗? 猜猜返回值都是什么呢? 如果你已经阅读了Franky大神的那篇文章, 或者自己动手试了下, 就会发现, 竟然一次是true, 一次是false. 原因在于正则表达式中的g, 使得搜索过程后, 如果匹配成功, 则记录上一次的位置, 如果匹配不成功, 则会归零. 所以, 如果在上面的语句中再加一条re.test('s'), 那么返回的将又会是我们期望的true了. 不过一般情况下, 我们自然会希望得到同样的结果, 这个时候可以在其中添加一条语句, 人工将位置归零, 防止这个 "错误" 的发生: var re = /^\w$/g; re.test('a'); //返回true re.lastIndex = 0; //归零搜索的位置 re.test('b'); //返回true 或者我们可以更简单地直接将g去掉: var re = /^\w$/; re.test('a'); //返回true re.test('b'); //返回true [...]]]></description>
		<wfw:commentRss>http://www.vilic.info/blog/archives/531/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Vlight 开发笔记 2010.8.19</title>
		<link>http://www.vilic.info/blog/archives/527</link>
		<comments>http://www.vilic.info/blog/archives/527#comments</comments>
		<pubDate>Wed, 18 Aug 2010 17:29:53 +0000</pubDate>
		<dc:creator>Vilic</dc:creator>
				<category><![CDATA[JavaScript/AJAX]]></category>
		<category><![CDATA[Vejis]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[JS]]></category>
		<category><![CDATA[Vlight]]></category>
		<category><![CDATA[代码高亮]]></category>

		<guid isPermaLink="false">http://www.vilic.info/blog/?p=527</guid>
		<description><![CDATA[Version: 0.4 昨天主要是添加了HTML代码高亮和CSS代码高亮, 并且自动识别HTML/CSS/JS. 同时也能高亮HTML中嵌套的CSS和JS. 有些判断并不是很严谨, 但是多数情况下是适用的. 下面分别是HTML/CSS/JS代码示例. HTML代码: &#60;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&#62; &#60;html xmlns="http://www.w3.org/1999/xhtml"&#62; &#60;head&#62;     &#60;!-- HTML Code --&#62;     &#60;title&#62;Vlight Demo&#60;/title&#62;     &#60;style type="text/css"&#62;         /* CSS Code */         body { margin: 0px; line-height: 16px; font-size: 12px; font-family: Microsoft Yahei, Arial; }         #test_div { height: 40px; }         [...]]]></description>
		<wfw:commentRss>http://www.vilic.info/blog/archives/527/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vlight &amp; Vejis 开发笔记 2010.8.18</title>
		<link>http://www.vilic.info/blog/archives/519</link>
		<comments>http://www.vilic.info/blog/archives/519#comments</comments>
		<pubDate>Tue, 17 Aug 2010 18:20:26 +0000</pubDate>
		<dc:creator>Vilic</dc:creator>
				<category><![CDATA[JavaScript/AJAX]]></category>
		<category><![CDATA[Videos]]></category>
		<category><![CDATA[Vejis]]></category>
		<category><![CDATA[Vlight]]></category>
		<category><![CDATA[代码高亮]]></category>

		<guid isPermaLink="false">http://www.vilic.info/blog/?p=519</guid>
		<description><![CDATA[Vlight Version: 0.3 Vejis Version: 0.0.0.5 同志们可能已经发现了, 现在有代码高亮了. 这个属于心血来潮, 突然想到写一个, 然后就写了一个, 不过后来兼容IE6还是费了点事. 最后在样式上也动用了JS. 不过顺道, 也进一步完善了Vejis (Vlight需要Vejis). 代码不多, 去掉注释的话只有80+行. 所以直接贴出来, 也顺道测试下. /* Vlight JS Code Highlight (Style from Visual Studio 2010) Version 0.3 Vejis JavaScript Library 0.0.0.5 is needed. By Vilic Vane http://www.vilic.info/ ©2010 Groinup Studio All rights reserved. Redistribution and use in source and binary [...]]]></description>
		<wfw:commentRss>http://www.vilic.info/blog/archives/519/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Vejis 开发笔记 2010.8.17</title>
		<link>http://www.vilic.info/blog/archives/509</link>
		<comments>http://www.vilic.info/blog/archives/509#comments</comments>
		<pubDate>Mon, 16 Aug 2010 16:59:24 +0000</pubDate>
		<dc:creator>Vilic</dc:creator>
				<category><![CDATA[JavaScript/AJAX]]></category>
		<category><![CDATA[Vejis]]></category>
		<category><![CDATA[Cookie]]></category>
		<category><![CDATA[JSON]]></category>
		<category><![CDATA[XMLHttpRequest]]></category>

		<guid isPermaLink="false">http://www.vilic.info/blog/?p=509</guid>
		<description><![CDATA[Version: 0.0.0.4 昨天做的东西比较多, 有大致有cookie的操作, 简单的get和post, json. cookie的操作目前有1个集合, 5种方法共8次重载. (vejis的重载是我的大爱啊!) 简单操作的例子. vejis.use(vejis, true); //使用vejis命名空间. cookies.set('name', 'Vilic'); //添加名称为name的cookie, 值为'Vilic'. cookies.set(['age', 'sex'], ['17', 'male']); //批量添加. alert(cookies['name']); cookies.del('name'); //删除名称为name的cookie. alert(cookies['name']); 然后是xmlhttp, 做得比较简单, 够我用就好了: vejis.use(vejis, true); var data = new xmlhttp.Data(); data.title = 'This is a test!'; data.content = 'Hello, I\'m Vilic!'; var callback = _(Boolean, String, Number, function (done, text, [...]]]></description>
		<wfw:commentRss>http://www.vilic.info/blog/archives/509/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vejis 开发笔记 2010.8.16</title>
		<link>http://www.vilic.info/blog/archives/502</link>
		<comments>http://www.vilic.info/blog/archives/502#comments</comments>
		<pubDate>Sun, 15 Aug 2010 17:31:36 +0000</pubDate>
		<dc:creator>Vilic</dc:creator>
				<category><![CDATA[JavaScript/AJAX]]></category>
		<category><![CDATA[Vejis]]></category>
		<category><![CDATA[instanceof]]></category>
		<category><![CDATA[new]]></category>
		<category><![CDATA[函数重载]]></category>

		<guid isPermaLink="false">http://www.vilic.info/blog/?p=502</guid>
		<description><![CDATA[Version: 0.0.0.3 再次改进了重载算法. 然后开始各种杂项的开发, 比如string, array命名空间. 其中部分有enhance方法, 用于加强相应的原型. 之前创建可重载的函数时, 是通过函数内部创建之后return的. 但是一直想使用类似new的方法. 今天也算巩固了下之前很久听说过的一个知识: function Test() {     return fn;     function fn() {         alert('Test OK!');     } } var test = new Test(); test(); 你认为上面的代码能弹出 "Test OK!" 吗? 答案是可以的. 但是这个时候, test instanceof Text == false. 也就是说, test此时并非Test的实例, 而是一个function(){}. 在vejis里, 虽然我最终用类似的方法实现了new Method的操作, 但得到的方法也并非Method的实例: vejis.use(vejis, true); //使用vejis命名空间, [...]]]></description>
		<wfw:commentRss>http://www.vilic.info/blog/archives/502/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vejis 开发笔记 2010.8.15</title>
		<link>http://www.vilic.info/blog/archives/497</link>
		<comments>http://www.vilic.info/blog/archives/497#comments</comments>
		<pubDate>Sat, 14 Aug 2010 17:49:43 +0000</pubDate>
		<dc:creator>Vilic</dc:creator>
				<category><![CDATA[JavaScript/AJAX]]></category>
		<category><![CDATA[Vejis]]></category>
		<category><![CDATA[函数重载]]></category>

		<guid isPermaLink="false">http://www.vilic.info/blog/?p=497</guid>
		<description><![CDATA[Version: 0.0.0.2 更改了函数重载的实现, 将原来的字符串变成了类, 扩展性更强. 见下面的MyClass. vejis.use(vejis, true); var test = _(); test._(Integer, function (n) {     alert('Integer: ' + n); }); test._(MyClass, function (obj) {     obj.alert(); }); var obj = new MyClass(); test(18); test(obj); function MyClass() {     this.alert = function () {         alert('It\'s a new Class!');     }; } Original link [...]]]></description>
		<wfw:commentRss>http://www.vilic.info/blog/archives/497/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vejis 开发笔记 2010.8.14</title>
		<link>http://www.vilic.info/blog/archives/488</link>
		<comments>http://www.vilic.info/blog/archives/488#comments</comments>
		<pubDate>Sat, 14 Aug 2010 09:44:39 +0000</pubDate>
		<dc:creator>Vilic</dc:creator>
				<category><![CDATA[JavaScript/AJAX]]></category>
		<category><![CDATA[Vejis]]></category>
		<category><![CDATA[Framework]]></category>
		<category><![CDATA[函数重载]]></category>

		<guid isPermaLink="false">http://www.vilic.info/blog/?p=488</guid>
		<description><![CDATA[Version: 0.0.0.1 选择的是BSD协议. 现在有接近200行了. 主要功能是createFunction. 下面来一段演示的代码: vejis.use(vejis, true); var test = createFunction(); test._('string', function (name) {     alert('name: ' + name); }); test._('int', function (age) {    alert('age: ' + age); }); 呵呵, 看出来了吧, 函数重载. 不过在这个简单的例子上, 你可能觉得有点多余, 看看这个, 这个是vejis里的一个函数, 有4个重载: var argsCountError = this.argsCountError = createFunction(); argsCountError._('integer', function (count) {    if (arguments.callee._caller.arguments.length != count)       error('The method [...]]]></description>
		<wfw:commentRss>http://www.vilic.info/blog/archives/488/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>全新WordPress主题</title>
		<link>http://www.vilic.info/blog/archives/472</link>
		<comments>http://www.vilic.info/blog/archives/472#comments</comments>
		<pubDate>Mon, 09 Aug 2010 17:37:18 +0000</pubDate>
		<dc:creator>Vilic</dc:creator>
				<category><![CDATA[Personal Diaries]]></category>
		<category><![CDATA[Blog]]></category>
		<category><![CDATA[Theme]]></category>
		<category><![CDATA[Vilic]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[主题]]></category>

		<guid isPermaLink="false">http://www.vilic.info/blog/?p=472</guid>
		<description><![CDATA[在两三天的艰苦劳作后, 把最基本东功能做完了. 因为心里比较着急, 就先用上了这个未完成的主题. 该主题将逐步添加更多的CSS3甚至HTML5的特性，对IE8以下的浏览器保持可用性，但是推荐使用IE8+及其他现代的浏览器。 在接下来的时间里, 我会利用空闲时间逐步完善, 并且尽快搞定一个完整的, 可发布的版本. 欢迎有兴趣的朋友关注! Follow me on Twitter! twitter.com/vilicvane Original link of this archive: http://www.vilic.info/blog/archives/472本文的原始链接: http://www.vilic.info/blog/archives/472]]></description>
		<wfw:commentRss>http://www.vilic.info/blog/archives/472/feed</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
	</channel>
</rss>
