<?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-7829652393437835441</id><updated>2024-12-09T07:05:53.128+08:00</updated><category term="YUI"/><category term="Joomla"/><category term="Joomla開發"/><category term="DataTable"/><category term="Japan"/><category term="apache"/><category term="Android"/><category term="GIW2012"/><category term="Prepaid phone"/><category term="log"/><category term="資訊安全"/><title type='text'>CJOE&#39;S PROGRAM NOTE - Do Something Cool</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://cjoeprognote.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7829652393437835441/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://cjoeprognote.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/7829652393437835441/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>cjoe</name><uri>http://www.blogger.com/profile/05707055796670763979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtzhMqKZZYOsOrztUF4sTyBSls8qIsJjOMaLFuozcdGfJA6zWy-vQbUJTsDp_JtHRomMa_xtIA8NfnWtGY9SBBz49QdUx-dVF6wJbPAkJr9-4RKIbIcIfrPklHArVL2kg/s220/P1020465.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>26</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7829652393437835441.post-6411538063188199681</id><published>2024-04-12T22:23:00.005+08:00</published><updated>2024-04-12T22:31:42.619+08:00</updated><title type='text'>[Solved] PM2: Current process list is not synchronized with saved list</title><content type='html'>&lt;p&gt;I am using AWS EC2 and runing ubuntu.&lt;/p&gt;&lt;p&gt;I encountered a problem where pm2 showed: &#39;Current process list is not synchronized with the saved list. App XXX differs. Type &#39;pm2 save&#39; to synchronize.&lt;/p&gt;&lt;p&gt;*the XXX is my app name.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;In cmd, I inputted:&lt;/p&gt;&quot;&lt;span style=&quot;color: #ffa400;&quot;&gt;sudo env PATH=$PATH:/usr/bin pm2 startup systemd -u ubuntu --hp /home/ubuntu&lt;/span&gt;&quot;&lt;br /&gt;&lt;br /&gt;then, &quot;&lt;span style=&quot;color: #ffa400;&quot;&gt;pm2 save&lt;/span&gt;&quot; again.&lt;br /&gt;&lt;br /&gt;&quot;&lt;span style=&quot;color: #ffa400;&quot;&gt;sudo reboot&lt;/span&gt;&quot;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;All apps in pm2 startup automatically.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Maybe &quot;&lt;span style=&quot;color: #ffa400;&quot;&gt;pm2 startup -u ubuntu&lt;/span&gt;&quot; also works too.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://cjoeprognote.blogspot.com/feeds/6411538063188199681/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://cjoeprognote.blogspot.com/2024/04/solved-pm2-current-process-list-is-not.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7829652393437835441/posts/default/6411538063188199681'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7829652393437835441/posts/default/6411538063188199681'/><link rel='alternate' type='text/html' href='http://cjoeprognote.blogspot.com/2024/04/solved-pm2-current-process-list-is-not.html' title='[Solved] PM2: Current process list is not synchronized with saved list'/><author><name>cjoe</name><uri>http://www.blogger.com/profile/05707055796670763979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtzhMqKZZYOsOrztUF4sTyBSls8qIsJjOMaLFuozcdGfJA6zWy-vQbUJTsDp_JtHRomMa_xtIA8NfnWtGY9SBBz49QdUx-dVF6wJbPAkJr9-4RKIbIcIfrPklHArVL2kg/s220/P1020465.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7829652393437835441.post-7302656486527518926</id><published>2020-06-28T16:04:00.002+08:00</published><updated>2020-06-28T16:06:15.620+08:00</updated><title type='text'>could not create cudnn handle: CUDNN_STATUS_NOT_INITIALIZED</title><content type='html'>&lt;a href=&quot;https://blog.csdn.net/ghy_111/article/details/86672450&quot;&gt;https://blog.csdn.net/ghy_111/article/details/86672450&lt;/a&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;依照上面這一篇文章終於解決了&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;OS: Ubuntu 18.04&lt;/div&gt;&lt;div&gt;Keras: 2.2.5&lt;/div&gt;&lt;div&gt;tensorflow-gpu: 1.14.0&lt;/div&gt;&lt;div&gt;Graphic card: RTX 2070 SUPER and GP710 (for display out)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;font size=&quot;5&quot;&gt;&lt;b&gt;我的狀況:&lt;/b&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font color=&quot;#d52c1f&quot; size=&quot;5&quot;&gt;我可以通過cudnn_samples_v7的mnistCUDNN測試，但是在python運行keras就會出現問題&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;想不到在Windows幾乎無痛安裝..在linux下我搞了好久，要不是Windows 10有WDDM 2.0的問題(VRAM被保留20%)，我應該不會把環境換到Linux...對我而言安裝好之後Linux很穩定，但是在安裝過程中鬼問題很多，鬼問題並不是指不熟悉指令所產生的問題，而是產生很多例外的特殊狀況，導致我必須一直上網看人家的討論，而且似乎沒有完美解，必須要一個一個試到可以 :(&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;我只想把精力放在Deep Learning研究上阿...&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;keras框架（Tensorflow backend） 設置GPU按需分配：&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;blockquote&gt;import tensorflow as tf&lt;br /&gt;from keras import backend as K&lt;br /&gt;config = tf.ConfigProto()&lt;br /&gt;config.gpu_options.allow_growth=True&lt;br /&gt;sess = tf.Session(config=config)&lt;br /&gt;K.set_session(sess)&lt;/blockquote&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;不曉得這個問題是否是TF專有，說不定換到pytorch就沒問題了?&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cjoeprognote.blogspot.com/feeds/7302656486527518926/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://cjoeprognote.blogspot.com/2020/06/could-not-create-cudnn-handle.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7829652393437835441/posts/default/7302656486527518926'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7829652393437835441/posts/default/7302656486527518926'/><link rel='alternate' type='text/html' href='http://cjoeprognote.blogspot.com/2020/06/could-not-create-cudnn-handle.html' title='could not create cudnn handle: CUDNN_STATUS_NOT_INITIALIZED'/><author><name>cjoe</name><uri>http://www.blogger.com/profile/05707055796670763979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtzhMqKZZYOsOrztUF4sTyBSls8qIsJjOMaLFuozcdGfJA6zWy-vQbUJTsDp_JtHRomMa_xtIA8NfnWtGY9SBBz49QdUx-dVF6wJbPAkJr9-4RKIbIcIfrPklHArVL2kg/s220/P1020465.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7829652393437835441.post-215781388098400993</id><published>2019-11-05T01:05:00.001+08:00</published><updated>2019-11-05T01:05:08.033+08:00</updated><title type='text'>舌套: 近一個月心得</title><content type='html'>話說在購買舌套之前我真的蠻猶豫的&lt;br /&gt;
&lt;br /&gt;
一，價差很大&lt;br /&gt;
二，網路上心得很少(中文部分，後來我才發現去英文去找相較之下比較多資訊)&lt;br /&gt;
三，完全不知道會不會又是一個垃圾&lt;br /&gt;
&lt;br /&gt;
我個人很在意睡眠問題，從環境、溫度、睡眠床墊材質、睡姿巴拉巴拉都有在自我實驗看看是否能改進睡眠品質。&lt;br /&gt;
&lt;br /&gt;
我側睡習慣已經好幾年了，因為躺著睡會打呼很大聲，自己也容易睡不好..半夜常常醒來換邊睡，對我而言，一個晚上醒來四、五次翻身後馬上睡著是正常現象。&lt;br /&gt;
&lt;br /&gt;
最近發現晚上回到家都蠻累的，心想這樣下去不是辦法，我的睡眠品質大有問題，後來狠下心買舌套來試試看(我買一千多...我也不知道三百的是不是跟一千多的用起來一樣)。&lt;br /&gt;
&lt;br /&gt;
我決定買舌套的原因是因為，我坐姿，將自己身體、脖子、舌頭放鬆的狀況下，用胸部呼吸就可以發出很大聲的打呼聲(用腹式呼吸就不會，不曉得是不是壓力的關係???)，通常睡著之後，我呼吸會自己變成胸部呼吸。我自己認為這樣可能跟舌根往後掉或是舌根肥大壓迫到呼吸道有關係，所以我才購買舌套試試看。&lt;br /&gt;
&lt;br /&gt;
以下進入心得:&lt;br /&gt;
&lt;br /&gt;
開始用舌套的第一天晚上，我側睡發現口水會流出來，後來改躺著睡，睡到半夜，舌頭痛到不行，後來把舌套拔掉。&lt;br /&gt;
&lt;br /&gt;
第二天早上，醒來覺得舌頭麻麻痛痛(輕微)&lt;br /&gt;
第二天晚上，我繼續使用舌套，我記憶中我好像一覺到天亮，早上醒來舌頭前段部分沒有知覺，舌套拔下來後過一下子開始恢復知覺，接下來整天麻麻痛痛的。&lt;br /&gt;
&lt;br /&gt;
第三天晚上，也是戴到早上，但是早上醒來舌頭麻掉恢復知覺之後，覺得比昨天更麻更痛了。&lt;br /&gt;
&lt;br /&gt;
第四天放棄使用，因為太痛了，且我自己覺得好像沒改善太多。&lt;br /&gt;
&lt;br /&gt;
第五天應該也是放棄。&lt;br /&gt;
&lt;br /&gt;
舌頭恢復之後，過幾天之後又開始嘗試使用，太太說我晚上睡覺都沒打呼的聲音。&lt;br /&gt;
&lt;br /&gt;
但是因為舌頭早上醒來都有痛，所以這幾天來我都是使用斷斷續續的，等舌頭比較不痛才會戴。&lt;br /&gt;
&lt;br /&gt;
大概兩、三周後，我發現好像早上起來比較舌頭麻痺的感覺比較沒那麼嚴重了，比較快恢復知覺，恢復之後，也比較不會麻跟痛整天。&lt;br /&gt;
&lt;br /&gt;
到了最近幾天，我把睡覺習慣改回躺姿睡眠，先前我已經習慣側睡入睡了，突然改回來其實有點難睡，可能側睡睡姿對我而言是進入睡眠的一種儀式。後來我發現，用舌套+躺睡睡眠品質大大提升，我想主要是因為半夜沒醒來換睡姿的問題，以及口水不會因為使用舌套的關係流出來，導致我醒來。&lt;br /&gt;
&lt;br /&gt;
使用舌套習慣之後，有幾個優點，&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;我睡面不會打呼&lt;/li&gt;
&lt;li&gt;躺著睡不會呼吸困難醒來 (就是一種被堵住一下下，在淺眠的時候醒來)&lt;/li&gt;
&lt;li&gt;因為改用躺睡，半夜不會有側睡的手麻、翻身問題&lt;/li&gt;
&lt;li&gt;大概睡七個小時，精神飽滿 (我之前睡八個多小時，還是累累，不過這部分有點複雜，打呼跟我睡眠的環境都有問題，之前用天然乳膠墊對我而言會太熱)。&lt;/li&gt;
&lt;li&gt;可以玩的時間變多了(?&lt;/li&gt;
&lt;li&gt;精神便比較好，比較有活力去做事情&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
使用舌套的要點:&lt;/div&gt;
&lt;div&gt;
&lt;ol&gt;
&lt;li&gt;千萬不要拼命把舌套用真空，這樣吸力過大會很不舒服，舌頭會很痛&lt;/li&gt;
&lt;li&gt;舌頭放進去，有吸住就好了 (我後來在amazon看到人家留言講到我才知道之前吸太緊)&lt;/li&gt;
&lt;li&gt;盡量用躺睡，不然口水會流出來&lt;/li&gt;
&lt;li&gt;早上醒來要拔下來的時候，不要直接硬拔，這樣舌頭會很痛&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
另外，我覺得...搭配鼻腔擴張器好像不錯，我自己是用Mack&#39;s Airmax，個人覺得，我幾天比較下來，有使用的話，睡眠品質【似乎】會再好一點點點點。&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://cjoeprognote.blogspot.com/feeds/215781388098400993/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://cjoeprognote.blogspot.com/2019/11/blog-post.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7829652393437835441/posts/default/215781388098400993'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7829652393437835441/posts/default/215781388098400993'/><link rel='alternate' type='text/html' href='http://cjoeprognote.blogspot.com/2019/11/blog-post.html' title='舌套: 近一個月心得'/><author><name>cjoe</name><uri>http://www.blogger.com/profile/05707055796670763979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtzhMqKZZYOsOrztUF4sTyBSls8qIsJjOMaLFuozcdGfJA6zWy-vQbUJTsDp_JtHRomMa_xtIA8NfnWtGY9SBBz49QdUx-dVF6wJbPAkJr9-4RKIbIcIfrPklHArVL2kg/s220/P1020465.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7829652393437835441.post-4653405371196476549</id><published>2018-02-02T15:49:00.000+08:00</published><updated>2018-02-10T12:37:11.037+08:00</updated><title type='text'>[QNAP] Let’s Encrypt 使用Certbot手動申請SSL Certificate</title><content type='html'>&lt;div class=&quot;tr_bq&quot;&gt;
Let’s Encrypt 最近又改版了，之前的教學文章似乎已經不能使用，昨天自己摸了一下新版的Certbot認證方式，因此把方式貼上來，免得之後自己忘記，結果又要重新探索一次。&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: yellow;&quot;&gt;我這邊採用的是手動認證，並且在A主機上幫目標B進行認證。&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
我的環境是QNAP NAS上的Apache要使用HTTPS，我簡單測試一下，似乎無法直接跑Certbot，後來想想，怕NAS版本異動以後Certbot的設定就被洗掉，&lt;b&gt;&lt;span style=&quot;color: yellow; font-size: large;&quot;&gt;因此決定改採用手動認證&lt;/span&gt;&lt;/b&gt;，這樣比較麻煩，但是我確定可以解決我的問題。&lt;br /&gt;
*這邊還是建議如果你的環境可以auto renew的話，就不要採用我這篇的教學。&lt;br /&gt;
&lt;br /&gt;
首先我先安裝一台Ubuntu在VirtualBOX上。接著在裡面安裝Certbox，步驟如下:&lt;br /&gt;
&lt;blockquote&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install software-properties-common&lt;br /&gt;
sudo add-apt-repository ppa:certbot/certbot&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install certbot&amp;nbsp;&lt;/blockquote&gt;
&lt;br /&gt;
接著準備開始&lt;b&gt;手動認證:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
sudo certbot certonly --manual --preferred-challenges http&lt;/blockquote&gt;
記憶中第一次會請你輸入Email ，請依照指示填寫即可，接著會輸入domain name，我這邊是連host都輸入，Certbot的範例似乎可以使用整個Domain認證(?)：&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRJpCU4X2CoWLkcftZ4LORlXh_YHw3ke-pj9KDsQeljj3P6jF0RVc9uAvfpSLMhcftN64SXHlBFFufAIgrrdHGTfISwycjNt1wJde197qc5wgatsAiw4N-oZCJS7ZlzbQSqJItMhReMWzL/s1600/%25E8%25AA%258D%25E8%25AD%2589%25E6%25B5%2581%25E7%25A8%258B_domain.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;124&quot; data-original-width=&quot;715&quot; height=&quot;110&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRJpCU4X2CoWLkcftZ4LORlXh_YHw3ke-pj9KDsQeljj3P6jF0RVc9uAvfpSLMhcftN64SXHlBFFufAIgrrdHGTfISwycjNt1wJde197qc5wgatsAiw4N-oZCJS7ZlzbQSqJItMhReMWzL/s640/%25E8%25AA%258D%25E8%25AD%2589%25E6%25B5%2581%25E7%25A8%258B_domain.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
接著會問你，你的IP會被拿來申請Certificate，如果你執行在手動模式(這個電腦不是你的目標伺服器)，請確定這樣你OK，這邊請輸入Y(其實我不知道輸入N會怎麼樣)&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgafN-lZEebEkkUCULtlnnJ86eLHyu3AEb18Q-PitNOUdSqX-t82z_P5P6kvu4RBJajAy7PUj8ukDzDsIdT40qeyMZXTgJ9QLsyd1TwXC98fa76-8SxuARBQ45X0p_eWa4q3J1JtxzHrKub/s1600/%25E8%25AA%258D%25E8%25AD%2589%25E6%25B5%2581%25E7%25A8%258B_ip.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;146&quot; data-original-width=&quot;729&quot; height=&quot;128&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgafN-lZEebEkkUCULtlnnJ86eLHyu3AEb18Q-PitNOUdSqX-t82z_P5P6kvu4RBJajAy7PUj8ukDzDsIdT40qeyMZXTgJ9QLsyd1TwXC98fa76-8SxuARBQ45X0p_eWa4q3J1JtxzHrKub/s640/%25E8%25AA%258D%25E8%25AD%2589%25E6%25B5%2581%25E7%25A8%258B_ip.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
接下來系統會產生認證序號，如下方圖片，請手動建立一個檔案，檔名為「p-LksOHJyo1P4dTOMmC5MkrkuNfr5UEYq9gODfKmL6s」，內容為「p-LksOHJyo1P4dTOMmC5MkrkuNfr5UEYq9gODfKmL6s.ljQb7kSPkdlQe2kscmVJXcCj7aL2CV27Y6oLTRGrlak」，&lt;span style=&quot;color: yellow;&quot;&gt;這邊你必須依照實際狀況去產生&lt;/span&gt;。&lt;br /&gt;
接著把檔案上傳到你的網頁伺服器，放到以網頁伺服器根目錄出發「.well-known/acme-challenge/」裡面，一定要確保底下網址點下去是有東西的。完成後按ENTER。&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgwXRM4SxQ20RyJQZ1ACXudtB9g8i9HX5duQN3vV3_Y1aoOJ5_oie8f5Ck90U6k7Cs4UOHL9W4rOj3kgJNMkXv7bsX2zELIqBchV-ic__fg1M0Rmu6Y5f3IPXXYZsu3iAqGFB4wbvhv1L_-/s1600/%25E8%25AA%258D%25E8%25AD%2589%25E6%25B5%2581%25E7%25A8%258B_file.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;191&quot; data-original-width=&quot;871&quot; height=&quot;140&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgwXRM4SxQ20RyJQZ1ACXudtB9g8i9HX5duQN3vV3_Y1aoOJ5_oie8f5Ck90U6k7Cs4UOHL9W4rOj3kgJNMkXv7bsX2zELIqBchV-ic__fg1M0Rmu6Y5f3IPXXYZsu3iAqGFB4wbvhv1L_-/s640/%25E8%25AA%258D%25E8%25AD%2589%25E6%25B5%2581%25E7%25A8%258B_file.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
完成後結果如下&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinNfx5ZaIONa5ELgJb2KhRz1ceXm8JUgpX2df__CYOXbVC0R-xC1aNCsUcOniAPBWpS4pLCZ6MIafnG3vGoJSxpYliETXhLS_L5xjwk8rhbYpZCiV0-rZU5HL7k3fQnYzo7wRcbHYUpFdJ/s1600/%25E8%25AA%258D%25E8%25AD%2589%25E6%25B5%2581%25E7%25A8%258B_success.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;471&quot; data-original-width=&quot;883&quot; height=&quot;340&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinNfx5ZaIONa5ELgJb2KhRz1ceXm8JUgpX2df__CYOXbVC0R-xC1aNCsUcOniAPBWpS4pLCZ6MIafnG3vGoJSxpYliETXhLS_L5xjwk8rhbYpZCiV0-rZU5HL7k3fQnYzo7wRcbHYUpFdJ/s640/%25E8%25AA%258D%25E8%25AD%2589%25E6%25B5%2581%25E7%25A8%258B_success.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
接著進入/etc/letsencrypt/live/裡面就可以看到認證的網域資料夾，再進去就會看到認證檔案，&lt;br /&gt;
如果你跟我一樣是QNAP主機的話，進入「控制台-&amp;gt;安全設定-&amp;gt;安全憑證&amp;amp;私人金鑰」，&lt;b&gt;憑證&lt;/b&gt;欄位貼入cert.pem檔案的內容，&lt;b&gt;私人金鑰&lt;/b&gt;欄位貼入privkey.pem檔案內容既可。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
這邊要注意一下，我有發生更新憑證之後，WEB的HTTPS PORT被改掉，並且虛擬伺服器也被停止啟用的狀況，建議大家要多檢查一下。</content><link rel='replies' type='application/atom+xml' href='http://cjoeprognote.blogspot.com/feeds/4653405371196476549/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://cjoeprognote.blogspot.com/2018/02/qnap-lets-encrypt-certbotssl-certificate.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7829652393437835441/posts/default/4653405371196476549'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7829652393437835441/posts/default/4653405371196476549'/><link rel='alternate' type='text/html' href='http://cjoeprognote.blogspot.com/2018/02/qnap-lets-encrypt-certbotssl-certificate.html' title='[QNAP] Let’s Encrypt 使用Certbot手動申請SSL Certificate'/><author><name>cjoe</name><uri>http://www.blogger.com/profile/05707055796670763979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtzhMqKZZYOsOrztUF4sTyBSls8qIsJjOMaLFuozcdGfJA6zWy-vQbUJTsDp_JtHRomMa_xtIA8NfnWtGY9SBBz49QdUx-dVF6wJbPAkJr9-4RKIbIcIfrPklHArVL2kg/s220/P1020465.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRJpCU4X2CoWLkcftZ4LORlXh_YHw3ke-pj9KDsQeljj3P6jF0RVc9uAvfpSLMhcftN64SXHlBFFufAIgrrdHGTfISwycjNt1wJde197qc5wgatsAiw4N-oZCJS7ZlzbQSqJItMhReMWzL/s72-c/%25E8%25AA%258D%25E8%25AD%2589%25E6%25B5%2581%25E7%25A8%258B_domain.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7829652393437835441.post-4435570244884148613</id><published>2018-01-30T14:15:00.000+08:00</published><updated>2018-01-31T08:27:40.207+08:00</updated><title type='text'>Windows Server 2016 &amp; SQL Server 2017 使用IIS架網站授權費用(牌價)</title><content type='html'>今天親自打電話給微軟客服詢問授權&lt;br /&gt;
&lt;br /&gt;
我們的CASE是要在Windows Server上執行IIS服務，無限制瀏覽使用者，公司內部、一般使用者皆可瀏覽；有會員系統，會員系統的認證是在網頁內進行，無須透過外部系統認證。&lt;br /&gt;
&lt;br /&gt;
經詢問之後，客服表示我們必須買足CAL (Client Access License) 數量(公司人數)以及External Connector (EC)授權&lt;br /&gt;
&lt;br /&gt;
與底下連結文章的說法不同，目前客服是說微軟2015有新規定，而底下文章發表日期是2014。&lt;br /&gt;
&lt;a href=&quot;https://blogs.technet.microsoft.com/volume-licensing/2014/03/10/licensing-how-to-when-do-i-need-a-client-access-license-cal/&quot;&gt;https://blogs.technet.microsoft.com/volume-licensing/2014/03/10/licensing-how-to-when-do-i-need-a-client-access-license-cal/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
公司若有兩套Windows Server，不需要重複購買CAL，以及，SQL Server的CAL與Windows Server的CAL不同，SQL Server的貴多了。&lt;br /&gt;
&lt;br /&gt;
如果網站後台是使用SQL Server，則SQL Server也須購買同等人數CAL，或者改採用CPU授權模式。&lt;br /&gt;
&lt;br /&gt;
如果公司人數50人，Windows Server 2016盒裝近5萬塊，&lt;br /&gt;
Windows Server CAL牌價1380，1380*50 = 69,000&lt;br /&gt;
EC牌價約70,000&lt;br /&gt;
&lt;br /&gt;
則Windows Server 2016架網站需要&amp;nbsp; 50000+69000+70000 = 189,000&lt;br /&gt;
如果後端要用SQL Server 2017，採用&lt;a href=&quot;https://www.microsoft.com/zh-tw/sql-server/sql-server-2017-pricing&quot; target=&quot;_blank&quot;&gt;CPU計價&lt;/a&gt;(CAL不划算)，牌價約217,240 (至少要購買2 Cores)&lt;br /&gt;
&lt;br /&gt;
因此總價約&lt;span style=&quot;color: red;&quot;&gt;406,240元&lt;/span&gt;(這是牌價)&lt;br /&gt;
&lt;br /&gt;
真不是小公司能玩的....&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://cjoeprognote.blogspot.com/feeds/4435570244884148613/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://cjoeprognote.blogspot.com/2018/01/windows-server-2016-sql-server-2017-iis.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7829652393437835441/posts/default/4435570244884148613'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7829652393437835441/posts/default/4435570244884148613'/><link rel='alternate' type='text/html' href='http://cjoeprognote.blogspot.com/2018/01/windows-server-2016-sql-server-2017-iis.html' title='Windows Server 2016 &amp; SQL Server 2017 使用IIS架網站授權費用(牌價)'/><author><name>cjoe</name><uri>http://www.blogger.com/profile/05707055796670763979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtzhMqKZZYOsOrztUF4sTyBSls8qIsJjOMaLFuozcdGfJA6zWy-vQbUJTsDp_JtHRomMa_xtIA8NfnWtGY9SBBz49QdUx-dVF6wJbPAkJr9-4RKIbIcIfrPklHArVL2kg/s220/P1020465.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7829652393437835441.post-2577316454274332165</id><published>2017-09-28T18:52:00.003+08:00</published><updated>2017-10-29T18:32:04.715+08:00</updated><title type='text'>為文字上Highlight，但是排除HTML Tag內容，並且保持文字大小寫</title><content type='html'>&lt;style type=&quot;text/css&quot;&gt;
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px &#39;.SF NS Text&#39;; color: #3933ff}
span.s1 {color: #000000}
span.s2 {color: #7e504f}
&lt;/style&gt;


&lt;br /&gt;
&lt;div class=&quot;p1&quot;&gt;
(?!&amp;lt;[^&amp;gt;]*?)&quot;&lt;span class=&quot;s1&quot;&gt;+Pattern.&lt;i&gt;quote&lt;/i&gt;(&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;search&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;)+&lt;/span&gt;&quot;(?![^&amp;lt;]*?&amp;gt;)&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;style type=&quot;text/css&quot;&gt;
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px &#39;.SF NS Text&#39;; color: #3933ff}
span.s1 {color: #7e504f}
span.s2 {color: #000000}
&lt;/style&gt;


&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;text&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt; = &lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;text&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;.replaceAll(&lt;/span&gt;&quot;(?!&amp;lt;[^&amp;gt;]*?)(&quot;&lt;span class=&quot;s2&quot;&gt;+Pattern.&lt;i&gt;quote&lt;/i&gt;(&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;search&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;)+&lt;/span&gt;&quot;)(?![^&amp;lt;]*?&amp;gt;)&quot;&lt;span class=&quot;s2&quot;&gt;, &lt;/span&gt;&quot;&amp;lt;span style=&#39;display:inline; background-color: yellow;&#39;&amp;gt;$1&amp;lt;/span&amp;gt;&quot;&lt;span class=&quot;s2&quot;&gt;);&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://cjoeprognote.blogspot.com/feeds/2577316454274332165/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://cjoeprognote.blogspot.com/2017/09/html-tag.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7829652393437835441/posts/default/2577316454274332165'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7829652393437835441/posts/default/2577316454274332165'/><link rel='alternate' type='text/html' href='http://cjoeprognote.blogspot.com/2017/09/html-tag.html' title='為文字上Highlight，但是排除HTML Tag內容，並且保持文字大小寫'/><author><name>cjoe</name><uri>http://www.blogger.com/profile/05707055796670763979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtzhMqKZZYOsOrztUF4sTyBSls8qIsJjOMaLFuozcdGfJA6zWy-vQbUJTsDp_JtHRomMa_xtIA8NfnWtGY9SBBz49QdUx-dVF6wJbPAkJr9-4RKIbIcIfrPklHArVL2kg/s220/P1020465.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7829652393437835441.post-385247192646220570</id><published>2017-03-07T00:06:00.002+08:00</published><updated>2017-03-07T15:35:34.146+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Japan"/><title type='text'>[心得] 台灣大哥大 網路漫遊預付卡 日本北海道4G無線上網吃到飽 (有網路測試圖)</title><content type='html'>我與老婆基本上都算得上重度上網族群，為了今年二月能夠跟老婆有一個高品質的北海道蜜月之旅，上網研究了很久的網路漫遊，大致上比較了幾家的優缺點，最後我們選擇了台灣大哥大網路漫遊預付卡，最後也證明了我們的選擇沒錯! 希望PO出來能夠對大家有一點幫助。&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
對我們而言，可以選擇的方案有以下幾種，我們後來不考慮最後一種，主要是因為我剛好有多的手機可以拿來當專屬的4G分享機。&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;中華電信4G國際漫遊方案&lt;/b&gt;：優點是方便，不用怕前人把網路流量吃完，只要上網開通既可；缺點是最貴。&lt;/li&gt;
&lt;li&gt;&lt;b&gt;購買4G吃到飽的SIM卡&lt;/b&gt;：優點是便宜，不用怕前人把網路流量吃完；缺點是怕網路不穩。&lt;/li&gt;
&lt;li&gt;&lt;b&gt;租借4G WIFI方享器&lt;/b&gt;：優點也是便宜，而且有專屬的分享器，不用自己一直開WIFI分享給別人，導致自己手機耗電很快；缺點是怕前一個人網路超量了，結果我去日本只能用128K上網，而且同事有人發生到了東京之後結果發現不能上網（或是連不上WIFI)。&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;h2&gt;
&lt;/h2&gt;
&lt;h2&gt;
中華電信&lt;/h2&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEioyOwF18ZuOgIt_UsoIhR4ImPJcM3asLCy8GLXHkEF3MlOcevb5jqQelXh-zgXOAGm-xIc2I9mS3VrNHgqR4zj-shx3zU35LPPea40XChC4bZ4Q7lSxX8kIXbC_Ex6RNyhJkE9rOBB9HVB/s1600/%25E6%2593%25B7%25E5%258F%2596.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEioyOwF18ZuOgIt_UsoIhR4ImPJcM3asLCy8GLXHkEF3MlOcevb5jqQelXh-zgXOAGm-xIc2I9mS3VrNHgqR4zj-shx3zU35LPPea40XChC4bZ4Q7lSxX8kIXbC_Ex6RNyhJkE9rOBB9HVB/s1600/%25E6%2593%25B7%25E5%258F%2596.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.emome.net/international_roaming_plan/daily&quot;&gt;http://www.emome.net/international_roaming_plan/daily&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
由於我跟老婆都是中華電信用戶，因此一開始中華電信是我們的首選，以前去大阪京都、東京等地，中華電信都非常可靠，但是缺點就是貴了點。而這次我們是去北海道六天五夜，也就是說如果租中華電信的漫遊吃到飽，我們就必須花費1,599元，對我們而言北海道的旅費已經花很多錢了，很多項目必須能省就省呀 &amp;gt;&quot;&amp;lt; ...也因此到今年我們開始尋找替代方案。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
*題外話: 幾年前在日本待過半年，一開始我都是使用中華電信的吃到飽漫遊 (沒辦法，一開始沒手機網路，人生地不熟，寶寶會怕)，我使用超過7G之後似乎有被限制流量...網路上似乎不多人提到這一件事情。其實在日本4G上網一般是沒有吃到飽的(至少我當年在日本是這樣)，當你使用超過7G的流量，接下來你會被限制在128Kb的速度，此時開什麼東西都會慢到爆炸呀~~&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
其實如果不考慮錢的話，中華電信的方案可能是非常棒的，也&lt;span style=&quot;color: red;&quot;&gt;不用擔心換SIM卡會不會導致Line出問題&lt;/span&gt;，導致對話紀錄消失~但是由於我有兩支手機，一支可以當全職的WIFI分享機，因此比較沒這個困擾。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h2 style=&quot;clear: both; text-align: left;&quot;&gt;
EZ nippon 日本通&lt;/h2&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO2g846mnm4Yx7kZa2NaJrXyVo-hzn6QjV-vg9howBZrSAKS6INMRJAxBu4LbmekDljsBk1odK5CWTToqPbJMQkW3XjAlha-CvpCp24Kr4piFh4lXebAqbce-e8Sul1ojvvSU2pv0Zi4il/s1600/%25E6%2593%25B7%25E5%258F%2596.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;361&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO2g846mnm4Yx7kZa2NaJrXyVo-hzn6QjV-vg9howBZrSAKS6INMRJAxBu4LbmekDljsBk1odK5CWTToqPbJMQkW3XjAlha-CvpCp24Kr4piFh4lXebAqbce-e8Sul1ojvvSU2pv0Zi4il/s640/%25E6%2593%25B7%25E5%258F%2596.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.eznippon.com/shopping/products/lists?category=%E4%B8%8A%E7%B6%B2%E5%8D%A1&quot;&gt;http://www.eznippon.com/shopping/products/lists?category=%E4%B8%8A%E7%B6%B2%E5%8D%A1&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
本來我們考慮使用這家，但是在PTT日本旅遊版調查一番之後就打退堂鼓了，大多理由是速度慢的問題。對我們而言上網速度跟穩定很重要，我們夫妻倆都不會日文，如果在重要時刻沒了網路，我們基本上會迷路在北海道的雪海裡面...抖...&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
但是我還是要說每個人的主觀意見不一樣，上網看到也未必是真的。若日本通的卡可以再便宜一點的話，我想也是很有吸引力的，下次去日本有機會再測試看看囉。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h2 style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;
&lt;script async=&quot;&quot; src=&quot;//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js&quot;&gt;&lt;/script&gt; &lt;!-- 文中廣告 --&gt;
&lt;ins class=&quot;adsbygoogle&quot; data-ad-client=&quot;ca-pub-9893054419707485&quot; data-ad-format=&quot;auto&quot; data-ad-slot=&quot;8317420053&quot; style=&quot;display: block;&quot;&gt;&lt;/ins&gt;
&lt;script&gt;
(adsbygoogle = window.adsbygoogle || []).push({});
&lt;/script&gt; &lt;br /&gt;
&lt;b&gt;台灣大哥大&lt;/b&gt;&lt;/h2&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEig_C6IltoTphkq0htPrOpYtoGL0P0tBycST0RtZZaV_Avn3YcB5CwzHf_pjhLjuCQKrbi72XAvh6aRjZ8Vjxi8Mdk8oOx1zq1-6CBe2VG5QU5s5d9AHrkfo5oQySqeAn-pkLsO-U4PPKph/s1600/JapanDataRoaming5%252B1_20160729_660x273.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;264&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEig_C6IltoTphkq0htPrOpYtoGL0P0tBycST0RtZZaV_Avn3YcB5CwzHf_pjhLjuCQKrbi72XAvh6aRjZ8Vjxi8Mdk8oOx1zq1-6CBe2VG5QU5s5d9AHrkfo5oQySqeAn-pkLsO-U4PPKph/s640/JapanDataRoaming5%252B1_20160729_660x273.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://www.taiwanmobile.com/mobile/prePay/prepayRoam/index_3.html#.WL2BtfmGOUk&quot;&gt;https://www.taiwanmobile.com/mobile/prePay/prepayRoam/index_3.html#.WL2BtfmGOUk&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
最後我們選擇台灣大哥大的4G上網預付卡，很幸運現在是&lt;span style=&quot;background-color: white; color: blue;&quot;&gt;5+1天的優惠活動，只要599元!!!!&amp;nbsp;&lt;/span&gt;此活動到今年三月底。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp;我的手機是使用&lt;span style=&quot;background-color: white; color: blue;&quot;&gt;inFocus M810&lt;/span&gt;，上網看看後確認手機的頻帶是有支援日本的4G網路，因此就放心去購買了4G預付卡了。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
去日本&lt;span style=&quot;background-color: white; color: blue;&quot;&gt;前一天我就先把SIM裝進去手機&lt;/span&gt;，目的是確定SIM卡是好的，會想要事先檢查是因為有看到其他人在PTT PO文表示人到了日本，卡片裝上去結果才發現讀不到，搞得一整個麻煩，為了避免這個狀況，我們提前把卡裝進去手機，想說有問題的話，我們就立馬殺到店面更換卡片。很幸運的，卡片是好的，可以順利讀取~YA。到了日本當地，我們才撥打&lt;span style=&quot;background-color: white; color: blue;&quot;&gt;+886935120437&lt;/span&gt;開啟日本漫遊(&lt;span style=&quot;color: red;&quot;&gt;注意，「+」一定要打，不能只有打886935120437&lt;/span&gt;)，撥完電話之後，&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;手機關機一下子再開機&lt;/span&gt;&amp;nbsp;&lt;/span&gt;(想說給台哥大的系統一點作業時間)，開機後就立馬收到Softbank的訊號了~在機場開通時，一開始手機只有兩格訊號，速度也不快，但是過一下子後，馬上就變滿格了，速度也可以接受，但是真的要說的話，其實還是台灣的中華4G比較好，在日本4G上網給我的感覺是「要過一下子才會變快」，例如用Line傳照片，一開始會慢慢的，過一下下才會加速~但是速度是可以接受的。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
第一次測速，一開始只有2格訊號，跑起來的速度真是悲劇&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPhNxCPgGw1PgzotHeE1x5bNXQHk5Fo3JtGXgv3XJ5k9tlBDwiFe-cdfNm358_hQ9i78fMehyphenhyphenXembwCiUugRg6wHfk6DAZkKbCsMYdPI4SF0-X864iSx0n3uwGYlhAWEZmZTz-llHTrWRD/s1600/Screenshot_2017-02-17-14-40-38.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPhNxCPgGw1PgzotHeE1x5bNXQHk5Fo3JtGXgv3XJ5k9tlBDwiFe-cdfNm358_hQ9i78fMehyphenhyphenXembwCiUugRg6wHfk6DAZkKbCsMYdPI4SF0-X864iSx0n3uwGYlhAWEZmZTz-llHTrWRD/s320/Screenshot_2017-02-17-14-40-38.png&quot; width=&quot;180&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
領完託運的行李之後走到有賣吃的地方，發現訊號變滿格了，因此再測試一次，這次速度是下載17.44Mbps，上傳是9.59Mbps，還不錯~還好inFocus M810沒問題，大家也一定要注意手機的頻帶是不是有支援喔!&lt;a href=&quot;http://www.eznippon.com/model/&quot; style=&quot;background-color: white;&quot; target=&quot;_blank&quot;&gt;這裡可以參考&lt;/a&gt;。在日本的使用過程一整個順暢，由於我們都只有在都市，因此能測的地方不多，目前確認札幌、小樽、白色戀人工廠等地方都沒問題，包含在JR上或地鐵也都沒問題喔! 各位可以放心使用。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEholDs7R-BgowYIlzztXKv9ydFj3Qh94fSj2sS96VB1A0DfuDVv9XcxGyh0pHyosdWaj-wYyu-NzUIysAnE3s3DkMP0wZLVlt2ssMkzfj6E_5FCKrRJPITJMy7w8wcL3lyZxe6dRUtJS1ac/s1600/Screenshot_2017-02-17-15-11-11.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEholDs7R-BgowYIlzztXKv9ydFj3Qh94fSj2sS96VB1A0DfuDVv9XcxGyh0pHyosdWaj-wYyu-NzUIysAnE3s3DkMP0wZLVlt2ssMkzfj6E_5FCKrRJPITJMy7w8wcL3lyZxe6dRUtJS1ac/s320/Screenshot_2017-02-17-15-11-11.png&quot; width=&quot;180&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
希望以上資訊對大家有幫助! 總體而言台灣大哥大的日本漫遊預付卡是很不錯的!&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
再購買預付卡之前，大家一定要注意手機的頻帶不支援喔!&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;!-- 文中廣告 --&gt;

&lt;ins class=&quot;adsbygoogle&quot; data-ad-client=&quot;ca-pub-9893054419707485&quot; data-ad-format=&quot;auto&quot; data-ad-slot=&quot;8317420053&quot; style=&quot;display: block;&quot;&gt;&lt;/ins&gt;&lt;script&gt;
(adsbygoogle = window.adsbygoogle || []).push({});
&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://cjoeprognote.blogspot.com/feeds/385247192646220570/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://cjoeprognote.blogspot.com/2017/03/4g.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7829652393437835441/posts/default/385247192646220570'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7829652393437835441/posts/default/385247192646220570'/><link rel='alternate' type='text/html' href='http://cjoeprognote.blogspot.com/2017/03/4g.html' title='[心得] 台灣大哥大 網路漫遊預付卡 日本北海道4G無線上網吃到飽 (有網路測試圖)'/><author><name>cjoe</name><uri>http://www.blogger.com/profile/05707055796670763979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtzhMqKZZYOsOrztUF4sTyBSls8qIsJjOMaLFuozcdGfJA6zWy-vQbUJTsDp_JtHRomMa_xtIA8NfnWtGY9SBBz49QdUx-dVF6wJbPAkJr9-4RKIbIcIfrPklHArVL2kg/s220/P1020465.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEioyOwF18ZuOgIt_UsoIhR4ImPJcM3asLCy8GLXHkEF3MlOcevb5jqQelXh-zgXOAGm-xIc2I9mS3VrNHgqR4zj-shx3zU35LPPea40XChC4bZ4Q7lSxX8kIXbC_Ex6RNyhJkE9rOBB9HVB/s72-c/%25E6%2593%25B7%25E5%258F%2596.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7829652393437835441.post-1309628564099866738</id><published>2015-04-08T13:10:00.002+08:00</published><updated>2024-07-11T22:59:45.039+08:00</updated><title type='text'>Let your PHP calls JAR of JAVA (Windows)</title><content type='html'>&lt;h2&gt;
Set the identity of executor for Apache&lt;/h2&gt;
Before run your php program.&lt;br /&gt;
&lt;br /&gt;
You have to set the&amp;nbsp;&lt;span style=&quot;background-color: white; font-family: &#39;helvetica neue&#39;, helvetica, arial, &#39;Heiti TC&#39;, &#39;microsoft jhenghei&#39;, sans-serif; font-size: 13px; line-height: 20px;&quot;&gt;identity of&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: helvetica neue, helvetica, arial, Heiti TC, microsoft jhenghei, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20px;&quot;&gt;executor&amp;nbsp;for&amp;nbsp;&lt;/span&gt;&lt;/span&gt;Apache.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;&lt;b&gt;Go to &quot;Service&quot;&lt;br /&gt;&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;&lt;b&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; display: inline !important; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiw3P2SmRyaVGmYaX1dWAoi1RmHOAtga0Yl6oQ8bw9cB4Ekz-2m6Yu_9aCEUPQ4BB5J-FmgagdKtdkhZcnfxug9QkptrzWxnYoCwHLFyKBlkkoUCb7aRP3joyoSMKlOZFEgyo4oYHlim2CH/s1600/%E6%9C%AA%E5%91%BD%E5%90%8D-1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; display: inline !important; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiw3P2SmRyaVGmYaX1dWAoi1RmHOAtga0Yl6oQ8bw9cB4Ekz-2m6Yu_9aCEUPQ4BB5J-FmgagdKtdkhZcnfxug9QkptrzWxnYoCwHLFyKBlkkoUCb7aRP3joyoSMKlOZFEgyo4oYHlim2CH/s1600/%E6%9C%AA%E5%91%BD%E5%90%8D-1.jpg&quot; height=&quot;222&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/b&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Change the executor (use your log-in account)&lt;/b&gt;&lt;br /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgPZtm0ZEFq8wqWaFvATatOEilUJiH0A6anxlJcIp7h4_qsF2zH3jeHLWDt31IONq3DclwINzg6qy2qn2tq5cPjNWwWZihXDcW6zfWxPbPh1_I8d1CXp_AxV9EMrQ-z_4c0ImkOb1M5cK_/s1600/%E6%9C%AA%E5%91%BD%E5%90%8D-2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgPZtm0ZEFq8wqWaFvATatOEilUJiH0A6anxlJcIp7h4_qsF2zH3jeHLWDt31IONq3DclwINzg6qy2qn2tq5cPjNWwWZihXDcW6zfWxPbPh1_I8d1CXp_AxV9EMrQ-z_4c0ImkOb1M5cK_/s1600/%E6%9C%AA%E5%91%BD%E5%90%8D-2.jpg&quot; height=&quot;320&quot; width=&quot;274&quot; /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;
Write a toy program&lt;/h2&gt;
// Set Enviromental Variable&lt;br /&gt;
$JAVA_HOME = &quot;C:\\\&quot;Program Files\&quot;\\Java\\\&quot;jre1.8.0_20&quot;;&lt;br /&gt;
$PATH = &quot;C:\\\&quot;Program Files\&quot;\\Java\\\&quot;jre1.8.0_20\&quot;\\bin&quot;;&lt;br /&gt;
putenv(&quot;JAVA_HOME=$JAVA_HOME&quot;);&lt;br /&gt;
putenv(&quot;PATH=$PATH&quot;);&lt;br /&gt;
&lt;br /&gt;
//run your jar program&lt;br /&gt;
echo shell_exec(&quot;java.exe -version 2&amp;gt;x.txt&quot;);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;
Finally, execute PHP program&lt;/h2&gt;
</content><link rel='replies' type='application/atom+xml' href='http://cjoeprognote.blogspot.com/feeds/1309628564099866738/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://cjoeprognote.blogspot.com/2015/04/let-your-php-call-jar-of-java-windows.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7829652393437835441/posts/default/1309628564099866738'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7829652393437835441/posts/default/1309628564099866738'/><link rel='alternate' type='text/html' href='http://cjoeprognote.blogspot.com/2015/04/let-your-php-call-jar-of-java-windows.html' title='Let your PHP calls JAR of JAVA (Windows)'/><author><name>cjoe</name><uri>http://www.blogger.com/profile/05707055796670763979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtzhMqKZZYOsOrztUF4sTyBSls8qIsJjOMaLFuozcdGfJA6zWy-vQbUJTsDp_JtHRomMa_xtIA8NfnWtGY9SBBz49QdUx-dVF6wJbPAkJr9-4RKIbIcIfrPklHArVL2kg/s220/P1020465.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiw3P2SmRyaVGmYaX1dWAoi1RmHOAtga0Yl6oQ8bw9cB4Ekz-2m6Yu_9aCEUPQ4BB5J-FmgagdKtdkhZcnfxug9QkptrzWxnYoCwHLFyKBlkkoUCb7aRP3joyoSMKlOZFEgyo4oYHlim2CH/s72-c/%E6%9C%AA%E5%91%BD%E5%90%8D-1.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7829652393437835441.post-6423094608100362850</id><published>2014-04-07T16:05:00.001+08:00</published><updated>2014-04-07T16:12:59.002+08:00</updated><title type='text'>MySQL利用console介面匯出/匯入資料</title><content type='html'>匯出:&lt;br /&gt;
&lt;br /&gt;
可以利用mysqldump來達到匯出&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;mysqldump -u root -p 資料庫名稱 資料表名稱 &amp;lt; 要存成的檔案名稱 (xx.sql)&lt;/code&gt;&lt;/pre&gt;
&lt;pre&gt;如果是遠端的資料庫，可以加&quot;-h IP位置&quot;&lt;/pre&gt;
&lt;pre&gt;&lt;/pre&gt;
&lt;pre&gt;如果遇到command denied.....when using LOCK TABLES，代表可能是因為權限不足(無法鎖定table)&lt;/pre&gt;
&lt;pre&gt;可以在最後面再加上一個參數--skip-lock-tables或--skip-add-locks &lt;/pre&gt;
&lt;pre&gt;另外，可以使用 --default-character-set=UTF8 來指定編碼&lt;/pre&gt;
&lt;pre&gt;
&lt;/pre&gt;
&lt;pre&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;/pre&gt;
&lt;pre&gt;匯入:&lt;/pre&gt;
&lt;pre&gt;登入MySQL之後，選好資料庫(use 資料庫名稱;)&lt;/pre&gt;
&lt;pre&gt;輸入source c:\xxx\ooo\xx.sql; 即可開始匯入&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://cjoeprognote.blogspot.com/feeds/6423094608100362850/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://cjoeprognote.blogspot.com/2014/04/mysqlconsole.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7829652393437835441/posts/default/6423094608100362850'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7829652393437835441/posts/default/6423094608100362850'/><link rel='alternate' type='text/html' href='http://cjoeprognote.blogspot.com/2014/04/mysqlconsole.html' title='MySQL利用console介面匯出/匯入資料'/><author><name>cjoe</name><uri>http://www.blogger.com/profile/05707055796670763979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtzhMqKZZYOsOrztUF4sTyBSls8qIsJjOMaLFuozcdGfJA6zWy-vQbUJTsDp_JtHRomMa_xtIA8NfnWtGY9SBBz49QdUx-dVF6wJbPAkJr9-4RKIbIcIfrPklHArVL2kg/s220/P1020465.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7829652393437835441.post-8890159823061390603</id><published>2013-11-19T15:46:00.001+08:00</published><updated>2016-06-12T15:19:25.467+08:00</updated><title type='text'>Don&#39;t assign an array type value to URLOPT_POSTFIELDS  in curl</title><content type='html'>&lt;span style=&quot;font-family: inherit;&quot;&gt;If you are not planing to upload a file, don&#39;t to assign an array type value to URLOPT_POSTFIELDS in curl.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Today, I got a problem about using curl to do a login action.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Something happened. The system didn&#39;t work because the first character in the password was a @ character.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;See the reference:&amp;nbsp;&lt;a href=&quot;http://php.net/manual/en/function.curl-setopt.php&quot;&gt;http://php.net/manual/en/function.curl-setopt.php&lt;/a&gt;&amp;nbsp;, and please find the statement of CURLOPT_POSTFIELDS section.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;You will find a statement as following:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #073763; color: white; font-family: inherit;&quot;&gt;If value is an array, the Content-Type header will be set to multipart/form-data. As of PHP 5.2.0, value must be an array if files are passed to this option with the @ prefix. As of PHP 5.5.0, the @ prefix is deprecated and files can be sent using CURLFile.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;So, you/me should use String type&amp;nbsp;&lt;/span&gt;rather than Array type&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;assigning values to URLOPT_POSTFIELDS &amp;nbsp;if you aren&#39;t planing to upload a file.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;The solution can be found in this web page:&amp;nbsp;&lt;a href=&quot;http://www.brandonchecketts.com/archives/array-versus-string-in-curlopt_postfields&quot;&gt;http://www.brandonchecketts.com/archives/array-versus-string-in-curlopt_postfields&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Hope it also help you.&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://cjoeprognote.blogspot.com/feeds/8890159823061390603/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://cjoeprognote.blogspot.com/2013/11/dont-use-array-type-to-assign-values-to.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7829652393437835441/posts/default/8890159823061390603'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7829652393437835441/posts/default/8890159823061390603'/><link rel='alternate' type='text/html' href='http://cjoeprognote.blogspot.com/2013/11/dont-use-array-type-to-assign-values-to.html' title='Don&#39;t assign an array type value to URLOPT_POSTFIELDS  in curl'/><author><name>cjoe</name><uri>http://www.blogger.com/profile/05707055796670763979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtzhMqKZZYOsOrztUF4sTyBSls8qIsJjOMaLFuozcdGfJA6zWy-vQbUJTsDp_JtHRomMa_xtIA8NfnWtGY9SBBz49QdUx-dVF6wJbPAkJr9-4RKIbIcIfrPklHArVL2kg/s220/P1020465.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7829652393437835441.post-2972679334921207536</id><published>2013-10-06T23:34:00.001+08:00</published><updated>2015-04-08T13:15:01.052+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Japan"/><category scheme="http://www.blogger.com/atom/ns#" term="Prepaid phone"/><title type='text'>Buy a prepaid phone from SoftBank online shop</title><content type='html'>&lt;span style=&quot;font-family: 新細明體;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-pagination: widow-orphan;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;新細明體&amp;quot;,&amp;quot;serif&amp;quot;; mso-bidi-font-family: 新細明體; mso-bidi-font-size: 12.0pt; mso-font-kerning: 0pt;&quot;&gt;Finally,
I got my phone and completed the setting.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: 新細明體;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-pagination: widow-orphan;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;新細明體&amp;quot;,&amp;quot;serif&amp;quot;; mso-bidi-font-family: 新細明體; mso-bidi-font-size: 12.0pt; mso-font-kerning: 0pt;&quot;&gt;Actually,
I do not even speak Japanese.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: 新細明體;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-pagination: widow-orphan;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;新細明體&amp;quot;,&amp;quot;serif&amp;quot;; mso-bidi-font-family: 新細明體; mso-bidi-font-size: 12.0pt; mso-font-kerning: 0pt;&quot;&gt;In
most situations, I used the google translator to translate&amp;nbsp;SoftBank&#39;s
web...&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: 新細明體;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-pagination: widow-orphan;&quot;&gt;
&lt;/div&gt;
&lt;span style=&quot;font-family: 新細明體;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-pagination: widow-orphan;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;新細明體&amp;quot;,&amp;quot;serif&amp;quot;; mso-bidi-font-family: 新細明體; mso-bidi-font-size: 12.0pt; mso-font-kerning: 0pt;&quot;&gt;There
are some conditions here for the people who would like to buy a&amp;nbsp;prepaid
phone.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: 新細明體;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-pagination: widow-orphan;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;新細明體&amp;quot;,&amp;quot;serif&amp;quot;; mso-bidi-font-family: 新細明體; mso-bidi-font-size: 12.0pt; mso-font-kerning: 0pt;&quot;&gt;If
you would like to a prepaid phone in Japan, you have to satisfy some
conditions&amp;nbsp;as follows:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: 新細明體;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;ol start=&quot;1&quot; type=&quot;1&quot;&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;
 &lt;/span&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-pagination: widow-orphan; tab-stops: list 36.0pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;新細明體&amp;quot;,&amp;quot;serif&amp;quot;; mso-bidi-font-family: 新細明體; mso-bidi-font-size: 12.0pt; mso-font-kerning: 0pt;&quot;&gt;You have your own resident
     card.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;span style=&quot;font-family: 新細明體;&quot;&gt;
 &lt;/span&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-pagination: widow-orphan; tab-stops: list 36.0pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;新細明體&amp;quot;,&amp;quot;serif&amp;quot;; mso-bidi-font-family: 新細明體; mso-bidi-font-size: 12.0pt; mso-font-kerning: 0pt;&quot;&gt;The resident card have
     filled out your residence address.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;span style=&quot;font-family: 新細明體;&quot;&gt;
 &lt;/span&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-pagination: widow-orphan; tab-stops: list 36.0pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;新細明體&amp;quot;,&amp;quot;serif&amp;quot;; mso-bidi-font-family: 新細明體; mso-bidi-font-size: 12.0pt; mso-font-kerning: 0pt;&quot;&gt;Find a SoftBank shop that
     sells prepaid phone and prepaid sim card OR buy&amp;nbsp;them form &lt;a href=&quot;http://online-shop.mb.softbank.jp/ols/html/model/prepaid/740sc.html&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;SoftBank online shop&lt;/span&gt;&lt;/a&gt;.&amp;nbsp;(&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;span style=&quot;font-family: 新細明體;&quot;&gt;
 &lt;/span&gt;&lt;ol start=&quot;1&quot; type=&quot;1&quot;&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;
  &lt;/span&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; mso-list: l0 level2 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-pagination: widow-orphan; tab-stops: list 72.0pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;新細明體&amp;quot;,&amp;quot;serif&amp;quot;; mso-bidi-font-family: 新細明體; mso-bidi-font-size: 12.0pt; mso-font-kerning: 0pt;&quot;&gt;If you want to only buy a
      prepaid sim card, you have already had a SoftBank Phone,&amp;nbsp;which had
      not contracted currently.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;span style=&quot;font-family: 新細明體;&quot;&gt;
  &lt;/span&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; mso-list: l0 level2 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-pagination: widow-orphan; tab-stops: list 72.0pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;新細明體&amp;quot;,&amp;quot;serif&amp;quot;; mso-bidi-font-family: 新細明體; mso-bidi-font-size: 12.0pt; mso-font-kerning: 0pt;&quot;&gt;Most of the SoftBank
      shops do not sell the prepaid phone.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;span style=&quot;font-family: 新細明體;&quot;&gt;
  &lt;/span&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; mso-list: l0 level2 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-pagination: widow-orphan; tab-stops: list 72.0pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;新細明體&amp;quot;,&amp;quot;serif&amp;quot;; mso-bidi-font-family: 新細明體; mso-bidi-font-size: 12.0pt; mso-font-kerning: 0pt;&quot;&gt;Most of the SoftBank
      shops do not provide English service.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;span style=&quot;font-family: 新細明體;&quot;&gt;
 &lt;/span&gt;&lt;/ol&gt;
&lt;span style=&quot;font-family: 新細明體;&quot;&gt;
 &lt;/span&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-pagination: widow-orphan; tab-stops: list 36.0pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;新細明體&amp;quot;,&amp;quot;serif&amp;quot;; mso-bidi-font-family: 新細明體; mso-bidi-font-size: 12.0pt; mso-font-kerning: 0pt;&quot;&gt;If you are like me bought
     the phone from online shop, you have to carefully fill out your order information.
     &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;span style=&quot;font-family: 新細明體;&quot;&gt;
 &lt;/span&gt;&lt;ol start=&quot;1&quot; type=&quot;1&quot;&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;
  &lt;/span&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; mso-list: l0 level2 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-pagination: widow-orphan; tab-stops: list 72.0pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;新細明體&amp;quot;,&amp;quot;serif&amp;quot;; mso-bidi-font-family: 新細明體; mso-bidi-font-size: 12.0pt; mso-font-kerning: 0pt;&quot;&gt;Your residence address in
      the order&amp;nbsp;have to identical to the address in your resident card.
      Any different is not allowed. If&amp;nbsp;any different here,&amp;nbsp;SoftBank
      will ask you&amp;nbsp;to contact him&amp;nbsp;by using a call for checking your information
      (some people told me they provided English in their toll-free number).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;span style=&quot;font-family: 新細明體;&quot;&gt;
  &lt;/span&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; mso-list: l0 level2 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-pagination: widow-orphan; tab-stops: list 72.0pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;新細明體&amp;quot;,&amp;quot;serif&amp;quot;; mso-bidi-font-family: 新細明體; mso-bidi-font-size: 12.0pt; mso-font-kerning: 0pt;&quot;&gt;You have to use a credit
      card&amp;nbsp;for payment.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;span style=&quot;font-family: 新細明體;&quot;&gt;
  &lt;/span&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; mso-list: l0 level2 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-pagination: widow-orphan; tab-stops: list 72.0pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;新細明體&amp;quot;,&amp;quot;serif&amp;quot;; mso-bidi-font-family: 新細明體; mso-bidi-font-size: 12.0pt; mso-font-kerning: 0pt;&quot;&gt;You have also to upload
      or mail a copy of your resident card (two sides) and your passport.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;span style=&quot;font-family: 新細明體;&quot;&gt;
 &lt;/span&gt;&lt;/ol&gt;
&lt;span style=&quot;font-family: 新細明體;&quot;&gt;
 &lt;/span&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-pagination: widow-orphan; tab-stops: list 36.0pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;新細明體&amp;quot;,&amp;quot;serif&amp;quot;; mso-bidi-font-family: 新細明體; mso-bidi-font-size: 12.0pt; mso-font-kerning: 0pt;&quot;&gt;After you gotten your
     prepaid phone, you have to activate your prepaid sim card.
     Otherwise,&amp;nbsp;the prepaid sim card&amp;nbsp;will be&amp;nbsp;out of
     service.&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;span style=&quot;font-family: 新細明體;&quot;&gt;
 &lt;/span&gt;&lt;ol start=&quot;1&quot; type=&quot;1&quot;&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;
  &lt;/span&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; mso-list: l0 level2 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-pagination: widow-orphan; tab-stops: list 72.0pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;新細明體&amp;quot;,&amp;quot;serif&amp;quot;; mso-bidi-font-family: 新細明體; mso-bidi-font-size: 12.0pt; mso-font-kerning: 0pt;&quot;&gt;There is the address for
      activating prepaid sim card: &lt;a href=&quot;http://online-shop.mb.softbank.jp/ols/html/manual/explanation/setting_pri.html&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;http://online-shop.mb.softbank.jp/ols/html/manual/explanation/setting_pri.html&lt;/span&gt;&lt;/a&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;span style=&quot;font-family: 新細明體;&quot;&gt;
  &lt;/span&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; mso-list: l0 level2 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-pagination: widow-orphan; tab-stops: list 72.0pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;新細明體&amp;quot;,&amp;quot;serif&amp;quot;; mso-bidi-font-family: 新細明體; mso-bidi-font-size: 12.0pt; mso-font-kerning: 0pt;&quot;&gt;In the process, you have
      to fill out the application number, your email, and a password (4 numbers
      set by you)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;span style=&quot;font-family: 新細明體;&quot;&gt;
 &lt;/span&gt;&lt;/ol&gt;
&lt;span style=&quot;font-family: 新細明體;&quot;&gt;
 &lt;/span&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-pagination: widow-orphan; tab-stops: list 36.0pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;新細明體&amp;quot;,&amp;quot;serif&amp;quot;; mso-bidi-font-family: 新細明體; mso-bidi-font-size: 12.0pt; mso-font-kerning: 0pt;&quot;&gt;Finally, you can login
     SoftBank web site to register your phone. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;span style=&quot;font-family: 新細明體;&quot;&gt;
 &lt;/span&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-pagination: widow-orphan; tab-stops: list 36.0pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;新細明體&amp;quot;,&amp;quot;serif&amp;quot;; mso-bidi-font-family: 新細明體; mso-bidi-font-size: 12.0pt; mso-font-kerning: 0pt;&quot;&gt;You can use your credit
     card to recharge: &lt;a href=&quot;http://mb.softbank.jp/en/prepaid_service/recharge/credit_card.html&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;http://mb.softbank.jp/en/prepaid_service/recharge/credit_card.html&lt;/span&gt;&lt;/a&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;span style=&quot;font-family: 新細明體;&quot;&gt;
 &lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;ol start=&quot;1&quot; type=&quot;1&quot;&gt;&lt;span style=&quot;font-family: 新細明體;&quot;&gt;
  &lt;/span&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; mso-list: l0 level2 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-pagination: widow-orphan; tab-stops: list 72.0pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;新細明體&amp;quot;,&amp;quot;serif&amp;quot;; mso-bidi-font-family: 新細明體; mso-bidi-font-size: 12.0pt; mso-font-kerning: 0pt;&quot;&gt;You can also check the
      expired time and balance in the web side. It is very important to me
      because I do not understand what they say in the 1400 call.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpoMWuzrvdFf_colbc1UvRCRHdV-kq3Ku7b3Nr-al5FHja26QjeuccBdk-OTgGj6r5ApkMMn8FxNFTjZf4U9ZpnUhlBctBQHkvYuypGx6IL_3fCWrbDwEoyUe4Znn9zyJNrqfL2SeJ2h6W/s1600/recharge.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpoMWuzrvdFf_colbc1UvRCRHdV-kq3Ku7b3Nr-al5FHja26QjeuccBdk-OTgGj6r5ApkMMn8FxNFTjZf4U9ZpnUhlBctBQHkvYuypGx6IL_3fCWrbDwEoyUe4Znn9zyJNrqfL2SeJ2h6W/s320/recharge.jpg&quot; height=&quot;227&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;span style=&quot;font-family: 新細明體;&quot;&gt;
 &lt;/span&gt;&lt;/ol&gt;
&lt;span style=&quot;font-family: 新細明體;&quot;&gt;
&lt;/span&gt;&lt;/ol&gt;
&lt;span style=&quot;font-family: 新細明體;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-pagination: widow-orphan;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;新細明體&amp;quot;,&amp;quot;serif&amp;quot;; mso-bidi-font-family: 新細明體; mso-bidi-font-size: 12.0pt; mso-font-kerning: 0pt;&quot;&gt;Finally,
I apologize for my bad English.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: 新細明體;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-pagination: widow-orphan;&quot;&gt;
&lt;/div&gt;
&lt;span style=&quot;font-family: 新細明體;&quot;&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;
&lt;/div&gt;
&lt;span style=&quot;font-family: 新細明體;&quot;&gt;

&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://cjoeprognote.blogspot.com/feeds/2972679334921207536/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://cjoeprognote.blogspot.com/2013/10/buy-prepaid-phone-from-softbank-online.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7829652393437835441/posts/default/2972679334921207536'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7829652393437835441/posts/default/2972679334921207536'/><link rel='alternate' type='text/html' href='http://cjoeprognote.blogspot.com/2013/10/buy-prepaid-phone-from-softbank-online.html' title='Buy a prepaid phone from SoftBank online shop'/><author><name>cjoe</name><uri>http://www.blogger.com/profile/05707055796670763979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtzhMqKZZYOsOrztUF4sTyBSls8qIsJjOMaLFuozcdGfJA6zWy-vQbUJTsDp_JtHRomMa_xtIA8NfnWtGY9SBBz49QdUx-dVF6wJbPAkJr9-4RKIbIcIfrPklHArVL2kg/s220/P1020465.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpoMWuzrvdFf_colbc1UvRCRHdV-kq3Ku7b3Nr-al5FHja26QjeuccBdk-OTgGj6r5ApkMMn8FxNFTjZf4U9ZpnUhlBctBQHkvYuypGx6IL_3fCWrbDwEoyUe4Znn9zyJNrqfL2SeJ2h6W/s72-c/recharge.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7829652393437835441.post-9003225832689596080</id><published>2012-11-15T14:28:00.000+08:00</published><updated>2012-11-15T14:46:20.379+08:00</updated><title type='text'>Joomla redirect with message</title><content type='html'>If you want to use&amp;nbsp;redirect function with a message to display message on screen, we can use as following codes:&lt;br /&gt;
&lt;br /&gt;
JFactory::getApplication()-&amp;gt;redirect(JRoute::_(&#39;PATH&#39;), &#39;your message&#39;);&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://cjoeprognote.blogspot.com/feeds/9003225832689596080/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://cjoeprognote.blogspot.com/2012/11/joomla-redirect-with-message.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7829652393437835441/posts/default/9003225832689596080'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7829652393437835441/posts/default/9003225832689596080'/><link rel='alternate' type='text/html' href='http://cjoeprognote.blogspot.com/2012/11/joomla-redirect-with-message.html' title='Joomla redirect with message'/><author><name>cjoe</name><uri>http://www.blogger.com/profile/05707055796670763979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtzhMqKZZYOsOrztUF4sTyBSls8qIsJjOMaLFuozcdGfJA6zWy-vQbUJTsDp_JtHRomMa_xtIA8NfnWtGY9SBBz49QdUx-dVF6wJbPAkJr9-4RKIbIcIfrPklHArVL2kg/s220/P1020465.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7829652393437835441.post-7293525728939896527</id><published>2012-11-07T19:01:00.004+08:00</published><updated>2012-11-07T19:01:58.992+08:00</updated><title type='text'>取得Joomla的安裝路徑</title><content type='html'>JPATH_SITE 這個constant可以讓我們取得joomla的安裝位置&lt;div&gt;
ex:&lt;/div&gt;
&lt;div&gt;
echo&amp;nbsp;JPATH_SITE;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
c:\AppServ\www\your_joomla&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://cjoeprognote.blogspot.com/feeds/7293525728939896527/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://cjoeprognote.blogspot.com/2012/11/joomla.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7829652393437835441/posts/default/7293525728939896527'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7829652393437835441/posts/default/7293525728939896527'/><link rel='alternate' type='text/html' href='http://cjoeprognote.blogspot.com/2012/11/joomla.html' title='取得Joomla的安裝路徑'/><author><name>cjoe</name><uri>http://www.blogger.com/profile/05707055796670763979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtzhMqKZZYOsOrztUF4sTyBSls8qIsJjOMaLFuozcdGfJA6zWy-vQbUJTsDp_JtHRomMa_xtIA8NfnWtGY9SBBz49QdUx-dVF6wJbPAkJr9-4RKIbIcIfrPklHArVL2kg/s220/P1020465.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7829652393437835441.post-1751665650656140965</id><published>2012-10-29T09:33:00.000+08:00</published><updated>2012-10-29T09:33:11.216+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="apache"/><category scheme="http://www.blogger.com/atom/ns#" term="資訊安全"/><title type='text'>Apache 預防 Range 標頭攻擊</title><content type='html'>&lt;br /&gt;
&lt;h1 style=&quot;color: #0068c3; font-family: &#39;microsoft jhenghei&#39;, 微軟正黑體, mingliu, verdana, arial, helvetica, sans-serif; font-size: 19px; line-height: 20.799999237060547px; margin: 5px 0px;&quot;&gt;
見招拆招 改裝Apache就地抵禦DoS攻擊&lt;/h1&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
參考：&lt;a href=&quot;http://www.netadmin.com.tw/article_content.aspx?sn=1112140007&quot;&gt;http://www.netadmin.com.tw/article_content.aspx?sn=1112140007&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://cjoeprognote.blogspot.com/feeds/1751665650656140965/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://cjoeprognote.blogspot.com/2012/10/apache-range.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7829652393437835441/posts/default/1751665650656140965'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7829652393437835441/posts/default/1751665650656140965'/><link rel='alternate' type='text/html' href='http://cjoeprognote.blogspot.com/2012/10/apache-range.html' title='Apache 預防 Range 標頭攻擊'/><author><name>cjoe</name><uri>http://www.blogger.com/profile/05707055796670763979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtzhMqKZZYOsOrztUF4sTyBSls8qIsJjOMaLFuozcdGfJA6zWy-vQbUJTsDp_JtHRomMa_xtIA8NfnWtGY9SBBz49QdUx-dVF6wJbPAkJr9-4RKIbIcIfrPklHArVL2kg/s220/P1020465.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7829652393437835441.post-779381214151158808</id><published>2012-10-29T09:18:00.003+08:00</published><updated>2012-10-29T09:18:49.884+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="apache"/><category scheme="http://www.blogger.com/atom/ns#" term="log"/><title type='text'>Apache Log檔分割</title><content type='html'>Apache Log檔分割&lt;br /&gt;
在httpd.conf中搜尋 &quot;CustomLog&quot;，將其改成&lt;br /&gt;
&lt;br /&gt;
CustomLog &quot;|bin/rotatelogs.exe logs/access%Y_%m_%d_%H_%M_%S.log 86400&quot; common&lt;br /&gt;
&lt;br /&gt;
之後的log檔會存成&quot;access2012_10_29_00_00_00.log&quot;的形式，以86400秒為一個檔案</content><link rel='replies' type='application/atom+xml' href='http://cjoeprognote.blogspot.com/feeds/779381214151158808/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://cjoeprognote.blogspot.com/2012/10/apache-log.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7829652393437835441/posts/default/779381214151158808'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7829652393437835441/posts/default/779381214151158808'/><link rel='alternate' type='text/html' href='http://cjoeprognote.blogspot.com/2012/10/apache-log.html' title='Apache Log檔分割'/><author><name>cjoe</name><uri>http://www.blogger.com/profile/05707055796670763979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtzhMqKZZYOsOrztUF4sTyBSls8qIsJjOMaLFuozcdGfJA6zWy-vQbUJTsDp_JtHRomMa_xtIA8NfnWtGY9SBBz49QdUx-dVF6wJbPAkJr9-4RKIbIcIfrPklHArVL2kg/s220/P1020465.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7829652393437835441.post-3633229240035173609</id><published>2012-02-26T01:42:00.000+08:00</published><updated>2012-02-27T12:34:18.766+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="GIW2012"/><title type='text'>GIW2012</title><content type='html'>&lt;a href=&quot;http://conf.ncku.edu.tw/giw2012/&quot;&gt;http://conf.ncku.edu.tw/giw2012/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://conf.ncku.edu.tw/giw2012/&quot; target=&quot;_blank&quot;&gt;giw2012&lt;/a&gt; in ncku</content><link rel='replies' type='application/atom+xml' href='http://cjoeprognote.blogspot.com/feeds/3633229240035173609/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://cjoeprognote.blogspot.com/2012/02/giw2012.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7829652393437835441/posts/default/3633229240035173609'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7829652393437835441/posts/default/3633229240035173609'/><link rel='alternate' type='text/html' href='http://cjoeprognote.blogspot.com/2012/02/giw2012.html' title='GIW2012'/><author><name>cjoe</name><uri>http://www.blogger.com/profile/05707055796670763979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtzhMqKZZYOsOrztUF4sTyBSls8qIsJjOMaLFuozcdGfJA6zWy-vQbUJTsDp_JtHRomMa_xtIA8NfnWtGY9SBBz49QdUx-dVF6wJbPAkJr9-4RKIbIcIfrPklHArVL2kg/s220/P1020465.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7829652393437835441.post-8494629269588867026</id><published>2012-02-26T00:11:00.003+08:00</published><updated>2012-02-26T00:16:31.792+08:00</updated><title type='text'>Zenbook case - GGMM case</title><content type='html'>I tried using the GGMM case for zenbook UX31. I&#39;m luck it worked well.&lt;br /&gt;
The GGMM case is designed for Mac air 13&quot; generally.&lt;br /&gt;
However, It not only fits for mba 13&quot;, but also fits for zenbook ux31.&lt;br /&gt;
&lt;br /&gt;
本來就一直想替我的UX31買一個方便一點的保護套，例如可直接翻開的保護套&lt;br /&gt;
&lt;br /&gt;
後來在Mac air上面看到&lt;a href=&quot;http://www.ipevo.com.tw/prods/GGMM_G1217_Case_13MacBook_Air_Blue/MacBook_Sleeves&quot; target=&quot;_blank&quot;&gt;GGMM的保護套&lt;/a&gt;，個人感覺外觀好看，形式也是我想要的。&lt;br /&gt;
&lt;br /&gt;
因此在回家上網查一下UX31跟Mac air 13&quot;的大小差異後，個人就跑去買了一個回家試試看(其實這樣真的有點賭...)&lt;br /&gt;
&lt;br /&gt;
不過很幸運的!!!裝的上去，看起來應該不會有什麼問題(不過小弟我不能對這句話負責&amp;nbsp; )&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
請看(背景很居家~)&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmRXXAYiOjSsZ0rmoSEoI4K2rLgpw0blTeqlYdpzqsmjiVtCePuhouXyDbzkOeZbmUWWDr-iF33byPhrPQiDXiqHW2JYSmq6ObJuB5m3e7ty0dr5_9hpnesV7i8Z8wieIMt7nWl_AvyXve/s1600/2012-02-25+16.20.14.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmRXXAYiOjSsZ0rmoSEoI4K2rLgpw0blTeqlYdpzqsmjiVtCePuhouXyDbzkOeZbmUWWDr-iF33byPhrPQiDXiqHW2JYSmq6ObJuB5m3e7ty0dr5_9hpnesV7i8Z8wieIMt7nWl_AvyXve/s320/2012-02-25+16.20.14.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKKvp3_3MEYrwD9rRnFUso9Q59lm21M9wBQMoYM6bLXVdjsae2skdWyEqYM970UtyzDRJa0l6gvKDae1mdT69F7mFooGKhbO5XsRzTLLVrInl-PQcOYbKUmWR-tk4mFLk9Nplsb4qfE3RU/s1600/photoshake_1330185489034.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKKvp3_3MEYrwD9rRnFUso9Q59lm21M9wBQMoYM6bLXVdjsae2skdWyEqYM970UtyzDRJa0l6gvKDae1mdT69F7mFooGKhbO5XsRzTLLVrInl-PQcOYbKUmWR-tk4mFLk9Nplsb4qfE3RU/s320/photoshake_1330185489034.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cjoeprognote.blogspot.com/feeds/8494629269588867026/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://cjoeprognote.blogspot.com/2012/02/ux31-mac-air-ggmm-ux31mac-air-13.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7829652393437835441/posts/default/8494629269588867026'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7829652393437835441/posts/default/8494629269588867026'/><link rel='alternate' type='text/html' href='http://cjoeprognote.blogspot.com/2012/02/ux31-mac-air-ggmm-ux31mac-air-13.html' title='Zenbook case - GGMM case'/><author><name>cjoe</name><uri>http://www.blogger.com/profile/05707055796670763979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtzhMqKZZYOsOrztUF4sTyBSls8qIsJjOMaLFuozcdGfJA6zWy-vQbUJTsDp_JtHRomMa_xtIA8NfnWtGY9SBBz49QdUx-dVF6wJbPAkJr9-4RKIbIcIfrPklHArVL2kg/s220/P1020465.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmRXXAYiOjSsZ0rmoSEoI4K2rLgpw0blTeqlYdpzqsmjiVtCePuhouXyDbzkOeZbmUWWDr-iF33byPhrPQiDXiqHW2JYSmq6ObJuB5m3e7ty0dr5_9hpnesV7i8Z8wieIMt7nWl_AvyXve/s72-c/2012-02-25+16.20.14.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7829652393437835441.post-7141731643056826871</id><published>2012-02-20T10:05:00.001+08:00</published><updated>2012-02-20T10:07:15.771+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="DataTable"/><category scheme="http://www.blogger.com/atom/ns#" term="YUI"/><title type='text'>YUI 得知Datatable完成的方法</title><content type='html'>If you want to know that when is the datatable done, you can subscript the &quot;postRenderEvent&quot; event.&lt;br /&gt;
&lt;br /&gt;
Juts like:&lt;br /&gt;
&lt;b&gt;myDataTable.subscribe( &#39;postRenderEvent&#39;, function()&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;{&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp; //Do something&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;});&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
You can see &lt;a href=&quot;http://developer.yahoo.com/yui/docs/YAHOO.widget.DataTable.html#event_postRenderEvent&quot; target=&quot;_blank&quot;&gt;here &lt;/a&gt;in more detail.</content><link rel='replies' type='application/atom+xml' href='http://cjoeprognote.blogspot.com/feeds/7141731643056826871/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://cjoeprognote.blogspot.com/2012/02/yui-datatable_20.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7829652393437835441/posts/default/7141731643056826871'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7829652393437835441/posts/default/7141731643056826871'/><link rel='alternate' type='text/html' href='http://cjoeprognote.blogspot.com/2012/02/yui-datatable_20.html' title='YUI 得知Datatable完成的方法'/><author><name>cjoe</name><uri>http://www.blogger.com/profile/05707055796670763979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtzhMqKZZYOsOrztUF4sTyBSls8qIsJjOMaLFuozcdGfJA6zWy-vQbUJTsDp_JtHRomMa_xtIA8NfnWtGY9SBBz49QdUx-dVF6wJbPAkJr9-4RKIbIcIfrPklHArVL2kg/s220/P1020465.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7829652393437835441.post-7115584360116873535</id><published>2012-02-20T09:54:00.000+08:00</published><updated>2012-02-20T13:39:17.166+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="DataTable"/><category scheme="http://www.blogger.com/atom/ns#" term="YUI"/><title type='text'>YUI 手動取得Datatable資料內容</title><content type='html'>IF you want to get datatable by a manual way, you can use the following code:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;myDataTable.getRecord(0).getData(&quot;id&quot;);&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;i&gt;myDataTable &lt;/i&gt;is your datatable name.&lt;/li&gt;
&lt;li&gt;The parameter in getRecord is row number. (0 ~ the numebr of row - 1)&lt;/li&gt;
&lt;li&gt;The parameter in getData is a key name. You have to specifically assign that.&lt;/li&gt;
&lt;/ul&gt;</content><link rel='replies' type='application/atom+xml' href='http://cjoeprognote.blogspot.com/feeds/7115584360116873535/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://cjoeprognote.blogspot.com/2012/02/yui-datatable.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7829652393437835441/posts/default/7115584360116873535'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7829652393437835441/posts/default/7115584360116873535'/><link rel='alternate' type='text/html' href='http://cjoeprognote.blogspot.com/2012/02/yui-datatable.html' title='YUI 手動取得Datatable資料內容'/><author><name>cjoe</name><uri>http://www.blogger.com/profile/05707055796670763979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtzhMqKZZYOsOrztUF4sTyBSls8qIsJjOMaLFuozcdGfJA6zWy-vQbUJTsDp_JtHRomMa_xtIA8NfnWtGY9SBBz49QdUx-dVF6wJbPAkJr9-4RKIbIcIfrPklHArVL2kg/s220/P1020465.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7829652393437835441.post-3962628468211623113</id><published>2012-02-12T21:06:00.003+08:00</published><updated>2012-02-12T21:06:58.767+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Joomla"/><category scheme="http://www.blogger.com/atom/ns#" term="Joomla開發"/><title type='text'>以Article ID取得文章資訊的方法</title><content type='html'>$article =&amp;amp; JTable::getInstance(&quot;content&quot;);&lt;br /&gt;
&lt;br /&gt;
$article-&amp;gt;load(Article_ID);&lt;br /&gt;
echo $article-&amp;gt;get(&quot;title&quot;);&lt;br /&gt;
&lt;br /&gt;
最後會Echo出文章的Title&lt;br /&gt;
&lt;br /&gt;
不過這樣做不能自動依系統定義自動產生read more...殘念&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://cjoeprognote.blogspot.com/feeds/3962628468211623113/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://cjoeprognote.blogspot.com/2012/02/article-id.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7829652393437835441/posts/default/3962628468211623113'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7829652393437835441/posts/default/3962628468211623113'/><link rel='alternate' type='text/html' href='http://cjoeprognote.blogspot.com/2012/02/article-id.html' title='以Article ID取得文章資訊的方法'/><author><name>cjoe</name><uri>http://www.blogger.com/profile/05707055796670763979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtzhMqKZZYOsOrztUF4sTyBSls8qIsJjOMaLFuozcdGfJA6zWy-vQbUJTsDp_JtHRomMa_xtIA8NfnWtGY9SBBz49QdUx-dVF6wJbPAkJr9-4RKIbIcIfrPklHArVL2kg/s220/P1020465.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7829652393437835441.post-1108440360046885798</id><published>2012-02-12T19:05:00.004+08:00</published><updated>2012-02-12T19:06:43.367+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Joomla"/><category scheme="http://www.blogger.com/atom/ns#" term="Joomla開發"/><title type='text'>Joomla取得Component name</title><content type='html'>如果須要取得Component name的話，可以加入以下程式碼來取得當前的component name:&lt;br /&gt;
為何:&lt;br /&gt;
echo JRequest::getVar(&#39;option&#39;);&lt;br /&gt;
&lt;br /&gt;
輸出範例:&lt;br /&gt;
com_web_homepage</content><link rel='replies' type='application/atom+xml' href='http://cjoeprognote.blogspot.com/feeds/1108440360046885798/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://cjoeprognote.blogspot.com/2012/02/joomlacomponent-name.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7829652393437835441/posts/default/1108440360046885798'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7829652393437835441/posts/default/1108440360046885798'/><link rel='alternate' type='text/html' href='http://cjoeprognote.blogspot.com/2012/02/joomlacomponent-name.html' title='Joomla取得Component name'/><author><name>cjoe</name><uri>http://www.blogger.com/profile/05707055796670763979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtzhMqKZZYOsOrztUF4sTyBSls8qIsJjOMaLFuozcdGfJA6zWy-vQbUJTsDp_JtHRomMa_xtIA8NfnWtGY9SBBz49QdUx-dVF6wJbPAkJr9-4RKIbIcIfrPklHArVL2kg/s220/P1020465.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7829652393437835441.post-778977665973642567</id><published>2012-02-12T18:54:00.000+08:00</published><updated>2012-02-12T19:03:51.964+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Joomla"/><category scheme="http://www.blogger.com/atom/ns#" term="Joomla開發"/><title type='text'>在Joomla中得到Component的路徑</title><content type='html'>在開發Joomla的component的時候，可能常常須要include一些東西，因此必須要知道自己所&lt;br /&gt;
寫的component的路徑，進而才有辦法知道檔案的所在之處，最後方能include進來。&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;color: red;&quot;&gt;
*如果資訊會顯示在Client端的話，則要小心有無安全性的問題&lt;/div&gt;
&lt;br /&gt;
因此，我們可以使用以下兩種來得到路徑&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;JPATH_COMPONENT: for site&lt;/li&gt;
&lt;li&gt;JPATH_COMPONENT_ADMINISTRATOR: for admin&lt;/li&gt;
&lt;/ul&gt;
另外，可以搭配『DS』這個常數來分隔資料夾。&lt;br /&gt;
&lt;br /&gt;
EX: &lt;br /&gt;
&lt;br /&gt;
$path = JPATH_COMPONENT.DS.&quot;function.phg&quot;;&lt;br /&gt;
$path會得到C:\...\My Web Sites\joomla/components/com_web_homepage\function.php&lt;br /&gt;
//我的環境是Windows，$path結果的有省略一些掉。</content><link rel='replies' type='application/atom+xml' href='http://cjoeprognote.blogspot.com/feeds/778977665973642567/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://cjoeprognote.blogspot.com/2012/02/joomlacomponent.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7829652393437835441/posts/default/778977665973642567'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7829652393437835441/posts/default/778977665973642567'/><link rel='alternate' type='text/html' href='http://cjoeprognote.blogspot.com/2012/02/joomlacomponent.html' title='在Joomla中得到Component的路徑'/><author><name>cjoe</name><uri>http://www.blogger.com/profile/05707055796670763979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtzhMqKZZYOsOrztUF4sTyBSls8qIsJjOMaLFuozcdGfJA6zWy-vQbUJTsDp_JtHRomMa_xtIA8NfnWtGY9SBBz49QdUx-dVF6wJbPAkJr9-4RKIbIcIfrPklHArVL2kg/s220/P1020465.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7829652393437835441.post-277190383227656225</id><published>2011-12-30T22:52:00.002+08:00</published><updated>2011-12-30T22:52:18.192+08:00</updated><title type='text'>9候選字注音輸入法改版 1.1版</title><content type='html'>&amp;nbsp;9候選字注音輸入法改版囉&lt;br /&gt;
 &lt;br /&gt;
Android Market:&amp;nbsp; &lt;a href=&quot;https://market.android.com/details?id=com.googlecode.tcime_9candidate_nofullinputscreen&amp;amp;feature=search_result#?t=W251bGwsMSwxLDEsImNvbS5nb29nbGVjb2RlLnRjaW1lXzljYW5kaWRhdGVfbm9mdWxsaW5wdXRzY3JlZW4iXQ..&quot; target=&quot;_blank&quot;&gt;9候選字注音輸入法&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
此版本主要是修正Bug以及修改鍵盤樣式 &lt;br /&gt;
&lt;br /&gt;
希望大家會喜歡&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXdL1Ft5iWYxoIomYw6hCsSJNfKO1x6keB-ppjwriL7xt3hp_hqLkt9tHE4z2nRpDzdlY_-eNLLuiyNqZmadwmSXRwGRLoRVfMn0QxPm5vZAs2YRAlrtK-GBbt7Trd-Zr3og78SEfb_ZlB/s1600/Screenshot_2011-12-30-22-14-21.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXdL1Ft5iWYxoIomYw6hCsSJNfKO1x6keB-ppjwriL7xt3hp_hqLkt9tHE4z2nRpDzdlY_-eNLLuiyNqZmadwmSXRwGRLoRVfMn0QxPm5vZAs2YRAlrtK-GBbt7Trd-Zr3og78SEfb_ZlB/s320/Screenshot_2011-12-30-22-14-21.png&quot; width=&quot;180&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyzxSH-QNOKnQ9d341n6oDD2Wt2ydu2vKwKjGoyLGgjHHu3CpzvguJEP1kT80Ps-bT-jQMPR4QGPOXIPfNw-rNtxZSneqtn8zOSXVnR8CEDETmzDmUtHRVvOGwibvktcoUBMWAcLhqu7-7/s1600/Screenshot_2011-12-30-22-14-41.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;180&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyzxSH-QNOKnQ9d341n6oDD2Wt2ydu2vKwKjGoyLGgjHHu3CpzvguJEP1kT80Ps-bT-jQMPR4QGPOXIPfNw-rNtxZSneqtn8zOSXVnR8CEDETmzDmUtHRVvOGwibvktcoUBMWAcLhqu7-7/s320/Screenshot_2011-12-30-22-14-41.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cjoeprognote.blogspot.com/feeds/277190383227656225/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://cjoeprognote.blogspot.com/2011/12/9-11.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7829652393437835441/posts/default/277190383227656225'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7829652393437835441/posts/default/277190383227656225'/><link rel='alternate' type='text/html' href='http://cjoeprognote.blogspot.com/2011/12/9-11.html' title='9候選字注音輸入法改版 1.1版'/><author><name>cjoe</name><uri>http://www.blogger.com/profile/05707055796670763979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtzhMqKZZYOsOrztUF4sTyBSls8qIsJjOMaLFuozcdGfJA6zWy-vQbUJTsDp_JtHRomMa_xtIA8NfnWtGY9SBBz49QdUx-dVF6wJbPAkJr9-4RKIbIcIfrPklHArVL2kg/s220/P1020465.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXdL1Ft5iWYxoIomYw6hCsSJNfKO1x6keB-ppjwriL7xt3hp_hqLkt9tHE4z2nRpDzdlY_-eNLLuiyNqZmadwmSXRwGRLoRVfMn0QxPm5vZAs2YRAlrtK-GBbt7Trd-Zr3og78SEfb_ZlB/s72-c/Screenshot_2011-12-30-22-14-21.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7829652393437835441.post-996341810767875298</id><published>2011-12-25T02:12:00.002+08:00</published><updated>2011-12-25T02:21:40.802+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><title type='text'>9候選字注音輸入法</title><content type='html'>Market: &lt;a href=&quot;https://market.android.com/details?id=com.googlecode.tcime_9candidate_nofullinputscreen&amp;amp;feature=search_result#?t=W251bGwsMSwxLDEsImNvbS5nb29nbGVjb2RlLnRjaW1lXzljYW5kaWRhdGVfbm9mdWxsaW5wdXRzY3JlZW4iXQ..&quot; target=&quot;_blank&quot;&gt;前往 &lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
QR Code&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJy6SpLM0JvrIIbWoEWrY-eg-ip6KKr-0BlnjfjgXlVbIff6WuO_KeNQQJqnnpE1CMgPJ9hYUjfK9DD7uhN__h6Hl8mBW_XUxVmqzo2hQyssuW-KsTcxgZzEdA2qAz08fEPwOaBy4wRvP7/s1600/qrCode.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJy6SpLM0JvrIIbWoEWrY-eg-ip6KKr-0BlnjfjgXlVbIff6WuO_KeNQQJqnnpE1CMgPJ9hYUjfK9DD7uhN__h6Hl8mBW_XUxVmqzo2hQyssuW-KsTcxgZzEdA2qAz08fEPwOaBy4wRvP7/s1600/qrCode.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;此應用程式主要是針對螢幕較大的裝置設計。&lt;br /&gt;
&lt;br /&gt;
特點：&lt;br /&gt;
*候選字九字&lt;br /&gt;
*橫向輸入不進入全螢幕&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEij54NorSDqSmlS52aWRuJNbB-WaUilXqRXu6AgBwvNTdLS4zKhLQckq6F-ZDw2PVX4cHSHqt8KnR4i4Zt9xY_Eqm-HwIJTAYLPIqqjay5Tv0qJE_naUOtYmz5MR1EAo7gn30M5RTR-uMfo/s1600/Screenshot_2011-12-25-00-38-07.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;179&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEij54NorSDqSmlS52aWRuJNbB-WaUilXqRXu6AgBwvNTdLS4zKhLQckq6F-ZDw2PVX4cHSHqt8KnR4i4Zt9xY_Eqm-HwIJTAYLPIqqjay5Tv0qJE_naUOtYmz5MR1EAo7gn30M5RTR-uMfo/s320/Screenshot_2011-12-25-00-38-07.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXfpAOTnHSnxPv1pMhPAVS6GGc7dZY5LaYGoJ1ot5IeBPnWIE5z7lZ6Y0V2mr-bl8RgHZ2PX4aGCzYzgKJL_yoZfxf4iL_75RVwL_iqpu5cN8Gp1G8LjjHF4M0IOVKiGlifFF5EqjnFVfW/s1600/Screenshot_2011-12-25-00-38-41.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;179&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXfpAOTnHSnxPv1pMhPAVS6GGc7dZY5LaYGoJ1ot5IeBPnWIE5z7lZ6Y0V2mr-bl8RgHZ2PX4aGCzYzgKJL_yoZfxf4iL_75RVwL_iqpu5cN8Gp1G8LjjHF4M0IOVKiGlifFF5EqjnFVfW/s320/Screenshot_2011-12-25-00-38-41.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXH8dz_NjQcR4xBN7ky_2sx830A5WoyU_iluPaT_4KkimlAzwSyhbwYmnmwtNFMJrRZMUojUI2VXLG6oCJQOZUOdT1ePQ79uKZJk2lPtz0mG0PLaBsIkY_0dAmm391wfhN8rSm4ho3_1A9/s1600/Screenshot_2011-12-25-00-38-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;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXH8dz_NjQcR4xBN7ky_2sx830A5WoyU_iluPaT_4KkimlAzwSyhbwYmnmwtNFMJrRZMUojUI2VXLG6oCJQOZUOdT1ePQ79uKZJk2lPtz0mG0PLaBsIkY_0dAmm391wfhN8rSm4ho3_1A9/s320/Screenshot_2011-12-25-00-38-30.png&quot; width=&quot;179&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
官方注音輸入法候選字為六字，與電腦上使用的習慣不一樣，因此本程式將候選字設定為九字，較符合打傳統注音的習慣。&lt;br /&gt;
&lt;br /&gt;
另外，此輸入法在橫向輸入時，畫面將不會進入全螢幕模式。這是針對大螢幕裝置所設計，因此如果螢幕太小的話，可能反而會不方便，使用者須自行斟酌使用。&lt;br /&gt;
&lt;br /&gt;
依開發者本身所持有的Android Phone來說，Nexus one勉強可用，Galaxy Nexus會有更好的表現。</content><link rel='replies' type='application/atom+xml' href='http://cjoeprognote.blogspot.com/feeds/996341810767875298/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://cjoeprognote.blogspot.com/2011/12/9.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7829652393437835441/posts/default/996341810767875298'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7829652393437835441/posts/default/996341810767875298'/><link rel='alternate' type='text/html' href='http://cjoeprognote.blogspot.com/2011/12/9.html' title='9候選字注音輸入法'/><author><name>cjoe</name><uri>http://www.blogger.com/profile/05707055796670763979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtzhMqKZZYOsOrztUF4sTyBSls8qIsJjOMaLFuozcdGfJA6zWy-vQbUJTsDp_JtHRomMa_xtIA8NfnWtGY9SBBz49QdUx-dVF6wJbPAkJr9-4RKIbIcIfrPklHArVL2kg/s220/P1020465.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJy6SpLM0JvrIIbWoEWrY-eg-ip6KKr-0BlnjfjgXlVbIff6WuO_KeNQQJqnnpE1CMgPJ9hYUjfK9DD7uhN__h6Hl8mBW_XUxVmqzo2hQyssuW-KsTcxgZzEdA2qAz08fEPwOaBy4wRvP7/s72-c/qrCode.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7829652393437835441.post-2137900791196282895</id><published>2011-11-07T21:30:00.000+08:00</published><updated>2011-11-10T18:45:19.192+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="YUI"/><title type='text'>(2) YUI與jQuery</title><content type='html'>YUI與 &lt;a href=&quot;http://jquery.com/&quot; target=&quot;_blank&quot;&gt;jQuery &lt;/a&gt;都是我個人相當喜愛的前端工具，而jQuery那句 The Write Less, Do More更是深得我心。&lt;br /&gt;
&lt;br /&gt;
其實，早些年前，我也分不太清楚兩者的差異，總覺的兩個都是Cross-browser的framework，直到開始使用兩套framework進行網頁的前端開發，才漸漸對兩者有了更深一層的了解。&lt;br /&gt;
&lt;br /&gt;
在YUI這方面，YUI給我的感覺比較像一套Total solution，為什麼？因為YUI除了提供相當多的Widget之外，另外也提供了相當多的Utility，例如CSS Tool、Event、Animation、Browser History Manager、Drag and Drop、AJAX、JSON及Selector等等。另外，YUI是在一個較統一的架構下進行開發，其程式撰寫風格、使用方式以及介面風格較為統一，並且程式範例、文件相當齊全，如此一來可能有助於使用者可以觸類旁通，在遇到問題時，也有相當完整的文件考供參考(缺點是目前大多都為英文)&lt;br /&gt;
&lt;br /&gt;
而jQuery這邊，我個人相當喜歡它的簡潔，在使用上非常的方便(Easy)且有力(Powerful)，只要買一相關的書籍，快速的翻閱一下，幾乎可以馬上感受到它的效用及易上手，也可能是jQuery實在太方便，促使YUI3的誕生(笑，這點我不敢肯定，不過YUI3的確簡化了不少使用的程序)。jQuery主要可分為兩個部份，一部份是Core，提供Selector、Animation、AJAX....等等，其中我個人覺的Selector、Animation在推出時更是打敗天下無敵手，當初都是使用Prototype Javascript的我，看到jquery真是痛哭流涕，省下來的時間都快可以為老闆多接一個CASE了(咦，為什麼不是提早下班？)。另外，&lt;a href=&quot;http://jqueryui.com/home&quot; target=&quot;_blank&quot;&gt;jQuery UI&lt;/a&gt;也提供UI較有關的Utility及Widget，讓前端開發者也可以享受同一體系出來的Widget，不僅可與jQuery完美的搭配，其程式風格也相當簡潔，個人有時在小專案中也會使用jQuery UI的Widget，畢竟殺雞不一定非得用牛刀，這個輕盈的工具也是相當好用的。&lt;br /&gt;
&lt;br /&gt;
相較YUI，jQuery目前所提供的Widget數目較少，部份jQuery UI未提供的Widget在網路上也找的到熱心人士所開發出來的Widget，但是缺點就是風格較不統一，以及未能保證其可靠性。因此，基於這幾點，使得我最後在前端開發上，大多採用YUI的Widget較多。&lt;br /&gt;
&lt;br /&gt;
事實上應該這麼說，我在介面的呈現及Widget我採用相當多的YUI工具，但是在Selector、Animation、AJAX我個人則是傾向使用jQuery，主要理由可能跟習慣及方便性有關，而換句話或許也可以說同時使用兩套Framework來互相截長補短，以提升開發速度，讓自己可以不必一直埋首與程式碼奮鬥。</content><link rel='replies' type='application/atom+xml' href='http://cjoeprognote.blogspot.com/feeds/2137900791196282895/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://cjoeprognote.blogspot.com/2011/11/2-yuijquery.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7829652393437835441/posts/default/2137900791196282895'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7829652393437835441/posts/default/2137900791196282895'/><link rel='alternate' type='text/html' href='http://cjoeprognote.blogspot.com/2011/11/2-yuijquery.html' title='(2) YUI與jQuery'/><author><name>cjoe</name><uri>http://www.blogger.com/profile/05707055796670763979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtzhMqKZZYOsOrztUF4sTyBSls8qIsJjOMaLFuozcdGfJA6zWy-vQbUJTsDp_JtHRomMa_xtIA8NfnWtGY9SBBz49QdUx-dVF6wJbPAkJr9-4RKIbIcIfrPklHArVL2kg/s220/P1020465.JPG'/></author><thr:total>0</thr:total></entry></feed>