<?xml version="1.0" standalone="yes"?>
<?xml-stylesheet type="text/css" href="css/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>英俊的粽子 - program</title><link>http://www.bingyao.org/</link><description> - </description><generator>RainbowSoft Studio Z-Blog 3.1 Build 98276</generator><language>zh-CN</language><copyright>&amp;lt;a href=&amp;quot;http://www.miibeian.gov.cn/&amp;quot; target=&amp;quot;_blank&amp;quot;&amp;gt;京ICP备08002447号&amp;lt;/a&amp;gt;</copyright><pubDate>Tue, 07 Sep 2010 00:25:22 +0800</pubDate><item><title>RFID</title><author>dubingyao@hotmail.com (bingyao)</author><link>http://www.bingyao.org/post/242.html</link><pubDate>Fri, 09 Oct 2009 23:52:55 +0800</pubDate><guid>http://www.bingyao.org/post/242.html</guid><description><![CDATA[干一行，爱一行。<br/>今天来温习RFID。<br/>可是，她实在是，太普遍太普遍的存在于俺们的生活中...]]></description><category>program</category><comments>http://www.bingyao.org/post/242.html#comment</comments><wfw:comment>http://www.bingyao.org/</wfw:comment><wfw:commentRss>http://www.bingyao.org/sydication.asp?cmt=242</wfw:commentRss><trackback:ping>http://www.bingyao.org/cmd.asp?act=tb&amp;id=242&amp;key=64dcd8bb</trackback:ping></item><item><title>Add exist components into extensions</title><author>dubingyao@hotmail.com (bingyao)</author><link>http://www.bingyao.org/post/221.html</link><pubDate>Sat, 11 Apr 2009 20:48:33 +0800</pubDate><guid>http://www.bingyao.org/post/221.html</guid><description><![CDATA[1. 在install.js中增加component文件<br/>   er = addFile("components/nsIGMNotifierService.dll");<br/>   err = addFile("components/nsIGMNotifierService.xpt");<br/>2. 把在Componts文件夹中加入MyComponent.dll和IMyComponent.xpt<br/>3. 在implementation的js中调用函数<br/>  	   var compClass = Co...]]></description><category>program</category><comments>http://www.bingyao.org/post/221.html#comment</comments><wfw:comment>http://www.bingyao.org/</wfw:comment><wfw:commentRss>http://www.bingyao.org/sydication.asp?cmt=221</wfw:commentRss><trackback:ping>http://www.bingyao.org/cmd.asp?act=tb&amp;id=221&amp;key=de729ea4</trackback:ping></item><item><title>如何开发firefox插件</title><author>dubingyao@hotmail.com (bingyao)</author><link>http://www.bingyao.org/post/220.html</link><pubDate>Thu, 09 Apr 2009 17:14:40 +0800</pubDate><guid>http://www.bingyao.org/post/220.html</guid><description><![CDATA[好久没有写技术文章了.奶奶滴<br/><br/>Firefox的插件有很多，有的很有用也很有趣。比如webmail notifier，可以在指定的邮箱有新邮件达到是，在firefox的某个固定地方弹出提示信息；或者一个RSS的notifier，可以实时显示关注网站或者blog的更新.<br/><br/>Firefox的插件有两种， extensions和plugin。这两天看了毛一样多的文档，终于对如何写plugin理出个头绪。<br/><br/>首先，mozillia提供了一个页面，可以向导的方式生成一个框架，一个基本的框架。这...]]></description><category>program</category><comments>http://www.bingyao.org/post/220.html#comment</comments><wfw:comment>http://www.bingyao.org/</wfw:comment><wfw:commentRss>http://www.bingyao.org/sydication.asp?cmt=220</wfw:commentRss><trackback:ping>http://www.bingyao.org/cmd.asp?act=tb&amp;id=220&amp;key=e4d3bf96</trackback:ping></item><item><title>跨平台编程注意事项</title><author>dubingyao@hotmail.com (bingyao)</author><link>http://www.bingyao.org/post/60.html</link><pubDate>Thu, 25 Oct 2007 19:36:07 +0800</pubDate><guid>http://www.bingyao.org/post/60.html</guid><description><![CDATA[主要来自wireshark的notice：Wireshark runs on many platforms, and can be compiled with a number ofdifferent compilers; here are some rules for writing code that will workon multiple platforms.Don't use C++-style comments (comments beginning with &quot;//&qu...]]></description><category>program</category><comments>http://www.bingyao.org/post/60.html#comment</comments><wfw:comment>http://www.bingyao.org/</wfw:comment><wfw:commentRss>http://www.bingyao.org/sydication.asp?cmt=60</wfw:commentRss><trackback:ping>http://www.bingyao.org/cmd.asp?act=tb&amp;id=60&amp;key=347da569</trackback:ping></item><item><title>P2P之NAT类型检测方法 </title><author>dubingyao@hotmail.com (bingyao)</author><link>http://www.bingyao.org/post/57.html</link><pubDate>Tue, 16 Oct 2007 18:57:37 +0800</pubDate><guid>http://www.bingyao.org/post/57.html</guid><description><![CDATA[懒得写了，转一篇。P2P的NAT研究第一部分：NAT介绍第二部分：NAT类型检测第一部分： NAT介绍各种不同类型的NAT(according to RFC)baiduFull Cone NAT:内网主机建立一个UDP socket(LocalIP:LocalPort) 第一次使用这个socket给外部主机发送数据时NAT会给其分配一个公网(PublicIP:PublicPort),以后用这个socket向外面任何主机发送数据都将使用这对(PublicIP:PublicPort)。此外，任何外部...]]></description><category>program</category><comments>http://www.bingyao.org/post/57.html#comment</comments><wfw:comment>http://www.bingyao.org/</wfw:comment><wfw:commentRss>http://www.bingyao.org/sydication.asp?cmt=57</wfw:commentRss><trackback:ping>http://www.bingyao.org/cmd.asp?act=tb&amp;id=57&amp;key=1024fd1a</trackback:ping></item><item><title>大教堂和市集</title><author>dubingyao@hotmail.com (bingyao)</author><link>http://www.bingyao.org/post/38.html</link><pubDate>Thu, 14 Jun 2007 21:35:26 +0800</pubDate><guid>http://www.bingyao.org/post/38.html</guid><description><![CDATA[作者：Eric Raymond<br/><br/>一. 大教堂和市集<br/>　　Linux的影响是非常巨大的。甚至在５年以前，有谁能够想象一个世界级的操作系统能够仅仅用细细的Internet连接起来的散布在全球的几千个开发人员有以业余时间来创造呢？ <br/>　　我当然不会这么想。在１９９３年早期我开始注意Linux时，我已经参与Unix和自由软件开发达十年之久了。我是八十年代中期GNU最早的几个参与者之一。我已经在网上发布了大量的自由软件，开发和协助开发了几个至今仍在广泛使用的程序（Nethack,Emacs VC...]]></description><category>program</category><comments>http://www.bingyao.org/post/38.html#comment</comments><wfw:comment>http://www.bingyao.org/</wfw:comment><wfw:commentRss>http://www.bingyao.org/sydication.asp?cmt=38</wfw:commentRss><trackback:ping>http://www.bingyao.org/cmd.asp?act=tb&amp;id=38&amp;key=5fca5902</trackback:ping></item><item><title>Donald E. Knuth</title><author>dubingyao@hotmail.com (bingyao)</author><link>http://www.bingyao.org/post/37.html</link><pubDate>Sat, 09 Jun 2007 13:16:45 +0800</pubDate><guid>http://www.bingyao.org/post/37.html</guid><description><![CDATA[今天网上乱转，又跑到Donald E. Knuth的主页（http://www-cs-faculty.stanford.edu/~knuth/index.html）。怀着无限敬意，转下他的经典巨著和生平主要荣誉。<br/><br/>《The Art of Computer Programming》,作者"图灵"奖得主,著名的计算机科学家德Donald E. Knuth(高纳):<br/>Donald E. Knuth(高纳德)<br/>算法和程序设计技术的先驱者(我们现在的算法分析这门课就是他开创的)<br/>主要著作:《T...]]></description><category>program</category><comments>http://www.bingyao.org/post/37.html#comment</comments><wfw:comment>http://www.bingyao.org/</wfw:comment><wfw:commentRss>http://www.bingyao.org/sydication.asp?cmt=37</wfw:commentRss><trackback:ping>http://www.bingyao.org/cmd.asp?act=tb&amp;id=37&amp;key=0236a744</trackback:ping></item><item><title>开源之火</title><author>dubingyao@hotmail.com (bingyao)</author><link>http://www.bingyao.org/post/opensource.html</link><pubDate>Mon, 14 May 2007 22:46:37 +0800</pubDate><guid>http://www.bingyao.org/post/opensource.html</guid><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;From:&nbsp;torvalds@klaava.Helsinki.FI&nbsp;(Linus&nbsp;Benedict&nbsp;Torvalds) &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Newsgroups:&nbsp;comp.os.minix &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Subject:&nbsp...]]></description><category>program</category><comments>http://www.bingyao.org/post/opensource.html#comment</comments><wfw:comment>http://www.bingyao.org/</wfw:comment><wfw:commentRss>http://www.bingyao.org/sydication.asp?cmt=25</wfw:commentRss><trackback:ping>http://www.bingyao.org/cmd.asp?act=tb&amp;id=25&amp;key=c49f894b</trackback:ping></item><item><title>如何检测内存泄漏</title><author>dubingyao@hotmail.com (bingyao)</author><link>http://www.bingyao.org/post/memoryleak.html</link><pubDate>Sun, 13 May 2007 16:07:15 +0800</pubDate><guid>http://www.bingyao.org/post/memoryleak.html</guid><description><![CDATA[1内存是怎么泄漏的<br/>进程在堆上动态申请的内存在使用完毕后没有释放，造成内存泄漏。动态申请的函数一般有calloc，malloc和realloc这几个函数。<br/>如果泄漏的内存很多，进程将无法正常运行，最终会崩溃。<br/>2如何检测内存泄漏<br/>2.1连续多次操作，对比操作前后的内存占用情况。<br/>2.1.1操作<br/>系统通常会有查看内存占用情况的命令，一般会包括各个进程的占用情况。<br/>操作步骤也比较简单，写个tcl脚本，对一个或者若干个命令连续操作多次，然后对比操作前后的内存占用情况，如果明显升高则很有可...]]></description><category>program</category><comments>http://www.bingyao.org/post/memoryleak.html#comment</comments><wfw:comment>http://www.bingyao.org/</wfw:comment><wfw:commentRss>http://www.bingyao.org/sydication.asp?cmt=8</wfw:commentRss><trackback:ping>http://www.bingyao.org/cmd.asp?act=tb&amp;id=8&amp;key=27a2b1c9</trackback:ping></item><item><title>linux下用iptables做nat服务器</title><author>dubingyao@hotmail.com (bingyao)</author><link>http://www.bingyao.org/post/iptable.html</link><pubDate>Sun, 13 May 2007 16:01:22 +0800</pubDate><guid>http://www.bingyao.org/post/iptable.html</guid><description><![CDATA[比较简单，只需要两行：<br/><br/>echo "1" > /proc/sys/net/ipv4/ip_forward<br/>/*<br/>打开ip转发功能<br/>*/<br/><br/>iptables -t nat -I POSTROUTING -p all -s 10.165.107.0/24 -o eth1 -j SNAT --to-source 192.168.10.123<br/>/*<br/>作用，地址为10.165.107.0/24网段的机器，能够以装有两块网卡的linux系统为网关，来访问192.168.10.0/24网段...]]></description><category>program</category><comments>http://www.bingyao.org/post/iptable.html#comment</comments><wfw:comment>http://www.bingyao.org/</wfw:comment><wfw:commentRss>http://www.bingyao.org/sydication.asp?cmt=4</wfw:commentRss><trackback:ping>http://www.bingyao.org/cmd.asp?act=tb&amp;id=4&amp;key=3acc59ab</trackback:ping></item></channel></rss>
