<?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>Leeiio Chaos Made. &#187; 設計資源</title>
	<atom:link href="http://leeiio.me/category/design/resource/feed/" rel="self" type="application/rss+xml" />
	<link>http://leeiio.me</link>
	<description>The site is redesigning,please be patient  :P</description>
	<lastBuildDate>Sun, 29 Jan 2012 16:40:23 +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>同步你的 Mercurial(Hg) 和 Git 版本库</title>
		<link>http://leeiio.me/synchronizing-a-mercurial-repository-with-git/</link>
		<comments>http://leeiio.me/synchronizing-a-mercurial-repository-with-git/#comments</comments>
		<pubDate>Wed, 08 Sep 2010 13:59:41 +0000</pubDate>
		<dc:creator>Leeiio</dc:creator>
				<category><![CDATA[設計資源]]></category>
		<category><![CDATA[Git]]></category>
		<category><![CDATA[Hg]]></category>
		<category><![CDATA[Hg-Git]]></category>
		<category><![CDATA[Mercurial]]></category>

		<guid isPermaLink="false">http://leeiio.me/?p=2141</guid>
		<description><![CDATA[我的Vim的配置文件之前都是托管在Bitbucket的，因为公司用的也是Hg，所以相对对于Hg使用更熟练一点。虽然Hg和Git都是分布式版本管理工具，但是Hg在使用上以及学习上确实简单不少，很容易上手了。但是还是有很多人是喜欢用Git的，所以我必须要把我的Vim的配置同时用Git来进行版本管理，然后push到著名的Github网站，这样Git使用者也可以很方便的watch以及pull我的最新配置(虽然目前还没有什么人watch&#8230;)。 之前的做法比较傻，为了让Git和Hg管理同一个目录，通常操作完Hg的push，然后再用Git进行commit然后push，虽然也是能达到版本库同步的目的，但是很繁琐，因为要分别用Hg和Git进行commit和push操作，有时候还会面临merge问题，实在不是一个好方法。 那肯定是有更好的方法咯？当然！有一个Hg的插件叫做Hg-Git正好满足了这样的需求。 什么是Hg-Git Hg-Git是Mercurial(Hg)的扩展插件，为Hg增加了从Git服务器pull和push到Git服务器的功能。这意味着你可以从Git的服务器上pull代码然后转变成Hg版本库来进行管理，同时意味着你可以同时把你的Hg版本库push到Git服务器。 安装Hg-Git 简单方式 在你的命令行终端里运行easy_install hg-git，然后查看你的~/.hgrc文件里是否有如下几行代码 &#91;extensions&#93; hgext.bookmarks = hggit = esay_install 是python 包管理工具，它的作用类似于Php中的pear，或者Ruby中的gem，或者Perl中的cpan，或者haskell 中的cabal。 手动方式 从Hg-Git托管在Github的代码库http://github.com/schacon/hg-git/zipball/master里下载然后放置到某个目录。当然前提是你安装了0.4.0或者更新版本的dulwich。你可以使用easy_install &#8216;dulwich>=0.4.0&#8242; 命令进行安装如果你安装了setuptools。接着打开你的~/.hgrc文件，复制并编辑如下配置 &#91;extensions&#93; hgext.bookmarks = hggit = &#91;path-to&#93;/hg-git/hggit 这样就安装好了Hg-Git扩展，这里的配置中bookmarks的配置并不是必须的，但是当在push的时候它会被转化成Git的heads。 用法 如果你想要用Hg clone一個Git版本库，只需使用hg clone [url]便可，例如 $ hg clone git+ssh://git@github.com:Leeiio/Vim.git push的命令也很简单 $ &#8230; <a href="http://leeiio.me/synchronizing-a-mercurial-repository-with-git/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img src="http://imgs.leeiio.me/blogimgs/2010/09/20100908_hg_git_sync.jpg" alt="同步你的 Mercurial(Hg) 和 Git 版本库" /><br />
我的Vim的配置文件之前都是托管在Bitbucket的，因为公司用的也是Hg，所以相对对于Hg使用更熟练一点。虽然Hg和Git都是分布式版本管理工具，但是Hg在使用上以及学习上确实简单不少，很容易上手了。但是还是有很多人是喜欢用Git的，所以我必须要把我的Vim的配置同时用Git来进行版本管理，然后push到著名的Github网站，这样Git使用者也可以很方便的watch以及pull我的最新配置(虽然目前还没有什么人watch&#8230;)。</p>
<p>之前的做法比较傻，为了让Git和Hg管理同一个目录，通常操作完Hg的push，然后再用Git进行commit然后push，虽然也是能达到版本库同步的目的，但是很繁琐，因为要分别用Hg和Git进行commit和push操作，有时候还会面临merge问题，实在不是一个好方法。<br />
<span id="more-2141"></span><br />
那肯定是有更好的方法咯？当然！有一个Hg的插件叫做<a href="http://hg-git.github.com/" rel="nofollow">Hg-Git</a>正好满足了这样的需求。</p>
<h2 class="part-title">什么是Hg-Git</h2>
<p>Hg-Git是Mercurial(Hg)的扩展插件，为Hg增加了从Git服务器pull和push到Git服务器的功能。这意味着你可以从Git的服务器上pull代码然后转变成Hg版本库来进行管理，同时意味着你可以同时把你的Hg版本库push到Git服务器。</p>
<h2 class="part-title">安装Hg-Git</h2>
<h4>简单方式</h4>
<p>在你的命令行终端里运行easy_install hg-git，然后查看你的~/.hgrc文件里是否有如下几行代码</p>

<div class="wp_syntax"><div class="code"><pre class="ini" style="font-family:monospace;"><span style="color: #000066; font-weight:bold;"><span style="">&#91;</span>extensions<span style="">&#93;</span></span>
hgext.bookmarks <span style="color: #000066; font-weight:bold;">=</span>
<span style="color: #000099;">hggit</span> <span style="color: #000066; font-weight:bold;">=</span></pre></div></div>

<p>esay_install 是python 包管理工具，它的作用类似于Php中的pear，或者Ruby中的gem，或者Perl中的cpan，或者haskell 中的cabal。</p>
<h4>手动方式</h4>
<p>从Hg-Git托管在Github的代码库http://github.com/schacon/hg-git/zipball/master里下载然后放置到某个目录。当然前提是你安装了0.4.0或者更新版本的dulwich。你可以使用easy_install &#8216;dulwich>=0.4.0&#8242; 命令进行安装如果你安装了setuptools。接着打开你的~/.hgrc文件，复制并编辑如下配置</p>

<div class="wp_syntax"><div class="code"><pre class="ini" style="font-family:monospace;"><span style="color: #000066; font-weight:bold;"><span style="">&#91;</span>extensions<span style="">&#93;</span></span>
hgext.bookmarks <span style="color: #000066; font-weight:bold;">=</span>
<span style="color: #000099;">hggit</span> <span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;"> <span style="color: #000066; font-weight:bold;"><span style="">&#91;</span>path-to<span style="">&#93;</span></span>/hg-git/hggit</span></pre></div></div>

<p>这样就安装好了Hg-Git扩展，这里的配置中bookmarks的配置并不是必须的，但是当在push的时候它会被转化成Git的heads。</p>
<h2 class="part-title">用法</h2>
<p>如果你想要用Hg clone一個Git版本库，只需使用hg clone [url]便可，例如</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ hg clone <span style="color: #c20cb9; font-weight: bold;">git</span>+<span style="color: #c20cb9; font-weight: bold;">ssh</span>:<span style="color: #000000; font-weight: bold;">//</span><span style="color: #c20cb9; font-weight: bold;">git</span><span style="color: #000000; font-weight: bold;">@</span>github.com:Leeiio<span style="color: #000000; font-weight: bold;">/</span>Vim.git</pre></div></div>

<p>push的命令也很简单</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ hg push <span style="color: #c20cb9; font-weight: bold;">git</span>+<span style="color: #c20cb9; font-weight: bold;">ssh</span>:<span style="color: #000000; font-weight: bold;">//</span><span style="color: #c20cb9; font-weight: bold;">git</span><span style="color: #000000; font-weight: bold;">@</span>github.com:Leeiio<span style="color: #000000; font-weight: bold;">/</span>Vim.git</pre></div></div>

<p>如果不想每次输入这么长的git服务器地址，你可以打开.hg/hgrc文件，编辑如下</p>

<div class="wp_syntax"><div class="code"><pre class="ini" style="font-family:monospace;"><span style="color: #000066; font-weight:bold;"><span style="">&#91;</span>paths<span style="">&#93;</span></span>
<span style="color: #000099;">default</span> <span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;"> https://leeiio@bitbucket.org/leeiio/vim</span>
<span style="color: #000099;">git</span> <span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;"> git+ssh://git@github.com:Leeiio/Leeiio.git</span></pre></div></div>

<p>这样便可以直接使用如下命令来进行push操作了</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ hg push <span style="color: #c20cb9; font-weight: bold;">git</span></pre></div></div>

<p>更多使用方法参见 <a href="http://github.com/schacon/hg-git" rel="nofollow">http://github.com/schacon/hg-git</a></p>
<h2 class="part-title">同步目前已存在的Hg版本库到Git</h2>
<p>从bitbucket服务器clone一份Hg的版本到本地做示范用，如果你本地已经存在一份需要被转换以及同步的Hg版本库就略过此步骤，只要cd要你的Hg管理的项目目录即可。</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ hg clone https:<span style="color: #000000; font-weight: bold;">//</span>leeiio<span style="color: #000000; font-weight: bold;">@</span>bitbucket.org<span style="color: #000000; font-weight: bold;">/</span>leeiio<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">vim</span> vim-test
requesting all changes
adding changesets
adding manifests
adding <span style="color: #c20cb9; font-weight: bold;">file</span> changes
added <span style="color: #000000;">23</span> changesets with <span style="color: #000000;">418</span> changes to <span style="color: #000000;">239</span> files
updating to branch default
<span style="color: #000000;">239</span> files updated, <span style="color: #000000;">0</span> files merged, <span style="color: #000000;">0</span> files removed, <span style="color: #000000;">0</span> files unresolved
$ <span style="color: #7a0874; font-weight: bold;">cd</span> vim-test<span style="color: #000000; font-weight: bold;">/</span></pre></div></div>

<p>创建一个bookmark，然后push到Git服务器</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ hg bookmark <span style="color: #660033;">-r</span> default master
$ hg push <span style="color: #c20cb9; font-weight: bold;">git</span>+<span style="color: #c20cb9; font-weight: bold;">ssh</span>:<span style="color: #000000; font-weight: bold;">//</span><span style="color: #c20cb9; font-weight: bold;">git</span><span style="color: #000000; font-weight: bold;">@</span>github.com:Leeiio<span style="color: #000000; font-weight: bold;">/</span>vim-test.git
pushing to <span style="color: #c20cb9; font-weight: bold;">git</span>+<span style="color: #c20cb9; font-weight: bold;">ssh</span>:<span style="color: #000000; font-weight: bold;">//</span><span style="color: #c20cb9; font-weight: bold;">git</span><span style="color: #000000; font-weight: bold;">@</span>github.com:Leeiio<span style="color: #000000; font-weight: bold;">/</span>vim-test.git
importing Hg objects into Git
creating and sending data
<span style="color: #c20cb9; font-weight: bold;">git</span>::refs<span style="color: #000000; font-weight: bold;">/</span>heads<span style="color: #000000; font-weight: bold;">/</span>master =<span style="color: #000000; font-weight: bold;">&gt;</span> GIT:092e7cf3</pre></div></div>

<p>如果你想从Git服务器上pull最近的更新的话也可以直接是用Hg的pull命令</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ hg pull <span style="color: #c20cb9; font-weight: bold;">git</span>+<span style="color: #c20cb9; font-weight: bold;">ssh</span>:<span style="color: #000000; font-weight: bold;">//</span><span style="color: #c20cb9; font-weight: bold;">git</span><span style="color: #000000; font-weight: bold;">@</span>github.com:Leeiio<span style="color: #000000; font-weight: bold;">/</span>vim-test.git
pulling from <span style="color: #c20cb9; font-weight: bold;">git</span>+<span style="color: #c20cb9; font-weight: bold;">ssh</span>:<span style="color: #000000; font-weight: bold;">//</span><span style="color: #c20cb9; font-weight: bold;">git</span><span style="color: #000000; font-weight: bold;">@</span>github.com:Leeiio<span style="color: #000000; font-weight: bold;">/</span>vim-test.git
importing Hg objects into Git
Total <span style="color: #000000;">0</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>delta <span style="color: #000000;">0</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>, reused <span style="color: #000000;">0</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>delta <span style="color: #000000;">0</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
importing Git objects into Hg
<span style="color: #7a0874; font-weight: bold;">&#40;</span>run <span style="color: #ff0000;">'hg update'</span> to get a working copy<span style="color: #7a0874; font-weight: bold;">&#41;</span></pre></div></div>

<p>是不是超级简单且强大的一个玩意？如果你也有这样的需求，那么就下载Hg-Git试试吧！</p>
]]></content:encoded>
			<wfw:commentRss>http://leeiio.me/synchronizing-a-mercurial-repository-with-git/feed/</wfw:commentRss>
		<slash:comments>35</slash:comments>
		</item>
		<item>
		<title>再谈谈文本编辑器Vim</title>
		<link>http://leeiio.me/talk-about-vim/</link>
		<comments>http://leeiio.me/talk-about-vim/#comments</comments>
		<pubDate>Thu, 26 Aug 2010 12:29:27 +0000</pubDate>
		<dc:creator>Leeiio</dc:creator>
				<category><![CDATA[設計資源]]></category>
		<category><![CDATA[MacVim]]></category>
		<category><![CDATA[Vim]]></category>

		<guid isPermaLink="false">http://leeiio.me/?p=2129</guid>
		<description><![CDATA[早前写过一篇《VIM 新手上路》，算是个基础，让你面对VIM不再觉得这是一个多么反人类的编辑器啊。把VIM打造成了一般的文本编辑器的模样之后，如果想要使用的更加顺手，你知道，是需要安装很多实用的插件和修改你的配置文件的。之前我因工作需要在Windows操作系统下，所以我用的是gVIM，现在同样是因为工作需要，我用的是MacVim，这两个都是Vim的不同系统下的GUI版本。 当然因为操作系统的问题，gVIM和MacVim在配置上是会有些细微差别的，所以在写配置的时候需要做判断，这里你可以参考我的VIMRC配置，使用HG的朋友可以folow我的在Bitbucket上的Vim项目，使用Git的可以watch我在Github上的VIM项目。 前段时间VIM升级到了7.3，除了带来不少的新特性，性能也有提升，不过因为MacVim是第三方编译维护的，所以MacVim 7.3版本会发现有些小问题，比如原来的透明度设置无效了，以及上下移动文本的时候会发现有残影，期待作者的修正版本。所以我还是用的MacVim 7.2版本。 闲耘同学的Wiki上收集了不少Vim的使用技巧和心得，是大家学习Vim值得关注的一个地方。都说Vim的学习曲线非常的陡，其实不假，我从写完上篇《VIM 新手上路》后的一段时间，也并不是一直在使用Vim，因为一些种种的不适应中间也是冷落过Vim的，毕竟Windows下有不少好用的文本编辑器，类似Notepad++和Sublime Text以及EditPlus等等等，Mac下有Coda，espresso，Textmate等等等。虽然倒现在我还是觉得Vim在查找文件方便我怎么都不顺手，虽然grep和vimgrep命令很强大，可是大部分IDE或者说是文本编辑器提供的项目搜索功能都很方便，且能快速定位到该文件，但是Vim目前已经再次成为了我的主力文本编辑器，并且我也在怂恿身边的一些朋友尝试下Vim。 Vim是键盘流的大爱，因为大部分操作都可以通过快捷键来操作实现，那么可能你就需要记忆很多的快捷键了，当然熟能生巧是记忆的一种方式，查手册也是不错的记忆方式，你查的多了，用得多了，其实自然而然就熟络了。:help命令是学习Vim不可不用得命令之一，当然默认他是英文的，不过在Sourceforge上有一个Vimcdoc的项目提供了Vim的中文文档支持，你只要安装了中文文档，再次使用:help命令的时候它显示的就是中文帮助了。 这张图片我觉得非常适合Vim新手入门，并且忘记的时候还可以时常看看，非常直观。这里还有Vim入门图解的PDF版本，方便你打印下来查看。 当你慢慢开始学着用Vim的时候，你会发现Vim真的太棒了，千万不要忘了，它还是一款开源的文本编辑器。Vim还是一款有趣的文本编辑器，看看它的彩蛋，当你输入:help 42和:h!，发现了么？当然Vim目前还不能用来洗盘子，这是作者对大家说抱歉的地方。 这个世界其实并不存在一款完美的文本编辑器，因为我常常看到一大群人在为自己使用的文本编辑器比别人的好而喋喋争论不休，其实最典型的用户群是Emacs用户和Vim用户，似乎两个阵营的人有不共戴天之仇一般，当然最终谁都是无法说服对方的，通常的争论都是如此。适合你用的文本编辑器才是最好的文本编辑器。 文中提及资源： gVIM MacVim 我的在Bitbucket上的Vim配置项目 我的在Github上的Vim配置项目 闲耘同学的关于Vim的Wiki Vim的中文文档]]></description>
			<content:encoded><![CDATA[<p><img src="http://imgs.leeiio.me/blogimgs/2010/08/20100826_talkaboutvim.png" alt="再谈谈文本编辑器Vim" /><br />
早前写过一篇<a href="http://leeiio.me/vim-novice/">《VIM 新手上路》</a>，算是个基础，让你面对VIM不再觉得这是一个多么反人类的编辑器啊。把VIM打造成了一般的文本编辑器的模样之后，如果想要使用的更加顺手，你知道，是需要安装很多实用的插件和修改你的配置文件的。之前我因工作需要在Windows操作系统下，所以我用的是<a href="http://www.vim.org/download.php#pc" rel="nofollow">gVIM</a>，现在同样是因为工作需要，我用的是<a href="http://github.com/b4winckler/macvim" rel="nofollow">MacVim</a>，这两个都是Vim的不同系统下的GUI版本。<br />
<span id="more-2129"></span><br />
当然因为操作系统的问题，<a href="http://www.vim.org/download.php#pc" rel="nofollow">gVIM</a>和<a href="http://github.com/b4winckler/macvim" rel="nofollow">MacVim</a>在配置上是会有些细微差别的，所以在写配置的时候需要做判断，这里你可以参考我的VIMRC配置，使用HG的朋友可以folow我的在<a href="http://bitbucket.org/leeiio/vim" rel="nofollow">Bitbucket上的Vim项目</a>，使用Git的可以watch我在<a href="http://github.com/leeiio/vim" rel="nofollow">Github上的VIM项目</a>。</p>
<p>前段时间VIM升级到了7.3，除了带来不少的新特性，性能也有提升，不过因为<a href="http://github.com/b4winckler/macvim" rel="nofollow">MacVim</a>是第三方编译维护的，所以MacVim 7.3版本会发现有些小问题，比如原来的透明度设置无效了，以及上下移动文本的时候会发现有残影，期待作者的修正版本。所以我还是用的MacVim 7.2版本。</p>
<p>闲耘同学的<a href="http://hotoo.github.com/vimwiki/Vim.html" rel="nofollow">Wiki</a>上收集了不少Vim的使用技巧和心得，是大家学习Vim值得关注的一个地方。都说Vim的学习曲线非常的陡，其实不假，我从写完上篇<a href="http://leeiio.me/vim-novice/">《VIM 新手上路》</a>后的一段时间，也并不是一直在使用Vim，因为一些种种的不适应中间也是冷落过Vim的，毕竟Windows下有不少好用的文本编辑器，类似Notepad++和Sublime Text以及EditPlus等等等，Mac下有Coda，espresso，Textmate等等等。虽然倒现在我还是觉得Vim在查找文件方便我怎么都不顺手，虽然grep和vimgrep命令很强大，可是大部分IDE或者说是文本编辑器提供的项目搜索功能都很方便，且能快速定位到该文件，但是Vim目前已经再次成为了我的主力文本编辑器，并且我也在怂恿身边的一些朋友尝试下Vim。</p>
<p>Vim是键盘流的大爱，因为大部分操作都可以通过快捷键来操作实现，那么可能你就需要记忆很多的快捷键了，当然熟能生巧是记忆的一种方式，查手册也是不错的记忆方式，你查的多了，用得多了，其实自然而然就熟络了。:help命令是学习Vim不可不用得命令之一，当然默认他是英文的，不过在Sourceforge上有一个Vimcdoc的项目提供了<a href="http://vimcdoc.sourceforge.net/" rel="nofollow">Vim的中文文档</a>支持，你只要安装了中文文档，再次使用:help命令的时候它显示的就是中文帮助了。</p>
<p><a href="http://blog.vgod.tw/go.php?http://people.csail.mit.edu/vgod/vim/vim-cheat-sheet-en.png" rel="nofollow" title="戳我打开大图"><img src="http://blog.vgod.tw/go.php?http://people.csail.mit.edu/vgod/vim/vim-cheat-sheet-en.png" width="500" alt="Vim操作学习图例" /></a><br />
这张图片我觉得非常适合Vim新手入门，并且忘记的时候还可以时常看看，非常直观。这里还有<a href="http://blog.vgod.tw/go.php?http://people.csail.mit.edu/vgod/vim/vim-cheat-sheet-en.pdf" rel="nofollow">Vim入门图解的PDF版本</a>，方便你打印下来查看。</p>
<p>当你慢慢开始学着用Vim的时候，你会发现Vim真的太棒了，千万不要忘了，它还是一款开源的文本编辑器。Vim还是一款有趣的文本编辑器，看看它的彩蛋，当你输入:help 42和:h!，发现了么？当然Vim目前还不能用来洗盘子，这是作者对大家说抱歉的地方。</p>
<p>这个世界其实并不存在一款完美的文本编辑器，因为我常常看到一大群人在为自己使用的文本编辑器比别人的好而喋喋争论不休，其实最典型的用户群是Emacs用户和Vim用户，似乎两个阵营的人有不共戴天之仇一般，当然最终谁都是无法说服对方的，通常的争论都是如此。适合你用的文本编辑器才是最好的文本编辑器。</p>
<p>文中提及资源：<br />
<a href="http://www.vim.org/download.php#pc" rel="nofollow">gVIM</a><br />
<a href="http://github.com/b4winckler/macvim" rel="nofollow">MacVim</a><br />
<a href="http://bitbucket.org/leeiio/vim" rel="nofollow">我的在Bitbucket上的Vim配置项目</a><br />
<a href="http://github.com/leeiio/vim" rel="nofollow">我的在Github上的Vim配置项目</a><br />
<a href="http://hotoo.github.com/vimwiki/Vim.html" rel="nofollow">闲耘同学的关于Vim的Wiki</a><br />
<a href="http://vimcdoc.sourceforge.net/" rel="nofollow">Vim的中文文档</a></p>
]]></content:encoded>
			<wfw:commentRss>http://leeiio.me/talk-about-vim/feed/</wfw:commentRss>
		<slash:comments>45</slash:comments>
		</item>
		<item>
		<title>两个CSS3样式可视化生成工具：CSS3 Please &amp; CSS3 Generator</title>
		<link>http://leeiio.me/css3-generator-tools/</link>
		<comments>http://leeiio.me/css3-generator-tools/#comments</comments>
		<pubDate>Thu, 01 Apr 2010 14:54:18 +0000</pubDate>
		<dc:creator>Leeiio</dc:creator>
				<category><![CDATA[設計資源]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[CSS3 Generator]]></category>
		<category><![CDATA[CSS3 Please]]></category>

		<guid isPermaLink="false">http://leeiio.me/?p=1972</guid>
		<description><![CDATA[CSS3随着浏览器的升级已经被越来越广泛的运用，合理的运用CSS3可以使你的网站更加美观，并且之前只能用js才能实现的效果也已经可以直接用CSS3来实现。但是虽然如此，很多浏览器对CSS3的支持还都是通过其私有属性来达到支持的，鲜有直接对W3C的标准来实现的。诸如firefox的-moz-和webkit的-webkit-属性前缀。 不过CSS3本身W3C也并未有正式版发布，现在还只是草案。下面我推荐两个很直观的，可视化的，自动生成CSS3样式代码的工具网站给大家。 1.CSS3 Generator 选择自己想要的CSS3属性，然后填写数值，右边便可直观的展示出效果了，然后你复制生成的样式代码即可。并且还列出了兼容这些样式的浏览器。可谓十分的方便。 http://www.css3generator.com/ 2.CSS3, please! 这个看起来就更加的直观了，就像做填空题一样，在网页上填写相应的数值，右上角的元素就会呈现出相应的样式。如果你不需要组合这么多效果的话，关闭掉某一些样式属性即可。可以点击“{toggle rule on} ”或者“{toggle rule off} ”来开启单项属性或者关闭。 http://css3please.com/ 正如前面所说，CSS3目前还是个草案，并且因为浏览器的关系，目前只有非主流浏览器支持，你知道的，所谓的主流浏览器就是占据了半壁多江山的IE系列了。IE系列目前只有IE8支持很少一部分的CSS3，未来的IE9倒是或许值得期待。 CSS3组合的好用的恰当确实可以使页面显示的很美观，可是如果只是为了CSS3而CSS3，诸如乱用text-shadow只是为了文字阴影而阴影个人觉得使完全没有必要的。 祝大家CSS3使用愉快。呃。]]></description>
			<content:encoded><![CDATA[<p>CSS3随着浏览器的升级已经被越来越广泛的运用，合理的运用CSS3可以使你的网站更加美观，并且之前只能用js才能实现的效果也已经可以直接用CSS3来实现。但是虽然如此，很多浏览器对CSS3的支持还都是通过其私有属性来达到支持的，鲜有直接对W3C的标准来实现的。诸如firefox的-moz-和webkit的-webkit-属性前缀。</p>
<p>不过CSS3本身W3C也并未有正式版发布，现在还只是草案。下面我推荐两个很直观的，可视化的，自动生成CSS3样式代码的工具网站给大家。</p>
<p><strong>1.CSS3 Generator</strong><br />
<img src="http://imgs.leeiio.me/blogimgs/2010/04/20100401_css3generator.png" alt="CSS3 Generator" /><br />
选择自己想要的CSS3属性，然后填写数值，右边便可直观的展示出效果了，然后你复制生成的样式代码即可。并且还列出了兼容这些样式的浏览器。可谓十分的方便。<br />
<a href="http://www.css3generator.com/" rel="nofollow">http://www.css3generator.com/</a><br />
<span id="more-1972"></span><br />
<strong>2.CSS3, please! </strong><br />
<img src="http://imgs.leeiio.me/blogimgs/2010/04/20100401_css3please.png" alt="CSS3, please! " /><br />
这个看起来就更加的直观了，就像做填空题一样，在网页上填写相应的数值，右上角的元素就会呈现出相应的样式。如果你不需要组合这么多效果的话，关闭掉某一些样式属性即可。可以点击“{toggle rule on} ”或者“{toggle rule off} ”来开启单项属性或者关闭。<br />
<a href="http://css3please.com/" rel="nofollow">http://css3please.com/</a></p>
<p>正如前面所说，CSS3目前还是个草案，并且因为浏览器的关系，目前只有非主流浏览器支持，你知道的，所谓的主流浏览器就是占据了半壁多江山的IE系列了。IE系列目前只有IE8支持很少一部分的CSS3，未来的IE9倒是或许值得期待。</p>
<p>CSS3组合的好用的恰当确实可以使页面显示的很美观，可是如果只是为了CSS3而CSS3，诸如乱用text-shadow只是为了文字阴影而阴影个人觉得使完全没有必要的。</p>
<p>祝大家CSS3使用愉快。呃。</p>
]]></content:encoded>
			<wfw:commentRss>http://leeiio.me/css3-generator-tools/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>转换你的 Subversion 到 Git</title>
		<link>http://leeiio.me/convert-subversion-to-git/</link>
		<comments>http://leeiio.me/convert-subversion-to-git/#comments</comments>
		<pubDate>Tue, 30 Mar 2010 13:08:11 +0000</pubDate>
		<dc:creator>Leeiio</dc:creator>
				<category><![CDATA[設計資源]]></category>
		<category><![CDATA[Git]]></category>
		<category><![CDATA[Github]]></category>
		<category><![CDATA[Subversion]]></category>
		<category><![CDATA[SVN]]></category>

		<guid isPermaLink="false">http://leeiio.me/?p=1943</guid>
		<description><![CDATA[当我发现我很感兴趣的项目都被其作者托管在Github的时候，让我萌生了对Git的好奇。虽然我已是如此的奥特曼，但是还是有必要写出来分享给其他还未接触 Git 的人的。之前我有介绍过《在Google Code上用 Mercurial 取代 Subversion 管理你的项目》，其实就是教大家如何把 SVN 转换到 Mercurial 且保留全部的历史记录。本文讲的则是另外一则，是教大家如何转换 SVN 到 Git，网上其实有不少的教程，但是都没有从 SVN 的 tags 到 Git 的 tags，本文提供了另外一则转换的指南，如果有不妥的地方，望请 Git 高手指教并指正。 1.安装 Git 首先，你需要安装带有 git-svn 的 Git(git-svn 可以让你 SVN 和 Git并用，如果你打算使用 Git 又不想转变你的 SVN版本库，这会是一种很好的解决方案，不过本文只是利用git-svn来一次性转换你的 SVN版本库 为 Git。) &#8230; <a href="http://leeiio.me/convert-subversion-to-git/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img src="http://imgs.leeiio.me/blogimgs/2010/03/20100330_svntogit.png" alt="转换你的 Subversion 到 Git" /><br />
当我发现我很感兴趣的项目都被其作者托管在<a href="http://github.com" rel="nofollow">Github</a>的时候，让我萌生了对Git的好奇。虽然我已是如此的奥特曼，但是还是有必要写出来分享给其他还未接触 Git 的人的。之前我有介绍过<a href="http://leeiio.me/googlecode-converting-svn-to-hg/">《在Google Code上用 Mercurial 取代 Subversion 管理你的项目》</a>，其实就是教大家如何把 SVN 转换到 Mercurial 且保留全部的历史记录。本文讲的则是另外一则，是教大家如何转换 SVN 到 Git，网上其实有不少的教程，但是都没有从 SVN 的 tags 到 Git 的 tags，本文提供了另外一则转换的指南，如果有不妥的地方，望请 Git 高手指教并指正。<br />
<span id="more-1943"></span></p>
<h2 class="part-title">1.安装 Git</h2>
<p>首先，你需要安装带有 <a href="http://www.kernel.org/pub/software/scm/git/docs/git-svn.html" rel="nofollow" class="broken_link">git-svn</a> 的 Git(git-svn 可以让你 SVN 和 Git并用，如果你打算使用 Git 又不想转变你的 SVN版本库，这会是一种很好的解决方案，不过本文只是利用git-svn来一次性转换你的 SVN版本库 为 Git。)</p>
<p>你可以在这里下载安装Git：<a href="http://git-scm.com/download" rel="nofollow">http://git-scm.com/download</a>。最新版似乎都有集成git-svn，至少我安装完以上地址提供的编译好的版本，在 Terminal 里输入 git svn会有提示&#8221;Not a git repository&#8221;。</p>
<p>如果你正在使用MAC OS X，你应该已经用过 MacPorts了吧，那么：</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">prompt<span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #c20cb9; font-weight: bold;">sudo</span> port <span style="color: #c20cb9; font-weight: bold;">install</span> git-core +<span style="color: #c20cb9; font-weight: bold;">svn</span></pre></div></div>

<p>Ubuntu 或者 Debian Linux用户:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">prompt<span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> <span style="color: #c20cb9; font-weight: bold;">git-svn</span></pre></div></div>

<h2 class="part-title">2.创建作者文件</h2>
<p>下一步，创建一个文本文件来映射 Subversion 的提交者到 Git 的作者使历史记录里的名字和email地址正确显示。保存成authors.txt：</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">guaniu = Leeiio &lt;xxx@xxx.com&gt;</pre></div></div>

<h2 class="part-title">3.克隆(clone)版本库</h2>
<p>现在来运行命令导入你的svn版本库为一个本地的Git版本库。<br />
我假定你的 svn 版本库有标准的 /trunk,/tags 以及/branches。</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">prompt<span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #c20cb9; font-weight: bold;">git</span> <span style="color: #c20cb9; font-weight: bold;">svn</span> clone <span style="color: #000000; font-weight: bold;">&lt;</span>SVN版本库地址<span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #660033;">--no-metadata</span> <span style="color: #660033;">-A</span> authors.txt <span style="color: #660033;">-t</span> tags <span style="color: #660033;">-b</span> branches <span style="color: #660033;">-T</span> trunk <span style="color: #000000; font-weight: bold;">&lt;</span>转换的目的目录名<span style="color: #000000; font-weight: bold;">&gt;</span></pre></div></div>

<p>比如以我的google code上的svn为例：</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">prompt<span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #c20cb9; font-weight: bold;">git</span> <span style="color: #c20cb9; font-weight: bold;">svn</span> clone http:<span style="color: #000000; font-weight: bold;">//</span>leeiio.googlecode.com<span style="color: #000000; font-weight: bold;">/</span>svn<span style="color: #000000; font-weight: bold;">/</span> <span style="color: #660033;">--no-metadata</span> <span style="color: #660033;">-A</span> authors.txt <span style="color: #660033;">-t</span> tags <span style="color: #660033;">-b</span> branches <span style="color: #660033;">-T</span> trunk Leeiio</pre></div></div>

<p>现在，你可以运行 git log 命令，你将会看到你全部的提交历史记录以及正确显示的提交者作者名。</p>
<h2 class="part-title">4.转换branches 为 tags</h2>
<p>现在还需要做一步处理。目前你全部的 tags 在 Git 的版本库里都成了 branches(分支)，并不是 tags。所以你需要手动转换它们。对于每一个 svn 的 tag你都将转换为 Git 的 tag，然后删除全部的 branch。用以下的命令列出：</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">promp<span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #c20cb9; font-weight: bold;">git</span> branch <span style="color: #660033;">-r</span></pre></div></div>

<p>然后列出所有的tag：</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">prompt<span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #c20cb9; font-weight: bold;">git</span> tag tagname tags<span style="color: #000000; font-weight: bold;">/</span>tagname
prompt<span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #c20cb9; font-weight: bold;">git</span> branch <span style="color: #660033;">-r</span> <span style="color: #660033;">-d</span> tags<span style="color: #000000; font-weight: bold;">/</span>tagname</pre></div></div>

<p>现在，你就有了一个本地的 Git 版本库了，包含了所有的历史记录以及 tags。</p>
<h2 class="part-title">5.Push(推送)到一个公共的版本库</h2>
<p>当然如果你并不想在网上分享你的 Git 版本库，这一步的操作你大可不必了。<br />
以 github 为例：</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">prompt<span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #c20cb9; font-weight: bold;">git</span> remote add origin <span style="color: #c20cb9; font-weight: bold;">git</span><span style="color: #000000; font-weight: bold;">@</span>github.com:userid<span style="color: #000000; font-weight: bold;">/</span>project.git
prompt<span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #c20cb9; font-weight: bold;">git</span> push origin master <span style="color: #660033;">--tags</span></pre></div></div>

<p>Well Done!一切搞定了。开始你的 Git 之旅吧。</p>
<p>最后，附送一个为 SVN用户过渡到Git的<a href="http://git.or.cz/course/svn.html" rel="nofollow">使用手册</a>。</p>
<p>Via. <a href="http://pauldowman.com/2008/07/26/how-to-convert-from-subversion-to-git/" rel="nofollow">How to convert from Subversion to Git</a></p>
]]></content:encoded>
			<wfw:commentRss>http://leeiio.me/convert-subversion-to-git/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>在Google Code上用 Mercurial 取代 Subversion 管理你的项目</title>
		<link>http://leeiio.me/googlecode-converting-svn-to-hg/</link>
		<comments>http://leeiio.me/googlecode-converting-svn-to-hg/#comments</comments>
		<pubDate>Fri, 12 Mar 2010 08:20:39 +0000</pubDate>
		<dc:creator>Leeiio</dc:creator>
				<category><![CDATA[設計資源]]></category>
		<category><![CDATA[Google Code]]></category>
		<category><![CDATA[Hg]]></category>
		<category><![CDATA[Mercurial]]></category>
		<category><![CDATA[Subversion]]></category>

		<guid isPermaLink="false">http://leeiio.me/?p=1903</guid>
		<description><![CDATA[之前，我一直都是用的SVN作为我日常的版本控制工具，诸如代码啊文档啊之类的东西。至于CVS这么复古的版本控制工具更是没有机会去尝试。说到SVN控制版本的话，作为托管服务商比较好的就有google code，本人也一直在使用。最近，由于一些项目的原因，了解到了另外一个版本控制工具Hg，当然Hg不是它的原名，原名叫Mercurial，都是水银的意思，所以通常称呼为Hg。 与集中式版本控制工具SVN不同的是，Hg是一种分布式版本控制工具。除了Hg，还有大名鼎鼎的Git也是分布式版本控制工具。想要更具体的了解版本控制工具的，推荐阅读胡凯《为什么我们要放弃Subversion》， 风云《分 布式的版本控制工具》，猛禽《分 布式版本控制（一）》 《分 布式版本控制（二） 》，Sparkle《我 与Mercurial 系列等几篇文章》等。只是想了解Mercurial(Hg)的话，Mercurial官方wiki已经有很详尽的资料和帮助文档了。 接下来回到本文的正题。本文的起因是Google Code在早前除了支持SVN托管代码外，更支持了分布式版本控制Mercurial(Hg)来管理你托管在Google Code上的项目。至于Google为什么在这么多种的分布式版本控制工具中选择了Mercurial而不是Git，这里有一篇文章，推荐阅读一下《Git 與 Mercurial 的分析》，原文《Analysis of Git and Mercurial》。 下面，就教大家怎么让Google Code用Mercurial替代Subversion来管理你的项目。原文 http://code.google.com/p/support/wiki/ConvertingSvnToHg。 在Google Code里设置由Mercurial来管理项目 访问你已经存在的google code项目页面，选择 “Administer” 选项页,然后选择下级分类选项页 “Source”。 改变第一项Repository type为Mercurial。 参照下文介绍的“如何转换Google Code里Subversion的历史记录到Mercurial中”，导入你的代码到 Hg 代码库中 以同样的导入代码的方式，导入你的wiki到Hg wiki库中。确认你使用的subversion代码库的wiki路径(例如 http://projectname.googlecode.com/svn/wiki) &#8230; <a href="http://leeiio.me/googlecode-converting-svn-to-hg/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img src="http://imgs.leeiio.me/blogimgs/2010/03/20100312_googlecode-converting-svn-to-hg.png" alt="在Google Code上用 Mercurial 取代 Subversion 管理你的项目" /><br />
之前，我一直都是用的SVN作为我日常的版本控制工具，诸如代码啊文档啊之类的东西。至于<a rel="nofollow" href="http://zh.wikipedia.org/zh-cn/協作版本系統">CVS</a>这么复古的版本控制工具更是没有机会去尝试。说到SVN控制版本的话，作为托管服务商比较好的就有google code，本人也一直在使用。最近，由于一些项目的原因，了解到了另外一个版本控制工具Hg，当然Hg不是它的原名，原名叫<a rel="nofollow" href="http://mercurial.selenic.com/">Mercurial</a>，都是水银的意思，所以通常称呼为Hg。<br />
<span id="more-1903"></span><br />
与集中式版本控制工具SVN不同的是，Hg是一种分布式版本控制工具。除了Hg，还有大名鼎鼎的<a rel="nofollow" href="http://git-scm.com/">Git</a>也是分布式版本控制工具。想要更具体的了解版本控制工具的，推荐阅读胡凯《<a href="http://www.infoq.com/cn/articles/thoughtworks-practice-partiv" rel="nofollow">为什么我们要放弃Subversion</a>》，<br />
风云《<a href="http://blog.codingnow.com/2008/01/distributed_version_control.html" rel="nofollow">分 布式的版本控制工具</a>》，猛禽《<a href="http://blog.csdn.net/Raptor/archive/2008/02/29/2133797.aspx" rel="nofollow">分 布式版本控制（一）</a>》 《<a href="http://blog.csdn.net/Raptor/archive/2008/03/04/2145492.aspx" rel="nofollow">分 布式版本控制（二） </a>》，Sparkle《<a href="http://weavesky.com/2008/01/25/mercurial-and-me/" rel="nofollow">我 与Mercurial 系列等几篇文章</a>》等。只是想了解Mercurial(Hg)的话，<a href="http://mercurial.selenic.com/wiki/" rel="nofollow">Mercurial官方wiki</a>已经有很详尽的资料和帮助文档了。</p>
<p>接下来回到本文的正题。本文的起因是Google Code在早前除了支持SVN托管代码外，更支持了分布式版本控制Mercurial(Hg)来管理你托管在Google Code上的项目。至于Google为什么在这么多种的分布式版本控制工具中选择了Mercurial而不是Git，这里有一篇文章，推荐阅读一下<a rel="nofollow" href="http://blog.twpug.org/416" rel="nofollow">《Git 與 Mercurial 的分析》</a>，原文<a href="http://code.google.com/p/support/wiki/DVCSAnalysis" rel="nofollow">《Analysis of Git and Mercurial》</a>。</p>
<p><strong>下面，就教大家怎么让Google Code用Mercurial替代Subversion来管理你的项目。</strong>原文 http://code.google.com/p/support/wiki/ConvertingSvnToHg。</p>
<h2 class="part-title">在Google Code里设置由Mercurial来管理项目</h2>
<ol>
<li>访问你已经存在的google code项目页面，选择 “Administer” 选项页,然后选择下级分类选项页 “Source”。 </li>
<li>改变第一项Repository type为Mercurial。</li>
<li>参照下文介绍的“如何转换Google Code里Subversion的历史记录到Mercurial中”，导入你的代码到 Hg 代码库中 </li>
<li>以同样的导入代码的方式，导入你的wiki到Hg wiki库中。确认你使用的subversion代码库的wiki路径(例如 http://projectname.googlecode.com/svn/wiki) 以及 Hg 代码库的wiki路径(http://wiki.projectname.googlecode.com/hg/) </li>
</ol>
<p>在你切换你的项目使用Mercurial管理后，你的旧Subversion项目仍然可以访问，所以在你切换之前你不需要备份你的代码库。你的Subversion版本库将会保持访问: https://projectname.googlecode.com/svn/</p>
<h2 class="part-title">如何转换Google Code里Subversion的历史记录到Mercurial中</h2>
<p><strong>第一种方式：简要截取</strong><br />
如果你不在乎你原来项目的历史记录，那么你可以简单地从Subversion里的主干代码或者wiki中提取最新的代码然后放到你的Mercurial中。假设你googlecode里的 Mercurial代码库是空的，那么可以这样操作：</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"> $ hg clone https:<span style="color: #000000; font-weight: bold;">//</span>projectname.googlecode.com<span style="color: #000000; font-weight: bold;">/</span>hg hg-client
 $ <span style="color: #7a0874; font-weight: bold;">cd</span> hg-client
 $ <span style="color: #c20cb9; font-weight: bold;">svn</span> <span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #660033;">--force</span> http:<span style="color: #000000; font-weight: bold;">//</span>projectname.googlecode.com<span style="color: #000000; font-weight: bold;">/</span>svn<span style="color: #000000; font-weight: bold;">/</span>trunk .
 $ hg add .
 $ hg commit <span style="color: #660033;">-m</span> <span style="color: #ff0000;">&quot;Initial import of source.&quot;</span>
 $ hg push</pre></div></div>

<p>接着转换你的wiki：</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"> $ hg clone https:<span style="color: #000000; font-weight: bold;">//</span>wiki.projectname.googlecode.com<span style="color: #000000; font-weight: bold;">/</span>hg hg-client-wiki
 $ <span style="color: #7a0874; font-weight: bold;">cd</span> hg-client-wiki
 $ <span style="color: #c20cb9; font-weight: bold;">svn</span> <span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #660033;">--force</span> http:<span style="color: #000000; font-weight: bold;">//</span>projectname.googlecode.com<span style="color: #000000; font-weight: bold;">/</span>svn<span style="color: #000000; font-weight: bold;">/</span>wiki .
 $ hg add .
 $ hg commit <span style="color: #660033;">-m</span> <span style="color: #ff0000;">&quot;Initial import of wiki.&quot;</span>
 $ hg push</pre></div></div>

<p><strong>第二种方式：完整历史记录转换</strong><br />
如果你要迁移你整个的历史记录，整个过程可能要你更多的参与了。你将会需要先安装一些特殊的工具程序。<br />
<strong>安装工具</strong></p>
<ul>
<li>&#8216;hg convert&#8217;扩展模块。最新版本的Mercurial已经包含这个模块，请确保你的hg版本为1.1 或者 1.2 或者更高版本。 (可用&#8221;hg &#8211;version&#8221;命令查看) 然后在你的.hgrc里面添加如下代码启用该扩展模块:

<div class="wp_syntax"><div class="code"><pre class="c" style="font-family:monospace;"><span style="color: #009900;">&#91;</span>extensions<span style="color: #009900;">&#93;</span>
hgext.<span style="color: #202020;">convert</span><span style="color: #339933;">=</span></pre></div></div>

</li>
<li>Subversion的swig-python绑定。请确保您有最近的Subversion安装（1.5或1.6）。绝大部分的Subversion衍生版本都有与python的绑定，或者提供他们额外的二进制包。你可以运行如下代码检查你的svn &#8211; python的绑定是否正常：

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ python <span style="color: #660033;">-c</span> <span style="color: #ff0000;">&quot;import svn.core; print svn.core.SVN_VER_MINOR&quot;</span>
        <span style="color: #000000;">5</span></pre></div></div>

<p>如果失败，或返回的版本低于5，则肯定是不对的。如果你没有二进制软件包，你可以从Subversion自己的源代码树中建立：</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">svn</span> checkout http:<span style="color: #000000; font-weight: bold;">//</span>svn.collab.net<span style="color: #000000; font-weight: bold;">/</span>repos<span style="color: #000000; font-weight: bold;">/</span>svn<span style="color: #000000; font-weight: bold;">/</span>tags<span style="color: #000000; font-weight: bold;">/</span>1.6.0 <span style="color: #c20cb9; font-weight: bold;">svn</span>
$ <span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #c20cb9; font-weight: bold;">svn</span>
$ .<span style="color: #000000; font-weight: bold;">/</span>autogen.sh <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> .<span style="color: #000000; font-weight: bold;">/</span>configure
$ <span style="color: #c20cb9; font-weight: bold;">make</span>
$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span>
$ <span style="color: #c20cb9; font-weight: bold;">make</span> swig-py  <span style="color: #666666; font-style: italic;"># make sure you have swig 1.3 installed already</span>
$ <span style="color: #c20cb9; font-weight: bold;">make</span> check-swig-py
$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">make</span> install-swig-py</pre></div></div>

<p>如果你在Ubuntu的Hardy版本，你可以在hardy-backports里找到1.5版的python-subversion: <a href="http://packages.ubuntu.com/hardy-backports/python-subversion" rel="nofollow">http://packages.ubuntu.com/hardy-backports/python-subversion</a><br />
这可能还需要安装backports里的libsvn1, subversion, mercurial-common, 和mercurial 包。
        </li>
</ul>
<p><strong>开始转换</strong><br />
现在我们开始转换&#8211; branches(分支), tags(标签)以及其他全部:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">mkdir</span> hg-client
$ hg convert http:<span style="color: #000000; font-weight: bold;">//</span>projectname.googlecode.com<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">svn</span> hg-client</pre></div></div>

<p>一旦完成转换，你就可以push你最新的历史记录到你的Google Code项目中(前提是你有了一个空的Mercurial版本库):</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #7a0874; font-weight: bold;">cd</span> hg-client
$ hg push https:<span style="color: #000000; font-weight: bold;">//</span>projectname.googlecode.com<span style="color: #000000; font-weight: bold;">/</span>hg</pre></div></div>

<p>至此，大功告成。</p>
]]></content:encoded>
			<wfw:commentRss>http://leeiio.me/googlecode-converting-svn-to-hg/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>在Vim里玩Zen Coding</title>
		<link>http://leeiio.me/zen-coding-in-vim/</link>
		<comments>http://leeiio.me/zen-coding-in-vim/#comments</comments>
		<pubDate>Mon, 08 Mar 2010 05:21:53 +0000</pubDate>
		<dc:creator>Leeiio</dc:creator>
				<category><![CDATA[設計資源]]></category>
		<category><![CDATA[Vim]]></category>
		<category><![CDATA[Vim插件]]></category>

		<guid isPermaLink="false">http://leeiio.me/?p=1880</guid>
		<description><![CDATA[Zen Coding确实是一个很不错的快速写代码的方式，自@zen_coding发布以来，受到了不少前端人士的追捧和青睐。试想只要输入div#content>h1+p即可得到&#60;div id="content">&#60;h1>&#60;/h1>&#60;p>&#60;/p>&#60;/div>这么一段代码，无疑减少了很多次对键盘的敲击，省力省键盘。你想更多的了解Zen Coding可以戳此查看更详细的介绍。 Vim之前我有做过简单的介绍，与其说介绍，不如说是简单的折腾。而Zen Coding的官方项目地址Google Code上还木有Zen Coding的vim插件，倒是在VIM的主页上找到了VIM 的 Zen Coding 插件ZenCoding.vim。如果想跟进这个插件的版本的话，可以Github上找到这个VIM插件的的最新情况http://github.com/mattn/zencoding-vim。 ZenCoding.vim插件提供的默认展开代码的快捷键是,也就是Ctrl + y and Comma。例如输入html:5_(_为光标的位置)，然后输入“&#60;c-y>,”，就会展开成 &#60;!DOCTYPE HTML&#62; &#60;html lang=&#34;en&#34;&#62; &#60;head&#62; &#60;title&#62;&#60;/title&#62; &#60;meta charset=&#34;UTF-8&#34;&#62; &#60;/head&#62; &#60;body&#62; _ &#60;/body&#62; &#60;/html&#62; 输入div#foo$*2>div.bar，然后输入“&#60;c-y>,”就会展开成 &#60;div id=&#34;foo1&#34;&#62; &#60;div class=&#34;bar&#34;&#62;_&#60;/div&#62; &#60;/div&#62; &#60;div id=&#34;foo2&#34;&#62; &#60;div class=&#34;bar&#34;&#62;&#60;/div&#62; &#8230; <a href="http://leeiio.me/zen-coding-in-vim/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img src="http://imgs.leeiio.me/blogimgs/2010/03/20100308-vimzencoding.png" alt="Zen coding in vim" /><br />
Zen Coding确实是一个很不错的快速写代码的方式，自<a rel="nofollow" href="https://twitter.com/zen_coding">@zen_coding</a>发布以来，受到了不少前端人士的追捧和青睐。试想只要输入<code class="code-inline">div#content>h1+p</code>即可得到<code class="code-inline">&lt;div id="content">&lt;h1>&lt;/h1>&lt;p>&lt;/p>&lt;/div></code>这么一段代码，无疑减少了很多次对键盘的敲击，省力省键盘。你想更多的了解Zen Coding可以<a rel="nofollow" href="http://www.qianduan.net/zen-coding-a-new-way-to-write-html-code.html">戳此</a>查看更详细的介绍。<br />
<span id="more-1880"></span><br />
Vim之前我有做过<a href="http://leeiio.me/vim-novice/">简单的介绍</a>，与其说介绍，不如说是<a href="http://leeiio.me/vim-novice/">简单的折腾</a>。而Zen Coding的官方项目地址<a href="http://code.google.com/p/zen-coding/" rel="nofollow">Google Code</a>上还木有Zen Coding的vim插件，倒是在VIM的主页上找到了VIM 的 Zen Coding 插件<a rel="nofollow" href="http://www.vim.org/scripts/script.php?script_id=2981">ZenCoding.vim</a>。如果想跟进这个插件的版本的话，可以Github上找到这个VIM插件的的最新情况<a href="http://github.com/mattn/zencoding-vim" rel="nofollow">http://github.com/mattn/zencoding-vim</a>。</p>
<p>ZenCoding.vim插件提供的默认展开代码的快捷键是<c-y>,也就是Ctrl + y and Comma。例如输入<code class="code-inline">html:5_</code>(_为光标的位置)，然后输入“&lt;c-y>,”，就会展开成</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #00bbdd;">&lt;!DOCTYPE HTML&gt;</span> 
 <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">html</span> <span style="color: #000066;">lang</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;en&quot;</span>&gt;</span> 
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">head</span>&gt;</span> 
    <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">title</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">title</span>&gt;</span> 
    <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">meta</span> <span style="color: #000066;">charset</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;UTF-8&quot;</span>&gt;</span> 
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">head</span>&gt;</span> 
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">body</span>&gt;</span> 
      _ 
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">body</span>&gt;</span> 
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">html</span>&gt;</span></pre></div></div>

<p>输入<code class="code-inline">div#foo$*2>div.bar</code>，然后输入“&lt;c-y>,”就会展开成</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;foo1&quot;</span>&gt;</span> 
   <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;bar&quot;</span>&gt;</span>_<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span> 
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span> 
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;foo2&quot;</span>&gt;</span> 
    <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;bar&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span> 
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span></pre></div></div>

<p><strong>当然，你也可以根据自己的习惯设置展开代码的快捷键，你可以通过在你的vimrc配置文件里写入以下配置来覆盖zencoding.vim插件的默认设置。</strong></p>

<div class="wp_syntax"><div class="code"><pre class="vim" style="font-family:monospace;"><span style="color: #804040;">let</span> g<span style="color: #000000;">:</span>user_zen_settings = <span style="color: #000000;">&#123;</span> 
  \  <span style="color: #C5A22D;">'indentation'</span> <span style="color: #000000;">:</span> <span style="color: #C5A22D;">'  '</span>, 
  \  <span style="color: #C5A22D;">'perl'</span> <span style="color: #000000;">:</span> <span style="color: #000000;">&#123;</span> 
  \    <span style="color: #C5A22D;">'aliases'</span> <span style="color: #000000;">:</span> <span style="color: #000000;">&#123;</span> 
  \      <span style="color: #C5A22D;">'req'</span> <span style="color: #000000;">:</span> <span style="color: #C5A22D;">'require '</span> 
  \    <span style="color: #000000;">&#125;</span>, 
  \    <span style="color: #C5A22D;">'snippets'</span> <span style="color: #000000;">:</span> <span style="color: #000000;">&#123;</span> 
  \      <span style="color: #C5A22D;">'use'</span> <span style="color: #000000;">:</span> <span style="color: #C5A22D;">&quot;use strict<span style="">\n</span>use warnings<span style="">\n</span><span style="">\n</span>&quot;</span>, 
  \      <span style="color: #C5A22D;">'warn'</span> <span style="color: #000000;">:</span> <span style="color: #C5A22D;">&quot;warn <span style="">\&quot;</span>|<span style="">\&quot;</span>;&quot;</span>, 
  \    <span style="color: #000000;">&#125;</span> 
  \  <span style="color: #000000;">&#125;</span> 
  \<span style="color: #000000;">&#125;</span> 
&nbsp;
  <span style="color: #804040;">let</span> g<span style="color: #000000;">:</span>user_zen_expandabbr_key = <span style="color: #C5A22D;">'&lt;c-e&gt;'</span><span style="color: #adadad; font-style: italic;">    &quot;设置为ctrl+e展开</span>
&nbsp;
  <span style="color: #804040;">let</span> g<span style="color: #000000;">:</span>use_zen_complete_tag = <span style="color: #000000; font-weight:bold;">1</span></pre></div></div>

<p><strong>截图中的例子：</strong><br />
如果你在这段文本外面包裹这段缩写<code class="code-inline">div#header>ul#navigation>li.item$*>a>span:</code></p>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;">About Us
Products
News
Blog
Contact Up</pre></div></div>

<p>你将会得到以下结果：</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;header&quot;</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">ul</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;navigation&quot;</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;item1&quot;</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">span</span>&gt;</span>About Us<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">span</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;item2&quot;</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">span</span>&gt;</span>Products<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">span</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;item3&quot;</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">span</span>&gt;</span>News<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">span</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;item4&quot;</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">span</span>&gt;</span>Blog<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">span</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;item5&quot;</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">span</span>&gt;</span>Contact Up<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">span</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">ul</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span></pre></div></div>

<p>目前就目前我对zencoding.vim 0.27版的测试来说，选中文字用<code class="code-inline">div#header>ul#navigation>li.item$*>a>span</code>包括的时候出现了文本内容插入到错误的位置的问题，提交bug给作者了。<br />
<strong>2010/03/08 22:11</strong> 更新：作者回复说修复了。在0.28版本中增加了更多的快捷键操作，所以下面的自定义快捷键配置无法生效了。可前往http://github.com/mattn/zencoding-vim获取最新版本。<br />
<strong>2010/03/09 20:05</strong> 更新：经过和作者的探讨，原来的<c-z>快捷键已经改为<c-y>，不会和撤销冲突，另外上条更新所说的自定义快捷键重新可用了。</p>
<p>zencoding.vim更新十分频繁，大家可以关注下。<br />
VIM官方插件地址：<a rel="nofollow" href="http://www.vim.org/scripts/script.php?script_id=2981">ZenCoding.vim</a><br />
zencoding.vim在Github的地址：<a href="http://github.com/mattn/zencoding-vim" rel="nofollow">http://github.com/mattn/zencoding-vim</a><br />
Zen Coding官方地址：<a rel="nofollow" href="http://code.google.com/p/zen-coding/">http://code.google.com/p/zen-coding/</a><br />
Zen Coding官方提供的速查手册(PDF)：<a rel="nofollow" href="http://zen-coding.googlecode.com/files/ZenCodingCheatSheet.pdf">http://zen-coding.googlecode.com/files/ZenCodingCheatSheet.pdf</a></p>
]]></content:encoded>
			<wfw:commentRss>http://leeiio.me/zen-coding-in-vim/feed/</wfw:commentRss>
		<slash:comments>34</slash:comments>
		</item>
		<item>
		<title>Vim 新手上路</title>
		<link>http://leeiio.me/vim-novice/</link>
		<comments>http://leeiio.me/vim-novice/#comments</comments>
		<pubDate>Wed, 24 Feb 2010 13:37:33 +0000</pubDate>
		<dc:creator>Leeiio</dc:creator>
				<category><![CDATA[設計資源]]></category>
		<category><![CDATA[Vim]]></category>
		<category><![CDATA[新手上路]]></category>

		<guid isPermaLink="false">http://leeiio.me/?p=1858</guid>
		<description><![CDATA[之前一直用的文本编辑器事Notepad++，IDE是Aptana，前者轻便实用，后者十分强大，搭配使用更是没话说。当然还有很多强大的诸如IDEA等等。Vim这个强大的编辑器想不知道都难，可是一直没去尝试使用，总觉得配置好Vim是一件很复杂的事情，今天终于按捺不住那份渴望，尝试了一下，终于无法自拔。 虽然我很out了，但是我想还是有很多Vim初学者徘徊在门外，抱着窥一窥的态度。我也就作为一个菜鸟，谈谈我的上路之旅吧。 1.Vim安装 官网http://www.vim.org/download.php处下载适合的版本即可，因为我的公司工作平台是Win XP，所以我下的是GUI executable版本图形化界面的版本gvim72.zip。 2.多语言乱码问题 安装好之后，我想第一要解决的问题是编码问题。和所有的流行文本编辑器一样，Vim 可以很好的编辑各种字符编码的文件，这当然包括 UCS-2、UTF-8 等流行的 Unicode 编码方式。然而不幸的是，和很多来自 Linux 世界的软件一样，这需要你自己动手设置。一般的，vim打开中文文件时会出现乱码，原因比较复杂，这里不罗嗦了。就说说我的配置吧。Vim的配置问题存在于安装路径的根目录，比如我安装在D:\Program Files\Vim，_vimrc文件就是它的配置文件，以下所描述的配置信息皆写到这个文件里。 &#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34; &#34; =&#62; 配置多语言环境 &#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34;&#34; if has&#40;&#34;multi_byte&#34;&#41; set encoding=utf-8 set termencoding=utf-8 set formatoptions+=mM set fencs=utf-8,gbk &#160; if v:lang =~? '^\(zh\)\&#124;\(ja\)\&#124;\(ko\)' set ambiwidth=double endif &#160; &#8230; <a href="http://leeiio.me/vim-novice/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img src="http://imgs.leeiio.me//blogimgs/2010/02/20100223_vimbird.png" alt="Vim 初探" /><br />
之前一直用的文本编辑器事Notepad++，IDE是Aptana，前者轻便实用，后者十分强大，搭配使用更是没话说。当然还有很多强大的诸如IDEA等等。Vim这个强大的编辑器想不知道都难，可是一直没去尝试使用，总觉得配置好Vim是一件很复杂的事情，今天终于按捺不住那份渴望，尝试了一下，终于无法自拔。 </p>
<p>虽然我很out了，但是我想还是有很多Vim初学者徘徊在门外，抱着窥一窥的态度。我也就作为一个菜鸟，谈谈我的上路之旅吧。<br />
<span id="more-1858"></span></p>
<h2 class="part-title">1.Vim安装</h2>
<p>官网http://www.vim.org/download.php处下载适合的版本即可，因为我的公司工作平台是Win XP，所以我下的是GUI executable版本图形化界面的版本gvim72.zip。 </p>
<h2 class="part-title">2.多语言乱码问题</h2>
<p>安装好之后，我想第一要解决的问题是编码问题。和所有的流行文本编辑器一样，<a href="http://leeiio.me/vim-novice/">Vim</a> 可以很好的编辑各种字符编码的文件，这当然包括 UCS-2、UTF-8 等流行的 Unicode 编码方式。然而不幸的是，和很多来自 Linux 世界的软件一样，这需要你自己动手设置。一般的，vim打开中文文件时会出现乱码，原因比较复杂，这里不罗嗦了。就说说我的配置吧。<a href="http://leeiio.me/vim-novice/">Vim</a>的配置问题存在于安装路径的根目录，比如我安装在D:\Program Files\Vim，_vimrc文件就是它的配置文件，以下所描述的配置信息皆写到这个文件里。</p>

<div class="wp_syntax"><div class="code"><pre class="vim" style="font-family:monospace;"><span style="color: #C5A22D;">&quot;&quot;</span><span style="color: #C5A22D;">&quot;&quot;</span><span style="color: #C5A22D;">&quot;&quot;</span><span style="color: #C5A22D;">&quot;&quot;</span><span style="color: #C5A22D;">&quot;&quot;</span><span style="color: #C5A22D;">&quot;&quot;</span><span style="color: #C5A22D;">&quot;&quot;</span><span style="color: #C5A22D;">&quot;&quot;</span><span style="color: #C5A22D;">&quot;&quot;</span><span style="color: #C5A22D;">&quot;&quot;</span><span style="color: #C5A22D;">&quot;&quot;</span><span style="color: #C5A22D;">&quot;&quot;</span><span style="color: #C5A22D;">&quot;&quot;</span><span style="color: #C5A22D;">&quot;&quot;</span><span style="color: #C5A22D;">&quot;&quot;</span><span style="color: #C5A22D;">&quot;&quot;</span><span style="color: #C5A22D;">&quot;&quot;</span><span style="color: #C5A22D;">&quot;&quot;</span><span style="color: #C5A22D;">&quot;&quot;</span><span style="color: #C5A22D;">&quot;&quot;</span><span style="color: #C5A22D;">&quot;&quot;</span><span style="color: #C5A22D;">&quot;&quot;</span><span style="color: #C5A22D;">&quot;&quot;</span><span style="color: #C5A22D;">&quot;&quot;</span><span style="color: #C5A22D;">&quot;&quot;</span><span style="color: #C5A22D;">&quot;&quot;</span><span style="color: #C5A22D;">&quot;&quot;</span><span style="color: #C5A22D;">&quot;&quot;</span><span style="color: #C5A22D;">&quot;&quot;</span><span style="color: #C5A22D;">&quot;&quot;</span><span style="color: #C5A22D;">&quot;&quot;</span><span style="color: #adadad; font-style: italic;">&quot;</span><span style="color: #adadad; font-style: italic;">
&quot; =&gt; 配置多语言环境</span>
<span style="color: #C5A22D;">&quot;&quot;</span><span style="color: #C5A22D;">&quot;&quot;</span><span style="color: #C5A22D;">&quot;&quot;</span><span style="color: #C5A22D;">&quot;&quot;</span><span style="color: #C5A22D;">&quot;&quot;</span><span style="color: #C5A22D;">&quot;&quot;</span><span style="color: #C5A22D;">&quot;&quot;</span><span style="color: #C5A22D;">&quot;&quot;</span><span style="color: #C5A22D;">&quot;&quot;</span><span style="color: #C5A22D;">&quot;&quot;</span><span style="color: #C5A22D;">&quot;&quot;</span><span style="color: #C5A22D;">&quot;&quot;</span><span style="color: #C5A22D;">&quot;&quot;</span><span style="color: #C5A22D;">&quot;&quot;</span><span style="color: #C5A22D;">&quot;&quot;</span><span style="color: #C5A22D;">&quot;&quot;</span><span style="color: #C5A22D;">&quot;&quot;</span><span style="color: #C5A22D;">&quot;&quot;</span><span style="color: #C5A22D;">&quot;&quot;</span><span style="color: #C5A22D;">&quot;&quot;</span><span style="color: #C5A22D;">&quot;&quot;</span><span style="color: #C5A22D;">&quot;&quot;</span><span style="color: #C5A22D;">&quot;&quot;</span><span style="color: #C5A22D;">&quot;&quot;</span><span style="color: #C5A22D;">&quot;&quot;</span><span style="color: #C5A22D;">&quot;&quot;</span><span style="color: #C5A22D;">&quot;&quot;</span><span style="color: #C5A22D;">&quot;&quot;</span><span style="color: #C5A22D;">&quot;&quot;</span><span style="color: #C5A22D;">&quot;&quot;</span><span style="color: #C5A22D;">&quot;&quot;</span><span style="color: #adadad; font-style: italic;">&quot;</span>
<span style="color: #804040;">if</span> <span style="color: #25BB4D;">has</span><span style="color: #000000;">&#40;</span><span style="color: #C5A22D;">&quot;multi_byte&quot;</span><span style="color: #000000;">&#41;</span>
    <span style="color: #804040;">set</span> <span style="color: #668080;">encoding</span>=utf<span style="color: #000000;">-</span><span style="color: #000000; font-weight:bold;">8</span>
    <span style="color: #804040;">set</span> <span style="color: #668080;">termencoding</span>=utf<span style="color: #000000;">-</span><span style="color: #000000; font-weight:bold;">8</span>
    <span style="color: #804040;">set</span> <span style="color: #668080;">formatoptions</span><span style="color: #000000;">+</span>=mM
    <span style="color: #804040;">set</span> <span style="color: #668080;">fencs</span>=utf<span style="color: #000000;">-</span><span style="color: #000000; font-weight:bold;">8</span>,gbk
&nbsp;
    <span style="color: #804040;">if</span> v<span style="color: #000000;">:</span>lang =<span style="color: #000000;">~?</span> <span style="color: #C5A22D;">'^<span style="">\(</span>zh<span style="">\)</span><span style="">\|</span><span style="">\(</span>ja<span style="">\)</span><span style="">\|</span><span style="">\(</span>ko<span style="">\)</span>'</span>
        <span style="color: #804040;">set</span> <span style="color: #668080;">ambiwidth</span>=double
    <span style="color: #804040;">endif</span>
&nbsp;
    <span style="color: #804040;">if</span> <span style="color: #25BB4D;">has</span><span style="color: #000000;">&#40;</span><span style="color: #C5A22D;">&quot;win32&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #adadad; font-style: italic;">
	&quot;处理菜单及右键菜单乱码</span>
        source <span style="color: #000000;">$</span>VIMRUNTIME<span style="color: #000000;">/</span>delmenu<span style="color: #000000;">.</span>vim
        source <span style="color: #000000;">$</span>VIMRUNTIME<span style="color: #000000;">/</span>menu<span style="color: #000000;">.</span>vim
        source <span style="color: #000000;">$</span>VIMRUNTIME<span style="color: #000000;">/</span>mswin<span style="color: #000000;">.</span>vim
        behave mswin
        language messages zh_CN<span style="color: #000000;">.</span>utf<span style="color: #000000;">-</span><span style="color: #000000; font-weight:bold;">8</span><span style="color: #adadad; font-style: italic;"> &quot;处理consle输出乱码</span>
    <span style="color: #804040;">endif</span>
<span style="color: #804040;">else</span>
    <span style="color: #804040;">echoerr</span> <span style="color: #C5A22D;">&quot;Sorry, this version of (g)vim was not compiled with +multi_byte&quot;</span>
<span style="color: #804040;">endif</span></pre></div></div>

<p>Vim配置文件里面半角的&#8221;是注释。多语言环境编码的配置取自<a href="http://www.gracecode.com/archives/1780/">明城</a>的Vim的配置。</p>
<h2 class="part-title">3.字体的设置</h2>
<p>写代码，好看的字体很重要。不管是什么，好看的东西都很重要。好看，能带给人愉悦感，写代码也不例外。我用的是大名鼎鼎的Yahei Consolas Hybrid修改字体，中文字体是雅黑，代码字体么自然是Consolas。  Consolas字体原本是微软为 Visual Studio 2005和2008用户提供的，原版只是单独的英文字体，不含中文。因此在中文环境下显示会是“宋体”+Consolas 的组合，难看至极。而这个修改版替换了雅黑作为中文字体，美观度自然是宋体有所提高，当然也是因人而异。要下载字体可以<a href="http://rapidshare.com/files/116657698/YaHei.Consolas.1.12.zip.html" rel="nofollow">戳这里</a>下载。<br />
然后在配置里加入以下代码来指定字体</p>

<div class="wp_syntax"><div class="code"><pre class="vim" style="font-family:monospace;"><span style="color: #804040;">set</span> <span style="color: #668080;">guifont</span>=YaHei_Consolas_Hybrid<span style="color: #000000;">:</span>h12<span style="color: #000000;">:</span>cANSI<span style="color: #adadad; font-style: italic;"> &quot;h12表示的是字号大小</span></pre></div></div>

<h2 class="part-title">3.配色方案</h2>
<p>在用notepad++的时候，我一直最中意monokai这个配色，在Vim下叫molokai，这是一款很知名的配色，至少我很喜欢，就是最顶端的那个截图里的配色啦。这款配色同样可以<a rel="nofollow" href="http://www.vim.org/scripts/script.php?script_id=2340">戳这里</a>获得。<br />
然后你可以在配置里写入以下代码来指定你的界面为该配色</p>

<div class="wp_syntax"><div class="code"><pre class="vim" style="font-family:monospace;"><span style="color: #804040;">colorscheme</span> molokai</pre></div></div>

<h2 class="part-title">4.一些插件和扩展</h2>
<p>也许你同样注意到了截图中的那些花花绿绿背景色的东西，这个叫CSS color preview的扩展可以使css里面的那些颜色具体化也就是表现出来，十分直观。继续<a href="http://www.vim.org/scripts/script.php?script_id=2150">戳这里</a>下载。<br />
而代码提示插件用的是AutoComplPop，还在使用DW或者aptana等一些工具的朋友们肯定对代码弹出提示情有独钟，这款插件的功能可以说是有过之而无不及啊，当然如果你不喜欢这种自动的代码提示的话可以不用装。需要的朋友还是<a href="http://www.vim.org/scripts/script.php?script_id=1879" rel="nofollow">戳这里</a>下载。</p>
<p>Vim的强大之处当然不止本文说的这么些皮毛，丰富的扩展插件让其光芒不减。我还涉谷未深，这种新上上路的文章希望能给每个想加入Vim阵营的朋友们以帮助。今后会有更多的关于Vim的分享。欢迎收看！</p>
]]></content:encoded>
			<wfw:commentRss>http://leeiio.me/vim-novice/feed/</wfw:commentRss>
		<slash:comments>62</slash:comments>
		</item>
		<item>
		<title>Win7 下很2的 Aptana</title>
		<link>http://leeiio.me/aptana-2-win7-my-documents/</link>
		<comments>http://leeiio.me/aptana-2-win7-my-documents/#comments</comments>
		<pubDate>Thu, 12 Nov 2009 15:13:06 +0000</pubDate>
		<dc:creator>Leeiio</dc:creator>
				<category><![CDATA[設計資源]]></category>
		<category><![CDATA[Aptana]]></category>
		<category><![CDATA[Win7]]></category>
		<category><![CDATA[前端利器]]></category>
		<category><![CDATA[快捷键]]></category>

		<guid isPermaLink="false">http://leeiio.me/?p=1658</guid>
		<description><![CDATA[很2不是说 Aptana 很 2B，其实我就是想说 Aptana 出2.0了，更新了一大堆的东西我也就不一一说了，其实我也没有细看都更新了啥，但是本着最新软件控的优良品质，有了新版自然是迫不及待的升级。虽然都出了近7天了，可是我今儿才知道，我是个土人。忙得焦头烂额了都。Aptana 1.5.x版本不知道为啥，在我这里打开大文件比如大个儿的css文件经常就会出现卡死的现象，公司的烂机子也有一定的原因。于是马上升到2.0，期待已经解决了这个问题。目前一切都很正常。除了升级后我原有的 SVN 项目的 SVN 功能都失效了外(需要安装 SVN 插件，然后删除项目文件夹.metadata重建项目即可)，一切都很正常。 于是，回到家，准备把家里的win7下的Aptana也升到2.0，升级后，杯具就发生了。如最上面的图片可见，软件打不开了。 Could not launch the product because the specified workspace cannot be create. The specified workspace directory is either invalid or read-only. 马上打开configuration文件，查看生成的错误日志.log文件: Caused by: java.lang.IllegalStateException: The &#8230; <a href="http://leeiio.me/aptana-2-win7-my-documents/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img title="Could not launch the product because the specified workspace cannot be create. The specified workspace directory is either invalid or read-only." src="http://imgs.leeiio.me/blogimgs/2009/11/20091112_aptana-win7.jpg" alt="很2的Aptana Could not launch the product because the specified workspace cannot be create. The specified workspace directory is either invalid or read-only." /><br />
很2不是说 <a rel="nofollow" href="http://blog.aptana.org/2009/9/21/aptana-org-now-live">Aptana</a> 很 2B，其实我就是想说 <a rel="nofollow" href="http://aptana.org/">Aptana</a> 出2.0了，更新了一大堆的东西我也就不一一说了，其实我也没有细看都更新了啥，但是本着最新软件控的优良品质，有了新版自然是迫不及待的升级。虽然都出了近7天了，可是我今儿才知道，我是个土人。忙得焦头烂额了都。Aptana 1.5.x版本不知道为啥，在我这里打开大文件比如大个儿的css文件经常就会出现卡死的现象，公司的烂机子也有一定的原因。于是马上升到2.0，期待已经解决了这个问题。目前一切都很正常。除了升级后我原有的 SVN 项目的 SVN 功能都失效了外(需要安装 SVN 插件，然后删除项目文件夹.metadata重建项目即可)，一切都很正常。<br />
<span id="more-1658"></span><br />
于是，回到家，准备把家里的win7下的Aptana也升到2.0，升级后，杯具就发生了。如最上面的图片可见，软件打不开了。<br />
<code>Could not launch the product because the specified workspace cannot be create. The specified workspace directory is either invalid or read-only.</code><br />
马上打开configuration文件，查看生成的错误日志.log文件:<br />
<code>Caused by: java.lang.IllegalStateException: The platform metadata area could not be written: C:\Users\Leeiio\My Documents\Aptana Studio Workspace\.metadata.<br />
</code><br />
复制路径C:\Users\Leeiio\My Documents到资源管理器的地址栏，发现出错？恍然大悟，原来我的文档的路径已经被我设置到D盘了，也就是D:\My Documents。于是打开configuration文件夹下的config.ini文件，定位到最后：<br />
<code># The default workspace location<br />
osgi.instance.area.default=@user.home/My Documents/Aptana Studio Workspace</code><br />
修改成<br />
<code># The default workspace location<br />
osgi.instance.area.default=D:/My Documents/Aptana Studio Workspace</code><br />
然后再次打开Aptana 2.0软件，Well done!又看到熟悉的Aptana IDE界面了。</p>
<p>其实介个问题主要产生的原因就是由于“我的文档”的路径被设置了的问题，因为Aptana 2.0安装的方式是全新安装，所以会初始化工作场景文件夹，一定位到他设置的默认的路径，发现目录不存在了，自然就没有写入.metadata文件夹的权限，自然就打不开了。</p>
<p>记录之，留待世人遇到相同问题搜到到以解惑。。。</p>
<p><strong>啥？你不知道Aptana是啥？那么，请<a rel="nofollow" href="http://www.google.cn/search?hl=zh-CN&amp;source=hp&amp;q=aptana&amp;btnG=Google+%E6%90%9C%E7%B4%A2&amp;aq=f&amp;oq=">google之</a>。</strong></p>
<p>Aptana 2.0 前往<strong><a rel="nofollow" href="http://aptana.org/">此处</a></strong>下载！</p>
<p><em>顺便附送Aptana快捷键大全</em></p>
<table width="756" cellspacing="0" cellpadding="0" border="0" style="table-layout: fixed; width: 568pt; border-collapse: collapse;">
<tbody>
<tr height="19" style="height: 14.25pt;">
<td width="161" height="19" style="width: 121pt; height: 14.25pt;">All Aptana Editors</td>
<td width="173" style="width: 130pt;">Format</td>
<td width="212" style="width: 159pt;">Ctrl+Shift+F</td>
<td width="138" style="width: 104pt;">Aptana Editors</td>
<td width="72" style="width: 54pt;"> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">All Aptana Editors</td>
<td>Open Declaration</td>
<td>F3</td>
<td>Aptana Editors</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">All Aptana Editors</td>
<td>Show Documentation</td>
<td>F2</td>
<td>Aptana Editors</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">All Aptana Editors</td>
<td>Show Whitespace</td>
<td>Ctrl+.</td>
<td>Aptana Editors</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">All Aptana Editors</td>
<td>Toggle JS Comments</td>
<td>Ctrl+/</td>
<td>Aptana Editors</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">帮助</td>
<td>关闭用户帮助托盘</td>
<td>Ctrl+F4</td>
<td>在对话框中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">帮助</td>
<td>关闭用户帮助托盘</td>
<td>Ctrl+W</td>
<td>在对话框中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">搜索</td>
<td>在工作空间中查找文本</td>
<td>Ctrl+Alt+G</td>
<td>在窗口中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">搜索</td>
<td>打开“搜索”对话框</td>
<td>Ctrl+H</td>
<td>在窗口中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">文件</td>
<td>“新建”菜单</td>
<td>Alt+Shift+N</td>
<td>在窗口中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">文件</td>
<td>保存</td>
<td>Ctrl+S</td>
<td>在窗口中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">文件</td>
<td>全部保存</td>
<td>Ctrl+Shift+S</td>
<td>在窗口中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">文件</td>
<td>全部关闭</td>
<td>Ctrl+Shift+F4</td>
<td>在窗口中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">文件</td>
<td>全部关闭</td>
<td>Ctrl+Shift+W</td>
<td>在窗口中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">文件</td>
<td>关闭</td>
<td>Ctrl+F4</td>
<td>在窗口中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">文件</td>
<td>关闭</td>
<td>Ctrl+W</td>
<td>在窗口中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">文件</td>
<td>刷新</td>
<td>F5</td>
<td>在窗口中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">文件</td>
<td>属性</td>
<td>Alt+Enter</td>
<td>在窗口中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">文件</td>
<td>打印</td>
<td>Ctrl+P</td>
<td>在窗口中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">文件</td>
<td>打开文件…</td>
<td>Ctrl+O</td>
<td>在窗口中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">文件</td>
<td>新建</td>
<td>Ctrl+N</td>
<td>在窗口中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">文件</td>
<td>重命名</td>
<td>F2</td>
<td>在窗口中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">文本编辑</td>
<td>上一个词语</td>
<td>Ctrl+左箭头</td>
<td>编辑文本</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">文本编辑</td>
<td>上滚行</td>
<td>Ctrl+向上键</td>
<td>编辑文本</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">文本编辑</td>
<td>下一个词语</td>
<td>Ctrl+右箭头</td>
<td>编辑文本</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">文本编辑</td>
<td>下滚行</td>
<td>Ctrl+向下键</td>
<td>编辑文本</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">文本编辑</td>
<td>全部展开</td>
<td>Ctrl+Numpad_Multiply</td>
<td>编辑文本</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">文本编辑</td>
<td>全部折叠</td>
<td>Ctrl+Shift+Numpad_Divide</td>
<td>编辑文本</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">文本编辑</td>
<td>切换折叠</td>
<td>Ctrl+Numpad_Divide</td>
<td>编辑文本</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">文本编辑</td>
<td>删除上一个词语</td>
<td>Ctrl+Backspace</td>
<td>编辑文本</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">文本编辑</td>
<td>删除下一个词语</td>
<td>Ctrl+Delete</td>
<td>编辑文本</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">文本编辑</td>
<td>删除至行末</td>
<td>Ctrl+Shift+Delete</td>
<td>编辑文本</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">文本编辑</td>
<td>删除行</td>
<td>Ctrl+D</td>
<td>编辑文本</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">文本编辑</td>
<td>在当前行上面插入行</td>
<td>Ctrl+Shift+Enter</td>
<td>编辑文本</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">文本编辑</td>
<td>在当前行下面插入行</td>
<td>Shift+Enter</td>
<td>编辑文本</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">文本编辑</td>
<td>复位结构</td>
<td>Ctrl+Shift+Numpad_Multiply</td>
<td>编辑文本</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">文本编辑</td>
<td>复制行</td>
<td>Ctrl+Alt+向下键</td>
<td>编辑文本</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">文本编辑</td>
<td>将行上移</td>
<td>Alt+向上键</td>
<td>编辑文本</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">文本编辑</td>
<td>将行下移</td>
<td>Alt+向下键</td>
<td>编辑文本</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">文本编辑</td>
<td>展开</td>
<td>Ctrl+Numpad_Add</td>
<td>编辑文本</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">文本编辑</td>
<td>折叠</td>
<td>Ctrl+Numpad_Subtract</td>
<td>编辑文本</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">文本编辑</td>
<td>改写切换</td>
<td>Insert</td>
<td>编辑文本</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">文本编辑</td>
<td>文本开头</td>
<td>Ctrl+Home</td>
<td>编辑文本</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">文本编辑</td>
<td>文本末尾</td>
<td>Ctrl+End</td>
<td>编辑文本</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">文本编辑</td>
<td>更改为大写</td>
<td>Ctrl+Shift+X</td>
<td>编辑文本</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">文本编辑</td>
<td>更改为小写</td>
<td>Ctrl+Shift+Y</td>
<td>编辑文本</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">文本编辑</td>
<td>行末</td>
<td>End</td>
<td>编辑文本</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">文本编辑</td>
<td>行首</td>
<td>Home</td>
<td>编辑文本</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">文本编辑</td>
<td>选择上一个词语</td>
<td>Ctrl+Shift+左箭头</td>
<td>编辑文本</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">文本编辑</td>
<td>选择下一个词语</td>
<td>Ctrl+Shift+右箭头</td>
<td>编辑文本</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">文本编辑</td>
<td>选择行末</td>
<td>Shift+End</td>
<td>编辑文本</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">文本编辑</td>
<td>选择行首</td>
<td>Shift+Home</td>
<td>编辑文本</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">文本编辑</td>
<td>重复行</td>
<td>Ctrl+Alt+向上键</td>
<td>编辑文本</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">查看</td>
<td>变量</td>
<td>Alt+Shift+Q，V</td>
<td>在窗口中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">查看</td>
<td>同步</td>
<td>Alt+Shift+Q，Y</td>
<td>在窗口中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">查看</td>
<td>备忘单</td>
<td>Alt+Shift+Q，H</td>
<td>在窗口中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">查看</td>
<td>控制台</td>
<td>Alt+Shift+Q，C</td>
<td>在窗口中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">查看</td>
<td>搜索</td>
<td>Alt+Shift+Q，S</td>
<td>在窗口中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">查看</td>
<td>断点</td>
<td>Alt+Shift+Q，B</td>
<td>在窗口中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">查看</td>
<td>显示视图 (查看: 大纲)</td>
<td>Alt+Shift+Q，O</td>
<td>在窗口中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">查看</td>
<td>显示视图</td>
<td>Alt+Shift+Q，Q</td>
<td>在窗口中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">查看</td>
<td>显示视图 (查看: 问题)</td>
<td>Alt+Shift+Q，X</td>
<td>在窗口中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">浏览</td>
<td>“显示位置”菜单</td>
<td>Alt+Shift+W</td>
<td>在窗口中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">浏览</td>
<td>上一个编辑位置</td>
<td>Ctrl+Q</td>
<td>在窗口中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">浏览</td>
<td>上一项</td>
<td>Ctrl+</td>
<td>在窗口中</td>
<td></td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">浏览</td>
<td>下一项</td>
<td>Ctrl+.</td>
<td>在窗口中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">浏览</td>
<td>前移历史记录</td>
<td>Alt+右箭头</td>
<td>在窗口中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">浏览</td>
<td>后退历史记录</td>
<td>Alt+左箭头</td>
<td>在窗口中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">浏览</td>
<td>打开资源</td>
<td>Ctrl+Shift+R</td>
<td>在窗口中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">浏览</td>
<td>转至行</td>
<td>Ctrl+L</td>
<td>编辑文本</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">窗口</td>
<td>上一个编辑器</td>
<td>Ctrl+Shift+F6</td>
<td>在窗口中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">窗口</td>
<td>上一个视图</td>
<td>Ctrl+Shift+F7</td>
<td>在窗口中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">窗口</td>
<td>上一个透视图</td>
<td>Ctrl+Shift+F8</td>
<td>在窗口中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">窗口</td>
<td>下一个编辑器</td>
<td>Ctrl+F6</td>
<td>在窗口中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">窗口</td>
<td>下一个视图</td>
<td>Ctrl+F7</td>
<td>在窗口中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">窗口</td>
<td>下一个透视图</td>
<td>Ctrl+F8</td>
<td>在窗口中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">窗口</td>
<td>切换至编辑器</td>
<td>Ctrl+Shift+E</td>
<td>在窗口中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">窗口</td>
<td>将活动视图或编辑器最大化</td>
<td>Ctrl+M</td>
<td>在窗口中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">窗口</td>
<td>快速切换编辑器</td>
<td>Ctrl+E</td>
<td>在窗口中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">窗口</td>
<td>显示标尺上下文菜单</td>
<td>Ctrl+F10</td>
<td>编辑文本</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">窗口</td>
<td>显示系统菜单</td>
<td>Alt+-</td>
<td>在窗口中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">窗口</td>
<td>显示视图菜单</td>
<td>Ctrl+F10</td>
<td>在窗口中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">窗口</td>
<td>显示键辅助</td>
<td>Ctrl+Shift+L</td>
<td>在对话框和窗口中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">窗口</td>
<td>激活编辑器</td>
<td>F12</td>
<td>在窗口中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">编辑</td>
<td>“快速差别”开关</td>
<td>Ctrl+Shift+Q</td>
<td>编辑文本</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">编辑</td>
<td>上下文信息</td>
<td>Alt+?</td>
<td>在窗口中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">编辑</td>
<td>上下文信息</td>
<td>Alt+Shift+?</td>
<td>在窗口中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">编辑</td>
<td>上下文信息</td>
<td>Ctrl+Shift+Space</td>
<td>在窗口中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">编辑</td>
<td>全部选中</td>
<td>Ctrl+A</td>
<td>在对话框和窗口中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">编辑</td>
<td>内容辅助</td>
<td>Alt+/</td>
<td>在对话框和窗口中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">编辑</td>
<td>切换插入方式</td>
<td>Ctrl+Shift+Insert</td>
<td>编辑文本</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">编辑</td>
<td>删除</td>
<td>Delete</td>
<td>在窗口中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">编辑</td>
<td>剪切</td>
<td>Ctrl+X</td>
<td>在对话框和窗口中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">编辑</td>
<td>剪切</td>
<td>Shift+Delete</td>
<td>在对话框和窗口中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">编辑</td>
<td>右移</td>
<td>Ctrl+Alt+右箭头</td>
<td>编辑文本</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">编辑</td>
<td>增量查找</td>
<td>Ctrl+J</td>
<td>编辑文本</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">编辑</td>
<td>增量逆向查找</td>
<td>Ctrl+Shift+J</td>
<td>编辑文本</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">编辑</td>
<td>复制</td>
<td>Ctrl+C</td>
<td>在对话框和窗口中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">编辑</td>
<td>复制</td>
<td>Ctrl+Insert</td>
<td>在对话框和窗口中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">编辑</td>
<td>左移</td>
<td>Ctrl+Alt+左箭头</td>
<td>编辑文本</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">编辑</td>
<td>快速修正</td>
<td>Ctrl+1</td>
<td>在窗口中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">编辑</td>
<td>撤销</td>
<td>Ctrl+Z</td>
<td>在窗口中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">编辑</td>
<td>文字补全</td>
<td>Ctrl+Alt+/</td>
<td>编辑文本</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">编辑</td>
<td>查找上一个</td>
<td>Ctrl+Shift+K</td>
<td>编辑文本</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">编辑</td>
<td>查找下一个</td>
<td>Ctrl+K</td>
<td>编辑文本</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">编辑</td>
<td>查找并替换</td>
<td>Ctrl+F</td>
<td>在窗口中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">编辑</td>
<td>粘贴</td>
<td>Ctrl+V</td>
<td>在对话框和窗口中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">编辑</td>
<td>粘贴</td>
<td>Shift+Insert</td>
<td>在对话框和窗口中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">编辑</td>
<td>重做</td>
<td>Ctrl+Y</td>
<td>在窗口中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">运行／调试</td>
<td>EOF</td>
<td>Ctrl+Z</td>
<td>在控制台中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">运行／调试</td>
<td>Inspect</td>
<td>Ctrl+Shift+I</td>
<td>在对话框和窗口中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">运行／调试</td>
<td>Run Selected Command;</td>
<td>Ctrl+Enter</td>
<td>在窗口中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">运行／调试</td>
<td>下一个内存监视器</td>
<td>Ctrl+Alt+N</td>
<td>在内存视图中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">运行／调试</td>
<td>切换内存监视器窗格</td>
<td>Ctrl+T</td>
<td>在内存视图中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">运行／调试</td>
<td>切换单步执行过滤器</td>
<td>Shift+F5</td>
<td>在窗口中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">运行／调试</td>
<td>切换行断点</td>
<td>Ctrl+Shift+B</td>
<td>在窗口中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">运行／调试</td>
<td>单步跳入</td>
<td>F5</td>
<td>调试</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">运行／调试</td>
<td>单步跳过</td>
<td>F6</td>
<td>调试</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">运行／调试</td>
<td>单步返回</td>
<td>F7</td>
<td>调试</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">运行／调试</td>
<td>添加内存块</td>
<td>Ctrl+Alt+M</td>
<td>在内存视图中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">运行／调试</td>
<td>继续</td>
<td>F8</td>
<td>调试</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">运行／调试</td>
<td>调试上次启动</td>
<td>F11</td>
<td>在窗口中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">运行／调试</td>
<td>转至地址</td>
<td>Ctrl+G</td>
<td>在呈示表内存时</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">运行／调试</td>
<td>运行上次启动</td>
<td>Ctrl+F11</td>
<td>在窗口中</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">运行／调试</td>
<td>运行至行</td>
<td>Ctrl+R</td>
<td>调试</td>
<td> </td>
</tr>
<tr height="19" style="height: 14.25pt;">
<td height="19" style="height: 14.25pt;">项目</td>
<td>全部构建</td>
<td>Ctrl+B</td>
<td>在窗口中</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://leeiio.me/aptana-2-win7-my-documents/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>你能成为一个网页设计师吗？</title>
		<link>http://leeiio.me/can-you-be-a-web-designer/</link>
		<comments>http://leeiio.me/can-you-be-a-web-designer/#comments</comments>
		<pubDate>Sun, 11 Oct 2009 11:37:52 +0000</pubDate>
		<dc:creator>Leeiio</dc:creator>
				<category><![CDATA[設計資源]]></category>
		<category><![CDATA[网页设计师]]></category>
		<category><![CDATA[Web Designer]]></category>

		<guid isPermaLink="false">http://leeiio.me/?p=1613</guid>
		<description><![CDATA[Just for fun ! 随便看看，笑过便好。不管你用PC还是Mac。 Via.]]></description>
			<content:encoded><![CDATA[<p><img src="http://imgs.leeiio.me/blogimgs/2009/10/20091011_web_designer_flowchart_lead.jpg" alt="Web designer flowchart lead " /><br />
Just for fun !<br />
<span id="more-1613"></span><br />
<img src="http://imgs.leeiio.me/blogimgs/2009/10/20091011-can_you_be_a_web_designer.gif" alt="Can You Be a Web Designer?你能成为一个网页设计师吗？" /><br />
随便看看，笑过便好。不管你用PC还是Mac。</p>
<p><a href="http://sixrevisions.com/web_design/can-you-be-a-web-designer/" rel="nofollow">Via</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://leeiio.me/can-you-be-a-web-designer/feed/</wfw:commentRss>
		<slash:comments>44</slash:comments>
		</item>
		<item>
		<title>CSS 3.0 中文参考手册(CHM版)</title>
		<link>http://leeiio.me/css-3-manual-zh-cn/</link>
		<comments>http://leeiio.me/css-3-manual-zh-cn/#comments</comments>
		<pubDate>Fri, 28 Aug 2009 13:47:42 +0000</pubDate>
		<dc:creator>Leeiio</dc:creator>
				<category><![CDATA[(X)HTML/CSS/XML/XSL]]></category>
		<category><![CDATA[設計資源]]></category>
		<category><![CDATA[CHM]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS 3.0]]></category>
		<category><![CDATA[手册]]></category>

		<guid isPermaLink="false">http://leeiio.me/?p=1535</guid>
		<description><![CDATA[CSS 是 Cascading Style Sheet 的缩写。译作「层叠样式表」。是用于(增强)控制网页样式并允许将样式信息与网页内容分离的一种标记性语言。 对于CSS 3.0，它对于我们Web设计人员来说不只是新奇的技术，更重要的是这些全新概念的Web应用给我们的设计开发提高了效率以及更多的无限可能性，我们将不必再依赖图片或者 Javascript 去完成圆角、块/文字阴影、渐变、透明度等提高Web设计质量的特色应用。 该手册由 Tencent 的 ISD Webteam 团队制作，因为 CSS3 还是草案，中文资料少之又少，基本上都是一篇内容转来转去，而该手册从基础语法到示例制作，都是根据 W3C 工作草案进行翻译，并结合 ISD Webteam 的沉淀制作示例。 备受期待的 CSS 3 新功能 圆角、多背景、@font-face 用户自定义字体、动画与渐变、渐变色、盒阴影、RGBa – 加入透明色、文字阴影等等 CSS3 的出现，让代码更简洁、页面结构更合理，性能和效果得到兼顾。 CSS 3.0 参考手册 (中文版) 预览： 下载：]]></description>
			<content:encoded><![CDATA[<p><img src="http://imgs.leeiio.me/blogimgs/2009/08/20090828_css3.0manual-zh-cn.gif" alt="CSS 3.0 中文参考手册(CHM版)" /><br />
CSS 是 Cascading Style Sheet 的缩写。译作「层叠样式表」。是用于(增强)控制网页样式并允许将样式信息与网页内容分离的一种标记性语言。</p>
<p>对于CSS 3.0，它对于我们Web设计人员来说不只是新奇的技术，更重要的是这些全新概念的Web应用给我们的设计开发提高了效率以及更多的无限可能性，我们将不必再依赖图片或者 Javascript 去完成圆角、块/文字阴影、渐变、透明度等提高Web设计质量的特色应用。</p>
<p>该手册由 Tencent 的 ISD Webteam 团队制作，因为 CSS3 还是草案，中文资料少之又少，基本上都是一篇内容转来转去，而该手册从基础语法到示例制作，都是根据 W3C 工作草案进行翻译，并结合 ISD Webteam 的沉淀制作示例。<br />
<span id="more-1535"></span></p>
<h2>备受期待的 CSS 3 新功能</h2>
<p>圆角、多背景、@font-face 用户自定义字体、动画与渐变、渐变色、盒阴影、RGBa – 加入透明色、文字阴影等等<br />
CSS3 的出现，让代码更简洁、页面结构更合理，性能和效果得到兼顾。</p>
<h2>CSS 3.0 参考手册 (中文版) 预览：</h2>
<p><img src="http://imgs.leeiio.me/blogimgs/2009/08/20090828_css3-scrn.png" alt="CSS 3.0 中文参考手册(CHM版)" /></p>
<h2>下载：</h2>
<p>CSS 3.0 中文参考手册(CHM版) <small>版本号：beta1 (最后更新时间：2009-8-22)</small></p><p class="download left"><a class="downloadlink" href="http://leeiio.me/wp-content/plugins/download-monitor/download.php?id=1" title="版本号:beta1,目前共有4299次下载,最后更新时间：2009-8-22" >CSS 3.0 中文参考手册(CHM版)下载<em title="目前共有4299次下载">366.61 kB 目前共有4299次下载</em></a></p><p class="clear"></p>
]]></content:encoded>
			<wfw:commentRss>http://leeiio.me/css-3-manual-zh-cn/feed/</wfw:commentRss>
		<slash:comments>23</slash:comments>
		</item>
	</channel>
</rss>

