<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="http://joetsuihk.com/en/taxonomy/term/201/all" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>vim</title>
    <link>http://joetsuihk.com/en/taxonomy/term/201/all</link>
    <description></description>
    <language>en</language>
     <atom:link href="http://joetsuihk.com/en/taxonomy/term/201/all/feed" rel="self" type="application/rss+xml" />
      <item>
    <title>Ubuntu 2012-04 使用報告</title>
    <link>http://joetsuihk.com/en/ubuntu_201204_%E4%BD%BF%E7%94%A8%E5%A0%B1%E5%91%8A</link>
    <description>&lt;div class=&quot;field field-name-body field-type-text-with-summary field-label-hidden&quot;&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;p&gt;單純使用 ubuntu 作為主力操作系統&lt;/p&gt;
&lt;p&gt;Good:&lt;br /&gt;
Filezila&lt;br /&gt;
- 有 winscp 的 &quot;sync browsing&quot;, cross all platform, 無敵&lt;br /&gt;
vim&lt;br /&gt;
- 已經比較少用, sublime text 太強&lt;br /&gt;
sublime text2&lt;br /&gt;
- cross all platform, Git, jquery, zen coding 等等 extension 無敵&lt;br /&gt;
- 打開特大檔案仍有效能問題 (20MB+)&lt;br /&gt;
ssh, bash&lt;br /&gt;
- mysql, tunnelling, cron, backup, deploy, rsync, drush.....&lt;br /&gt;
Unity + Expo + 4 desktops&lt;br /&gt;
- Win7/OSX 都有的功能, 一個桌面娛樂, 一個工作&lt;/p&gt;
&lt;p&gt;Netural:&lt;br /&gt;
Balsamiq + Adobe Air(unsupportted)&lt;br /&gt;
- Air 不支持 linux 了, 需要使用舊版本&lt;br /&gt;
多屏幕輸出&lt;br /&gt;
- 需要抄 conf, 好像 12.04 會改進非常多, 期待中&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;field field-name-taxonomy-vocabulary-2 field-type-taxonomy-term-reference field-label-above&quot;&gt;&lt;div class=&quot;field-label&quot;&gt;Free tags:&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;a href=&quot;/en/taxonomy/term/41&quot;&gt;rsync&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;field-item odd&quot;&gt;&lt;a href=&quot;/en/free_tags/ubuntu&quot;&gt;ubuntu&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;a href=&quot;/en/free_tags/vim&quot;&gt;vim&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;field-item odd&quot;&gt;&lt;a href=&quot;/en/free_tags/filezila&quot;&gt;filezila&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;a href=&quot;/en/free_tags/sublimetext2&quot;&gt;sublimetext2&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;field-item odd&quot;&gt;&lt;a href=&quot;/en/free_tags/ssh&quot;&gt;ssh&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;a href=&quot;/en/free_tags/balsamiq&quot;&gt;balsamiq&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;field field-name-field-add-this field-type-addthis field-label-hidden&quot;&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;a class=&quot;addthis_button &quot; addthis:title=&quot;Ubuntu 2012-04 使用報告 - JOE Tsui&amp;#039;s Drupal life in Hong Kong (香港)&quot; addthis:url=&quot;http://joetsuihk.com/en/ubuntu_201204_%E4%BD%BF%E7%94%A8%E5%A0%B1%E5%91%8A&quot;&gt;&lt;img src=&quot;http://s7.addthis.com/static/btn/sm-share-en.gif&quot; alt=&quot;Share page with AddThis&quot; /&gt;
&lt;/a&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description>
     <pubDate>Mon, 23 Apr 2012 12:03:41 +0000</pubDate>
 <dc:creator>JOE</dc:creator>
 <guid isPermaLink="false">288 at http://joetsuihk.com</guid>
  </item>
  <item>
    <title>vim 中設定正確的 php 文法高亮 filetype php.html sinppets</title>
    <link>http://joetsuihk.com/en/vim_%E4%B8%AD%E8%A8%AD%E5%AE%9A%E6%AD%A3%E7%A2%BA%E7%9A%84_php_%E6%96%87%E6%B3%95%E9%AB%98%E4%BA%AE_filetype_phphtml_sinppets</link>
    <description>&lt;div class=&quot;field field-name-body field-type-text-with-summary field-label-hidden&quot;&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;p&gt;Drupal 的 php, module, tpl.php 檔會包含 html 和 php 的代碼&lt;br /&gt;
而vim 預設的情況之下不會對 php 檔內的 html 碼高亮&lt;br /&gt;
但只要設定使用 php.html 就可以先高亮處理 php, 再處理 html 高亮, 例:&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;augroup php&lt;br /&gt;  &quot;php file also use html snippnets&lt;br /&gt;  autocmd BufRead,BufNewFile *.php set filetype=php.html&lt;br /&gt;augroup END&lt;/code&gt;&lt;/div&gt;
&lt;p&gt;而如果你有使用 snipemate 的話,&lt;br /&gt;
Drupal 有一個snipmate 的庫可以使用&lt;br /&gt;
Vim SnipMate for Drupal&lt;br /&gt;&lt;a href=&quot;https://github.com/theunraveler/Drupal-Snippets-for-Vim&quot;&gt;https://github.com/theunraveler/Drupal-Snippets-for-Vim&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;field field-name-taxonomy-vocabulary-2 field-type-taxonomy-term-reference field-label-above&quot;&gt;&lt;div class=&quot;field-label&quot;&gt;Free tags:&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;a href=&quot;/en/free_tags/drupal&quot;&gt;Drupal&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;field-item odd&quot;&gt;&lt;a href=&quot;/en/free_tags/vim&quot;&gt;vim&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;a href=&quot;/en/free_tags/snipmate&quot;&gt;SnipMate&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;field field-name-field-add-this field-type-addthis field-label-hidden&quot;&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;a class=&quot;addthis_button &quot; addthis:title=&quot;vim 中設定正確的 php 文法高亮 filetype php.html sinppets - JOE Tsui&amp;#039;s Drupal life in Hong Kong (香港)&quot; addthis:url=&quot;http://joetsuihk.com/en/vim_%E4%B8%AD%E8%A8%AD%E5%AE%9A%E6%AD%A3%E7%A2%BA%E7%9A%84_php_%E6%96%87%E6%B3%95%E9%AB%98%E4%BA%AE_filetype_phphtml_sinppets&quot;&gt;&lt;img src=&quot;http://s7.addthis.com/static/btn/sm-share-en.gif&quot; alt=&quot;Share page with AddThis&quot; /&gt;
&lt;/a&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description>
     <pubDate>Mon, 02 Jan 2012 09:57:31 +0000</pubDate>
 <dc:creator>JOE</dc:creator>
 <guid isPermaLink="false">261 at http://joetsuihk.com</guid>
  </item>
  <item>
    <title>什麼是 Drush</title>
    <link>http://joetsuihk.com/en/%E4%BB%80%E9%BA%BC%E6%98%AF_drush</link>
    <description>&lt;div class=&quot;field field-name-body field-type-text-with-summary field-label-hidden&quot;&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;p&gt;Drush 是一個面向開發者的工具/模組&lt;br /&gt;
它是一個使用命令行的工具, 可以說是 Drupal 的遇萬用工具刀&lt;/p&gt;
&lt;p&gt;先談一下命令行&lt;br /&gt;&lt;code&gt;$ drush dl views&lt;/code&gt;&lt;br /&gt;
以上的代碼, $ 是命令行的開始&lt;code&gt;drush dl views&lt;/code&gt; 是開發者輸入的部份&lt;br /&gt;
*nix 或者 Mac 可以使用原生命令行&lt;br /&gt;
Windows 內: &quot;開始&quot; -&amp;gt; &quot;執行&quot; -&amp;gt; 輸入 &quot;cmd&quot; 便會打開命令行&lt;/p&gt;
&lt;p&gt;入正題, 例子 &lt;code&gt;$ drush dl views&lt;/code&gt;&lt;br /&gt;
一句命令便可以將 views 模組從 drupal.org 下載, 解壓到 sites/all/modules&lt;br /&gt;&lt;code&gt;$ drush dl zen&lt;/code&gt; 下載, 解壓到 sites/all/themes&lt;br /&gt;&lt;code&gt;$ drush en views&lt;/code&gt; 便可以啟用 views&lt;br /&gt;&lt;code&gt;$ drush cc&lt;/code&gt; 清除緩存&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;field field-name-taxonomy-vocabulary-2 field-type-taxonomy-term-reference field-label-above&quot;&gt;&lt;div class=&quot;field-label&quot;&gt;Free tags:&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;a href=&quot;/en/free_tags/drupal&quot;&gt;Drupal&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;field-item odd&quot;&gt;&lt;a href=&quot;/en/taxonomy/term/40&quot;&gt;linux&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;a href=&quot;/en/taxonomy/term/42&quot;&gt;windows&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;field-item odd&quot;&gt;&lt;a href=&quot;/en/free_tags/git&quot;&gt;git&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;a href=&quot;/en/free_tags/drush&quot;&gt;drush&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;field-item odd&quot;&gt;&lt;a href=&quot;/en/free_tags/vim&quot;&gt;vim&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description>
     <pubDate>Tue, 18 Oct 2011 11:42:40 +0000</pubDate>
 <dc:creator>JOE</dc:creator>
 <guid isPermaLink="false">255 at http://joetsuihk.com</guid>
  </item>
  </channel>
</rss>
