<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>#{茶男與藍牌} &#187; IT</title>
	<atom:link href="http://www.chentianwen.net/wordpress/category/it/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.chentianwen.net/wordpress</link>
	<description>Life has to be exciting.</description>
	<lastBuildDate>Wed, 01 Feb 2012 01:34:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Command-Line Javascript (CLI) On Mac OS-X</title>
		<link>http://www.chentianwen.net/wordpress/2012/02/01/command-line-javascript-cli-on-mac-os-x/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=command-line-javascript-cli-on-mac-os-x</link>
		<comments>http://www.chentianwen.net/wordpress/2012/02/01/command-line-javascript-cli-on-mac-os-x/#comments</comments>
		<pubDate>Wed, 01 Feb 2012 01:34:10 +0000</pubDate>
		<dc:creator>茶男</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[CLI]]></category>

		<guid isPermaLink="false">http://www.chentianwen.net/wordpress/?p=590</guid>
		<description><![CDATA[<p>from http://www.freshblurbs.com/command-line-javascript-cli-mac-os-x</p> <p>With the increasing popularity of server-side Javascript, you may want to have Javascript everywhere. You can use Javascript outside of a browser, on any platform. There are many choices: you can install Mozilla SpiderMonkey, Google V8 or Mozilla Rhino. If you are like me and use Mac OS-X as your development machine, however, you [...]]]></description>
		<wfw:commentRss>http://www.chentianwen.net/wordpress/2012/02/01/command-line-javascript-cli-on-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firefox input and button have extra hidden space which make the height different from other browsers</title>
		<link>http://www.chentianwen.net/wordpress/2011/12/19/firefox-input-and-button-have-extra-hidden-space-which-make-the-height-different-from-other-browsers/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=firefox-input-and-button-have-extra-hidden-space-which-make-the-height-different-from-other-browsers</link>
		<comments>http://www.chentianwen.net/wordpress/2011/12/19/firefox-input-and-button-have-extra-hidden-space-which-make-the-height-different-from-other-browsers/#comments</comments>
		<pubDate>Sun, 18 Dec 2011 14:49:38 +0000</pubDate>
		<dc:creator>茶男</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Firefox]]></category>

		<guid isPermaLink="false">http://www.chentianwen.net/wordpress/?p=585</guid>
		<description><![CDATA[<p>To remove the extra hidden space which turns out to be border:</p> input[type="submit"]::-moz-focus-inner, button::-moz-focus-inner {border:0;} <p>reference:</p> <p>http://christophzillgens.com/en/articles/equal-height-input-and-button-elements-in-firefox-and-safari</p>]]></description>
		<wfw:commentRss>http://www.chentianwen.net/wordpress/2011/12/19/firefox-input-and-button-have-extra-hidden-space-which-make-the-height-different-from-other-browsers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Make compass working with sass in rails3.1</title>
		<link>http://www.chentianwen.net/wordpress/2011/12/13/make-compass-working-with-sass-in-rails3-1/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=make-compass-working-with-sass-in-rails3-1</link>
		<comments>http://www.chentianwen.net/wordpress/2011/12/13/make-compass-working-with-sass-in-rails3-1/#comments</comments>
		<pubDate>Tue, 13 Dec 2011 12:21:01 +0000</pubDate>
		<dc:creator>茶男</dc:creator>
				<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Compass]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Sass]]></category>

		<guid isPermaLink="false">http://www.chentianwen.net/wordpress/?p=581</guid>
		<description><![CDATA[<p id="LC1">Add the following to your application.rb</p> class Application &#60; Rails::Application   config.sass.load_paths &#60;&#60; &#8220;#{Gem.loaded_specs['compass'].full_gem_path}/frameworks/compass/stylesheets&#8221;   config.sass.load_paths &#60;&#60; &#8220;#{Gem.loaded_specs['compass'].full_gem_path}/frameworks/blueprint/stylesheets&#8221; end]]></description>
		<wfw:commentRss>http://www.chentianwen.net/wordpress/2011/12/13/make-compass-working-with-sass-in-rails3-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hackintosh: sonic boom (system noise) after installed voodoohda 2.7.2</title>
		<link>http://www.chentianwen.net/wordpress/2011/11/26/hackintosh-sonic-boom-system-noise-after-installed-voodoohda-2-7-2/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=hackintosh-sonic-boom-system-noise-after-installed-voodoohda-2-7-2</link>
		<comments>http://www.chentianwen.net/wordpress/2011/11/26/hackintosh-sonic-boom-system-noise-after-installed-voodoohda-2-7-2/#comments</comments>
		<pubDate>Sat, 26 Nov 2011 12:59:35 +0000</pubDate>
		<dc:creator>茶男</dc:creator>
				<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://www.chentianwen.net/wordpress/?p=575</guid>
		<description><![CDATA[<p>Go to &#8220;Utilities&#8221;, open &#8220;Audio MIDI Setup&#8221;, change format to &#8220;2ch-16bit integer&#8221;, better now.</p>]]></description>
		<wfw:commentRss>http://www.chentianwen.net/wordpress/2011/11/26/hackintosh-sonic-boom-system-noise-after-installed-voodoohda-2-7-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HOW-TO: git reset submodule</title>
		<link>http://www.chentianwen.net/wordpress/2011/11/18/how-to-git-reset-submodule/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-git-reset-submodule</link>
		<comments>http://www.chentianwen.net/wordpress/2011/11/18/how-to-git-reset-submodule/#comments</comments>
		<pubDate>Thu, 17 Nov 2011 22:16:06 +0000</pubDate>
		<dc:creator>茶男</dc:creator>
				<category><![CDATA[Git]]></category>

		<guid isPermaLink="false">http://www.chentianwen.net/wordpress/?p=573</guid>
		<description><![CDATA[<p>execute `git diff $path_to_submodule`, you should be able to see something like</p> -Subproject commit 7e5b9b0b89ebf56e71e161f8acfab1c95ce8e... +Subproject commit 7185f8e6850272c3224fe7b6ff44bcbc4fb0e... <p>then copy the commit hash in the first line</p> <p>execute</p> cd $path_to_submodule git checkout 7e5b9b0b89ebf56e71e161f8acfab1c95ce8e... <p>done.</p>]]></description>
		<wfw:commentRss>http://www.chentianwen.net/wordpress/2011/11/18/how-to-git-reset-submodule/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Homebrew install specific version of formula?</title>
		<link>http://www.chentianwen.net/wordpress/2011/11/15/homebrew-install-specific-version-of-formula/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=homebrew-install-specific-version-of-formula</link>
		<comments>http://www.chentianwen.net/wordpress/2011/11/15/homebrew-install-specific-version-of-formula/#comments</comments>
		<pubDate>Tue, 15 Nov 2011 01:21:05 +0000</pubDate>
		<dc:creator>茶男</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[homebrew]]></category>

		<guid isPermaLink="false">http://www.chentianwen.net/wordpress/?p=568</guid>
		<description><![CDATA[<p>from http://stackoverflow.com/questions/3987683/homebrew-install-specific-version-of-formula</p> <p>Since the whole formula directory is a git repository, one can install specific versions using plain git commands.</p> <p>First, we’ll need to find a commit where postgresql 8.4.4 was available. One way to do this is using git log. (I assume we are in the base directory of homebrew. Probably /usr/local.)</p> $ git log -S'8.4.4' -- [...]]]></description>
		<wfw:commentRss>http://www.chentianwen.net/wordpress/2011/11/15/homebrew-install-specific-version-of-formula/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Enable Local SMTP (Postfix) on OS-X Leopard</title>
		<link>http://www.chentianwen.net/wordpress/2011/11/08/how-to-enable-local-smtp-postfix-on-os-x-leopard/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-enable-local-smtp-postfix-on-os-x-leopard</link>
		<comments>http://www.chentianwen.net/wordpress/2011/11/08/how-to-enable-local-smtp-postfix-on-os-x-leopard/#comments</comments>
		<pubDate>Tue, 08 Nov 2011 03:09:02 +0000</pubDate>
		<dc:creator>茶男</dc:creator>
				<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://www.chentianwen.net/wordpress/?p=565</guid>
		<description><![CDATA[<p>also apply to OS-X Lion.</p> <p>from http://www.freshblurbs.com/how-enable-local-smtp-postfix-os-x-leopard</p> <p>OS-X Leopard comes pre-installed with a Postfix version. No need to install it via darwin ports or other such mess (actually uninstall it if you have previously manually installed it via ports or something similar). Postfix just needs to be enabled and following sequence of several easy steps explains [...]]]></description>
		<wfw:commentRss>http://www.chentianwen.net/wordpress/2011/11/08/how-to-enable-local-smtp-postfix-on-os-x-leopard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>escape colon in bash completion</title>
		<link>http://www.chentianwen.net/wordpress/2011/11/02/escape-colon-in-bash-completion/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=escape-colon-in-bash-completion</link>
		<comments>http://www.chentianwen.net/wordpress/2011/11/02/escape-colon-in-bash-completion/#comments</comments>
		<pubDate>Wed, 02 Nov 2011 02:34:22 +0000</pubDate>
		<dc:creator>茶男</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Bash]]></category>

		<guid isPermaLink="false">http://www.chentianwen.net/wordpress/?p=561</guid>
		<description><![CDATA[<p>from http://stackoverflow.com/questions/2805412/bash-completion-for-maven-escapes-colon</p> <p>From <a href="http://tiswww.case.edu/php/chet/bash/FAQ" rel="nofollow">Bash FAQ E13</a>.</p> <p>Just after the complete command in the script you linked to, issue this command to remove the colon from the list of completion word break characters:</p> COMP_WORDBREAKS=${COMP_WORDBREAKS//:}]]></description>
		<wfw:commentRss>http://www.chentianwen.net/wordpress/2011/11/02/escape-colon-in-bash-completion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>warning: toplevel constant XX referenced by YY::XX (review)</title>
		<link>http://www.chentianwen.net/wordpress/2011/11/01/warning-toplevel-constant-xx-referenced-by-yyxx/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=warning-toplevel-constant-xx-referenced-by-yyxx</link>
		<comments>http://www.chentianwen.net/wordpress/2011/11/01/warning-toplevel-constant-xx-referenced-by-yyxx/#comments</comments>
		<pubDate>Tue, 01 Nov 2011 00:43:33 +0000</pubDate>
		<dc:creator>茶男</dc:creator>
				<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Rails]]></category>

		<guid isPermaLink="false">http://www.chentianwen.net/wordpress/?p=558</guid>
		<description><![CDATA[<p>When I try to move the Devise stuff into a module User::Devise and include it in class User, I got this warning &#8216;warning: toplevel constant Devise referenced by User::Devise&#8217;</p> <p>Please see the code before and after for a solution.</p> <p>Solution is to make User::Devise before you do the include for class User</p> <p>&#160;</p>]]></description>
		<wfw:commentRss>http://www.chentianwen.net/wordpress/2011/11/01/warning-toplevel-constant-xx-referenced-by-yyxx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Discover ActiveRecord: cast an object to specified class</title>
		<link>http://www.chentianwen.net/wordpress/2011/10/28/discover-activerecord-cast-an-object-to-specified-class/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=discover-activerecord-cast-an-object-to-specified-class</link>
		<comments>http://www.chentianwen.net/wordpress/2011/10/28/discover-activerecord-cast-an-object-to-specified-class/#comments</comments>
		<pubDate>Fri, 28 Oct 2011 05:22:06 +0000</pubDate>
		<dc:creator>茶男</dc:creator>
				<category><![CDATA[ActiveRecord]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://www.chentianwen.net/wordpress/?p=551</guid>
		<description><![CDATA[<p>Can&#8217;t find anything about casting an instance to specified class? Of cause, in Ruby, there is no such concept that you need to cast an instance in most of the cases. But how about you need to? Here is the answer:</p> <p>By using ActiveRecord::Persistence.becomes, you can easily cast it to specified class.</p> <p>For example:</p> <p>&#160;</p>]]></description>
		<wfw:commentRss>http://www.chentianwen.net/wordpress/2011/10/28/discover-activerecord-cast-an-object-to-specified-class/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

