<?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>以太之内 生存之上 &#187; svn</title> <atom:link href="http://ixhan.com/tag/svn/feed/" rel="self" type="application/rss+xml" /><link>http://ixhan.com</link> <description>Live in your world, get owned in mine</description> <lastBuildDate>Fri, 03 Feb 2012 02:58:25 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>OSX Terminal(终端) 使用快捷键</title><link>http://ixhan.com/2009/11/osx-terminal-keyshort/</link> <comments>http://ixhan.com/2009/11/osx-terminal-keyshort/#comments</comments> <pubDate>Mon, 02 Nov 2009 13:10:37 +0000</pubDate> <dc:creator>xhan</dc:creator> <category><![CDATA[Knowledge]]></category> <category><![CDATA[快捷键]]></category> <category><![CDATA[分享]]></category> <category><![CDATA[bash]]></category> <category><![CDATA[c]]></category> <category><![CDATA[终端]]></category> <category><![CDATA[svn]]></category> <category><![CDATA[terminal]]></category> <guid
isPermaLink="false">http://ixhan.com/?p=144</guid> <description><![CDATA[<a
href="http://ixhan.com/2009/11/osx-terminal-keyshort/" title="OSX Terminal(终端) 使用快捷键"></a>之前唯一会用的终端快捷键只有 up 和 down 。碰到长串命令中打错几个字母就很麻烦了，今天学到几个快捷键分享下。 首先勾选设置-》键盘-》使用 option 键作为 meta 键。 然后就可以使用如下快捷键了： control + a / e    回到命令行头/尾 option + b / f     向前/后跳一个单词 control +u /k    删除光标前/后 所有单词 control + y       撤销上个操作 Enjoy It ! 最后有个好玩的命令，查看最常用的10个命令（最近500个命令） awk &#8216;{print $1}&#8217; ~/.bash_history &#8230;<p
class="read-more"><a
href="http://ixhan.com/2009/11/osx-terminal-keyshort/">Read more &#187;</a></p>]]></description> <content:encoded><![CDATA[<a
href="http://ixhan.com/2009/11/osx-terminal-keyshort/" title="OSX Terminal(终端) 使用快捷键"></a><p>之前唯一会用的终端快捷键只有 up 和 down 。碰到长串命令中打错几个字母就很麻烦了，今天学到几个快捷键分享下。</p><p>首先勾选设置-》键盘-》使用 option 键作为 meta 键。</p><p>然后就可以使用如下快捷键了：</p><ul><li>control + a / e    回到命令行头/尾</li><li>option + b / f     向前/后跳一个单词</li><li>control +u /k    删除光标前/后 所有单词</li><li>control + y       撤销上个操作</li></ul><p>Enjoy It !</p><p>最后有个好玩的命令，查看最常用的10个命令（最近500个命令）</p><p>awk &#8216;{print $1}&#8217; ~/.bash_history | sort | uniq -c | sort -gr | head<span
id="more-144"></span></p><p>我的结果</p><blockquote><p>100 ls<br
/> 68 git<br
/> 63 cd<br
/> 54 svn<br
/> 28 fq<br
/> 20 find<br
/> 18 open<br
/> 18 curl<br
/> 16 ssh<br
/> 10 rm</p></blockquote><p>终于不再全是 ls + cd 了。</p><h3  class="related_post_title">Related Posts</h3><ul
class="related_post"><li><a
href="http://ixhan.com/2010/02/fake-version/" title="Fake Version">Fake Version</a></li><li><a
href="http://ixhan.com/2009/12/2009-2010/" title="2009-2010 ">2009-2010 </a></li><li><a
href="http://ixhan.com/2009/10/redmine-images-manager-system/" title="用 Redmine 管理iPhone项目中过多的图片文件">用 Redmine 管理iPhone项目中过多的图片文件</a></li><li><a
href="http://ixhan.com/2009/10/iphone-stencil/" title="iPhone 组件模板（设计用）分享">iPhone 组件模板（设计用）分享</a></li></ul>]]></content:encoded> <wfw:commentRss>http://ixhan.com/2009/11/osx-terminal-keyshort/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>用 Redmine 管理iPhone项目中过多的图片文件</title><link>http://ixhan.com/2009/10/redmine-images-manager-system/</link> <comments>http://ixhan.com/2009/10/redmine-images-manager-system/#comments</comments> <pubDate>Thu, 22 Oct 2009 06:11:02 +0000</pubDate> <dc:creator>xhan</dc:creator> <category><![CDATA[Rails]]></category> <category><![CDATA[c]]></category> <category><![CDATA[项目管理]]></category> <category><![CDATA[iOS]]></category> <category><![CDATA[png]]></category> <category><![CDATA[redmine]]></category> <category><![CDATA[svn]]></category> <guid
isPermaLink="false">http://ixhan.com/?p=110</guid> <description><![CDATA[<a
href="http://ixhan.com/2009/10/redmine-images-manager-system/" title="用 Redmine 管理iPhone项目中过多的图片文件"></a>XCode 项目管理估计是人见人恨，如果是一堆人一起做一个项目。真会被项目文件整疯的。 而如果项目中有大量图片（数百张级别），并且频繁更新。那你完了。 之前的流程是这样的：美工更新了图片到服务器共享文件夹，然后程序部再取下来更新项目中对应的图片或添加。步骤繁琐，而且更新不及时，非常影响程序部的效率。 然后计划给美工找个 osx 下简单好用的svn管理工具，找了多款也不满意。最后就诞生了这个简单的基于redmine的小插件。 &#8212;&#8212;&#8212;&#8212;&#8211; 分割线  &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- 功能：同步项目中大量图片。 流程：按照正常方式更新图片，然后进入redmine进入图片提交系统，将改动提交到svn版本库。然后程序部更新项目文件，移除图片文件夹的引用，再重新将文件夹拖进去，更新项目管理配置文件。完成。 原理介绍：由于图片在svn中均被识别成bin文件，所以不会出现冲突情况，这样处理起来就非常简单了。只有3个状态：新建，修改和删除。 注1：本服务器使用的是freeBSD，无法支持中文命令，所以加了个判断是否是中文的条件。 注2：本项目中所有图片，文件夹都没有空格。如果存在请修改 line.split &#8216; &#8216; 这句话。 注3：该代码很简单，没有太多纠错功能和提示。但是至少效果很好。 注4：使用前记得给www用户提供访问该svn文件夹的权限(i.e chmod -R 777 folderName ;chown -R www:www folderName)。 源代码：(gist) Related Postsnow or neverTutorial of kissXML(iPhone)Things I&#8217;ve done int past &#8230;<p
class="read-more"><a
href="http://ixhan.com/2009/10/redmine-images-manager-system/">Read more &#187;</a></p>]]></description> <content:encoded><![CDATA[<a
href="http://ixhan.com/2009/10/redmine-images-manager-system/" title="用 Redmine 管理iPhone项目中过多的图片文件"></a><p>XCode 项目管理估计是人见人恨，如果是一堆人一起做一个项目。真会被项目文件整疯的。</p><p>而如果项目中有大量图片（数百张级别），并且频繁更新。那你完了。</p><p>之前的流程是这样的：美工更新了图片到服务器共享文件夹，然后程序部再取下来更新项目中对应的图片或添加。步骤繁琐，而且更新不及时，非常影响程序部的效率。</p><p>然后计划给美工找个 osx 下简单好用的svn管理工具，找了多款也不满意。最后就诞生了这个简单的基于redmine的小插件。</p><div
id="attachment_115" class="wp-caption aligncenter" style="width: 310px"><a
href="http://ixhan.com/wp-content/uploads/2009/10/ImageSVNCommitPlugin.png"><img
class="size-medium wp-image-115" title="ImageSVNCommitPlugin" src="http://ixhan.com/wp-content/uploads/2009/10/ImageSVNCommitPlugin-300x259.png" alt="Redmine Image SVN plugin" width="300" height="259" /></a><p
class="wp-caption-text">Redmine Image SVN plugin</p></div><p><span
id="more-110"></span>&#8212;&#8212;&#8212;&#8212;&#8211; 分割线  &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p><p><strong>功能</strong>：同步项目中大量图片。<br
/> <strong>流程</strong>：按照正常方式更新图片，然后进入redmine进入图片提交系统，将改动提交到svn版本库。然后程序部更新项目文件，移除图片文件夹的引用，再重新将文件夹拖进去，更新项目管理配置文件。完成。<br
/> <strong>原理介绍</strong>：由于图片在svn中均被识别成bin文件，所以不会出现冲突情况，这样处理起来就非常简单了。只有3个状态：新建，修改和删除。</p><p>注1：本服务器使用的是freeBSD，无法支持中文命令，所以加了个判断是否是中文的条件。<br
/> 注2：本项目中所有图片，文件夹都没有空格。如果存在请修改<em> line.split &#8216; &#8216; </em>这句话。<br
/> 注3：该代码很简单，没有太多纠错功能和提示。但是至少效果很好。<br
/> 注4：使用前记得给www用户提供访问该svn文件夹的权限(i.e chmod -R 777 folderName ;chown -R www:www folderName)。</p><p>源代码：(<a
target="_blank" href="http://gist.github.com/215777"><code>gist</code></a>)<br
/> <script src="http://gist.github.com/215777.js"></script></p><h3  class="related_post_title">Related Posts</h3><ul
class="related_post"><li><a
href="http://ixhan.com/2010/05/now-or-never/" title="now or never">now or never</a></li><li><a
href="http://ixhan.com/2010/03/tutorial-of-kissxml-iphone/" title="Tutorial of  kissXML(iPhone)">Tutorial of  kissXML(iPhone)</a></li><li><a
href="http://ixhan.com/2009/11/things-ive-done-in-past-5-months/" title="Things I&#8217;ve done int past 5 months">Things I&#8217;ve done int past 5 months</a></li><li><a
href="http://ixhan.com/2009/10/convert-iphone-png-to-origin/" title="将编译好的iPhone程序的PNG还原">将编译好的iPhone程序的PNG还原</a></li></ul>]]></content:encoded> <wfw:commentRss>http://ixhan.com/2009/10/redmine-images-manager-system/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
