<?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-520550864052266561</id><updated>2024-09-10T09:10:16.157+08:00</updated><category term="工作"/><category term="Programming"/><category term="自我進修"/><category term="軟體使用"/><category term="Boot loader"/><category term="Linux"/><category term="Qualcomm"/><category term="心情"/><category term="SMDK6410"/><category term="免費軟體"/><category term="Android"/><category term="WiFi driver"/><category term="生活"/><category term="開發工具"/><category term="DLNA"/><category term="windows"/><category term="Web Gadget"/><category term="遊戲GoogleChrome"/><category term="Arduino"/><category term="ChatGPT"/><category term="Eclipse"/><category term="MAC"/><category term="Office"/><category term="QR Code"/><category term="RS485"/><category term="SDCard"/><category term="TOEIC考試"/><category term="chrome"/><title type='text'>蜂巢人生</title><subtitle type='html'>人生的每一次選擇 就類似在六角房間般的蜂巢 推開任何一扇門</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://hcliu.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/520550864052266561/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://hcliu.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/520550864052266561/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Unknown</name><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>79</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-520550864052266561.post-1528391339422282692</id><published>2023-04-11T13:36:00.001+08:00</published><updated>2023-04-11T13:36:23.556+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Arduino"/><category scheme="http://www.blogger.com/atom/ns#" term="ChatGPT"/><category scheme="http://www.blogger.com/atom/ns#" term="RS485"/><title type='text'>[ChatGPT] 最近的 Arduino 連接一個 RS485 轉換器遇到多餘的 Leading bytes 問題, 想說來用 ChatGPT 解解看好了</title><content type='html'>&lt;p style=&quot;text-align: center;&quot;&gt;&amp;nbsp;最近放在工廠端的 IoT 設備遇到一些問題, 從類比轉數位並透過 RS485 protocol 傳回來的 payload, 多了 6 個 0xFF 的 leading, bytes, 但程式碼架構已經七年沒改過了, 不想針對這問題牽扯到大部分函式, 剛好最近 ChatGPT 那麼紅, 那就來問問它吧&lt;/p&gt;&lt;p style=&quot;text-align: center;&quot;&gt;首先 我先請他&amp;nbsp;&lt;span style=&quot;background-color: #343541; color: #ececf1; font-family: Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; white-space: pre-wrap;&quot;&gt;幫我寫一段 arduino code 移除一個 byte 陣列的前面六個 0xFF 的 bytes&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #343541; color: #ececf1; font-family: Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;/p&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/a/AVvXsEg8f656jXt-dsQDq4i6bYfMXZb0eqoJscOPQYJklUEfwwMnxyBsxzjCAyhmkWwJ9qNeRjWMIzf0Zk7_1l0c4W5FnSxmOIm-vlBgrTnzkI5I3SJhb1gpsBu-WmTbg9huyQWBVF5bhyIwhp7sA5FsNOw0_7QHYwBTWoOlaA5gRtSfhoEhp_wFdm-osvAC&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;653&quot; data-original-width=&quot;713&quot; height=&quot;399&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEg8f656jXt-dsQDq4i6bYfMXZb0eqoJscOPQYJklUEfwwMnxyBsxzjCAyhmkWwJ9qNeRjWMIzf0Zk7_1l0c4W5FnSxmOIm-vlBgrTnzkI5I3SJhb1gpsBu-WmTbg9huyQWBVF5bhyIwhp7sA5FsNOw0_7QHYwBTWoOlaA5gRtSfhoEhp_wFdm-osvAC=w612-h399&quot; width=&quot;612&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;background-color: #343541; color: #ececf1; font-family: Söhne, ui-sans-serif, system-ui, -apple-system, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, Cantarell, &amp;quot;Noto Sans&amp;quot;, sans-serif, &amp;quot;Helvetica Neue&amp;quot;, Arial, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Noto Color Emoji&amp;quot;; font-size: 16px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: center;&quot;&gt;寫得還蠻不錯的其實就透過偵測到非 0xFF 的 byte, 就把陣列在 copy 一次&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;再來我請他優化一下程式碼 不喜歡看到那麼長的一堆code.&lt;/div&gt;&lt;div&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/a/AVvXsEh3P2Uhwl3kC_qOJJJavHg3aoYLvjcD1hyx0TGcE9fMCrh8DsBuTJ6sd7Mj7ppezdJNHqSyWePFZoD5m-9O3nISU7V-Mf_8xHE8cWHL8z48L-9gGt12i7DrZBctULgV7w8Z_3-Np0Rzzs5E5T3hx-p3vGTpqqcDEL9eMg03LgDjq55RB27OZ692A95N&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;667&quot; data-original-width=&quot;718&quot; height=&quot;536&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEh3P2Uhwl3kC_qOJJJavHg3aoYLvjcD1hyx0TGcE9fMCrh8DsBuTJ6sd7Mj7ppezdJNHqSyWePFZoD5m-9O3nISU7V-Mf_8xHE8cWHL8z48L-9gGt12i7DrZBctULgV7w8Z_3-Np0Rzzs5E5T3hx-p3vGTpqqcDEL9eMg03LgDjq55RB27OZ692A95N=w607-h536&quot; width=&quot;607&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;再逼它優化一下&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&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/a/AVvXsEh8yi7dzHxoBaAcaz9cEMClbWUHoyCLR-NXSd9hXnOJO_vIg64H78ownKTx12-Tsyb8MyA9GwRCd-d6d2bhKdrnmn-GaNmta5kagQuTi7PL0axVwfFylrN4xorFGMdYn-a4nkw0qICUfVxQEOa5rk-VjZTkCfpFRgSmuCvABxq5rCymrm89ErIp49V-&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;540&quot; data-original-width=&quot;731&quot; height=&quot;462&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEh8yi7dzHxoBaAcaz9cEMClbWUHoyCLR-NXSd9hXnOJO_vIg64H78ownKTx12-Tsyb8MyA9GwRCd-d6d2bhKdrnmn-GaNmta5kagQuTi7PL0axVwfFylrN4xorFGMdYn-a4nkw0qICUfVxQEOa5rk-VjZTkCfpFRgSmuCvABxq5rCymrm89ErIp49V-=w626-h462&quot; width=&quot;626&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;咦還蠻精簡的, 幫忙弄個 macro 吧，我是個很懶惰的人&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&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/a/AVvXsEhCIZF6LtmfUY_cxw_od0K11jKv_rdXtY6RpMZ9Aua75f93DjQUIe3bEXcGE7GV6FXfTfZR95PFYeTEjY33b8EtxdP4Q31_x4d8zKE2mL70NVReoN6bT75jhdD74_MoYcFkkvFajQaHQxf8hX4qJOTMdGGu1106lSiNpevZoEjxvXV33Ms586syFZPS&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;626&quot; data-original-width=&quot;710&quot; height=&quot;555&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEhCIZF6LtmfUY_cxw_od0K11jKv_rdXtY6RpMZ9Aua75f93DjQUIe3bEXcGE7GV6FXfTfZR95PFYeTEjY33b8EtxdP4Q31_x4d8zKE2mL70NVReoN6bT75jhdD74_MoYcFkkvFajQaHQxf8hX4qJOTMdGGu1106lSiNpevZoEjxvXV33Ms586syFZPS=w628-h555&quot; width=&quot;628&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;強！ 但我想要再精簡程式碼的行數 又要能看得懂&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&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/a/AVvXsEiRcphNjVxomv6SeWCsphVym1GA5D_bqDV5Ib8pe86hd7ILl3YP64Qd3_WykXaCJvdyKj59jKBRaooaCaoG8ApIyr6YuYUyUTtReSsRP29EpaLKQvq46VZDZZ9yPYJVrrOGheH07xGspLUBhLvG8oatZBlR6v2eMhqawpbxD14eIUelGnFk0TkAodsF&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;558&quot; data-original-width=&quot;703&quot; height=&quot;505&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEiRcphNjVxomv6SeWCsphVym1GA5D_bqDV5Ib8pe86hd7ILl3YP64Qd3_WykXaCJvdyKj59jKBRaooaCaoG8ApIyr6YuYUyUTtReSsRP29EpaLKQvq46VZDZZ9yPYJVrrOGheH07xGspLUBhLvG8oatZBlR6v2eMhqawpbxD14eIUelGnFk0TkAodsF=w636-h505&quot; width=&quot;636&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;到這版本其實已經可以接受了, 我只要插個幾行, 跑個幾天測試看看,&amp;nbsp;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;但無聊的我, 再問他有沒有更極簡版本的, 於是乎 如下圖&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&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/a/AVvXsEgejwN2x94G1UZmVDHfuPdEMOagkcptSwN_B_yYvON87176uWqVpJBJ7PSyFiAUhH5GaAwnUAoG71BUFQHtr_l7OsoMHb97A8Er0eLdK3ZvpoA2RD3P7ZMvnK2wHFeKrQY_P_IORJYsHp0cDZxg02YfJ-YtjgeutKFEMLCXTR3MpyyetRYEuSadZEvH&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;470&quot; data-original-width=&quot;717&quot; height=&quot;431&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEgejwN2x94G1UZmVDHfuPdEMOagkcptSwN_B_yYvON87176uWqVpJBJ7PSyFiAUhH5GaAwnUAoG71BUFQHtr_l7OsoMHb97A8Er0eLdK3ZvpoA2RD3P7ZMvnK2wHFeKrQY_P_IORJYsHp0cDZxg02YfJ-YtjgeutKFEMLCXTR3MpyyetRYEuSadZEvH=w657-h431&quot; width=&quot;657&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;還是能產生出來...但最後沒有用這版本... 還蠻節省時間的&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hcliu.blogspot.com/feeds/1528391339422282692/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/520550864052266561/1528391339422282692' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/520550864052266561/posts/default/1528391339422282692'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/520550864052266561/posts/default/1528391339422282692'/><link rel='alternate' type='text/html' href='http://hcliu.blogspot.com/2023/04/chatgpt-arduino-rs485-leading-bytes.html' title='[ChatGPT] 最近的 Arduino 連接一個 RS485 轉換器遇到多餘的 Leading bytes 問題, 想說來用 ChatGPT 解解看好了'/><author><name>Unknown</name><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/a/AVvXsEg8f656jXt-dsQDq4i6bYfMXZb0eqoJscOPQYJklUEfwwMnxyBsxzjCAyhmkWwJ9qNeRjWMIzf0Zk7_1l0c4W5FnSxmOIm-vlBgrTnzkI5I3SJhb1gpsBu-WmTbg9huyQWBVF5bhyIwhp7sA5FsNOw0_7QHYwBTWoOlaA5gRtSfhoEhp_wFdm-osvAC=s72-w612-h399-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-520550864052266561.post-597779451425385544</id><published>2015-10-15T13:40:00.000+08:00</published><updated>2015-10-15T13:40:08.437+08:00</updated><title type='text'>[Driver] HL-340/341 MAC OS driver how to.</title><content type='html'>買了一個 USB to Serial (RS485) 的 dongle.&lt;br /&gt;
&lt;br /&gt;
發現在MAC OS 沒有 driver. 所以就先插到 linux 機器上 用dmesg 及 lsusb 看一下 driver info.&lt;br /&gt;
&lt;br /&gt;
Linux是support的&lt;br /&gt;
&lt;br /&gt;
所以找了很久 終於找到這一篇文章 http://www.codenuke.net/2015/01/nodemcu-install-ch340-usb-to-serial-for-yosemite.html&lt;br /&gt;
&lt;br /&gt;
照著做 下載完pkg檔案 安裝完 插入usb dongle&lt;br /&gt;
&lt;br /&gt;
成功了～&lt;br /&gt;
&lt;br /&gt;
備份一下</content><link rel='replies' type='application/atom+xml' href='http://hcliu.blogspot.com/feeds/597779451425385544/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/520550864052266561/597779451425385544' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/520550864052266561/posts/default/597779451425385544'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/520550864052266561/posts/default/597779451425385544'/><link rel='alternate' type='text/html' href='http://hcliu.blogspot.com/2015/10/driver-hl-340341-mac-os-driver-how-to.html' title='[Driver] HL-340/341 MAC OS driver how to.'/><author><name>Unknown</name><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-520550864052266561.post-8877738035401601680</id><published>2015-10-07T13:39:00.000+08:00</published><updated>2015-10-07T13:39:12.928+08:00</updated><title type='text'>[MAC] OS X El Capitan 10.11 關掉 rootless 功能</title><content type='html'>最近拿了Opencart 2.0.3.1 想要裝在 MACBook上&lt;br /&gt;
&lt;br /&gt;
結果發現 php 中的 mCrypt 模組 一直 無法install成功 （都已經拿 ext/mcrypt/ 中的source code make出 mcrypt.so了)&lt;br /&gt;
&lt;br /&gt;
結果發現是因為更新了OS 10.11 他多了rootless功能&lt;br /&gt;
&lt;br /&gt;
只好照以下步驟關掉它 安裝完 mcrypt.so 之後 再開啟回來&lt;br /&gt;
&lt;br /&gt;
1. Reboot then Press CMD+R&lt;br /&gt;
2. 進入recovery mode 尋找&amp;nbsp; Terminal mode&lt;br /&gt;
3. 輸入 csrutil disable&lt;br /&gt;
4. reboot 重開機&lt;br /&gt;
&lt;br /&gt;
接下來一樣就到&lt;br /&gt;
&lt;br /&gt;
/User/xxxx/php/ext/mcrypt/&lt;br /&gt;
&lt;br /&gt;
1. make&lt;br /&gt;
2. sudo make install&lt;br /&gt;
&lt;br /&gt;
終於成功把 mcrypt.so copy到 /usr/lib/php/extensions/底下&lt;br /&gt;
&lt;br /&gt;
大功告成&lt;br /&gt;
&lt;br /&gt;
再重開機去把它enable回來吧&lt;br /&gt;
輸入 #csrutil enable 即可&lt;br /&gt;
</content><link rel='replies' type='application/atom+xml' href='http://hcliu.blogspot.com/feeds/8877738035401601680/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/520550864052266561/8877738035401601680' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/520550864052266561/posts/default/8877738035401601680'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/520550864052266561/posts/default/8877738035401601680'/><link rel='alternate' type='text/html' href='http://hcliu.blogspot.com/2015/10/mac-os-x-el-capitan-1011-rootless.html' title='[MAC] OS X El Capitan 10.11 關掉 rootless 功能'/><author><name>Unknown</name><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-520550864052266561.post-4610904006186418466</id><published>2015-06-25T13:46:00.002+08:00</published><updated>2015-06-25T13:48:29.182+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="chrome"/><title type='text'>[Tool] Chrome Web Browser 的救星</title><content type='html'>Chrome 瀏覽器的記憶體救星來了&lt;br /&gt;&lt;br /&gt;剛剛據同事Fantasy介紹一套讓Chrome不再佔用太多記憶體的好plugin&lt;br /&gt;&lt;br /&gt;The Great Suspender&lt;br /&gt;&lt;a href=&quot;https://chrome.google.com/webstore/detail/the-great-suspender/klbibkeccnjlkjkiokjodocebajanakg&quot;&gt;https://chrome.google.com/webstore/detail/the-great-suspender/klbibkeccnjlkjkiokjodocebajanakg&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;因為Chrome瀏覽器會隨著開的分頁越來越多 而造成吃掉的記憶體越來越多&lt;br /&gt;&lt;br /&gt;用此plugin會讓你沒常在用的分頁休眠(有人說 幹嘛不關掉就好.. 但你知道的 現在這個資訊爆炸的時代 有時候一隻手要管三間店 很忙的)&lt;br /&gt;&lt;br /&gt;使用前用 2.54GB 的 Chrome browser,&lt;br /&gt;&lt;br /&gt;使用後佔用 1.40GB 足足省了1GB....讚～</content><link rel='replies' type='application/atom+xml' href='http://hcliu.blogspot.com/feeds/4610904006186418466/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/520550864052266561/4610904006186418466' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/520550864052266561/posts/default/4610904006186418466'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/520550864052266561/posts/default/4610904006186418466'/><link rel='alternate' type='text/html' href='http://hcliu.blogspot.com/2015/06/tool-chrome-web-browser.html' title='[Tool] Chrome Web Browser 的救星'/><author><name>Unknown</name><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-520550864052266561.post-9187750105093858068</id><published>2015-06-02T19:01:00.001+08:00</published><updated>2015-06-03T14:17:27.388+08:00</updated><title type='text'>Paypal 測試</title><content type='html'>&lt;form action=&quot;https://www.paypal.com/cgi-bin/webscr&quot; method=&quot;post&quot; target=&quot;_top&quot;&gt;
&lt;input type=&quot;hidden&quot; name=&quot;cmd&quot; value=&quot;_s-xclick&quot;&gt;
&lt;input type=&quot;hidden&quot; name=&quot;hosted_button_id&quot; value=&quot;7RPYGJ52DRG6J&quot;&gt;
&lt;input type=&quot;image&quot; src=&quot;https://www.paypalobjects.com/zh_TW/TW/i/btn/btn_buynowCC_LG_wCUP.gif&quot; border=&quot;0&quot; name=&quot;submit&quot; alt=&quot;PayPal － 更安全、更簡單的線上付款方式！&quot;&gt;
&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;https://www.paypalobjects.com/zh_TW/i/scr/pixel.gif&quot; width=&quot;1&quot; height=&quot;1&quot;&gt;
&lt;/form&gt;


&lt;!-- PayPal Logo --&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;10&quot; cellspacing=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt;&lt;td align=&quot;center&quot;&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td align=&quot;center&quot;&gt;&lt;a href=&quot;https://www.paypal.com/tw/webapps/mpp/paypal-popup?locale.x=zh_TW&quot; title=&quot;了解 PayPal 的服務&quot; onclick=&quot;javascript:window.open(&#39;https://www.paypal.com/tw/webapps/mpp/paypal-popup?locale.x=zh_TW&#39;,&#39;WIPaypal&#39;,&#39;toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width=1060, height=700&#39;); return false;&quot;&gt;&lt;img src=&quot;https://www.paypalobjects.com/webstatic/mktg/logo/bdg_secured_by_pp_2line.png&quot; alt=&quot;了解 PayPal 的服務&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;!-- PayPal Logo --&gt;


&lt;br&gt;
&lt;br&gt;



只是測試而已 請不要亂捐錢給我</content><link rel='replies' type='application/atom+xml' href='http://hcliu.blogspot.com/feeds/9187750105093858068/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/520550864052266561/9187750105093858068' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/520550864052266561/posts/default/9187750105093858068'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/520550864052266561/posts/default/9187750105093858068'/><link rel='alternate' type='text/html' href='http://hcliu.blogspot.com/2015/06/paypal.html' title='Paypal 測試'/><author><name>Unknown</name><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-520550864052266561.post-6888122411016268914</id><published>2015-03-03T14:45:00.000+08:00</published><updated>2015-03-03T14:45:22.418+08:00</updated><title type='text'>[Online tool] 為你的pdf檔案加密</title><content type='html'>剛剛因為突然要為手邊一個pdf檔案加上密碼&lt;br /&gt;
&lt;br /&gt;
用這個線上工具很快 還不錯用 https://www.pdfprotect.net/&lt;br /&gt;
&lt;br /&gt;
給大家參考</content><link rel='replies' type='application/atom+xml' href='http://hcliu.blogspot.com/feeds/6888122411016268914/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/520550864052266561/6888122411016268914' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/520550864052266561/posts/default/6888122411016268914'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/520550864052266561/posts/default/6888122411016268914'/><link rel='alternate' type='text/html' href='http://hcliu.blogspot.com/2015/03/online-tool-pdf.html' title='[Online tool] 為你的pdf檔案加密'/><author><name>Unknown</name><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-520550864052266561.post-8721060149164197399</id><published>2014-05-29T09:47:00.000+08:00</published><updated>2014-05-29T09:53:22.533+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="QR Code"/><category scheme="http://www.blogger.com/atom/ns#" term="免費軟體"/><category scheme="http://www.blogger.com/atom/ns#" term="軟體使用"/><title type='text'>[推薦網站] 免費的QR Code 產生器</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/AVvXsEiNXbglaLEJcPabCrE43g24tRaZWzZm68J0fDgqZ0vaGVxAbrkUXqbqeGRTTmiNZR_W2N2O6wgAEPQyBkQZ1x4xX9rvimPFC0e_gMmPMfzxk7x6MKj7VWGx87ZVbjrA6ZpGjh_Q1eePDb4/s1600/140429094328.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/AVvXsEiNXbglaLEJcPabCrE43g24tRaZWzZm68J0fDgqZ0vaGVxAbrkUXqbqeGRTTmiNZR_W2N2O6wgAEPQyBkQZ1x4xX9rvimPFC0e_gMmPMfzxk7x6MKj7VWGx87ZVbjrA6ZpGjh_Q1eePDb4/s1600/140429094328.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
最近公司在製作user guide需要把我們開發的APP在Google/Apple store的網址&lt;br /&gt;
產生成QR Code&lt;br /&gt;
&lt;br /&gt;
所以到Google查詢了一下 第一名&lt;br /&gt;
&lt;br /&gt;
QuickMark 製作條碼網站&lt;br /&gt;
http://www.quickmark.com.tw/Cht/qrcode-datamatrix-generator/default.asp?qrLink&lt;br /&gt;
&lt;br /&gt;
到網站後&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/AVvXsEjJAXwCl0TxU6518oTL7HugL1RLVV24-rkHeoXEOFgUkmVuLds9b662J-nLuX1ilrEPjCg-6LfeHelB65p7k3Xa5hyxW-yavNJdNrhJa2PcuSzLJOg2zuSjTdGxQTHCrQHqV2Rv001eGh0/s1600/%E8%9E%A2%E5%B9%95%E6%88%AA%E5%9C%96+2014-05-29+09.44.35.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/AVvXsEjJAXwCl0TxU6518oTL7HugL1RLVV24-rkHeoXEOFgUkmVuLds9b662J-nLuX1ilrEPjCg-6LfeHelB65p7k3Xa5hyxW-yavNJdNrhJa2PcuSzLJOg2zuSjTdGxQTHCrQHqV2Rv001eGh0/s1600/%E8%9E%A2%E5%B9%95%E6%88%AA%E5%9C%96+2014-05-29+09.44.35.png&quot; height=&quot;124&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
上方有可供選擇的類型&lt;br /&gt;
&lt;br /&gt;
在此 我選擇網頁類型&lt;br /&gt;
&lt;br /&gt;
然後 在底下網址將網址列輸入進去&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/AVvXsEhYAPWHUH9OJ8lSlCmin8uv2VwOPdmq6Mf5nqVjfE9LsOrITAbrMG8T44gp_tOeNdjJNbyhDyPf40KLp3SiKrC1tmloQz1lnPBcINaZVwQ3OGtCfI1VlpmBxg5A6toCNW-42kk7hPddPzE/s1600/%E8%9E%A2%E5%B9%95%E6%88%AA%E5%9C%96+2014-05-29+09.45.44.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/AVvXsEhYAPWHUH9OJ8lSlCmin8uv2VwOPdmq6Mf5nqVjfE9LsOrITAbrMG8T44gp_tOeNdjJNbyhDyPf40KLp3SiKrC1tmloQz1lnPBcINaZVwQ3OGtCfI1VlpmBxg5A6toCNW-42kk7hPddPzE/s1600/%E8%9E%A2%E5%B9%95%E6%88%AA%E5%9C%96+2014-05-29+09.45.44.png&quot; height=&quot;225&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
然後再按下產生的按鈕&lt;br /&gt;
&lt;br /&gt;
接下來 右邊就產生QR Code的image囉 就視需求下載即可&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://hcliu.blogspot.com/feeds/8721060149164197399/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/520550864052266561/8721060149164197399' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/520550864052266561/posts/default/8721060149164197399'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/520550864052266561/posts/default/8721060149164197399'/><link rel='alternate' type='text/html' href='http://hcliu.blogspot.com/2014/05/qr-code.html' title='[推薦網站] 免費的QR Code 產生器'/><author><name>Unknown</name><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/AVvXsEiNXbglaLEJcPabCrE43g24tRaZWzZm68J0fDgqZ0vaGVxAbrkUXqbqeGRTTmiNZR_W2N2O6wgAEPQyBkQZ1x4xX9rvimPFC0e_gMmPMfzxk7x6MKj7VWGx87ZVbjrA6ZpGjh_Q1eePDb4/s72-c/140429094328.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-520550864052266561.post-8222783217208071709</id><published>2014-05-27T11:42:00.000+08:00</published><updated>2014-05-27T11:42:05.743+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="Eclipse"/><title type='text'>[Android Develop] Eclipse 鬼打牆實錄 一直無法建立新APP</title><content type='html'>最近不知道為什麼 Eclipse 去新建一個 Android APP 一直無法成功&lt;br /&gt;
&amp;nbsp;- src/底下沒任何new MainActivity.java&lt;br /&gt;
&amp;nbsp;- layout/底下沒有&amp;nbsp; default 的 layout.xml &lt;br /&gt;
&lt;br /&gt;
總是停在 Finish 按鈕的頁面 (Can&#39;t create a new Android application)&lt;br /&gt;
&lt;br /&gt;
以下是我的鬼打牆過程&lt;br /&gt;
&lt;br /&gt;
1. 重新安裝Eclipse (Re-install eclipse) … Fail&lt;br /&gt;2. 重新安裝ADT plug-in (Re-install Android Development Tool plug-in) … Fail&lt;br /&gt;3. 重新安裝SDK tools (Try download other SDK tools) … Fail&lt;br /&gt;4. 重新安裝JDK7 (Try to re-install JDK 7)… Fail - 原本以為是Java Complier 問題, 結果還是...&lt;br /&gt;5. 重新安裝JRE7 (Try to re-install JRE 7)… Fail - JRE說 關我啥事！&lt;br /&gt;6. 把Eclipse 的workspace刪除或換一個目錄 (Remove workspace of eclipse) … Fail&lt;br /&gt;7. 最後一招 直接檢查 workspace/.metadata/.log 這個檔案&lt;br /&gt;
&amp;nbsp;- 發現它指向另一個 eclipse. -&amp;nbsp; 從這裡發現我除了本身有自行到官網下載Eclipse 除此之外&lt;br /&gt;
還下載了Google 的Android整合開發工具(ADT bundle) 總算找到原因 但也花了一天...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
最後 留下一個 Eclipse 然後再到 commend line mode 去以clean mode執行&lt;br /&gt;
&lt;br /&gt;
#eclipse -clean&lt;br /&gt;
&lt;br /&gt;
就這樣&lt;br /&gt;
&lt;br /&gt;
我的Android APP建立精靈終於可以建一個新的APP了</content><link rel='replies' type='application/atom+xml' href='http://hcliu.blogspot.com/feeds/8222783217208071709/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/520550864052266561/8222783217208071709' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/520550864052266561/posts/default/8222783217208071709'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/520550864052266561/posts/default/8222783217208071709'/><link rel='alternate' type='text/html' href='http://hcliu.blogspot.com/2014/05/android-develop-eclipse-app.html' title='[Android Develop] Eclipse 鬼打牆實錄 一直無法建立新APP'/><author><name>Unknown</name><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-520550864052266561.post-1026639222695546966</id><published>2012-02-08T17:04:00.001+08:00</published><updated>2012-02-08T17:04:03.522+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Office"/><title type='text'>Office</title><content type='html'>Office&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/AVvXsEgv_SeB06lWpC_AfIFb9VVrN1OqcIV8AGhrBgyjdL36N1PKulK8JnxVkd231M8FWT9RgjBmpA-7umu9vrZRXQ8uQDpRlNqrLMuq0RaBBakHFABI_yhDnP-AqfAdxmYBU3anbgJAAH9oEc8/s640/blogger-image-715317346.jpg&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/AVvXsEgv_SeB06lWpC_AfIFb9VVrN1OqcIV8AGhrBgyjdL36N1PKulK8JnxVkd231M8FWT9RgjBmpA-7umu9vrZRXQ8uQDpRlNqrLMuq0RaBBakHFABI_yhDnP-AqfAdxmYBU3anbgJAAH9oEc8/s640/blogger-image-715317346.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hcliu.blogspot.com/feeds/1026639222695546966/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/520550864052266561/1026639222695546966' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/520550864052266561/posts/default/1026639222695546966'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/520550864052266561/posts/default/1026639222695546966'/><link rel='alternate' type='text/html' href='http://hcliu.blogspot.com/2012/02/office.html' title='Office'/><author><name>Unknown</name><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/AVvXsEgv_SeB06lWpC_AfIFb9VVrN1OqcIV8AGhrBgyjdL36N1PKulK8JnxVkd231M8FWT9RgjBmpA-7umu9vrZRXQ8uQDpRlNqrLMuq0RaBBakHFABI_yhDnP-AqfAdxmYBU3anbgJAAH9oEc8/s72-c/blogger-image-715317346.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-520550864052266561.post-1179091782119938076</id><published>2011-06-24T12:23:00.007+08:00</published><updated>2011-06-24T12:31:42.625+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="MAC"/><category scheme="http://www.blogger.com/atom/ns#" term="Programming"/><title type='text'>MAC OS X上的 Beyond compare-like 應用程式</title><content type='html'>&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://www.sourcegear.com/images/screenshots/diffmerge/file_window_diffs_with_context.PNG&quot;&gt;&lt;img style=&quot;cursor:pointer; cursor:hand;width: 320px; height: 320px;&quot; src=&quot;http://www.sourcegear.com/images/screenshots/diffmerge/file_window_diffs_with_context.PNG&quot; border=&quot;0&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;在MAC 寫程式 或是要比對文件所需的compare tool&lt;br /&gt;&lt;br /&gt;找了很久 找到了一套免費的&lt;br /&gt;&lt;br /&gt;DiffMerge&lt;br /&gt;http://www.sourcegear.com/diffmerge/index.html&lt;br /&gt;&lt;br /&gt;可以取代Win/Linux 上的 Beyond compare...(&amp;lt;--為啥你不出MAC版的)&lt;br /&gt;&lt;br /&gt;推薦給您</content><link rel='replies' type='application/atom+xml' href='http://hcliu.blogspot.com/feeds/1179091782119938076/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/520550864052266561/1179091782119938076' title='4 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/520550864052266561/posts/default/1179091782119938076'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/520550864052266561/posts/default/1179091782119938076'/><link rel='alternate' type='text/html' href='http://hcliu.blogspot.com/2011/06/mac-os-x-beyond-compare-like.html' title='MAC OS X上的 Beyond compare-like 應用程式'/><author><name>Unknown</name><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-520550864052266561.post-2075784825853415527</id><published>2011-05-12T08:55:00.000+08:00</published><updated>2011-05-14T04:34:36.835+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="遊戲GoogleChrome"/><title type='text'>Angry Birds 也可以在 Google Chrome瀏覽器上玩囉~</title><content type='html'>&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://lh6.googleusercontent.com/RsSA-JzPTCytLUkGu_IMNE6g_6UxbO4neuY_iofe3SAEyC5AzbdRnkrqVsUOYIt1kSmhAZ053Q=s400-e365-h275&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 275px;&quot; src=&quot;https://lh6.googleusercontent.com/RsSA-JzPTCytLUkGu_IMNE6g_6UxbO4neuY_iofe3SAEyC5AzbdRnkrqVsUOYIt1kSmhAZ053Q=s400-e365-h275&quot; alt=&quot;&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;Angry birds 這個在 iPhone, Android平台上熱門的遊戲&lt;br /&gt;&lt;br /&gt;現在也搬到 Google Chrome web 瀏覽器上玩囉&lt;br /&gt;&lt;br /&gt;網址在此 &lt;a href=&quot;https://chrome.google.com/webstore/detail/aknpkdffaafgjchaibgeefbgmgeghloj?hl=en-US#&quot;&gt;https://chrome.google.com/webstore/detail/aknpkdffaafgjchaibgeefbgmgeghloj?hl=en-US#&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;要記得把網址打到 Google Chrome 瀏覽器上.&lt;br /&gt;&lt;br /&gt;Google Chrome 瀏覽器下載網址:&lt;br /&gt;&lt;a href=&quot;http://www.google.com/chrome/index.html?hl=zh_tw&amp;amp;brand=CHMB&amp;amp;utm_campaign=zh_tw&amp;amp;utm_source=zh_tw-ha-apac-tw-sk&amp;amp;utm_medium=ha&quot;&gt;http://www.google.com/chrome/index.html?hl=zh_tw&amp;amp;brand=CHMB&amp;amp;utm_campaign=zh_tw&amp;amp;utm_source=zh_tw-ha-apac-tw-sk&amp;amp;utm_medium=ha&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://hcliu.blogspot.com/feeds/2075784825853415527/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/520550864052266561/2075784825853415527' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/520550864052266561/posts/default/2075784825853415527'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/520550864052266561/posts/default/2075784825853415527'/><link rel='alternate' type='text/html' href='http://hcliu.blogspot.com/2011/05/angry-birds-google-chrome.html' title='Angry Birds 也可以在 Google Chrome瀏覽器上玩囉~'/><author><name>Unknown</name><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://lh6.googleusercontent.com/RsSA-JzPTCytLUkGu_IMNE6g_6UxbO4neuY_iofe3SAEyC5AzbdRnkrqVsUOYIt1kSmhAZ053Q=s72-h275-c-e365" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-520550864052266561.post-3906407784274300365</id><published>2011-04-26T14:07:00.002+08:00</published><updated>2011-04-26T14:13:14.128+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><title type='text'>計算檔案行數</title><content type='html'>通常想到計算檔案行數 第一個想到的就是 wc 這支command(在linux上)&lt;br /&gt;&lt;br /&gt;wc 我猜是word count的簡寫...當然他不只可以算字數 也可以算行數&lt;br /&gt;&lt;br /&gt;對於沒事想要看看自己程式碼寫了多少行或是多少字的人 是個方便的工具&lt;br /&gt;&lt;br /&gt;先來看看他的help&lt;br /&gt;&lt;br /&gt;#wc --help&lt;br /&gt;&lt;br /&gt;Usage: wc [OPTION]... [FILE]...&lt;br /&gt;  or:  wc [OPTION]... --files0-from=F&lt;br /&gt;Print newline, word, and byte counts for each FILE, and a total line if&lt;br /&gt;more than one FILE is specified.  With no FILE, or when FILE is -,&lt;br /&gt;read standard input.&lt;br /&gt;  -c, --bytes            print the byte counts&lt;br /&gt;  -m, --chars            print the character counts&lt;br /&gt;  -l, --lines            print the newline counts&lt;br /&gt;      --files0-from=F    read input from the files specified by&lt;br /&gt;                           NUL-terminated names in file F;&lt;br /&gt;                           If F is - then read names from standard input&lt;br /&gt;  -L, --max-line-length  print the length of the longest line&lt;br /&gt;  -w, --words            print the word counts&lt;br /&gt;      --help     display this help and exit&lt;br /&gt;      --version  output version information and exit&lt;br /&gt;&lt;br /&gt;Report wc bugs to bug-coreutils@gnu.org&lt;br /&gt;GNU coreutils home page: &lt;http: org=&quot;&quot; software=&quot;&quot; coreutils=&quot;&quot;&gt;&lt;br /&gt;General help using GNU software: &lt;http: org=&quot;&quot; gethelp=&quot;&quot;&gt;&lt;br /&gt;Report wc translation bugs to &lt;http: org=&quot;&quot; team=&quot;&quot;&gt;&lt;br /&gt;&lt;br /&gt;簡單的說 要算某支檔案多少字 多少行 就用&lt;br /&gt;&lt;br /&gt;#wc -w [file name] 或是 #wc -w * (表示目錄下所有檔案累計)&lt;br /&gt;&lt;br /&gt;要算行數 也很簡單&lt;br /&gt;&lt;br /&gt;#wc -l [file name] 或是 #wc -l  * (表示目錄下所有檔案累計)&lt;br /&gt;&lt;br /&gt;若是想要連sub-directory(所有子目錄都統計的話) 就用&lt;br /&gt;&lt;br /&gt;#wc -l `find [folder name] -type f` 搭配find指令 可以視需求統計您需要的檔案類型&lt;br /&gt;&lt;br /&gt;以上 應該是對於純文字檔比較適用&lt;br /&gt;&lt;br /&gt;要用binary檔案來count 請自行想辦法~(阿 我也不知道你要count啥)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/http:&gt;&lt;/http:&gt;&lt;/http:&gt;</content><link rel='replies' type='application/atom+xml' href='http://hcliu.blogspot.com/feeds/3906407784274300365/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/520550864052266561/3906407784274300365' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/520550864052266561/posts/default/3906407784274300365'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/520550864052266561/posts/default/3906407784274300365'/><link rel='alternate' type='text/html' href='http://hcliu.blogspot.com/2011/04/blog-post.html' title='計算檔案行數'/><author><name>Unknown</name><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-520550864052266561.post-7861839441414834709</id><published>2010-11-03T10:56:00.003+08:00</published><updated>2010-11-03T11:00:06.762+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="工作"/><title type='text'>[Android] 讓App或是System設定能夠寫入某Property的權限</title><content type='html'>找到 system/core/init/property_service.c&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;找到 struct {&lt;/div&gt;&lt;div&gt;    const char *prefix;&lt;/div&gt;&lt;div&gt;    unsigned int uid;&lt;/div&gt;&lt;div&gt;    unsigned int gid;&lt;/div&gt;&lt;div&gt;} property_perms[] = { &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;裡如要加入某APP或System service可以寫入 &quot;ABCD.XX.XX&quot;的權限&lt;/div&gt;&lt;div&gt;加入&lt;/div&gt;&lt;div&gt;&lt;div&gt;  { &quot;abcd.xx.&quot;, AID_APP,     0 },  &lt;/div&gt;&lt;div&gt;  { &quot;abcd.xx.&quot;, AID_SYSTEM,      0 },  &lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;就可以啦&lt;/div&gt;&lt;div&gt;在此作個紀錄 以免每次都要再找或問人&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hcliu.blogspot.com/feeds/7861839441414834709/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/520550864052266561/7861839441414834709' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/520550864052266561/posts/default/7861839441414834709'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/520550864052266561/posts/default/7861839441414834709'/><link rel='alternate' type='text/html' href='http://hcliu.blogspot.com/2010/11/android-appsystemproperty.html' title='[Android] 讓App或是System設定能夠寫入某Property的權限'/><author><name>Unknown</name><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-520550864052266561.post-891227854463738855</id><published>2010-10-25T21:32:00.003+08:00</published><updated>2010-10-25T21:35:04.752+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="DLNA"/><category scheme="http://www.blogger.com/atom/ns#" term="工作"/><category scheme="http://www.blogger.com/atom/ns#" term="軟體使用"/><title type='text'>[工作] Wireshake 使用筆記</title><content type='html'>記錄一下 最近用這東西抓封包&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;(1) 要filter 某IP 可以用 ip.src == xx.xx.xx.xx &lt;/div&gt;&lt;div&gt;(2) ip.src 是來源IP address.&lt;/div&gt;&lt;div&gt;(3) ip.dst 是目的IP address.&lt;/div&gt;&lt;div&gt;(4) udp.port == 1900 就可以filter SSDP的封包 抓upnp 的log很好用&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;紀錄一下&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hcliu.blogspot.com/feeds/891227854463738855/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/520550864052266561/891227854463738855' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/520550864052266561/posts/default/891227854463738855'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/520550864052266561/posts/default/891227854463738855'/><link rel='alternate' type='text/html' href='http://hcliu.blogspot.com/2010/10/wireshake.html' title='[工作] Wireshake 使用筆記'/><author><name>Unknown</name><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-520550864052266561.post-6475565975229665416</id><published>2009-12-07T22:29:00.004+08:00</published><updated>2009-12-07T23:04:52.832+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="DLNA"/><title type='text'>DLNA-回答上篇網友的問題</title><content type='html'>DLNA 是我在研究所的時候 所follow實作的一向數位家庭共通標準..&lt;div&gt;那時候guideline剛好在訂 教授也對這有興趣 所以就實作了一篇相關的論文&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;網友Alfrad問:&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, Verdana, Arial, sans-serif; font-size: small; color: rgb(51, 51, 51); line-height: 18px; &quot;&gt;HC...你家裡有用過DLNA嗎?效果如何啊，是不是真如介紹所說的DLNA產品間不用什麼設定就可以相互傳輸資料。另外，我很好奇，要如何才能使電子產品具備DLNA功能呢?除了該產品本身一定要有網路連結功能外，是用寫程式的方式嗎?那是用哪種台平撰寫?可以解迷一下嗎?&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, Verdana, Arial, sans-serif; font-size: small; color: rgb(51, 51, 51); line-height: 18px; &quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;我來一條一條回應一下好了 順便變成這篇文章&lt;/div&gt;&lt;div&gt;1. 我沒有買過任何相關dlna的產品, 不過現在好像越來越多廠商有出, ex: Sony的液晶電視,筆記型電腦 PSP, PS3; MS的Xbox360, 還有一些有貼上DLNA的NAS..接下來還有一堆PMP會支援這個標準&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;2. DLNA裡頭有規範auto-IP的測試項目, 基本上你拿到家裡的環境後,讓它自動取得IP address或是透過wireless的WPS(Wifi Protected Setup)功能來簡單按一個鈕讓裝置與WiFi AP配對來加入至家中的network環境上. 基本上只要能夠加到 Home LAN裡頭, 且遵照著DLNA的標準的device就能分享及互通這些多媒體格式.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;3. 至於要怎麼具備DLNA的功能...這需要貴公司加入DLNA.org取得member或是買它的guideline(這應該不便宜). 遵照著裡頭要你去兜的function (如 UPnP 網路 protocol stack)&lt;/div&gt;&lt;div&gt;然後再拿去實驗室裡頭認證, 取得logo 就是一台具備dlna功能的device囉..詳細可能得到網路上google一下, reference超多的. http://www.dlna.org 協會的官網也有豐富的資料和他要達到的理念.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;4. 至於用哪個平台...linux/win32 用 c/c++/java都有人implement. 有些很有名的open source 專案&lt;/div&gt;&lt;div&gt;在 &lt;a href=&quot;http://elinux.org/DLNA_Open_Source_Projects&quot;&gt;http://elinux.org/DLNA_Open_Source_Projects&lt;/a&gt; 這個link你可以看到很多相關的內容..&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;5. 不曉得這樣子有沒有解謎了..&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hcliu.blogspot.com/feeds/6475565975229665416/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/520550864052266561/6475565975229665416' title='4 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/520550864052266561/posts/default/6475565975229665416'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/520550864052266561/posts/default/6475565975229665416'/><link rel='alternate' type='text/html' href='http://hcliu.blogspot.com/2009/12/dlna.html' title='DLNA-回答上篇網友的問題'/><author><name>Unknown</name><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-520550864052266561.post-8511932059641218447</id><published>2009-12-01T21:56:00.002+08:00</published><updated>2009-12-01T21:59:55.807+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="DLNA"/><category scheme="http://www.blogger.com/atom/ns#" term="工作"/><title type='text'>換新工作邁入第三週囉</title><content type='html'>來到新工作的環境已經第三週(其實是第10天)囉&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;已經慢慢適應跟以前不一樣的生活&lt;/div&gt;&lt;div&gt;工作要專心 晚上八點多走是正常 ..&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;新工作的任務是弄研究所論文所做的DLNA&lt;/div&gt;&lt;div&gt;我們要將device加入這個stack以及要驗證過logo&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;經過這10天的study,  K spec. 以及看一些 open source的library&lt;/div&gt;&lt;div&gt;心裡應該是有底了~ 接下來就是要porting到我們的platform囉(看起來這是最大的effort)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;加油..希望能夠如期完成 讓長官們拿出去demo..&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hcliu.blogspot.com/feeds/8511932059641218447/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/520550864052266561/8511932059641218447' title='2 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/520550864052266561/posts/default/8511932059641218447'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/520550864052266561/posts/default/8511932059641218447'/><link rel='alternate' type='text/html' href='http://hcliu.blogspot.com/2009/12/blog-post.html' title='換新工作邁入第三週囉'/><author><name>Unknown</name><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-520550864052266561.post-2970027724243206230</id><published>2009-11-04T15:58:00.003+08:00</published><updated>2009-11-04T17:19:58.663+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="工作"/><title type='text'>[Android] 安裝開發環境</title><content type='html'>&lt;div&gt;Steps:&lt;/div&gt;&lt;div&gt;&lt;ol&gt;&lt;li&gt;到 eclipse官方網站下載 eclipse IDE tool (&lt;a href=&quot;http://www.eclipse.org/downloads/&quot;&gt;http://www.eclipse.org/downloads/&lt;/a&gt;) 找Eclipse Classic 3.5.1 (162 MB) 這個就對了 developer.android網站建議 3.5以上 選classic版本&lt;/li&gt;&lt;li&gt;到 &lt;a href=&quot;http://developer.android.com/intl/zh-TW/sdk/installing.html&quot;&gt;http://developer.android.com/intl/zh-TW/sdk/installing.html&lt;/a&gt; 下載sdk 目前我下載最新的 android 2.0 sdk, 裡頭有個 sdk download tool 用這個來下載sdk offline. 對了 如果遇到error, 記得把 https://dl-ssl.google.com/android/repository/repository.xml 這段網址裡頭的 https改成http喔 這樣子就能成功retrieve sdk了&lt;/li&gt;&lt;li&gt;將解開來的sdk/tools 的路徑加到系統變數的PATH中&lt;/li&gt;&lt;li&gt;打開eclipse 照著這篇安裝ADT(&lt;a href=&quot;http://developer.android.com/intl/zh-TW/sdk/eclipse-adt.html&quot;&gt;http://developer.android.com/intl/zh-TW/sdk/eclipse-adt.html&lt;/a&gt;)&lt;/li&gt;&lt;li&gt;大致上到這裡就可以開始寫code了&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hcliu.blogspot.com/feeds/2970027724243206230/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/520550864052266561/2970027724243206230' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/520550864052266561/posts/default/2970027724243206230'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/520550864052266561/posts/default/2970027724243206230'/><link rel='alternate' type='text/html' href='http://hcliu.blogspot.com/2009/11/android.html' title='[Android] 安裝開發環境'/><author><name>Unknown</name><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-520550864052266561.post-8887222340335687006</id><published>2009-11-04T13:12:00.004+08:00</published><updated>2009-11-04T13:40:58.410+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="自我進修"/><title type='text'>[課程重點] Linux 基礎指令班-2</title><content type='html'>上一篇介紹一些重要且常用的指令之後 這篇來討論一些小細節&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;(1) kill 指令-其實他只是送個signal給process 讓process作他需要做的事情.以下是常用的訊號&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;HUP/1: #&gt; kill -HUP [ProcessID] or kill -1 [ProcessID] 將連線中的process 使其斷線&lt;/li&gt;&lt;li&gt;INT/2: 送出ctrl+C 中斷訊號&lt;/li&gt;&lt;li&gt;KILL/9: 若寫出一個無法正常結束的程式就用 #&gt;kill -9 [ProcessID] 吧.強制終止&lt;/li&gt;&lt;li&gt;TERM/15: 這是送出一個正常結束的訊號. #default.&lt;/li&gt;&lt;/ul&gt;(2) mount/unmount指令-掛載檔案系統的指令, 掛載隨身碟/網路磁碟/光碟機/檔案系統檔案..&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;mount [options] device directory&lt;/li&gt;&lt;li&gt;詳細檔案系統參數就 #&gt; man mount 吧&lt;/li&gt;&lt;/ul&gt;(3) ln檔案連結指令, 用 #&gt; ls -li來看他是否有作soft/hard link&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;#&gt;ln [options] file link/directory&lt;/li&gt;&lt;li&gt;ex: #&gt;ln -s test.c test_ln.c 建立一個類似捷徑的soft link, i-node#不會一樣.類似指標的意義&lt;/li&gt;&lt;li&gt;ex: #&gt;ln -i test.c test_hln.c 產生出一個檔案大小一樣且i-node#一樣的檔案(ls -li第三個欄位有紀錄這個檔案有幾個hard link)&lt;/li&gt;&lt;/ul&gt;(4) du/df 檔案使用檢視指令&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;ex: #&gt;du -m 當前目錄所有檔案使用空間情況(-m means 以MB為單位顯示)&lt;/li&gt;&lt;li&gt;ex: #&gt;df -m 觀察硬碟空間使用情形(-m means 以MB為單位顯示)&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hcliu.blogspot.com/feeds/8887222340335687006/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/520550864052266561/8887222340335687006' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/520550864052266561/posts/default/8887222340335687006'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/520550864052266561/posts/default/8887222340335687006'/><link rel='alternate' type='text/html' href='http://hcliu.blogspot.com/2009/11/linux-2.html' title='[課程重點] Linux 基礎指令班-2'/><author><name>Unknown</name><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-520550864052266561.post-4169545589377746663</id><published>2009-11-04T11:23:00.006+08:00</published><updated>2009-11-04T13:40:40.588+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="自我進修"/><title type='text'>[課程重點] Linux 基礎指令班-1</title><content type='html'>在2009/06/27-28 上的這門課 現在把重點精要寫在這邊&lt;br /&gt;&lt;br /&gt;如果需要體驗的話 以下兩個方式可以在windows system下很迅速的體驗linux作業系統&lt;br /&gt;1. 安裝 cygwin: 這個東西就是run在windows下的一套unix like環境.當然也可以很正常的利用這裡頭的tool來compile 程式碼, 作一些在linux的事情,詳情請見 http://www.cygwin.com/ 這個網址&lt;br /&gt;&lt;br /&gt;2. 安裝virtual box虛擬機器環境並且在裡頭安裝一套linux OS, virtual box(http://www.virtualbox.org/) Ubuntu Linux OS (http://www.ubuntu-tw.org/)&lt;br /&gt;&lt;br /&gt;安裝完上述的環境之後 就可以開始測試以下這些command囉, 節錄比較重要和常用的&lt;br /&gt;1. 指令說明： man, info 這兩隻可以查指令的說明. 當然有時候也可以鍵入 #&gt;指令 -help 或是 ?&lt;div&gt;&lt;br /&gt;2. 系統管理員指令: su/sudo, 通常建議不要用root login來做事.如果想要變身為root(超級使用者）用su指令&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;3. 系統訊息： dmesg 用這個指令可以看到目前driver是否有install以及一些系統訊息&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;4. 程序相關指令: ps(列出使用者所run的process), pstree(檢視父子process關係), kill(送訊號給process, 殺掉他也是送個訊號), fg/bg/job(將process切換至背景/前景模式), top(檢視目前系統process runnig資訊以及cpu/memory使用率)&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;5. 網路相關命令：ifconfig (跟windows的ipconfig相關且更強大), netstat/ping/route(檢視網路狀況)&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;6. 壓縮指令：壓縮 (tar -zcvf) 解壓縮(tar -zxvf)&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;7. 文字尋找,檔案搜尋: ls, find, grep 等等...&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hcliu.blogspot.com/feeds/4169545589377746663/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/520550864052266561/4169545589377746663' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/520550864052266561/posts/default/4169545589377746663'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/520550864052266561/posts/default/4169545589377746663'/><link rel='alternate' type='text/html' href='http://hcliu.blogspot.com/2009/11/linux.html' title='[課程重點] Linux 基礎指令班-1'/><author><name>Unknown</name><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-520550864052266561.post-4961248023786037862</id><published>2009-11-04T09:57:00.002+08:00</published><updated>2014-05-29T11:31:08.684+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Qualcomm"/><category scheme="http://www.blogger.com/atom/ns#" term="WiFi driver"/><category scheme="http://www.blogger.com/atom/ns#" term="工作"/><title type='text'>TI Wl1271 告一段落</title><content type='html'>Porting 這顆 wifi device driver 要注意幾件事情：&lt;br /&gt;
&lt;br /&gt;
1. 底層的sdio要通 送 CMD0,5,3,7 要能成功之後作CMD52/53 大致上 fireware download就okey了&lt;br /&gt;
2. 中斷問題：這東西比較depends on platform. 這讓我們改了一些中斷在kernel的函式.用 customization 的中斷pin..就成功了 (本來偷用 Ethernet chip的中斷pin, 後來自行仿造一個來用 就成功了)&lt;br /&gt;
&lt;br /&gt;
大致上 wifi device driver就起來了, 也能順利的與chip firmware 作溝通.. 接下來要調 RF參數讓wlan connect到AP了..&lt;br /&gt;
&lt;br /&gt;
以上是上星期以前的事情..現在上面又要我們survey CSR的 wlan chip..上週開會回來..&lt;br /&gt;
CSR的 BT+WLAN 好像可以省掉我們porting device driver的痛苦..看來 我們又只要打電話給FAE就好了..</content><link rel='replies' type='application/atom+xml' href='http://hcliu.blogspot.com/feeds/4961248023786037862/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/520550864052266561/4961248023786037862' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/520550864052266561/posts/default/4961248023786037862'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/520550864052266561/posts/default/4961248023786037862'/><link rel='alternate' type='text/html' href='http://hcliu.blogspot.com/2009/11/ti-wl1271.html' title='TI Wl1271 告一段落'/><author><name>Unknown</name><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-520550864052266561.post-5290571633009220201</id><published>2009-11-04T09:51:00.003+08:00</published><updated>2009-11-04T09:56:53.150+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="工作"/><category scheme="http://www.blogger.com/atom/ns#" term="心情"/><category scheme="http://www.blogger.com/atom/ns#" term="自我進修"/><title type='text'>終於上完Embedded Linux BSP的課程</title><content type='html'>在這整個學程當中 只有pick幾個比較有興趣課程&lt;br /&gt;&lt;br /&gt;接下來在上班前 把這些東西整理一下 &lt;br /&gt;作成筆記 好讓未來上班工作的時候 比較好查詢&lt;br /&gt;&lt;br /&gt;在上班之餘 放假的時間 偶而拿來充實自己 充電一下&lt;br /&gt;是很不錯的 當然看到外面高手那麼多 也可以避免自己太自侍能力和經驗..</content><link rel='replies' type='application/atom+xml' href='http://hcliu.blogspot.com/feeds/5290571633009220201/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/520550864052266561/5290571633009220201' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/520550864052266561/posts/default/5290571633009220201'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/520550864052266561/posts/default/5290571633009220201'/><link rel='alternate' type='text/html' href='http://hcliu.blogspot.com/2009/11/embedded-linux-bsp.html' title='終於上完Embedded Linux BSP的課程'/><author><name>Unknown</name><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-520550864052266561.post-8132949457777286850</id><published>2009-10-22T10:04:00.002+08:00</published><updated>2009-10-22T10:06:34.112+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Web Gadget"/><title type='text'>Blog的好玩意兒-倒數計時器</title><content type='html'>剛剛 google發現蠻有質感的倒數計時器&lt;br /&gt;連結網址： &lt;a href=&quot;http://blog-parts.komaba-project.com/01_countdown/index.html&quot;&gt;http://blog-parts.komaba-project.com/01_countdown/index.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;左邊的在職倒數日 就是用上述的連結選的～</content><link rel='replies' type='application/atom+xml' href='http://hcliu.blogspot.com/feeds/8132949457777286850/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/520550864052266561/8132949457777286850' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/520550864052266561/posts/default/8132949457777286850'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/520550864052266561/posts/default/8132949457777286850'/><link rel='alternate' type='text/html' href='http://hcliu.blogspot.com/2009/10/blog.html' title='Blog的好玩意兒-倒數計時器'/><author><name>Unknown</name><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-520550864052266561.post-8166454318734523196</id><published>2009-10-06T22:31:00.003+08:00</published><updated>2009-10-06T22:37:26.080+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><content type='html'>最近將履歷投往心裡想要的公司了&lt;br /&gt;&lt;br /&gt;也很順利的面試 很順利的得到口頭上的offer &lt;br /&gt;&lt;br /&gt;心情總算穩定下來 現在就等正式的書面offer下來 &lt;br /&gt;&lt;br /&gt;就大致上解決了一件事情 &lt;br /&gt;&lt;br /&gt;現在要處理婚事了 還有一些該做的事情 該學習的東西&lt;br /&gt;&lt;br /&gt;在工作技能上 確定未來要學習的方向在&lt;br /&gt;&lt;br /&gt;(1) Linux device driver and android porting&lt;br /&gt;(2) Android application development&lt;br /&gt;(3) DLNA technology and standard (Including certification)&lt;br /&gt;(4) Creative on usage of digital home device/server (user scenario)&lt;br /&gt;&lt;br /&gt;加油吧！</content><link rel='replies' type='application/atom+xml' href='http://hcliu.blogspot.com/feeds/8166454318734523196/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/520550864052266561/8166454318734523196' title='1 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/520550864052266561/posts/default/8166454318734523196'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/520550864052266561/posts/default/8166454318734523196'/><link rel='alternate' type='text/html' href='http://hcliu.blogspot.com/2009/10/blog-post.html' title='未來工作大致上確定'/><author><name>Unknown</name><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-520550864052266561.post-2327914114063093426</id><published>2009-09-24T20:31:00.003+08:00</published><updated>2009-09-24T20:49:01.736+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="心情"/><title type='text'>最近情緒有點差</title><content type='html'>最近事情好多 除了工作的事情 私人的事情 &lt;br /&gt;一堆事情好像要處理 要煩惱&lt;br /&gt;&lt;br /&gt;搞得最近情緒不太好 容易跟人發生口角 或是說出不對勁的話語&lt;br /&gt;&lt;br /&gt;以後 要注意一點&lt;br /&gt;&lt;br /&gt;照理來說 明明就快國防役退伍了 應該要高興才是&lt;br /&gt;&lt;br /&gt;但其實壓力也隨之而至..有找工作的壓力 未來生活的壓力..呼</content><link rel='replies' type='application/atom+xml' href='http://hcliu.blogspot.com/feeds/2327914114063093426/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/520550864052266561/2327914114063093426' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/520550864052266561/posts/default/2327914114063093426'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/520550864052266561/posts/default/2327914114063093426'/><link rel='alternate' type='text/html' href='http://hcliu.blogspot.com/2009/09/blog-post.html' title='最近情緒有點差'/><author><name>Unknown</name><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-520550864052266561.post-6803057142706740623</id><published>2009-08-24T21:59:00.001+08:00</published><updated>2009-08-24T22:00:10.846+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="免費軟體"/><title type='text'>ppt 範本下載</title><content type='html'>為了要作一份自我介紹的投影片 所以&lt;br /&gt;&lt;br /&gt;剛剛 google 到的好網站&lt;br /&gt;http://www.templateswise.com/</content><link rel='replies' type='application/atom+xml' href='http://hcliu.blogspot.com/feeds/6803057142706740623/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/520550864052266561/6803057142706740623' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/520550864052266561/posts/default/6803057142706740623'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/520550864052266561/posts/default/6803057142706740623'/><link rel='alternate' type='text/html' href='http://hcliu.blogspot.com/2009/08/ppt.html' title='ppt 範本下載'/><author><name>Unknown</name><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>