<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>metal</title>
    <link>https://ruby-china.org/metal</link>
    <description></description>
    <language>en-us</language>
    <item>
      <title>DJI Phantom 4K 摔了，云台和相机连接的排线端了，以及相机的支架断了</title>
      <description>&lt;p&gt;不知道要花多少钱，好忐忑。还好摔下来没砸到人，砸在公司同事的车上筐铛一声，我真的醉了。&lt;/p&gt;</description>
      <author>metal</author>
      <pubDate>Wed, 08 Jul 2015 13:25:37 +0800</pubDate>
      <link>https://ruby-china.org/topics/26383</link>
      <guid>https://ruby-china.org/topics/26383</guid>
    </item>
    <item>
      <title>「x 际网」节操真的很低</title>
      <description>&lt;p&gt;曾经年少无知在这个论坛点击某个主题不小心在他们网站上面注册了账号，结果动不动就来个邮件提醒，连取消都没有，我去，唯一的邮件取消是「取消订阅 x 际周刊」。说穿这个取消根本没用，依然还是要发。&lt;/p&gt;</description>
      <author>metal</author>
      <pubDate>Thu, 24 Oct 2013 10:52:53 +0800</pubDate>
      <link>https://ruby-china.org/topics/14993</link>
      <guid>https://ruby-china.org/topics/14993</guid>
    </item>
    <item>
      <title>推荐「TCP Sockets 编程」</title>
      <description>&lt;p&gt;&lt;a href="http://www.ituring.com.cn/book/1176" rel="nofollow" target="_blank"&gt;http://www.ituring.com.cn/book/1176&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;书中所有的代码都用&lt;strong&gt;&lt;em&gt;Ruby1.9.3&lt;/em&gt;&lt;/strong&gt;写成，但不仅仅适用于 Ruby，它能够帮助你了解 Sockets 编程的基础知识，然后应用到 Python, Go, C 等其他语言的编程当中。&lt;/p&gt;</description>
      <author>metal</author>
      <pubDate>Wed, 09 Oct 2013 17:14:55 +0800</pubDate>
      <link>https://ruby-china.org/topics/14621</link>
      <guid>https://ruby-china.org/topics/14621</guid>
    </item>
    <item>
      <title>《松本行弘的程序世界》有电子版了</title>
      <description>&lt;p&gt;&lt;a href="http://www.ituring.com.cn/book/727" rel="nofollow" target="_blank"&gt;http://www.ituring.com.cn/book/727&lt;/a&gt;&lt;/p&gt;</description>
      <author>metal</author>
      <pubDate>Wed, 18 Sep 2013 21:03:50 +0800</pubDate>
      <link>https://ruby-china.org/topics/14222</link>
      <guid>https://ruby-china.org/topics/14222</guid>
    </item>
    <item>
      <title>有人玩过 node-webkit 吗</title>
      <description>&lt;p&gt;有什么基于 node-webkit 的项目可以推荐新手来学习的？&lt;/p&gt;</description>
      <author>metal</author>
      <pubDate>Sat, 10 Aug 2013 11:16:10 +0800</pubDate>
      <link>https://ruby-china.org/topics/13219</link>
      <guid>https://ruby-china.org/topics/13219</guid>
    </item>
    <item>
      <title>怎么样提高 btsync 的速度</title>
      <description>&lt;p&gt;我从 linode 同步数据到本地，我这边是 100m 共享的带宽，结果只有 10KB 不到的速度，同步了一个星期了。这样下去一辈子都同步不完，我要疯了。&lt;/p&gt;</description>
      <author>metal</author>
      <pubDate>Tue, 06 Aug 2013 17:36:01 +0800</pubDate>
      <link>https://ruby-china.org/topics/13108</link>
      <guid>https://ruby-china.org/topics/13108</guid>
    </item>
    <item>
      <title>unicorn 怎么重启？停止？</title>
      <description>&lt;p&gt;只有强制杀进程？没有像 thin 那样 &lt;code&gt;thin -C config/thin.yml stop | restart&lt;/code&gt;
这种方式吗？&lt;/p&gt;</description>
      <author>metal</author>
      <pubDate>Thu, 01 Aug 2013 14:07:25 +0800</pubDate>
      <link>https://ruby-china.org/topics/12972</link>
      <guid>https://ruby-china.org/topics/12972</guid>
    </item>
    <item>
      <title>我改了 mongodb 的默认 port，无法启动了</title>
      <description>&lt;p&gt;删除以后&lt;code&gt;mongodb.lock&lt;/code&gt;。&lt;/p&gt;

&lt;p&gt;然后&lt;code&gt;sudo service mongodb restart&lt;/code&gt;&lt;/p&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;JavaScript execution failed: Error: couldn't connect to server 127.0.0.1:27017 at src/mongo/shell/mongo.js:L112
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;怎么破？&lt;/p&gt;</description>
      <author>metal</author>
      <pubDate>Tue, 30 Jul 2013 11:09:11 +0800</pubDate>
      <link>https://ruby-china.org/topics/12893</link>
      <guid>https://ruby-china.org/topics/12893</guid>
    </item>
    <item>
      <title>有什么好用的 nginx 分析工具可以推荐么</title>
      <description>&lt;p&gt;RT&lt;/p&gt;</description>
      <author>metal</author>
      <pubDate>Mon, 29 Jul 2013 18:00:09 +0800</pubDate>
      <link>https://ruby-china.org/topics/12876</link>
      <guid>https://ruby-china.org/topics/12876</guid>
    </item>
    <item>
      <title>我已经 chown -R www-data:www-data 了 为什么每次上传图片以后文件的属主还一直是 root:root</title>
      <description>&lt;p&gt;有什么方法可以破。&lt;/p&gt;

&lt;p&gt;子域名我是这样配置的&lt;/p&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;server {
   listen       80;
   server_name  static.domain.com;
   root         /var/www/static;
}

&lt;/code&gt;&lt;/pre&gt;</description>
      <author>metal</author>
      <pubDate>Tue, 23 Jul 2013 20:08:58 +0800</pubDate>
      <link>https://ruby-china.org/topics/12718</link>
      <guid>https://ruby-china.org/topics/12718</guid>
    </item>
    <item>
      <title>nfo 里面的文字是怎么实现的？</title>
      <description>&lt;p&gt;&lt;a href="http://www.ugia.cn/nfo/demo.php" rel="nofollow" target="_blank"&gt;http://www.ugia.cn/nfo/demo.php&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;这里面的文字是怎么实现的。我的意思是这个里面的文字是怎么生成出来的，看起来很不错呀。有相关资料吗？&lt;/p&gt;</description>
      <author>metal</author>
      <pubDate>Fri, 12 Jul 2013 11:04:24 +0800</pubDate>
      <link>https://ruby-china.org/topics/12452</link>
      <guid>https://ruby-china.org/topics/12452</guid>
    </item>
    <item>
      <title>sublime text 2 自动备份文件</title>
      <description>&lt;p&gt;&lt;a href="https://github.com/joelpt/sublimetext-automatic-backups" rel="nofollow" target="_blank"&gt;https://github.com/joelpt/sublimetext-automatic-backups&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;还行吧。&lt;/p&gt;

&lt;p&gt;不知道有没有更好的推荐。在脱离 sublime text2 的情况下，我保存一次就自动帮我备份一次文件版本，我不在乎磁盘空间。&lt;/p&gt;

&lt;p&gt;PS: mac 下。&lt;/p&gt;</description>
      <author>metal</author>
      <pubDate>Sat, 06 Jul 2013 21:21:21 +0800</pubDate>
      <link>https://ruby-china.org/topics/12309</link>
      <guid>https://ruby-china.org/topics/12309</guid>
    </item>
    <item>
      <title>AngularJS 中文入门教程</title>
      <description>&lt;p&gt;&lt;a href="http://www.ituring.com.cn/book/1206" rel="nofollow" target="_blank"&gt;http://www.ituring.com.cn/book/1206&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;图灵社区出的。&lt;/p&gt;</description>
      <author>metal</author>
      <pubDate>Sun, 02 Jun 2013 18:10:12 +0800</pubDate>
      <link>https://ruby-china.org/topics/11428</link>
      <guid>https://ruby-china.org/topics/11428</guid>
    </item>
    <item>
      <title>AngularJS 怎么用 jQuery</title>
      <description>&lt;p&gt;AngularJS 这些东西不管数据是不是加载完成，都会第一时间显示页面，这样导致了我这边用 jQuery 的各种困难。例如下面，我取不到 size()。有什么办法让 jQuery 的 ready 等待数据加载完成后执行？&lt;/p&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="c"&gt;&amp;lt;!-- layout.html --&amp;gt;&lt;/span&gt;
&lt;span class="cp"&gt;&amp;lt;!doctype html&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;html&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;head&amp;gt;&lt;/span&gt;
....
&lt;span class="nt"&gt;&amp;lt;script &lt;/span&gt;&lt;span class="na"&gt;src=&lt;/span&gt;&lt;span class="s"&gt;"jquery.min.js"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&amp;lt;/script&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/head&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;body&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;div&lt;/span&gt; &lt;span class="na"&gt;ng-view&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&amp;lt;/div&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;script&amp;gt;&lt;/span&gt;
&lt;span class="nf"&gt;$&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;document&lt;/span&gt;&lt;span class="p"&gt;).&lt;/span&gt;&lt;span class="nf"&gt;ready&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kd"&gt;function&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
   &lt;span class="nx"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;$&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;.entry&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;).&lt;/span&gt;&lt;span class="nf"&gt;size&lt;/span&gt;&lt;span class="p"&gt;());&lt;/span&gt;
&lt;span class="p"&gt;});&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/script&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/body&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/html&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;pre class="highlight html"&gt;&lt;code&gt;// _product.html
&lt;span class="nt"&gt;&amp;lt;div&lt;/span&gt; &lt;span class="na"&gt;ng-repeat=&lt;/span&gt;&lt;span class="s"&gt;"product in products"&lt;/span&gt; &lt;span class="na"&gt;class=&lt;/span&gt;&lt;span class="s"&gt;"entry"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
   ....
&lt;span class="nt"&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;</description>
      <author>metal</author>
      <pubDate>Tue, 28 May 2013 11:50:50 +0800</pubDate>
      <link>https://ruby-china.org/topics/11284</link>
      <guid>https://ruby-china.org/topics/11284</guid>
    </item>
    <item>
      <title>jQuery animate 的一个小问题</title>
      <description>&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="nf"&gt;$&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;.forward&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;).&lt;/span&gt;&lt;span class="nf"&gt;click&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kd"&gt;function&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
   &lt;span class="nf"&gt;$&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;.box&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;).&lt;/span&gt;&lt;span class="nf"&gt;animate&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt;&lt;span class="na"&gt;left&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;+=80px&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;});&lt;/span&gt;
&lt;span class="p"&gt;})&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;当我对着 button(.forward) 连续快速点击 10 次，这个动画就会执行 10 次。这个要这么破，看起来挺傻的。&lt;/p&gt;

&lt;p&gt;详情，请连续点击 button：
&lt;a href="http://jsfiddle.net/kennx/SML4g/" rel="nofollow" target="_blank"&gt;http://jsfiddle.net/kennx/SML4g/&lt;/a&gt;&lt;/p&gt;</description>
      <author>metal</author>
      <pubDate>Wed, 22 May 2013 18:17:33 +0800</pubDate>
      <link>https://ruby-china.org/topics/11157</link>
      <guid>https://ruby-china.org/topics/11157</guid>
    </item>
    <item>
      <title>sass 编码问题</title>
      <description>&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Encoding::CompatibilityError: incompatible encoding regexp match (UTF-8 regexp with ASCII-8BIT string)
&lt;/code&gt;&lt;/pre&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;/Users/Kenn/.rvm/gems/ruby-2.0.0-p0/gems/listen-0.7.3/lib/listen/directory_record.rb:193:in `sub': incompatible encoding regexp match (UTF-8 regexp with ASCII-8BIT string) (Encoding::CompatibilityError)
    from /Users/Kenn/.rvm/gems/ruby-2.0.0-p0/gems/listen-0.7.3/lib/listen/directory_record.rb:193:in `relative_to_base'
    from /Users/Kenn/.rvm/gems/ruby-2.0.0-p0/gems/listen-0.7.3/lib/listen/directory_record.rb:135:in `ignored?'
    from /Users/Kenn/.rvm/gems/ruby-2.0.0-p0/gems/listen-0.7.3/lib/listen/directory_record.rb:328:in `block in important_paths'
    from /Users/Kenn/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/find.rb:41:in `block in find'
    from /Users/Kenn/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/find.rb:40:in `catch'
    from /Users/Kenn/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/find.rb:40:in `find'
    from /Users/Kenn/.rvm/gems/ruby-2.0.0-p0/gems/listen-0.7.3/lib/listen/directory_record.rb:322:in `important_paths'
    from /Users/Kenn/.rvm/gems/ruby-2.0.0-p0/gems/listen-0.7.3/lib/listen/directory_record.rb:158:in `build'
    from /Users/Kenn/.rvm/gems/ruby-2.0.0-p0/gems/listen-0.7.3/lib/listen/multi_listener.rb:41:in `block (2 levels) in start'
    from /Users/Kenn/.rvm/gems/ruby-2.0.0-p0/gems/listen-0.7.3/lib/listen/multi_listener.rb:41:in `each'
    from /Users/Kenn/.rvm/gems/ruby-2.0.0-p0/gems/listen-0.7.3/lib/listen/multi_listener.rb:41:in `block in start'
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;不知道如何解决。求指点。&lt;/p&gt;</description>
      <author>metal</author>
      <pubDate>Tue, 14 May 2013 19:20:39 +0800</pubDate>
      <link>https://ruby-china.org/topics/10983</link>
      <guid>https://ruby-china.org/topics/10983</guid>
    </item>
    <item>
      <title>原来还可以这样 ...</title>
      <description>&lt;p&gt;&lt;a href="https://github.com/reprap/huxley/blob/master/z-leadscrew-base-tensioner_2.stl" rel="nofollow" target="_blank"&gt;https://github.com/reprap/huxley/blob/master/z-leadscrew-base-tensioner_2.stl&lt;/a&gt;&lt;/p&gt;</description>
      <author>metal</author>
      <pubDate>Fri, 03 May 2013 19:59:58 +0800</pubDate>
      <link>https://ruby-china.org/topics/10687</link>
      <guid>https://ruby-china.org/topics/10687</guid>
    </item>
    <item>
      <title>做了一个 icon，不知道 rei 会不会喜欢</title>
      <description>&lt;p&gt;昨天被邀请加入了 dribbble，也不知道发什么好，公司的东西不太好发，就把第一次献给 &lt;a href="/Rei" class="user-mention" title="@Rei"&gt;&lt;i&gt;@&lt;/i&gt;Rei&lt;/a&gt; 吧！&lt;/p&gt;

&lt;p&gt;&lt;a href="http://dribbble.com/shots/1048511-Writings-io" rel="nofollow" target="_blank"&gt;http://dribbble.com/shots/1048511-Writings-io&lt;/a&gt;&lt;/p&gt;</description>
      <author>metal</author>
      <pubDate>Mon, 29 Apr 2013 00:42:25 +0800</pubDate>
      <link>https://ruby-china.org/topics/10602</link>
      <guid>https://ruby-china.org/topics/10602</guid>
    </item>
    <item>
      <title>general servic list</title>
      <description>&lt;p&gt;&lt;a href="http://jbauman.com/gsl.html" rel="nofollow" target="_blank"&gt;http://jbauman.com/gsl.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;用的频率最高的一些词汇。对于英语学习应该有帮助吧。&lt;/p&gt;</description>
      <author>metal</author>
      <pubDate>Wed, 24 Apr 2013 12:12:41 +0800</pubDate>
      <link>https://ruby-china.org/topics/10458</link>
      <guid>https://ruby-china.org/topics/10458</guid>
    </item>
    <item>
      <title>正版 app+ 附赠捆绑促销，$9.99</title>
      <description>&lt;p&gt;&lt;a href="http://macheist.com/#overview" rel="nofollow" target="_blank"&gt;http://macheist.com/#overview&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;谁能给我也买份。没信用卡的人伤不起。&lt;/p&gt;</description>
      <author>metal</author>
      <pubDate>Mon, 22 Apr 2013 09:11:02 +0800</pubDate>
      <link>https://ruby-china.org/topics/10392</link>
      <guid>https://ruby-china.org/topics/10392</guid>
    </item>
  </channel>
</rss>
