<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-10481739</id><updated>2024-10-07T14:15:26.928+08:00</updated><category term="all"/><category term="computer"/><category term="blog"/><category term="baby"/><category term="linux"/><category term="blogger hack"/><category term="food"/><category term="css"/><category term="programming"/><category term="apple"/><category term="javascript"/><category term="goods"/><category term="software"/><category term="AJAX"/><category term="google"/><category term="mac os x"/><category term="others"/><category term="picture"/><category term="Design"/><category term="IE"/><category term="WTF"/><category term="firefox"/><category term="template"/><category term="vim"/><category term="JSON"/><category term="secret"/><category term="security"/><category term="Snow Leopard"/><category term="htc"/><category term="Mac"/><category term="book"/><category term="film"/><category term="gdb"/><category term="hardware"/><category term="leopard"/><category term="movie"/><category term="script"/><category term="slide"/><category term="tips"/><category term="CLI"/><category term="Terminal"/><category term="Web Service"/><category term="bash"/><category term="editor"/><category term="flickr"/><category term="kernel"/><category term="macports"/><category term="music"/><category term="mv"/><category term="peripheral"/><category term="search"/><category term="theme"/><category term="tmux"/><category term="tool"/><category term="wretch"/><category term="ASCII"/><category term="Adobe"/><category term="BARRUSE"/><category term="BBS"/><category term="Browser"/><category term="C"/><category term="C++"/><category term="Cappuccino"/><category term="Comet"/><category term="Digg"/><category term="GF1"/><category term="God"/><category term="Gozilla"/><category term="IE8"/><category term="InDesign"/><category term="LaCie"/><category term="Notebook"/><category term="OpenID"/><category term="SproutCore"/><category term="WordPress"/><category term="XHTML"/><category term="aperture"/><category term="article"/><category term="birthday"/><category term="blogger"/><category term="command line interface"/><category term="cool"/><category term="dd-wrt"/><category term="donate"/><category term="donation"/><category term="finance"/><category term="firework"/><category term="flash"/><category term="fun"/><category term="gnu"/><category term="httpd"/><category term="hypo"/><category term="iCloud"/><category term="iPhone"/><category term="keynote"/><category term="long polling"/><category term="man"/><category term="marriage"/><category term="microsoft"/><category term="mobile"/><category term="nba"/><category term="paypal"/><category term="photo"/><category term="polling"/><category term="proposal"/><category term="rdp"/><category term="reverse ssh tunnel"/><category term="screen"/><category term="server push"/><category term="shell"/><category term="shoes"/><category term="snapshot"/><category term="ssh"/><category term="ssh tunnel"/><category term="statistics"/><category term="stock"/><category term="taiwan"/><category term="temple"/><category term="tricks"/><category term="unix"/><category term="vi"/><category term="video"/><category term="vista"/><category term="wedding"/><category term="wordle"/><category term="youtube"/><category term="巴魯斯桌上遊戲"/><title type='text'>Kaie&#39;s Blog</title><subtitle type='html'>　 Apple, Mac OS X, Linux, Embedded System, Vim Rocks, Blogger Hack ... VIVOTEK nOOb</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://chenkaie.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10481739/posts/default?redirect=false&amp;orderby=published'/><link rel='alternate' type='text/html' href='http://chenkaie.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/10481739/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;orderby=published'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/09229203493337676269</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>220</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-10481739.post-1096044625564977875</id><published>2014-06-20T00:16:00.000+08:00</published><updated>2014-06-20T00:18:52.936+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="all"/><category scheme="http://www.blogger.com/atom/ns#" term="apple"/><category scheme="http://www.blogger.com/atom/ns#" term="CLI"/><category scheme="http://www.blogger.com/atom/ns#" term="command line interface"/><category scheme="http://www.blogger.com/atom/ns#" term="computer"/><category scheme="http://www.blogger.com/atom/ns#" term="dd-wrt"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="mac os x"/><category scheme="http://www.blogger.com/atom/ns#" term="microsoft"/><category scheme="http://www.blogger.com/atom/ns#" term="rdp"/><category scheme="http://www.blogger.com/atom/ns#" term="reverse ssh tunnel"/><category scheme="http://www.blogger.com/atom/ns#" term="ssh"/><category scheme="http://www.blogger.com/atom/ns#" term="ssh tunnel"/><category scheme="http://www.blogger.com/atom/ns#" term="tmux"/><title type='text'>[Slide] Working Remotely (via SSH) Rocks! / 偽遠距工作之在家加班寫程式超爽der(誤)</title><content type='html'>&lt;div style=&quot;font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Helvetica, Arial, Verdana, sans-serif;&quot;&gt;
　　Working Remotely，俗稱：遠距工作/遠距離辦公/遠距&lt;b&gt;&lt;span style=&quot;color: #ffd966;&quot;&gt;加班&lt;/span&gt;&lt;/b&gt;...，常時間工作下來，一直有種在家&lt;strike&gt;加班&lt;/strike&gt; Coding 超爽der &lt;b&gt;錯覺&lt;/b&gt;，因此花了不少時間在研究廣為人知的「Reverse SSH Tunnel」。請謹慎小心使用此暗黑魔法，若你無法完全駕馭它，請別亂打洞。一旦打通了這反向通道，就可以幹許多有趣的&lt;strike&gt;壞&lt;/strike&gt;事。
&lt;br /&gt;
&lt;iframe allowfullscreen=&quot;&quot; height=&quot;630&quot; width=&quot;798&quot; frameborder=&quot;0&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; scrolling=&quot;no&quot; src=&quot;http://www.slideshare.net/slideshow/embed_code/35961284&quot; style=&quot;border-width: 1px 1px 0; border: 1px solid #CCC; margin-bottom: 5px; max-width: 100%;&quot; width=&quot;630&quot;&gt; &lt;/iframe&gt; &lt;br /&gt;
&lt;div style=&quot;margin-bottom: 5px;&quot;&gt;
&lt;strong&gt; &lt;a href=&quot;https://www.slideshare.net/chenkaie/working-remotely-via-ssh-rocks&quot; target=&quot;_blank&quot; title=&quot;Working Remotely (via SSH) Rocks!&quot;&gt;Working Remotely (via SSH) Rocks!&lt;/a&gt; &lt;/strong&gt; from &lt;strong&gt;&lt;a href=&quot;http://www.slideshare.net/chenkaie&quot; target=&quot;_blank&quot;&gt;Kent Chen&lt;/a&gt;&lt;/strong&gt; &lt;/div&gt;
&lt;br /&gt;
&lt;script async=&quot;&quot; class=&quot;speakerdeck-embed&quot; data-id=&quot;416b6da0d83a013190141630294e6fbc&quot; data-ratio=&quot;1.33333333333333&quot; src=&quot;//speakerdeck.com/assets/embed.js&quot;&gt;&lt;/script&gt;
&lt;a href=&quot;https://speakerdeck.com/chenkaie/working-remotely-via-ssh-rocks&quot; target=&quot;_blank&quot; title=&quot;Working Remotely (via SSH) Rocks!&quot;&gt;Working Remotely (via SSH) Rocks!&lt;/a&gt; from &lt;a href=&quot;https://speakerdeck.com/chenkaie&quot; target=&quot;_blank&quot;&gt;Kent Chen @ Speaker Deck&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img alt=&quot;Creative Commons Licence&quot; src=&quot;http://i.creativecommons.org/l/by-nc-sa/2.5/88x31.png&quot;/&gt; © 2006-2013 Kent Chen(Kaie&#39;s Blog).&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://chenkaie.blogspot.com/feeds/1096044625564977875/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/10481739/1096044625564977875?isPopup=true' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10481739/posts/default/1096044625564977875'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10481739/posts/default/1096044625564977875'/><link rel='alternate' type='text/html' href='http://chenkaie.blogspot.com/2014/06/slide-working-remotely-via-ssh-rocks-der.html' title='[Slide] Working Remotely (via SSH) Rocks! / 偽遠距工作之在家加班寫程式超爽der(誤)'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/09229203493337676269</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10481739.post-4862109969295689611</id><published>2014-01-17T01:01:00.001+08:00</published><updated>2014-01-17T01:01:49.864+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="all"/><category scheme="http://www.blogger.com/atom/ns#" term="computer"/><category scheme="http://www.blogger.com/atom/ns#" term="keynote"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Mac"/><category scheme="http://www.blogger.com/atom/ns#" term="screen"/><category scheme="http://www.blogger.com/atom/ns#" term="slide"/><category scheme="http://www.blogger.com/atom/ns#" term="Terminal"/><category scheme="http://www.blogger.com/atom/ns#" term="tmux"/><category scheme="http://www.blogger.com/atom/ns#" term="unix"/><title type='text'>[Slide] TMUX Rocks! / 地表上最強終端复用器(Terminal Multiplexer)</title><content type='html'>&lt;div style=&quot;font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Helvetica, Arial, Verdana, sans-serif;&quot;&gt;
　　經過一段時間的反覆試練，終於從 &lt;a href=&quot;https://www.gnu.org/software/screen/&quot;&gt;GNU Screen&lt;/a&gt; 跳槽到 &lt;a href=&quot;http://tmux.sourceforge.net/&quot;&gt;BSD tmux&lt;/a&gt; 的陣營了，經過精心的設定檔調教後(有好心人士寫好現成的)，可以讓您無痛轉換至tmux，使用習慣依然不變，只有更強大的使用體驗，完成了最近正夯的&quot;&lt;a href=&quot;https://www.google.com.tw/search?hl=zh-TW&amp;source=source&amp;biw=biw&amp;bih=bih&amp;q=%E9%9D%88%E7%9A%84%E8%BD%89%E7%A7%BB&amp;btnG=btnG&amp;aq=aq&amp;aqi=aqi&amp;aql=aql&amp;oq=oq&amp;qscrl=1&quot;&gt;靈的轉移&lt;/a&gt;&quot; XD。趁記憶猶新時，弄個 keynote 跟大家分享 :)
&lt;br /&gt;
&lt;script async=&quot;&quot; class=&quot;speakerdeck-embed&quot; data-id=&quot;cc9a9a0060f40131d575169489d279b2&quot; data-ratio=&quot;1.33333333333333&quot; src=&quot;//speakerdeck.com/assets/embed.js&quot;&gt;&lt;/script&gt;
&lt;a href=&quot;https://speakerdeck.com/chenkaie/tmux-rocks&quot; target=&quot;_blank&quot; title=&quot;TMUX Rocks!&quot;&gt;TMUX Rocks!&lt;/a&gt; from &lt;a href=&quot;https://speakerdeck.com/chenkaie&quot; target=&quot;_blank&quot;&gt;Kent Chen @ Speaker Deck&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;630&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; scrolling=&quot;no&quot; src=&quot;http://www.slideshare.net/slideshow/embed_code/30000994&quot; style=&quot;border-width: 1px 1px 0; border: 1px solid #CCC; margin-bottom: 5px;&quot; width=&quot;798&quot;&gt; &lt;/iframe&gt; &lt;br /&gt;
&lt;div style=&quot;margin-bottom: 5px;&quot;&gt;
&lt;strong&gt; &lt;a href=&quot;https://www.slideshare.net/chenkaie/tmux-rocks&quot; target=&quot;_blank&quot; title=&quot;TMUX rocks!&quot;&gt;TMUX rocks!&lt;/a&gt; &lt;/strong&gt; from &lt;strong&gt;&lt;a href=&quot;http://www.slideshare.net/chenkaie&quot; target=&quot;_blank&quot;&gt;Kent Chen&lt;/a&gt;&lt;/strong&gt; &lt;/div&gt;
&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img alt=&quot;Creative Commons Licence&quot; src=&quot;http://i.creativecommons.org/l/by-nc-sa/2.5/88x31.png&quot;/&gt; © 2006-2013 Kent Chen(Kaie&#39;s Blog).&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://chenkaie.blogspot.com/feeds/4862109969295689611/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/10481739/4862109969295689611?isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10481739/posts/default/4862109969295689611'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10481739/posts/default/4862109969295689611'/><link rel='alternate' type='text/html' href='http://chenkaie.blogspot.com/2014/01/slide-tmux-rocks-terminal-multiplexer.html' title='[Slide] TMUX Rocks! / 地表上最強終端复用器(Terminal Multiplexer)'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/09229203493337676269</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10481739.post-7530241635827265258</id><published>2013-09-08T17:10:00.000+08:00</published><updated>2013-09-08T17:11:29.719+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="all"/><category scheme="http://www.blogger.com/atom/ns#" term="bash"/><category scheme="http://www.blogger.com/atom/ns#" term="script"/><category scheme="http://www.blogger.com/atom/ns#" term="wretch"/><title type='text'>[Wretch] Wretch album download script / 無名小站相簿打包小程式</title><content type='html'>&lt;div style=&quot;font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Helvetica, Arial, Verdana, sans-serif;&quot;&gt;
紅極一時的無名小站即將走入尾聲了(感覺也是早晚的事，被Yahoo收購後，並沒什麼大動作，維持原樣好幾年了)，以前也跟著流行，註冊個免費帳號，丟了些照片上去。雖然早就已經搬家到&lt;a href=&quot;http://flickr.com/&quot;&gt;Flickr.com&lt;/a&gt;一段時間了，但無奈之前硬碟掛掉，還是有些舊照片在上頭，打包一份留念吧。由於&lt;a href=&quot;http://www.wretch.cc/blog/WretchFAQ/13637278&quot; target=&quot;_blank&quot;&gt;無名教學&lt;/a&gt;並沒有CLI版本的，身為CLI魔人，實在是懶得一個個下載，花個5分鐘弄個小程式，自行建目錄、下載打包。最後，悼念一下那些年我們一起上的無名。&lt;/div&gt;

&lt;script src=&quot;https://gist.github.com/chenkaie/6483032.js&quot;&gt;&lt;/script&gt;
&lt;style&gt;
.gist .gist-file .gist-data { font-size: 12px; line-height: 16px; } 
.gist-syntax { text-shadow: 1px 1px 1px #000000; opacity: 0.75; -moz-opacity:0.75; filter:alpha(Opacity=75); }
.gist { text-shadow: 0px 0px 0px #000000;}
.line { text-shadow: 0px 0px 0px #000000;}
&lt;/style&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img alt=&quot;Creative Commons Licence&quot; src=&quot;http://i.creativecommons.org/l/by-nc-sa/2.5/88x31.png&quot;/&gt; © 2006-2013 Kent Chen(Kaie&#39;s Blog).&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://chenkaie.blogspot.com/feeds/7530241635827265258/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/10481739/7530241635827265258?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10481739/posts/default/7530241635827265258'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10481739/posts/default/7530241635827265258'/><link rel='alternate' type='text/html' href='http://chenkaie.blogspot.com/2013/09/wretch-wretch-album-download-script.html' title='[Wretch] Wretch album download script / 無名小站相簿打包小程式'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/09229203493337676269</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10481739.post-2222314778947133691</id><published>2013-08-03T12:49:00.000+08:00</published><updated>2013-08-03T12:49:50.552+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="all"/><category scheme="http://www.blogger.com/atom/ns#" term="mv"/><category scheme="http://www.blogger.com/atom/ns#" term="taiwan"/><category scheme="http://www.blogger.com/atom/ns#" term="youtube"/><title type='text'>[Misc] 8/3 要真相!要人權!凱道萬人送仲丘! (活動主題曲)</title><content type='html'>&lt;b style=&quot;font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Helvetica, Arial, Verdana, sans-serif;&quot;&gt;8/3 要真相!要人權!凱道萬人送仲丘!!(活動主題曲 -&amp;nbsp;&lt;/b&gt;&lt;span style=&quot;font-family: Lucida Grande, Lucida Sans Unicode, Helvetica, Arial, Verdana, sans-serif;&quot;&gt;&lt;b&gt;你敢有聽著咱唱歌)&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Helvetica, Arial, Verdana, sans-serif;&quot;&gt;第一次聽到 &quot;Do You Hear The People Sing?&quot;這首歌是在看 &quot;&lt;/span&gt;&lt;span style=&quot;font-family: Lucida Grande, Lucida Sans Unicode, Helvetica, Arial, Verdana, sans-serif;&quot;&gt;悲慘世界/&amp;nbsp;Misérables&quot;這部電影時，當初就有觸動到憤青的內心深處。最近又因為一些社會事件(洪仲丘、大埔)，聽到新竹馬偕醫院醫師「吳易澄」改編的台語版，打破語言隔閡，更貼切的台語改編，讓人忍不住滴下男兒淚呀...&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Lucida Grande, Lucida Sans Unicode, Helvetica, Arial, Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;450&quot; src=&quot;//www.youtube.com/embed/lJl_3gvDCXU&quot; style=&quot;font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Helvetica, Arial, Verdana, sans-serif; text-align: center;&quot; width=&quot;800&quot;&gt;&lt;/iframe&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img alt=&quot;Creative Commons Licence&quot; src=&quot;http://i.creativecommons.org/l/by-nc-sa/2.5/88x31.png&quot;/&gt; © 2006-2013 Kent Chen(Kaie&#39;s Blog).&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://chenkaie.blogspot.com/feeds/2222314778947133691/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/10481739/2222314778947133691?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10481739/posts/default/2222314778947133691'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10481739/posts/default/2222314778947133691'/><link rel='alternate' type='text/html' href='http://chenkaie.blogspot.com/2013/08/misc-83.html' title='[Misc] 8/3 要真相!要人權!凱道萬人送仲丘! (活動主題曲)'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/09229203493337676269</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10481739.post-8243423303478908561</id><published>2012-11-26T21:04:00.001+08:00</published><updated>2012-11-26T21:04:13.982+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="all"/><category scheme="http://www.blogger.com/atom/ns#" term="Comet"/><category scheme="http://www.blogger.com/atom/ns#" term="computer"/><category scheme="http://www.blogger.com/atom/ns#" term="long polling"/><category scheme="http://www.blogger.com/atom/ns#" term="polling"/><category scheme="http://www.blogger.com/atom/ns#" term="server push"/><category scheme="http://www.blogger.com/atom/ns#" term="slide"/><category scheme="http://www.blogger.com/atom/ns#" term="vim"/><title type='text'>[Slide] Comet in VIVOTEK Network Camera / 應用於VIVOTEK網路攝影機的Comet技術</title><content type='html'>&lt;div style=&quot;font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Helvetica, Arial, Verdana, sans-serif&quot;&gt;　　一直以來對於&lt;a href=&quot;http://en.wikipedia.org/wiki/Comet_(programming)&quot;&gt;Comet (programming)&lt;/a&gt;的相關技術都有些興趣，在一般常見的Embedded Linux設備中 e.g. Network Camera, Wireless AP, Router, NAS, ...通常會有個簡易的Web UI供使用者操作(client side)，做些設定，或是監看一些會持續性更新的Status，由於此類設備常見的Resource Limitation問題(NAS應該還好)，所以輕量化，或是自幹一套通常會是最後的解決方案 XD，並涉及Browser Compatibility的考量，有IE &amp; non-IE browser的解法，以上參考了網路上一些常見的解決方案，將重點摘要於此Slide中.
&lt;br/&gt;
&lt;script async class=&quot;speakerdeck-embed&quot; data-id=&quot;b3e3641014a90130604712313b10150a&quot; data-ratio=&quot;1.33333333333333&quot; src=&quot;//speakerdeck.com/assets/embed.js&quot;&gt;&lt;/script&gt;
&lt;a href=&quot;https://speakerdeck.com/chenkaie/comet-in-vivotek-network-camera&quot; target=&quot;_blank&quot; title=&quot;Comet in VIVOTEK Network Camera&quot;&gt;Comet in VIVOTEK Network Camera&lt;/a&gt; from &lt;a href=&quot;https://speakerdeck.com/chenkaie&quot; target=&quot;_blank&quot;&gt;Kent Chen @ Speaker Deck&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;

&lt;iframe src=&quot;http://www.slideshare.net/slideshow/embed_code/15251338&quot; width=&quot;798&quot; height=&quot;630&quot; frameborder=&quot;0&quot; marginwidth=&quot;0&quot; marginheight=&quot;0&quot; scrolling=&quot;no&quot; style=&quot;border:1px solid #CCC;border-width:1px 1px 0;margin-bottom:5px&quot; allowfullscreen webkitallowfullscreen mozallowfullscreen&gt; &lt;/iframe&gt; &lt;div style=&quot;margin-bottom:5px&quot;&gt; &lt;strong&gt; &lt;a href=&quot;http://www.slideshare.net/chenkaie/comet-in-vivotek-network-camera&quot; title=&quot;Comet in vivotek network camera&quot; target=&quot;_blank&quot;&gt;Comet in vivotek network camera&lt;/a&gt; &lt;/strong&gt; from &lt;strong&gt;&lt;a href=&quot;http://www.slideshare.net/chenkaie&quot; target=&quot;_blank&quot;&gt;Kent Chen&lt;/a&gt;&lt;/strong&gt; &lt;/div&gt;
&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img alt=&quot;Creative Commons Licence&quot; src=&quot;http://i.creativecommons.org/l/by-nc-sa/2.5/88x31.png&quot;/&gt; © 2006-2013 Kent Chen(Kaie&#39;s Blog).&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://chenkaie.blogspot.com/feeds/8243423303478908561/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/10481739/8243423303478908561?isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10481739/posts/default/8243423303478908561'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10481739/posts/default/8243423303478908561'/><link rel='alternate' type='text/html' href='http://chenkaie.blogspot.com/2012/11/slide-comet-in-vivotek-network-camera.html' title='[Slide] Comet in VIVOTEK Network Camera / 應用於VIVOTEK網路攝影機的Comet技術'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/09229203493337676269</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10481739.post-5354138431367445156</id><published>2012-11-22T00:17:00.001+08:00</published><updated>2012-11-22T13:44:21.810+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="all"/><category scheme="http://www.blogger.com/atom/ns#" term="computer"/><category scheme="http://www.blogger.com/atom/ns#" term="slide"/><category scheme="http://www.blogger.com/atom/ns#" term="vim"/><category scheme="http://www.blogger.com/atom/ns#" term="Web Service"/><title type='text'>[Slide] Vim Rocks! + Slideshare vs. Speaker Deck / 地表上最強編輯器Vim</title><content type='html'>&lt;div&gt;
&lt;div style=&quot;font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Helvetica, Arial, Verdana, sans-serif;&quot;&gt;
　　從大學時期至今，對於&quot;Vim-地表上最強的文字編輯器&quot;也玩了一段時間了，應觀眾要求，整理了一些個人心得，獻獻醜!並順手丟到兩大著名的Online Slide/Presentation share網站，底下順便比較一下這兩者，我在使用上的一些心得感想。
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://speakerdeck.com/&quot;&gt;Speaker Deck&lt;/a&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;滑鼠在Slider上橫移可以看到每張Slide的預覽圖，相當棒且實用的功能&lt;/li&gt;
&lt;li&gt;簡潔又有質感的網站設計(SlideShare上散佈了一大堆廣告)&lt;/li&gt;
&lt;li&gt;產生&quot;Embed語法&quot;嵌入blog分享這部份，Speaker Deck可以達到&quot;自適頁面寬&quot;，不需手動指定&lt;/li&gt;
&lt;li&gt;母公司ORDERED LIST已被Github Inc.所&lt;a href=&quot;http://orderedlist.com/blog/articles/ordered-list-acquired-by-github/&quot;&gt;併購&lt;/a&gt;，看來日漸龐大是指日可待的 :)&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;a href=&quot;http://www.slideshare.net/&quot;&gt;SlideShare&lt;/a&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;比較早成立，社群較大，slides數量及種類相對豐富&lt;/li&gt;
&lt;li&gt;相較於Speaker Deck只支援pdf格式，SlideShare支援多種檔案格式，如: Apple Keynote, M$ PowerPoint, OpenOffice, Video...&lt;/li&gt;
&lt;li&gt;某些slide上傳至server後，有經過分析，能夠將文字/圖片部份擷取出來，並以純HTML+CSS來呈現，技術力的展現!&lt;/li&gt;
&lt;li&gt;slide中的hyperlink是可以直接點擊的，這點方便多了&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;script async=&quot;async&quot; class=&quot;speakerdeck-embed&quot; data-id=&quot;98ba69a00fd201303a11123138155446&quot; data-ratio=&quot;1.33333333333333&quot; src=&quot;//speakerdeck.com/assets/embed.js&quot;&gt;&lt;/script&gt;
&lt;a href=&quot;https://speakerdeck.com/chenkaie/vim-rocks&quot; target=&quot;_blank&quot; title=&quot;Vim Rocks!&quot;&gt;Vim Rocks!&lt;/a&gt; from &lt;a href=&quot;https://speakerdeck.com/chenkaie&quot; target=&quot;_blank&quot;&gt;Kent Chen @ Speaker Deck&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;

&lt;iframe allowfullscreen=&quot;allowfullscreen&quot; frameborder=&quot;0&quot; height=&quot;630&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; mozallowfullscreen=&quot;mozallowfullscreen&quot; scrolling=&quot;no&quot; src=&quot;http://www.slideshare.net/slideshow/embed_code/15034215&quot; style=&quot;border-width: 1px 1px 0; border: 1px solid #333; margin-bottom: 5px;&quot; webkitallowfullscreen=&quot;webkitallowfullscreen&quot; width=&quot;798&quot;&gt; &lt;/iframe&gt; &lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Helvetica, Arial, Verdana, sans-serif; margin-bottom: 5px;&quot;&gt;
&lt;a href=&quot;http://www.slideshare.net/chenkaie/vim-rocks&quot; target=&quot;_blank&quot; title=&quot;Vim Rocks!&quot;&gt;Vim Rocks!&lt;/a&gt; from &lt;a href=&quot;http://www.slideshare.net/chenkaie&quot; target=&quot;_blank&quot;&gt;Kent Chen @ SlideShare&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img alt=&quot;Creative Commons Licence&quot; src=&quot;http://i.creativecommons.org/l/by-nc-sa/2.5/88x31.png&quot;/&gt; © 2006-2013 Kent Chen(Kaie&#39;s Blog).&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://chenkaie.blogspot.com/feeds/5354138431367445156/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/10481739/5354138431367445156?isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10481739/posts/default/5354138431367445156'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10481739/posts/default/5354138431367445156'/><link rel='alternate' type='text/html' href='http://chenkaie.blogspot.com/2012/11/slide-vim-rocks-slideshare-vs-speaker.html' title='[Slide] Vim Rocks! + Slideshare vs. Speaker Deck / 地表上最強編輯器Vim'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/09229203493337676269</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10481739.post-2149535304724114162</id><published>2012-11-14T22:54:00.000+08:00</published><updated>2012-11-14T22:57:47.004+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="all"/><category scheme="http://www.blogger.com/atom/ns#" term="ASCII"/><category scheme="http://www.blogger.com/atom/ns#" term="bash"/><category scheme="http://www.blogger.com/atom/ns#" term="computer"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="shell"/><category scheme="http://www.blogger.com/atom/ns#" term="Terminal"/><title type='text'>[GEEK] My new toy - ASCII Art / 新玩具 - ASCII 圖</title><content type='html'>&lt;div style=&quot;font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Helvetica, Arial, Verdana, sans-serif;&quot;&gt;　　下圖的&lt;a href=&quot;http://en.wikipedia.org/wiki/Cowsay&quot;&gt;GNU Cowsay&lt;/a&gt;已經養了一陣子，養這麼久都沒長大 XD，最新剛好看到一個新玩具&lt;a href=&quot;https://github.com/atextor/icat&quot;&gt;icat&lt;/a&gt;，真是帥呆了，二話不說馬上導入! 
    &lt;div style=&quot;font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Helvetica, Arial, Verdana, sans-serif; text-align: center;&quot;&gt;
        &lt;img src=&quot;http://farm9.staticflickr.com/8479/8185135650_dd6f8874bd_o.png&quot; style=&quot;border: 6px solid transparent;&quot; /&gt;&lt;/div&gt;

    &lt;code class=&quot;ref&quot;&gt;．icat - image cat: &lt;a href=&quot;https://github.com/atextor/icat&quot;&gt;https://github.com/atextor/icat&lt;/a&gt;&lt;br /&gt;
        ．Intro:&amp;nbsp;Outputs an image on a 256-color enabled terminal with UTF-8 locale, such as gnome-terminal, konsole or rxvt-unicode (urxvt).&lt;br/&gt;
．ASCII Art(Generated by ME): &lt;a href=&quot;https://github.com/chenkaie/DotFiles/tree/master/ascii-photo&quot;&gt;https://github.com/chenkaie/DotFiles/tree/master/ascii-photo&lt;/a&gt; &lt;/code&gt;
　　接著就來分享幾張令人著迷的256色ASCII Art:
    &lt;div style=&quot;font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Helvetica, Arial, Verdana, sans-serif; overflow: auto; text-align: center; width: 785px;&quot;&gt;
        &lt;a href=&quot;http://www.flickr.com/photos/kent-chen/8184473957/in/set-72157632005884593&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://farm9.staticflickr.com/8200/8184473957_73b3eef281_o.png&quot; style=&quot;border: 0px;&quot; /&gt;&lt;/a&gt;
    &lt;/div&gt;
    &lt;div style=&quot;font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Helvetica, Arial, Verdana, sans-serif; overflow: auto; text-align: center; width: 785px;&quot;&gt;
        &lt;a href=&quot;http://www.flickr.com/photos/kent-chen/8184473999/in/set-72157632005884593&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://farm9.staticflickr.com/8484/8184473999_376fde1f39_o.png&quot; style=&quot;border: 0px;&quot; /&gt;&lt;/a&gt;
    &lt;/div&gt;
    &lt;div style=&quot;font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Helvetica, Arial, Verdana, sans-serif; overflow: auto; text-align: center; width: 785px;&quot;&gt;
        &lt;a href=&quot;http://www.flickr.com/photos/kent-chen/8184512494/in/set-72157632005884593&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://farm9.staticflickr.com/8486/8184512494_9023423494_o.png&quot; style=&quot;border: 0px;&quot; /&gt;&lt;/a&gt;
    &lt;/div&gt;
    &lt;div style=&quot;font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Helvetica, Arial, Verdana, sans-serif; overflow: auto; text-align: center; width: 785px;&quot;&gt;
        &lt;a href=&quot;http://www.flickr.com/photos/kent-chen/8184474127/in/set-72157632005884593&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://farm9.staticflickr.com/8479/8184474127_7aebcb4505_o.png&quot; style=&quot;border: 0px;&quot; /&gt;&lt;/a&gt;
    &lt;/div&gt;
    &lt;div style=&quot;font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Helvetica, Arial, Verdana, sans-serif; overflow: auto; text-align: center; width: 785px;&quot;&gt;
        &lt;a href=&quot;http://www.flickr.com/photos/kent-chen/8184512640/in/set-72157632005884593&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://farm9.staticflickr.com/8484/8184512640_c95055cc8e_o.png&quot; style=&quot;border: 0px;&quot; /&gt;&lt;/a&gt;
    &lt;/div&gt;
    &lt;div style=&quot;font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Helvetica, Arial, Verdana, sans-serif; overflow: auto; text-align: center; width: 785px;&quot;&gt;
        &lt;a href=&quot;http://www.flickr.com/photos/kent-chen/8184474237/in/set-72157632005884593&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://farm9.staticflickr.com/8340/8184474237_c5de94da1b_o.png&quot; style=&quot;border: 0px;&quot; /&gt;&lt;/a&gt;
    &lt;/div&gt;
&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img alt=&quot;Creative Commons Licence&quot; src=&quot;http://i.creativecommons.org/l/by-nc-sa/2.5/88x31.png&quot;/&gt; © 2006-2013 Kent Chen(Kaie&#39;s Blog).&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://chenkaie.blogspot.com/feeds/2149535304724114162/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/10481739/2149535304724114162?isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10481739/posts/default/2149535304724114162'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10481739/posts/default/2149535304724114162'/><link rel='alternate' type='text/html' href='http://chenkaie.blogspot.com/2012/11/geek-my-new-toy-ascii-art-ascii.html' title='[GEEK] My new toy - ASCII Art / 新玩具 - ASCII 圖'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/09229203493337676269</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10481739.post-4236091341994195275</id><published>2012-02-10T01:53:00.002+08:00</published><updated>2012-02-10T09:34:38.688+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="all"/><category scheme="http://www.blogger.com/atom/ns#" term="donate"/><category scheme="http://www.blogger.com/atom/ns#" term="donation"/><category scheme="http://www.blogger.com/atom/ns#" term="editor"/><category scheme="http://www.blogger.com/atom/ns#" term="paypal"/><category scheme="http://www.blogger.com/atom/ns#" term="programming"/><category scheme="http://www.blogger.com/atom/ns#" term="vim"/><title type='text'>[Editor] Vim Donation, help poor children in Uganda! | 一起來贊助Vim社群唄</title><content type='html'>&lt;div style=&quot;font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Helvetica, Arial, Verdana, sans-serif&quot;&gt;　　使用了&quot;&lt;a href=&quot;http://www.vim.org/&quot;&gt;Vim&lt;/a&gt; - 號稱地表上最強編輯器&quot;已經好一陣子了，我想Donate一小筆錢給這個社群，贊助一下Vim開發者，或是救救烏干達的小朋友，也是合情合理、舉手之勞的啊!&lt;br/&gt;&lt;br/&gt;
　　另外Sponsoring並不單純的只是贊助錢而已，Vim社群還盡量讓這樣的活動更多樣性、更有趣些。當Sponsor你就有機會獲得&quot;投票權&quot;，用以對你喜歡的Vim開發中，還是尚未開發，但很吸引人的新features投票，票數愈高者，被加進下一版的機會就更高，挺不錯的想法 :)，可參考一下目前&lt;a href=&quot;http://www.vim.org/sponsor/vote_results.php&quot;&gt;開票結果&lt;/a&gt;。不僅如此，還有所謂的&quot;&lt;a href=&quot;http://www.vim.org/sponsor/hall_of_honour.php&quot;&gt;名人堂&lt;/a&gt;&quot;，Cool必啦. 要進Vim名人堂其實也不難啦，捐個100歐元就可以讓你上榜，名留青史，何樂而不為呢! &lt;br/&gt;&lt;br/&gt;
　　也因為要贊助Vim社群，我去申請了&lt;a href=&quot;http://www.paypal.com/&quot;&gt;PayPal&lt;/a&gt;帳號，之後要跨國付費就方便多了。&lt;br/&gt;&lt;br/&gt;
&lt;code class=&quot;ref&quot;&gt;．Vim Sponsoring page: &lt;a href=&quot;http://www.vim.org/sponsor/index.php&quot;&gt;http://www.vim.org/sponsor/index.php&lt;/a&gt;&lt;br/&gt;
．Vim voting results: &lt;a href=&quot;http://www.vim.org/sponsor/vote_results.php&quot;&gt;http://www.vim.org/sponsor/vote_results.php&lt;/a&gt;&lt;br/&gt;
．Vim Hall of honor: &lt;a href=&quot;http://www.vim.org/sponsor/hall_of_honour.php&quot;&gt;http://www.vim.org/sponsor/hall_of_honour.php&lt;/a&gt;&lt;/code&gt; &lt;br/&gt;
．紀念一下 :)
&lt;div style=&quot;text-align: center;  width: 785px; overflow: auto; border: 6px solid transparent; &quot;&gt;&lt;a target=&quot;_blank&quot; href=&quot;http://www.flickr.com/photos/kent-chen/6844928417//&quot;&gt;&lt;img src=&quot;http://farm8.staticflickr.com/7049/6844928417_a484dc6b55_o.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
．PayPal: donate@vim.org
&lt;div style=&quot;text-align: center;  width: 785px; overflow: auto; border: 6px solid transparent; &quot;&gt;&lt;a target=&quot;_blank&quot; href=&quot;http://www.flickr.com/photos/kent-chen/6830595631/in/photostream/&quot;&gt;&lt;img src=&quot;http://farm8.staticflickr.com/7012/6830595631_e16d0c6006_o.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;

&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img alt=&quot;Creative Commons Licence&quot; src=&quot;http://i.creativecommons.org/l/by-nc-sa/2.5/88x31.png&quot;/&gt; © 2006-2013 Kent Chen(Kaie&#39;s Blog).&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://chenkaie.blogspot.com/feeds/4236091341994195275/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/10481739/4236091341994195275?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10481739/posts/default/4236091341994195275'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10481739/posts/default/4236091341994195275'/><link rel='alternate' type='text/html' href='http://chenkaie.blogspot.com/2012/02/editor-vim-donation-help-poor-children.html' title='[Editor] Vim Donation, help poor children in Uganda! | 一起來贊助Vim社群唄'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/09229203493337676269</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10481739.post-7328428234036684658</id><published>2011-12-24T23:56:00.000+08:00</published><updated>2011-12-24T23:56:02.567+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="all"/><category scheme="http://www.blogger.com/atom/ns#" term="BARRUSE"/><category scheme="http://www.blogger.com/atom/ns#" term="marriage"/><category scheme="http://www.blogger.com/atom/ns#" term="mv"/><category scheme="http://www.blogger.com/atom/ns#" term="proposal"/><category scheme="http://www.blogger.com/atom/ns#" term="video"/><category scheme="http://www.blogger.com/atom/ns#" term="wedding"/><category scheme="http://www.blogger.com/atom/ns#" term="巴魯斯桌上遊戲"/><title type='text'>[MV] My Marriage Proposal MV / 我的求婚影片 - 那些年我所追的女孩</title><content type='html'>&lt;div style=&quot;font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Helvetica, Arial, Verdana, sans-serif&quot;&gt;　　各位觀眾，這一天終於到了，也有了個Happy Ending，感謝各位好友的見證。地點在好友楊董的店&quot;&lt;a href=&quot;https://www.facebook.com/BARRUSE&quot;&gt;巴魯斯桌上遊戲&lt;/a&gt;&quot;，歡迎大家多多捧場，是個好朋友聚會同樂的好所在。由於第一次用iMovie，花了許久時間摸熟，底下的MV是透過 &lt;a href=&quot;http://www.apple.com/tw/ilife/imovie/&quot;&gt;Apple iMovie&#39;11&lt;/a&gt; 製作，請自行配帶墨鏡，或攜帶可魯，後果一概不負責!
&lt;br/&gt;&lt;br/&gt;．My Marriage Proposal MV / 我的求婚影片 - 那些年我所追的女孩
&lt;iframe width=&quot;800&quot; height=&quot;437&quot; src=&quot;http://www.youtube.com/embed/CVlxb8SpcqY?hd=1&quot; frameborder=&quot;0&quot; allowfullscreen&gt;&lt;/iframe&gt;
&lt;br/&gt;&lt;br/&gt;．好麻吉帥強透過Panasonic GF1所側拍的片段
&lt;iframe width=&quot;800&quot; height=&quot;437&quot; src=&quot;http://www.youtube.com/embed/4h5nMW2jNiI?hd=1&quot; frameborder=&quot;0&quot; allowfullscreen&gt;&lt;/iframe&gt;
&lt;code class=&quot;ref&quot;&gt;．巴魯斯桌上遊戲 : &lt;br/&gt;
　　Location: 106 Taipei, Taiwan台北市大安區羅斯福路2段79號8樓之2&lt;br/&gt;
　　About   : 巴魯斯桌上遊戲專賣店, 提供舒適的遊戲空間, 還有免費的無線上網喔&lt;br/&gt;
　　Email : barruse.games@gmail.com&lt;br/&gt;
　　Phone : (02) 2362-6362&lt;br/&gt;
　　Website : http://www.facebook.com/BARRUSE &lt;br/&gt;&lt;/code&gt; &lt;br/&gt;
&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img alt=&quot;Creative Commons Licence&quot; src=&quot;http://i.creativecommons.org/l/by-nc-sa/2.5/88x31.png&quot;/&gt; © 2006-2013 Kent Chen(Kaie&#39;s Blog).&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://chenkaie.blogspot.com/feeds/7328428234036684658/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/10481739/7328428234036684658?isPopup=true' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10481739/posts/default/7328428234036684658'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10481739/posts/default/7328428234036684658'/><link rel='alternate' type='text/html' href='http://chenkaie.blogspot.com/2011/12/mv-my-marriage-proposal-mv.html' title='[MV] My Marriage Proposal MV / 我的求婚影片 - 那些年我所追的女孩'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/09229203493337676269</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/CVlxb8SpcqY/default.jpg" height="72" width="72"/><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10481739.post-6532112992094341253</id><published>2011-12-11T00:54:00.000+08:00</published><updated>2011-12-11T18:19:18.553+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="all"/><category scheme="http://www.blogger.com/atom/ns#" term="aperture"/><category scheme="http://www.blogger.com/atom/ns#" term="apple"/><category scheme="http://www.blogger.com/atom/ns#" term="Cappuccino"/><category scheme="http://www.blogger.com/atom/ns#" term="flickr"/><category scheme="http://www.blogger.com/atom/ns#" term="hypo"/><category scheme="http://www.blogger.com/atom/ns#" term="iCloud"/><category scheme="http://www.blogger.com/atom/ns#" term="javascript"/><category scheme="http://www.blogger.com/atom/ns#" term="Mac"/><category scheme="http://www.blogger.com/atom/ns#" term="photo"/><category scheme="http://www.blogger.com/atom/ns#" term="SproutCore"/><category scheme="http://www.blogger.com/atom/ns#" term="Web Service"/><title type='text'>[Web Service] hypo - We print photobooks! / 充滿印刷品味的相簿印製網路服務</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;img border=&quot;0&quot; height=&quot;446&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMbLBGfssEogADLSyrI6cHwhtRKKSpljSGeVXmjlCD17exRuJ2qZACzQOas_AtLc2OG1dggKQmNdkfTevYgWoGfu-RmLDENNszcn0BZVT9oxFNh2OMSr2ApUOpL8Ei1cn7XrHoNQ/s640/%25E8%259E%25A2%25E5%25B9%2595%25E5%25BF%25AB%25E7%2585%25A7+2011-12-11+%25E4%25B8%258A%25E5%258D%258812.49.37.png&quot; width=&quot;640&quot; style=&quot;border: 6px solid transparent;&quot;/&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Helvetica, Arial, Verdana, sans-serif;&quot;&gt;
　　據說&lt;a href=&quot;http://hypo.cc/&quot;&gt;hypo&lt;/a&gt;已經成立許久了，某種程度上，也幫了我許多忙 :)，像是一些特殊節日必備的Surprise，有如神助啊! 陸陸續續也製作了三種不同的產品，最早用&lt;a href=&quot;http://www.apple.com/tw/ilife/iphoto/&quot;&gt;iPhoto&lt;/a&gt;在管理相片時，作了身平第一本&lt;a href=&quot;http://hypo.cc/hypobooky.html&quot;&gt;iPhoto攝影集-中本平裝&lt;/a&gt;，後來又製作過一本&quot;月曆&quot;，這可是有蘋果電腦才有的專屬服務呀，直接透過iPhoto輸出的pdf檔來印製。後來用&lt;a href=&quot;http://www.apple.com/tw/aperture/&quot;&gt;Aperture&lt;/a&gt;在管理照片，想說那就嚐鮮一下，來點不一樣的&quot;&lt;a href=&quot;http://hypo.cc/12sq.html&quot;&gt;12平方&lt;/a&gt;&quot;，每次拿到手中，看到成品感動真是不可言喻呀，一定要親自體驗過才知道這種Fu的。真心推薦這個服務，台灣有這種專業的團隊在經營這塊，並提供這樣好的服務，真是太甘心了。該團隊也有接受過&lt;a href=&quot;http://appleplan.com.tw/startpage/3447&quot;&gt;ApplePlan的專訪&lt;/a&gt;，讓人很熱血呀... 介紹的很棒。&lt;br /&gt;
&lt;br /&gt;
　　該服務除了提供了良好的使用體驗之外，本身對於技術方面也挺感興趣的，所以這邊大概提一下，關於該Web Service的前、後端所使用到的一些技術。其實之前就有些文章有提及，像是關於後端的&lt;a href=&quot;http://www.runpc.com.tw/content/cloud_content.aspx?id=105736&quot;&gt;WebObjects&lt;/a&gt;，以及團隊的成員，像是幕後推手&lt;a href=&quot;http://yllan.tumblr.com/&quot;&gt;yllan大大&lt;/a&gt;之類的。我比較有興趣的是，在使用該服務的初期，前端看來不外乎是Ruby、PHP所打造，陸續用了兩、三年之後，發現&lt;a href=&quot;http://wide.hypo.cc/&quot;&gt;Wide&lt;/a&gt;這個服務已經導入Objective-J來打造，是否覺得這語言很眼熟? 是的，也就是XCode中 的Objective-C兄弟.. 說穿了其實就是&lt;a href=&quot;http://cappuccino.org/&quot;&gt;Cappuccino Framework&lt;/a&gt;，像是一推出就令人感到驚豔的&quot;&lt;a href=&quot;http://280slides.com/Editor/&quot;&gt;280sides (Web版Keynote)&lt;/a&gt;&quot;就是透過Cappuccino Framework打造的，效果之好實在挺難想像是純HTML所打造的。這個Framework打造出來的網站，看起來都會有幾分相似，例如 &lt;a href=&quot;http://githubissues.heroku.com/&quot;&gt;GitHub Issues&lt;/a&gt;&amp;nbsp;，我想透過會Cappuccino來實作，就是主打Web App，所以通常會是Auto Scale的FullScreen大小的layout。Hypo - Wide整個網站的視覺效果、設計感及使用體驗，的確很不錯，頗像在桌機使用App的感覺，加上hypo服務又有整合Flickr，因此對於我的吸引力又更大了。另外又有一套叫作&lt;a href=&quot;http://www.sproutcore.com/&quot;&gt;SproutCore&lt;/a&gt;的Open Source Framework，由&lt;a href=&quot;http://en.wikipedia.org/wiki/SproutCore&quot;&gt;前Apple員工&lt;/a&gt;出來成立公司的產品。這項產品最有名的代表作，肯定就是Apple - &lt;a href=&quot;https://me.com/&quot;&gt;MobileMe&lt;/a&gt;, iWork, &lt;a href=&quot;https://www.icloud.com/&quot;&gt;iCloud&lt;/a&gt; 等網站，還有Network Camera大廠AXIS提供的&quot;&lt;a href=&quot;http://www.axis.com/products/video/design_tool/v2/&quot;&gt;AXIS Design Tool&lt;/a&gt;&quot;也是使用SproutCore打造的，一整個有專業到。SproutCore和Cappuccino這兩套作出來的東西，還挺神似的，網路上也有人寫了些比較&lt;a href=&quot;http://elii.info/2010/11/cappuccino-vs-sproutcore/&quot;&gt;[1]&lt;/a&gt;, &lt;a href=&quot;http://stackoverflow.com/questions/370598/sproutcore-and-cappuccino&quot;&gt;[2]&lt;/a&gt;. 不知是否台灣還有哪些團隊，有用此兩個Framework來打造的，還挺好奇的。但是比較後來才推出的Hypo &lt;a href=&quot;http://date.hypo.cc/&quot;&gt;Date&lt;/a&gt;產品，似乎沒有繼續延用Cappuccino了...XD，不知是怎樣的考量，雖然個人比較偏好Wide那樣的UX。Anyway, 期待hypo團隊，在未能能夠推出愈來愈多更棒更好用的服務。&lt;br /&gt;
&lt;br /&gt;
　　放幾張當初所拍攝下來的成品 (From: &lt;a href=&quot;http://www.flickr.com/photos/kent-chen/tags/hypo/&quot;&gt;My Flickr - Tag: hypo&lt;/a&gt;)&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.flickr.com/photos/kent-chen/3205120837/&quot; title=&quot;復古瘋 by Kent-Chen, on Flickr&quot;&gt;&lt;img alt=&quot;復古瘋&quot; height=&quot;480&quot; src=&quot;http://farm4.staticflickr.com/3463/3205120837_dd19c4c1f2_z.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;
&lt;a href=&quot;http://www.flickr.com/photos/kent-chen/4278816441/&quot; title=&quot;&amp;quot;Life is touching!&amp;quot; again.. by Kent-Chen, on Flickr&quot;&gt;&lt;img alt=&quot;&amp;quot;Life is touching!&amp;quot; again..&quot; height=&quot;480&quot; src=&quot;http://farm5.staticflickr.com/4047/4278816441_249c1404a3_z.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;
&lt;a href=&quot;http://www.flickr.com/photos/kent-chen/4278819497/&quot; title=&quot;hypo 紙盒的底部設計 by Kent-Chen, on Flickr&quot;&gt;&lt;img alt=&quot;hypo 紙盒的底部設計&quot; height=&quot;480&quot; src=&quot;http://farm5.staticflickr.com/4032/4278819497_100b38b5ba_z.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;
&lt;a href=&quot;http://www.flickr.com/photos/kent-chen/5360278518/&quot; title=&quot;包材 of 12 平方 by Kent-Chen, on Flickr&quot;&gt;&lt;img alt=&quot;包材 of 12 平方&quot; height=&quot;428&quot; src=&quot;http://farm6.staticflickr.com/5165/5360278518_5730420d97_z.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;
&lt;/div&gt;
&lt;code class=&quot;ref&quot;&gt;．ApplePlan 名人專訪 – hypo:&lt;br /&gt;http://appleplan.com.tw/startpage/3447 (這篇訪談的介紹得超棒的)&lt;/code&gt;
&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img alt=&quot;Creative Commons Licence&quot; src=&quot;http://i.creativecommons.org/l/by-nc-sa/2.5/88x31.png&quot;/&gt; © 2006-2013 Kent Chen(Kaie&#39;s Blog).&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://chenkaie.blogspot.com/feeds/6532112992094341253/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/10481739/6532112992094341253?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10481739/posts/default/6532112992094341253'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10481739/posts/default/6532112992094341253'/><link rel='alternate' type='text/html' href='http://chenkaie.blogspot.com/2011/12/web-service-hypo-we-print-photobooks.html' title='[Web Service] hypo - We print photobooks! / 充滿印刷品味的相簿印製網路服務'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/09229203493337676269</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMbLBGfssEogADLSyrI6cHwhtRKKSpljSGeVXmjlCD17exRuJ2qZACzQOas_AtLc2OG1dggKQmNdkfTevYgWoGfu-RmLDENNszcn0BZVT9oxFNh2OMSr2ApUOpL8Ei1cn7XrHoNQ/s72-c/%25E8%259E%25A2%25E5%25B9%2595%25E5%25BF%25AB%25E7%2585%25A7+2011-12-11+%25E4%25B8%258A%25E5%258D%258812.49.37.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10481739.post-6336569368087382803</id><published>2011-12-02T23:53:00.001+08:00</published><updated>2013-09-08T16:58:39.580+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="all"/><category scheme="http://www.blogger.com/atom/ns#" term="gdb"/><category scheme="http://www.blogger.com/atom/ns#" term="gnu"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="programming"/><category scheme="http://www.blogger.com/atom/ns#" term="tricks"/><title type='text'>[GDB Tricks] File Descriptor Hijacking / 劫持 FDs 之奇技淫巧</title><content type='html'>&lt;div style=&quot;font-family: &#39;Lucida Grande&#39;;&quot;&gt;
　　對於Linux有點概念的人，大概都知道 &quot;&lt;b&gt;&lt;u&gt;In Unix-like systems, FDs can refer to many things.&lt;/u&gt;&lt;/b&gt;&quot; 這句話的涵意，因此不再多說。所以若能劫持FDs的話，其實可以幹很多壞事，是的，某長輩說過「幹壞事是進步最大的原動力」，但偶爾拿來作些有意義的事也是會讓人有動力的。&lt;br /&gt;
　　試著想想，在Unix中不改變/破壞程式執行狀態的debug方式，常見的一些好用的工具，像是&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #f1c232;&quot;&gt;strace, ltrace, ptrace, gdb, syslog...&lt;/span&gt;&lt;/b&gt;。若此時，當你擁有FDs hijacking的能力的話，那就表示你有機會可以達成FDs swap的效果。言下之意，「&lt;u&gt;若綁架跑在背景Daemon的stdout, stderr的話，意謂著可以在不重啟Daemon為前景的情況下，將它的stdout, stderr重導至某個&quot;/dev/pts/x&quot;的stdout，即可看到該Daemon所吐出之debug訊息&lt;/u&gt;」，套句老賈(Steve Jobs)的名言&quot;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #e06666;&quot;&gt;Isn’t that AWESOME!&lt;/span&gt;&lt;/b&gt;&quot;。至於這樣的奇技淫巧，該如何辦到呢? 當你知道其箇中道理之後，搭配神器&lt;a href=&quot;http://www.gnu.org/s/gdb/&quot;&gt;GNU GDB&lt;/a&gt;，就可以針對該支Daemon做一些run time的修改，以達你的需求。
&lt;br /&gt;
&lt;br /&gt;
&lt;script src=&quot;https://gist.github.com/1424191.js?file=fdhijack.sh&quot;&gt;
&lt;/script&gt;
．簡易的測試方式如下
&lt;code&gt;．On terminal 1:&lt;br /&gt;
kent@imac:~ $ echo -e &#39;#!/bin/sh\n while true; do ((n++)); echo $n; sleep 1; done\n&#39; &amp;gt; echo.sh &lt;br /&gt;
kent@imac:~ $ chmod +x echo.sh &amp;amp;&amp;amp; ./echo.sh &lt;br /&gt;&lt;br /&gt;
．On terminal 2:&lt;br /&gt;
kent@imac:~ $ fdhijack.sh &quot;&lt;i&gt;pid of echo.sh&lt;/i&gt;&quot; `tty` &lt;/code&gt; &lt;br /&gt;
．呈現出來的結果，就像下圖所視，原先在右邊(Terminal 2)所印到stdout的訊息，被左邊(Terminal 1)所hijack走了!因此，Terminal 2的stdout全被redirect至Terminal 1了，Happy hacking!
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijvLP4SY7SbyhRske-ATH5IhiXou3zJJ5GrI_bmbSrH4CtIRVKHvxuJRolaN3-MapR7B7NJuNPdxu6vOiVERlCX-Q0MZbTbaQ3RQD_3RSDqf2mJKimQ6fhJOfd9sf8Umpfua0Z1A/s1600/%25E8%259E%25A2%25E5%25B9%2595%25E5%25BF%25AB%25E7%2585%25A7+2011-12-03+%25E4%25B8%258A%25E5%258D%25882.54.24.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijvLP4SY7SbyhRske-ATH5IhiXou3zJJ5GrI_bmbSrH4CtIRVKHvxuJRolaN3-MapR7B7NJuNPdxu6vOiVERlCX-Q0MZbTbaQ3RQD_3RSDqf2mJKimQ6fhJOfd9sf8Umpfua0Z1A/s640/%25E8%259E%25A2%25E5%25B9%2595%25E5%25BF%25AB%25E7%2585%25A7+2011-12-03+%25E4%25B8%258A%25E5%258D%25882.54.24.png&quot; style=&quot;background: none; border: 0px;&quot; width=&quot;580&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;code class=&quot;ref&quot;&gt;.:: Phrack Magazine ::. Title : File Descriptor Hijacking&lt;br /&gt;
&lt;a href=&quot;http://www.phrack.org/issues.html?issue=51&amp;amp;id=5#article&quot;&gt;http://www.phrack.org/issues.html?issue=51&amp;amp;id=5#article&lt;/a&gt;&lt;br /&gt;
．Passing File Descriptors:
&lt;a href=&quot;http://book.chinaunix.net/special/ebook/addisonWesley/APUE2/0201433079/ch17lev1sec4.html&quot;&gt;http://book.chinaunix.net/special/ebook/addisonWesley/APUE2/0201433079/ch17lev1sec4.html&lt;/a&gt;  &lt;/code&gt; &lt;/div&gt;
&lt;style&gt;
.gist .gist-file .gist-data { font-size: 12px; line-height: 16px; } 
.gist-syntax { text-shadow: 1px 1px 1px #000000; opacity: 0.75; -moz-opacity:0.75; filter:alpha(Opacity=75); }
.gist { text-shadow: 0px 0px 0px #000000;}
.line { text-shadow: 0px 0px 0px #000000;}
&lt;/style&gt;
&lt;!--
&lt;script&gt;
  jQuery(&#39;.gist&#39;).each( function() {
    jQuery(this).find(&#39;.line&#39;).each(function(i, e) {
      jQuery(this).prepend(
        jQuery(&#39;&lt;div/&gt;&#39;).css({
          &#39;float&#39; : &#39;left&#39;,
          &#39;width&#39;: &#39;25px&#39;,
          &#39;font-weight&#39; : &#39;normal&#39;,
          &#39;color&#39;: &#39;#999&#39;
        }).text(++i)
      );
    });
  });
&lt;/script&gt;
--&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img alt=&quot;Creative Commons Licence&quot; src=&quot;http://i.creativecommons.org/l/by-nc-sa/2.5/88x31.png&quot;/&gt; © 2006-2013 Kent Chen(Kaie&#39;s Blog).&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://chenkaie.blogspot.com/feeds/6336569368087382803/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/10481739/6336569368087382803?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10481739/posts/default/6336569368087382803'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10481739/posts/default/6336569368087382803'/><link rel='alternate' type='text/html' href='http://chenkaie.blogspot.com/2011/12/gdb-tricks-file-descriptor-hijacking.html' title='[GDB Tricks] File Descriptor Hijacking / 劫持 FDs 之奇技淫巧'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/09229203493337676269</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijvLP4SY7SbyhRske-ATH5IhiXou3zJJ5GrI_bmbSrH4CtIRVKHvxuJRolaN3-MapR7B7NJuNPdxu6vOiVERlCX-Q0MZbTbaQ3RQD_3RSDqf2mJKimQ6fhJOfd9sf8Umpfua0Z1A/s72-c/%25E8%259E%25A2%25E5%25B9%2595%25E5%25BF%25AB%25E7%2585%25A7+2011-12-03+%25E4%25B8%258A%25E5%258D%25882.54.24.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10481739.post-993851913755223156</id><published>2011-12-02T01:30:00.001+08:00</published><updated>2011-12-06T01:18:25.150+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="all"/><category scheme="http://www.blogger.com/atom/ns#" term="kernel"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="programming"/><category scheme="http://www.blogger.com/atom/ns#" term="snapshot"/><title type='text'>[Linux] Awesome contributor comment in Linux Kernel / 偉大Linux核心貢獻者註解風格</title><content type='html'>&lt;div style=&quot;font-family: &#39;Lucida Grande&#39;;&quot;&gt;　　在Linux Kernel source code中，除了經典的&lt;a href=&quot;http://lxr.linux.no/linux-bk+v2.6.11/arch/parisc/kernel/traps.c#L196&quot;&gt;Cowsay in Linux Kernel&lt;/a&gt;之外，之前在Trace Kernel的code有，有發現一些有趣的字眼，果然Programmer都是同道中人呀，難免會有些情緒字眼不斷出現在code裡頭。看來我習慣用的WTF Debugging，也是許多contributor會有的風格呀... :)。因此，在好奇心驅使之下，在Linux Kernel 2.6.18這一版中，多grep了一些有趣的字，不意外的發現，果然如出一轍呀，必必皆是，真是太happy了... 有興趣的人，請仔細的往code裡追，仔細品嘗一下，肯定會讓你會心一笑，心有心有戚戚焉呀。看來會成為偉大的Kernel Contributor，這關是必經之路啊。&lt;br/&gt;&lt;br/&gt;
．&lt;b&gt;Linux Kernel Keyword: WTF&lt;/b&gt;
&lt;div style=&quot;text-align: center;  width: auto; overflow: auto; border: 6px solid transparent; &quot;&gt;&lt;a target=&quot;_blank&quot; href=&quot;http://www.flickr.com/photos/kent-chen/6054941855/&quot;&gt;&lt;img src=&quot;http://farm7.staticflickr.com/6070/6054941855_161d14d321_o.png&quot;/&gt;&lt;/a&gt;&lt;/div&gt;
．&lt;b&gt;Linux Kernel Keyword: Brain-Damage&lt;/b&gt;
&lt;div style=&quot;text-align: center;  width: auto; overflow: auto; border: 6px solid transparent; &quot;&gt;&lt;a target=&quot;_blank&quot; href=&quot;http://www.flickr.com/photos/kent-chen/6055511930/&quot;&gt;&lt;img src=&quot;http://farm7.staticflickr.com/6192/6055511930_c4421088c2_o.png&quot;/&gt;&lt;/a&gt;&lt;/div&gt;
．&lt;b&gt;Linux Kernel Keyword: Fuck&lt;/b&gt;
&lt;div style=&quot;text-align: center;  width: auto; overflow: auto; border: 6px solid transparent; &quot;&gt;&lt;a target=&quot;_blank&quot; href=&quot;http://www.flickr.com/photos/kent-chen/6054941779/&quot;&gt;&lt;img src=&quot;http://farm7.staticflickr.com/6079/6054941779_8166e5671a_o.png&quot;/&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img alt=&quot;Creative Commons Licence&quot; src=&quot;http://i.creativecommons.org/l/by-nc-sa/2.5/88x31.png&quot;/&gt; © 2006-2013 Kent Chen(Kaie&#39;s Blog).&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://chenkaie.blogspot.com/feeds/993851913755223156/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/10481739/993851913755223156?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10481739/posts/default/993851913755223156'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10481739/posts/default/993851913755223156'/><link rel='alternate' type='text/html' href='http://chenkaie.blogspot.com/2011/12/linux-awesome-contributor-comment-in.html' title='[Linux] Awesome contributor comment in Linux Kernel / 偉大Linux核心貢獻者註解風格'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/09229203493337676269</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10481739.post-5352276097192644007</id><published>2011-11-29T01:09:00.001+08:00</published><updated>2011-12-06T01:23:44.457+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="all"/><category scheme="http://www.blogger.com/atom/ns#" term="C"/><category scheme="http://www.blogger.com/atom/ns#" term="C++"/><category scheme="http://www.blogger.com/atom/ns#" term="programming"/><title type='text'>[Programming] Deep C (and C++) / 深入了解C語言</title><content type='html'>&lt;div style=&quot;font-family: &#39;Lucida Grande&#39;;&quot;&gt;　　好文一篇，值得仔細品嘗 - &lt;a href=&quot;http://olvemaudal.wordpress.com/2011/10/10/deep-c/&quot;&gt;Deep C (and C++) &lt;/a&gt;。想要更深入的了解C Language嗎，那就得先從&lt;a href=&quot;http://zh.wikipedia.org/wiki/C%E5%AD%97%E8%A4%B2&quot;&gt;C-String&lt;/a&gt;下手。或者你跟&lt;a href=&quot;http://blog.linux.org.tw/~jserv/&quot;&gt;Jserv宅色夫大大&lt;/a&gt;一樣發從內心的支持慣C嗎?! 若是，那你肯定拜讀過此篇文章&quot;&lt;a href=&quot;http://blog.linux.org.tw/~jserv/archives/001965.html&quot;&gt;我強烈支持慣C&lt;/a&gt;&quot;。
&lt;div style=&quot;width:595px;margin: 0 auto;&quot; id=&quot;__ss_9626718&quot;&gt; &lt;strong style=&quot;display:block;margin:12px 0 4px&quot;&gt;&lt;a href=&quot;http://www.slideshare.net/olvemaudal/deep-c&quot; title=&quot;Deep C&quot; target=&quot;_blank&quot;&gt;Deep C&lt;/a&gt;&lt;/strong&gt; &lt;iframe src=&quot;http://www.slideshare.net/slideshow/embed_code/9626718&quot; width=&quot;595&quot; height=&quot;497&quot; frameborder=&quot;0&quot; marginwidth=&quot;0&quot; marginheight=&quot;0&quot; scrolling=&quot;no&quot;&gt;&lt;/iframe&gt; &lt;div style=&quot;padding:5px 0 12px&quot;&gt; View more &lt;a href=&quot;http://www.slideshare.net/&quot; target=&quot;_blank&quot;&gt;presentations&lt;/a&gt; from &lt;a href=&quot;http://www.slideshare.net/olvemaudal&quot; target=&quot;_blank&quot;&gt;Olve Maudal&lt;/a&gt; &lt;/div&gt; &lt;/div&gt;
&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img alt=&quot;Creative Commons Licence&quot; src=&quot;http://i.creativecommons.org/l/by-nc-sa/2.5/88x31.png&quot;/&gt; © 2006-2013 Kent Chen(Kaie&#39;s Blog).&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://chenkaie.blogspot.com/feeds/5352276097192644007/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/10481739/5352276097192644007?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10481739/posts/default/5352276097192644007'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10481739/posts/default/5352276097192644007'/><link rel='alternate' type='text/html' href='http://chenkaie.blogspot.com/2011/11/programming-deep-c-and-c-c.html' title='[Programming] Deep C (and C++) / 深入了解C語言'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/09229203493337676269</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total><georss:featurename>Taipei City, Taiwan</georss:featurename><georss:point>25.091075 121.5598345</georss:point><georss:box>24.976033 121.401906 25.206117 121.71776299999999</georss:box></entry><entry><id>tag:blogger.com,1999:blog-10481739.post-7251081326605339235</id><published>2011-11-26T17:49:00.001+08:00</published><updated>2011-12-08T01:01:56.312+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="all"/><category scheme="http://www.blogger.com/atom/ns#" term="kernel"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="programming"/><title type='text'>[Linux] stdio buffering / 標準輸入、標準輸出 運作模式</title><content type='html'>&lt;div style=&quot;font-family: &#39;Lucida Grande&#39;;&quot;&gt;　　Linux中的stdio有著一定的行為準則，但常摸不頭緒。在Google大神中找到了一篇文章，解釋得很棒，值得參考參考。一個普遍遇到的問題就是在寫C code時，printf()有時會馬上輸出到stdout，但遇到了換行字元 &quot;\n&quot; 又會馬上寫出，自行呼叫 fflush(stdout) 又可以強迫將buffered的資料全寫出。
&lt;br /&gt;
&lt;br /&gt;
其實結論大概可以總結如下:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 16px;&quot;&gt;Default Buffering modes:&lt;/span&gt;&lt;/b&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;stdin is always buffered&lt;/li&gt;
&lt;li&gt;stderr is always unbuffered&amp;nbsp;&lt;/li&gt;
&lt;li&gt;if &lt;u&gt;stdout is a terminal&lt;/u&gt; then buffering is automatically set to &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;&lt;b&gt;line buffered&lt;/b&gt;&lt;/span&gt;, else it is set to buffered&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 16px;&quot;&gt;Default Buffer sizes:&lt;/span&gt;&lt;/b&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Buffer size only directly affects buffered mode&amp;nbsp;&lt;/li&gt;
&lt;li&gt;The default size like the kernel is based on the &lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: orange;&quot;&gt;page size &lt;/span&gt;&lt;/b&gt;(&lt;u&gt;4096 bytes&lt;/u&gt; on my system)&amp;nbsp;&lt;/li&gt;
&lt;li&gt;if stdin/stdout are connected to a terminal then default size = 1024; else size = 4096&lt;/li&gt;
&lt;/ul&gt;
&lt;code class=&quot;ref&quot;&gt;．buffering in standard streams: &lt;br/&gt;
&lt;a href=&quot;http://www.pixelbeat.org/programming/stdio_buffering/&quot;&gt;http://www.pixelbeat.org/programming/stdio_buffering/&lt;/a&gt;&lt;/code&gt;
&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img alt=&quot;Creative Commons Licence&quot; src=&quot;http://i.creativecommons.org/l/by-nc-sa/2.5/88x31.png&quot;/&gt; © 2006-2013 Kent Chen(Kaie&#39;s Blog).&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://chenkaie.blogspot.com/feeds/7251081326605339235/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/10481739/7251081326605339235?isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10481739/posts/default/7251081326605339235'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10481739/posts/default/7251081326605339235'/><link rel='alternate' type='text/html' href='http://chenkaie.blogspot.com/2011/11/linux-stdio-buffering.html' title='[Linux] stdio buffering / 標準輸入、標準輸出 運作模式'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/09229203493337676269</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10481739.post-7362744346941612853</id><published>2011-03-30T00:35:00.001+08:00</published><updated>2011-12-07T17:43:16.809+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="all"/><category scheme="http://www.blogger.com/atom/ns#" term="apple"/><category scheme="http://www.blogger.com/atom/ns#" term="mac os x"/><title type='text'>[Apple / Mac OS X] How To Ignore a Software Update / 如何略過軟體更新項目</title><content type='html'>&lt;span style=&quot;font-family: &#39;Lucida Grande&#39;;&quot;&gt;　　Mac OS X的軟體更新跟Windows update一樣很貼心?!... 一整包都送給你，但你跟我一樣，有同樣的困擾，有時候某些項目、功能你根本用不到，不想浪費空間去升級那些，看底下的圖，我想你就知道該怎麼做了。發個文做個記錄...&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Lucida Grande&#39;;&quot;&gt;STEP 1:&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;http://farm6.static.flickr.com/5140/5571666546_78aeba1be7_o.png&quot; style=&quot;border: 6px solid transparent;&quot; /&gt;&lt;/div&gt;&lt;span style=&quot;font-family: &#39;Lucida Grande&#39;;&quot;&gt;STEP 2:&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;http://farm6.static.flickr.com/5148/5571666776_dab83e5ba6_o.png&quot; style=&quot;border: 6px solid transparent;&quot; /&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img alt=&quot;Creative Commons Licence&quot; src=&quot;http://i.creativecommons.org/l/by-nc-sa/2.5/88x31.png&quot;/&gt; © 2006-2013 Kent Chen(Kaie&#39;s Blog).&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://chenkaie.blogspot.com/feeds/7362744346941612853/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/10481739/7362744346941612853?isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10481739/posts/default/7362744346941612853'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10481739/posts/default/7362744346941612853'/><link rel='alternate' type='text/html' href='http://chenkaie.blogspot.com/2011/03/apple-mac-os-x-how-to-ignore-software.html' title='[Apple / Mac OS X] How To Ignore a Software Update / 如何略過軟體更新項目'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/09229203493337676269</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total><georss:featurename>Taipei City, Taiwan</georss:featurename><georss:point>25.091075 121.55983449999997</georss:point><georss:box>24.9661775 121.45539349999997 25.2159725 121.66427549999996</georss:box></entry><entry><id>tag:blogger.com,1999:blog-10481739.post-7810561989983919493</id><published>2010-12-19T01:33:00.001+08:00</published><updated>2010-12-19T01:37:59.355+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="all"/><category scheme="http://www.blogger.com/atom/ns#" term="htc"/><category scheme="http://www.blogger.com/atom/ns#" term="iPhone"/><category scheme="http://www.blogger.com/atom/ns#" term="mobile"/><title type='text'>[Smart Phone/好機敗] Apple iPhone 4 &amp; HTC Aria</title><content type='html'>&lt;span style=&quot;font-family: &#39;Lucida Grande&#39;;&quot;&gt;(&lt;b&gt;&lt;u&gt;前言&lt;/u&gt;&lt;/b&gt; : 今日突然去Blogger.com時，發現怎麼有之前寫到一半的Draft文章呀，今日有空只好將它補上，補發文章!)&lt;br /&gt;
　　人生第一支愛瘋 (Apple iPhone4) 入袋啦，不免俗的也來個開箱文吧，(謎：與其說是開箱文，不如說是炫耀文...XD)。看來也沒什麼好介紹的，反正網路上一堆科技宅男/達人早從國外帶回來了，&lt;br /&gt;
有什麼優缺點、新功能，自己去 Google 吧! 這次下重金，一....大群小朋友離家遠走，我家老大一人各帶一支，我帶Apple iPhone 4，她買HTC Aria，剛好是兩個我比較喜愛的 SmartPhone OS.&lt;br /&gt;
先貼幾張照片來聞香一下唄:&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;http://farm5.static.flickr.com/4088/5001315193_2f8bd2d047.jpg&quot; style=&quot;border: 6px solid transparent;&quot; /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;http://farm5.static.flickr.com/4090/5001316803_c1df800ced.jpg&quot; style=&quot;border: 6px solid transparent;&quot; /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;http://farm5.static.flickr.com/4152/5001306033_ffdf91b30b.jpg&quot; style=&quot;border: 6px solid transparent;&quot; /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;http://farm5.static.flickr.com/4091/5001894864_31ba9a6e3b.jpg&quot; style=&quot;border: 6px solid transparent;&quot; /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;http://farm5.static.flickr.com/4128/5001310665_ff91608b43.jpg&quot; style=&quot;border: 6px solid transparent;&quot; /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;http://farm5.static.flickr.com/4088/5001889802_54f1de0c01.jpg&quot; style=&quot;border: 6px solid transparent;&quot; /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;http://farm5.static.flickr.com/4087/5001303747_4566a0eabd.jpg&quot; style=&quot;border: 6px solid transparent;&quot; /&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Lucida Grande&#39;;&quot;&gt;．完整開箱文連結: http://www.flickr.com/photos/kent-chen/sets/72157624857941543/&lt;/span&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img alt=&quot;Creative Commons Licence&quot; src=&quot;http://i.creativecommons.org/l/by-nc-sa/2.5/88x31.png&quot;/&gt; © 2006-2013 Kent Chen(Kaie&#39;s Blog).&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://chenkaie.blogspot.com/feeds/7810561989983919493/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/10481739/7810561989983919493?isPopup=true' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10481739/posts/default/7810561989983919493'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10481739/posts/default/7810561989983919493'/><link rel='alternate' type='text/html' href='http://chenkaie.blogspot.com/2010/12/smart-phone-apple-iphone-4-htc-aria.html' title='[Smart Phone/好機敗] Apple iPhone 4 &amp; HTC Aria'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/09229203493337676269</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://farm5.static.flickr.com/4088/5001315193_2f8bd2d047_t.jpg" height="72" width="72"/><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10481739.post-8918837177173113472</id><published>2010-08-27T23:10:00.000+08:00</published><updated>2010-08-27T23:10:19.536+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="AJAX"/><category scheme="http://www.blogger.com/atom/ns#" term="all"/><category scheme="http://www.blogger.com/atom/ns#" term="finance"/><category scheme="http://www.blogger.com/atom/ns#" term="stock"/><category scheme="http://www.blogger.com/atom/ns#" term="tool"/><title type='text'>[Finance] 財報狗 - 選股工具</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHAR0fq5e3aloFnDgnM6XHJdLgSWrq3xvSAsWdvyv-KI07Ap3tbFphHftUVl41yjYSPtn2bgf2AaSr6r0o6fjnAJ-y6QOObR1J3azpNGnKedCy3ZJgcVPlMYETFXVIl2Tw3olSnw/s1600/2010-08-27_2214.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; margin-bottom: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHAR0fq5e3aloFnDgnM6XHJdLgSWrq3xvSAsWdvyv-KI07Ap3tbFphHftUVl41yjYSPtn2bgf2AaSr6r0o6fjnAJ-y6QOObR1J3azpNGnKedCy3ZJgcVPlMYETFXVIl2Tw3olSnw/s1600/2010-08-27_2214.png&quot; width=&quot;500&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-family: &#39;Lucida Grande&#39;;&quot;&gt;　　引用一下 財報狗 -&amp;nbsp;&lt;a href=&quot;http://statementdog.com/&quot;&gt;http://statementdog.com/&lt;/a&gt;&amp;nbsp;&amp;nbsp;裡頭的一段話：&lt;/span&gt;&lt;br /&gt;
&lt;hr /&gt;&lt;span style=&quot;font-family: &#39;Lucida Grande&#39;;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cfe2f3;&quot;&gt; hi，我們是站狗，一群薪水4萬多的工程師(狗)。和您一樣是個上班族和股票族。為了追求：1. 不看盤才能保有一天工作好心情2. 穩定而長期的存款增值最實在。而認真學習財報基本面，兩年來個股扎實分析了共116隻，終於對複雜的財報解讀有些心得，但有一項問題卻始終感到痛苦：&quot;分析密密麻麻的數字實在好累啊，能不能更快速的看出財報的好壞？&quot;&lt;br /&gt;
...&lt;br /&gt;
...&lt;br /&gt;
基於對市面上財報工具的不滿意，站狗們決定自己架個站。這個站必須具備3項特點：&lt;br /&gt;
1. 所有的數據全部都要圖表化，&lt;br /&gt;
2. 所有報表和比率要有10年歷史數據&lt;br /&gt;
3. 不能因為圖多讓網站讀取速度很慢&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;hr /&gt;&lt;span style=&quot;font-family: &#39;Lucida Grande&#39;;&quot;&gt;　　沒錯，這就是他們的訴求，也是很多工程狗引領期盼的好工具，是我好朋友他們一群工程狗同好所架設的一個站，請多多支持呀...。圖像化，而非傳統的制式表格，是他們的一大特色，我在試用過後，第一印象還不錯，反應速度快、版面清爽無廣告、大量運用AJAX減少很多不必要的HTTP Request，挺User Friendly的，比起一些線上既有的選股網站，一進去就密密麻麻，硬塞一堆資訊給使用者，對於初學者來說，看財報一堆數據本來就很可怕了，這無形之中又迫使使用者加速按下&quot;上一頁&quot;....囧rz&lt;/span&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img alt=&quot;Creative Commons Licence&quot; src=&quot;http://i.creativecommons.org/l/by-nc-sa/2.5/88x31.png&quot;/&gt; © 2006-2013 Kent Chen(Kaie&#39;s Blog).&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://chenkaie.blogspot.com/feeds/8918837177173113472/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/10481739/8918837177173113472?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10481739/posts/default/8918837177173113472'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10481739/posts/default/8918837177173113472'/><link rel='alternate' type='text/html' href='http://chenkaie.blogspot.com/2010/08/finance.html' title='[Finance] 財報狗 - 選股工具'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/09229203493337676269</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHAR0fq5e3aloFnDgnM6XHJdLgSWrq3xvSAsWdvyv-KI07Ap3tbFphHftUVl41yjYSPtn2bgf2AaSr6r0o6fjnAJ-y6QOObR1J3azpNGnKedCy3ZJgcVPlMYETFXVIl2Tw3olSnw/s72-c/2010-08-27_2214.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10481739.post-7564077532960417784</id><published>2010-07-20T01:32:00.008+08:00</published><updated>2011-12-09T01:39:33.969+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="all"/><category scheme="http://www.blogger.com/atom/ns#" term="apple"/><category scheme="http://www.blogger.com/atom/ns#" term="mac os x"/><category scheme="http://www.blogger.com/atom/ns#" term="Snow Leopard"/><category scheme="http://www.blogger.com/atom/ns#" term="tips"/><title type='text'>[Apple / Mac OS X] Administrator privileges gone / root權限不見啦</title><content type='html'>&lt;span style=&quot;font-family: &#39;Lucida Grande&#39;;&quot;&gt;　　身為菜鳥Apple User的我，在入手iMac 20&quot;之後，就開始 Mac OS X 大玩特玩一番，毫無忌憚地裝了一堆有的沒的軟體，從Leopard (Mac OS X 10.5.x) 一路無痛升至 Snow Leopard (Mac OS X 10.6.5, 64-bit，如下圖)，很多軟體也因為相容性的問題，迫使我得再抓別套功能性相同的的取代軟體，或是升級解決。並且也參考了網路上一些Optimization、Performance Tuning的教學或是利用了一些軟體，如&lt;a href=&quot;http://www.macupdate.com/info.php/id/11582/onyx&quot;&gt;OnyX&lt;/a&gt;，將整個作業系統，改東改西徹底惡搞一番了。&lt;br /&gt;
&lt;/span&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYfbpiIo8sF3En8GumIcVJotVYE7x8QPQxrCSoTC5EFnZfbIAuBJSUqXSAPNqhZzdLsxp0vhOT-amaakroAQ4DhQdLj7Mjfmp20k2o1rDYHf1KA0ixOqQcJoCtMI9B-fF_jqqtog/s1600/Verify64bit.gif&quot; style=&quot;border: 6px solid transparent;&quot; /&gt;&lt;/div&gt;&lt;span style=&quot;font-family: &#39;Lucida Grande&#39;;&quot;&gt;因此，在作好Time Machine備份之後，我開始走上重灌Mac OS X一途 (&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #ffcc33;&quot;&gt;記得重灌之後，要Create的account必需跟原本的不一樣，不然Time Machine還原時，可能會有問題，還原完畢之後，再砍掉新建的那個account就好&lt;/span&gt;)，將原本內建的磁碟整個清空，直接上Snow Leopard，由於之前&quot;備份..XD&quot;下來的謎光碟不知跑哪去，所以直接拋棄從DVD光碟安裝的方式，改採用另外一個更快的方式來安裝，也就是透過將外接式硬碟，作成可開機的(Bootable)的磁碟來安裝OS (參考來源: &lt;a href=&quot;http://www.youtube.com/watch?v=r51uVyZANYw&quot;&gt;Snow Leopard on SD or USB Flash&lt;/a&gt;&quot;)。原先我要透過SD卡來做開機磁碟，無奈Bootable SD Card作好了，但透過開機時按&quot;Option&quot;鍵來選擇開機來源時，卻怎樣都沒出現那個選項，推測可能是我的&lt;a href=&quot;http://byja.com/products_detail.asp?products_id=12523&quot;&gt;moshi Cardette讀卡機&lt;/a&gt;不支援，由於手頭也沒有其它的類似裝置可以測，所以就放棄這條路了，改透過我的另一顆2.5吋USB硬碟外接盒 (120GB, 切16GB) 去作。果然從硬碟裝，速度很快^^..&lt;br /&gt;
安裝完Snow Leopard之後，第一步就有個貼心的選項&quot;從TimeMachine還原備份(忘了原來叫啥)&quot;，可以參考一下MacUknow的這篇文章: &lt;a href=&quot;http://www.macuknow.com/node/1696&quot;&gt;在升級10.6 Snow Leopard之前，整理、備份&lt;/a&gt;，讓你輕鬆地還原你之前的工作環境，這邊的時間會久一些。&lt;br /&gt;
但很不幸的，我透過Time Machine還原之後，繼續玩了一下下，又遇到了一個鳥問題，也就是我還原後的那個帳號，失去了&quot;管理者/Administrator&quot;的權限，就變成了半殘了，我也搞不懂為何會突然在某次重開之後就變成這般德性了XD，所幸這問題也有人碰到 : &lt;a href=&quot;http://forums.macrumors.com/showthread.php?t=375901&quot;&gt;Administrator privileges gone&lt;/a&gt;，解法大概如下:&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Lucida Grande&#39;;&quot;&gt;&lt;ol&gt;&lt;li&gt;Boot in single user mode: 開機前按住 &lt;span class=&quot;cmdblk&quot;&gt;Command + S (⌘+S)&lt;/span&gt; 就可以進入Single Mode，果然UNIX-based作業系統，都有這無敵招術。&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;cmdblk&quot;&gt;/sbin/mount -uw /&lt;/span&gt;: 將rootfs mount成可讀寫模式&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;cmdblk&quot;&gt;rm /var/db/.AppleSetupDone&lt;/span&gt; : 將這個檔案刪掉，就可以騙OS說，你還沒作過第一次的設定&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;cmdblk&quot;&gt;reboot&lt;/span&gt; : 接著重開之後，你就會再看見Mac OS X的歡迎畫面囉&lt;/li&gt;
&lt;li&gt;到了要還原備份資料的那一步驟，選擇&quot;DO NOT TRANSFER MY DATA&quot;，因為你本來就作過了，所以skip過這項&lt;/li&gt;
&lt;li&gt;建立一個新帳號(擁有Administrator權限)，記得別跟原本的一樣，不然會被蓋掉，接著就可以重開了&lt;/li&gt;
&lt;li&gt;利用新帳號，讓原本的帳號回復管理者權限，如下圖(進階選項)，再更改預設的登入帳號，並砍掉之前建立的新帳號 (留著也無妨)&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #33cc00;&quot;&gt;&lt;b&gt;NOTE&lt;/b&gt;&lt;/span&gt; : 另外討論串的下方，也有提到更快更簡單的方法，就是進入Single Mode之後，打&lt;span class=&quot;cmdblk&quot;&gt;passwd&lt;/span&gt; 指令來重新設定root的密碼，之後有要作認證的地方，就拿root當使用者作認證&lt;/li&gt;
&lt;/ol&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEga4w7ADTNjfkLc8-vrFOZieefZa9gTZf8Pg3owKR3Y1O7n3mGRZ5RfmUWVz2QA_Ez__gc5AiVTLsG633A61djfUmNvTCzU9GL2W0ji8escxsZOAzeYhVMsgMH6wwyB0qeXNAYx0Q/s1600/security.png&quot; style=&quot;border: 6px solid transparent;&quot; /&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #f1c232; font-family: &#39;Lucida Grande&#39;;&quot;&gt;[2010/08/02 Updated] 在利用上述步驟救回來之後，我有遇到Guest的使用者ID，與我的帳號衝到的情況，導致有時會突然變更身份，所以記得將ID錯開!&lt;/span&gt;&lt;/div&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirPpD-rFsL6sOY1-VV4GQje2c_lB0Ns8oUDyRwewGd1R2S0t-pJKs-5UowMJxacPaoCJ4Q_er4z9kqNlbKW9zvKu5FnK1MQRFiOy7ItjtwDmhb2llWyLEoQB8OHXl7RnWa4oAwyQ/s640/2010-08-03_0104.png&quot; style=&quot;border: 6px solid transparent;&quot; /&gt;&lt;/div&gt;&lt;/span&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img alt=&quot;Creative Commons Licence&quot; src=&quot;http://i.creativecommons.org/l/by-nc-sa/2.5/88x31.png&quot;/&gt; © 2006-2013 Kent Chen(Kaie&#39;s Blog).&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://chenkaie.blogspot.com/feeds/7564077532960417784/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/10481739/7564077532960417784?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10481739/posts/default/7564077532960417784'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10481739/posts/default/7564077532960417784'/><link rel='alternate' type='text/html' href='http://chenkaie.blogspot.com/2010/07/apple-mac-os-x-administrator-privileges.html' title='[Apple / Mac OS X] Administrator privileges gone / root權限不見啦'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/09229203493337676269</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYfbpiIo8sF3En8GumIcVJotVYE7x8QPQxrCSoTC5EFnZfbIAuBJSUqXSAPNqhZzdLsxp0vhOT-amaakroAQ4DhQdLj7Mjfmp20k2o1rDYHf1KA0ixOqQcJoCtMI9B-fF_jqqtog/s72-c/Verify64bit.gif" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10481739.post-6247002316533661930</id><published>2010-07-11T23:42:00.002+08:00</published><updated>2010-07-11T23:44:05.534+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="all"/><category scheme="http://www.blogger.com/atom/ns#" term="film"/><category scheme="http://www.blogger.com/atom/ns#" term="flickr"/><category scheme="http://www.blogger.com/atom/ns#" term="GF1"/><title type='text'>[Film] Au Revoir ShungHe by GF1</title><content type='html'>&lt;div style=&quot;text-align: center; padding: 3px;&quot;&gt;&lt;object type=&quot;application/x-shockwave-flash&quot; width=&quot;500&quot; height=&quot;281&quot; data=&quot;http://www.flickr.com/apps/video/stewart.swf?v=71377&quot; classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot;&gt; &lt;param name=&quot;flashvars&quot; value=&quot;intl_lang=en-us&amp;photo_secret=659d37dc59&amp;photo_id=4783367476&amp;flickr_show_info_box=true&quot;&gt;&lt;/param&gt; &lt;param name=&quot;movie&quot; value=&quot;http://www.flickr.com/apps/video/stewart.swf?v=71377&quot;&gt;&lt;/param&gt; &lt;param name=&quot;bgcolor&quot; value=&quot;#000000&quot;&gt;&lt;/param&gt; &lt;param name=&quot;allowFullScreen&quot; value=&quot;true&quot;&gt;&lt;/param&gt;&lt;embed type=&quot;application/x-shockwave-flash&quot; src=&quot;http://www.flickr.com/apps/video/stewart.swf?v=71377&quot; bgcolor=&quot;#000000&quot; allowfullscreen=&quot;true&quot; flashvars=&quot;intl_lang=en-us&amp;photo_secret=659d37dc59&amp;photo_id=4783367476&amp;flickr_show_info_box=true&quot; height=&quot;281&quot; width=&quot;500&quot;&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &#39;lucida grande&#39;; font-size: 0.8em; margin-top: 0px;&quot;&gt;&lt;a href=&quot;http://www.flickr.com/photos/kent-chen/4783367476/&quot;&gt;Film - Au Revoir ShungHe&lt;/a&gt;, originally uploaded by &lt;a href=&quot;http://www.flickr.com/people/kent-chen/&quot;&gt;Kent-Chen&lt;/a&gt;.&lt;/span&gt;&lt;/div&gt;&lt;p class=&quot;flickr-yourcomment&quot; style=&quot;font-family: &#39;lucida grande&#39;;&quot;&gt;Au Revoir ShungHe - by GF1&lt;/p&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img alt=&quot;Creative Commons Licence&quot; src=&quot;http://i.creativecommons.org/l/by-nc-sa/2.5/88x31.png&quot;/&gt; © 2006-2013 Kent Chen(Kaie&#39;s Blog).&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://chenkaie.blogspot.com/feeds/6247002316533661930/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/10481739/6247002316533661930?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10481739/posts/default/6247002316533661930'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10481739/posts/default/6247002316533661930'/><link rel='alternate' type='text/html' href='http://chenkaie.blogspot.com/2010/07/film-au-revoir-shunghe-by-gf1.html' title='[Film] Au Revoir ShungHe by GF1'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/09229203493337676269</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10481739.post-6148614730464031848</id><published>2010-07-10T17:49:00.000+08:00</published><updated>2011-12-12T01:09:56.260+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="all"/><category scheme="http://www.blogger.com/atom/ns#" term="apple"/><category scheme="http://www.blogger.com/atom/ns#" term="mac os x"/><category scheme="http://www.blogger.com/atom/ns#" term="Snow Leopard"/><category scheme="http://www.blogger.com/atom/ns#" term="tips"/><title type='text'>[Apple / Mac OS X] Time Machine Tips (and Bugs?) / 蘋果時光機</title><content type='html'>&lt;div style=&quot;text-align: center;&quot;&gt;&lt;img style=&quot;border: 6px solid transparent;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLPueJyIYEUEp2FJlNlk6S_DlMePtuWXiV0l8gCgZaPL-ZvvOAa5QboNHiJK9N2h-TexR-pwekw56einnY81dHP1kFvCB0hPrYkGXTGIjKfIaRi3wrXFxXNefxoV9UKt0Pm4SCVw/s1600/2010-07-14_0319.png&quot; /&gt;&lt;/div&gt;&lt;span style=&quot;font-family:Lucida Grande;&quot;&gt;　　繼上一篇，敗下&lt;a href=&quot;http://chenkaie.blogspot.com/2010/07/peripheral-lacie-quadra-neil-poulton.html&quot;&gt;LaCie 3.5吋1TB硬碟外接盒&lt;/a&gt;之後，當然就是開始導入&lt;a href=&quot;http://www.apple.com/tw/macosx/what-is-macosx/time-machine.html&quot;&gt;Time Machine&lt;/a&gt;啦。可能是我比較帶賽，在導入Time Machine的路途上，並非很順利，第一次備份跑了超久的(一天半以上)，速度也很慢，跑不完 (前後又試了三、四次，似乎都未能順利一次跑完)，後來求助於&lt;a href=&quot;http://www.google.com.tw/search?sourceid=chrome&amp;amp;ie=UTF-8&amp;amp;q=time+machine+slow&quot;&gt;Google&lt;/a&gt;(以Time Machine slow這三個keyword來找)及各大討論區，發現原來不是只有有比較賽，看來Apple該檢討了，使用Mac第一次讓我感覺得不順的地方。問題很多，總結如下:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-family:Lucida Grande;&quot;&gt;當發生 Time Machine 備份速度降低，而CPU使用率非常高的狀況時，可能為Finder大量存取硬碟資料所造成。使用者可以試著&lt;span style=&quot;font-weight: bold;&quot;&gt;&quot;強制關閉 Finder&quot;&lt;/span&gt; 來使 Time Machine 回復正常速度。 (當CPU使用率衝高時，可以開&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(255, 255, 153);&quot;&gt;Activity Monitor&lt;/span&gt;查看看，到底還有誰在搞鬼，暫時停用他)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;lucida grande&#39;;&quot;&gt;暫時把 / ，以及外部磁碟加入 Spotlight 不索引的清單 (&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(204, 102, 0);&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;lucida grande&#39;;&quot;&gt;這對我沒用&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;lucida grande&#39;;&quot;&gt;)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family:Lucida Grande;&quot;&gt;其實Time Machine在run的時候，在系統裡是跑&quot;backupd&quot;這支Daemon，所以可以開Console.app，或是直接看 &quot;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(255, 255, 153);&quot;&gt;/var/log/system.log&lt;/span&gt;&quot; 這個檔，尋找和&quot;backupd&quot;這個字相關的log (&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(51, 102, 255);&quot;&gt;這對我有幫助&lt;/span&gt;，當速度又降下來時，可以查看Kernel現在在忙啥)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family:Lucida Grande;&quot;&gt;把備份資料夾裡面的 [日期時間].inProgress 砍了 (對我沒幫助)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family:Lucida Grande;&quot;&gt;開啟&quot;Disk Utility&quot;針對你要備份的disk或者是Time Machine的目的磁碟，作 &quot;Verify(驗證) 以及 &quot;Repair(修復)&quot; 的動作 (&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(51, 51, 255);&quot;&gt;我好像是做了這個才好的&lt;/span&gt;&lt;/span&gt;)&lt;/li&gt;&lt;/ul&gt;　　&lt;span style=&quot;font-family:Lucida Grande;&quot;&gt;另外在跑Time Machine有一些小技巧，由過來人Klaymen提供的相關經驗，以我的iMac 250GB內接硬碟，以及1TB的外接硬碟為例子，整理如下:&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;Lucida Grande&#39;;&quot;&gt;將1TB的硬磁，額外切出一個Partition供Time Machine專用，因為你不切的話，Time Machine會試圖用完所有他可以用的空間。&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;Lucida Grande&#39;;&quot;&gt;所以大概抓個&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(0, 153, 0);&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(153, 255, 153);&quot;&gt;250GB x 1.5 ~ 2 ~= 375 ~ 500 GB&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(0, 153, 0);&quot;&gt; &lt;/span&gt;之間的大小，切出另一個專屬Partition。&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;Lucida Grande&#39;;&quot;&gt;另外Time Machine有提供Exclude的選項供使用者設定，通常會將&quot;External Disk&quot;通通加入這個清單中，只備份Internal Disk這塊，以及一些經常會變動，但不是你想備份下來的東西，例如Download目錄裡的檔案，或是一些抓下來看一看之後就會砍掉的&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(204, 0, 0);&quot;&gt;謎片&lt;/span&gt;...XD，因此我將&quot;Download&quot;及&quot;Movies&quot;這兩個目錄都移至外接盒裡，在家目錄下，再分別建立這兩個&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(255, 255, 153);&quot;&gt;Symbolic Link&lt;/span&gt; .. ^^&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;Lucida Grande&#39;;&quot;&gt;另外像是VMware、Parallels、VirtualBox這類Virtual Machine的&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(255, 255, 153);&quot;&gt;Image&lt;/span&gt;檔，通常都很大，這類型被封裝起來的檔案對於Time Machine來說，不易部份備份，所以會很占空間，建議加入Exclude清單裡，或搬至外接磁碟。&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style=&quot;font-family:Lucida Grande;&quot;&gt;　　[&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#3366FF;&quot;&gt;Updated 2010-07-20&lt;/span&gt;] 因為Time Machine的磁碟圖示會出現在Finder/桌面(如下圖)，但你又不會拿這個Disk來存其它東西，所以就會想將它藏起來，避免誤刪了什麼重要的檔案，方法如下：&lt;code&gt;Step 1: SetFile -a &lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FF0000;&quot;&gt;V&lt;/span&gt; &quot;/Volumes/Time_Machine_drive_name&quot;&lt;br /&gt;Step 2: killall Finder&lt;br /&gt;(若要放棄隱藏: SetFile -a &lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#FF0000;&quot;&gt;v&lt;/span&gt; &quot;/Volumes/Time_Machine_drive_name&quot;)&lt;/code&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;img style=&quot;border: 6px solid transparent;&quot; src=&quot;http://farm5.static.flickr.com/4140/4812671444_a93f1decb5_o.png&quot; /&gt;&lt;/div&gt;&lt;code class=&quot;ref&quot;&gt;．秘技: 透過AFP、Samba來當作Time Machine -&gt; &lt;a href=&quot;http://www.macosxhints.com/article.php?story=20071028173642747&quot;&gt;Store Time Machine backups on an AFP NAS&lt;/a&gt;&lt;br /&gt;重點就在於這一行: &lt;span class=&quot;cmdblk&quot;&gt;defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img alt=&quot;Creative Commons Licence&quot; src=&quot;http://i.creativecommons.org/l/by-nc-sa/2.5/88x31.png&quot;/&gt; © 2006-2013 Kent Chen(Kaie&#39;s Blog).&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://chenkaie.blogspot.com/feeds/6148614730464031848/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/10481739/6148614730464031848?isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10481739/posts/default/6148614730464031848'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10481739/posts/default/6148614730464031848'/><link rel='alternate' type='text/html' href='http://chenkaie.blogspot.com/2010/07/apple-mac-os-x-time-machine-tips.html' title='[Apple / Mac OS X] Time Machine Tips (and Bugs?) / 蘋果時光機'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/09229203493337676269</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLPueJyIYEUEp2FJlNlk6S_DlMePtuWXiV0l8gCgZaPL-ZvvOAa5QboNHiJK9N2h-TexR-pwekw56einnY81dHP1kFvCB0hPrYkGXTGIjKfIaRi3wrXFxXNefxoV9UKt0Pm4SCVw/s72-c/2010-07-14_0319.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10481739.post-5238062972520525487</id><published>2010-07-10T17:11:00.009+08:00</published><updated>2010-07-10T17:54:15.747+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="all"/><category scheme="http://www.blogger.com/atom/ns#" term="hardware"/><category scheme="http://www.blogger.com/atom/ns#" term="LaCie"/><category scheme="http://www.blogger.com/atom/ns#" term="peripheral"/><title type='text'>[Peripheral] LaCie Quadra Neil Poulton 1TB 3.5吋火線行動硬碟</title><content type='html'>&lt;span style=&quot;font-family:Lucida Grande;&quot;&gt;　　科科，江湖上有個傳言，沒用過火線，就沒資格說你有在用iMac or MacBook。原本是要&quot;外接盒: &lt;a href=&quot;http://www.byja.com/products_detail.asp?products_id=10271&quot;&gt;inXtron SK-3500 3.5吋&lt;/a&gt;&quot;跟&quot;硬碟(WD 1.5TB)&quot; 分開買的，沒想到想買的那款3.5吋火線800外接盒缺貨缺這麼大，後來繼續逛逛，看到這顆&lt;a href=&quot;http://www.byja.com/products_detail.asp?products_id=7550&quot;&gt;LaCie 1TB&lt;/a&gt;，算一算價錢差不多，沒有比較貴，而且外型更吸引人，就敗啦。終於可以玩 &lt;a href=&quot;http://www.apple.com/macosx/what-is-macosx/time-machine.html&quot;&gt;Time Machine&lt;/a&gt;...&lt;br /&gt;先來個套圖嚐鮮一下吧 :&lt;br /&gt;&lt;div style=&quot;text-align:center&quot;&gt;&lt;img style=&quot;border: 6px solid transparent&quot; src=&quot;http://farm5.static.flickr.com/4140/4771795880_7a4ab22f7b.jpg&quot;/&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style=&quot;text-align:center&quot;&gt;&lt;img style=&quot;border: 6px solid transparent&quot; src=&quot;http://farm5.static.flickr.com/4076/4771799722_62ec0cb058.jpg&quot;/&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style=&quot;text-align:center&quot;&gt;&lt;img style=&quot;border: 6px solid transparent&quot; src=&quot;http://farm5.static.flickr.com/4139/4771163263_3186d41f7b.jpg&quot;/&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style=&quot;text-align:center&quot;&gt;&lt;img style=&quot;border: 6px solid transparent&quot; src=&quot;http://farm5.static.flickr.com/4076/4771163963_2817ae2409.jpg&quot;/&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style=&quot;text-align:center&quot;&gt;&lt;img style=&quot;border: 6px solid transparent&quot; src=&quot;http://farm5.static.flickr.com/4101/4771804068_ca9350930d.jpg&quot;/&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style=&quot;text-align:center&quot;&gt;&lt;img style=&quot;border: 6px solid transparent&quot; src=&quot;http://farm5.static.flickr.com/4116/4771169863_eb5a8e3984.jpg&quot;/&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style=&quot;font-family:Lucida Grande;&quot;&gt;火線 800 果然穩定，在使用iMac並且做一些大量的IO時，都沒啥感覺，底下是用AJA Sytem Test測出來的數據。&lt;/span&gt;&lt;br /&gt;&lt;div style=&quot;text-align:center&quot;&gt;&lt;img style=&quot;border: 6px solid transparent&quot; src=&quot;http://farm5.static.flickr.com/4096/4774326945_62e0e2e880.jpg&quot;/&gt;&lt;/div&gt;&lt;br /&gt;&lt;code class=&quot;ref&quot;&gt;．完整相簿 Flickr link : &lt;a href=&quot;http://www.flickr.com/photos/kent-chen/sets/72157624443661632/detail/&quot;&gt;http://www.flickr.com/photos/kent-chen/sets/72157624443661632/detail/&lt;/a&gt;&lt;br /&gt;．這一款  (&lt;a href=&quot;http://chenkaie.blogspot.com/2007/05/hardware-25-enclosure-qback-25.html&quot;&gt;2.5吋的外接盒 Qback-25&lt;/a&gt;) 是我第一個敗的外接盒。&lt;/code&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img alt=&quot;Creative Commons Licence&quot; src=&quot;http://i.creativecommons.org/l/by-nc-sa/2.5/88x31.png&quot;/&gt; © 2006-2013 Kent Chen(Kaie&#39;s Blog).&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://chenkaie.blogspot.com/feeds/5238062972520525487/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/10481739/5238062972520525487?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10481739/posts/default/5238062972520525487'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10481739/posts/default/5238062972520525487'/><link rel='alternate' type='text/html' href='http://chenkaie.blogspot.com/2010/07/peripheral-lacie-quadra-neil-poulton.html' title='[Peripheral] LaCie Quadra Neil Poulton 1TB 3.5吋火線行動硬碟'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/09229203493337676269</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://farm5.static.flickr.com/4140/4771795880_7a4ab22f7b_t.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10481739.post-3026186714483147915</id><published>2010-06-24T23:38:00.001+08:00</published><updated>2011-12-12T01:03:38.027+08:00</updated><title type='text'>老梅大峽谷</title><content type='html'>&lt;div style=&quot;font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Helvetica, Arial, Verdana, sans-serif; text-align:center;&quot;&gt;&lt;a href=&quot;http://www.flickr.com/photos/kent-chen/4714226609/&quot; title=&quot;photo sharing&quot;&gt;&lt;img src=&quot;http://farm5.static.flickr.com/4030/4714226609_cb4c976035.jpg&quot; style=&quot;border: solid 6px transparent;&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 1em; margin-top: 0px;&quot;&gt;&lt;a href=&quot;http://www.flickr.com/photos/kent-chen/4714226609/&quot;&gt;看起來好好吃... XD&lt;/a&gt;, originally uploaded by &lt;a href=&quot;http://www.flickr.com/people/kent-chen/&quot;&gt;Kent-Chen&lt;/a&gt;.&lt;/span&gt;&lt;/div&gt;
&lt;code class=&quot;ref&quot;&gt;．我的Flickr上更多關於老梅的照片: &lt;br/&gt;&lt;a href=&quot;http://www.flickr.com/photos/kent-chen/tags/%E8%80%81%E6%A2%85/&quot;&gt;http://www.flickr.com/photos/kent-chen/tags/%E8%80%81%E6%A2%85/&lt;/a&gt; &lt;/code&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img alt=&quot;Creative Commons Licence&quot; src=&quot;http://i.creativecommons.org/l/by-nc-sa/2.5/88x31.png&quot;/&gt; © 2006-2013 Kent Chen(Kaie&#39;s Blog).&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://chenkaie.blogspot.com/feeds/3026186714483147915/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/10481739/3026186714483147915?isPopup=true' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10481739/posts/default/3026186714483147915'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10481739/posts/default/3026186714483147915'/><link rel='alternate' type='text/html' href='http://chenkaie.blogspot.com/2010/06/blog-post.html' title='老梅大峽谷'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/09229203493337676269</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://farm5.static.flickr.com/4030/4714226609_cb4c976035_t.jpg" height="72" width="72"/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10481739.post-8087235703098288020</id><published>2010-03-06T18:56:00.015+08:00</published><updated>2010-03-06T19:30:31.009+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="all"/><category scheme="http://www.blogger.com/atom/ns#" term="apple"/><category scheme="http://www.blogger.com/atom/ns#" term="mac os x"/><category scheme="http://www.blogger.com/atom/ns#" term="Snow Leopard"/><title type='text'>[Mac/Snow Leopard] launchctl - Mac OS X load/unload daemons or agents command</title><content type='html'>&lt;span style=&quot;font-family:Lucida Grande;&quot;&gt;　　一般在Unix/Linux上，我們會透過 &lt;span class=&quot;cmdblk&quot;&gt;service&lt;/span&gt; 這指令來控制(啟用/停用)某些系統服務，在WIndows上也可以透過，&quot;控制台-&gt;管理-&gt;服務及應用程式&quot; 或 &lt;span class=&quot;cmdblk&quot;&gt;msconfig&lt;/span&gt;來達到同等效用。在我的雪豹被我養得愈來愈肥的情況下，該是停掉一些無三小路用的service的時候了。&lt;br /&gt;　　詳細指令操作，請找男人: &lt;a href=&quot;http://edr.euro.apple.com/mac/library/documentation/Darwin/Reference/ManPages/man1/launchctl.1.html&quot;&gt;&lt;span class=&quot;cmdblk&quot;&gt;man launchctl&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;．Disable / Unload  oooxxx:&lt;br /&gt;&lt;code&gt;sudo launchctl unload -w /System/Library/LaunchAgents/com.apple.oooxxx.plist&lt;br /&gt;&lt;/code&gt;．Enable / Load oooxxx:&lt;br /&gt;&lt;code&gt;sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.oooxxx.plist&lt;br /&gt;&lt;/code&gt;．所有Daemons及Agents的擺放目錄如下:&lt;br /&gt;&lt;pre&gt;&lt;code class&gt;&lt;span class=&quot;cmdblk&quot;&gt;man launchctl&lt;/span&gt;&lt;br /&gt;~/Library/LaunchAgents         Per-user agents provided by the user.&lt;br /&gt;/Library/LaunchAgents          Per-user agents provided by the administrator.&lt;br /&gt;/Library/LaunchDaemons         System wide daemons provided by the administrator.&lt;br /&gt;/System/Library/LaunchAgents   Mac OS X Per-user agents.&lt;br /&gt;/System/Library/LaunchDaemons  Mac OS X System wide daemons.&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;code class=&#39;ref&#39;&gt;References: &lt;br /&gt;&lt;a href=&quot;http://tech.karbassi.com/2009/05/12/how-to-fully-disable-spotlight-in-leopard/&quot;&gt;How To FULLY Disable Spotlight in Leopard&lt;/a&gt;&lt;br /&gt;&lt;a href=&quot;http://www.xjttt.com/viewthread.php?tid=17297&amp;extra=page%3D1&amp;page=1&amp;1&amp;styleid=85&quot;&gt;(iPhone) 优化3.0服务，重启内存54M+电量及发热改善明显（大幅优化）&lt;/a&gt;&lt;/code&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img alt=&quot;Creative Commons Licence&quot; src=&quot;http://i.creativecommons.org/l/by-nc-sa/2.5/88x31.png&quot;/&gt; © 2006-2013 Kent Chen(Kaie&#39;s Blog).&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://chenkaie.blogspot.com/feeds/8087235703098288020/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/10481739/8087235703098288020?isPopup=true' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10481739/posts/default/8087235703098288020'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10481739/posts/default/8087235703098288020'/><link rel='alternate' type='text/html' href='http://chenkaie.blogspot.com/2010/03/macsnow-leopard-launchctl-mac-os-x.html' title='[Mac/Snow Leopard] launchctl - Mac OS X load/unload daemons or agents command'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/09229203493337676269</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10481739.post-6949573848463075085</id><published>2010-01-17T23:36:00.005+08:00</published><updated>2010-01-17T23:57:39.293+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="all"/><category scheme="http://www.blogger.com/atom/ns#" term="firework"/><category scheme="http://www.blogger.com/atom/ns#" term="fun"/><title type='text'>2010 Happy New Year</title><content type='html'>&lt;span style=&quot;font-family:Lucida Grande;&quot;&gt; &lt;div style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;http://www.flickr.com/photos/yorklin/4265818027/in/set-72157623077599251/&quot;&gt;&lt;img src=&quot;http://farm3.static.flickr.com/2762/4265818027_cf1610bf35.jpg&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;http://www.flickr.com/photos/yorklin/4266582458/&quot; title=&quot;photo sharing&quot;&gt;&lt;img src=&quot;http://farm3.static.flickr.com/2759/4266582458_b1503116f9.jpg&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style=&quot;margin-top: 0px;font-size:0.8em;&quot; &gt;&lt;a href=&quot;http://www.flickr.com/photos/yorklin/4266582458/&quot;&gt;DSC_0399_15596&lt;/a&gt;, originally uploaded by &lt;a href=&quot;http://www.flickr.com/people/yorklin/&quot;&gt;約克Summer&lt;/a&gt;.&lt;/span&gt;&lt;/div&gt;Thansk for &lt;a href=&quot;http://www.flickr.com/photos/jason-yang/&quot;&gt;J&quot;A&quot;SON&lt;/a&gt;&#39;s Bar  ..... An amazing happy ending of 2009&lt;/span&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img alt=&quot;Creative Commons Licence&quot; src=&quot;http://i.creativecommons.org/l/by-nc-sa/2.5/88x31.png&quot;/&gt; © 2006-2013 Kent Chen(Kaie&#39;s Blog).&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://chenkaie.blogspot.com/feeds/6949573848463075085/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/10481739/6949573848463075085?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10481739/posts/default/6949573848463075085'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10481739/posts/default/6949573848463075085'/><link rel='alternate' type='text/html' href='http://chenkaie.blogspot.com/2010/01/2010-happy-new-year.html' title='2010 Happy New Year'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/09229203493337676269</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://farm3.static.flickr.com/2762/4265818027_cf1610bf35_t.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10481739.post-29302957409444474</id><published>2009-11-17T01:46:00.012+08:00</published><updated>2009-11-17T11:31:38.634+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="apple"/><category scheme="http://www.blogger.com/atom/ns#" term="gdb"/><category scheme="http://www.blogger.com/atom/ns#" term="mac os x"/><category scheme="http://www.blogger.com/atom/ns#" term="macports"/><category scheme="http://www.blogger.com/atom/ns#" term="Snow Leopard"/><title type='text'>[Mac/Snow Leopard] build GDB v7.0 from source</title><content type='html'>&lt;span style=&quot;font-family:Lucida Grande;&quot;&gt;　　之前在Leopard (Mac OS X 10.5.X)的時候，都是靠Macports在討生活的，大部份我常用的ports都還Maintain的不錯，但到了Snow Leopard (Mac OS X 10.6.X) 的年代，發現許多ports都被發的bug都一直掛著沒人維護，小弟只好自力救濟了。像是著名的GDB神器，在console底下，只要下個 &lt;span class=&quot;cmdblk&quot;&gt;port search gdb&lt;/span&gt; ，就會出現這麼樣一個東西：&lt;code&gt;gdb @6.8 (devel)&lt;br /&gt;　　GDB: The GNU Project Debugger&lt;/code&gt;　　6.8版，還蠻新的嘛。接著再下 &lt;span class=&quot;cmdblk&quot;&gt; sudo port install gdb&lt;/span&gt; ，就會出現底下不堪入目的畫面&lt;code&gt;---&gt;  Computing dependencies for gdb&lt;br /&gt;---&gt;  Verifying checksum(s) for gdb&lt;br /&gt;Error: Target org.macports.checksum returned: Could not open file: /opt/local/var/macports/distfiles/gdb/gdb-6.8.tar.bz2&lt;br /&gt;Error: Status 1 encountered during processing.&lt;/code&gt;　　哪泥......macports裡頭竟然連gdb的檔案都沒放了，不再是萬能的了，此時只好靠萬能的”source code”以及&quot;gcc&quot;了，心想只要有心，沒有porting不過來呀...科科，就是這&quot;灌C&quot;的威力。先來抓個最新版的weekly build的GDB來嚐鮮一下&lt;code&gt;wget ftp://sourceware.org/pub/gdb/snapshots/current/gdb-weekly-7.0.50.20091110.tar.bz2&lt;/code&gt;　　接著， &lt;span class=&quot;cmdblk&quot;&gt;bunzip2 gdb-*.tar.bz2&lt;/span&gt; 解開這壓縮檔。重點戲來了，configure一下，藍色字是key point，記得加，這是在Snow Leopard上編gdb成功的關鍵： &lt;code&gt;$ ./configure &lt;span style=&#39;color:#6cf&#39;&gt;--disable-werror --build=x86_64-apple-darwin10&lt;/span&gt; --prefix=/Users/kent/usr&lt;br /&gt;$ make &amp;&amp; make install&lt;/code&gt;　　這個時候build成功了，很開心的跑 &lt;span class=&quot;cmdblk&quot;&gt;gdb ./hello&lt;/span&gt; ，我想應該會出現&lt;code&gt;GNU gdb (GDB) &lt;span style=&#39;color:#6cf&#39;&gt;7.0.50.20091110&lt;/span&gt;&lt;br /&gt;Copyright (C) 2009 Free Software Foundation, Inc.&lt;br /&gt;License GPLv3+: GNU GPL version 3 or later &lt;http://gnu.org/licenses/gpl.html&gt;&lt;br /&gt;This is free software: you are free to change and redistribute it.&lt;br /&gt;There is NO WARRANTY, to the extent permitted by law.  Type &quot;show copying&quot;&lt;br /&gt;and &quot;show warranty&quot; for details.&lt;br /&gt;This GDB was configured as &lt;span style=&#39;color:#6cf&#39;&gt;&quot;x86_64-apple-darwin10&quot;&lt;/span&gt;.&lt;br /&gt;For bug reporting instructions, please see:&lt;br /&gt;&lt;http://www.gnu.org/software/gdb/bugs/&gt;...&lt;br /&gt;Reading symbols from /Users/kent/RD1-2/practice/GDB/gdb-samples/hello...&lt;span style=&#39;color:#fc6&#39;&gt;(no debugging symbols found)&lt;/span&gt;...done.&lt;br /&gt;(gdb) &lt;/code&gt;　　心想，搓屎…怎麼會這樣，找不到debug symbol..囧rz。(後來發現，好像每次都會出現，但還是可以正常使用，先不管…堪用)，再接著執行&lt;code&gt;(gdb) b main&lt;br /&gt;Breakpoint 1 at 0x100000f0c: file hello.c, line 6.&lt;br /&gt;(gdb) run&lt;br /&gt;Starting program: /Users/kent/RD1-2/practice/GDB/gdb-samples/hello &lt;br /&gt;&lt;span style=&#39;color:#fc6&#39;&gt;Unable to find Mach task port for process-id 80958: (os/kern) failure (0x5).&lt;br /&gt; (please check gdb is codesigned - see taskgated(8))&lt;/span&gt;&lt;br /&gt;(gdb) &lt;/code&gt;　　後來求助於&lt;a href=&quot;http://sourceware.org/ml/gdb/2009-09/msg00250.html&quot;&gt;Google&lt;/a&gt;，似乎是權限的關係，假使你當初就用root權限安裝的話，就沒這問題了。若你和我一樣喜歡安裝在個人目錄下(有代--prefix=/Users/xxx/參數)，記得將gdb作個權限相關設定&lt;code&gt;$ sudo chgrp procmod /yourpath/gdb&lt;br /&gt;$ sudo chmod g+s /yourpath/gdb&lt;/code&gt;&lt;br /&gt;　　前一篇有個&lt;a href=&quot;http://chenkaie.blogspot.com/2009/11/vimgdb-vim-gdb-build-vim-from-source.html?showComment=1258365501761#comment-6099494202242128921&quot;&gt;網友&lt;/a&gt;提到的擾人的&quot;^M&quot;符號的問題，果然從gdb v6.3.5升到gdb v7.0之後就迎刃而解了，照慣例，抓張圖吧。&lt;br /&gt;&lt;div style=&quot;text-align:center&quot;&gt;&lt;a target=&quot;_blank&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIBfoy1S6EmCjmKIPUJrXfwPXfys0ffaMO8FQRdCr0tENyZ_PGAzQMWVD7QsXqTt7lc7bniGn2AgGJ9DZzxgf-7mBXX2lctZD049MIqfmhIZEraDUsVJaXnWOjBYkgFm4E5dieHw/s1600/screen-capture.png&quot;&gt;&lt;img style=&quot;border: 6px solid transparent&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIBfoy1S6EmCjmKIPUJrXfwPXfys0ffaMO8FQRdCr0tENyZ_PGAzQMWVD7QsXqTt7lc7bniGn2AgGJ9DZzxgf-7mBXX2lctZD049MIqfmhIZEraDUsVJaXnWOjBYkgFm4E5dieHw/s640/screen-capture.png&quot; width=&quot;500&quot;/&gt;&lt;/a&gt;&lt;/div&gt;&lt;/span&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;img alt=&quot;Creative Commons Licence&quot; src=&quot;http://i.creativecommons.org/l/by-nc-sa/2.5/88x31.png&quot;/&gt; © 2006-2013 Kent Chen(Kaie&#39;s Blog).&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://chenkaie.blogspot.com/feeds/29302957409444474/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/10481739/29302957409444474?isPopup=true' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10481739/posts/default/29302957409444474'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10481739/posts/default/29302957409444474'/><link rel='alternate' type='text/html' href='http://chenkaie.blogspot.com/2009/11/macsnow-leopard-build-gdb-v70-from.html' title='[Mac/Snow Leopard] build GDB v7.0 from source'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/09229203493337676269</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>7</thr:total></entry></feed>