<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Loocor on Medium]]></title>
        <description><![CDATA[Stories by Loocor on Medium]]></description>
        <link>https://medium.com/@loocor?source=rss-de465c1886e9------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*vtOMz4Se2CujBNVdIWwS4g@2x.jpeg</url>
            <title>Stories by Loocor on Medium</title>
            <link>https://medium.com/@loocor?source=rss-de465c1886e9------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 19:07:07 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@loocor/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How to install Memcached library for macOS Sierra]]></title>
            <link>https://medium.com/@loocor/how-to-install-memcached-library-for-macos-sierra-be5ea24d9f1?source=rss-de465c1886e9------2</link>
            <guid isPermaLink="false">https://medium.com/p/be5ea24d9f1</guid>
            <category><![CDATA[brew]]></category>
            <category><![CDATA[memcached]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[macos]]></category>
            <category><![CDATA[sierra]]></category>
            <dc:creator><![CDATA[Loocor]]></dc:creator>
            <pubDate>Thu, 06 Oct 2016 16:37:30 GMT</pubDate>
            <atom:updated>2016-10-06T16:37:30.629Z</atom:updated>
            <content:encoded><![CDATA[<h3>How to install Memcached library on macOS Sierra</h3><blockquote>因学习 WeChat 开发需要解决 access_token 维护的问题，参照各家的日志仍遇到亦些小问题，最后求教 StackOverflow 得以解决。</blockquote><h4>安装步骤</h4><ul><li>$ brew install libmemcached</li><li>$ which memcached</li><li>/usr/local/bin/memcached</li><li>$ export LIBMEMCACHED=/usr/local</li><li>$ pip install pylibmc</li></ul><h4>特别说明</h4><ul><li>不需通过 brew 安装 memcached 模块，只要 libmemcached 即可；</li><li>如果没有执行 $ export LIBMEMCACHED=/usr/local 这步，后面安装 py 模块就会出错；</li></ul><h4>参考页面</h4><ul><li><a href="http://stackoverflow.com/questions/14803310/error-when-install-pylibmc-using-pip">http://stackoverflow.com/questions/14803310/error-when-install-pylibmc-using-pip</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=be5ea24d9f1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why i use VIM]]></title>
            <link>https://medium.com/@loocor/why-chose-vim-768d6841a695?source=rss-de465c1886e9------2</link>
            <guid isPermaLink="false">https://medium.com/p/768d6841a695</guid>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[vim]]></category>
            <dc:creator><![CDATA[Loocor]]></dc:creator>
            <pubDate>Tue, 04 Feb 2014 10:47:18 GMT</pubDate>
            <atom:updated>2016-10-06T16:24:18.891Z</atom:updated>
            <content:encoded><![CDATA[<p>配置VIM为最顺手的编辑器</p><h4>为什么不使用IDE环境</h4><ul><li>到目前为止，除了RubyMine（ <em>还是我刚才重新去官网看名字的，是有多不在意它…</em> ）之外，没有成型的Ruby或者Rails IDE。RubyMine如同JetBrians其他的产品一样，一如既往的通过Jave实现这些产品跨平台特性，因此，对我这种重度外貌协会的人来说，显然这是不能接受，再说，RubyMine卖的也不便宜…</li><li>大多现成的IDE，要么拥有超繁多的功能设定 — 比如如上的RubyMine，要么就是简单的过分或者无法根据自己的爱好设定，打造符合自己审美目标的开发环境还是很困难；</li></ul><h4>为什么不使用GUI编辑器</h4><ul><li>使用过的，早期的Textmata，中期小众的Vico，后期的Sublime Text，当然还有其他一些编辑器也尝试过，除了Sublime Text还继续保留外，其他的都放弃了；</li><li>Textmata曾经的传奇，但是V1.x对中文字符的支持让人无法接受，而V2.x姗姗来迟，VIM键盘模式等重要插件有没有跟进…</li><li>新秀Vico一度进入我的候选付费名单，可没几个小升级后作者就放弃项目直接开源了，关键点在于，Vico本身还有好多需要增强的地方；</li><li>至于Sublime Text，应该是最好的一个了，可以认为是Textmata以后的一个新高度，只是在部分功能外观定制上，仍然不能非常如意。</li></ul><h4>那VIM就是很完美的吗</h4><ul><li>不是的，至少已经知道VIM有不少的不足之处。比如，VIM难以构建可视化的调试环境，当然，这也可能是我还没有熟悉VIM调试的配置和方法；</li><li>另外，VIM访问系统剪贴板我还不习惯，觉得有些麻烦；</li><li>VIM在终端里字体显示的效果不敢恭维，Mac下还不错，如果在Linux或Win下就看起来很难受了，加之，终端下字体的颜色支持和字体样式支持有限，比起纯桌面编辑器如SublimeText的显示效果和主题丰富程度，还是存在一定差距的；</li></ul><h4>那么VIM的优势在哪里呢</h4><ul><li>应该问，VIM对我来讲优势在哪里。因为每个人的“痛点”不一样；</li><li>首先的优点在于，可以便捷的在Shell与Editor之间切换，当然也可以放在TMUX里面进行多窗口编辑，这对于大量使用终端命令的Rails开发来说非常重要，降低了终端、编辑器之间反复切换的键盘鼠标操作；</li><li>第二个优点，对应着应该说是没有现行IDE的缺点，基本上通过配置，可以让一切不需要的功能消失，眼不见心不烦；</li><li>当然免费也是重要的因素，不管是简单的特殊格式文件语法着色，还是vim-rails或python-mode这样的整合套件，都可以免费获取，如果您能，还可以参与开发社区对它进行优化作出贡献；</li><li>其实最根本的原因在于，VIM对待编辑的方式已经成为一种习惯，<strong>dd</strong>删除一行，<strong>25G</strong>直接跳转到25行，而 <strong>25return</strong> 则后翻25行，<strong>dG</strong>则从插入点删到文档末尾。就是这样的快捷，让人无法放手。</li></ul><h4>我的VIM配置文件</h4><ul><li><a href="https://gist.github.com/Loocor/8438504">这个链接</a>是我放在Gist上的VIM配置文件，有兴趣的下来看看吧。</li></ul><p><em>Originally published at </em><a href="https://loocor.wordpress.com/2014/02/04/%E9%85%8D%E7%BD%AEvim%E4%B8%BA%E6%9C%80%E9%A1%BA%E6%89%8B%E7%9A%84%E7%BC%96%E8%BE%91%E5%99%A8/"><em>loocor.wordpress.com</em></a><em> on February 4, 2014.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=768d6841a695" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>