<?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-4904707193105813359</id><updated>2024-10-03T00:09:08.331+08:00</updated><category term="Linux"/><category term="扣件"/><category term="時事"/><category term="gcc linux link"/><category term="機械"/><category term="Autocad Inventor"/><category term="Busybox"/><category term="CNC 車床"/><category term="Computer"/><category term="DNS google"/><category term="MAC"/><category term="Mobile Phone funy"/><category term="Motocycle bike"/><category term="Network"/><category term="bios assembly"/><category term="dream"/><category term="linux socket getpeername"/><category term="力矩單位換算"/><category term="夢想"/><category term="海洋音樂祭"/><category term="股票"/><category term="貢寮"/><category term="配電"/><category term="電"/><category term="音樂"/><title type='text'>哲之地</title><subtitle type='html'>思想空間</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://ericforyou.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4904707193105813359/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://ericforyou.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/4904707193105813359/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>哲之地</name><uri>http://www.blogger.com/profile/00427827012094627222</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>54</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4904707193105813359.post-7371083669096559348</id><published>2013-06-15T12:04:00.003+08:00</published><updated>2013-06-15T12:04:50.544+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="機械"/><category scheme="http://www.blogger.com/atom/ns#" term="配電"/><title type='text'>無溶絲開關的選用</title><summary type="text">

NFB無熔絲斷路器的規格有: (AF框架容量) (AT額定電流) (IC啟斷容量)



ＡＦ框架容量：是指整個ＮＦＢ內部導電結構框架，就是可以通過這個斷路器的最大電流。

ＡＴ額定電流：或稱跳脫電流，代表電流達到此數值時，會跳脫切斷電路，以保障設備安全。


ＩＣ啟斷容量：啟斷容量指能容許故障時的最大短路電流，短路電流依照線路、機械種種特型而不同。

又細分為Icu(Rated ultimate short-circuit breaking capacity)及Ics(Rated service short-circuit breaking capacity)，這兩種

Icu (Rated ultimate short-circuit breaking capacity)意即額定極限短路啟斷容量；指規定條件下的啟斷容量(如380V-30kA)，
        按規定的試驗程序</summary><link rel='replies' type='application/atom+xml' href='http://ericforyou.blogspot.com/feeds/7371083669096559348/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4904707193105813359/7371083669096559348' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4904707193105813359/posts/default/7371083669096559348'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4904707193105813359/posts/default/7371083669096559348'/><link rel='alternate' type='text/html' href='http://ericforyou.blogspot.com/2013/06/blog-post.html' title='無溶絲開關的選用'/><author><name>哲之地</name><uri>http://www.blogger.com/profile/00427827012094627222</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-4904707193105813359.post-3690459802699687373</id><published>2013-05-27T10:53:00.002+08:00</published><updated>2013-05-27T10:53:50.530+08:00</updated><title type='text'>馬達配線</title><summary type="text">單相220V馬達出線共6條線,220V 結線電源單相220V正轉是R相入電(1)號線...T相入電是(4+6)號.2條線...(2+3+5)包著 --------------------逆轉是R相入電(1+6)號.2條線...T相入電是(4)號線...(2+3+5)包著                         注意:...(2+3+5)多是不變的利用 雙投閘刀開關時如何裝如下..2P雙投閘刀開關它有6個瑣線螺絲洞我把它左邊分為(上左).(中左).(下左)              右邊分為(上右).(中右).(下右)剛好6個結線法如下:.2P雙投閘刀開關..........................................................1(上左)的螺絲洞結一條線到.(下右)的螺絲洞.並和馬達1號線相接2(上右)的螺絲洞結一條線到.(下左)的螺絲洞.</summary><link rel='replies' type='application/atom+xml' href='http://ericforyou.blogspot.com/feeds/3690459802699687373/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4904707193105813359/3690459802699687373' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4904707193105813359/posts/default/3690459802699687373'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4904707193105813359/posts/default/3690459802699687373'/><link rel='alternate' type='text/html' href='http://ericforyou.blogspot.com/2013/05/blog-post_27.html' title='馬達配線'/><author><name>哲之地</name><uri>http://www.blogger.com/profile/00427827012094627222</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>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4904707193105813359.post-7373727918810488604</id><published>2013-05-13T17:06:00.002+08:00</published><updated>2013-05-13T17:06:39.514+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="時事"/><title type='text'>菲國攻打我漁民</title><summary type="text">菲律賓的魚政船在我國的經濟海域使用機槍瘋俇掃射我國漁船，使得我國漁民當場擊弊。這事件造成我國非常憤慨。然而我國政府並沒有第一時間作出很強烈的態度，反倒是要先瞭解狀況，並要求賠償。事後過了幾天才來下通諜，這會不會太慢了？還給它們72個小時的時間內要我們道歉，這會不會太仁慈了。

現在有可能會發生的情況如下，馬政府會很難下台

1.菲國向中國道歉，不向台灣道歉。另外賠償金額是透過中國給台灣家屬。
&amp;nbsp;&amp;nbsp; 馬政府變的裡外不是人(這樣才可以呈現他是那一國人)
2.菲國接受台灣的制裁。因為不差台灣。
3.如果要攻打菲國，中國會施壓，變的不能出兵，如果要出兵我想中國一定會先打。

所以結論，時間會沖淡一切，為了加速淡忘這一切必需要請阿扁出來了。



</summary><link rel='replies' type='application/atom+xml' href='http://ericforyou.blogspot.com/feeds/7373727918810488604/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4904707193105813359/7373727918810488604' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4904707193105813359/posts/default/7373727918810488604'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4904707193105813359/posts/default/7373727918810488604'/><link rel='alternate' type='text/html' href='http://ericforyou.blogspot.com/2013/05/blog-post.html' title='菲國攻打我漁民'/><author><name>哲之地</name><uri>http://www.blogger.com/profile/00427827012094627222</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-4904707193105813359.post-7409147835612905453</id><published>2013-03-01T12:01:00.000+08:00</published><updated>2013-03-01T12:01:20.734+08:00</updated><title type='text'>公民投票的怪象</title><summary type="text">在台灣的公民投票要通過機率是微乎其微，如果要通過命題題目必須要達到門檻：公民投票案投票結果，投票人數達全國、直轄市、縣 (市) 投票權人總數二分之一以上，且有效投票數超過二分之一同意者，即為通過。投票人數不足前項規定數額或未有有效投票數超過二分之一同意者，均為否決。在台灣要超過二分之一是非常難的。

所以一個命題題目非常重要就像此次要公投核四一樣

「你是否同意停建核四」
「你是否同意續建核四」

這兩個命題就要跟當前的狀況來比較就會有差別

例如：

核四已經在建造的情況 
如果舉行公投命題不一樣會有不一樣的結果(假如沒有超過二分之一)

「你是否同意停建核四」&amp;nbsp;&amp;nbsp; &lt;--- br=&quot;&quot; nbsp=&quot;&quot;&gt;&lt;/---&gt;
「你是否同意續建核四」&amp;nbsp;&amp;nbsp; &lt;--- nbsp=&quot;&quot; p=&quot;&quot;&gt;
同樣是否決，但是結果不一樣 


核四還未建造的情況 
如果舉行</summary><link rel='replies' type='application/atom+xml' href='http://ericforyou.blogspot.com/feeds/7409147835612905453/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4904707193105813359/7409147835612905453' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4904707193105813359/posts/default/7409147835612905453'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4904707193105813359/posts/default/7409147835612905453'/><link rel='alternate' type='text/html' href='http://ericforyou.blogspot.com/2013/03/blog-post.html' title='公民投票的怪象'/><author><name>哲之地</name><uri>http://www.blogger.com/profile/00427827012094627222</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>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4904707193105813359.post-6230480042996199754</id><published>2013-02-18T09:01:00.001+08:00</published><updated>2013-02-18T09:01:26.197+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Computer"/><title type='text'>在Windows 底下免費的開發工具</title><summary type="text">Pelles C是一套完整在Windows(Windows 和Win CE)底下完整的開發工具。如果你想要用C語言來開發你的應用程式建議可以使用這套，這套完全免費但你可以資助開發者，畢竟開發者也花很多時間在寫這一套應用程式。

&amp;nbsp;它包含許多功能，最佳化的C編譯器(C compiler)、巨集的組譯器(macro assembler)、連結器(linker)、資源編輯器(resource compiler)、訊息編譯器(message compiler)、程式亮顯工具、make 工具和安裝工具。



此應用程式是一套整合型的開發工具可以專案管理、debugger、profiler。而資源編輯器可以編輯 dialogs, menus, string tables, accelerator tables, bitmaps, icons,
          cursors, </summary><link rel='replies' type='application/atom+xml' href='http://ericforyou.blogspot.com/feeds/6230480042996199754/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4904707193105813359/6230480042996199754' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4904707193105813359/posts/default/6230480042996199754'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4904707193105813359/posts/default/6230480042996199754'/><link rel='alternate' type='text/html' href='http://ericforyou.blogspot.com/2013/02/windows.html' title='在Windows 底下免費的開發工具'/><author><name>哲之地</name><uri>http://www.blogger.com/profile/00427827012094627222</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-4904707193105813359.post-926415357769154831</id><published>2013-02-06T15:59:00.001+08:00</published><updated>2013-02-06T15:59:22.993+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="時事"/><title type='text'>台灣面臨人才問題</title><summary type="text">最近聽到因為台灣這邊不景氣，要不就是很難找到工作要不是新資待遇沒有想像中的好。所以大家就開始往中國方面去找，的確表面上這樣或許可以解決個人生存的問題。但實際上可能會面臨到後代子孫會沒有工作。

為什麼要這樣說呢？想想看我們政府所栽培的人材以及業界中的菁英如果一窩蜂地往中國或其它國家跑甚至落地生根的話那會有怎樣的後果‧大家可以想看看，其實眼前就有一個例子，那就是美國，為什麼美國可以變的這麼強大是因為重金禮聘人材，而這些人才彼持之間又有良性的競爭反而茁壯自己的國力。

我們台灣人本身就欠缺分析思考的能力只看到眼前的東西，並不會想到後續的狀況，一昧地茫目的追求眼前的利益並不會放長線釣大魚來賺取極大的利益很沒有耐心。 我在想會不會是我們教育出現問題，以前的教育是填鴉式的教育，並沒有教育如何思考，也不會分析任何的問題。就像鴻海要買夏普的技術，如果夏普的老板是台灣人我想這筆交易鐵定成功。但是日本人就</summary><link rel='replies' type='application/atom+xml' href='http://ericforyou.blogspot.com/feeds/926415357769154831/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4904707193105813359/926415357769154831' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4904707193105813359/posts/default/926415357769154831'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4904707193105813359/posts/default/926415357769154831'/><link rel='alternate' type='text/html' href='http://ericforyou.blogspot.com/2013/02/blog-post.html' title='台灣面臨人才問題'/><author><name>哲之地</name><uri>http://www.blogger.com/profile/00427827012094627222</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-4904707193105813359.post-2053691854850759288</id><published>2012-12-24T09:27:00.002+08:00</published><updated>2012-12-25T08:28:15.058+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="時事"/><title type='text'>死刑為什麼要槍弊?</title><summary type="text">
死刑為什麼要槍弊?
&quot;死刑&quot;是我國法律所制定出來的法制,用意是為了要遏止一些心智泯滅的人所定律的法條.姑且不要討論人權的問題,這次我要論死形的手段.每次看到新聞就會看到法務部要執行槍決的手段,然道手段不可以變更嗎?因為槍決總是讓人覺的很慘忍,如果是要讓他生命結束其實可以有很多種手法.

藥物注射
如要器捐,麻藥後手術弊命 

&amp;nbsp;我想這些手法都可以考慮,不一定要用槍來執行,只要目地達到就可以了.
</summary><link rel='replies' type='application/atom+xml' href='http://ericforyou.blogspot.com/feeds/2053691854850759288/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4904707193105813359/2053691854850759288' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4904707193105813359/posts/default/2053691854850759288'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4904707193105813359/posts/default/2053691854850759288'/><link rel='alternate' type='text/html' href='http://ericforyou.blogspot.com/2012/12/blog-post_24.html' title='死刑為什麼要槍弊?'/><author><name>哲之地</name><uri>http://www.blogger.com/profile/00427827012094627222</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-4904707193105813359.post-8367324080519061665</id><published>2012-12-06T08:23:00.001+08:00</published><updated>2012-12-06T08:23:42.674+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bios assembly"/><title type='text'>x86 BIOS 0x7C00的迷思</title><summary type="text">在x86架構下曾經有用assembly寫bootloader的程式,一定會遇到這樣的經驗.當PC一上電,BIOS會先初始化所有周邊的硬體並檢查周邊設備是否正常,如果周邊硬體有發生問題BIOS會發出警訊(蜂鳴器的聲音),如果沒有錯誤訊息,BIOS就繼續讀取由BIOS所設定的第一讀取的儲存裝置.如果設定第一讀取裝置是硬碟,BIOS就會讀取硬碟上面的第一個磁區第一個sector的程式碼也就是MBR並放到記憶體位址0x7c00上面.接下來CPU就會執行0x7c00上面的程式碼.比如是bootloader的程式或是載入os的程式.

那為什麼要將MBR放到0x7c00位址上呢?為什麼不是在其他記億體其它位址上呢??到底是誰制定此位址呢?而放在這個地方有什麼意義呢 ?

這要從IBM PC 5150 的BIOS說起.IBM PC5150可以說是現代電腦的祖先.因為當時的BIOS ROM就已經製訂到將</summary><link rel='replies' type='application/atom+xml' href='http://ericforyou.blogspot.com/feeds/8367324080519061665/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4904707193105813359/8367324080519061665' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4904707193105813359/posts/default/8367324080519061665'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4904707193105813359/posts/default/8367324080519061665'/><link rel='alternate' type='text/html' href='http://ericforyou.blogspot.com/2012/12/x86-bios-0x7c00.html' title='x86 BIOS 0x7C00的迷思'/><author><name>哲之地</name><uri>http://www.blogger.com/profile/00427827012094627222</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-4904707193105813359.post-4913240191630506442</id><published>2012-12-06T08:16:00.000+08:00</published><updated>2012-12-06T08:27:48.380+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="扣件"/><title type='text'>ISO螺紋直徑</title><summary type="text">ISO螺紋直徑 1.6mm ~ 600mm


註釋： 
確定的尺寸是中等公差螺紋級6H/6g的。 這暗示如果它不與指定的螺絲大小如M20×2級 

** BS 3643和ISO 965只是表示的直徑內螺紋的主要輪廓不應該違背基本的輪廓。 

外部螺紋(螺栓) -  6G 內部螺紋（螺母） -  6H類 
尺寸（mm） 間距mm 主要直徑 
D = D毫米 間距直徑 
D 2 = D 2毫米。 輕微的直徑 
D 3毫米 輕微的直徑 
D第1毫米 間距直徑 
D 2 = D 2毫米。 主要直徑 
：D = d毫米 螺孔鑽 
最大 最小最大 最小 最大 最小 最小 最大 最小 最大 最小注意** 
1.6 0.35 1581 1,496 1354 1291 1202 1075 -  1,221 1,321 1,373 1458 1600 -  1250 
1.6 0.3 1582 1507 </summary><link rel='replies' type='application/atom+xml' href='http://ericforyou.blogspot.com/feeds/4913240191630506442/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4904707193105813359/4913240191630506442' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4904707193105813359/posts/default/4913240191630506442'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4904707193105813359/posts/default/4913240191630506442'/><link rel='alternate' type='text/html' href='http://ericforyou.blogspot.com/2012/12/iso.html' title='ISO螺紋直徑'/><author><name>哲之地</name><uri>http://www.blogger.com/profile/00427827012094627222</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-4904707193105813359.post-5051703184933799030</id><published>2012-12-04T14:57:00.003+08:00</published><updated>2012-12-06T08:12:59.587+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Autocad Inventor"/><title type='text'>Autocad Inventor 參變數</title><summary type="text">Autocad Inventor 2011

最近在使用參變數(Reference Parameter)的一些心得

為什麼會翻譯成參變數,因為英翻中就叫做&quot;參考變數&quot;,這是我所猜測的.

之前有去上Autocad Inventor所提供的課程,當我問上課的老師,什麼是ul?
老師他說他也不清楚.結果我去找Help裡面就有提到的,

ul : Unit Less (中文翻譯: 無量單位)

它是沒有單位的單位.通常單位是用來描述物理量的基本單位,當使用者不知道單位的話,預設就是ul.

參變數的應用

最近使用參變數有遇到幾個問題



Round()&amp;nbsp; --取最近整數(4.2 =&amp;gt; 4, 4.7=&amp;gt;5)

Ceil()&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; --無條件進位 (4.7 =&amp;gt; 5)

Floor()&amp;nbsp;&amp;nbsp; --無條件</summary><link rel='replies' type='application/atom+xml' href='http://ericforyou.blogspot.com/feeds/5051703184933799030/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4904707193105813359/5051703184933799030' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4904707193105813359/posts/default/5051703184933799030'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4904707193105813359/posts/default/5051703184933799030'/><link rel='alternate' type='text/html' href='http://ericforyou.blogspot.com/2012/12/autocad-invetnor.html' title='Autocad Inventor 參變數'/><author><name>哲之地</name><uri>http://www.blogger.com/profile/00427827012094627222</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-4904707193105813359.post-3979151535281192975</id><published>2012-10-03T22:43:00.000+08:00</published><updated>2012-10-04T08:38:29.771+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="gcc linux link"/><title type='text'>Linker的問題</title><summary type="text">最近Build Embedded System的程式,在寫Makefile的時候,有一個問題我竟然花了快1個小時才解決.

通常我們再寫大程式的時候(有許多程式),透過Makefile順利地將所有source code compile成計算機可以讀的OBJ檔.但是所有的obj檔要合併成一個真正的可執行檔則必須透過Linker的方式去重組裡面的程式位址(reloacation).

底下的指令是我原本寫的


$(LD)   $^ -o sample.elf -nostartfiles $(LDFLAGS)

結果每次執行的結果

unreferenced to &#39;print&#39;

類似這樣的錯誤訊息,這個錯誤訊息代表著你的程式裡面有用到外部的一個函式(不是在同一個檔案裡面),必須要參考到外部的函式的位址,這樣Linker程式才可以正確地算出所要呼叫的位址. 


我都以為這樣的寫法沒有錯,</summary><link rel='replies' type='application/atom+xml' href='http://ericforyou.blogspot.com/feeds/3979151535281192975/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4904707193105813359/3979151535281192975' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4904707193105813359/posts/default/3979151535281192975'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4904707193105813359/posts/default/3979151535281192975'/><link rel='alternate' type='text/html' href='http://ericforyou.blogspot.com/2012/10/linker.html' title='Linker的問題'/><author><name>哲之地</name><uri>http://www.blogger.com/profile/00427827012094627222</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-4904707193105813359.post-6567726260169635001</id><published>2012-08-18T14:28:00.002+08:00</published><updated>2012-12-25T08:32:15.973+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="扣件"/><title type='text'>高性能螺栓與普通螺栓區別 </title><summary type="text">
高性能螺栓與普通螺栓區別 
高性能螺栓就是可承受的負荷比同規格的普通螺栓要大。普通螺栓的材料是Q235（即A3）制造的。高性能螺栓的材料35＃鋼或其它優質材料，制成後進行熱處理，提高了性能。兩者的區別是材料性能的不同。

從原材料看： 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 高性能螺栓採用高性能材料制造。高性能螺栓的螺杆、螺帽和墊圈都由高性能鋼材制作，常用 S45C(1045,45號鋼)、10B21硼鋼、40硼鋼、20錳钛硼鋼。而普通螺栓常用Q235鋼制造。

從性能等級上看： 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 高性能螺栓，使用日益廣泛。常用8.8級和10.9級兩個性能等級，其中10.9級居多。普通螺栓性能等級要低，一般爲4.4級、4.8級、5.6級和8.8級。

從使用上看： 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;</summary><link rel='replies' type='application/atom+xml' href='http://ericforyou.blogspot.com/feeds/6567726260169635001/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4904707193105813359/6567726260169635001' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4904707193105813359/posts/default/6567726260169635001'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4904707193105813359/posts/default/6567726260169635001'/><link rel='alternate' type='text/html' href='http://ericforyou.blogspot.com/2012/08/blog-post_2457.html' title='高性能螺栓與普通螺栓區別 '/><author><name>哲之地</name><uri>http://www.blogger.com/profile/00427827012094627222</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-4904707193105813359.post-1229138728152817428</id><published>2012-08-18T13:57:00.000+08:00</published><updated>2012-12-06T08:39:16.251+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="扣件"/><title type='text'>度量單位</title><summary type="text">
度量 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 當今世界上長度計量單位主要有兩種，一種爲公制，計量單位爲米（m）、厘米（cm）、毫米（mm）等，在歐州、我國及日本等東南亞地區使用較多，另一種爲英制，計量單位主要爲英寸（inch），相當于我國舊制的市寸，在美國、英國等歐美國家使用較多。 

1、公制計量：（10進制） 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1m =100 cm=1000 mm 
2、英制計量：（8進制） 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1英寸=8英分 1英寸=25.4 mm 3/8¢¢×25.4 =9.52 
3、1/4¢¢以下的産品用番號來表示其稱呼徑，如： 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4#， 5#， 6#， 7#， 8#， 10#， 12#</summary><link rel='replies' type='application/atom+xml' href='http://ericforyou.blogspot.com/feeds/1229138728152817428/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4904707193105813359/1229138728152817428' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4904707193105813359/posts/default/1229138728152817428'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4904707193105813359/posts/default/1229138728152817428'/><link rel='alternate' type='text/html' href='http://ericforyou.blogspot.com/2012/08/blog-post_18.html' title='度量單位'/><author><name>哲之地</name><uri>http://www.blogger.com/profile/00427827012094627222</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-4904707193105813359.post-4078979449127779203</id><published>2012-08-13T08:38:00.001+08:00</published><updated>2012-08-20T10:12:14.214+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="扣件"/><title type='text'>螺栓性能等級的含義</title><summary type="text">
螺栓性能等級的含義 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 鋼結構連接用螺栓性能等級可分為3.6、4.6、4.8、5.6、5.8、6.8、8.8、9.8、
10.9、12.9等10個等級，其中8.8級以上螺栓材質爲低碳合金鋼或中碳鋼並經熱處理（淬火、回火），通稱爲高性能螺栓，其餘通稱爲普通螺栓。
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 螺栓性能等級標號有兩部分數字組成，分別表示螺栓材料的公稱抗拉強度值和降伏強度比值。例如，性能等級4.6級的螺栓，其含義是： 

螺栓材質公稱抗拉強度達400MPa級； 
螺栓材質的降伏強度比值爲0.6； 
螺栓材質的公稱降伏強度達400×0.6=240MPa


&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 性能等級10.9級高性能螺栓，其材料經過熱處理後，</summary><link rel='replies' type='application/atom+xml' href='http://ericforyou.blogspot.com/feeds/4078979449127779203/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4904707193105813359/4078979449127779203' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4904707193105813359/posts/default/4078979449127779203'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4904707193105813359/posts/default/4078979449127779203'/><link rel='alternate' type='text/html' href='http://ericforyou.blogspot.com/2012/08/blog-post.html' title='螺栓性能等級的含義'/><author><name>哲之地</name><uri>http://www.blogger.com/profile/00427827012094627222</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-4904707193105813359.post-8379116835443852327</id><published>2012-07-21T10:08:00.002+08:00</published><updated>2013-02-21T19:21:29.103+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="力矩單位換算"/><title type='text'></title><summary type="text">力矩單位換算：gf.cm, kgf.cm, N.m, mN.m, N.cm, lb.in, oz.in 




unit 

gf.cm 

kgf.cm 

N.m 

mN.m 

N.cm 

lb.in 

oz.in 


1 gf.cm 

1 

0.001 

0.000098 

0.098 

0.0098 

0.000868 

0.013889 


1kgf.cm 

1000 

1 

0.098 

98 

9.8 

0.868 

13.889 


1 N.m 

10200 

10.2 

1 

1000 

100 

8.85 

141.64 


1 mN.m 

10.2 

0.0102 

0.001 

1 

0.1 

0.00885 

0.142 


1 N.cm 

102 

0.102 

0.01 

</summary><link rel='replies' type='application/atom+xml' href='http://ericforyou.blogspot.com/feeds/8379116835443852327/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4904707193105813359/8379116835443852327' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4904707193105813359/posts/default/8379116835443852327'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4904707193105813359/posts/default/8379116835443852327'/><link rel='alternate' type='text/html' href='http://ericforyou.blogspot.com/2012/07/gf.html' title=''/><author><name>哲之地</name><uri>http://www.blogger.com/profile/00427827012094627222</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-4904707193105813359.post-7984716961589937105</id><published>2012-06-26T16:01:00.002+08:00</published><updated>2012-06-27T11:57:21.280+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CNC 車床"/><title type='text'></title><summary type="text">最近去學習CNC車床的程式寫作,發現到CNC的程式跟一般的程式完全不一樣,必須要背所有的G Code.這樣才可以靈活運用,再來最好在電腦上面模擬你所寫的程式,否則寫不好整個CNC車床就會撞刀.撞刀就會很危險, 因為工件會有可能而飛出去而撞到人.

但是模擬的軟體也是很貴,所以到網路上下載一些模擬的軟體.這些軟體時間一到,就要你重新註策或上網購買很麻煩.

這時後我就學校所授予我的電腦知識,去破解軟體.就這樣我花了3天的時間 ,就讓我給破解了.哈哈!!


底下是我的練習車出來的工件.



</summary><link rel='replies' type='application/atom+xml' href='http://ericforyou.blogspot.com/feeds/7984716961589937105/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4904707193105813359/7984716961589937105' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4904707193105813359/posts/default/7984716961589937105'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4904707193105813359/posts/default/7984716961589937105'/><link rel='alternate' type='text/html' href='http://ericforyou.blogspot.com/2012/06/cnccncg-code.html' title=''/><author><name>哲之地</name><uri>http://www.blogger.com/profile/00427827012094627222</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/AVvXsEiEZZJwg-0q1G0snTKwBEjHKJSs1YKzkWMX4fV6LNaKxyAsugGphqo8HySwN-ZA6ZLJcd1hxPwWBImSHEQNRbD2R0_JfZzArshx7cqubWThlnLFPVWuDgn3H9e3UOpjBm5hyphenhyphensUJKpJL_Qw/s72-c/20120607480.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4904707193105813359.post-1378092546795747047</id><published>2012-05-11T21:40:00.001+08:00</published><updated>2012-08-20T10:10:15.638+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="機械"/><title type='text'>材料應力</title><summary type="text">材料應力



材&amp;nbsp;&amp;nbsp;&amp;nbsp; 料



靜力拉伸試驗法(Kg/mm^2)



反覆應力試驗法(Kg/mm^2)


抗拉強度降伏點極限強度迴轉彎曲

反覆拉壓



反覆扭轉






機械構造用碳鋼(退火處理)






S10C

32-4121-2670-10214-25

11-20



9-16




S15C 

38-4724-2972-10516-2713-22

10-17 




S20C

41-5025-3173-10718-29

14-24



11-18




S25C

45-5527-3374-10919-3015-25

11-18




S30C

48-5929-3675-11020-3016-26

11-19


S35C52-6431-3876-11221-3017-27

11-20


</summary><link rel='replies' type='application/atom+xml' href='http://ericforyou.blogspot.com/feeds/1378092546795747047/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4904707193105813359/1378092546795747047' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4904707193105813359/posts/default/1378092546795747047'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4904707193105813359/posts/default/1378092546795747047'/><link rel='alternate' type='text/html' href='http://ericforyou.blogspot.com/2012/05/kgmm2-kgmm2-s10c-32-41-21-26-70-102-14.html' title='材料應力'/><author><name>哲之地</name><uri>http://www.blogger.com/profile/00427827012094627222</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-4904707193105813359.post-5691099267561642050</id><published>2012-04-27T22:46:00.003+08:00</published><updated>2012-08-20T10:15:25.965+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="電"/><title type='text'></title><summary type="text">DC 和 AC 線圈有什麼不一樣?

通常我們的繼電器(Relay)有分AC220V或DC24V,單單從外表看起來,裡面的&quot;內容物&quot;都一樣.但是裡面可是不一樣,如果是DC的話線圈是包著鐵,而AC的話裡面的線圈是包著&quot;空氣&quot;.這樣才可以變成電磁鐵,去吸引開關線路.</summary><link rel='replies' type='application/atom+xml' href='http://ericforyou.blogspot.com/feeds/5691099267561642050/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4904707193105813359/5691099267561642050' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4904707193105813359/posts/default/5691099267561642050'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4904707193105813359/posts/default/5691099267561642050'/><link rel='alternate' type='text/html' href='http://ericforyou.blogspot.com/2012/04/dc-ac-relayac220vdc24v.html' title=''/><author><name>哲之地</name><uri>http://www.blogger.com/profile/00427827012094627222</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-4904707193105813359.post-6760524405889165981</id><published>2012-04-19T16:13:00.001+08:00</published><updated>2012-04-19T16:13:56.350+08:00</updated><title type='text'>電線安全電流</title><summary type="text">American Wire Gauge(AWG) / 銅線截面積(mm^2) / 安全電流(A)18AWG / 0.9mm^2 / 17A / 204W16AWG / 1.25mm^2 / 19A / 228W14AWG / 2.0mm^2 / 27A / 324W12AEG / 3.5mm^2 / 37A / 444W10AWG / 5.5mm^2 / 49A / 588W8AWG / 8.0mm^2 / 61A / 732W6AWG / 14mm^2 / 88A / 1056W4AWG / 22mm^2 / 115A / 1380W2AWG / 30mm^2 / 139A / 1668W1AWG / 38mm^2 / 162A / 1944W0AWG / 50mm^2 / 190A / 2280W00AWG / 60mm^2 / 217A / 2604W</summary><link rel='replies' type='application/atom+xml' href='http://ericforyou.blogspot.com/feeds/6760524405889165981/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4904707193105813359/6760524405889165981' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4904707193105813359/posts/default/6760524405889165981'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4904707193105813359/posts/default/6760524405889165981'/><link rel='alternate' type='text/html' href='http://ericforyou.blogspot.com/2012/04/blog-post.html' title='電線安全電流'/><author><name>哲之地</name><uri>http://www.blogger.com/profile/00427827012094627222</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-4904707193105813359.post-5805298234355748274</id><published>2010-04-21T10:19:00.002+08:00</published><updated>2010-04-21T10:23:43.212+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="linux socket getpeername"/><title type='text'>getpeername 用法</title><summary type="text">工作上遇到getpeername的問題.每當我accept一個連線後,使用getpeername都沒有問題,但問題是接下來recv後,再去使用getpeername所抓出來的ip都不一樣.看了國外的論壇,似乎也有人也遇到相同的問題.其解決的方法如下------------------------------------------------------------------------------------------------struct sockaddr_in     peer;int peer_len;peer_len = sizeof(peer);  //&lt;---要加入這一行才可以getpeername(ClientFD,(struct sockaddr *)&amp;amp;peer,&amp;amp;peer_len);--------------------------------</summary><link rel='replies' type='application/atom+xml' href='http://ericforyou.blogspot.com/feeds/5805298234355748274/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4904707193105813359/5805298234355748274' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4904707193105813359/posts/default/5805298234355748274'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4904707193105813359/posts/default/5805298234355748274'/><link rel='alternate' type='text/html' href='http://ericforyou.blogspot.com/2010/04/getpeername.html' title='getpeername 用法'/><author><name>哲之地</name><uri>http://www.blogger.com/profile/00427827012094627222</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-4904707193105813359.post-7777144613948438177</id><published>2009-12-21T16:35:00.003+08:00</published><updated>2009-12-21T16:51:19.773+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="gcc linux link"/><title type='text'>compiler的問題</title><summary type="text">最近有遇到compiler的問題廠商有提供幾個library給我們使用，libcommon.a而我自己寫了幾個測試程式要來測試這個library能不能使用。當我寫完以後要compiler成執行檔結果就發生底下的問題#gcc -O3 -I../Include -c Testlib.c#gcc -L../lib -lcommon  Testlib.o -o TestlibTestlib.o: In function `main&#39;:Testlib.o(.text+0x44): undefined reference to `Lib_Init&#39;Testlib.o(.text+0x7c): undefined reference to `Lib_Write&#39;Testlib.o(.text+0x98): undefined reference to `Lib_UnInit&#39;collect2: ld </summary><link rel='replies' type='application/atom+xml' href='http://ericforyou.blogspot.com/feeds/7777144613948438177/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4904707193105813359/7777144613948438177' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4904707193105813359/posts/default/7777144613948438177'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4904707193105813359/posts/default/7777144613948438177'/><link rel='alternate' type='text/html' href='http://ericforyou.blogspot.com/2009/12/compiler.html' title='compiler的問題'/><author><name>哲之地</name><uri>http://www.blogger.com/profile/00427827012094627222</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-4904707193105813359.post-5134927842957119170</id><published>2009-12-05T20:51:00.003+08:00</published><updated>2009-12-07T13:18:30.784+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="DNS google"/><title type='text'>Google 開放DNS 的查詢</title><summary type="text">看到網路新聞，Google開放它們自己的DNS Server給全世界。以前在台灣網路剛盛起，台灣只有一個DNS Server可供查詢，那就是中華電信的DNS Server 168.95.1.1，現在又多出一個選擇8.8.8.88.8.4.4以上是Google開放的DNS，上面的IP選的真的很好，也很好記。</summary><link rel='replies' type='application/atom+xml' href='http://ericforyou.blogspot.com/feeds/5134927842957119170/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4904707193105813359/5134927842957119170' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4904707193105813359/posts/default/5134927842957119170'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4904707193105813359/posts/default/5134927842957119170'/><link rel='alternate' type='text/html' href='http://ericforyou.blogspot.com/2009/12/google-dns.html' title='Google 開放DNS 的查詢'/><author><name>哲之地</name><uri>http://www.blogger.com/profile/00427827012094627222</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-4904707193105813359.post-1667556326299193076</id><published>2009-11-02T13:22:00.001+08:00</published><updated>2009-11-02T13:25:35.704+08:00</updated><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="Network"/><title type='text'>如何從Linux系統抓MAC Address</title><summary type="text">在Linux 平台上面，可以使用ioctl的方式來得知網路的的MAC Address.-----------------------#include #include  /* for strncpy */#include #include #include #include #include intmain(){int fd;struct ifreq ifr;fd = socket(AF_INET, SOCK_DGRAM, 0);ifr.ifr_addr.sa_family = AF_INET;strncpy(ifr.ifr_name, &quot;eth0&quot;, IFNAMSIZ-1);ioctl(fd, SIOCGIFHWADDR, &amp;amp;ifr);close(fd);/* display result */printf(&quot;%.2x:%.2x:%.2x:%.2x:%.2x:%.2x\n&quot;,</summary><link rel='replies' type='application/atom+xml' href='http://ericforyou.blogspot.com/feeds/1667556326299193076/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4904707193105813359/1667556326299193076' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4904707193105813359/posts/default/1667556326299193076'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4904707193105813359/posts/default/1667556326299193076'/><link rel='alternate' type='text/html' href='http://ericforyou.blogspot.com/2009/11/linuxmac-address.html' title='如何從Linux系統抓MAC Address'/><author><name>哲之地</name><uri>http://www.blogger.com/profile/00427827012094627222</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-4904707193105813359.post-1273836633246312551</id><published>2009-06-23T11:58:00.003+08:00</published><updated>2009-06-23T12:00:29.494+08:00</updated><title type='text'>DOS底下的錯誤訊息導向</title><summary type="text">Redirection of Standard-Errormake all 2&gt; log.txt這樣就可以將錯誤訊息寫入log.txt檔案裡面。</summary><link rel='replies' type='application/atom+xml' href='http://ericforyou.blogspot.com/feeds/1273836633246312551/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4904707193105813359/1273836633246312551' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4904707193105813359/posts/default/1273836633246312551'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4904707193105813359/posts/default/1273836633246312551'/><link rel='alternate' type='text/html' href='http://ericforyou.blogspot.com/2009/06/dos.html' title='DOS底下的錯誤訊息導向'/><author><name>哲之地</name><uri>http://www.blogger.com/profile/00427827012094627222</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-4904707193105813359.post-5366479191150729376</id><published>2009-04-30T22:01:00.001+08:00</published><updated>2009-04-30T22:05:24.268+08:00</updated><title type='text'>寶寶要出生了</title><summary type="text">我老婆懷孕了，最近都在開始準備囤積未來的東西。像是濕紙巾，尿布...等等。每天都去家樂福看一下有沒有特價的商品，如果有特價的商品，就趕快先買起來放。這幾天剛好有看到濕紙巾有在特價，一包39元，平常都是58元。看到這樣，我一口氣就買了24包，先買起來放，不然以後要買，就要花大把的銀子了!!^^</summary><link rel='replies' type='application/atom+xml' href='http://ericforyou.blogspot.com/feeds/5366479191150729376/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4904707193105813359/5366479191150729376' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4904707193105813359/posts/default/5366479191150729376'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4904707193105813359/posts/default/5366479191150729376'/><link rel='alternate' type='text/html' href='http://ericforyou.blogspot.com/2009/04/blog-post.html' title='寶寶要出生了'/><author><name>哲之地</name><uri>http://www.blogger.com/profile/00427827012094627222</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></feed>