<?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"
>
<channel>
	<title>Crazy</title>
	<link>https://zhangyun.wodemo.net/</link>
        <item>
        <title><![CDATA[掌中屏汉化版.apk]]></title>
		<link><![CDATA[https://zhangyun.wodemo.net/file/279609]]></link>
		<dc:creator><![CDATA[Crazy (@zhangyun)]]></dc:creator>
		<pubDate><![CDATA[Tue, 29 Apr 2014 06:21:20 +0800]]></pubDate>
        <description><![CDATA[File Size: 0.31 MiBOrignal Name: 掌中屏Version: 1.0.21ID：com.idisplay.virtualscreen&nbsp;|&nbsp;<a href="https://zhangyun.wodemo.net/browse/279609">Browse</a>&nbsp;|&nbsp;<a href="https://zhangyun.wodemo.net/meta/279609">Meta</a>]]></description>
    </item>
        <item>
        <title><![CDATA[iDisplay_setup.rar]]></title>
		<link><![CDATA[https://zhangyun.wodemo.net/file/279606]]></link>
		<dc:creator><![CDATA[Crazy (@zhangyun)]]></dc:creator>
		<pubDate><![CDATA[Tue, 29 Apr 2014 06:15:06 +0800]]></pubDate>
        <description><![CDATA[File Size: 3.57 MiBOrignal Name: 掌中屏Version: 1.0.21ID：com.idisplay.virtualscreen&nbsp;|&nbsp;<a href="https://zhangyun.wodemo.net/browse/279606">Decompress</a>&nbsp;|&nbsp;<a href="https://zhangyun.wodemo.net/meta/279606">Meta</a>]]></description>
    </item>
        <item>
        <title><![CDATA[jQuery把彩色图片变为黑白图片]]></title>
		<link><![CDATA[https://zhangyun.wodemo.net/entry/279589]]></link>
		<dc:creator><![CDATA[Crazy (@zhangyun)]]></dc:creator>
		<pubDate><![CDATA[Tue, 29 Apr 2014 01:02:42 +0800]]></pubDate>
        <description><![CDATA[. jquery.min.js. grayscale.jsDEMO:
						 
	
		代码: 全选
		
			
&lt;html&gt;

&lt;body&gt;

&lt;img src=&quot;http&#58;//code.zhangyun.org/down/20140429/279587/20080528104708431.jpg&quot; class=&quot;img&quot; /&gt;



&lt;script src=&quot;http&#58;//c.wodemo.com/distribution/279589/d006ef681b60de212333d96bea5910a5/jquery.min.js&quot;&gt;&lt;/script&gt;

&lt;script src=&quot;http&#58;//zhangyun.wodemo.com/entry/279589/6cbe88232b10c28b4ff79225fcd4278e/grayscale.js&quot;&gt;&lt;/script&gt;



&lt;script type=&quot;text/javascript&quot;&gt;



grayscale&#40;$&#40;&quot;.img&quot;&#41;&#41;;



&lt;/script&gt;

&lt;/body&gt;

&lt;/html&gt;
			
		
	
 ]]></description>
    </item>
        <item>
        <title><![CDATA[20080528104708431.jpg]]></title>
		<link><![CDATA[https://zhangyun.wodemo.net/file/279587]]></link>
		<dc:creator><![CDATA[Crazy (@zhangyun)]]></dc:creator>
		<pubDate><![CDATA[Tue, 29 Apr 2014 00:56:04 +0800]]></pubDate>
        <description><![CDATA[File Size: 198.01 KiBOrignal Name: 掌中屏Version: 1.0.21ID：com.idisplay.virtualscreen&nbsp;|&nbsp;<a href="https://zhangyun.wodemo.net/meta/279587">Meta</a>]]></description>
    </item>
        <item>
        <title><![CDATA[jQuery图片自适应宽度插件jQuery.imgAutoSize.js]]></title>
		<link><![CDATA[https://zhangyun.wodemo.net/entry/279585]]></link>
		<dc:creator><![CDATA[Crazy (@zhangyun)]]></dc:creator>
		<pubDate><![CDATA[Tue, 29 Apr 2014 00:48:25 +0800]]></pubDate>
        <description><![CDATA[调用方法：
						 
	
		代码: 全选
		
			
jQuery&#40;function &#40;$&#41; &#123;

&nbsp; &nbsp;// .imgWrap这个是图片外部容器，使用了本插件后超大的图片宽度将会限制在容器宽度

&nbsp; &nbsp;// 如果要控制图片与容器的边距，如20像素： $&#40;'.imgWrap'&#41;.imgAutoSize&#40;20&#41;;

&nbsp; &nbsp;$&#40;'.imgWrap'&#41;.imgAutoSize&#40;&#41;;

&#125;&#41;;
			
		
	
 . jQuery.imgAutoSize.js. jquery.min.jsDEMO：
						 
	
		代码: 全选
		
			
&lt;html&gt;



&lt;style type=&quot;text/css&quot;&gt;

&nbsp; &nbsp;.wrap&#123;

&nbsp; &nbsp;&nbsp; &nbsp;width&#58; 50px;

&nbsp; &nbsp;&#125;

&lt;/style&gt;

&lt;body&gt;



&lt;div class=&quot;wrap&quot;&gt;



&nbsp; &nbsp;&lt;img src=&quot;http&#58;//code.zhangyun.org/down/20140429/279587/20080528104708431.jpg&quot; /&gt;

&nbsp; &nbsp;

&nbsp; &nbsp;&lt;script src=&quot;http&#58;//c.wodemo.com/distribution/279585/d006ef681b60de212333d96bea5910a5/jquery.min.js&quot;&gt;&lt;/script&gt;

&nbsp; &nbsp;&lt;script src=&quot;http&#58;//zhangyun.wodemo.com/entry/279585/1966906cc5e6d0f26adad699c2064500/jQuery.imgAutoSize.js&quot;&gt;&lt;/script&gt;



&nbsp; &nbsp;&lt;script type=&quot;text/javascript&quot;&gt;



&nbsp; &nbsp;jQuery&#40;function &#40;$&#41; &#123;

&nbsp; &nbsp;&nbsp; &nbsp;$&#40;'.wrap'&#41;.imgAutoSize&#40;&#41;;

&nbsp; &nbsp;&#125;&#41;;



&nbsp; &nbsp;&lt;/script&gt;

&lt;/div&gt;

&lt;/body&gt;

&lt;/html&gt;


			
		
	
 ]]></description>
    </item>
        <item>
        <title><![CDATA[grayscale.js]]></title>
		<link><![CDATA[https://zhangyun.wodemo.net/file/279584]]></link>
		<dc:creator><![CDATA[Crazy (@zhangyun)]]></dc:creator>
		<pubDate><![CDATA[Tue, 29 Apr 2014 00:45:04 +0800]]></pubDate>
        <description><![CDATA[File Size: 12.91 KiBOrignal Name: 掌中屏Version: 1.0.21ID：com.idisplay.virtualscreen&nbsp;|&nbsp;<a href="https://zhangyun.wodemo.net/meta/279584">Meta</a>]]></description>
    </item>
        <item>
        <title><![CDATA[jQuery.imgAutoSize.js]]></title>
		<link><![CDATA[https://zhangyun.wodemo.net/file/279583]]></link>
		<dc:creator><![CDATA[Crazy (@zhangyun)]]></dc:creator>
		<pubDate><![CDATA[Tue, 29 Apr 2014 00:44:22 +0800]]></pubDate>
        <description><![CDATA[File Size: 0.71 KiBOrignal Name: 掌中屏Version: 1.0.21ID：com.idisplay.virtualscreen&nbsp;|&nbsp;<a href="https://zhangyun.wodemo.net/meta/279583">Meta</a>]]></description>
    </item>
        <item>
        <title><![CDATA[jquery.min.js]]></title>
		<link><![CDATA[https://zhangyun.wodemo.net/file/279582]]></link>
		<dc:creator><![CDATA[Crazy (@zhangyun)]]></dc:creator>
		<pubDate><![CDATA[Tue, 29 Apr 2014 00:43:12 +0800]]></pubDate>
        <description><![CDATA[File Size: 91.44 KiBWord Count: 93,637Orignal Name: 掌中屏Version: 1.0.21ID：com.idisplay.virtualscreen&nbsp;|&nbsp;<a href="https://zhangyun.wodemo.net/meta/279582">Meta</a>]]></description>
    </item>
        <item>
        <title><![CDATA[SublimeText3破解版.zip]]></title>
		<link><![CDATA[https://zhangyun.wodemo.net/file/278535]]></link>
		<dc:creator><![CDATA[Crazy (@zhangyun)]]></dc:creator>
		<pubDate><![CDATA[Thu, 24 Apr 2014 22:45:03 +0800]]></pubDate>
        <description><![CDATA[File Size: 9.97 MiBWord Count: 93,637Orignal Name: 掌中屏Version: 1.0.21ID：com.idisplay.virtualscreen&nbsp;|&nbsp;<a href="https://zhangyun.wodemo.net/browse/278535">Decompress</a>&nbsp;|&nbsp;<a href="https://zhangyun.wodemo.net/meta/278535">Meta</a>]]></description>
    </item>
        <item>
        <title><![CDATA[PHP实现批量命名当前文件夹文件后缀]]></title>
		<link><![CDATA[https://zhangyun.wodemo.net/entry/278526]]></link>
		<dc:creator><![CDATA[Crazy (@zhangyun)]]></dc:creator>
		<pubDate><![CDATA[Thu, 24 Apr 2014 21:57:24 +0800]]></pubDate>
        <description><![CDATA[
		代码: 全选
		
			
&lt;?php



/**

*&nbsp; &nbsp;PHP批量命名文件后缀

*&nbsp; &nbsp;Crazy：http&#58;//code.zhangyun.org

*/



// 把.zip改成.rar

// 注意：system函数一般是禁用的

system&#40;'ren *.zip *.rar'&#41;;





?&gt;
			
		
	
]]></description>
    </item>
        <item>
        <title><![CDATA[PHP定时任务任务的实现]]></title>
		<link><![CDATA[https://zhangyun.wodemo.net/entry/278519]]></link>
		<dc:creator><![CDATA[Crazy (@zhangyun)]]></dc:creator>
		<pubDate><![CDATA[Thu, 24 Apr 2014 21:16:41 +0800]]></pubDate>
        <description><![CDATA[
		代码: 全选
		
			
&lt;?php

/*

*&nbsp; &nbsp;PHP定时执行任务的实现

*&nbsp; &nbsp;Crazy：http&#58;//code.zhangyun.org

*/



// 关掉浏览器，PHP脚本也可以继续执行.

ignore_user_abort&#40;&#41;;



// 把php的30秒执行限制关闭

set_time_limit&#40;0&#41;;



// 设置休眠时间，默认为5秒

$sleep_time = 5;



do &#123;



&nbsp; &nbsp;#-- 这里是你要执行的代码



&nbsp; &nbsp;$time = time&#40;&#41;;



&nbsp; &nbsp;$fp = @fopen&#40;'time.txt', 'w'&#41;;

&nbsp; &nbsp;@fputs&#40;$fp, $time, strlen&#40;$time&#41;&#41;;

&nbsp; &nbsp;@fclose&#40;$fp&#41;;



&nbsp; &nbsp;#-- 执行的代码结束



&nbsp; &nbsp;sleep&#40;$sleep_time&#41;;

&#125; while&#40;true&#41;;



?&gt;
			
		
	
 ]]></description>
    </item>
        <item>
        <title><![CDATA[php冒泡排序]]></title>
		<link><![CDATA[https://zhangyun.wodemo.net/entry/278517]]></link>
		<dc:creator><![CDATA[Crazy (@zhangyun)]]></dc:creator>
		<pubDate><![CDATA[Thu, 24 Apr 2014 20:56:08 +0800]]></pubDate>
        <description><![CDATA[						 
	
		代码: 全选
		
			
&lt;?php

/*

*&nbsp; &nbsp;php冒泡排序

*&nbsp; &nbsp;Crazy：http&#58;//code.zhangyun.org

*/



$array = array&#40;5, 2, 8, 14, 25, 12, 33, 4, 7, 21, 1&#41;;



for&#40;$i = 0; $i &lt; count&#40;$array&#41;; $i++ &#41; 

&#123;&nbsp; &nbsp; &nbsp; &nbsp;

&nbsp; &nbsp; for&#40;$j = 0; $j &lt; count&#40;$array&#41; - 1 - $i; $j++&#41;

&nbsp; &nbsp; &#123; 

&nbsp; &nbsp; &nbsp; &nbsp; if&#40;$array&#91;$j&#93; &gt; $array&#91;$j+1&#93;&#41;

&nbsp; &nbsp; &nbsp; &nbsp; &#123;

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $temp = $array&#91;$j&#93;;

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $array&#91;$j&#93; = $array&#91;$j+1&#93;;

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $array&#91;$j+1&#93; = $temp;

&nbsp; &nbsp; &nbsp; &nbsp; &#125; 

&nbsp; &nbsp; &#125;

&#125;



echo '&lt;pre&gt;';



print_r&#40;$array&#41;;



echo '&lt;/pre&gt;';



?&gt;
			
		
	
 显示效果如下：
						 
	
		代码: 全选
		
			
Array

&#40;

&nbsp; &nbsp; &#91;0&#93; =&gt; 1

&nbsp; &nbsp; &#91;1&#93; =&gt; 2

&nbsp; &nbsp; &#91;2&#93; =&gt; 4

&nbsp; &nbsp; &#91;3&#93; =&gt; 5

&nbsp; &nbsp; &#91;4&#93; =&gt; 7

&nbsp; &nbsp; &#91;5&#93; =&gt; 8

&nbsp; &nbsp; &#91;6&#93; =&gt; 12

&nbsp; &nbsp; &#91;7&#93; =&gt; 14

&nbsp; &nbsp; &#91;8&#93; =&gt; 21

&nbsp; &nbsp; &#91;9&#93; =&gt; 25

&nbsp; &nbsp; &#91;10&#93; =&gt; 33

&#41;
			
		
	
 ]]></description>
    </item>
        <item>
        <title><![CDATA[一些不常见的PHP语法，你知道的有多少个？]]></title>
		<link><![CDATA[https://zhangyun.wodemo.net/entry/278290]]></link>
		<dc:creator><![CDATA[Crazy (@zhangyun)]]></dc:creator>
		<pubDate><![CDATA[Thu, 24 Apr 2014 02:59:08 +0800]]></pubDate>
        <description><![CDATA[						 PHP定界符的使用


	
		代码: 全选
		
			
&lt;?php



$a = &lt;&lt;&lt;TEST

Crazy！

TEST;



echo $a; 



?&gt;
			
		
	


转换类型


	
		代码: 全选
		
			
&lt;?php



$a = '555';



var_dump&#40;$a&#41;;



$a = &#40;int&#41; $a;



var_dump&#40;$a&#41;;



?&gt;
			
		
	


双引号与单引号中的变量，这个常见


	
		代码: 全选
		
			
&lt;?php



$a = 'Crazy';



echo &quot;$a&quot;;



echo '&lt;br /&gt;';



echo '$a';



?&gt;
			
		
	


可变变量


	
		代码: 全选
		
			
&lt;?php



$a = 'Crazy';

$Crazy = 'zhangyun';



echo $$a;



?&gt;
			
		
	


可变函数


	
		代码: 全选
		
			
&lt;?php



$a = 'Crazy';



function Crazy&#40;&#41;

&#123;

&nbsp; &nbsp;return 'Hello World';

&#125;



echo $a&#40;&#41;;



?&gt;
			
		
	


引用赋值


	
		代码: 全选
		
			
&lt;?php



$a = 'Crazy';



// 试着把这行代码注释掉看看

$b = &amp;$a;



unset&#40;$a&#41;;



echo $b;



?&gt;
			
		
	


语句的缩写，一个语句只允许一条执行


	
		代码: 全选
		
			
&lt;?php



$a = true;

if &#40;$a&#41; echo 'Hello'; else echo 'Crazy';



?&gt;
			
		
	


这个知道这样用不知道怎么表达


	
		代码: 全选
		
			
&lt;?php



$a = 5;



$b = 6;



$c = $a &amp;&amp; $b;

var_dump&#40;$c&#41;;



// 这里和上面是相等的



$c = &#40;$a &amp;&amp; $b&#41; ? true &#58;false;



var_dump&#40;$c&#41;;

?&gt;
			
		
	


命名空间，5.3才有的


	
		代码: 全选
		
			
&lt;?php



namespace foo;



class Crazy

&#123;

&nbsp; &nbsp;#-- code

&#125;



?&gt;
			
		
	
 ]]></description>
    </item>
        <item>
        <title><![CDATA[实用导航上下滑动及左右切换效果.zip]]></title>
		<link><![CDATA[https://zhangyun.wodemo.net/file/278288]]></link>
		<dc:creator><![CDATA[Crazy (@zhangyun)]]></dc:creator>
		<pubDate><![CDATA[Thu, 24 Apr 2014 01:34:38 +0800]]></pubDate>
        <description><![CDATA[File Size: 69.77 KiBWord Count: 93,637Orignal Name: 掌中屏Version: 1.0.21ID：com.idisplay.virtualscreen&nbsp;|&nbsp;<a href="https://zhangyun.wodemo.net/browse/278288">Decompress</a>&nbsp;|&nbsp;<a href="https://zhangyun.wodemo.net/meta/278288">Meta</a>]]></description>
    </item>
        <item>
        <title><![CDATA[超过一定高度出现左右浮动导航及底部固定导航代码.zip]]></title>
		<link><![CDATA[https://zhangyun.wodemo.net/file/278287]]></link>
		<dc:creator><![CDATA[Crazy (@zhangyun)]]></dc:creator>
		<pubDate><![CDATA[Thu, 24 Apr 2014 01:33:04 +0800]]></pubDate>
        <description><![CDATA[File Size: 123.63 KiBWord Count: 93,637Orignal Name: 掌中屏Version: 1.0.21ID：com.idisplay.virtualscreen&nbsp;|&nbsp;<a href="https://zhangyun.wodemo.net/browse/278287">Decompress</a>&nbsp;|&nbsp;<a href="https://zhangyun.wodemo.net/meta/278287">Meta</a>]]></description>
    </item>
    </channel>
</rss>
