<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet href='http://feed.feedsky.com/styles/temp01.xsl' type='text/xsl' ?><!--这是一个由Feedsy提供技术支持的Feed，为了提高读者阅读的体验，以及满足用户美化自己Feed的需要，我们设计了多种精美的Feed模板，提供给大家选择，所有最终呈现出来的样式，皆由用户自愿选择使用，未经许可，任何团体和个人，请不要擅自修改样式或者盗用，这是对于用户选择权的尊重。--><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:fs="http://www.feedsky.com/namespace/feed" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link href="http://feed.feedsky.com/pizn" type="application/rss+xml" rel="self"></atom:link><fs:self_link href="http://feed.feedsky.com/pizn" type="application/rss+xml"></fs:self_link><lastBuildDate>Fri, 23 Dec 2011 09:24:18 GMT</lastBuildDate><title>PIZn</title><description>Phosphorus,Iodine &amp; Zinc.</description><link>http://www.pizn.net</link><sy:updatePeriod>hourly</sy:updatePeriod><sy:updateFrequency>1</sy:updateFrequency><language>en</language><pubDate>Wed, 11 Jan 2012 06:55:49 GMT</pubDate><item><title>“开源 Alice 样式库解决方案、</title><link>http://item.feedsky.com/~feedsky/pizn/~8165205/595515451/6268932/1/item.html</link><content:encoded>&lt;p&gt;&lt;img class=&quot;alignnone size-full wp-image-1268&quot; title=&quot;aliceui&quot; src=&quot;http://pizn.net/wp-content/uploads/2011/12/aliceui.jpg&quot; alt=&quot;aliceui&quot; width=&quot;600&quot; height=&quot;200&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: #800080;&quot;&gt;&lt;strong&gt;      Alice&lt;/strong&gt;&lt;/span&gt; 是支付宝前端样式解决方案小组的项目代称。她包括构建样式库的 &lt;code&gt;样式库解决方案&lt;/code&gt;，帮助团队理解新技术的 &lt;code&gt;W3C标准文档库&lt;/code&gt; 和正在进行中 &lt;code&gt;实验项目&lt;/code&gt; 等; 也是团队的代称。目前 Alice 的主要职责是提供 CSS 和 HTML 方面的技术支持和解决方案开发。&lt;/p&gt;
&lt;p&gt;      作为 Alice 小组的成员之一，从去年实习的时候就接触到了 Alice V3 规范，受益匪浅。今天 Alice 终于对外开放了，在这里作下简单的介绍。&lt;/p&gt;
&lt;p&gt;&lt;span id=&quot;more-1264&quot;&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: #008000;&quot;&gt;&lt;strong&gt;关于 Alice 的一些话：&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;      我们基于 “分享·贡献·学习” 的理念建立了 &lt;a title=&quot;Alice UI&quot; href=&quot;http://www.aliceui.com&quot;&gt;Alice UI&lt;/a&gt;，用来开源部分团队成果。发布的所有开源源代码采用  &lt;a href=&quot;http://aliceui.com/license.txt&quot; rel=&quot;nofollow&quot;&gt;MIT License&lt;/a&gt; 许可。非常欢迎大家参与 Alice 的开发，嘻嘻，不要忘记提出您的宝贵意见哦。&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style=&quot;color: #008000;&quot;&gt;Alice 在 GitHub 仓库的目录结构：&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;pre class=&quot;html&quot; name=&quot;colorcode&quot;&gt;
---
|---- plugins/ 浏览器兼容解决方案对应的编辑器插件
|---- solutions/ 浏览器兼容解决方案
|---- tpl/ 参考的模板文件
|---- w3c/ HTML5/CSS3 标准文档
|---- base.css Alice 的基础，所有样式均基于它
|---- readme.md&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style=&quot;color: #008000;&quot;&gt;更多详情：&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
      1, &lt;a href=&quot;http://aliceui.com/getting-start#develop&quot; rel=&quot;nofollow&quot;&gt;成为作者/贡献者&lt;/a&gt;&lt;br /&gt;
      如何快速开始，了解和使用 Alice 提升团队合作的效率。&lt;br /&gt;
      2,&lt;a href=&quot;http://aliceui.com/getting-start#develop&quot; rel=&quot;nofollow&quot;&gt;成为作者/贡献者&lt;/a&gt;&lt;br /&gt;
      成为一个代码贡献者、插件作者，或者 fork 一个自己的分支吧，让你的简历多一份可写的内容。&lt;br /&gt;
      3. &lt;a href=&quot;http://aliceui.com/alice-css&quot; rel=&quot;nofollow&quot;&gt;Alice 样式库解决方案&lt;/a&gt;&lt;br /&gt;
      如果我们风格统一，那么代码将是有规可循的。我们可以根据命名了解结构，根据结构理解构建的代码原理。对于跨产品合作，将是无缝的；对于多人 debug 也将是无碍的。样式解决方案正在为这样的目标努力。现在她已经应用于支付宝的各条产品线。&lt;br /&gt;
      4. &lt;a href=&quot;http://aliceui.com/w3c-docs&quot; rel=&quot;nofollow&quot;&gt;阅读 HTML5/CSS3 标准文档&lt;/a&gt;&lt;br /&gt;
      标准化文档项（Standard Specs），目前主要是对 HTML5/CSS3 这些较新的标准技术进行的标准文档研究。使用于标准布道。让更多不熟悉相关技术的人可以阅读更易懂的文档、了解需要注意的点和知悉相关的解决方案。后续计划是产出网站应用新技术的渐进增强方案和实践解决方案。&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: #008000;&quot;&gt;&lt;strong&gt;意见和反馈&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;      任何批评、问题和意见等，都欢迎与我们联系：&lt;a href=&quot;mailto:admin@aliceui.com&quot;&gt;admin@aliceui.com&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: #008000;&quot;&gt;&lt;strong&gt;欢迎关注我们&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;      Twitter：&lt;a href=&quot;http://twitter.com/#!/ialiceui&quot;&gt;http://twitter.com/#!/ialiceui&lt;/a&gt;  腾讯微博：http://t.qq.com/aliceui  新浪微博：http://weibo.com/aliceui&lt;/p&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/595515451/pizn/feedsky/s.gif?r=http://item.feedsky.com/~feedsky/pizn/~8165205/595515451/6268932/1/item.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;</content:encoded><wfw:commentRss>http://www.pizn.net/23-12-2011/alice-opensorce/feed/</wfw:commentRss><slash:comments>1</slash:comments><description>Alice 是支付宝前端样式解决方案小组的项目代称。她包括构建样式库的 样式库解决方案，帮助团队理解新技术的 W3C标准文档库 和正在进行中 实验项目 等; 也是团队的代称。目前 Alice 的主要职责是提供 CSS 和 HTML 方面的技术支持和解决方案开发。&lt;img src=&quot;http://www1.feedsky.com/t1/595515451/pizn/feedsky/s.gif?r=http://item.feedsky.com/~feedsky/pizn/~8165205/595515451/6268932/1/item.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;</description><category>开源</category><category>github</category><category>CSS</category><category>Alice</category><pubDate>Fri, 23 Dec 2011 17:24:18 +0800</pubDate><author>PIZn</author><comments>http://www.pizn.net/23-12-2011/alice-opensorce/#comments</comments><guid isPermaLink="false">http://www.pizn.net/?p=1264</guid><dc:creator>PIZn</dc:creator><fs:srclink>http://www.pizn.net/23-12-2011/alice-opensorce/</fs:srclink><fs:srcfeed>http://www.pizn.net/feed</fs:srcfeed><fs:itemid>feedsky/pizn/~8165205/595515451/6268932</fs:itemid></item><item><title>“.Get GitHub Code、</title><link>http://item.feedsky.com/~feedsky/pizn/~8165205/595515452/6268932/1/item.html</link><content:encoded>&lt;p&gt;&lt;img class=&quot;alignnone size-full wp-image-1245&quot; title=&quot;get-github-code-for-wordpress-plugins&quot; src=&quot;http://pizn.net/wp-content/uploads/2011/12/get-github-code.jpg&quot; alt=&quot;get-github-code-for-wordpress-plugins&quot; width=&quot;600&quot; height=&quot;200&quot; /&gt;&lt;/p&gt;
&lt;p&gt;      因为经常把一些代码放到 &lt;strong&gt;GitHub&lt;/strong&gt; 上面，当有一些 &lt;strong&gt;wordpress&lt;/strong&gt; 文章需要使用到那些代码的时候，又懒得写。因而触发了这样一个想法：把 GitHub 上面的代码传到 wordpress 来，方便快速，直接明确。于是，这个星期就开始折腾着怎么来实现这样的一个功能。&lt;/p&gt;
&lt;p&gt;      而今天发布到 wordpress 插件库的一个新的插件：&lt;span style=&quot;color: #800080;&quot;&gt;&lt;strong&gt;Get GitHub Code&lt;/strong&gt;&lt;/span&gt; ，很好地帮我解决了这个问题。在这里简单介绍下这个插件的使用方法和效果。&lt;/p&gt;
&lt;p&gt;&lt;span id=&quot;more-1244&quot;&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: #008000;&quot;&gt;&lt;strong&gt;适用版本：&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;      wordpress 3.0 或者 3.0 以上。&lt;/p&gt;
&lt;p&gt;      php 环境 5.2.7 或者更高版本。&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: #008000;&quot;&gt;&lt;strong&gt;插件下载：&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;      &lt;a title=&quot;Get GitHub Code&quot; href=&quot;http://wordpress.org/extend/plugins/get-github-code/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;Get GitHub Code&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: #008000;&quot;&gt;&lt;strong&gt;使用方法：&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;      首先，我要说，这个插件比较 213，安装起来相对麻烦。但最终效果不错，如果经常 git 的话，你会喜欢的。&lt;/p&gt;
&lt;p&gt;      1, 下载 Get GitHub Code， 在后台激活。&lt;/p&gt;
&lt;p&gt;      2, 到后台设置页面，菜单-&amp;gt;设置-&amp;gt;Get GitHub Code，开始按照设置页面的内容一步一步来设置。设置的页面如下：&lt;/p&gt;
&lt;p&gt;      &lt;img class=&quot;alignnone size-full wp-image-1246&quot; title=&quot;get-github-code-setting&quot; src=&quot;http://pizn.net/wp-content/uploads/2011/12/get-github-code-setting.jpg&quot; alt=&quot;get-github-code-setting&quot; width=&quot;600&quot; height=&quot;328&quot; /&gt;&lt;/p&gt;
&lt;p&gt;       3, 在服务器端新建个文件夹，用来存放 cache，注意，该文件夹应该具有可读可写权限。&lt;/p&gt;
&lt;p&gt;      4, cache 文件夹设置成功之后，设置 cache 存活时间，还有是否显示出 repo 的信息。&lt;/p&gt;
&lt;p&gt;      5, 在你的 wordpress 主题中的 single.php 或者 page.php 文件中，输出内容的下面加上:&lt;/p&gt;
&lt;pre class=&quot;js&quot;&gt;      &amp;lt;?php igit_getcode(); ?&amp;gt;&lt;/pre&gt;
&lt;p&gt;       6, 完成文章的编辑之后，在右侧有个设置表单，分别用来填写你的 GitHub 项目信息。根据这些信息，就可以获得你在 GitHub 上相应的代码了。设置表单如下图：&lt;/p&gt;
&lt;p&gt;      &lt;img class=&quot;alignnone size-full wp-image-1247&quot; title=&quot;get-github-code-form&quot; src=&quot;http://pizn.net/wp-content/uploads/2011/12/get-github-code-form.jpg&quot; alt=&quot;get-github-code-form&quot; width=&quot;285&quot; height=&quot;382&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: #008000;&quot;&gt;&lt;strong&gt;报错信息解决&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;       如果在完成上面的一些操作之后，文章页面显示出这样一条信息：“Here is the code get form GitHub, but it have some problem. Please wait 1 hours later.”，解决的方法很简单，就是将你的 cache time 设置为 1 分钟，刷新之后看看有没有返回正确的信息。连续几次刷新都无显示，那么可能要删除 cache 了。&lt;/p&gt;
&lt;p&gt;       如果显示的是这样的信息：“Oh, the code form github can&amp;#8217;t not get! Please contact the site master..”，这是因为你的 cache 文件没有填写正确或者不存在。&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: #008000;&quot;&gt;&lt;strong&gt;Bug 反馈和交流&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;      这是个小众性插件，所以用的人比较少。我想成功用的人也应该很少。如果你在使用过程中遇到什么问题，请及时反馈，多多交流哈。&lt;br /&gt;
&lt;span style=&quot;color: #008800;&quot;&gt;&lt;strong&gt;Demo&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
      下面获取的代码是 Get Github Code 获取我的 pizn.me 博客在 github 项目的 changeLog，具体效果如下：&lt;/p&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/595515452/pizn/feedsky/s.gif?r=http://item.feedsky.com/~feedsky/pizn/~8165205/595515452/6268932/1/item.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;</content:encoded><wfw:commentRss>http://www.pizn.net/09-12-2011/get-github-code-for-wordpress-plugins/feed/</wfw:commentRss><slash:comments>1</slash:comments><description>因为经常把一些代码放到 GitHub 上面，当有一些 wordpress 文章需要使用到那些代码的时候，又懒得写。因而触发了这样一个想法：把 GitHub 上面的代码传到 wordpress 来，方便快速，直接明确。于是，这个星期就开始折腾着怎么来实现这样的一个功能。

而今天发布到 wordpress 插件库的一个新的插件：Get GitHub Code ，很好地帮我解决了这个问题。在这里简单介绍下这个插件的使用方法和效果。&lt;img src=&quot;http://www1.feedsky.com/t1/595515452/pizn/feedsky/s.gif?r=http://item.feedsky.com/~feedsky/pizn/~8165205/595515452/6268932/1/item.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;</description><category>wordpress</category><category>github</category><category>Git</category><category>get github code</category><pubDate>Fri, 09 Dec 2011 19:42:16 +0800</pubDate><author>PIZn</author><comments>http://www.pizn.net/09-12-2011/get-github-code-for-wordpress-plugins/#comments</comments><guid isPermaLink="false">http://www.pizn.net/?p=1244</guid><dc:creator>PIZn</dc:creator><fs:srclink>http://www.pizn.net/09-12-2011/get-github-code-for-wordpress-plugins/</fs:srclink><fs:srcfeed>http://www.pizn.net/feed</fs:srcfeed><fs:itemid>feedsky/pizn/~8165205/595515452/6268932</fs:itemid></item><item><title>“.ColorCode for WordPress Plugins、</title><link>http://item.feedsky.com/~feedsky/pizn/~8165205/595515453/6268932/1/item.html</link><content:encoded>&lt;p&gt;&lt;img class=&quot;alignnone size-full wp-image-1223&quot; title=&quot;colorcode-for-wordpress-plugins&quot; src=&quot;http://pizn.net/wp-content/uploads/2011/12/wp-colorcode.jpg&quot; alt=&quot;colorcode-for-wordpress-plugins&quot; width=&quot;600&quot; height=&quot;200&quot; /&gt;&lt;/p&gt;
&lt;p&gt;      之前想过为 &lt;span style=&quot;color: #800080;&quot;&gt;&lt;strong&gt;ColorCode&lt;/strong&gt;&lt;/span&gt; 写个 wordpress 插件，今天简单地完成了 1.0 版本。&lt;/p&gt;
&lt;p&gt;      ColorCode 可以帮助您为 HTML， XML， Javascript 和 CSS 代码提供&lt;strong&gt;代码高亮&lt;/strong&gt;方案。&lt;/p&gt;
&lt;p&gt;&lt;span id=&quot;more-1221&quot;&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: #008000;&quot;&gt;&lt;strong&gt;适用版本：&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;     wordpress 3.0 或以上版本。&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: #008000;&quot;&gt;&lt;strong&gt;插件源码：&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;      &lt;a title=&quot;Colorcode for wordpress plugins&quot; href=&quot;https://github.com/pizn/ColorCode&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;GitHub ColorCode Project&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: #008000;&quot;&gt;&lt;strong&gt;插件下载：&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;      &lt;a title=&quot;ColorCode Plugin&quot; href=&quot;http://wordpress.org/extend/plugins/colorcode/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;ColorCode Plugin &lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: #008000;&quot;&gt;&lt;strong&gt;使用方法：&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;1, 下载或者&lt;code&gt;git clone&lt;/code&gt; ”wp-colorcode” ，解压到 wp-content/plugins/ 目录下。&lt;/p&gt;
&lt;p&gt;2, 进入 wordpress 后台，菜单－》插件－》激活 colorcode。&lt;/p&gt;
&lt;p&gt;3, 编辑文章，切换到 html 编辑，为你想要显示成代码的地方加上如下标签：&lt;/p&gt;
&lt;pre name=&quot;colorcode&quot; class=&quot;html&quot;&gt;&amp;lt;pre name=&quot;colorcode&quot; class=&quot;html&quot; &amp;gt;
...//Your code here
&amp;lt;/pre&amp;gt;&lt;/pre&gt;
&lt;p&gt; 注：class 可以是 &lt;code&gt;html&lt;/code&gt;, &lt;code&gt;xml&lt;/code&gt;, &lt;code&gt;js&lt;/code&gt;, &lt;code&gt;css&lt;/code&gt; 。&lt;/p&gt;
&lt;p&gt;4, 这样就完成了。但还提供了 2 项设置。进入后台，菜单－》设置－》colorcode ，在这里可以选择你喜欢的配色方案（暂时提供 4 套），还能选择是否显示行号。&lt;/p&gt;
&lt;p&gt; 设置页面如下图：&lt;/p&gt;
&lt;p&gt;      &lt;img class=&quot;alignnone size-full wp-image-1224&quot; title=&quot;colorcode-setting&quot; src=&quot;http://pizn.net/wp-content/uploads/2011/12/colorcode-setting.jpg&quot; alt=&quot;colorcode-setting&quot; width=&quot;600&quot; height=&quot;450&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: #008000;&quot;&gt;&lt;strong&gt;插件演示：&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;      下面的代码是通过 ColorCode 插件显示出来的效果。默认的配色方案为 Knight。&lt;/p&gt;
&lt;pre name=&quot;colorcode&quot; class=&quot;js&quot;&gt;&amp;lt;pre class=&quot;js&quot; name=&quot;colorcode&quot;&amp;gt;
window.onload = function() {
          alert(&quot; Hello World!&quot;);
}
&amp;lt;/pre&amp;gt;&lt;/pre&gt;
&lt;p&gt;&lt;span style=&quot;color: #008000;&quot;&gt;&lt;strong&gt;可能遇到的问题：&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;      如果您正确使用了 ColorCode 插件，仍然无法高亮代码，请确定您的 wordpress 主题的底部提供了 wp_footer() 函数。&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: #008000;&quot;&gt;&lt;strong&gt;联系作者：&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;       如果您觉得这个插件还不错，有建议的话可以联系我哈！或者有 Bug 什么的，快快联系我。&lt;/p&gt;
&lt;p&gt;      Email: &lt;a href=&quot;mailto:pizner@gmail.com&quot;&gt;pizner@gmail.com&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;或者给我留言！&lt;/p&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/595515453/pizn/feedsky/s.gif?r=http://item.feedsky.com/~feedsky/pizn/~8165205/595515453/6268932/1/item.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;</content:encoded><wfw:commentRss>http://www.pizn.net/06-12-2011/colorcode-for-wordpress-plugins/feed/</wfw:commentRss><slash:comments>0</slash:comments><description>之前想过为 ColorCode 写个 wordpress 插件，今天简单地完成了 1.0 版本。

ColorCode 可以帮助您为 HTML， XML， Javascript 和 CSS 代码提供代码高亮方案。&lt;img src=&quot;http://www1.feedsky.com/t1/595515453/pizn/feedsky/s.gif?r=http://item.feedsky.com/~feedsky/pizn/~8165205/595515453/6268932/1/item.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;</description><category>wordpress</category><category>highlight</category><category>colorcode</category><pubDate>Tue, 06 Dec 2011 15:50:50 +0800</pubDate><author>PIZn</author><comments>http://www.pizn.net/06-12-2011/colorcode-for-wordpress-plugins/#comments</comments><guid isPermaLink="false">http://www.pizn.net/?p=1221</guid><dc:creator>PIZn</dc:creator><fs:srclink>http://www.pizn.net/06-12-2011/colorcode-for-wordpress-plugins/</fs:srclink><fs:srcfeed>http://www.pizn.net/feed</fs:srcfeed><fs:itemid>feedsky/pizn/~8165205/595515453/6268932</fs:itemid></item><item><title>“.ColorCode 代码高亮、</title><link>http://item.feedsky.com/~feedsky/pizn/~8165205/595515454/6268932/1/item.html</link><content:encoded>&lt;p&gt;&lt;img class=&quot;alignnone size-full wp-image-1202&quot; title=&quot;colorcode-highlight&quot; src=&quot;http://pizn.net/wp-content/uploads/2011/11/colorcode.jpg&quot; alt=&quot;colorcode-highlight&quot; width=&quot;600&quot; height=&quot;200&quot; /&gt;&lt;/p&gt;
&lt;p&gt;      一直在寻在寻找一款代码高亮的插件，希望是找到轻量级的，可调控的，配色方案舒服的。&lt;/p&gt;
&lt;p&gt;      这两天抽了点时间折腾了一下，终于搞定自己喜欢的几套配色方案。简单命名曰：&lt;strong&gt;ColorCode&lt;/strong&gt;，主要是基于 JS 代码高亮的一些配色方案和辅助功能。&lt;/p&gt;
&lt;p&gt;&lt;span id=&quot;more-1201&quot;&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;      这里介绍下。&lt;/p&gt;
&lt;h4&gt;实现原理：&lt;/h4&gt;
&lt;p&gt;&lt;strong&gt;      ColorCode&lt;/strong&gt; 的核心渲染功能是采用了 &lt;a title=&quot;DlHighlight&quot; href=&quot;http://mihai.bazon.net/projects/javascript-syntax-highlighting-engine&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;DlHighlight&lt;/a&gt;  ，通过页面 DOM 结构加载完毕，获取 pre 标签，正则匹配出需要高亮的代码，在浏览器端重新替换掉。并且通过获取到的定义好的 pre 标签中的 class 类来判断是需要高亮的哪种语言（xml，html，javscript，css），来高亮代码。&lt;/p&gt;
&lt;p&gt;      目前提供的语言有：xml， html， javascript， css。（个人只需要这 4 类，可以说比较轻量么？）&lt;/p&gt;
&lt;h4&gt;配色方案：&lt;/h4&gt;
&lt;p&gt;      其实，我的主要工作是配色方案和 DlHighlight 的一些 bug 的修复。&lt;/p&gt;
&lt;p&gt;      个人提供的 4 套配色方案如下：&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style=&quot;color: #800080;&quot;&gt;      1, knight&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;      这是我现在 vim 所采用的一套配色方案，比较喜欢。主要是黑色背景，各种鲜艳的高亮色彩。&lt;/p&gt;
&lt;p&gt;&lt;img class=&quot;alignnone size-full wp-image-1203&quot; title=&quot;colorcode-knight&quot; src=&quot;http://pizn.net/wp-content/uploads/2011/11/knight.jpg&quot; alt=&quot;colorcode-knight&quot; width=&quot;660&quot; height=&quot;350&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style=&quot;color: #800080;&quot;&gt;      2,  moonfang&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;      这也是一套黑色背景的配色方案，但色彩相对 knight 来说灰度大了些，比较宁静，就像月光的痕迹一样，淡淡的舒服。&lt;/p&gt;
&lt;p&gt;&lt;img class=&quot;alignnone size-full wp-image-1204&quot; title=&quot;colorcode-moonfang&quot; src=&quot;http://pizn.net/wp-content/uploads/2011/11/moonfang.jpg&quot; alt=&quot;colorcode-moonfang&quot; width=&quot;660&quot; height=&quot;350&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style=&quot;color: #800080;&quot;&gt;      3, nortrom&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;      这款采用白色背景，比较传统的编辑器都可能会有的一套配色方案。&lt;/p&gt;
&lt;p&gt;&lt;img class=&quot;alignnone size-full wp-image-1205&quot; title=&quot;colorcode-nortrom&quot; src=&quot;http://pizn.net/wp-content/uploads/2011/11/nortrom.jpg&quot; alt=&quot;colorcode-nortrom&quot; width=&quot;660&quot; height=&quot;350&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: #800080;&quot;&gt;&lt;strong&gt;      4, yurnero&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;      恩，这是最简单的一套配色，很清晰舒服。大部分人会喜欢这一套。&lt;/p&gt;
&lt;p&gt;&lt;img class=&quot;alignnone size-full wp-image-1206&quot; title=&quot;colorcode-yurnero&quot; src=&quot;http://pizn.net/wp-content/uploads/2011/11/yurnero.jpg&quot; alt=&quot;colorcode-yurnero&quot; width=&quot;660&quot; height=&quot;350&quot; /&gt;&lt;/p&gt;
&lt;p&gt;      如何呢？你喜欢这 4 宽配色方案么？请给我建议吧。&lt;/p&gt;
&lt;p&gt;      我还会继续完善 ColorCode 这个项目的，会提供更多舒服的配色方案供大家使用。因为我发现现在不只一个项目需要用到这些代码高亮了。&lt;/p&gt;
&lt;h4&gt;在哪里能看到 ColorCode 的实例和地址？&lt;/h4&gt;
&lt;p&gt;      哈哈，请移步 &lt;a title=&quot;pizn's github blog&quot; href=&quot;http://pizn.github.com/blog&quot; rel=&quot;friend&quot; target=&quot;_blank&quot;&gt;PIZn‘s github blog&lt;/a&gt;，在这里我已经用上了。具体的 ColorCode 源代码在我的 Github 项目 &lt;a title=&quot;colorcode&quot; href=&quot;https://github.com/pizn/colorcode&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;ColorCode&lt;/a&gt; 中。&lt;/p&gt;
&lt;h4&gt;不足和后续支持：&lt;/h4&gt;
&lt;p&gt;      1, 将会提供代码复制功能。&lt;/p&gt;
&lt;p&gt;      2, 要不要兼容 IE 9 以下？&lt;/p&gt;
&lt;p&gt;      3, wordpress 插件。&lt;/p&gt;
&lt;p&gt;      4, 更多配色方案。&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/595515454/pizn/feedsky/s.gif?r=http://item.feedsky.com/~feedsky/pizn/~8165205/595515454/6268932/1/item.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;</content:encoded><wfw:commentRss>http://www.pizn.net/30-11-2011/colorcode-highlight/feed/</wfw:commentRss><slash:comments>2</slash:comments><description>一直在寻在寻找一款代码高亮的插件，希望是找到轻量级的，可调控的，配色方案舒服的。

这两天抽了点时间折腾了一下，终于搞定自己喜欢的几套配色方案。简单命名曰：ColorCode，主要是基于 JS 代码高亮的一些配色方案和辅助功能。&lt;img src=&quot;http://www1.feedsky.com/t1/595515454/pizn/feedsky/s.gif?r=http://item.feedsky.com/~feedsky/pizn/~8165205/595515454/6268932/1/item.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;</description><category>highlight</category><category>colorcode</category><category>Web Front</category><pubDate>Wed, 30 Nov 2011 20:31:22 +0800</pubDate><author>PIZn</author><comments>http://www.pizn.net/30-11-2011/colorcode-highlight/#comments</comments><guid isPermaLink="false">http://www.pizn.net/?p=1201</guid><dc:creator>PIZn</dc:creator><fs:srclink>http://www.pizn.net/30-11-2011/colorcode-highlight/</fs:srclink><fs:srcfeed>http://www.pizn.net/feed</fs:srcfeed><fs:itemid>feedsky/pizn/~8165205/595515454/6268932</fs:itemid></item><item><title>“.盲校朋友手工作品展、</title><link>http://item.feedsky.com/~feedsky/pizn/~8165205/595515455/6268932/1/item.html</link><content:encoded>&lt;p&gt;&lt;img class=&quot;alignnone size-full wp-image-1190&quot; title=&quot;盲校的朋友们&quot; src=&quot;http://pizn.net/wp-content/uploads/2011/11/盲校朋友们.jpg&quot; alt=&quot;盲校的朋友们&quot; width=&quot;600&quot; height=&quot;200&quot; /&gt;&lt;/p&gt;
&lt;p&gt;      在 10 月底的西湖国际音乐节，我和 &lt;a title=&quot;萤火虫小分队&quot; href=&quot;http://weibo.com/yinghuochongteam&quot; target=&quot;_blank&quot;&gt;萤火虫小分队&lt;/a&gt; 的其他队员一起，陪伴着浙江盲校的一班朋友度过了美好的两天。在和他们接触的过程中，感触很深。我的这班朋友们，在一些方面很有天赋，也很认真地学习和生活着。&lt;/p&gt;
&lt;p&gt;      用心地微笑着，即使是在一个看不见色彩的世界里面，你也能很生动地感受到。今天，在这里晒一晒这班盲校朋友的手艺吧，他们很不容易。&lt;/p&gt;
&lt;p&gt;&lt;span id=&quot;more-1189&quot;&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h3&gt;纸花&lt;/h3&gt;
&lt;p&gt;      //这是我们遗忘的年代，你还记得小时候你也曾经折过么？&lt;br /&gt;
      &lt;img src=&quot;http://farm7.staticflickr.com/6057/6373751273_01c0321bf0.jpg&quot; alt=&quot;纸花&quot; width=&quot;374&quot; height=&quot;500&quot; /&gt;&lt;/p&gt;
&lt;h3&gt;泥塑－猪&lt;/h3&gt;
&lt;p&gt;      //这，不知道花了多少时间来塑造。&lt;br /&gt;
      &lt;img src=&quot;http://farm7.staticflickr.com/6233/6373745745_f150f65bcb.jpg&quot; alt=&quot;泥塑－猪&quot; width=&quot;374&quot; height=&quot;500&quot; /&gt;&lt;/p&gt;
&lt;h3&gt;画&lt;/h3&gt;
&lt;p&gt;      //这些色彩，都是真实的。&lt;br /&gt;
      &lt;img src=&quot;http://farm7.staticflickr.com/6101/6373735837_361eb88f2d.jpg&quot; alt=&quot;画&quot; width=&quot;500&quot; height=&quot;374&quot; /&gt;&lt;/p&gt;
&lt;h3&gt;纸艺系列&lt;/h3&gt;
&lt;p&gt;      //数不尽有多少张纸了。&lt;br /&gt;
      &lt;img src=&quot;http://farm7.staticflickr.com/6033/6373727679_f8b04dee19.jpg&quot; alt=&quot;纸艺&quot; width=&quot;500&quot; height=&quot;374&quot; /&gt;&lt;/p&gt;
&lt;h3&gt;纸艺系列－船&lt;/h3&gt;
&lt;p&gt;      //令人遐想，船的帆上密密麻麻凹凹凸凸的，是另外一种语言。&lt;br /&gt;
      &lt;img src=&quot;http://farm7.staticflickr.com/6226/6373713445_3bd58c2cba.jpg&quot; alt=&quot;纸艺－船&quot; width=&quot;500&quot; height=&quot;374&quot; /&gt;&lt;/p&gt;
&lt;h3&gt;纸艺作品－蜻蜓&lt;/h3&gt;
&lt;p&gt;      //生动。&lt;/p&gt;
&lt;p&gt;      &lt;img src=&quot;http://farm7.staticflickr.com/6120/6373648591_af395fcbd1.jpg&quot; alt=&quot;蜻蜓&quot; width=&quot;500&quot; height=&quot;374&quot; /&gt;&lt;/p&gt;
&lt;h3&gt;纸艺作品&lt;/h3&gt;
&lt;p&gt;      &lt;img src=&quot;http://farm7.staticflickr.com/6230/6373612045_fdb44e103f.jpg&quot; alt=&quot;纸艺&quot; width=&quot;500&quot; height=&quot;374&quot; /&gt;&lt;/p&gt;
&lt;h3&gt;纸艺作品&lt;/h3&gt;
&lt;p&gt;      &lt;img src=&quot;http://farm7.staticflickr.com/6113/6373606647_1ac288acb8.jpg&quot; alt=&quot;IMG_0277&quot; width=&quot;500&quot; height=&quot;374&quot; /&gt;&lt;/p&gt;
&lt;h3&gt;泥塑－恐龙&lt;/h3&gt;
&lt;p&gt;      &lt;img src=&quot;http://farm7.staticflickr.com/6050/6373590671_0e6d884881.jpg&quot; alt=&quot;恐龙&quot; width=&quot;500&quot; height=&quot;374&quot; /&gt;&lt;/p&gt;
&lt;h3&gt;陶艺－龟兔赛跑&lt;/h3&gt;
&lt;p&gt;      &lt;img src=&quot;http://farm7.staticflickr.com/6032/6373583519_6856643e95.jpg&quot; alt=&quot;陶艺－龟兔&quot; width=&quot;500&quot; height=&quot;374&quot; /&gt;&lt;/p&gt;
&lt;h3&gt;陶艺－克隆公鸡&lt;/h3&gt;
&lt;p&gt;      &lt;img src=&quot;http://farm7.staticflickr.com/6232/6373582243_d2d55f1d65.jpg&quot; alt=&quot;陶艺－克隆公鸡&quot; width=&quot;500&quot; height=&quot;374&quot; /&gt;&lt;/p&gt;
&lt;h3&gt;纸艺－椅子&lt;/h3&gt;
&lt;p&gt;      &lt;img src=&quot;http://farm7.staticflickr.com/6238/6373577817_754984461e.jpg&quot; alt=&quot;叠纸&quot; width=&quot;500&quot; height=&quot;374&quot; /&gt;&lt;/p&gt;
&lt;h3&gt;纸艺－劳动&lt;/h3&gt;
&lt;p&gt;       &lt;img src=&quot;http://farm7.staticflickr.com/6226/6373569757_ca5288008d.jpg&quot; alt=&quot;劳动。&quot; width=&quot;500&quot; height=&quot;374&quot; /&gt;&lt;br /&gt;
       &lt;img src=&quot;http://farm7.staticflickr.com/6104/6373560611_f01c63a777.jpg&quot; alt=&quot;劳动&quot; width=&quot;500&quot; height=&quot;374&quot; /&gt;&lt;/p&gt;
&lt;h3&gt;陶艺－对鹅&lt;/h3&gt;
&lt;p&gt;      &lt;img src=&quot;http://farm7.staticflickr.com/6120/6373551349_99912992e9.jpg&quot; alt=&quot;对鹅&quot; width=&quot;500&quot; height=&quot;374&quot; /&gt;&lt;/p&gt;
&lt;h3&gt;陶艺－狮子和牛&lt;/h3&gt;
&lt;p&gt;       &lt;img src=&quot;http://farm7.staticflickr.com/6104/6373539525_c0d7de8ec8.jpg&quot; alt=&quot;陶艺－牛和狮子&quot; width=&quot;500&quot; height=&quot;374&quot; /&gt;&lt;/p&gt;
&lt;h3&gt;纸画&lt;/h3&gt;
&lt;p&gt;      //我特别喜欢这幅。&lt;br /&gt;
      &lt;img src=&quot;http://farm7.staticflickr.com/6119/6373523799_61af46a5a5.jpg&quot; alt=&quot;纸画&quot; width=&quot;500&quot; height=&quot;374&quot; /&gt;&lt;/p&gt;
&lt;h3&gt;纸艺&lt;/h3&gt;
&lt;p&gt;       &lt;img src=&quot;http://farm7.staticflickr.com/6053/6373519487_17304facaa.jpg&quot; alt=&quot;纸艺&quot; width=&quot;500&quot; height=&quot;374&quot; /&gt;&lt;/p&gt;
&lt;h2&gt;感悟：&lt;/h2&gt;
&lt;p&gt;      现在看朋友的这些作品，和在这里贴出来的感觉实在不同。那天，就我一个人在一个展厅里面，静静地欣赏着这些优秀的作品。想象着他们是如何完成的，感觉到不可思议。&lt;br /&gt;
用手触摸，用心感受，另外一种心灵之间的语言。盲校的朋友们，好样的！^^&lt;/p&gt;
&lt;h2&gt;后话：&lt;/h2&gt;
&lt;p&gt;      我对自己说，要让你们能够成功通过屏幕阅读器成功读到这片文章。恩。&lt;/p&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/595515455/pizn/feedsky/s.gif?r=http://item.feedsky.com/~feedsky/pizn/~8165205/595515455/6268932/1/item.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;</content:encoded><wfw:commentRss>http://www.pizn.net/25-11-2011/my-friends-exhibition/feed/</wfw:commentRss><slash:comments>1</slash:comments><description>在 10 月底的西湖国际音乐节，我和 萤火虫小分队 的其他队员一起，陪伴着浙江盲校的一班朋友度过了美好的两天。在和他们接触的过程中，感触很深。我的这班朋友们，在一些方面很有天赋，也很认真地学习和生活着。

用心地微笑着，即使是在一个看不见色彩的世界里面，你也能很生动地感受到。今天，在这里晒一晒这班盲校朋友的手艺吧，他们很不容易。&lt;img src=&quot;http://www1.feedsky.com/t1/595515455/pizn/feedsky/s.gif?r=http://item.feedsky.com/~feedsky/pizn/~8165205/595515455/6268932/1/item.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;</description><category>PIZn's live</category><category>盲校朋友</category><category>手工作品</category><pubDate>Fri, 25 Nov 2011 14:28:22 +0800</pubDate><author>PIZn</author><comments>http://www.pizn.net/25-11-2011/my-friends-exhibition/#comments</comments><guid isPermaLink="false">http://www.pizn.net/?p=1189</guid><dc:creator>PIZn</dc:creator><fs:srclink>http://www.pizn.net/25-11-2011/my-friends-exhibition/</fs:srclink><fs:srcfeed>http://www.pizn.net/feed</fs:srcfeed><fs:itemid>feedsky/pizn/~8165205/595515455/6268932</fs:itemid></item><item><title>“.做一只小小萤火虫、</title><link>http://item.feedsky.com/~feedsky/pizn/~8165205/595515456/6268932/1/item.html</link><content:encoded>&lt;p&gt;&lt;img class=&quot;alignnone size-full wp-image-1173&quot; title=&quot;firefly-team&quot; src=&quot;http://pizn.net/wp-content/uploads/2011/10/firefly.jpg&quot; alt=&quot;firefly-team&quot; width=&quot;600&quot; height=&quot;200&quot; /&gt;&lt;/p&gt;
&lt;p&gt;      我，是一个伪程序猿，假设计湿，刚从象牙塔出来不久的普通毕业生。为什么要做一只小小&lt;strong&gt;萤火虫&lt;/strong&gt;呢？很庆幸，因为我高度近视的双眼还能看到这个多彩的世界，蓝的天，白的云，紫色的罗兰……&lt;/p&gt;
&lt;p&gt;      来到杭州已经有 3 个多月了，这里比我想象的好。很多人曾经问我，为什么从广州跑到杭州来。我觉得大可不必问了，这是一个追梦的年代。我怀揣着梦想。&lt;/p&gt;
&lt;p&gt;&lt;span id=&quot;more-1172&quot;&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;      假如你对我特别感兴趣，还想寻问着我的梦想是什么。其实我是矛盾的，漫无目的的，可以随便忽悠你。但今天看到阮一峰的最新文章&lt;a title=&quot;活着的三个理由&quot; href=&quot;http://www.ruanyifeng.com/blog/2011/10/what_I_have_lived_for.html&quot; target=&quot;_blank&quot;&gt;《活着的三个理由》&lt;/a&gt;，至少就是我的梦想中的一部分了：&lt;/p&gt;
&lt;p&gt;      1，追求爱情&lt;/p&gt;
&lt;p&gt;      2，追求知识&lt;/p&gt;
&lt;p&gt;      3，同情心&lt;/p&gt;
&lt;p&gt;      更重要的，是活着的价值。&lt;/p&gt;
&lt;p&gt;      生命是很短暂的，人总是那么的痛苦。在活着的时候，创造出有益于别人的价值，即便死去，精神也同样的存在（不想用形容词了，看看乔布斯吧）。&lt;/p&gt;
&lt;p&gt;      还在学校的时候，我很单纯地想着一些事情，但没有动手去做（应该是环境的问题，假如你在学校宿舍里高喊：“我要改造世界”，马上被人当作神经病；即使你只是想做些特别有公益性的，也会变质）。&lt;/p&gt;
&lt;p&gt;      现在好了，能在公司遇到这样一群志同道合的人——他们是富有爱心，肯为他人默默付出，关注着这个社会的微小角落里的美丽心灵的人。这，在开始的时候就一直让我激动不已。&lt;/p&gt;
&lt;p&gt;      曾经还有人问我：当你跟某个人第一次见面的时候，你会注意他／她哪里？&lt;/p&gt;
&lt;p&gt;      也许你也会回答：眼睛。&lt;/p&gt;
&lt;p&gt;      但你真的去关注过么？眼睛是心灵的窗口，同时也是这个花花世界的窗口。&lt;/p&gt;
&lt;p&gt;     在这个社会，还有这样一群要被忽视的人群——他们看不到蓝天白云，看不到绿草红花，他们生活在黑暗的世界里……&lt;/p&gt;
&lt;p&gt;      好吧，不敷述了。&lt;/p&gt;
&lt;p&gt;      我对自己说：要尽自己能力，做一只小小的&lt;strong&gt;萤火虫&lt;/strong&gt;，传递更多的美好，希望和爱。&lt;/p&gt;
&lt;p&gt;      最后宣传：&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;      &lt;a title=&quot;萤火虫小分队&quot; href=&quot;http://weibo.com/yinghuochongteam&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;萤火虫小分队&lt;/a&gt;&lt;/strong&gt;：着力关注视觉障障人群，传递美好、希望和爱。让我们一起努力，让这个世界有微小而美好的改变。&lt;/p&gt;
&lt;p&gt;      &lt;span style=&quot;color: #800080;&quot;&gt;假如你看得到这个多彩的世界，加入我们吧！&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;      趁今晚杭城下着大雨，静下心来思考工作以外的事情。值！晒一下给自己定的小计划：&lt;/p&gt;
&lt;p&gt;      1，学习3种语言（日语，盲文，摩尔斯基码）；&lt;/p&gt;
&lt;p&gt;      2，关注和学习无障碍体验；&lt;/p&gt;
&lt;p&gt;      3，做友爱的前端攻城湿。&lt;/p&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/595515456/pizn/feedsky/s.gif?r=http://item.feedsky.com/~feedsky/pizn/~8165205/595515456/6268932/1/item.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;</content:encoded><wfw:commentRss>http://www.pizn.net/20-10-2011/be-a-little-firefly/feed/</wfw:commentRss><slash:comments>3</slash:comments><description>我，是一个伪程序猿，假设计湿，刚从象牙塔出来不久的普通毕业生。很庆幸，我高度近视的双眼还能看到这个多彩的世界，蓝的天，白的云，紫色的罗兰……

来到杭州已经有 3 个多月了，这里比我想象的好。很多人曾经问我，为什么从广州跑到杭州来。我觉得大可不必问了，这是一个追梦的年代。我怀揣着梦想。&lt;img src=&quot;http://www1.feedsky.com/t1/595515456/pizn/feedsky/s.gif?r=http://item.feedsky.com/~feedsky/pizn/~8165205/595515456/6268932/1/item.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;</description><category>PIZn's live</category><category>萤火虫小分队</category><category>萤火虫</category><pubDate>Thu, 20 Oct 2011 23:43:53 +0800</pubDate><author>PIZn</author><comments>http://www.pizn.net/20-10-2011/be-a-little-firefly/#comments</comments><guid isPermaLink="false">http://www.pizn.net/?p=1172</guid><dc:creator>PIZn</dc:creator><fs:srclink>http://www.pizn.net/20-10-2011/be-a-little-firefly/</fs:srclink><fs:srcfeed>http://www.pizn.net/feed</fs:srcfeed><fs:itemid>feedsky/pizn/~8165205/595515456/6268932</fs:itemid></item><item><title>“.使用 GitHub Pages 建立博客、</title><link>http://item.feedsky.com/~feedsky/pizn/~8165205/595515457/6268932/1/item.html</link><content:encoded>&lt;p&gt;&lt;img class=&quot;alignnone size-full wp-image-1166&quot; title=&quot;pages&quot; src=&quot;http://pizn.net/wp-content/uploads/2011/09/pages.jpg&quot; alt=&quot;pages&quot; width=&quot;600&quot; height=&quot;200&quot; /&gt;&lt;/p&gt;
&lt;p&gt;      一直在寻求能够快速发表文章的工具，于是不停地尝试。这星期折腾了下 &lt;strong&gt;GitHub Pages&lt;/strong&gt;，并尝试在上面建立起我的博客副本，感觉挺不错的，可以通过 &lt;strong&gt;vim&lt;/strong&gt; 编辑文章，然后快速地发布出来。&lt;/p&gt;
&lt;p&gt;      Github Pages 除了支持常规的 HTML 内容，还支持 Jekyll——简单的静态网站发生器。&lt;strong&gt;&lt;span style=&quot;color: #800080;&quot;&gt;Jekyll&lt;/span&gt;&lt;/strong&gt; 使得我们很容易地创建站点范围内通用的模板，而无需复制。当我们做好了页面页脚之后，每次就只需提交文章就好了。&lt;/p&gt;
&lt;p&gt;&lt;span id=&quot;more-1152&quot;&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;      之前已经在自己搭好的 GitHub Pages 上简单记录了这个过程，趁今天天气不错，阳光灿烂，心情大好，就把这个过程发表出来吧。&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: #800080;&quot;&gt;&lt;strong&gt;在阅读这篇文章之前，你也许需要：&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;      1，拥有一个 GitHub 的帐号；&lt;/p&gt;
&lt;p&gt;      2，懂得 GitHub 命令；&lt;/p&gt;
&lt;p&gt;      3，在自己终端建立了 GitHub 连接。&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: #800080;&quot;&gt;&lt;strong&gt;建立 GitHub Pages 的过程导读&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;      其实很简单。首先需要建立起自己的项目，然后到项目控制中心建立 Pages，最后进行一些 Jekyll 模板的设置和美化。尔后，假如你的 GitHub 用户名是 pizn ，项目名是 test，你就访问这个路径就可以了 http://pizn.github.com/test&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: #800080;&quot;&gt;&lt;strong&gt;建立自己的项目&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;      登录 GitHub，到 GitHub 面板，右下方可以创建一个新的 Repository，如图：&lt;/p&gt;
&lt;p&gt;      &lt;img class=&quot;alignnone size-full wp-image-1154&quot; title=&quot;create-new-repository&quot; src=&quot;http://pizn.net/wp-content/uploads/2011/09/create-new-repository.jpg&quot; alt=&quot;create-new-repository&quot; width=&quot;600&quot; height=&quot;428&quot; /&gt;&lt;/p&gt;
&lt;p&gt;      填写完名字和描述之后，点击 Create Repository  之后，就会刷新到一个页面，该页面会教你如何在自己本地建立相应的库，并建立连接。正常情况下你可以看到下面的代码：&lt;/p&gt;
&lt;ol class=&quot;code&quot;&gt;
&lt;li class=&quot;t0&quot;&gt;&lt;code&gt;mkdir test //创建 test 文件夹&lt;/code&gt;&lt;/li&gt;
&lt;li class=&quot;t0&quot;&gt;&lt;code&gt;cd test //切换到 test 文件夹&lt;/code&gt;&lt;/li&gt;
&lt;li class=&quot;t0&quot;&gt;&lt;code&gt;git init //初始化&lt;/code&gt;&lt;/li&gt;
&lt;li class=&quot;t0&quot;&gt;&lt;code&gt;//接着会在这里输出 Initialized empty Git repository in yourUrl/test/.git/&lt;/code&gt;&lt;/li&gt;
&lt;li class=&quot;t0&quot;&gt;&lt;code&gt;touch README //新文件&lt;/code&gt;&lt;/li&gt;
&lt;li class=&quot;t0&quot;&gt;&lt;code&gt;git add README //添加&lt;/code&gt;&lt;/li&gt;
&lt;li class=&quot;t0&quot;&gt;&lt;code&gt;git commit -m 'first commit' /commit 信息&lt;/code&gt;&lt;/li&gt;
&lt;li class=&quot;t0&quot;&gt;&lt;code&gt;//接着会在这里输出 [master (root-commit) 4f8d7e8] first commit&lt;/code&gt;&lt;/li&gt;
&lt;li class=&quot;t0&quot;&gt;&lt;code&gt;// 0 files changed, 0 insertions(+), 0 deletions(-)&lt;/code&gt;&lt;/li&gt;
&lt;li class=&quot;t0&quot;&gt;&lt;code&gt;// create mode 100644 README&lt;/code&gt;&lt;/li&gt;
&lt;li class=&quot;t0&quot;&gt;&lt;code&gt;git remote add origin git@github.com:pizn/test.git&lt;/code&gt;&lt;/li&gt;
&lt;li class=&quot;t0&quot;&gt;&lt;code&gt;git push -u origin master //上传到 Master 目录&lt;/code&gt;&lt;/li&gt;
&lt;li class=&quot;t0&quot;&gt;&lt;code&gt;//接着会在这里输出 00% (3/3), 203 bytes, done.&lt;/code&gt;&lt;/li&gt;
&lt;li class=&quot;t0&quot;&gt;&lt;code&gt;// Total 3 (delta 0), reused 0 (delta 0)&lt;/code&gt;&lt;/li&gt;
&lt;li class=&quot;t0&quot;&gt;&lt;code&gt;// To git@github.com:yourUserName/test.git&lt;/code&gt;&lt;/li&gt;
&lt;li class=&quot;t0&quot;&gt;&lt;code&gt;// * [new branch]      master -&amp;gt; master&lt;/code&gt;&lt;/li&gt;
&lt;li class=&quot;t0&quot;&gt;&lt;code&gt;//Branch master set up to track remote branch master from origin.&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;      然后回到 GitHub 的 test 目录下，你就可以发现很神奇的时期发生了，如下图：&lt;/p&gt;
&lt;p&gt;      &lt;img class=&quot;alignnone size-full wp-image-1156&quot; title=&quot;connet-result&quot; src=&quot;http://pizn.net/wp-content/uploads/2011/09/connet-result.jpg&quot; alt=&quot;connet-result&quot; width=&quot;600&quot; height=&quot;126&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: #800080;&quot;&gt;&lt;strong&gt;创建 GitHub Pages&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;      在相应的项目，例如 test ，通过 Admin 进入项目的控制面板。&lt;/p&gt;
&lt;p&gt;      &lt;img class=&quot;alignnone size-full wp-image-1157&quot; title=&quot;click-admin&quot; src=&quot;http://pizn.net/wp-content/uploads/2011/09/click-admin.jpg&quot; alt=&quot;click-admin&quot; width=&quot;471&quot; height=&quot;71&quot; /&gt;&lt;/p&gt;
&lt;p&gt;      然后建立点击 GitHub 建立自己的页面。&lt;/p&gt;
&lt;p&gt;      &lt;img class=&quot;alignnone size-full wp-image-1158&quot; title=&quot;create-pages&quot; src=&quot;http://pizn.net/wp-content/uploads/2011/09/create-pages.jpg&quot; alt=&quot;create-pages&quot; width=&quot;600&quot; height=&quot;327&quot; /&gt;&lt;/p&gt;
&lt;p&gt;      点击弹出窗口的链接，自动创建一个 Pages，当然，这还需要填写一个表单，关于这个页面的。你也可以直接点击继续跳过。当页面建立好之后，你就可以通过这样的一个路径访问到了：http://yourUserName.github.com/test&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: #800080;&quot;&gt;&lt;strong&gt;建立本地与页面分支的连接&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;      在终端下切换到刚刚的 test 文件夹&lt;/p&gt;
&lt;ol class=&quot;code&quot;&gt;
&lt;li class=&quot;t0&quot;&gt;&lt;code&gt;git fetch origin&lt;/code&gt;&lt;/li&gt;
&lt;li class=&quot;t0&quot;&gt;&lt;code&gt;//输出内容：remote: Counting objects: 3, done.&lt;/code&gt;&lt;/li&gt;
&lt;li class=&quot;t0&quot;&gt;&lt;code&gt;//remote: Compressing objects: 100% (2/2), done.&lt;/code&gt;&lt;/li&gt;
&lt;li class=&quot;t0&quot;&gt;&lt;code&gt;//remote: Total 3 (delta 0), reused 0 (delta 0)&lt;/code&gt;&lt;/li&gt;
&lt;li class=&quot;t0&quot;&gt;&lt;code&gt;//Unpacking objects: 100% (3/3), done.&lt;/code&gt;&lt;/li&gt;
&lt;li class=&quot;t0&quot;&gt;&lt;code&gt;//From github.com:pizn/test&lt;/code&gt;&lt;/li&gt;
&lt;li class=&quot;t0&quot;&gt;&lt;code&gt;//* [new branch]      gh-pages   -&amp;gt; origin/gh-pages&lt;/code&gt;&lt;/li&gt;
&lt;li class=&quot;t0&quot;&gt;&lt;code&gt;git checkout -b gh-pages origin/gh-pages//切换分支&lt;/code&gt;&lt;/li&gt;
&lt;li class=&quot;t0&quot;&gt;&lt;code&gt;//输出内容Branch gh-pages set up to track remote branch gh-pages from origin.&lt;/code&gt;&lt;/li&gt;
&lt;li class=&quot;t0&quot;&gt;&lt;code&gt;//Switched to a new branch 'gh-pages'&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;span style=&quot;color: #800080;&quot;&gt;&lt;strong&gt;使用 Jekyll 配置 Pages 模板&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
      一般的 pages 所需要具备的目录结构：&lt;/p&gt;
&lt;ol class=&quot;code&quot;&gt;
&lt;li class=&quot;t0&quot;&gt;&lt;code&gt;.&lt;/code&gt;&lt;/li&gt;
&lt;li class=&quot;t0&quot;&gt;&lt;code&gt;|-- _config.yml&lt;/code&gt;&lt;/li&gt;
&lt;li class=&quot;t0&quot;&gt;&lt;code&gt;|-- _layouts&lt;/code&gt;&lt;/li&gt;
&lt;li class=&quot;t0&quot;&gt;&lt;code&gt;| |-- default.html&lt;/code&gt;&lt;/li&gt;
&lt;li class=&quot;t0&quot;&gt;&lt;code&gt;| `-- post.html&lt;/code&gt;&lt;/li&gt;
&lt;li class=&quot;t0&quot;&gt;&lt;code&gt;|-- _posts&lt;/code&gt;&lt;/li&gt;
&lt;li class=&quot;t0&quot;&gt;&lt;code&gt;| |-- 2011-09-23-markdown.md&lt;/code&gt;&lt;/li&gt;
&lt;li class=&quot;t0&quot;&gt;&lt;code&gt;| `-- 2011-09-23-helloworld.md&lt;/code&gt;&lt;/li&gt;
&lt;li class=&quot;t0&quot;&gt;&lt;code&gt;|-- _site&lt;/code&gt;&lt;/li&gt;
&lt;li class=&quot;t0&quot;&gt;&lt;code&gt;`-- index.html &lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;      _layouts 目录是用来存放模板的，在这里你可以定义页面中不同的头部和底部。&lt;/p&gt;
&lt;p&gt;      _posts 目录是用来存放你的文章的，一般以日期的形式书写标题。&lt;/p&gt;
&lt;p&gt;      index.html是你的页面首页。&lt;/p&gt;
&lt;p&gt;      _config.yml 是配置文件。&lt;/p&gt;
&lt;p&gt;      明确了这个文件目录之后，应该如何动手来写自己的页面呢？简单的方法就是查看别人是怎么写的，&lt;a title=&quot;使用 jekyll 搭建的站点&quot; href=&quot;https://github.com/mojombo/jekyll/wiki/sites&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;这里&lt;/a&gt;有很多。具体的就不说了，当你在本地建立起这些目录和文件之后，你还需要将他们上传到你的 gh-pages 分支下。这样的话访问你的主页才能看到。&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style=&quot;color: #800080;&quot;&gt;一般使用到的命令有：&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;ol class=&quot;code&quot;&gt;
&lt;li class=&quot;0&quot;&gt;&lt;code&gt;git add .&lt;/code&gt;&lt;/li&gt;
&lt;li class=&quot;0&quot;&gt;&lt;code&gt;git commit -m 'commit messages'&lt;/code&gt;&lt;/li&gt;
&lt;li class=&quot;0&quot;&gt;&lt;code&gt;git push origin gh-pages&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;      因为你可能要修改很多次，需要重复提交才能看到修改过的地方。这频繁的修改并不利于你的效率，所以最好能在本地搭建好 Jekyll 环境，直接运行 jekyll &amp;#8211;server 你就可以通过 localhost:4000 进行本地访问。如何搭建本地 jekyll 环境，请查看&lt;a title=&quot;how-to-install-jekyll&quot; href=&quot;https://github.com/mojombo/jekyll/wiki/install&quot; target=&quot;_blank&quot;&gt;这里&lt;/a&gt;。&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: #800080;&quot;&gt;&lt;strong&gt;使用一些函数来获取你的数据&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;      &lt;span style=&quot;color: #008000;&quot;&gt;&lt;strong&gt;站点的&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;ol class=&quot;code&quot;&gt;
&lt;li&gt;&lt;code&gt;site.time//时间&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;site.posts//文章&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;site.related_posts&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;site.categories.CATEGORY //分类&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;site.tages.TAG//标签&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;     &lt;span style=&quot;color: #008000;&quot;&gt;&lt;strong&gt; 页面&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;ol class=&quot;code&quot;&gt;
&lt;li&gt;&lt;code&gt;page.url //页面路径&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;page.content//页面内容&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;      &lt;span style=&quot;color: #008000;&quot;&gt;&lt;strong&gt;文章&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;ol class=&quot;code&quot;&gt;
&lt;li&gt;&lt;code&gt;post.title //标题&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;post.url//路径&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;post.date //数据&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;post.id&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;post.categories//分类&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;post.tags&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;post.content&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;     &lt;strong&gt;&lt;span style=&quot;color: #008000;&quot;&gt; 分页&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;ol class=&quot;code&quot;&gt;
&lt;li&gt;&lt;code&gt;paginator.per_page&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;paginator.posts&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;paginator.total_posts&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;paginator.total_pages&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;paginator.page&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;paginator.previous_page&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;paginator.next_page&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;span style=&quot;color: #800080;&quot;&gt;&lt;strong&gt;关于文章页面&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
      Github Pages 上的文章支持 MarkDown 语法，只需要将文件保存为 .md 的格式，就可以了。&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: #800080;&quot;&gt;&lt;strong&gt;后续补充&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;      折腾 GitHub Pages 不是很久，相信在以后会不断地学到新的知识，到时候再更新下。如果你有什么不懂的地方，欢迎一起研究和探讨。我在 GitHub 上的博客副本——&lt;a title=&quot;PIZm.Me&quot; href=&quot;http://www.pizn.me&quot; target=&quot;_blank&quot;&gt;PIZn.Me&lt;/a&gt;，建立这样的一个博客，是为了在工作中将总结的东西快速发布出来，当作是自己记录的一个地方吧。只要一有时间，我会整理文章放到这边来的。:D&lt;/p&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/595515457/pizn/feedsky/s.gif?r=http://item.feedsky.com/~feedsky/pizn/~8165205/595515457/6268932/1/item.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;</content:encoded><wfw:commentRss>http://www.pizn.net/24-09-2011/use-github-pages-to-build-a-blog/feed/</wfw:commentRss><slash:comments>9</slash:comments><description>一直在寻求能够快速发表文章的工具，于是不停地尝试。这星期折腾了下 GitHub Pages，并尝试在上面建立起我的博客副本，感觉挺不错的，可以通过 vim 编辑文章，然后快速地发布出来。
Github Pages 除了支持常规的 HTML 内容，还支持 Jekyll——简单的静态网站发生器。Jekyll 使得我们很容易地创建站点范围内通用的模板，而无需复制。当我们做好了页面页脚之后，每次就只需提交文章就好了。&lt;img src=&quot;http://www1.feedsky.com/t1/595515457/pizn/feedsky/s.gif?r=http://item.feedsky.com/~feedsky/pizn/~8165205/595515457/6268932/1/item.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;</description><category>pages</category><category>git</category><category>github pages</category><category>github</category><category>Git</category><pubDate>Sat, 24 Sep 2011 16:12:15 +0800</pubDate><author>PIZn</author><comments>http://www.pizn.net/24-09-2011/use-github-pages-to-build-a-blog/#comments</comments><guid isPermaLink="false">http://www.pizn.net/?p=1152</guid><dc:creator>PIZn</dc:creator><fs:srclink>http://www.pizn.net/24-09-2011/use-github-pages-to-build-a-blog/</fs:srclink><fs:srcfeed>http://www.pizn.net/feed</fs:srcfeed><fs:itemid>feedsky/pizn/~8165205/595515457/6268932</fs:itemid></item><item><title>“.使用 Trello 进行团队任务分配和跟踪、</title><link>http://item.feedsky.com/~feedsky/pizn/~8165205/595515458/6268932/1/item.html</link><content:encoded>&lt;p&gt;&lt;img class=&quot;alignnone size-full wp-image-1128&quot; title=&quot;use-trello&quot; src=&quot;http://pizn.net/wp-content/uploads/2011/09/use-trello.jpg&quot; alt=&quot;use-trello&quot; width=&quot;600&quot; height=&quot;200&quot; /&gt;&lt;/p&gt;
&lt;p&gt;      &lt;span style=&quot;color: #800080;&quot;&gt;&lt;strong&gt;Trello&lt;/strong&gt;&lt;/span&gt; 是一个协作工具，帮助组织您的项目任务分配。它给予我们一目了然的设觉风格，直接地告诉你有什么工作，谁正在做什么，并将做好的，正在做到，将要做的整合到一起。&lt;/p&gt;
&lt;p&gt;      今天下午尝试了在 &lt;a title=&quot;trello&quot; href=&quot;https://trello.com/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;Trello&lt;/a&gt; 下进行团队项目的分配和跟踪，感觉特别的爽。原因有 3 个，一个是确实一目了然，简单明了；一个是不用刷新，ajax 加载；还有一个是团队性质的 &lt;span style=&quot;color: #008000;&quot;&gt;&lt;strong&gt;To Do List&lt;/strong&gt;&lt;/span&gt; 。&lt;/p&gt;
&lt;p&gt;&lt;span id=&quot;more-1127&quot;&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;      究竟有多好呢？今天就一步一步通过图片的形式来说明吧。怎样？&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style=&quot;color: #800080;&quot;&gt;开始之前&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;      当然是注册一个 &lt;strong&gt;Trello&lt;/strong&gt; 帐号啦，虽然是全站是英文的，但看起来就是那么的舒服。你会很容易就找到注册的地方的。&lt;/p&gt;
&lt;p&gt;      注册完之后，你就会进入你的个人中心，该网站的布局相当好。最顶部的深蓝色条框的主要功能依次是 logo ，搜索框，帮助文档，通告，板和个人账户（头像等）。中间部分是我的板块，最右边则是相应的菜单。从第一感觉来说，整个界面清晰明了，没有让我需要去思考的地方（除了思考某个单词究竟是什么意思，哈哈）。&lt;/p&gt;
&lt;p&gt;      除了注册一个帐号之外，你应该了解的有 3 点。&lt;/p&gt;
&lt;p&gt;      1，你建立一个项目，在这里称作一个“板”，即 &lt;strong&gt;Board&lt;/strong&gt;；&lt;/p&gt;
&lt;p&gt;      2，“板”里面有项目“条”，即 &lt;strong&gt;List&lt;/strong&gt;；&lt;/p&gt;
&lt;p&gt;      3，“条”里面是“卡片”，即 &lt;strong&gt;Card&lt;/strong&gt;；&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: #800080;&quot;&gt;&lt;strong&gt;入手入手&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;      好了，我们来建立一个新的板，入口就在你的所有“板”里面（顶部）。&lt;/p&gt;
&lt;p&gt;      &lt;img class=&quot;alignnone size-full wp-image-1129&quot; title=&quot;create-new-board&quot; src=&quot;http://pizn.net/wp-content/uploads/2011/09/create-new-board.jpg&quot; alt=&quot;create-new-board&quot; width=&quot;600&quot; height=&quot;418&quot; /&gt;&lt;/p&gt;
&lt;p&gt;      创建一个 Board 的时候，需要填的是 Title（标题），Add to Organization（选择是否添加到团队），Visibility（可访问性）。第一次的时候，如有不懂，里面有详细的提示哈。赞，考虑周到的设计。而绿色的 Create New Board 按钮，更是很有让你创建一个 Board 的冲动吧！&lt;/p&gt;
&lt;p&gt;      &lt;img class=&quot;alignnone size-full wp-image-1130&quot; title=&quot;in-board-3-list&quot; src=&quot;http://pizn.net/wp-content/uploads/2011/09/in-board-3-list.jpg&quot; alt=&quot;in-board-3-list&quot; width=&quot;600&quot; height=&quot;365&quot; /&gt;&lt;/p&gt;
&lt;p&gt;      创建完 Board 之后，系统默认会生成 3 个 list ，分别是 To Do，Doing，Done。你可以直接将鼠标移到任何一个 list 上面，点击一下就可以添加新的 card。嗯，编辑和保存都在这里，支持键盘快捷键哦。爽!&lt;/p&gt;
&lt;p&gt;      &lt;img class=&quot;alignnone size-full wp-image-1132&quot; title=&quot;card&quot; src=&quot;http://pizn.net/wp-content/uploads/2011/09/card.jpg&quot; alt=&quot;card&quot; width=&quot;600&quot; height=&quot;571&quot; /&gt;&lt;/p&gt;
&lt;p&gt;      我们在 list 简单添加的 cards 只是为每一个 card 添加了标题。接着我们可以点击 card 进行下一步详细的编辑。这个 card 里面可是充满着你所期待的功能，例如项目描述，人员分配（通过不同 Labels 颜色），增加项目进度条（这需要自己添加小项目的），相关评论，投票功能，上传文件，还有当前操作的操作历史功能等。&lt;/p&gt;
&lt;p&gt;      &lt;img class=&quot;alignnone size-full wp-image-1133&quot; title=&quot;cards&quot; src=&quot;http://pizn.net/wp-content/uploads/2011/09/cards.jpg&quot; alt=&quot;cards&quot; width=&quot;600&quot; height=&quot;427&quot; /&gt;&lt;/p&gt;
&lt;p&gt;      当我们很细心地为每一个 card 进行编辑了（其实我觉得是对一个项目的计划进一步细化）之后，你回到该项目的 Board 的时候，你会发现为什么是“简单明了”的了。看，灰色小图标＋数字；看七彩的小标签；看，你的头像；看，还有人投票了呢。&lt;/p&gt;
&lt;p&gt;      &lt;img class=&quot;alignnone size-full wp-image-1134&quot; title=&quot;add-menbers&quot; src=&quot;http://pizn.net/wp-content/uploads/2011/09/add-menbers.jpg&quot; alt=&quot;add-menbers&quot; width=&quot;600&quot; height=&quot;232&quot; /&gt;&lt;/p&gt;
&lt;p&gt;      当你想增加新的同学进来一起做项目的时候，很简单。假如对方已经是 Trello 用户，那你可以添加他的名字；不是的话，就输入个邮箱去邀请吧。&lt;/p&gt;
&lt;p&gt;      &lt;img class=&quot;alignnone size-full wp-image-1131&quot; title=&quot;preferences&quot; src=&quot;http://pizn.net/wp-content/uploads/2011/09/preferences.jpg&quot; alt=&quot;preferences&quot; width=&quot;600&quot; height=&quot;543&quot; /&gt;&lt;/p&gt;
&lt;p&gt;      其实在建好一个 Board 之后，我们还可以通过首选项来进一步设置的。下面的 Labels 可以修改掉默认设置的名字哈～&lt;/p&gt;
&lt;p&gt;      &lt;img class=&quot;alignnone size-full wp-image-1135&quot; title=&quot;my-board&quot; src=&quot;http://pizn.net/wp-content/uploads/2011/09/my-board.jpg&quot; alt=&quot;my-board&quot; width=&quot;600&quot; height=&quot;364&quot; /&gt;&lt;/p&gt;
&lt;p&gt;      Ok，每一个 Board 只是你一个项目的一部分。我们每个人都有可能同时进入不同的团队，拥有不同的项目，于是有了这个 Board 集合。嗯，相当明了。上面就是我暂时的 Trello Boards。&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: #800080;&quot;&gt;&lt;strong&gt;还有要介绍的么？&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;      还有的，Trello 的小图表设计的很不错，还支持键盘快捷键功能呢，更多详细文档请查看 Trello 里面的 Help。&lt;/p&gt;
&lt;p&gt;      还有的，Trello 除了提供网页版本之外，目前还有 ios 的哦。只不过我还没装上噢⋯⋯&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style=&quot;color: #800080;&quot;&gt;这么多好的，不足的呢？&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;      嗯，有滴。一个 card 的时间需要自己来写，也就是说自己控制，相信在以后会更加方便的。&lt;/p&gt;
&lt;p&gt;      另外，Labels 好像只有 6 个，如果多于 6 个人怎么办？不过这样也好，适合小型团队。太多的话，看起来就眼花缭乱了。假如真的是大团队要使用，那么最好能分级了，一级一级地分配人员，从大到小去细化，你懂的。&lt;/p&gt;
&lt;p&gt;      最后，由于都是异步的，所以有时候数据传输的时候有点慢，最好不要操作太快哈。&lt;/p&gt;
&lt;p&gt;      嗯，今天就介绍到这里，好东西大家一起使用，并一起让它变得更好。&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/595515458/pizn/feedsky/s.gif?r=http://item.feedsky.com/~feedsky/pizn/~8165205/595515458/6268932/1/item.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;</content:encoded><wfw:commentRss>http://www.pizn.net/20-09-2011/use-trello-to-organizes-your-projects/feed/</wfw:commentRss><slash:comments>5</slash:comments><description>Trello 是一个协作工具，帮助组织您的项目任务分配。它给予我们一目了然的设觉风格，直接地告诉你有什么工作，谁正在做什么，并将做好的，正在做到，将要做的整合到一起。

今天下午尝试了在 Trello 下进行团队项目的分配和跟踪，感觉特别的爽。原因有 3 个，一个是确实一目了然，简单明了；一个是不用刷新，ajax 加载；还有一个是团队性质的 To Do List 。&lt;img src=&quot;http://www1.feedsky.com/t1/595515458/pizn/feedsky/s.gif?r=http://item.feedsky.com/~feedsky/pizn/~8165205/595515458/6268932/1/item.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;</description><category>Design</category><category>To Do List</category><category>Trello</category><category>Board</category><pubDate>Tue, 20 Sep 2011 21:59:55 +0800</pubDate><author>PIZn</author><comments>http://www.pizn.net/20-09-2011/use-trello-to-organizes-your-projects/#comments</comments><guid isPermaLink="false">http://www.pizn.net/?p=1127</guid><dc:creator>PIZn</dc:creator><fs:srclink>http://www.pizn.net/20-09-2011/use-trello-to-organizes-your-projects/</fs:srclink><fs:srcfeed>http://www.pizn.net/feed</fs:srcfeed><fs:itemid>feedsky/pizn/~8165205/595515458/6268932</fs:itemid></item></channel></rss>
