<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="http://joetsuihk.com/en/taxonomy/term/118/all" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>git</title>
    <link>http://joetsuihk.com/en/taxonomy/term/118/all</link>
    <description></description>
    <language>en</language>
     <atom:link href="http://joetsuihk.com/en/taxonomy/term/118/all/feed" rel="self" type="application/rss+xml" />
      <item>
    <title>Git push over proxy temperately</title>
    <link>http://joetsuihk.com/en/git_push_over_proxy_temperately</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;Home: 127.0.0.1&lt;br /&gt;
Git server whitelisted office IP only&lt;/p&gt;
&lt;p&gt;Tab1:&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;$ ssh -D 2001 office.ip&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;
Opened a socks4 proxy on 127.0.0.1:2001
&lt;p&gt;Tab2:&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;$ git config --global http.proxy socks4://127.0.0.1:2001&lt;br /&gt;$ git push &lt;br /&gt;$ git config --global --unset http.proxy&lt;/code&gt;&lt;/div&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/ssh&quot;&gt;ssh&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;field-item odd&quot;&gt;&lt;a href=&quot;/en/free_tags_15&quot;&gt;tunnel&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;a href=&quot;/en/free_tags_16&quot;&gt;proxy&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_17&quot;&gt;networking&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;Git push over proxy temperately - JOE Tsui&amp;#039;s Drupal life in Hong Kong (香港)&quot; addthis:url=&quot;http://joetsuihk.com/en/git_push_over_proxy_temperately&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>Wed, 10 Aug 2016 17:52:27 +0000</pubDate>
 <dc:creator>JOE</dc:creator>
 <guid isPermaLink="false">410 at http://joetsuihk.com</guid>
  </item>
  <item>
    <title>簡介 Git</title>
    <link>http://joetsuihk.com/en/%E7%B0%A1%E4%BB%8B_git</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;Edit: 2012-01-30 新增4圖, p.s.&lt;/p&gt;
&lt;p&gt;隨著 Drupal 放棄 CVS 而使用 Git 之後,&lt;br /&gt;
作為一個 Drupal developer, 你便需要使用 Git 了&lt;/p&gt;
&lt;p&gt;如果你之前有看過的的 SVN 教學的話,&lt;br /&gt;
你便會發覺 CVS 和 SVN 很類似&lt;br /&gt;
而這次我也會使用很多 SVN/CVS 的詞彙令大家更容易過渡到 Git&lt;/p&gt;
&lt;p&gt;Git 是一種分散式的代碼管理系統 (DCVS)&lt;br /&gt;
相比 SVN/CVS, 各種操作都可以單機完成, 最後再上交到一個或者多個伺服器&lt;br /&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/taxonomy/term/50&quot;&gt;svn&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&gt;&lt;/div&gt;</description>
     <pubDate>Mon, 16 Jan 2012 11:47:48 +0000</pubDate>
 <dc:creator>JOE</dc:creator>
 <guid isPermaLink="false">270 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>
  <item>
    <title>2011年 2月 25日 Drupal.org Git migration 和 Windows 下的 Git 教學</title>
    <link>http://joetsuihk.com/en/2011%E5%B9%B4_2%E6%9C%88_25%E6%97%A5_drupalorg_git_migration_%E5%92%8C_windows_%E4%B8%8B%E7%9A%84_git_%E6%95%99%E5%AD%B8</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.org Git 上線了! DEMO: &lt;a href=&quot;http://drupalcode.org/project/tabbed_block.git&quot;&gt;http://drupalcode.org/project/tabbed_block.git&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;教學: Windows 下使用 Git (只有最基本的功能, 慢慢再增加進階功能)&lt;/p&gt;
&lt;ol&gt;&lt;li&gt;安裝 Git 客戶端
&lt;ul&gt;&lt;li&gt;Windows (更新自 2011-02-25) &lt;a href=&quot;http://msysgit.googlecode.com/files/Git-1.7.4-preview20110204.exe&quot;&gt;http://msysgit.googlecode.com/files/Git-1.7.4-preview20110204.exe&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;其他 OS: &lt;a href=&quot;http://book.git-scm.com/2_installing_git.html&quot;&gt;http://book.git-scm.com/2_installing_git.html&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;p&gt;&lt;img src=&quot;http://joetsuihk.com/files/git setup.png&quot; /&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ol&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/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/vcs&quot;&gt;vcs&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;field-item odd&quot;&gt;&lt;a href=&quot;/en/free_tags/drupalplanet&quot;&gt;Drupal Planet&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;2011年 2月 25日 Drupal.org Git migration 和 Windows 下的 Git 教學 - JOE Tsui&amp;#039;s Drupal life in Hong Kong (香港)&quot; addthis:url=&quot;http://joetsuihk.com/en/2011%E5%B9%B4_2%E6%9C%88_25%E6%97%A5_drupalorg_git_migration_%E5%92%8C_windows_%E4%B8%8B%E7%9A%84_git_%E6%95%99%E5%AD%B8&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>Fri, 25 Feb 2011 14:47:42 +0000</pubDate>
 <dc:creator>JOE</dc:creator>
 <guid isPermaLink="false">213 at http://joetsuihk.com</guid>
  </item>
  <item>
    <title>[Contribution to Doc] Generate SSH keys (Windows/msysgit)</title>
    <link>http://joetsuihk.com/en/contribution_doc_generate_ssh_keys_windowsmsysgit</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;&lt;a href=&quot;http://drupal.org/node/1066762/revisions/view/1363182/1365204&quot;&gt;http://drupal.org/node/1066762/revisions/view/1363182/1365204&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Log:&lt;br /&gt;
1. as of 2011-02-22, msysgit Git-1.7.4-preview20110204.exe use /u instead of /c/Doc...&lt;br /&gt;
2. change of location &quot;Add a public key&quot;&lt;br /&gt;
3. After 28 Feb 2011, Git migration, the location of &quot;Add a public key&quot; changes again&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/git&quot;&gt;git&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;field-item odd&quot;&gt;&lt;a href=&quot;/en/free_tags/contributions&quot;&gt;contributions&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;a href=&quot;/en/free_tags/vcs&quot;&gt;vcs&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description>
     <pubDate>Tue, 22 Feb 2011 03:35:01 +0000</pubDate>
 <dc:creator>JOE</dc:creator>
 <guid isPermaLink="false">212 at http://joetsuihk.com</guid>
  </item>
  <item>
    <title>2010-07-12 JQuery UI combobox</title>
    <link>http://joetsuihk.com/en/20100712_jquery_ui_combobox</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;jquery ui 是一個方便的 jquery 擴充庫,&lt;br /&gt;
Drupal 中最常用的就一定是 datepicker 了&lt;br /&gt;
免去了很多麻煩的日期選擇器&lt;br /&gt;
而且用法很多, 兩個一組的, &quot;未來&quot;限定的等等&lt;/p&gt;
&lt;p&gt;而另一個很好用, 但不常用的就是一個 autocomplete 的擴充, combo box&lt;br /&gt;
它可以是單選 &amp;lt;select&amp;gt; 的完美替代品,&lt;br /&gt;
它包含一個 textfield 和一個button&lt;br /&gt;
在 textfield 輸入的時候就會將 &amp;lt;select&amp;gt; 內的相關選項以 autocomplete 方式顯示&lt;br /&gt;
或者按一下 button, 全個 &amp;lt;select&amp;gt; 內的選項都會顯示&lt;br /&gt;
令使用者可以使用類似 &amp;lt;select&amp;gt; 的方式選取&lt;/p&gt;
&lt;p&gt;但它有兩個 bug&lt;br /&gt;
1. &amp;lt;select&amp;gt; 的 &amp;lt;option&amp;gt; 的 attribute selected=selected 不會預設被選中&lt;br /&gt;
做就了我在 github.com 的 commit (ref3)&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/jquery&quot;&gt;jquery&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;field-item odd&quot;&gt;&lt;a href=&quot;/en/free_tags/jqueryui&quot;&gt;jquery ui&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;field-item even&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 odd&quot;&gt;&lt;a href=&quot;/en/free_tags/bug&quot;&gt;bug&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;field-item even&quot;&gt;&lt;a href=&quot;/en/free_tags/combobox&quot;&gt;combobox&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;2010-07-12 JQuery UI combobox - JOE Tsui&amp;#039;s Drupal life in Hong Kong (香港)&quot; addthis:url=&quot;http://joetsuihk.com/en/20100712_jquery_ui_combobox&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, 12 Jul 2010 12:09:24 +0000</pubDate>
 <dc:creator>JOE</dc:creator>
 <guid isPermaLink="false">174 at http://joetsuihk.com</guid>
  </item>
  </channel>
</rss>
