<?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-687497483972251538</id><updated>2026-05-31T02:32:36.157+08:00</updated><category term="zerojudge"/><category term="PHP"/><category term="Android"/><category term="python"/><category term="雜記"/><category term="HTML"/><category term="VMware"/><category term="CSS"/><category term="Chatgpt"/><category term="Javascript"/><category term="Openai"/><category term="AI"/><category term="C/C++"/><category term="Cloud"/><category term="Django"/><category term="Java"/><category term="Tool"/><category term="XAMPP"/><category term="理財"/><title type='text'>ghaouse&#39;s site</title><subtitle type='html'>如果有好的寫法歡迎留言一起研究 ^ o ^&#xa;看不懂的也可以留言說一下</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://ghaouse.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/687497483972251538/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://ghaouse.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/687497483972251538/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>ghaouse</name><uri>http://www.blogger.com/profile/08774818325963004358</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>180</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-687497483972251538.post-5534379598022103874</id><published>2023-02-24T21:33:00.003+08:00</published><updated>2023-02-24T21:33:50.437+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="AI"/><category scheme="http://www.blogger.com/atom/ns#" term="Tool"/><title type='text'>最全AI工具大全：涵蓋各種領域、各種用途的人工智慧工具集合</title><content type='html'>&lt;div&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;ol style=&quot;text-align: left;&quot;&gt;&lt;li&gt;國外AI工具合集&amp;nbsp;&lt;a href=&quot;https://www.futurepedia.io/&quot;&gt;FUTUREPEDIA&lt;/a&gt;&amp;nbsp;&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/AVvXsEi6GnGPJq2k9K-yOQekANy5XSqekELDvaiyrspvtl4TrkkR-iwIjWEeyCAYtviZk3SfsqdNJb8isBGfjyCg95WdkMrRtMHBJIbXKB4bIYVWzOsdM6VLFbMSWT91uiFvzyZPcenvncIhJ-a_z505B-sGuapH_eA_WU4d5blJBhOLjBBIZQPbUldfjUFIPw/s996/WeChat%20%E5%9C%96%E7%89%87_20230224212607.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;845&quot; data-original-width=&quot;996&quot; height=&quot;542&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6GnGPJq2k9K-yOQekANy5XSqekELDvaiyrspvtl4TrkkR-iwIjWEeyCAYtviZk3SfsqdNJb8isBGfjyCg95WdkMrRtMHBJIbXKB4bIYVWzOsdM6VLFbMSWT91uiFvzyZPcenvncIhJ-a_z505B-sGuapH_eA_WU4d5blJBhOLjBBIZQPbUldfjUFIPw/w640-h542/WeChat%20%E5%9C%96%E7%89%87_20230224212607.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/li&gt;&lt;br /&gt;&lt;div&gt;&lt;li&gt;國外AI工具合集&amp;nbsp;&lt;a href=&quot; http://www.ainav.cn/&quot;&gt;AI導航網&lt;/a&gt;&lt;/li&gt;&lt;/div&gt;&lt;/ol&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/AVvXsEhxF5E2C_BTljueWPPdB8yn0duDpUq73yD6IJVPBtfAN2bVMw7Q13MQOUz5U6qkw_vZpOKk_i7QEQVzQ2qS872U5FBC1vDVNBXE01tCaOZaa0H623u-DmqJD7zpENG0nlXgc1zYJ-WlY2F7ekqLpsv1pe5KK5cP8MtcPNL8Fehz_8XiNwoLhA65q1-SGg/s1565/WeChat%20%E5%9C%96%E7%89%87_20230224213222.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;842&quot; data-original-width=&quot;1565&quot; height=&quot;344&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxF5E2C_BTljueWPPdB8yn0duDpUq73yD6IJVPBtfAN2bVMw7Q13MQOUz5U6qkw_vZpOKk_i7QEQVzQ2qS872U5FBC1vDVNBXE01tCaOZaa0H623u-DmqJD7zpENG0nlXgc1zYJ-WlY2F7ekqLpsv1pe5KK5cP8MtcPNL8Fehz_8XiNwoLhA65q1-SGg/w640-h344/WeChat%20%E5%9C%96%E7%89%87_20230224213222.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&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;&lt;br /&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;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ghaouse.blogspot.com/feeds/5534379598022103874/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ghaouse.blogspot.com/2023/02/ai.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/687497483972251538/posts/default/5534379598022103874'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/687497483972251538/posts/default/5534379598022103874'/><link rel='alternate' type='text/html' href='http://ghaouse.blogspot.com/2023/02/ai.html' title='最全AI工具大全：涵蓋各種領域、各種用途的人工智慧工具集合'/><author><name>ghaouse</name><uri>http://www.blogger.com/profile/08774818325963004358</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6GnGPJq2k9K-yOQekANy5XSqekELDvaiyrspvtl4TrkkR-iwIjWEeyCAYtviZk3SfsqdNJb8isBGfjyCg95WdkMrRtMHBJIbXKB4bIYVWzOsdM6VLFbMSWT91uiFvzyZPcenvncIhJ-a_z505B-sGuapH_eA_WU4d5blJBhOLjBBIZQPbUldfjUFIPw/s72-w640-h542-c/WeChat%20%E5%9C%96%E7%89%87_20230224212607.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-687497483972251538.post-5955661119271449095</id><published>2023-02-22T07:58:00.006+08:00</published><updated>2023-02-22T09:11:16.268+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Chatgpt"/><category scheme="http://www.blogger.com/atom/ns#" term="Openai"/><title type='text'>Chatgpt指令大全</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;a href=&quot;#寫報告&quot;&gt;寫報告&lt;/a&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;#報告開頭&quot;&gt;報告開頭&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;#研究報告&quot;&gt;研究報告&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;#提出反對觀點&quot;&gt;提出反對觀點&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;#報告總結&quot;&gt;報告總結&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;&lt;a href=&quot;#資料整理&quot;&gt;資料整理&lt;/a&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;#蒐集資料&quot;&gt;蒐集資料&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;#內容總結&quot;&gt;內容總結&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;#摘錄某領域重點&quot;&gt;摘錄某領域重點&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;&lt;a href=&quot;#履歷與自傳&quot;&gt;履歷與自傳&lt;/a&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;#尋求履歷的反饋&quot;&gt;尋求履歷的反饋&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;#為履歷加上量化數據&quot;&gt;為履歷加上量化數據&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;#修簡經歷&quot;&gt;修簡經歷&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;#為不同公司客製化撰寫履歷&quot;&gt;為不同公司客製化撰寫履歷&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;&lt;a href=&quot;#程式開發&quot;&gt;程式開發&lt;/a&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;#寫程式&quot;&gt;寫程式&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;#解讀程式碼&quot;&gt;解讀程式碼&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;#重構程式碼&quot;&gt;重構程式碼&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;#解bug&quot;&gt;解bug&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;#寫測試&quot;&gt;寫測試&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;#寫Regex&quot;&gt;寫Regex&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;&lt;a href=&quot;#知識學習&quot;&gt;知識學習&lt;/a&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;#概念解說&quot;&gt;概念解說&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;#簡易教學&quot;&gt;簡易教學&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;#深度教學&quot;&gt;深度教學&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;#教學與測驗&quot;&gt;教學與測驗&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;&lt;a href=&quot;#英語學習&quot;&gt;英語學習&lt;/a&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;#背單字法寶&quot;&gt;背單字法寶&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;#英語單字學習&quot;&gt;英語單字學習&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;#英語對話&quot;&gt;英語對話&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;#校閱英文文法&quot;&gt;校閱英文文法&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;#英文作文修改與解釋&quot;&gt;英文作文修改與解釋&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;&lt;a href=&quot;#工作生產力&quot;&gt;工作生產力&lt;/a&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;#回覆Email&quot;&gt;回覆Email&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;&lt;a href=&quot;#寫作幫手&quot;&gt;寫作幫手&lt;/a&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;#撰寫標題&quot;&gt;撰寫標題&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;#撰寫文章大綱&quot;&gt;撰寫文章大綱&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;#文章撰寫&quot;&gt;文章撰寫&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;#產品文案&quot;&gt;產品文案&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;&lt;a href=&quot;#日常生活&quot;&gt;日常生活&lt;/a&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;#食譜生成&quot;&gt;食譜生成&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;#提供食譜&quot;&gt;提供食譜&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;#活動計劃清單&quot;&gt;活動計劃清單&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;#提供點子&quot;&gt;提供點子&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;#旅遊計畫&quot;&gt;旅遊計畫&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;&lt;a href=&quot;#有趣好玩&quot;&gt;有趣好玩&lt;/a&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;#寫歌詞&quot;&gt;寫歌詞&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;#寫故事&quot;&gt;寫故事&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;#寫Rap&quot;&gt;寫Rap&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;&lt;a href=&quot;#角色扮演&quot;&gt;角色扮演&lt;/a&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;#綜合情境&quot;&gt;綜合情境&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;#面試官&quot;&gt;面試官&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;#擔任導遊&quot;&gt;擔任導遊&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; font-size: 18px;&quot;&gt;&lt;span style=&quot;color: #800180;&quot;&gt;&lt;b id=&quot;寫報告&quot;&gt;寫報告&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;h5 id=&quot;報告開頭&quot;&gt;報告開頭&lt;/h5&gt;&lt;p&gt;&lt;span&gt;我現在正在 [報告的情境與目的]。我的簡報主題是 [主題]，請提供 [數字] 種開頭方式，要簡單到 [目標族群] 能聽懂，同時要足夠能吸引人，讓他們願意專心聽下去&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;👉&amp;nbsp;&lt;/span&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;我現在正在修台大的簡報課，其中一項作業是要做一份讓小學生能聽懂的簡報。我的簡報主題是機會成本，請提供三種開頭方式，要簡單到小學生能聽懂，同時要足夠能吸引人，讓他們願意專心聽下去&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;h5 id=&quot;研究報告&quot;&gt;研究報告&lt;/h5&gt;&lt;p&gt;&lt;span&gt;寫出一篇有關 [知識] 的 [數字] 字研究報告，報告中需引述最新的研究，並引用專家觀點&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;👉&amp;nbsp;&lt;/span&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;寫出一篇有關自動駕駛的 300 字研究報告，報告中需引述最新的研究，並引用專家觀點&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;h5 id=&quot;提出反對觀點&quot;&gt;提出反對觀點&lt;/h5&gt;&lt;p&gt;&lt;span&gt;你是 [某個主題] 的專家，請針對以下論述 [附上論述]，提出 [數字] 個反駁的論點，每個論點都要有佐證&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;👉&amp;nbsp;&lt;/span&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;你是大數據分析的專家，請針對以下論述「在數據分析中，越多數據越好」，提出 3 個反駁的論點，每個論點都要有佐證&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;h5 id=&quot;報告總結&quot;&gt;報告總結&lt;/h5&gt;&lt;p&gt;&lt;span&gt;你是 [某個主題] 的專家，請總結以下內容，並針對以下內容提出未來能進一步研究的方向 [附上內容]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;👉&amp;nbsp;&lt;/span&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;你是大數據分析的專家，請針對以下論述「在數據分析中，越多數據越好」，提出 3 個反駁的論點，每個論點都要有佐證&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; font-size: 18px;&quot;&gt;&lt;span style=&quot;color: #800180;&quot;&gt;&lt;b id=&quot;資料整理&quot;&gt;資料整理&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;h5 id=&quot;蒐集資料&quot;&gt;蒐集資料&lt;/h5&gt;&lt;p&gt;&lt;span&gt;給我 [數字] 篇，有關 [領域] 的文章。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;👉&amp;nbsp;&lt;/span&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;給我 5 篇，有關 SEO 的文章。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;h5 id=&quot;內容總結&quot;&gt;內容總結&lt;/h5&gt;&lt;p&gt;&lt;span&gt;用列點的方式總結出這篇文章的 [數字] 個重點：[附上文章內容/附上文章網址]。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;👉&amp;nbsp;&lt;/span&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;用列點的方式總結出這篇文章的 5 個重點：[附上文章內容/附上文章網址]。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;h5 id=&quot;摘錄某領域重點&quot;&gt;摘錄某領域重點&lt;/h5&gt;&lt;p&gt;&lt;span&gt;用列點的方式總結出 [數字] 個 [領域] 知識重點&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;👉&amp;nbsp;&lt;/span&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;用列點的方式總結出 10 個量子力學知識重點。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; font-size: 18px;&quot;&gt;&lt;span style=&quot;color: #800180;&quot;&gt;&lt;b id=&quot;履歷與自傳&quot;&gt;履歷與自傳&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;h5 id=&quot;尋求履歷的反饋&quot;&gt;尋求履歷的反饋&lt;/h5&gt;&lt;p&gt;&lt;span&gt;這份 [職位] 的履歷，有哪邊可以寫更好? 請以專業面試官的角度，提出具體改進建議。接著以你提出的建議來改寫這段經歷，改寫時請維持列點的形式。 [附上履歷]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;👉&amp;nbsp;&lt;/span&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;這份 UIUX 設計師的履歷，有哪邊可以寫更好? 請以專業面試官的角度，提出具體改進建議。接著以你提出的建議來改寫這段經歷，改寫時請維持列點的形式。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;h5 id=&quot;為履歷加上量化數據&quot;&gt;為履歷加上量化數據&lt;/h5&gt;&lt;p&gt;&lt;span&gt;改寫以下履歷，為每一點加上量化的數據，改寫時請維持列點的形式。[附上履歷]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;h5 id=&quot;修簡經歷&quot;&gt;修簡經歷&lt;/h5&gt;&lt;p&gt;&lt;span&gt;把這段經歷寫得更精簡一點，讓別人可以馬上看到重點，同時維持生動的描述。[附上經歷]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;h5 id=&quot;為不同公司客製化撰寫履歷&quot;&gt;為不同公司客製化撰寫履歷&lt;/h5&gt;&lt;p&gt;&lt;span&gt;我今天要申請 [公司] 的 [職位]，改寫以下經歷，讓我能更符合 [公司] 的企業文化。[附上經歷]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;👉&amp;nbsp;&lt;/span&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;這份 UIUX 設計師的履歷，有哪邊可以寫更好? 請以專業面試官的角度，提出具體改進建議。接著以你提出的建議來改寫這段經歷，改寫時請維持列點的形式。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; font-size: 18px;&quot;&gt;&lt;span style=&quot;color: #800180;&quot;&gt;&lt;b id=&quot;程式開發&quot;&gt;程式開發&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;h5 id=&quot;寫程式&quot;&gt;寫程式&lt;/h5&gt;&lt;p&gt;&lt;span&gt;你現在是一個 [程式語言] 專家，請幫我用 [程式語言] 寫一個函式，它需要做到 [某個功能]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;👉&amp;nbsp;&lt;/span&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;你現在是一個 JavaScript 專家，請幫我用 JavaScript 寫一個函式，它需要做到 輸入一個一維陣列，把這個一維陣列轉換成二維陣列。同時我要能夠自由地決定二維陣列中的子陣列長度是多少&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;h5 id=&quot;解讀程式碼&quot;&gt;解讀程式碼&lt;/h5&gt;&lt;p&gt;&lt;span&gt;你現在是一個 [程式語言] 專家，請告訴我以下的程式碼在做什麼。 [附上程式碼]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;h5 id=&quot;重構程式碼&quot;&gt;重構程式碼&lt;/h5&gt;&lt;p&gt;&lt;span&gt;你現在是一個 Clean Code 專家，我有以下的程式碼，請用更乾淨簡潔的方式改寫，讓我的同事們可以更容易維護程式碼。另外，也解釋為什麼你要這樣重構，讓我能把重構的方式的說明加到 Pull Request 當中。 [附上程式碼]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;h5 id=&quot;解bug&quot;&gt;解bug&lt;/h5&gt;&lt;p&gt;&lt;span&gt;你現在是一個 [程式語言] 專家，我有一段程式碼，我預期這段程式碼可以 [做到某個功能]，只是它通過不了 [測試案例] 這個測試案例。請幫我找出我哪裡寫錯了，以及用正確的方式改寫。[附上程式碼]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;👉&amp;nbsp;&lt;/span&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;你現在是一個 python 專家，我有一段程式碼，我預期這段程式碼可以判斷一個字串是不是鏡像迴文，只是它通過不了 aacdeedcc 這個測試案例。請幫我找出我哪裡寫錯了，以及用正確的方式改寫。[附上程式碼]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;h5 id=&quot;寫測試&quot;&gt;寫測試&lt;/h5&gt;&lt;p&gt;&lt;span&gt;你現在是一個 [程式語言] 專家，我有一段程式碼 [附上程式碼]，請幫我寫一個測試，請至少提供五個測試案例，同時要包含到極端的狀況，讓我能夠確定這段程式碼的輸出是正確的。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;h5 id=&quot;寫Regex&quot;&gt;寫 Regex&lt;/h5&gt;&lt;p&gt;&lt;span&gt;你現在是一個 Regex 專家，請幫我寫一個 Regex ，它能夠把 [需求]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;👉&amp;nbsp;&lt;/span&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;你現在是一個 Regex 專家，請幫我寫一個 Regex ，它能夠把輸入一個字串，把這個字串中的所有數字都取出來&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; font-size: 18px;&quot;&gt;&lt;span style=&quot;color: #800180;&quot;&gt;&lt;b id=&quot;知識學習&quot;&gt;知識學習&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;h5 id=&quot;概念解說&quot;&gt;概念解說&lt;/h5&gt;&lt;p&gt;&lt;span&gt;詳細的說明 [填入想了解的知識]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;👉&amp;nbsp;&lt;/span&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;詳細的說明如何製造一台電腦&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;h5 id=&quot;簡易教學&quot;&gt;簡易教學&lt;/h5&gt;&lt;p&gt;&lt;span&gt;你扮演 [科目老師] 的角色， 我需要理解 [理論]。 請用 [方式] 方式描述。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;👉&amp;nbsp;&lt;/span&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;你扮演數學老師的角色， 我需要理解一元二次方程式。 請用淺顯易懂方式描述。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;h5 id=&quot;深度教學&quot;&gt;深度教學&lt;/h5&gt;&lt;p&gt;&lt;span&gt;你是一個 [SEO 專家]，你要教我深度的 [SEO 知識]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;👉&amp;nbsp;&lt;/span&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;你是一個 SEO 專家，你要教我深度的 SEO 知識。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;h5 id=&quot;教學與測驗&quot;&gt;教學與測驗&lt;/h5&gt;&lt;p&gt;&lt;span&gt;教我 [二次方程式]，最後給我一個測驗&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;👉&amp;nbsp;&lt;/span&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;教我 一元二次方程式，最後給我一個測驗&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; font-size: 18px;&quot;&gt;&lt;span style=&quot;color: #800180;&quot;&gt;&lt;b id=&quot;英語學習&quot;&gt;英語學習&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;h5 id=&quot;背單字法寶&quot;&gt;背單字法寶&lt;/h5&gt;&lt;p&gt;&lt;span&gt;用 [中文/英文] 解釋以下英文單字：[填入一個或多個單字]。請用表格的方式呈現，並且表格內須包含單字、詞性、解釋與例句。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;👉&amp;nbsp;&lt;/span&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;用中文解釋以下英文單字：apple, orange, doctor, car, run。請用表格的方式呈現，並且表格內須包含單字、詞性、解釋與例句。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;h5 id=&quot;英語單字學習&quot;&gt;英語單字學習&lt;/h5&gt;&lt;p&gt;&lt;span&gt;解釋英文單字 [英文單字]，並且給我 [數字] 個常用句子。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;👉&amp;nbsp;&lt;/span&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;解釋英文單字 divest，並且給我 5 個常用句子。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;h5 id=&quot;英語對話&quot;&gt;英語對話&lt;/h5&gt;&lt;p&gt;&lt;span&gt;Can we have a conversation about [話題]?&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;👉&amp;nbsp;&lt;/span&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;Can we have a conversation about machine learning?&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;h5 id=&quot;校閱英文文法&quot;&gt;校閱英文文法&lt;/h5&gt;&lt;p&gt;&lt;span&gt;Can you check the spelling and grammar in the following text? [附上英文文字]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;h5 id=&quot;英文作文修改與解釋&quot;&gt;英文作文修改與解釋&lt;/h5&gt;&lt;p&gt;&lt;span&gt;校閱以下英文文章，並用表格的方式呈現，要有三個欄位，分別是原文、修正後的版本，以及用中文詳解為什麼要這樣修改：[附上英文文章]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; font-size: 18px;&quot;&gt;&lt;span style=&quot;color: #800180;&quot;&gt;&lt;b id=&quot;工作生產力&quot;&gt;工作生產力&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;h5 id=&quot;回覆Email&quot;&gt;回覆 Email&lt;/h5&gt;&lt;p&gt;&lt;span&gt;你是一名 [職業]，我會給你一封電子郵件，你要回覆這封電子郵件。電子郵件：[附上內容]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;👉&amp;nbsp;&lt;/span&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;你是一名產品經理，我會給你一封電子郵件，你要回覆這封電子郵件。電子郵件：[附上內容]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; font-size: 18px;&quot;&gt;&lt;span style=&quot;color: #800180;&quot;&gt;&lt;b id=&quot;寫作幫手&quot;&gt;寫作幫手&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;h5 id=&quot;撰寫標題&quot;&gt;撰寫標題&lt;/h5&gt;&lt;p&gt;&lt;span&gt;寫出 [數字] 個有關 [主題] 的 [社群平台] 風格標題，要遵守以下規則：[規則 1]、[規則 2]、[其他規則]。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;👉&amp;nbsp;&lt;/span&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;寫出 5 個有關日本迪士尼旅遊心得的 Instagram 風格標題，要遵守以下規則：標題不超過 20 字、標題要加上適當表情符號。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;h5 id=&quot;撰寫文章大綱&quot;&gt;撰寫文章大綱&lt;/h5&gt;&lt;p&gt;&lt;span&gt;提供 [某主題] 主題的文章大綱&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;👉&amp;nbsp;&lt;/span&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;提供美國留學主題的文章大綱&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;h5 id=&quot;文章撰寫&quot;&gt;文章撰寫&lt;/h5&gt;&lt;p&gt;&lt;span&gt;針對 [主題] 這個主題生成一篇文章&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;👉&amp;nbsp;&lt;/span&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;針對使用 ChatGPT 小訣竅這個主題生成一篇文章&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;h5 id=&quot;產品文案&quot;&gt;產品文案&lt;/h5&gt;&lt;p&gt;&lt;span&gt;將以下產品關鍵字生成 [數字] 句的產品文案。產品關鍵字：[附上關鍵字...]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;👉&amp;nbsp;&lt;/span&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;將以下產品關鍵字生成 10 句的產品文案。產品關鍵字：球鞋、春季最新款、多種顏色、適合慢跑&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span id=&quot;日常生活&quot; face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; font-size: 18px;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #800180;&quot;&gt;日常生活&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;h5 id=&quot;食譜生成&quot;&gt;食譜生成&lt;/h5&gt;&lt;p&gt;&lt;span&gt;提供給我一個食譜，食材包含 [食材 1]、[食材 2]、[食材...]。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;👉&amp;nbsp;&lt;/span&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;提供給我一個食譜，食材包含雞腿肉、雞蛋、起司。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;h5 id=&quot;提供食譜&quot;&gt;提供食譜&lt;/h5&gt;&lt;p&gt;&lt;span&gt;請列出這份食譜的採買清單和步驟：[數字] 人份的 [食譜]。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;👉&amp;nbsp;&lt;/span&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;請列出這份食譜的採買清單和步驟：1 人份的蕃茄炒蛋。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;h5 id=&quot;活動計劃清單&quot;&gt;活動計劃清單&lt;/h5&gt;&lt;p&gt;&lt;span&gt;你扮演一位專業的活動企劃，請生成 [活動] 活動計劃清單，包括重要任務和截止日期。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;👉&amp;nbsp;&lt;/span&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;你扮演一位專業的活動企劃，請生成運動會活動計劃清單，包括重要任務和截止日期。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;h5 id=&quot;提供點子&quot;&gt;提供點子&lt;/h5&gt;&lt;p&gt;&lt;span&gt;提供 [數字] 個 [想法] 的點子&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;👉&amp;nbsp;&lt;/span&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;提供 5 個情人節的點子&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;h5 id=&quot;旅遊計畫&quot;&gt;旅遊計畫&lt;/h5&gt;&lt;p&gt;&lt;span&gt;生成一份 [數字] 天的 [地點] 旅遊計畫，交通工具是 [交通工具...]。要遵守以下規則：[填入規則]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;👉&amp;nbsp;&lt;/span&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;生成一份 5 天的東京旅遊計畫，交通工具是地鐵和火車。要遵守以下規則：1. 地點要包含東京鐵塔、富士山、迪士尼樂園 2. 需要包含交通如何乘坐 3. 一天不超過 3 個地點。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; font-size: 18px;&quot;&gt;&lt;span style=&quot;color: #800180;&quot;&gt;&lt;b id=&quot;有趣好玩&quot;&gt;有趣好玩&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;h5 id=&quot;寫歌詞&quot;&gt;寫歌詞&lt;/h5&gt;&lt;p&gt;&lt;span&gt;大家都說我寫的歌詞像 [人名]，但我最近有點沒靈感，請幫我用 [人名] 的風格寫一首歌。歌中包含的元素要 [關鍵字...]。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;👉&amp;nbsp;&lt;/span&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;大家都說我寫的歌詞像方文山，但我最近有點沒靈感，請幫我用方文山的風格寫一首歌。歌中包含的元素要有別離、思念、峰迴路轉。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;h5 id=&quot;寫故事&quot;&gt;寫故事&lt;/h5&gt;&lt;p&gt;&lt;span&gt;寫出一篇有關 [故事想法]，擁有 [風格] 風格的短篇故事&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;👉&amp;nbsp;&lt;/span&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;寫出一篇有關工程師拯救這個世界的短篇故事&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;h5 id=&quot;寫Rap&quot;&gt;寫 Rap&lt;/h5&gt;&lt;p&gt;&lt;span&gt;你是現在最紅的饒舌歌手，請創作一首 Rap，主題是 [附上主題]。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;👉&amp;nbsp;&lt;/span&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;你是現在最紅的饒舌歌手，請創作一首 Rap，主題是孤勇者。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; font-size: 18px;&quot;&gt;&lt;span style=&quot;color: #800180;&quot;&gt;&lt;b id=&quot;角色扮演&quot;&gt;角色扮演&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;h5 id=&quot;綜合情境&quot;&gt;綜合情境&lt;/h5&gt;&lt;p&gt;&lt;span&gt;你現在是一名 [角色]，你要針對我提出的問題提供建議。我的問題是：[附上問題]。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;👉&amp;nbsp;&lt;/span&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;你現在是一名生涯教練，你要針對我提出的問題提供建議。我的問題是：我是否要出國唸書？&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;h5 id=&quot;面試官&quot;&gt;面試官&lt;/h5&gt;&lt;p&gt;&lt;span&gt;你現在是一個 [職位] 面試官，而我是要應徵 [職位] 的面試者。你需要遵守以下規則：1. 你只能問我有關 [職位] 的面試問題。2. 不需要寫解釋。3. 你需要向面試官一樣等我回答問題，再提問下一個問題。我的第一句話是，你好。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;👉&amp;nbsp;&lt;/span&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;你現在是一個產品經理面試官，而我是要應徵產品經理的面試者。你需要遵守以下規則：1. 你只能問我有關產品經理的面試問題。2. 不需要寫解釋。3. 你需要向面試官一樣等我回答問題，再提問下一個問題。我的第一句話是，你好。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;h5 id=&quot;擔任導遊&quot;&gt;擔任導遊&lt;/h5&gt;&lt;p&gt;&lt;span&gt;你是一位導遊，我會把我旅遊的位置給你，你要推薦一個靠近我位置的地方。在某些情況下，我還會告訴您我想旅遊地點的類型。你還會向我推薦靠近我的第一個位置的類似類型的地方。我的第一個需求是[填入需求]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;👉&amp;nbsp;&lt;/span&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;&quot; style=&quot;background-color: white; color: #525252; font-size: 14px;&quot;&gt;你是一位導遊，我會把我旅遊的位置給你，你要推薦一個靠近我位置的地方。在某些情況下，我還會告訴您我想旅遊地點的類型。你還會向我推薦靠近我的第一個位置的類似類型的地方。我的第一個需求是我在阿里山，我想參觀博物館。&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;來源:&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://www.explainthis.io/zh-hant/chatgpt?fbclid=IwAR12rvpB4We_4PDZeEX5NaxOLswS4lRr7h7uP0nzIPbJmMkL26C_n_2pRc4&quot;&gt;ChatGPT 指令大全 (explainthis.io)&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://ghaouse.blogspot.com/feeds/5955661119271449095/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ghaouse.blogspot.com/2023/02/chatgpt_22.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/687497483972251538/posts/default/5955661119271449095'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/687497483972251538/posts/default/5955661119271449095'/><link rel='alternate' type='text/html' href='http://ghaouse.blogspot.com/2023/02/chatgpt_22.html' title='Chatgpt指令大全'/><author><name>ghaouse</name><uri>http://www.blogger.com/profile/08774818325963004358</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-687497483972251538.post-6674347453146059424</id><published>2023-02-16T19:52:00.001+08:00</published><updated>2023-02-16T19:52:34.597+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Chatgpt"/><category scheme="http://www.blogger.com/atom/ns#" term="Openai"/><title type='text'>Chatgpt回答問題到一半怎麼辦?</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;h2 style=&quot;text-align: left;&quot;&gt;說明&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/h2&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; 因每次回答有字數限制，所以回答到一半時就看不到後面的回覆了。&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; 以下分兩種狀況，第一種是一般的問題回答到一半，第二種是程式回答到一半，以下就來看看如何處理。&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;h2 style=&quot;text-align: left;&quot;&gt;1. 一般的回答到一半&lt;/h2&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; 直接使用&quot;continue&quot;,或者用中文的&quot;繼續&quot;，chatgpt就會接著回答。&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;h2 style=&quot;text-align: left;&quot;&gt;2. 程式回答到一半&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/AVvXsEiuPcnOWJPcJ1ynGo9_gBM0J6Xu6uCiBtlsQQnwl3HVFnEbHkr8266p0lMDy7UhzyoEJmVRC1WXxmF-HomkFpBUvfgiOOHNQKO8Mt5k7rR40tVMAmue-R9wnAHH7h11N1MAup6JjUGIk2T1R6bTvIV8eGPnSTB2IDGG3s8eNQ5EyUOqwEOpWHPcB_BHyA/s1083/WeChat%20%E5%9C%96%E7%89%87_20230216194055.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;799&quot; data-original-width=&quot;1083&quot; height=&quot;472&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuPcnOWJPcJ1ynGo9_gBM0J6Xu6uCiBtlsQQnwl3HVFnEbHkr8266p0lMDy7UhzyoEJmVRC1WXxmF-HomkFpBUvfgiOOHNQKO8Mt5k7rR40tVMAmue-R9wnAHH7h11N1MAup6JjUGIk2T1R6bTvIV8eGPnSTB2IDGG3s8eNQ5EyUOqwEOpWHPcB_BHyA/w640-h472/WeChat%20%E5%9C%96%E7%89%87_20230216194055.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;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp; &amp;nbsp; 如上圖，Details_Should_Return_View_With_User方法寫到一半。&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; &amp;nbsp; 使用&quot;continue at 方法名稱&quot;他就會繼續，例如:&quot;continue at Details_Should_Return_View_With_User&quot;。&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/AVvXsEjqwo__DT82FzU67Gmz5NQdcMr6Oa4Lfuo7cL0qzykMT-HMthc80w9NUJ-RcxF-qhlOozM3yLkzIpBI6Z2L16ZZQLqwK7DcLZEpFX7VQ-gGbu91TyNf7wFCwAfDdaMdYiVGLJNLHjWf8QQZ9EoSyi2jbdiIhTw203rYK1gkfTsT08BwN6B7gaj_Lk2j2g/s1100/WeChat%20%E5%9C%96%E7%89%87_20230216194818.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;705&quot; data-original-width=&quot;1100&quot; height=&quot;410&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqwo__DT82FzU67Gmz5NQdcMr6Oa4Lfuo7cL0qzykMT-HMthc80w9NUJ-RcxF-qhlOozM3yLkzIpBI6Z2L16ZZQLqwK7DcLZEpFX7VQ-gGbu91TyNf7wFCwAfDdaMdYiVGLJNLHjWf8QQZ9EoSyi2jbdiIhTw203rYK1gkfTsT08BwN6B7gaj_Lk2j2g/w640-h410/WeChat%20%E5%9C%96%E7%89%87_20230216194818.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; 執行後如上圖，就會接著回答，沒有出現斷掉的狀況。&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://ghaouse.blogspot.com/feeds/6674347453146059424/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ghaouse.blogspot.com/2023/02/chatgpt.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/687497483972251538/posts/default/6674347453146059424'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/687497483972251538/posts/default/6674347453146059424'/><link rel='alternate' type='text/html' href='http://ghaouse.blogspot.com/2023/02/chatgpt.html' title='Chatgpt回答問題到一半怎麼辦?'/><author><name>ghaouse</name><uri>http://www.blogger.com/profile/08774818325963004358</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuPcnOWJPcJ1ynGo9_gBM0J6Xu6uCiBtlsQQnwl3HVFnEbHkr8266p0lMDy7UhzyoEJmVRC1WXxmF-HomkFpBUvfgiOOHNQKO8Mt5k7rR40tVMAmue-R9wnAHH7h11N1MAup6JjUGIk2T1R6bTvIV8eGPnSTB2IDGG3s8eNQ5EyUOqwEOpWHPcB_BHyA/s72-w640-h472-c/WeChat%20%E5%9C%96%E7%89%87_20230216194055.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-687497483972251538.post-5934966154130819703</id><published>2023-01-21T22:57:00.002+08:00</published><updated>2023-01-22T16:06:05.382+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Django"/><category scheme="http://www.blogger.com/atom/ns#" term="python"/><title type='text'>Python Django框架(2) - 虛擬環境(virtualenv\virtualenvwrapper)</title><content type='html'>&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;前言

&lt;/span&gt;&lt;/h3&gt;&lt;div&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;b&gt;virtualenv&lt;/b&gt;是一個創建隔絕的Python環境的工具。virtualenv創建一個包含所有必要的可執行文件的文件夾，用來使用Python工程所需的包。&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;一個操作系統下，可以有多個“操作系統級別的”Python解釋器&lt;/li&gt;&lt;li&gt;每個Python解釋器有一個指向自己的pip工具，兩者一一對應&lt;/li&gt;&lt;li&gt;通過virtualenv可以虛擬任何一個“操作系統級別的”Python解釋器成為一個“虛擬級別”的解釋器&lt;/li&gt;&lt;li&gt;每個“虛擬級別”的解釋器又擁有自己獨立的pip工具和site-packages&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;b&gt;Virtaulenvwrapper&lt;/b&gt;是virtualenv的擴展包，用於更方便管理虛擬環境。&lt;/div&gt;&lt;div&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;virtualenvwrapper提供了一系列命令使得和虛擬環境工作變得便利。它把你所有的虛擬環境都放在一個地方。&lt;/div&gt;&lt;div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;將所有虛擬環境整合在一個目錄下&lt;/li&gt;&lt;li&gt;管理（新增，刪除，複製）虛擬環境&lt;/li&gt;&lt;li&gt;快速切換虛擬環境&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;安裝&lt;b&gt;virtualenv&lt;/b&gt;&lt;/h3&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;
&lt;pre class=&quot;command-line&quot; data-output=&quot;1,3-4,6&quot; data-prompt=&quot;C:\Users\Admin&amp;gt;&quot;&gt;	&lt;code class=&quot;language-bash&quot;&gt;
    # 通过pip安装virtualenv
    pip install virtualenv
    
    # 測試
    virtualenv --version
    virtualenv 20.17.1 from C:\Python\Python311\Lib\site-packages\virtualenv\__init__.py
    &lt;/code&gt;
&lt;/pre&gt;
  &lt;br /&gt;&lt;br /&gt;&lt;/div&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;安裝virtualenvwrapper&lt;/span&gt;&lt;/h3&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;
&lt;pre class=&quot;command-line&quot; data-output=&quot;6&quot; data-prompt=&quot;C:\Users\Admin&amp;gt;&quot;&gt;	&lt;code class=&quot;language-bash&quot;&gt;
    pip install virtualenvwrapper-win　　# Windows使用该命令
    &lt;/code&gt;
&lt;/pre&gt;
  &lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;設定虛擬環境(env)路徑&lt;/h3&gt;&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; 預設路徑在 計算機 -- C盤 -- 用戶 -- 用戶名 -- Envs。&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; Windwos到環境變量設定WORKON_HOME，之後創建的都會到這個目錄下。&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;在 我的電腦-&amp;gt;右鍵-&amp;gt;屬性-&amp;gt;高級系統設置-&amp;gt;環境變量-&amp;gt;系統變量 中添加 WORKON_HOME，設置為新路徑。&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBkGDcty0QfWM-KPcH16QDDWk9JfvNn634Vr39UsUVyEZP9LUeptQRSvmzPxMiU-eXH0pY1CPI8J46Nt00f86TtzT0avDnSCSJ3bgFrdfLxu7IUcT8e59qzmxDEskrf7kOM0EGPbTHYJ6cRTYpPvMDZGhwvoIVj9QIX3xrsjbK9pEqa76FdBStCEBytA/s1417/%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20230121222402.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;991&quot; data-original-width=&quot;1417&quot; height=&quot;448&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBkGDcty0QfWM-KPcH16QDDWk9JfvNn634Vr39UsUVyEZP9LUeptQRSvmzPxMiU-eXH0pY1CPI8J46Nt00f86TtzT0avDnSCSJ3bgFrdfLxu7IUcT8e59qzmxDEskrf7kOM0EGPbTHYJ6cRTYpPvMDZGhwvoIVj9QIX3xrsjbK9pEqa76FdBStCEBytA/w640-h448/%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20230121222402.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;h3&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;使用virtualenvwrapper&lt;/span&gt;&lt;/h3&gt;&lt;/div&gt;&lt;div&gt;&lt;pre class=&quot;command-line&quot; data-output=&quot;1&quot; data-prompt=&quot;C:\Users\Admin&amp;gt;&quot;&gt;	&lt;code class=&quot;language-bash&quot;&gt;
# 創建虛擬環境 # mkvirtualenv 虛擬環境名 # 當有多個python時，最好使用--python
mkvirtualenv --python=C:\Python\Python310\python.exe py310_P20230122_django 
	&lt;/code&gt;
&lt;/pre&gt;
    
&lt;pre class=&quot;command-line&quot; data-prompt=&quot;C:\Users\Admin&amp;gt;&quot;&gt;	&lt;code class=&quot;language-bash&quot;&gt;
    workon # 查看所有虛擬環境
    &lt;/code&gt;
&lt;/pre&gt;

&lt;pre class=&quot;command-line&quot; data-output=&quot;2&quot; data-prompt=&quot;?&quot;&gt;	&lt;code class=&quot;language-bash&quot;&gt;
    C:\Users\Admin&amp;gt; workon py310_P20230120_django # 切換虛擬環境
    (py310_P20230120_django) C:\Users\Admin&amp;gt; 
    &lt;/code&gt;
&lt;/pre&gt;



&lt;pre class=&quot;command-line&quot; data-prompt=&quot;C:\Users\Admin&amp;gt;&quot;&gt;	&lt;code class=&quot;language-bash&quot;&gt;
    deactivate # 退出虛擬環境
    &lt;/code&gt;
&lt;/pre&gt;

&lt;pre class=&quot;command-line&quot; data-prompt=&quot;C:\Users\Admin&amp;gt;&quot;&gt;	&lt;code class=&quot;language-bash&quot;&gt;
    rmvirtualenv py310_P20230120_django # 刪除虛擬環境
    &lt;/code&gt;
&lt;/pre&gt;
&lt;pre class=&quot;command-line&quot; data-prompt=&quot;C:\Users\Admin&amp;gt;&quot;&gt;	&lt;code class=&quot;language-bash&quot;&gt;
    pip list # 查看當前環境安裝的套件
    &lt;/code&gt;
&lt;/pre&gt;

&lt;pre class=&quot;command-line&quot; data-prompt=&quot;C:\Users\Admin&amp;gt;&quot;&gt;	&lt;code class=&quot;language-bash&quot;&gt;
    pip freeze &amp;gt; requirements.txt # 導出已安裝套件
    &lt;/code&gt;
&lt;/pre&gt;

&lt;pre class=&quot;command-line&quot; data-prompt=&quot;C:\Users\Admin&amp;gt;&quot;&gt;	&lt;code class=&quot;language-bash&quot;&gt;
    pip install -r ./requirements.txt # 安裝遷移套件
    &lt;/code&gt;
&lt;/pre&gt;
    &lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;參考&lt;/h4&gt;&lt;div&gt;&lt;a href=&quot;https://www.bilibili.com/video/BV1ep4y1C7EF/?spm_id_from=333.999.0.0&amp;amp;vd_source=213e0ec0098ebcfa87c1485ba9b54ca4&quot;&gt;2 - Django框架之-配置文件_哔哩哔哩_bilibili&lt;/a&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;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ghaouse.blogspot.com/feeds/5934966154130819703/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ghaouse.blogspot.com/2023/01/python-django2-virtualenvvirtualenvwrap.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/687497483972251538/posts/default/5934966154130819703'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/687497483972251538/posts/default/5934966154130819703'/><link rel='alternate' type='text/html' href='http://ghaouse.blogspot.com/2023/01/python-django2-virtualenvvirtualenvwrap.html' title='Python Django框架(2) - 虛擬環境(virtualenv\virtualenvwrapper)'/><author><name>ghaouse</name><uri>http://www.blogger.com/profile/08774818325963004358</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBkGDcty0QfWM-KPcH16QDDWk9JfvNn634Vr39UsUVyEZP9LUeptQRSvmzPxMiU-eXH0pY1CPI8J46Nt00f86TtzT0avDnSCSJ3bgFrdfLxu7IUcT8e59qzmxDEskrf7kOM0EGPbTHYJ6cRTYpPvMDZGhwvoIVj9QIX3xrsjbK9pEqa76FdBStCEBytA/s72-w640-h448-c/%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20230121222402.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-687497483972251538.post-3042520723516491239</id><published>2023-01-21T16:31:00.003+08:00</published><updated>2023-01-21T21:11:19.030+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Javascript"/><title type='text'>使用Prism.js在Blogger插入程式碼</title><content type='html'>
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;HTML&lt;/span&gt;&lt;/b&gt;
&lt;pre snippet-code-html lang-html s-code-block data-language=&quot;html&quot; data-prismjs-copy-error=&quot;複製失敗&quot; data-prismjs-copy-success=&quot;複製成功&quot; data-prismjs-copy=&quot;複製&quot;&gt;	
	&lt;code class=&quot;language-xml line-numbers hljs&quot;&gt;
    	&lt;xmp&gt;
        &lt;pre data-language=&quot;html&quot; data-prismjs-copy-error=&quot;複製失敗&quot; data-prismjs-copy-success=&quot;複製成功&quot; data-prismjs-copy=&quot;複製&quot;&gt;  
            &lt;code class=&quot;language-html line-numbers&quot;&gt;              
              &lt;h1&gt;Test&lt;/h1&gt;
              	&lt;p&gt;Example&lt;/p&gt;
            &lt;/code&gt;
        &lt;/pre&gt;
        &lt;/xmp&gt;
    &lt;/code&gt;
&lt;/pre&gt;
&lt;span&gt;&lt;div&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;效果&lt;/span&gt;
&lt;pre data-language=&quot;html&quot; data-prismjs-copy-error=&quot;複製失敗&quot; data-prismjs-copy-success=&quot;複製成功&quot; data-prismjs-copy=&quot;複製&quot;&gt;  
            &lt;code class=&quot;language-html line-numbers&quot;&gt;
              &lt;xmp&gt;
              &lt;h1&gt;Test&lt;/h1&gt;
              	&lt;p&gt;Example&lt;/p&gt;
              &lt;/xmp&gt;
            &lt;/code&gt;
        &lt;/pre&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;div&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;其他語言&lt;/span&gt;&lt;/b&gt;
&lt;pre data-language=&quot;html&quot; data-prismjs-copy-error=&quot;複製失敗&quot; data-prismjs-copy-success=&quot;複製成功&quot; data-prismjs-copy=&quot;複製&quot;&gt;	&lt;code class=&quot;language-markup line-numbers&quot;&gt;
      &lt;xmp&gt;
&lt;pre data-language=&quot;python&quot; data-prismjs-copy-error=&quot;複製失敗&quot; data-prismjs-copy-success=&quot;複製成功&quot; data-prismjs-copy=&quot;複製&quot;&gt;    &lt;code class=&quot;language-python line-numbers&quot;&gt;
    from django.http import HttpResponse
    from django.shortcuts import render
    from .models import UserInfo, StuInfo

    # Create your views here.
    def home(request):
        return render(request, &quot;home.html&quot;)
    &lt;/code&gt;
&lt;/pre&gt;
		&lt;/xmp&gt;
    &lt;/code&gt;
&lt;/pre&gt;
&lt;span&gt;效果&lt;/span&gt;
&lt;pre data-language=&quot;python&quot; data-prismjs-copy-error=&quot;複製失敗&quot; data-prismjs-copy-success=&quot;複製成功&quot; data-prismjs-copy=&quot;複製&quot;&gt;    &lt;code class=&quot;language-python line-numbers&quot;&gt;
    from django.http import HttpResponse
    from django.shortcuts import render
    from .models import UserInfo, StuInfo

    # Create your views here.
    def home(request):
        return render(request, &quot;home.html&quot;)
    &lt;/code&gt;
&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;命令提示字元&lt;/span&gt;&lt;/b&gt;
&lt;pre data-language=&quot;html&quot; data-prismjs-copy-error=&quot;複製失敗&quot; data-prismjs-copy-success=&quot;複製成功&quot; data-prismjs-copy=&quot;複製&quot;&gt;	&lt;code class=&quot;language-markup line-numbers&quot;&gt;
      &lt;xmp&gt;
&lt;pre class=&quot;command-line&quot; data-prompt=&quot;PS C:\Users\Admin&gt;&quot; data-output=&quot;2-19&quot;&gt;
	&lt;code class=&quot;language-bash&quot;&gt;
    	dir


    Directory: C:\Users\Chris


Mode                LastWriteTime     Length Name
----                -------------     ------ ----
d-r--        10/14/2015   5:06 PM            Contacts
d-r--        12/12/2015   1:47 PM            Desktop
d-r--         11/4/2015   7:59 PM            Documents
d-r--        10/14/2015   5:06 PM            Downloads
d-r--        10/14/2015   5:06 PM            Favorites
d-r--        10/14/2015   5:06 PM            Links
d-r--        10/14/2015   5:06 PM            Music
d-r--        10/14/2015   5:06 PM            Pictures
d-r--        10/14/2015   5:06 PM            Saved Games
d-r--        10/14/2015   5:06 PM            Searches
d-r--        10/14/2015   5:06 PM            Videos
    &lt;/code&gt;
&lt;/pre&gt;
		&lt;/xmp&gt;
    &lt;/code&gt;
&lt;/pre&gt;
&lt;br /&gt;
&lt;span&gt;效果&lt;/span&gt;
&lt;pre class=&quot;command-line&quot; data-prompt=&quot;PS C:\Users\Admin&gt;&quot; data-output=&quot;2-19&quot;&gt;
	&lt;code class=&quot;language-bash&quot;&gt;
    	dir


    Directory: C:\Users\Chris


Mode                LastWriteTime     Length Name
----                -------------     ------ ----
d-r--        10/14/2015   5:06 PM            Contacts
d-r--        12/12/2015   1:47 PM            Desktop
d-r--         11/4/2015   7:59 PM            Documents
d-r--        10/14/2015   5:06 PM            Downloads
d-r--        10/14/2015   5:06 PM            Favorites
d-r--        10/14/2015   5:06 PM            Links
d-r--        10/14/2015   5:06 PM            Music
d-r--        10/14/2015   5:06 PM            Pictures
d-r--        10/14/2015   5:06 PM            Saved Games
d-r--        10/14/2015   5:06 PM            Searches
d-r--        10/14/2015   5:06 PM            Videos
    &lt;/code&gt;
&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;安裝教學&lt;/span&gt;&lt;/b&gt;
&lt;div&gt;&lt;a href=&quot;https://www.ruyut.com/2022/08/blogger-prismjs.html&quot;&gt;在 Blogger 中使用 Prism.js 讓程式碼高亮 (ruyut.com)&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;https://www.ruyut.com/2022/07/prismjs-plugins.html&quot;&gt;Prism.js 推薦套件和使用方式教學 (ruyut.com)&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ghaouse.blogspot.com/feeds/3042520723516491239/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ghaouse.blogspot.com/2023/01/prismjsblogger.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/687497483972251538/posts/default/3042520723516491239'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/687497483972251538/posts/default/3042520723516491239'/><link rel='alternate' type='text/html' href='http://ghaouse.blogspot.com/2023/01/prismjsblogger.html' title='使用Prism.js在Blogger插入程式碼'/><author><name>ghaouse</name><uri>http://www.blogger.com/profile/08774818325963004358</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-687497483972251538.post-7294982154656695718</id><published>2017-10-11T21:58:00.004+08:00</published><updated>2017-10-11T21:58:58.101+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="VMware"/><title type='text'>無法打開虛擬機Console界面 解決方案</title><content type='html'>&lt;b&gt;故障狀況&lt;/b&gt;&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;無法打開虛擬機的Console畫面。&lt;/li&gt;
&lt;li&gt;訪問虛擬機Console畫面時提示如下錯誤：&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;无法获取 &quot;axquickmksaxctl&quot; 控件的窗口句柄. 不支持无窗口的activex 控件。&lt;/li&gt;
&lt;li&gt;Unable to get the window handle for the &quot;AxQuickMksAxCTL&#39; control.&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;訪問Console頁標籤時提示如下錯誤：&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;Exception has been thrown by the target of an invocation.&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;通常這種問題發生在Windows XP、2003、2008和Windows 7系统。&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
&lt;b&gt;故障分析&lt;/b&gt;&lt;br /&gt;
這個問題通常由於Windows系統的DEP策略處於開啟狀態導致。&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;解決方案&lt;/b&gt;&lt;br /&gt;
把系統的DEP策略關閉&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;解決步驟&lt;/b&gt;&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style=&quot;color: #444444; font-family: &amp;quot;verdana&amp;quot;;&quot;&gt;使用管理者打開命令提示字元。&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;Win7 (&lt;a href=&quot;http://jingyan.baidu.com/article/ca41422fff77021eae99ed86.html&quot; target=&quot;_blank&quot;&gt;參考資料&lt;/a&gt;)&lt;/li&gt;
&lt;/ul&gt;
&lt;ol&gt;&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;color: #444444; font-family: &amp;quot;verdana&amp;quot;;&quot;&gt;開始 -&amp;gt; 所有程式 -&amp;gt;&amp;nbsp;&lt;/span&gt;附屬應用程式&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #444444; font-family: &amp;quot;verdana&amp;quot;;&quot;&gt;右鍵&amp;nbsp;&lt;/span&gt;命令提示字元，並選擇 以管理員身份運行&lt;/li&gt;
&lt;/ul&gt;
&lt;/ol&gt;
&lt;ul&gt;
&lt;li&gt;Win8 (&lt;a href=&quot;http://jingyan.baidu.com/article/647f01157739cd7f2048a851.html&quot; target=&quot;_blank&quot;&gt;參考資料&lt;/a&gt;)&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;WIN+X -&amp;gt; 命令提示字元(系統管理員)&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;span style=&quot;color: #444444; font-family: &amp;quot;verdana&amp;quot;;&quot;&gt;執行下述命令關閉&lt;/span&gt;&lt;i&gt;資料執行防止(DEP, Data Execution Prevention)&lt;/i&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;bcdedit.exe /set nx AlwaysOff&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;移除當前的 vCenter Server Client(s)&lt;/li&gt;
&lt;li&gt;重新啟動作業系統&lt;/li&gt;
&lt;li&gt;重新安裝&amp;nbsp;&amp;nbsp;vCenter Server Client(s)&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://ghaouse.blogspot.com/feeds/7294982154656695718/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ghaouse.blogspot.com/2017/10/console.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/687497483972251538/posts/default/7294982154656695718'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/687497483972251538/posts/default/7294982154656695718'/><link rel='alternate' type='text/html' href='http://ghaouse.blogspot.com/2017/10/console.html' title='無法打開虛擬機Console界面 解決方案'/><author><name>ghaouse</name><uri>http://www.blogger.com/profile/08774818325963004358</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-687497483972251538.post-4834347124247914869</id><published>2016-06-27T20:01:00.000+08:00</published><updated>2016-06-27T20:01:46.998+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="理財"/><title type='text'>如何達成財務自由?</title><content type='html'>&lt;h2 style=&quot;text-align: center;&quot;&gt;
標題&lt;/h2&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
如何達成財務自由?&lt;/div&gt;
&lt;h2&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
結論&lt;/div&gt;
&lt;/h2&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 研究(讀書)發現，共同點為未落實理財步驟等眾多原因，只要達成建議作法，相信生活會更好。&lt;br /&gt;
&lt;br /&gt;
&lt;h2 style=&quot;text-align: center;&quot;&gt;
動機&lt;/h2&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 為何現在會被稱為負利率，那是因為許多人把錢存在銀行，但是銀行的年利率卻比通貨膨脹率(可以參考CPI)還要低，造成你的總資產價值越來越低，更甚之，錢存銀行來要繳保管費，如:日本，故如何解決此狀況，將是一項巨大的課題。&lt;br /&gt;
&lt;br /&gt;
&lt;h2 style=&quot;text-align: center;&quot;&gt;
摘要&lt;/h2&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 以「巴比倫富翁的理財課」及一些財務自由書籍的發現有許多共通點。&lt;br /&gt;
&lt;br /&gt;
&lt;h2 style=&quot;text-align: center;&quot;&gt;
建議作法&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;努力工作、持續儲蓄 (目標)&lt;/li&gt;
&lt;br /&gt;&lt;ul&gt;
&lt;li&gt;每個月的儲蓄至少占收入的1/10以上，並長期累積。&lt;/li&gt;
&lt;li&gt;關注自己的事業，制定自己的財務目標。(事業指的是資產，非收入)(財務目標:1年,5年)。&lt;/li&gt;
&lt;li&gt;只要有決心，總能想到辦法(有志者事竟成)。&lt;/li&gt;
&lt;li&gt;只有行動，才有機會。&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;li&gt;克制慾望、節省開銷 (自律)&lt;/li&gt;
&lt;br /&gt;&lt;ul&gt;
&lt;li&gt;每個月的開銷一定要精算，只花必要花費，不能超過收入的9/10。&lt;/li&gt;
&lt;li&gt;找出資產漏洞&lt;/li&gt;
&lt;ul&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;/ul&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;li&gt;勇於投資、以錢滾錢 (投資)&lt;/li&gt;
&lt;br /&gt;&lt;ul&gt;
&lt;li&gt;利用每一分錢賺錢。&lt;/li&gt;
&lt;li&gt;勇於嘗試和犯錯。(從小錢、小規模開始)。&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;li&gt;謹慎理財、避免損失 (風險)&lt;/li&gt;
&lt;br /&gt;&lt;ul&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;/ul&gt;
&lt;br /&gt;
&lt;li&gt;購買房子、長期投資 (資產)&lt;/li&gt;
&lt;br /&gt;&lt;ul&gt;
&lt;li&gt;先貸款買房，有房可以降低生活費。&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;li&gt;未雨綢繆、保障家人 (生活)&lt;/li&gt;
&lt;br /&gt;&lt;ul&gt;
&lt;li&gt;提前存錢為老年生活和家人做好準備。&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;li&gt;增進技能、提升價值 (知識)&lt;/li&gt;
&lt;br /&gt;&lt;ul&gt;
&lt;li&gt;小目標 -&amp;gt; 實現 -&amp;gt; 工作 -&amp;gt; 學習 -&amp;gt; 技能提高 -&amp;gt; 智慧提高 -&amp;gt; 賺更多錢。&lt;/li&gt;
&lt;/ul&gt;
&lt;/ol&gt;
&amp;nbsp; &amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://ghaouse.blogspot.com/feeds/4834347124247914869/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ghaouse.blogspot.com/2016/06/blog-post.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/687497483972251538/posts/default/4834347124247914869'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/687497483972251538/posts/default/4834347124247914869'/><link rel='alternate' type='text/html' href='http://ghaouse.blogspot.com/2016/06/blog-post.html' title='如何達成財務自由?'/><author><name>ghaouse</name><uri>http://www.blogger.com/profile/08774818325963004358</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-687497483972251538.post-5433410862702406105</id><published>2013-05-13T16:51:00.001+08:00</published><updated>2013-05-27T11:06:40.623+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><title type='text'>android 驗證憑證</title><content type='html'>此摘錄文出自&lt;a href=&quot;http://www.eoeandroid.com/thread-197276-1-1.html&quot;&gt;http://www.eoeandroid.com/thread-197276-1-1.html&lt;/a&gt;，由於找的太辛苦，所以複製一份。
&lt;br /&gt;
android中進行https連接方法


&lt;br /&gt;
如果是忽略憑證的做法
&lt;br /&gt;
&lt;pre class=&quot;brush: java;&quot;&gt;public class Demo extends Activity {
    /** Called when the activity is first created. */
    private TextView text;
    
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        text = (TextView)findViewById(R.id.text);
        GetHttps();
    }
        
    private void GetHttps(){
        String https = &quot; https://800wen.com/&quot;;
        try{
            SSLContext sc = SSLContext.getInstance(&quot;TLS&quot;);
            sc.init(null, new TrustManager[]{new MyTrustManager()}, new SecureRandom());
            HttpsURLConnection.setDefaultSSLSocketFactory(sc.getSocketFactory());
            HttpsURLConnection.setDefaultHostnameVerifier(new MyHostnameVerifier());
            HttpsURLConnection conn = (HttpsURLConnection)new URL(https).openConnection();
            conn.setDoOutput(true);
            conn.setDoInput(true);
            conn.connect();
                        
            BufferedReader br = new BufferedReader(new InputStreamReader(conn.getInputStream())); 
            StringBuffer sb = new StringBuffer(); 
            String line; 
            while ((line = br.readLine()) != null) 
                sb.append(line); 
                        
            text.setText(sb.toString());
                        
        }catch(Exception e){
            Log.e(this.getClass().getName(), e.getMessage());
        }
    }
        
    private class MyHostnameVerifier implements HostnameVerifier{

        @Override
        public boolean verify(String hostname, SSLSession session) {
            // TODO Auto-generated method stub
            return true;
        }
    }
        
    private class MyTrustManager implements X509TrustManager{

        @Override
        public void checkClientTrusted(X509Certificate[] chain, String authType) throws CertificateException {
            // TODO Auto-generated method stub
        }

        @Override
        public void checkServerTrusted(X509Certificate[] chain, String authType) throws CertificateException {
            // TODO Auto-generated method stub
        }

        @Override
        public X509Certificate[] getAcceptedIssuers() {
            // TODO Auto-generated method stub
            return null;
        }        
    }  
}

&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
需要驗證憑證
&lt;br /&gt;
&lt;pre class=&quot;brush: java;&quot;&gt;AssetManager am = context.getAssets();
InputStream ins = am.open(&quot;robusoft.cer&quot;);
try {
 //讀取證書
 CertificateFactory cerFactory = CertificateFactory.getInstance(&quot;X.509&quot;);  //問題1
 Certificate cer = cerFactory.generateCertificate(ins);
 //創建一個證書庫，並將證書導入證書庫
 KeyStore keyStore = KeyStore.getInstance(&quot;PKCS12&quot;, &quot;BC&quot;);   //問題2
 keyStore.load(null, null);
 keyStore.setCertificateEntry(&quot;trust&quot;, cer);
 return keyStore;
} finally {
 ins.close();
}
//把證書庫作為信任的證書庫
SSLSocketFactory socketFactory = new SSLSocketFactory(keystore);
Scheme sch = new Scheme(&quot;https&quot;, socketFactory, 443);
//完工
HttpClient mHttpClient = new DefaultHttpClient();
mHttpClient.getConnectionManager().getSchemeRegistry().register(sch);

&lt;/pre&gt;
问1：这里用&quot;PKCS12&quot;不行 &lt;br /&gt;
&lt;span style=&quot;color: #ff00;&quot;&gt;答1：PKCS12和JKS是keystore的type，不是Certificate的type，所以X.509不能用PKCS12代替&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
问2：这里用&quot;JKS&quot;不行。&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #ff00;&quot;&gt;答2：android平台上支持的keystore type好像只有PKCS12，不支持JKS，所以不能用JKS代替在PKCS12，不过在windows平台上是可以代替的&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #ff00;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: #ff00;&quot;&gt;＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝&lt;/span&gt;&lt;br /&gt;
對我來說有用的方法&lt;br /&gt;
http://www.eoeandroid.com/thread-161747-1-1.html</content><link rel='replies' type='application/atom+xml' href='http://ghaouse.blogspot.com/feeds/5433410862702406105/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ghaouse.blogspot.com/2013/05/httpwww.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/687497483972251538/posts/default/5433410862702406105'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/687497483972251538/posts/default/5433410862702406105'/><link rel='alternate' type='text/html' href='http://ghaouse.blogspot.com/2013/05/httpwww.html' title='android 驗證憑證'/><author><name>ghaouse</name><uri>http://www.blogger.com/profile/08774818325963004358</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-687497483972251538.post-8171467304726665419</id><published>2013-04-08T17:25:00.000+08:00</published><updated>2013-04-08T17:25:04.589+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="XAMPP"/><title type='text'>一條網址連到不同資料夾目錄</title><content type='html'>在XAMPP中&lt;br /&gt;
今天我有一個domain(www.test.com)&lt;br /&gt;
下面有兩個資料夾Login和Upload&lt;br /&gt;
其中www.test.com連進來的時候會進入Login/index.php&lt;br /&gt;
但是我想進入www.test.com/Upload的時候該怎麼做呢?&lt;br /&gt;
&lt;br /&gt;
到C:\xampp\apache\conf\extra\httpd-vhost.conf 加入以下這段(但需要修改成自己的)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;VirtualHost &lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;www.test.com&lt;/b&gt;&lt;/span&gt;:80&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; ServerAdmin postmaster@dummy-host.localhost&lt;br /&gt;
&amp;nbsp; &amp;nbsp; DocumentRoot &quot;C:/xampp/htdocs/&lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;Login&lt;/b&gt;&lt;/span&gt;&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; ServerName &lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;www.test.com&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; ServerAlias &lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;www.test.com&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; ErrorLog &quot;logs/dummy-host.localhost-error.log&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; CustomLog &quot;logs/dummy-host.localhost-access.log&quot; combined&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&lt;br /&gt;
&lt;span style=&quot;color: lime;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; ##重點靠這個來存取不同的資料夾&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;IfModule alias_module&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Alias /&lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;Upload&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&quot;C:/xampp/&lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;htdocs/Upload&lt;/b&gt;&lt;/span&gt;&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;Directory &quot;C:/xampp/&lt;b style=&quot;color: red;&quot;&gt;htdocs/Upload&lt;/b&gt;&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AllowOverride AuthConfig&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Require all granted&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/Directory&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;注意:我沒測試過，這是別人的想法，以後有時間再測，有經驗的人可以給建議，謝謝&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ghaouse.blogspot.com/feeds/8171467304726665419/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ghaouse.blogspot.com/2013/04/blog-post.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/687497483972251538/posts/default/8171467304726665419'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/687497483972251538/posts/default/8171467304726665419'/><link rel='alternate' type='text/html' href='http://ghaouse.blogspot.com/2013/04/blog-post.html' title='一條網址連到不同資料夾目錄'/><author><name>ghaouse</name><uri>http://www.blogger.com/profile/08774818325963004358</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-687497483972251538.post-2462709600842777599</id><published>2013-02-25T09:11:00.002+08:00</published><updated>2013-02-25T09:12:13.082+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="HTML"/><category scheme="http://www.blogger.com/atom/ns#" term="PHP"/><title type='text'>網頁亂碼或問號問題</title><content type='html'>網頁(UTF-8) 於 瀏覽器 出現亂碼解法&lt;a href=&quot;http://blog.longwin.com.tw/2009/07/html-utf8-browser-encoding-solution-2009/&quot;&gt;http://blog.longwin.com.tw/2009/07/html-utf8-browser-encoding-solution-2009/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
解決 PHP/mySQL 資料庫讀取中文顯示亂碼或問號&lt;a href=&quot;http://www.mrmu.com.tw/2011/01/09/php-mysql-utf8-unicode/&quot;&gt;http://www.mrmu.com.tw/2011/01/09/php-mysql-utf8-unicode/&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ghaouse.blogspot.com/feeds/2462709600842777599/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ghaouse.blogspot.com/2013/02/blog-post.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/687497483972251538/posts/default/2462709600842777599'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/687497483972251538/posts/default/2462709600842777599'/><link rel='alternate' type='text/html' href='http://ghaouse.blogspot.com/2013/02/blog-post.html' title='網頁亂碼或問號問題'/><author><name>ghaouse</name><uri>http://www.blogger.com/profile/08774818325963004358</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-687497483972251538.post-479530165351025934</id><published>2012-12-24T11:08:00.005+08:00</published><updated>2012-12-26T15:49:21.402+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="雜記"/><title type='text'>Google Site (協作平台) 留言板製作</title><content type='html'>&amp;nbsp; &amp;nbsp; Google Site 到現在還是沒有提供留言的gadget，雖然他有一個&quot;Comment&quot;的回覆功能，中文稱&quot;註解&quot;，但是需要使用google帳號，並且還要被加入到此Site權限中才可留言使用。&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;/ol&gt;
在網路上我也只有找到用iframe + 免費留言版的方式加入至Google Site&lt;br /&gt;
&lt;b&gt;&lt;i&gt;以下為主要步驟&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;&lt;b&gt;&lt;i&gt;至&lt;a href=&quot;http://www.tovery.net/&quot;&gt;tovery&lt;/a&gt;申請免費的留言板&lt;/i&gt;&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;&lt;i&gt;至&lt;a href=&quot;http://blog.wahahajk.com/2009/05/google-sitesiframe.html&quot;&gt;iframe教學&lt;/a&gt;加入iframe，並把留言板的網址加入進來即可&lt;/i&gt;&lt;/b&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
詳細步驟&lt;/div&gt;
&lt;div&gt;
未來將會詳細介紹...&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ghaouse.blogspot.com/feeds/479530165351025934/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ghaouse.blogspot.com/2012/12/google-site.html#comment-form' title='9 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/687497483972251538/posts/default/479530165351025934'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/687497483972251538/posts/default/479530165351025934'/><link rel='alternate' type='text/html' href='http://ghaouse.blogspot.com/2012/12/google-site.html' title='Google Site (協作平台) 留言板製作'/><author><name>ghaouse</name><uri>http://www.blogger.com/profile/08774818325963004358</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>9</thr:total></entry><entry><id>tag:blogger.com,1999:blog-687497483972251538.post-7850820905131069444</id><published>2012-11-24T17:38:00.000+08:00</published><updated>2012-11-24T17:38:08.750+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CSS"/><title type='text'>什麼是margin與padding?</title><content type='html'>&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;padding =&amp;gt; 邊界內側到內容之間的留白，可以設定背景。&lt;/li&gt;
&lt;li&gt;margin =&amp;gt; 邊界外側區域。&lt;/li&gt;
&lt;/ul&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/AVvXsEh4hMTg-KwEuYoyvitBczEJdElVLOn6YYdX45rhJtoVOWmSYkDtP7WQ-h-iCDq1YrhQyhgIMgrXSizYGxwc6ZF-3U-kFJjTKuWoqBIuMYMBwMAf8uo2ieBO0OHbD1eFpNX4eO7xj0_d7P0u/s1600/margin&amp;amp;padding.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/AVvXsEh4hMTg-KwEuYoyvitBczEJdElVLOn6YYdX45rhJtoVOWmSYkDtP7WQ-h-iCDq1YrhQyhgIMgrXSizYGxwc6ZF-3U-kFJjTKuWoqBIuMYMBwMAf8uo2ieBO0OHbD1eFpNX4eO7xj0_d7P0u/s1600/margin&amp;amp;padding.png&quot; height=&quot;444&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
例子&lt;br /&gt;
&amp;nbsp; &amp;nbsp; 以人的身體來比喻，骨頭就是區塊內容，皮膚就是邊框，肌肉是padding，人與人之間就是margin。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://ghaouse.blogspot.com/feeds/7850820905131069444/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ghaouse.blogspot.com/2012/11/marginpadding.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/687497483972251538/posts/default/7850820905131069444'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/687497483972251538/posts/default/7850820905131069444'/><link rel='alternate' type='text/html' href='http://ghaouse.blogspot.com/2012/11/marginpadding.html' title='什麼是margin與padding?'/><author><name>ghaouse</name><uri>http://www.blogger.com/profile/08774818325963004358</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4hMTg-KwEuYoyvitBczEJdElVLOn6YYdX45rhJtoVOWmSYkDtP7WQ-h-iCDq1YrhQyhgIMgrXSizYGxwc6ZF-3U-kFJjTKuWoqBIuMYMBwMAf8uo2ieBO0OHbD1eFpNX4eO7xj0_d7P0u/s72-c/margin&amp;padding.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-687497483972251538.post-6239026534375463802</id><published>2012-11-24T16:57:00.001+08:00</published><updated>2012-11-24T20:39:50.314+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C/C++"/><category scheme="http://www.blogger.com/atom/ns#" term="CSS"/><category scheme="http://www.blogger.com/atom/ns#" term="HTML"/><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><category scheme="http://www.blogger.com/atom/ns#" term="Javascript"/><category scheme="http://www.blogger.com/atom/ns#" term="PHP"/><category scheme="http://www.blogger.com/atom/ns#" term="python"/><title type='text'>程式註解範例</title><content type='html'>&lt;b&gt;HTML&lt;/b&gt;
&lt;pre class=&quot;brush: html&quot;&gt;
&amp;lt;!-- 這是註解 --&amp;gt;
&lt;/pre&gt;
&lt;b&gt;CSS&lt;/b&gt;
&lt;pre class=&quot;brush: css&quot;&gt;
/*&amp;nbsp;這是註解 */
&lt;/pre&gt;
&lt;b&gt;Javascript&lt;/b&gt;
&lt;pre class=&quot;brush: javascript&quot;&gt;
// 單行註解
/* 多行註解 */
&lt;/pre&gt;
&lt;b&gt;PHP&lt;/b&gt;
&lt;pre class=&quot;brush: php&quot;&gt;
// 單行註解
/* 多行註解 */
&lt;/pre&gt;
&lt;b&gt;C/C++&lt;/b&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: cpp&quot;&gt;
// 單行註解
/* 多行註解 */
&lt;/pre&gt;
&lt;b&gt;Java&lt;/b&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: java&quot;&gt;
// 單行註解
/* 多行註解 */
&lt;/pre&gt;
&lt;b&gt;Python&lt;/b&gt;
&lt;pre class=&quot;brush: python&quot;&gt;
# 單行註解
&#39;&#39;&#39; 多行註解 &#39;&#39;&#39;
&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ghaouse.blogspot.com/feeds/6239026534375463802/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ghaouse.blogspot.com/2012/11/blog-post_24.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/687497483972251538/posts/default/6239026534375463802'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/687497483972251538/posts/default/6239026534375463802'/><link rel='alternate' type='text/html' href='http://ghaouse.blogspot.com/2012/11/blog-post_24.html' title='程式註解範例'/><author><name>ghaouse</name><uri>http://www.blogger.com/profile/08774818325963004358</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-687497483972251538.post-6164867436284719065</id><published>2012-11-24T16:51:00.000+08:00</published><updated>2012-11-24T16:51:33.882+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="HTML"/><title type='text'>HTML 標籤介紹</title><content type='html'>&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;HTML 大致分為&amp;lt;head&amp;gt;與&amp;lt;body&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&amp;lt;head&amp;gt; 描述文章標題等資訊，不會顯示在瀏覽器上。&lt;/li&gt;
&lt;li&gt;&amp;lt;body&amp;gt; 描述顯示在瀏覽器上的內容。&lt;/li&gt;
&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;&lt;b&gt;在head標籤中，常用的標籤&lt;/b&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&amp;lt;title&amp;gt; 指定網頁標題。&lt;/li&gt;
&lt;li&gt;&amp;lt;meta&amp;gt; 指定網頁附加資訊(作者、關鍵字、簡介)。&lt;/li&gt;
&lt;li&gt;&amp;lt;link&amp;gt; 指定網頁檔案之間的關係。&lt;/li&gt;
&lt;li&gt;&amp;lt;script&amp;gt; 讀入腳本。一般為javascript，但也有phthon等script。&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;b&gt;在body標籤中，常用的標籤&lt;/b&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;[區塊標籤]&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&amp;lt;h1&amp;gt;~&amp;lt;h6&amp;gt; 標題。數字越小階層越高。&lt;/li&gt;
&lt;li&gt;&amp;lt;p&amp;gt; 段落。用來指定構成一段文章的文字&lt;/li&gt;
&lt;li&gt;&amp;lt;ul&amp;gt; 條列。&lt;/li&gt;
&lt;li&gt;&amp;lt;li&amp;gt; 無順序之條列項目。&lt;/li&gt;
&lt;li&gt;&amp;lt;ol&amp;gt; 有順序之條列項目。&lt;/li&gt;
&lt;li&gt;&amp;lt;div&amp;gt; 把特定範圍內容指定為同一群組。&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;/ol&gt;
&lt;ol&gt;&lt;ul&gt;
&lt;li&gt;[內文標籤]&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&amp;lt;a&amp;gt; 連結。&lt;/li&gt;
&lt;li&gt;&amp;lt;br&amp;gt; 換行。&lt;/li&gt;
&lt;li&gt;&amp;lt;img&amp;gt; 圖片。&lt;/li&gt;
&lt;li&gt;&amp;lt;em&amp;gt; 強調。可強調任何文字。&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;/ol&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;標籤介紹&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;右邊為連結範例 =&amp;gt;&lt;span style=&quot;background-color: #d5a6bd;&quot;&gt; &lt;/span&gt;&lt;i&gt;&lt;span style=&quot;background-color: #d5a6bd;&quot;&gt;&amp;lt;a &lt;span style=&quot;color: blue;&quot;&gt;href&lt;/span&gt;=&quot;&lt;span style=&quot;color: blue;&quot;&gt;www.google.com.tw&lt;/span&gt;&quot;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: lime;&quot;&gt;Google&lt;/span&gt;&lt;span style=&quot;background-color: #d5a6bd;&quot;&gt;&amp;lt;/a&amp;gt;&lt;/span&gt;&lt;/i&gt;&lt;/li&gt;
&lt;li&gt;解釋 =&amp;gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&amp;lt;a href=&quot;www.google.com.tw&quot;&amp;gt;Google&amp;lt;/a&amp;gt; =&amp;gt; 我們稱為&quot;標籤&quot;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: #d5a6bd;&quot;&gt;&amp;lt;a href=&quot;www.google.com.tw&quot;&amp;gt;&lt;/span&gt; =&amp;gt; 開始標籤&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: #d5a6bd;&quot;&gt;&amp;lt;/a&amp;gt;&lt;/span&gt; =&amp;gt; 結束標籤&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: blue;&quot;&gt;href&lt;/span&gt; =&amp;gt; 屬性名稱&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: blue;&quot;&gt;www.google.com.tw&lt;/span&gt; =&amp;gt; 值&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: lime;&quot;&gt;Google&lt;/span&gt; =&amp;gt; 標籤內容&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&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;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ghaouse.blogspot.com/feeds/6164867436284719065/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ghaouse.blogspot.com/2012/11/html.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/687497483972251538/posts/default/6164867436284719065'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/687497483972251538/posts/default/6164867436284719065'/><link rel='alternate' type='text/html' href='http://ghaouse.blogspot.com/2012/11/html.html' title='HTML 標籤介紹'/><author><name>ghaouse</name><uri>http://www.blogger.com/profile/08774818325963004358</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-687497483972251538.post-6669755361594777624</id><published>2012-11-24T15:49:00.005+08:00</published><updated>2012-11-24T15:49:55.506+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="雜記"/><title type='text'>影像格式使用時機?</title><content type='html'>&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;相片使用JPEG&lt;/li&gt;
&lt;li&gt;單色Logo與簡單的圖案使用PNG或GIF&lt;/li&gt;
&lt;li&gt;製作動畫用GIF&lt;/li&gt;
&lt;li&gt;製作透明效果用PNG&lt;/li&gt;
&lt;/ol&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ghaouse.blogspot.com/feeds/6669755361594777624/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ghaouse.blogspot.com/2012/11/blog-post.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/687497483972251538/posts/default/6669755361594777624'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/687497483972251538/posts/default/6669755361594777624'/><link rel='alternate' type='text/html' href='http://ghaouse.blogspot.com/2012/11/blog-post.html' title='影像格式使用時機?'/><author><name>ghaouse</name><uri>http://www.blogger.com/profile/08774818325963004358</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-687497483972251538.post-7264488087039033074</id><published>2012-11-23T00:47:00.001+08:00</published><updated>2012-11-23T00:47:32.167+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><title type='text'>Android 框架提供的功能概述</title><content type='html'>&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;android.app : 提供高層的程式模型與基本的執行環境。&lt;/li&gt;
&lt;li&gt;android.content : 包含各種裝置上的資料進行存取與發佈。&lt;/li&gt;
&lt;li&gt;android.database : 透過內容提供者瀏覽和操作資料庫。&lt;/li&gt;
&lt;li&gt;android.graphics : 底層的圖形函式庫，包含畫布、顏色過濾、點、矩形，可以將他們直接繪製到螢幕上。&lt;/li&gt;
&lt;li&gt;android.location : 定位和相關服務的類別。&lt;/li&gt;
&lt;li&gt;android.media : 管理多媒體、視訊的媒體介面。&lt;/li&gt;
&lt;li&gt;android.net : 網路存取相關。&lt;/li&gt;
&lt;li&gt;android.os : 提供系統服務、訊息傳輸和IPC個人電腦標準。&lt;/li&gt;
&lt;li&gt;android.opengl : 提供OpenGL的工具。&lt;/li&gt;
&lt;li&gt;android.provider : 存取Android內容提供者。&lt;/li&gt;
&lt;li&gt;android.telephony : 打電話相關。&lt;/li&gt;
&lt;li&gt;android.view : 使用者介面相關。&lt;/li&gt;
&lt;li&gt;android.util : 工具性的方法。例如時間日期的操作。&lt;/li&gt;
&lt;li&gt;android.webkit : 預設瀏覽器操作介面。&lt;/li&gt;
&lt;li&gt;android.widget : 提供各種UI元素，在應用程式的版面沛置中使用。&lt;/li&gt;
&lt;/ul&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ghaouse.blogspot.com/feeds/7264488087039033074/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ghaouse.blogspot.com/2012/11/android.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/687497483972251538/posts/default/7264488087039033074'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/687497483972251538/posts/default/7264488087039033074'/><link rel='alternate' type='text/html' href='http://ghaouse.blogspot.com/2012/11/android.html' title='Android 框架提供的功能概述'/><author><name>ghaouse</name><uri>http://www.blogger.com/profile/08774818325963004358</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-687497483972251538.post-2389270699051437705</id><published>2012-11-19T10:12:00.000+08:00</published><updated>2012-11-19T10:12:05.292+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="PHP"/><title type='text'>php 如何關閉錯誤訊息</title><content type='html'>&lt;pre class=&quot;brush:php&quot;&gt;&amp;lt;?php 
// 關閉錯誤訊息
error_reporting(0);

// 報告所有錯誤
error_reporting(-1);

// 報告所有錯誤(see changelog)
error_reporting(E_ALL);

// 報告執行期間的錯誤
error_reporting(E_ERROR | E_WARNING | E_PARSE);

// 報告除了Notice之外的錯誤
error_reporting(E_ALL ^ E_NOTICE);
?&amp;gt;
&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://ghaouse.blogspot.com/feeds/2389270699051437705/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ghaouse.blogspot.com/2012/11/php_6025.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/687497483972251538/posts/default/2389270699051437705'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/687497483972251538/posts/default/2389270699051437705'/><link rel='alternate' type='text/html' href='http://ghaouse.blogspot.com/2012/11/php_6025.html' title='php 如何關閉錯誤訊息'/><author><name>ghaouse</name><uri>http://www.blogger.com/profile/08774818325963004358</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-687497483972251538.post-8701459158493702359</id><published>2012-11-19T09:54:00.000+08:00</published><updated>2012-11-19T09:54:11.277+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="PHP"/><title type='text'>php 可變動函式</title><content type='html'>&amp;nbsp; &amp;nbsp; 可變動函式（variable function）是指我們可以動態設定函式的名稱，簡單來說，當我們的變數後面有（）時，php就會去找出對應的function來執行。
&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush:php&quot;&gt;&amp;lt;?php
    function Afunc($a) {
        echo &quot;我是A&quot;.$a;
    }
    function Bfunc($b) {
        echo &quot;我是B&quot;.$b;
    }

    $func = &#39;Afunc&#39;;
    $func(100);
    $func = &#39;Bfunc&#39;;
    $func(1);
?&amp;gt;
&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ghaouse.blogspot.com/feeds/8701459158493702359/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ghaouse.blogspot.com/2012/11/php_19.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/687497483972251538/posts/default/8701459158493702359'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/687497483972251538/posts/default/8701459158493702359'/><link rel='alternate' type='text/html' href='http://ghaouse.blogspot.com/2012/11/php_19.html' title='php 可變動函式'/><author><name>ghaouse</name><uri>http://www.blogger.com/profile/08774818325963004358</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-687497483972251538.post-3441459223864329628</id><published>2012-11-19T09:33:00.001+08:00</published><updated>2012-11-19T09:55:16.239+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="PHP"/><title type='text'>php 錯誤控制運算子 ＠</title><content type='html'>當我們在運算式前加入錯誤控制運算子 ＠ 時，運算是所可能產生的錯誤訊息就會被忽略。&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: php;html-script: true&quot;&gt;&amp;lt;?php
    $f = @file(&quot;C:\helloworld.php&quot;);
?&amp;gt;
&lt;/pre&gt;
&lt;br /&gt;
當C:\helloworld.php不存在時，正常情況下會有錯誤訊息。但是有 ＠ 就不會有！&lt;br /&gt;
&lt;br /&gt;
ps：＠ 不能放在函式定義、類別定義或流程控制等敘述的前面。&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://ghaouse.blogspot.com/feeds/3441459223864329628/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ghaouse.blogspot.com/2012/11/php.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/687497483972251538/posts/default/3441459223864329628'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/687497483972251538/posts/default/3441459223864329628'/><link rel='alternate' type='text/html' href='http://ghaouse.blogspot.com/2012/11/php.html' title='php 錯誤控制運算子 ＠'/><author><name>ghaouse</name><uri>http://www.blogger.com/profile/08774818325963004358</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-687497483972251538.post-371050866385687736</id><published>2012-08-13T20:35:00.001+08:00</published><updated>2013-06-12T20:03:25.128+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="雜記"/><title type='text'>學長的正規表示法測試頁</title><content type='html'>此為記錄學長寫的網頁，協助正快使用正規&lt;br /&gt;
原本連結網址&amp;nbsp;&lt;a href=&quot;http://140.134.26.7/~ma/re.htm&quot;&gt;http://140.134.26.7/~ma/re.htm&lt;/a&gt;&lt;br /&gt;
以下輸入不方便是正常的，有空再改進....&lt;br /&gt;
&lt;br /&gt;
另外一個可以測試javascript的網頁&lt;br /&gt;
&lt;a href=&quot;http://jsfiddle.net/&quot;&gt;http://jsfiddle.net/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;title&gt;RegExp Tester for JavaScript&lt;/title&gt;
&lt;style&gt;
body{font-family:細明體; font-size:13px;}
input{font-family:tahoma; font-size:13px; margin-top:5px;}
&lt;/style&gt;
&lt;script&gt;

(function()
{
var MyOnLoad=function($)
{
 window.$=$;
 $(&#39;regex&#39;).focus();
}

if(window.addEventListener)
 window.addEventListener(&#39;load&#39;,function(){MyOnLoad(MySelector)},false);
else if(window.attachEvent)
 window.attachEvent(&#39;onload&#39;,function(){MyOnLoad(MySelector)});

var MySelector=function(selector)
{
 var s,st,sel=selector||&#39;&#39;;
 var i,ot,ret;

 st=sel.match(/(^[#@]?)([\w$]+)/);
 if(st&amp;&amp;st.length&gt;=3)
 {
  s=st[2];
  st=st[1];
 }
 else
  return null;

 switch(st)
 {
  case &#39;&#39;:
   ot=document.getElementById(s);
   break;
  case &#39;#&#39;:
   ot=document.getElementsByTagName(s);
   break;
  case &#39;@&#39;:
   ot=document.getElementsByName(s);
   break;
 }
 return ot;
}
})();

function demo(callBack)
{
 if(!(reg=RegExpCheck($(&#39;regex&#39;).value)))
  return false;

 callBack();
}

function demoMatchClick()
{
 $(&#39;result&#39;).value=reg.test($(&#39;subject&#39;).value)?&#39;True&#39;:&#39;False&#39;;
}

function demoShowMatchClick()
{
 var m=$(&#39;subject&#39;).value.match(reg);

 if(m)
 {
  var s=&#39;Match Number: &#39;+m.length+&#39;\n&#39;;

  for(var i=0;i&lt;m.length;i++)
   s+=m[i]+&#39;\n&#39;;

  $(&#39;result&#39;).value=s;
 }
 else
  $(&#39;result&#39;).value=&#39;No Match!&#39;
}

function demoReplaceClick()
{
 $(&#39;result&#39;).value=$(&#39;subject&#39;).value.replace(reg,$(&#39;replacement&#39;).value.replace(/\\n/g,String.fromCharCode(13)));
}

function ReplaceEachClick()
{
 var r=$(&#39;replacement&#39;).value.replace(/\\n/g,String.fromCharCode(13));
 var m=$(&#39;subject&#39;).value.match(reg);
 var t;
 var enter=$(&#39;chk_newline&#39;).checked?String.fromCharCode(13):&#39;&#39;;

 if(m)
 {
  var s=&#39;&#39;;

  for(var i=0;t=m[i];i++)
   s+=t.replace(reg,r)+enter;

  $(&#39;result&#39;).value=s;
 }
 else
 $(&#39;result&#39;).value=&#39;No Match to Replace!&#39;
}

function RegExpCheck(R)
{
 var t,reg;

 try
 {
  t=R.match(/^\/(.*)\/([\w]*)$/);
  reg=new RegExp(t[1],t[2]);
  $(&#39;showRegex&#39;).innerHTML=&#39;‧Regular Expression: &#39;+reg.toString().replace(/&lt;/g,&#39;&amp;lt;&#39;).replace(/&gt;/g,&#39;&amp;gt;&#39;).replace(/ /g,&#39;&amp;nbsp;&#39;);
  return reg;
 }
 catch(e)
 {
  $(&#39;result&#39;).value=&#39;Illegal Regular Expression&#39;;
  $(&#39;regex&#39;).focus();
  return false;
 }
}

&lt;/script&gt;


RegExp: &lt;input autocomplete=&quot;off&quot; id=&quot;regex&quot; onkeydown=&quot;(event.which?event.which:event.keyCode)==13?demo(demoShowMatchClick):null;&quot; size=&quot;100&quot; type=&quot;text&quot; value=&quot;//&quot; /&gt;&lt;br /&gt;
Replace &lt;input autocomplete=&quot;off&quot; id=&quot;replacement&quot; onkeydown=&quot;(event.which?event.which:event.keyCode)==13?demo(demoReplaceClick):null;&quot; size=&quot;100&quot; type=&quot;text&quot; /&gt; &lt;a href=&quot;http://www.visibone.com/regular-expressions/&quot; target=&quot;_blank&quot;&gt;Regular Expression Reference&lt;/a&gt;&lt;br /&gt;
Control 
&lt;input onclick=&quot;demo(demoShowMatchClick)&quot; type=&quot;button&quot; value=&quot;Show Match&quot; /&gt;
&lt;input onclick=&quot;demo(demoMatchClick)&quot; type=&quot;button&quot; value=&quot;Test Match&quot; /&gt;
&lt;input onclick=&quot;demo(demoReplaceClick)&quot; type=&quot;button&quot; value=&quot;Replace&quot; /&gt;
&lt;input onclick=&quot;demo(ReplaceEachClick)&quot; type=&quot;button&quot; value=&quot;Replace Each Match&quot; /&gt;
&lt;input checked=&quot;checked&quot; id=&quot;chk_newline&quot; type=&quot;checkbox&quot; /&gt; New Line
&lt;span id=&quot;showRegex&quot; style=&quot;color: grey; font-family: tahoma; font-size: 14px; font-weight: bold;&quot;&gt;&lt;/span&gt;

String: &lt;textarea cols=&quot;100&quot; id=&quot;subject&quot; rows=&quot;18&quot;&gt;&lt;/textarea&gt;&lt;br /&gt;
Result: &lt;textarea cols=&quot;100&quot; id=&quot;result&quot; rows=&quot;18&quot;&gt;&lt;/textarea&gt;</content><link rel='replies' type='application/atom+xml' href='http://ghaouse.blogspot.com/feeds/371050866385687736/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ghaouse.blogspot.com/2012/08/blog-post.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/687497483972251538/posts/default/371050866385687736'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/687497483972251538/posts/default/371050866385687736'/><link rel='alternate' type='text/html' href='http://ghaouse.blogspot.com/2012/08/blog-post.html' title='學長的正規表示法測試頁'/><author><name>ghaouse</name><uri>http://www.blogger.com/profile/08774818325963004358</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-687497483972251538.post-7148305808891889655</id><published>2012-08-07T22:02:00.000+08:00</published><updated>2012-08-07T22:02:33.714+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><title type='text'>zxing 問題</title><content type='html'>今天在使用zxing時發生一些問題，在此記錄問題與解決方法

&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style=&quot;color: red;&quot;&gt;Failed to install *.apk on device *: timeout&lt;/span&gt;&lt;/li&gt;
好吧，其實第一個和zxing沒關係，但是我還是記錄一下  
&lt;br /&gt;
&lt;a href=&quot;http://stackoverflow.com/questions/4775603/android-error-failed-to-install-apk-on-device-timeout&quot;&gt;http://stackoverflow.com/questions/4775603/android-error-failed-to-install-apk-on-device-timeout&lt;/a&gt; 
&lt;br /&gt;
&lt;a href=&quot;http://http//www.cnblogs.com/not-code/archive/2011/05/20/2052211.html&quot;&gt;http://http://www.cnblogs.com/not-code/archive/2011/05/20/2052211.html&lt;/a&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;li&gt;&lt;span style=&quot;color: red;&quot;&gt;Caused by: java.lang.NoClassDefFoundError:com.google.zxing.ResultMetadataType&lt;/span&gt;
&lt;a href=&quot;http://blog.sina.com.cn/s/blog_67d95f400100z9f4.html&quot;&gt;http://blog.sina.com.cn/s/blog_67d95f400100z9f4.html&lt;/a&gt;&lt;/li&gt;
&lt;br /&gt;
&lt;li&gt;&lt;span style=&quot;color: red;&quot;&gt;case R.id.auto_focus:&amp;nbsp;&quot;case expressions must be constant expressions&quot; 在CaptureActivityHandler.java&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
把那些switch case 改成 if else就行拉！ &lt;/ol&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ghaouse.blogspot.com/feeds/7148305808891889655/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ghaouse.blogspot.com/2012/08/zxing.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/687497483972251538/posts/default/7148305808891889655'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/687497483972251538/posts/default/7148305808891889655'/><link rel='alternate' type='text/html' href='http://ghaouse.blogspot.com/2012/08/zxing.html' title='zxing 問題'/><author><name>ghaouse</name><uri>http://www.blogger.com/profile/08774818325963004358</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-687497483972251538.post-3639864056477797651</id><published>2012-08-06T21:19:00.000+08:00</published><updated>2012-08-06T21:19:05.643+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="PHP"/><title type='text'>php 變數的變數 $$變數 ( $$var )</title><content type='html'>一般來說php的變數我們都知道怎麼寫&lt;br /&gt;
&lt;div&gt;
&lt;pre class=&quot;brush: php;&quot;&gt;&amp;lt;?php $temp = 1; ?&amp;gt;
&lt;/pre&gt;
&lt;/div&gt;
但是今天我看到了&lt;br /&gt;
&lt;div&gt;
&lt;pre class=&quot;brush: php;&quot;&gt;&amp;lt;?php $$temp = 1; ?&amp;gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
神奇吧!&lt;br /&gt;
其實有人說一下就可以很容易理解，看一下範例&lt;br /&gt;
&lt;pre class=&quot;brush: php;&quot;&gt;&amp;lt;?php
$temp = &#39;a&#39;;
$$temp = 1; 
echo $$temp;    // 1
echo $a;    // 1
?&amp;gt;
&lt;/pre&gt;
&lt;/div&gt;
所以我們知道變數是可以取代的&lt;br /&gt;
那再多個$的話呢?&lt;br /&gt;
&lt;pre class=&quot;brush: php;&quot;&gt;&amp;lt;?php
$temp = &#39;bb&#39;;
$$temp = &#39;a&#39;;
$$$temp = 1; 
echo $bb;    // a
echo $$bb;   // 1
echo $a;     // 1
?&amp;gt;
&lt;/pre&gt;
感覺有種變數被替換的感覺&lt;br /&gt;
雖然這個很神奇，但要慎用，因為不好讀啊!&lt;br /&gt;
&lt;br /&gt;
後來發現原來別人有寫，只是我不知道有此關鍵字 : php 變數的變數&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://ghaouse.blogspot.com/feeds/3639864056477797651/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ghaouse.blogspot.com/2012/08/php-var.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/687497483972251538/posts/default/3639864056477797651'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/687497483972251538/posts/default/3639864056477797651'/><link rel='alternate' type='text/html' href='http://ghaouse.blogspot.com/2012/08/php-var.html' title='php 變數的變數 $$變數 ( $$var )'/><author><name>ghaouse</name><uri>http://www.blogger.com/profile/08774818325963004358</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-687497483972251538.post-407143700618556888</id><published>2012-07-26T21:18:00.002+08:00</published><updated>2013-01-02T21:01:42.729+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Cloud"/><title type='text'>什麼是雲端計算?</title><content type='html'>What is cloud computing?&lt;br /&gt;
相信是很多人都抱持著疑問，以下是我對雲端計算定義的搜尋記錄。&lt;br /&gt;
==============================================================&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;定義&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp;&lt;i&gt; Cloud computing is a model for enabling ubiquitous, convenient, on-demand network access to a shared&amp;nbsp;&lt;/i&gt;&lt;i style=&quot;background-color: white;&quot;&gt;pool of configurable computing resources (e.g., networks, servers, storage, applications, and services) that&amp;nbsp;&lt;/i&gt;&lt;i style=&quot;background-color: white;&quot;&gt;can be rapidly provisioned and released with minimal management effort or service provider interaction.&amp;nbsp;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;nbsp; &amp;nbsp; This cloud model is composed of five essential characteristics, three service models, and four deployment&amp;nbsp;&lt;/i&gt;&lt;i style=&quot;background-color: white;&quot;&gt;models.&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;雲端計算是一種模式，無論在何時、何地，當需要時可以透過網路方便存取一個共享的計算資源(如：網路、伺服器、應用程式、與各種服務)，並用最少的管理或動作可以快速的配置和發布。&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;所以在這裡提出&lt;span style=&quot;color: red;&quot;&gt;雲端計算有5個基本特徵、3個服務模式、4個建置模式&lt;/span&gt;。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;5個基本特徵、3個服務模式、4個建置模式&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;Essential Characteristics 五個基本特徵：&lt;/span&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;b&gt;On-demand self-service 隨需自助服務&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white;&quot;&gt;客戶可以依其需求索取計算資源(例如伺服器或儲存空間)，且整個過程是單方面自動化的，無須與資源提供者互動。&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;b&gt;Broad network access 廣泛的網絡接入&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white;&quot;&gt;服務是經由網路提供，且有標準機制能讓不同的客戶端平台(如智慧型手機及筆電等)都可以使用。&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;b&gt;Resource pooling 共享資源池&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white;&quot;&gt;服務者所提供的計算資源，例如儲存空間、網路頻寬、計算能力、虛擬機器數量等，可類比為一個大水池，能隨時依需要(重新)分配給不同平台的多個使用者。使用者不需了解資源的實體位置，只要有抽象概念即可(如資源是在哪個國家或哪個資料中心)&amp;nbsp; &lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;b&gt;Rapid elasticity 快速彈性&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white;&quot;&gt;計算資源不僅可以快速且有彈性地被提供或釋放，且對客戶而言，資源是取之不盡且可以恣意購買的。&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;b&gt;Measured Service 測量服務&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white;&quot;&gt;計算資源可依其所提供的服務特性被自動控管及最佳化。提供者與使用者雙方都可透明地監控資源使用情形。&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;br /&gt;
Service Models 三個服務模式：&lt;br /&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;b&gt;Cloud Software as a Service (SaaS)&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white;&quot;&gt;雲端軟體即服務 ： 軟件服務供應商，以租賃的概念提供客戶服務 。(一個軟體不同人用)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white;&quot;&gt;ex : Gmail、Saleforce CRM &lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;b&gt;Cloud Platform as a Service (PaaS)&amp;nbsp; &lt;/b&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;雲端平台即服務： 讓開發人員建立雲端應用程式與服務&amp;nbsp;&lt;span style=&quot;background-color: white;&quot;&gt;。&lt;/span&gt; &lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white;&quot;&gt;ex : Google App Engine、MS Azure &lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;b&gt;Cloud Infrastructure as a Service (IaaS)&amp;nbsp; &lt;/b&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;雲端架構即服務：“使用才付費”的模式，IaaS的供應商是透過虛擬化提供幾乎無限的客戶端服務，使承載的硬體效益更高。 (簡稱賣機器)&lt;/li&gt;
&lt;li&gt;ex : Amazon EC2&amp;nbsp;
、OpenStack&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;ul&gt;&lt;ul&gt;&lt;/ul&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;Deployment Models 四種建置模式：&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;b&gt;Private cloud 私有雲端&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;自行架設的雲端服務，只提供給特定族群使用。&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;b&gt;Community cloud 社群雲端&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;text-align: justify;&quot;&gt;指由多個組織共享資源池，故較合適具共享研究資料需&lt;/span&gt;求的學研單位合資建置 。&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;b&gt;Public cloud 公用雲端&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;公共雲端服務，全世界的客戶都可使用。&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;b&gt;Hybrid cloud 混合雲端&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;text-align: justify;&quot;&gt;泛指混合了上述三種雲端型態，須基於標準或運用新技術來確&lt;/span&gt;保資料與應用程式在不同平台間的移植性。&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;b style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;參考&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white;&quot;&gt;The NIST Definition of Cloud Computing, Authors: Peter Mell and Tim Grance, Version 15, 10-7-09&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class=&quot;l&quot; href=&quot;http://www.google.com.tw/url?sa=t&amp;amp;rct=j&amp;amp;q=&amp;amp;esrc=s&amp;amp;source=web&amp;amp;cd=1&amp;amp;ved=0CGQQFjAA&amp;amp;url=http%3A%2F%2Ftrac.nchc.org.tw%2Fcloud%2Fraw-attachment%2Fwiki%2Fjazz%2F10-03-17%2F10-02-24_Cloud_Definition_by_NIST.pdf&amp;amp;ei=TCsRUKzDOaXYmAWewIDwBA&amp;amp;usg=AFQjCNH3WF_CWOkWdO7WFaJgA76qQT2_6g&quot; style=&quot;background-color: white; color: #1122cc; cursor: pointer; font-family: arial, sans-serif; white-space: nowrap;&quot;&gt;雲端運算之定義Cloud computing is a&amp;nbsp;&lt;em style=&quot;color: #dd4b39; font-style: normal;&quot;&gt;model&lt;/em&gt;&amp;nbsp;for en&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://996s.blogspot.tw/2012/01/what-is-cloud-computing.html&quot;&gt;雲端運算是什麼？&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class=&quot;l&quot; href=&quot;http://www.google.com.tw/url?sa=t&amp;amp;rct=j&amp;amp;q=&amp;amp;esrc=s&amp;amp;source=web&amp;amp;cd=1&amp;amp;ved=0CFwQFjAA&amp;amp;url=http%3A%2F%2Feblog.cisanet.org.tw%2F80366493%2Farticle%2Fcontent.aspx%3FArticleID%3D996&amp;amp;ei=kjsRUMiyDI3zmAX6yIGIAg&amp;amp;usg=AFQjCNHN5ph4C1jMl8FyDio1OQjiSMbr0w&quot; style=&quot;background-color: white; color: #1122cc; cursor: pointer; font-family: arial, sans-serif; white-space: nowrap;&quot;&gt;e化部落雲端服務架構_&lt;em style=&quot;color: #dd4b39; font-style: normal;&quot;&gt;IAAS&lt;/em&gt;/PAAS/SAAS&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class=&quot;l&quot; href=&quot;http://www.google.com.tw/url?sa=t&amp;amp;rct=j&amp;amp;q=&amp;amp;esrc=s&amp;amp;source=web&amp;amp;cd=2&amp;amp;ved=0CGEQFjAB&amp;amp;url=http%3A%2F%2Fwww.cc.ntu.edu.tw%2Fchinese%2Fepaper%2F0015%2F20101220_1501.htm&amp;amp;ei=9UERUNjvFMjRmAWd3YCQBQ&amp;amp;usg=AFQjCNGwU5hzMLRxh8BqIESemiPxnWPbTg&quot; style=&quot;background-color: white; color: #1122cc; cursor: pointer; font-family: arial, sans-serif; white-space: nowrap;&quot;&gt;臺大觔斗雲服務之五、四、三&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class=&quot;l&quot; href=&quot;http://www.google.com.tw/url?sa=t&amp;amp;rct=j&amp;amp;q=&amp;amp;esrc=s&amp;amp;source=web&amp;amp;cd=5&amp;amp;ved=0CHUQFjAE&amp;amp;url=http%3A%2F%2Fwww.itri.org.tw%2Fchi%2Fccma%2Fapplication.asp%3FRootNodeId%3D070%26NavRootNodeId%3D0746%26NodeId%3D07463&amp;amp;ei=B0ERULXIKoXRmAWw9IHIBA&amp;amp;usg=AFQjCNEppfHADCqYbFdp7U3FBTzTxjkRmg&quot; style=&quot;background-color: white; color: #1122cc; cursor: pointer; font-family: arial, sans-serif; white-space: nowrap;&quot;&gt;工業技術研究院- 雲端中心組織&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ghaouse.blogspot.com/feeds/407143700618556888/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ghaouse.blogspot.com/2012/07/blog-post.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/687497483972251538/posts/default/407143700618556888'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/687497483972251538/posts/default/407143700618556888'/><link rel='alternate' type='text/html' href='http://ghaouse.blogspot.com/2012/07/blog-post.html' title='什麼是雲端計算?'/><author><name>ghaouse</name><uri>http://www.blogger.com/profile/08774818325963004358</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-687497483972251538.post-3771073655197921684</id><published>2012-05-12T22:34:00.000+08:00</published><updated>2012-05-12T22:34:15.992+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="zerojudge"/><title type='text'>d153: 六、智力测验</title><content type='html'>內容 ：&lt;br /&gt;
&amp;nbsp; &amp;nbsp; 在Z先生的牧场中，做一头“光明的奶牛”不仅要称体重，还需要考智力。一年一度的智力测验要求极为严格，大约只有一半的奶牛可以通过。则于参加考试的奶牛数量众多，因此如何&amp;nbsp; &amp;nbsp;&amp;nbsp;划定智力测验“通过线”令Z先生头痛不已，于是他请你解这一难题。&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp;每只参加测验的奶牛都会得到一个分数（从0到100的整数），将所有的成绩按从高到低的顺序排好后，处在中间位置的分数将会作为“参考分数”提供给Z先生，以便让他决定“通过线”。如果参加测验的奶牛的数目是偶数的话，处于中间的位置的分数将会有两个，此时“参考分数”是其中较小的一个。&lt;br /&gt;
&lt;br /&gt;
輸入說明 ：&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp;输入第一行是一个整数T（1 &amp;lt;= T &amp;lt;= 100)，表示测试数据的总数。&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp;每组测试数据的第一行是一个整数N（1 &amp;lt;= n &amp;lt;= 40000），表示参加测验的奶牛的数目。以下的N行依次给出N只奶牛测验的成绩，每行有一个0至100的正整数。&lt;br /&gt;
&lt;br /&gt;
輸出說明 ：&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp;每组测试数据都输出一个答案，输出“参考分数”。&lt;br /&gt;
&lt;br /&gt;
範例輸入 ：&lt;br /&gt;
1&lt;br /&gt;
6&lt;br /&gt;
97&lt;br /&gt;
45&lt;br /&gt;
78&lt;br /&gt;
62&lt;br /&gt;
81&lt;br /&gt;
79&lt;br /&gt;
&lt;br /&gt;
範例輸出 ：&lt;br /&gt;
78&lt;br /&gt;
&lt;br /&gt;
程式碼 ：&lt;br /&gt;
&lt;pre class=&quot;brush: cpp;&quot;&gt;#include &amp;lt;stdio.h&amp;gt;

void swap(int *a, int *b)
{
    int c;
    c = *a;
    *a = *b;
    *b = c;
}

int partition(int arr[], int left, int right) 
{     
    int i, j, s;
    s = arr[right];
    i = left - 1;
     
    for(j = left; j &amp;lt; right; j++)
    {
        if(arr[j] &amp;gt; s)
        {
            i++;
            swap(&amp;amp;arr[i], &amp;amp;arr[j]);           
        }
    }

    swap(&amp;amp;arr[i+1], &amp;amp;arr[right]);
    return i+1;
}

void quicksort(int arr[], int left, int right) 
{     
    int q;     
    
    if(left &amp;lt; right) 
    {         
        q = partition(arr, left, right);         
        quicksort(arr, left, q-1);         
        quicksort(arr, q+1, right);     
    } 
}


int main(void) 
{
    int i, n, times, arr[40000];
    
    scanf(&quot;%d&quot;,&amp;amp;times);
    while(times--)
    {
        scanf(&quot;%d&quot;,&amp;amp;n);
        
        for(i=0; i&amp;lt;n; i++)
            scanf(&quot;%d&quot;,&amp;amp;arr[i]);
            
        quicksort(arr, 0, n-1);
                
        printf(&quot;%d\n&quot;,arr[n/2]);        
    }
    
    return 0;
}
&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://zerojudge.tw/ShowProblem?problemid=d153&quot;&gt;http://zerojudge.tw/ShowProblem?problemid=d153&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ghaouse.blogspot.com/feeds/3771073655197921684/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ghaouse.blogspot.com/2012/05/d153.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/687497483972251538/posts/default/3771073655197921684'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/687497483972251538/posts/default/3771073655197921684'/><link rel='alternate' type='text/html' href='http://ghaouse.blogspot.com/2012/05/d153.html' title='d153: 六、智力测验'/><author><name>ghaouse</name><uri>http://www.blogger.com/profile/08774818325963004358</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-687497483972251538.post-6440053139126790429</id><published>2012-05-12T22:00:00.000+08:00</published><updated>2012-05-12T22:00:21.149+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="zerojudge"/><title type='text'>d124: 3的倍数</title><content type='html'>內容 ：&lt;br /&gt;
&amp;nbsp; &amp;nbsp; 20XX年，pascal語言有多了一種新的整型int128。它能够運算10000位的超大數據。&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp;今天我們的任務就是：輸入一个類型為int128的數字ｎ（-10^10001 &amp;lt;= n &amp;lt;= 10^10001）。&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp;判斷它是否為3的倍數。&lt;br /&gt;
&lt;br /&gt;
輸入說明 ：&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp;輸入檔中有多个數據，每組數據占一行，是輸入的數 n 。&lt;br /&gt;
&lt;br /&gt;
輸出說明 ：&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp;輸出 n 是否为3的倍數。&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp;若是，輸出yes；若不是，輸出no。&lt;br /&gt;
&lt;br /&gt;
範例輸入 ：&lt;br /&gt;
3&lt;br /&gt;
-7&lt;br /&gt;
0&lt;br /&gt;
&lt;br /&gt;
範例輸出 ：&lt;br /&gt;
yes&lt;br /&gt;
no&lt;br /&gt;
yes&lt;br /&gt;
&lt;br /&gt;
程式碼 ：&lt;br /&gt;
&lt;pre class=&quot;brush: cpp;&quot;&gt;#include&amp;lt;stdio.h&amp;gt;
#include&amp;lt;string.h&amp;gt;

int main()
{
    int i, len, sum, isminus;
    char s[10020];
    
    while(scanf(&quot;%s&quot;,s)==1)
    {
        if(s[0] == &#39;-&#39;)
            isminus = 1;
        else
            isminus = 0;
        
        sum = 0;
        len = strlen(s);
        
        for(i=isminus; i&amp;lt;len; i++)
            sum += s[i] - &#39;0&#39;;
        
        if(sum % 3 == 0)
            printf(&quot;yes\n&quot;);
        else
            printf(&quot;no\n&quot;);
    }
    
    return 0;
}
&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://zerojudge.tw/ShowProblem?problemid=d124&quot;&gt;http://zerojudge.tw/ShowProblem?problemid=d124&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ghaouse.blogspot.com/feeds/6440053139126790429/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://ghaouse.blogspot.com/2012/05/d124-3.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/687497483972251538/posts/default/6440053139126790429'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/687497483972251538/posts/default/6440053139126790429'/><link rel='alternate' type='text/html' href='http://ghaouse.blogspot.com/2012/05/d124-3.html' title='d124: 3的倍数'/><author><name>ghaouse</name><uri>http://www.blogger.com/profile/08774818325963004358</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>