<?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-30031336</id><updated>2025-05-27T20:13:58.985+08:00</updated><category term="隨筆記"/><category term="胡言亂語"/><category term="Google"/><category term="Linux"/><category term="軟體"/><category term="時事"/><category term="ArchLinux"/><category term="遊記"/><category term="Google Doodle"/><category term="音樂"/><category term="政治"/><category term="Youtube"/><category term="影片"/><category term="攝影"/><category term="Android"/><category term="Ubuntu"/><category term="Web Service"/><category term="教學"/><category term="Blogger"/><category term="Microsoft"/><category term="開箱文"/><category term="硬體"/><category term="食記"/><category term="FireFox"/><category term="敗家"/><category term="Gmail"/><category term="校園"/><category term="MSN"/><category term="病毒"/><category term="Google+"/><category term="電影"/><category term="測試"/><category term="音響"/><category term="3C"/><category term="Browser"/><category term="Chromium"/><category term="Game"/><category term="Google AdSense"/><category term="Google Chrome"/><category term="Python"/><category term="iBus"/><category term="梗"/><category term="APP"/><category term="Adobe"/><category term="CentOS"/><category term="Chromecast"/><category term="Cross compile"/><category term="Django"/><category term="Flickr"/><category term="Font"/><category term="Gnome"/><category term="HumbleBundle"/><category term="Picasa"/><category term="Windows"/><category term="ibus-table"/><category term="做公益"/><category term="愚人節"/><category term="日本"/><category term="烹調"/><category term="耳機"/><category term="釣魚網站"/><category term="高鐵"/><category term="C#"/><category term="DS218+"/><category term="Emesene"/><category term="GDM"/><category term="Google Play"/><category term="Hami書城"/><category term="Hangouts"/><category term="LOHAS"/><category term="MTP"/><category term="Moblin"/><category term="NAS"/><category term="NaturalScrolling"/><category term="Play Books"/><category term="Programming"/><category term="Registrano"/><category term="Synology"/><category term="VIE FIT"/><category term="WMI"/><category term="WebATM"/><category term="Wireless"/><category term="dme1737"/><category term="hwmon"/><category term="i2c"/><category term="skype"/><category term="smbus"/><category term="字型"/><category term="日偏蝕"/><category term="水族"/><category term="沖繩"/><category term="石垣"/><category term="釣魚網站 Facebook"/><title type='text'>微酸的咖啡</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://planykao.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30031336/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://planykao.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/30031336/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>PlanyKao</name><uri>http://www.blogger.com/profile/01171401575193157666</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>509</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-30031336.post-3754486480276277527</id><published>2024-09-29T17:22:00.005+08:00</published><updated>2024-09-29T17:23:46.531+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><title type='text'>find and recompress flac file</title><content type='html'>&lt;p&gt;這陣子買了 Wiim Ultra，但用 WiiM Home 播放 NAS 裡的 FLAC 檔時，無法透過拖曳時間軸的方式跳到指定的時間播放，debug 了一陣子後，發現某些 FLAC 檔案才這樣，後來得出結論: 只有使用 Sound Juicer 從 CD 轉出來的檔案才會有這個問題，使用 DeadBeef 或是其它軟體從 CD 轉出來的 FLAC 檔不會有這個問題。&lt;/p&gt;&lt;p&gt;有從 WiiM Home 裡回報這個問題給 WiiM 官方了，但我猜應該是沒有要解決，所以只好自己來了，以 find 和 -exec 將從 Sound Juicer 轉出來的檔案在重新轉過一遍.....&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;$ find . -maxdepth 2 -exec flac --force {} \;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;搞定!&amp;nbsp;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://planykao.blogspot.com/feeds/3754486480276277527/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://planykao.blogspot.com/2024/09/find-and-recompress-flac-file.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30031336/posts/default/3754486480276277527'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30031336/posts/default/3754486480276277527'/><link rel='alternate' type='text/html' href='http://planykao.blogspot.com/2024/09/find-and-recompress-flac-file.html' title='find and recompress flac file'/><author><name>PlanyKao</name><uri>http://www.blogger.com/profile/01171401575193157666</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-30031336.post-4595667162834860826</id><published>2021-03-30T20:49:00.002+08:00</published><updated>2021-03-30T20:49:39.663+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ArchLinux"/><category scheme="http://www.blogger.com/atom/ns#" term="GDM"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><title type='text'>GDM doesn&#39;t start on boot</title><content type='html'>幾個月前，不知道哪個套件更新了，開機後就無法啟動 GDM，必須要 Ctrl + Alt + Fn 手動切換到 tty1 以外的 tty，再切回 tty1 才能看到登入畫面，本來以為再過一陣子就會修好的，沒想到幾個月過去了，還是一樣的情況，只好到官方論壇找案了，最後找到&lt;a href=&quot;https://bbs.archlinux.org/viewtopic.php?id=264015&quot; target=&quot;_blank&quot;&gt;這篇&lt;/a&gt;，只要&lt;a href=&quot;https://wiki.archlinux.org/index.php/Kernel_mode_setting#Early_KMS_start&quot; target=&quot;_blank&quot;&gt;啟動 nvidia&amp;nbsp; 的 KMS&lt;/a&gt; 就行了。印象中有找到一篇文章有提到這是上游套件的 Bug ，但現在找不到了 0rz</content><link rel='replies' type='application/atom+xml' href='http://planykao.blogspot.com/feeds/4595667162834860826/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://planykao.blogspot.com/2021/03/gdm-doesnt-start-on-boot.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30031336/posts/default/4595667162834860826'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30031336/posts/default/4595667162834860826'/><link rel='alternate' type='text/html' href='http://planykao.blogspot.com/2021/03/gdm-doesnt-start-on-boot.html' title='GDM doesn&#39;t start on boot'/><author><name>PlanyKao</name><uri>http://www.blogger.com/profile/01171401575193157666</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-30031336.post-7952468596179401153</id><published>2018-05-14T21:39:00.002+08:00</published><updated>2018-05-15T20:52:54.033+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="VIE FIT"/><category scheme="http://www.blogger.com/atom/ns#" term="耳機"/><category scheme="http://www.blogger.com/atom/ns#" term="開箱文"/><title type='text'>VIE FIT 開箱</title><content type='html'>&lt;a data-flickr-embed=&quot;true&quot; data-header=&quot;true&quot; href=&quot;https://www.flickr.com/photos/plany/28231794838/in/dateposted-public/&quot; title=&quot;IMG_4982&quot;&gt;&lt;img alt=&quot;IMG_4982&quot; height=&quot;427&quot; src=&quot;https://farm1.staticflickr.com/967/28231794838_c36e6176f8_z.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;script async=&quot;&quot; charset=&quot;utf-8&quot; src=&quot;//embedr.flickr.com/assets/client-code.js&quot;&gt;&lt;/script&gt;&lt;br /&gt;
&lt;br /&gt;
去年在 kickstarter 上買的 &lt;a href=&quot;https://www.kickstarter.com/projects/viestyle/vie-fit-the-softest-custom-fit-true-wireless-earph&quot; target=&quot;_blank&quot;&gt;VIE FIT&lt;/a&gt; 終於到了，不廢話，直接開箱。&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;一次訂了三組，兩組黑的，一組銀的，銀色的是達成 250K 才解鎖的顏色。&lt;br /&gt;
&lt;a data-flickr-embed=&quot;true&quot; data-header=&quot;true&quot; href=&quot;https://www.flickr.com/photos/plany/27234326567/in/dateposted-public/&quot; title=&quot;IMG_4975&quot;&gt;&lt;img alt=&quot;IMG_4975&quot; height=&quot;427&quot; src=&quot;https://farm1.staticflickr.com/960/27234326567_b45053d862_z.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;script async=&quot;&quot; charset=&quot;utf-8&quot; src=&quot;//embedr.flickr.com/assets/client-code.js&quot;&gt;&lt;/script&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a data-flickr-embed=&quot;true&quot; data-header=&quot;true&quot; href=&quot;https://www.flickr.com/photos/plany/28231798208/in/dateposted-public/&quot; title=&quot;IMG_4979&quot;&gt;&lt;img alt=&quot;IMG_4979&quot; height=&quot;427&quot; src=&quot;https://farm1.staticflickr.com/975/28231798208_8aa09c442e_z.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;script async=&quot;&quot; charset=&quot;utf-8&quot; src=&quot;//embedr.flickr.com/assets/client-code.js&quot;&gt;&lt;/script&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a data-flickr-embed=&quot;true&quot; data-header=&quot;true&quot; href=&quot;https://www.flickr.com/photos/plany/28231796478/in/dateposted-public/&quot; title=&quot;IMG_4981&quot;&gt;&lt;img alt=&quot;IMG_4981&quot; height=&quot;427&quot; src=&quot;https://farm1.staticflickr.com/947/28231796478_6cc11d9128_z.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;script async=&quot;&quot; charset=&quot;utf-8&quot; src=&quot;//embedr.flickr.com/assets/client-code.js&quot;&gt;&lt;/script&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a data-flickr-embed=&quot;true&quot; data-header=&quot;true&quot; href=&quot;https://www.flickr.com/photos/plany/28231793618/in/dateposted-public/&quot; title=&quot;IMG_4985&quot;&gt;&lt;img alt=&quot;IMG_4985&quot; height=&quot;427&quot; src=&quot;https://farm1.staticflickr.com/824/28231793618_5608cbbddd_z.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;script async=&quot;&quot; charset=&quot;utf-8&quot; src=&quot;//embedr.flickr.com/assets/client-code.js&quot;&gt;&lt;/script&gt;&lt;br /&gt;
&lt;br /&gt;
左上有一顆按鈕，按下後會顯示目前外盒的電量。&lt;br /&gt;
&lt;a data-flickr-embed=&quot;true&quot; data-header=&quot;true&quot; href=&quot;https://www.flickr.com/photos/plany/27234318377/in/dateposted-public/&quot; title=&quot;IMG_4988&quot;&gt;&lt;img alt=&quot;IMG_4988&quot; height=&quot;427&quot; src=&quot;https://farm1.staticflickr.com/947/27234318377_a3d034278c_z.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;script async=&quot;&quot; charset=&quot;utf-8&quot; src=&quot;//embedr.flickr.com/assets/client-code.js&quot;&gt;&lt;/script&gt;&lt;br /&gt;
&lt;br /&gt;
充電時長這個樣，耳機充飽後，LED會熄掉。&lt;br /&gt;
&lt;a data-flickr-embed=&quot;true&quot; data-header=&quot;true&quot; href=&quot;https://www.flickr.com/photos/plany/28231790768/in/dateposted-public/&quot; title=&quot;IMG_4990&quot;&gt;&lt;img alt=&quot;IMG_4990&quot; height=&quot;427&quot; src=&quot;https://farm1.staticflickr.com/966/28231790768_c20e388dc1_z.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;script async=&quot;&quot; charset=&quot;utf-8&quot; src=&quot;//embedr.flickr.com/assets/client-code.js&quot;&gt;&lt;/script&gt;&lt;br /&gt;
&lt;br /&gt;
配件包，由上而下依序是: MicroUSB、耳塞(連同耳機上的，共三組耳塞)、耳翼、貼片。&lt;br /&gt;
&lt;a data-flickr-embed=&quot;true&quot; data-header=&quot;true&quot; href=&quot;https://www.flickr.com/photos/plany/41203566645/in/dateposted-public/&quot; title=&quot;IMG_4992&quot;&gt;&lt;img alt=&quot;IMG_4992&quot; height=&quot;427&quot; src=&quot;https://farm1.staticflickr.com/947/41203566645_844e598ca1_z.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;script async=&quot;&quot; charset=&quot;utf-8&quot; src=&quot;//embedr.flickr.com/assets/client-code.js&quot;&gt;&lt;/script&gt;&lt;br /&gt;
&lt;br /&gt;
耳機本體&lt;br /&gt;
&lt;a data-flickr-embed=&quot;true&quot; data-header=&quot;true&quot; href=&quot;https://www.flickr.com/photos/plany/41203564625/in/dateposted-public/&quot; title=&quot;IMG_4995&quot;&gt;&lt;img alt=&quot;IMG_4995&quot; height=&quot;427&quot; src=&quot;https://farm1.staticflickr.com/826/41203564625_6c9f35e0b9_z.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;script async=&quot;&quot; charset=&quot;utf-8&quot; src=&quot;//embedr.flickr.com/assets/client-code.js&quot;&gt;&lt;/script&gt;&lt;br /&gt;
&lt;br /&gt;
加上耳翼&lt;br /&gt;
&lt;a data-flickr-embed=&quot;true&quot; data-header=&quot;true&quot; href=&quot;https://www.flickr.com/photos/plany/42104594041/in/dateposted-public/&quot; title=&quot;IMG_4996&quot;&gt;&lt;img alt=&quot;IMG_4996&quot; height=&quot;427&quot; src=&quot;https://farm1.staticflickr.com/828/42104594041_3b949a1eeb_z.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;script async=&quot;&quot; charset=&quot;utf-8&quot; src=&quot;//embedr.flickr.com/assets/client-code.js&quot;&gt;&lt;/script&gt;&lt;br /&gt;
&lt;br /&gt;
聲音的部份，就見人見智了，青菜蘿蔔各有所好。我用 Pixel 2 當訊源，和 ATH IM50 做比較，比較大的差異是音場的部份，其它部份沒仔細聽。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;content-box-gold&quot;&gt;缺點的部份還滿明顯的，副耳滿常失去和主耳的連線，導致沒聲音，隨機出現。&lt;/div&gt;根據 kickstarter 的頁面和手冊的描述，VIE FIT的左右耳是可以分開配對的(Multipoint Function)，所以左右耳都可以當主耳，一邊配對上後，會自動和另一邊連線，我是拿右耳當主耳，而且只有和一支手機配對，一樣會有副耳隨機失去連線的問題。&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;6. Each side can memorize the pairing of 1 device and switch between them. (Multipoint Function)&lt;/blockquote&gt;但是根據官方在 2018/04/27 的&lt;a href=&quot;https://www.kickstarter.com/projects/viestyle/vie-fit-the-softest-custom-fit-true-wireless-earph/posts/2165395&quot; target=&quot;_blank&quot;&gt;更新&lt;/a&gt;中所述，會通過韌體更新將此功能拿掉(不確定比較晚出貨的耳機是不是已經有更新韌體)，因為這功能會造成我上述提到的問題，不過官方是說和 some other types of phone 連線才會有這問題，並沒有提到是哪些手機......</content><link rel='replies' type='application/atom+xml' href='http://planykao.blogspot.com/feeds/7952468596179401153/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://planykao.blogspot.com/2018/05/vie-fit.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30031336/posts/default/7952468596179401153'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30031336/posts/default/7952468596179401153'/><link rel='alternate' type='text/html' href='http://planykao.blogspot.com/2018/05/vie-fit.html' title='VIE FIT 開箱'/><author><name>PlanyKao</name><uri>http://www.blogger.com/profile/01171401575193157666</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-30031336.post-3648060977825348549</id><published>2018-03-24T20:43:00.000+08:00</published><updated>2018-05-15T20:33:37.111+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ArchLinux"/><category scheme="http://www.blogger.com/atom/ns#" term="Chromecast"/><category scheme="http://www.blogger.com/atom/ns#" term="Chromium"/><title type='text'>Chromecasts in the network are not discovered</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/AVvXsEiHcOC-jMKBTvHg1wdlsBaa466xWOUHBYo_GlY5G0U4_k3VftjmpuHxtkSTjbvWVdYSnkOw_IaDhz4ffB-Qrc9eJql1cVVSI443-rXS8m_r3FfdxMB3AXWRwVTn19PFT7r30pjv/s1600/chromium.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;256&quot; data-original-width=&quot;256&quot; height=&quot;70&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHcOC-jMKBTvHg1wdlsBaa466xWOUHBYo_GlY5G0U4_k3VftjmpuHxtkSTjbvWVdYSnkOw_IaDhz4ffB-Qrc9eJql1cVVSI443-rXS8m_r3FfdxMB3AXWRwVTn19PFT7r30pjv/s200/chromium.png&quot; width=&quot;70&quot; /&gt;&lt;/a&gt;&lt;/div&gt;剛剛把生灰塵的 Chromecast 重新打開，結果 Choromium 竟然無法找到同一網路裡的 Chromecast，怪了，以前明明可以用的，同樣的環境下，Chrome 就沒問題，估狗了一下，發現還需要開啟底下的設定才能讓 Chromium 找到同一個網路裡的 Chromecast。&lt;br /&gt;
&lt;code&gt;chrome://flags/#load-media-router-component-extension&lt;/code&gt;</content><link rel='replies' type='application/atom+xml' href='http://planykao.blogspot.com/feeds/3648060977825348549/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://planykao.blogspot.com/2018/03/chromecasts-in-network-are-not.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30031336/posts/default/3648060977825348549'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30031336/posts/default/3648060977825348549'/><link rel='alternate' type='text/html' href='http://planykao.blogspot.com/2018/03/chromecasts-in-network-are-not.html' title='Chromecasts in the network are not discovered'/><author><name>PlanyKao</name><uri>http://www.blogger.com/profile/01171401575193157666</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/AVvXsEiHcOC-jMKBTvHg1wdlsBaa466xWOUHBYo_GlY5G0U4_k3VftjmpuHxtkSTjbvWVdYSnkOw_IaDhz4ffB-Qrc9eJql1cVVSI443-rXS8m_r3FfdxMB3AXWRwVTn19PFT7r30pjv/s72-c/chromium.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30031336.post-1564589518292282403</id><published>2018-03-10T21:22:00.001+08:00</published><updated>2018-03-10T21:23:51.316+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ArchLinux"/><category scheme="http://www.blogger.com/atom/ns#" term="DS218+"/><category scheme="http://www.blogger.com/atom/ns#" term="NAS"/><category scheme="http://www.blogger.com/atom/ns#" term="Synology"/><title type='text'>Archlinux and Synology DS218+</title><content type='html'>&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKIEwCNot8UlRFmxOyUnzJ1vDIzSML-rOe1L8y7OV1ZFKoesuexzVx5zgYN_OtkFD71lCUIFS69NlJu_9_z5JR36mJcak0j8UYFxwr8dSqg1R1exJhMi5tEBk-ABrBaiEtOQim/s1600/ds218%252B.jpeg&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;568&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKIEwCNot8UlRFmxOyUnzJ1vDIzSML-rOe1L8y7OV1ZFKoesuexzVx5zgYN_OtkFD71lCUIFS69NlJu_9_z5JR36mJcak0j8UYFxwr8dSqg1R1exJhMi5tEBk-ABrBaiEtOQim/s640/ds218%252B.jpeg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
最近入手了DS218+，雖然現在 NAS 都包山包海，但其實我只是想要拿來當成網路磁碟機外加備份而已 XD&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;既然是要當網路磁碟機，那就設定一下，讓系統能在開機的時候把磁碟機給掛載起來。因為效能的問題，原本是打算使用 NFS，但我搞不定 NFS 的設定，掛載起來後只有 root 有寫入的權限，雖然說 DSM 裡可以把 squash 設定成「將所有使用者調整為 admin」，但這樣只是將所有的檔案權限改成 755，實在不是一個很好的方式，所以只好用 SAMBA 了。&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8CZg3gZptzutZ1VxeUzwO4JvnxcVTcjpWHZYjZYirmLLWY8GhEvHuZyBS1s4_V873VoxJRVvIDwdtHiHd4qdbkBeOynt3cpTR5y3FpnEaLNZWkKAY3AScKnsf6DFT3Qv9LWFE/s1600/ds218%252B_nfs_setting.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;418&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8CZg3gZptzutZ1VxeUzwO4JvnxcVTcjpWHZYjZYirmLLWY8GhEvHuZyBS1s4_V873VoxJRVvIDwdtHiHd4qdbkBeOynt3cpTR5y3FpnEaLNZWkKAY3AScKnsf6DFT3Qv9LWFE/s640/ds218%252B_nfs_setting.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
SAMBA的設定方式如果，基本上就是參考 &lt;a href=&quot;https://wiki.archlinux.org/index.php/samba#As_systemd_unit&quot; target=&quot;_blank&quot;&gt;Archlinux Wiki 上 SAMBA 的說明&lt;/a&gt;，用 systemd 將磁碟自動掛載上來。&lt;br /&gt;
&lt;br /&gt;
在&amp;nbsp; /etx/systemd/system 下新增 mount-point.mount，檔案內容如下，這邊要特別注意的地方有兩個，第一，檔名(mount-point)要對應到設定檔中的「Where」，第二，參數要加上「vers=2.0」，要不然無法掛載。&lt;br /&gt;
&lt;code&gt;[Unit]&lt;br /&gt;
Description=Mount Music at boot&lt;br /&gt;
Requires=systemd-networkd.service&lt;br /&gt;
After=network-online.target&lt;br /&gt;
Wants=network-online.target&lt;br /&gt;
&lt;br /&gt;
[Mount]&lt;br /&gt;
What=//192.168.1.2/music&lt;br /&gt;
Where=/mount/point&lt;br /&gt;
Options=nofail,rw,uid=1000,gid=1000,iocharset=utf8,credentials=/path/to/smbcredentials,vers=2.0,x-systemd.automount&lt;br /&gt;
Type=cifs&lt;br /&gt;
TimeoutSec=5&lt;br /&gt;
&lt;br /&gt;
[Install]&lt;br /&gt;
WantedBy=multi-user.target&lt;/code&gt;&lt;br /&gt;
最後，就是啟動這個服務啦!&lt;br /&gt;
&lt;code&gt;$ sudo systemctl enable mount-point.mount&lt;br /&gt;
$ sudo systemctl start mount-point.mount&lt;/code&gt;&lt;br /&gt;
重開機測試一下，果然失敗了XD，掛載失敗的原因是因為網路還沒起來，所以還需要另外啟動 「systemd-networkd-wait-online.service」或是「NetworkManager-wait-online.service」。&lt;br /&gt;
&lt;code&gt;$ sudo systemctl enable NetworkManager-wait-online.service&lt;/code&gt;&lt;br /&gt;
搞定，收工。</content><link rel='replies' type='application/atom+xml' href='http://planykao.blogspot.com/feeds/1564589518292282403/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://planykao.blogspot.com/2018/03/archlinux-and-synology-ds218.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30031336/posts/default/1564589518292282403'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30031336/posts/default/1564589518292282403'/><link rel='alternate' type='text/html' href='http://planykao.blogspot.com/2018/03/archlinux-and-synology-ds218.html' title='Archlinux and Synology DS218+'/><author><name>PlanyKao</name><uri>http://www.blogger.com/profile/01171401575193157666</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/AVvXsEgKIEwCNot8UlRFmxOyUnzJ1vDIzSML-rOe1L8y7OV1ZFKoesuexzVx5zgYN_OtkFD71lCUIFS69NlJu_9_z5JR36mJcak0j8UYFxwr8dSqg1R1exJhMi5tEBk-ABrBaiEtOQim/s72-c/ds218%252B.jpeg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30031336.post-6284807415973638330</id><published>2017-02-02T14:30:00.001+08:00</published><updated>2017-02-02T14:30:25.427+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Youtube"/><category scheme="http://www.blogger.com/atom/ns#" term="隨筆記"/><title type='text'>返鄉</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;315&quot; src=&quot;https://www.youtube.com/embed/zWRgpZB9iKo&quot; width=&quot;560&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;br /&gt;
感動歸感動，但說穿了就是不知道要幹嘛，要是知道要幹嘛，我早就回去了 lol</content><link rel='replies' type='application/atom+xml' href='http://planykao.blogspot.com/feeds/6284807415973638330/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://planykao.blogspot.com/2017/02/blog-post.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30031336/posts/default/6284807415973638330'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30031336/posts/default/6284807415973638330'/><link rel='alternate' type='text/html' href='http://planykao.blogspot.com/2017/02/blog-post.html' title='返鄉'/><author><name>PlanyKao</name><uri>http://www.blogger.com/profile/01171401575193157666</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/zWRgpZB9iKo/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30031336.post-2898759645359615711</id><published>2017-01-14T13:53:00.001+08:00</published><updated>2017-01-14T13:54:03.895+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ArchLinux"/><category scheme="http://www.blogger.com/atom/ns#" term="Gnome"/><category scheme="http://www.blogger.com/atom/ns#" term="NaturalScrolling"/><title type='text'>libinput - NaturalScrolling</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/AVvXsEgvai2sdzLaYy0YTUwsEp-V-zZOtf0DtVCRWU77AMAVAQLImEcctEH1-rW7GW7-aavanE-ERCasg7tA7RNzgQyC2UFr-JgwsApNHIcqpqNayNpgJIg09Stj4PGDsz_e-Yob2e5D/s1600/NaturalScrolling.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;300&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvai2sdzLaYy0YTUwsEp-V-zZOtf0DtVCRWU77AMAVAQLImEcctEH1-rW7GW7-aavanE-ERCasg7tA7RNzgQyC2UFr-JgwsApNHIcqpqNayNpgJIg09Stj4PGDsz_e-Yob2e5D/s640/NaturalScrolling.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;昨天更新後，滑鼠滾輪就整個相反了，還以為滑鼠壞了，不確定是哪個套件造成的，後來發現是 NaturalScrolling 被開啟了，預設值是0，但目前的設定值卻是1。&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;$ xinput list-props 12&lt;br /&gt;
Device &#39;Razer Razer DeathAdder 2013&#39;:&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Device Enabled (152):&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;1&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Coordinate Transformation Matrix (154):&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;libinput Accel Speed (286):&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;-0.076336&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;libinput Accel Speed Default (287):&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;0.000000&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;libinput Accel Profiles Available (288):&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;1, 1&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;libinput Accel Profile Enabled (289):&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;1, 0&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;libinput Accel Profile Enabled Default (290):&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;1, 0&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: yellow;&quot;&gt;libinput Natural Scrolling Enabled (291):&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;1&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: lime;&quot;&gt;libinput Natural Scrolling Enabled Default (292):&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;0&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;
後來在 Gnome 的設定裡找到了兇手，就是這個『自然捲動』，關了就回復了。</content><link rel='replies' type='application/atom+xml' href='http://planykao.blogspot.com/feeds/2898759645359615711/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://planykao.blogspot.com/2017/01/libinput-naturalscrolling.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30031336/posts/default/2898759645359615711'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30031336/posts/default/2898759645359615711'/><link rel='alternate' type='text/html' href='http://planykao.blogspot.com/2017/01/libinput-naturalscrolling.html' title='libinput - NaturalScrolling'/><author><name>PlanyKao</name><uri>http://www.blogger.com/profile/01171401575193157666</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/AVvXsEgvai2sdzLaYy0YTUwsEp-V-zZOtf0DtVCRWU77AMAVAQLImEcctEH1-rW7GW7-aavanE-ERCasg7tA7RNzgQyC2UFr-JgwsApNHIcqpqNayNpgJIg09Stj4PGDsz_e-Yob2e5D/s72-c/NaturalScrolling.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30031336.post-9216237044869482996</id><published>2016-11-07T22:01:00.000+08:00</published><updated>2016-11-07T22:03:06.882+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Windows"/><category scheme="http://www.blogger.com/atom/ns#" term="字型"/><title type='text'>Windows10系統字型大小</title><content type='html'>Windows 10也推出好一陣子了，但不知道為什麼到現在還是沒有辦法只調整字型的大小，一定要整個介面都跟著等比例放大，而且使用建議的方式去調整字型大小，還會導致Windows部份應用程式的介面會糊掉，這到底是什麼巫術阿 XD&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
螢幕是24吋的，解析度是1920x1080，預設的字型大小是9，眼睛距離螢幕約60公分，看得非常的吃力。實在是有點難以想像在目前筆記型電腦的解析度都已經有支援到1920x1080的情況下，而且螢幕尺吋還小於17吋時，這種大小的字型是想要逼死誰........&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/AVvXsEjt0De8hN5p_wQILIq6CLXoti7lrrAtNPI-jJphFOSyClsUIjGsP4M5OFh62e-ot7g5UjaYGfTwMJuNXiJ4J0rzuoIB0VqNtd0fnrlxKnbcMEoF3DkMNiu_CiIh04eK-aumeSky/s1600/win10_font_size_01.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;360&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjt0De8hN5p_wQILIq6CLXoti7lrrAtNPI-jJphFOSyClsUIjGsP4M5OFh62e-ot7g5UjaYGfTwMJuNXiJ4J0rzuoIB0VqNtd0fnrlxKnbcMEoF3DkMNiu_CiIh04eK-aumeSky/s640/win10_font_size_01.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&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/AVvXsEiD6eECH3uAwj7Nwe_IwE_lw78Ivo3P6LWF6nxfboQCPjt4vfs6LjUzSEWOkfw0AtUxSNpW_7uP9uEWeJAE2DPhBsAcirSzx7YJusF_EFRbXKacta1KV8tyuB-ayeLrVY4Ir8Al/s1600/win10_font_size_02.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;350&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiD6eECH3uAwj7Nwe_IwE_lw78Ivo3P6LWF6nxfboQCPjt4vfs6LjUzSEWOkfw0AtUxSNpW_7uP9uEWeJAE2DPhBsAcirSzx7YJusF_EFRbXKacta1KV8tyuB-ayeLrVY4Ir8Al/s640/win10_font_size_02.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&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/AVvXsEj2s9sPBKv4XxDtygz8PRcp7lein52p8OnUsw69DKle5e-RCo3PhqpcMUDCBgEheRYagwZ1dou8tmnnMTkyEI_QTacos7D8NH9tG0H3TqdZ7DnFXHnjMTGAaI4JkaoSKgML2kkY/s1600/win10_font_size_03.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;360&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2s9sPBKv4XxDtygz8PRcp7lein52p8OnUsw69DKle5e-RCo3PhqpcMUDCBgEheRYagwZ1dou8tmnnMTkyEI_QTacos7D8NH9tG0H3TqdZ7DnFXHnjMTGAaI4JkaoSKgML2kkY/s640/win10_font_size_03.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&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/AVvXsEhBrW4mGQw86ch6Io37rM7b2lGD09aksVcq48iwgApQMT1hvrrpOJja5LaZAw16VQkTgw9HBeo6bYEYDpIRgZsiEMJcQUdDKQdyF30jeBYPkw_itglw7E7TLak8TF58buaMKvqL/s1600/win10_font_size_04.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;346&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBrW4mGQw86ch6Io37rM7b2lGD09aksVcq48iwgApQMT1hvrrpOJja5LaZAw16VQkTgw9HBeo6bYEYDpIRgZsiEMJcQUdDKQdyF30jeBYPkw_itglw7E7TLak8TF58buaMKvqL/s640/win10_font_size_04.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&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/AVvXsEji6XQHYyGnQdmo-tlr2sJLtGsXG5U4Lgrh4Nkt5JRY6U3oNiKDVx4hf5IOOzkleRYspXe7xEzLmza73qsNMdbH0AC-xSxu7puQENiYh-ZBxEaWGHZpJR5uO3IPaeSkgZL7wgUk/s1600/win10_font_size_05.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;360&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEji6XQHYyGnQdmo-tlr2sJLtGsXG5U4Lgrh4Nkt5JRY6U3oNiKDVx4hf5IOOzkleRYspXe7xEzLmza73qsNMdbH0AC-xSxu7puQENiYh-ZBxEaWGHZpJR5uO3IPaeSkgZL7wgUk/s640/win10_font_size_05.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&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/AVvXsEg4wAte-zEbCR5hOVdcnWFhJ2PboyYBy9M_8M_C3GKrUAaK3X7d8ZSkA9g4Dj-SHE8CZwxsMDFK6ccYi0UeWCfFATolP_JCjUHXHVJE460DFLxbA3Wd5wlThmkPKRhY7m4-qEDB/s1600/win10_font_size_06.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;346&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4wAte-zEbCR5hOVdcnWFhJ2PboyYBy9M_8M_C3GKrUAaK3X7d8ZSkA9g4Dj-SHE8CZwxsMDFK6ccYi0UeWCfFATolP_JCjUHXHVJE460DFLxbA3Wd5wlThmkPKRhY7m4-qEDB/s640/win10_font_size_06.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://planykao.blogspot.com/feeds/9216237044869482996/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://planykao.blogspot.com/2016/11/windows10.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30031336/posts/default/9216237044869482996'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30031336/posts/default/9216237044869482996'/><link rel='alternate' type='text/html' href='http://planykao.blogspot.com/2016/11/windows10.html' title='Windows10系統字型大小'/><author><name>PlanyKao</name><uri>http://www.blogger.com/profile/01171401575193157666</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/AVvXsEjt0De8hN5p_wQILIq6CLXoti7lrrAtNPI-jJphFOSyClsUIjGsP4M5OFh62e-ot7g5UjaYGfTwMJuNXiJ4J0rzuoIB0VqNtd0fnrlxKnbcMEoF3DkMNiu_CiIh04eK-aumeSky/s72-c/win10_font_size_01.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30031336.post-8920268566280199904</id><published>2016-09-11T14:46:00.001+08:00</published><updated>2016-09-11T14:51:18.862+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;a data-flickr-embed=&quot;true&quot; href=&quot;https://www.flickr.com/photos/plany/29201434491/in/dateposted-public/&quot; title=&quot;IMG_3855&quot;&gt;&lt;img alt=&quot;IMG_3855&quot; height=&quot;427&quot; src=&quot;https://c4.staticflickr.com/9/8229/29201434491_178b840935_z.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;script async=&quot;&quot; charset=&quot;utf-8&quot; src=&quot;//embedr.flickr.com/assets/client-code.js&quot;&gt;&lt;/script&gt;&lt;br /&gt;
這次北海道的行程是跟團的，回來後稍微研究了一下行程，發現其實跟團也還行，要不然北海道交通沒這麼方便，若要自由行可能就麻煩了點，雖然行程上可以去掉一些購物還有滿無聊的景點，例如女子修道院，除了旁邊的冰淇淋滿好吃的之外，這個點真的不建議去。&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;center&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; dir=&quot;ltr&quot; style=&quot;border-collapse: collapse; border: 1px solid #ccc; font-family: arial,sans,sans-serif; font-size: 13px; table-layout: fixed;&quot;&gt;&lt;colgroup&gt;&lt;col width=&quot;209&quot;&gt;&lt;/col&gt;&lt;col width=&quot;369&quot;&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody&gt;
&lt;tr style=&quot;height: 21px;&quot;&gt;&lt;td data-sheets-value=&quot;{&amp;quot;1&amp;quot;:2,&amp;quot;2&amp;quot;:&amp;quot;\u65e5\u671f&amp;quot;}&quot; style=&quot;border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000; border-top: 1px solid #000000; font-size: 120%; font-weight: bold; padding: 2px 3px 2px 3px; text-align: center; vertical-align: bottom;&quot;&gt;日期&lt;/td&gt;&lt;td data-sheets-value=&quot;{&amp;quot;1&amp;quot;:2,&amp;quot;2&amp;quot;:&amp;quot;\u98ef\u5e97&amp;quot;}&quot; style=&quot;border-bottom: 1px solid #000000; border-right: 1px solid #000000; border-top: 1px solid #000000; font-size: 120%; font-weight: bold; padding: 2px 3px 2px 3px; text-align: center; vertical-align: bottom;&quot;&gt;飯店&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 21px;&quot;&gt;&lt;td data-sheets-numberformat=&quot;[null,5,&amp;quot;yyyy\&amp;quot;\u5e74\&amp;quot;m\&amp;quot;\u6708\&amp;quot;d\&amp;quot;\u65e5 \&amp;quot;dddd&amp;quot;]&quot; data-sheets-value=&quot;{&amp;quot;1&amp;quot;:3,&amp;quot;3&amp;quot;:42589}&quot; style=&quot;border-bottom: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); padding: 2px 3px; vertical-align: bottom;&quot;&gt;2016年8月07日 星期日&lt;/td&gt;&lt;td data-sheets-value=&quot;{&amp;quot;1&amp;quot;:2,&amp;quot;2&amp;quot;:&amp;quot;\u540d\u6e6f\u4e4b\u5bbf \u96c5\u4ead Park Miyabitei Hotel&amp;quot;}&quot; style=&quot;border-bottom: 1px solid #000000; border-right: 1px solid #000000; font-size: 120%; padding: 2px 3px 2px 3px; vertical-align: bottom;&quot;&gt;名湯之宿 雅亭 Park Miyabitei Hotel&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 21px;&quot;&gt;&lt;td data-sheets-numberformat=&quot;[null,5,&amp;quot;yyyy\&amp;quot;\u5e74\&amp;quot;m\&amp;quot;\u6708\&amp;quot;d\&amp;quot;\u65e5 \&amp;quot;dddd&amp;quot;,1]&quot; data-sheets-value=&quot;{&amp;quot;1&amp;quot;:3,&amp;quot;3&amp;quot;:42590}&quot; style=&quot;border-bottom: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); padding: 2px 3px; vertical-align: bottom;&quot;&gt;2016年8月08日 星期一&lt;/td&gt;&lt;td data-sheets-value=&quot;{&amp;quot;1&amp;quot;:2,&amp;quot;2&amp;quot;:&amp;quot;\u6e6f\u4e4b\u5ddd\u89c0\u5149\u672c\u9928 Yunokawa Kanko&amp;quot;}&quot; style=&quot;border-bottom: 1px solid #000000; border-right: 1px solid #000000; font-size: 120%; padding: 2px 3px 2px 3px; vertical-align: bottom;&quot;&gt;湯之川觀光本館 Yunokawa Kanko&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 21px;&quot;&gt;&lt;td data-sheets-numberformat=&quot;[null,5,&amp;quot;yyyy\&amp;quot;\u5e74\&amp;quot;m\&amp;quot;\u6708\&amp;quot;d\&amp;quot;\u65e5 \&amp;quot;dddd&amp;quot;,1]&quot; data-sheets-value=&quot;{&amp;quot;1&amp;quot;:3,&amp;quot;3&amp;quot;:42591}&quot; style=&quot;border-bottom: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); padding: 2px 3px; vertical-align: bottom;&quot;&gt;2016年8月09日 星期二&lt;/td&gt;&lt;td data-sheets-value=&quot;{&amp;quot;1&amp;quot;:2,&amp;quot;2&amp;quot;:&amp;quot;\u672d\u5e4c Resol Sapporo&amp;quot;}&quot; style=&quot;border-bottom: 1px solid #000000; border-right: 1px solid #000000; font-size: 120%; padding: 2px 3px 2px 3px; vertical-align: bottom;&quot;&gt;札幌 Resol Sapporo&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 21px;&quot;&gt;&lt;td data-sheets-numberformat=&quot;[null,5,&amp;quot;yyyy\&amp;quot;\u5e74\&amp;quot;m\&amp;quot;\u6708\&amp;quot;d\&amp;quot;\u65e5 \&amp;quot;dddd&amp;quot;,1]&quot; data-sheets-value=&quot;{&amp;quot;1&amp;quot;:3,&amp;quot;3&amp;quot;:42592}&quot; style=&quot;border-bottom: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); padding: 2px 3px; vertical-align: bottom;&quot;&gt;2016年8月10日 星期三&lt;/td&gt;&lt;td data-sheets-value=&quot;{&amp;quot;1&amp;quot;:2,&amp;quot;2&amp;quot;:&amp;quot;\u5b9a\u5c71\u6eaa \u9e7f\u4e4b\u6e6f\u672c\u9928 Shikanoyu&amp;quot;}&quot; style=&quot;border-bottom: 1px solid #000000; border-right: 1px solid #000000; font-size: 120%; padding: 2px 3px 2px 3px; vertical-align: bottom;&quot;&gt;定山溪 鹿之湯本館 Shikanoyu&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 21px;&quot;&gt;&lt;td data-sheets-numberformat=&quot;[null,5,&amp;quot;yyyy\&amp;quot;\u5e74\&amp;quot;m\&amp;quot;\u6708\&amp;quot;d\&amp;quot;\u65e5 \&amp;quot;dddd&amp;quot;,1]&quot; data-sheets-value=&quot;{&amp;quot;1&amp;quot;:3,&amp;quot;3&amp;quot;:42593}&quot; style=&quot;border-bottom: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); padding: 2px 3px; vertical-align: bottom;&quot;&gt;2016年8月11日 星期四&lt;/td&gt;&lt;td data-sheets-value=&quot;{&amp;quot;1&amp;quot;:2,&amp;quot;2&amp;quot;:&amp;quot;n/a&amp;quot;}&quot; style=&quot;border-bottom: 1px solid #000000; border-right: 1px solid #000000; font-size: 120%; padding: 2px 3px 2px 3px; text-align: center; vertical-align: bottom;&quot;&gt;n/a&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/center&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;第一天：千歲機場→支笏湖→登別(住宿)&lt;/li&gt;
&lt;/ul&gt;
早上八點多的飛機，由於飛機延誤，再加上千歲機場塞機，比預定時間晚了一個多小時才上車，一出機場馬上又遇到航空祭的車潮，到了支笏湖已經是下午四點多了，所以離開支笏湖後就直接去飯店報到了 XD&lt;br /&gt;
&lt;a data-flickr-embed=&quot;true&quot; href=&quot;https://www.flickr.com/photos/plany/29172079722/in/album-72157672966695486/&quot; title=&quot;IMG_3710&quot;&gt;&lt;img alt=&quot;IMG_3710&quot; height=&quot;427&quot; src=&quot;https://c3.staticflickr.com/9/8049/29172079722_3992f85c10_z.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;script async=&quot;&quot; charset=&quot;utf-8&quot; src=&quot;//embedr.flickr.com/assets/client-code.js&quot;&gt;&lt;/script&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;第二天：登別地獄谷→大小沼國立公園→金森倉庫群→女子修道院→函館山夜景&lt;/li&gt;
&lt;/ul&gt;
通常夏天去北海道，就是去避暑的，但這天一早出門時，我還以為我人在台灣呢，艷陽高照，氣溫30度，再加上因為前一天的延誤，所以今天第一個點是去登別地獄谷，就是火山啦，還會噴的那種，不過火山沒噴，我倒是噴了一身的汗。&lt;br /&gt;
&lt;a data-flickr-embed=&quot;true&quot; href=&quot;https://www.flickr.com/photos/plany/29172087272/in/album-72157672966695486/&quot; title=&quot;IMG_3733&quot;&gt;&lt;img alt=&quot;IMG_3733&quot; height=&quot;427&quot; src=&quot;https://c1.staticflickr.com/9/8365/29172087272_e4d46ea070_z.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;script async=&quot;&quot; charset=&quot;utf-8&quot; src=&quot;//embedr.flickr.com/assets/client-code.js&quot;&gt;&lt;/script&gt;&lt;br /&gt;
&lt;br /&gt;
第二站來到了大小沼國立公園，大沼和小沼都是火山噴發後形成的湖泊，是的，你沒看錯，又是火中。這裡遮陰的地方多，很適合散步，但我是跟團，所以停留時間有限，只能隨便逛逛了。&lt;br /&gt;
&lt;a data-flickr-embed=&quot;true&quot; href=&quot;https://www.flickr.com/photos/plany/29246404776/in/album-72157672966695486/&quot; title=&quot;IMG_3757&quot;&gt;&lt;img alt=&quot;IMG_3757&quot; height=&quot;427&quot; src=&quot;https://c1.staticflickr.com/9/8348/29246404776_c776ebc1a2_z.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;script async=&quot;&quot; charset=&quot;utf-8&quot; src=&quot;//embedr.flickr.com/assets/client-code.js&quot;&gt;&lt;/script&gt;&lt;br /&gt;
&lt;br /&gt;
第三站來到金森倉庫群，這裡根本就是函館的文青聚集地阿，好潮好潮，妹也多，強力推薦！&lt;br /&gt;
&lt;a data-flickr-embed=&quot;true&quot; href=&quot;https://www.flickr.com/photos/plany/29172075042/in/album-72157672966695486/&quot; title=&quot;IMG_3764&quot;&gt;&lt;img alt=&quot;IMG_3764&quot; height=&quot;427&quot; src=&quot;https://c3.staticflickr.com/9/8328/29172075042_e6621c0a05_z.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;script async=&quot;&quot; charset=&quot;utf-8&quot; src=&quot;//embedr.flickr.com/assets/client-code.js&quot;&gt;&lt;/script&gt;&lt;br /&gt;
&lt;br /&gt;
第四站是我極度不推薦的景點，函館的女子修道院，這裡真的沒什麼好逛的，雖然旁邊的冰淇淋還滿好吃的，就如導遊說的，順路可以來看看，但不要特地來....&lt;br /&gt;
&lt;a data-flickr-embed=&quot;true&quot; href=&quot;https://www.flickr.com/photos/plany/28657578514/in/album-72157672966695486/&quot; title=&quot;IMG_3776&quot;&gt;&lt;img alt=&quot;IMG_3776&quot; height=&quot;427&quot; src=&quot;https://c3.staticflickr.com/9/8365/28657578514_c5aea473fa_z.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;script async=&quot;&quot; charset=&quot;utf-8&quot; src=&quot;//embedr.flickr.com/assets/client-code.js&quot;&gt;&lt;/script&gt;&lt;br /&gt;
&lt;br /&gt;
今天最後一站是搭纜車上函館山看夜景，函館山的夜景滿有名的，但是夜景再有名，看不到也是白搭，人實在是太多，而且角度好的位置直接被官方(應該是)佔走，付錢拍照，再加上停留時間過短，沒辦法等到好的位置，所以我試拍了幾張後就果斷收相機了......&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;第三天：函館朝市→昭和新山→洞爺湖觀景台→札幌電視塔&lt;/li&gt;
&lt;/ul&gt;
今天要從函館殺到札幌，幾乎都在坐車，連洞爺湖都只是在觀景台看看就走了，再加上我忘了一早要去朝市，早餐吃太飽，逛朝市時也沒吃丼飯，倒是因為住在札幌，看到很多人在玩寶可夢，所以我晚上也去飯店旁邊的公園廝殺了一下 lol&lt;br /&gt;
&lt;br /&gt;
下圖為昭和新山，全世界最年輕的山，沒錯，又是火山，我已經不想數是第幾座會噴的火山了 XD&lt;br /&gt;
&lt;a data-flickr-embed=&quot;true&quot; href=&quot;https://www.flickr.com/photos/plany/29201430491/in/album-72157672966695486/&quot; title=&quot;IMG_3789&quot;&gt;&lt;img alt=&quot;IMG_3789&quot; height=&quot;427&quot; src=&quot;https://c4.staticflickr.com/9/8206/29201430491_f1161af0fb_z.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;script async=&quot;&quot; charset=&quot;utf-8&quot; src=&quot;//embedr.flickr.com/assets/client-code.js&quot;&gt;&lt;/script&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;第四天：富良野富田農場→美瑛四季彩之丘→白色戀人觀光工廠→定山溪&lt;/li&gt;
&lt;/ul&gt;
時間過得真快，不知不覺就過了三天，今天是賞花的行程，所以就是滿滿的花....&lt;br /&gt;
&lt;a data-flickr-embed=&quot;true&quot; href=&quot;https://www.flickr.com/photos/plany/29201434491/in/album-72157672966695486/&quot; title=&quot;IMG_3855&quot;&gt;&lt;img alt=&quot;IMG_3855&quot; height=&quot;427&quot; src=&quot;https://c4.staticflickr.com/9/8229/29201434491_178b840935_z.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;script async=&quot;&quot; charset=&quot;utf-8&quot; src=&quot;//embedr.flickr.com/assets/client-code.js&quot;&gt;&lt;/script&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;最後一天：小樽→千歲機場&lt;/li&gt;
&lt;/ul&gt;
是的，你沒看錯，今天就只去了小樽，而且一待就是兩個小時以上，五天裡面，這個點待得最久，如果不買伴手禮，我是覺得運河逛完就能離開了 XD&lt;br /&gt;
&lt;a data-flickr-embed=&quot;true&quot; href=&quot;https://www.flickr.com/photos/plany/29201429621/in/album-72157672966695486/&quot; title=&quot;IMG_3883-1&quot;&gt;&lt;img alt=&quot;IMG_3883-1&quot; height=&quot;427&quot; src=&quot;https://c6.staticflickr.com/9/8159/29201429621_d3198621c2_z.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;script async=&quot;&quot; charset=&quot;utf-8&quot; src=&quot;//embedr.flickr.com/assets/client-code.js&quot;&gt;&lt;/script&gt;&lt;br /&gt;
&lt;br /&gt;
完整相片&lt;br /&gt;
&lt;a data-flickr-embed=&quot;true&quot; data-header=&quot;true&quot; href=&quot;https://www.flickr.com/photos/plany/albums/72157672966695486&quot; title=&quot;2016-08-07 ~ 11 北海道&quot;&gt;&lt;img alt=&quot;2016-08-07 ~ 11 北海道&quot; height=&quot;427&quot; src=&quot;https://c3.staticflickr.com/9/8585/28992073930_62d4b86d81_z.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;script async=&quot;&quot; charset=&quot;utf-8&quot; src=&quot;//embedr.flickr.com/assets/client-code.js&quot;&gt;&lt;/script&gt;&lt;br /&gt;
&lt;br /&gt;
地圖&lt;br /&gt;
&lt;iframe height=&quot;480&quot; src=&quot;https://www.google.com/maps/d/embed?mid=1XKckDpfuhvZ7LfAFISQVol6UNuI&quot; width=&quot;640&quot;&gt;&lt;/iframe&gt;</content><link rel='replies' type='application/atom+xml' href='http://planykao.blogspot.com/feeds/8920268566280199904/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://planykao.blogspot.com/2016/09/blog-post.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30031336/posts/default/8920268566280199904'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30031336/posts/default/8920268566280199904'/><link rel='alternate' type='text/html' href='http://planykao.blogspot.com/2016/09/blog-post.html' title='說好的避暑呢? 北海道五天四夜'/><author><name>PlanyKao</name><uri>http://www.blogger.com/profile/01171401575193157666</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-30031336.post-7598641585791698657</id><published>2016-06-22T21:55:00.004+08:00</published><updated>2016-06-22T22:02:47.025+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="skype"/><title type='text'>Skype被盜證明：我的朋友都還滿耐斯的</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/AVvXsEhT5tWJrk-J1V651PkwNnPB2zaNkcx2biiYxF0yg724jXV4gceRHkFtMYn9VKYalASdMOFBSmQZIpP-yYOND8X2MOHKVhvg9ZecERpr7g7li0W0-gjWZOf_K9KvobwB53irqlVw/s1600/skype.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;460&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhT5tWJrk-J1V651PkwNnPB2zaNkcx2biiYxF0yg724jXV4gceRHkFtMYn9VKYalASdMOFBSmQZIpP-yYOND8X2MOHKVhvg9ZecERpr7g7li0W0-gjWZOf_K9KvobwB53irqlVw/s640/skype.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
Skype 被盜用，妙的是，因為 Skype 和 MSN 合併了，也就是一個帳號，可以有兩種不同的方式登入，所以我還是能用 MSN 的帳號登入 Skype，而且因為早期申請 Skype 時，不需要填什麼資料，所以我 Skype 帳號內完全沒有任何可以通知我的方式，所以有異常登入時，我收不到電子郵件的通知，也無法透過電子郵件或是電話來重設密碼，最後只能打電話透過客服把帳號給拿回來 lol&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
回家登入原本的帳號後，發現被盜期間還滿多人回訊息的，但也因為這是老梗了，幾乎所有的人都知道是詐騙的，當然也是有人沒發現啦 XD&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/AVvXsEgFzHN9bsD70nvTxggm1y78GjD_NHfhqPzPS_Qie7ICGlrdP2yiqy92_hnzzhPvu2Gh6Hv0eGOgFVGmZwatzpg_W_k8DGo7Uw4Zf3DfhMi2t8XJqwzUKdjf_78fO2x4S6OnAWmy/s1600/01_skype_wtf.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/AVvXsEgFzHN9bsD70nvTxggm1y78GjD_NHfhqPzPS_Qie7ICGlrdP2yiqy92_hnzzhPvu2Gh6Hv0eGOgFVGmZwatzpg_W_k8DGo7Uw4Zf3DfhMi2t8XJqwzUKdjf_78fO2x4S6OnAWmy/s1600/01_skype_wtf.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
我們應該不是會見面的關係ㄟ?????????&amp;nbsp;&lt;/blockquote&gt;
&lt;hr /&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/AVvXsEiqwlWiwEnxjNI_sVZpFu_YIvwqCTHUyPxRuW3nhVEH8YJIlXYqI3Fh-e4sRwBrJ0g9wfboOxqE97SCCkjlmwHAoyugdGY18Rdo1K2tp_2TrlCgP1gyiww2k5giu6fledTQIvIG/s1600/02_skype_forgot.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/AVvXsEiqwlWiwEnxjNI_sVZpFu_YIvwqCTHUyPxRuW3nhVEH8YJIlXYqI3Fh-e4sRwBrJ0g9wfboOxqE97SCCkjlmwHAoyugdGY18Rdo1K2tp_2TrlCgP1gyiww2k5giu6fledTQIvIG/s1600/02_skype_forgot.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
被遺忘了，覺得傷心.....&lt;/blockquote&gt;
&lt;hr /&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/AVvXsEiN5PDv1la54PTkP8KGLnzK4IqTEnwuIEeU9UKp8wB8n_T4ZiXUCK_lXkzz8wVw4zA2rVpd2EqpooW99_El4xffTBsG7exPxh2rG-eApSMjgeWiIMp3HpIA3HVjTPnMJmBvMnnN/s1600/03_skype.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/AVvXsEiN5PDv1la54PTkP8KGLnzK4IqTEnwuIEeU9UKp8wB8n_T4ZiXUCK_lXkzz8wVw4zA2rVpd2EqpooW99_El4xffTBsG7exPxh2rG-eApSMjgeWiIMp3HpIA3HVjTPnMJmBvMnnN/s1600/03_skype.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
沒發現&amp;nbsp;+1&lt;/blockquote&gt;
&lt;hr /&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/AVvXsEgGTGaLQpjK2VyIwA-kCfUqJE9BIAqPgoBkVZE7l2-mzALOqddY88VwBB8bBC7aZtgwj02HwYCc92IzlpjzZRZC2yGpC5N5QSChrj-k83W2Cx6QJU1xdRrpDGp1ULYYZa2SKZlm/s1600/04_skype.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/AVvXsEgGTGaLQpjK2VyIwA-kCfUqJE9BIAqPgoBkVZE7l2-mzALOqddY88VwBB8bBC7aZtgwj02HwYCc92IzlpjzZRZC2yGpC5N5QSChrj-k83W2Cx6QJU1xdRrpDGp1ULYYZa2SKZlm/s1600/04_skype.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
很會很會&lt;/blockquote&gt;
&lt;hr /&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/AVvXsEifAkIsTRffwJ71WrXF6p54YvOr98UrkEXg-uvAwmIdTBzZ1jrJ7UTL8hJL5PWfRgCn0l0Rzw5N5PUF7AxyStvS3sCsATTjKMvhstwIQ72QgQGrY4hE5HG-ytniSPHL9Kl4gWol/s1600/05_skype_noname.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/AVvXsEifAkIsTRffwJ71WrXF6p54YvOr98UrkEXg-uvAwmIdTBzZ1jrJ7UTL8hJL5PWfRgCn0l0Rzw5N5PUF7AxyStvS3sCsATTjKMvhstwIQ72QgQGrY4hE5HG-ytniSPHL9Kl4gWol/s1600/05_skype_noname.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
不要這麼大聲的喊出我另一個名字....&lt;/blockquote&gt;
&lt;hr /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2bU9NnE1Cuv3tAJukBkt70oSKfkQSJSlMShtL4B2vbJfzLPx5una9KCpd9GxRUFo_SmE8BK3jetG4xSj3Q-qfy8yGjA1bA8AS2ahyypCHBuEL2d-OzSv-W3Khx6y-UEWS6CXf/s1600/06_skype_lol.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2bU9NnE1Cuv3tAJukBkt70oSKfkQSJSlMShtL4B2vbJfzLPx5una9KCpd9GxRUFo_SmE8BK3jetG4xSj3Q-qfy8yGjA1bA8AS2ahyypCHBuEL2d-OzSv-W3Khx6y-UEWS6CXf/s1600/06_skype_lol.png&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
話很多....&lt;/blockquote&gt;
&lt;hr /&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/AVvXsEj2sYYY7rGSWqp11n-osKSwAgm_crmWfD50MZ88jmLgNnDmnNjmX69cPh7UdASgTwdKmnYFWh4ziNkCWj5hkTp00lDxtJWFMp5BrMtVsZvNCzyxPfMFUYK9TRSZ1R7Zqml-746i/s1600/07_skype_angry.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/AVvXsEj2sYYY7rGSWqp11n-osKSwAgm_crmWfD50MZ88jmLgNnDmnNjmX69cPh7UdASgTwdKmnYFWh4ziNkCWj5hkTp00lDxtJWFMp5BrMtVsZvNCzyxPfMFUYK9TRSZ1R7Zqml-746i/s1600/07_skype_angry.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
最氣的那種&lt;/blockquote&gt;
&lt;hr /&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/AVvXsEjnUi_SAH9uAUZIqzmpoAekPKINzF_w80N4V0lIEYo4c0LIVo4fI8jmbPOijGam0sWXiZmFv40qk-hGuhoWGyx2jSLYBWNo-lrdZZgkyrw9P0KmPRvOslp8TruKJxAtoJrUabX8/s1600/08_skype_awareness.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/AVvXsEjnUi_SAH9uAUZIqzmpoAekPKINzF_w80N4V0lIEYo4c0LIVo4fI8jmbPOijGam0sWXiZmFv40qk-hGuhoWGyx2jSLYBWNo-lrdZZgkyrw9P0KmPRvOslp8TruKJxAtoJrUabX8/s1600/08_skype_awareness.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
沒發現&amp;nbsp;+2&lt;/blockquote&gt;
&lt;hr /&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/AVvXsEibj92g7L_OxRb13mc61B74aKKCojxcCye4efV_1HXA1PiQzTaE81iGLpY3Qj1_6DD1REpTS4k7h0VNXi9bdvq1N6G60cn6MF0NHWOs1WZk40uQaYkDUDgedOUXy3VrMs9uyCKm/s1600/09_skype_notbusy.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/AVvXsEibj92g7L_OxRb13mc61B74aKKCojxcCye4efV_1HXA1PiQzTaE81iGLpY3Qj1_6DD1REpTS4k7h0VNXi9bdvq1N6G60cn6MF0NHWOs1WZk40uQaYkDUDgedOUXy3VrMs9uyCKm/s1600/09_skype_notbusy.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
上班最爽的那種，還有時間回詐騙。&lt;/blockquote&gt;
&lt;hr /&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/AVvXsEjcwk31N4fz0a6Bm5LqByHBgZO03V-4pD6EcnUYYPgjsg1TJbY1UAcutoS1fFDSJYoBgCbNE554LPQ-x3Bk3E9mOo88Heqso8s78bksf8pD3-63OV__7YANi7-l3_5vB0DOG_0j/s1600/10_skype.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/AVvXsEjcwk31N4fz0a6Bm5LqByHBgZO03V-4pD6EcnUYYPgjsg1TJbY1UAcutoS1fFDSJYoBgCbNE554LPQ-x3Bk3E9mOo88Heqso8s78bksf8pD3-63OV__7YANi7-l3_5vB0DOG_0j/s1600/10_skype.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
人最好的那種，還會問夠不夠....&lt;/blockquote&gt;
&lt;hr /&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/AVvXsEieGJ2UQQCva0Kydc9xdmGas2JFEARZc1ohWjjHXhAE4IEREicDrMWB-qtgvqHEzrTqxaD5tTGoOf0tMTN3kZjew0Xb42Q1LiA7YDLWctE3Ik3uFL6nu_-rcP9MA2hv2dBwYfRD/s1600/11_skype_lol.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/AVvXsEieGJ2UQQCva0Kydc9xdmGas2JFEARZc1ohWjjHXhAE4IEREicDrMWB-qtgvqHEzrTqxaD5tTGoOf0tMTN3kZjew0Xb42Q1LiA7YDLWctE3Ik3uFL6nu_-rcP9MA2hv2dBwYfRD/s1600/11_skype_lol.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
我沒有病....&lt;/blockquote&gt;
&lt;hr /&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/AVvXsEgQh0slUYOsD2rc1XE6EEHVNP4Ye-SL4uZVHeUHrO-RVsht1bUKrsXP13V3Zr-cey9HjZcJI35ds82K394d1jSLmPwyuxORpod0XXkb0gOwnskg9dLX1QR8vBRfEw5sL_lfN3Bd/s1600/12_skype_XD.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/AVvXsEgQh0slUYOsD2rc1XE6EEHVNP4Ye-SL4uZVHeUHrO-RVsht1bUKrsXP13V3Zr-cey9HjZcJI35ds82K394d1jSLmPwyuxORpod0XXkb0gOwnskg9dLX1QR8vBRfEw5sL_lfN3Bd/s1600/12_skype_XD.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
台灣人就是要用正體中文&lt;/blockquote&gt;
&lt;hr /&gt;
</content><link rel='replies' type='application/atom+xml' href='http://planykao.blogspot.com/feeds/7598641585791698657/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://planykao.blogspot.com/2016/06/skype_22.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30031336/posts/default/7598641585791698657'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30031336/posts/default/7598641585791698657'/><link rel='alternate' type='text/html' href='http://planykao.blogspot.com/2016/06/skype_22.html' title='Skype被盜證明：我的朋友都還滿耐斯的'/><author><name>PlanyKao</name><uri>http://www.blogger.com/profile/01171401575193157666</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/AVvXsEhT5tWJrk-J1V651PkwNnPB2zaNkcx2biiYxF0yg724jXV4gceRHkFtMYn9VKYalASdMOFBSmQZIpP-yYOND8X2MOHKVhvg9ZecERpr7g7li0W0-gjWZOf_K9KvobwB53irqlVw/s72-c/skype.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30031336.post-6809689535318789911</id><published>2016-01-14T21:08:00.000+08:00</published><updated>2016-01-14T21:09:49.866+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Windows"/><category scheme="http://www.blogger.com/atom/ns#" term="Wireless"/><title type='text'>Windows 10 無線網路：遺失一個或多個網路通訊協定</title><content type='html'>好多年前購買的 Acer 4820TG 在升級 Windows 10 後，無線網路就很不穩定(無線網路晶片是 BCM94322c5HM，Device ID: 0x4357)，明明連線就還在(右下角網路連線的圖示顯示連線)，但不要說連上 Internet，連 AP 都 Ping 不到，必須要中斷線連再重新連線才能恢復正常。問 Google 問了好久，試了底下兩種方法：&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
1.&amp;nbsp;&lt;a href=&quot;https://sofree.cc/win10-dns-internet/&quot; target=&quot;_blank&quot;&gt;[教學]解決 Windows 10 無法上網、DNS伺服器沒有回應、Chrome無法連線&lt;/a&gt;&lt;br /&gt;
2. 以管理員身份開啟 cmd，執行 netsh winsock reset 並重開機。&lt;/blockquote&gt;
驅動程式也換到我所能找到最新的版本(6.33.223.1,&amp;nbsp;DriverVer=10/31/2013)，但都還是有一樣的問題，動不動就出現驚嘆號，提示目前網路無法連上 Internet。&lt;br /&gt;
&lt;br /&gt;
老舊筆電升 Windows 10 臭了嗎.........</content><link rel='replies' type='application/atom+xml' href='http://planykao.blogspot.com/feeds/6809689535318789911/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://planykao.blogspot.com/2016/01/windows-10.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30031336/posts/default/6809689535318789911'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30031336/posts/default/6809689535318789911'/><link rel='alternate' type='text/html' href='http://planykao.blogspot.com/2016/01/windows-10.html' title='Windows 10 無線網路：遺失一個或多個網路通訊協定'/><author><name>PlanyKao</name><uri>http://www.blogger.com/profile/01171401575193157666</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-30031336.post-1507245589860148842</id><published>2015-09-16T22:14:00.000+08:00</published><updated>2015-09-16T22:14:27.752+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ArchLinux"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><title type='text'>Disable resolvconf</title><content type='html'>&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtpGII36p8rL3EDCx7w830ea4BZYlln6l1i7rZpw3enIsPYXYkkHFV_8UvK8Je8D_fS9miXpWqCxOPKrs8jK7b32tIlhtYTeNVnjm52K96ucCfCgrsW839LOt3TjnqCzh9ZDSv/s1600/arch-64-64.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtpGII36p8rL3EDCx7w830ea4BZYlln6l1i7rZpw3enIsPYXYkkHFV_8UvK8Je8D_fS9miXpWqCxOPKrs8jK7b32tIlhtYTeNVnjm52K96ucCfCgrsW839LOt3TjnqCzh9ZDSv/s1600/arch-64-64.png&quot; /&gt;&lt;/a&gt;不知道為什麼在 NetowrkManager 中的&lt;span style=&quot;font-family: &#39;AR PL UMing TW&#39;; line-height: 100%;&quot;&gt;「&lt;/span&gt;ignore-auto-dns=true&lt;span style=&quot;font-family: &#39;AR PL UMing TW&#39;; line-height: 20px;&quot;&gt;」&lt;/span&gt;沒有作用，不論是放在 [ipv4] 裡還是放在 [ppp] 裡，都沒有用，在連線後，NetworkManager 還是會以取得的 DNS 去蓋掉&lt;span style=&quot;font-family: &#39;AR PL UMing TW&#39;; line-height: 20px;&quot;&gt;「&lt;/span&gt;dns:&lt;span style=&quot;font-family: &#39;AR PL UMing TW&#39;; line-height: 20px;&quot;&gt;」&lt;/span&gt;的設定。&lt;br /&gt;
&lt;br /&gt;
原本的設定如下，是用&lt;span style=&quot;font-family: &#39;AR PL UMing TW&#39;; line-height: 20px;&quot;&gt;「&lt;/span&gt;nm-connection-editor&lt;span style=&quot;font-family: AR PL UMing TW;&quot;&gt;&lt;span style=&quot;line-height: 20px;&quot;&gt;」&lt;/span&gt;&lt;/span&gt;產生的，所以設定應該是沒有什麼問題。&lt;br /&gt;
&lt;code class=&quot;cmd&quot;&gt;[ipv4]&lt;br /&gt;
&lt;b&gt;dns=8.8.8.8;168.95.192.1;&lt;/b&gt;&lt;br /&gt;
dns-search=&lt;br /&gt;
&lt;b&gt;ignore-auto-dns=true&lt;/b&gt;&lt;br /&gt;
method=auto&lt;/code&gt;&lt;br /&gt;
上網查了一下，還是找不到問題，所以只好從&lt;span style=&quot;font-family: &#39;AR PL UMing TW&#39;; line-height: 20px;&quot;&gt;「&lt;/span&gt;resolv.conf&lt;span style=&quot;font-family: &#39;AR PL UMing TW&#39;; line-height: 20px;&quot;&gt;」&lt;/span&gt;下手了。由於/etc/resolv.conf是透過&lt;span style=&quot;font-family: &#39;AR PL UMing TW&#39;; line-height: 20px;&quot;&gt;「&lt;/span&gt;resolvconf&lt;span style=&quot;font-family: &#39;AR PL UMing TW&#39;; line-height: 20px;&quot;&gt;」&lt;/span&gt;產生的，man 了 resolvconf.conf 之後，發現有選項可以關閉 resolvconf 產生 resolv.conf。&lt;br /&gt;
&lt;code class=&quot;cmd&quot;&gt;# Configuration for resolvconf(8)&lt;br /&gt;
# See resolvconf.conf(5) for details&lt;br /&gt;
&lt;b&gt;resolvconf=NO&lt;/b&gt;&lt;br /&gt;
resolv_conf=/etc/resolv.conf&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://planykao.blogspot.com/feeds/1507245589860148842/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://planykao.blogspot.com/2015/09/disable-resolvconf.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30031336/posts/default/1507245589860148842'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30031336/posts/default/1507245589860148842'/><link rel='alternate' type='text/html' href='http://planykao.blogspot.com/2015/09/disable-resolvconf.html' title='Disable resolvconf'/><author><name>PlanyKao</name><uri>http://www.blogger.com/profile/01171401575193157666</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/AVvXsEjtpGII36p8rL3EDCx7w830ea4BZYlln6l1i7rZpw3enIsPYXYkkHFV_8UvK8Je8D_fS9miXpWqCxOPKrs8jK7b32tIlhtYTeNVnjm52K96ucCfCgrsW839LOt3TjnqCzh9ZDSv/s72-c/arch-64-64.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30031336.post-5636433186333768219</id><published>2015-07-18T22:10:00.001+08:00</published><updated>2015-07-18T22:11:47.767+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ArchLinux"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><title type='text'>ffmpegthumbnailer - Set locale to the user specified locale</title><content type='html'>&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtpGII36p8rL3EDCx7w830ea4BZYlln6l1i7rZpw3enIsPYXYkkHFV_8UvK8Je8D_fS9miXpWqCxOPKrs8jK7b32tIlhtYTeNVnjm52K96ucCfCgrsW839LOt3TjnqCzh9ZDSv/s1600/arch-64-64.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtpGII36p8rL3EDCx7w830ea4BZYlln6l1i7rZpw3enIsPYXYkkHFV_8UvK8Je8D_fS9miXpWqCxOPKrs8jK7b32tIlhtYTeNVnjm52K96ucCfCgrsW839LOt3TjnqCzh9ZDSv/s1600/arch-64-64.png&quot; /&gt;&lt;/a&gt;After upgrade ffmpegthumbnailer to 2.0.10-1, the Nautilus stop to create thumbnails. If you execute ffmpegthumbnailer manually, you will get the following message:&lt;br /&gt;
&lt;code class=&quot;cmd&quot;&gt;Locale not specified. Check LANG, LC_CTYPE, LC_ALL&lt;/code&gt;&lt;br /&gt;
The upstream already fix the problem, but Arch Linux package doesn&#39;t apply the patch yet. Rebuild the package with the &lt;a href=&quot;https://github.com/dirkvdb/ffmpegthumbnailer/commit/718f1b1147fe7e9138e2d503ed151e589d643772#diff-118fcbaaba162ba17933c7893247df3a&quot; target=&quot;_blank&quot;&gt;patch&lt;/a&gt; or wait Arch Linux to update.&lt;br /&gt;
&lt;br /&gt;
&lt;code class=&quot;ref&quot;&gt;&lt;a href=&quot;https://github.com/dirkvdb/ffmpegthumbnailer/issues/121&quot; target=&quot;_blank&quot;&gt;locale !en_US.UTF-8 #121&lt;/a&gt;&lt;/code&gt;</content><link rel='replies' type='application/atom+xml' href='http://planykao.blogspot.com/feeds/5636433186333768219/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://planykao.blogspot.com/2015/07/ffmpegthumbnailer-set-locale-to-user.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30031336/posts/default/5636433186333768219'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30031336/posts/default/5636433186333768219'/><link rel='alternate' type='text/html' href='http://planykao.blogspot.com/2015/07/ffmpegthumbnailer-set-locale-to-user.html' title='ffmpegthumbnailer - Set locale to the user specified locale'/><author><name>PlanyKao</name><uri>http://www.blogger.com/profile/01171401575193157666</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/AVvXsEjtpGII36p8rL3EDCx7w830ea4BZYlln6l1i7rZpw3enIsPYXYkkHFV_8UvK8Je8D_fS9miXpWqCxOPKrs8jK7b32tIlhtYTeNVnjm52K96ucCfCgrsW839LOt3TjnqCzh9ZDSv/s72-c/arch-64-64.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30031336.post-6848784592163935663</id><published>2015-07-04T22:57:00.001+08:00</published><updated>2015-07-04T22:57:27.161+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ArchLinux"/><title type='text'>Perl 5.22 update breaks a lot of things</title><content type='html'>&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtpGII36p8rL3EDCx7w830ea4BZYlln6l1i7rZpw3enIsPYXYkkHFV_8UvK8Je8D_fS9miXpWqCxOPKrs8jK7b32tIlhtYTeNVnjm52K96ucCfCgrsW839LOt3TjnqCzh9ZDSv/s1600/arch-64-64.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtpGII36p8rL3EDCx7w830ea4BZYlln6l1i7rZpw3enIsPYXYkkHFV_8UvK8Je8D_fS9miXpWqCxOPKrs8jK7b32tIlhtYTeNVnjm52K96ucCfCgrsW839LOt3TjnqCzh9ZDSv/s1600/arch-64-64.png&quot; /&gt;&lt;/a&gt;After update Perl 5.22, it breaks a lot of things.....almost everything, and here is the solution: remove &quot;perl-scalar-list-utils&quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;code class=&quot;ref&quot;&gt;&lt;a href=&quot;https://bbs.archlinux.org/viewtopic.php?id=199172&quot; target=&quot;_blank&quot;&gt;Perl 5.22 update breaks numerous things. [SOLVED]&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;https://lists.archlinux.org/pipermail/arch-dev-public/2015-June/027236.html&quot; target=&quot;_blank&quot;&gt;[arch-dev-public] Perl 5.22 in [testing]&lt;/a&gt;&lt;/code&gt;</content><link rel='replies' type='application/atom+xml' href='http://planykao.blogspot.com/feeds/6848784592163935663/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://planykao.blogspot.com/2015/07/perl-522-update-breaks-lot-of-things.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30031336/posts/default/6848784592163935663'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30031336/posts/default/6848784592163935663'/><link rel='alternate' type='text/html' href='http://planykao.blogspot.com/2015/07/perl-522-update-breaks-lot-of-things.html' title='Perl 5.22 update breaks a lot of things'/><author><name>PlanyKao</name><uri>http://www.blogger.com/profile/01171401575193157666</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/AVvXsEjtpGII36p8rL3EDCx7w830ea4BZYlln6l1i7rZpw3enIsPYXYkkHFV_8UvK8Je8D_fS9miXpWqCxOPKrs8jK7b32tIlhtYTeNVnjm52K96ucCfCgrsW839LOt3TjnqCzh9ZDSv/s72-c/arch-64-64.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30031336.post-2835928682205463181</id><published>2015-07-04T14:46:00.000+08:00</published><updated>2015-07-04T15:02:42.371+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="遊記"/><title type='text'>京都五日遊</title><content type='html'>&lt;a href=&quot;https://www.flickr.com/photos/plany/15890630342&quot; title=&quot;IMG_2531 by planykao, 於 Flickr&quot;&gt;&lt;img alt=&quot;IMG_2531&quot; height=&quot;427&quot; src=&quot;https://c2.staticflickr.com/8/7576/15890630342_4b0f70ca74_z.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
說是五日遊，其實只有三日，因為是十一月去的，適逢賞楓的時段，所以晚去早回，只剩中間三天的時間，但三天賞楓也是很夠了 lol&lt;br /&gt;
&lt;br /&gt;
拖了半年多才想起來要做紀錄，細節都忘得差不多了，只好將去過的景點標一標 XD&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;427&quot; mozallowfullscreen=&quot;&quot; msallowfullscreen=&quot;&quot; oallowfullscreen=&quot;&quot; src=&quot;https://www.flickr.com/photos/plany/sets/72157649499323765/player/&quot; webkitallowfullscreen=&quot;&quot; width=&quot;640&quot;&gt;&lt;/iframe&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;iframe frameborder=&quot;0&quot; height=&quot;427&quot; scrolling=&quot;no&quot; src=&quot;https://www.google.com/calendar/embed?src=o6121fc2lmit1juqnoqb3uc0ao%40group.calendar.google.com&amp;amp;ctz=Asia/Taipei&quot; style=&quot;border: 0;&quot; width=&quot;640&quot;&gt;&lt;/iframe&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;iframe height=&quot;480&quot; src=&quot;https://www.google.com/maps/d/embed?mid=zFXIIuS9-QA4.kCKp3MIMd1LQ&quot; width=&quot;640&quot;&gt;&lt;/iframe&gt;</content><link rel='replies' type='application/atom+xml' href='http://planykao.blogspot.com/feeds/2835928682205463181/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://planykao.blogspot.com/2015/07/blog-post.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30031336/posts/default/2835928682205463181'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30031336/posts/default/2835928682205463181'/><link rel='alternate' type='text/html' href='http://planykao.blogspot.com/2015/07/blog-post.html' title='京都五日遊'/><author><name>PlanyKao</name><uri>http://www.blogger.com/profile/01171401575193157666</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-30031336.post-5144879518980832742</id><published>2015-05-17T12:54:00.001+08:00</published><updated>2015-05-17T12:54:52.189+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ArchLinux"/><category scheme="http://www.blogger.com/atom/ns#" term="軟體"/><category scheme="http://www.blogger.com/atom/ns#" term="隨筆記"/><title type='text'>File-roller can&#39;t extract rar multiple archives on Gnome 3.16</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/AVvXsEjtpGII36p8rL3EDCx7w830ea4BZYlln6l1i7rZpw3enIsPYXYkkHFV_8UvK8Je8D_fS9miXpWqCxOPKrs8jK7b32tIlhtYTeNVnjm52K96ucCfCgrsW839LOt3TjnqCzh9ZDSv/s1600/arch-64-64.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtpGII36p8rL3EDCx7w830ea4BZYlln6l1i7rZpw3enIsPYXYkkHFV_8UvK8Je8D_fS9miXpWqCxOPKrs8jK7b32tIlhtYTeNVnjm52K96ucCfCgrsW839LOt3TjnqCzh9ZDSv/s1600/arch-64-64.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;After updating to Gnome 3.16, File-roller can&#39;t extract multiple rar archives, but unrar still works in command line. After doing some search, i found there is a patch can fix this issue, hope the upstream will fix this issue soon.&lt;br /&gt;
&lt;br /&gt;
&lt;code class=&quot;ref&quot;&gt;&lt;a href=&quot;https://bbs.archlinux.org/viewtopic.php?id=196198&quot; target=&quot;_blank&quot;&gt;extracting multiple archives won&#39;t work after gnome 3.16&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;https://bugzilla.gnome.org/show_bug.cgi?id=747970&quot; target=&quot;_blank&quot;&gt;Bug 747970&lt;/a&gt; - [PATCH] Give priority to rar and unrar that supports RAR files better&lt;br /&gt;
&lt;/code&gt;</content><link rel='replies' type='application/atom+xml' href='http://planykao.blogspot.com/feeds/5144879518980832742/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://planykao.blogspot.com/2015/05/file-roller-cant-extract-rar-multiple.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30031336/posts/default/5144879518980832742'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30031336/posts/default/5144879518980832742'/><link rel='alternate' type='text/html' href='http://planykao.blogspot.com/2015/05/file-roller-cant-extract-rar-multiple.html' title='File-roller can&#39;t extract rar multiple archives on Gnome 3.16'/><author><name>PlanyKao</name><uri>http://www.blogger.com/profile/01171401575193157666</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/AVvXsEjtpGII36p8rL3EDCx7w830ea4BZYlln6l1i7rZpw3enIsPYXYkkHFV_8UvK8Je8D_fS9miXpWqCxOPKrs8jK7b32tIlhtYTeNVnjm52K96ucCfCgrsW839LOt3TjnqCzh9ZDSv/s72-c/arch-64-64.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30031336.post-3374275909825577585</id><published>2015-04-27T22:40:00.000+08:00</published><updated>2015-04-27T22:42:13.736+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'>長物志的四神相應在工作了好幾年後，上禮拜熊熊罷工了，保險絲燒斷了，換新的也沒用，上電就燒斷，所以只好送回原廠維修。本來想說用耳機撐過沒喇叭的這幾天，但突然想到，青龍搭配 2 吋叭已經有好長一段時間沒用了(廢話，因為都在用四神配 3 吋叭)，正好趁現在拿出來透透氣。但青龍原本的變壓器已經不知道被我丟去哪了，想說反正只是個變壓器，上網隨便買就好，應該沒什麼差別，但沒想到變壓器的好壞，卻是天差地別阿...&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&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/AVvXsEhTamOS-1sAcJlGaXfCHblxp0ILQ5GBwUvOIAAmCbJLZpQ7vC2oBOaAt8N4b8qwlrkxzzzax_V6Le7rErjS13IJffEC36D3JpUq5JDPZp0_tbsF4sfwGFX4JuedEvkfZ2WbuBOQ/s1600/IMG_3441.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/AVvXsEhTamOS-1sAcJlGaXfCHblxp0ILQ5GBwUvOIAAmCbJLZpQ7vC2oBOaAt8N4b8qwlrkxzzzax_V6Le7rErjS13IJffEC36D3JpUq5JDPZp0_tbsF4sfwGFX4JuedEvkfZ2WbuBOQ/s1600/IMG_3441.JPG&quot; height=&quot;400&quot; width=&quot;283&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
先買的是這組，要價新台幣 750。因為之後也不會常用青龍接 2 吋叭，所以變壓器就買了個有轉接頭的，這樣之後還可以拿去接別的東西，結果一接上青龍後，喇叭就一直發出雜音，而且是超大聲的雜音，我根本連開關都還沒開，害我以為是青龍掛了，後來喬了變壓器和青龍的位置，終於喬出一個沒雜音狀態，但手一碰到青龍、電源線或是變壓器，雜音整個就又跑出來......&lt;br /&gt;
&lt;br /&gt;
為了要釐清是什麼部份的問題，所以又買了一組台達電的，新台幣 330 元。&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/AVvXsEgNA5oIYQVe3slQfrtcaUfiB-pnCJrIsihhO-QXq3T3ZkiHe-2qUv4tWRnO7uZcMxXqIIZxRsR3BX-_4jOxz39XKzj0Cv5Qq_I4YitYxBovu49L08GNwSDtRyHu7UpitEoDu8B-/s1600/IMG_3442.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/AVvXsEgNA5oIYQVe3slQfrtcaUfiB-pnCJrIsihhO-QXq3T3ZkiHe-2qUv4tWRnO7uZcMxXqIIZxRsR3BX-_4jOxz39XKzj0Cv5Qq_I4YitYxBovu49L08GNwSDtRyHu7UpitEoDu8B-/s1600/IMG_3442.JPG&quot; height=&quot;400&quot; width=&quot;160&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
上電後，青龍安安靜靜，完全沒有雜音，也沒有電流哼聲，所以問題很明顯了，兇手應該就是變壓器無誤，只是不知道是因為接頭的部份是轉接的原因還是本身變壓器轉出來的品質沒有很好。</content><link rel='replies' type='application/atom+xml' href='http://planykao.blogspot.com/feeds/3374275909825577585/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://planykao.blogspot.com/2015/04/blog-post.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30031336/posts/default/3374275909825577585'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30031336/posts/default/3374275909825577585'/><link rel='alternate' type='text/html' href='http://planykao.blogspot.com/2015/04/blog-post.html' title='好的變壓器帶你上天堂'/><author><name>PlanyKao</name><uri>http://www.blogger.com/profile/01171401575193157666</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/AVvXsEhTamOS-1sAcJlGaXfCHblxp0ILQ5GBwUvOIAAmCbJLZpQ7vC2oBOaAt8N4b8qwlrkxzzzax_V6Le7rErjS13IJffEC36D3JpUq5JDPZp0_tbsF4sfwGFX4JuedEvkfZ2WbuBOQ/s72-c/IMG_3441.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30031336.post-2127001575384919967</id><published>2014-12-07T17:00:00.001+08:00</published><updated>2014-12-07T19:43:12.269+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Chromecast"/><category scheme="http://www.blogger.com/atom/ns#" term="Google"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><title type='text'>Chromecast</title><content type='html'>&lt;iframe src=&quot;https://www.flickr.com/photos/plany/15777737150/in/set-72157649647420655/player/&quot; width=&quot;640&quot; height=&quot;427&quot; frameborder=&quot;0&quot; allowfullscreen webkitallowfullscreen mozallowfullscreen oallowfullscreen msallowfullscreen&gt;&lt;/iframe&gt;&lt;br /&gt;
&lt;br /&gt;
終於等到 Chromecast 在台灣開賣，馬上就手滑買了一支來玩，安裝方式很簡單，只要將 Chromecast 接上電視和電源，然後電視切換到 HDMI 的輸入，按照畫面上的說明就可以設定完成了。&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;將手機和 Windows 上的畫面投射到電視的方式就不說了，直接參考&lt;a href=&quot;https://support.google.com/chromecast/answer/2998456?hl=zh-Hant&amp;amp;ref_topic=3058948&quot; target=&quot;_blank&quot;&gt;官方說明&lt;/a&gt;，Linux 上則需要安裝 &lt;a href=&quot;https://chrome.google.com/webstore/detail/google-cast/boadgeojelhgndaghljhdicfkmllpafd?hl=zh-TW&quot; target=&quot;_blank&quot;&gt;Google Cast&lt;/a&gt; 這個 Chrome 的擴充套件，進入設定頁面應該就能找到 Chromecast 裝置。&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/AVvXsEgVrnefM-fiYAn_R7L0tsqjz9E45DWfhA5ix2iMvFLBY8AvKWEAjWiUfPXVBkrh-drfzPZF7cTsTkxpWschdqhwPOXJUlsZYu8-hl8v_5rZY1b2YRCRG0nEIQWBK3XRjZ4SP6ih/s1600/google-cast-setup.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/AVvXsEgVrnefM-fiYAn_R7L0tsqjz9E45DWfhA5ix2iMvFLBY8AvKWEAjWiUfPXVBkrh-drfzPZF7cTsTkxpWschdqhwPOXJUlsZYu8-hl8v_5rZY1b2YRCRG0nEIQWBK3XRjZ4SP6ih/s1600/google-cast-setup.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
安裝完後，瀏覽器的工具最上會多一個 Chromecast 的圖示，這樣就能將瀏覽器上的畫面投射到電視上了，Youtube 則是有整合這個擴充套件，播放器旁會有 Chromecast 的圖示，點下去就行了。&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/AVvXsEhbyspWINFVEiwAKlWw1dbuceGr1hBllGIGeo1eov7wPsK9_w1vu2w_7_tHH_p6p3R3009w4QGQnqBQvlBk_b8dSQZplc0CIIz0VrR7nYc0v9F0WeGjOGxXBQdaYYEUMXo9K9DB/s1600/chromecast-youtube.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/AVvXsEhbyspWINFVEiwAKlWw1dbuceGr1hBllGIGeo1eov7wPsK9_w1vu2w_7_tHH_p6p3R3009w4QGQnqBQvlBk_b8dSQZplc0CIIz0VrR7nYc0v9F0WeGjOGxXBQdaYYEUMXo9K9DB/s1600/chromecast-youtube.png&quot; height=&quot;371&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
除了 Youtube 外，Twitch 也行，但 Twitch 只能投射正在廣播的頻道，而不能投射 VOD。Viemo 則沒有辦法直接將影片投射到電視上，而是投射目前的分頁。</content><link rel='replies' type='application/atom+xml' href='http://planykao.blogspot.com/feeds/2127001575384919967/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://planykao.blogspot.com/2014/12/chromecast.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30031336/posts/default/2127001575384919967'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30031336/posts/default/2127001575384919967'/><link rel='alternate' type='text/html' href='http://planykao.blogspot.com/2014/12/chromecast.html' title='Chromecast'/><author><name>PlanyKao</name><uri>http://www.blogger.com/profile/01171401575193157666</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/AVvXsEgVrnefM-fiYAn_R7L0tsqjz9E45DWfhA5ix2iMvFLBY8AvKWEAjWiUfPXVBkrh-drfzPZF7cTsTkxpWschdqhwPOXJUlsZYu8-hl8v_5rZY1b2YRCRG0nEIQWBK3XRjZ4SP6ih/s72-c/google-cast-setup.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30031336.post-828266621580881786</id><published>2014-10-31T11:22:00.005+08:00</published><updated>2014-10-31T11:28:02.406+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CentOS"/><category scheme="http://www.blogger.com/atom/ns#" term="iBus"/><category scheme="http://www.blogger.com/atom/ns#" term="ibus-table"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><title type='text'>iBus abnormal on CentOS 6.6 with multiple python installed</title><content type='html'>&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkDmMYcDg-_8STKS9GIfkeHkN_BAb9RMwuiV26X_HyVn2LJjR5bxKzPtN3nd_zLaalzaQTvd_U8Qc-1LVwb9CTHX_CJDOVeQGcGqzMtMQKDhyZbQnwOX8FC0SG-PGu-r24XCI2/s1600/ibus.logo.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkDmMYcDg-_8STKS9GIfkeHkN_BAb9RMwuiV26X_HyVn2LJjR5bxKzPtN3nd_zLaalzaQTvd_U8Qc-1LVwb9CTHX_CJDOVeQGcGqzMtMQKDhyZbQnwOX8FC0SG-PGu-r24XCI2/s1600/ibus.logo.jpg&quot; /&gt;&lt;/a&gt;CentOS 在升上 6.6 後，iBus 就不會顯示以 ibus-table 為框架的輸入法，但是翻了一下有升級的 package 裡面，好像也沒幾樣和 ibus 有關係，但因為我在系統上裝了三套 python (2.6, 2.7, 3.4)，所以就往這個方向去找問題。&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
安裝 python 時，如果是用&lt;br /&gt;
&lt;code class=&quot;cmd&quot;&gt; &lt;span style=&quot;color: white;&quot;&gt;# make altinstall&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;
，則系統上還是用原本的 python (/usr/bin/python)，但如果是用&lt;br /&gt;
&lt;code class=&quot;cmd&quot;&gt; &lt;span style=&quot;color: white;&quot;&gt;# make install&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;
，那系統則會用 /usr/local/bin/python。&lt;br /&gt;
&lt;br /&gt;
如果是使用後者安裝 python，則需要修改以下的檔案，將檔案中有 python 的部份，通通都改成 /usr/bin/python。&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;&lt;span style=&quot;color: lime;&quot;&gt;--- ibus-ui-gtk.bak&amp;nbsp;&amp;nbsp;&amp;nbsp; 2014-10-31 11:12:04.303881035 +0800&lt;br /&gt;
+++ ibus-ui-gtk&amp;nbsp;&amp;nbsp;&amp;nbsp; 2014-10-29 17:13:35.170125162 +0800&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: yellow;&quot;&gt;@@ -27,5 +27,6 @@&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&lt;span style=&quot;color: white;&quot;&gt;export IBUS_DATAROOTDIR=${prefix}/share&lt;br /&gt;
&amp;nbsp;export IBUS_LOCALEDIR=${datarootdir}/locale&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: orange;&quot;&gt;-exec python /usr/share/ibus/ui/gtk/main.py $@&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: cyan;&quot;&gt;+#exec python /usr/share/ibus/ui/gtk/main.py $@&lt;br /&gt;
+exec /usr/bin/python /usr/share/ibus/ui/gtk/main.py $@&lt;/span&gt;&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;&lt;span style=&quot;color: lime;&quot;&gt;--- ibus-engine-table.bak&amp;nbsp;&amp;nbsp;&amp;nbsp; 2014-10-31 11:13:40.392880798 +0800&lt;br /&gt;
+++ ibus-engine-table&amp;nbsp;&amp;nbsp;&amp;nbsp; 2014-10-31 11:02:47.039882425 +0800&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: yellow;&quot;&gt;@@ -28,15 +28,18 @@&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&lt;span style=&quot;color: white;&quot;&gt;for arg in $@; do&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; case $arg in&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; --xml | -x)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: orange;&quot;&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; exec python ${prefix}/share/ibus-table/engine/main.py --xml;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: cyan;&quot;&gt;+#&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; exec python ${prefix}/share/ibus-table/engine/main.py --xml;;&lt;br /&gt;
+&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; exec /usr/bin/python ${prefix}/share/ibus-table/engine/main.py --xml;;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: white;&quot;&gt;--help | -h)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: orange;&quot;&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; exec python ${prefix}/share/ibus-table/engine/main.py $@;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: cyan;&quot;&gt;+#&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; exec python ${prefix}/share/ibus-table/engine/main.py $@;;&lt;br /&gt;
+&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; exec /usr/bin/python ${prefix}/share/ibus-table/engine/main.py $@;;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: white;&quot;&gt;*)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # first running speedmeter as a daemon&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #python ${prefix}/share/ibus-table/engine/speedmeter.py -d &amp;gt; /dev/null&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # then start our IME&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: orange;&quot;&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp; exec python ${prefix}/share/ibus-table/engine/main.py $@&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: cyan;&quot;&gt;+#&amp;nbsp;&amp;nbsp;&amp;nbsp; exec python ${prefix}/share/ibus-table/engine/main.py $@&lt;br /&gt;
+&amp;nbsp;&amp;nbsp;&amp;nbsp; exec /usr/bin/python ${prefix}/share/ibus-table/engine/main.py $@&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: white;&quot;&gt;exit 0&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; esac&lt;br /&gt;
&amp;nbsp;done&lt;/span&gt;&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
奇怪的是，在還沒升上 CentOS 6.6 之前，我只有修改 ibus-ui-gtk，那時候嘸蝦米還用得好好的，但一升上 CentOS 6.6 後就無法使用了，必需修改 ibus-engine-table，且清掉原本的設定檔和 cache 後，再重新啟動 ibus-daemon，然後才能在 ibus-setup 裡看到那些使用 ibus-table 的輸入法。目前能猜到的原因大概就是升上 CentOS 6.6 時，iBus 的設定和 cache 都被清了，然後執行 ibus-engine-table 時就爆了，導致使用 ibus-table 的輸入法都沒辦法被 ibus 抓到。&lt;br /&gt;
&lt;br /&gt;
&lt;code class=&quot;cmd&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;$ rm -rf .ibus .config/ibus .cache/ibus&lt;br /&gt;
$ ibus-daemon -drx&lt;/span&gt;&lt;/code&gt;</content><link rel='replies' type='application/atom+xml' href='http://planykao.blogspot.com/feeds/828266621580881786/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://planykao.blogspot.com/2014/10/ibus-cant-show-chinese-input-method-on.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30031336/posts/default/828266621580881786'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30031336/posts/default/828266621580881786'/><link rel='alternate' type='text/html' href='http://planykao.blogspot.com/2014/10/ibus-cant-show-chinese-input-method-on.html' title='iBus abnormal on CentOS 6.6 with multiple python installed'/><author><name>PlanyKao</name><uri>http://www.blogger.com/profile/01171401575193157666</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/AVvXsEgkDmMYcDg-_8STKS9GIfkeHkN_BAb9RMwuiV26X_HyVn2LJjR5bxKzPtN3nd_zLaalzaQTvd_U8Qc-1LVwb9CTHX_CJDOVeQGcGqzMtMQKDhyZbQnwOX8FC0SG-PGu-r24XCI2/s72-c/ibus.logo.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30031336.post-221286551133347390</id><published>2014-10-28T16:07:00.000+08:00</published><updated>2014-10-28T22:27:46.704+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Django"/><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><category scheme="http://www.blogger.com/atom/ns#" term="隨筆記"/><title type='text'>Django 學習筆記</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/AVvXsEgHVN2K-fsAaA0YW2zCkrxA2s0iP9gzSXwVBeYbdM_3nSqzWm5mDR3CsYjJWf1Ri5M_kqalYSxU-EVyt2n-g6XI6gniYQ_TjqZCzzMQ5sIvZoEQOMRD9_DsuzeAUKZOVkXKsSA7/s1600/django.jpeg&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/AVvXsEgHVN2K-fsAaA0YW2zCkrxA2s0iP9gzSXwVBeYbdM_3nSqzWm5mDR3CsYjJWf1Ri5M_kqalYSxU-EVyt2n-g6XI6gniYQ_TjqZCzzMQ5sIvZoEQOMRD9_DsuzeAUKZOVkXKsSA7/s1600/django.jpeg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
雖然說是學習筆記，但其實是完全照著參考資料中&lt;a href=&quot;http://ithelp.ithome.com.tw/question/10158250&quot; target=&quot;_blank&quot;&gt;&lt;sup&gt;[1]&lt;/sup&gt;&lt;/a&gt;實做一次而已，這邊只記下實做過程中，遭遇到的問題，作業系統為 CentOS 6.5，Python 版本為 2.7.8，Django 版本為 1.7。&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;ol&gt;
&lt;li&gt;&lt;b&gt;建立 App 時，需要在 settings.py 裡的 INSTALL_APPS 裡加入新的 App&lt;/b&gt; &lt;code&gt;&lt;span style=&quot;color: white;&quot;&gt;INSTALLED_APPS = (&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #ea9999;&quot;&gt;&#39;django.contrib.admin&#39;&lt;/span&gt;&lt;span style=&quot;color: white;&quot;&gt;,&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #ea9999;&quot;&gt;&#39;django.contrib.auth&#39;&lt;/span&gt;&lt;span style=&quot;color: white;&quot;&gt;,&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #ea9999;&quot;&gt;&#39;django.contrib.contenttypes&#39;&lt;/span&gt;&lt;span style=&quot;color: white;&quot;&gt;,&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #ea9999;&quot;&gt;&#39;django.contrib.sessions&#39;&lt;/span&gt;&lt;span style=&quot;color: white;&quot;&gt;,&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #ea9999;&quot;&gt;&#39;django.contrib.messages&#39;&lt;/span&gt;&lt;span style=&quot;color: white;&quot;&gt;,&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #ea9999;&quot;&gt;&#39;django.contrib.staticfiles&#39;&lt;/span&gt;&lt;span style=&quot;color: white;&quot;&gt;,&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #ea9999;&quot;&gt;&#39;stores&#39;&lt;/span&gt;,&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #6fa8dc;&quot;&gt;# 新的 App&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: white;&quot;&gt;)&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Static Fils&lt;a href=&quot;https://docs.djangoproject.com/en/1.7/howto/static-files/&quot; target=&quot;_blank&quot;&gt;&lt;sup&gt;[3]&lt;/sup&gt;&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;
在 settings.py 裡，預設有個 STATIC_URL 的全域變數，值為&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Noto Sans CJK TC Regular, sans-serif;&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;/static/&quot;。這裡的&quot;/static/&quot;是位於 App 的目錄下，而不是專案的目錄下。如果想要所有 App 共用同一個 static 的目錄，只要加入底下的設定就好。這邊是將&quot;BASE_DIR/static&quot;加到 STATICFILES_DIRS 中。&lt;br /&gt;
&lt;code&gt;&lt;span style=&quot;color: white;&quot;&gt;STATICFILES_DIRS = (&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; os.path.join(BASE_DIR, &lt;span style=&quot;color: #ea9999;&quot;&gt;&quot;static&quot;&lt;/span&gt;),&lt;br /&gt;
)&lt;br /&gt;
&lt;br /&gt;
STATIC_URL =&lt;/span&gt; &lt;span style=&quot;color: #ea9999;&quot;&gt;&#39;/static/&#39;&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;&lt;b&gt;django unicode error on admin page&lt;a href=&quot;http://stackoverflow.com/questions/6560226/django-unicode-error-on-admin-page&quot; target=&quot;_blank&quot;&gt;&lt;sup&gt;[5]&lt;/sup&gt;&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;
原本 model.py 裡的內容如下&lt;br /&gt;
&lt;code&gt;&lt;span style=&quot;color: yellow;&quot;&gt;class&lt;/span&gt; &lt;span style=&quot;color: cyan;&quot;&gt;Store&lt;/span&gt;&lt;span style=&quot;color: white;&quot;&gt;(models.Model):&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; name = models.CharField(max_length=&lt;span style=&quot;color: #ea9999;&quot;&gt;20&lt;/span&gt;)&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; notes = models.TextField(blank=&lt;span style=&quot;color: cyan;&quot;&gt;True&lt;/span&gt;, default=&lt;span style=&quot;color: #ea9999;&quot;&gt;&#39;&#39;&lt;/span&gt;)&amp;nbsp;&lt;/span&gt; &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: yellow;&quot;&gt;def&lt;/span&gt; &lt;span style=&quot;color: cyan;&quot;&gt;__str__&lt;/span&gt;&lt;span style=&quot;color: white;&quot;&gt;(self):&lt;/span&gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: yellow;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: white;&quot;&gt;self.name&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;
將 __str__ 改成 __unicode__ 後，再 admin 新增資料就可以使用中文。&lt;br /&gt;
&lt;code&gt;&lt;span style=&quot;color: yellow;&quot;&gt;class&lt;/span&gt; &lt;span style=&quot;color: cyan;&quot;&gt;Store&lt;/span&gt;&lt;span style=&quot;color: white;&quot;&gt;(models.Model):&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; name = models.CharField(max_length=&lt;span style=&quot;color: #ea9999;&quot;&gt;20&lt;/span&gt;)&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; notes = models.TextField(blank=&lt;span style=&quot;color: cyan;&quot;&gt;True&lt;/span&gt;, default=&lt;span style=&quot;color: #ea9999;&quot;&gt;&#39;&#39;&lt;/span&gt;)&amp;nbsp;&lt;/span&gt; &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: yellow;&quot;&gt;def&lt;/span&gt; &lt;span style=&quot;color: cyan;&quot;&gt;__unicode__&lt;/span&gt;&lt;span style=&quot;color: white;&quot;&gt;(self):&lt;/span&gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: yellow;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: white;&quot;&gt;self.name&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;
__str__ 這個函數其實我並不了解是什麼用途，原作者有解釋，不過我還是看不懂 XD&lt;/li&gt;
&lt;li&gt;&lt;br /&gt;
&lt;/li&gt;
&lt;/ol&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;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;code class=&quot;ref&quot;&gt;[1] &lt;a href=&quot;https://uranusjr.com/&quot; target=&quot;_blank&quot;&gt;uranusjr&lt;/a&gt; - &lt;a href=&quot;http://ithelp.ithome.com.tw/question/10158250&quot; target=&quot;_blank&quot;&gt;Django Tutorial for Programmers&lt;/a&gt; @ &lt;a href=&quot;http://ithelp.ithome.com.tw/&quot; target=&quot;_blank&quot;&gt;iT邦幫忙&lt;/a&gt;&lt;br /&gt;
[2] &lt;a href=&quot;http://www.codedata.com.tw/author/caterpillar&quot; target=&quot;_blank&quot;&gt;caterpillar&lt;/a&gt; - &lt;a href=&quot;http://www.codedata.com.tw/python/python-tutorial-the-1st-class-1-preface/&quot; target=&quot;_blank&quot;&gt;Python Tutorial&lt;/a&gt; @ &lt;a href=&quot;http://www.codedata.com.tw/&quot; target=&quot;_blank&quot;&gt;CodeData&lt;/a&gt;&lt;br /&gt;
[3] &lt;a href=&quot;https://docs.djangoproject.com/en/1.7/howto/static-files/&quot; target=&quot;_blank&quot;&gt;Managing static files (CSS, images)&lt;/a&gt;&lt;br /&gt;
[4] &lt;a href=&quot;https://github.com/uranusjr/django-tutorial-for-programmers&quot; target=&quot;_blank&quot;&gt;django-tutorial-for-programmers&lt;/a&gt; @ uranusjr&#39;s github&lt;br /&gt;
[5] &lt;a href=&quot;http://stackoverflow.com/questions/6560226/django-unicode-error-on-admin-page&quot; target=&quot;_blank&quot;&gt;django unicode error on admin page&lt;/a&gt;&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://planykao.blogspot.com/feeds/221286551133347390/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://planykao.blogspot.com/2014/10/django.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30031336/posts/default/221286551133347390'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30031336/posts/default/221286551133347390'/><link rel='alternate' type='text/html' href='http://planykao.blogspot.com/2014/10/django.html' title='Django 學習筆記'/><author><name>PlanyKao</name><uri>http://www.blogger.com/profile/01171401575193157666</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/AVvXsEgHVN2K-fsAaA0YW2zCkrxA2s0iP9gzSXwVBeYbdM_3nSqzWm5mDR3CsYjJWf1Ri5M_kqalYSxU-EVyt2n-g6XI6gniYQ_TjqZCzzMQ5sIvZoEQOMRD9_DsuzeAUKZOVkXKsSA7/s72-c/django.jpeg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30031336.post-5329184626479728324</id><published>2014-10-21T13:19:00.001+08:00</published><updated>2014-11-07T16:36:39.004+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CentOS"/><category scheme="http://www.blogger.com/atom/ns#" term="Django"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><category scheme="http://www.blogger.com/atom/ns#" term="軟體"/><category scheme="http://www.blogger.com/atom/ns#" term="隨筆記"/><title type='text'>Deploy Django on CentOS 6.5 with Apache and mod_wsgi</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/AVvXsEi1REmHqrFZrnYnNrGW_mP36PgBCTAFi_2YNRPWN0I4G9LduWjS2Y2e-yuz4OLPhdqaQiUKEDJ_HyGKC6cEKZ1WXaiVi64Mb3CO5hsn_a40cZm8jBNcjuTGcMDBt0SrFIbJBerl/s1600/django.jpeg&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/AVvXsEi1REmHqrFZrnYnNrGW_mP36PgBCTAFi_2YNRPWN0I4G9LduWjS2Y2e-yuz4OLPhdqaQiUKEDJ_HyGKC6cEKZ1WXaiVi64Mb3CO5hsn_a40cZm8jBNcjuTGcMDBt0SrFIbJBerl/s1600/django.jpeg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;今天試著在 CentOS 6.5 上佈署 Django 的開發環境，過程大致上和網路上能找到的教學差不多，會遇到的問題也都差不多，紀錄一下重新整理後的過程。&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;b&gt;Install Python 2.7.X&lt;/b&gt;&lt;br /&gt;
先從 &lt;a href=&quot;https://www.python.org/&quot; target=&quot;_blank&quot;&gt;Python 的官網&lt;/a&gt;下載 2.7.X 的原始碼下來編譯，configure 時記得加入&quot;--enable-shared&quot;。&lt;br /&gt;
&lt;code class=&quot;cmd&quot;&gt;&lt;span style=&quot;color: lime;&quot;&gt;/* configure */&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: white;&quot;&gt;$ ./configure --prefix=/usr/local --enable-shared&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: lime;&quot;&gt;/* make */&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: white;&quot;&gt;$ make&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: lime;&quot;&gt;/* install */&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: white;&quot;&gt;# make install&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;
因為開啟了&quot;--enable-shared&quot;的 flag，所以要新增一個系統變數 LD_LIBRARY_PATH，其路徑指向 /usr/local/lib，否則在執行 python2.7 時會出現找不到 libpython2.7.so.1.0 的錯誤。&lt;br /&gt;
&lt;code class=&quot;cmd&quot;&gt;# echo &quot;/usr/local/lib&quot; &amp;gt; /etc/ld.so.conf.d/python2.7.conf&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
(20141027 update)&lt;br /&gt;
&lt;br /&gt;
&lt;strike&gt;編譯時可以不需要開啟 --enable-shared，但要加入 -fPIC 的 CFLAGS，要不然在編譯 mod_wsgi 時會現錯誤訊息。若是使用此方式編譯，則不需要設定 LD_LIBRARY_PATH。&lt;/strike&gt;&lt;br /&gt;
&lt;br /&gt;
(20141107 update)&lt;br /&gt;
編譯時還是得開啟 --enable-shared，開啟 --enable-shared 後，flag PIC 就會一起加進去。&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Install Apache&lt;/b&gt;&lt;br /&gt;
在編譯 mod_wsgi 時會需要用到 apxs 指令，而 apxs 指令是包在 httpd-devel 裡，所以也一併安裝。&lt;br /&gt;
&lt;span style=&quot;color: white;&quot;&gt;&lt;code class=&quot;cmd&quot;&gt;# yum install httpd httpd-devel&lt;/code&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Install mod_wsgi&lt;/b&gt;&lt;br /&gt;
從 &lt;a href=&quot;https://code.google.com/p/modwsgi/&quot; target=&quot;_blank&quot;&gt;modwsgi 的網站&lt;/a&gt;下載原始碼回來編譯，因為 CentOS 6.5 預載的 python 版本為&amp;nbsp; 2.6.6，而 mod_wsgi 需要 python 版本 2.7，所以在 configure 時要指定 python 的路徑。make 時則需要指定 LD_RUN_PATH，否則在 httpd 啟動時會出現 mod_wsgi.so 找不到 libpython2.7.so.1.0 的錯誤。&lt;br /&gt;
&lt;code class=&quot;cmd&quot;&gt;&lt;span style=&quot;color: lime;&quot;&gt;/* configure */&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: white;&quot;&gt;$ ./configure --with-python=/usr/local/bin/python2.7&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: lime;&quot;&gt;/* make */&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: white;&quot;&gt;$ LD_RUN_PATH=/usr/local/lib make&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: lime;&quot;&gt;/* install */&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: white;&quot;&gt;# make install&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
(20141027 update)&lt;br /&gt;
&lt;br /&gt;
若是在編譯 python 時有加入 -fPIC，那編譯 mod_wsgi 時就不需要加任何額外的參數，直接 configure 就好。&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Configure httpd&lt;/b&gt;&lt;br /&gt;
新增 mod_wsgi.conf 至 /etc/httpd/conf.d/&lt;br /&gt;
&lt;span style=&quot;color: white;&quot;&gt;&lt;code class=&quot;cmd&quot;&gt;# touch mod_wsgi.conf /etc/httpd/conf.d/&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;
並將下列內容寫入 mod_wsgi.conf&lt;br /&gt;
&lt;span style=&quot;color: white;&quot;&gt;&lt;code&gt;&amp;lt;IfModule !python_module&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;IfModule !wsgi_module&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LoadModule wsgi_module modules/mod_wsgi.so&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&amp;lt;/IfModule&amp;gt;&lt;/code&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Start httpd&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;color: white;&quot;&gt;&lt;code class=&quot;cmd&quot;&gt;# service httpd start&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;
檢查 /var/log/httpd/error.log，如果有出現下列訊息，則表示安裝成功。&lt;br /&gt;
&lt;span style=&quot;color: white;&quot;&gt;&lt;code&gt;Apache/2.2.15 (Unix) DAV/2 mod_wsgi/4.3.0 Python/2.7.8 mod_perl/2.0.4 Perl/v5.10.1 configured&lt;/code&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Integrate Django and Apache&lt;/b&gt;&lt;br /&gt;
Modify settings.py, and add the following setting.&lt;br /&gt;
&lt;span style=&quot;color: white;&quot;&gt;&lt;code&gt;STATIC_ROOT = os.path.join(BASE_DIR, &#39;static&#39;)&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;
then, run the following command to collect static files.&lt;br /&gt;
&lt;span style=&quot;color: white;&quot;&gt;&lt;code&gt;$ python manage.py collectstatic&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;
Copy entire project directory to /var/www, and change the directory mode to avoid &quot;permission denied&quot; isuue.&lt;br /&gt;
&lt;span style=&quot;color: white;&quot;&gt;&lt;code&gt;$ sudo cp -rf MYSITE /var/www&lt;br /&gt;
$ sudo chmod o+w /var/www/MYSITE&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;
Change mode of database to avoid the &quot;database readonly&quot; issue.&lt;br /&gt;
&lt;span style=&quot;color: white;&quot;&gt;&lt;code&gt;$ sudo chmod o+w /var/www/MYSITE/db.sqlite3&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;
Follow the instruction from &lt;a href=&quot;https://docs.djangoproject.com/en/1.7/howto/deployment/wsgi/modwsgi/&quot; target=&quot;_blank&quot;&gt;this document&lt;/a&gt; to configure the httpd.conf, and restart the httpd.&lt;br /&gt;
&lt;span style=&quot;color: white;&quot;&gt;&lt;code&gt;$ sudo /etc/init.d/httpd restart&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
/etc/httpd/conf/httpd.conf:&lt;br /&gt;
&lt;code&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;Alias&lt;/span&gt; &lt;span style=&quot;color: white;&quot;&gt;/static/ /var/www/food/static/&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: orange;&quot;&gt;&amp;lt;Directory&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;/var/www/food/static&lt;/span&gt;&lt;span style=&quot;color: orange;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #674ea7;&quot;&gt;Order&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;deny&lt;/span&gt;&lt;span style=&quot;color: #674ea7;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;allow&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #674ea7;&quot;&gt;Allow from&lt;/span&gt; &lt;span style=&quot;color: #3d85c6;&quot;&gt;all&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: orange;&quot;&gt;&amp;lt;/Directory&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: white;&quot;&gt;WSGIScriptAlias / /var/www/food/food/wsgi.py&lt;br /&gt;
WSGIPythonPath /var/www/food&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: orange;&quot;&gt;&amp;lt;Directory&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;/var/www/food/food/&lt;/span&gt;&lt;span style=&quot;color: orange;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: orange;&quot;&gt;&amp;lt;Files&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;wsgi.py&lt;/span&gt;&lt;span style=&quot;color: orange;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #674ea7;&quot;&gt;Order&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;deny&lt;/span&gt;&lt;span style=&quot;color: #674ea7;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;allow&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #674ea7;&quot;&gt;Allow&lt;/span&gt; &lt;span style=&quot;color: #674ea7;&quot;&gt;from&lt;/span&gt; &lt;span style=&quot;color: #3d85c6;&quot;&gt;all&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: orange;&quot;&gt;&amp;lt;/Files&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: orange;&quot;&gt;&amp;lt;/Directory&amp;gt;&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;
&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
參考連結&lt;br /&gt;
&lt;code class=&quot;ref&quot;&gt;[1] &lt;a href=&quot;http://toomuchdata.com/2014/02/16/how-to-install-python-on-centos/&quot; target=&quot;_blank&quot;&gt;How to install Python 2.7 and Python 3.3 on CentOS 6&lt;/a&gt;&amp;nbsp;&lt;br /&gt;
[2] &lt;a href=&quot;http://bicofino.io/blog/2014/01/16/installing-python-2-dot-7-6-on-centos-6-dot-5/&quot; target=&quot;_blank&quot;&gt;Installing Python 2.7.8 on CentOS 6.5&lt;/a&gt;&amp;nbsp;&lt;br /&gt;
[3] &lt;a href=&quot;http://stackoverflow.com/questions/12197829/mod-wsgi-so-cannot-load-mod-wsgi-so-into-server-libpython2-5-so-1-0-cannot-op&quot; target=&quot;_blank&quot;&gt;mod_wsgi.so: Cannot load mod_wsgi.so into server: libpython2.5.so.1.0: cannot open shared object file: No such file or directory&lt;/a&gt;&amp;nbsp;&lt;br /&gt;
[4] &lt;a href=&quot;https://code.google.com/p/modwsgi/wiki/QuickInstallationGuide&quot; target=&quot;_blank&quot;&gt;modwsgi Quick Installation Guide&lt;/a&gt;&amp;nbsp;&lt;br /&gt;
[5] &lt;a href=&quot;https://docs.djangoproject.com/en/1.7/topics/install/&quot; target=&quot;_blank&quot;&gt;How to install Django&lt;/a&gt;&lt;br /&gt;
[6] &lt;a href=&quot;http://stackoverflow.com/questions/9386611/django-apache-mod-wsgi-permission-denied&quot; target=&quot;_blank&quot;&gt;Django + Apache + mod_wsgi permission denied&lt;/a&gt;&amp;nbsp;&lt;br /&gt;
[7] &lt;a href=&quot;https://code.google.com/p/modwsgi/wiki/WhereToGetHelp?tm=6#Conference_Presentations&quot; target=&quot;_blank&quot;&gt;Conference Presentations&lt;/a&gt;&amp;nbsp;&lt;br /&gt;
[8] &lt;a href=&quot;http://www.slideshare.net/GrahamDumpleton/getting-started-with-modwsgi&quot; target=&quot;_blank&quot;&gt;PyCon AU 2010 - Getting Started With Apache/mod_wsgi.&lt;/a&gt;&lt;/code&gt; </content><link rel='replies' type='application/atom+xml' href='http://planykao.blogspot.com/feeds/5329184626479728324/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://planykao.blogspot.com/2014/10/deploy-django-on-centos-65.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30031336/posts/default/5329184626479728324'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30031336/posts/default/5329184626479728324'/><link rel='alternate' type='text/html' href='http://planykao.blogspot.com/2014/10/deploy-django-on-centos-65.html' title='Deploy Django on CentOS 6.5 with Apache and mod_wsgi'/><author><name>PlanyKao</name><uri>http://www.blogger.com/profile/01171401575193157666</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/AVvXsEi1REmHqrFZrnYnNrGW_mP36PgBCTAFi_2YNRPWN0I4G9LduWjS2Y2e-yuz4OLPhdqaQiUKEDJ_HyGKC6cEKZ1WXaiVi64Mb3CO5hsn_a40cZm8jBNcjuTGcMDBt0SrFIbJBerl/s72-c/django.jpeg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30031336.post-6275670970770707520</id><published>2014-10-18T14:35:00.000+08:00</published><updated>2014-11-03T23:27:46.958+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ArchLinux"/><category scheme="http://www.blogger.com/atom/ns#" term="iBus"/><category scheme="http://www.blogger.com/atom/ns#" term="ibus-table"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><title type='text'>[ArchLinux] ibus can&#39;t input Chinese on GTK2+  application after glibc upgrade to 2.20-2</title><content type='html'>&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtpGII36p8rL3EDCx7w830ea4BZYlln6l1i7rZpw3enIsPYXYkkHFV_8UvK8Je8D_fS9miXpWqCxOPKrs8jK7b32tIlhtYTeNVnjm52K96ucCfCgrsW839LOt3TjnqCzh9ZDSv/s1600/arch-64-64.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtpGII36p8rL3EDCx7w830ea4BZYlln6l1i7rZpw3enIsPYXYkkHFV_8UvK8Je8D_fS9miXpWqCxOPKrs8jK7b32tIlhtYTeNVnjm52K96ucCfCgrsW839LOt3TjnqCzh9ZDSv/s1600/arch-64-64.png&quot; /&gt;&lt;/a&gt;ibus-table can&#39;t recognize official Boshiamy table from 行易公司 after 1.5.0-3, so I am still using 1.5.0-3. After upgrade the system(packer -Syu --ignore ibus-table) today, I found that iBus can&#39;t input Chinese on GTK2+ applications(Chromium), &lt;strike&gt;but I am not pretty sure that if upgrade glibc to 2.20-2 is the root cause or not. I just found this &lt;a href=&quot;https://bbs.archlinux.org/viewtopic.php?id=117937&quot; target=&quot;_blank&quot;&gt;thread&lt;/a&gt; and re-compile ibus-table 1.5.0-3, and Chinese input is back now.&lt;/strike&gt;&lt;br /&gt;
&lt;strike&gt;&lt;br /&gt;
&lt;/strike&gt; &lt;code class=&quot;ref&quot;&gt;&lt;a href=&quot;https://bbs.archlinux.org/viewtopic.php?id=117937&quot; target=&quot;_blank&quot;&gt;&lt;strike&gt;[SOLVED] After upgrade to gnome 3 many applications can&#39;t start&lt;/strike&gt;&lt;/a&gt;&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
2014.11.03 update...&lt;br /&gt;
&lt;br /&gt;
The global variables that setup in .xprofile are disappear, move below lines from .xprofile to .bashrc can fix the problem, but i don&#39;t know why this happened......&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;&lt;span style=&quot;color: white;&quot;&gt;export GTK_IM_MODULE=ibus&lt;br /&gt;
export XMODIFIERS=@im=ibus&lt;br /&gt;
export QT_IM_MODULE=ibus&lt;br /&gt;
ibus-daemon -drx&lt;/span&gt;&lt;/code&gt;</content><link rel='replies' type='application/atom+xml' href='http://planykao.blogspot.com/feeds/6275670970770707520/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://planykao.blogspot.com/2014/10/archlinux-ibus-cant-input-chinese-on.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30031336/posts/default/6275670970770707520'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30031336/posts/default/6275670970770707520'/><link rel='alternate' type='text/html' href='http://planykao.blogspot.com/2014/10/archlinux-ibus-cant-input-chinese-on.html' title='[ArchLinux] ibus can&#39;t input Chinese on GTK2+  application after glibc upgrade to 2.20-2'/><author><name>PlanyKao</name><uri>http://www.blogger.com/profile/01171401575193157666</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/AVvXsEjtpGII36p8rL3EDCx7w830ea4BZYlln6l1i7rZpw3enIsPYXYkkHFV_8UvK8Je8D_fS9miXpWqCxOPKrs8jK7b32tIlhtYTeNVnjm52K96ucCfCgrsW839LOt3TjnqCzh9ZDSv/s72-c/arch-64-64.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30031336.post-2940048296591271053</id><published>2014-10-04T12:48:00.000+08:00</published><updated>2014-10-04T12:48:40.259+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Adobe"/><category scheme="http://www.blogger.com/atom/ns#" term="Font"/><category scheme="http://www.blogger.com/atom/ns#" term="Google"/><title type='text'>Noto Sans CJK Version 1.001 </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/AVvXsEhz0d9U-KbkEiryItLxCHUGRqQnR1mUAvEpBBo3z-9pk8lD1FnfRZbVc_31iwu0cDG_WvonrkXZgquv8SA03pUnT4e2TiXBgl88YVlVBmVLxShG0-OmGJW1JU6ZVnq47LDgdy3K/s1600/multi-language-sample-v3.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/AVvXsEhz0d9U-KbkEiryItLxCHUGRqQnR1mUAvEpBBo3z-9pk8lD1FnfRZbVc_31iwu0cDG_WvonrkXZgquv8SA03pUnT4e2TiXBgl88YVlVBmVLxShG0-OmGJW1JU6ZVnq47LDgdy3K/s1600/multi-language-sample-v3.jpg&quot; height=&quot;326&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Noto Sans CJK 發佈新的版本，比較明顯的&lt;a href=&quot;https://www.google.com/get/noto/updates.html#u20140912&quot; target=&quot;_blank&quot;&gt;改動&lt;/a&gt;應該是這個：&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
Multilingual OTFs with each of the four languages as the default&lt;/blockquote&gt;
如果沒會錯意，大概就是使用正體中文時，簡體中文的顯示會是使用 Noto Sans CJK，而不是用其它的字體。上一個版本在使用正體中文時，簡體中文的顯示非常奇怪，細非常多。&lt;br /&gt;
&lt;br /&gt;
&lt;code class=&quot;ref&quot;&gt;&lt;a href=&quot;https://www.google.com/get/noto/updates.html#u20140912&quot; target=&quot;_blank&quot;&gt;Noto Sans CJK Version 1.001 is released.&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;https://www.google.com/get/noto/&quot; target=&quot;_blank&quot;&gt;Google Noto Fonts&lt;/a&gt;&lt;/code&gt;</content><link rel='replies' type='application/atom+xml' href='http://planykao.blogspot.com/feeds/2940048296591271053/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://planykao.blogspot.com/2014/10/noto-sans-cjk-version-1001.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30031336/posts/default/2940048296591271053'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30031336/posts/default/2940048296591271053'/><link rel='alternate' type='text/html' href='http://planykao.blogspot.com/2014/10/noto-sans-cjk-version-1001.html' title='Noto Sans CJK Version 1.001 '/><author><name>PlanyKao</name><uri>http://www.blogger.com/profile/01171401575193157666</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/AVvXsEhz0d9U-KbkEiryItLxCHUGRqQnR1mUAvEpBBo3z-9pk8lD1FnfRZbVc_31iwu0cDG_WvonrkXZgquv8SA03pUnT4e2TiXBgl88YVlVBmVLxShG0-OmGJW1JU6ZVnq47LDgdy3K/s72-c/multi-language-sample-v3.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30031336.post-7207523876040837086</id><published>2014-10-04T12:34:00.001+08:00</published><updated>2014-10-04T12:36:37.627+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ArchLinux"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="軟體"/><title type='text'>[ArchLinux] p7zip core dump when password length is longer than 30 characters</title><content type='html'>&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4oDn5iCUPjKoIfE3Uluz0AsGtAMoCwMoEXPGFlya_UUD_aQETHTAPi0cceP2X8Bv1PDztoi1maFBZzx-z-A6lfv_NRfV8thEsLqG08sZb9rJwDWsF6x0ePVgt0xO3juzCfZFo/s1600/7ziplogo.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4oDn5iCUPjKoIfE3Uluz0AsGtAMoCwMoEXPGFlya_UUD_aQETHTAPi0cceP2X8Bv1PDztoi1maFBZzx-z-A6lfv_NRfV8thEsLqG08sZb9rJwDWsF6x0ePVgt0xO3juzCfZFo/s1600/7ziplogo.png&quot; /&gt;&lt;/a&gt;p7zip will core dump when decompress a RAR file with the password length longer than 30 characters. There is a bug report and solution for this issue in 2011, but the latest release of 7z is in 2009. So, just download the source file of p7zip and modify the corresponding code to fix this issue.&lt;br /&gt;
&lt;br /&gt;
&lt;code class=&quot;cmd&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;$ sudo abs&lt;br /&gt;
$ cp -rf /var/abs/extra/p7zip ~/opt&lt;br /&gt;
$ cd ~/opt/p7zip&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;
Download &lt;a href=&quot;https://drive.google.com/file/d/0B853vb5zTMZyQjhRQ2IzeVdWeWc/view?usp=sharing&quot; target=&quot;_blank&quot;&gt;this patch&lt;/a&gt; to ~/opt/p7zip&lt;br /&gt;
&lt;br /&gt;
&lt;code class=&quot;cmd&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;$ makepkg&lt;br /&gt;
$ sudo pacman -U&amp;nbsp;p7zip-9.20.1-9-x86_64.pkg.tar.xz&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;
&lt;code class=&quot;ref&quot;&gt;&lt;a href=&quot;http://sourceforge.net/p/p7zip/bugs/115/&quot; target=&quot;_blank&quot;&gt;#115 GPF with RAR and password &amp;gt;30 characters&lt;/a&gt;&lt;/code&gt;</content><link rel='replies' type='application/atom+xml' href='http://planykao.blogspot.com/feeds/7207523876040837086/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://planykao.blogspot.com/2014/10/archlinux-p7zip-core-dump-when-password.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30031336/posts/default/7207523876040837086'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30031336/posts/default/7207523876040837086'/><link rel='alternate' type='text/html' href='http://planykao.blogspot.com/2014/10/archlinux-p7zip-core-dump-when-password.html' title='[ArchLinux] p7zip core dump when password length is longer than 30 characters'/><author><name>PlanyKao</name><uri>http://www.blogger.com/profile/01171401575193157666</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/AVvXsEj4oDn5iCUPjKoIfE3Uluz0AsGtAMoCwMoEXPGFlya_UUD_aQETHTAPi0cceP2X8Bv1PDztoi1maFBZzx-z-A6lfv_NRfV8thEsLqG08sZb9rJwDWsF6x0ePVgt0xO3juzCfZFo/s72-c/7ziplogo.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30031336.post-6321310875816129745</id><published>2014-08-19T22:45:00.000+08:00</published><updated>2014-08-20T23:54:10.680+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="影片"/><category scheme="http://www.blogger.com/atom/ns#" term="時事"/><title type='text'>ALS Ice Bucket Challenge</title><content type='html'>這活動實在是太有創意了，從美國一路玩到全世界，不過大家好像都是從 Bill Gates 的挑戰開始注意的，而挑戰比爾的則是 Mark Zuckerberg。原本以為應該就幾天的熱潮，結果現在一發不可收拾了，連台灣也開始響應這個活動。&lt;br /&gt;
&lt;br /&gt;
雖然還滿討厭郭董的，但還是要感謝一下郭董，因為他挑戰志玲姊姊 XD，再來要感謝五月天，因為他們挑戰姊姊謝金燕 XD&lt;br /&gt;
&lt;br /&gt;
update: 志玲姊姊捐錢了 0rz，金城武沒點名，姊姊謝金燕實在是太有誠意了。&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;360&quot; src=&quot;//www.youtube.com/embed/qMqgQY_VLMI&quot; width=&quot;640&quot;&gt;&lt;/iframe&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;360&quot; src=&quot;//www.youtube.com/embed/jccICjpM6Xk&quot; width=&quot;640&quot;&gt;&lt;/iframe&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;360&quot; src=&quot;//www.youtube.com/embed/ZTZ2Y3xJG08&quot; width=&quot;640&quot;&gt;&lt;/iframe&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;360&quot; src=&quot;//www.youtube.com/embed/KFuVKDwtwf0&quot; width=&quot;640&quot;&gt;&lt;/iframe&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;360&quot; src=&quot;//www.youtube.com/embed/2U2y2ELjLL8&quot; width=&quot;640&quot;&gt;&lt;/iframe&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;iframe width=&quot;640&quot; height=&quot;360&quot; src=&quot;//www.youtube.com/embed/IubS7xFjWuY&quot; frameborder=&quot;0&quot; allowfullscreen&gt;&lt;/iframe&gt;</content><link rel='replies' type='application/atom+xml' href='http://planykao.blogspot.com/feeds/6321310875816129745/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://planykao.blogspot.com/2014/08/als-ice-bucket-challenge.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30031336/posts/default/6321310875816129745'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30031336/posts/default/6321310875816129745'/><link rel='alternate' type='text/html' href='http://planykao.blogspot.com/2014/08/als-ice-bucket-challenge.html' title='ALS Ice Bucket Challenge'/><author><name>PlanyKao</name><uri>http://www.blogger.com/profile/01171401575193157666</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>