<?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>bbpet`s blog</title>
	<atom:link href="http://blog.bbpet.org/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.bbpet.org</link>
	<description>Just 4 fun~</description>
	<pubDate>Sat, 02 Aug 2008 14:14:59 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
	<language>en</language>
			<item>
		<title>加了个reCAPTCHA</title>
		<link>http://blog.bbpet.org/archives/15</link>
		<comments>http://blog.bbpet.org/archives/15#comments</comments>
		<pubDate>Sat, 02 Aug 2008 14:14:59 +0000</pubDate>
		<dc:creator>bbpet</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[reCAPTCHA]]></category>

		<guid isPermaLink="false">http://blog.bbpet.org/archives/15</guid>
		<description><![CDATA[这两天垃圾comment忽然多了起来，诡异啊！不得不加个reCAPTCHA，在考虑要不要把akismet给停了，又怕有垃圾trackback。不过我看了一下，reCAPTCHA给出的扫描图基本上不要指望能看出来是什么内容，晕哦……
不过我觉得reCAPTCHA这种人肉校对扫描内容，还配一个生成单词的方法确实很有意思，不得不承认卡内基梅隆那帮家伙很懂的折腾利用我们小网民~~
]]></description>
			<content:encoded><![CDATA[<p>这两天垃圾comment忽然多了起来，诡异啊！不得不加个<a href="http://recaptcha.net/">reCAPTCHA</a>，在考虑要不要把<a href="http://akismet.com/">akismet</a>给停了，又怕有垃圾trackback。不过我看了一下，<a href="http://recaptcha.net/">reCAPTCHA</a>给出的扫描图基本上不要指望能看出来是什么内容，晕哦……</p>
<p>不过我觉得<a href="http://recaptcha.net/">reCAPTCHA</a>这种人肉校对扫描内容，还配一个生成单词的方法确实很有意思，不得不承认卡内基梅隆那帮家伙很懂的折腾利用我们小网民~~</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bbpet.org/archives/15/feed</wfw:commentRss>
		</item>
		<item>
		<title>升级wp到2.6</title>
		<link>http://blog.bbpet.org/archives/13</link>
		<comments>http://blog.bbpet.org/archives/13#comments</comments>
		<pubDate>Sun, 27 Jul 2008 05:47:02 +0000</pubDate>
		<dc:creator>bbpet</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[wordpress zRaven]]></category>

		<guid isPermaLink="false">http://blog.bbpet.org/archives/13</guid>
		<description><![CDATA[这十多天都被工作上的事绊住了，没时间更新blog，好不容易找到机会一看，一大群ad. comment，删了半天。
意外的发现wordpress出2.6了，升级之；同时zRaven也有新版本，0.9.360beta~
看起来也没升出啥问题来  
]]></description>
			<content:encoded><![CDATA[<p>这十多天都被工作上的事绊住了，没时间更新blog，好不容易找到机会一看，一大群ad. comment，删了半天。</p>
<p>意外的发现<a href="http://wordpress.org/">wordpress</a>出2.6了，升级之；同时<a href="http://www.zoundryraven.com/index.html">zRaven</a>也有新版本，0.9.360beta~</p>
<p>看起来也没升出啥问题来 <img src='http://blog.bbpet.org/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bbpet.org/archives/13/feed</wfw:commentRss>
		</item>
		<item>
		<title>设置.indent.pro</title>
		<link>http://blog.bbpet.org/archives/12</link>
		<comments>http://blog.bbpet.org/archives/12#comments</comments>
		<pubDate>Thu, 10 Jul 2008 16:06:27 +0000</pubDate>
		<dc:creator>bbpet</dc:creator>
		
		<category><![CDATA[Tech]]></category>

		<category><![CDATA[indent]]></category>

		<guid isPermaLink="false">http://blog.bbpet.org/archives/12</guid>
		<description><![CDATA[为了将原来linux下用的顺手的indent移到freebsd下用，要设下.indent.pro 原来用-nut -st -orig，其中
The style of the original Berkeley indent may be obtained by specifying `-orig?(or by specifying `&#8211;original? using the long option name). This style is equivalent to the following settings: -nbad -nbap -bbo -bc -br -brs -c33 -cd33 -cdb -ce -ci4 -cli0 -cp33 -di16 -fc1 -fca -hnl -i4 -ip4 -l75 -lp -npcs -nprs [...]]]></description>
			<content:encoded><![CDATA[<p>为了将原来linux下用的顺手的indent移到freebsd下用，要设下.indent.pro <br/>原来用-nut -st -orig，其中</p>
<blockquote><p>The style of the original Berkeley indent may be obtained by specifying `-orig?(or by specifying `&#8211;original? using the long option name). This style is equivalent to the following settings: <br/>-nbad -nbap -bbo -bc -br -brs -c33 -cd33 -cdb -ce -ci4 -cli0 <br/>-cp33 -di16 -fc1 -fca -hnl -i4 -ip4 -l75 -lp -npcs -nprs -psl <br/>-saf -sai -saw -sc -nsob -nss -ts8</p>
</blockquote>
<p>由于freebsd下的indent与linux的有些不同，并不是所有选项都能对应的上，有些不是很要紧的就去掉了。.indent.pro的内容</p>
<blockquote><p>-nbad <br/>-nbap <br/>-nbbb <br/>-nbc <br/>-br <br/>-c33 <br/>-cd33 <br/>-cdb <br/>-ce <br/>-ci4 <br/>-cli0 <br/>-di16 <br/>-ndj <br/>-ei <br/>-fbs <br/>-fc1 <br/>-fcb <br/>-i4 <br/>-ip <br/>-l78 <br/>-lp <br/>-npcs <br/>-psl <br/>-sc <br/>-nsob <br/>-st <br/>-nut <br/>-nv <br/></p>
</blockquote>
<p>做个备忘</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bbpet.org/archives/12/feed</wfw:commentRss>
		</item>
		<item>
		<title>在vim里搞定indent</title>
		<link>http://blog.bbpet.org/archives/11</link>
		<comments>http://blog.bbpet.org/archives/11#comments</comments>
		<pubDate>Wed, 09 Jul 2008 16:46:50 +0000</pubDate>
		<dc:creator>bbpet</dc:creator>
		
		<category><![CDATA[Tech]]></category>

		<category><![CDATA[vim indent]]></category>

		<guid isPermaLink="false">http://blog.bbpet.org/archives/11</guid>
		<description><![CDATA[在linux下用indent和vim配合得很好，每次摁下=就轻松把代码给格式化了
map = ggVG:!indent -nut -st -orig 2&#62;/dev/null&#60;CR&#62;G

没想到在freebsd下不好使了，真晕，man之，fb下的indent
SYNOPSIS indent [input-file [output-file]] [-bad &#124; -nbad] [-bap &#124; -nbap] [-bbb &#124; -nbbb] [-bc &#124; -nbc] [-bl] [-br] [-cn] [-cdn] [-cdb &#124; -ncdb] [-ce &#124; -nce] [-cin] [-clin] [-dn] [-din] [-fbs &#124; -nfbs] [-fc1 &#124; -nfc1] [-fcb &#124; -nfcb] [-in] [-ip &#124; -nip] [-ln] [-lcn] [-ldin] [-lp &#124; -nlp] [...]]]></description>
			<content:encoded><![CDATA[<p>在linux下用indent和vim配合得很好，每次摁下=就轻松把代码给格式化了</p>
<blockquote><p>map = ggVG:!indent -nut -st -orig 2&gt;/dev/null&lt;CR&gt;G</p>
</blockquote>
<p>没想到在freebsd下不好使了，真晕，man之，fb下的indent</p>
<blockquote><p>SYNOPSIS <br/>indent [input-file [output-file]] [-bad | -nbad] [-bap | -nbap] <br/>[-bbb | -nbbb] [-bc | -nbc] [-bl] [-br] [-cn] [-cdn] <br/>[-cdb | -ncdb] [-ce | -nce] [-cin] [-clin] [-dn] [-din] <br/>[-fbs | -nfbs] [-fc1 | -nfc1] [-fcb | -nfcb] [-in] [-ip | -nip] <br/>[-ln] [-lcn] [-ldin] [-lp | -nlp] [-npro] [-pcs | -npcs] <br/>[-psl | -npsl] [-sc | -nsc] [-sob | -nsob] [-st] [-troff] <br/>[-ut | -nut] [-v | -nv]</p>
</blockquote>
<p>与linux下的</p>
<blockquote><p>SYNOPSIS <br/>indent [options] [input-files] <br/>indent [options] [single-input-file] [-o output-file]</p>
</blockquote>
<p>居然不一样，而且很衰的，fb下的选项都在后边，比较难组织有效的单行命令，貌似用-代替标准输入也不行；</p>
<p>有人建议用indent %取巧，但这样就要e!重新载入，而且不利于indent出错时recover回去~~~ <br/>这种时候，只好出绝招了，把选项统统地写.indent.pro里去，再ggVG:!indent&lt;CR&gt;G <br/>大功告成，亲个嘴儿，顺便腹诽下这俩os的base怎么老有些不同的地方~</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bbpet.org/archives/11/feed</wfw:commentRss>
		</item>
		<item>
		<title>又要爬墙</title>
		<link>http://blog.bbpet.org/archives/10</link>
		<comments>http://blog.bbpet.org/archives/10#comments</comments>
		<pubDate>Fri, 04 Jul 2008 13:19:25 +0000</pubDate>
		<dc:creator>bbpet</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.bbpet.org/archives/10</guid>
		<description><![CDATA[最近freebsd.org和sourceforge.net又被盾了，叹气，某fw越来越不讲道理了~ 逼得众人不得不纷纷祭出各种爬墙、挖洞、破网大法，把主机建在国外的这时会相对比较方便： 1是避免了被和谐的情况，不过同时也增加了被盾的概率 2是可以用来穿越:-)，我每次碰到大站被盾的情况都是先vpn/ssl连到国外主机上，再浏览/下载 现下freebsd已解禁，不过sf就不知道还要等到啥时候，怕是要过了奥运吧！窃以为象这些翻遍全站也看不到几个方块字的大站盾了也没啥用，一般人又不太看得懂，看得懂的人一般都盾不住~
]]></description>
			<content:encoded><![CDATA[<p>最近<a href="http://www.freebsd.org/">freebsd.org</a>和<a href="http://www.sourceforge.net/">sourceforge.net</a>又被盾了，叹气，某fw越来越不讲道理了~ <br/>逼得众人不得不纷纷祭出各种爬墙、挖洞、破网大法，把主机建在国外的这时会相对比较方便： <br/>1是避免了被和谐的情况，不过同时也增加了被盾的概率 <br/>2是可以用来穿越:-)，我每次碰到大站被盾的情况都是先vpn/ssl连到国外主机上，再浏览/下载 <br/>现下freebsd已解禁，不过sf就不知道还要等到啥时候，怕是要过了奥运吧！窃以为象这些翻遍全站也看不到几个方块字的大站盾了也没啥用，一般人又不太看得懂，看得懂的人一般都盾不住~</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bbpet.org/archives/10/feed</wfw:commentRss>
		</item>
		<item>
		<title>今天意外的收到了Firefox 3的某个证书</title>
		<link>http://blog.bbpet.org/archives/9</link>
		<comments>http://blog.bbpet.org/archives/9#comments</comments>
		<pubDate>Thu, 03 Jul 2008 16:03:47 +0000</pubDate>
		<dc:creator>bbpet</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[Firefox 吉尼斯记录]]></category>

		<guid isPermaLink="false">http://blog.bbpet.org/archives/9</guid>
		<description><![CDATA[原文如下
我们创造了一项吉尼斯世界记录──24小时内软件下载次数最多。凭借您的帮助我们达到了8,002,530次下载 您现在不仅是一项世界记录的一员，还是最好一版Firefox的拥有者！ 别忘记下载特别属于您的创造这次吉尼斯记录的证书。

]]></description>
			<content:encoded><![CDATA[<p>原文如下</p>
<blockquote><p>我们创造了一项吉尼斯世界记录──24小时内软件下载次数最多。凭借您的帮助我们达到了8,002,530次下载 <br/>您现在不仅是一项世界记录的一员，还是最好一版Firefox的拥有者！ <br/>别忘记下载特别属于您的创造这次吉尼斯记录的<a href="http://blog.bbpet.org/wp-content/uploads/2008/07/Download-Day-2008.pdf">证书</a>。</p>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.bbpet.org/archives/9/feed</wfw:commentRss>
		</item>
		<item>
		<title>总算知道cp936是啥意思了</title>
		<link>http://blog.bbpet.org/archives/8</link>
		<comments>http://blog.bbpet.org/archives/8#comments</comments>
		<pubDate>Thu, 03 Jul 2008 15:56:47 +0000</pubDate>
		<dc:creator>bbpet</dc:creator>
		
		<category><![CDATA[Tech]]></category>

		<category><![CDATA[cp936]]></category>

		<guid isPermaLink="false">http://blog.bbpet.org/archives/8</guid>
		<description><![CDATA[常在设置编码的时候看到cp936，譬如samba里就有，见过有人说是GB2312，又有说GBK的，今天查字库时意外的看到了。 原来cp936指的是系统的936号编码格式，code page 936~~ 
微软在它出品的Windows 98中，采用了GBK编码，而在系统内称为cp936字码表。 根据西方资料，GBK最初是由微软对GB2312的扩展，也就是cp936，最初出现于Windows 95简体中文版中，由于Windows产品的流行在大陆广泛使用，国家有关部门将其作为技术规范。

感觉这个有关部门跟搞麒麟os的一样，拉了个别人的东西过来凑数~
]]></description>
			<content:encoded><![CDATA[<p>常在设置编码的时候看到cp936，譬如samba里就有，见过有人说是GB2312，又有说GBK的，今天查<a href="http://baike.baidu.com/view/1127103.htm">字库</a>时意外的看到了。 <br/>原来cp936指的是系统的936号编码格式，code page 936~~ <br/></p>
<blockquote><p>微软在它出品的Windows 98中，采用了GBK编码，而在系统内称为cp936字码表。 <br/>根据西方资料，GBK最初是由微软对GB2312的扩展，也就是cp936，最初出现于Windows 95简体中文版中，由于Windows产品的流行在大陆广泛使用，国家有关部门将其作为技术规范。</p>
</blockquote>
<p><br/>感觉这个有关部门跟搞麒麟os的一样，拉了个别人的东西过来凑数~</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bbpet.org/archives/8/feed</wfw:commentRss>
		</item>
		<item>
		<title>给screen打广告</title>
		<link>http://blog.bbpet.org/archives/7</link>
		<comments>http://blog.bbpet.org/archives/7#comments</comments>
		<pubDate>Thu, 26 Jun 2008 15:51:11 +0000</pubDate>
		<dc:creator>bbpet</dc:creator>
		
		<category><![CDATA[Tech]]></category>

		<category><![CDATA[screen]]></category>

		<guid isPermaLink="false">http://blog.bbpet.org/archives/7</guid>
		<description><![CDATA[在console下，screen是个相当的好用的工具啊，可惜广告少，不太出名~ screen的窗口管理功能貌似极其强大，支持detach/reattach，忽略SIGHUP信号；可以在运行些耗时长的程序时退出终端，去wc便便3个小时回来后，再联上终端看结果。这样就可以彻底无视nohup的存在了，反正有些人也不晓得nohup是起什么作用的，啥时候该加&#38;，或为什么该加&#38;，囧 不过我也只是贪图screen可以在console下做copy/paste，牛刀小用了（太上老君的青牛杀得悟空哇哇叫，平时也只是用来骑或看门）；screen还支持滚屏，支持不同的语言编码，不过似乎就eucCN, Big5, GBK, UTF-8几个比较常用；自从ports了它，scr2txt/scr2png就彻底从俺机器上消失鸟…… 备忘~ 
C-a ? (help) Show key bindings. C-a [ C-a C-[ C-a esc (copy) Enter copy/scrollback mode. C-a ] (paste .) Write the contents of the paste buffer to the stdin queue of the current window. C-a C-\ (quit) Kill all windows and terminate screen.

好东西来的，强烈建议常在console下干活的兄弟试试看！！！
]]></description>
			<content:encoded><![CDATA[<p>在console下，<a href="http://www.gnu.org/software/screen/">screen</a>是个相当的好用的工具啊，可惜广告少，不太出名~ <br/>screen的窗口管理功能貌似极其强大，支持detach/reattach，忽略SIGHUP信号；可以在运行些耗时长的程序时退出终端，去wc便便3个小时回来后，再联上终端看结果。这样就可以彻底无视nohup的存在了，反正有些人也不晓得nohup是起什么作用的，啥时候该加&amp;，或为什么该加&amp;，囧 <br/>不过我也只是贪图screen可以在console下做copy/paste，牛刀小用了（太上老君的青牛杀得悟空哇哇叫，平时也只是用来骑或看门）；screen还支持滚屏，支持不同的语言编码，不过似乎就eucCN, Big5, GBK, UTF-8几个比较常用；自从ports了它，scr2txt/scr2png就彻底从俺机器上消失鸟…… <br/>备忘~ <br/></p>
<blockquote><p>C-a ? (help) Show key bindings. <br/>C-a [ <br/>C-a C-[ <br/>C-a esc (copy) Enter copy/scrollback mode. <br/>C-a ] (paste .) Write the contents of the paste buffer to the stdin queue of the current window. <br/>C-a C-\ (quit) Kill all windows and terminate screen.</p>
</blockquote>
<p>好东西来的，强烈建议常在console下干活的兄弟试试看！！！</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bbpet.org/archives/7/feed</wfw:commentRss>
		</item>
		<item>
		<title>通过w3c认证</title>
		<link>http://blog.bbpet.org/archives/6</link>
		<comments>http://blog.bbpet.org/archives/6#comments</comments>
		<pubDate>Sat, 21 Jun 2008 19:49:31 +0000</pubDate>
		<dc:creator>bbpet</dc:creator>
		
		<category><![CDATA[Tech]]></category>

		<category><![CDATA[w3c]]></category>

		<guid isPermaLink="false">http://blog.bbpet.org/archives/6</guid>
		<description><![CDATA[改了好些地方，终于通过w3c认证，恭喜自己一把~

]]></description>
			<content:encoded><![CDATA[<p>改了好些地方，终于通过w3c认证，恭喜自己一把~</p>
<p><a href="http://validator.w3.org/check?uri=referer"><img src="http://www.w3.org/Icons/valid-xhtml10" style="DISPLAY: inline" alt="Valid XHTML 1.0 Transitional"/></a><a href="http://jigsaw.w3.org/css-validator/"><img src="http://jigsaw.w3.org/css-validator/images/vcss" style="DISPLAY: inline" alt="Valid CSS!"/></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bbpet.org/archives/6/feed</wfw:commentRss>
		</item>
		<item>
		<title>给Firefox 3装插件</title>
		<link>http://blog.bbpet.org/archives/5</link>
		<comments>http://blog.bbpet.org/archives/5#comments</comments>
		<pubDate>Sat, 21 Jun 2008 16:26:07 +0000</pubDate>
		<dc:creator>bbpet</dc:creator>
		
		<category><![CDATA[Tech]]></category>

		<category><![CDATA[Firefox add-ons]]></category>

		<guid isPermaLink="false">http://blog.bbpet.org/archives/5</guid>
		<description><![CDATA[装了Firefox 3之后裸奔是很无趣的事情，不管怎样，都得装几个插件才趁手。 adblock，dta，flash player，unmht（或者maf）那是一定要的啦，其它的倒没啥特别的要求，只不过各插件的维护者不见得很勤快，有些几百年都没更新过，而又有maxVersion标签作限制，小白们装不上，可能会重回ie阵营；这设计还小小影响了Firefox的推广…… 我装那几个插件，adobe要运行安装程序，unmht和dta都装得很顺利，只有adblock由于是对应2.x要特别处理一下。 对于这种对应低版本Firefox的情况，网上充斥着各种各样的解决方法，大体思路就是关闭或蒙骗Extension Compatibility Check，这有个比较简单的做法，只不过我从没尝试过，不知道能用否。俺碰到add-ons对应的版本太低一般都是手改xpi中install.rdf，到现在还没出过问题，算rp不错的~ 另偷赞一把谷歌金山词霸，出货及时~~ 
更新日志： 2008.05.20 新增功能： 1. 支持 Firefox 3 取词。

装adblock时倒是被Firefox add-ons给逗笑，它竟然还自行检查一下browser是否符合要求，不符合的自作主张不给下载

令人十分无语，正常的逻辑应该在安装时检查，而不是在浏览时越俎代庖~ 那像我们这种懒人就只好用ie先把xpi下到本地，修改了再装。更搞笑的是装上之后它神志不清居然又变成可用的了

果然自欺欺人，囧…… 
]]></description>
			<content:encoded><![CDATA[<p>装了Firefox 3之后裸奔是很无趣的事情，不管怎样，都得装几个插件才趁手。 <br/>adblock，dta，flash player，unmht（或者maf）那是一定要的啦，其它的倒没啥特别的要求，只不过各插件的维护者不见得很勤快，有些几百年都没更新过，而又有maxVersion标签作限制，小白们装不上，可能会重回ie阵营；这设计还小小影响了Firefox的推广…… <br/>我装那几个插件，adobe要运行安装程序，unmht和dta都装得很顺利，只有adblock由于是对应2.x要特别处理一下。 <br/>对于这种对应低版本Firefox的情况，网上充斥着各种各样的解决方法，大体思路就是关闭或蒙骗Extension Compatibility Check，<a href="http://just-thinkin.net/2008/02/firefox-3-beta-3-disabling-extension-compatibility-check">这有个比较简单的做法</a>，只不过我从没尝试过，不知道能用否。俺碰到add-ons对应的版本太低一般都是手改xpi中install.rdf，到现在还没出过问题，算rp不错的~ <br/>另偷赞一把谷歌金山词霸，出货及时~~ <br/></p>
<blockquote><p>更新日志： <br/>2008.05.20 <br/>新增功能： <br/>1. 支持 Firefox 3 取词。</p>
</blockquote>
<p>装adblock时倒是被<a href="https://addons.mozilla.org/en-US/firefox">Firefox add-ons</a>给逗笑，它竟然还自行检查一下browser是否符合要求，不符合的自作主张不给下载</p>
<p><img src="http://blog.bbpet.org/wp-content/uploads/2008/06/unable.jpg" style="DISPLAY: inline" alt="add-ons unusable"/></p>
<p>令人十分无语，正常的逻辑应该在安装时检查，而不是在浏览时越俎代庖~ <br/>那像我们这种懒人就只好用ie先把xpi下到本地，修改了再装。更搞笑的是装上之后它神志不清居然又变成可用的了</p>
<p><img src="http://blog.bbpet.org/wp-content/uploads/2008/06/able.jpg" style="DISPLAY: inline" alt="add-ons usable"/></p>
<p>果然自欺欺人，囧…… <br/></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bbpet.org/archives/5/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
