<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>LetRails</title>
	<atom:link href="http://www.letrails.cn/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.letrails.cn</link>
	<description></description>
	<lastBuildDate>Sat, 06 Aug 2011 07:02:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/>		<item>
		<title>GDict更新：支持有道词典</title>
		<link>http://www.letrails.cn/archives/gdict-switch-to-youdao-dict/</link>
		<comments>http://www.letrails.cn/archives/gdict-switch-to-youdao-dict/#comments</comments>
		<pubDate>Fri, 05 Aug 2011 17:41:23 +0000</pubDate>
		<dc:creator>Yuanyi ZHANG</dc:creator>
				<category><![CDATA[其它]]></category>

		<guid isPermaLink="false">http://www.letrails.cn/?p=332</guid>
		<description><![CDATA[由于Google关闭了字典服务，导致GDict无法继续使用，本着为人民服务的精神，连夜更新了一个使用有道词典的版本，没有经过严格测试，可能存在缺陷，欢迎大家报告Bug。 下载地址：　http://letrails.cn/wp-content/uploads/GDict.1.0.2.pkg 另外这个版本还有一些小更新： 1. 支持拷贝查询结果 2. 更新置顶功能，置顶后，使用快捷键和菜单依然可以隐藏，但失去焦点不隐藏 3. 修复窗口定位Bug 4. 查询框为空时隐藏结果窗口 5. 正在查询时不隐藏窗口<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="4"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="Rails2.0新特性介绍（ 下）" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2F07-11-23-rails20-features%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fgdict-switch-to-youdao-dict%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/03/08/3251634.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Rails2.0新特性介绍（ 下）</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Railsify: 新的Rails插件仓库" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2F61%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fgdict-switch-to-youdao-dict%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/03/08/3251646.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Railsify: 新的Rails插件仓库</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Shanghai on Rails 7.26活动照片，PPT及视频" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fshanghai-on-rails-726-meeting-picture-presentation-videos%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fgdict-switch-to-youdao-dict%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/05/18/8798467.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Shanghai on Rails 7.26活动照片，PPT及视频</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="has_many_polymorphs：简化多对多映射" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2F49%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fgdict-switch-to-youdao-dict%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/03/08/3251544.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">has_many_polymorphs：简化多对多映射</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="4" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>由于Google关闭了字典服务，导致GDict无法继续使用，本着为人民服务的精神，连夜更新了一个使用有道词典的版本，没有经过严格测试，可能存在缺陷，欢迎大家报告Bug。</p>
<p>下载地址：　<a href="http://letrails.cn/wp-content/uploads/GDict.1.0.2.pkg">http://letrails.cn/wp-content/uploads/GDict.1.0.2.pkg</a></p>
<p>另外这个版本还有一些小更新：</p>
<p>1. 支持拷贝查询结果<br />
2. 更新置顶功能，置顶后，使用快捷键和菜单依然可以隐藏，但失去焦点不隐藏<br />
3. 修复窗口定位Bug<br />
4. 查询框为空时隐藏结果窗口<br />
5. 正在查询时不隐藏窗口</p>
<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="4"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="JRuby Inside上线" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2F37%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fgdict-switch-to-youdao-dict%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/03/08/3251518.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">JRuby Inside上线</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="REST on Rails指南4：路由" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2F10%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fgdict-switch-to-youdao-dict%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/08/15/22889171.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">REST on Rails指南4：路由</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="sortable column headers: 表格数据排序插件" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2F5%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fgdict-switch-to-youdao-dict%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/03/08/3251861.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">sortable column headers: 表格数据排序插件</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Rails性能优化简明指南" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Frails-performance-optimization-guide%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fgdict-switch-to-youdao-dict%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/03/08/3251308.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Rails性能优化简明指南</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="4" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://www.letrails.cn/archives/gdict-switch-to-youdao-dict/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>关于Ruby 2.0: 我们的计划</title>
		<link>http://www.letrails.cn/archives/what-we-want-to-accomplish-in-the-near-future/</link>
		<comments>http://www.letrails.cn/archives/what-we-want-to-accomplish-in-the-near-future/#comments</comments>
		<pubDate>Wed, 13 Jul 2011 03:05:50 +0000</pubDate>
		<dc:creator>Yuanyi ZHANG</dc:creator>
				<category><![CDATA[其它]]></category>

		<guid isPermaLink="false">http://www.letrails.cn/?p=327</guid>
		<description><![CDATA[这是Matz在去年10月份做的一个关于Ruby 2.0的主题演讲，正如他所说，Ruby 2.0在特性方面只是向前迈进了一小步，更多的改变将发生在实现层面。 Ruby 2.0的新特性包括： Keyword arguments Selector namespace Traits Method combination 1. Keyword arguments 现在的step： 1.step(a, b) do &#124;i&#124; p i end # 是从a到b，还是从b到a Ruby 2.0: 1.step(by: 2, to: 20) do &#124;i&#124; p i end 2. selector namespace 减少monkey patch对系统可能造成的负面影响 class Integer def +(other) return 42 end end p 1+2 => 42 Ruby 2.0: [...]<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fruby-1-9-released%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fwhat-we-want-to-accomplish-in-the-near-future%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Ruby 1.9正式发布</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2F3-ruby-tips%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fwhat-we-want-to-accomplish-in-the-near-future%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Ruby技巧3则</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Froxy-a-ruby-proxy-library%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fwhat-we-want-to-accomplish-in-the-near-future%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Roxy: Ruby代理库</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Ftenpay-ruby-plugin-update%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fwhat-we-want-to-accomplish-in-the-near-future%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">财付通Ruby插件更新</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>这是Matz在去年10月份做的一个关于Ruby 2.0的主题演讲，正如他所说，Ruby 2.0在特性方面只是向前迈进了一小步，更多的改变将发生在实现层面。</p>
<p><iframe width="560" height="349" src="http://www.youtube.com/embed/t9LMOydfc4k" frameborder="0" allowfullscreen></iframe></p>
<p>Ruby 2.0的新特性包括：</p>
<ol>
<li>Keyword arguments</li>
<li>Selector namespace</li>
<li>Traits</li>
<li>Method combination</li>
</ol>
<p><strong>1. Keyword arguments</strong></p>
<p>现在的step：</p>
<pre name="code" class="ruby">
1.step(a, b) do |i|
  p i
end
# 是从a到b，还是从b到a
</pre>
<p>Ruby 2.0:</p>
<pre name="code" class="ruby">
1.step(by: 2, to: 20) do |i|
  p i
end
</pre>
<p><strong>2. selector namespace</strong></p>
<p>减少monkey patch对系统可能造成的负面影响</p>
<pre name="code" class="ruby">
class Integer
  def +(other)
    return 42
  end
end

p 1+2 => 42
</pre>
<p>Ruby 2.0:</p>
<pre name="code" class="ruby">
namespace Stupid do
  class Integer
    def +(other)
      return 42
    end
  end

  p 1+2 => 42
end
p 1+2 => 3
</pre>
<p>3. <strong>Traits</strong></p>
<p>traits主要是为了解决mixin带来的命名冲突问题</p>
<pre name="code" class="ruby">
module  Foo
  ...
end

module Bar
  mix Foo
end

class C
  mix Foo
  mix Bar, :m => :m_bar
end
</pre>
<p>4. <strong>Method combination</strong></p>
<p>这主要是为了解决method alias chain带来的负面问题，现在你可以通过prepend将mixin的方法放在后面：</p>
<pre name="code" class="ruby">
module Foo
  def foo
     p :before
     super
     p :after
    end
end

class Bar
  def foo
    p :foo
  end

  prepend Foo
end

Bar.new.foo #  :before, :foo, :after
</pre>
<p>当然除了特性，对实现的改进也是必不可少的：</p>
<ol>
<li>更快，Matz承诺到了2.0，将不会再有人抱怨Ruby的性能问题</li>
<li>更小</li>
<li>可嵌入</li>
<li>软运行时</li>
</ol>
<p>唯一的问题就是他没有讲我们什么时候可以用上Ruby 2.0，不过早上刚得到消息，<a href="https://twitter.com/#!/lgn21st/status/90799313806036992">第三届RubyConChina将于8月30号在北京举行</a>，或许到时我们可以问问Matz这个问题。</p>
<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fruby-1-9-released%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fwhat-we-want-to-accomplish-in-the-near-future%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Ruby 1.9正式发布</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2F3-ruby-tips%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fwhat-we-want-to-accomplish-in-the-near-future%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Ruby技巧3则</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Froxy-a-ruby-proxy-library%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fwhat-we-want-to-accomplish-in-the-near-future%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Roxy: Ruby代理库</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Ftenpay-ruby-plugin-update%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fwhat-we-want-to-accomplish-in-the-near-future%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">财付通Ruby插件更新</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://www.letrails.cn/archives/what-we-want-to-accomplish-in-the-near-future/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Bash提示符显示Git分支</title>
		<link>http://www.letrails.cn/archives/show-git-branch-in-bash-prompt/</link>
		<comments>http://www.letrails.cn/archives/show-git-branch-in-bash-prompt/#comments</comments>
		<pubDate>Sun, 15 May 2011 03:57:38 +0000</pubDate>
		<dc:creator>Yuanyi ZHANG</dc:creator>
				<category><![CDATA[其它]]></category>

		<guid isPermaLink="false">http://www.letrails.cn/?p=319</guid>
		<description><![CDATA[今天看Railscasts，才发现可以在命令行显示git分支，找到2篇帖子，把他们融合了一下: # If you work with git, you've probably had that nagging sensation of not knowing what branch you are on. Worry no longer! # visit https://wiki.archlinux.org/index.php/Color_Bash_Prompt for more color. WHITE="\[\033[0m\]" YELLOW="\[\033[0;33m\]" export PS1="\w:$YELLOW\$(git branch 2>/dev/null &#124; grep '^*' &#124; colrm 1 2)$WHITE\$ "<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="4"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="Rails2.0新特性介绍（ 下）" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2F07-11-23-rails20-features%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fshow-git-branch-in-bash-prompt%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/03/08/3251634.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Rails2.0新特性介绍（ 下）</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Railsbench简明指南(0.9.2)" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2F18%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fshow-git-branch-in-bash-prompt%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/03/08/3251762.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Railsbench简明指南(0.9.2)</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Rails插件： RAV" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2F56%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fshow-git-branch-in-bash-prompt%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/03/08/3251650.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Rails插件： RAV</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Shanghai on Rails线下活动" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fshanghai-on-rails-event-oct-20%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fshow-git-branch-in-bash-prompt%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/05/18/8865598.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Shanghai on Rails线下活动</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="4" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>今天看Railscasts，才发现可以在命令行显示git分支，找到<a href="http://railstips.org/blog/archives/2009/02/02/bedazzle-your-bash-prompt-with-git-info/">2篇</a><a href="https://gist.github.com/168835">帖子</a>，把他们<a href="https://gist.github.com/972868">融合了一下</a>:</p>
<pre name="code" class="ruby">
# If you work with git, you've probably had that nagging sensation of not knowing what branch you are on. Worry no longer!

# visit https://wiki.archlinux.org/index.php/Color_Bash_Prompt for more color.

WHITE="\[\033[0m\]"
YELLOW="\[\033[0;33m\]"
export PS1="\w:$YELLOW\$(git branch 2>/dev/null | grep '^*' | colrm 1 2)$WHITE\$ "
</pre>
<p><img src="http://www.letrails.cn/wp-content/uploads/2011/05/Screen-shot-2011-05-15-at-11.51.16-AM.png" alt="" title="Screen shot 2011-05-15 at 11.51.16 AM" width="332" height="53" class="alignnone size-full wp-image-320" /></p>
<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="4"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="RailsLogVisualizer现在支持Windows" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2F32%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fshow-git-branch-in-bash-prompt%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/03/08/3251814.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">RailsLogVisualizer现在支持Windows</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Shanghai on Rails 7.26线下活动" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fshanghai-on-rails-726-meeting%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fshow-git-branch-in-bash-prompt%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/03/09/3251440.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Shanghai on Rails 7.26线下活动</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Rails2.0新特性介绍（ 下）" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2F07-11-23-rails20-features%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fshow-git-branch-in-bash-prompt%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/03/08/3251634.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Rails2.0新特性介绍（ 下）</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="CSS缩放iframe实现大号Facebook like" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fcss-zoom-facebook-like%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fshow-git-branch-in-bash-prompt%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/05/15/8664174.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">CSS缩放iframe实现大号Facebook like</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="4" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://www.letrails.cn/archives/show-git-branch-in-bash-prompt/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>CSS缩放iframe实现大号Facebook like</title>
		<link>http://www.letrails.cn/archives/css-zoom-facebook-like/</link>
		<comments>http://www.letrails.cn/archives/css-zoom-facebook-like/#comments</comments>
		<pubDate>Sat, 14 May 2011 06:25:25 +0000</pubDate>
		<dc:creator>Yuanyi ZHANG</dc:creator>
				<category><![CDATA[其它]]></category>

		<guid isPermaLink="false">http://www.letrails.cn/?p=312</guid>
		<description><![CDATA[最近需要在android上显示facebook like，但是facebook官方的like按钮目前只有web版，显示在平板上太小，stackoverflow也没有答案，最后找到了一个CSS缩放iframe的方法： iframe{ zoom: 3; -moz-transform: scale(3); -moz-transform-origin: 0 0; -o-transform: scale(3); -o-transform-origin: 0 0; -webkit-transform: scale(3); -webkit-transform-origin: 0 0; } 这个方法的问题是按钮放大后，facebook的logo非常模糊，于是又在上面盖了一个新图片，现在的问题就是如果用户点那个图片没法like，并且这个也违反了facebook的like按钮使用准则，但是也没办法，谁让他们迟迟不出移动版。<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="4"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="CSS问题" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2F31%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fcss-zoom-facebook-like%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">CSS问题</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="如何采访Ruby/Rails大牛" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fruby-rails-interview-questions%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fcss-zoom-facebook-like%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">如何采访Ruby/Rails大牛</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="God: Monit的Ruby实现" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2F46%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fcss-zoom-facebook-like%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/03/08/3251661.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">God: Monit的Ruby实现</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="db:migrate简明指南" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2F33%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fcss-zoom-facebook-like%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/03/08/3251550.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">db:migrate简明指南</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="4" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>最近需要在android上显示facebook like，但是facebook官方的like按钮<a href="http://www.quora.com/Can-I-add-the-Facebook-like-button-to-a-mobile-app">目前只有web版</a>，显示在平板上太小，stackoverflow也没有答案，最后找到了一个<a href="http://stackoverflow.com/questions/1309498/with-browsers-that-have-full-page-zoom-can-i-use-the-feature-to-set-zoom-for-ifr/4611211#4611211">CSS缩放iframe的方法</a>：</p>
<pre name="code" class="css">
iframe{
  zoom: 3;
  -moz-transform: scale(3);
  -moz-transform-origin: 0 0;
  -o-transform: scale(3);
  -o-transform-origin: 0 0;
  -webkit-transform: scale(3);
  -webkit-transform-origin: 0 0;
}</pre>
<p>这个方法的问题是按钮放大后，facebook的logo非常模糊，于是又在上面盖了一个新图片，现在的问题就是如果用户点那个图片没法like，并且这个也违反了facebook的like按钮使用准则，但是也没办法，谁让他们迟迟不出移动版。</p>
<p><img class="alignnone size-full wp-image-314" title="Screen shot 2011-05-14 at 2.18.55 PM" src="http://www.letrails.cn/wp-content/uploads/2011/05/Screen-shot-2011-05-14-at-2.18.55-PM.png" alt="" width="617" height="161" /></p>
<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="4"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="CSS问题" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2F31%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fcss-zoom-facebook-like%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">CSS问题</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="如何采访Ruby/Rails大牛" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fruby-rails-interview-questions%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fcss-zoom-facebook-like%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">如何采访Ruby/Rails大牛</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Shanghai on Rails线下活动" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fshanghai-on-rails-event-oct-20%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fcss-zoom-facebook-like%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/05/18/8865598.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Shanghai on Rails线下活动</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Google Chart API: 基本上很强大" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2F07-11-13-google-chart-api%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fcss-zoom-facebook-like%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/03/08/3251630.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Google Chart API: 基本上很强大</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="4" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://www.letrails.cn/archives/css-zoom-facebook-like/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>招聘Ruby/Android开发人员</title>
		<link>http://www.letrails.cn/archives/%e6%8b%9b%e8%81%98rubyandroid%e5%bc%80%e5%8f%91%e4%ba%ba%e5%91%98/</link>
		<comments>http://www.letrails.cn/archives/%e6%8b%9b%e8%81%98rubyandroid%e5%bc%80%e5%8f%91%e4%ba%ba%e5%91%98/#comments</comments>
		<pubDate>Wed, 06 Apr 2011 07:31:42 +0000</pubDate>
		<dc:creator>Yuanyi ZHANG</dc:creator>
				<category><![CDATA[招聘]]></category>

		<guid isPermaLink="false">http://www.letrails.cn/?p=307</guid>
		<description><![CDATA[最近加入了一家美国创业公司“Buz互动”，主要针对本地商家提供口碑营销服务，详细介绍见网站视频（http://getbuz.com ），现在需要招聘Ruby/Android开发人员，工作地点在北京，我们提供宽松的工作环境和优厚的待遇（月薪1-2W）有意者可以发简历到 y@getbuz.com，或者留言告知你的Github账号。 要求很简单，只要你： 1.学习和尝试最前沿的技术 2.对新鲜事物充满好奇，以及良好的学习能力 3.能够使用英语进行常用交流 4. 了解基本的Web开发技术（HTML, CSS, Javascript, SQL等等） 5. 熟悉ruby或者android开发 6. 熟悉Linux或Mac开发环境 我们会提供： 1.丰厚的薪水 2.国际化的工作环境及氛围 3.弹性工作时间 4.重大贡献额外奖励 5.一流的办公环境，免费饮料，食物，游戏机，还有更多好玩的 6.Mac或者PC，任你选择<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2F9-25-dalian-ruby-event%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2F%25E6%258B%259B%25E8%2581%2598rubyandroid%25E5%25BC%2580%25E5%258F%2591%25E4%25BA%25BA%25E5%2591%2598%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">9.25 大连Ruby开发者聚会</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fruby-rails-interview-questions%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2F%25E6%258B%259B%25E8%2581%2598rubyandroid%25E5%25BC%2580%25E5%258F%2591%25E4%25BA%25BA%25E5%2591%2598%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">如何采访Ruby/Rails大牛</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fruby-1-9-released%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2F%25E6%258B%259B%25E8%2581%2598rubyandroid%25E5%25BC%2580%25E5%258F%2591%25E4%25BA%25BA%25E5%2591%2598%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Ruby 1.9正式发布</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Ftenpay-ruby-plugin-update%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2F%25E6%258B%259B%25E8%2581%2598rubyandroid%25E5%25BC%2580%25E5%258F%2591%25E4%25BA%25BA%25E5%2591%2598%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">财付通Ruby插件更新</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>最近加入了一家美国创业公司“Buz互动”，主要针对本地商家提供口碑营销服务，详细介绍见网站视频（<a href="http://getbuz.com">http://getbuz.com</a> ），现在需要招聘Ruby/Android开发人员，工作地点在北京，我们提供宽松的工作环境和优厚的待遇（月薪1-2W）有意者可以发简历到 y@getbuz.com，或者留言告知你的Github账号。</p>
<p>要求很简单，只要你：</p>
<p>1.学习和尝试最前沿的技术<br />
2.对新鲜事物充满好奇，以及良好的学习能力<br />
3.能够使用英语进行常用交流<br />
4. 了解基本的Web开发技术（HTML, CSS, Javascript, SQL等等）<br />
5. 熟悉ruby或者android开发<br />
6. 熟悉Linux或Mac开发环境</p>
<p>我们会提供：</p>
<p>1.丰厚的薪水<br />
2.国际化的工作环境及氛围<br />
3.弹性工作时间<br />
4.重大贡献额外奖励<br />
5.一流的办公环境，免费饮料，食物，游戏机，还有更多好玩的<br />
6.Mac或者PC，任你选择</p>
<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2F9-25-dalian-ruby-event%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2F%25E6%258B%259B%25E8%2581%2598rubyandroid%25E5%25BC%2580%25E5%258F%2591%25E4%25BA%25BA%25E5%2591%2598%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">9.25 大连Ruby开发者聚会</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fruby-rails-interview-questions%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2F%25E6%258B%259B%25E8%2581%2598rubyandroid%25E5%25BC%2580%25E5%258F%2591%25E4%25BA%25BA%25E5%2591%2598%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">如何采访Ruby/Rails大牛</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fruby-1-9-released%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2F%25E6%258B%259B%25E8%2581%2598rubyandroid%25E5%25BC%2580%25E5%258F%2591%25E4%25BA%25BA%25E5%2591%2598%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Ruby 1.9正式发布</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Ftenpay-ruby-plugin-update%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2F%25E6%258B%259B%25E8%2581%2598rubyandroid%25E5%25BC%2580%25E5%258F%2591%25E4%25BA%25BA%25E5%2591%2598%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">财付通Ruby插件更新</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://www.letrails.cn/archives/%e6%8b%9b%e8%81%98rubyandroid%e5%bc%80%e5%8f%91%e4%ba%ba%e5%91%98/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>总结&amp;广告</title>
		<link>http://www.letrails.cn/archives/303/</link>
		<comments>http://www.letrails.cn/archives/303/#comments</comments>
		<pubDate>Thu, 24 Mar 2011 06:56:18 +0000</pubDate>
		<dc:creator>Yuanyi ZHANG</dc:creator>
				<category><![CDATA[其它]]></category>

		<guid isPermaLink="false">http://www.letrails.cn/?p=303</guid>
		<description><![CDATA[一转眼这个Blog已经开了有5年了，06年开始学Ruby的时候中文的资料还很少，所以当时的初衷就是分享自己在学习过程中的一些心得和体会，于是就有了那个口号”为Rails在中文社区的枝繁叶茂贡献点滴“，现在随着Rails 3的推出，Rails已经逐渐走向成熟，各种资源和社区也已经数不胜数，而我做的事情也已经不再限于Ruby和Rails，所以继续用这个名字总觉得有些别扭。 我个人非常喜欢Hacker News，但是上面的文章实在太多，且都是英文的，和几个朋友聊了下，他们也都觉得上面的文章太多，看不过来，于是我就想弄一个中文版，大家利用业余的时间把自己喜欢的文章翻译过来，这样可以看到一些你遗漏的好文章，也可以降低阅读成本。 正好这段时间比较闲，于是就牵头弄了这个Hacker News的中文版：黑客志，经过2个星期的筹备，目前已经有5位作者发表了20篇文章，现在的系统是基于WP，如果有必要，以后会开发单独的程序出来。以后和Ruby/Rails相关的内容我还是会发到这里来，不过大部分文章都会发去那边，欢迎大家订阅，也欢迎感兴趣的朋友一起参与进来，你可以通过RSS或者Twitter来订阅最新文章： Feed： http://feed.feedsky.com/heikezhi Twitter： http://twitter.com/heikezhi 加入： http://heikezhi.com/join/<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="4"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="使用Flog测试你的Ruby代码复杂度" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2F62%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2F303%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/03/08/3251517.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">使用Flog测试你的Ruby代码复杂度</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="God: Monit的Ruby实现" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2F46%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2F303%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/03/08/3251661.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">God: Monit的Ruby实现</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Rails性能优化简明指南" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Frails-performance-optimization-guide%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2F303%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/03/08/3251308.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Rails性能优化简明指南</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="NetBeans IDE: Windows平台最好的Ruby IDE" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2F15%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2F303%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/03/08/3251498.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">NetBeans IDE: Windows平台最好的Ruby IDE</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="4" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>一转眼这个Blog已经开了有5年了，06年开始学Ruby的时候中文的资料还很少，所以当时的初衷就是分享自己在学习过程中的一些心得和体会，于是就有了那个口号”为Rails在中文社区的枝繁叶茂贡献点滴“，现在随着Rails 3的推出，Rails已经逐渐走向成熟，各种资源和社区也已经数不胜数，而我做的事情也已经不再限于Ruby和Rails，所以继续用这个名字总觉得有些别扭。</p>
<p>我个人非常喜欢<a href="http://news.ycombinator.com/">Hacker News</a>，但是上面的文章实在太多，且都是英文的，和几个朋友聊了下，他们也都觉得上面的文章太多，看不过来，于是我就想弄一个中文版，大家利用业余的时间把自己喜欢的文章翻译过来，这样可以看到一些你遗漏的好文章，也可以降低阅读成本。</p>
<p>正好这段时间比较闲，于是就牵头弄了这个Hacker News的中文版：<a href="http://heikezhi.com/">黑客志</a>，经过2个星期的筹备，目前已经有<a href="http://heikezhi.com/authors/">5位作者</a>发表了20篇文章，现在的系统是基于WP，如果有必要，以后会开发单独的程序出来。以后和Ruby/Rails相关的内容我还是会发到这里来，不过大部分文章都会发去那边，欢迎大家订阅，也欢迎感兴趣的朋友一起<a href="http://heikezhi.com/join/">参与进来</a>，你可以通过RSS或者Twitter来订阅最新文章：</p>
<p>Feed：     <a href="http://feed.feedsky.com/heikezhi">http://feed.feedsky.com/heikezhi</a><br />
Twitter： <a href="http://twitter.com/heikezhi">http://twitter.com/heikezhi</a><br />
加入：      <a href="http://heikezhi.com/join/">http://heikezhi.com/join/</a></p>
<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="4"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="has_many_polymorphs：简化多对多映射" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2F49%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2F303%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/03/08/3251544.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">has_many_polymorphs：简化多对多映射</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Rails性能优化简明指南" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Frails-performance-optimization-guide%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2F303%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/03/08/3251308.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Rails性能优化简明指南</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="使用ruby-prof获取rails应用的profile" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2F36%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2F303%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/03/08/3251481.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">使用ruby-prof获取rails应用的profile</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Aptana IDE: 全新开源Ruby+Rails+JavaScript+HTML工作台" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2F7%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2F303%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/03/08/3251499.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Aptana IDE: 全新开源Ruby+Rails+JavaScript+HTML工作台</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="4" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://www.letrails.cn/archives/303/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>如果你不曾失败，只因你从未尝试</title>
		<link>http://www.letrails.cn/archives/if-youre-not-failing-youre-not-trying/</link>
		<comments>http://www.letrails.cn/archives/if-youre-not-failing-youre-not-trying/#comments</comments>
		<pubDate>Thu, 10 Mar 2011 09:47:15 +0000</pubDate>
		<dc:creator>Yuanyi ZHANG</dc:creator>
				<category><![CDATA[其它]]></category>

		<guid isPermaLink="false">http://www.letrails.cn/?p=282</guid>
		<description><![CDATA[Dan shipper的这篇文章很有趣，里面抛糖果的那个练习很有新意，翻译如下： 我有一条关于成功的理论：如果你未曾失败，只能说明你从未尝试。你可以从失败中学到这个世界是如何在运转，如果你能够回过头来重构每一个导致你的公司，项目或是感情走向失败的细节，你会得到同任何一个成功故事教给你的一样多的收获。 现在的问题就是，怎么得到等多的失败？对我来说，我们大部分人生活都或多或少受到个人边界的限制，这其中最大的一个边界就是我们对失败的恐惧。 现在我们有了一个目标：对失败的恐惧，那么如何才能客服它？其实我也没有什么秘诀，但我可以告诉你从哪里开始着手解决。 很简单，先去给你的口袋装上满满的M&#38;M&#8217;s糖果（译者注：一种美国产牛奶巧克力糖，可以参看这里：http://zh.wikipedia.org/wiki/M%26M%27s），然后再回来，别着急，我等着你。 装好了？不错，为了给接下来的步骤增加一点悬念，我想先和你们谈谈扩展个人边界的重要性，下面一段是我去年的一个演讲的节选： 某一天，一个非洲定居者牵回家一头幼象并将它栓在一棵树上，定居者每天都会定时喂养小象事物和水，刚开是的几周，小象不分昼夜的挣扎想要获得自由，但是一段时间后，它忽然就不再试图挣脱束缚了，而是乖乖的被绳索栓着。几年之后，这头幼象已经变得又高又壮，它可以轻松将那颗栓着它的小树连根拔起然后返回荒野，但是它没有，因为这些被奴役的日子已经让它觉得被绳索拴在小树上是理所当然的，它已经掌握和了解了这个世界的全部。 我们每个人的生活其实就是那头小象，我们总是为自己设定各种各样的边界来限制我们的思维和行动。这里要声明一点，这绝对不是一篇“只要你坚持努力，任何事你都可以做到”的成功学文章。为什么？因为那些全都是狗屎，扯淡。但是你可以做的是认清你强加在自己身上的的那些限制，并努力来克服它们。 “那么我究竟要用那一口袋的糖果来做什么呢？”，很好的问题，就像我前面说的，我们最常给自己设定的一个边界就是“不要去尝试那些失败率很高的事情”，尤其是当我们需要在公开场合完成这件事情时，这种效应会更加明显。事实上大多数人都会不惜一切代价来避免在公共场合出丑，这也是为什么我们讨厌演讲或是去参加有一大堆陌生人的聚会的原因。 有了这一点在脑子里，现在我需要你走出门外，去到大街上，当有人朝你的方向走过来的时候，盯着他或她的眼睛，直到确保他或者她也看到了你。 然后从口袋掏出你准备好的糖果，把它抛到半空中，试着用你的嘴接住它。 我想这时你肯定会想尽一切办法来接住那颗糖果（至少对我是这样的），等待那颗糖果落下会是一个十分痛苦的过程，因为你知道有人在看着你，并且很有可能它会从你的嘴巴上弹出，落到地上之后一路蹦蹦跳跳的滚到你前面人的脚边。 这个练习的目的并不是要你每次都能够准确的用嘴巴接住糖果，而是给你一个既廉价而又不失华丽的方式来面对在公共场合的失败，因为一旦你能够从容面对在陌生路人面前的失败，你就已经开始打破那赌阻拦你的最厚的墙壁了，突破其它的小边界就变的轻而易举了。 现在是时候做出你的选择了，你可以选择避免那些让你感到不舒服的事情，做一个循规蹈矩的普通人，或者被拒绝那些条条框框所限制，勇敢的面对直到突破，我觉得选项B是非常值得尝试的，因为你唯一需要的就是一包M&#38;M&#8217;s糖果。 如果喜欢这篇文章，别忘了来Twitter关注我：@danshipper，你也可以在这里查看我以前的文章. Via: Dan shipper &#8212;&#8212;&#8212;&#8212; 当然，如果你喜欢这个翻译，也别忘了关注下译者：@yuanyiz，如果不喜欢，也别忘了拍上一砖。<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="4"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="IE7 Bug导致Rails Session保存失败" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fie7-bug-make-rails-session-cant-be-saved%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fif-youre-not-failing-youre-not-trying%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">IE7 Bug导致Rails Session保存失败</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Shanghai on Rails 7.26活动照片，PPT及视频" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fshanghai-on-rails-726-meeting-picture-presentation-videos%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fif-youre-not-failing-youre-not-trying%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/05/18/8798467.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Shanghai on Rails 7.26活动照片，PPT及视频</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Rails插件： RAV" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2F56%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fif-youre-not-failing-youre-not-trying%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/03/08/3251650.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Rails插件： RAV</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="JRuby Inside上线" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2F37%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fif-youre-not-failing-youre-not-trying%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/03/08/3251518.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">JRuby Inside上线</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="4" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p><!-- p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 16.0px Arial; color: #424137} p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 16.0px Arial; color: #3c00ee} p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Arial; min-height: 15.0px} p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; text-align: center; font: 13.0px Arial; min-height: 15.0px} span.s1 {text-decoration: underline} span.s2 {font: 15.0px Helvetica; color: #000000} span.s3 {font: 15.0px Helvetica; color: #1344ad} span.s4 {font: 13.0px Arial; text-decoration: underline ; color: #3c00ee} span.s5 {font: 13.0px Arial; color: #000000} span.s6 {color: #bc7134} span.s7 {text-decoration: underline ; color: #3c00ee} --><a href="http://dshipper.posterous.com/if-youre-not-failing-youre-not-trying">Dan shipper</a>的这篇文章很有趣，里面抛糖果的那个练习很有新意，翻译如下：</p>
<p>我有一条关于成功的理论：如果你未曾失败，只能说明你从未尝试。你可以从失败中学到这个世界是如何在运转，如果你能够回过头来重构每一个导致你的公司，项目或是感情走向失败的细节，你会得到同任何一个成功故事教给你的一样多的收获。</p>
<p><span id="more-282"></span></p>
<p>现在的问题就是，怎么得到等多的失败？对我来说，我们大部分人生活都或多或少受到个人边界的限制，这其中最大的一个边界就是我们对失败的恐惧。</p>
<p>现在我们有了一个目标：对失败的恐惧，那么如何才能客服它？其实我也没有什么秘诀，但我可以告诉你从哪里开始着手解决。</p>
<p>很简单，先去给你的口袋装上满满的M&amp;M&#8217;s糖果（译者注：一种美国产牛奶巧克力糖，可以参看这里：http://zh.wikipedia.org/wiki/M%26M%27s），然后再回来，别着急，我等着你。</p>
<p>装好了？不错，为了给接下来的步骤增加一点悬念，我想先和你们谈谈扩展个人边界的重要性，下面一段是我去年的一个演讲的节选：</p>
<p>某一天，一个非洲定居者牵回家一头幼象并将它栓在一棵树上，定居者每天都会定时喂养小象事物和水，刚开是的几周，小象不分昼夜的挣扎想要获得自由，但是一段时间后，它忽然就不再试图挣脱束缚了，而是乖乖的被绳索栓着。几年之后，这头幼象已经变得又高又壮，它可以轻松将那颗栓着它的小树连根拔起然后返回荒野，但是它没有，因为这些被奴役的日子已经让它觉得被绳索拴在小树上是理所当然的，它已经掌握和了解了这个世界的全部。</p>
<p>我们每个人的生活其实就是那头小象，我们总是为自己设定各种各样的边界来限制我们的思维和行动。这里要声明一点，这绝对不是一篇“只要你坚持努力，任何事你都可以做到”的成功学文章。为什么？因为那些全都是狗屎，扯淡。但是你可以做的是认清你强加在自己身上的的那些限制，并努力来克服它们。</p>
<p>“那么我究竟要用那一口袋的糖果来做什么呢？”，很好的问题，就像我前面说的，我们最常给自己设定的一个边界就是“不要去尝试那些失败率很高的事情”，尤其是当我们需要在公开场合完成这件事情时，这种效应会更加明显。事实上大多数人都会不惜一切代价来避免在公共场合出丑，这也是为什么我们讨厌演讲或是去参加有一大堆陌生人的聚会的原因。</p>
<p>有了这一点在脑子里，现在我需要你走出门外，去到大街上，当有人朝你的方向走过来的时候，盯着他或她的眼睛，直到确保他或者她也看到了你。</p>
<p>然后从口袋掏出你准备好的糖果，把它抛到半空中，试着用你的嘴接住它。</p>
<p>我想这时你肯定会想尽一切办法来接住那颗糖果（至少对我是这样的），等待那颗糖果落下会是一个十分痛苦的过程，因为你知道有人在看着你，并且很有可能它会从你的嘴巴上弹出，落到地上之后一路蹦蹦跳跳的滚到你前面人的脚边。</p>
<p>这个练习的目的并不是要你每次都能够准确的用嘴巴接住糖果，而是给你一个既廉价而又不失华丽的方式来面对在公共场合的失败，因为一旦你能够从容面对在陌生路人面前的失败，你就已经开始打破那赌阻拦你的最厚的墙壁了，突破其它的小边界就变的轻而易举了。</p>
<p>现在是时候做出你的选择了，你可以选择避免那些让你感到不舒服的事情，做一个循规蹈矩的普通人，或者被拒绝那些条条框框所限制，勇敢的面对直到突破，我觉得选项B是非常值得尝试的，因为你唯一需要的就是一包M&amp;M&#8217;s糖果。</p>
<p>如果喜欢这篇文章，别忘了来Twitter关注我：<a href="http://www.twitter.com/danshipper">@danshipper</a>，你也可以在<a href="http://dshipper.posterous.com/">这里</a>查看我以前的文章.</p>
<p>Via: <a href="http://dshipper.posterous.com/if-youre-not-failing-youre-not-trying">Dan shipper</a></p>
<p>&#8212;&#8212;&#8212;&#8212;</p>
<p>当然，如果你喜欢这个翻译，也别忘了关注下译者：<a href="http://twitter.com/yuanyiz">@yuanyiz</a>，如果不喜欢，也别忘了拍上一砖。</p>
<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="4"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="IE7 Bug导致Rails Session保存失败" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fie7-bug-make-rails-session-cant-be-saved%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fif-youre-not-failing-youre-not-trying%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">IE7 Bug导致Rails Session保存失败</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="RailsLogVisualizer现在支持Windows" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2F32%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fif-youre-not-failing-youre-not-trying%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/03/08/3251814.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">RailsLogVisualizer现在支持Windows</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Rails插件： RAV" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2F56%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fif-youre-not-failing-youre-not-trying%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/03/08/3251650.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Rails插件： RAV</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="God: Monit的Ruby实现" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2F46%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fif-youre-not-failing-youre-not-trying%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/03/08/3251661.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">God: Monit的Ruby实现</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="4" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://www.letrails.cn/archives/if-youre-not-failing-youre-not-trying/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>谷歌字典Mac客户端</title>
		<link>http://www.letrails.cn/archives/google-dictionary-for-mac/</link>
		<comments>http://www.letrails.cn/archives/google-dictionary-for-mac/#comments</comments>
		<pubDate>Mon, 07 Mar 2011 08:42:29 +0000</pubDate>
		<dc:creator>Yuanyi ZHANG</dc:creator>
				<category><![CDATA[其它]]></category>

		<guid isPermaLink="false">http://www.letrails.cn/?p=272</guid>
		<description><![CDATA[Mac下一直没找到一个好用的字典软件，Google字典配合插件在浏览器里用还可以，但是也看不到发音，如果是看pdf或者视频就更麻烦了，需要打开浏览器来回切换，于是花了点时间给Google字典写了个客户端。 使用很简单：启动后直接使用Alt-D呼出。 更新：有好多朋友询问如何进行屏幕取词，这里一并说明一下，如果需要屏幕取词，可以在“系统设置 =》键盘 =》服务“ 中勾选“look with google dictionary”，然后就可以通过快捷键或者右键菜单取词了，默认的快捷键是：⌘-S，你也可以自己进行设置，如果找不到这个服务，可能需要注销一下。 更新： 感谢YE Dingding的帮助，改掉了几个大家反应比较多的问题，请下载最新的1.0.1版本： 输入框不为空时不隐藏结果窗口 简化了搜索结果 可以设置查询窗口置顶 再更新：从这里看到原来金山词霸很早就出了Mac版，大家可以对比使用，呵呵，我还是喜欢我的谷歌字典。 GDict已进入Mac App Store，请大家通过此链接安装，以后的新版本也将直接通过App Store发布。 更新：由于Google关闭了字典服务，导致GDict无法继续使用，本着为人民服务的精神，连夜更新了一个使用有道词典的版本，没有经过严格测试，可能存在缺陷，欢迎大家报告Bug，另外App　Store中的版本已不可用，请大家直接从下面地址下载。 下载地址：　http://letrails.cn/wp-content/uploads/GDict.1.0.2.pkg 另外这个版本还有一些小更新： 1. 对Ctrl-C进行判断，如果WebKit选择不为空，则Copy WebKit中内容，否则Copy编辑框中文字 Yuanyi 2. 更新置顶功能，置顶后，使用快捷键和菜单依然可以隐藏，但失去焦点不隐藏 3. 修复窗口定位Bug 4. 查询框为空时隐藏结果窗口 5. 正在查询时不隐藏窗口<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fusing-ie-on-linux-and-mac-os%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fgoogle-dictionary-for-mac%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">在Linux和Mac OS上使用IE</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2F21%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fgoogle-dictionary-for-mac%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">RFuzz:新的Ruby HTTP客户端</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2F28%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fgoogle-dictionary-for-mac%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Javascript on Junction: 客户端的RoR</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fshow-git-branch-in-bash-prompt%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fgoogle-dictionary-for-mac%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Bash提示符显示Git分支</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>Mac下一直没找到一个好用的字典软件，Google字典配合插件在浏览器里用还可以，但是也看不到发音，如果是看pdf或者视频就更麻烦了，需要打开浏览器来回切换，于是花了点时间给Google字典写了个客户端。</p>
<p><span id="more-272"></span></p>
<p><img class="alignnone size-full wp-image-274" title="Screen shot 2011-03-07 at 4.36.04 PM" src="http://www.letrails.cn/wp-content/uploads/2011/03/Screen-shot-2011-03-07-at-4.36.04-PM.png" alt="" width="440" height="475" /></p>
<p>使用很简单：启动后直接使用Alt-D呼出。</p>
<p><strong>更新：</strong>有好多朋友询问如何进行屏幕取词，这里一并说明一下，如果需要屏幕取词，可以在“系统设置 =》键盘 =》服务“ 中勾选“look with google dictionary”，然后就可以通过快捷键或者右键菜单取词了，默认的快捷键是：⌘-S，你也可以自己进行设置，如果找不到这个服务，可能需要注销一下。</p>
<p><strong><a href="http://www.letrails.cn/wp-content/uploads/2011/03/Screen-shot-2011-03-09-at-2.50.03-PM.png"><img class="alignnone size-full wp-image-279" title="Screen shot 2011-03-09 at 2.50.03 PM" src="http://www.letrails.cn/wp-content/uploads/2011/03/Screen-shot-2011-03-09-at-2.50.03-PM.png" alt="" width="482" height="432" /></a></strong></p>
<p><strong>更新： </strong>感谢YE Dingding的帮助，改掉了几个大家反应比较多的问题，请下载最新的1.0.1版本：</p>
<ol>
<li>输入框不为空时不隐藏结果窗口</li>
<li>简化了搜索结果</li>
<li>可以设置查询窗口置顶</li>
</ol>
<p><strong>再更新：</strong>从<a href="http://www.osxtoy.com/?p=553">这里</a>看到原来金山词霸很早就出了<a href="http://mac.iciba.com/">Mac版</a>，大家可以对比使用，呵呵，我还是喜欢我的谷歌字典。</p>
<p><del datetime="2011-08-05T17:43:26+00:00">GDict已进入Mac App Store，请大家<a href="http://goo.gl/m85Ic">通过此链接安装</a>，以后的新版本也将直接通过App Store发布。</del></p>
<p><strong>更新：</strong>由于Google关闭了字典服务，导致GDict无法继续使用，本着为人民服务的精神，连夜更新了一个使用有道词典的版本，没有经过严格测试，可能存在缺陷，欢迎大家报告Bug，另外App　Store中的版本已不可用，请大家直接从下面地址下载。</p>
<p>下载地址：　<a href="http://letrails.cn/wp-content/uploads/GDict.1.0.2.pkg">http://letrails.cn/wp-content/uploads/GDict.1.0.2.pkg</a></p>
<p>另外这个版本还有一些小更新：</p>
<p>1. 对Ctrl-C进行判断，如果WebKit选择不为空，则Copy WebKit中内容，否则Copy编辑框中文字 Yuanyi<br />
2. 更新置顶功能，置顶后，使用快捷键和菜单依然可以隐藏，但失去焦点不隐藏<br />
3. 修复窗口定位Bug<br />
4. 查询框为空时隐藏结果窗口<br />
5. 正在查询时不隐藏窗口</p>
<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fusing-ie-on-linux-and-mac-os%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fgoogle-dictionary-for-mac%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">在Linux和Mac OS上使用IE</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2F21%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fgoogle-dictionary-for-mac%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">RFuzz:新的Ruby HTTP客户端</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2F28%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fgoogle-dictionary-for-mac%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Javascript on Junction: 客户端的RoR</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2F14%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fgoogle-dictionary-for-mac%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">JRuby1.0发布</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://www.letrails.cn/archives/google-dictionary-for-mac/feed/</wfw:commentRss>
		<slash:comments>46</slash:comments>
		</item>
		<item>
		<title>Javascript实现GMail无刷新文件上传</title>
		<link>http://www.letrails.cn/archives/javascript%e5%ae%9e%e7%8e%b0gmail%e6%97%a0%e5%88%b7%e6%96%b0%e6%96%87%e4%bb%b6%e4%b8%8a%e4%bc%a0/</link>
		<comments>http://www.letrails.cn/archives/javascript%e5%ae%9e%e7%8e%b0gmail%e6%97%a0%e5%88%b7%e6%96%b0%e6%96%87%e4%bb%b6%e4%b8%8a%e4%bc%a0/#comments</comments>
		<pubDate>Sun, 03 Oct 2010 07:32:50 +0000</pubDate>
		<dc:creator>Yuanyi ZHANG</dc:creator>
				<category><![CDATA[AJAX]]></category>

		<guid isPermaLink="false">http://www.letrails.cn/?p=258</guid>
		<description><![CDATA[最近需要给抢答增加文件上传支持，但是个人不喜欢Flash方式，Google了一下，找到这篇实现异步上传的文章，讲的比较清楚。 要实现类似GMail的无刷新文件上传，原理其实很简单，就是将form的target设置为一个iframe，这样当表单提交后刷新的就是那个iframe，而不是form所在的页面，然后再通过Javascript获取iframe内的响应，并将结果展示给用户。 &#60;%= form_for :photo, :html =&#62; {:id =&#62; 'photo_upload', :multipart =&#62; true, :target =&#62; 'upload_target'} do &#124;f&#124; %&#62; &#60;%= f.file_field :file, {:id =&#62; 'file_upload', nchange =&#62; '$('#photo_upload').submit();'} %&#62; &#60;%= end %&#62; &#60;iframe id="upload_target" name="upload_target" style="width:0;height:0;border:0px solid #fff;"&#62;&#60;/iframe&#62; 就像上面的代码，当用户选择文件后，表单会自动提交，响应会显示在那个隐藏的iframe里面，如果想要告诉用户上传是否成功（比如是否超出尺寸限制等），就需要读取iframe内的数据，可以让Rails返回JSON格式的结果，然后通过JS直接读取。 # Rails代码 respond_to do &#124;wants&#124; if @photo.save wants.html {render :text =&#62; {:result =&#62; 'success', bject =&#62; [...]<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="4"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="配置ActionMailer使用GMail发送邮件" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fusing-gmail-smtp-with-actionmailer%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fjavascript%25E5%25AE%259E%25E7%258E%25B0gmail%25E6%2597%25A0%25E5%2588%25B7%25E6%2596%25B0%25E6%2596%2587%25E4%25BB%25B6%25E4%25B8%258A%25E4%25BC%25A0%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">配置ActionMailer使用GMail发送邮件</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Plotr：轻量级的Javascript制图库" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2F54%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fjavascript%25E5%25AE%259E%25E7%258E%25B0gmail%25E6%2597%25A0%25E5%2588%25B7%25E6%2596%25B0%25E6%2596%2587%25E4%25BB%25B6%25E4%25B8%258A%25E4%25BC%25A0%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/03/08/3251506.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Plotr：轻量级的Javascript制图库</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Javascript on Junction: 客户端的RoR" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2F28%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fjavascript%25E5%25AE%259E%25E7%258E%25B0gmail%25E6%2597%25A0%25E5%2588%25B7%25E6%2596%25B0%25E6%2596%2587%25E4%25BB%25B6%25E4%25B8%258A%25E4%25BC%25A0%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Javascript on Junction: 客户端的RoR</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Aptana IDE: 全新开源Ruby+Rails+JavaScript+HTML工作台" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2F7%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fjavascript%25E5%25AE%259E%25E7%258E%25B0gmail%25E6%2597%25A0%25E5%2588%25B7%25E6%2596%25B0%25E6%2596%2587%25E4%25BB%25B6%25E4%25B8%258A%25E4%25BC%25A0%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/03/08/3251499.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Aptana IDE: 全新开源Ruby+Rails+JavaScript+HTML工作台</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="4" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>最近需要给<a href="http://www.51qiangda.com">抢答</a>增加文件上传支持，但是个人不喜欢Flash方式，Google了一下，找到这篇<a href="http://www.openjs.com/articles/ajax/ajax_file_upload/response_data.php">实现异步上传的文章</a>，讲的比较清楚。</p>
<p>要实现类似GMail的无刷新文件上传，原理其实很简单，就是将form的target设置为一个iframe，这样当表单提交后刷新的就是那个iframe，而不是form所在的页面，然后再通过Javascript获取iframe内的响应，并将结果展示给用户。</p>
<p class="code"><code class="ruby"><span id="more-258"></span><br />
&lt;%= form_for :photo, :html =&gt; {:id =&gt; 'photo_upload', :multipart =&gt; true, :target =&gt; 'upload_target'} do |f| %&gt;<br />
&lt;%= f.file_field :file, {:id =&gt; 'file_upload', <img src='http://www.letrails.cn/wp-includes/images/smilies/icon_surprised.gif' alt=':o' class='wp-smiley' /> nchange =&gt; '$('#photo_upload').submit();'} %&gt;<br />
&lt;%= end %&gt;<br />
&lt;iframe id="upload_target" name="upload_target" style="width:0;height:0;border:0px solid #fff;"&gt;&lt;/iframe&gt;<br />
</code></p>
<p>就像上面的代码，当用户选择文件后，表单会自动提交，响应会显示在那个隐藏的iframe里面，如果想要告诉用户上传是否成功（比如是否超出尺寸限制等），就需要读取iframe内的数据，可以让Rails返回JSON格式的结果，然后通过JS直接读取。</p>
<p class="code"><code class="ruby"><br />
# Rails代码<br />
respond_to do |wants|<br />
if @photo.save<br />
wants.html {render :text =&gt; {:result =&gt; 'success', <img src='http://www.letrails.cn/wp-includes/images/smilies/icon_surprised.gif' alt=':o' class='wp-smiley' /> bject =&gt; @photo}.to_json }<br />
else<br />
wants.html {render :text =&gt; {:result =&gt; 'failed', :errors =&gt; @photo.errors}.to_json}<br />
end<br />
end<br />
</code></p>
<p>下面是JS代码，需要为iframe绑定onload方法，这样只有当文件上传结束后，JS才会被调用。</p>
<p class="code"><code class="ruby"><br />
$(function(){<br />
$("upload_target").load(function(){<br />
var result = $('#upload_target').contents.find("body").html();<br />
var data = eval("("+result+")");<br />
if(data['result'] != 'success') {<br />
alert("上传成功！");<br />
} else {<br />
alert("上传失败：" + data['errors'][0][1].join());<br />
}<br />
});<br />
});<br />
</code></p>
<p>下面是抢答的Demo，不支持IE，IE请点这里看<a href="http://www.51qiangda.com/forms/4c9b4393b3e57c5591000001">完整表单</a>。</p>
<p>&nbsp;</p>
<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="4"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="配置ActionMailer使用GMail发送邮件" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fusing-gmail-smtp-with-actionmailer%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fjavascript%25E5%25AE%259E%25E7%258E%25B0gmail%25E6%2597%25A0%25E5%2588%25B7%25E6%2596%25B0%25E6%2596%2587%25E4%25BB%25B6%25E4%25B8%258A%25E4%25BC%25A0%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">配置ActionMailer使用GMail发送邮件</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Plotr：轻量级的Javascript制图库" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2F54%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fjavascript%25E5%25AE%259E%25E7%258E%25B0gmail%25E6%2597%25A0%25E5%2588%25B7%25E6%2596%25B0%25E6%2596%2587%25E4%25BB%25B6%25E4%25B8%258A%25E4%25BC%25A0%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/03/08/3251506.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Plotr：轻量级的Javascript制图库</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Javascript on Junction: 客户端的RoR" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2F28%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fjavascript%25E5%25AE%259E%25E7%258E%25B0gmail%25E6%2597%25A0%25E5%2588%25B7%25E6%2596%25B0%25E6%2596%2587%25E4%25BB%25B6%25E4%25B8%258A%25E4%25BC%25A0%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Javascript on Junction: 客户端的RoR</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Aptana IDE: 全新开源Ruby+Rails+JavaScript+HTML工作台" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2F7%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fjavascript%25E5%25AE%259E%25E7%258E%25B0gmail%25E6%2597%25A0%25E5%2588%25B7%25E6%2596%25B0%25E6%2596%2587%25E4%25BB%25B6%25E4%25B8%258A%25E4%25BC%25A0%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/03/08/3251499.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Aptana IDE: 全新开源Ruby+Rails+JavaScript+HTML工作台</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="4" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://www.letrails.cn/archives/javascript%e5%ae%9e%e7%8e%b0gmail%e6%97%a0%e5%88%b7%e6%96%b0%e6%96%87%e4%bb%b6%e4%b8%8a%e4%bc%a0/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>&#8220;Mastering the VC Game&#8221;读后</title>
		<link>http://www.letrails.cn/archives/mastering-the-vc-game/</link>
		<comments>http://www.letrails.cn/archives/mastering-the-vc-game/#comments</comments>
		<pubDate>Fri, 10 Sep 2010 13:17:24 +0000</pubDate>
		<dc:creator>Yuanyi ZHANG</dc:creator>
				<category><![CDATA[读后感]]></category>

		<guid isPermaLink="false">http://www.letrails.cn/?p=251</guid>
		<description><![CDATA[终于读完了这本“创业必读书”，如果你正在创业，或打算创业，并且想通过VC让你的项目快速起飞，那这本书还是配得上“必读”这两字的，对我来说，最有用的是第2和第3章，这也是全书篇幅最多的两个章节，第二章讲VC的运作机制，第三章讲如何向VC展示你的项目，我目前正处在这个阶段，里面有一些观点颠覆了我以前对VC的认识，总结如下，与大家分享： 1. 充分准备，这永远都是最重要的，在见VC前，你必须做好全面的准备工作，要对VC可能会问到的每个问题都有答案。 2. 知己知彼，所谓知己知彼，百战不殆，除了要对自身领域有充分认识，也要对VC的情况进行调查，比如他们当前处在投资周期的那个阶段，是否还有资金投资？他们都投资了些什么类型的公司，你的公司是否对他们的胃口？还有就是他们今年是否已经做了几笔投资？如果他们当前正处在一轮投资的收割期，所有资金都已经投资完毕，或者他们以往投资的都是企业领域的应用，但你的项目是面对个人的，或者他们今年已经投了2，3家公司，那你就不用再去浪费你的时间了。 3. 不要像应届生找工作那样去找VC，很多人犯的错误就是，从网上收集一个VC的联系名单，然后群发一通邮件过去，但是这样的成功率几乎为0，作者引用一个知名VC的话说：”我是不会看这样的邮件的，因为有许多更好的方式可以和我取得联系，如果你都不能通过你的关系网直接联系到我，那你让我怎么相信你会有能力找到你的客户呢？“ 4. 要尽可能诚实，VC不是傻子，你应该尽可能诚实的告诉它们潜在的风险和收益，许多人都喜欢说：”这将是我需要的唯一一笔钱，只要有了这笔钱，我们将会在未来几个月内实现多少的盈利“，但是根据作者的经历，基本没有公司可以只通过一轮融资就健康的生存下来，也只有1-2%的公司业绩可到达到它们想投资者承诺的数字，所以你应该告诉投资者这个事情有失败的可能，但是你们确信你们的团队可以客服这些困难并取得成功，虽然这不是百分百的，但至少值得一试。 5. 你需要有独特的优势，VC最喜欢问的一个问题就是，如果忽然有一家公司杀出来跟你做同样的事情，但是拿到了比你更多的钱，雇佣了更优秀的团队，你应该怎么办？要回答这个问题，你就需要有自己独一无二的，别人无法复制的优势，或者至少是确立这个优势的方法。 6. 不要指望一次成功，VC的决策是个复杂的过程，不要指望仅凭30分钟的演示就让他们做出投资你的决定，当然你也可能听到过这样的传奇，但我得告诉你，那就像哥一样，只是个传说，一般情况下，VC都会跟踪一个公司至少3个月到半年的时间，根据你的成长来决定是否投资，他们会在第一次交谈中询问你们未来一段时间的规划，如果这次交谈之后，他们就再也没了消息，不要紧，这很正常，你可以在你取得了关键性的突破之后，比如产品研发达到了一个关键的里程碑，或者是获得了一个大客户，这时你都可以再打个电话给他们，”嗨，好久不见，经过过去几个月的努力，我们的项目已经取得了一些很关键的突破，不知您是否愿意花几分钟的时间了解一下？”，如果你的发展超出了VC的预期，那么他们将会重新考虑你的项目。 7. 要货比三家，找VC就和买东西一样，要找到性价比最高的，就必须要多比较几家，或许用恋爱来比喻更恰当一些，这实际上是一个双向选择的过程，主动权并不总在VC那边，你要考虑的也并不仅仅是钱，还应该考虑这个VC能够带给你的项目什么帮助，他们在你从事的领域有哪些资源，这些资源能否帮助你的项目取得成功，还有就是你和投资人是否气味相投，这很重要，你肯定不想找一个天天和你吵架的投资人，对吧？<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="4"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="关于Ruby 2.0: 我们的计划" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fwhat-we-want-to-accomplish-in-the-near-future%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fmastering-the-vc-game%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">关于Ruby 2.0: 我们的计划</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Shanghai on Rails 7.26线下活动" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fshanghai-on-rails-726-meeting%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fmastering-the-vc-game%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/03/09/3251440.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Shanghai on Rails 7.26线下活动</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="has_many_polymorphs：简化多对多映射" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2F49%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fmastering-the-vc-game%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/03/08/3251544.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">has_many_polymorphs：简化多对多映射</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Bash提示符显示Git分支" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fshow-git-branch-in-bash-prompt%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fmastering-the-vc-game%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/05/15/8702104.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Bash提示符显示Git分支</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="4" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p><img style="float: right;" title="master the vc game" src="http://img3.douban.com/lpic/s4350079.jpg" alt="" width="200" /></p>
<p>终于读完了这本“<a href="http://book.douban.com/subject/4822880/">创业必读书</a>”，如果你正在创业，或打算创业，并且想通过VC让你的项目快速起飞，那这本书还是配得上“必读”这两字的，对我来说，最有用的是第2和第3章，这也是全书篇幅最多的两个章节，第二章讲VC的运作机制，第三章讲如何向VC展示你的项目，我目前正处在这个阶段，里面有一些观点颠覆了我以前对VC的认识，总结如下，与大家分享：</p>
<p><span id="more-251"></span>1. 充分准备，这永远都是最重要的，在见VC前，你必须做好全面的准备工作，要对VC可能会问到的每个问题都有答案。</p>
<p>2. 知己知彼，所谓知己知彼，百战不殆，除了要对自身领域有充分认识，也要对VC的情况进行调查，比如他们当前处在投资周期的那个阶段，是否还有资金投资？他们都投资了些什么类型的公司，你的公司是否对他们的胃口？还有就是他们今年是否已经做了几笔投资？如果他们当前正处在一轮投资的收割期，所有资金都已经投资完毕，或者他们以往投资的都是企业领域的应用，但你的项目是面对个人的，或者他们今年已经投了2，3家公司，那你就不用再去浪费你的时间了。</p>
<p>3. 不要像应届生找工作那样去找VC，很多人犯的错误就是，从网上收集一个VC的联系名单，然后群发一通邮件过去，但是这样的成功率几乎为0，作者引用一个知名VC的话说：”我是不会看这样的邮件的，因为有许多更好的方式可以和我取得联系，如果你都不能通过你的关系网直接联系到我，那你让我怎么相信你会有能力找到你的客户呢？“</p>
<p>4. 要尽可能诚实，VC不是傻子，你应该尽可能诚实的告诉它们潜在的风险和收益，许多人都喜欢说：”这将是我需要的唯一一笔钱，只要有了这笔钱，我们将会在未来几个月内实现多少的盈利“，但是根据作者的经历，基本没有公司可以只通过一轮融资就健康的生存下来，也只有1-2%的公司业绩可到达到它们想投资者承诺的数字，所以你应该告诉投资者这个事情有失败的可能，但是你们确信你们的团队可以客服这些困难并取得成功，虽然这不是百分百的，但至少值得一试。</p>
<p>5. 你需要有独特的优势，VC最喜欢问的一个问题就是，如果忽然有一家公司杀出来跟你做同样的事情，但是拿到了比你更多的钱，雇佣了更优秀的团队，你应该怎么办？要回答这个问题，你就需要有自己独一无二的，别人无法复制的优势，或者至少是确立这个优势的方法。</p>
<p>6. 不要指望一次成功，VC的决策是个复杂的过程，不要指望仅凭30分钟的演示就让他们做出投资你的决定，当然你也可能听到过这样的传奇，但我得告诉你，那就像哥一样，只是个传说，一般情况下，VC都会跟踪一个公司至少3个月到半年的时间，根据你的成长来决定是否投资，他们会在第一次交谈中询问你们未来一段时间的规划，如果这次交谈之后，他们就再也没了消息，不要紧，这很正常，你可以在你取得了关键性的突破之后，比如产品研发达到了一个关键的里程碑，或者是获得了一个大客户，这时你都可以再打个电话给他们，”嗨，好久不见，经过过去几个月的努力，我们的项目已经取得了一些很关键的突破，不知您是否愿意花几分钟的时间了解一下？”，如果你的发展超出了VC的预期，那么他们将会重新考虑你的项目。</p>
<p>7. 要货比三家，找VC就和买东西一样，要找到性价比最高的，就必须要多比较几家，或许用恋爱来比喻更恰当一些，这实际上是一个双向选择的过程，主动权并不总在VC那边，你要考虑的也并不仅仅是钱，还应该考虑这个VC能够带给你的项目什么帮助，他们在你从事的领域有哪些资源，这些资源能否帮助你的项目取得成功，还有就是你和投资人是否气味相投，这很重要，你肯定不想找一个天天和你吵架的投资人，对吧？</p>
<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="4"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="关于Ruby 2.0: 我们的计划" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fwhat-we-want-to-accomplish-in-the-near-future%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fmastering-the-vc-game%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">关于Ruby 2.0: 我们的计划</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Plotr：轻量级的Javascript制图库" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2F54%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fmastering-the-vc-game%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/03/08/3251506.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Plotr：轻量级的Javascript制图库</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="JRuby1.0发布" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2F14%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fmastering-the-vc-game%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/03/08/3251519.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">JRuby1.0发布</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="select层叠的AJAX实现" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.letrails.cn%2Farchives%2F35%2F&from=http%3A%2F%2Fwww.letrails.cn%2Farchives%2Fmastering-the-vc-game%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/03/08/3251431.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">select层叠的AJAX实现</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="4" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://www.letrails.cn/archives/mastering-the-vc-game/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

