<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
<channel>
<title><![CDATA[fire dance 's blog]]></title>
<link>http://www.abxing.com/blog/</link>
<description><![CDATA[可遇不可求]]></description>
<language>zh-cn</language>
<copyright><![CDATA[Copyright 2005 PBlog3 v2.8]]></copyright>
<webMaster><![CDATA[abxing@qq.com(火舞)]]></webMaster>
<generator>PBlog2 v2.4</generator> 
<image>
	<title>fire dance &#39;s blog</title>
	<url>http://www.abxing.com/blog/images/logos.gif</url>
	<link>http://www.abxing.com/blog/</link>
	<description>fire dance &#39;s blog</description>
</image>

			<item>
			<link>http://www.abxing.com/blog/article.asp?id=129</link>
			<title><![CDATA[看看你是不是近视眼]]></title>
			<author>abxing@qq.com(admin)</author>
			<category><![CDATA[业界 生活]]></category>
			<pubDate>Mon,10 Nov 2008 13:39:50 +0800</pubDate>
			<guid>http://www.abxing.com/blog/default.asp?id=129</guid>
		<description><![CDATA[不近视的人看到的是爱因斯坦 <br/>近视的人看到的是玛丽莲·梦露 <br/>不近视的人把眼睛眯起来也可以看到玛丽莲·梦露 <br/>近视的戴眼镜看是爱因斯坦 <br/>取下眼镜看到的就是玛丽莲·梦露了<br/><br/><img src="http://www.abxing.com/blog/attachments/month_0811/c20081110133946.jpg" border="0" alt=""/><br/>]]></description>
		</item>
		
			<item>
			<link>http://www.abxing.com/blog/article.asp?id=128</link>
			<title><![CDATA[般若波罗密多心经]]></title>
			<author>abxing@qq.com(admin)</author>
			<category><![CDATA[业界 生活]]></category>
			<pubDate>Mon,10 Nov 2008 13:20:39 +0800</pubDate>
			<guid>http://www.abxing.com/blog/default.asp?id=128</guid>
		<description><![CDATA[最近脑海里时常出现这么一句话－－一切皆虚妄，任你百般妖娆，若是无情，在我眼中也是红粉骷髅~~~~~~~<br/><br/>难道有什么禅机？<br/><br/>好吧，我们一起来参读般若波罗密多心经吧。<br/><br/>观自在菩萨<br/><br/><br/>行深般若波罗蜜多时<br/><br/><br/>照见五蕴皆空<br/><br/><br/>渡一切苦厄<br/><br/><br/>舍利子<br/><br/><br/>色不异空<br/><br/><br/>空不异色<br/><br/><br/>色即是空<br/><br/><br/>空即是色<br/><br/><br/>受想行识<br/><br/><br/>亦复如是<br/><br/><br/>舍利子<br/><br/><br/>是诸法空相<br/><br/><br/>不生不灭<br/><br/><br/>不垢不净<br/><br/><br/>不增不减<br/><br/><br/>是故空中无色<br/><br/><br/>无受想行识<br/><br/><br/>无眼耳鼻舌身意<br/><br/><br/>无色声香味触法<br/><br/><br/>无眼界<br/><br/><br/>乃至无意识界<br/><br/><br/>无无明<br/><br/><br/>亦无无明尽<br/><br/><br/>乃至无老死<br/><br/><br/>亦无老死尽<br/><br/><br/>无苦集灭道<br/><br/><br/>无智 亦无得<br/><br/><br/>以无所得故<br/><br/><br/>菩提萨陀<br/><br/><br/>依般若波罗蜜多故<br/><br/><br/>心无挂碍<br/><br/><br/>无挂碍故<br/><br/><br/>无有恐怖<br/><br/><br/>远离颠倒梦想<br/><br/><br/>究竟涅磐<br/><br/><br/>三世诸佛<br/><br/><br/>依般若波罗蜜多故<br/><br/><br/>得阿褥多罗三藐三菩提<br/><br/><br/>故知般若波罗蜜多<br/><br/><br/>是大神咒<br/><br/><br/>是大明咒<br/><br/><br/>是无上咒<br/><br/><br/>是无等等咒<br/><br/><br/>能除一切苦<br/><br/><br/>真实不虚<br/><br/><br/>故说般若波罗蜜多咒<br/><br/><br/>即说咒曰<br/><br/><br/>揭缔<br/><br/><br/>揭缔<br/><br/><br/>波罗揭缔<br/><br/><br/>波罗僧揭缔<br/><br/><br/>菩提萨婆呵]]></description>
		</item>
		
			<item>
			<link>http://www.abxing.com/blog/article.asp?id=127</link>
			<title><![CDATA[关于男人和房子，一个永远的痛！]]></title>
			<author>abxing@qq.com(admin)</author>
			<category><![CDATA[业界 生活]]></category>
			<pubDate>Mon,10 Nov 2008 13:17:43 +0800</pubDate>
			<guid>http://www.abxing.com/blog/default.asp?id=127</guid>
		<description><![CDATA[对于即将谈婚论嫁的兄弟们，给你几个建议：<br/><br/>1，最好不要和外地的女人谈恋爱，如果谈了，那么祈祷你遇上一个通情达理的丈人！<br/>2，自己买的房子在婚前请做财产公证，你自己受了这么大苦，该纪念一下，这不是爱不爱的问题！<br/>3，没有资本，谨慎用情！<br/>4，现在的女人已经不再是弱势群体！（女人现在哪儿弱？？）男女平等！（这是女人一直以来呐喊的口号）<br/>]]></description>
		</item>
		
			<item>
			<link>http://www.abxing.com/blog/article.asp?id=126</link>
			<title><![CDATA[我不孤单,但是我很寂寞.]]></title>
			<author>abxing@qq.com(admin)</author>
			<category><![CDATA[业界 生活]]></category>
			<pubDate>Mon,10 Nov 2008 13:17:07 +0800</pubDate>
			<guid>http://www.abxing.com/blog/default.asp?id=126</guid>
		<description><![CDATA[最近不知为何,总感觉现实的世界离我好远,又好像是所有的事与物都跟我无关,整个世界只剩我一个人的感觉.<br/>白天在公司有人跟我说话我却什么也不想说,连动一下的心思都没有.晚上回来了却想有个人能跟我淡淡的聊聊天,很不幸,整个房间就我一个人,至始至终都是我一个人,耳边只有从那个白箱子里传出的李健淡淡的歌声.<br/>黑夜,悲思. 等待,等待,等待...<br/>]]></description>
		</item>
		
			<item>
			<link>http://www.abxing.com/blog/article.asp?id=125</link>
			<title><![CDATA[心烦时的一个作品]]></title>
			<author>abxing@qq.com(admin)</author>
			<category><![CDATA[UI设计]]></category>
			<pubDate>Mon,01 Sep 2008 21:35:05 +0800</pubDate>
			<guid>http://www.abxing.com/blog/default.asp?id=125</guid>
		<description><![CDATA[心烦时的一个作品, 做了很多,都在硬盘里躺的了,懒的挂网上, 还占我空间呢...<br/>要PSD的联系我!<br/><br/><img src="http://www.abxing.com/blog/attachments/month_0809/120089121346.jpg" border="0" alt=""/><br/><br/><img src="http://www.abxing.com/blog/attachments/month_0809/420089121414.jpg" border="0" alt=""/><br/><br/><img src="http://www.abxing.com/blog/attachments/month_0809/6200891215139.jpg" border="0" alt=""/><br/>]]></description>
		</item>
		
			<item>
			<link>http://www.abxing.com/blog/article.asp?id=124</link>
			<title><![CDATA[在路上(赢在中国-主题歌曲)]]></title>
			<author>abxing@qq.com(admin)</author>
			<category><![CDATA[flash]]></category>
			<pubDate>Wed,13 Aug 2008 18:12:20 +0800</pubDate>
			<guid>http://www.abxing.com/blog/default.asp?id=124</guid>
		<description><![CDATA[<div class="UBBPanel"><div class="UBBTitle"><img src="http://www.abxing.com/blog/images/music.gif" alt="" style="margin:0px 2px -3px 0px" border="0"/>播放音频文件</div><div class="UBBContent"><a id="temp45498_href" href="http://www.abxing.com/blog/javascript:MediaShow('wma','temp45498','attachments/month_0808/q2008813181157.wma','400','300')"><img name="temp45498_img" src="http://www.abxing.com/blog/images/mm_snd.gif" style="margin:0px 3px -2px 0px" border="0" alt=""/><span id="temp45498_text">在线播放</span></a><div id="temp45498"></div></div></div><br/><br/>刘欢 在路上 赢在中国主题曲<br/><br/>那一天<br/>我不得已上路<br/>为不安分的心<br/>为自尊的生存<br/>为自我的证明<br/>路上的心酸<br/>已融进我的眼睛<br/>心灵的困境<br/>已化作我的坚定<br/>在路上<br/>用我心灵的呼声<br/>在路上<br/>只为伴着我的人<br/>在路上<br/>是我生命的远行<br/>在路上<br/>只为温暖我的人<br/>温暖我的人<br/>那一天<br/>我不得已上路<br/>为不安分的心<br/>为自尊的生存<br/>为自我的证明<br/>路上的心酸<br/>已融进我的眼睛<br/>心灵的困境<br/>已化作我的坚定<br/>在路上<br/>用我心灵的呼声<br/>在路上<br/>只为伴着我的人<br/>在路上<br/>是我生命的远行<br/>在路上<br/>只为温暖我的人<br/>温暖我的人<br/>在路上<br/>用我心灵的呼声<br/>在路上<br/>只为伴着我的人<br/>在路上<br/>是我生命的远行<br/>在路上<br/>只为温暖我的人<br/>温暖我的人]]></description>
		</item>
		
			<item>
			<link>http://www.abxing.com/blog/article.asp?id=123</link>
			<title><![CDATA[鼠标右键菜单效果]]></title>
			<author>abxing@qq.com(admin)</author>
			<category><![CDATA[Javascript]]></category>
			<pubDate>Sat,02 Aug 2008 17:58:36 +0800</pubDate>
			<guid>http://www.abxing.com/blog/default.asp?id=123</guid>
		<description><![CDATA[<div class="UBBPanel"><div class="UBBTitle"><img src="http://www.abxing.com/blog/images/html.gif" style="margin:0px 2px -3px 0px"> HTML代码</div><div class="UBBContent"><TEXTAREA rows="8" id="temp49675">
<html>
<head>
<meta http-equiv=&#34;Content-Type&#34; content=&#34;text/html; charset=gb2312&#34;>
<title>鼠标右键菜单</title>
</head>
<body>
<style>
<!--
/*--- 圆角(上下边)--- */
.imrbcolor{overflow:hidden;border-color:#b0b0b0; font-size:1px;line-height:0px;height:1px;border-width:0px;border-style:solid;border-right-width:1px;border-left-width:1px;}
.imbrc{height:1px;border-width:0px;border-bottom-width:1px;}
.imrcolor {height:1px;background-color:#e4f5a9; }
/*--- 圆角(腰)---*/
.con0{text-align: left; vertical-align: top;border: 1px solid #cccccc; border-top-width: 0; border-bottom-width: 0; margin: 0px; padding: 5px; background-color: #e4f5a9;}
/*
Context menu Script- 
?Dynamic Drive (www.dynamicdrive.com) Last up&#100;ated: 00/03/28
For full source code, 100's more DHTML scripts, and Terms Of Use, 
visit dynamicdrive.com
*/
.skin0{
position:absolute;
width:200px;
font-family:Verdana;
line-height:20px;
cursor:default;
visibility:hidden;
}
.skin1{
cursor: default;
font: menutext;
position: absolute;
width: 165px;
visibility:hidden;
}
.menuitems{
padding-left:15px;
padding-right:10px;
}
-->
</style>
<script language=&#34;JavaScript1.2&#34;>
//set the skin of the menu (0 o&#114; 1, with 1 rendering a default Windows menu like skin)
var menuskin=1
//set this variable to 1 if you wish the URLs of the highlighted menu to be displayed in the status bar
var display_url=0
function showmenuie5(){
//Find out how close the mouse is to the corner of the window
var rightedge=document.body.clientWidth-event.clientX
var bottomedge=document.body.clientHeight-event.clientY
//if the horizontal distance isn't enough to accomodate the width of the context menu
if (rightedge<ie5menu.offsetWidth)
//move the horizontal position of the menu to the left by it's width
ie5menu.style.left=document.body.scrollLeft+event.clientX-ie5menu.offsetWidth
else
//position the horizontal position of the menu wh&#101;re the mouse was clicked
ie5menu.style.left=document.body.scrollLeft+event.clientX
//same concept with the vertical position
if (bottomedge<ie5menu.offsetHeight)
ie5menu.style.top=document.body.scrollTop+event.clientY-ie5menu.offsetHeight
else
ie5menu.style.top=document.body.scrollTop+event.clientY
ie5menu.style.visibility=&#34;visible&#34;
return false
}
function hidemenuie5(){
ie5menu.style.visibility=&#34;hidden&#34;
}
function highlightie5(){
if (event.srcElement.className==&#34;menuitems&#34;){
event.srcElement.style.backgroundColor=&#34;highlight&#34;
event.srcElement.style.color=&#34;white&#34;
if (display_url==1)
window.status=event.srcElement.url
}
}
function lowlightie5(){
if (event.srcElement.className==&#34;menuitems&#34;){
event.srcElement.style.backgroundColor=&#34;&#34;
event.srcElement.style.color=&#34;black&#34;
window.status=''
}
}
function jumptoie5(){
if (event.srcElement.className==&#34;menuitems&#34;){
if (event.srcElement.getAttribute(&#34;target&#34;)!=null)
window.open(event.srcElement.url,event.srcElement.getAttribute(&#34;target&#34;))
else
window.location=event.srcElement.url
}
}
</script>
BODY 部分 (点鼠标右键看看哦)
<!--[if IE]>
<div id=&#34;ie5menu&#34; class=&#34;skin0&#34; onMouseover=&#34;highlightie5()&#34; onMouseout=&#34;lowlightie5()&#34; onClick=&#34;jumptoie5()&#34;>
<div class=&#34;imsubc&#34;>
	<!--圆角(上边)-->
	<div style=&#34;height:1px;&#34;>
		<div class=&#34;imrbcolor imbrc&#34; style=&#34;height:0px;MARGIN-LEFT: 2px; MARGIN-RIGHT: 2px&#34;></div>
		<div class=&#34;imrbcolor imrcolor&#34; style=&#34;MARGIN-LEFT: 1px; VERTICAL-ALIGN: top; MARGIN-RIGHT: 1px&#34;></div>
		<div class=&#34;imrbcolor imrcolor&#34; style=&#34;MARGIN-LEFT: 0px; VERTICAL-ALIGN: top; MARGIN-RIGHT: 0px&#34;></div>
	</div>
	<!--圆角(腰)-->
	<div class=&#34;con0&#34;>
<div class=&#34;menuitems&#34;>abxing.com</div>
<div class=&#34;menuitems&#34;>What's New?</div>
<div class=&#34;menuitems&#34;>What's Hot?</div>
<div class=&#34;menuitems&#34;>Message Forum</div>
<div class=&#34;menuitems&#34;>FAQs</div>
<div class=&#34;menuitems&#34;>Submit</div>
<hr>
<div class=&#34;menuitems&#34; url=&#34;mailto:abxing@qq.com&#34;>Email Us</div>
		<div style=&#34;clear:both;height:0px;visibility:hidden;line-height:0px;font-size:1px;&#34;></div>
	</div>
	<!--圆角(下边)-->
	<div style=&#34;height:1px;&#34;>
		<div class=&#34;imrbcolor imrcolor&#34; style=&#34;MARGIN-LEFT: 0px; VERTICAL-ALIGN: top; MARGIN-RIGHT: 0px&#34;></div>
		<div class=&#34;imrbcolor imrcolor&#34; style=&#34;MARGIN-LEFT: 1px; VERTICAL-ALIGN: top; MARGIN-RIGHT: 1px&#34;></div>
		<div class=&#34;imrbcolor imbrc&#34; style=&#34;MARGIN-LEFT: 2px; MARGIN-RIGHT: 2px&#34;></div>
	</div>
</div>
</div>
<![endif]-->
<script language=&#34;JavaScript1.2&#34;>
if (document.all&amp;&amp;window.print){
if (menuskin==0)
ie5menu.className=&#34;skin0&#34;
else
ie5menu.className=&#34;skin1&#34;
document.oncontextmenu=showmenuie5
document.body.onclick=hidemenuie5
}
</script>
</body>
</html>
</TEXTAREA><br/><INPUT onclick="runEx('temp49675')"  type="button" value="运行此代码"/> <INPUT onclick="doCopy('temp49675')"  type="button" value="复制此代码"/><br/> [Ctrl+A 全部选择 提示：你可先修改部分代码，再按运行]</div></div>]]></description>
		</item>
		
			<item>
			<link>http://www.abxing.com/blog/article.asp?id=122</link>
			<title><![CDATA[一个JavaScript Cookie 学习的好例子，添加 读取 删除]]></title>
			<author>abxing@qq.com(admin)</author>
			<category><![CDATA[Javascript]]></category>
			<pubDate>Tue,29 Jul 2008 11:28:39 +0800</pubDate>
			<guid>http://www.abxing.com/blog/default.asp?id=122</guid>
		<description><![CDATA[一个JavaScript Cookie 学习的好例子，添加 读取 删除<br/>&lt;script language=&#34;JavaScript&#34; type=&#34;text/javascript&#34;&gt;<br/> <br/> function addCookie(objName,objValue,objHours){//添加cookie<br/>&nbsp;&nbsp;var str = objName + &#34;=&#34; + escape(objValue);<br/>&nbsp;&nbsp;if(objHours &gt; 0){//为0时不设定过期时间，浏览器关闭时cookie自动消失<br/>&nbsp;&nbsp; var date = new Date();<br/>&nbsp;&nbsp; var ms = objHours*3600*1000;<br/>&nbsp;&nbsp; date.setTime(date.getTime() + ms);<br/>&nbsp;&nbsp; str += &#34;; expires=&#34; + date.toGMTString();<br/>&nbsp;&nbsp; }<br/>&nbsp;&nbsp; document.cookie = str;<br/>&nbsp;&nbsp; alert(&#34;添加cookie成功&#34;);<br/>&nbsp;&nbsp;}<br/>&nbsp;&nbsp;<br/>&nbsp;&nbsp;function getCookie(objName){//获取指定名称的cookie的值<br/>&nbsp;&nbsp; var arrStr = document.cookie.split(&#34;; &#34;);<br/>&nbsp;&nbsp; for(var i = 0;i &lt; arrStr.length;i ++){<br/>&nbsp;&nbsp;&nbsp;&nbsp;var temp = arrStr[i].split(&#34;=&#34;);<br/>&nbsp;&nbsp;&nbsp;&nbsp;if(temp[0] == objName) return unescape(temp[1]);<br/>&nbsp;&nbsp; } <br/>&nbsp;&nbsp;}<br/>&nbsp;&nbsp;<br/>&nbsp;&nbsp;function delCookie(name){//为了删除指定名称的cookie，可以将其过期时间设定为一个过去的时间<br/>&nbsp;&nbsp; var date = new Date();<br/>&nbsp;&nbsp; date.setTime(date.getTime() - 10000);<br/>&nbsp;&nbsp; document.cookie = name + &#34;=a; expires=&#34; + date.toGMTString();<br/>&nbsp;&nbsp;}<br/>&nbsp;&nbsp;<br/>&nbsp;&nbsp;function allCookie(){//读取所有保存的cookie字符串<br/>&nbsp;&nbsp; var str = document.cookie;<br/>&nbsp;&nbsp; if(str == &#34;&#34;){<br/>&nbsp;&nbsp;&nbsp;&nbsp;str = &#34;没有保存任何cookie&#34;;<br/>&nbsp;&nbsp; }<br/>&nbsp;&nbsp; alert(str);<br/>&nbsp;&nbsp;}<br/>&nbsp;&nbsp;<br/>&nbsp;&nbsp;function $(m,n){<br/>&nbsp;&nbsp; return document.forms[m].elements[n].value;<br/>&nbsp;&nbsp;}<br/>&nbsp;&nbsp;<br/>&nbsp;&nbsp;function add_(){<br/>&nbsp;&nbsp; var cookie_name = $(&#34;myform&#34;,&#34;cookie_name&#34;);<br/>&nbsp;&nbsp; var cookie_value = $(&#34;myform&#34;,&#34;cookie_value&#34;);<br/>&nbsp;&nbsp; var cookie_expireHours = $(&#34;myform&#34;,&#34;cookie_expiresHours&#34;);<br/>&nbsp;&nbsp; addCookie(cookie_name,cookie_value,cookie_expireHours);<br/>&nbsp;&nbsp;}<br/>&nbsp;&nbsp;<br/>&nbsp;&nbsp;function get_(){<br/>&nbsp;&nbsp; var cookie_name = $(&#34;myform&#34;,&#34;cookie_name&#34;);<br/>&nbsp;&nbsp; var cookie_value = getCookie(cookie_name);<br/>&nbsp;&nbsp; alert(cookie_value);<br/>&nbsp;&nbsp;}<br/>&nbsp;&nbsp;<br/>&nbsp;&nbsp;function del_(){<br/>&nbsp;&nbsp; var cookie_name = $(&#34;myform&#34;,&#34;cookie_name&#34;);<br/>&nbsp;&nbsp; delCookie(cookie_name);<br/>&nbsp;&nbsp; alert(&#34;删除成功&#34;);<br/>&nbsp;&nbsp;}<br/>&nbsp;&nbsp;&lt;/script&gt;<br/>&nbsp;&nbsp;<br/> &lt;/head&gt;<br/> &lt;body&gt;<br/>&nbsp;&nbsp;&lt;form name=&#34;myform&#34;&gt;<br/>&nbsp;&nbsp; &lt;div&gt;&lt;label for=&#34;cookie_name&#34;&gt;名称&lt;/label&gt;&lt;input type=&#34;text&#34; name=&#34;cookie_name&#34; /&gt;&lt;/div&gt;<br/>&nbsp;&nbsp; &lt;div&gt;&lt;label for=&#34;cookie_value&#34;&gt;值&lt;/lable&gt;&lt;input type=&#34;text&#34; name=&#34;cookie_value&#34; /&gt;&lt;/div&gt;<br/>&nbsp;&nbsp; &lt;div&gt;&lt;label for=&#34;cookie_expireHours&#34;&gt;多少个小时过期&lt;/lable&gt;&lt;input type=&#34;text&#34; name=&#34;cookie_expiresHours&#34; /&gt;&lt;/div&gt;<br/>&nbsp;&nbsp; &lt;div&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;input type=&#34;button&#34; value=&#34;添加该cookie&#34; onclick=&#34;add_()&#34; /&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;input type=&#34;button&#34; value=&#34;读取所有cookie&#34; onclick=&#34;allCookie()&#34; /&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;input type=&#34;button&#34; value=&#34;读取该名称cookie&#34; onclick=&#34;get_()&#34; /&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;input type=&#34;button&#34; value=&#34;删除该名称cookie&#34; onclick=&#34;del_()&#34; /&gt;<br/>&nbsp;&nbsp; &lt;/div&gt;<br/>&nbsp;&nbsp;&lt;/form&gt;]]></description>
		</item>
		
			<item>
			<link>http://www.abxing.com/blog/article.asp?id=121</link>
			<title><![CDATA[理解学习PHP编码规范之注释和文件结构]]></title>
			<author>abxing@qq.com(admin)</author>
			<category><![CDATA[PHP]]></category>
			<pubDate>Tue,29 Jul 2008 11:24:07 +0800</pubDate>
			<guid>http://www.abxing.com/blog/default.asp?id=121</guid>
		<description><![CDATA[文件结构<br/><br/>|<br/>|――images<br/>|――include<br/>　　|――parameter<br/>　　|――config<br/>　　|――function<br/>|――index<br/><br/>images存放图片文件，include中是系统是要引用的文件，一般在parameter中存放参数文件，config中存放配置文件，function中存放方法文件，如javascript的方法等，并按功能模块的分类，将各功能的类也放入其中<br/><br/>文件名<br/><br/>文件夹命名一般采用英文，长度一般不超过20个字符，命名采用小写字母。除特殊情况才使用中文拼音，一些常见的文件夹命名如：images(存放图形文件)，flash（存放Flash文件），style(存放CSS文件)，scripts（存放Javascript脚本），inc(存放include文件)，link（存放友情链接）,media(存放多媒体文件)等。文件名称统一用小写的英文字母、数字和下划线的组合。<br/><br/>块注释<br/><br/>块注释通常用于提供对文件，方法，数据结构和算法的描述。块注释被置于每个文件的开始处以及每个方法之前。它们也可以被用于其他地方，比如方法内部。在功能和方法内部的块注释应该和它们所描述的代码具有一样的缩进格式。<br/><br/>块注释之首应该有一个空行，用于把块注释和代码分割开来，比如：<br/><br/>/*<br/>　* 这里是块注释<br/>*/<br/><br/>块注释可以以/*-开头，这样indent(1)就可以将之识别为一个代码块的开始，而不会重排它。<br/><br/>/*-<br/>　* 如果想被忽略，可是使用特别格式的块注释<br/>　* <br/>　* one<br/>　* 　　two<br/>　* 　　　　three<br/>　*/<br/><br/>注意：如果你不使用indent(1)，就不必在代码中使用/*-，或为他人可能对你的代码运行indent(1)作让步。<br/><br/>单行注释<br/><br/>短注释可以显示在一行内，并与其后的代码具有一样的缩进层级。如果一个注释不能在一行内写完，就该采用块注释。单行注释之前应该有一个空行。以下是一个代码中单行注释的例子：<br/><br/>if (condition) {<br/><br/>　　/* 以下代码运行的条件 */<br/>　　...<br/>}<br/><br/>尾端注释<br/><br/>极短的注释可以与它们所要描述的代码位于同一行，但是应该有足够的空白来分开代码和注释。若有多个短注释出现于大段代码中，它们应该具有相同的缩进。<br/><br/>以下是一个代码中尾端注释的例子：<br/><br/><br/>if ($a == 2) {<br/>　　return TRUE; /* 对单一条件的说明 */<br/>} else {<br/>　　return isPrime($a); /* 其余的条件 */<br/>}<br/><br/>行末注释<br/><br/>注释界定符&#34;//&#34;，可以注释掉整行或者一行中的一部分。它一般不用于连续多行的注释文本；然而，它可以用来注释掉连续多行的代码段。以下是所有三种风格的例子：<br/><br/>if ($foo &gt; 1) {<br/><br/>　　// 第二种用法.<br/>　　...<br/>}<br/>else {<br/>　　return false; // 说明返回值的原因<br/>}<br/><br/>//if ($bar &gt; 1) {<br/>//<br/>// 　// 第三种用法<br/>//　 ...<br/>//}<br/>//else {<br/>　　// return false;<br/>//}<br/><br/>文档注释<br/><br/>文档注释描述php的类、构造器，方法，以及字段(field)。每个文档注释都会被置于注释定界符/**...*/之中，一个注释对应一个类或成员。该注释应位于声明之前：<br/><br/>/**<br/>　* 说明这个类的一些 ...<br/>*/<br/>class Example { ...<br/><br/>注意顶层(top-level)的类是不缩进的，而其成员是缩进的。描述类的文档注释的第一行(/**)不需缩进；随后的文档注释每行都缩进1格(使星号纵向对齐)。成员，包括构造函数在内，其文档注释的第一行缩进4格，随后每行都缩进5格。<br/><br/>若你想给出有关类、变量或方法的信息，而这些信息又不适合写在文档中，则可使用实现块注释(见5.1.1)或紧跟在声明后面的单行注释(见5.1.2)。例如，有关一个类实现的细节，应放入紧跟在类声明后面的实现块注释中，而不是放在文档注释中。<br/><br/>文档注释不能放在一个方法或构造器的定义块中，因为程序会将位于文档注释之后的第一个声明与其相关联。<br/>]]></description>
		</item>
		
			<item>
			<link>http://www.abxing.com/blog/article.asp?id=120</link>
			<title><![CDATA[程序员的进化--从学生到首席执行官]]></title>
			<author>abxing@qq.com(admin)</author>
			<category><![CDATA[PHP]]></category>
			<pubDate>Tue,29 Jul 2008 11:23:01 +0800</pubDate>
			<guid>http://www.abxing.com/blog/default.asp?id=120</guid>
		<description><![CDATA[看看你能看懂吗，呵呵，蛮有意思的<br/>--------------------------------------------------------------------------------<br/>中学阶段 <br/>10 PRINT \&#34;HELLO WORLD\&#34;<br/>20 END<br/>--------------------------------------------------------------------------------<br/>大学一年级<br/><br/>program Hello(input, output)<br/>begin<br/>writeln(\&#39;Hello World\&#39;)<br/>end.<br/>--------------------------------------------------------------------------------<br/>大学高年级<br/><br/>(defun hello<br/>(print<br/>(cons \&#39;Hello (list \&#39;World))))<br/>--------------------------------------------------------------------------------<br/>初级程序员<br/><br/>#include <br/>void main(void)<br/>{<br/>char *message[] = {\&#34;Hello \&#34;, \&#34;World\&#34;};<br/>int i;<br/><br/>for(i = 0; i &lt; 2; ++i)<br/>printf(\&#34;％s\&#34;, message[i]);<br/>printf(\&#34;\n\&#34;);<br/>}<br/>--------------------------------------------------------------------------------<br/>编程老鸟<br/><br/>#include <br/>#include<br/><br/>class string<br/>{<br/>private:<br/>int size;<br/>char *ptr;<br/><br/>public:<br/>string() : size(0), ptr(new char(\&#39;\0\&#39;)) {}<br/><br/>string(const string &amp;s) : size(s.size)<br/>{<br/>ptr = new char[size + 1];<br/>strcpy(ptr, s.ptr);<br/>}<br/><br/>~string()<br/>{<br/>del&#101;te [] ptr;<br/>}<br/><br/>friend ostream &amp;operator &lt;&lt;(ostream &amp;, const string &amp;);<br/>string &amp;operator=(const char *);<br/>};<br/><br/>ostream &amp;operator&lt;&lt;(ostream &amp;stream, const string &amp;s)<br/>{<br/>return(stream &lt;&lt; s.ptr);<br/>}<br/><br/>string &amp;string::operator=(const char *chrs)<br/>{<br/>if (this != &amp;chrs)<br/>{<br/>del&#101;te [] ptr;<br/>size = strlen(chrs);<br/>ptr = new char[size + 1];<br/>strcpy(ptr, chrs);<br/>}<br/>return(*this);<br/>}<br/><br/>int main()<br/>{<br/>string str;<br/><br/>str = \&#34;Hello World\&#34;;<br/>cout &lt;&lt; str &lt;&lt; end<br/><br/>return(0);<br/>}<br/>--------------------------------------------------------------------------------<br/>编程高手<br/><br/>[<br/>uuid(2573F8F4-CFEE-101A-9A9F-00AA00342820)<br/>]<br/>library LHello<br/>{<br/>// bring in the master library<br/>importlib(\&#34;actimp.tlb\&#34;);<br/>importlib(\&#34;actexp.tlb\&#34;);<br/><br/>// bring in my interfaces<br/>#include \&#34;pshlo.idl\&#34;<br/><br/>[<br/>uuid(2573F8F5-CFEE-101A-9A9F-00AA00342820)<br/>]<br/>cotype THello<br/>{<br/>interface IHello;<br/>interface IPersistFile;<br/>};<br/>};<br/><br/>[<br/>exe,<br/>uuid(2573F890-CFEE-101A-9A9F-00AA00342820)<br/>]<br/>module CHelloLib<br/>{<br/><br/>// some code related header files<br/>importheader();<br/>importheader();<br/>importheader();<br/>importheader(\&#34;pshlo.h\&#34;);<br/>importheader(\&#34;shlo.hxx\&#34;);<br/>importheader(\&#34;mycls.hxx\&#34;);<br/><br/>// needed typelibs<br/>importlib(\&#34;actimp.tlb\&#34;);<br/>importlib(\&#34;actexp.tlb\&#34;);<br/>importlib(\&#34;thlo.tlb\&#34;);<br/><br/>[<br/>uuid(2573F891-CFEE-101A-9A9F-00AA00342820),<br/>aggregatable<br/>]<br/>coclass CHello<br/>{<br/>cotype THello;<br/>};<br/>};<br/><br/>#include \&#34;ipfix.hxx\&#34;<br/><br/>extern HANDLE hEvent;<br/><br/>class CHello : public CHelloBase<br/>{<br/>public:<br/>IPFIX(CLSID_CHello);<br/><br/>CHello(IUnknown *pUnk);<br/>~CHello();<br/><br/>HRESULT __stdcall PrintSz(LPWSTR pwszString);<br/><br/>private:<br/>static int cObjRef;<br/>};<br/><br/>#include <br/>#include <br/>#include <br/>#include <br/>#include \&#34;thlo.h\&#34;<br/>#include \&#34;pshlo.h\&#34;<br/>#include \&#34;shlo.hxx\&#34;<br/>#include \&#34;mycls.hxx\&#34;<br/><br/>int CHello::cObjRef = 0;<br/><br/>CHello::CHello(IUnknown *pUnk) : CHelloBase(pUnk)<br/>{<br/>cObjRef++;<br/>return;<br/>}<br/><br/>HRESULT __stdcall CHello::PrintSz(LPWSTR pwszString)<br/>{<br/>printf(\&#34;％ws\n\&#34;, pwszString);<br/>return(ResultFromScode(S_OK));<br/>}<br/><br/>CHello::~CHello(void)<br/>{<br/><br/>// when the object count goes to zero, stop the server<br/>cObjRef--;<br/>if( cObjRef == 0 )<br/>PulseEvent(hEvent);<br/><br/>return;<br/>}<br/><br/>#include <br/>#include <br/>#include \&#34;pshlo.h\&#34;<br/>#include \&#34;shlo.hxx\&#34;<br/>#include \&#34;mycls.hxx\&#34;<br/><br/>HANDLE hEvent;<br/><br/>int _cdecl main(<br/>int argc,<br/>char * argv[]<br/>) {<br/>ULONG ulRef;<br/>DWORD dwRegistration;<br/>CHelloCF *pCF = new CHelloCF();<br/><br/>hEvent = Cr&#101;ateEvent(NULL, FALSE, FALSE, NULL);<br/><br/>// Initialize the OLE libraries<br/>CoInitializeEx(NULL, COINIT_MULTITHREADED);<br/><br/>CoRegisterClassObject(CLSID_CHello, pCF, CLSCTX_LOCAL_SERVER,<br/>REGCLS_MULTIPLEUSE, &amp;dwRegistration);<br/><br/>// wait on an event to stop<br/>WaitForSingleObject(hEvent, INFINITE);<br/><br/>// revoke and release the class object<br/>CoRevokeClassObject(dwRegistration);<br/>ulRef = pCF-&gt;Release();<br/><br/>// Tell OLE we are going away.<br/>CoUninitialize();<br/><br/>return(0);<br/>}<br/><br/>extern CLSID CLSID_CHello;<br/>extern UUID LIBID_CHelloLib;<br/><br/>CLSID CLSID_CHello = { /* 2573F891-CFEE-101A-9A9F-00AA00342820 */<br/>0x2573F891,<br/>0xCFEE,<br/>0x101A,<br/>{ 0x9A, 0x9F, 0x00, 0xAA, 0x00, 0x34, 0x28, 0x20 }<br/>};<br/><br/>UUID LIBID_CHelloLib = { /* 2573F890-CFEE-101A-9A9F-00AA00342820 */<br/>0x2573F890,<br/>0xCFEE,<br/>0x101A,<br/>{ 0x9A, 0x9F, 0x00, 0xAA, 0x00, 0x34, 0x28, 0x20 }<br/>};<br/><br/>#include <br/>#include <br/>#include <br/>#include <br/>#include <br/>#include \&#34;pshlo.h\&#34;<br/>#include \&#34;shlo.hxx\&#34;<br/>#include \&#34;clsid.h\&#34;<br/><br/>int _cdecl main(<br/>int argc,<br/>char * argv[]<br/>) {<br/>HRESULT hRslt;<br/>IHello *pHello;<br/>ULONG ulCnt;<br/>IMoniker * pmk;<br/>WCHAR wcsT[_MAX_PATH];<br/>WCHAR wcsPath[2 * _MAX_PATH];<br/><br/>// get object path<br/>wcsPath[0] = \&#39;\0\&#39;;<br/>wcsT[0] = \&#39;\0\&#39;;<br/>if( argc &gt; 1) {<br/>mbstowcs(wcsPath, argv[1], strlen(argv[1]) + 1);<br/>wcsupr(wcsPath);<br/>}<br/>else {<br/>fprintf(stderr, \&#34;Object path must be specified\n\&#34;);<br/>return(1);<br/>}<br/><br/>// get print string<br/>if(argc &gt; 2)<br/>mbstowcs(wcsT, argv[2], strlen(argv[2]) + 1);<br/>else<br/>wcscpy(wcsT, L\&#34;Hello World\&#34;);<br/><br/>printf(\&#34;Linking to object ％ws\n\&#34;, wcsPath);<br/>printf(\&#34;Text String ％ws\n\&#34;, wcsT);<br/><br/>// Initialize the OLE libraries<br/>hRslt = CoInitializeEx(NULL, COINIT_MULTITHREADED);<br/><br/>if(SUCCEEDED(hRslt)) {<br/><br/>hRslt = Cr&#101;ateFileMoniker(wcsPath, &amp;pmk);<br/>if(SUCCEEDED(hRslt))<br/>hRslt = BindMoniker(pmk, 0, IID_IHello, (void **)&amp;pHello);<br/><br/>if(SUCCEEDED(hRslt)) {<br/><br/>// print a string out<br/>pHello-&gt;PrintSz(wcsT);<br/><br/>Sleep(2000);<br/>ulCnt = pHello-&gt;Release();<br/>}<br/>else<br/>printf(\&#34;Failure to connect, status: ％lx\&#34;, hRslt);<br/><br/>// Tell OLE we are going away.<br/>CoUninitialize();<br/>}<br/><br/>return(0);<br/>} <br/>--------------------------------------------------------------------------------<br/>黑客初阶<br/><br/>#!/usr/local/bin/perl<br/>$msg=\&#34;Hello, world.\n\&#34;;<br/>if ($#ARGV &gt;= 0) {<br/>while(defined($arg=shift(@ARGV))) {<br/>$outfilename = $arg;<br/>open(FILE, \&#34;&gt;\&#34; . $outfilename) || die \&#34;Can\&#39;t write $arg: $!\n\&#34;;<br/>print (FILE $msg);<br/>close(FILE) || die \&#34;Can\&#39;t close $arg: $!\n\&#34;;<br/>}<br/>} else {<br/>print ($msg);<br/>}<br/>1;<br/>--------------------------------------------------------------------------------<br/>黑客有成<br/><br/>#include <br/>#define S \&#34;Hello, World\n\&#34;<br/>main(){exit(printf(S) == strlen(S) ? 0 : 1);}<br/>--------------------------------------------------------------------------------<br/>黑客高手<br/><br/>％ cc -o a.out ~/src/misc/hw/hw.c<br/>％ a.out<br/>--------------------------------------------------------------------------------<br/>黑客大虾<br/><br/>％ cat<br/>Hello, world.<br/>^D<br/>--------------------------------------------------------------------------------<br/>初级经理<br/><br/>10 PRINT \&#34;HELLO WORLD\&#34;<br/>20 END<br/>--------------------------------------------------------------------------------<br/>中级经理<br/><br/>mail -s \&#34;Hello, world.\&#34; bob@b12<br/>Bob, could you please write me a program that prints \&#34;Hello, world.\&#34;?<br/>I need it by tomorrow.<br/>^D<br/>--------------------------------------------------------------------------------<br/>高级经理<br/><br/>％ zmail jim<br/>I need a \&#34;Hello, world.\&#34; program by this afternoon.<br/>--------------------------------------------------------------------------------<br/>首席执行官<br/><br/>％ letter<br/>letter: Command not found.<br/>％ mail<br/>To: ^X ^F ^C<br/>％ help mail<br/>help: Command not found.<br/>％ damn!<br/>!: Event unrecognized<br/>％ logout<br/>--------------------------------------------------------------------------------<br/>]]></description>
		</item>
		
</channel>
</rss>
