﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><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>BlogJava-Sealyu-随笔分类-Apple</title><link>http://www.blogjava.net/sealyu/category/44841.html</link><description>--- The devil's in the Details (&lt;a href="http://www.sealyu.com"&gt;http://www.sealyu.com&lt;/a&gt;)</description><language>zh-cn</language><lastBuildDate>Tue, 14 Sep 2010 14:58:12 GMT</lastBuildDate><pubDate>Tue, 14 Sep 2010 14:58:12 GMT</pubDate><ttl>60</ttl><item><title>让你的TextMate支持GB2312,BIG等亚洲编码(转)</title><link>http://www.blogjava.net/sealyu/archive/2010/09/08/331424.html</link><dc:creator>seal</dc:creator><author>seal</author><pubDate>Wed, 08 Sep 2010 11:40:00 GMT</pubDate><guid>http://www.blogjava.net/sealyu/archive/2010/09/08/331424.html</guid><wfw:comment>http://www.blogjava.net/sealyu/comments/331424.html</wfw:comment><comments>http://www.blogjava.net/sealyu/archive/2010/09/08/331424.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/sealyu/comments/commentRss/331424.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/sealyu/services/trackbacks/331424.html</trackback:ping><description><![CDATA[<p><span style="font-family: Arial,sans-serifarial,Verdana,Helvetica; line-height: 18px;">问题就是我们使用<span class="hilite1" style="background-color: #ffff00;">TextMate</span>不支持GB2312等编码，用着及其不方便，下面是解决方案：</span></p>
<p><font face="Arial, sans-serifarial, Verdana, Helvetica"><span style="line-height: 18px;">打开Bundle Editor<br />
选则Show all</span></font></p>
<p><font face="Arial, sans-serifarial, Verdana, Helvetica">选则文件夹<span class="hilite1" style="background-color: #ffff00;">TextMate</span>（或者随便你选则什么）<br />
增加一个新的template&#8216;openEncodedFile&#8217;（或者随便你自己命名）<br />
在Template data中如下设定<br />
Extension：中 留空</font></p>
<p><font face="Arial, sans-serifarial, Verdana, Helvetica">Command(s):</font></p>
<p><span style="font-family: monospace; white-space: pre;"># open CocoaDialog&#8217;s file select menu</span></p>
<pre>file=$(CocoaDialog fileselect \<br />
--title "Open an encoded file" \<br />
--with-directory $HOME/ \<br />
)<br />
# check for valid file<br />
if [ -n "$file" ]; then<br />
# open CocoaDialog's dropdown menu<br />
# for more encodings add them to '--items'<br />
# to list all possibile encodings use the Terminal with 'iconv -l'<br />
res=$(CocoaDialog dropdown \<br />
--title "Open an encoded file" \<br />
--text "Choose the encoding:" \<br />
??exit?onchange \<br />
--button1 "Open" \<br />
--button2 "Cancel" \<br />
--items "BIG5" "EUC-TW" "GB2312" "SJIS" "EUC-JP" "KOI8-R" \<br />
)<br />
# if user canceled exit<br />
[[ $( (tail -r &amp;amp;lt;&amp;amp;lt;&amp;amp;lt;"$res") | tail -n1)  == "2" ]] &amp;amp;amp;&amp;amp;amp; \<br />
exit_discard<br />
res=$(tail -n1 &amp;amp;lt;&amp;amp;lt;&amp;amp;lt;"$res")<br />
# add more 'elif' according to '--items' if needed<br />
if [ "$res" == 0 ]; then<br />
ENC="BIG5"<br />
elif [ "$res" == 1 ]; then<br />
ENC="EUC-TW"<br />
elif [ "$res" == 2 ]; then<br />
ENC="GB2312"<br />
elif [ "$res" == 3 ]; then<br />
ENC="SJIS"<br />
elif [ "$res" == 4 ]; then<br />
ENC="EUC-JP"<br />
elif [ "$res" == 5 ]; then<br />
ENC="KOI8-R"<br />
fi<br />
# start conversion to UTF-8 and send the result as a new file back to TM<br />
iconv -f "$ENC" -t utf-8 "$file" &amp;amp;gt; "$TM_NEW_FILE"<br />
fi<br />
</pre>
<pre><span style="font-family: Arial,sans-serifarial,Verdana,Helvetica; white-space: normal; line-height: 18px;">Output: Insert as Text - Activation: Key Equivalent shift+option+o (我的建议) - Scope: 留空</span><br />
</pre>
<pre><img src="http://img.skitch.com/20090630-mus87c9y1hahuye2ye1pwiyrsg.jpg" alt="" class="myskitch-image-img" /><br />
</pre>
<img src ="http://www.blogjava.net/sealyu/aggbug/331424.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/sealyu/" target="_blank">seal</a> 2010-09-08 19:40 <a href="http://www.blogjava.net/sealyu/archive/2010/09/08/331424.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>HowTo: Create a local environment using MAMP</title><link>http://www.blogjava.net/sealyu/archive/2010/08/12/328711.html</link><dc:creator>seal</dc:creator><author>seal</author><pubDate>Thu, 12 Aug 2010 12:35:00 GMT</pubDate><guid>http://www.blogjava.net/sealyu/archive/2010/08/12/328711.html</guid><wfw:comment>http://www.blogjava.net/sealyu/comments/328711.html</wfw:comment><comments>http://www.blogjava.net/sealyu/archive/2010/08/12/328711.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/sealyu/comments/commentRss/328711.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/sealyu/services/trackbacks/328711.html</trackback:ping><description><![CDATA[<a href="http://www.mamp.info/" rel="nofollow">MAMP</a> creates a
local server environment on Mac OS X by installing PHP, MySQL, and
Apache right out of the box. This will make Drupal much easier to
install because the components don't have to be installed separately.
This page is to be used in conjunction with the installation
instructions for Drupal on Mac OS X.
<p>Also you may want to check out this video in the <a href="http://drupal.org/videocasts" rel="nofollow">Videocasts</a> section of the handbook: <a href="http://drupal.org/node/159534" rel="nofollow">Installing a Local Web Server on Mac OS X</a>.</p>
<h3>Download MAMP</h3>
<p>(This will install Apache, MySQL, and PHP in one step.)<br />
Find the latest version here: <a href="http://www.mamp.info/" title="http://www.mamp.info/" rel="nofollow">http://www.mamp.info/</a><br />
Download and drag to Applications folder to install. Open MAMP and click "start servers," then "Open start page."</p>
<h3>Download Drupal</h3>
<p>Find the latest Drupal release here: <a href="http://drupal.org/" title="http://drupal.org/" rel="nofollow">http://drupal.org/</a>.</p>
<p>Move the directory containing the Drupal files into the MAMP htdocs directory:</p>
<p><code>mv drupal-x.x.x/* drupal-x.x.x/.htaccess /Applications/MAMP/htdocs/yourdrupaldir</code></p>
<p>where yourdrupaldir is whatever you want the directory to be called.</p>
<p>Note: if you use Finder you may miss moving the .htaccess file which
is necessary for clean URLs to work. It is generally best to download
and unzip Drupal directly in the document root (default is htdocs) so
you don't miss the .htaccess.</p>
<h3>Create the Drupal database</h3>
<p>To create a database for Drupal</p>
<ol>
    <li>Go to the MAMP start page</li>
    <li>Click "phpMyAdmin"</li>
    <li>On the next page click "Databases"</li>
    <li>On the "Databases" page enter a name for your Drupal database in the "Create new database" field at the bottom of the page</li>
    <li>Select "utf8_general_ci" under the "Collation" drop-down (must be utf8!)</li>
    <li>Click "Create"</li>
    <li>Next you must create a user name with the privileges Drupal requires to use the new database</li>
    <li>Go back to the main phpMyAdmin page and click "Privileges"</li>
    <li>On the next page click "Add a new User".</li>
    <li>Fill out the "Login Information" form, making sure to change the
    "Host" field to "Local" and not leave it as "Any host" (for some reason
    Drupal will not be able to connect to your local database if you select
    "Any host")</li>
    <li>Leave the "None" radio button selected under the "Database for user"
    section, and under the "Global privileges" section leave everything
    unchecked</li>
    <li>Click "Go"</li>
    <li>On the next page scroll down to the "Database-specific privileges"
    section and select the new Drupal database you created from the dropdown</li>
    <li>Check the SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX and ALTER checkboxes and then click "Go".</li>
</ol>
<p>You can also use a GUI such as <a href="http://www.sequelpro.com/" rel="nofollow">Sequel Pro</a>, just remember to use this as your Socket:</p>
<p><code>/Applications/MAMP/tmp/mysql/mysql.sock</code></p>
<h3>Changing your password</h3>
<p>The default username/password for your MySQL install is now
root/root! For security purposes, it's always best to change this. If
you're connected to the internet, this is a must.</p>
<p>When you are changing the default user/password from root/root, you
need to do two things. Only the first is documented in the MAMP start
page FAQ, but if you don't do the second then you get an error message
when you try to access anything from the MAMP start page.</p>
<ol>
    <li>
    Use command line to change the password (as documented in the MAMP start page FAQ)
    <p>    Open the terminal and type the following:<br />
    <code>/Applications/MAMP/Library/bin/mysqladmin -u root -p password [NEWPASSWORD]</code></p>
    <p>    It will ask for the current password after you hit enter. Once you have entered that, the MySQL password is changed.
    </p>
    </li>
    <li>
    Open a text editor and change the password in the three following files:
    <ul>
        <li><code>/Applications/MAMP/bin/phpMyAdmin-X.X.X/config.inc.php</code>
        <p>      Find the line that reads...<br />
        <code>$cfg['Servers'][$i]['password']&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 'root';</code><br />
        ...and change the value <code>'root'</code> to your new password, retaining the quotes.
        </p>
        </li>
        <li><code>/Applications/MAMP/bin/mamp/index.php</code>
        <p>      Find the line that reads...<br />
        <code>$link = @mysql_connect(':/Applications/MAMP/tmp/mysql/mysql.sock', 'root', 'root');</code><br />
        ...and change the last parameter to your new password.
        </p>
        </li>
        <li><code>/Applications/MAMP/bin/stopMysql.sh</code>
        <p>      Replace the <code>-proot</code> with your password. (If you
        don't change this one you can have zombie mysqld's running after you
        thought you stopped the server)
        </p>
        </li>
    </ul>
    </li>
</ol>
<h3>Optional: Adjust PHP's memory limit for scripts</h3>
<p>By default, MAMP has the memory limit that a script can use set at
8MB, which is the PHP default.  Looking at PHP's php.ini-recommended
file, this memory limit is normally set at 128MB.  To adjust this
amount, open the php.ini file in a text editor and change the following
line (approximately on line 232): </p>
<p><code>memory_limit = 8M&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; Maximum amount of memory a script may consume (8MB)</code></p>
<p>PHP.ini file locations:</p>
<ul>
    <li><code>/Applications/MAMP/conf/php4/php.ini</code></li>
    <li><code>/Applications/MAMP/conf/php5/php.ini</code></li>
</ul>
<p>In MAMP <strong>PRO</strong>, don't alter the file directly since it will be
recreated at each server start. Please edit the appropriate template
(menu File &gt; Edit template &gt; ...) instead.</p>
<p><img src="http://img165.imageshack.us/img165/2775/20080831tu4btp522h8qwk5me8.jpg" alt="" /></p>
<p>Even with larger PHP memory limits you can get timeout errors trying
to import large Drupal databases into MySQL. These issues are discussed
at length elsewhere with regards to the <a href="http://drupal.org/node/318863" rel="nofollow">cache</a> and <a href="http://drupal.org/node/218187" rel="nofollow">views cache</a>. Generally the solution is to empty the Drupal cache before importing/exporting databases to/from MySQL.</p>
<h3>Connect Drupal</h3>
<p>Navigate to <a href="http://localhost:8888/yourdrupaldir/install.php" title="http://localhost:8888/yourdrupaldir/install.php" rel="nofollow">http://localhost:8888/yourdrupaldir/install.php</a>
and fill in the installation fields using the information provided on
the MAMP start page and the name you used for the database you created
in step 3.</p>
<h3>Start configuring Drupal!</h3>
<p>Go to <a href="http://localhost:8888/yourdrupaldir/" title="http://localhost:8888/yourdrupaldir/" rel="nofollow">http://localhost:8888/yourdrupaldir/</a> and create the first account.<br />
Continue with instructions in INSTALL.txt.</p>
<p>If you changed your MySQL username and password you will need to modify that in your local Drupal settings.php file as well.</p>
<h3>Temporary Files Note: </h3>
<p>By default the File System settings (admin/settings/file-system) will
place the temporary files directory inside /Applications/MAMP/tmp/php
which should be changed to something like files/tmp or sites/files/tmp
to avoid later confusion.</p>
<h3>Clean up your Localhost URL</h3>
<p>If you would like to shorten your URL from "http://localhost:8888" to "http://localhost" follow these instructions:</p>
<ul>
    <li>Open the MAMP application</li>
    <li>Click on "Preferences" and then "Ports"</li>
    <li>Change the Apache Port to 80 (the standard web server port)</li>
</ul>
In MAMP <strong>PRO</strong>, change the port of apache to 80 and click on apply.
<img src ="http://www.blogjava.net/sealyu/aggbug/328711.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/sealyu/" target="_blank">seal</a> 2010-08-12 20:35 <a href="http://www.blogjava.net/sealyu/archive/2010/08/12/328711.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Mac 定时关机的两种方法</title><link>http://www.blogjava.net/sealyu/archive/2010/06/11/323340.html</link><dc:creator>seal</dc:creator><author>seal</author><pubDate>Fri, 11 Jun 2010 04:04:00 GMT</pubDate><guid>http://www.blogjava.net/sealyu/archive/2010/06/11/323340.html</guid><wfw:comment>http://www.blogjava.net/sealyu/comments/323340.html</wfw:comment><comments>http://www.blogjava.net/sealyu/archive/2010/06/11/323340.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/sealyu/comments/commentRss/323340.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/sealyu/services/trackbacks/323340.html</trackback:ping><description><![CDATA[第一种方法：<br />
<br />
首先打开系统偏好设置<br />
<br />
点开节能器； <br />
<br />
然后点击定时～开始设置你的时间吧。<br />
<br />
第二种方法：<br />
<br />
<span style="border-bottom: 1px dashed #efefef; line-height: 15pt;"><span style="font-family: 宋体; font-size: 14px;"><span id="Content864933">打开terminal,输入 sudo shutdown -h &lt;yymmddhhmm&gt;</span></span></span>
（yy：年份&nbsp; mm：月份&nbsp; dd：天数&nbsp; hh：小时&nbsp; mm ：分钟）
<img src ="http://www.blogjava.net/sealyu/aggbug/323340.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/sealyu/" target="_blank">seal</a> 2010-06-11 12:04 <a href="http://www.blogjava.net/sealyu/archive/2010/06/11/323340.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>最好的原型和流程图绘制工具：OmniGraffle (MAC OS)</title><link>http://www.blogjava.net/sealyu/archive/2010/05/18/321226.html</link><dc:creator>seal</dc:creator><author>seal</author><pubDate>Mon, 17 May 2010 21:23:00 GMT</pubDate><guid>http://www.blogjava.net/sealyu/archive/2010/05/18/321226.html</guid><wfw:comment>http://www.blogjava.net/sealyu/comments/321226.html</wfw:comment><comments>http://www.blogjava.net/sealyu/archive/2010/05/18/321226.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/sealyu/comments/commentRss/321226.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/sealyu/services/trackbacks/321226.html</trackback:ping><description><![CDATA[<p style="padding: 0px; margin: 0px;"><span><img small="0" src="http://hiphotos.baidu.com/indlab/pic/item/2bf98d10d7ec9ae4f6039e7d.jpg" alt="" border="0" /><br />
</span></p>
<p style="padding: 0px; margin: 0px;">&#8220;使用哪种原型设计工具&#8221;大概是设计师闲聊时出现频率最高的话题之一。据
我了解一般以Visio和Photoshop为主，也有人用Flash和PPT，据一个新来的同事说，他们公司还用Excel。我实在想不出用Excel
怎么画图，哈哈。我个人最喜欢的工具是<a style="padding: 2px; margin: 0px; color: #336699;" target="_blank" href="http://www.omnigroup.com/applications/omnigraffle/">OmniGraffle</a>（如
下图），自从我用了它以后，就再也不想用其它原型设计软件了。</p>
<p style="padding: 0px; margin: 0px;"><img style="border: 1px solid #99aa88; padding: 8px; margin: 8px 5px 5px 0px; background: none repeat scroll 0% 0% transparent;" class="photo" orgsrc="http://dingyu.me/blog/files/omnigraffle-the-best-wireframe-and-flow-design-tool/screenshot.png" src="http://dingyu.me/blog/files/omnigraffle-the-best-wireframe-and-flow-design-tool/screenshot.png" alt="" /></p>
<p style="padding: 0px; margin: 0px;">首先我必须隆重介绍一下<a style="padding: 2px; margin: 0px; color: #336699;" target="_blank" href="http://www.omnigroup.com/">Omni Group</a>这家只有<a style="padding: 2px; margin: 0px; color: #336699;" target="_blank" href="http://www.omnigroup.com/company/people/">26个人</a>的小公司，他们人数虽少，但却产出
了像<a style="padding: 2px; margin: 0px; color: #336699;" target="_blank" href="http://www.omnigroup.com/applications/omniweb/">OmniWeb</a>、<a style="padding: 2px; margin: 0px; color: #336699;" target="_blank" href="http://www.omnigroup.com/applications/omnigraffle/">OmniGraffle</a>、<a style="padding: 2px; margin: 0px; color: #336699;" target="_blank" href="http://www.omnigroup.com/applications/omniplan/">OmniPlan</a>和<a style="padding: 2px; margin: 0px; color: #336699;" target="_blank" href="http://www.omnigroup.com/applications/omnioutliner/">OmniOutliner</a>等
等一系列深受用户欢迎的精品软件，实力绝对不容小觑。</p>
<p style="padding: 0px; margin: 0px;">你可以用OmniGraffle（以下简称OG）来做很多事情，我一般用
它来绘制流程图和界面原型。相比较于Visio等工具，它的以下特点和功能让人爱不释手：</p>
<h3 style="padding: 0px; margin: 0.4em 0px;">漂亮的界面</h3>
<p style="padding: 0px; margin: 0px;">OG的界面太漂亮了，至少比灰突突的Visio好看多了。&#8220;美的就是好
的&#8221;（《最佳设计100细则》），用OG绘图的时候脑中常常充满灵感，而对着Visio则只想尽快把工作做完。</p>
<h3 style="padding: 0px; margin: 0.4em 0px;">能轻而易举的绘制出漂亮的图形</h3>
<p style="padding: 0px; margin: 0px;">OG的可用性做得很好，可以让一名新手很快地绘制出&#8220;想让人舔一口&#8221;
（Jobs当年评价OS X界面时的原话）的流程图和原型图。我使用它没多久就定义了一套自己的样式（如下图），并在项目中重用。</p>
<h3 style="padding: 0px; margin: 0.4em 0px;">丰富、精致的模板（Stencil/Template）</h3>
<p style="padding: 0px; margin: 0px;">除了官方的模板外，<a style="padding: 2px; margin: 0px; color: #336699;" target="_blank" href="http://www.graffletopia.com/">Graffletopia</a>网站提供了众多设计精美的模板。不仅有常见
的网络、软件流程、电路等类目，甚至还有UCD相关的模板（如下图），不仅显著提升工作效率，而且也使得你的产出物与众不同！</p>
<p style="padding: 0px; margin: 0px;"><img style="border: 1px solid #99aa88; padding: 8px; margin: 8px 5px 5px 0px; background: none repeat scroll 0% 0% transparent;" class="photo" orgsrc="http://www.graffletopia.com/images/stencils/98.gif" src="http://www.graffletopia.com/images/stencils/98.gif" alt="" /><br style="padding: 0px; margin: 0px;" />
Information Architecture</p>
<p style="padding: 0px; margin: 0px;"><br style="padding: 0px; margin: 0px;" />
User-Centered Design Activities</p>
<h3 style="padding: 0px; margin: 0.4em 0px;">辅助对齐和尺寸调整功能</h3>
<p style="padding: 0px; margin: 0px;">在用Visio的时候，你有多少次想把多个元素的大小调成一样的？反正我
每次用它绘制流程图的时候都想这么做，可每次都需要一个个的调整，让人无可奈何。在OG里面，这是一件小菜一碟的事儿。当你调整任何一个元素的大小
时，OG都会自动捕捉并显示页面内所有元素的大小，并辅助鼠标的运动（通过磁性感），以便让这一元素的大小和其它任何一个你想要的元素保持一致（如下
图）。对于没用过OG的人来说，这听起来可谓&#8220;震撼&#8221;，我第一次发现这功能时激动不已！此外，保持两个或多个元素在水平和垂直方向上对齐也是轻而易举的
事：辅助线总在你需要的时候出现（如下图）。</p>
<p style="padding: 0px; margin: 0px;"><img style="border: 1px solid #99aa88; padding: 8px; margin: 8px 5px 5px 0px; background: none repeat scroll 0% 0% transparent;" class="photo" orgsrc="http://dingyu.me/blog/files/omnigraffle-the-best-wireframe-and-flow-design-tool/sizing.png" src="http://dingyu.me/blog/files/omnigraffle-the-best-wireframe-and-flow-design-tool/sizing.png" alt="" /><br style="padding: 0px; margin: 0px;" />
辅助尺寸调整</p>
<p style="padding: 0px; margin: 0px;"><img style="border: 1px solid #99aa88; padding: 8px; margin: 8px 5px 5px 0px; background: none repeat scroll 0% 0% transparent;" class="photo" orgsrc="http://dingyu.me/blog/files/omnigraffle-the-best-wireframe-and-flow-design-tool/align.png" src="http://dingyu.me/blog/files/omnigraffle-the-best-wireframe-and-flow-design-tool/align.png" errorloaded="true" alt="" /><br style="padding: 0px; margin: 0px;" />
辅助对齐</p>
<p style="padding: 0px; margin: 0px;">OG还有数不清的好用的小功能，让人感觉无时无刻不处在这个<strong style="padding: 0px; margin: 0px;">软件</strong>的关怀之中！总之，对于设计类软件来说，OG绝对是用
户体验的典范之作。</p>
<p style="padding: 0px; margin: 0px;">最后，很不幸的是，这个软件只有Mac版。不过如果你只有PC的话，不妨
看看<a style="padding: 2px; margin: 0px; color: #336699;" target="_blank" href="http://bbs.think-different.cn/">这里</a> ：）</p>
<p style="padding: 0px; margin: 0px;"><br />
</p>
<img src ="http://www.blogjava.net/sealyu/aggbug/321226.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/sealyu/" target="_blank">seal</a> 2010-05-18 05:23 <a href="http://www.blogjava.net/sealyu/archive/2010/05/18/321226.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>如何在Mac OS X系统中启用MySQL(转)</title><link>http://www.blogjava.net/sealyu/archive/2010/05/16/321082.html</link><dc:creator>seal</dc:creator><author>seal</author><pubDate>Sun, 16 May 2010 01:38:00 GMT</pubDate><guid>http://www.blogjava.net/sealyu/archive/2010/05/16/321082.html</guid><wfw:comment>http://www.blogjava.net/sealyu/comments/321082.html</wfw:comment><comments>http://www.blogjava.net/sealyu/archive/2010/05/16/321082.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/sealyu/comments/commentRss/321082.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/sealyu/services/trackbacks/321082.html</trackback:ping><description><![CDATA[<p>随着网络日益发展还有os x用户的增多，有可能会需要在自己的x系统中运行mysql+php环境，比如架设网站或者测试之类。简单步骤如下：</p>
<p>　　1、下载MySQL 5.x 发行版 ，解压并安装映像中的两个安装包文件。</p>
<p>　　a. mysql-5.x-osx10.6_x86_64.pkg －mysql 5.x 标准版安装</p>
<p>　　b.
MySQLStartupItem.pkg－mysql启动项目，可以上你的电脑在启动系统时自动运行mysql服务。它安装在/Library
/StartupItems/MySQL/，如果你不想系统启动时运行mysql服务，请不要安装。如果你在安装后又不想使用，请删除/Library
/StartupItems/MySQL/这个目录。</p>
<p>　　启动mysql：</p>
<p>　　2、如果你已经安装了MySQLStartupItem.pkg，重新启动电脑即可。</p>
<p>　　3、如果你有安装MySQLStartupItem.pkg或者不想启动电脑，运行：应用程序－实用程序－终端程序，在终端中输入命令：</p>
<p>　　sudo /Library/StartupItems/MySQL/MySQL start</p>
<p>　　然后输入你的系统管理员密码，如果没有设定密码就直接回车。</p>
<p>　　关闭mysql服务：</p>
<p>　　终端中输入命令：sudo /Library/StartupItems/MySQL/MySQL stop</p>
<p>　　然后输入你的系统管理员密码，如果没有设定密码就直接回车。</p>
<p>　　mysql root账户密码：</p>
<p>　　mysql root密码初始值是空。这样虽然没有问题。但很不安全。建议你更改root用户密码。注意：mysql
root用户和系统中的root用户是不一样的。是完全两个不同的用户。</p>
<p>　　更改mysql root密码请在终端中输入命令：</p>
<p>　　/usr/local/mysql/bin/mysqladmin -u root password 新密码</p>
<p>　　同时你也可以随时使用这条命令更改你的密码。</p>
<p>　　4、下载x版mysql数据库管理工具</p>
<p>　　这是一个运行在mac os
x系统中的mysql数据库管理软件，支持本地及远程数据库管理。并且还是免费的。这个程序的优点是完全CGI界面。并且密码是保存在本机上的。相对比较
安全。</p>
<img src ="http://www.blogjava.net/sealyu/aggbug/321082.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/sealyu/" target="_blank">seal</a> 2010-05-16 09:38 <a href="http://www.blogjava.net/sealyu/archive/2010/05/16/321082.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>MAC中jdk的目录(转)</title><link>http://www.blogjava.net/sealyu/archive/2010/04/28/319546.html</link><dc:creator>seal</dc:creator><author>seal</author><pubDate>Tue, 27 Apr 2010 16:09:00 GMT</pubDate><guid>http://www.blogjava.net/sealyu/archive/2010/04/28/319546.html</guid><wfw:comment>http://www.blogjava.net/sealyu/comments/319546.html</wfw:comment><comments>http://www.blogjava.net/sealyu/archive/2010/04/28/319546.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/sealyu/comments/commentRss/319546.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/sealyu/services/trackbacks/319546.html</trackback:ping><description><![CDATA[在MAC系统中，jdk的安装路径与windows不同，默认目录是：/System/Libray/Frameworks
/JavaVM.Framwork/。<br />
&nbsp;
<div><wbr>&nbsp;<wbr>
在这个目录下有个Versions目录，里面有不同版本的jdk。<br />
<br />
<font size="3"><strong>1.怎样设置mac中的默认<a href="http://hi.baidu.com/payapple/blog/item/:;" target="_self"><u><strong><font color="#3399cc">java</font></strong></u></a>版本呢 ？</strong></font>
<p><font size="2">先看一下mac中，java链接到了哪里：</font></p>
<p><font size="2">进入到相应的目录：cd /usr/bin</font></p>
<p><font size="2">查看java链接到了哪里：ls -l java</font></p>
<p>localhost:bin root# ls -l java<br />
lrwxr-xr-x 1 root wheel 74 May 18 10:26 java -&gt;
/System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java<br />
<font size="2">可以看到java连接到了current版本。那么这个到底是什么版本呢？其实，mac中current只是一个快捷方式
而已，是为了方便设置默认java的。</font></p>
<p><font size="2">这个链接连到哪里，默认的java就是哪个。但是在mac中可以保持这个java链接不变，只是改变一下当前的
java即可，下面是步骤：</font></p>
<p><font size="2">1）打开Finder ： 单击桌面地步的finder图标即可。</font></p>
<p><font size="2">2）Application--&gt;Utilities--&gt;Java--&gt;Java
Preferences</font></p>
<p><font size="2">3)由第二步可以打开&#8220;Java
Preferences&#8221;对话框，选中&#8220;General&#8221;tab。在下面的&#8220;Java Application Runtime
Settings&#8221;区把需要的java版本拖动到最顶端即可。</font></p>
<p><font size="2">最顶端的java就是当前（current）java，这样在改变默认java版本时就不用在/usr/bin下重
新设置java链接，而是直接在这里把需要的java拖到最上面就行。</font></p>
<p><font size="3"><strong>2.MAC中的javahome设置</strong></font></p>
<p><font size="2">在windows中，javahome的值只是取到版本号的目录即可，但是在mac中有稍微的不同，要去到版本号目
录下的Home目录，如：</font></p>
<p><font size="2">JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home</font></p>
<p style="font-weight: bold;"><font size="3">3.
在MAC中设置JAVA_HOME环境变量</font></p>
<p><font size="2">环境变量要再etc目录下的profile文件中配置，这样才是永久的配置。<br />
</font></p>
<p><font size="2">cd /etc</font></p>
<p><font size="2">vi profile</font></p>
<p><font size="2">输入如下内容：</font></p>
<p><font size="2">JAVA_HOME=</font><font size="2">/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home</font></p>
<p><font size="2">export JAVA_HOME</font></p>
<p><font size="2">保存。然后重启或者注销，使环境变量的配置起作用。<br />
</font></p>
<p><font size="2">这样javahome的环境便令配置好了。</font></p>
<p><font size="2">同样的道理，我们可以在profile这个文件中进行PATH,CALSSPATH等环境变量的配置。</font></p>
</div>
<img src ="http://www.blogjava.net/sealyu/aggbug/319546.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/sealyu/" target="_blank">seal</a> 2010-04-28 00:09 <a href="http://www.blogjava.net/sealyu/archive/2010/04/28/319546.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>OS X: Change your PATH environment variable</title><link>http://www.blogjava.net/sealyu/archive/2010/04/27/319540.html</link><dc:creator>seal</dc:creator><author>seal</author><pubDate>Tue, 27 Apr 2010 15:08:00 GMT</pubDate><guid>http://www.blogjava.net/sealyu/archive/2010/04/27/319540.html</guid><wfw:comment>http://www.blogjava.net/sealyu/comments/319540.html</wfw:comment><comments>http://www.blogjava.net/sealyu/archive/2010/04/27/319540.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/sealyu/comments/commentRss/319540.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/sealyu/services/trackbacks/319540.html</trackback:ping><description><![CDATA[<h4>When you run a command from a UNIX or UNIX-like shell, the shell
looks for the executable file using the directories listed in your PATH
variable as a map.  For convenience, adding directories to this
environment variable means you don&#8217;t have to go hunting for a file each
time you run it.  Following these directions will allow you to add a
directory to the search PATH.</h4>
<p><br />
To change your path, you must edit the .profile file in your home
directory.  If you are comfortable using the vi editor, you probably
don&#8217;t need to read any further.  If not, then you can <a href="http://www.tech-recipes.com/rx/2618/os_x_easily_edit_hidden_configuration_files_with_textedit">use
TextEdit to edit your .profile</a>.</p>
<p>The default .profile is fairly short.  The .profile is read when you
open a Terminal window and each line is executed just like typing a
command into the Terminal window.  While this is handy because you can
make any available command run whenever you drop to a shell, we&#8217;re
concerned with changing an environment variable, PATH. </p>
<p>In your editor, find the line that starts with <strong>export PATH=</strong>
and give it a look to make sure it doesn&#8217;t already contain the
directory path you&#8217;re going to add.  Sometimes the PATH variable can get
lengthy, but chances are yours just has a few directories separated by
colons, perhaps something like this:</p>
<p><code>export PATH=/opt/local/bin:/opt/local/sbin:$PATH</code></p>
<p>There are a few things to note before making changes.  The format of
this line is important.  The use of spaces in this command, or their
lack, matters.  In particular, there cannot be spaces around the equals
sign or between any of the directories.  If there are spaces in the
directory name you want to add, you&#8217;ll need to escape the space by
preceeding it with a "backslash or by putting the path in quotes (export
PATH=&#8221;/path/here&#8221;).</p>
<p>The <strong>export=</strong> keyword in front of that line has a very
specific purpose.  Defining a variable without exporting it makes it
available only to the current shell, not to any subsequent shells.  You
may think to yourself that you don&#8217;t plan to make any subsequent shells,
but this happens whenever you run a shell script.  If the PATH variable
was not exported, when you run a shell script, the PATH would no longer
exist and it is possible that the script would fail.</p>
<p>The $PATH at the end of the example above tacks the previous value of
the variable (if it exists) onto the end of the PATH.  By default, this
will add &#8216;:/bin:/sbin:/usr/bin:/usr/sbin&#8217; to the end of the PATH for
you which is useful because most everything you run from the command
line lives there.</p>
<p>So, to add a new directory to the path, simply add it to the existing
PATH line in .profile being careful to separate it from other
directories there with colons and careful not to introduce unwanted
spaces (everything after the space will be ignored).  For example, to
add the directory /mightyq/bin to the PATH shown above, the line could
become any of the following examples:</p>
<p><code>export PATH=/mightyq/bin:/opt/local/bin:/opt/local/sbin:$PATH<br />
export PATH=/opt/local/bin:/mightyq/bin:/opt/local/sbin:$PATH<br />
export PATH=/opt/local/bin:/opt/local/sbin:$PATH:/mightyq/bin</code></p>
<p>Note that in the third example the new directory is added to the end
of the PATH.  You have the ability to optimize the searches your shell
will do on your behalf each time you run a command by organizing your
PATH logically.  Putting less frequently used or really massive
directories later in the path may give you a little performance boost
(although these days things are pretty fast, so you have to be a little
anal to really enjoy this).</p>
<p>If you don&#8217;t need a directory in your path, you can reverse the
process by deleting the unwanted directory still taking care to preserve
the no spaces, colon separation rules.</p>
<p>One last note, to test the change you made, you can use the echo
command, but you need to make the shell reload the .profile first.
Assuming you are in your home directory (if not, running &#8216;cd&#8217; without
any options will take you there), run these commands:</p>
<p><code>. ./.profile<br />
echo $PATH</code></p>
<p>The first is a neat little command in that it shows three uses or
interpretations of the period in a single line.  The first . is a
shortcut to cause the shell to &#8217;source&#8217; or load the contents of the
subsequent file as itself, in the manner that the shell uses when you
login to a system or start a Terminal window.  If you simply executed
these commands like a shell script (bash .profile, for example) you
would start a new shell, that shell would get the variable set, and at
the end of running the .profile script, that new shell would cease to
exist and the newly defined variables would be relegated to the missing
sock universe.  </p>
<p>The second period means the current working directory.  It&#8217;s not
compulsory in any way in this command, but it&#8217;s habit from explaining
the dots to folks, so I type it all the time now.  In this context, you
could also use ~/.profile as ~ explicitly means your home directory.</p>
<p>The last dot causes the .profile to be hidden from view in a normal
directory listing or Finder view.  It doesn&#8217;t change the file in any
other way, it just make it invisible and de-clutters your directories.
To see hidden files, you can use &#8216;ls -a&#8217; and you might be surprised by
what you find.</p>
<img src ="http://www.blogjava.net/sealyu/aggbug/319540.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/sealyu/" target="_blank">seal</a> 2010-04-27 23:08 <a href="http://www.blogjava.net/sealyu/archive/2010/04/27/319540.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>OS X: Easily edit hidden configuration files with TextEdit</title><link>http://www.blogjava.net/sealyu/archive/2010/04/27/319539.html</link><dc:creator>seal</dc:creator><author>seal</author><pubDate>Tue, 27 Apr 2010 15:06:00 GMT</pubDate><guid>http://www.blogjava.net/sealyu/archive/2010/04/27/319539.html</guid><wfw:comment>http://www.blogjava.net/sealyu/comments/319539.html</wfw:comment><comments>http://www.blogjava.net/sealyu/archive/2010/04/27/319539.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/sealyu/comments/commentRss/319539.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/sealyu/services/trackbacks/319539.html</trackback:ping><description><![CDATA[<h4>In OS X, hidden files (those starting with a period like .profile or
.bashrc) can be a challenge to edit because they are, well, hidden and
don&#8217;t show up in Finder windows.  While there are tricks to make hidden
files visible in Finder windows, I prefer to keep my hidden files
hidden.  I also prefer to edit them using vi, but I know that many folks
are likely to think &#8217;six&#8217; instead of &#8216;editor&#8217; when presented with vi.
What follows is a simple way to edit a hidden file using TextEdit
without making any changes to the system.</h4>
<p><br />
When confronted with the task of editing your .profile file, there are
several options.  For the seasoned veteran, editing this file is simply a
matter of dropping to a shell, editing in vi, and :wq&#8217;ing.  There is
the pico editor which, for a command line editor, is a little friendlier
than vi.  For the majority of users, editing a text file is warmer and
fuzzier using a GUI text editor like TextEdit.  </p>
<p>The problem is that files starting with a period are hidden from
listings in the Finder windows, so trying to find a hidden file to open
using TextEdit will not get you very far.  While many third party
editors provide options for opening hidden files, if you don&#8217;t have one
installed, you can easily open these hidden files using TextEdit which
is a part of OS X.</p>
<p>To open your .profile file, for example, start the Terminal
application (searching for &#8216;terminal&#8217; using Spotlight and clicking on
the Terminal application is an easy way to do this).  Since Terminal
will put you in your home directory by default and .profile is in your
home directory, you can edit .profile simply by typing:</p>
<p><code>open .profile</code></p>
<p>If the file you want to edit is in another directory, you&#8217;ll need to
cd into that directory first or specify the full path name in front of
the filename.  </p>
<p>The open command used above uses the same mechanism to open a file
using a default application that the Finder does when clicking on a
file.  If for some reason the default application for the file you are
trying to edit has changed to something that doesn&#8217;t work for editing,
you can force open to use TextEdit by adding the -a option:</p>
<p><code>open -a TextEdit .profile</code></p>
<p>Make your changes to the file and save it and you&#8217;re done.  One
compulsory note of caution:  hidden files are often hidden for a reason.
They tend to hold configuration information that, if incorrectly
changed, could cause one or more applications to misbehave.  Tread
lightly and make backups before changing.</p>
<img src ="http://www.blogjava.net/sealyu/aggbug/319539.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/sealyu/" target="_blank">seal</a> 2010-04-27 23:06 <a href="http://www.blogjava.net/sealyu/archive/2010/04/27/319539.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>NuFile - 在Finder中通过右键菜单来新建文件 </title><link>http://www.blogjava.net/sealyu/archive/2010/04/27/319424.html</link><dc:creator>seal</dc:creator><author>seal</author><pubDate>Mon, 26 Apr 2010 22:43:00 GMT</pubDate><guid>http://www.blogjava.net/sealyu/archive/2010/04/27/319424.html</guid><wfw:comment>http://www.blogjava.net/sealyu/comments/319424.html</wfw:comment><comments>http://www.blogjava.net/sealyu/archive/2010/04/27/319424.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/sealyu/comments/commentRss/319424.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/sealyu/services/trackbacks/319424.html</trackback:ping><description><![CDATA[在Windows中，有一个非常方便的功能，就是可以通过右键菜单来创建新文件。比如：文本文件、Word文档等。而在Mac中，我们只能通过右键
菜单来创建新的文件夹，不能创建文件。今天，我们给大家介绍一个小软件，它可以让你的Mac也拥有右键创建文件的功能。
<p style="text-align: left;">这个小软件叫<a href="http://www.growlichat.com/NuFile.php" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.growlichat.com');" title="http://www.growlichat.com/NuFile.php" target="_blank">NuFile</a>
。把这个软件下载下来后，就可以打开文件进行安装。安装很简单，一直&#8220;继续&#8221;就可以了。安装完毕后，我们进入&#8220;系统偏好设置&#8221;，就会发现在&#8220;其他&#8221;那一行
中，出现了NuFile的配置。</p>
<p style="text-align: center;"><img src="http://mac.linsheng.me/wp-content/uploads/2009/06/22.png" alt="系统偏好设置-2.png" width="498" height="117" /></p>
<p style="text-align: left;">进入NuFile的配置页面，我们可以设置在右键菜单上可以新建哪些文件。NuFile支持
的文件类型很多，包括文本文件、Java文件、PHP和Office系列。你还可以增加新的文件类型。</p>
<p style="text-align: center;"><img src="http://mac.linsheng.me/wp-content/uploads/2009/06/nufile.png" alt="NuFile.png" width="550" height="453" /></p>
<p style="text-align: left;">配置完毕后，我们在<a href="http://mac.linsheng.me/?p=253" title="http://mac.linsheng.me/?p=253" target="_blank">Finder窗口</a>中的右键菜单
中，就可以新建文件了。</p>
<div style="text-align: center;">
<img src="http://mac.linsheng.me/wp-content/uploads/2009/06/nufilemenu.png" alt="nufilemenu.png" width="500" height="331" />
</div>
<img src ="http://www.blogjava.net/sealyu/aggbug/319424.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/sealyu/" target="_blank">seal</a> 2010-04-27 06:43 <a href="http://www.blogjava.net/sealyu/archive/2010/04/27/319424.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Finder Tip: 获取/复制文件或文件夹完整路径（转）</title><link>http://www.blogjava.net/sealyu/archive/2010/04/27/319422.html</link><dc:creator>seal</dc:creator><author>seal</author><pubDate>Mon, 26 Apr 2010 17:50:00 GMT</pubDate><guid>http://www.blogjava.net/sealyu/archive/2010/04/27/319422.html</guid><wfw:comment>http://www.blogjava.net/sealyu/comments/319422.html</wfw:comment><comments>http://www.blogjava.net/sealyu/archive/2010/04/27/319422.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/sealyu/comments/commentRss/319422.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/sealyu/services/trackbacks/319422.html</trackback:ping><description><![CDATA[<div>
<p><strong>1. 用Terminal终端程序</strong>:<br />
打开Terminal窗口, 用鼠标把要获取/复制的文件或文件夹拖放到Terminal窗口上, 当看到有个绿色加号出现时, 放开鼠标,
文件的完整路径(full path)会在命令行显示出来, 并可复制粘贴到其它地方. </p>
<p><strong>2. 用TextEdit</strong>:<br />
打开TextEdit应用程序, 按下&#8221;shift-command-T&#8221;或在Format菜单下选Make Plain Text,
使其转换为纯文本格式. 用鼠标把要获取/复制的文件或文件夹拖放到TextEdit窗口上, 当看到有个绿色加号出现时, 放开鼠标,
文件的完整路径(full path)会显示出来, 并可复制粘贴到其它地方.</p>
<p><strong>3. 用关联菜单插件</strong>:<br />
比如<a href="http://www.hsoi.com/hsoishop/software/#CMPlugins">FilePathToClipCMPlugin</a>或<a href="http://free.abracode.com/cmworkshop/file_utils.html">FileUtilsCM</a>,
都是免费的. </p>
</div>
<img src ="http://www.blogjava.net/sealyu/aggbug/319422.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/sealyu/" target="_blank">seal</a> 2010-04-27 01:50 <a href="http://www.blogjava.net/sealyu/archive/2010/04/27/319422.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>MAC 显示隐藏文件的方法（转）</title><link>http://www.blogjava.net/sealyu/archive/2010/04/27/319421.html</link><dc:creator>seal</dc:creator><author>seal</author><pubDate>Mon, 26 Apr 2010 17:30:00 GMT</pubDate><guid>http://www.blogjava.net/sealyu/archive/2010/04/27/319421.html</guid><wfw:comment>http://www.blogjava.net/sealyu/comments/319421.html</wfw:comment><comments>http://www.blogjava.net/sealyu/archive/2010/04/27/319421.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/sealyu/comments/commentRss/319421.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/sealyu/services/trackbacks/319421.html</trackback:ping><description><![CDATA[<div>
<p>打开&#8220;终端&#8221;，输入以下代码：</p>
<p><code>defaults write ~/Library/Preferences/com.apple.finder
AppleShowAllFiles -bool true</code></p>
<p>然后重启 Finder 即可，重起Finder有多种方法，最简单的方法就是：</p>
<p>同时按住<code>Control +
Option键，然后点击Dock左边的Finder图标，这个时候菜单最下面就会出现重新打开Finder的链接。另外还可以同时按住</code><code>Option
+ Command + ESC</code>三键打开强制退出应用程序对话框，在里面关闭Finder之后，Finder会在关闭之后自动重新打开。</p>
<p>恢复隐藏的代码：</p>
<p><code>defaults write ~/Library/Preferences/com.apple.finder
AppleShowAllFiles -bool false</code></p>
</div>
<img src ="http://www.blogjava.net/sealyu/aggbug/319421.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/sealyu/" target="_blank">seal</a> 2010-04-27 01:30 <a href="http://www.blogjava.net/sealyu/archive/2010/04/27/319421.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>