<!-- 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:35:26 -0500</pubDate> 
    <ttl>60</ttl>
  
    <item>
      <title><![CDATA[三个 JavaScript 工具 + 批处理]]></title> 
      <link><![CDATA[http://www6.webng.com/seaboat/article.asp?id=767]]></link> 
      <category><![CDATA[Windows]]></category> 
      <author><![CDATA[seaboat <null@null.com>]]></author> 
      <pubDate>Thu, 05 Nov 2009 20:36:59 -0500</pubDate> 
      <description><![CDATA[收集了三个针对 JavaScript 的工具:<br /><br />1. <a href="http://www.javascriptlint.com/index.htm" title="http://www.javascriptlint.com/index.htm" target="_blank">JavaScript Lint</a><br />用于 js 查错。<br /><br />2. <a href="http://developer.yahoo.com/yui/compressor/" title="http://developer.yahoo.com/yui/compressor/" target="_blank">YUI Compressor</a><br />用于压缩 js 文件。<br /><br />3. <a href="http://code.google.com/intl/ja/closure/compiler/" title="http://code.google.com/intl/ja/closure/compiler/" target="_blank">Closure Compiler</a><br />用于压缩和优化 js 文件。<br /><br />我把以上三个工具都放在 C:\jsl 下面，并把该目录加入系统变量 PATH。<br />随后在 C:\jsl 下新作三个 bat 文件，分别如下：<br /><br /><b>jsl.bat</b><div class="code">@echo off<br />c:\jsl\jsl.exe </div>]]></description>
      <wfw:commentRss><![CDATA[http://www6.webng.com/seaboat/feed.asp?q=comment&id=767]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[把 Windows 的 Notepad 换成 Notepad2]]></title> 
      <link><![CDATA[http://www6.webng.com/seaboat/article.asp?id=745]]></link> 
      <category><![CDATA[Windows]]></category> 
      <author><![CDATA[seaboat <null@null.com>]]></author> 
      <pubDate>Mon, 22 Jun 2009 03:43:55 -0400</pubDate> 
      <description><![CDATA[<a href="http://www.flos-freeware.ch/notepad2.html" title="http://www.flos-freeware.ch/notepad2.html" target="_blank">Notepad2</a> 很小巧，然而功能强大，和 Windows 自带的 Notepad 相比，说有天壤之别也不为过。<br /><br />网上有不少文章介绍如何把 Windows 的 Notepad 换成 Notepad2，步骤都比较复杂，而且成功率不高，尤其是 XP SP2 以后的版本。<br /><br />经我验证，<a href="http://ayende.com/Blog/archive/2005/05/29/ReplacingNotepadWithNotepad2OnWindowsXPServicePack2.aspx" title="http://ayende.com/Blog/archive/2005/05/29/ReplacingNotepadWithNotepad2OnWindowsXPServicePack2.aspx" target="_blank">这个网页</a>上介绍的方法比较好使。方法是在 Notepad2 的文件夹内做一个批处理文件，然后执行。原文介绍的批处理如下（注释已译）：<div class="code">@echo 替换 NOTEPAD.EXE 为 notepad2.EXE ...</div>]]></description>
      <wfw:commentRss><![CDATA[http://www6.webng.com/seaboat/feed.asp?q=comment&id=745]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[Windows 版 gVim 之最佳UTF-8解决方案]]></title> 
      <link><![CDATA[http://www6.webng.com/seaboat/article.asp?id=733]]></link> 
      <category><![CDATA[Windows]]></category> 
      <author><![CDATA[seaboat <null@null.com>]]></author> 
      <pubDate>Mon, 30 Mar 2009 21:43:37 -0400</pubDate> 
      <description><![CDATA[在 Windows 下安装了 <a href="http://www.vim.org/download.php#pc" title="http://www.vim.org/download.php#pc" target="_blank">gVim 的官方发行版</a>，按照网上一些方法修改 _vimrc 文件，倒腾来倒腾去，编辑utf-8或其他多字节编码文件的时候，总是有这样那样的问题。<br /><br />于是找到了这个 <a href="http://sites.google.com/site/fudist/Home/vim-nihongo-ban" title="http://sites.google.com/site/fudist/Home/vim-nihongo-ban" target="_blank">vim UTF-8日本語版</a>，作者提供单独的配置文件和完整的Vim压缩包，压缩包下载解压后就能使用，无须安装。经我测试，一打开utf-8文件就正常显示，打开其他编码（Shift-JIS, EUC）的文件，也不用任何其他辅助命令，就能正常显示日文。尝试打开GB2312中文编码的文件，显示乱码，没办法，这是日本人做的，不考虑中文编码的对应也是情理之中。不过，日文中文的处理方法是相通]]></description>
      <wfw:commentRss><![CDATA[http://www6.webng.com/seaboat/feed.asp?q=comment&id=733]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[清除Windows系统垃圾的批处理]]></title> 
      <link><![CDATA[http://www6.webng.com/seaboat/article.asp?id=731]]></link> 
      <category><![CDATA[Windows]]></category> 
      <author><![CDATA[seaboat <null@null.com>]]></author> 
      <pubDate>Tue, 24 Mar 2009 20:19:39 -0400</pubDate> 
      <description><![CDATA[偶然在网上发现的批处理脚本，感觉有用且会常用，所以贴一个在这儿。<div class="code">@echo off<br />echo 正在清除垃圾文件，请稍等...<br />del /f /s /q %systemdrive%\*.tmp<br />del /f /s /q %systemdrive%\*._mp<br />del /f /s /q %systemdrive%\*.log<br />del /f /s /q %systemdrive%\*.gid<br />del /f /s /q %systemdrive%\*.chk<br />del /f /s /q %systemdrive%\*.old<br />del /f /s /q %systemdrive%\recycled\*.*<br />del /f /s /q %windir%\*.bak<br />del /f /s /q %windir%\prefetch\*.*<br />rd /s /q %windir%\temp &amp; md %windir%\temp</div>]]></description>
      <wfw:commentRss><![CDATA[http://www6.webng.com/seaboat/feed.asp?q=comment&id=731]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[批量删除 Thumbs.db 文件的 VBScript脚本]]></title> 
      <link><![CDATA[http://www6.webng.com/seaboat/article.asp?id=716]]></link> 
      <category><![CDATA[Windows]]></category> 
      <author><![CDATA[seaboat <null@null.com>]]></author> 
      <pubDate>Fri, 25 Jul 2008 06:45:07 -0400</pubDate> 
      <description><![CDATA[代码如下：<div class="code">Dim Shell, FSO, objRootFolder<br />Set Shell = WScript.CreateObject(&quot;Shell.Application&quot;)<br />Set FSO = CreateObject(&quot;Scripting.FileSystemObject&quot;)<br />Set objRootFolder = FSO.getFolder(Shell.BrowseForFolder(0, &quot;请选择文件夹。注意：所选文件夹以下的 Thumbs.db 文件将被全部删除！&quot;, &amp;h11))<br /><br />If deleteFilesByName(objRootFolder, &quot;Thumbs.db&quot;) Then<br />&nbsp;MsgBox RootDir + &quot;以下的所有 Thumbs.db 文件已被删除!&quot;<br />Else<br />&nbsp;MsgBox &quot;发生错误！&quot;<br />End If<br /><br />&#39;根据文件名删除文件的递归函数</div>]]></description>
      <wfw:commentRss><![CDATA[http://www6.webng.com/seaboat/feed.asp?q=comment&id=716]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[用 WinDbg 分析和排除 Windows 系统故障]]></title> 
      <link><![CDATA[http://www6.webng.com/seaboat/article.asp?id=705]]></link> 
      <category><![CDATA[Windows]]></category> 
      <author><![CDATA[seaboat <null@null.com>]]></author> 
      <pubDate>Tue, 01 Apr 2008 22:04:56 -0400</pubDate> 
      <description><![CDATA[用 WinDbg 分析和排除 Windows 系统故障<br /><br />最近工作用的电脑频繁出故障，出现系统突然崩溃，重启动的时候总是检查磁盘等现象。从现象上看，似乎是磁盘出了问题，因为这台电脑已经用了四年以上，磁盘老化要报废也在情理之中。<br /><br />上周末清理了一下电脑，并装上XP SP3 (RC2版)，之后，系统好像稳定了一些，可还是有错误发生。在还没有确认硬盘报废之前，我觉得还是该查找和修复系统错误，于是在网上查找相关信息。<br /><br />在系统目录下发现了一个叫 Minidump 的目录，下面有一些后缀是 .dmp 的文件：<br /><br /><span style="color:darkgray">2008/03/21  22:20            90,112 Mini032108-01.dmp<br />2008/03/26  17:44            90,112 Mini032608-01.dmp<br />2008/03/27  09:21 </span>]]></description>
      <wfw:commentRss><![CDATA[http://www6.webng.com/seaboat/feed.asp?q=comment&id=705]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[通过浏览器自动安装 DRM 许可证的代码 (Windows Media Player)]]></title> 
      <link><![CDATA[http://www6.webng.com/seaboat/article.asp?id=704]]></link> 
      <category><![CDATA[Windows]]></category> 
      <author><![CDATA[seaboat <null@null.com>]]></author> 
      <pubDate>Thu, 27 Mar 2008 03:37:50 -0400</pubDate> 
      <description><![CDATA[Windows 媒体播放器下的 <span style="color:red">DRM</span> 的版权保护机制，用 JavaScript 控制 HTML 内嵌对象来实现。<br />为了对不同的文件安装不同的许可证，需要动态生成相应的代码，以下是我的一个土办法（Perl）：<div class="code"># 这儿是许可证<br />$licenseID = &quot;......&quot;; <br /><br /># 页面载入时的JavaScript代码<br />my $add_js = qq|<br />&lt;script Language=&quot;JavaScript&quot;&gt;<br />&nbsp;function StoreLicense() {<br />&nbsp;GetLicenseObj.StoreLicense(&#39;&lt;LICENSERESPONSE&gt;$licenseID&lt;/LICENSERESPONSE&gt;&#39;);<br />&nbsp;}<br /><br />&nbsp;try{<br />&nbsp;window.addEventListener(&#39;load&#39;, StoreLicense, true);</div>]]></description>
      <wfw:commentRss><![CDATA[http://www6.webng.com/seaboat/feed.asp?q=comment&id=704]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[Cygwin 下 lighttpd 安装纪录]]></title> 
      <link><![CDATA[http://www6.webng.com/seaboat/article.asp?id=615]]></link> 
      <category><![CDATA[Windows]]></category> 
      <author><![CDATA[seaboat <null@null.com>]]></author> 
      <pubDate>Wed, 11 Jul 2007 01:09:45 -0400</pubDate> 
      <description><![CDATA[<b>安装</b><br /><br />用cygwin的setup，选择组件lighttpd即可完成安装。<br /><br /><b>创建log路径</b><br /><br /><span style="color:blue">$ mkdir /var/log/lighttpd<br />$ chown :Users /var/log/lighttpd</span><br /><br /><b>修改config文件</b><br /><br /><span style="color:blue">$ cd /etc/lighttpd/<br />$ cp lighttpd.conf.default lighttpd.conf<br />$ chown :Users lighttpd.conf<br />$ vi lighttpd.conf</span><br /><br />主要是修改几个路径：<div class="code">server.document-root        = &quot;/srv/www/htdocs/&quot;<br />server.errorlog </div>]]></description>
      <wfw:commentRss><![CDATA[http://www6.webng.com/seaboat/feed.asp?q=comment&id=615]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[vim新包装：cream]]></title> 
      <link><![CDATA[http://www6.webng.com/seaboat/article.asp?id=563]]></link> 
      <category><![CDATA[Windows]]></category> 
      <author><![CDATA[seaboat <null@null.com>]]></author> 
      <pubDate>Wed, 07 Feb 2007 03:47:53 -0500</pubDate> 
      <description><![CDATA[一个好的编辑器，能很大程度提高人们的工作效率。对于从事编写代码工作的人来说，一个得心应手的编辑器，更是必不可少。<br /><br />今天看了一篇文章：《<a href="http://weblog.geelake.com/index.php?/archives/282-unknown.html" title="http://weblog.geelake.com/index.php?/archives/282-unknown.html" target="_blank">我使用过的文本编辑器及其历程</a>》。其中提到的编辑器，大多我也用过，和作者一样，我最常用的编辑器也是 <a href="http://www.ultraedit.com/" title="http://www.ultraedit.com/" target="_blank">UltraEdit</a> 和 <a href="http://www.emeditor.com/" title="http://www.emeditor.com/" target="_blank">EmEditor</a> 。<br /><br />今天又发现一个叫 <a href="http://cream.sourceforge.net/home.html" title="http://cream.sourceforge.net/home.html" target="_blank">cream</a> 的“编辑器”，似乎不错，就下载并安装试用。装好运行，才发现这只不过是vim的一个新包装]]></description>
      <wfw:commentRss><![CDATA[http://www6.webng.com/seaboat/feed.asp?q=comment&id=563]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[随机密码生成管理工具]]></title> 
      <link><![CDATA[http://www6.webng.com/seaboat/article.asp?id=496]]></link> 
      <category><![CDATA[Windows]]></category> 
      <author><![CDATA[seaboat <null@null.com>]]></author> 
      <pubDate>Thu, 07 Sep 2006 05:25:43 -0400</pubDate> 
      <description><![CDATA[作网管，常常需要给人生成随机密码，并管理这些密码。网上找了一下，生成密码和管理密码的软件很多，试用了其中一些，满意的却没几个。<br /><br />找到这个叫 Access Manager 的免费软件：<br /><a href="http://www.accessmanager.co.uk/" title="http://www.accessmanager.co.uk/" target="_blank">http://www.accessmanager.co.uk/</a><br /><br />觉得还不错。<br /><br />另外，这个叫 SafePassword 的网站：<br /><a href="http://www.safepasswd.com/" title="http://www.safepasswd.com/" target="_blank">http://www.safepasswd.com/</a><br /><br />用于生成密码也很方便。<br /><br />实际上，Linux本身就有一个 <b>mkpasswd</b> 的命令。用法如下：<br />#生成一个长度为8的密码<br /><span style="color:Blue">$ mkpasswd -l 8 </span><br /><br />#生成一个长度为8的密码、同时把密码分配给用户username<br /><span style="color:Blue">$ mkpasswd -l 8 username</span>]]></description>
      <wfw:commentRss><![CDATA[http://www6.webng.com/seaboat/feed.asp?q=comment&id=496]]></wfw:commentRss>
    </item>
      
  </channel>
</rss>
