<?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-3289274225887395979</id><updated>2024-09-21T04:45:12.916+08:00</updated><category term="programing"/><category term="javascript"/><category term="software"/><category term="apple"/><category term="Google"/><category term="python"/><category term="firefox"/><category term="jQuery"/><category term="碎碎唸"/><category term="遊戲"/><category term=".net"/><category term="Chrome"/><category term="blogger"/><category term="regedit"/><category term="sql"/><category term="sqlite"/><category term="css"/><category term="funny"/><category term="tips"/><category term="MSN"/><category term="flickr"/><category term="linux"/><category term="mac"/><category term="搜尋引擎"/><category term="版本控制"/><category term="emule"/><category term="flash"/><category term="iphone"/><category term="java"/><category term="microsoft"/><category term="news"/><category term="nokia"/><category term="programming"/><category term="s60"/><category term="ssh"/><category term="subversion"/><category term="ubuntu"/><category term="vbscript"/><category term="vim"/><category term="web"/><category term="xml"/><category term="書"/><category term="通訊錄"/><title type='text'>程式旅人 - 學習紀事 -</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://nio127.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3289274225887395979/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://nio127.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/3289274225887395979/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Neil</name><uri>http://www.blogger.com/profile/15177526021432929682</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1jy4oWOnDeXC-YHTM2iNn4xjadGl43g4JDRITxGXTtTtolXamboQgbhBKc4sEp8RgAqu-nO31MN_qoBYldIHU8va43ZVSsk3aDOCUvALkntZwday41EKcQyVVmchGjg/s1600-r/Wallpaper1+2006.06.13+%5B16.57.02%5D_clip1.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>130</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3289274225887395979.post-67218817530845853</id><published>2013-09-17T11:37:00.003+08:00</published><updated>2013-09-17T11:39:03.721+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="programming"/><category scheme="http://www.blogger.com/atom/ns#" term="ssh"/><title type='text'>ssh via socks proxy</title><content type='html'>關於ssh tunnel就不贅述，網路上有很多中文資料。以下是讓ssh connect via socks 5 proxy:&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;ssh -o ProxyCommand=&#39;nc -x myproxyserver.example.com:1080 %h %p&#39; targetsshserver.example.com
&lt;/code&gt;&lt;/pre&gt;
參考來源: &lt;a href=&quot;http://www.jethrocarr.com/2013/03/13/ssh-via-socks-proxies/&quot;&gt;SSH via SOCKS proxies&lt;/a&gt;&lt;br /&gt;
&lt;blockquote&gt;
Written with &lt;a href=&quot;http://benweet.github.io/stackedit/&quot;&gt;StackEdit&lt;/a&gt;.&lt;/blockquote&gt;
</content><link rel='replies' type='application/atom+xml' href='http://nio127.blogspot.com/feeds/67218817530845853/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://nio127.blogspot.com/2013/09/ssh-tunnelssh-connect-via-socks-5-proxy.html#comment-form' title='1 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3289274225887395979/posts/default/67218817530845853'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3289274225887395979/posts/default/67218817530845853'/><link rel='alternate' type='text/html' href='http://nio127.blogspot.com/2013/09/ssh-tunnelssh-connect-via-socks-5-proxy.html' title='ssh via socks proxy'/><author><name>Neil</name><uri>http://www.blogger.com/profile/15177526021432929682</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1jy4oWOnDeXC-YHTM2iNn4xjadGl43g4JDRITxGXTtTtolXamboQgbhBKc4sEp8RgAqu-nO31MN_qoBYldIHU8va43ZVSsk3aDOCUvALkntZwday41EKcQyVVmchGjg/s1600-r/Wallpaper1+2006.06.13+%5B16.57.02%5D_clip1.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3289274225887395979.post-2169035152335053180</id><published>2012-10-19T10:48:00.000+08:00</published><updated>2012-10-19T10:48:13.607+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="vim"/><category scheme="http://www.blogger.com/atom/ns#" term="xml"/><title type='text'>用vim快速縮排xml文件</title><content type='html'>&lt;br /&gt;
文章來源:&amp;nbsp;&lt;a href=&quot;http://www.mclark.name/dlog/2010/02/format-xml-in-vim/&quot;&gt;http://www.mclark.name/dlog/2010/02/format-xml-in-vim/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;border-left: 3px solid #aaa; margin: 0; padding-left: 5px;&quot;&gt;
&lt;pre&gt;gg=G&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
不行的話，可以安裝xmllint來用。&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://nio127.blogspot.com/feeds/2169035152335053180/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://nio127.blogspot.com/2012/10/vimxml.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3289274225887395979/posts/default/2169035152335053180'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3289274225887395979/posts/default/2169035152335053180'/><link rel='alternate' type='text/html' href='http://nio127.blogspot.com/2012/10/vimxml.html' title='用vim快速縮排xml文件'/><author><name>Neil</name><uri>http://www.blogger.com/profile/15177526021432929682</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1jy4oWOnDeXC-YHTM2iNn4xjadGl43g4JDRITxGXTtTtolXamboQgbhBKc4sEp8RgAqu-nO31MN_qoBYldIHU8va43ZVSsk3aDOCUvALkntZwday41EKcQyVVmchGjg/s1600-r/Wallpaper1+2006.06.13+%5B16.57.02%5D_clip1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3289274225887395979.post-1040223883480451502</id><published>2012-01-09T21:51:00.000+08:00</published><updated>2012-01-09T21:53:21.644+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="tips"/><title type='text'>用7zip批次壓縮資料夾目錄的功能</title><content type='html'>&lt;br /&gt;
&lt;div style=&quot;font-family: Helvetica, Arial, sans-serif; font-size: 14px;&quot;&gt;
感謝&amp;nbsp;&lt;a href=&quot;http://www.wretch.cc/blog/lcwmax/21095469&quot; target=&quot;_blank&quot;&gt;使用 7-Zip 來批次壓縮檔案 (完美版)&lt;/a&gt;&amp;nbsp;分享此方法!&lt;/div&gt;
&lt;div style=&quot;font-family: Helvetica, Arial, sans-serif; font-size: 14px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Helvetica, Arial, sans-serif; font-size: 14px;&quot;&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;建立批次檔 ，檔名如&quot;批次壓縮.bat&quot;&lt;br /&gt;
&lt;pre&gt;@echo off
set a=c:\program files\7-zip\7z.exe
for %%a in (%*) do (
        dir /a %%a|findstr &quot;DIR&quot; &amp;gt;nul 2&amp;gt;nul &amp;amp;&amp;amp; (
                &quot;%a%&quot; a -tzip &quot;%%~dpa%%~na.zip&quot; &quot;%%~a\*&quot;
                ) || (
                &quot;%a%&quot; a -tzip &quot;%%~dpa%%~na.zip&quot; %%a
                )
        )
&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;將bat檔放到SendTo目錄，即可使用&quot;傳送到...&quot;來執行批次壓縮的功能。&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div id=&quot;-chrome-auto-translate-plugin-dialog&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: transparent !important; background-image: initial !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; display: none; left: 0px; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; opacity: 1 !important; overflow-x: visible !important; overflow-y: visible !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: absolute !important; text-align: left !important; top: 0px; z-index: 999999 !important;&quot;&gt;
&lt;div style=&quot;-webkit-border-radius: 10px !important; background-color: #363636 !important; background-image: -webkit-gradient(linear, left top, right bottom, color-stop(0%, #000), color-stop(50%, #363636), color-stop(100%, #000)); border-color: #000000 !important; border-width: 0px !important; color: #fafafa !important; font-size: 16px !important; max-width: 300px !important; opacity: 0.8 !important; overflow: visible !important; padding: 8px !important; text-align: left !important; z-index: 999999 !important;&quot;&gt;
&lt;div class=&quot;translate&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;additional&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;img onclick=&quot;document.location.href=&#39;http://translate.google.com/&#39;;&quot; src=&quot;http://www.google.com/uds/css/small-logo.png&quot; style=&quot;-webkit-border-radius: 20px; background-color: rgba(200, 200, 200, 0.3) !important; cursor: pointer !important; margin: 0 !important; padding: 3px 5px 0 !important; position: absolute !important; right: 1px !important; top: -20px !important; z-index: -1 !important;&quot; /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nio127.blogspot.com/feeds/1040223883480451502/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://nio127.blogspot.com/2012/01/httpwww.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3289274225887395979/posts/default/1040223883480451502'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3289274225887395979/posts/default/1040223883480451502'/><link rel='alternate' type='text/html' href='http://nio127.blogspot.com/2012/01/httpwww.html' title='用7zip批次壓縮資料夾目錄的功能'/><author><name>Neil</name><uri>http://www.blogger.com/profile/15177526021432929682</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1jy4oWOnDeXC-YHTM2iNn4xjadGl43g4JDRITxGXTtTtolXamboQgbhBKc4sEp8RgAqu-nO31MN_qoBYldIHU8va43ZVSsk3aDOCUvALkntZwday41EKcQyVVmchGjg/s1600-r/Wallpaper1+2006.06.13+%5B16.57.02%5D_clip1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3289274225887395979.post-4375644833072142213</id><published>2012-01-05T11:57:00.001+08:00</published><updated>2012-01-05T13:49:59.145+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="javascript"/><title type='text'>[VIM] Javascript auto format 好plugin, 不用嗎?</title><content type='html'>&lt;a href=&quot;http://www.vim.org/scripts/script.php?script_id=2727&quot;&gt;jsbeautify : a javascript source code formatter&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;網頁版:&amp;nbsp;&lt;a href=&quot;http://jsbeautifier.org/&quot; target=&quot;_blank&quot;&gt;http://jsbeautifier.org/&lt;/a&gt;&amp;nbsp; &lt;br /&gt;
&lt;div&gt;
&lt;/div&gt;
安裝:&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;將jsbeautify.vim放到vimfiles/plugin 內&lt;/li&gt;
&lt;li&gt;在.vimrc內設定一個&amp;lt;leader&amp;gt;鍵，不知道什麼是&amp;lt;leader&amp;gt;的請:help leader&lt;br /&gt;或是設一個key mapping，如&lt;pre&gt;nmap &amp;lt;F6&amp;gt; :call g:Jsbeautify()&amp;lt;CR&amp;gt;&amp;nbsp;&lt;/pre&gt;
&lt;/li&gt;
&lt;/ol&gt;
用法:&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;leader&amp;gt;ff &lt;br /&gt;
&lt;div&gt;
或&lt;/div&gt;
&amp;nbsp; 按&amp;lt;F6&amp;gt; (或是你自訂的鍵)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;prompt&quot;&gt;&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;註:&lt;br /&gt;
預設的縮排空白是\t&lt;br /&gt;
如果想要用空格，在jsbeautify.vim內的295行&lt;br /&gt;
&lt;pre&gt;let s:opt_indent_char = &quot;\t&quot;&lt;/pre&gt;
&lt;br /&gt;
改為&lt;br /&gt;
&lt;pre&gt;let s:opt_indent_char = &quot;&amp;nbsp; &quot;&lt;/pre&gt;
&lt;br /&gt;
即可。&lt;br /&gt;
&lt;br /&gt;
在試能不能有其他種{}的換行option...&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;</content><link rel='replies' type='application/atom+xml' href='http://nio127.blogspot.com/feeds/4375644833072142213/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://nio127.blogspot.com/2012/01/vim-javascript-auto-format-plugin.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3289274225887395979/posts/default/4375644833072142213'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3289274225887395979/posts/default/4375644833072142213'/><link rel='alternate' type='text/html' href='http://nio127.blogspot.com/2012/01/vim-javascript-auto-format-plugin.html' title='[VIM] Javascript auto format 好plugin, 不用嗎?'/><author><name>Neil</name><uri>http://www.blogger.com/profile/15177526021432929682</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1jy4oWOnDeXC-YHTM2iNn4xjadGl43g4JDRITxGXTtTtolXamboQgbhBKc4sEp8RgAqu-nO31MN_qoBYldIHU8va43ZVSsk3aDOCUvALkntZwday41EKcQyVVmchGjg/s1600-r/Wallpaper1+2006.06.13+%5B16.57.02%5D_clip1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3289274225887395979.post-8451640865343478208</id><published>2011-07-26T15:56:00.003+08:00</published><updated>2011-07-26T15:56:45.365+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="css"/><title type='text'>CSS validation tools</title><content type='html'>&lt;br /&gt;
&lt;a href=&quot;http://csslint.net/&quot;&gt;CSS Lint&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://css.webcreativepark.net/csstidy/?lang=zh&quot;&gt;CSS整形與最佳化工具  &lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://blog.othree.net/log/2008/08/28/10-principles-of-the-css-masters/&quot;&gt;CSS大師的10條原則&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://nio127.blogspot.com/feeds/8451640865343478208/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://nio127.blogspot.com/2011/07/css-validation-tools.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3289274225887395979/posts/default/8451640865343478208'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3289274225887395979/posts/default/8451640865343478208'/><link rel='alternate' type='text/html' href='http://nio127.blogspot.com/2011/07/css-validation-tools.html' title='CSS validation tools'/><author><name>Neil</name><uri>http://www.blogger.com/profile/15177526021432929682</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1jy4oWOnDeXC-YHTM2iNn4xjadGl43g4JDRITxGXTtTtolXamboQgbhBKc4sEp8RgAqu-nO31MN_qoBYldIHU8va43ZVSsk3aDOCUvALkntZwday41EKcQyVVmchGjg/s1600-r/Wallpaper1+2006.06.13+%5B16.57.02%5D_clip1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3289274225887395979.post-7712815940253788332</id><published>2011-05-20T17:45:00.001+08:00</published><updated>2011-07-26T15:58:23.865+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><title type='text'>[linux] dd 中bs的速度比較</title><content type='html'>這篇是測試文，base on 某一台nas上。&lt;br /&gt;
硬碟是SAMSUNG 1T，純粹參考用。&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;/shares/Publilc # dd if=/dev/zero of=zero.test bs=&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;1M&lt;/span&gt; count=1000
1000+0 records in
1000+0 records out
1048576000 bytes (1000.0MB) copied, &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;14.971962&lt;/span&gt; seconds, 66.8MB/s
/shares/Publilc # dd if=/dev/zero of=zero.test bs=&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;10M&lt;/span&gt; count=100
100+0 records in
100+0 records out
1048576000 bytes (1000.0MB) copied, &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;14.615720&lt;/span&gt; seconds, 68.4MB/s
/shares/Publilc # dd if=/dev/zero of=zero.test bs=&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;20M&lt;/span&gt; count=50
50+0 records in
50+0 records out
1048576000 bytes (1000.0MB) copied, &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;14.045518&lt;/span&gt; seconds, 71.2MB/s
/shares/Publilc # dd if=/dev/zero of=zero.test bs=&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;50M&lt;/span&gt; count=20
20+0 records in
20+0 records out
1048576000 bytes (1000.0MB) copied, &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;18.544483&lt;/span&gt; seconds, 53.9MB/s
/shares/Publilc # dd if=/dev/zero of=zero.test bs=&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;20M&lt;/span&gt; count=50
50+0 records in
50+0 records out
1048576000 bytes (1000.0MB) copied, &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;14.120041&lt;/span&gt; seconds, 70.8MB/s
/shares/Publilc # dd if=/dev/zero of=zero.test bs=&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;50M&lt;/span&gt; count=20
20+0 records in
20+0 records out
1048576000 bytes (1000.0MB) copied, &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;21.059055&lt;/span&gt; seconds, 47.5MB/s
/shares/Publilc #

&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://nio127.blogspot.com/feeds/7712815940253788332/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://nio127.blogspot.com/2011/05/linux-dd-bs.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3289274225887395979/posts/default/7712815940253788332'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3289274225887395979/posts/default/7712815940253788332'/><link rel='alternate' type='text/html' href='http://nio127.blogspot.com/2011/05/linux-dd-bs.html' title='[linux] dd 中bs的速度比較'/><author><name>Neil</name><uri>http://www.blogger.com/profile/15177526021432929682</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1jy4oWOnDeXC-YHTM2iNn4xjadGl43g4JDRITxGXTtTtolXamboQgbhBKc4sEp8RgAqu-nO31MN_qoBYldIHU8va43ZVSsk3aDOCUvALkntZwday41EKcQyVVmchGjg/s1600-r/Wallpaper1+2006.06.13+%5B16.57.02%5D_clip1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3289274225887395979.post-9030096071938199501</id><published>2011-02-17T12:30:00.001+08:00</published><updated>2011-02-17T12:33:42.425+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="tips"/><title type='text'>gvim 開檔直接開在 tabpage</title><content type='html'>&lt;br /&gt;
&lt;div style=&quot;font-family: arial; font-size: small;&quot;&gt;
&lt;a href=&quot;http://bluecat.csie.net/2009/03/08/3625/&quot;&gt;資料來源&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: arial; font-size: small;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial; font-size: x-small;&quot;&gt;autocmd BufNewFile,BufAdd,BufRead * nested tab sball&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial; font-size: x-small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;div style=&quot;font-family: arial; font-size: small;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: arial; font-size: small;&quot;&gt;
常用指令&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;:tab ball&lt;br /&gt;把所有 buffer 轉成 tabpage &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nio127.blogspot.com/feeds/9030096071938199501/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://nio127.blogspot.com/2011/02/gvim-tabpage.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3289274225887395979/posts/default/9030096071938199501'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3289274225887395979/posts/default/9030096071938199501'/><link rel='alternate' type='text/html' href='http://nio127.blogspot.com/2011/02/gvim-tabpage.html' title='gvim 開檔直接開在 tabpage'/><author><name>Neil</name><uri>http://www.blogger.com/profile/15177526021432929682</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1jy4oWOnDeXC-YHTM2iNn4xjadGl43g4JDRITxGXTtTtolXamboQgbhBKc4sEp8RgAqu-nO31MN_qoBYldIHU8va43ZVSsk3aDOCUvALkntZwday41EKcQyVVmchGjg/s1600-r/Wallpaper1+2006.06.13+%5B16.57.02%5D_clip1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3289274225887395979.post-6015530953509680520</id><published>2010-10-06T12:42:00.005+08:00</published><updated>2010-10-06T14:13:27.910+08:00</updated><title type='text'>一些 Google 天氣氣象用 API</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: large;&quot;&gt;取得台灣區域城市的經緯度&lt;/span&gt;
&lt;a href=&quot;http://www.google.com/ig/cities?output=xml&amp;amp;hl=zh-tw&amp;amp;country=tw&quot;&gt;www.google.com/ig/cities?output=xml&amp;amp;hl=zh-tw&amp;amp;country=tw&lt;/a&gt;
&lt;p /&gt;
傳回結果如
&lt;p /&gt;
&lt;pre class=&quot;brush:xml&quot;&gt;&amp;lt;xml_api_reply version=&quot;1&quot;&amp;gt;
&amp;lt;cities&amp;gt;
&amp;lt;city&amp;gt;&amp;lt;name data=&quot;台中&quot;/&amp;gt;&amp;lt;latitude_e6 data=&quot;24150187&quot;/&amp;gt;&amp;lt;longitude_e6 data=&quot;120642999&quot;/&amp;gt;&amp;lt;/city&amp;gt;
&amp;lt;city default=&quot;true&quot; &amp;gt;&amp;lt;name data=&quot;台北&quot;/&amp;gt;&amp;lt;latitude_e6 data=&quot;25091075&quot;/&amp;gt;&amp;lt;longitude_e6 data=&quot;121559834&quot;/&amp;gt;&amp;lt;/city&amp;gt;
&amp;lt;city&amp;gt;&amp;lt;name data=&quot;台東&quot;/&amp;gt;&amp;lt;latitude_e6 data=&quot;22984612&quot;/&amp;gt;&amp;lt;longitude_e6 data=&quot;120987632&quot;/&amp;gt;&amp;lt;/city&amp;gt;
&amp;lt;city&amp;gt;&amp;lt;name data=&quot;台南&quot;/&amp;gt;&amp;lt;latitude_e6 data=&quot;23005897&quot;/&amp;gt;&amp;lt;longitude_e6 data=&quot;120182022&quot;/&amp;gt;&amp;lt;/city&amp;gt;
&amp;lt;city&amp;gt;&amp;lt;name data=&quot;宜蘭&quot;/&amp;gt;&amp;lt;latitude_e6 data=&quot;24692947&quot;/&amp;gt;&amp;lt;longitude_e6 data=&quot;121719546&quot;/&amp;gt;&amp;lt;/city&amp;gt;
&amp;lt;city&amp;gt;&amp;lt;name data=&quot;花蓮&quot;/&amp;gt;&amp;lt;latitude_e6 data=&quot;23756899&quot;/&amp;gt;&amp;lt;longitude_e6 data=&quot;121354163&quot;/&amp;gt;&amp;lt;/city&amp;gt;
&amp;lt;city&amp;gt;&amp;lt;name data=&quot;金門&quot;/&amp;gt;&amp;lt;latitude_e6 data=&quot;24454650&quot;/&amp;gt;&amp;lt;longitude_e6 data=&quot;118380432&quot;/&amp;gt;&amp;lt;/city&amp;gt;
&amp;lt;city&amp;gt;&amp;lt;name data=&quot;南投&quot;/&amp;gt;&amp;lt;latitude_e6 data=&quot;23838760&quot;/&amp;gt;&amp;lt;longitude_e6 data=&quot;120987632&quot;/&amp;gt;&amp;lt;/city&amp;gt;
&amp;lt;city&amp;gt;&amp;lt;name data=&quot;屏東&quot;/&amp;gt;&amp;lt;latitude_e6 data=&quot;22549506&quot;/&amp;gt;&amp;lt;longitude_e6 data=&quot;120619990&quot;/&amp;gt;&amp;lt;/city&amp;gt;
&amp;lt;city&amp;gt;&amp;lt;name data=&quot;恆春&quot;/&amp;gt;&amp;lt;latitude_e6 data=&quot;21977337&quot;/&amp;gt;&amp;lt;longitude_e6 data=&quot;120746490&quot;/&amp;gt;&amp;lt;/city&amp;gt;
&amp;lt;city&amp;gt;&amp;lt;name data=&quot;苗栗&quot;/&amp;gt;&amp;lt;latitude_e6 data=&quot;24489269&quot;/&amp;gt;&amp;lt;longitude_e6 data=&quot;120941737&quot;/&amp;gt;&amp;lt;/city&amp;gt;
&amp;lt;city&amp;gt;&amp;lt;name data=&quot;桃園&quot;/&amp;gt;&amp;lt;latitude_e6 data=&quot;24937587&quot;/&amp;gt;&amp;lt;longitude_e6 data=&quot;121216847&quot;/&amp;gt;&amp;lt;/city&amp;gt;
&amp;lt;city&amp;gt;&amp;lt;name data=&quot;馬祖&quot;/&amp;gt;&amp;lt;latitude_e6 data=&quot;26158211&quot;/&amp;gt;&amp;lt;longitude_e6 data=&quot;119928474&quot;/&amp;gt;&amp;lt;/city&amp;gt;
&amp;lt;city&amp;gt;&amp;lt;name data=&quot;高雄&quot;/&amp;gt;&amp;lt;latitude_e6 data=&quot;22625108&quot;/&amp;gt;&amp;lt;longitude_e6 data=&quot;120308954&quot;/&amp;gt;&amp;lt;/city&amp;gt;
&amp;lt;city&amp;gt;&amp;lt;name data=&quot;基隆&quot;/&amp;gt;&amp;lt;latitude_e6 data=&quot;25108981&quot;/&amp;gt;&amp;lt;longitude_e6 data=&quot;121708145&quot;/&amp;gt;&amp;lt;/city&amp;gt;
&amp;lt;city&amp;gt;&amp;lt;name data=&quot;雲林&quot;/&amp;gt;&amp;lt;latitude_e6 data=&quot;23755852&quot;/&amp;gt;&amp;lt;longitude_e6 data=&quot;120389665&quot;/&amp;gt;&amp;lt;/city&amp;gt;
&amp;lt;city&amp;gt;&amp;lt;name data=&quot;新竹&quot;/&amp;gt;&amp;lt;latitude_e6 data=&quot;24803945&quot;/&amp;gt;&amp;lt;longitude_e6 data=&quot;120964687&quot;/&amp;gt;&amp;lt;/city&amp;gt;
&amp;lt;city&amp;gt;&amp;lt;name data=&quot;嘉義&quot;/&amp;gt;&amp;lt;latitude_e6 data=&quot;23475449&quot;/&amp;gt;&amp;lt;longitude_e6 data=&quot;120447285&quot;/&amp;gt;&amp;lt;/city&amp;gt;
&amp;lt;city&amp;gt;&amp;lt;name data=&quot;彰化&quot;/&amp;gt;&amp;lt;latitude_e6 data=&quot;23992974&quot;/&amp;gt;&amp;lt;longitude_e6 data=&quot;120481845&quot;/&amp;gt;&amp;lt;/city&amp;gt;
&amp;lt;city&amp;gt;&amp;lt;name data=&quot;澎湖&quot;/&amp;gt;&amp;lt;latitude_e6 data=&quot;23565479&quot;/&amp;gt;&amp;lt;longitude_e6 data=&quot;119615143&quot;/&amp;gt;&amp;lt;/city&amp;gt;
&amp;lt;city&amp;gt;&amp;lt;name data=&quot;蘭嶼&quot;/&amp;gt;&amp;lt;latitude_e6 data=&quot;22043562&quot;/&amp;gt;&amp;lt;longitude_e6 data=&quot;121548418&quot;/&amp;gt;&amp;lt;/city&amp;gt;
&amp;lt;/cities&amp;gt;
&amp;lt;/xml_api_reply&amp;gt;
&lt;/pre&gt;
&lt;br /&gt;
取得指定城市的天氣資訊
&lt;a href=&quot;http://www.google.com/ig/api?weather=Taipei&quot;&gt;www.google.com/ig/api?weather=Taipei &lt;/a&gt;
傳回結果如&lt;br /&gt;
&lt;pre class=&quot;blush:xml&quot;&gt;&amp;lt;xml_api_reply version=&quot;1&quot;&amp;gt;
 &amp;lt;weather module_id=&quot;0&quot; tab_id=&quot;0&quot; mobile_row=&quot;0&quot; mobile_zipped=&quot;1&quot; row=&quot;0&quot; section=&quot;0&quot; &amp;gt;
 &amp;lt;forecast_information&amp;gt;
  &amp;lt;city data=&quot;Taipei&quot;/&amp;gt;
  &amp;lt;postal_code data=&quot;Taipei&quot;/&amp;gt;
  &amp;lt;latitude_e6 data=&quot;&quot;/&amp;gt;
  &amp;lt;longitude_e6 data=&quot;&quot;/&amp;gt;
  &amp;lt;forecast_date data=&quot;2010-10-06&quot;/&amp;gt;
  &amp;lt;current_date_time data=&quot;2010-10-06 17:00:00 +0000&quot;/&amp;gt;
  &amp;lt;unit_system data=&quot;SI&quot;/&amp;gt;
 &amp;lt;/forecast_information&amp;gt;
 &amp;lt;current_conditions&amp;gt;
  &amp;lt;condition data=&quot;陰&quot;/&amp;gt;
  &amp;lt;temp_f data=&quot;78&quot;/&amp;gt;
  &amp;lt;temp_c data=&quot;26&quot;/&amp;gt;
  &amp;lt;humidity data=&quot;濕度： 63%&quot;/&amp;gt;
  &amp;lt;icon data=&quot;/ig/images/weather/cloudy.gif&quot;/&amp;gt;
  &amp;lt;wind_condition data=&quot;風向：  公里/小時&quot;/&amp;gt;
 &amp;lt;/current_conditions&amp;gt;
 &amp;lt;forecast_conditions&amp;gt;
  &amp;lt;day_of_week data=&quot;週三&quot;/&amp;gt;
  &amp;lt;low data=&quot;23&quot;/&amp;gt;
  &amp;lt;high data=&quot;28&quot;/&amp;gt;
  &amp;lt;icon data=&quot;/ig/images/weather/cloudy.gif&quot;/&amp;gt;
  &amp;lt;condition data=&quot;多雲&quot;/&amp;gt;
 &amp;lt;/forecast_conditions&amp;gt;
 &amp;lt;forecast_conditions&amp;gt;
  &amp;lt;day_of_week data=&quot;週四&quot;/&amp;gt;
  &amp;lt;low data=&quot;23&quot;/&amp;gt;
  &amp;lt;high data=&quot;30&quot;/&amp;gt;
  &amp;lt;icon data=&quot;/ig/images/weather/cloudy.gif&quot;/&amp;gt;
  &amp;lt;condition data=&quot;多雲&quot;/&amp;gt;
 &amp;lt;/forecast_conditions&amp;gt;
 &amp;lt;forecast_conditions&amp;gt;
  &amp;lt;day_of_week data=&quot;週五&quot;/&amp;gt;
  &amp;lt;low data=&quot;24&quot;/&amp;gt;
  &amp;lt;high data=&quot;30&quot;/&amp;gt;
  &amp;lt;icon data=&quot;/ig/images/weather/rain.gif&quot;/&amp;gt;
  &amp;lt;condition data=&quot;多雲轉陰短暫雨&quot;/&amp;gt;
 &amp;lt;/forecast_conditions&amp;gt;
 &amp;lt;forecast_conditions&amp;gt;
  &amp;lt;day_of_week data=&quot;週六&quot;/&amp;gt;
  &amp;lt;low data=&quot;23&quot;/&amp;gt;
  &amp;lt;high data=&quot;27&quot;/&amp;gt;
  &amp;lt;icon data=&quot;/ig/images/weather/rain.gif&quot;/&amp;gt;
  &amp;lt;condition data=&quot;陰短暫雨&quot;/&amp;gt;
 &amp;lt;/forecast_conditions&amp;gt;
 &amp;lt;/weather&amp;gt;
&amp;lt;/xml_api_reply&amp;gt;
&lt;/pre&gt;
&lt;p /&gt;
也可以搭配經緯度取得城市的天氣
&lt;a href=&quot;http://www.google.com/ig/api?hl=zh-tw&amp;amp;weather=,,,24150187,120642999&quot;&gt;http://www.google.com/ig/api?hl=zh-tw&amp;amp;weather=,,,24150187,120642999 &lt;/a&gt;
(台中)傳回結果如&lt;br /&gt;
&lt;br /&gt;
&amp;lt;xml_api_reply version=&quot;1&quot;&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;weather module_id=&quot;0&quot; tab_id=&quot;0&quot; mobile_row=&quot;0&quot; mobile_zipped=&quot;1&quot; row=&quot;0&quot; section=&quot;0&quot; &amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;forecast_information&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;city data=&quot;&quot;/&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;postal_code data=&quot;&quot;/&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;latitude_e6 data=&quot;24150187&quot;/&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;longitude_e6 data=&quot;120642999&quot;/&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;forecast_date data=&quot;2010-10-06&quot;/&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;current_date_time data=&quot;2010-10-06 17:00:00 +0000&quot;/&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;unit_system data=&quot;SI&quot;/&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;/forecast_information&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;current_conditions&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;condition data=&quot;陰有霾&quot;/&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;temp_f data=&quot;83&quot;/&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;temp_c data=&quot;28&quot;/&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;humidity data=&quot;濕度： 69%&quot;/&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;icon data=&quot;/ig/images/weather/haze.gif&quot;/&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;wind_condition data=&quot;風向： &amp;nbsp;公里/小時&quot;/&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;/current_conditions&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;forecast_conditions&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;day_of_week data=&quot;週三&quot;/&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;low data=&quot;22&quot;/&amp;gt;&amp;lt;high data=&quot;30&quot;/&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;icon data=&quot;/ig/images/weather/cloudy.gif&quot;/&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;condition data=&quot;多雲&quot;/&amp;gt;&amp;lt;/forecast_conditions&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;forecast_conditions&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;day_of_week data=&quot;週四&quot;/&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;low data=&quot;23&quot;/&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;high data=&quot;31&quot;/&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;icon data=&quot;/ig/images/weather/cloudy.gif&quot;/&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;condition data=&quot;多雲&quot;/&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;/forecast_conditions&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;forecast_conditions&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;day_of_week data=&quot;週五&quot;/&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;low data=&quot;24&quot;/&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;high data=&quot;31&quot;/&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;icon data=&quot;/ig/images/weather/rain.gif&quot;/&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;condition data=&quot;多雲轉陰短暫雨&quot;/&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;/forecast_conditions&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;forecast_conditions&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;day_of_week data=&quot;週六&quot;/&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;low data=&quot;23&quot;/&amp;gt;&amp;lt;high data=&quot;30&quot;/&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;icon data=&quot;/ig/images/weather/rain.gif&quot;/&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;condition data=&quot;陰時多雲短暫雨&quot;/&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;/forecast_conditions&amp;gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;/weather&amp;gt;&lt;br /&gt;
&amp;lt;/xml_api_reply&amp;gt;&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://nio127.blogspot.com/feeds/6015530953509680520/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://nio127.blogspot.com/2010/10/google-api.html#comment-form' title='4 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3289274225887395979/posts/default/6015530953509680520'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3289274225887395979/posts/default/6015530953509680520'/><link rel='alternate' type='text/html' href='http://nio127.blogspot.com/2010/10/google-api.html' title='一些 Google 天氣氣象用 API'/><author><name>Neil</name><uri>http://www.blogger.com/profile/15177526021432929682</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1jy4oWOnDeXC-YHTM2iNn4xjadGl43g4JDRITxGXTtTtolXamboQgbhBKc4sEp8RgAqu-nO31MN_qoBYldIHU8va43ZVSsk3aDOCUvALkntZwday41EKcQyVVmchGjg/s1600-r/Wallpaper1+2006.06.13+%5B16.57.02%5D_clip1.jpg'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3289274225887395979.post-7284784529688991666</id><published>2010-10-06T12:10:00.002+08:00</published><updated>2010-10-06T12:36:42.069+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Chrome"/><category scheme="http://www.blogger.com/atom/ns#" term="javascript"/><category scheme="http://www.blogger.com/atom/ns#" term="programing"/><title type='text'>推薦 Google Chrome Extension 教學</title><content type='html'>&lt;div&gt;剛剛在找Chrome Extension如何對外做跨網域請求，google路過了這篇&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;a href=&quot;http://www.lis186.com/?p=1992&quot;&gt;[教學]學習撰寫 Google Chrome Extension&lt;/a&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;還有附&lt;a href=&quot;http://db.tt/ibyqL61&quot;&gt;範例檔&lt;/a&gt;，推薦有興趣的人來學習!!&lt;/div&gt; &lt;div&gt;&lt;br&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nio127.blogspot.com/feeds/7284784529688991666/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://nio127.blogspot.com/2010/10/google-chrome-extension.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3289274225887395979/posts/default/7284784529688991666'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3289274225887395979/posts/default/7284784529688991666'/><link rel='alternate' type='text/html' href='http://nio127.blogspot.com/2010/10/google-chrome-extension.html' title='推薦 Google Chrome Extension 教學'/><author><name>Neil</name><uri>http://www.blogger.com/profile/15177526021432929682</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1jy4oWOnDeXC-YHTM2iNn4xjadGl43g4JDRITxGXTtTtolXamboQgbhBKc4sEp8RgAqu-nO31MN_qoBYldIHU8va43ZVSsk3aDOCUvALkntZwday41EKcQyVVmchGjg/s1600-r/Wallpaper1+2006.06.13+%5B16.57.02%5D_clip1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3289274225887395979.post-1309152728065211275</id><published>2010-10-04T11:57:00.002+08:00</published><updated>2010-10-04T12:39:08.705+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Chrome"/><category scheme="http://www.blogger.com/atom/ns#" term="firefox"/><category scheme="http://www.blogger.com/atom/ns#" term="javascript"/><title type='text'>監視DOM的copy, paste事件 (oncopy, onpaste event)</title><content type='html'>&lt;br /&gt;
根據&amp;nbsp;&lt;a target=&#39;_blank&#39; href=&quot;http://en.wikipedia.org/wiki/DOM_events#Microsoft-specific_events&quot;&gt;http://en.wikipedia.org/wiki/DOM_events&lt;/a&gt;&amp;nbsp;的說明&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;&quot;&gt;
Two major types of events are added by Microsoft, and in some cases can only be used in&amp;nbsp;&lt;a href=&quot;http://en.wikipedia.org/wiki/Internet_Explorer&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; background-position: initial initial; background-repeat: initial initial; color: #0645ad; text-decoration: none;&quot; title=&quot;Internet Explorer&quot;&gt;Internet Explorer&lt;/a&gt;. Others have been implemented as de-facto standards by other browsers.&lt;/div&gt;
&lt;ul style=&quot;line-height: 1.5em; list-style-image: url(http://bits.wikimedia.org/skins-1.5/vector/images/bullet-icon.png?1); list-style-type: square; margin-bottom: 0.5em; margin-left: 1.5em; margin-right: 0px; margin-top: 0.3em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;li style=&quot;margin-bottom: 0.1em;&quot;&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/Clipboard&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; background-position: initial initial; background-repeat: initial initial; color: #0645ad; text-decoration: none;&quot; title=&quot;Clipboard&quot;&gt;Clipboard&lt;/a&gt;&amp;nbsp;events&lt;/li&gt;
&lt;li style=&quot;margin-bottom: 0.1em;&quot;&gt;Data binding events&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;
&lt;br /&gt;
Microsoft在自家的ie瀏覽器上，多自訂了以上兩種類型的事件，其中oncopy, onpaste這兩個，上週發現Firefox 3.6, Chrome 6都也可以支援。&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush:js;&quot;&gt;document.getElementById(ElementID).addEventListener(eventType, fn);
&lt;/pre&gt;
&lt;br /&gt;
eventType為&#39;copy&#39; 或是&#39;paste&#39;,
fn為function.&lt;br /&gt;
&lt;br /&gt;
雖然不是W3C的規格，但這個監視剪貼簿的事件真的不錯用，省去監視keyup/keypress/keydown或是按滑鼠右鍵複製貼上這些實作。</content><link rel='replies' type='application/atom+xml' href='http://nio127.blogspot.com/feeds/1309152728065211275/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://nio127.blogspot.com/2010/10/domcopy-paste-oncopy-onpaste-event.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3289274225887395979/posts/default/1309152728065211275'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3289274225887395979/posts/default/1309152728065211275'/><link rel='alternate' type='text/html' href='http://nio127.blogspot.com/2010/10/domcopy-paste-oncopy-onpaste-event.html' title='監視DOM的copy, paste事件 (oncopy, onpaste event)'/><author><name>Neil</name><uri>http://www.blogger.com/profile/15177526021432929682</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1jy4oWOnDeXC-YHTM2iNn4xjadGl43g4JDRITxGXTtTtolXamboQgbhBKc4sEp8RgAqu-nO31MN_qoBYldIHU8va43ZVSsk3aDOCUvALkntZwday41EKcQyVVmchGjg/s1600-r/Wallpaper1+2006.06.13+%5B16.57.02%5D_clip1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3289274225887395979.post-6947372959692341332</id><published>2010-07-10T01:18:00.003+08:00</published><updated>2010-07-13T00:21:48.845+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>開啟ubuntu 10.04的smplayer硬體加速vdpau</title><content type='html'>這是筆記。

在Terminal下執行。

&lt;br /&gt;
&lt;blockquote&gt;
sudo add-apt-repository ppa:nvidia-vdpau/ppa&lt;/blockquote&gt;
&lt;blockquote&gt;
sudo apt-get install libvdpau1 smplayer&lt;/blockquote&gt;
最後到smplayer中設置視頻輸出設備為 &lt;b&gt;vdpau&lt;/b&gt;

目前我還沒解決的問題是，影片結束時會發生錯誤訊息。

&lt;br /&gt;
&lt;div&gt;
&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5491959909877359458&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYpkoEG-deRho-1pfpiut3gjVA6h3Mi14z9z-Nry79aMnu7a7i5RClu9ZdeItJpeLkx2f5NcGMXIHDay9UN-r0veUnXEiJZezC9BdQSdYi17YS2Jz12EYJ6on7wkJUE2hHvtqd2-eMuOFc/s320/screenshot55.png&quot; style=&quot;cursor: hand; cursor: pointer; height: 191px; width: 320px;&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;建議smplayer/mplayer升到&lt;a href=&quot;http://smplayer.sourceforge.net/&quot;&gt;最新版&lt;/a&gt;。


&lt;br /&gt;
&lt;br /&gt;
ps. 更新mplayer/smplayer:&lt;br /&gt;
&lt;br /&gt;
sudo add-apt-repository ppa:rvm/mplayer&lt;br /&gt;
sudo add-apt-repository ppa:rvm/smplayer&lt;br /&gt;
&lt;br /&gt;
在/etc/apt/sources.list加下面幾行:&lt;br /&gt;
&lt;br /&gt;
# smplayer&lt;br /&gt;
deb http://ppa.launchpad.net/rvm/smplayer/ubuntu lucid main&lt;br /&gt;
deb-src http://ppa.launchpad.net/rvm/smplayer/ubuntu lucid main&lt;br /&gt;
&lt;br /&gt;
# mplayer&lt;br /&gt;
deb http://ppa.launchpad.net/rvm/mplayer/ubuntu lucid main&lt;br /&gt;
deb-src http://ppa.launchpad.net/rvm/mplayer/ubuntu lucid main&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
然後再存檔，執行&lt;/div&gt;
&lt;div&gt;
sudo apt-get update&lt;/div&gt;
&lt;div&gt;
sudo apt-get upgrade&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nio127.blogspot.com/feeds/6947372959692341332/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://nio127.blogspot.com/2010/07/ubuntu-1004smplayervdpau.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3289274225887395979/posts/default/6947372959692341332'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3289274225887395979/posts/default/6947372959692341332'/><link rel='alternate' type='text/html' href='http://nio127.blogspot.com/2010/07/ubuntu-1004smplayervdpau.html' title='開啟ubuntu 10.04的smplayer硬體加速vdpau'/><author><name>Neil</name><uri>http://www.blogger.com/profile/15177526021432929682</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1jy4oWOnDeXC-YHTM2iNn4xjadGl43g4JDRITxGXTtTtolXamboQgbhBKc4sEp8RgAqu-nO31MN_qoBYldIHU8va43ZVSsk3aDOCUvALkntZwday41EKcQyVVmchGjg/s1600-r/Wallpaper1+2006.06.13+%5B16.57.02%5D_clip1.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYpkoEG-deRho-1pfpiut3gjVA6h3Mi14z9z-Nry79aMnu7a7i5RClu9ZdeItJpeLkx2f5NcGMXIHDay9UN-r0veUnXEiJZezC9BdQSdYi17YS2Jz12EYJ6on7wkJUE2hHvtqd2-eMuOFc/s72-c/screenshot55.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3289274225887395979.post-8069493721887173416</id><published>2010-02-18T00:10:00.003+08:00</published><updated>2010-02-18T00:12:13.056+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Google"/><category scheme="http://www.blogger.com/atom/ns#" term="mac"/><category scheme="http://www.blogger.com/atom/ns#" term="通訊錄"/><title type='text'>[Mac] 同步Google與MacOSX 的通訊錄</title><content type='html'>&lt;p style=&quot;clear: both&quot;&gt;這是一篇筆記，詳細步驟我也不是很確定。&lt;/p&gt;&lt;p style=&quot;clear: both&quot;&gt;1．勾選&quot;&lt;strong&gt;通訊錄&lt;/strong&gt;&quot; &amp;gt; &quot;&lt;strong&gt;偏好設定&lt;/strong&gt;&quot; 內的&quot;&lt;strong&gt;與Google 同步&lt;/strong&gt;&quot;&lt;/p&gt;&lt;p style=&quot;clear: both&quot;&gt;&lt;a class=&quot;lightbox&quot; target=&quot;_blank&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgatHbi1Xqk5u6KzbkMOcws5QES0mcwzRcTCwMzsk8a3RMgXQ_C5fp2rwkEskmWjwA-B2pl3ja6Dv9ktahaRyir8hG4RAq9NvYO8_nYu2BEewlMVbLjCPzlqg1SW6VlSxoioMbVTAHG5_Yi/s800/2010-02-17_22-full.40.54.png&quot; class=&quot;image-link&quot;&gt;&lt;img class=&quot;linked-to-original&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUkjsUlt6u1Fh_6uzozBtu-EhvU_5jFAcM_Y9WAYQSPIOfSjvhCfGL0B2SZfGBGxoZFzivM7Tqljykd6flRhrgCwP73A-Tj8OBaM0OC7AzKn3ROWRW8UzVBqzTK1ScKZHVgRhtuR6HsqTx/s800/2010-02-17_22-thumb.40.1.png&quot; height=&quot;119&quot; width=&quot;380&quot; style=&quot; text-align: center; display: block; margin: 0 auto 10px;&quot; /&gt;&lt;/a&gt;2．勾選並設定 iTunes 裡的&quot;&lt;strong&gt;聯絡資訊&lt;/strong&gt;&quot; &amp;gt; &quot;&lt;strong&gt;同步 Google 通訊錄&lt;/strong&gt;&quot; (此步驟不確定是不是必需，但剛好我也要同步iPhone的通訊錄)&lt;/p&gt;&lt;p style=&quot;clear: both&quot;&gt;&lt;a  class=&quot;lightbox&quot; target=&quot;_blank&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfHy3K7suJ3q8wcEdQTL6IqboQiuwg6n9x7EdNxN-rY8Y_72gm2uGG14SF_CWYQ-dzEpWwK_AtbHHaYv0nwKnNjoYlqwGqGWGBN8-NhGN391u5CDW6uLh2SYCvOoUya7oUK_hb-B-Z6kj9/s800/2010-02-18_00.00.47.png&quot; class=&quot;image-link&quot;&gt;&lt;img class=&quot;linked-to-original&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXp_sIZEaIhLlOr4VR3BU5Ylc45qH0Oda-d6Cj2T9GQ9OEwffJuQjlBvPIRwwGlKkDR4TdKl1Mlptmb90K2vdKWb620NmhoMhYTXMH8LNHodKn21Nume8etSfiFJbuFbqQ1_KG4OAXqDGv/s800/2010-02-18_00-thumb.00.47.png&quot; height=&quot;68&quot; width=&quot;380&quot; style=&quot; text-align: center; display: block; margin: 0 auto 10px;&quot; /&gt;&lt;/a&gt;3．接下來點最上面的工具列，會有一個MobileMe的同步按鈕，裡面的&quot;&lt;strong&gt;立即同步&lt;/strong&gt;&quot;&lt;/p&gt;&lt;p style=&quot;clear: both&quot;&gt;&lt;a  class=&quot;lightbox&quot; target=&quot;_blank&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6TzNhx47NSbk-LFfnPg1dXVN5gDGjF9DJPeQ2I995r7skzBLMbFryvpJvlZNd0T5o258mPt9bWdyVwBl_YMOyorZaYLd82V_3JH4c6u8b0Y1XfMlkXIs3of61hmYxsybfNctLF92wP58_/s800/_____2010-02-18___12.04.06.png&quot; class=&quot;image-link&quot;&gt;&lt;img class=&quot;linked-to-original&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKRIN1KwNdblk7AqmBpFIteH5HRsIccUTUOdHiUzJL-fS-tiYwBbE1UIbg8KGVuoDgrlp31WsOhaTQ1xHUEKcRkUV9KupEwFx8JRzG2CUCurKNNOVxGtoII-uSRvcmQEX3N7NgBfP9puU4/s800/_____2010-02-18___12-thumb.04.06.png&quot; height=&quot;114&quot; width=&quot;242&quot; style=&quot; text-align: center; display: block; margin: 0 auto 10px;&quot; /&gt;&lt;/a&gt;理論上這樣就應該可以了，平常只要有改動Google通訊錄，或是Mac裡面的通訊錄，只要點步驟3的&quot;&lt;strong&gt;立即同步&lt;/strong&gt;&quot;，就會馬上同步了。&lt;/p&gt;&lt;p style=&quot;clear: both&quot;&gt;設定好這個，就先來把兩邊重複的通訊名單好好整理一下吧，可以參考前一篇: &lt;a href=&quot;http://nio127.blogspot.com/2010/02/google.html&quot; target=&quot;_blank&quot;&gt;[Google] 通訊錄 - 合併重複的聯絡人&lt;/a&gt; 。&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;clear: both&quot;&gt;&lt;/p&gt;&lt;br class=&#39;final-break&#39; style=&#39;clear: both&#39; /&gt;</content><link rel='replies' type='application/atom+xml' href='http://nio127.blogspot.com/feeds/8069493721887173416/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://nio127.blogspot.com/2010/02/mac-googlemacosx.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3289274225887395979/posts/default/8069493721887173416'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3289274225887395979/posts/default/8069493721887173416'/><link rel='alternate' type='text/html' href='http://nio127.blogspot.com/2010/02/mac-googlemacosx.html' title='[Mac] 同步Google與MacOSX 的通訊錄'/><author><name>Neil</name><uri>http://www.blogger.com/profile/15177526021432929682</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1jy4oWOnDeXC-YHTM2iNn4xjadGl43g4JDRITxGXTtTtolXamboQgbhBKc4sEp8RgAqu-nO31MN_qoBYldIHU8va43ZVSsk3aDOCUvALkntZwday41EKcQyVVmchGjg/s1600-r/Wallpaper1+2006.06.13+%5B16.57.02%5D_clip1.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUkjsUlt6u1Fh_6uzozBtu-EhvU_5jFAcM_Y9WAYQSPIOfSjvhCfGL0B2SZfGBGxoZFzivM7Tqljykd6flRhrgCwP73A-Tj8OBaM0OC7AzKn3ROWRW8UzVBqzTK1ScKZHVgRhtuR6HsqTx/s72-c/2010-02-17_22-thumb.40.1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3289274225887395979.post-1615702006452390250</id><published>2010-02-14T21:13:00.002+08:00</published><updated>2010-02-14T21:17:27.494+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="apple"/><category scheme="http://www.blogger.com/atom/ns#" term="Chrome"/><title type='text'>下列外掛程式已...</title><content type='html'>&lt;a class=&quot;lightbox&quot; target=&quot;_blank&quot;  href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvbMUVOZQojSadtM7Px3LphAbNg1szRmQ04m7u11OBpDxmRG8b8iUTEFOZN6kK3hXsFWodaiz-7ePkTTd9evb_V0CRUbF7BzzM8HiFlFzG3sCvG4LcQWJFU1bqM5Yf8ZShhf0xefOqI95x/s800/2010-02-14_21-full.07.03.png&quot; class=&quot;image-link&quot;&gt;&lt;img class=&quot;linked-to-original&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6RB0YVGHw-b9rsh7DTlmTtln4mmSW0nm_6Zr2o_rkwUS3b3pdCOHxLdQSrJPv0hDyGj4IgQv8gzzrVn2yYE3TJJAk-Bj4cU7jem6s_3CSRcF9qBPnT_nleUPoI1mR2fZZc8Qin9mfmMUH/s800/2010-02-14_21-thumb.07.03.png&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;p&gt;這就是為什麼Apple想拒Adobe的原因之一嗎…!?&lt;/p&gt;&lt;p&gt;Mac上的Chrome也遇到了…lol&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://nio127.blogspot.com/feeds/1615702006452390250/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://nio127.blogspot.com/2010/02/blog-post.html#comment-form' title='1 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3289274225887395979/posts/default/1615702006452390250'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3289274225887395979/posts/default/1615702006452390250'/><link rel='alternate' type='text/html' href='http://nio127.blogspot.com/2010/02/blog-post.html' title='下列外掛程式已...'/><author><name>Neil</name><uri>http://www.blogger.com/profile/15177526021432929682</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1jy4oWOnDeXC-YHTM2iNn4xjadGl43g4JDRITxGXTtTtolXamboQgbhBKc4sEp8RgAqu-nO31MN_qoBYldIHU8va43ZVSsk3aDOCUvALkntZwday41EKcQyVVmchGjg/s1600-r/Wallpaper1+2006.06.13+%5B16.57.02%5D_clip1.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6RB0YVGHw-b9rsh7DTlmTtln4mmSW0nm_6Zr2o_rkwUS3b3pdCOHxLdQSrJPv0hDyGj4IgQv8gzzrVn2yYE3TJJAk-Bj4cU7jem6s_3CSRcF9qBPnT_nleUPoI1mR2fZZc8Qin9mfmMUH/s72-c/2010-02-14_21-thumb.07.03.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3289274225887395979.post-4209720960957855612</id><published>2010-02-12T15:47:00.001+08:00</published><updated>2010-02-12T15:47:16.123+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Google"/><title type='text'>[Google] 通訊錄 - 合併重複的聯絡人</title><content type='html'>&lt;p style=&quot;clear: both&quot;&gt;這功能已經有好一陣子了，這兩天正好在把mac通訊錄跟google通訊錄同步，並且整理重複的部份，所以拿出來提一下。&lt;/p&gt;&lt;p style=&quot;clear: both&quot;&gt;Google 通訊錄，是GMail的一部份，可以從GMail內的連結進入，而後來也有單獨的連結可以直接開啟，網址是：&lt;a href=&quot;http://www.google.com/contacts&quot; target=&quot;_blank&quot;&gt;http://www.google.com/contacts&lt;/a&gt;。&lt;/p&gt;&lt;p style=&quot;clear: both&quot;&gt;合併重複的聯絡人的方法有分為自動及手動兩種方式。&lt;/p&gt;&lt;p style=&quot;clear: both&quot;&gt;自動合併:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;&lt;br /&gt;
&lt;a class=lightbox href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjScDbCtZZAvfNho4A1Jb2qVhrWkwnZD8TeKu856qfXA56GeWo_WAeuJoCA0HijbGbwOQ4YKsr4WG5D0tonxWXYqNlwrOoEtzWm4S1eXAfYyqav_6DFjYxqwEWR2QzqVsXg3Y2lWCu8sWxd/s800/2010-02-12_15.03.21.png&quot; class=&quot;image-link&quot;&gt;&lt;img class=&quot;linked-to-original&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-CN8WNKmmdh0zkmvAm85WlVDk9vsKdIAv4B5mrUJGbAFzUwRKHbNPo6SkjwVhc2fScZTYSEUIfsZGayYoWEM657Zk90eTMRPLZhVq9KGCPGYgNJohygZmi7dl-59dncxlu86Fb54N-9XP/s800/2010-02-12_15-thumb.03.21.png&quot; height=&quot;116&quot; width=&quot;188&quot; style=&quot;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;li&gt;&lt;br /&gt;
&lt;a  class=lightbox href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjj7to3cDcKqF9XlRwwB5CNHpp_48cIV1wV7DYXLAwj3UB6w1FZVYgBgGZnkXaTaLKZhCpYQ83O_Md0SUruO7cNBi_-fGG9c7f5jzsV4uGY7u60plw-gTWHcinlBoIxh9r0YjAE7Q0v3IR-/s800/2010-02-12_15.06.22.png&quot; class=&quot;image-link&quot;&gt;&lt;img class=&quot;linked-to-original&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjikB8ALZeC3rSGOsenwZ9_h20Icl5tfYwlEggbk95FXVwEshYiOts-XJuvLFp9yjziPEiJPFLQ_yf02qycixM2_O6jwlqx_Sue474TikeW8SDBtg9UxPRZ342PBtjpyifsQjlpx4-w_NtJ/s800/2010-02-12_15-thumb.06.22.png&quot; height=&quot;78&quot; width=&quot;231&quot; style=&quot;-webkit-user-drag: element; -webkit-user-select: none; background-image: initial; background-repeat: initial; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; padding-top: 0px; padding-right: 20px; padding-bottom: 0px; padding-left: 20px; background-color: rgb(123, 123, 123); background-position: initial initial; &quot; /&gt;&lt;/a&gt; &lt;/li&gt;&lt;br /&gt;
&lt;/ol&gt;&lt;p style=&quot;clear: both&quot;&gt;手動合併：&lt;/p&gt;&lt;p style=&quot;clear: both&quot;&gt;&lt;/p&gt;&lt;p style=&quot;clear: both&quot;&gt;&lt;a  class=lightbox href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCPGp_dYxy_3qupkpvA8dbM32cdJ0RPDe877f4WJArlFgNp54oIOcKs8ioCeg0wegtkkuUOcKaks2DBDKoTG4AsRr_GSlkM5Cn6vJt0v2NRI595ZBzP5EAXp1b-XjWkzNEt23Bgjk2MYfT/s800/_____2010-02-11___10.18.1.png&quot; class=&quot;image-link&quot;&gt;&lt;img class=&quot;linked-to-original&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiF317VLMJWsDPw-_s45BcMrOa2W9lYYMPcOG0TaA3dwcR3XL1zhWcFmM_t0IC6grxMEM9zA2IN0Vh7Ezp6qc9n_XiGf83dGpa4HICnIHrHNQ__gDk6Yn54mUUBoix-vs8Cay8O69PYdrm4/s800/_____2010-02-11___10-thumb.18.2.png&quot; height=&quot;172&quot; width=&quot;380&quot; style=&quot;-webkit-user-drag: element; -webkit-user-select: none; background-image: initial; background-repeat: initial; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; padding-top: 0px; padding-right: 20px; padding-bottom: 0px; padding-left: 20px; background-color: rgb(123, 123, 123); background-position: initial initial; &quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style=&quot;clear: both&quot;&gt;&lt;/p&gt;&lt;p style=&quot;clear: both&quot;&gt;以上兩種方法都蠻方便的，自動合併應該是依照email判斷，而手動合併是自己選擇，所以彈性就更大囉。&lt;/p&gt;&lt;p style=&quot;clear: both&quot;&gt;供大家使用上參考。&lt;/p&gt;&lt;p style=&quot;clear: both&quot;&gt;&lt;/p&gt;&lt;br class=&#39;final-break&#39; style=&#39;clear: both&#39; /&gt;</content><link rel='replies' type='application/atom+xml' href='http://nio127.blogspot.com/feeds/4209720960957855612/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://nio127.blogspot.com/2010/02/google.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3289274225887395979/posts/default/4209720960957855612'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3289274225887395979/posts/default/4209720960957855612'/><link rel='alternate' type='text/html' href='http://nio127.blogspot.com/2010/02/google.html' title='[Google] 通訊錄 - 合併重複的聯絡人'/><author><name>Neil</name><uri>http://www.blogger.com/profile/15177526021432929682</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1jy4oWOnDeXC-YHTM2iNn4xjadGl43g4JDRITxGXTtTtolXamboQgbhBKc4sEp8RgAqu-nO31MN_qoBYldIHU8va43ZVSsk3aDOCUvALkntZwday41EKcQyVVmchGjg/s1600-r/Wallpaper1+2006.06.13+%5B16.57.02%5D_clip1.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-CN8WNKmmdh0zkmvAm85WlVDk9vsKdIAv4B5mrUJGbAFzUwRKHbNPo6SkjwVhc2fScZTYSEUIfsZGayYoWEM657Zk90eTMRPLZhVq9KGCPGYgNJohygZmi7dl-59dncxlu86Fb54N-9XP/s72-c/2010-02-12_15-thumb.03.21.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3289274225887395979.post-4003206413321999871</id><published>2009-12-22T14:56:00.000+08:00</published><updated>2009-12-22T14:56:17.523+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="mac"/><category scheme="http://www.blogger.com/atom/ns#" term="subversion"/><title type='text'>[Mac] SVN的Proxy設定</title><content type='html'>&lt;P&gt;在~目錄(使用者目錄)下面，有.subversion目錄，裡面有個servers檔。&lt;br /&gt;
打開檔案，裡面有段&lt;/P&gt;&lt;pre&gt;[global]
# http-proxy-exceptions = *.exception.com, www.internal-site.org
# http-proxy-host = defaultproxy.whatever.com
# http-proxy-port = 7000
&lt;/pre&gt;修改這段設定，存起來後，應該會影響到svn。只是會不會成功讓svn透過proxy出去，這個我就沒成功過了 囧rz&lt;br /&gt;
&lt;br /&gt;
因為公司的proxy好像有問題。</content><link rel='replies' type='application/atom+xml' href='http://nio127.blogspot.com/feeds/4003206413321999871/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://nio127.blogspot.com/2009/12/mac-svnproxy.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3289274225887395979/posts/default/4003206413321999871'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3289274225887395979/posts/default/4003206413321999871'/><link rel='alternate' type='text/html' href='http://nio127.blogspot.com/2009/12/mac-svnproxy.html' title='[Mac] SVN的Proxy設定'/><author><name>Neil</name><uri>http://www.blogger.com/profile/15177526021432929682</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1jy4oWOnDeXC-YHTM2iNn4xjadGl43g4JDRITxGXTtTtolXamboQgbhBKc4sEp8RgAqu-nO31MN_qoBYldIHU8va43ZVSsk3aDOCUvALkntZwday41EKcQyVVmchGjg/s1600-r/Wallpaper1+2006.06.13+%5B16.57.02%5D_clip1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3289274225887395979.post-5065132652293308376</id><published>2009-12-18T10:18:00.001+08:00</published><updated>2009-12-18T10:19:53.045+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Google"/><title type='text'>[GMail] Filter 多個篩選條件寫進一條rule</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/AVvXsEgwdiC5LDmUlJUPuOI11xkhb1N80SOZ40h5zzt52AbKiQWjWw1JeWGXGZoWS2_ZvKVsfqEVqXvK5D7P3mBbyHtBj38kHtrJyFLHEaL8W6jgkcChO_1yJXe126iwn3-d0xLVACmG1eEMEvOz/s1600-h/%E8%9E%A2%E5%B9%95%E5%BF%AB%E7%85%A7%202009-12-18%20%E4%B8%8A%E5%8D%8810.07.30.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;137&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgwdiC5LDmUlJUPuOI11xkhb1N80SOZ40h5zzt52AbKiQWjWw1JeWGXGZoWS2_ZvKVsfqEVqXvK5D7P3mBbyHtBj38kHtrJyFLHEaL8W6jgkcChO_1yJXe126iwn3-d0xLVACmG1eEMEvOz/s400/%E8%9E%A2%E5%B9%95%E5%BF%AB%E7%85%A7%202009-12-18%20%E4%B8%8A%E5%8D%8810.07.30.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;在Filter中，可以使用OR來建立多個from來源，但注意一定是要大寫的OR，小寫的or是無效的。另外有沒有加() 小括號是沒有差別的，但是如果加上@，搜尋起來會比較有效率，我猜是判斷是否直接對email address搜尋，或是連郵件標題也搜尋的關鍵字之一吧。&lt;br /&gt;
&lt;br /&gt;
這樣就不用為了把多個朋友寄來的信都加到同一標籤入，而加了一堆Filter，看起來有點礙眼:p&lt;br /&gt;
&lt;br /&gt;
如果之後Filter可以根據群組來分標籤就好了~</content><link rel='replies' type='application/atom+xml' href='http://nio127.blogspot.com/feeds/5065132652293308376/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://nio127.blogspot.com/2009/12/gmail-filter-rule.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3289274225887395979/posts/default/5065132652293308376'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3289274225887395979/posts/default/5065132652293308376'/><link rel='alternate' type='text/html' href='http://nio127.blogspot.com/2009/12/gmail-filter-rule.html' title='[GMail] Filter 多個篩選條件寫進一條rule'/><author><name>Neil</name><uri>http://www.blogger.com/profile/15177526021432929682</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1jy4oWOnDeXC-YHTM2iNn4xjadGl43g4JDRITxGXTtTtolXamboQgbhBKc4sEp8RgAqu-nO31MN_qoBYldIHU8va43ZVSsk3aDOCUvALkntZwday41EKcQyVVmchGjg/s1600-r/Wallpaper1+2006.06.13+%5B16.57.02%5D_clip1.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgwdiC5LDmUlJUPuOI11xkhb1N80SOZ40h5zzt52AbKiQWjWw1JeWGXGZoWS2_ZvKVsfqEVqXvK5D7P3mBbyHtBj38kHtrJyFLHEaL8W6jgkcChO_1yJXe126iwn3-d0xLVACmG1eEMEvOz/s72-c/%E8%9E%A2%E5%B9%95%E5%BF%AB%E7%85%A7%202009-12-18%20%E4%B8%8A%E5%8D%8810.07.30.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3289274225887395979.post-5131917916372668316</id><published>2009-12-02T14:17:00.002+08:00</published><updated>2009-12-02T14:23:02.439+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="javascript"/><category scheme="http://www.blogger.com/atom/ns#" term="jQuery"/><title type='text'>[筆記][jQuery] jquery.ajax在 ie6上的問題</title><content type='html'>引述自 &lt;a href=&quot;http://www.javaeye.com/topic/355008&quot;&gt;該死的JQUERY AJAX函數 - AJAX - web - JavaEye論壇&lt;/a&gt;:
&lt;pre&gt;&lt;blockquote&gt;
&quot;1. IE6在本地非服務器環境下不能提供XML文件的查看功能,所以在非服務器環境下不能將
dataType 設置為xml , 但是可以設置成 json和text html之類的格式..

2. 在服務器環境下使用Jquery獲取XML時,不僅僅是XML,還有JSON,如果格式有問題,將不返回結果和任何錯誤提示.. 如果數據正確, 但是採用XPath來查找元素時 XPATH路徑寫
錯了,不會獲取任何結果,也不會報任何錯誤提示...&quot;&lt;/blockquote&gt;
&lt;/pre&gt;

今天遇到 jquery.ajax(...)裡面參數dataType用xml時，在firefox 3.5下正常走success callback，可是ie6卻跑error callback，然後上google查到了前人的經驗…

必要的話，或許還是得架個local server來測試。</content><link rel='replies' type='application/atom+xml' href='http://nio127.blogspot.com/feeds/5131917916372668316/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://nio127.blogspot.com/2009/12/jquery-ajax-ajax-web-javaeye.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3289274225887395979/posts/default/5131917916372668316'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3289274225887395979/posts/default/5131917916372668316'/><link rel='alternate' type='text/html' href='http://nio127.blogspot.com/2009/12/jquery-ajax-ajax-web-javaeye.html' title='[筆記][jQuery] jquery.ajax在 ie6上的問題'/><author><name>Neil</name><uri>http://www.blogger.com/profile/15177526021432929682</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1jy4oWOnDeXC-YHTM2iNn4xjadGl43g4JDRITxGXTtTtolXamboQgbhBKc4sEp8RgAqu-nO31MN_qoBYldIHU8va43ZVSsk3aDOCUvALkntZwday41EKcQyVVmchGjg/s1600-r/Wallpaper1+2006.06.13+%5B16.57.02%5D_clip1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3289274225887395979.post-1477311133493540223</id><published>2009-12-02T14:09:00.004+08:00</published><updated>2009-12-02T14:22:35.719+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="css"/><title type='text'>[筆記][CSS Hack] 區分各ie及firefox的css</title><content type='html'>引述自&lt;a target=&quot;_blank&quot; href=&quot;http://www.div-css.com/html/XHTML-CSS/hack/1136667.html&quot;&gt;CSS hack:區分IE6，IE7，firefox-網站標準化&lt;/a&gt;:
&lt;pre&gt;
區別不同瀏覽器，CSS hack寫法：

區別IE6與FF：
     background:orange;*background:blue;

區別IE6與IE7：
     background:green !important;background:blue;

區別IE7與FF：
     background:orange; *background:green;

區別FF，IE7，IE6：
     background:orange;*background:green !important;*background:blue;

註：IE都能識別*;標準瀏覽器(如FF)不能識別*；
IE6能識別*，但不能識別 !important,
IE7能識別*，也能識別!important;
FF不能識別*，但能識別!important;


IE6  IE7  FF
*  √  √  ×
!important  ×  √  √


另外再補充一個，下劃線&#39;_&#39;,
IE6支持下劃線，IE7和firefox均不支持下劃線。

於是大家還可以這樣來區分IE6，IE7，firefox
: background:orange;*background:green;_background:blue;

註：不管是什麼方法，書寫的順序都是firefox的寫在前面，IE7的寫在中間，IE6的寫在最後面。

&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://nio127.blogspot.com/feeds/1477311133493540223/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://nio127.blogspot.com/2009/12/css-hack-iefirefoxcss.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3289274225887395979/posts/default/1477311133493540223'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3289274225887395979/posts/default/1477311133493540223'/><link rel='alternate' type='text/html' href='http://nio127.blogspot.com/2009/12/css-hack-iefirefoxcss.html' title='[筆記][CSS Hack] 區分各ie及firefox的css'/><author><name>Neil</name><uri>http://www.blogger.com/profile/15177526021432929682</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1jy4oWOnDeXC-YHTM2iNn4xjadGl43g4JDRITxGXTtTtolXamboQgbhBKc4sEp8RgAqu-nO31MN_qoBYldIHU8va43ZVSsk3aDOCUvALkntZwday41EKcQyVVmchGjg/s1600-r/Wallpaper1+2006.06.13+%5B16.57.02%5D_clip1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3289274225887395979.post-9189096805662306211</id><published>2009-12-01T10:42:00.003+08:00</published><updated>2009-12-01T10:44:38.620+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="javascript"/><category scheme="http://www.blogger.com/atom/ns#" term="jQuery"/><title type='text'>jQuery Tip : 取得select tag中option</title><content type='html'>&lt;a href=&quot;http://marcgrabanski.com/article/jquery-select-list-values&quot;&gt;jQuery Tip - Getting Select List Values: jQuery, Tutorial&lt;/a&gt;
&lt;p&gt;
取得&amp;lt;select id=&quot;s1&quot;&amp;gt;中選取的&amp;lt;option&amp;gt;方法：&lt;ol&gt;&lt;li&gt;$(&quot;select#s1&quot;).val();&lt;/li&gt;&lt;li&gt;$(&quot;select#s1 :selected&quot;).text();&lt;/li&gt;&lt;/ol&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://nio127.blogspot.com/feeds/9189096805662306211/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://nio127.blogspot.com/2009/12/jquery-tip-select-tagoption.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3289274225887395979/posts/default/9189096805662306211'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3289274225887395979/posts/default/9189096805662306211'/><link rel='alternate' type='text/html' href='http://nio127.blogspot.com/2009/12/jquery-tip-select-tagoption.html' title='jQuery Tip : 取得select tag中option'/><author><name>Neil</name><uri>http://www.blogger.com/profile/15177526021432929682</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1jy4oWOnDeXC-YHTM2iNn4xjadGl43g4JDRITxGXTtTtolXamboQgbhBKc4sEp8RgAqu-nO31MN_qoBYldIHU8va43ZVSsk3aDOCUvALkntZwday41EKcQyVVmchGjg/s1600-r/Wallpaper1+2006.06.13+%5B16.57.02%5D_clip1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3289274225887395979.post-2222557336956191994</id><published>2009-11-18T17:20:00.001+08:00</published><updated>2009-11-18T17:20:09.012+08:00</updated><title type='text'>Ubuntu 下的Wine中文字型設定</title><content type='html'>&lt;div xmlns=&#39;http://www.w3.org/1999/xhtml&#39;&gt;&lt;p&gt;在Ubuntu裡面的Wine常常看到□□的中文字?&lt;br/&gt;&lt;br/&gt;那就來學著如果讓中文字能正常顯示吧。&lt;/p&gt;參考來源： &lt;p&gt;&lt;blockquote&gt;&quot;開始設定中文字型吧！Ubuntu 8.04 內預設安裝上海新宋字體，為了節省硬碟空間，可以使用軟連結，將字型指定到 Wine fonts 目錄內。 ln -s /usr/share/fonts/truetype/arphic/uming.ttc ~/.wine/drive_c/windows/Fonts/uming.ttc接著我們需修改下述3個檔案，指定字型使用 uming user.reg system.reg win.ini 1. 修改user.reg gedit ~/.wine/user.reg 在文件最底下加入以下內容:[Software\\Wine\\X11 Driver]&quot;ClientSideAntiAliasWithRender&quot;=&quot;N&quot;[Software\\Wine\\Fonts\\Replacements]&quot;System&quot;=&quot;AR PL UMing CN&quot;&quot;Arial&quot;=&quot;AR PL UMing CN&quot;&quot;Fixedsys&quot;=&quot;AR PL UMing CN&quot;&quot;Microsoft Sans Serif&quot;=&quot;AR PL UMing CN&quot;&quot;MS UI Gothic&quot;=&quot;AR PL UMing CN&quot;&quot;Tahoma&quot;=&quot;AR PL UMing CN&quot;&quot;Terminal&quot;=&quot;AR PL UMing CN&quot;&quot;MingLiU&quot;=&quot;AR PL UMing CN&quot;&quot;PMingLiU&quot;=&quot;AR PL UMing CN&quot; 2. 修改system.reg gedit ~/.wine/system.reg 在文件最底下加入:[Software\\Microsoft\\Windows NT\\CurrentVersion\\FontSubstitutes] &quot;Arial&quot;=&quot;Arial&quot; &quot;Arial CE,238&quot;=&quot;AR PL UMing CN&quot; &quot;Arial CYR,204&quot;=&quot;AR PL UMing CN&quot; &quot;Arial Greek,161&quot;=&quot;AR PL UMing CN&quot; &quot;Arial TUR,162&quot;=&quot;AR PL UMing CN&quot; &quot;Courier New&quot;=&quot;Courier New&quot; &quot;Courier New CE,238&quot;=&quot;AR PL UMing CN&quot; &quot;Courier New CYR,204&quot;=&quot;AR PL UMing CN&quot; &quot;Courier New Greek,161&quot;=&quot;AR PL UMing CN&quot; &quot;Courier New TUR,162&quot;=&quot;AR PL UMing CN&quot; &quot;FixedSys&quot;=&quot;AR PL UMing CN&quot; &quot;Helv&quot;=&quot;AR PL UMing CN&quot; &quot;Helvetica&quot;=&quot;AR PL UMing CN&quot; &quot;MingLiU&quot;=&quot;AR PL UMing CN&quot; &quot;MS Sans Serif&quot;=&quot;AR PL UMing CN&quot; &quot;MS Shell Dlg&quot;=&quot;AR PL UMing CN&quot; &quot;MS Shell Dlg 2&quot;=&quot;AR PL UMing CN&quot; &quot;System&quot;=&quot;AR PL UMing CN&quot; &quot;Tahoma&quot;=&quot;AR PL UMing CN&quot; &quot;Times&quot;=&quot;Times&quot; &quot;Times New Roman&quot;=&quot;Times New Roman&quot; &quot;Times New Roman CE,238&quot;=&quot;AR PL UMing CN&quot; &quot;Times New Roman CYR,204&quot;=&quot;AR PL UMing CN&quot; &quot;Times New Roman Greek,161&quot;=&quot;AR PL UMing CN&quot; &quot;Times New Roman TUR,162&quot;=&quot;AR PL UMing CN&quot; &quot;Tms Rmn&quot;=&quot;AR PL UMing CN&quot; [System\\CurrentControlSet\\Hardware Profiles\\Current\\Software\\Fonts] &quot;LogPixels&quot;=dword:00000060 3. 修改win.ini 這裡修改 dialog window buttom 字體大小 gedit ~/.wine/drive_c/windows/win.ini 在文件最底下加入: [Desktop] menufontsize=12 messagefontsize=12 statusfontsize=12 IconTitleSize=12修改完，重新開啟 Wine 執行的軟體，中文可正常顯示了。Wine 又邁向無敵的一步啦！&quot;&lt;br/&gt;- &lt;a href=&#39;http://odinq.blogspot.com/2008/08/wine.html&#39;&gt;宅男不出門，能知天下事: Wine 字型設定&lt;/a&gt; (&lt;a href=&#39;http://www.google.com/sidewiki/entry/105304501848242870311/id/XLXEVDm7uKuiosKK4jaWXgd5a5U&#39;&gt;在「Google 網頁註解」中檢視&lt;/a&gt;)&lt;/blockquote&gt;&lt;/p&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nio127.blogspot.com/feeds/2222557336956191994/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://nio127.blogspot.com/2009/11/ubuntu-wine.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3289274225887395979/posts/default/2222557336956191994'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3289274225887395979/posts/default/2222557336956191994'/><link rel='alternate' type='text/html' href='http://nio127.blogspot.com/2009/11/ubuntu-wine.html' title='Ubuntu 下的Wine中文字型設定'/><author><name>Neil</name><uri>http://www.blogger.com/profile/15177526021432929682</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1jy4oWOnDeXC-YHTM2iNn4xjadGl43g4JDRITxGXTtTtolXamboQgbhBKc4sEp8RgAqu-nO31MN_qoBYldIHU8va43ZVSsk3aDOCUvALkntZwday41EKcQyVVmchGjg/s1600-r/Wallpaper1+2006.06.13+%5B16.57.02%5D_clip1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3289274225887395979.post-6979939971305010351</id><published>2009-10-31T13:58:00.001+08:00</published><updated>2009-10-31T13:58:31.616+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="software"/><title type='text'>使用FreeRapid Downloader 下載高畫質(HQ)的Youtube影片</title><content type='html'>&lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;FreeRapid Downloader 是一個方便好用的下載工具，使用java開發，內建有很多plugin，可支持非常多的免費空間下載，以及常見的影音網站(如Youtube)。&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;http://wordrider.net/freerapid/&quot; target=&quot;_blank&quot;&gt;FreeRapid Downloader&amp;#160; 首頁&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;程式預設會監視剪貼簿，所以只要把想下載的Youtube影片網址copy起來，程式就會跳出視窗提示你是否要下載。預設的狀態下，是下載普通畫質的flv檔案，如果想要讓FreeRapid幫你下載高畫質(High Quality)影片，需要改一下設定。&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;開啟 選項 &amp;gt; 個人設置 &amp;gt; 插件 ，裡面找到youtube.com的插件，點右下角的選項。      &lt;br /&gt;&lt;a class=&quot;lightbox&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqbboY2Yi55dJ0nJzeGSv6-hv9tFweVFPxyISPSfqrYgtnmYYEv84lL-Ec2thXWbpD_1kL6hi3RnZA6NgBD6BqUxXPyv1GXZ9TSG-L49Uw8Ny0WK1NuKPuyWyMHJ5nQnpMO2XwhnwGrJW2/s1600-h/20091031_1348452.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;2009-10-31_134845&quot; border=&quot;0&quot; alt=&quot;2009-10-31_134845&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiyPbB2gJ5IExVaGQCkg-wsaVv_03rj3aaMPg6ZZsaTYX93CifiXZyzyZHZVNKnp9DepYlwmEOmbo9FLwXmLTqIz1VMAP84Xio70oJwvp3in5BEhz7n2taNIPXCwOf6YHHtyalFo7GEN8tW/?imgmax=800&quot; width=&quot;244&quot; height=&quot;189&quot; /&gt;&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;將quality level改選為 maximum available ，按下確定即可。      &lt;br /&gt;&lt;a class=&quot;lightbox&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMrGfUhSzT4OHxU1ka-oSwdC0Gjji5oj4xANMFkH857NEU446RIoJgG0F5NMT9VMAt_HXldiQeR-_ydRS3IC1r5BZYNQ9nxcIr3xDbpfwxvjjh0kJ61qhaWPnhujaZJ3XOFsgGsV8YDRiv/s1600-h/20091031_1350272.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;2009-10-31_135027&quot; border=&quot;0&quot; alt=&quot;2009-10-31_135027&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZYWpylrTI0YWxC2Q1Gqzp405m5MfbaXqY5a2hrjryONLNJZGMDKm1G1QlF9ElxMrT0dLdE_ew8GlAKDryPp8QCtyH9j98Ms3VLneFVseaoMRFS8WQxDywsojjE_18S6dd_9zcptjNz807/?imgmax=800&quot; width=&quot;244&quot; height=&quot;169&quot; /&gt;&lt;/a&gt; &lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;之後在下載youtube影片時，FreeRapid會自動幫你下載現有最高畫質的影片，這樣就方便多囉。&lt;/p&gt;  &lt;p&gt;&lt;a class=&quot;lightbox&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjiNAVEQGfjrcMpnqaybZukgSTf1ds9wAQgdMBdWZ2VjT_bgmyfkb6bsJNyG7RJbjq4YvTYlpFt8Ig6xkrG3izjJRfh6MMBs2cLGSBGcN8oGavU_sJoqEj-bto3cKa0kOSm3cVJmR_IAIks/s1600-h/20091031_1341472.png&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;2009-10-31_134147&quot; border=&quot;0&quot; alt=&quot;2009-10-31_134147&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2AnqUJf8wmwcoTXKX1rVqUM5KpoVUW3aMXICO6Ny1DsTUAn53HL9dqZeykGdMj5zhNtslDQfu_XFKIY5GiqeQ20u8tbeTcyUKW3C3afaa9HuK9KaW8dzaVEzGN-D-YoncZW6LKhof7JHb/?imgmax=800&quot; width=&quot;244&quot; height=&quot;65&quot; /&gt;&lt;/a&gt;&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://nio127.blogspot.com/feeds/6979939971305010351/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://nio127.blogspot.com/2009/10/freerapid-downloader-hqyoutube.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3289274225887395979/posts/default/6979939971305010351'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3289274225887395979/posts/default/6979939971305010351'/><link rel='alternate' type='text/html' href='http://nio127.blogspot.com/2009/10/freerapid-downloader-hqyoutube.html' title='使用FreeRapid Downloader 下載高畫質(HQ)的Youtube影片'/><author><name>Neil</name><uri>http://www.blogger.com/profile/15177526021432929682</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1jy4oWOnDeXC-YHTM2iNn4xjadGl43g4JDRITxGXTtTtolXamboQgbhBKc4sEp8RgAqu-nO31MN_qoBYldIHU8va43ZVSsk3aDOCUvALkntZwday41EKcQyVVmchGjg/s1600-r/Wallpaper1+2006.06.13+%5B16.57.02%5D_clip1.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiyPbB2gJ5IExVaGQCkg-wsaVv_03rj3aaMPg6ZZsaTYX93CifiXZyzyZHZVNKnp9DepYlwmEOmbo9FLwXmLTqIz1VMAP84Xio70oJwvp3in5BEhz7n2taNIPXCwOf6YHHtyalFo7GEN8tW/s72-c?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3289274225887395979.post-2770852851159517727</id><published>2009-07-23T17:31:00.001+08:00</published><updated>2009-07-23T17:31:18.248+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="firefox"/><title type='text'>[Firefox Extension] Greasefire</title><content type='html'>&lt;p&gt;幫你自動偵測符合目前url的userscripts，如果有相關的script的話，狀態列的猴子會冒火。&lt;/p&gt;  &lt;p&gt;推薦這個Extension。&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://addons.mozilla.org/zh-TW/firefox/addon/8352&quot; target=&quot;_blank&quot;&gt;安裝頁面&lt;/a&gt;&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://nio127.blogspot.com/feeds/2770852851159517727/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://nio127.blogspot.com/2009/07/firefox-extension-greasefire.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3289274225887395979/posts/default/2770852851159517727'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3289274225887395979/posts/default/2770852851159517727'/><link rel='alternate' type='text/html' href='http://nio127.blogspot.com/2009/07/firefox-extension-greasefire.html' title='[Firefox Extension] Greasefire'/><author><name>Neil</name><uri>http://www.blogger.com/profile/15177526021432929682</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1jy4oWOnDeXC-YHTM2iNn4xjadGl43g4JDRITxGXTtTtolXamboQgbhBKc4sEp8RgAqu-nO31MN_qoBYldIHU8va43ZVSsk3aDOCUvALkntZwday41EKcQyVVmchGjg/s1600-r/Wallpaper1+2006.06.13+%5B16.57.02%5D_clip1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3289274225887395979.post-4888651668578027716</id><published>2009-07-23T17:23:00.001+08:00</published><updated>2009-07-23T17:23:22.895+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="microsoft"/><category scheme="http://www.blogger.com/atom/ns#" term="programing"/><title type='text'>Visual Studio C# Winform 多國語言開發</title><content type='html'>&lt;p&gt;這兩天研究這個的結果，整理一下筆記。&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;主要從下面兩篇文章得到的資訊:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;a href=&quot;http://social.msdn.microsoft.com/Forums/zh-TW/232/thread/5815c862-2806-4ae7-92aa-800bffc71b7a&quot; target=&quot;_blank&quot;&gt;已答覆開發多國語言版軟體&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;&lt;a href=&quot;http://social.msdn.microsoft.com/forums/zh-TW/232/thread/065282f3-accf-4693-936b-9ba967119ed1/&quot; target=&quot;_blank&quot;&gt;已答覆VB.Net多國語言介面問題&lt;/a&gt; &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;這裡我參照上面的文章，寫了兩個範例：&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;http://nio127.googlecode.com/files/Localize1.zip&quot; target=&quot;_blank&quot;&gt;範例1&lt;/a&gt; | &lt;a href=&quot;http://nio127.googlecode.com/files/Localize2.zip&quot; target=&quot;_blank&quot;&gt;範例2&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Project使用的環境為 Windows 平台、.NET Framework 2.0，Visual Studio 2008 撰寫&lt;/p&gt;  &lt;h4&gt;範例1&lt;/h4&gt;  &lt;p&gt;這是從資源檔讀取介面文字的範例，我根據 &lt;a href=&quot;http://www.netmag.com.tw/member/netmag_article/n020800701.pdf&quot; target=&quot;_blank&quot;&gt;.NET Magazine的一篇文章&lt;/a&gt; 所撰寫的。     &lt;br /&gt;&lt;/p&gt;  &lt;h4&gt;範例2&lt;/h4&gt;  &lt;p&gt;我整理的步驟摘要:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;將Form的屬性&lt;b&gt;Localizable&lt;/b&gt;設為&lt;b&gt;true&lt;/b&gt; &lt;/li&gt;    &lt;li&gt;設定介面上所有Control的文字(Text) &lt;/li&gt;    &lt;li&gt;此時的介面Form屬性Language為Default時的設定，也就是沒特別指定對應的語言 &lt;/li&gt;    &lt;li&gt;現在把Form屬性Language設為Chinese (Taiwan)，然後去修改所有Control的Text，或是重新Layout &lt;/li&gt;    &lt;li&gt;如果&lt;b&gt;有修改&lt;/b&gt;的話(&lt;b&gt;沒修改不會產生，會用default&lt;/b&gt;)，會產生對應的resource檔(如 Form1.zh-TW.resx) &lt;/li&gt;    &lt;li&gt;也可以同上建立Language為English (United States) 的文字及排版 &lt;/li&gt;    &lt;li&gt;在 InitializeComponent 之前，就先決定要使用的語系 (沒決定的話，系統會幫你偵測，沒對應到的話就用Default，因為我有建立zh-TW，所以有對應到就會用這個) &lt;/li&gt; &lt;/ul&gt; 用這個方法的優點是，直接在元件的Text屬性修改要顯示的文字，Visual Studio就會自動幫你產生對應的資源檔，不需要自己加，自己手寫一個一個讀進來。但是首先，還是得一個一個從IDE去改 :P   &lt;br /&gt;還有Layout的部份，不同語系的也可以不同排版(有動過排版才會儲存)，但這點可是有好有壞 :P   &lt;br /&gt;其他可以看一下原始碼，基本上想要動態改變CultureInfo 來改變介面的話，還是要自己寫code去重讀介面。   &lt;br /&gt;&lt;a href=&quot;http://www.codeproject.com/KB/cs/CultureManager.aspx&quot;&gt;CodeProject 有人寫好元件來做這件事&lt;/a&gt;，可以參考看看。     </content><link rel='replies' type='application/atom+xml' href='http://nio127.blogspot.com/feeds/4888651668578027716/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://nio127.blogspot.com/2009/07/visual-studio-c-winform.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3289274225887395979/posts/default/4888651668578027716'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3289274225887395979/posts/default/4888651668578027716'/><link rel='alternate' type='text/html' href='http://nio127.blogspot.com/2009/07/visual-studio-c-winform.html' title='Visual Studio C# Winform 多國語言開發'/><author><name>Neil</name><uri>http://www.blogger.com/profile/15177526021432929682</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1jy4oWOnDeXC-YHTM2iNn4xjadGl43g4JDRITxGXTtTtolXamboQgbhBKc4sEp8RgAqu-nO31MN_qoBYldIHU8va43ZVSsk3aDOCUvALkntZwday41EKcQyVVmchGjg/s1600-r/Wallpaper1+2006.06.13+%5B16.57.02%5D_clip1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3289274225887395979.post-1156035613026092278</id><published>2009-07-14T11:30:00.001+08:00</published><updated>2009-07-14T11:30:23.934+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="firefox"/><category scheme="http://www.blogger.com/atom/ns#" term="javascript"/><title type='text'>[Greasemonkey Script] 自動載入Google圖片搜尋原始圖片</title><content type='html'>&lt;p&gt;升上了Firefox 3.5後，發現原本用的 &lt;a href=&quot;http://userscripts.org/scripts/show/36918&quot;&gt;Google Image Ripper&lt;/a&gt; 失效了，後來找到了這一個 &lt;a href=&quot;http://userscripts.org/scripts/show/49794&quot;&gt;Google Image search Direct results &lt;/a&gt;也有同樣效果的script，而且還多了Checkbox可以切換原始圖，更加方便。&lt;/p&gt;  &lt;p&gt;另外，在搭配AutoPager使用下，也可以運作的很正常。 :) &lt;/p&gt;  &lt;p&gt;&lt;a class=&quot;lightbox&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-unkk2J9bFSFd4MF20qAg-cgW9epPfeHEoMcLXfMq_5x4cPDJfdwzkxcmla526pJ8yGXZUufCx1q5MjhT938d94H1P68m6-vPMniSzuL7oIrqZedtkMBn1L7V-Ll-GArFT3ryYJT_HiUD/s1600-h/2009-07-14_112521%5B2%5D.png&quot; target=&quot;_blank&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;2009-07-14_112521&quot; border=&quot;0&quot; alt=&quot;2009-07-14_112521&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOHLFEwqL-cd6ha798sd4vWkUrr6knOWoiR74u8l5wQqPrzlKYYZyGgIyjMlT2tjtegVXrEB1iCUGPI2gP_sy5c3_NCkK6jxRxbP2qeYcEZLfuMAAQ9lWqbUbK2g_lEXwXOW-v-YmXa23q/?imgmax=800&quot; width=&quot;244&quot; height=&quot;141&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;a class=&quot;lightbox&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjoQT_dmDhDk0NcNGL3xZIudMgf1u80oOczARrUpWymXDbipEuUMd5lAOV4n5yWKRPxanr9qArc5SG9cj9DRkxEam_XyIUQcyIiYAYaQVoc1HjKEPqfhohw3EnB3eTrgnmLA3LmcFaKPkqk/s1600-h/2009-07-14_112430%5B2%5D.png&quot; target=&quot;_blank&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;2009-07-14_112430&quot; border=&quot;0&quot; alt=&quot;2009-07-14_112430&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyixhXXCz6h4m5jnMRA4TQfDSw8gNmxgsIfivdOXHpWaYHemGsKmhbX0JSOJGy-AsL4Wry5xBzhTUpAV5f29Hsy0mI9ybljml693wFVAqDLfak6ByvoBfeI6wkHdb33vN4Ez-jtE0uUFBP/?imgmax=800&quot; width=&quot;244&quot; height=&quot;172&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;連結: &lt;a href=&quot;http://userscripts.org/scripts/show/49794&quot;&gt;Google Image search Direct results - by Futuros&lt;/a&gt;&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://nio127.blogspot.com/feeds/1156035613026092278/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://nio127.blogspot.com/2009/07/greasemonkey-script-google.html#comment-form' title='1 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3289274225887395979/posts/default/1156035613026092278'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3289274225887395979/posts/default/1156035613026092278'/><link rel='alternate' type='text/html' href='http://nio127.blogspot.com/2009/07/greasemonkey-script-google.html' title='[Greasemonkey Script] 自動載入Google圖片搜尋原始圖片'/><author><name>Neil</name><uri>http://www.blogger.com/profile/15177526021432929682</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1jy4oWOnDeXC-YHTM2iNn4xjadGl43g4JDRITxGXTtTtolXamboQgbhBKc4sEp8RgAqu-nO31MN_qoBYldIHU8va43ZVSsk3aDOCUvALkntZwday41EKcQyVVmchGjg/s1600-r/Wallpaper1+2006.06.13+%5B16.57.02%5D_clip1.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOHLFEwqL-cd6ha798sd4vWkUrr6knOWoiR74u8l5wQqPrzlKYYZyGgIyjMlT2tjtegVXrEB1iCUGPI2gP_sy5c3_NCkK6jxRxbP2qeYcEZLfuMAAQ9lWqbUbK2g_lEXwXOW-v-YmXa23q/s72-c?imgmax=800" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3289274225887395979.post-253739287404535556</id><published>2009-07-14T10:46:00.001+08:00</published><updated>2009-07-14T10:59:59.503+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="apple"/><title type='text'>iPhone / iPod Touch / iPod Firmware 韌體下載</title><content type='html'>&lt;p&gt;包括iPod Touch 2G的Firmware，也可以直接更新到OSX 3.0~&lt;/p&gt;  &lt;p&gt;   &lt;br /&gt;&lt;a href=&quot;http://www.felixbruns.de/iPod/firmware/&quot;&gt;http://www.felixbruns.de/iPod/firmware/&lt;/a&gt;     &lt;br /&gt;&lt;/p&gt;  &lt;p&gt;&lt;a class=&quot;lightbox&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQovbhFWQk5kbw-iz0YFA3uACZ4xy2hMlhQT4htsDCHMPvAmMJUmCfoiI9SvnPaTlHMKUqA6hyphenhyphenPllmOh7F79ZvYl3Cw_zywbEauic31QmUzxFsEUEdfr3a8t2tfKbhtWCo_NSACo2NAImY/s1600-h/2009-07-14_104209%5B5%5D.png&quot; target=&quot;_blank&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;2009-07-14_104209&quot; border=&quot;0&quot; alt=&quot;2009-07-14_104209&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoC273PiBpQYRAXo71xUBhmU16oQOKoe9BqokxdRj5IkK4PaLW2pxhlxWTTSWoUJzQVs7KCH0SNayvkrr2cee3brc_euRy4kwupL6uPs0PHhaiE0l5VPbGhcej0-ljeOc1BwYHgqdSH811/?imgmax=800&quot; width=&quot;384&quot; height=&quot;484&quot; /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;另外，手動選擇韌體檔案安裝的方法，是按住Shift再點&amp;quot;更新鈕&amp;quot;，就會跳出選擇檔案的視窗。&lt;/p&gt;  &lt;p&gt;&lt;a class=&quot;lightbox&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg348O4G9Ee5JUB__xTM3R4_LPWhwpaDgX6A2EMQcp19Gehvyz6qDhkZPtiI0yV5rM-kCEZt1QO-qOz5DbRXA9zZHMeAK5MpqO7lY8cXlyiCU_o8dgsZ48I55XaaHegauyJJJp_RfsNrqZN/s1600-h/2009-07-14_114209%5B2%5D.png&quot; target=&quot;_blank&quot;&gt;&lt;img style=&quot;border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px&quot; title=&quot;2009-07-14_114209&quot; border=&quot;0&quot; alt=&quot;2009-07-14_114209&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYJjkquUhA0mzWPqIGbaES_V4fhgEfdXhjmUEKLMHKUpR2HjYgXhKWqRDC-oLglPX-n7BcNmas6N9SaRN7RyTQ2f30M0wcDmoMoQddR6ZYXrb-pXBLgyk2_NCAnMlK_P40g0ymYSpVRXxa/?imgmax=800&quot; width=&quot;244&quot; height=&quot;113&quot; /&gt;&lt;/a&gt;&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://nio127.blogspot.com/feeds/253739287404535556/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://nio127.blogspot.com/2009/07/iphone-ipod-touch-ipod-firmware.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3289274225887395979/posts/default/253739287404535556'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3289274225887395979/posts/default/253739287404535556'/><link rel='alternate' type='text/html' href='http://nio127.blogspot.com/2009/07/iphone-ipod-touch-ipod-firmware.html' title='iPhone / iPod Touch / iPod Firmware 韌體下載'/><author><name>Neil</name><uri>http://www.blogger.com/profile/15177526021432929682</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1jy4oWOnDeXC-YHTM2iNn4xjadGl43g4JDRITxGXTtTtolXamboQgbhBKc4sEp8RgAqu-nO31MN_qoBYldIHU8va43ZVSsk3aDOCUvALkntZwday41EKcQyVVmchGjg/s1600-r/Wallpaper1+2006.06.13+%5B16.57.02%5D_clip1.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoC273PiBpQYRAXo71xUBhmU16oQOKoe9BqokxdRj5IkK4PaLW2pxhlxWTTSWoUJzQVs7KCH0SNayvkrr2cee3brc_euRy4kwupL6uPs0PHhaiE0l5VPbGhcej0-ljeOc1BwYHgqdSH811/s72-c?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></entry></feed>