<!-- Free Hosting WebNG.com --> 
<center>
<script type="text/javascript" charset="utf-8">

  var redvase_ad = { version: 1.5 };

  redvase_ad.publisher = 'webng';

  redvase_ad.kind      = 'leaderboard';

  redvase_ad.content   = 'creative'

  redvase_ad.refurl    = encodeURI('**URL_HERE**');

  </script>

<script src="http://redvase.bravenet.com/javascripts/redvase.js" type="text/javascript" charset="utf-8"></script>
</center>
<!-- Free Hosting WebNG.com --> <?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:wfw="http://wellformedweb.org/CommentAPI/">
  <channel>
    <title><![CDATA[○白子○ 的Blog]]></title> 
    <link>http://www6.webng.com/seaboat/</link> 
    <description><![CDATA[关注互联网，拥抱开源，记录工作和生活的点点滴滴]]></description> 
    <language>zh-cn</language> 
    <copyright><![CDATA[Copyright 2009, ○白子○ 的Blog]]></copyright> 
    <webMaster><![CDATA[ouzhiwei@gmail.com (Jlake Ou)]]></webMaster> 
    <generator>LBS v2.0.313</generator> 
    <pubDate>Mon, 23 Nov 2009 04:30:42 -0500</pubDate> 
    <ttl>60</ttl>
  
    <item>
      <title><![CDATA[不选 Zend, 也不选 Symfony，而选 CakePHP 的10个理由]]></title> 
      <link><![CDATA[http://www6.webng.com/seaboat/article.asp?id=690]]></link> 
      <category><![CDATA[BSD/Solaris]]></category> 
      <author><![CDATA[seaboat <null@null.com>]]></author> 
      <pubDate>Wed, 27 Feb 2008 01:15:24 -0500</pubDate> 
      <description><![CDATA[在一个日本人的博客上看到《<a href="http://d.hatena.ne.jp/toshiyuki_saito/20080128/1201446173" title="http://d.hatena.ne.jp/toshiyuki_saito/20080128/1201446173" target="_blank">Zendでも、Symfonyでもなく、CakePHPを選んだ１０の理由</a>》，题目翻译过来就是《不选 Zend, 也不选 Symfony，而选 CakePHP 的10个理由》。文中所列举的理由，比较有参考价值，因此整理翻译如下：<br /><br /><b>理由1　PHP4、5两头对应</b><br /><br />这个对开发者来说是值得庆幸的。<br /><br />因为有时候客户现有的服务器环境，无法选择PHP的版本。这时候，如果原有的环境是 PHP4，Zend 和 Symfony 就鞭长莫及了<br /><br /><b>理由2　不依赖于 PEAR</b><br /><br />这个和理由1一样，可以确信自己所写的代码在什么地方都能运行。<br /><br />还有就是，若有在框架之外还有依赖的东西，从开发环境到实际环境的移行，有时候会有意外的麻烦。<br /><br /><b>理由3　设置简单</b><br />]]></description>
      <wfw:commentRss><![CDATA[http://www6.webng.com/seaboat/feed.asp?q=comment&id=690]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[用 Apache Bench 进行网站性能测试]]></title> 
      <link><![CDATA[http://www6.webng.com/seaboat/article.asp?id=688]]></link> 
      <category><![CDATA[BSD/Solaris]]></category> 
      <author><![CDATA[seaboat <null@null.com>]]></author> 
      <pubDate>Thu, 14 Feb 2008 20:08:27 -0500</pubDate> 
      <description><![CDATA[Apache 有一个自带的性能测试工具叫 <b>ab</b> (Apache Bench)。<br />用这个工具，只须指定同时连接数、请求数以及URL，即可测试网站或网站程序的性能。<br /><br />通过 <b>ab</b> 命令发送请求之后，可以得到每秒传送字节数、每秒处理请求数、每请求处理时间等统计数据。<br /><br />举个例子，要得到同时连接数为 100、请求数达 1000，访问 http://example.com/index.html 的性能测试数据，命令格式如下：<br /><span style="color:blue">ab -n 1000 -c 100 http://example.com/index.html</span><br /><br />若目标地址需用户认证，可加 <span style="color:red">-A</span> 参数。<br /><br /><b>ab</b> 命令的常用参数：<br /><span style="color:red">-n</span> 数值： 发起测试的请求数<br /><span style="color:red">-c</span> 数值： 发起测试的同时连接数<br />]]></description>
      <wfw:commentRss><![CDATA[http://www6.webng.com/seaboat/feed.asp?q=comment&id=688]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[WYSIWYG 在线 HTML 编辑器收集]]></title> 
      <link><![CDATA[http://www6.webng.com/seaboat/article.asp?id=644]]></link> 
      <category><![CDATA[BSD/Solaris]]></category> 
      <author><![CDATA[seaboat <null@null.com>]]></author> 
      <pubDate>Wed, 05 Sep 2007 03:22:26 -0400</pubDate> 
      <description><![CDATA[1. <a href="http://www.fckeditor.net/" title="http://www.fckeditor.net/" target="_blank">FCKeditor</a><br />老品牌，名气很大，功能很多，个头也很大，个人不是很喜欢。<br /><br />2. <a href="http://tinymce.moxiecode.com/index.php" title="http://tinymce.moxiecode.com/index.php" target="_blank">TinyMCE</a> <br />和 FCKeditor 齐名，名为＂Tiny＂，实际上个头并不小，而且有向＂Huge＂发展的趋势。<br /><br />3. <a href="http://xinha.webfactional.com/" title="http://xinha.webfactional.com/" target="_blank">Xinha</a><br />据其主页上的介绍，功能似乎很强大，其插件系统看起来不错。因为没用过，暂不置评。<br /><br />4. <a href="http://www.themaninblue.com/experiment/widgEditor/" title="http://www.themaninblue.com/experiment/widgEditor/" target="_blank">widgEditor</a><br />个头很小，下载文件只有32k，我看了一下它的代码，感觉还不错，尽管功能稍欠，熟悉JavaScript的人应该可以自己将其扩充。<br />]]></description>
      <wfw:commentRss><![CDATA[http://www6.webng.com/seaboat/feed.asp?q=comment&id=644]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[用 JavaScript 保存数据到本地的方法]]></title> 
      <link><![CDATA[http://www6.webng.com/seaboat/article.asp?id=643]]></link> 
      <category><![CDATA[BSD/Solaris]]></category> 
      <author><![CDATA[seaboat <null@null.com>]]></author> 
      <pubDate>Mon, 03 Sep 2007 20:56:18 -0400</pubDate> 
      <description><![CDATA[用 JavaScript，可以把网页中的内容保存到本地？似乎有点玄，因为这是一个最起码的安全原则。试想，一打开网页，自动运行的 JavaScript 就不分青红皂白，擅自把文件保存到 Windows 目录下面，甚至替换系统文件，那岂不是很糟糕？！<br /><br />我以前也考虑过这个问题，经过一些试验，得出的结论是，直接保存文件是很困难的，保存一些短小的数据在本地，却也并非不可能。方法：<br /><br /><b>1. 通过 Cookie 保存</b><br /><br />几乎所有浏览器都支持 Cookie，所以很容易实现。最常用的是用来保存用户的登录数据。<br /><br /><b>2. 通过 ActiveX 保存</b><br /><br />仅 Windows 下的 IE 可用，用这个方法可以实现文件的保存。Web 版的迅雷用的就是这种方法。IE 的安全问题很突出，原因正是出在这个让人又爱又恨的 ActiveX 身上。<br /><br /><b>3. 通过 Flash 保存</b><br />]]></description>
      <wfw:commentRss><![CDATA[http://www6.webng.com/seaboat/feed.asp?q=comment&id=643]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[实现域名重定向的 Rewrite 写法]]></title> 
      <link><![CDATA[http://www6.webng.com/seaboat/article.asp?id=641]]></link> 
      <category><![CDATA[BSD/Solaris]]></category> 
      <author><![CDATA[seaboat <null@null.com>]]></author> 
      <pubDate>Tue, 28 Aug 2007 21:52:07 -0400</pubDate> 
      <description><![CDATA[<b>一. http（默认 80 端口）</b><div class="code">RewriteEngine on<br />RewriteCond %{HTTP_HOST} ^domain2.com<br />RewriteRule ^(.*)$ http&#58;//domain1.com/$1 [R,L]</div><br /><b>二. https（默认 443 端口）</b><br />写法一：<div class="code">RewriteCond %{HTTP_HOST} ^domain2.com<br />RewriteCond %{HTTPS} ^on$<br />RewriteRule ^(.*)$ https&#58;//domain1.com/$1 [R,L]</div><br />写法二：<div class="code">RewriteCond %{HTTP_HOST} ^domain2.com<br />RewriteCond %{SERVER_PORT} ^443$<br />RewriteRule </div>]]></description>
      <wfw:commentRss><![CDATA[http://www6.webng.com/seaboat/feed.asp?q=comment&id=641]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[“代码贴吧”网址收集]]></title> 
      <link><![CDATA[http://www6.webng.com/seaboat/article.asp?id=633]]></link> 
      <category><![CDATA[BSD/Solaris]]></category> 
      <author><![CDATA[seaboat <null@null.com>]]></author> 
      <pubDate>Mon, 20 Aug 2007 08:44:44 -0400</pubDate> 
      <description><![CDATA[若想在网上与人分享短小的源代码，推荐用以下网站：<br /><a href="http://pastie.caboo.se/paste/" title="http://pastie.caboo.se/paste/" target="_blank">http://pastie.caboo.se/paste/</a><br /><a href="http://pastie.textmate.org/paste/" title="http://pastie.textmate.org/paste/" target="_blank">http://pastie.textmate.org/paste/</a> (同上)<br /><a href="http://pastebin.com/" title="http://pastebin.com/" target="_blank">http://pastebin.com/</a><br /><a href="http://rafb.net/paste/" title="http://rafb.net/paste/" target="_blank">http://rafb.net/paste/</a>]]></description>
      <wfw:commentRss><![CDATA[http://www6.webng.com/seaboat/feed.asp?q=comment&id=633]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[几则 Solaris 命令]]></title> 
      <link><![CDATA[http://www6.webng.com/seaboat/article.asp?id=614]]></link> 
      <category><![CDATA[BSD/Solaris]]></category> 
      <author><![CDATA[seaboat <null@null.com>]]></author> 
      <pubDate>Tue, 10 Jul 2007 20:09:49 -0400</pubDate> 
      <description><![CDATA[查看OS版本<br /><span style="color:blue">$ uname -aX</span><br /><br />查看硬盘序列号<br /><span style="color:blue">$ iostat -En</span><br /><br />查看系统安装日期<br /><span style="color:blue">$ ls -l /var/sadm/system/admin/INST_RELEASE<br />$ cat /var/sadm/system/admin/INST_RELEASE</span><br /><br />查看内存使用率<br /><span style="color:blue">$ ps -e -opid,vsz,rss,args | awk &#39;{t=t+$2}END{print t/1024}&#39;<br />$ ps -e -opid,vsz,rss,args | sort -nr +1</span><br /><br />查看剩余inode数<br /><span style="color:blue">$ df -e /</span><br /><br />]]></description>
      <wfw:commentRss><![CDATA[http://www6.webng.com/seaboat/feed.asp?q=comment&id=614]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[Solaris每进程打开最大文件数的修改方法]]></title> 
      <link><![CDATA[http://www6.webng.com/seaboat/article.asp?id=600]]></link> 
      <category><![CDATA[BSD/Solaris]]></category> 
      <author><![CDATA[seaboat <null@null.com>]]></author> 
      <pubDate>Fri, 15 Jun 2007 06:01:52 -0400</pubDate> 
      <description><![CDATA[在Solaris系统下执行以下命令：<br /><br /><span style="color:blue"># ulimit -a</span><br /><span style="color:darkred">core file size (blocks)     unlimited<br />data seg size (kbytes)      unlimited<br />file size (blocks)          unlimited<br />open files                  256<br />pipe size (512 bytes)       10<br />stack size (kbytes)         8192<br />cpu time (seconds)          unlimited<br />max user processes          15877<br />virtual memory (kbytes)     unlimited<br /></span>]]></description>
      <wfw:commentRss><![CDATA[http://www6.webng.com/seaboat/feed.asp?q=comment&id=600]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[前途无量的PC-BSD]]></title> 
      <link><![CDATA[http://www6.webng.com/seaboat/article.asp?id=584]]></link> 
      <category><![CDATA[BSD/Solaris]]></category> 
      <author><![CDATA[seaboat <null@null.com>]]></author> 
      <pubDate>Sun, 08 Apr 2007 04:50:40 -0400</pubDate> 
      <description><![CDATA[没事下了个<a href="http://www.pcbsd.org/?p=download" title="http://www.pcbsd.org/?p=download" target="_blank">PC-BSD 1.3.01</a>的VMWare磁盘镜像，在VMware上试用后，一下子喜欢上了。于是忍不住下载了其安装光盘，刻录，并在家里的电脑上安装。<br /><br /><a href="http://www.pcbsd.org/" title="http://www.pcbsd.org/" target="_blank">PC-BSD</a>的默认桌面是KDE，窗口样式是Vista风格，从视觉效果来说，给人的第一印象不错。实际上，PC-BSD的的桌面和很多Linux发行版相比，可以说并无过人之处，如果你肯花时间，完全可以用熟悉的Linux系统做出比这个更漂亮的桌面。只不过，这个系统的内核是BSD，而不是Linux。<br /><br />PC-BSD提供了一个图形化的安装系统，让没有安装过BSD的人，也能轻松安装PC-BSD。我用下来的感觉，这个安装系统还不是很完善，比如，有一步选错了，居然回不到上一步，需要从头来，还]]></description>
      <wfw:commentRss><![CDATA[http://www6.webng.com/seaboat/feed.asp?q=comment&id=584]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[三个免费BSD系统的比较]]></title> 
      <link><![CDATA[http://www6.webng.com/seaboat/article.asp?id=579]]></link> 
      <category><![CDATA[BSD/Solaris]]></category> 
      <author><![CDATA[seaboat <null@null.com>]]></author> 
      <pubDate>Mon, 02 Apr 2007 07:02:55 -0400</pubDate> 
      <description><![CDATA[在网上看到这样的评论：<br /><br /><span style="color:darkred">FreeBSD = Popular all-rounder.<br />NetBSD = Portable (runs on a lot of platforms, including a toaster)<br />OpenBSD = Security above anything else.</span><br /><br />翻译过来就是：<br /><br /><span style="color:darkred">FreeBSD = 流行的多面手<br />NetBSD = 可移植 (可在很多平台上运行, 包括一个烤面包机)<br />OpenBSD = 比其他任何东西都安全</span><br /><br />应该说，这样的评价，非常精到。用过这三个系统的人我想都会点头同意。]]></description>
      <wfw:commentRss><![CDATA[http://www6.webng.com/seaboat/feed.asp?q=comment&id=579]]></wfw:commentRss>
    </item>
      
  </channel>
</rss>
