<?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>無為閣</title>
	<atom:link href="http://hychen.wuweig.org/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://hychen.wuweig.org</link>
	<description>朝聞道 夕可死矣... 夕聞道... 只好撐到早上再看看還有沒有道理～</description>
	<lastBuildDate>Wed, 14 Jul 2010 09:10:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>愛睡的困擾</title>
		<link>http://hychen.wuweig.org/?p=686</link>
		<comments>http://hychen.wuweig.org/?p=686#comments</comments>
		<pubDate>Sun, 11 Jul 2010 03:53:51 +0000</pubDate>
		<dc:creator>hychen</dc:creator>
				<category><![CDATA[時間管理]]></category>
		<category><![CDATA[睡眠問題]]></category>

		<guid isPermaLink="false">http://hychen.wuweig.org/?p=686</guid>
		<description><![CDATA[生時無須多睡, 死後自會長眠; 這些我都知道, 但我就是辦不到。 時間安排的再好, 在瞌睡蟲來襲也是一籌莫展, 一般人睡到飽是7~8個小時, 而我則需要10~12小時。 而且還常常突發性的愛睏 Blog this on Blogger 分享到Plurk 分享到del.icio.us 訂閱這篇文章的留言？ 分享到LinkedIn 新增到Google Bookmarks]]></description>
			<content:encoded><![CDATA[<blockquote><p>生時無須多睡, 死後自會長眠;</p>
<p>這些我都知道, 但我就是辦不到。</p></blockquote>
<p>時間安排的再好, 在瞌睡蟲來襲也是一籌莫展,</p>
<p>一般人睡到飽是7~8個小時, 而我則需要10~12小時。</p>
<p>而且還常常突發性的愛睏 <img src='http://hychen.wuweig.org/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>


<div class="shr-bookmarks shr-bookmarks-center shr-bookmarks-bg-enjoy">
<ul class="socials">
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://hychen.wuweig.org/?p=686&amp;n=%E6%84%9B%E7%9D%A1%E7%9A%84%E5%9B%B0%E6%93%BE&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-plurk">
			<a href="http://www.plurk.com/m?content=%E6%84%9B%E7%9D%A1%E7%9A%84%E5%9B%B0%E6%93%BE+-+http://hychen.wuweig.org/?p=686&amp;qualifier=shares" rel="nofollow" class="external" title="分享到Plurk">分享到Plurk</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://hychen.wuweig.org/?p=686&amp;title=%E6%84%9B%E7%9D%A1%E7%9A%84%E5%9B%B0%E6%93%BE" rel="nofollow" class="external" title="分享到del.icio.us">分享到del.icio.us</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://hychen.wuweig.org/?p=686&amp;feed=comments-rss2" rel="nofollow" class="external" title="訂閱這篇文章的留言？">訂閱這篇文章的留言？</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://hychen.wuweig.org/?p=686&amp;title=%E6%84%9B%E7%9D%A1%E7%9A%84%E5%9B%B0%E6%93%BE&amp;summary=%E7%94%9F%E6%99%82%E7%84%A1%E9%A0%88%E5%A4%9A%E7%9D%A1%2C%20%E6%AD%BB%E5%BE%8C%E8%87%AA%E6%9C%83%E9%95%B7%E7%9C%A0%3B%0D%0A%0D%0A%E9%80%99%E4%BA%9B%E6%88%91%E9%83%BD%E7%9F%A5%E9%81%93%2C%20%E4%BD%86%E6%88%91%E5%B0%B1%E6%98%AF%E8%BE%A6%E4%B8%8D%E5%88%B0%E3%80%82%0D%0A%E6%99%82%E9%96%93%E5%AE%89%E6%8E%92%E7%9A%84%E5%86%8D%E5%A5%BD%2C%20%E5%9C%A8%E7%9E%8C%E7%9D%A1%E8%9F%B2%E4%BE%86%E8%A5%B2%E4%B9%9F%E6%98%AF%E4%B8%80%E7%B1%8C%E8%8E%AB%E5%B1%95%2C%0D%0A%0D%0A%E4%B8%80%E8%88%AC%E4%BA%BA%E7%9D%A1%E5%88%B0%E9%A3%BD%E6%98%AF7%7E8%E5%80%8B%E5%B0%8F%E6%99%82%2C%20%E8%80%8C%E6%88%91%E5%89%87%E9%9C%80%E8%A6%8110%7E12%E5%B0%8F%E6%99%82%E3%80%82%0D%0A%0D%0A%E8%80%8C%E4%B8%94%E9%82%84%E5%B8%B8%E5%B8%B8%E7%AA%81%E7%99%BC%E6%80%A7%E7%9A%84%E6%84%9B%E7%9D%8F%20%3A%28&amp;source=無為閣" rel="nofollow" class="external" title="分享到LinkedIn">分享到LinkedIn</a>
		</li>
		<li class="shr-googlebookmarks">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://hychen.wuweig.org/?p=686&amp;title=%E6%84%9B%E7%9D%A1%E7%9A%84%E5%9B%B0%E6%93%BE" rel="nofollow" class="external" title="新增到Google Bookmarks">新增到Google Bookmarks</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://hychen.wuweig.org/?feed=rss2&amp;p=686</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>從Mail裡面取出base64編碼過後的夾檔</title>
		<link>http://hychen.wuweig.org/?p=671</link>
		<comments>http://hychen.wuweig.org/?p=671#comments</comments>
		<pubDate>Fri, 25 Jun 2010 06:02:29 +0000</pubDate>
		<dc:creator>hychen</dc:creator>
				<category><![CDATA[計算機概論]]></category>
		<category><![CDATA[Email處理方式]]></category>

		<guid isPermaLink="false">http://hychen.wuweig.org/?p=671</guid>
		<description><![CDATA[前陣子收到一封用GPG加密的信, 解開來長這樣 --------------080703020108040807010204 Content-Type: text/plain; name="15646CD49D3CC697.key.1.Hsin-Yi Chen (hychen) .asc" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename*0="15646CD49D3CC697.key.1.Hsin-Yi Chen (hychen) .asc" LS0tLS1CRUdJTiBQR1AgUFVCTElDIEtFWSBCTE9DSy0tLS0tClZlcnNpb246IEdudVBHIHYx LjQuMTAgKEdOVS9MaW51eCkKCm1RSU5CRXZxZ2w4QkVBRHBSTWF4clZETWRBYThobzlWUmdM Z2dBakhyc3dHTjdUM0xXZEloNDlReXo5bWZlbktxQUxpSEpOV0k3S0VsNWNHamVTWgpxL2lh K05yTwo9ek9INQotLS0tLUVORCBQR1AgUFVCTElDIEtFWSBCTE9DSy0tLS0tCg== --------------080703020108040807010204-- 裡面有一個用Base64編碼後的夾檔, 所以要再用base64把他轉出來, 方法如下 將那堆亂碼copy到另一個文字檔 attc.base64 user@host # cat attfc.base64 LS0tLS1CRUdJTiBQR1AgUFVCTElDIEtFWSBCTE9DSy0tLS0tClZlcnNpb246IEdudVBHIHYx LjQuMTAgKEdOVS9MaW51eCkKCm1RSU5CRXZxZ2w4QkVBRHBSTWF4clZETWRBYThobzlWUmdM Z2dBakhyc3dHTjdUM0xXZEloNDlReXo5bWZlbktxQUxpSEpOV0k3S0VsNWNHamVTWgpxL2lh K05yTwo9ek9INQotLS0tLUVORCBQR1AgUFVCTElDIEtFWSBCTE9DSy0tLS0tCg== 用base64 命列解開 user@host$ base64 -d attfc.base64 > 15646CD49D3CC697.key.1.Hsin-Yi Chen (hychen) .asc Blog this on Blogger 分享到Plurk 分享到del.icio.us 訂閱這篇文章的留言？ 分享到LinkedIn 新增到Google [...]]]></description>
			<content:encoded><![CDATA[<p>前陣子收到一封用GPG加密的信, 解開來長這樣</p>
<blockquote><p>--------------080703020108040807010204<br />
Content-Type: text/plain;<br />
 name="15646CD49D3CC697.key.1.Hsin-Yi Chen (hychen) <cccc@gmail.com>.asc"<br />
Content-Transfer-Encoding: base64<br />
Content-Disposition: attachment;<br />
 filename*0="15646CD49D3CC697.key.1.Hsin-Yi Chen (hychen) <cccc@g";<br />
 filename*1="mail.com>.asc"</p>
<p>LS0tLS1CRUdJTiBQR1AgUFVCTElDIEtFWSBCTE9DSy0tLS0tClZlcnNpb246IEdudVBHIHYx<br />
LjQuMTAgKEdOVS9MaW51eCkKCm1RSU5CRXZxZ2w4QkVBRHBSTWF4clZETWRBYThobzlWUmdM<br />
Z2dBakhyc3dHTjdUM0xXZEloNDlReXo5bWZlbktxQUxpSEpOV0k3S0VsNWNHamVTWgpxL2lh<br />
K05yTwo9ek9INQotLS0tLUVORCBQR1AgUFVCTElDIEtFWSBCTE9DSy0tLS0tCg==<br />
--------------080703020108040807010204--</p></blockquote>
<p>裡面有一個用Base64編碼後的夾檔, 所以要再用base64把他轉出來, 方法如下</p>
<p>將那堆亂碼copy到另一個文字檔 attc.base64</p>
<blockquote><p>user@host # cat attfc.base64<br />
LS0tLS1CRUdJTiBQR1AgUFVCTElDIEtFWSBCTE9DSy0tLS0tClZlcnNpb246IEdudVBHIHYx<br />
LjQuMTAgKEdOVS9MaW51eCkKCm1RSU5CRXZxZ2w4QkVBRHBSTWF4clZETWRBYThobzlWUmdM<br />
Z2dBakhyc3dHTjdUM0xXZEloNDlReXo5bWZlbktxQUxpSEpOV0k3S0VsNWNHamVTWgpxL2lh<br />
K05yTwo9ek9INQotLS0tLUVORCBQR1AgUFVCTElDIEtFWSBCTE9DSy0tLS0tCg==</p></blockquote>
<p>用base64 命列解開</p>
<blockquote><p>user@host$ base64 -d attfc.base64 > 15646CD49D3CC697.key.1.Hsin-Yi Chen (hychen) <cccc@gmail.com>.asc</p></blockquote>


<div class="shr-bookmarks shr-bookmarks-center shr-bookmarks-bg-enjoy">
<ul class="socials">
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://hychen.wuweig.org/?p=671&amp;n=%E5%BE%9EMail%E8%A3%A1%E9%9D%A2%E5%8F%96%E5%87%BAbase64%E7%B7%A8%E7%A2%BC%E9%81%8E%E5%BE%8C%E7%9A%84%E5%A4%BE%E6%AA%94&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-plurk">
			<a href="http://www.plurk.com/m?content=%E5%BE%9EMail%E8%A3%A1%E9%9D%A2%E5%8F%96%E5%87%BAbase64%E7%B7%A8%E7%A2%BC%E9%81%8E%E5%BE%8C%E7%9A%84%E5%A4%BE%E6%AA%94+-+http://hychen.wuweig.org/?p=671&amp;qualifier=shares" rel="nofollow" class="external" title="分享到Plurk">分享到Plurk</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://hychen.wuweig.org/?p=671&amp;title=%E5%BE%9EMail%E8%A3%A1%E9%9D%A2%E5%8F%96%E5%87%BAbase64%E7%B7%A8%E7%A2%BC%E9%81%8E%E5%BE%8C%E7%9A%84%E5%A4%BE%E6%AA%94" rel="nofollow" class="external" title="分享到del.icio.us">分享到del.icio.us</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://hychen.wuweig.org/?p=671&amp;feed=comments-rss2" rel="nofollow" class="external" title="訂閱這篇文章的留言？">訂閱這篇文章的留言？</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://hychen.wuweig.org/?p=671&amp;title=%E5%BE%9EMail%E8%A3%A1%E9%9D%A2%E5%8F%96%E5%87%BAbase64%E7%B7%A8%E7%A2%BC%E9%81%8E%E5%BE%8C%E7%9A%84%E5%A4%BE%E6%AA%94&amp;summary=%E5%89%8D%E9%99%A3%E5%AD%90%E6%94%B6%E5%88%B0%E4%B8%80%E5%B0%81%E7%94%A8GPG%E5%8A%A0%E5%AF%86%E7%9A%84%E4%BF%A1%2C%20%E8%A7%A3%E9%96%8B%E4%BE%86%E9%95%B7%E9%80%99%E6%A8%A3%0D%0A%0D%0A--------------080703020108040807010204%0D%0AContent-Type%3A%20text%2Fplain%3B%0D%0A%20name%3D%2215646CD49D3CC697.key.1.Hsin-Yi%20Chen%20%28hychen%29%20.asc%22%0D%0AContent-Transfer-Encoding%3A%20base64%0D%0AContent-Disposition%3A%20attachment%3B%0D%0A%20filename%2A0%3D%2215646CD49D3CC697.key.1.Hsin-Y&amp;source=無為閣" rel="nofollow" class="external" title="分享到LinkedIn">分享到LinkedIn</a>
		</li>
		<li class="shr-googlebookmarks">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://hychen.wuweig.org/?p=671&amp;title=%E5%BE%9EMail%E8%A3%A1%E9%9D%A2%E5%8F%96%E5%87%BAbase64%E7%B7%A8%E7%A2%BC%E9%81%8E%E5%BE%8C%E7%9A%84%E5%A4%BE%E6%AA%94" rel="nofollow" class="external" title="新增到Google Bookmarks">新增到Google Bookmarks</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://hychen.wuweig.org/?feed=rss2&amp;p=671</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Get fast APT mirror of Ubuntu in command line</title>
		<link>http://hychen.wuweig.org/?p=649</link>
		<comments>http://hychen.wuweig.org/?p=649#comments</comments>
		<pubDate>Sat, 12 Jun 2010 16:26:40 +0000</pubDate>
		<dc:creator>hychen</dc:creator>
				<category><![CDATA[計算機概論]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://hychen.wuweig.org/?p=649</guid>
		<description><![CDATA[[Update] 0.2 版後已更換使用方式 (the usage changed after version 0.2) 因為 Ubuntu 已經沒有 netselect-apt了, 所以我寫了簡單的小程式去自動偵測最近的APT mirror , 並且產生更新 source.list, 這對常常出國的人應該很方便. Because there is no netselect-apt in Ubuntu now, so I wrote a very simple script to find fast apt mirror of Ubuntu and generate a source .lsit, if you are interesting you can refer the project home: [...]]]></description>
			<content:encoded><![CDATA[<p>[Update] 0.2 版後已更換使用方式 (the usage changed after version 0.2)</p>
<p>因為 Ubuntu 已經沒有 netselect-apt了, 所以我寫了簡單的小程式去自動偵測最近的APT mirror , 並且產生更新 source.list, 這對常常出國的人應該很方便.</p>
<p>Because there is no netselect-apt in Ubuntu now, so I wrote a very simple script to find fast apt mirror of Ubuntu and generate a source .lsit, if you are interesting you can refer the project home: <a href="https://launchpad.net/getfastmirror">https://launchpad.net/getfastmirror</a> or do the following instructions</p>
<ol>
<li>user@host$ sudo add-apt-repository ppa:ossug-hychen/getfastmirror</li>
<li>user@host$ sudo apt-get install getfastmirror</li>
</ol>
<p>使用方式</p>
<blockquote><p># use fast mirror by local<br />
user@host$ getfastmirror update -l zh_TW.UTF-8</p>
<div>
<div># use fast mirror by network status</div>
</div>
<p>另外你也可以撰寫filter.ini 去啟用或停用sources.list的單筆來源.</p>
<div id="_mcePaste"># enable/disable entries in APT source by filter file.</div>
<div id="_mcePaste"># this means your can use REGEX to disable/enable entries</div>
<div id="_mcePaste">user@host$ getfastmirror update -f filter.ini</div>
<div>Example of filter.ini</div>
<div>[disable-security]</div>
<div id="_mcePaste">uri = http://\w*security.ubuntu.com/ubuntu*</div>
<div id="_mcePaste">dist = \w*-security</div>
<div id="_mcePaste">action = disable</div>
<div>user@host$ getfastmirror update -t</div>
</blockquote>


<div class="shr-bookmarks shr-bookmarks-center shr-bookmarks-bg-enjoy">
<ul class="socials">
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://hychen.wuweig.org/?p=649&amp;n=Get+fast+APT+mirror+of+Ubuntu+in+command+line&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-plurk">
			<a href="http://www.plurk.com/m?content=Get+fast+APT+mirror+of+Ubuntu+in+command+line+-+http://hychen.wuweig.org/?p=649&amp;qualifier=shares" rel="nofollow" class="external" title="分享到Plurk">分享到Plurk</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://hychen.wuweig.org/?p=649&amp;title=Get+fast+APT+mirror+of+Ubuntu+in+command+line" rel="nofollow" class="external" title="分享到del.icio.us">分享到del.icio.us</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://hychen.wuweig.org/?p=649&amp;feed=comments-rss2" rel="nofollow" class="external" title="訂閱這篇文章的留言？">訂閱這篇文章的留言？</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://hychen.wuweig.org/?p=649&amp;title=Get+fast+APT+mirror+of+Ubuntu+in+command+line&amp;summary=%5BUpdate%5D%200.2%20%E7%89%88%E5%BE%8C%E5%B7%B2%E6%9B%B4%E6%8F%9B%E4%BD%BF%E7%94%A8%E6%96%B9%E5%BC%8F%20%28the%20usage%20changed%20after%20version%200.2%29%0D%0A%0D%0A%E5%9B%A0%E7%82%BA%20Ubuntu%20%E5%B7%B2%E7%B6%93%E6%B2%92%E6%9C%89%20netselect-apt%E4%BA%86%2C%20%E6%89%80%E4%BB%A5%E6%88%91%E5%AF%AB%E4%BA%86%E7%B0%A1%E5%96%AE%E7%9A%84%E5%B0%8F%E7%A8%8B%E5%BC%8F%E5%8E%BB%E8%87%AA%E5%8B%95%E5%81%B5%E6%B8%AC%E6%9C%80%E8%BF%91%E7%9A%84APT%20mirror%20%2C%20%E4%B8%A6%E4%B8%94%E7%94%A2%E7%94%9F%E6%9B%B4%E6%96%B0%20source.list%2C%20%E9%80%99%E5%B0%8D%E5%B8%B8%E5%B8%B8%E5%87%BA%E5%9C%8B%E7%9A%84%E4%BA%BA%E6%87%89%E8%A9%B2%E5%BE%88%E6%96%B9%E4%BE%BF.%0D%0A%0D%0ABecause%20there%20is%20no%20netsele&amp;source=無為閣" rel="nofollow" class="external" title="分享到LinkedIn">分享到LinkedIn</a>
		</li>
		<li class="shr-googlebookmarks">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://hychen.wuweig.org/?p=649&amp;title=Get+fast+APT+mirror+of+Ubuntu+in+command+line" rel="nofollow" class="external" title="新增到Google Bookmarks">新增到Google Bookmarks</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://hychen.wuweig.org/?feed=rss2&amp;p=649</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>如何管理Email</title>
		<link>http://hychen.wuweig.org/?p=646</link>
		<comments>http://hychen.wuweig.org/?p=646#comments</comments>
		<pubDate>Sun, 30 May 2010 08:07:37 +0000</pubDate>
		<dc:creator>hychen</dc:creator>
				<category><![CDATA[時間管理]]></category>
		<category><![CDATA[Email處理方式]]></category>

		<guid isPermaLink="false">http://hychen.wuweig.org/?p=646</guid>
		<description><![CDATA[這是我自己目前的作法. 1. 自己的 email 不在 To 裡面, 略過Inbox 直接丟到 CCME 的目錄, 代表不重要的 email, 有時想到再看, 不要設成已讀, 2. 將所有的email 依各自的屬性移動到各自的目錄, 不要全放在Inbox , 方便你掃一遍Tag就可以知道有哪些重要的信要看, 否則全都存在inbox, 日後要找信會很麻煩. 3. 自己不想看得目錄(代表不看不會怎樣), 過濾規則全部都設成已讀過, 直接封存 4. inbox 裡面都是 To 裡面有你Email的, 表示收件者是你, 你一定得讀 5. 保留所有的郵件, 方便查詢歷史資料 6. 強迫 Inbox 不可以有e-mail, 所有的郵件都要被歸檔, 不管你有沒有讀過!!!!! 7. 每份郵件只讀一次, 讀完郵件就把他處理掉, 可以回覆的就立即會復, 目前無法回覆的就轉成文件, 安排日期 , 或是變成待辦事項 8. 一天安排2~3次的大塊時間給自己處理信件,不要三不五十就去看有沒有新信, 真有急事就打電話討論, Email是用來處理不用當下討論的事, [...]]]></description>
			<content:encoded><![CDATA[<p>這是我自己目前的作法.</p>
<p>1. 自己的 email 不在 To 裡面, 略過Inbox 直接丟到 CCME 的目錄, 代表不重要的 email, 有時想到再看, 不要設成已讀,</p>
<p>2. 將所有的email 依各自的屬性移動到各自的目錄, 不要全放在Inbox , 方便你掃一遍Tag就可以知道有哪些重要的信要看, 否則全都存在inbox, 日後要找信會很麻煩.</p>
<p>3. 自己不想看得目錄(代表不看不會怎樣), 過濾規則全部都設成已讀過, 直接封存</p>
<p>4. inbox 裡面都是 To 裡面有你Email的, 表示收件者是你, 你一定得讀</p>
<p>5. 保留所有的郵件, 方便查詢歷史資料</p>
<p>6. 強迫 Inbox 不可以有e-mail, 所有的郵件都要被歸檔, 不管你有沒有讀過!!!!!</p>
<p>7. 每份郵件只讀一次, 讀完郵件就把他處理掉, 可以回覆的就立即會復, 目前無法回覆的就轉成文件, 安排日期 , 或是變成待辦事項</p>
<p>8. 一天安排2~3次的大塊時間給自己處理信件,不要三不五十就去看有沒有新信, 真有急事就打電話討論, Email是用來處理不用當下討論的事, (使用即時通也是個不錯得選擇, 某公司就用IRC)</p>


<div class="shr-bookmarks shr-bookmarks-center shr-bookmarks-bg-enjoy">
<ul class="socials">
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://hychen.wuweig.org/?p=646&amp;n=%E5%A6%82%E4%BD%95%E7%AE%A1%E7%90%86Email&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-plurk">
			<a href="http://www.plurk.com/m?content=%E5%A6%82%E4%BD%95%E7%AE%A1%E7%90%86Email+-+http://hychen.wuweig.org/?p=646&amp;qualifier=shares" rel="nofollow" class="external" title="分享到Plurk">分享到Plurk</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://hychen.wuweig.org/?p=646&amp;title=%E5%A6%82%E4%BD%95%E7%AE%A1%E7%90%86Email" rel="nofollow" class="external" title="分享到del.icio.us">分享到del.icio.us</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://hychen.wuweig.org/?p=646&amp;feed=comments-rss2" rel="nofollow" class="external" title="訂閱這篇文章的留言？">訂閱這篇文章的留言？</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://hychen.wuweig.org/?p=646&amp;title=%E5%A6%82%E4%BD%95%E7%AE%A1%E7%90%86Email&amp;summary=%E9%80%99%E6%98%AF%E6%88%91%E8%87%AA%E5%B7%B1%E7%9B%AE%E5%89%8D%E7%9A%84%E4%BD%9C%E6%B3%95.%0D%0A%0D%0A1.%20%E8%87%AA%E5%B7%B1%E7%9A%84%20email%20%E4%B8%8D%E5%9C%A8%20To%20%E8%A3%A1%E9%9D%A2%2C%20%E7%95%A5%E9%81%8EInbox%20%E7%9B%B4%E6%8E%A5%E4%B8%9F%E5%88%B0%20CCME%20%E7%9A%84%E7%9B%AE%E9%8C%84%2C%20%E4%BB%A3%E8%A1%A8%E4%B8%8D%E9%87%8D%E8%A6%81%E7%9A%84%20email%2C%20%E6%9C%89%E6%99%82%E6%83%B3%E5%88%B0%E5%86%8D%E7%9C%8B%2C%20%E4%B8%8D%E8%A6%81%E8%A8%AD%E6%88%90%E5%B7%B2%E8%AE%80%2C%0D%0A%0D%0A2.%20%E5%B0%87%E6%89%80%E6%9C%89%E7%9A%84email%20%E4%BE%9D%E5%90%84%E8%87%AA%E7%9A%84%E5%B1%AC%E6%80%A7%E7%A7%BB%E5%8B%95%E5%88%B0%E5%90%84%E8%87%AA%E7%9A%84%E7%9B%AE%E9%8C%84%2C%20%E4%B8%8D%E8%A6%81%E5%85%A8%E6%94%BE%E5%9C%A8Inbox%20%2C%20%E6%96%B9%E4%BE%BF%E4%BD%A0%E6%8E%83%E4%B8%80%E9%81%8DTag%E5%B0%B1%E5%8F%AF%E4%BB%A5&amp;source=無為閣" rel="nofollow" class="external" title="分享到LinkedIn">分享到LinkedIn</a>
		</li>
		<li class="shr-googlebookmarks">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://hychen.wuweig.org/?p=646&amp;title=%E5%A6%82%E4%BD%95%E7%AE%A1%E7%90%86Email" rel="nofollow" class="external" title="新增到Google Bookmarks">新增到Google Bookmarks</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://hychen.wuweig.org/?feed=rss2&amp;p=646</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[筆記] Gnucash</title>
		<link>http://hychen.wuweig.org/?p=542</link>
		<comments>http://hychen.wuweig.org/?p=542#comments</comments>
		<pubDate>Thu, 27 May 2010 10:04:55 +0000</pubDate>
		<dc:creator>hychen</dc:creator>
				<category><![CDATA[財務管理]]></category>
		<category><![CDATA[GnuCash]]></category>

		<guid isPermaLink="false">http://hychen.wuweig.org/?p=542</guid>
		<description><![CDATA[使用 Double-entry accounting(複式分錄會計): 每筆交易影響至少兩個以上科目, 且至少一借一貸的會計系統. 亦即錢不會長在樹上, 每筆錢都要知道從哪裡得來,從哪裡消失. 五個基本帳戶: Assets(資產) - 你擁有的東西 Liabilities(負債) - 你失去的東西 Equity(淨值) - 全部的淨值 Income(收入) - 在你所有的帳戶增加的價值 Expenses(支出) - 在你所有的帳戶減少的價值 必須記得的會計公式: 資產 - 負載 = 淨值 資產 - 負債 = 淨值 + (收入-支出) 三個基本資料類型 Files 檔案 共有三種, 資料檔案, 備份檔, 紀錄檔 Accounts 帳戶 用來追蹤錢的流向, 不一定是實際開在銀行裡的實體帳戶, 比方說, 你可以在 Expenses 帳戶開個[水電費]子帳戶用來追蹤你花多少錢在水電費 Transactions 交易 表示錢是從哪個帳戶移動到哪個帳戶 每筆交易都會關聯兩個帳戶, [...]]]></description>
			<content:encoded><![CDATA[<h1><strong>使用 Double-entry accounting(複式分錄會計):</strong></h1>
<ul>
<li>每筆交易影響至少兩個以上科目, 且至少一借一貸的會計系統.</li>
<li>亦即錢不會長在樹上, 每筆錢都要知道從哪裡得來,從哪裡消失.</li>
</ul>
<h2>五個基本帳戶:</h2>
<ul>
<li>Assets(資產) - 你擁有的東西</li>
<li>Liabilities(負債) - 你失去的東西</li>
<li>Equity(淨值) - 全部的淨值</li>
<li>Income(收入) - 在你所有的帳戶增加的價值</li>
<li>Expenses(支出) - 在你所有的帳戶減少的價值</li>
</ul>
<h2>必須記得的會計公式:</h2>
<ul>
<li>資產 - 負載 = 淨值</li>
<li>資產 - 負債 = 淨值 + (收入-支出)</li>
</ul>
<h2>三個基本資料類型</h2>
<ul>
<li>Files 檔案
<ul>
<li>共有三種, 資料檔案, 備份檔, 紀錄檔</li>
</ul>
</li>
<li>Accounts 帳戶
<ul>
<li>用來追蹤錢的流向, 不一定是實際開在銀行裡的實體帳戶, 比方說, 你可以在 Expenses 帳戶開個[水電費]子帳戶用來追蹤你花多少錢在水電費</li>
</ul>
</li>
<li>Transactions 交易
<ul>
<li>表示錢是從哪個帳戶移動到哪個帳戶</li>
<li>每筆交易都會關聯兩個帳戶, 一個是借方(拿錢出來的地方), 一個是貸方(錢存進去的地方)</li>
<li>在交易裡的借方跟貸方只是用來表示金錢的流動方向, 借方不一定代表負債.</li>
<li>有些交易不用紀錄借方, 比如說薪資收入, 因為我們不關心對方的帳戶.</li>
</ul>
</li>
</ul>
<h2>Balance Sheet Accounts - 去追蹤你的財產淨值</h2>
<h4>Asset (總資產)</h4>
<ul>
<li>現金</li>
<li>銀行存款</li>
<li>股票</li>
<li>共同基金</li>
<li>應收款項 (還沒拿到的錢)</li>
<li>資產 (房屋, 土地之類的)</li>
</ul>
<h4>負債</h4>
<ul>
<li>信用卡</li>
<li>應付款項 (還沒付的錢)</li>
<li>貸款</li>
</ul>
<p>上面兩項相減就會得到你的財產淨值, 在Gnucash 裡面正好有一個帳戶就做淨值Equity</p>
<h3>Income and Expense Accounts - 用來增加或減少Balance Sheet Accounts</h3>
<ul>
<li>Income</li>
<li>Expenses</li>
</ul>
<h3>交易切割 (Split Transation)</h3>
<ul>
<li>將一筆交易切割成多個子交易, 但可以決定子交易是不是會影響當前帳戶的總額</li>
<li>例: 你拿到的薪水跟存進你銀行戶頭的錢不會一樣, 使用交易分割可以讓你紀錄你的薪水分別存到哪些帳戶
<ul>
<li>換言之就是同一筆交易(比如存進一筆薪水)可以設定會影響哪些特定帳戶, 以放便追蹤</li>
</ul>
</li>
</ul>
<h2>信用卡交易</h2>
<ul>
<li> 信用卡帳單不是支出,而是短期借貸</li>
<li> 兩種紀錄方法
<ul>
<li> 只紀錄每月付給信用卡公司的錢, 但你不知道你花了甚麼</li>
<li>Assets
<ul>
<li>Bank</li>
</ul>
</li>
<li>Liabilities
<ul>
<li>Credit Card</li>
</ul>
</li>
<li>Expenses
<ul>
<li>Credit Card</li>
</ul>
</li>
</ul>
</li>
<li>使用交易分割, 在信用卡帳戶紀錄每月的支出, 然後把消費項目紀錄在不同的支出帳戶, 然後在付帳單來時,把他認列
<ul>
<li>Assets
<ul>
<li>Bank</li>
</ul>
</li>
<li>Liabilities
<ul>
<li>Credit Card</li>
</ul>
</li>
<li>Expenses
<ul>
<li>Food</li>
<li>Car</li>
<li>Clothes</li>
<li>Entertainment</li>
<li>Interest</li>
<li>Service</li>
<li>服務費</li>
</ul>
</li>
</ul>
</li>
<li>現在都有電子帳單, 可以看出服務費收多少</li>
<li>若信用卡公司支援QIF,你可以直接把帳單輸入到Gnucash</li>
<li>購物退款</li>
<li>當你用信用卡買東西時, 退貨時會把購物款項退到你的信用卡</li>
</ul>


<div class="shr-bookmarks shr-bookmarks-center shr-bookmarks-bg-enjoy">
<ul class="socials">
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://hychen.wuweig.org/?p=542&amp;n=%5B%E7%AD%86%E8%A8%98%5D+Gnucash&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-plurk">
			<a href="http://www.plurk.com/m?content=%5B%E7%AD%86%E8%A8%98%5D+Gnucash+-+http://hychen.wuweig.org/?p=542&amp;qualifier=shares" rel="nofollow" class="external" title="分享到Plurk">分享到Plurk</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://hychen.wuweig.org/?p=542&amp;title=%5B%E7%AD%86%E8%A8%98%5D+Gnucash" rel="nofollow" class="external" title="分享到del.icio.us">分享到del.icio.us</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://hychen.wuweig.org/?p=542&amp;feed=comments-rss2" rel="nofollow" class="external" title="訂閱這篇文章的留言？">訂閱這篇文章的留言？</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://hychen.wuweig.org/?p=542&amp;title=%5B%E7%AD%86%E8%A8%98%5D+Gnucash&amp;summary=%E4%BD%BF%E7%94%A8%20Double-entry%20accounting%28%E8%A4%87%E5%BC%8F%E5%88%86%E9%8C%84%E6%9C%83%E8%A8%88%29%3A%0D%0A%0D%0A%09%E6%AF%8F%E7%AD%86%E4%BA%A4%E6%98%93%E5%BD%B1%E9%9F%BF%E8%87%B3%E5%B0%91%E5%85%A9%E5%80%8B%E4%BB%A5%E4%B8%8A%E7%A7%91%E7%9B%AE%2C%20%E4%B8%94%E8%87%B3%E5%B0%91%E4%B8%80%E5%80%9F%E4%B8%80%E8%B2%B8%E7%9A%84%E6%9C%83%E8%A8%88%E7%B3%BB%E7%B5%B1.%0D%0A%09%E4%BA%A6%E5%8D%B3%E9%8C%A2%E4%B8%8D%E6%9C%83%E9%95%B7%E5%9C%A8%E6%A8%B9%E4%B8%8A%2C%20%E6%AF%8F%E7%AD%86%E9%8C%A2%E9%83%BD%E8%A6%81%E7%9F%A5%E9%81%93%E5%BE%9E%E5%93%AA%E8%A3%A1%E5%BE%97%E4%BE%86%2C%E5%BE%9E%E5%93%AA%E8%A3%A1%E6%B6%88%E5%A4%B1.%0D%0A%0D%0A%E4%BA%94%E5%80%8B%E5%9F%BA%E6%9C%AC%E5%B8%B3%E6%88%B6%3A%0D%0A%0D%0A%09Assets%28%E8%B3%87%E7%94%A2%29%20-%20%E4%BD%A0%E6%93%81%E6%9C%89%E7%9A%84%E6%9D%B1%E8%A5%BF%0D%0A%09Liabilities%28&amp;source=無為閣" rel="nofollow" class="external" title="分享到LinkedIn">分享到LinkedIn</a>
		</li>
		<li class="shr-googlebookmarks">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://hychen.wuweig.org/?p=542&amp;title=%5B%E7%AD%86%E8%A8%98%5D+Gnucash" rel="nofollow" class="external" title="新增到Google Bookmarks">新增到Google Bookmarks</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://hychen.wuweig.org/?feed=rss2&amp;p=542</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to mount .img file</title>
		<link>http://hychen.wuweig.org/?p=539</link>
		<comments>http://hychen.wuweig.org/?p=539#comments</comments>
		<pubDate>Mon, 03 May 2010 09:30:31 +0000</pubDate>
		<dc:creator>hychen</dc:creator>
				<category><![CDATA[計算機再論]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://hychen.wuweig.org/?p=539</guid>
		<description><![CDATA[Forwared If you want to modify the contents of Ubuntu live-usb for some reason.  here is the tipto describe how to do that. General way 1. Get block size and sector offset, in here, the sector is 1, block size is 512 hychen@mluna:~/Projects/myimg/aimgs$ fdisk -l -u -C 1 binary.img Disk binary.img: 0 MB, 0 bytes [...]]]></description>
			<content:encoded><![CDATA[<h3>Forwared</h3>
<p>If you want to modify the contents of Ubuntu live-usb for some reason.  here is the tipto describe how to do that.</p>
<h3>General way</h3>
<p>1. Get block size and sector offset, in here, the sector is 1, block size is 512</p>
<blockquote>
<div id="_mcePaste">hychen@mluna:~/Projects/myimg/aimgs$ fdisk -l -u -C 1 binary.img</div>
<div id="_mcePaste">Disk binary.img: 0 MB, 0 bytes</div>
<div id="_mcePaste">241 heads, 26 sectors/track, 1 cylinders, total 0 sectors</div>
<div id="_mcePaste">Units = sectors of <span style="color: #ff0000;">1</span> * <span style="color: #ff0000;">512</span> = 512 bytes</div>
<div id="_mcePaste">Disk identifier: 0x0009ee21</div>
<div id="_mcePaste">Device Boot      Start         End      Blocks   Id  System</div>
<div id="_mcePaste">binary.img1   *           1     1396735      698367+  83  Linux</div>
<div id="_mcePaste">Partition 1 has different physical/logical endings:</div>
<div id="_mcePaste">phys=(86, 240, 26) logical=(222, 218, 16)</div>
</blockquote>
<div>2. bind with loop device, 512 is sector offset * block size.</div>
<blockquote>
<div>user@host# losetup -o 512 /dev/loop1 binary.img</div>
</blockquote>
<p>3. mount loop device to what mount point (/mnt)</p>
<blockquote><p>user@host# mount /dev/loop1 /mnt</p></blockquote>
<h2>Lazy way</h2>
<p>You can dowanload my script from <a href="http://people.canonical.com/~hychen/scripts/imgctrl">http://people.canonical.com/~hychen/scripts/imgctrl</a></p>
<p>1. Mount</p>
<blockquote><p>user@host$ imgctrl -m binary.img /mnt</p></blockquote>
<p>2. Umount</p>
<blockquote><p>user@host$ imgctrl -u binary.img</p></blockquote>


<div class="shr-bookmarks shr-bookmarks-center shr-bookmarks-bg-enjoy">
<ul class="socials">
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://hychen.wuweig.org/?p=539&amp;n=How+to+mount+.img+file&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-plurk">
			<a href="http://www.plurk.com/m?content=How+to+mount+.img+file+-+http://hychen.wuweig.org/?p=539&amp;qualifier=shares" rel="nofollow" class="external" title="分享到Plurk">分享到Plurk</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://hychen.wuweig.org/?p=539&amp;title=How+to+mount+.img+file" rel="nofollow" class="external" title="分享到del.icio.us">分享到del.icio.us</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://hychen.wuweig.org/?p=539&amp;feed=comments-rss2" rel="nofollow" class="external" title="訂閱這篇文章的留言？">訂閱這篇文章的留言？</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://hychen.wuweig.org/?p=539&amp;title=How+to+mount+.img+file&amp;summary=Forwared%0D%0AIf%20you%20want%20to%20modify%20the%20contents%20of%20Ubuntu%20live-usb%20for%20some%20reason.%20%C2%A0here%20is%20the%20tipto%20describe%20how%20to%20do%20that.%0D%0AGeneral%20way%0D%0A1.%20Get%20block%20size%20and%20sector%20offset%2C%20in%20here%2C%20the%20sector%20is%201%2C%20block%20size%20is%20512%0D%0A%0D%0Ahychen%40mluna%3A%7E%2FProjects%2Fmyimg%2Faimgs%24%20fdisk%20-l%20-u%20-C%201%20binary.img%0D%0ADisk%20binar&amp;source=無為閣" rel="nofollow" class="external" title="分享到LinkedIn">分享到LinkedIn</a>
		</li>
		<li class="shr-googlebookmarks">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://hychen.wuweig.org/?p=539&amp;title=How+to+mount+.img+file" rel="nofollow" class="external" title="新增到Google Bookmarks">新增到Google Bookmarks</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://hychen.wuweig.org/?feed=rss2&amp;p=539</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I have 0 friends on Facebook</title>
		<link>http://hychen.wuweig.org/?p=537</link>
		<comments>http://hychen.wuweig.org/?p=537#comments</comments>
		<pubDate>Wed, 28 Apr 2010 13:15:48 +0000</pubDate>
		<dc:creator>hychen</dc:creator>
				<category><![CDATA[公民與道德]]></category>
		<category><![CDATA[隱私]]></category>

		<guid isPermaLink="false">http://hychen.wuweig.org/?p=537</guid>
		<description><![CDATA[最近我把facebook上的朋友都刪光光了。 原因請參考：I have 0 Friends — 我從 Facebook 出走了, 大家一起走吧! You will have more time in your live without Facebook! Blog this on Blogger 分享到Plurk 分享到del.icio.us 訂閱這篇文章的留言？ 分享到LinkedIn 新增到Google Bookmarks]]></description>
			<content:encoded><![CDATA[<p>最近我把facebook上的朋友都刪光光了。</p>
<p>原因請參考：<a href="http://blog.richliu.com/2010/04/26/912/" target="_blank">I have 0 Friends — 我從 Facebook 出走了, 大家一起走</a>吧!</p>
<p>You will have more time in your live without Facebook!</p>


<div class="shr-bookmarks shr-bookmarks-center shr-bookmarks-bg-enjoy">
<ul class="socials">
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://hychen.wuweig.org/?p=537&amp;n=I+have+0+friends+on+Facebook+&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-plurk">
			<a href="http://www.plurk.com/m?content=I+have+0+friends+on+Facebook++-+http://hychen.wuweig.org/?p=537&amp;qualifier=shares" rel="nofollow" class="external" title="分享到Plurk">分享到Plurk</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://hychen.wuweig.org/?p=537&amp;title=I+have+0+friends+on+Facebook+" rel="nofollow" class="external" title="分享到del.icio.us">分享到del.icio.us</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://hychen.wuweig.org/?p=537&amp;feed=comments-rss2" rel="nofollow" class="external" title="訂閱這篇文章的留言？">訂閱這篇文章的留言？</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://hychen.wuweig.org/?p=537&amp;title=I+have+0+friends+on+Facebook+&amp;summary=%E6%9C%80%E8%BF%91%E6%88%91%E6%8A%8Afacebook%E4%B8%8A%E7%9A%84%E6%9C%8B%E5%8F%8B%E9%83%BD%E5%88%AA%E5%85%89%E5%85%89%E4%BA%86%E3%80%82%0D%0A%0D%0A%E5%8E%9F%E5%9B%A0%E8%AB%8B%E5%8F%83%E8%80%83%EF%BC%9AI%20have%200%20Friends%20%E2%80%94%20%E6%88%91%E5%BE%9E%20Facebook%20%E5%87%BA%E8%B5%B0%E4%BA%86%2C%20%E5%A4%A7%E5%AE%B6%E4%B8%80%E8%B5%B7%E8%B5%B0%E5%90%A7%21%0D%0A%0D%0AYou%20will%20have%20more%20time%20in%20your%20live%20without%20Facebook%21&amp;source=無為閣" rel="nofollow" class="external" title="分享到LinkedIn">分享到LinkedIn</a>
		</li>
		<li class="shr-googlebookmarks">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://hychen.wuweig.org/?p=537&amp;title=I+have+0+friends+on+Facebook+" rel="nofollow" class="external" title="新增到Google Bookmarks">新增到Google Bookmarks</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://hychen.wuweig.org/?feed=rss2&amp;p=537</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>不想再過準時上班，責任制下班的生活了</title>
		<link>http://hychen.wuweig.org/?p=531</link>
		<comments>http://hychen.wuweig.org/?p=531#comments</comments>
		<pubDate>Thu, 24 Dec 2009 18:55:25 +0000</pubDate>
		<dc:creator>hychen</dc:creator>
				<category><![CDATA[公民與道德]]></category>
		<category><![CDATA[勞工權益]]></category>
		<category><![CDATA[職場文化]]></category>

		<guid isPermaLink="false">http://hychen.wuweig.org/?p=531</guid>
		<description><![CDATA[之前下班時間快到時，因手上還有一堆事，注定要加沒錢的班，總是發嘮叨，「6點了，下班時間到了」， 隔壁的同事卻對我說「你好大膽啊」，頓時讓我覺得 「實在是太誇張了，這社會是有病啊! 準時下班，我錯了嗎? 我可不覺得我的勞動產出比別人少，可不覺得是我效率低才事情做不完」 我對於這種他媽的上班遲到要扣錢，下班時間做事沒有錢的責任制感到厭倦， 於是開始研讀勞基法來找回我消失已久的脊粱骨。 以下內容均未經勞委會或律師確認，謹是自己蒐集參考用，請勿輕信. 依據中華民國勞動基準法第30、42條準時下班 法規： 勞動基準法 (民國 98 年 04 月 22 日修正) 第   30    條 （每日暨每週之工作時數） 勞工每日正常工作時間不得超過八小時，每二週工作總時數不得超過八十 四小時。 前項正常工作時間，雇主經工會同意，如事業單位無工會者，經勞資會議 同意後，得將其二週內二日之正常工作時數，分配於其他工作日。其分配 於其他工作日之時數，每日不得超過二小時。但每週工作總時數不得超過 四十八小時。 第一項正常工作時間，雇主經工會同意，如事業單位無工會者，經勞資會 議同意後，得將八週內之正常工作時數加以分配。但每日正常工作時間不 得超過八小時，每週工作總時數不得超過四十八小時。 第二項及第三項僅適用於經中央主管機關指定之行業。 雇主應置備勞工簽到簿或出勤卡，逐日記載勞工出勤情形。此項簿卡應保 存一年。 第 42 條 （不得強制正常工作時間以外之工作情形） 勞工因健康或其他正當理由，不能接受正常工作時間以外之工作者，雇主不得強制其工作。 依據中華民國勞動基準法第24、39條申請加班費 第 24 條 （延長工作時間時工資加給之計算方法） 雇主延長勞工工作時間者，其延長工作時間之工資依左列標準加給之： 一、延長工作時間在二小時以內者，按平日每小時工資額加給三分之一以上。 二、再延長工作時間在二小時以內者，按平日每小時工資額加給三分之二以上。 三、依第三十二條第三項規定，延長工作時間者，按平日每小時工資額加倍發給之。 第 39 條 （假日休息工資照給及假日工作工資加倍） 第三十六條所定之例假、第三十七條所定之休假及第三十八條所定之特別 休假，工資應由雇主照給。雇主經徵得勞工同意於休假日工作者，工資應 加倍發給。因季節性關係有趕工必要，經勞工或工會同意照常工作者，亦 [...]]]></description>
			<content:encoded><![CDATA[<p>之前下班時間快到時，因手上還有一堆事，注定要加沒錢的班，總是發嘮叨，「6點了，下班時間到了」，<br />
隔壁的同事卻對我說「你好大膽啊」，頓時讓我覺得</p>
<p>「實在是太誇張了，這社會是有病啊! 準時下班，我錯了嗎?<br />
我可不覺得我的勞動產出比別人少，可不覺得是我效率低才事情做不完」</p>
<p>我對於這種他媽的上班遲到要扣錢，下班時間做事沒有錢的責任制感到厭倦，<br />
於是開始研讀勞基法來找回我消失已久的脊粱骨。<br />
<span style="color: #000000;"><br />
以下內容均未經勞委會或律師確認，謹是自己蒐集參考用，請勿輕信.</span></p>
<p>依據中華民國勞動基準法第<a href="http://laws.cla.gov.tw/Chi/FLAW/FLAWDOC01.asp?lsid=FL014930&amp;lno=30">30</a>、<a href="http://laws.cla.gov.tw/Chi/FLAW/FLAWDOC01.asp?lsid=FL014930&amp;lno=42">42</a>條準時下班</p>
<blockquote><p>法規：	勞動基準法 (民國 98 年 04 月 22 日修正)</p>
<pre>第   30    條</pre>
<pre>（每日暨每週之工作時數）
勞工每日正常工作時間不得超過八小時，每二週工作總時數不得超過八十
四小時。
前項正常工作時間，雇主經工會同意，如事業單位無工會者，經勞資會議
同意後，得將其二週內二日之正常工作時數，分配於其他工作日。其分配
於其他工作日之時數，每日不得超過二小時。但每週工作總時數不得超過
四十八小時。
第一項正常工作時間，雇主經工會同意，如事業單位無工會者，經勞資會
議同意後，得將八週內之正常工作時數加以分配。但每日正常工作時間不
得超過八小時，每週工作總時數不得超過四十八小時。
第二項及第三項僅適用於經中央主管機關指定之行業。
雇主應置備勞工簽到簿或出勤卡，逐日記載勞工出勤情形。此項簿卡應保
存一年。</pre>
<p>第   42    條</p>
<p>（不得強制正常工作時間以外之工作情形）<br />
勞工因健康或其他正當理由，不能接受正常工作時間以外之工作者，雇主不得強制其工作。</p></blockquote>
<p>依據中華民國勞動基準法第<a href="http://laws.cla.gov.tw/Chi/FLAW/FLAWDOC01.asp?lsid=FL014930&amp;lno=24">24</a>、<a href="http://laws.cla.gov.tw/Chi/FLAW/FLAWDOC01.asp?lsid=FL014930&amp;lno=39">39</a>條申請加班費</p>
<blockquote>
<pre>
<pre>第 24 條</pre>
<pre>（延長工作時間時工資加給之計算方法）
雇主延長勞工工作時間者，其延長工作時間之工資依左列標準加給之：
一、延長工作時間在二小時以內者，按平日每小時工資額加給三分之一以上。
二、再延長工作時間在二小時以內者，按平日每小時工資額加給三分之二以上。
三、依第三十二條第三項規定，延長工作時間者，按平日每小時工資額加倍發給之。</pre>
<p>第 39 條</p>
<pre>（假日休息工資照給及假日工作工資加倍）
第三十六條所定之例假、第三十七條所定之休假及第三十八條所定之特別
休假，工資應由雇主照給。雇主經徵得勞工同意於休假日工作者，工資應
加倍發給。因季節性關係有趕工必要，經勞工或工會同意照常工作者，亦
同。</pre>
</pre>
</blockquote>
<p>假日出勤未滿8小時，假日出勤費如何給付，依據<a href="http://laws.cla.gov.tw/Chi/FLAW/FLAWDOC03.asp?keyword=&amp;lc1=FL014930,+20090422,+24&amp;sdate=&amp;edate=&amp;datatype=etype&amp;recordNo=10">台七十七勞動二 字第 03458 號</a></p>
<blockquote><p>要　　旨：</p>
<p>行政院勞工委員會核釋「勞工於國定假日適逢例假或翌日補假照常工作，<br />
未達或超過 8  小時工資如何加給」之疑義</p>
<p>全文內容：關於勞工於國定假日適逢例假或翌日補假日照常工作，未達八小時及超過<br />
八小時工資如何加給疑義，依內政部 75.09.16 台內勞字第 434652 號函釋，即除當日公資照給外，於正常工作時間以內工作者再加發一日工資所得，延長工作時間者，延時工資依同法第二十四條規定辦理。假日加班時數不足八小時也應加發一日工資，理由為「因勞工於假日工作，即使未滿八小時，亦已無法充分運用假日之故」（行政院勞工委員會八十七年九月十四日台87勞動二字第○三九六七五號函）</p></blockquote>
<p>RD 是責任制，OK，根據勞動基準法第<a href="http://laws.cla.gov.tw/Chi/FLAW/FLAWDOC01.asp?lsid=FL014930&amp;lno=84-1">84-1</a>條</p>
<blockquote>
<pre>第 84-1 條</pre>
<pre>（另行約定之工作者）
經中央主管機關核定公告下列工作者，得由勞雇雙方另行約定，工作時間
、例假、休假、女性夜間工作，並報請當地主管機關核備，不受第三十條
、第三十二條、第三十六條、第三十七條、第四十九條規定之限制。
一、監督、管理人員或責任制專業人員。
二、監視性或間歇性之工作。
三、其他性質特殊之工作。
<span style="color: #ff0000;">前項約定應以書面為之，並應參考本法所定之基準且不得損及勞工之健康及福祉。</span></pre>
</blockquote>
<pre><span style="color: #ff0000;">那麼勞動契約有簽訂了嗎? 主管機關核備了嗎? </span></pre>
<pre><span style="color: #ff0000;"><span style="font-family: mceinline;">RD 是責任制所以沒有假日加班費</span>，依據<a href="http://laws.cla.gov.tw/Chi/FLAW/FLAWDOC03.asp?keyword=&amp;lc1=FL014930,+20090422,+84-1&amp;sdate=&amp;edate=&amp;datatype=etype&amp;recordNo=9">（86）台勞動二 字第 052295 號</a>，假日出勤仍可申請加班費</span></pre>
<blockquote><p>要　　旨：</p>
<p>勞雇雙方依勞動基準法第八十四條之一規定約定例假日疑義</p>
<p>全文內容：查依勞動基準法第八十四條之一規定，經中央主管機關核定公告之工作者<br />
，勞雇雙方在參考勞動基準法所定之基準且不損及勞工之健康及福祉下，<br />
得另行以書面約定例假，並報請當地主管機關核備後，可不受同法第三十<br />
六條規定之限制。此項規定係指約定之例假得不受每七日中至少應有一日<br />
休息作為例假之限制，但非謂勞工即無例假，故為不損及勞工健康及福祉<br />
，仍應約定例假，且應約定雇主若使勞工於約定之例假日出勤工作之工資<br />
發給標準至少加發一日工資。</p></blockquote>
<p>RD是責任制，平時超時工作的加班費是否能申請，我目前還沒找到法源依據, TBD</p>
<p>相關網站</p>
<ol>
<li><a href="http://www.kcchen.com.tw/phpbb2/viewforum.php?f=1">勞工法令討論區</a></li>
<li><a href="http://laws.cla.gov.tw/Chi/FLAW/FLAWDAT01.asp?lsid=FL014930">行政院勞工委員會-勞工法令查詢系統 勞動基準法</a></li>
<li><a href="行政院勞工委員會-勞工法令查詢系統 勞動基準法">行政院勞工委員會-勞工法令查詢系統 勞資糾紛處理法</a></li>
<li><a href="http://tw.myblog.yahoo.com/labor-world/">勞工達人部落格</a></li>
</ol>


<div class="shr-bookmarks shr-bookmarks-center shr-bookmarks-bg-enjoy">
<ul class="socials">
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://hychen.wuweig.org/?p=531&amp;n=%E4%B8%8D%E6%83%B3%E5%86%8D%E9%81%8E%E6%BA%96%E6%99%82%E4%B8%8A%E7%8F%AD%EF%BC%8C%E8%B2%AC%E4%BB%BB%E5%88%B6%E4%B8%8B%E7%8F%AD%E7%9A%84%E7%94%9F%E6%B4%BB%E4%BA%86&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-plurk">
			<a href="http://www.plurk.com/m?content=%E4%B8%8D%E6%83%B3%E5%86%8D%E9%81%8E%E6%BA%96%E6%99%82%E4%B8%8A%E7%8F%AD%EF%BC%8C%E8%B2%AC%E4%BB%BB%E5%88%B6%E4%B8%8B%E7%8F%AD%E7%9A%84%E7%94%9F%E6%B4%BB%E4%BA%86+-+http://hychen.wuweig.org/?p=531&amp;qualifier=shares" rel="nofollow" class="external" title="分享到Plurk">分享到Plurk</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://hychen.wuweig.org/?p=531&amp;title=%E4%B8%8D%E6%83%B3%E5%86%8D%E9%81%8E%E6%BA%96%E6%99%82%E4%B8%8A%E7%8F%AD%EF%BC%8C%E8%B2%AC%E4%BB%BB%E5%88%B6%E4%B8%8B%E7%8F%AD%E7%9A%84%E7%94%9F%E6%B4%BB%E4%BA%86" rel="nofollow" class="external" title="分享到del.icio.us">分享到del.icio.us</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://hychen.wuweig.org/?p=531&amp;feed=comments-rss2" rel="nofollow" class="external" title="訂閱這篇文章的留言？">訂閱這篇文章的留言？</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://hychen.wuweig.org/?p=531&amp;title=%E4%B8%8D%E6%83%B3%E5%86%8D%E9%81%8E%E6%BA%96%E6%99%82%E4%B8%8A%E7%8F%AD%EF%BC%8C%E8%B2%AC%E4%BB%BB%E5%88%B6%E4%B8%8B%E7%8F%AD%E7%9A%84%E7%94%9F%E6%B4%BB%E4%BA%86&amp;summary=%E4%B9%8B%E5%89%8D%E4%B8%8B%E7%8F%AD%E6%99%82%E9%96%93%E5%BF%AB%E5%88%B0%E6%99%82%EF%BC%8C%E5%9B%A0%E6%89%8B%E4%B8%8A%E9%82%84%E6%9C%89%E4%B8%80%E5%A0%86%E4%BA%8B%EF%BC%8C%E6%B3%A8%E5%AE%9A%E8%A6%81%E5%8A%A0%E6%B2%92%E9%8C%A2%E7%9A%84%E7%8F%AD%EF%BC%8C%E7%B8%BD%E6%98%AF%E7%99%BC%E5%98%AE%E5%8F%A8%EF%BC%8C%E3%80%8C6%E9%BB%9E%E4%BA%86%EF%BC%8C%E4%B8%8B%E7%8F%AD%E6%99%82%E9%96%93%E5%88%B0%E4%BA%86%E3%80%8D%EF%BC%8C%0D%0A%E9%9A%94%E5%A3%81%E7%9A%84%E5%90%8C%E4%BA%8B%E5%8D%BB%E5%B0%8D%E6%88%91%E8%AA%AA%E3%80%8C%E4%BD%A0%E5%A5%BD%E5%A4%A7%E8%86%BD%E5%95%8A%E3%80%8D%EF%BC%8C%E9%A0%93%E6%99%82%E8%AE%93%E6%88%91%E8%A6%BA%E5%BE%97%0D%0A%0D%0A%E3%80%8C%E5%AF%A6%E5%9C%A8%E6%98%AF%E5%A4%AA%E8%AA%87%E5%BC%B5%E4%BA%86%EF%BC%8C%E9%80%99%E7%A4%BE%E6%9C%83%E6%98%AF%E6%9C%89%E7%97%85%E5%95%8A%21%20%E6%BA%96%E6%99%82%E4%B8%8B%E7%8F%AD%EF%BC%8C%E6%88%91%E9%8C%AF%E4%BA%86%E5%97%8E%3F%0D%0A%E6%88%91%E5%8F%AF&amp;source=無為閣" rel="nofollow" class="external" title="分享到LinkedIn">分享到LinkedIn</a>
		</li>
		<li class="shr-googlebookmarks">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://hychen.wuweig.org/?p=531&amp;title=%E4%B8%8D%E6%83%B3%E5%86%8D%E9%81%8E%E6%BA%96%E6%99%82%E4%B8%8A%E7%8F%AD%EF%BC%8C%E8%B2%AC%E4%BB%BB%E5%88%B6%E4%B8%8B%E7%8F%AD%E7%9A%84%E7%94%9F%E6%B4%BB%E4%BA%86" rel="nofollow" class="external" title="新增到Google Bookmarks">新增到Google Bookmarks</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://hychen.wuweig.org/?feed=rss2&amp;p=531</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Can not use xmodem to upload file in minicom in Ubuntu</title>
		<link>http://hychen.wuweig.org/?p=529</link>
		<comments>http://hychen.wuweig.org/?p=529#comments</comments>
		<pubDate>Mon, 14 Dec 2009 09:30:27 +0000</pubDate>
		<dc:creator>hychen</dc:creator>
				<category><![CDATA[軟體開發]]></category>
		<category><![CDATA[Android]]></category>

		<guid isPermaLink="false">http://hychen.wuweig.org/?p=529</guid>
		<description><![CDATA[If you need upload file to target device from host PC, you can use minicom and select xmodem. here are the command. Ctrl-a and press s then choice which file you want to upload. If you met the problemt that upload file by xmodem protocol in minicom in Ubuntu, you should install lrzsz first. basically, [...]]]></description>
			<content:encoded><![CDATA[<p>If you need upload file to target device from host PC, you can use minicom and select xmodem. here are the command.</p>
<blockquote><p>Ctrl-a and press s</p></blockquote>
<p>then choice which file you want to upload.</p>
<p>If you met the problemt that upload file by xmodem protocol in minicom in Ubuntu, you should install lrzsz first. basically, I don' know why minicom doest show any error message....</p>
<blockquote><p>root@hrdhy:/media# apt-get install lrzsz</p></blockquote>
<div>Reference:</div>
<div>
<ol>
<li><a href="http://bbs.sayya.org/~descent/ipaq/ipaq_1.html">IPAQ小心得</a></li>
<li><a id="ctl03_TitleUrl" href="http://www.cnblogs.com/xw009/archive/2005/06/30/183912.html">用MINICOM的XMODEM来传输文件</a></li>
</ol>
</div>


<div class="shr-bookmarks shr-bookmarks-center shr-bookmarks-bg-enjoy">
<ul class="socials">
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://hychen.wuweig.org/?p=529&amp;n=Can+not+use+xmodem+to+upload+file+in+minicom+in+Ubuntu&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-plurk">
			<a href="http://www.plurk.com/m?content=Can+not+use+xmodem+to+upload+file+in+minicom+in+Ubuntu+-+http://hychen.wuweig.org/?p=529&amp;qualifier=shares" rel="nofollow" class="external" title="分享到Plurk">分享到Plurk</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://hychen.wuweig.org/?p=529&amp;title=Can+not+use+xmodem+to+upload+file+in+minicom+in+Ubuntu" rel="nofollow" class="external" title="分享到del.icio.us">分享到del.icio.us</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://hychen.wuweig.org/?p=529&amp;feed=comments-rss2" rel="nofollow" class="external" title="訂閱這篇文章的留言？">訂閱這篇文章的留言？</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://hychen.wuweig.org/?p=529&amp;title=Can+not+use+xmodem+to+upload+file+in+minicom+in+Ubuntu&amp;summary=If%20you%20need%20upload%20file%20to%20target%20device%20from%20host%20PC%2C%20you%20can%20use%20minicom%20and%20select%20xmodem.%20here%20are%20the%20command.%0D%0ACtrl-a%20and%20press%20s%0D%0Athen%20choice%20which%20file%20you%20want%20to%20upload.%0D%0A%0D%0AIf%20you%20met%20the%20problemt%20that%20upload%20file%20by%20xmodem%20protocol%20in%20minicom%20in%20Ubuntu%2C%20you%20should%20install%20lrzsz%20first.%20bas&amp;source=無為閣" rel="nofollow" class="external" title="分享到LinkedIn">分享到LinkedIn</a>
		</li>
		<li class="shr-googlebookmarks">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://hychen.wuweig.org/?p=529&amp;title=Can+not+use+xmodem+to+upload+file+in+minicom+in+Ubuntu" rel="nofollow" class="external" title="新增到Google Bookmarks">新增到Google Bookmarks</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://hychen.wuweig.org/?feed=rss2&amp;p=529</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using ubi as 0xdroid root filesystem on Devkit8000</title>
		<link>http://hychen.wuweig.org/?p=518</link>
		<comments>http://hychen.wuweig.org/?p=518#comments</comments>
		<pubDate>Sat, 12 Dec 2009 08:39:31 +0000</pubDate>
		<dc:creator>hychen</dc:creator>
				<category><![CDATA[軟體開發]]></category>
		<category><![CDATA[Android]]></category>

		<guid isPermaLink="false">http://hychen.wuweig.org/?p=518</guid>
		<description><![CDATA[Main idea 0xdroid has a lazy installer on BeagleBoard, I want a one on Devkit8k, so this is a roughly prototype and is not good enough as which oxlab has. Copy Android root filesystem directory into Angstrom root filesystem directory in SD card. Mount MTD devices  in Angstrom on Devkit80000 Copy Android root filesystem into [...]]]></description>
			<content:encoded><![CDATA[<h1><strong>Main idea</strong></h1>
<p>0xdroid has a lazy installer on BeagleBoard, I want a one on Devkit8k, so this is a roughly prototype and is not good enough as which oxlab has.</p>
<ol>
<li>Copy Android root filesystem directory into Angstrom root filesystem directory in SD card.</li>
<li>Mount MTD devices  in Angstrom on Devkit80000</li>
<li>Copy Android root filesystem into mounted MTD device.</li>
<li>Changed  to using ubit device as rootfs in bootargs in uboot.</li>
</ol>
<h1>Prepare Installer</h1>
<p>the installer has 2 part, one is uboot settings, and one is SD card data.</p>
<h3>a. Created Angsrom Root Filesystem</h3>
<p>a. 1 Formated SD card and create two partitions, first is FAT, second is EXT3, and types below.</p>
<blockquote><p>user@host$ cd  ~/$(DEVKIT8k_BSPSRC)/linux/demo/angstrom<br />
user@host$ cp uImage /media/FAT<br />
user@host$ tar xjpvf Angstrom-Beagleboard-demo-image-glibc-ipk-2009.X-test-20090111-beagleboard.rootfs.tar.bz2 -C /media/EXT3<br />
user@host$ mkdir /media/EXT3/home/root/rfs</p></blockquote>
<p>a.2 Created a script which located in /media/EXT3/home/root/my_flash.sh, its content is below.</p>
<blockquote><p>#!/bin/sh</p>
<p>flash_eraseall /dev/mtd4<br />
ubiattach /dev/ubi_ctrl -m 4<br />
ubimkvol /dev/ubi0 -N rootfs -s 100MiB<br />
mount -t ubifs ubi0_0 /mnt<br />
cp -a ~/rfs/* /mnt<br />
umount /mnt</p></blockquote>
<h3>b. Copy Android root filesystem into SD card</h3>
<p>The root file system is build before, if you want know how to get 0xdroid and how to build, please check <a href="http://gitorious.org/0xdroid/pages/Beagle-cupcake-0x1">http://gitorious.org/0xdroid/pages/Beagle-cupcake-0x1</a></p>
<blockquote><p>user@host$ cd ~/$(OxDroidSRC)/out/target/product/beagleboard<br />
user@host$ cp -a root/* /media/EXT3/home/root/rfs<br />
user@host$ cp -a root/system/* /media/EXT3/home/root/rfs/system/</p></blockquote>
<h3>c. Copy Android uImage into SD card</h3>
<p>user@host$ cp $(Oxkenerl)/arch/arm/boot/uImage /media/FAT/uImage_android</p>
<p><strong>d. Booting Angstrom from SD card</strong></p>
<p>Inserted SD card, and boot into uboot, then set boot args for running installer.<br />
remember, in this step we will install mtd-utils, so you have to make sure that your network is available.</p>
<blockquote><p>OMAP3 DevKit8000 # set installer 'set bootargs mem=128M console=ttyS2,115200n8 root=/dev/mmcblk0p2 rw noinitrd rootdelay=1;mmcinit;fatload mmc 0 80000000 uImage;bootm 80000000';save<br />
OMAP3 DevKit8000 # run installer</p></blockquote>
<h3>e. Login as root</h3>
<p>After booting successful, you can see Anstrom ask the login name, please use root to login.</p>
<h3>f. Checks MTD devices exists</h3>
<p>if the nand device nam is the same as kernel's , you can see the MTD devices informations by /proc/mtd</p>
<blockquote><p>root@devkit8000$ cat /proc/mtd</p></blockquote>
<h3>g. Install mtd-utils</h3>
<blockquote><p>root@devkit8000$ opkg update<br />
root@devkit8000$ opkg install mtd-utils</p></blockquote>
<h1>Using Installer</h1>
<p>booted Installer(Angsrom) and login as root, then types</p>
<blockquote><p>root@devkit8000$ cd ./my_flash.sh</p></blockquote>
<h1><span style="font-size: xx-large;">Boot Oxdroid from nand</span></h1>
<h3><span style="font-size: small;">a. Flash uImage (the size of uImage should less than 2M bytes)</span></h3>
<blockquote><p>OMAP3 DevKit8000 # mmcinit<br />
OMAP3 DevKit8000# fatload mmc 0:1 80000000 uImage_android<br />
reading uImage 1991900 bytes read<br />
OMAP3 DevKit8000 # nand unlock<br />
device 0 whole chip nand_unlock: start: 00000000, length: 268435456!<br />
NAND flash successfully unlocked<br />
OMAP3 DevKit8000 # nand ecc sw<br />
OMAP3 DevKit8000 # nand erase 280000 210000<br />
NAND erase: device 0 offset 0x280000, size 0x200000<br />
Erasing at 0x460000 -- 100% complete. OK<br />
OMAP3 DevKit8000 # nand write.i 80000000 280000 $(filesize)<br />
NAND write: device 0 offset 0x280000, size 0x200000<br />
Writing data at 0x47f800 -- 100% complete.<br />
2097152 bytes written: OK</p></blockquote>
<h3><span style="font-size: x-small;"><span style="font-size: small;">b. Set nand bootargs and boot</span></span></h3>
<blockquote><p>OMAP3 DevKit8000 # set nandubi 'setenv bootargs console=ttyS2,115200n8 ubi.mtd=4 root=ubi0:rootfs rootfstype=ubifs init=/init;run nandboot'<br />
OMAP3 DevKit8000 # setenv bootcmd 'nand read.i 80300000 280000 210000;bootm 80300000'<br />
OMAP3 DevKit8000 # save<br />
OMAP3 DevKit8000 # boot</p></blockquote>
<h1>Reference</h1>
<ol>
<li><strong><a href="http://www.embedu.org/Column/Column102.htm">UBI文件系统简介</a></strong></li>
</ol>


<div class="shr-bookmarks shr-bookmarks-center shr-bookmarks-bg-enjoy">
<ul class="socials">
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://hychen.wuweig.org/?p=518&amp;n=Using+ubi+as+0xdroid+root+filesystem+on+Devkit8000&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-plurk">
			<a href="http://www.plurk.com/m?content=Using+ubi+as+0xdroid+root+filesystem+on+Devkit8000+-+http://hychen.wuweig.org/?p=518&amp;qualifier=shares" rel="nofollow" class="external" title="分享到Plurk">分享到Plurk</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://hychen.wuweig.org/?p=518&amp;title=Using+ubi+as+0xdroid+root+filesystem+on+Devkit8000" rel="nofollow" class="external" title="分享到del.icio.us">分享到del.icio.us</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://hychen.wuweig.org/?p=518&amp;feed=comments-rss2" rel="nofollow" class="external" title="訂閱這篇文章的留言？">訂閱這篇文章的留言？</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://hychen.wuweig.org/?p=518&amp;title=Using+ubi+as+0xdroid+root+filesystem+on+Devkit8000&amp;summary=Main%20idea%0D%0A0xdroid%20has%20a%20lazy%20installer%20on%20BeagleBoard%2C%20I%20want%20a%20one%20on%20Devkit8k%2C%20so%20this%20is%20a%20roughly%20prototype%20and%20is%20not%20good%20enough%20as%20which%20oxlab%20has.%0D%0A%0D%0A%09Copy%20Android%20root%20filesystem%20directory%20into%20Angstrom%20root%20filesystem%20directory%20in%20SD%20card.%0D%0A%09Mount%20MTD%20devices%20%C2%A0in%20Angstrom%20on%20Devkit80000%0D&amp;source=無為閣" rel="nofollow" class="external" title="分享到LinkedIn">分享到LinkedIn</a>
		</li>
		<li class="shr-googlebookmarks">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://hychen.wuweig.org/?p=518&amp;title=Using+ubi+as+0xdroid+root+filesystem+on+Devkit8000" rel="nofollow" class="external" title="新增到Google Bookmarks">新增到Google Bookmarks</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://hychen.wuweig.org/?feed=rss2&amp;p=518</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
